Files
quectel-rgmii-toolkit/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4586-32ae9fc956058d79.js
2025-08-24 22:01:46 +08:00

1 line
10 KiB
JavaScript

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4586],{39997:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(20107);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&r.indexOf(e)===t).join(" ")};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:l=2,absoluteStrokeWidth:d,className:s="",children:u,iconNode:c,...p}=e;return(0,n.createElement)("svg",{ref:t,...i,width:o,height:o,stroke:r,strokeWidth:d?24*Number(l)/Number(o):l,className:a("lucide",s),...p},[...c.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(u)?u:[u]])}),d=(e,t)=>{let r=(0,n.forwardRef)((r,i)=>{let{className:d,...s}=r;return(0,n.createElement)(l,{ref:i,iconNode:t,className:a("lucide-".concat(o(e)),d),...s})});return r.displayName="".concat(e),r}},29475:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},12607:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},54379:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(20107),o=r(20475);function a(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(t,a){let i=n.createContext(a),l=r.length;function d(t){let{scope:r,children:a,...d}=t,s=r?.[e][l]||i,u=n.useMemo(()=>d,Object.values(d));return(0,o.jsx)(s.Provider,{value:u,children:a})}return r=[...r,a],d.displayName=t+"Provider",[d,function(r,o){let d=o?.[e][l]||i,s=n.useContext(d);if(s)return s;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(i,...t)]}},21840:(e,t,r)=>{r.d(t,{b:()=>l});var n=r(20107),o=r(34544),a=r(20475),i=n.forwardRef((e,t)=>(0,a.jsx)(o.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName="Label";var l=i},57563:(e,t,r)=>{r.d(t,{Mz:()=>S,i3:()=>_,UC:()=>U,bL:()=>T,Bk:()=>h});var n=r(20107),o=r(9895),a=r(84069),i=r(34544),l=r(20475),d=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...a}=e;return(0,l.jsx)(i.sG.svg,{...a,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,l.jsx)("polygon",{points:"0,0 30,0 15,10"})})});d.displayName="Arrow";var s=r(64236),u=r(54379),c=r(46774),p=r(54122),f=r(63620),m="Popper",[v,h]=(0,u.A)(m),[w,g]=v(m),y=e=>{let{__scopePopper:t,children:r}=e,[o,a]=n.useState(null);return(0,l.jsx)(w,{scope:t,anchor:o,onAnchorChange:a,children:r})};y.displayName=m;var x="PopperAnchor",N=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:o,...a}=e,d=g(x,r),u=n.useRef(null),c=(0,s.s)(t,u);return n.useEffect(()=>{d.onAnchorChange((null==o?void 0:o.current)||u.current)}),o?null:(0,l.jsx)(i.sG.div,{...a,ref:c})});N.displayName=x;var A="PopperContent",[b,M]=v(A),O=n.forwardRef((e,t)=>{var r,d,u,m,v,h,w,y;let{__scopePopper:x,side:N="bottom",sideOffset:M=0,align:O="center",alignOffset:E=0,arrowPadding:j=0,avoidCollisions:C=!0,collisionBoundary:T=[],collisionPadding:S=0,sticky:U="partial",hideWhenDetached:_=!1,updatePositionStrategy:I="optimized",onPlaced:L,...D}=e,W=g(A,x),[z,$]=n.useState(null),F=(0,s.s)(t,e=>$(e)),[H,B]=n.useState(null),G=(0,f.X)(H),Y=null!==(w=null==G?void 0:G.width)&&void 0!==w?w:0,X=null!==(y=null==G?void 0:G.height)&&void 0!==y?y:0,V="number"==typeof S?S:{top:0,right:0,bottom:0,left:0,...S},q=Array.isArray(T)?T:[T],Z=q.length>0,J={padding:V,boundary:q.filter(k),altBoundary:Z},{refs:K,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:er}=(0,o.we)({strategy:"fixed",placement:N+("center"!==O?"-"+O:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.ll)(...t,{animationFrame:"always"===I})},elements:{reference:W.anchor},middleware:[(0,o.cY)({mainAxis:M+X,alignmentAxis:E}),C&&(0,o.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===U?(0,o.ER)():void 0,...J}),C&&(0,o.UU)({...J}),(0,o.Ej)({...J,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:o}=e,{width:a,height:i}=r.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(n,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(a,"px")),l.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),H&&(0,o.UE)({element:H,padding:j}),R({arrowWidth:Y,arrowHeight:X}),_&&(0,o.jD)({strategy:"referenceHidden",...J})]}),[en,eo]=P(ee),ea=(0,c.c)(L);(0,p.N)(()=>{et&&(null==ea||ea())},[et,ea]);let ei=null===(r=er.arrow)||void 0===r?void 0:r.x,el=null===(d=er.arrow)||void 0===d?void 0:d.y,ed=(null===(u=er.arrow)||void 0===u?void 0:u.centerOffset)!==0,[es,eu]=n.useState();return(0,p.N)(()=>{z&&eu(window.getComputedStyle(z).zIndex)},[z]),(0,l.jsx)("div",{ref:K.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:es,"--radix-popper-transform-origin":[null===(m=er.transformOrigin)||void 0===m?void 0:m.x,null===(v=er.transformOrigin)||void 0===v?void 0:v.y].join(" "),...(null===(h=er.hide)||void 0===h?void 0:h.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,l.jsx)(b,{scope:x,placedSide:en,onArrowChange:B,arrowX:ei,arrowY:el,shouldHideArrow:ed,children:(0,l.jsx)(i.sG.div,{"data-side":en,"data-align":eo,...D,ref:F,style:{...D.style,animation:et?void 0:"none"}})})})});O.displayName=A;var E="PopperArrow",j={top:"bottom",right:"left",bottom:"top",left:"right"},C=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=M(E,r),a=j[o.placedSide];return(0,l.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,l.jsx)(d,{...n,ref:t,style:{...n.style,display:"block"}})})});function k(e){return null!==e}C.displayName=E;var R=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;let{placement:l,rects:d,middlewareData:s}=t,u=(null===(r=s.arrow)||void 0===r?void 0:r.centerOffset)!==0,c=u?0:e.arrowWidth,p=u?0:e.arrowHeight,[f,m]=P(l),v={start:"0%",center:"50%",end:"100%"}[m],h=(null!==(a=null===(n=s.arrow)||void 0===n?void 0:n.x)&&void 0!==a?a:0)+c/2,w=(null!==(i=null===(o=s.arrow)||void 0===o?void 0:o.y)&&void 0!==i?i:0)+p/2,g="",y="";return"bottom"===f?(g=u?v:"".concat(h,"px"),y="".concat(-p,"px")):"top"===f?(g=u?v:"".concat(h,"px"),y="".concat(d.floating.height+p,"px")):"right"===f?(g="".concat(-p,"px"),y=u?v:"".concat(w,"px")):"left"===f&&(g="".concat(d.floating.width+p,"px"),y=u?v:"".concat(w,"px")),{data:{x:g,y}}}});function P(e){let[t,r="center"]=e.split("-");return[t,r]}var T=y,S=N,U=O,_=C},54245:(e,t,r)=>{r.d(t,{C:()=>i});var n=r(20107),o=r(64236),a=r(54122),i=e=>{let{present:t,children:r}=e,i=function(e){var t,r;let[o,i]=n.useState(),d=n.useRef({}),s=n.useRef(e),u=n.useRef("none"),[c,p]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=l(d.current);u.current="mounted"===c?e:"none"},[c]),(0,a.N)(()=>{let t=d.current,r=s.current;if(r!==e){let n=u.current,o=l(t);e?p("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):r&&n!==o?p("ANIMATION_OUT"):p("UNMOUNT"),s.current=e}},[e,p]),(0,a.N)(()=>{if(o){var e;let t;let r=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,n=e=>{let n=l(d.current).includes(e.animationName);if(e.target===o&&n&&(p("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},a=e=>{e.target===o&&(u.current=l(d.current))};return o.addEventListener("animationstart",a),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{r.clearTimeout(t),o.removeEventListener("animationstart",a),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:n.useCallback(e=>{e&&(d.current=getComputedStyle(e)),i(e)},[])}}(t),d="function"==typeof r?r({present:i.isPresent}):n.Children.only(r),s=(0,o.s)(i.ref,function(e){var t,r;let n=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?e.ref:(o=(n=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(d));return"function"==typeof r||i.isPresent?n.cloneElement(d,{ref:s}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},91475:(e,t,r)=>{r.d(t,{b:()=>l,s:()=>i});var n=r(20107),o=r(34544),a=r(20475),i=n.forwardRef((e,t)=>(0,a.jsx)(o.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));i.displayName="VisuallyHidden";var l=i}}]);