Files
quectel-rgmii-toolkit/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2394-bec269701e2d0c16.js
2025-03-13 20:51:47 +08:00

1 line
11 KiB
JavaScript

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2394],{76076:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("FileUp",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]])},59166:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},91994:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},27720:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},28702:(e,r,t)=>{t.d(r,{UC:()=>ei,Y9:()=>en,q7:()=>ea,bL:()=>et,l9:()=>eo});var a=t(20107),n=t(45170),o=t(32474),i=t(64236),l=t(94521),s=t(13061),c=t(34544),d=t(54122),u=t(54245),p=t(72763),f=t(20475),v="Collapsible",[m,h]=(0,n.A)(v),[b,y]=m(v),g=a.forwardRef((e,r)=>{let{__scopeCollapsible:t,open:n,defaultOpen:o,disabled:i,onOpenChange:l,...d}=e,[u=!1,v]=(0,s.i)({prop:n,defaultProp:o,onChange:l});return(0,f.jsx)(b,{scope:t,disabled:i,contentId:(0,p.B)(),open:u,onOpenToggle:a.useCallback(()=>v(e=>!e),[v]),children:(0,f.jsx)(c.sG.div,{"data-state":C(u),"data-disabled":i?"":void 0,...d,ref:r})})});g.displayName=v;var w="CollapsibleTrigger",x=a.forwardRef((e,r)=>{let{__scopeCollapsible:t,...a}=e,n=y(w,t);return(0,f.jsx)(c.sG.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":C(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...a,ref:r,onClick:(0,l.m)(e.onClick,n.onOpenToggle)})});x.displayName=w;var j="CollapsibleContent",O=a.forwardRef((e,r)=>{let{forceMount:t,...a}=e,n=y(j,e.__scopeCollapsible);return(0,f.jsx)(u.C,{present:t||n.open,children:e=>{let{present:t}=e;return(0,f.jsx)(k,{...a,ref:r,present:t})}})});O.displayName=j;var k=a.forwardRef((e,r)=>{let{__scopeCollapsible:t,present:n,children:o,...l}=e,s=y(j,t),[u,p]=a.useState(n),v=a.useRef(null),m=(0,i.s)(r,v),h=a.useRef(0),b=h.current,g=a.useRef(0),w=g.current,x=s.open||u,O=a.useRef(x),k=a.useRef();return a.useEffect(()=>{let e=requestAnimationFrame(()=>O.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.N)(()=>{let e=v.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let r=e.getBoundingClientRect();h.current=r.height,g.current=r.width,O.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),p(n)}},[s.open,n]),(0,f.jsx)(c.sG.div,{"data-state":C(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!x,...l,ref:m,style:{"--radix-collapsible-content-height":b?"".concat(b,"px"):void 0,"--radix-collapsible-content-width":w?"".concat(w,"px"):void 0,...e.style},children:x&&o})});function C(e){return e?"open":"closed"}var A=t(76056),N="Accordion",R=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[P,I,D]=(0,o.N)(N),[_,E]=(0,n.A)(N,[D,h]),S=h(),M=a.forwardRef((e,r)=>{let{type:t,...a}=e;return(0,f.jsx)(P.Provider,{scope:e.__scopeAccordion,children:"multiple"===t?(0,f.jsx)(T,{...a,ref:r}):(0,f.jsx)(L,{...a,ref:r})})});M.displayName=N;var[G,q]=_(N),[z,H]=_(N,{collapsible:!1}),L=a.forwardRef((e,r)=>{let{value:t,defaultValue:n,onValueChange:o=()=>{},collapsible:i=!1,...l}=e,[c,d]=(0,s.i)({prop:t,defaultProp:n,onChange:o});return(0,f.jsx)(G,{scope:e.__scopeAccordion,value:c?[c]:[],onItemOpen:d,onItemClose:a.useCallback(()=>i&&d(""),[i,d]),children:(0,f.jsx)(z,{scope:e.__scopeAccordion,collapsible:i,children:(0,f.jsx)(F,{...l,ref:r})})})}),T=a.forwardRef((e,r)=>{let{value:t,defaultValue:n,onValueChange:o=()=>{},...i}=e,[l=[],c]=(0,s.i)({prop:t,defaultProp:n,onChange:o}),d=a.useCallback(e=>c(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...r,e]}),[c]),u=a.useCallback(e=>c(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r.filter(r=>r!==e)}),[c]);return(0,f.jsx)(G,{scope:e.__scopeAccordion,value:l,onItemOpen:d,onItemClose:u,children:(0,f.jsx)(z,{scope:e.__scopeAccordion,collapsible:!0,children:(0,f.jsx)(F,{...i,ref:r})})})}),[U,B]=_(N),F=a.forwardRef((e,r)=>{let{__scopeAccordion:t,disabled:n,dir:o,orientation:s="vertical",...d}=e,u=a.useRef(null),p=(0,i.s)(u,r),v=I(t),m="ltr"===(0,A.jH)(o),h=(0,l.m)(e.onKeyDown,e=>{var r;if(!R.includes(e.key))return;let t=e.target,a=v().filter(e=>{var r;return!(null===(r=e.ref.current)||void 0===r?void 0:r.disabled)}),n=a.findIndex(e=>e.ref.current===t),o=a.length;if(-1===n)return;e.preventDefault();let i=n,l=o-1,c=()=>{(i=n+1)>l&&(i=0)},d=()=>{(i=n-1)<0&&(i=l)};switch(e.key){case"Home":i=0;break;case"End":i=l;break;case"ArrowRight":"horizontal"===s&&(m?c():d());break;case"ArrowDown":"vertical"===s&&c();break;case"ArrowLeft":"horizontal"===s&&(m?d():c());break;case"ArrowUp":"vertical"===s&&d()}null===(r=a[i%o].ref.current)||void 0===r||r.focus()});return(0,f.jsx)(U,{scope:t,disabled:n,direction:o,orientation:s,children:(0,f.jsx)(P.Slot,{scope:t,children:(0,f.jsx)(c.sG.div,{...d,"data-orientation":s,ref:p,onKeyDown:n?void 0:h})})})}),K="AccordionItem",[V,W]=_(K),Y=a.forwardRef((e,r)=>{let{__scopeAccordion:t,value:a,...n}=e,o=B(K,t),i=q(K,t),l=S(t),s=(0,p.B)(),c=a&&i.value.includes(a)||!1,d=o.disabled||e.disabled;return(0,f.jsx)(V,{scope:t,open:c,disabled:d,triggerId:s,children:(0,f.jsx)(g,{"data-orientation":o.orientation,"data-state":er(c),...l,...n,ref:r,disabled:d,open:c,onOpenChange:e=>{e?i.onItemOpen(a):i.onItemClose(a)}})})});Y.displayName=K;var Z="AccordionHeader",J=a.forwardRef((e,r)=>{let{__scopeAccordion:t,...a}=e,n=B(N,t),o=W(Z,t);return(0,f.jsx)(c.sG.h3,{"data-orientation":n.orientation,"data-state":er(o.open),"data-disabled":o.disabled?"":void 0,...a,ref:r})});J.displayName=Z;var Q="AccordionTrigger",X=a.forwardRef((e,r)=>{let{__scopeAccordion:t,...a}=e,n=B(N,t),o=W(Q,t),i=H(Q,t),l=S(t);return(0,f.jsx)(P.ItemSlot,{scope:t,children:(0,f.jsx)(x,{"aria-disabled":o.open&&!i.collapsible||void 0,"data-orientation":n.orientation,id:o.triggerId,...l,...a,ref:r})})});X.displayName=Q;var $="AccordionContent",ee=a.forwardRef((e,r)=>{let{__scopeAccordion:t,...a}=e,n=B(N,t),o=W($,t),i=S(t);return(0,f.jsx)(O,{role:"region","aria-labelledby":o.triggerId,"data-orientation":n.orientation,...i,...a,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function er(e){return e?"open":"closed"}ee.displayName=$;var et=M,ea=Y,en=J,eo=X,ei=ee},33466:(e,r,t)=>{t.d(r,{C1:()=>x,bL:()=>w});var a=t(20107),n=t(54379),o=t(34544),i=t(20475),l="Progress",[s,c]=(0,n.A)(l),[d,u]=s(l),p=a.forwardRef((e,r)=>{var t,a,n,l;let{__scopeProgress:s,value:c=null,max:u,getValueLabel:p=m,...f}=e;(u||0===u)&&!y(u)&&console.error((t="".concat(u),a="Progress","Invalid prop `max` of value `".concat(t,"` supplied to `").concat(a,"`. Only numbers greater than 0 are valid max values. Defaulting to `").concat(100,"`.")));let v=y(u)?u:100;null===c||g(c,v)||console.error((n="".concat(c),l="Progress","Invalid prop `value` of value `".concat(n,"` supplied to `").concat(l,"`. The `value` prop must be:\n - a positive number\n - less than the value passed to `max` (or ").concat(100," if no `max` prop is set)\n - `null` or `undefined` if the progress is indeterminate.\n\nDefaulting to `null`.")));let w=g(c,v)?c:null,x=b(w)?p(w,v):void 0;return(0,i.jsx)(d,{scope:s,value:w,max:v,children:(0,i.jsx)(o.sG.div,{"aria-valuemax":v,"aria-valuemin":0,"aria-valuenow":b(w)?w:void 0,"aria-valuetext":x,role:"progressbar","data-state":h(w,v),"data-value":null!=w?w:void 0,"data-max":v,...f,ref:r})})});p.displayName=l;var f="ProgressIndicator",v=a.forwardRef((e,r)=>{var t;let{__scopeProgress:a,...n}=e,l=u(f,a);return(0,i.jsx)(o.sG.div,{"data-state":h(l.value,l.max),"data-value":null!==(t=l.value)&&void 0!==t?t:void 0,"data-max":l.max,...n,ref:r})});function m(e,r){return"".concat(Math.round(e/r*100),"%")}function h(e,r){return null==e?"indeterminate":e===r?"complete":"loading"}function b(e){return"number"==typeof e}function y(e){return b(e)&&!isNaN(e)&&e>0}function g(e,r){return b(e)&&!isNaN(e)&&e<=r&&e>=0}v.displayName=f;var w=p,x=v},91475:(e,r,t)=>{t.d(r,{b:()=>l,s:()=>i});var a=t(20107),n=t(34544),o=t(20475),i=a.forwardRef((e,r)=>(0,o.jsx)(n.sG.span,{...e,ref:r,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},45930:(e,r,t)=>{t.d(r,{k5:()=>d});var a=t(20107),n={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=a.createContext&&a.createContext(n),i=["attr","size","title"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(this,arguments)}function s(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}function c(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?s(Object(t),!0).forEach(function(r){var a,n;a=r,n=t[r],(a=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,r||"default");if("object"!=typeof a)return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(a))in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function d(e){return r=>a.createElement(u,l({attr:c({},e.attr)},r),function e(r){return r&&r.map((r,t)=>a.createElement(r.tag,c({key:t},r.attr),e(r.child)))}(e.child))}function u(e){var r=r=>{var t,{attr:n,size:o,title:s}=e,d=function(e,r){if(null==e)return{};var t,a,n=function(e,r){if(null==e)return{};var t={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(r.indexOf(a)>=0)continue;t[a]=e[a]}return t}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)t=o[a],!(r.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}(e,i),u=o||r.size||"1em";return r.className&&(t=r.className),e.className&&(t=(t?t+" ":"")+e.className),a.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,d,{className:t,style:c(c({color:e.color||r.color},r.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),s&&a.createElement("title",null,s),e.children)};return void 0!==o?a.createElement(o.Consumer,null,e=>r(e)):r(n)}}}]);