Files
quectel-rgmii-toolkit/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4346-63dd0cdf0b379621.js
Christopher Landwehr 473f9969dd 2.2.4-beta build
2025-07-26 10:22:47 -04:00

1 line
13 KiB
JavaScript

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4346],{14505:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(67401).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},45686:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(67401).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},66217:(e,t,n)=>{n.d(t,{G$:()=>K,Hs:()=>N,UC:()=>en,VY:()=>eo,ZL:()=>ee,bL:()=>Q,bm:()=>ea,hE:()=>er,hJ:()=>et,l9:()=>X});var r=n(12115),o=n(93610),a=n(88068),i=n(18166),l=n(67668),s=n(1488),u=n(59674),d=n(20196),c=n(17323),p=n(17028),f=n(23360),v=n(62292),m=n(64065),g=n(15587),h=n(12317),y=n(95155),x="Dialog",[C,N]=(0,i.A)(x),[R,w]=C(x),O=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:u=!0}=e,d=r.useRef(null),c=r.useRef(null),[p=!1,f]=(0,s.i)({prop:o,defaultProp:a,onChange:i});return(0,y.jsx)(R,{scope:t,triggerRef:d,contentRef:c,contentId:(0,l.B)(),titleId:(0,l.B)(),descriptionId:(0,l.B)(),open:p,onOpenChange:f,onOpenToggle:r.useCallback(()=>f(e=>!e),[f]),modal:u,children:n})};O.displayName=x;var j="DialogTrigger",b=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=w(j,n),l=(0,a.s)(t,i.triggerRef);return(0,y.jsx)(f.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":V(i.open),...r,ref:l,onClick:(0,o.m)(e.onClick,i.onOpenToggle)})});b.displayName=j;var D="DialogPortal",[P,A]=C(D,{forceMount:void 0}),E=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:a}=e,i=w(D,t);return(0,y.jsx)(P,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,y.jsx)(p.C,{present:n||i.open,children:(0,y.jsx)(c.Z,{asChild:!0,container:a,children:e})}))})};E.displayName=D;var I="DialogOverlay",M=r.forwardRef((e,t)=>{let n=A(I,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=w(I,e.__scopeDialog);return a.modal?(0,y.jsx)(p.C,{present:r||a.open,children:(0,y.jsx)(_,{...o,ref:t})}):null});M.displayName=I;var F=(0,h.TL)("DialogOverlay.RemoveScroll"),_=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(I,n);return(0,y.jsx)(m.A,{as:F,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(f.sG.div,{"data-state":V(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),k="DialogContent",T=r.forwardRef((e,t)=>{let n=A(k,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=w(k,e.__scopeDialog);return(0,y.jsx)(p.C,{present:r||a.open,children:a.modal?(0,y.jsx)(U,{...o,ref:t}):(0,y.jsx)(L,{...o,ref:t})})});T.displayName=k;var U=r.forwardRef((e,t)=>{let n=w(k,e.__scopeDialog),i=r.useRef(null),l=(0,a.s)(t,n.contentRef,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,g.Eq)(e)},[]),(0,y.jsx)(S,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.m)(e.onFocusOutside,e=>e.preventDefault())})}),L=r.forwardRef((e,t)=>{let n=w(k,e.__scopeDialog),o=r.useRef(!1),a=r.useRef(!1);return(0,y.jsx)(S,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{var r,i;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let l=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),S=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,...s}=e,c=w(k,n),p=r.useRef(null),f=(0,a.s)(t,p);return(0,v.Oh)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(d.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:l,children:(0,y.jsx)(u.qW,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":V(c.open),...s,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(Y,{titleId:c.titleId}),(0,y.jsx)($,{contentRef:p,descriptionId:c.descriptionId})]})]})}),G="DialogTitle",W=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(G,n);return(0,y.jsx)(f.sG.h2,{id:o.titleId,...r,ref:t})});W.displayName=G;var B="DialogDescription",q=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(B,n);return(0,y.jsx)(f.sG.p,{id:o.descriptionId,...r,ref:t})});q.displayName=B;var z="DialogClose",Z=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=w(z,n);return(0,y.jsx)(f.sG.button,{type:"button",...r,ref:t,onClick:(0,o.m)(e.onClick,()=>a.onOpenChange(!1))})});function V(e){return e?"open":"closed"}Z.displayName=z;var H="DialogTitleWarning",[K,J]=(0,i.q)(H,{contentName:k,titleName:G,docsSlug:"dialog"}),Y=e=>{let{titleId:t}=e,n=J(H),o="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&!document.getElementById(t)&&console.error(o)},[o,t]),null},$=e=>{let{contentRef:t,descriptionId:n}=e,o=J("DialogDescriptionWarning"),a="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(a)},[a,t,n]),null},Q=O,X=b,ee=E,et=M,en=T,er=W,eo=q,ea=Z},80532:(e,t,n)=>{n.d(t,{Mz:()=>z,UC:()=>H,ZL:()=>V,bL:()=>q,l9:()=>Z});var r=n(12115),o=n(93610),a=n(88068),i=n(18166),l=n(59674),s=n(62292),u=n(20196),d=n(67668),c=n(19895),p=n(17323),f=n(17028),v=n(23360),m=n(12317),g=n(1488),h=n(15587),y=n(64065),x=n(95155),C="Popover",[N,R]=(0,i.A)(C,[c.Bk]),w=(0,c.Bk)(),[O,j]=N(C),b=e=>{let{__scopePopover:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:l=!1}=e,s=w(t),u=r.useRef(null),[p,f]=r.useState(!1),[v=!1,m]=(0,g.i)({prop:o,defaultProp:a,onChange:i});return(0,x.jsx)(c.bL,{...s,children:(0,x.jsx)(O,{scope:t,contentId:(0,d.B)(),triggerRef:u,open:v,onOpenChange:m,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:p,onCustomAnchorAdd:r.useCallback(()=>f(!0),[]),onCustomAnchorRemove:r.useCallback(()=>f(!1),[]),modal:l,children:n})})};b.displayName=C;var D="PopoverAnchor",P=r.forwardRef((e,t)=>{let{__scopePopover:n,...o}=e,a=j(D,n),i=w(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:s}=a;return r.useEffect(()=>(l(),()=>s()),[l,s]),(0,x.jsx)(c.Mz,{...i,...o,ref:t})});P.displayName=D;var A="PopoverTrigger",E=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=j(A,n),l=w(n),s=(0,a.s)(t,i.triggerRef),u=(0,x.jsx)(v.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":B(i.open),...r,ref:s,onClick:(0,o.m)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?u:(0,x.jsx)(c.Mz,{asChild:!0,...l,children:u})});E.displayName=A;var I="PopoverPortal",[M,F]=N(I,{forceMount:void 0}),_=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=j(I,t);return(0,x.jsx)(M,{scope:t,forceMount:n,children:(0,x.jsx)(f.C,{present:n||a.open,children:(0,x.jsx)(p.Z,{asChild:!0,container:o,children:r})})})};_.displayName=I;var k="PopoverContent",T=r.forwardRef((e,t)=>{let n=F(k,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=j(k,e.__scopePopover);return(0,x.jsx)(f.C,{present:r||a.open,children:a.modal?(0,x.jsx)(L,{...o,ref:t}):(0,x.jsx)(S,{...o,ref:t})})});T.displayName=k;var U=(0,m.TL)("PopoverContent.RemoveScroll"),L=r.forwardRef((e,t)=>{let n=j(k,e.__scopePopover),i=r.useRef(null),l=(0,a.s)(t,i),s=r.useRef(!1);return r.useEffect(()=>{let e=i.current;if(e)return(0,h.Eq)(e)},[]),(0,x.jsx)(y.A,{as:U,allowPinchZoom:!0,children:(0,x.jsx)(G,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),s.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;s.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),S=r.forwardRef((e,t)=>{let n=j(k,e.__scopePopover),o=r.useRef(!1),a=r.useRef(!1);return(0,x.jsx)(G,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{var r,i;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let l=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),G=r.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:v,...m}=e,g=j(k,n),h=w(n);return(0,s.Oh)(),(0,x.jsx)(u.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,x.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:v,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:f,onDismiss:()=>g.onOpenChange(!1),children:(0,x.jsx)(c.UC,{"data-state":B(g.open),role:"dialog",id:g.contentId,...h,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),W="PopoverClose";function B(e){return e?"open":"closed"}r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,a=j(W,n);return(0,x.jsx)(v.sG.button,{type:"button",...r,ref:t,onClick:(0,o.m)(e.onClick,()=>a.onOpenChange(!1))})}).displayName=W,r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=w(n);return(0,x.jsx)(c.i3,{...o,...r,ref:t})}).displayName="PopoverArrow";var q=b,z=P,Z=E,V=_,H=T},17028:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(12115),o=n(88068),a=n(46611),i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[o,i]=r.useState(),s=r.useRef({}),u=r.useRef(e),d=r.useRef("none"),[c,p]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=l(s.current);d.current="mounted"===c?e:"none"},[c]),(0,a.N)(()=>{let t=s.current,n=u.current;if(n!==e){let r=d.current,o=l(t);e?p("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),u.current=e}},[e,p]),(0,a.N)(()=>{if(o){var e;let t;let n=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(s.current).includes(e.animationName);if(e.target===o&&r&&(p("ANIMATION_END"),!u.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},a=e=>{e.target===o&&(d.current=l(s.current))};return o.addEventListener("animationstart",a),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",a),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{e&&(s.current=getComputedStyle(e)),i(e)},[])}}(t),s="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),u=(0,o.s)(i.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(s));return"function"==typeof n||i.isPresent?r.cloneElement(s,{ref:u}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},90434:(e,t,n)=>{n.d(t,{b:()=>u});var r=n(12115),o=n(23360),a=n(95155),i="horizontal",l=["horizontal","vertical"],s=r.forwardRef((e,t)=>{let{decorative:n,orientation:r=i,...s}=e,u=l.includes(r)?r:i;return(0,a.jsx)(o.sG.div,{"data-orientation":u,...n?{role:"none"}:{"aria-orientation":"vertical"===u?u:void 0,role:"separator"},...s,ref:t})});s.displayName="Separator";var u=s}}]);