i&&(u=2*Math.PI-u),{radius:a,angle:180*u/Math.PI,angleInRadian:u}},s=function(t){var e=t.startAngle,n=t.endAngle,r=Math.min(Math.floor(e/360),Math.floor(n/360));return{startAngle:e-360*r,endAngle:n-360*r}},f=function(t,e){var n,r=l({x:t.x,y:t.y},e),o=r.radius,a=r.angle,u=e.innerRadius,c=e.outerRadius;if(oc)return!1;if(0===o)return!0;var f=s(e),p=f.startAngle,h=f.endAngle,d=a;if(p<=h){for(;d>h;)d-=360;for(;d=p&&d<=h}else{for(;d>p;)d-=360;for(;d=h&&d<=p}return n?i(i({},e),{},{radius:o,angle:d+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null}},42461:function(t,e,n){"use strict";n.d(e,{$R:function(){return B},Bh:function(){return I},Gf:function(){return w},L6:function(){return _},NN:function(){return E},TT:function(){return k},eu:function(){return N},rL:function(){return C},sP:function(){return A}});var r=n(74275),o=n.n(r),i=n(67507),a=n.n(i),u=n(56832),c=n.n(u),l=n(82771),s=n.n(l),f=n(74544),p=n.n(f),h=n(64149),d=n(7337),y=n(58555),v=n(72504),m=n(87557),b=["children"],g=["children"];function x(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var O={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},w=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},j=null,S=null,P=function t(e){if(e===j&&Array.isArray(S))return S;var n=[];return h.Children.forEach(e,function(e){a()(e)||((0,d.isFragment)(e)?n=n.concat(t(e.props.children)):n.push(e))}),S=n,j=e,n};function E(t,e){var n=[],r=[];return r=Array.isArray(e)?e.map(function(t){return w(t)}):[w(e)],P(t).forEach(function(t){var e=o()(t,"type.displayName")||o()(t,"type.name");-1!==r.indexOf(e)&&n.push(t)}),n}function A(t,e){var n=E(t,e);return n&&n[0]}var k=function(t){if(!t||!t.props)return!1;var e=t.props,n=e.width,r=e.height;return!!(0,y.hj)(n)&&!(n<=0)&&!!(0,y.hj)(r)&&!(r<=0)},M=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],T=function(t,e,n,r){var o,i=null!==(o=null===m.ry||void 0===m.ry?void 0:m.ry[r])&&void 0!==o?o:[];return!s()(t)&&(r&&i.includes(e)||m.Yh.includes(e))||n&&m.nv.includes(e)},_=function(t,e,n){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,h.isValidElement)(t)&&(r=t.props),!p()(r))return null;var o={};return Object.keys(r).forEach(function(t){var i;T(null===(i=r)||void 0===i?void 0:i[t],t,e,n)&&(o[t]=r[t])}),o},C=function t(e,n){if(e===n)return!0;var r=h.Children.count(e);if(r!==h.Children.count(n))return!1;if(0===r)return!0;if(1===r)return D(Array.isArray(e)?e[0]:e,Array.isArray(n)?n[0]:n);for(var o=0;o=0)n.push(t);else if(t){var i=w(t.type),a=e[i]||{},u=a.handler,l=a.once;if(u&&(!l||!r[i])){var s=u(t,i,o);n.push(s),r[i]=!0}}}),n},I=function(t){var e=t&&t.type;return e&&O[e]?O[e]:null},B=function(t,e){return P(e).indexOf(t)}},72504:function(t,e,n){"use strict";function r(t,e){for(var n in t)if(({}).hasOwnProperty.call(t,n)&&(!({}).hasOwnProperty.call(e,n)||t[n]!==e[n]))return!1;for(var r in e)if(({}).hasOwnProperty.call(e,r)&&!({}).hasOwnProperty.call(t,r))return!1;return!0}n.d(e,{w:function(){return r}})},94056:function(t,e,n){"use strict";n.d(e,{z:function(){return l}});var r=n(20839),o=n(59996),i=n(42461);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function c(t){for(var e=1;e{var e,n;let a,c;let{present:l,children:s}=t,f=function(t){var e,n;let[o,a]=r.useState(),c=r.useRef({}),l=r.useRef(t),s=r.useRef("none"),[f,p]=(e=t?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((t,e)=>{let r=n[t][e];return null!=r?r:t},e));return r.useEffect(()=>{let t=u(c.current);s.current="mounted"===f?t:"none"},[f]),(0,i.b)(()=>{let e=c.current,n=l.current;if(n!==t){let r=s.current,o=u(e);t?p("MOUNT"):"none"===o||(null==e?void 0:e.display)==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),l.current=t}},[t,p]),(0,i.b)(()=>{if(o){var t;let e;let n=null!==(t=o.ownerDocument.defaultView)&&void 0!==t?t:window,r=t=>{let r=u(c.current).includes(t.animationName);if(t.target===o&&r&&(p("ANIMATION_END"),!l.current)){let t=o.style.animationFillMode;o.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=t)})}},i=t=>{t.target===o&&(s.current=u(c.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(e),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:r.useCallback(t=>{t&&(c.current=getComputedStyle(t)),a(t)},[])}}(l),p="function"==typeof s?s({present:f.isPresent}):r.Children.only(s),h=(0,o.e)(f.ref,(a=null===(e=Object.getOwnPropertyDescriptor(p.props,"ref"))||void 0===e?void 0:e.get)&&"isReactWarning"in a&&a.isReactWarning?p.ref:(a=null===(n=Object.getOwnPropertyDescriptor(p,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in a&&a.isReactWarning?p.props.ref:p.props.ref||p.ref);return"function"==typeof s||f.isPresent?r.cloneElement(p,{ref:h}):null};function u(t){return(null==t?void 0:t.animationName)||"none"}a.displayName="Presence"},48897:function(t,e,n){"use strict";n.d(e,{f:function(){return l}});var r=n(64149),o=n(79442),i=n(20881),a="horizontal",u=["horizontal","vertical"],c=r.forwardRef((t,e)=>{let{decorative:n,orientation:r=a,...c}=t,l=u.includes(r)?r:a;return(0,i.jsx)(o.WV.div,{"data-orientation":l,...n?{role:"none"}:{"aria-orientation":"vertical"===l?l:void 0,role:"separator"},...c,ref:e})});c.displayName="Separator";var l=c},51420:function(t,e,n){"use strict";n.d(e,{Z:function(){return i},x:function(){return a}});var r=n(68219),o=n(57639);function i(){var t,e,n=(0,o.Z)().unknown(void 0),a=n.domain,u=n.range,c=0,l=1,s=!1,f=0,p=0,h=.5;function d(){var n=a().length,r=l=0))throw Error(`invalid digits: ${t}`);if(e>15)return a;let n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e1e-6){if(Math.abs(f*c-l*s)>1e-6&&i){let h=n-a,d=o-u,y=c*c+l*l,v=Math.sqrt(y),m=Math.sqrt(p),b=i*Math.tan((r-Math.acos((y+p-(h*h+d*d))/(2*v*m)))/2),g=b/m,x=b/v;Math.abs(g-1)>1e-6&&this._append`L${t+g*s},${e+g*f}`,this._append`A${i},${i},0,0,${+(f*h>s*d)},${this._x1=t+x*c},${this._y1=e+x*l}`}else this._append`L${this._x1=t},${this._y1=e}`}}arc(t,e,n,a,u,c){if(t=+t,e=+e,c=!!c,(n=+n)<0)throw Error(`negative radius: ${n}`);let l=n*Math.cos(a),s=n*Math.sin(a),f=t+l,p=e+s,h=1^c,d=c?a-u:u-a;null===this._x1?this._append`M${f},${p}`:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-p)>1e-6)&&this._append`L${f},${p}`,n&&(d<0&&(d=d%o+o),d>i?this._append`A${n},${n},0,1,${h},${t-l},${e-s}A${n},${n},0,1,${h},${this._x1=f},${this._y1=p}`:d>1e-6&&this._append`A${n},${n},0,${+(d>=r)},${h},${this._x1=t+n*Math.cos(u)},${this._y1=e+n*Math.sin(u)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function c(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{let t=Math.floor(n);if(!(t>=0))throw RangeError(`invalid digits: ${n}`);e=t}return t},()=>new u(e)}u.prototype},68801:function(t,e,n){"use strict";function r(t,e){if(!t)throw Error("Invariant failed")}n.d(e,{Z:function(){return r}})}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/400-dd39a4eacea68279.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/400-dd39a4eacea68279.js
new file mode 100644
index 0000000..f3701c9
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/400-dd39a4eacea68279.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[400],{92093:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(64149);let u=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=function(){for(var e=arguments.length,t=Array(e),n=0;n!!e&&n.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,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:u=24,strokeWidth:l=2,absoluteStrokeWidth:a,className:c="",children:s,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...i,width:u,height:u,stroke:n,strokeWidth:a?24*Number(l)/Number(u):l,className:o("lucide",c),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(s)?s:[s]])}),a=(e,t)=>{let n=(0,r.forwardRef)((n,i)=>{let{className:a,...c}=n;return(0,r.createElement)(l,{ref:i,iconNode:t,className:o("lucide-".concat(u(e)),a),...c})});return n.displayName="".concat(e),n}},5501:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(92093).Z)("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"}]])},98228:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(92093).Z)("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"}]])},64433:function(e,t,n){n.d(t,{M:function(){return r}});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},17533:function(e,t,n){n.d(t,{fC:function(){return x},z$:function(){return M}});var r=n(64149),u=n(83954),o=n(74873),i=n(64433),l=n(45306),a=n(32437),c=n(73452),s=n(45485),d=n(79442),f=n(20881),v="Checkbox",[m,p]=(0,o.b)(v),[h,y]=m(v),b=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,name:o,checked:a,defaultChecked:c,required:s,disabled:v,value:m="on",onCheckedChange:p,form:y,...b}=e,[N,w]=r.useState(null),x=(0,u.e)(t,e=>w(e)),M=r.useRef(!1),O=!N||y||!!N.closest("form"),[C=!1,j]=(0,l.T)({prop:a,defaultProp:c,onChange:p}),A=r.useRef(C);return r.useEffect(()=>{let e=null==N?void 0:N.form;if(e){let t=()=>j(A.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[N,j]),(0,f.jsxs)(h,{scope:n,state:C,disabled:v,children:[(0,f.jsx)(d.WV.button,{type:"button",role:"checkbox","aria-checked":k(C)?"mixed":C,"aria-required":s,"data-state":E(C),"data-disabled":v?"":void 0,disabled:v,value:m,...b,ref:x,onKeyDown:(0,i.M)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.M)(e.onClick,e=>{j(e=>!!k(e)||!e),O&&(M.current=e.isPropagationStopped(),M.current||e.stopPropagation())})}),O&&(0,f.jsx)(g,{control:N,bubbles:!M.current,name:o,value:m,checked:C,required:s,disabled:v,form:y,style:{transform:"translateX(-100%)"},defaultChecked:!k(c)&&c})]})});b.displayName=v;var N="CheckboxIndicator",w=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,forceMount:r,...u}=e,o=y(N,n);return(0,f.jsx)(s.z,{present:r||k(o.state)||!0===o.state,children:(0,f.jsx)(d.WV.span,{"data-state":E(o.state),"data-disabled":o.disabled?"":void 0,...u,ref:t,style:{pointerEvents:"none",...e.style}})})});w.displayName=N;var g=e=>{let{control:t,checked:n,bubbles:u=!0,defaultChecked:o,...i}=e,l=r.useRef(null),s=(0,a.D)(n),d=(0,c.t)(t);r.useEffect(()=>{let e=l.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(s!==n&&t){let r=new Event("click",{bubbles:u});e.indeterminate=k(n),t.call(e,!k(n)&&n),e.dispatchEvent(r)}},[s,n,u]);let v=r.useRef(!k(n)&&n);return(0,f.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=o?o:v.current,...i,tabIndex:-1,ref:l,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function k(e){return"indeterminate"===e}function E(e){return k(e)?"indeterminate":e?"checked":"unchecked"}var x=b,M=w},74873:function(e,t,n){n.d(t,{b:function(){return i},k:function(){return o}});var r=n(64149),u=n(20881);function o(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,i=r.useMemo(()=>o,Object.values(o));return(0,u.jsx)(n.Provider,{value:i,children:t})};return o.displayName=e+"Provider",[o,function(u){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function i(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return o.scopeName=e,[function(t,o){let i=r.createContext(o),l=n.length;n=[...n,o];let a=t=>{let{scope:n,children:o,...a}=t,c=n?.[e]?.[l]||i,s=r.useMemo(()=>a,Object.values(a));return(0,u.jsx)(c.Provider,{value:s,children:o})};return a.displayName=t+"Provider",[a,function(n,u){let a=u?.[e]?.[l]||i,c=r.useContext(a);if(c)return c;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e)[`__scope${r}`];return{...t,...u}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(o,...t)]}},45485:function(e,t,n){n.d(t,{z:function(){return i}});var r=n(64149),u=n(83954),o=n(61013),i=e=>{var t,n;let i,a;let{present:c,children:s}=e,d=function(e){var t,n;let[u,i]=r.useState(),a=r.useRef({}),c=r.useRef(e),s=r.useRef("none"),[d,f]=(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(a.current);s.current="mounted"===d?e:"none"},[d]),(0,o.b)(()=>{let t=a.current,n=c.current;if(n!==e){let r=s.current,u=l(t);e?f("MOUNT"):"none"===u||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==u?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,o.b)(()=>{if(u){var e;let t;let n=null!==(e=u.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(a.current).includes(e.animationName);if(e.target===u&&r&&(f("ANIMATION_END"),!c.current)){let e=u.style.animationFillMode;u.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===u.style.animationFillMode&&(u.style.animationFillMode=e)})}},o=e=>{e.target===u&&(s.current=l(a.current))};return u.addEventListener("animationstart",o),u.addEventListener("animationcancel",r),u.addEventListener("animationend",r),()=>{n.clearTimeout(t),u.removeEventListener("animationstart",o),u.removeEventListener("animationcancel",r),u.removeEventListener("animationend",r)}}f("ANIMATION_END")},[u,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(a.current=getComputedStyle(e)),i(e)},[])}}(c),f="function"==typeof s?s({present:d.isPresent}):r.Children.only(s),v=(0,u.e)(d.ref,(i=null===(t=Object.getOwnPropertyDescriptor(f.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in i&&i.isReactWarning?f.ref:(i=null===(n=Object.getOwnPropertyDescriptor(f,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in i&&i.isReactWarning?f.props.ref:f.props.ref||f.ref);return"function"==typeof s||d.isPresent?r.cloneElement(f,{ref:v}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},79442:function(e,t,n){n.d(t,{WV:function(){return l},jH:function(){return a}});var r=n(64149),u=n(50149),o=n(54098),i=n(20881),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...u}=e,l=r?o.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...u,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function a(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}},2441:function(e,t,n){n.d(t,{W:function(){return u}});var r=n(64149);function u(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},45306:function(e,t,n){n.d(t,{T:function(){return o}});var r=n(64149),u=n(2441);function o({prop:e,defaultProp:t,onChange:n=()=>{}}){let[o,i]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[o]=n,i=r.useRef(o),l=(0,u.W)(t);return r.useEffect(()=>{i.current!==o&&(l(o),i.current=o)},[o,i,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,a=l?e:o,c=(0,u.W)(n);return[a,r.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&c(n)}else i(t)},[l,e,i,c])]}},61013:function(e,t,n){n.d(t,{b:function(){return u}});var r=n(64149),u=globalThis?.document?r.useLayoutEffect:()=>{}},32437:function(e,t,n){n.d(t,{D:function(){return u}});var r=n(64149);function u(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},73452:function(e,t,n){n.d(t,{t:function(){return o}});var r=n(64149),u=n(61013);function o(e){let[t,n]=r.useState(void 0);return(0,u.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,u;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,u=t.blockSize}else r=e.offsetWidth,u=e.offsetHeight;n({width:r,height:u})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},20116:function(e,t,n){n.d(t,{j:function(){return o}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,u=function(){for(var e,t,n=0,r="";nn=>{var o;if((null==t?void 0:t.variants)==null)return u(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:l}=t,a=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],u=null==l?void 0:l[e];if(null===t)return null;let o=r(t)||r(u);return i[e][o]}),c=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return u(e,a,null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...u}=t;return Object.entries(u).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...c}[t]):({...l,...c})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/4059-9aec608b956e2da7.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/4059-9aec608b956e2da7.js
new file mode 100644
index 0000000..2bf6bc5
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/4059-9aec608b956e2da7.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4059],{83954:function(e,r,o){o.d(r,{F:function(){return n},e:function(){return l}});var t=o(64149);function n(...e){return r=>e.forEach(e=>{"function"==typeof e?e(r):null!=e&&(e.current=r)})}function l(...e){return t.useCallback(n(...e),e)}},54098:function(e,r,o){o.d(r,{A4:function(){return a},g7:function(){return s}});var t=o(64149),n=o(83954),l=o(20881),s=t.forwardRef((e,r)=>{let{children:o,...n}=e,s=t.Children.toArray(o),a=s.find(d);if(a){let e=a.props.children,o=s.map(r=>r!==a?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,l.jsx)(i,{...n,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,o):null})}return(0,l.jsx)(i,{...n,ref:r,children:o})});s.displayName="Slot";var i=t.forwardRef((e,r)=>{let{children:o,...l}=e;if(t.isValidElement(o)){let e,s;let i=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?o.ref:(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?o.props.ref:o.props.ref||o.ref;return t.cloneElement(o,{...function(e,r){let o={...r};for(let t in r){let n=e[t],l=r[t];/^on[A-Z]/.test(t)?n&&l?o[t]=(...e)=>{l(...e),n(...e)}:n&&(o[t]=n):"style"===t?o[t]={...n,...l}:"className"===t&&(o[t]=[n,l].filter(Boolean).join(" "))}return{...e,...o}}(l,o.props),ref:r?(0,n.F)(r,i):i})}return t.Children.count(o)>1?t.Children.only(null):null});i.displayName="SlotClone";var a=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function d(e){return t.isValidElement(e)&&e.type===a}},33958:function(e,r,o){function t(){for(var e,r,o=0,t="",n=arguments.length;o{let r=i(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{let o=e.split("-");return""===o[0]&&1!==o.length&&o.shift(),n(o,r)||s(e)},getConflictingClassGroupIds:(e,r)=>{let n=o[e]||[];return r&&t[e]?[...n,...t[e]]:n}}},n=(e,r)=>{if(0===e.length)return r.classGroupId;let o=e[0],t=r.nextPart.get(o),l=t?n(e.slice(1),t):void 0;if(l)return l;if(0===r.validators.length)return;let s=e.join("-");return r.validators.find(({validator:e})=>e(s))?.classGroupId},l=/^\[(.+)\]$/,s=e=>{if(l.test(e)){let r=l.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},i=e=>{let{theme:r,prefix:o}=e,t={nextPart:new Map,validators:[]};return p(Object.entries(e.classGroups),o).forEach(([e,o])=>{a(o,t,e,r)}),t},a=(e,r,o,t)=>{e.forEach(e=>{if("string"==typeof e){(""===e?r:d(r,e)).classGroupId=o;return}if("function"==typeof e){if(c(e)){a(e(t),r,o,t);return}r.validators.push({validator:e,classGroupId:o});return}Object.entries(e).forEach(([e,n])=>{a(n,d(r,e),o,t)})})},d=(e,r)=>{let o=e;return r.split("-").forEach(e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)}),o},c=e=>e.isThemeGetter,p=(e,r)=>r?e.map(([e,o])=>[e,o.map(e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,o])=>[r+e,o])):e)]):e,u=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let r=0,o=new Map,t=new Map,n=(n,l)=>{o.set(n,l),++r>e&&(r=0,t=o,o=new Map)};return{get(e){let r=o.get(e);return void 0!==r?r:void 0!==(r=t.get(e))?(n(e,r),r):void 0},set(e,r){o.has(e)?o.set(e,r):n(e,r)}}},b=e=>{let{separator:r,experimentalParseClassName:o}=e,t=1===r.length,n=r[0],l=r.length,s=e=>{let o;let s=[],i=0,a=0;for(let d=0;da?o-a:void 0}};return o?e=>o({className:e,parseClassName:s}):s},f=e=>{if(e.length<=1)return e;let r=[],o=[];return e.forEach(e=>{"["===e[0]?(r.push(...o.sort(),e),o=[]):o.push(e)}),r.push(...o.sort()),r},m=e=>({cache:u(e.cacheSize),parseClassName:b(e),...t(e)}),g=/\s+/,h=(e,r)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:n}=r,l=[],s=e.trim().split(g),i="";for(let e=s.length-1;e>=0;e-=1){let r=s[e],{modifiers:a,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:p}=o(r),u=!!p,b=t(u?c.substring(0,p):c);if(!b){if(!u||!(b=t(c))){i=r+(i.length>0?" "+i:i);continue}u=!1}let m=f(a).join(":"),g=d?m+"!":m,h=g+b;if(l.includes(h))continue;l.push(h);let y=n(b,u);for(let e=0;e0?" "+i:i)}return i};function y(){let e,r,o=0,t="";for(;o{let r;if("string"==typeof e)return e;let o="";for(let t=0;t{let r=r=>r[e]||[];return r.isThemeGetter=!0,r},w=/^\[(?:([a-z-]+):)?(.+)\]$/i,k=/^\d+\/\d+$/,z=new Set(["px","full","screen"]),j=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,S=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,N=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>R(e)||z.has(e)||k.test(e),G=e=>Z(e,"length",B),R=e=>!!e&&!Number.isNaN(Number(e)),O=e=>Z(e,"number",R),W=e=>!!e&&Number.isInteger(Number(e)),M=e=>e.endsWith("%")&&R(e.slice(0,-1)),$=e=>w.test(e),I=e=>j.test(e),_=new Set(["length","size","percentage"]),A=e=>Z(e,_,H),V=e=>Z(e,"position",H),F=new Set(["image","url"]),q=e=>Z(e,F,K),D=e=>Z(e,"",J),T=()=>!0,Z=(e,r,o)=>{let t=w.exec(e);return!!t&&(t[1]?"string"==typeof r?t[1]===r:r.has(t[1]):o(t[2]))},B=e=>C.test(e)&&!E.test(e),H=()=>!1,J=e=>S.test(e),K=e=>N.test(e),L=function(e,...r){let o,t,n;let l=function(i){return t=(o=m(r.reduce((e,r)=>r(e),e()))).cache.get,n=o.cache.set,l=s,s(i)};function s(e){let r=t(e);if(r)return r;let l=h(e,o);return n(e,l),l}return function(){return l(y.apply(null,arguments))}}(()=>{let e=v("colors"),r=v("spacing"),o=v("blur"),t=v("brightness"),n=v("borderColor"),l=v("borderRadius"),s=v("borderSpacing"),i=v("borderWidth"),a=v("contrast"),d=v("grayscale"),c=v("hueRotate"),p=v("invert"),u=v("gap"),b=v("gradientColorStops"),f=v("gradientColorStopPositions"),m=v("inset"),g=v("margin"),h=v("opacity"),y=v("padding"),x=v("saturate"),w=v("scale"),k=v("sepia"),z=v("skew"),j=v("space"),C=v("translate"),E=()=>["auto","contain","none"],S=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",$,r],_=()=>[$,r],F=()=>["",P,G],Z=()=>["auto",R,$],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",$],Q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[R,$];return{cacheSize:500,separator:":",theme:{colors:[T],spacing:[P,G],blur:["none","",I,$],brightness:U(),borderColor:[e],borderRadius:["none","","full",I,$],borderSpacing:_(),borderWidth:F(),contrast:U(),grayscale:L(),hueRotate:U(),invert:L(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[M,G],inset:N(),margin:N(),opacity:U(),padding:_(),saturate:U(),scale:U(),sepia:L(),skew:U(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",$]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":Q()}],"break-before":[{"break-before":Q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),$]}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",W,$]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",$]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",W,$]}],"grid-cols":[{"grid-cols":[T]}],"col-start-end":[{col:["auto",{span:["full",W,$]},$]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[T]}],"row-start-end":[{row:["auto",{span:[W,$]},$]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",$]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",$]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",$,r]}],"min-w":[{"min-w":[$,r,"min","max","fit"]}],"max-w":[{"max-w":[$,r,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[$,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[$,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[$,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[$,r,"auto","min","max","fit"]}],"font-size":[{text:["base",I,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",O]}],"font-family":[{font:[T]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",$]}],"line-clamp":[{"line-clamp":["none",R,O]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,$]}],"list-image":[{"list-image":["none",$]}],"list-style-type":[{list:["none","disc","decimal",$]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,G]}],"underline-offset":[{"underline-offset":["auto",P,$]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",$]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),V]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",A]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},q]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...H(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:H()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[P,$]}],"outline-w":[{outline:[P,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:F()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[P,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,D]}],"shadow-color":[{shadow:[T]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...J(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[t]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",I,$]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[x]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[t]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",$]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",$]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",$]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[W,$]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[z]}],"skew-y":[{"skew-y":[z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",$]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",$]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",$]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,G,O]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/4491-e84291153712f394.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/4491-e84291153712f394.js
new file mode 100644
index 0000000..587f9da
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/4491-e84291153712f394.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4491],{14491:function(e,n,t){t.d(n,{Dx:function(){return et},VY:function(){return en},aV:function(){return ee},dk:function(){return er},fC:function(){return J},h_:function(){return $},jm:function(){return K},p8:function(){return O},x8:function(){return eo},xz:function(){return Q}});var r=t(64149),o=t(64433),i=t(83954),a=t(74873),l=t(89105),u=t(45306),s=t(72832),d=t(96616),c=t(97498),f=t(45485),p=t(79442),m=t(57117),g=t(3748),v=t(32286),N=t(54098),y=t(20881),D="Dialog",[h,O]=(0,a.b)(D),[R,M]=h(D),b=e=>{let{__scopeDialog:n,children:t,open:o,defaultOpen:i,onOpenChange:a,modal:s=!0}=e,d=r.useRef(null),c=r.useRef(null),[f=!1,p]=(0,u.T)({prop:o,defaultProp:i,onChange:a});return(0,y.jsx)(R,{scope:n,triggerRef:d,contentRef:c,contentId:(0,l.M)(),titleId:(0,l.M)(),descriptionId:(0,l.M)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:s,children:t})};b.displayName=D;var w="DialogTrigger",x=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,a=M(w,t),l=(0,i.e)(n,a.triggerRef);return(0,y.jsx)(p.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":q(a.open),...r,ref:l,onClick:(0,o.M)(e.onClick,a.onOpenToggle)})});x.displayName=w;var I="DialogPortal",[j,E]=h(I,{forceMount:void 0}),C=e=>{let{__scopeDialog:n,forceMount:t,children:o,container:i}=e,a=M(I,n);return(0,y.jsx)(j,{scope:n,forceMount:t,children:r.Children.map(o,e=>(0,y.jsx)(f.z,{present:t||a.open,children:(0,y.jsx)(c.h,{asChild:!0,container:i,children:e})}))})};C.displayName=I;var _="DialogOverlay",T=r.forwardRef((e,n)=>{let t=E(_,e.__scopeDialog),{forceMount:r=t.forceMount,...o}=e,i=M(_,e.__scopeDialog);return i.modal?(0,y.jsx)(f.z,{present:r||i.open,children:(0,y.jsx)(A,{...o,ref:n})}):null});T.displayName=_;var A=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,o=M(_,t);return(0,y.jsx)(g.Z,{as:N.g7,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(p.WV.div,{"data-state":q(o.open),...r,ref:n,style:{pointerEvents:"auto",...r.style}})})}),F="DialogContent",P=r.forwardRef((e,n)=>{let t=E(F,e.__scopeDialog),{forceMount:r=t.forceMount,...o}=e,i=M(F,e.__scopeDialog);return(0,y.jsx)(f.z,{present:r||i.open,children:i.modal?(0,y.jsx)(W,{...o,ref:n}):(0,y.jsx)(k,{...o,ref:n})})});P.displayName=F;var W=r.forwardRef((e,n)=>{let t=M(F,e.__scopeDialog),a=r.useRef(null),l=(0,i.e)(n,t.contentRef,a);return r.useEffect(()=>{let e=a.current;if(e)return(0,v.Ry)(e)},[]),(0,y.jsx)(U,{...e,ref:l,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var n;e.preventDefault(),null===(n=t.triggerRef.current)||void 0===n||n.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let n=e.detail.originalEvent,t=0===n.button&&!0===n.ctrlKey;(2===n.button||t)&&e.preventDefault()}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault())})}),k=r.forwardRef((e,n)=>{let t=M(F,e.__scopeDialog),o=r.useRef(!1),i=r.useRef(!1);return(0,y.jsx)(U,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:n=>{var r,a;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,n),n.defaultPrevented||(o.current||null===(a=t.triggerRef.current)||void 0===a||a.focus(),n.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:n=>{var r,a;null===(r=e.onInteractOutside)||void 0===r||r.call(e,n),n.defaultPrevented||(o.current=!0,"pointerdown"!==n.detail.originalEvent.type||(i.current=!0));let l=n.target;(null===(a=t.triggerRef.current)||void 0===a?void 0:a.contains(l))&&n.preventDefault(),"focusin"===n.detail.originalEvent.type&&i.current&&n.preventDefault()}})}),U=r.forwardRef((e,n)=>{let{__scopeDialog:t,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:l,...u}=e,c=M(F,t),f=r.useRef(null),p=(0,i.e)(n,f);return(0,m.EW)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(d.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:l,children:(0,y.jsx)(s.XB,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":q(c.open),...u,ref:p,onDismiss:()=>c.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(Y,{titleId:c.titleId}),(0,y.jsx)(G,{contentRef:f,descriptionId:c.descriptionId})]})]})}),V="DialogTitle",S=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,o=M(V,t);return(0,y.jsx)(p.WV.h2,{id:o.titleId,...r,ref:n})});S.displayName=V;var L="DialogDescription",z=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,o=M(L,t);return(0,y.jsx)(p.WV.p,{id:o.descriptionId,...r,ref:n})});z.displayName=L;var B="DialogClose",Z=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,i=M(B,t);return(0,y.jsx)(p.WV.button,{type:"button",...r,ref:n,onClick:(0,o.M)(e.onClick,()=>i.onOpenChange(!1))})});function q(e){return e?"open":"closed"}Z.displayName=B;var H="DialogTitleWarning",[K,X]=(0,a.k)(H,{contentName:F,titleName:V,docsSlug:"dialog"}),Y=e=>{let{titleId:n}=e,t=X(H),o="`".concat(t.contentName,"` requires a `").concat(t.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(t.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(t.docsSlug);return r.useEffect(()=>{n&&!document.getElementById(n)&&console.error(o)},[o,n]),null},G=e=>{let{contentRef:n,descriptionId:t}=e,o=X("DialogDescriptionWarning"),i="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=n.current)||void 0===e?void 0:e.getAttribute("aria-describedby");t&&r&&!document.getElementById(t)&&console.warn(i)},[i,n,t]),null},J=b,Q=x,$=C,ee=T,en=P,et=S,er=z,eo=Z},45485:function(e,n,t){t.d(n,{z:function(){return a}});var r=t(64149),o=t(83954),i=t(61013),a=e=>{var n,t;let a,u;let{present:s,children:d}=e,c=function(e){var n,t;let[o,a]=r.useState(),u=r.useRef({}),s=r.useRef(e),d=r.useRef("none"),[c,f]=(n=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},n));return r.useEffect(()=>{let e=l(u.current);d.current="mounted"===c?e:"none"},[c]),(0,i.b)(()=>{let n=u.current,t=s.current;if(t!==e){let r=d.current,o=l(n);e?f("MOUNT"):"none"===o||(null==n?void 0:n.display)==="none"?f("UNMOUNT"):t&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,i.b)(()=>{if(o){var e;let n;let t=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(u.current).includes(e.animationName);if(e.target===o&&r&&(f("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",n=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(d.current=l(u.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{t.clearTimeout(n),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{e&&(u.current=getComputedStyle(e)),a(e)},[])}}(s),f="function"==typeof d?d({present:c.isPresent}):r.Children.only(d),p=(0,o.e)(c.ref,(a=null===(n=Object.getOwnPropertyDescriptor(f.props,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in a&&a.isReactWarning?f.ref:(a=null===(t=Object.getOwnPropertyDescriptor(f,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in a&&a.isReactWarning?f.props.ref:f.props.ref||f.ref);return"function"==typeof d||c.isPresent?r.cloneElement(f,{ref:p}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/5330-e647d902870ffa0d.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/5330-e647d902870ffa0d.js
new file mode 100644
index 0000000..9b9379d
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/5330-e647d902870ffa0d.js
@@ -0,0 +1,2 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5330],{59113:function(e,t){"use strict";function n(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return n}})},5483:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},61221:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return u}});let r=n(29068),o=n(12168);function u(e,t){return(0,o.normalizePathTrailingSlash)((0,r.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29156:function(e,t){"use strict";function n(e){var t,n;t=self.__next_s,n=()=>{e()},t&&t.length?t.reduce((e,t)=>{let[n,r]=t;return e.then(()=>new Promise((e,t)=>{let o=document.createElement("script");if(r)for(let e in r)"children"!==e&&o.setAttribute(e,r[e]);n?(o.src=n,o.onload=()=>e(),o.onerror=t):r&&(o.innerHTML=r.children,setTimeout(e)),document.head.appendChild(o)}))},Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{n()}):n()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"appBootstrap",{enumerable:!0,get:function(){return n}}),window.next={version:"14.2.15",appDir:!0},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79775:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callServer",{enumerable:!0,get:function(){return o}});let r=n(81013);async function o(e,t){let n=(0,r.getServerActionDispatcher)();if(!n)throw Error("Invariant: missing action dispatcher.");return new Promise((r,o)=>{n({actionId:e,actionArgs:t,resolve:r,reject:o})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40196:function(e,t,n){"use strict";let r,o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return x}});let u=n(88806),l=n(59994),a=n(20881);n(5483);let i=u._(n(55826)),c=l._(n(64149)),s=n(53150),f=n(61373),d=u._(n(96300)),p=n(79775),h=n(65590),y=n(65470);n(70902);let _=window.console.error;window.console.error=function(){for(var e=arguments.length,t=Array(e),n=0;n{if((0,h.isNextRouterError)(e.error)){e.preventDefault();return}});let v=document,b=new TextEncoder,g=!1,m=!1,R=null;function P(e){if(0===e[0])r=[];else if(1===e[0]){if(!r)throw Error("Unexpected server data: missing bootstrap script.");o?o.enqueue(b.encode(e[1])):r.push(e[1])}else 2===e[0]&&(R=e[1])}let j=function(){o&&!m&&(o.close(),m=!0,r=void 0),g=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",j,!1):j();let O=self.__next_f=self.__next_f||[];O.forEach(P),O.push=P;let S=new ReadableStream({start(e){r&&(r.forEach(t=>{e.enqueue(b.encode(t))}),g&&!m&&(e.close(),m=!0,r=void 0)),o=e}}),E=(0,s.createFromReadableStream)(S,{callServer:p.callServer});function w(){return(0,c.use)(E)}let T=c.default.StrictMode;function M(e){let{children:t}=e;return t}function x(){let e=(0,y.createMutableActionQueue)(),t=(0,a.jsx)(T,{children:(0,a.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,a.jsx)(y.ActionQueueContext.Provider,{value:e,children:(0,a.jsx)(M,{children:(0,a.jsx)(w,{})})})})}),n=window.__next_root_layout_missing_tags,r=!!(null==n?void 0:n.length),o={onRecoverableError:d.default};"__next_error__"===document.documentElement.id||r?i.default.createRoot(v,o).render(t):c.default.startTransition(()=>i.default.hydrateRoot(v,t,{...o,formState:R}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},90039:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(98837),(0,n(29156).appBootstrap)(()=>{let{hydrate:e}=n(40196);n(81013),n(16102),e()}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98837:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(59113);{let e=n.u;n.u=function(){for(var t=arguments.length,n=Array(t),r=0;r(l(function(){var e;let t=document.getElementsByName(u)[0];if(null==t?void 0:null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(u);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(u)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}),[]);let[a,i]=(0,r.useState)(""),c=(0,r.useRef)();return(0,r.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==c.current&&c.current!==e&&i(e),c.current=e},[t]),n?(0,o.createPortal)(a,n):null}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},18310:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION:function(){return r},FLIGHT_PARAMETERS:function(){return i},NEXT_DID_POSTPONE_HEADER:function(){return s},NEXT_ROUTER_PREFETCH_HEADER:function(){return u},NEXT_ROUTER_STATE_TREE:function(){return o},NEXT_RSC_UNION_QUERY:function(){return c},NEXT_URL:function(){return l},RSC_CONTENT_TYPE_HEADER:function(){return a},RSC_HEADER:function(){return n}});let n="RSC",r="Next-Action",o="Next-Router-State-Tree",u="Next-Router-Prefetch",l="Next-Url",a="text/x-component",i=[[n],[o],[u]],c="_rsc",s="x-nextjs-postponed";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81013:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createEmptyCacheNode:function(){return C},default:function(){return I},getServerActionDispatcher:function(){return E},urlToUrlWithoutFlightMarker:function(){return T}});let r=n(59994),o=n(20881),u=r._(n(64149)),l=n(51223),a=n(69024),i=n(27549),c=n(84985),s=n(40500),f=n(41626),d=n(34165),p=n(85202),h=n(61221),y=n(65055),_=n(27456),v=n(34671),b=n(12896),g=n(18310),m=n(33854),R=n(15282),P=n(84478),j="undefined"==typeof window,O=j?null:new Map,S=null;function E(){return S}let w={};function T(e){let t=new URL(e,location.origin);if(t.searchParams.delete(g.NEXT_RSC_UNION_QUERY),t.pathname.endsWith(".txt")){let{pathname:e}=t,n=e.endsWith("/index.txt")?10:4;t.pathname=e.slice(0,-n)}return t}function M(e){return e.origin!==window.location.origin}function x(e){let{appRouterState:t,sync:n}=e;return(0,u.useInsertionEffect)(()=>{let{tree:e,pushRef:r,canonicalUrl:o}=t,u={...r.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:e};r.pendingPush&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==o?(r.pendingPush=!1,window.history.pushState(u,"",o)):window.history.replaceState(u,"",o),n(t)},[t,n]),null}function C(){return{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null}}function A(e){null==e&&(e={});let t=window.history.state,n=null==t?void 0:t.__NA;n&&(e.__NA=n);let r=null==t?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;return r&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=r),e}function N(e){let{headCacheNode:t}=e,n=null!==t?t.head:null,r=null!==t?t.prefetchHead:null,o=null!==r?r:n;return(0,u.useDeferredValue)(n,o)}function D(e){let t,{buildId:n,initialHead:r,initialTree:i,urlParts:f,initialSeedData:g,couldBeIntercepted:E,assetPrefix:T,missingSlots:C}=e,D=(0,u.useMemo)(()=>(0,d.createInitialRouterState)({buildId:n,initialSeedData:g,urlParts:f,initialTree:i,initialParallelRoutes:O,location:j?null:window.location,initialHead:r,couldBeIntercepted:E}),[n,g,f,i,r,E]),[I,U,k]=(0,s.useReducerWithReduxDevtools)(D);(0,u.useEffect)(()=>{O=null},[]);let{canonicalUrl:F}=(0,s.useUnwrapState)(I),{searchParams:L,pathname:H}=(0,u.useMemo)(()=>{let e=new URL(F,"undefined"==typeof window?"http://n":window.location.href);return{searchParams:e.searchParams,pathname:(0,R.hasBasePath)(e.pathname)?(0,m.removeBasePath)(e.pathname):e.pathname}},[F]),$=(0,u.useCallback)(e=>{let{previousTree:t,serverResponse:n}=e;(0,u.startTransition)(()=>{U({type:a.ACTION_SERVER_PATCH,previousTree:t,serverResponse:n})})},[U]),G=(0,u.useCallback)((e,t,n)=>{let r=new URL((0,h.addBasePath)(e),location.href);return U({type:a.ACTION_NAVIGATE,url:r,isExternalUrl:M(r),locationSearch:location.search,shouldScroll:null==n||n,navigateType:t})},[U]);S=(0,u.useCallback)(e=>{(0,u.startTransition)(()=>{U({...e,type:a.ACTION_SERVER_ACTION})})},[U]);let z=(0,u.useMemo)(()=>({back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{let n;if(!(0,p.isBot)(window.navigator.userAgent)){try{n=new URL((0,h.addBasePath)(e),window.location.href)}catch(t){throw Error("Cannot prefetch '"+e+"' because it cannot be converted to a URL.")}M(n)||(0,u.startTransition)(()=>{var e;U({type:a.ACTION_PREFETCH,url:n,kind:null!=(e=null==t?void 0:t.kind)?e:a.PrefetchKind.FULL})})}},replace:(e,t)=>{void 0===t&&(t={}),(0,u.startTransition)(()=>{var n;G(e,"replace",null==(n=t.scroll)||n)})},push:(e,t)=>{void 0===t&&(t={}),(0,u.startTransition)(()=>{var n;G(e,"push",null==(n=t.scroll)||n)})},refresh:()=>{(0,u.startTransition)(()=>{U({type:a.ACTION_REFRESH,origin:window.location.origin})})},fastRefresh:()=>{throw Error("fastRefresh can only be used in development mode. Please use refresh instead.")}}),[U,G]);(0,u.useEffect)(()=>{window.next&&(window.next.router=z)},[z]),(0,u.useEffect)(()=>{function e(e){var t;e.persisted&&(null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE)&&(w.pendingMpaPath=void 0,U({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[U]);let{pushRef:B}=(0,s.useUnwrapState)(I);if(B.mpaNavigation){if(w.pendingMpaPath!==F){let e=window.location;B.pendingPush?e.assign(F):e.replace(F),w.pendingMpaPath=F}(0,u.use)(b.unresolvedThenable)}(0,u.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),n=e=>{var t;let n=window.location.href,r=null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,u.startTransition)(()=>{U({type:a.ACTION_RESTORE,url:new URL(null!=e?e:n,n),tree:r})})};window.history.pushState=function(t,r,o){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=A(t),o&&n(o)),e(t,r,o)},window.history.replaceState=function(e,r,o){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=A(e),o&&n(o)),t(e,r,o)};let r=e=>{let{state:t}=e;if(t){if(!t.__NA){window.location.reload();return}(0,u.startTransition)(()=>{U({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:t.__PRIVATE_NEXTJS_INTERNALS_TREE})})}};return window.addEventListener("popstate",r),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",r)}},[U]);let{cache:W,tree:K,nextUrl:V,focusAndScrollRef:Y}=(0,s.useUnwrapState)(I),X=(0,u.useMemo)(()=>(0,v.findHeadInCache)(W,K[1]),[W,K]),q=(0,u.useMemo)(()=>(function e(t,n){for(let r of(void 0===n&&(n={}),Object.values(t[1]))){let t=r[0],o=Array.isArray(t),u=o?t[1]:t;!u||u.startsWith(P.PAGE_SEGMENT_KEY)||(o&&("c"===t[2]||"oc"===t[2])?n[t[0]]=t[1].split("/"):o&&(n[t[0]]=t[1]),n=e(r,n))}return n})(K),[K]);if(null!==X){let[e,n]=X;t=(0,o.jsx)(N,{headCacheNode:e},n)}else t=null;let J=(0,o.jsxs)(_.RedirectBoundary,{children:[t,W.rsc,(0,o.jsx)(y.AppRouterAnnouncer,{tree:K})]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(x,{appRouterState:(0,s.useUnwrapState)(I),sync:k}),(0,o.jsx)(c.PathParamsContext.Provider,{value:q,children:(0,o.jsx)(c.PathnameContext.Provider,{value:H,children:(0,o.jsx)(c.SearchParamsContext.Provider,{value:L,children:(0,o.jsx)(l.GlobalLayoutRouterContext.Provider,{value:{buildId:n,changeByServerResponse:$,tree:K,focusAndScrollRef:Y,nextUrl:V},children:(0,o.jsx)(l.AppRouterContext.Provider,{value:z,children:(0,o.jsx)(l.LayoutRouterContext.Provider,{value:{childNodes:W.parallelRoutes,tree:K,url:F,loading:W.loading},children:J})})})})})})]})}function I(e){let{globalErrorComponent:t,...n}=e;return(0,o.jsx)(f.ErrorBoundary,{errorComponent:t,children:(0,o.jsx)(D,{...n})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58951:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bailoutToClientRendering",{enumerable:!0,get:function(){return u}});let r=n(90351),o=n(5733);function u(e){let t=o.staticGenerationAsyncStorage.getStore();if((null==t||!t.forceStatic)&&(null==t?void 0:t.isStaticGeneration))throw new r.BailoutToCSRError(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78073:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ClientPageRoot",{enumerable:!0,get:function(){return u}});let r=n(20881),o=n(81802);function u(e){let{Component:t,props:n}=e;return n.searchParams=(0,o.createDynamicallyTrackedSearchParams)(n.searchParams||{}),(0,r.jsx)(t,{...n})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41626:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ErrorBoundary:function(){return h},ErrorBoundaryHandler:function(){return f},GlobalError:function(){return d},default:function(){return p}});let r=n(88806),o=n(20881),u=r._(n(64149)),l=n(39886),a=n(65590),i=n(5733),c={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}};function s(e){let{error:t}=e,n=i.staticGenerationAsyncStorage.getStore();if((null==n?void 0:n.isRevalidate)||(null==n?void 0:n.isStaticGeneration))throw console.error(t),t;return null}class f extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,o.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function d(e){let{error:t}=e,n=null==t?void 0:t.digest;return(0,o.jsxs)("html",{id:"__next_error__",children:[(0,o.jsx)("head",{}),(0,o.jsxs)("body",{children:[(0,o.jsx)(s,{error:t}),(0,o.jsx)("div",{style:c.error,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{style:c.text,children:"Application error: a "+(n?"server":"client")+"-side exception has occurred (see the "+(n?"server logs":"browser console")+" for more information)."}),n?(0,o.jsx)("p",{style:c.text,children:"Digest: "+n}):null]})})]})]})}let p=d;function h(e){let{errorComponent:t,errorStyles:n,errorScripts:r,children:u}=e,a=(0,l.usePathname)();return t?(0,o.jsx)(f,{pathname:a,errorComponent:t,errorStyles:n,errorScripts:r,children:u}):(0,o.jsx)(o.Fragment,{children:u})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},24278:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DynamicServerError:function(){return r},isDynamicServerError:function(){return o}});let n="DYNAMIC_SERVER_USAGE";class r extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=n}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return u}});let r=n(35479),o=n(58070);function u(e){return e&&e.digest&&((0,o.isRedirectError)(e)||(0,r.isNotFoundError)(e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16102:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});let r=n(88806),o=n(59994),u=n(20881),l=o._(n(64149)),a=r._(n(50149)),i=n(51223),c=n(70326),s=n(12896),f=n(41626),d=n(17127),p=n(66270),h=n(27456),y=n(84262),_=n(80597),v=n(50416),b=n(99374),g=["bottom","height","left","right","top","width","x","y"];function m(e,t){let n=e.getBoundingClientRect();return n.top>=0&&n.top<=t}class R extends l.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,segmentPath:t}=this.props;if(e.apply){var n;if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,n)=>(0,d.matchSegment)(t,e[n]))))return;let r=null,o=e.hashFragment;if(o&&(r="top"===o?document.body:null!=(n=document.getElementById(o))?n:document.getElementsByName(o)[0]),r||(r="undefined"==typeof window?null:a.default.findDOMNode(this)),!(r instanceof Element))return;for(;!(r instanceof HTMLElement)||function(e){if(["sticky","fixed"].includes(getComputedStyle(e).position))return!0;let t=e.getBoundingClientRect();return g.every(e=>0===t[e])}(r);){if(null===r.nextElementSibling)return;r=r.nextElementSibling}e.apply=!1,e.hashFragment=null,e.segmentPaths=[],(0,p.handleSmoothScroll)(()=>{if(o){r.scrollIntoView();return}let e=document.documentElement,t=e.clientHeight;!m(r,t)&&(e.scrollTop=0,m(r,t)||r.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,r.focus()}}}}function P(e){let{segmentPath:t,children:n}=e,r=(0,l.useContext)(i.GlobalLayoutRouterContext);if(!r)throw Error("invariant global layout router not mounted");return(0,u.jsx)(R,{segmentPath:t,focusAndScrollRef:r.focusAndScrollRef,children:n})}function j(e){let{parallelRouterKey:t,url:n,childNodes:r,segmentPath:o,tree:a,cacheKey:f}=e,p=(0,l.useContext)(i.GlobalLayoutRouterContext);if(!p)throw Error("invariant global layout router not mounted");let{buildId:h,changeByServerResponse:y,tree:_}=p,v=r.get(f);if(void 0===v){let e={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null};v=e,r.set(f,e)}let g=null!==v.prefetchRsc?v.prefetchRsc:v.rsc,m=(0,l.useDeferredValue)(v.rsc,g),R="object"==typeof m&&null!==m&&"function"==typeof m.then?(0,l.use)(m):m;if(!R){let e=v.lazyData;if(null===e){let t=function e(t,n){if(t){let[r,o]=t,u=2===t.length;if((0,d.matchSegment)(n[0],r)&&n[1].hasOwnProperty(o)){if(u){let t=e(void 0,n[1][o]);return[n[0],{...n[1],[o]:[t[0],t[1],t[2],"refetch"]}]}return[n[0],{...n[1],[o]:e(t.slice(2),n[1][o])}]}}return n}(["",...o],_),r=(0,b.hasInterceptionRouteInCurrentTree)(_);v.lazyData=e=(0,c.fetchServerResponse)(new URL(n,location.origin),t,r?p.nextUrl:null,h),v.lazyDataResolved=!1}let t=(0,l.use)(e);v.lazyDataResolved||(setTimeout(()=>{(0,l.startTransition)(()=>{y({previousTree:_,serverResponse:t})})}),v.lazyDataResolved=!0),(0,l.use)(s.unresolvedThenable)}return(0,u.jsx)(i.LayoutRouterContext.Provider,{value:{tree:a[1][t],childNodes:v.parallelRoutes,url:n,loading:v.loading},children:R})}function O(e){let{children:t,hasLoading:n,loading:r,loadingStyles:o,loadingScripts:a}=e;return n?(0,u.jsx)(l.Suspense,{fallback:(0,u.jsxs)(u.Fragment,{children:[o,a,r]}),children:t}):(0,u.jsx)(u.Fragment,{children:t})}function S(e){let{parallelRouterKey:t,segmentPath:n,error:r,errorStyles:o,errorScripts:a,templateStyles:c,templateScripts:s,template:d,notFound:p,notFoundStyles:b}=e,g=(0,l.useContext)(i.LayoutRouterContext);if(!g)throw Error("invariant expected layout router to be mounted");let{childNodes:m,tree:R,url:S,loading:E}=g,w=m.get(t);w||(w=new Map,m.set(t,w));let T=R[1][t][0],M=(0,_.getSegmentValue)(T),x=[T];return(0,u.jsx)(u.Fragment,{children:x.map(e=>{let l=(0,_.getSegmentValue)(e),g=(0,v.createRouterCacheKey)(e);return(0,u.jsxs)(i.TemplateContext.Provider,{value:(0,u.jsx)(P,{segmentPath:n,children:(0,u.jsx)(f.ErrorBoundary,{errorComponent:r,errorStyles:o,errorScripts:a,children:(0,u.jsx)(O,{hasLoading:!!E,loading:null==E?void 0:E[0],loadingStyles:null==E?void 0:E[1],loadingScripts:null==E?void 0:E[2],children:(0,u.jsx)(y.NotFoundBoundary,{notFound:p,notFoundStyles:b,children:(0,u.jsx)(h.RedirectBoundary,{children:(0,u.jsx)(j,{parallelRouterKey:t,url:S,tree:R,childNodes:w,segmentPath:n,cacheKey:g,isActive:M===l})})})})})}),children:[c,s,d]},(0,v.createRouterCacheKey)(e,!0))})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},17127:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{canSegmentBeOverridden:function(){return u},matchSegment:function(){return o}});let r=n(37828),o=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1],u=(e,t)=>{var n;return!Array.isArray(e)&&!!Array.isArray(t)&&(null==(n=(0,r.getSegmentParam)(e))?void 0:n.param)===t[0]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39886:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return i.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return i.notFound},permanentRedirect:function(){return i.permanentRedirect},redirect:function(){return i.redirect},useParams:function(){return p},usePathname:function(){return f},useRouter:function(){return d},useSearchParams:function(){return s},useSelectedLayoutSegment:function(){return y},useSelectedLayoutSegments:function(){return h},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let r=n(64149),o=n(51223),u=n(84985),l=n(80597),a=n(84478),i=n(7279),c=n(60773);function s(){let e=(0,r.useContext)(u.SearchParamsContext),t=(0,r.useMemo)(()=>e?new i.ReadonlyURLSearchParams(e):null,[e]);if("undefined"==typeof window){let{bailoutToClientRendering:e}=n(58951);e("useSearchParams()")}return t}function f(){return(0,r.useContext)(u.PathnameContext)}function d(){let e=(0,r.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function p(){return(0,r.useContext)(u.PathParamsContext)}function h(e){void 0===e&&(e="children");let t=(0,r.useContext)(o.LayoutRouterContext);return t?function e(t,n,r,o){let u;if(void 0===r&&(r=!0),void 0===o&&(o=[]),r)u=t[1][n];else{var i;let e=t[1];u=null!=(i=e.children)?i:Object.values(e)[0]}if(!u)return o;let c=u[0],s=(0,l.getSegmentValue)(c);return!s||s.startsWith(a.PAGE_SEGMENT_KEY)?o:(o.push(s),e(u,n,!1,o))}(t.tree,e):null}function y(e){void 0===e&&(e="children");let t=h(e);if(!t||0===t.length)return null;let n="children"===e?t[0]:t[t.length-1];return n===a.DEFAULT_SEGMENT_KEY?null:n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7279:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return l},RedirectType:function(){return r.RedirectType},notFound:function(){return o.notFound},permanentRedirect:function(){return r.permanentRedirect},redirect:function(){return r.redirect}});let r=n(58070),o=n(35479);class u extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class l extends URLSearchParams{append(){throw new u}delete(){throw new u}set(){throw new u}sort(){throw new u}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84262:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFoundBoundary",{enumerable:!0,get:function(){return s}});let r=n(59994),o=n(20881),u=r._(n(64149)),l=n(39886),a=n(35479);n(12303);let i=n(51223);class c extends u.default.Component{componentDidCatch(){}static getDerivedStateFromError(e){if((0,a.isNotFoundError)(e))return{notFoundTriggered:!0};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.notFoundTriggered?{notFoundTriggered:!1,previousPathname:e.pathname}:{notFoundTriggered:t.notFoundTriggered,previousPathname:e.pathname}}render(){return this.state.notFoundTriggered?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{name:"robots",content:"noindex"}),!1,this.props.notFoundStyles,this.props.notFound]}):this.props.children}constructor(e){super(e),this.state={notFoundTriggered:!!e.asNotFound,previousPathname:e.pathname}}}function s(e){let{notFound:t,notFoundStyles:n,asNotFound:r,children:a}=e,s=(0,l.usePathname)(),f=(0,u.useContext)(i.MissingSlotContext);return t?(0,o.jsx)(c,{pathname:s,notFound:t,notFoundStyles:n,asNotFound:r,missingSlots:f,children:a}):(0,o.jsx)(o.Fragment,{children:a})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35479:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return o},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16076:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseQueue",{enumerable:!0,get:function(){return c}});let r=n(78710),o=n(19052);var u=o._("_maxConcurrency"),l=o._("_runningCount"),a=o._("_queue"),i=o._("_processNext");class c{enqueue(e){let t,n;let o=new Promise((e,r)=>{t=e,n=r}),u=async()=>{try{r._(this,l)[l]++;let n=await e();t(n)}catch(e){n(e)}finally{r._(this,l)[l]--,r._(this,i)[i]()}};return r._(this,a)[a].push({promiseFn:o,task:u}),r._(this,i)[i](),o}bump(e){let t=r._(this,a)[a].findIndex(t=>t.promiseFn===e);if(t>-1){let e=r._(this,a)[a].splice(t,1)[0];r._(this,a)[a].unshift(e),r._(this,i)[i](!0)}}constructor(e=5){Object.defineProperty(this,i,{value:s}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),r._(this,u)[u]=e,r._(this,l)[l]=0,r._(this,a)[a]=[]}}function s(e){if(void 0===e&&(e=!1),(r._(this,l)[l]0){var t;null==(t=r._(this,a)[a].shift())||t.task()}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27456:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectBoundary:function(){return s},RedirectErrorBoundary:function(){return c}});let r=n(59994),o=n(20881),u=r._(n(64149)),l=n(39886),a=n(58070);function i(e){let{redirect:t,reset:n,redirectType:r}=e,o=(0,l.useRouter)();return(0,u.useEffect)(()=>{u.default.startTransition(()=>{r===a.RedirectType.push?o.push(t,{}):o.replace(t,{}),n()})},[t,r,n,o]),null}class c extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isRedirectError)(e))return{redirect:(0,a.getURLFromRedirectError)(e),redirectType:(0,a.getRedirectTypeFromError)(e)};throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,o.jsx)(i,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(e){super(e),this.state={redirect:null,redirectType:null}}}function s(e){let{children:t}=e,n=(0,l.useRouter)();return(0,o.jsx)(c,{router:n,children:t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6280:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}}),(r=n||(n={}))[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58070:function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return r},getRedirectError:function(){return c},getRedirectStatusCodeFromError:function(){return y},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return p},isRedirectError:function(){return d},permanentRedirect:function(){return f},redirect:function(){return s}});let u=n(7870),l=n(30138),a=n(6280),i="NEXT_REDIRECT";function c(e,t,n){void 0===n&&(n=a.RedirectStatusCode.TemporaryRedirect);let r=Error(i);r.digest=i+";"+t+";"+e+";"+n+";";let o=u.requestAsyncStorage.getStore();return o&&(r.mutableCookies=o.mutableCookies),r}function s(e,t){void 0===t&&(t="replace");let n=l.actionAsyncStorage.getStore();throw c(e,t,(null==n?void 0:n.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.TemporaryRedirect)}function f(e,t){void 0===t&&(t="replace");let n=l.actionAsyncStorage.getStore();throw c(e,t,(null==n?void 0:n.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.PermanentRedirect)}function d(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,n,r,o]=e.digest.split(";",4),u=Number(o);return t===i&&("replace"===n||"push"===n)&&"string"==typeof r&&!isNaN(u)&&u in a.RedirectStatusCode}function p(e){return d(e)?e.digest.split(";",3)[2]:null}function h(e){if(!d(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function y(e){if(!d(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(o=r||(r={})).push="push",o.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},22609:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(59994),o=n(20881),u=r._(n(64149)),l=n(51223);function a(){let e=(0,u.useContext)(l.TemplateContext);return(0,o.jsx)(o.Fragment,{children:e})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7870:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getExpectedRequestStore:function(){return o},requestAsyncStorage:function(){return r.requestAsyncStorage}});let r=n(72453);function o(e){let t=r.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},21239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyFlightData",{enumerable:!0,get:function(){return u}});let r=n(73254),o=n(53764);function u(e,t,n,u){let[l,a,i]=n.slice(-3);if(null===a)return!1;if(3===n.length){let n=a[2],o=a[3];t.loading=o,t.rsc=n,t.prefetchRsc=null,(0,r.fillLazyItemsTillLeafWithHead)(t,e,l,a,i,u)}else t.rsc=e.rsc,t.prefetchRsc=e.prefetchRsc,t.parallelRoutes=new Map(e.parallelRoutes),t.loading=e.loading,(0,o.fillCacheWithNewSubTreeData)(t,e,n,u);return!0}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69078:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyRouterStatePatchToTree",{enumerable:!0,get:function(){return function e(t,n,r,a){let i;let[c,s,f,d,p]=n;if(1===t.length){let e=l(n,r,t);return(0,u.addRefreshMarkerToActiveParallelSegments)(e,a),e}let[h,y]=t;if(!(0,o.matchSegment)(h,c))return null;if(2===t.length)i=l(s[y],r,t);else if(null===(i=e(t.slice(2),s[y],r,a)))return null;let _=[t[0],{...s,[y]:i},f,d];return p&&(_[4]=!0),(0,u.addRefreshMarkerToActiveParallelSegments)(_,a),_}}});let r=n(84478),o=n(17127),u=n(42578);function l(e,t,n){let[u,a]=e,[i,c]=t;if(i===r.DEFAULT_SEGMENT_KEY&&u!==r.DEFAULT_SEGMENT_KEY)return e;if((0,o.matchSegment)(u,i)){let t={};for(let e in a)void 0!==c[e]?t[e]=l(a[e],c[e],n):t[e]=a[e];for(let e in c)t[e]||(t[e]=c[e]);let r=[u,t];return e[2]&&(r[2]=e[2]),e[3]&&(r[3]=e[3]),e[4]&&(r[4]=e[4]),r}return t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6612:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clearCacheNodeDataForSegmentPath",{enumerable:!0,get:function(){return function e(t,n,o){let u=o.length<=2,[l,a]=o,i=(0,r.createRouterCacheKey)(a),c=n.parallelRoutes.get(l),s=t.parallelRoutes.get(l);s&&s!==c||(s=new Map(c),t.parallelRoutes.set(l,s));let f=null==c?void 0:c.get(i),d=s.get(i);if(u){d&&d.lazyData&&d!==f||s.set(i,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null});return}if(!d||!f){d||s.set(i,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null});return}return d===f&&(d={lazyData:d.lazyData,rsc:d.rsc,prefetchRsc:d.prefetchRsc,head:d.head,prefetchHead:d.prefetchHead,parallelRoutes:new Map(d.parallelRoutes),lazyDataResolved:d.lazyDataResolved,loading:d.loading},s.set(i,d)),e(d,f,o.slice(2))}}});let r=n(50416);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79235:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{computeChangedPath:function(){return s},extractPathFromFlightRouterState:function(){return c}});let r=n(51693),o=n(84478),u=n(17127),l=e=>"/"===e[0]?e.slice(1):e,a=e=>"string"==typeof e?"children"===e?"":e:e[1];function i(e){return e.reduce((e,t)=>""===(t=l(t))||(0,o.isGroupSegment)(t)?e:e+"/"+t,"")||"/"}function c(e){var t;let n=Array.isArray(e[0])?e[0][1]:e[0];if(n===o.DEFAULT_SEGMENT_KEY||r.INTERCEPTION_ROUTE_MARKERS.some(e=>n.startsWith(e)))return;if(n.startsWith(o.PAGE_SEGMENT_KEY))return"";let u=[a(n)],l=null!=(t=e[1])?t:{},s=l.children?c(l.children):void 0;if(void 0!==s)u.push(s);else for(let[e,t]of Object.entries(l)){if("children"===e)continue;let n=c(t);void 0!==n&&u.push(n)}return i(u)}function s(e,t){let n=function e(t,n){let[o,l]=t,[i,s]=n,f=a(o),d=a(i);if(r.INTERCEPTION_ROUTE_MARKERS.some(e=>f.startsWith(e)||d.startsWith(e)))return"";if(!(0,u.matchSegment)(o,i)){var p;return null!=(p=c(n))?p:""}for(let t in l)if(s[t]){let n=e(l[t],s[t]);if(null!==n)return a(i)+"/"+n}return null}(e,t);return null==n||"/"===n?n:i(n.split("/"))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27549:function(e,t){"use strict";function n(e,t){return void 0===t&&(t=!0),e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34165:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return c}});let r=n(27549),o=n(73254),u=n(79235),l=n(50306),a=n(69024),i=n(42578);function c(e){var t;let{buildId:n,initialTree:c,initialSeedData:s,urlParts:f,initialParallelRoutes:d,location:p,initialHead:h,couldBeIntercepted:y}=e,_=f.join("/"),v=!p,b={lazyData:null,rsc:s[2],prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:v?new Map:d,lazyDataResolved:!1,loading:s[3]},g=p?(0,r.createHrefFromUrl)(p):_;(0,i.addRefreshMarkerToActiveParallelSegments)(c,g);let m=new Map;(null===d||0===d.size)&&(0,o.fillLazyItemsTillLeafWithHead)(b,void 0,c,s,h);let R={buildId:n,tree:c,cache:b,prefetchCache:m,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:g,nextUrl:null!=(t=(0,u.extractPathFromFlightRouterState)(c)||(null==p?void 0:p.pathname))?t:null};if(p){let e=new URL(""+p.pathname+p.search,p.origin),t=[["",c,null,null]];(0,l.createPrefetchCacheEntryForInitialLoad)({url:e,kind:a.PrefetchKind.AUTO,data:[t,void 0,!1,y],tree:R.tree,prefetchCache:R.prefetchCache,nextUrl:R.nextUrl})}return R}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50416:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let r=n(84478);function o(e,t){return(void 0===t&&(t=!1),Array.isArray(e))?e[0]+"|"+e[1]+"|"+e[2]:t&&e.startsWith(r.PAGE_SEGMENT_KEY)?r.PAGE_SEGMENT_KEY:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70326:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fetchServerResponse",{enumerable:!0,get:function(){return s}});let r=n(18310),o=n(81013),u=n(79775),l=n(69024),a=n(22132),{createFromFetch:i}=n(53150);function c(e){return[(0,o.urlToUrlWithoutFlightMarker)(e).toString(),void 0,!1,!1]}async function s(e,t,n,s,f){let d={[r.RSC_HEADER]:"1",[r.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(t))};f===l.PrefetchKind.AUTO&&(d[r.NEXT_ROUTER_PREFETCH_HEADER]="1"),n&&(d[r.NEXT_URL]=n);let p=(0,a.hexHash)([d[r.NEXT_ROUTER_PREFETCH_HEADER]||"0",d[r.NEXT_ROUTER_STATE_TREE],d[r.NEXT_URL]].join(","));try{var h;let t=new URL(e);t.pathname.endsWith("/")?t.pathname+="index.txt":t.pathname+=".txt",t.searchParams.set(r.NEXT_RSC_UNION_QUERY,p);let n=await fetch(t,{credentials:"same-origin",headers:d}),l=(0,o.urlToUrlWithoutFlightMarker)(n.url),a=n.redirected?l:void 0,f=n.headers.get("content-type")||"",y=!!n.headers.get(r.NEXT_DID_POSTPONE_HEADER),_=!!(null==(h=n.headers.get("vary"))?void 0:h.includes(r.NEXT_URL)),v=f===r.RSC_CONTENT_TYPE_HEADER;if(v||(v=f.startsWith("text/plain")),!v||!n.ok)return e.hash&&(l.hash=e.hash),c(l.toString());let[b,g]=await i(Promise.resolve(n),{callServer:u.callServer});if(s!==b)return c(n.url);return[g,a,y,_]}catch(t){return console.error("Failed to fetch RSC payload for "+e+". Falling back to browser navigation.",t),[e.toString(),void 0,!1,!1]}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53764:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithNewSubTreeData",{enumerable:!0,get:function(){return function e(t,n,l,a){let i=l.length<=5,[c,s]=l,f=(0,u.createRouterCacheKey)(s),d=n.parallelRoutes.get(c);if(!d)return;let p=t.parallelRoutes.get(c);p&&p!==d||(p=new Map(d),t.parallelRoutes.set(c,p));let h=d.get(f),y=p.get(f);if(i){if(!y||!y.lazyData||y===h){let e=l[3];y={lazyData:null,rsc:e[2],prefetchRsc:null,head:null,prefetchHead:null,loading:e[3],parallelRoutes:h?new Map(h.parallelRoutes):new Map,lazyDataResolved:!1},h&&(0,r.invalidateCacheByRouterState)(y,h,l[2]),(0,o.fillLazyItemsTillLeafWithHead)(y,h,l[2],e,l[4],a),p.set(f,y)}return}y&&h&&(y===h&&(y={lazyData:y.lazyData,rsc:y.rsc,prefetchRsc:y.prefetchRsc,head:y.head,prefetchHead:y.prefetchHead,parallelRoutes:new Map(y.parallelRoutes),lazyDataResolved:!1,loading:y.loading},p.set(f,y)),e(y,h,l.slice(2),a))}}});let r=n(12928),o=n(73254),u=n(50416);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},73254:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function e(t,n,u,l,a,i){if(0===Object.keys(u[1]).length){t.head=a;return}for(let c in u[1]){let s;let f=u[1][c],d=f[0],p=(0,r.createRouterCacheKey)(d),h=null!==l&&void 0!==l[1][c]?l[1][c]:null;if(n){let r=n.parallelRoutes.get(c);if(r){let n;let u=(null==i?void 0:i.kind)==="auto"&&i.status===o.PrefetchCacheEntryStatus.reusable,l=new Map(r),s=l.get(p);n=null!==h?{lazyData:null,rsc:h[2],prefetchRsc:null,head:null,prefetchHead:null,loading:h[3],parallelRoutes:new Map(null==s?void 0:s.parallelRoutes),lazyDataResolved:!1}:u&&s?{lazyData:s.lazyData,rsc:s.rsc,prefetchRsc:s.prefetchRsc,head:s.head,prefetchHead:s.prefetchHead,parallelRoutes:new Map(s.parallelRoutes),lazyDataResolved:s.lazyDataResolved,loading:s.loading}:{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map(null==s?void 0:s.parallelRoutes),lazyDataResolved:!1,loading:null},l.set(p,n),e(n,s,f,h||null,a,i),t.parallelRoutes.set(c,l);continue}}if(null!==h){let e=h[2],t=h[3];s={lazyData:null,rsc:e,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:t}}else s={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null};let y=t.parallelRoutes.get(c);y?y.set(p,s):t.parallelRoutes.set(c,new Map([[p,s]])),e(s,void 0,f,h,a,i)}}}});let r=n(50416),o=n(69024);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53464:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleMutable",{enumerable:!0,get:function(){return u}});let r=n(79235);function o(e){return void 0!==e}function u(e,t){var n,u,l;let a=null==(u=t.shouldScroll)||u,i=e.nextUrl;if(o(t.patchedTree)){let n=(0,r.computeChangedPath)(e.tree,t.patchedTree);n?i=n:i||(i=e.canonicalUrl)}return{buildId:e.buildId,canonicalUrl:o(t.canonicalUrl)?t.canonicalUrl===e.canonicalUrl?e.canonicalUrl:t.canonicalUrl:e.canonicalUrl,pushRef:{pendingPush:o(t.pendingPush)?t.pendingPush:e.pushRef.pendingPush,mpaNavigation:o(t.mpaNavigation)?t.mpaNavigation:e.pushRef.mpaNavigation,preserveCustomHistoryState:o(t.preserveCustomHistoryState)?t.preserveCustomHistoryState:e.pushRef.preserveCustomHistoryState},focusAndScrollRef:{apply:!!a&&(!!o(null==t?void 0:t.scrollableSegments)||e.focusAndScrollRef.apply),onlyHashChange:!!t.hashFragment&&e.canonicalUrl.split("#",1)[0]===(null==(n=t.canonicalUrl)?void 0:n.split("#",1)[0]),hashFragment:a?t.hashFragment&&""!==t.hashFragment?decodeURIComponent(t.hashFragment.slice(1)):e.focusAndScrollRef.hashFragment:null,segmentPaths:a?null!=(l=null==t?void 0:t.scrollableSegments)?l:e.focusAndScrollRef.segmentPaths:[]},cache:t.cache?t.cache:e.cache,prefetchCache:t.prefetchCache?t.prefetchCache:e.prefetchCache,tree:o(t.patchedTree)?t.patchedTree:e.tree,nextUrl:i}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSegmentMismatch",{enumerable:!0,get:function(){return o}});let r=n(91615);function o(e,t,n){return(0,r.handleExternalUrl)(e,{},e.canonicalUrl,!0)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},59614:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheBelowFlightSegmentPath",{enumerable:!0,get:function(){return function e(t,n,o){let u=o.length<=2,[l,a]=o,i=(0,r.createRouterCacheKey)(a),c=n.parallelRoutes.get(l);if(!c)return;let s=t.parallelRoutes.get(l);if(s&&s!==c||(s=new Map(c),t.parallelRoutes.set(l,s)),u){s.delete(i);return}let f=c.get(i),d=s.get(i);d&&f&&(d===f&&(d={lazyData:d.lazyData,rsc:d.rsc,prefetchRsc:d.prefetchRsc,head:d.head,prefetchHead:d.prefetchHead,parallelRoutes:new Map(d.parallelRoutes),lazyDataResolved:d.lazyDataResolved},s.set(i,d)),e(d,f,o.slice(2)))}}});let r=n(50416);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12928:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheByRouterState",{enumerable:!0,get:function(){return o}});let r=n(50416);function o(e,t,n){for(let o in n[1]){let u=n[1][o][0],l=(0,r.createRouterCacheKey)(u),a=t.parallelRoutes.get(o);if(a){let t=new Map(a);t.delete(l),e.parallelRoutes.set(o,t)}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},10939:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function e(t,n){let r=t[0],o=n[0];if(Array.isArray(r)&&Array.isArray(o)){if(r[0]!==o[0]||r[2]!==o[2])return!0}else if(r!==o)return!0;if(t[4])return!n[4];if(n[4])return!0;let u=Object.values(t[1])[0],l=Object.values(n[1])[0];return!u||!l||e(u,l)}}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34626:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{abortTask:function(){return c},listenForDynamicRequest:function(){return a},updateCacheNodeOnNavigation:function(){return function e(t,n,a,c,s){let f=n[1],d=a[1],p=c[1],h=t.parallelRoutes,y=new Map(h),_={},v=null;for(let t in d){let n;let a=d[t],c=f[t],b=h.get(t),g=p[t],m=a[0],R=(0,u.createRouterCacheKey)(m),P=void 0!==c?c[0]:void 0,j=void 0!==b?b.get(R):void 0;if(null!==(n=m===r.PAGE_SEGMENT_KEY?l(a,void 0!==g?g:null,s):m===r.DEFAULT_SEGMENT_KEY?void 0!==c?{route:c,node:null,children:null}:l(a,void 0!==g?g:null,s):void 0!==P&&(0,o.matchSegment)(m,P)&&void 0!==j&&void 0!==c?null!=g?e(j,c,a,g,s):function(e){let t=i(e,null,null);return{route:e,node:t,children:null}}(a):l(a,void 0!==g?g:null,s))){null===v&&(v=new Map),v.set(t,n);let e=n.node;if(null!==e){let n=new Map(b);n.set(R,e),y.set(t,n)}_[t]=n.route}else _[t]=a}if(null===v)return null;let b={lazyData:null,rsc:t.rsc,prefetchRsc:t.prefetchRsc,head:t.head,prefetchHead:t.prefetchHead,loading:t.loading,parallelRoutes:y,lazyDataResolved:!1};return{route:function(e,t){let n=[e[0],t];return 2 in e&&(n[2]=e[2]),3 in e&&(n[3]=e[3]),4 in e&&(n[4]=e[4]),n}(a,_),node:b,children:v}}},updateCacheNodeOnPopstateRestoration:function(){return function e(t,n){let r=n[1],o=t.parallelRoutes,l=new Map(o);for(let t in r){let n=r[t],a=n[0],i=(0,u.createRouterCacheKey)(a),c=o.get(t);if(void 0!==c){let r=c.get(i);if(void 0!==r){let o=e(r,n),u=new Map(c);u.set(i,o),l.set(t,u)}}}let a=t.rsc,i=d(a)&&"pending"===a.status;return{lazyData:null,rsc:a,head:t.head,prefetchHead:i?t.prefetchHead:null,prefetchRsc:i?t.prefetchRsc:null,loading:i?t.loading:null,parallelRoutes:l,lazyDataResolved:!1}}}});let r=n(84478),o=n(17127),u=n(50416);function l(e,t,n){let r=i(e,t,n);return{route:e,node:r,children:null}}function a(e,t){t.then(t=>{for(let n of t[0]){let t=n.slice(0,-3),r=n[n.length-3],l=n[n.length-2],a=n[n.length-1];"string"!=typeof t&&function(e,t,n,r,l){let a=e;for(let e=0;e{c(e,t)})}function i(e,t,n){let r=e[1],o=null!==t?t[1]:null,l=new Map;for(let e in r){let t=r[e],a=null!==o?o[e]:null,c=t[0],s=(0,u.createRouterCacheKey)(c),f=i(t,void 0===a?null:a,n),d=new Map;d.set(s,f),l.set(e,d)}let a=0===l.size,c=null!==t?t[2]:null,s=null!==t?t[3]:null;return{lazyData:null,parallelRoutes:l,prefetchRsc:void 0!==c?c:null,prefetchHead:a?n:null,loading:void 0!==s?s:null,rsc:p(),head:a?p():null,lazyDataResolved:!1}}function c(e,t){let n=e.node;if(null===n)return;let r=e.children;if(null===r)s(e.route,n,t);else for(let e of r.values())c(e,t);e.node=null}function s(e,t,n){let r=e[1],o=t.parallelRoutes;for(let e in r){let t=r[e],l=o.get(e);if(void 0===l)continue;let a=t[0],i=(0,u.createRouterCacheKey)(a),c=l.get(i);void 0!==c&&s(t,c,n)}let l=t.rsc;d(l)&&(null===n?l.resolve(null):l.reject(n));let a=t.head;d(a)&&a.resolve(null)}let f=Symbol();function d(e){return e&&e.tag===f}function p(){let e,t;let n=new Promise((n,r)=>{e=n,t=r});return n.status="pending",n.resolve=t=>{"pending"===n.status&&(n.status="fulfilled",n.value=t,e(t))},n.reject=e=>{"pending"===n.status&&(n.status="rejected",n.reason=e,t(e))},n.tag=f,n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50306:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createPrefetchCacheEntryForInitialLoad:function(){return c},getOrCreatePrefetchCacheEntry:function(){return i},prunePrefetchCache:function(){return f}});let r=n(27549),o=n(70326),u=n(69024),l=n(29565);function a(e,t){let n=(0,r.createHrefFromUrl)(e,!1);return t?t+"%"+n:n}function i(e){let t,{url:n,nextUrl:r,tree:o,buildId:l,prefetchCache:i,kind:c}=e,f=a(n,r),d=i.get(f);if(d)t=d;else{let e=a(n),r=i.get(e);r&&(t=r)}return t?(t.status=h(t),t.kind!==u.PrefetchKind.FULL&&c===u.PrefetchKind.FULL)?s({tree:o,url:n,buildId:l,nextUrl:r,prefetchCache:i,kind:null!=c?c:u.PrefetchKind.TEMPORARY}):(c&&t.kind===u.PrefetchKind.TEMPORARY&&(t.kind=c),t):s({tree:o,url:n,buildId:l,nextUrl:r,prefetchCache:i,kind:c||u.PrefetchKind.TEMPORARY})}function c(e){let{nextUrl:t,tree:n,prefetchCache:r,url:o,kind:l,data:i}=e,[,,,c]=i,s=c?a(o,t):a(o),f={treeAtTimeOfPrefetch:n,data:Promise.resolve(i),kind:l,prefetchTime:Date.now(),lastUsedTime:Date.now(),key:s,status:u.PrefetchCacheEntryStatus.fresh};return r.set(s,f),f}function s(e){let{url:t,kind:n,tree:r,nextUrl:i,buildId:c,prefetchCache:s}=e,f=a(t),d=l.prefetchQueue.enqueue(()=>(0,o.fetchServerResponse)(t,r,i,c,n).then(e=>{let[,,,n]=e;return n&&function(e){let{url:t,nextUrl:n,prefetchCache:r}=e,o=a(t),u=r.get(o);if(!u)return;let l=a(t,n);r.set(l,u),r.delete(o)}({url:t,nextUrl:i,prefetchCache:s}),e})),p={treeAtTimeOfPrefetch:r,data:d,kind:n,prefetchTime:Date.now(),lastUsedTime:null,key:f,status:u.PrefetchCacheEntryStatus.fresh};return s.set(f,p),p}function f(e){for(let[t,n]of e)h(n)===u.PrefetchCacheEntryStatus.expired&&e.delete(t)}let d=1e3*Number("30"),p=1e3*Number("300");function h(e){let{kind:t,prefetchTime:n,lastUsedTime:r}=e;return Date.now()<(null!=r?r:n)+d?r?u.PrefetchCacheEntryStatus.reusable:u.PrefetchCacheEntryStatus.fresh:"auto"===t&&Date.now(){let[n,f]=t,h=!1;if(S.lastUsedTime||(S.lastUsedTime=Date.now(),h=!0),"string"==typeof n)return _(e,R,n,O);if(document.getElementById("__next-page-redirect"))return _(e,R,j,O);let b=e.tree,g=e.cache,w=[];for(let t of n){let n=t.slice(0,-4),r=t.slice(-3)[0],c=["",...n],f=(0,u.applyRouterStatePatchToTree)(c,b,r,j);if(null===f&&(f=(0,u.applyRouterStatePatchToTree)(c,E,r,j)),null!==f){if((0,a.isNavigatingToNewRootLayout)(b,f))return _(e,R,j,O);let u=(0,d.createEmptyCacheNode)(),m=!1;for(let e of(S.status!==i.PrefetchCacheEntryStatus.stale||h?m=(0,s.applyFlightData)(g,u,t,S):(m=function(e,t,n,r){let o=!1;for(let u of(e.rsc=t.rsc,e.prefetchRsc=t.prefetchRsc,e.loading=t.loading,e.parallelRoutes=new Map(t.parallelRoutes),v(r).map(e=>[...n,...e])))(0,y.clearCacheNodeDataForSegmentPath)(e,t,u),o=!0;return o}(u,g,n,r),S.lastUsedTime=Date.now()),(0,l.shouldHardNavigate)(c,b)?(u.rsc=g.rsc,u.prefetchRsc=g.prefetchRsc,(0,o.invalidateCacheBelowFlightSegmentPath)(u,g,n),R.cache=u):m&&(R.cache=u,g=u),b=f,v(r))){let t=[...n,...e];t[t.length-1]!==p.DEFAULT_SEGMENT_KEY&&w.push(t)}}}return R.patchedTree=b,R.canonicalUrl=f?(0,r.createHrefFromUrl)(f):j,R.pendingPush=O,R.scrollableSegments=w,R.hashFragment=P,R.shouldScroll=m,(0,c.handleMutable)(e,R)},()=>e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29565:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{prefetchQueue:function(){return l},prefetchReducer:function(){return a}});let r=n(18310),o=n(16076),u=n(50306),l=new o.PromiseQueue(5);function a(e,t){(0,u.prunePrefetchCache)(e.prefetchCache);let{url:n}=t;return n.searchParams.delete(r.NEXT_RSC_UNION_QUERY),(0,u.getOrCreatePrefetchCacheEntry)({url:n,nextUrl:e.nextUrl,prefetchCache:e.prefetchCache,kind:t.kind,tree:e.tree,buildId:e.buildId}),e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},51780:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshReducer",{enumerable:!0,get:function(){return h}});let r=n(70326),o=n(27549),u=n(69078),l=n(10939),a=n(91615),i=n(53464),c=n(73254),s=n(81013),f=n(94586),d=n(99374),p=n(42578);function h(e,t){let{origin:n}=t,h={},y=e.canonicalUrl,_=e.tree;h.preserveCustomHistoryState=!1;let v=(0,s.createEmptyCacheNode)(),b=(0,d.hasInterceptionRouteInCurrentTree)(e.tree);return v.lazyData=(0,r.fetchServerResponse)(new URL(y,n),[_[0],_[1],_[2],"refetch"],b?e.nextUrl:null,e.buildId),v.lazyData.then(async n=>{let[r,s]=n;if("string"==typeof r)return(0,a.handleExternalUrl)(e,h,r,e.pushRef.pendingPush);for(let n of(v.lazyData=null,r)){if(3!==n.length)return console.log("REFRESH FAILED"),e;let[r]=n,i=(0,u.applyRouterStatePatchToTree)([""],_,r,e.canonicalUrl);if(null===i)return(0,f.handleSegmentMismatch)(e,t,r);if((0,l.isNavigatingToNewRootLayout)(_,i))return(0,a.handleExternalUrl)(e,h,y,e.pushRef.pendingPush);let d=s?(0,o.createHrefFromUrl)(s):void 0;s&&(h.canonicalUrl=d);let[g,m]=n.slice(-2);if(null!==g){let e=g[2];v.rsc=e,v.prefetchRsc=null,(0,c.fillLazyItemsTillLeafWithHead)(v,void 0,r,g,m),h.prefetchCache=new Map}await (0,p.refreshInactiveParallelSegments)({state:e,updatedTree:i,updatedCache:v,includeNextUrl:b,canonicalUrl:h.canonicalUrl||e.canonicalUrl}),h.cache=v,h.patchedTree=i,h.canonicalUrl=y,_=i}return(0,i.handleMutable)(e,h)},()=>e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99854:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return u}});let r=n(27549),o=n(79235);function u(e,t){var n;let{url:u,tree:l}=t,a=(0,r.createHrefFromUrl)(u),i=l||e.tree,c=e.cache;return{buildId:e.buildId,canonicalUrl:a,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:c,prefetchCache:e.prefetchCache,tree:i,nextUrl:null!=(n=(0,o.extractPathFromFlightRouterState)(i))?n:u.pathname}}n(34626),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43674:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return g}});let r=n(79775),o=n(18310),u=n(61221),l=n(27549),a=n(91615),i=n(69078),c=n(10939),s=n(53464),f=n(73254),d=n(81013),p=n(99374),h=n(94586),y=n(42578),{createFromFetch:_,encodeReply:v}=n(53150);async function b(e,t,n){let l,{actionId:a,actionArgs:i}=n,c=await v(i),s=await fetch("",{method:"POST",headers:{Accept:o.RSC_CONTENT_TYPE_HEADER,[o.ACTION]:a,[o.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(e.tree)),...t?{[o.NEXT_URL]:t}:{}},body:c}),f=s.headers.get("x-action-redirect");try{let e=JSON.parse(s.headers.get("x-action-revalidated")||"[[],0,0]");l={paths:e[0]||[],tag:!!e[1],cookie:e[2]}}catch(e){l={paths:[],tag:!1,cookie:!1}}let d=f?new URL((0,u.addBasePath)(f),new URL(e.canonicalUrl,window.location.href)):void 0;if(s.headers.get("content-type")===o.RSC_CONTENT_TYPE_HEADER){let e=await _(Promise.resolve(s),{callServer:r.callServer});if(f){let[,t]=null!=e?e:[];return{actionFlightData:t,redirectLocation:d,revalidatedParts:l}}let[t,[,n]]=null!=e?e:[];return{actionResult:t,actionFlightData:n,redirectLocation:d,revalidatedParts:l}}return{redirectLocation:d,revalidatedParts:l}}function g(e,t){let{resolve:n,reject:r}=t,o={},u=e.canonicalUrl,_=e.tree;o.preserveCustomHistoryState=!1;let v=e.nextUrl&&(0,p.hasInterceptionRouteInCurrentTree)(e.tree)?e.nextUrl:null;return o.inFlightServerAction=b(e,v,t),o.inFlightServerAction.then(async r=>{let{actionResult:p,actionFlightData:b,redirectLocation:g}=r;if(g&&(e.pushRef.pendingPush=!0,o.pendingPush=!0),!b)return(n(p),g)?(0,a.handleExternalUrl)(e,o,g.href,e.pushRef.pendingPush):e;if("string"==typeof b)return(0,a.handleExternalUrl)(e,o,b,e.pushRef.pendingPush);if(o.inFlightServerAction=null,g){let e=(0,l.createHrefFromUrl)(g,!1);o.canonicalUrl=e}for(let n of b){if(3!==n.length)return console.log("SERVER ACTION APPLY FAILED"),e;let[r]=n,s=(0,i.applyRouterStatePatchToTree)([""],_,r,g?(0,l.createHrefFromUrl)(g):e.canonicalUrl);if(null===s)return(0,h.handleSegmentMismatch)(e,t,r);if((0,c.isNavigatingToNewRootLayout)(_,s))return(0,a.handleExternalUrl)(e,o,u,e.pushRef.pendingPush);let[p,b]=n.slice(-2),m=null!==p?p[2]:null;if(null!==m){let t=(0,d.createEmptyCacheNode)();t.rsc=m,t.prefetchRsc=null,(0,f.fillLazyItemsTillLeafWithHead)(t,void 0,r,p,b),await (0,y.refreshInactiveParallelSegments)({state:e,updatedTree:s,updatedCache:t,includeNextUrl:!!v,canonicalUrl:o.canonicalUrl||e.canonicalUrl}),o.cache=t,o.prefetchCache=new Map}o.patchedTree=s,_=s}return n(p),(0,s.handleMutable)(e,o)},t=>(r(t),e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},36463:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverPatchReducer",{enumerable:!0,get:function(){return f}});let r=n(27549),o=n(69078),u=n(10939),l=n(91615),a=n(21239),i=n(53464),c=n(81013),s=n(94586);function f(e,t){let{serverResponse:n}=t,[f,d]=n,p={};if(p.preserveCustomHistoryState=!1,"string"==typeof f)return(0,l.handleExternalUrl)(e,p,f,e.pushRef.pendingPush);let h=e.tree,y=e.cache;for(let n of f){let i=n.slice(0,-4),[f]=n.slice(-3,-2),_=(0,o.applyRouterStatePatchToTree)(["",...i],h,f,e.canonicalUrl);if(null===_)return(0,s.handleSegmentMismatch)(e,t,f);if((0,u.isNavigatingToNewRootLayout)(h,_))return(0,l.handleExternalUrl)(e,p,e.canonicalUrl,e.pushRef.pendingPush);let v=d?(0,r.createHrefFromUrl)(d):void 0;v&&(p.canonicalUrl=v);let b=(0,c.createEmptyCacheNode)();(0,a.applyFlightData)(y,b,n),p.patchedTree=_,p.cache=b,y=b,h=_}return(0,i.handleMutable)(e,p)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42578:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{addRefreshMarkerToActiveParallelSegments:function(){return function e(t,n){let[r,o,,l]=t;for(let a in r.includes(u.PAGE_SEGMENT_KEY)&&"refresh"!==l&&(t[2]=n,t[3]="refresh"),o)e(o[a],n)}},refreshInactiveParallelSegments:function(){return l}});let r=n(21239),o=n(70326),u=n(84478);async function l(e){let t=new Set;await a({...e,rootTree:e.updatedTree,fetchedSegments:t})}async function a(e){let{state:t,updatedTree:n,updatedCache:u,includeNextUrl:l,fetchedSegments:i,rootTree:c=n,canonicalUrl:s}=e,[,f,d,p]=n,h=[];if(d&&d!==s&&"refresh"===p&&!i.has(d)){i.add(d);let e=(0,o.fetchServerResponse)(new URL(d,location.origin),[c[0],c[1],c[2],"refetch"],l?t.nextUrl:null,t.buildId).then(e=>{let t=e[0];if("string"!=typeof t)for(let e of t)(0,r.applyFlightData)(u,u,e)});h.push(e)}for(let e in f){let n=a({state:t,updatedTree:f[e],updatedCache:u,includeNextUrl:l,fetchedSegments:i,rootTree:c,canonicalUrl:s});h.push(n)}await Promise.all(h)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69024:function(e,t){"use strict";var n,r,o,u;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return f},ACTION_NAVIGATE:function(){return a},ACTION_PREFETCH:function(){return s},ACTION_REFRESH:function(){return l},ACTION_RESTORE:function(){return i},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return c},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let l="refresh",a="navigate",i="restore",c="server-patch",s="prefetch",f="fast-refresh",d="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=n||(n={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(u=r||(r={})).fresh="fresh",u.reusable="reusable",u.expired="expired",u.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62704:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return f}});let r=n(69024),o=n(91615),u=n(36463),l=n(99854),a=n(51780),i=n(29565),c=n(50449),s=n(43674),f="undefined"==typeof window?function(e,t){return e}:function(e,t){switch(t.type){case r.ACTION_NAVIGATE:return(0,o.navigateReducer)(e,t);case r.ACTION_SERVER_PATCH:return(0,u.serverPatchReducer)(e,t);case r.ACTION_RESTORE:return(0,l.restoreReducer)(e,t);case r.ACTION_REFRESH:return(0,a.refreshReducer)(e,t);case r.ACTION_FAST_REFRESH:return(0,c.fastRefreshReducer)(e,t);case r.ACTION_PREFETCH:return(0,i.prefetchReducer)(e,t);case r.ACTION_SERVER_ACTION:return(0,s.serverActionReducer)(e,t);default:throw Error("Unknown action")}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},89315:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldHardNavigate",{enumerable:!0,get:function(){return function e(t,n){let[o,u]=n,[l,a]=t;return(0,r.matchSegment)(l,o)?!(t.length<=2)&&e(t.slice(2),u[a]):!!Array.isArray(l)}}});let r=n(17127);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81802:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createDynamicallyTrackedSearchParams:function(){return a},createUntrackedSearchParams:function(){return l}});let r=n(5733),o=n(24703),u=n(98250);function l(e){let t=r.staticGenerationAsyncStorage.getStore();return t&&t.forceStatic?{}:e}function a(e){let t=r.staticGenerationAsyncStorage.getStore();return t?t.forceStatic?{}:t.isStaticGeneration||t.dynamicShouldError?new Proxy({},{get:(e,n,r)=>("string"==typeof n&&(0,o.trackDynamicDataAccessed)(t,"searchParams."+n),u.ReflectAdapter.get(e,n,r)),has:(e,n)=>("string"==typeof n&&(0,o.trackDynamicDataAccessed)(t,"searchParams."+n),Reflect.has(e,n)),ownKeys:e=>((0,o.trackDynamicDataAccessed)(t,"searchParams"),Reflect.ownKeys(e))}):e:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5733:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return r.staticGenerationAsyncStorage}});let r=n(8136);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63107:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{StaticGenBailoutError:function(){return r},isStaticGenBailoutError:function(){return o}});let n="NEXT_STATIC_GEN_BAILOUT";class r extends Error{constructor(...e){super(...e),this.code=n}}function o(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12896:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unresolvedThenable",{enumerable:!0,get:function(){return n}});let n={then:()=>{}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40500:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{useReducerWithReduxDevtools:function(){return i},useUnwrapState:function(){return a}});let r=n(59994)._(n(64149)),o=n(69024),u=n(65470);function l(e){if(e instanceof Map){let t={};for(let[n,r]of e.entries()){if("function"==typeof r){t[n]="fn()";continue}if("object"==typeof r&&null!==r){if(r.$$typeof){t[n]=r.$$typeof.toString();continue}if(r._bundlerConfig){t[n]="FlightData";continue}}t[n]=l(r)}return t}if("object"==typeof e&&null!==e){let t={};for(let n in e){let r=e[n];if("function"==typeof r){t[n]="fn()";continue}if("object"==typeof r&&null!==r){if(r.$$typeof){t[n]=r.$$typeof.toString();continue}if(r.hasOwnProperty("_bundlerConfig")){t[n]="FlightData";continue}}t[n]=l(r)}return t}return Array.isArray(e)?e.map(l):e}function a(e){return(0,o.isThenable)(e)?(0,r.use)(e):e}let i="undefined"!=typeof window?function(e){let[t,n]=r.default.useState(e),o=(0,r.useContext)(u.ActionQueueContext);if(!o)throw Error("Invariant: Missing ActionQueueContext");let a=(0,r.useRef)(),i=(0,r.useRef)();return(0,r.useEffect)(()=>{if(!a.current&&!1!==i.current){if(void 0===i.current&&void 0===window.__REDUX_DEVTOOLS_EXTENSION__){i.current=!1;return}return a.current=window.__REDUX_DEVTOOLS_EXTENSION__.connect({instanceId:8e3,name:"next-router"}),a.current&&(a.current.init(l(e)),o&&(o.devToolsInstance=a.current)),()=>{a.current=void 0}}},[e,o]),[t,(0,r.useCallback)(t=>{o.state||(o.state=e),o.dispatch(t,n)},[o,e]),(0,r.useCallback)(e=>{a.current&&a.current.send({type:"RENDER_SYNC"},l(e))},[])]}:function(e){return[e,()=>{},()=>{}]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15282:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let r=n(52097);function o(e){return(0,r.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12168:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return u}});let r=n(15466),o=n(52363),u=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:n,hash:u}=(0,o.parsePath)(e);return/\.[^/]+\/?$/.test(t)?""+(0,r.removeTrailingSlash)(t)+n+u:t.endsWith("/")?""+t+n+u:t+"/"+n+u};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96300:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(90351);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,r.isBailoutToCSRError)(e)||t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},33854:function(e,t,n){"use strict";function r(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return r}}),n(15282),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80227:function(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0>>1,o=e[r];if(0>>1;ru(i,n))cu(s,i)?(e[r]=s,e[c]=n,r=c):(e[r]=i,e[a]=n,r=a);else if(cu(s,n))e[r]=s,e[c]=n,r=c;else break}}return t}function u(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var l,a=performance;t.unstable_now=function(){return a.now()}}else{var i=Date,c=i.now();t.unstable_now=function(){return i.now()-c}}var s=[],f=[],d=1,p=null,h=3,y=!1,_=!1,v=!1,b="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,m="undefined"!=typeof setImmediate?setImmediate:null;function R(e){for(var t=r(f);null!==t;){if(null===t.callback)o(f);else if(t.startTime<=e)o(f),t.sortIndex=t.expirationTime,n(s,t);else break;t=r(f)}}function P(e){if(v=!1,R(e),!_){if(null!==r(s))_=!0,C();else{var t=r(f);null!==t&&A(P,t.startTime-e)}}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var j=!1,O=-1,S=5,E=-1;function w(){return!(t.unstable_now()-Ee&&w());){var a=p.callback;if("function"==typeof a){p.callback=null,h=p.priorityLevel;var i=a(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof i){p.callback=i,R(e),n=!0;break t}p===r(s)&&o(s),R(e)}else o(s);p=r(s)}if(null!==p)n=!0;else{var c=r(f);null!==c&&A(P,c.startTime-e),n=!1}}break e}finally{p=null,h=u,y=!1}n=void 0}}finally{n?l():j=!1}}}if("function"==typeof m)l=function(){m(T)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,x=M.port2;M.port1.onmessage=T,l=function(){x.postMessage(null)}}else l=function(){b(T,0)};function C(){j||(j=!0,l())}function A(e,n){O=b(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){_||y||(_=!0,C())},t.unstable_forceFrameRate=function(e){0>e||125l?(e.sortIndex=u,n(f,e),null===r(s)&&e===r(f)&&(v?(g(O),O=-1):v=!0,A(P,u-l))):(e.sortIndex=a,n(s,e),_||y||(_=!0,C())),e},t.unstable_shouldYield=w,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},29553:function(e,t,n){"use strict";e.exports=n(80227)},98651:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getPathname:function(){return r},isFullStringUrl:function(){return o},parseUrl:function(){return u}});let n="http://n";function r(e){return new URL(e,n).pathname}function o(e){return/https?:\/\//.test(e)}function u(e){let t;try{t=new URL(e,n)}catch{}return t}},24703:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Postpone:function(){return d},createPostponedAbortSignal:function(){return b},createPrerenderState:function(){return c},formatDynamicAPIAccesses:function(){return _},markCurrentScopeAsDynamic:function(){return s},trackDynamicDataAccessed:function(){return f},trackDynamicFetch:function(){return p},usedDynamicAPIs:function(){return y}});let o=(r=n(64149))&&r.__esModule?r:{default:r},u=n(24278),l=n(63107),a=n(98651),i="function"==typeof o.default.unstable_postpone;function c(e){return{isDebugSkeleton:e,dynamicAccesses:[]}}function s(e,t){let n=(0,a.getPathname)(e.urlPathname);if(!e.isUnstableCacheCallback){if(e.dynamicShouldError)throw new l.StaticGenBailoutError(`Route ${n} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(e.prerenderState)h(e.prerenderState,t,n);else if(e.revalidate=0,e.isStaticGeneration){let r=new u.DynamicServerError(`Route ${n} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=t,e.dynamicUsageStack=r.stack,r}}}function f(e,t){let n=(0,a.getPathname)(e.urlPathname);if(e.isUnstableCacheCallback)throw Error(`Route ${n} used "${t}" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "${t}" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`);if(e.dynamicShouldError)throw new l.StaticGenBailoutError(`Route ${n} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(e.prerenderState)h(e.prerenderState,t,n);else if(e.revalidate=0,e.isStaticGeneration){let r=new u.DynamicServerError(`Route ${n} couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=t,e.dynamicUsageStack=r.stack,r}}function d({reason:e,prerenderState:t,pathname:n}){h(t,e,n)}function p(e,t){e.prerenderState&&h(e.prerenderState,t,e.urlPathname)}function h(e,t,n){v();let r=`Route ${n} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;e.dynamicAccesses.push({stack:e.isDebugSkeleton?Error().stack:void 0,expression:t}),o.default.unstable_postpone(r)}function y(e){return e.dynamicAccesses.length>0}function _(e){return e.dynamicAccesses.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}:
+${t}`))}function v(){if(!i)throw Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js")}function b(e){v();let t=new AbortController;try{o.default.unstable_postpone(e)}catch(e){t.abort(e)}return t.signal}},37828:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentParam",{enumerable:!0,get:function(){return o}});let r=n(51693);function o(e){let t=r.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{type:"optional-catchall",param:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{type:t?"catchall-intercepted":"catchall",param:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{type:t?"dynamic-intercepted":"dynamic",param:e.slice(1,-1)}:null}},70902:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HMR_ACTIONS_SENT_TO_BROWSER",{enumerable:!0,get:function(){return n}}),(r=n||(n={})).ADDED_PAGE="addedPage",r.REMOVED_PAGE="removedPage",r.RELOAD_PAGE="reloadPage",r.SERVER_COMPONENT_CHANGES="serverComponentChanges",r.MIDDLEWARE_CHANGES="middlewareChanges",r.CLIENT_CHANGES="clientChanges",r.SERVER_ONLY_CHANGES="serverOnlyChanges",r.SYNC="sync",r.BUILT="built",r.BUILDING="building",r.DEV_PAGES_MANIFEST_UPDATE="devPagesManifestUpdate",r.TURBOPACK_MESSAGE="turbopack-message",r.SERVER_ERROR="serverError",r.TURBOPACK_CONNECTED="turbopack-connected"},51693:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return l},isInterceptionRouteAppPath:function(){return u}});let r=n(66322),o=["(..)(..)","(.)","(..)","(...)"];function u(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function l(e){let t,n,u;for(let r of e.split("/"))if(n=o.find(e=>r.startsWith(e))){[t,u]=e.split(n,2);break}if(!t||!n||!u)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,r.normalizeAppPath)(t),n){case"(.)":u="/"===t?`/${u}`:t+"/"+u;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);u=t.split("/").slice(0,-1).concat(u).join("/");break;case"(...)":u="/"+u;break;case"(..)(..)":let l=t.split("/");if(l.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);u=l.slice(0,-2).concat(u).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:u}}},98250:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return n}});class n{static get(e,t,n){let r=Reflect.get(e,t,n);return"function"==typeof r?r.bind(e):r}static set(e,t,n,r){return Reflect.set(e,t,n,r)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},51223:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return l},LayoutRouterContext:function(){return u},MissingSlotContext:function(){return i},TemplateContext:function(){return a}});let r=n(88806)._(n(64149)),o=r.default.createContext(null),u=r.default.createContext(null),l=r.default.createContext(null),a=r.default.createContext(null),i=r.default.createContext(new Set)},22132:function(e,t){"use strict";function n(e){let t=5381;for(let n=0;n>>0}function r(e){return n(e).toString(36).slice(0,5)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{djb2Hash:function(){return n},hexHash:function(){return r}})},61373:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return r}});let r=n(88806)._(n(64149)).default.createContext({})},84985:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PathParamsContext:function(){return l},PathnameContext:function(){return u},SearchParamsContext:function(){return o}});let r=n(64149),o=(0,r.createContext)(null),u=(0,r.createContext)(null),l=(0,r.createContext)(null)},90351:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{BailoutToCSRError:function(){return r},isBailoutToCSRError:function(){return o}});let n="BAILOUT_TO_CLIENT_SIDE_RENDERING";class r extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=n}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}},88584:function(e,t){"use strict";function n(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},65470:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ActionQueueContext:function(){return a},createMutableActionQueue:function(){return s}});let r=n(59994),o=n(69024),u=n(62704),l=r._(n(64149)),a=l.default.createContext(null);function i(e,t){null!==e.pending&&(e.pending=e.pending.next,null!==e.pending?c({actionQueue:e,action:e.pending,setState:t}):e.needsRefresh&&(e.needsRefresh=!1,e.dispatch({type:o.ACTION_REFRESH,origin:window.location.origin},t)))}async function c(e){let{actionQueue:t,action:n,setState:r}=e,u=t.state;if(!u)throw Error("Invariant: Router state not initialized");t.pending=n;let l=n.payload,a=t.action(u,l);function c(e){n.discarded||(t.state=e,t.devToolsInstance&&t.devToolsInstance.send(l,e),i(t,r),n.resolve(e))}(0,o.isThenable)(a)?a.then(c,e=>{i(t,r),n.reject(e)}):c(a)}function s(){let e={state:null,dispatch:(t,n)=>(function(e,t,n){let r={resolve:n,reject:()=>{}};if(t.type!==o.ACTION_RESTORE){let e=new Promise((e,t)=>{r={resolve:e,reject:t}});(0,l.startTransition)(()=>{n(e)})}let u={payload:t,next:null,resolve:r.resolve,reject:r.reject};null===e.pending?(e.last=u,c({actionQueue:e,action:u,setState:n})):t.type===o.ACTION_NAVIGATE||t.type===o.ACTION_RESTORE?(e.pending.discarded=!0,e.last=u,e.pending.payload.type===o.ACTION_SERVER_ACTION&&(e.needsRefresh=!0),c({actionQueue:e,action:u,setState:n})):(null!==e.last&&(e.last.next=u),e.last=u)})(e,t,n),action:async(e,t)=>{if(null===e)throw Error("Invariant: Router state not initialized");return(0,u.reducer)(e,t)},pending:null,last:null};return e}},29068:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let r=n(52363);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:n,query:o,hash:u}=(0,r.parsePath)(e);return""+t+n+o+u}},66322:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{normalizeAppPath:function(){return u},normalizeRscURL:function(){return l}});let r=n(88584),o=n(84478);function u(e){return(0,r.ensureLeadingSlash)(e.split("/").reduce((e,t,n,r)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&n===r.length-1?e:e+"/"+t,""))}function l(e){return e.replace(/\.rsc($|\?)/,"$1")}},66270:function(e,t){"use strict";function n(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let n=document.documentElement,r=n.style.scrollBehavior;n.style.scrollBehavior="auto",t.dontForceLayout||n.getClientRects(),e(),n.style.scrollBehavior=r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return n}})},85202:function(e,t){"use strict";function n(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return n}})},52363:function(e,t){"use strict";function n(e){let t=e.indexOf("#"),n=e.indexOf("?"),r=n>-1&&(t<0||n-1?{pathname:e.substring(0,r?n:t),query:r?e.substring(n,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return n}})},52097:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let r=n(52363);function o(e,t){if("string"!=typeof e)return!1;let{pathname:n}=(0,r.parsePath)(e);return n===t||n.startsWith(t+"/")}},15466:function(e,t){"use strict";function n(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},84478:function(e,t){"use strict";function n(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DEFAULT_SEGMENT_KEY:function(){return o},PAGE_SEGMENT_KEY:function(){return r},isGroupSegment:function(){return n}});let r="__PAGE__",o="__DEFAULT__"},60773:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return u}});let r=n(59994)._(n(64149)),o=r.default.createContext(null);function u(e){let t=(0,r.useContext)(o);t&&t(e)}},12303:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},96223:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(8164).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8164:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return u}});let n=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}}let o=globalThis.AsyncLocalStorage;function u(){return o?new o:new r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},72453:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(8164).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8136:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(8164).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55826:function(e,t,n){"use strict";var r=n(50149);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},50149:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(23727)},87224:function(e,t,n){"use strict";var r=n(50149),o={stream:!0},u=new Map;function l(e){var t=n(e);return"function"!=typeof t.then||"fulfilled"===t.status?null:(t.then(function(e){t.status="fulfilled",t.value=e},function(e){t.status="rejected",t.reason=e}),t)}function a(){}var i=new Map,c=n.u;n.u=function(e){var t=i.get(e);return void 0!==t?t:c(e)};var s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,f=Symbol.for("react.element"),d=Symbol.for("react.lazy"),p=Symbol.iterator,h=Array.isArray,y=Object.getPrototypeOf,_=Object.prototype,v=new WeakMap;function b(e,t,n,r){this.status=e,this.value=t,this.reason=n,this._response=r}function g(e){switch(e.status){case"resolved_model":E(e);break;case"resolved_module":w(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":case"cyclic":throw e;default:throw e.reason}}function m(e,t){for(var n=0;nh?(_=h,h=3,p++):(_=0,h=3);continue;case 2:44===(m=d[p++])?h=4:v=v<<4|(96d.length&&(m=-1)}var O=d.byteOffset+p;if(-1{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(t,o){let l=r.createContext(o),a=n.length;function f(t){let{scope:n,children:o,...f}=t,u=n?.[e][a]||l,c=r.useMemo(()=>f,Object.values(f));return(0,i.jsx)(u.Provider,{value:c,children:o})}return n=[...n,o],f.displayName=t+"Provider",[f,function(n,i){let f=i?.[e][a]||l,u=r.useContext(f);if(u)return u;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(o,...t)]}},95420:function(e,t,n){n.d(t,{ee:function(){return eG},Eh:function(){return eK},VY:function(){return eJ},fC:function(){return eq},D7:function(){return ek}});var r=n(64149);let i=["top","right","bottom","left"],o=Math.min,l=Math.max,a=Math.round,f=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}function y(e){return["top","bottom"].includes(p(e))?"y":"x"}function v(e){return e.replace(/start|end/g,e=>s[e])}function w(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function x(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function b(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function A(e,t,n){let r,{reference:i,floating:o}=e,l=y(t),a=m(y(t)),f=g(a),u=p(t),c="y"===l,s=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,v=i[f]/2-o[f]/2;switch(u){case"top":r={x:s,y:i.y-o.height};break;case"bottom":r={x:s,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:d};break;case"left":r={x:i.x-o.width,y:d};break;default:r={x:i.x,y:i.y}}switch(h(t)){case"start":r[a]-=v*(n&&c?-1:1);break;case"end":r[a]+=v*(n&&c?-1:1)}return r}let R=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),f=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:s}=A(u,r,f),d=r,p={},h=0;for(let n=0;ne[t]>=0)}async function T(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),a=h(n),f="y"===y(n),u=["left","top"].includes(l)?-1:1,c=o&&f?-1:1,s=d(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:v}="number"==typeof s?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis};return a&&"number"==typeof v&&(g="end"===a?-1*v:v),f?{x:g*c,y:m*u}:{x:m*u,y:g*c}}function C(){return"undefined"!=typeof window}function O(e){return H(e)?(e.nodeName||"").toLowerCase():"#document"}function P(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function k(e){var t;return null==(t=(H(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function H(e){return!!C()&&(e instanceof Node||e instanceof P(e).Node)}function D(e){return!!C()&&(e instanceof Element||e instanceof P(e).Element)}function N(e){return!!C()&&(e instanceof HTMLElement||e instanceof P(e).HTMLElement)}function W(e){return!!C()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof P(e).ShadowRoot)}function j(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=_(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function M(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function F(e){let t=V(),n=D(e)?_(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function V(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function z(e){return["html","body","#document"].includes(O(e))}function _(e){return P(e).getComputedStyle(e)}function B(e){return D(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function $(e){if("html"===O(e))return e;let t=e.assignedSlot||e.parentNode||W(e)&&e.host||k(e);return W(t)?t.host:t}function Y(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=$(t);return z(n)?t.ownerDocument?t.ownerDocument.body:t.body:N(n)&&j(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=P(i);if(o){let e=I(l);return t.concat(l,l.visualViewport||[],j(i)?i:[],e&&n?Y(e):[])}return t.concat(i,Y(i,[],n))}function I(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function X(e){let t=_(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=N(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,f=a(n)!==o||a(r)!==l;return f&&(n=o,r=l),{width:n,height:r,$:f}}function q(e){return D(e)?e:e.contextElement}function G(e){let t=q(e);if(!N(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=X(t),l=(o?a(n.width):n.width)/r,f=(o?a(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),f&&Number.isFinite(f)||(f=1),{x:l,y:f}}let J=u(0);function K(e){let t=P(e);return V()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:J}function Q(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=q(e),a=u(1);t&&(r?D(r)&&(a=G(r)):a=G(e));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===P(l))&&i)?K(l):u(0),c=(o.left+f.x)/a.x,s=(o.top+f.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=P(l),t=r&&D(r)?P(r):r,n=e,i=I(n);for(;i&&r&&t!==n;){let e=G(i),t=i.getBoundingClientRect(),r=_(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,s*=e.y,d*=e.x,p*=e.y,c+=o,s+=l,i=I(n=P(i))}}return b({width:d,height:p,x:c,y:s})}function U(e,t){let n=B(e).scrollLeft;return t?t.left+n:Q(k(e)).left+n}function Z(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=P(e),r=k(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,f=0;if(i){o=i.width,l=i.height;let e=V();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,f=i.offsetTop)}return{width:o,height:l,x:a,y:f}}(e,n);else if("document"===t)r=function(e){let t=k(e),n=B(e),r=e.ownerDocument.body,i=l(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=l(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+U(e),f=-n.scrollTop;return"rtl"===_(r).direction&&(a+=l(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:f}}(k(e));else if(D(t))r=function(e,t){let n=Q(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=N(e)?G(e):u(1),l=e.clientWidth*o.x;return{width:l,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{let n=K(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return b(r)}function ee(e){return"static"===_(e).position}function et(e,t){if(!N(e)||"fixed"===_(e).position)return null;if(t)return t(e);let n=e.offsetParent;return k(e)===n&&(n=n.ownerDocument.body),n}function en(e,t){let n=P(e);if(M(e))return n;if(!N(e)){let t=$(e);for(;t&&!z(t);){if(D(t)&&!ee(t))return t;t=$(t)}return n}let r=et(e,t);for(;r&&["table","td","th"].includes(O(r))&&ee(r);)r=et(r,t);return r&&z(r)&&ee(r)&&!F(r)?n:r||function(e){let t=$(e);for(;N(t)&&!z(t);){if(F(t))return t;if(M(t))break;t=$(t)}return null}(e)||n}let er=async function(e){let t=this.getOffsetParent||en,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=N(t),i=k(t),o="fixed"===n,l=Q(e,!0,o,t),a={scrollLeft:0,scrollTop:0},f=u(0);if(r||!r&&!o){if(("body"!==O(t)||j(i))&&(a=B(t)),r){let e=Q(t,!0,o,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else i&&(f.x=U(i))}let c=0,s=0;if(i&&!r&&!o){let e=i.getBoundingClientRect();s=e.top+a.scrollTop,c=e.left+a.scrollLeft-U(i,e)}return{x:l.left+a.scrollLeft-f.x-c,y:l.top+a.scrollTop-f.y-s,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ei={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=k(r),a=!!t&&M(t.floating);if(r===l||a&&o)return n;let f={scrollLeft:0,scrollTop:0},c=u(1),s=u(0),d=N(r);if((d||!d&&!o)&&(("body"!==O(r)||j(l))&&(f=B(r)),N(r))){let e=Q(r);c=G(r),s.x=e.x+r.clientLeft,s.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+s.x,y:n.y*c.y-f.scrollTop*c.y+s.y}},getDocumentElement:k,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[..."clippingAncestors"===n?M(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Y(e,[],!1).filter(e=>D(e)&&"body"!==O(e)),i=null,o="fixed"===_(e).position,l=o?$(e):e;for(;D(l)&&!z(l);){let t=_(l),n=F(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||j(l)&&!n&&function e(t,n){let r=$(t);return!(r===n||!D(r)||z(r))&&("fixed"===_(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=$(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],f=a[0],u=a.reduce((e,n)=>{let r=Z(t,n,i);return e.top=l(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=l(r.left,e.left),e},Z(t,f,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:en,getElementRects:er,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=X(e);return{width:t,height:n}},getScale:G,isElement:D,isRTL:function(e){return"rtl"===_(e).direction}},eo=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:f,elements:u,middlewareData:c}=t,{element:s,padding:p=0}=d(e,t)||{};if(null==s)return{};let v=x(p),w={x:n,y:r},b=m(y(i)),A=g(b),R=await f.getDimensions(s),E="y"===b,L=E?"clientHeight":"clientWidth",S=a.reference[A]+a.reference[b]-w[b]-a.floating[A],T=w[b]-a.reference[b],C=await (null==f.getOffsetParent?void 0:f.getOffsetParent(s)),O=C?C[L]:0;O&&await (null==f.isElement?void 0:f.isElement(C))||(O=u.floating[L]||a.floating[A]);let P=O/2-R[A]/2-1,k=o(v[E?"top":"left"],P),H=o(v[E?"bottom":"right"],P),D=O-R[A]-H,N=O/2-R[A]/2+(S/2-T/2),W=l(k,o(N,D)),j=!c.arrow&&null!=h(i)&&N!==W&&a.reference[A]/2-(N{let r=new Map,i={platform:ei,...n},o={...i.platform,_c:r};return R(e,t,{...i,platform:o})};var ea=n(50149),ef="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function eu(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eu(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!eu(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ec(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function es(e,t){let n=ec(e);return Math.round(t*n)/n}function ed(e){let t=r.useRef(e);return ef(()=>{t.current=e}),t}let ep=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?eo({element:n.current,padding:r}).fn(t):{}:n?eo({element:n,padding:r}).fn(t):{}}}),eh=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:i,y:o,placement:l,middlewareData:a}=e,f=await T(e,n);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+f.x,y:o+f.y,data:{...f,placement:l}}}}),options:[e,t]}},em=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:i}=e,{mainAxis:a=!0,crossAxis:f=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=d(n,e),s={x:t,y:r},h=await E(e,c),g=y(p(i)),v=m(g),w=s[v],x=s[g];if(a){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=w+h[e],r=w-h[t];w=l(n,o(w,r))}if(f){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=x+h[e],r=x-h[t];x=l(n,o(x,r))}let b=u.fn({...e,[v]:w,[g]:x});return{...b,data:{x:b.x-t,y:b.y-r,enabled:{[v]:a,[g]:f}}}}}),options:[e,t]}},eg=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:i,rects:o,middlewareData:l}=e,{offset:a=0,mainAxis:f=!0,crossAxis:u=!0}=d(n,e),c={x:t,y:r},s=y(i),h=m(s),g=c[h],v=c[s],w=d(a,e),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(f){let e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+x.mainAxis,n=o.reference[h]+o.reference[e]-x.mainAxis;gn&&(g=n)}if(u){var b,A;let e="y"===h?"width":"height",t=["top","left"].includes(p(i)),n=o.reference[s]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[s])||0)+(t?0:x.crossAxis),r=o.reference[s]+o.reference[e]+(t?0:(null==(A=l.offset)?void 0:A[s])||0)-(t?x.crossAxis:0);vr&&(v=r)}return{[h]:g,[s]:v}}}),options:[e,t]}},ey=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,i,o,l;let{placement:a,middlewareData:f,rects:u,initialPlacement:c,platform:s,elements:x}=e,{mainAxis:b=!0,crossAxis:A=!0,fallbackPlacements:R,fallbackStrategy:L="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:T=!0,...C}=d(n,e);if(null!=(t=f.arrow)&&t.alignmentOffset)return{};let O=p(a),P=y(c),k=p(c)===c,H=await (null==s.isRTL?void 0:s.isRTL(x.floating)),D=R||(k||!T?[w(c)]:function(e){let t=w(e);return[v(e),t,v(t)]}(c)),N="none"!==S;!R&&N&&D.push(...function(e,t,n,r){let i=h(e),o=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(p(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(v)))),o}(c,T,S,H));let W=[c,...D],j=await E(e,C),M=[],F=(null==(r=f.flip)?void 0:r.overflows)||[];if(b&&M.push(j[O]),A){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),i=m(y(e)),o=g(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=w(l)),[l,w(l)]}(a,u,H);M.push(j[e[0]],j[e[1]])}if(F=[...F,{placement:a,overflows:M}],!M.every(e=>e<=0)){let e=((null==(i=f.flip)?void 0:i.index)||0)+1,t=W[e];if(t)return{data:{index:e,overflows:F},reset:{placement:t}};let n=null==(o=F.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(L){case"bestFit":{let e=null==(l=F.filter(e=>{if(N){let t=y(e.placement);return t===P||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},ev=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,r;let i,a;let{placement:f,rects:u,platform:c,elements:s}=e,{apply:m=()=>{},...g}=d(n,e),v=await E(e,g),w=p(f),x=h(f),b="y"===y(f),{width:A,height:R}=u.floating;"top"===w||"bottom"===w?(i=w,a=x===(await (null==c.isRTL?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(a=w,i="end"===x?"top":"bottom");let L=R-v.top-v.bottom,S=A-v.left-v.right,T=o(R-v[i],L),C=o(A-v[a],S),O=!e.middlewareData.shift,P=T,k=C;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(k=S),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(P=L),O&&!x){let e=l(v.left,0),t=l(v.right,0),n=l(v.top,0),r=l(v.bottom,0);b?k=A-2*(0!==e||0!==t?e+t:l(v.left,v.right)):P=R-2*(0!==n||0!==r?n+r:l(v.top,v.bottom))}await m({...e,availableWidth:k,availableHeight:P});let H=await c.getDimensions(s.floating);return A!==H.width||R!==H.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},ew=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...i}=d(n,e);switch(r){case"referenceHidden":{let n=L(await E(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:S(n)}}}case"escaped":{let n=L(await E(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:S(n)}}}default:return{}}}}),options:[e,t]}},ex=(e,t)=>({...ep(e),options:[e,t]});var eb=n(79442),eA=n(20881),eR=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eA.jsx)(eb.WV.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eA.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eR.displayName="Arrow";var eE=n(83954),eL=n(245),eS=n(2441),eT=n(61013),eC=n(73452),eO="Popper",[eP,ek]=(0,eL.b)(eO),[eH,eD]=eP(eO),eN=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,eA.jsx)(eH,{scope:t,anchor:i,onAnchorChange:o,children:n})};eN.displayName=eO;var eW="PopperAnchor",ej=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...o}=e,l=eD(eW,n),a=r.useRef(null),f=(0,eE.e)(t,a);return r.useEffect(()=>{l.onAnchorChange((null==i?void 0:i.current)||a.current)}),i?null:(0,eA.jsx)(eb.WV.div,{...o,ref:f})});ej.displayName=eW;var eM="PopperContent",[eF,eV]=eP(eM),ez=r.forwardRef((e,t)=>{var n,i,a,u,c,s,d,p;let{__scopePopper:h,side:m="bottom",sideOffset:g=0,align:y="center",alignOffset:v=0,arrowPadding:w=0,avoidCollisions:x=!0,collisionBoundary:b=[],collisionPadding:A=0,sticky:R="partial",hideWhenDetached:E=!1,updatePositionStrategy:L="optimized",onPlaced:S,...T}=e,C=eD(eM,h),[O,P]=r.useState(null),H=(0,eE.e)(t,e=>P(e)),[D,N]=r.useState(null),W=(0,eC.t)(D),j=null!==(d=null==W?void 0:W.width)&&void 0!==d?d:0,M=null!==(p=null==W?void 0:W.height)&&void 0!==p?p:0,F="number"==typeof A?A:{top:0,right:0,bottom:0,left:0,...A},V=Array.isArray(b)?b:[b],z=V.length>0,_={padding:F,boundary:V.filter(eY),altBoundary:z},{refs:B,floatingStyles:$,placement:I,isPositioned:X,middlewareData:G}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:f=!0,whileElementsMounted:u,open:c}=e,[s,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(i);eu(p,i)||h(i);let[m,g]=r.useState(null),[y,v]=r.useState(null),w=r.useCallback(e=>{e!==R.current&&(R.current=e,g(e))},[]),x=r.useCallback(e=>{e!==E.current&&(E.current=e,v(e))},[]),b=l||m,A=a||y,R=r.useRef(null),E=r.useRef(null),L=r.useRef(s),S=null!=u,T=ed(u),C=ed(o),O=ed(c),P=r.useCallback(()=>{if(!R.current||!E.current)return;let e={placement:t,strategy:n,middleware:p};C.current&&(e.platform=C.current),el(R.current,E.current,e).then(e=>{let t={...e,isPositioned:!1!==O.current};k.current&&!eu(L.current,t)&&(L.current=t,ea.flushSync(()=>{d(t)}))})},[p,t,n,C,O]);ef(()=>{!1===c&&L.current.isPositioned&&(L.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let k=r.useRef(!1);ef(()=>(k.current=!0,()=>{k.current=!1}),[]),ef(()=>{if(b&&(R.current=b),A&&(E.current=A),b&&A){if(T.current)return T.current(b,A,P);P()}},[b,A,P,T,S]);let H=r.useMemo(()=>({reference:R,floating:E,setReference:w,setFloating:x}),[w,x]),D=r.useMemo(()=>({reference:b,floating:A}),[b,A]),N=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=es(D.floating,s.x),r=es(D.floating,s.y);return f?{...e,transform:"translate("+t+"px, "+r+"px)",...ec(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,f,D.floating,s.x,s.y]);return r.useMemo(()=>({...s,update:P,refs:H,elements:D,floatingStyles:N}),[s,P,H,D,N])}({strategy:"fixed",placement:m+("center"!==y?"-"+y:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n{a&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=p&&s?function(e,t){let n,r=null,i=k(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(c,s){void 0===c&&(c=!1),void 0===s&&(s=1),a();let{left:d,top:p,width:h,height:m}=e.getBoundingClientRect();if(c||t(),!h||!m)return;let g=f(p),y=f(i.clientWidth-(d+h)),v={rootMargin:-g+"px "+-y+"px "+-f(i.clientHeight-(p+m))+"px "+-f(d)+"px",threshold:l(0,o(1,s))||1},w=!0;function x(e){let t=e[0].intersectionRatio;if(t!==s){if(!w)return u();t?u(!1,t):n=setTimeout(()=>{u(!1,1e-7)},1e3)}w=!1}try{r=new IntersectionObserver(x,{...v,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(x,v)}r.observe(e)}(!0),a}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!d&&y.observe(p),y.observe(t));let v=d?Q(e):null;return d&&function t(){let r=Q(e);v&&(r.x!==v.x||r.y!==v.y||r.width!==v.width||r.height!==v.height)&&n(),v=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{a&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===L})},elements:{reference:C.anchor},middleware:[eh({mainAxis:g+M,alignmentAxis:v}),x&&em({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?eg():void 0,..._}),x&&ey({..._}),ev({..._,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),D&&ex({element:D,padding:w}),eI({arrowWidth:j,arrowHeight:M}),E&&ew({strategy:"referenceHidden",..._})]}),[J,K]=eX(I),U=(0,eS.W)(S);(0,eT.b)(()=>{X&&(null==U||U())},[X,U]);let Z=null===(n=G.arrow)||void 0===n?void 0:n.x,ee=null===(i=G.arrow)||void 0===i?void 0:i.y,et=(null===(a=G.arrow)||void 0===a?void 0:a.centerOffset)!==0,[en,er]=r.useState();return(0,eT.b)(()=>{O&&er(window.getComputedStyle(O).zIndex)},[O]),(0,eA.jsx)("div",{ref:B.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:X?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:en,"--radix-popper-transform-origin":[null===(u=G.transformOrigin)||void 0===u?void 0:u.x,null===(c=G.transformOrigin)||void 0===c?void 0:c.y].join(" "),...(null===(s=G.hide)||void 0===s?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eA.jsx)(eF,{scope:h,placedSide:J,onArrowChange:N,arrowX:Z,arrowY:ee,shouldHideArrow:et,children:(0,eA.jsx)(eb.WV.div,{"data-side":J,"data-align":K,...T,ref:H,style:{...T.style,animation:X?void 0:"none"}})})})});ez.displayName=eM;var e_="PopperArrow",eB={top:"bottom",right:"left",bottom:"top",left:"right"},e$=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eV(e_,n),o=eB[i.placedSide];return(0,eA.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eA.jsx)(eR,{...r,ref:t,style:{...r.style,display:"block"}})})});function eY(e){return null!==e}e$.displayName=e_;var eI=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,l;let{placement:a,rects:f,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,s=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=eX(a),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!==(o=null===(r=u.arrow)||void 0===r?void 0:r.x)&&void 0!==o?o:0)+s/2,y=(null!==(l=null===(i=u.arrow)||void 0===i?void 0:i.y)&&void 0!==l?l:0)+d/2,v="",w="";return"bottom"===p?(v=c?m:"".concat(g,"px"),w="".concat(-d,"px")):"top"===p?(v=c?m:"".concat(g,"px"),w="".concat(f.floating.height+d,"px")):"right"===p?(v="".concat(-d,"px"),w=c?m:"".concat(y,"px")):"left"===p&&(v="".concat(f.floating.width+d,"px"),w=c?m:"".concat(y,"px")),{data:{x:v,y:w}}}});function eX(e){let[t,n="center"]=e.split("-");return[t,n]}var eq=eN,eG=ej,eJ=ez,eK=e$},73452:function(e,t,n){n.d(t,{t:function(){return o}});var r=n(64149),i=n(61013);function o(e){let[t,n]=r.useState(void 0);return(0,i.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/598-37a268c60ee2f48f.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/598-37a268c60ee2f48f.js
new file mode 100644
index 0000000..fb84521
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/598-37a268c60ee2f48f.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[598],{445:function(e,t,n){n.d(t,{default:function(){return i.a}});var r=n(19666),i=n.n(r)},27525:function(e,t,n){var r=n(39886);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}})},68986:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let r=n(88806),i=n(59994),o=n(20881),l=i._(n(64149)),a=r._(n(50149)),u=r._(n(82193)),s=n(50389),d=n(22682),f=n(20800);n(12303);let c=n(24072),p=r._(n(88650)),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,n,r,i,o,l){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function h(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,l.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:a,width:u,decoding:s,className:d,style:f,fetchPriority:c,placeholder:p,loading:m,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:_,setShowAltText:j,sizesInput:S,onLoad:x,onError:P,...C}=e;return(0,o.jsx)("img",{...C,...h(c),loading:m,width:u,height:a,decoding:s,"data-nimg":y?"fill":"1",className:d,style:f,sizes:i,srcSet:r,src:n,ref:(0,l.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(P&&(e.src=e.src),e.complete&&g(e,p,b,w,_,v,S))},[n,p,b,w,_,P,v,S,t]),onLoad:e=>{g(e.currentTarget,p,b,w,_,v,S)},onError:e=>{j(!0),"empty"!==p&&_(!0),P&&P(e)}})});function y(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...h(n.fetchPriority)};return t&&a.default.preload?(a.default.preload(n.src,r),null):(0,o.jsx)(u.default,{children:(0,o.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let b=(0,l.forwardRef)((e,t)=>{let n=(0,l.useContext)(c.RouterContext),r=(0,l.useContext)(f.ImageConfigContext),i=(0,l.useMemo)(()=>{let e=m||r||d.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:a,onLoadingComplete:u}=e,g=(0,l.useRef)(a);(0,l.useEffect)(()=>{g.current=a},[a]);let h=(0,l.useRef)(u);(0,l.useEffect)(()=>{h.current=u},[u]);let[b,w]=(0,l.useState)(!1),[_,j]=(0,l.useState)(!1),{props:S,meta:x}=(0,s.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:b,showAltText:_});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...S,unoptimized:x.unoptimized,placeholder:x.placeholder,fill:x.fill,onLoadRef:g,onLoadingCompleteRef:h,setBlurComplete:w,setShowAltText:j,sizesInput:e.sizes,ref:t}),x.priority?(0,o.jsx)(y,{isAppRouter:!n,imgAttributes:S}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},20635:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(88806)._(n(64149)).default.createContext({})},10761:function(e,t){function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},50389:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return a}}),n(12303);let r=n(86430),i=n(22682);function o(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function a(e,t){var n;let a,u,s,{src:d,sizes:f,unoptimized:c=!1,priority:p=!1,loading:m,className:g,quality:h,width:v,height:y,fill:b=!1,style:w,overrideSrc:_,onLoad:j,onLoadingComplete:S,placeholder:x="empty",blurDataURL:P,fetchPriority:C,decoding:O="async",layout:M,objectFit:z,objectPosition:E,lazyBoundary:I,lazyRoot:R,...A}=e,{imgConf:k,showAltText:D,blurComplete:N,defaultLoader:L}=t,U=k||i.imageConfigDefault;if("allSizes"in U)a=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t);a={...U,allSizes:e,deviceSizes:t}}if(void 0===L)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let T=A.loader||L;delete A.loader,delete A.srcSet;let F="__next_img_default"in T;if(F){if("custom"===a.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=T;T=t=>{let{config:n,...r}=t;return e(r)}}if(M){"fill"===M&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[M];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[M];t&&!f&&(f=t)}let G="",B=l(v),V=l(y);if("object"==typeof(n=d)&&(o(n)||void 0!==n.src)){let e=o(d)?d.default:d;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(u=e.blurWidth,s=e.blurHeight,P=P||e.blurDataURL,G=e.src,!b){if(B||V){if(B&&!V){let t=B/e.width;V=Math.round(e.height*t)}else if(!B&&V){let t=V/e.height;B=Math.round(e.width*t)}}else B=e.width,V=e.height}}let W=!p&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:G)||d.startsWith("data:")||d.startsWith("blob:"))&&(c=!0,W=!1),a.unoptimized&&(c=!0),F&&d.endsWith(".svg")&&!a.dangerouslyAllowSVG&&(c=!0),p&&(C="high");let H=l(h),$=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:z,objectPosition:E}:{},D?{}:{color:"transparent"},w),q=N||"empty"===x?null:"blur"===x?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:B,heightInt:V,blurWidth:u,blurHeight:s,blurDataURL:P||"",objectFit:$.objectFit})+'")':'url("'+x+'")',J=q?{backgroundSize:$.objectFit||"cover",backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:q}:{},Y=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:o,sizes:l,loader:a}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:u,kind:s}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,l),d=u.length-1;return{sizes:l||"w"!==s?l:"100vw",srcSet:u.map((e,r)=>a({config:t,src:n,quality:o,width:e})+" "+("w"===s?e:r+1)+s).join(", "),src:a({config:t,src:n,quality:o,width:u[d]})}}({config:a,src:d,unoptimized:c,width:B,quality:H,sizes:f,loader:T});return{props:{...A,loading:W?"lazy":m,fetchPriority:C,width:B,height:V,decoding:O,className:g,style:{...$,...J},sizes:Y.sizes,srcSet:Y.srcSet,src:_||Y.src},meta:{unoptimized:c,priority:p,placeholder:x,fill:b}}}},82193:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return g},defaultHead:function(){return f}});let r=n(88806),i=n(59994),o=n(20881),l=i._(n(64149)),a=r._(n(31665)),u=n(20635),s=n(61373),d=n(10761);function f(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function c(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(12303);let p=["name","httpEquiv","charSet","itemProp"];function m(e,t){let{inAmpMode:n}=t;return e.reduce(c,[]).reverse().concat(f(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return i=>{let o=!0,l=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){l=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e{let r=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,l.default.cloneElement(e,t)}return l.default.cloneElement(e,{key:r})})}let g=function(e){let{children:t}=e,n=(0,l.useContext)(u.AmpStateContext),r=(0,l.useContext)(s.HeadManagerContext);return(0,o.jsx)(a.default,{reduceComponentsToState:m,headManager:r,inAmpMode:(0,d.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86430:function(e,t){function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:l}=e,a=r?40*r:t,u=i?40*i:n,s=a&&u?"viewBox='0 0 "+a+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+s+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(s?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},20800:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let r=n(88806)._(n(64149)),i=n(22682),o=r.default.createContext(i.imageConfigDefault)},22682:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return r}});let n=["default","imgix","cloudinary","akamai","custom"],r={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",localPatterns:void 0,remotePatterns:[],unoptimized:!1}},19666:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return u},getImageProps:function(){return a}});let r=n(88806),i=n(50389),o=n(68986),l=r._(n(88650));function a(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let u=o.Image},88650:function(e,t){function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},24072:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=n(88806)._(n(64149)).default.createContext(null)},31665:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(64149),i="undefined"==typeof window,o=i?()=>{}:r.useLayoutEffect,l=i?()=>{}:r.useEffect;function a(e){let{headManager:t,reduceComponentsToState:n}=e;function a(){if(t&&t.mountedInstances){let i=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(i,e))}}if(i){var u;null==t||null==(u=t.mountedInstances)||u.add(e.children),a()}return o(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),l(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},51212:function(e,t,n){n.d(t,{f:function(){return a}});var r=n(64149),i=n(79442),o=n(20881),l=r.forwardRef((e,t)=>(0,o.jsx)(i.WV.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));l.displayName="Label";var a=l},79442:function(e,t,n){n.d(t,{WV:function(){return a},jH:function(){return u}});var r=n(64149),i=n(50149),o=n(54098),l=n(20881),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...i}=e,a=r?o.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(a,{...i,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function u(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},20116:function(e,t,n){n.d(t,{j:function(){return o}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,i=function(){for(var e,t,n=0,r="";nn=>{var o;if((null==t?void 0:t.variants)==null)return i(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:l,defaultVariants:a}=t,u=Object.keys(l).map(e=>{let t=null==n?void 0:n[e],i=null==a?void 0:a[e];if(null===t)return null;let o=r(t)||r(i);return l[e][o]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return i(e,u,null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...s}[t]):({...a,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/6136-23dd132652ecafea.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/6136-23dd132652ecafea.js
new file mode 100644
index 0000000..6e8c63e
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/6136-23dd132652ecafea.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6136],{83027:function(e,t,n){n.d(t,{B:function(){return i}});var r=n(64149),o=n(245),a=n(83954),l=n(54098),u=n(20881);function i(e){let t=e+"CollectionProvider",[n,i]=(0,o.b)(t),[c,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:n}=e,o=r.useRef(null),a=r.useRef(new Map).current;return(0,u.jsx)(c,{scope:t,itemMap:a,collectionRef:o,children:n})};d.displayName=t;let f=e+"CollectionSlot",p=r.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=s(f,n),i=(0,a.e)(t,o.collectionRef);return(0,u.jsx)(l.g7,{ref:i,children:r})});p.displayName=f;let m=e+"CollectionItemSlot",v="data-radix-collection-item",h=r.forwardRef((e,t)=>{let{scope:n,children:o,...i}=e,c=r.useRef(null),d=(0,a.e)(t,c),f=s(m,n);return r.useEffect(()=>(f.itemMap.set(c,{ref:c,...i}),()=>void f.itemMap.delete(c))),(0,u.jsx)(l.g7,{[v]:"",ref:d,children:o})});return h.displayName=m,[{Provider:d,Slot:p,ItemSlot:h},function(t){let n=s(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},i]}},86004:function(e,t,n){n.d(t,{gm:function(){return a}});var r=n(64149);n(20881);var o=r.createContext(void 0);function a(e){let t=r.useContext(o);return e||t||"ltr"}},67293:function(e,t,n){n.d(t,{oC:function(){return tf},VY:function(){return ti},ZA:function(){return tc},ck:function(){return td},wU:function(){return tv},__:function(){return ts},Uv:function(){return tu},Ee:function(){return tp},Rk:function(){return tm},fC:function(){return ta},Z0:function(){return th},Tr:function(){return tg},tu:function(){return ty},fF:function(){return tw},xz:function(){return tl}});var r=n(64149),o=n(64433),a=n(83954),l=n(74873),u=n(45306),i=n(79442),c=n(83027),s=n(86004),d=n(72832),f=n(57117),p=n(96616),m=n(89105),v=n(95420),h=n(97498),g=n(45485),w=n(245),y=n(2441),x=n(20881),M="rovingFocusGroup.onEntryFocus",b={bubbles:!1,cancelable:!0},C="RovingFocusGroup",[R,j,D]=(0,c.B)(C),[k,E]=(0,w.b)(C,[D]),[S,T]=k(C),_=r.forwardRef((e,t)=>(0,x.jsx)(R.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,x.jsx)(R.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,x.jsx)(I,{...e,ref:t})})}));_.displayName=C;var I=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:l,loop:c=!1,dir:d,currentTabStopId:f,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:m,onEntryFocus:v,preventScrollOnEntryFocus:h=!1,...g}=e,w=r.useRef(null),C=(0,a.e)(t,w),R=(0,s.gm)(d),[D=null,k]=(0,u.T)({prop:f,defaultProp:p,onChange:m}),[E,T]=r.useState(!1),_=(0,y.W)(v),I=j(n),P=r.useRef(!1),[N,F]=r.useState(0);return r.useEffect(()=>{let e=w.current;if(e)return e.addEventListener(M,_),()=>e.removeEventListener(M,_)},[_]),(0,x.jsx)(S,{scope:n,orientation:l,dir:R,loop:c,currentTabStopId:D,onItemFocus:r.useCallback(e=>k(e),[k]),onItemShiftTab:r.useCallback(()=>T(!0),[]),onFocusableItemAdd:r.useCallback(()=>F(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>F(e=>e-1),[]),children:(0,x.jsx)(i.WV.div,{tabIndex:E||0===N?-1:0,"data-orientation":l,...g,ref:C,style:{outline:"none",...e.style},onMouseDown:(0,o.M)(e.onMouseDown,()=>{P.current=!0}),onFocus:(0,o.M)(e.onFocus,e=>{let t=!P.current;if(e.target===e.currentTarget&&t&&!E){let t=new CustomEvent(M,b);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=I().filter(e=>e.focusable);O([e.find(e=>e.active),e.find(e=>e.id===D),...e].filter(Boolean).map(e=>e.ref.current),h)}}P.current=!1}),onBlur:(0,o.M)(e.onBlur,()=>T(!1))})})}),P="RovingFocusGroupItem",N=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:l=!1,tabStopId:u,...c}=e,s=(0,m.M)(),d=u||s,f=T(P,n),p=f.currentTabStopId===d,v=j(n),{onFocusableItemAdd:h,onFocusableItemRemove:g}=f;return r.useEffect(()=>{if(a)return h(),()=>g()},[a,h,g]),(0,x.jsx)(R.ItemSlot,{scope:n,id:d,focusable:a,active:l,children:(0,x.jsx)(i.WV.span,{tabIndex:p?0:-1,"data-orientation":f.orientation,...c,ref:t,onMouseDown:(0,o.M)(e.onMouseDown,e=>{a?f.onItemFocus(d):e.preventDefault()}),onFocus:(0,o.M)(e.onFocus,()=>f.onItemFocus(d)),onKeyDown:(0,o.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){f.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return F[o]}(e,f.orientation,f.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let a=o.indexOf(e.currentTarget);o=f.loop?(n=o,r=a+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(a+1)}setTimeout(()=>O(o))}})})})});N.displayName=P;var F={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function O(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var A=n(54098),L=n(32286),K=n(3748),V=["Enter"," "],G=["ArrowUp","PageDown","End"],W=["ArrowDown","PageUp","Home",...G],B={ltr:[...V,"ArrowRight"],rtl:[...V,"ArrowLeft"]},U={ltr:["ArrowLeft"],rtl:["ArrowRight"]},z="Menu",[X,H,Y]=(0,c.B)(z),[Z,J]=(0,l.b)(z,[Y,v.D7,E]),q=(0,v.D7)(),Q=E(),[$,ee]=Z(z),[et,en]=Z(z),er=e=>{let{__scopeMenu:t,open:n=!1,children:o,dir:a,onOpenChange:l,modal:u=!0}=e,i=q(t),[c,d]=r.useState(null),f=r.useRef(!1),p=(0,y.W)(l),m=(0,s.gm)(a);return r.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,x.jsx)(v.fC,{...i,children:(0,x.jsx)($,{scope:t,open:n,onOpenChange:p,content:c,onContentChange:d,children:(0,x.jsx)(et,{scope:t,onClose:r.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:m,modal:u,children:o})})})};er.displayName=z;var eo=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,o=q(n);return(0,x.jsx)(v.ee,{...o,...r,ref:t})});eo.displayName="MenuAnchor";var ea="MenuPortal",[el,eu]=Z(ea,{forceMount:void 0}),ei=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,a=ee(ea,t);return(0,x.jsx)(el,{scope:t,forceMount:n,children:(0,x.jsx)(g.z,{present:n||a.open,children:(0,x.jsx)(h.h,{asChild:!0,container:o,children:r})})})};ei.displayName=ea;var ec="MenuContent",[es,ed]=Z(ec),ef=r.forwardRef((e,t)=>{let n=eu(ec,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,a=ee(ec,e.__scopeMenu),l=en(ec,e.__scopeMenu);return(0,x.jsx)(X.Provider,{scope:e.__scopeMenu,children:(0,x.jsx)(g.z,{present:r||a.open,children:(0,x.jsx)(X.Slot,{scope:e.__scopeMenu,children:l.modal?(0,x.jsx)(ep,{...o,ref:t}):(0,x.jsx)(em,{...o,ref:t})})})})}),ep=r.forwardRef((e,t)=>{let n=ee(ec,e.__scopeMenu),l=r.useRef(null),u=(0,a.e)(t,l);return r.useEffect(()=>{let e=l.current;if(e)return(0,L.Ry)(e)},[]),(0,x.jsx)(ev,{...e,ref:u,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),em=r.forwardRef((e,t)=>{let n=ee(ec,e.__scopeMenu);return(0,x.jsx)(ev,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),ev=r.forwardRef((e,t)=>{let{__scopeMenu:n,loop:l=!1,trapFocus:u,onOpenAutoFocus:i,onCloseAutoFocus:c,disableOutsidePointerEvents:s,onEntryFocus:m,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:w,onInteractOutside:y,onDismiss:M,disableOutsideScroll:b,...C}=e,R=ee(ec,n),j=en(ec,n),D=q(n),k=Q(n),E=H(n),[S,T]=r.useState(null),I=r.useRef(null),P=(0,a.e)(t,I,R.onContentChange),N=r.useRef(0),F=r.useRef(""),O=r.useRef(0),L=r.useRef(null),V=r.useRef("right"),B=r.useRef(0),U=b?K.Z:r.Fragment,z=b?{as:A.g7,allowPinchZoom:!0}:void 0,X=e=>{var t,n;let r=F.current+e,o=E().filter(e=>!e.disabled),a=document.activeElement,l=null===(t=o.find(e=>e.ref.current===a))||void 0===t?void 0:t.textValue,u=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(a=a.filter(e=>e!==n));let l=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}(o.map(e=>e.textValue),r,l),i=null===(n=o.find(e=>e.textValue===u))||void 0===n?void 0:n.ref.current;!function e(t){F.current=t,window.clearTimeout(N.current),""!==t&&(N.current=window.setTimeout(()=>e(""),1e3))}(r),i&&setTimeout(()=>i.focus())};r.useEffect(()=>()=>window.clearTimeout(N.current),[]),(0,f.EW)();let Y=r.useCallback(e=>{var t,n,r;return V.current===(null===(t=L.current)||void 0===t?void 0:t.side)&&!!(r=null===(n=L.current)||void 0===n?void 0:n.area)&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,a=t.length-1;er!=c>r&&n<(i-l)*(r-u)/(c-u)+l&&(o=!o)}return o}({x:e.clientX,y:e.clientY},r)},[]);return(0,x.jsx)(es,{scope:n,searchRef:F,onItemEnter:r.useCallback(e=>{Y(e)&&e.preventDefault()},[Y]),onItemLeave:r.useCallback(e=>{var t;Y(e)||(null===(t=I.current)||void 0===t||t.focus(),T(null))},[Y]),onTriggerLeave:r.useCallback(e=>{Y(e)&&e.preventDefault()},[Y]),pointerGraceTimerRef:O,onPointerGraceIntentChange:r.useCallback(e=>{L.current=e},[]),children:(0,x.jsx)(U,{...z,children:(0,x.jsx)(p.M,{asChild:!0,trapped:u,onMountAutoFocus:(0,o.M)(i,e=>{var t;e.preventDefault(),null===(t=I.current)||void 0===t||t.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,x.jsx)(d.XB,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:w,onInteractOutside:y,onDismiss:M,children:(0,x.jsx)(_,{asChild:!0,...k,dir:j.dir,orientation:"vertical",loop:l,currentTabStopId:S,onCurrentTabStopIdChange:T,onEntryFocus:(0,o.M)(m,e=>{j.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,x.jsx)(v.VY,{role:"menu","aria-orientation":"vertical","data-state":eB(R.open),"data-radix-menu-content":"",dir:j.dir,...D,...C,ref:P,style:{outline:"none",...C.style},onKeyDown:(0,o.M)(C.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&X(e.key));let o=I.current;if(e.target!==o||!W.includes(e.key))return;e.preventDefault();let a=E().filter(e=>!e.disabled).map(e=>e.ref.current);G.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,o.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(N.current),F.current="")}),onPointerMove:(0,o.M)(e.onPointerMove,eX(e=>{let t=e.target,n=B.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>B.current?"right":"left";V.current=t,B.current=e.clientX}}))})})})})})})});ef.displayName=ec;var eh=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,x.jsx)(i.WV.div,{role:"group",...r,ref:t})});eh.displayName="MenuGroup";var eg=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,x.jsx)(i.WV.div,{...r,ref:t})});eg.displayName="MenuLabel";var ew="MenuItem",ey="menu.itemSelect",ex=r.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:l,...u}=e,c=r.useRef(null),s=en(ew,e.__scopeMenu),d=ed(ew,e.__scopeMenu),f=(0,a.e)(t,c),p=r.useRef(!1);return(0,x.jsx)(eM,{...u,ref:f,disabled:n,onClick:(0,o.M)(e.onClick,()=>{let e=c.current;if(!n&&e){let t=new CustomEvent(ey,{bubbles:!0,cancelable:!0});e.addEventListener(ey,e=>null==l?void 0:l(e),{once:!0}),(0,i.jH)(e,t),t.defaultPrevented?p.current=!1:s.onClose()}}),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),p.current=!0},onPointerUp:(0,o.M)(e.onPointerUp,e=>{var t;p.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;!n&&(!t||" "!==e.key)&&V.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ex.displayName=ew;var eM=r.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:l=!1,textValue:u,...c}=e,s=ed(ew,n),d=Q(n),f=r.useRef(null),p=(0,a.e)(t,f),[m,v]=r.useState(!1),[h,g]=r.useState("");return r.useEffect(()=>{let e=f.current;if(e){var t;g((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[c.children]),(0,x.jsx)(X.ItemSlot,{scope:n,disabled:l,textValue:null!=u?u:h,children:(0,x.jsx)(N,{asChild:!0,...d,focusable:!l,children:(0,x.jsx)(i.WV.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":l||void 0,"data-disabled":l?"":void 0,...c,ref:p,onPointerMove:(0,o.M)(e.onPointerMove,eX(e=>{l?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,o.M)(e.onPointerLeave,eX(e=>s.onItemLeave(e))),onFocus:(0,o.M)(e.onFocus,()=>v(!0)),onBlur:(0,o.M)(e.onBlur,()=>v(!1))})})})}),eb=r.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...a}=e;return(0,x.jsx)(eT,{scope:e.__scopeMenu,checked:n,children:(0,x.jsx)(ex,{role:"menuitemcheckbox","aria-checked":eU(n)?"mixed":n,...a,ref:t,"data-state":ez(n),onSelect:(0,o.M)(a.onSelect,()=>null==r?void 0:r(!!eU(n)||!n),{checkForDefaultPrevented:!1})})})});eb.displayName="MenuCheckboxItem";var eC="MenuRadioGroup",[eR,ej]=Z(eC,{value:void 0,onValueChange:()=>{}}),eD=r.forwardRef((e,t)=>{let{value:n,onValueChange:r,...o}=e,a=(0,y.W)(r);return(0,x.jsx)(eR,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,x.jsx)(eh,{...o,ref:t})})});eD.displayName=eC;var ek="MenuRadioItem",eE=r.forwardRef((e,t)=>{let{value:n,...r}=e,a=ej(ek,e.__scopeMenu),l=n===a.value;return(0,x.jsx)(eT,{scope:e.__scopeMenu,checked:l,children:(0,x.jsx)(ex,{role:"menuitemradio","aria-checked":l,...r,ref:t,"data-state":ez(l),onSelect:(0,o.M)(r.onSelect,()=>{var e;return null===(e=a.onValueChange)||void 0===e?void 0:e.call(a,n)},{checkForDefaultPrevented:!1})})})});eE.displayName=ek;var eS="MenuItemIndicator",[eT,e_]=Z(eS,{checked:!1}),eI=r.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...o}=e,a=e_(eS,n);return(0,x.jsx)(g.z,{present:r||eU(a.checked)||!0===a.checked,children:(0,x.jsx)(i.WV.span,{...o,ref:t,"data-state":ez(a.checked)})})});eI.displayName=eS;var eP=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,x.jsx)(i.WV.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});eP.displayName="MenuSeparator";var eN=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,o=q(n);return(0,x.jsx)(v.Eh,{...o,...r,ref:t})});eN.displayName="MenuArrow";var eF="MenuSub",[eO,eA]=Z(eF),eL=e=>{let{__scopeMenu:t,children:n,open:o=!1,onOpenChange:a}=e,l=ee(eF,t),u=q(t),[i,c]=r.useState(null),[s,d]=r.useState(null),f=(0,y.W)(a);return r.useEffect(()=>(!1===l.open&&f(!1),()=>f(!1)),[l.open,f]),(0,x.jsx)(v.fC,{...u,children:(0,x.jsx)($,{scope:t,open:o,onOpenChange:f,content:s,onContentChange:d,children:(0,x.jsx)(eO,{scope:t,contentId:(0,m.M)(),triggerId:(0,m.M)(),trigger:i,onTriggerChange:c,children:n})})})};eL.displayName=eF;var eK="MenuSubTrigger",eV=r.forwardRef((e,t)=>{let n=ee(eK,e.__scopeMenu),l=en(eK,e.__scopeMenu),u=eA(eK,e.__scopeMenu),i=ed(eK,e.__scopeMenu),c=r.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:d}=i,f={__scopeMenu:e.__scopeMenu},p=r.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return r.useEffect(()=>p,[p]),r.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),d(null)}},[s,d]),(0,x.jsx)(eo,{asChild:!0,...f,children:(0,x.jsx)(eM,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":u.contentId,"data-state":eB(n.open),...e,ref:(0,a.F)(t,u.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,o.M)(e.onPointerMove,eX(t=>{i.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||c.current||(i.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:(0,o.M)(e.onPointerLeave,eX(e=>{var t,r;p();let o=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,a="right"===t,l=o[a?"left":"right"],u=o[a?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:l,y:o.top},{x:u,y:o.top},{x:u,y:o.bottom},{x:l,y:o.bottom}],side:t}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.M)(e.onKeyDown,t=>{let r=""!==i.searchRef.current;if(!e.disabled&&(!r||" "!==t.key)&&B[l.dir].includes(t.key)){var o;n.onOpenChange(!0),null===(o=n.content)||void 0===o||o.focus(),t.preventDefault()}})})})});eV.displayName=eK;var eG="MenuSubContent",eW=r.forwardRef((e,t)=>{let n=eu(ec,e.__scopeMenu),{forceMount:l=n.forceMount,...u}=e,i=ee(ec,e.__scopeMenu),c=en(ec,e.__scopeMenu),s=eA(eG,e.__scopeMenu),d=r.useRef(null),f=(0,a.e)(t,d);return(0,x.jsx)(X.Provider,{scope:e.__scopeMenu,children:(0,x.jsx)(g.z,{present:l||i.open,children:(0,x.jsx)(X.Slot,{scope:e.__scopeMenu,children:(0,x.jsx)(ev,{id:s.contentId,"aria-labelledby":s.triggerId,...u,ref:f,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;c.isUsingKeyboardRef.current&&(null===(t=d.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>{e.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:(0,o.M)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=U[c.dir].includes(e.key);if(t&&n){var r;i.onOpenChange(!1),null===(r=s.trigger)||void 0===r||r.focus(),e.preventDefault()}})})})})})});function eB(e){return e?"open":"closed"}function eU(e){return"indeterminate"===e}function ez(e){return eU(e)?"indeterminate":e?"checked":"unchecked"}function eX(e){return t=>"mouse"===t.pointerType?e(t):void 0}eW.displayName=eG;var eH="DropdownMenu",[eY,eZ]=(0,l.b)(eH,[J]),eJ=J(),[eq,eQ]=eY(eH),e$=e=>{let{__scopeDropdownMenu:t,children:n,dir:o,open:a,defaultOpen:l,onOpenChange:i,modal:c=!0}=e,s=eJ(t),d=r.useRef(null),[f=!1,p]=(0,u.T)({prop:a,defaultProp:l,onChange:i});return(0,x.jsx)(eq,{scope:t,triggerId:(0,m.M)(),triggerRef:d,contentId:(0,m.M)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:c,children:(0,x.jsx)(er,{...s,open:f,onOpenChange:p,dir:o,modal:c,children:n})})};e$.displayName=eH;var e0="DropdownMenuTrigger",e1=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...l}=e,u=eQ(e0,n),c=eJ(n);return(0,x.jsx)(eo,{asChild:!0,...c,children:(0,x.jsx)(i.WV.button,{type:"button",id:u.triggerId,"aria-haspopup":"menu","aria-expanded":u.open,"aria-controls":u.open?u.contentId:void 0,"data-state":u.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...l,ref:(0,a.F)(t,u.triggerRef),onPointerDown:(0,o.M)(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(u.onOpenToggle(),u.open||e.preventDefault())}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&u.onOpenToggle(),"ArrowDown"===e.key&&u.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});e1.displayName=e0;var e4=e=>{let{__scopeDropdownMenu:t,...n}=e,r=eJ(t);return(0,x.jsx)(ei,{...r,...n})};e4.displayName="DropdownMenuPortal";var e8="DropdownMenuContent",e2=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,l=eQ(e8,n),u=eJ(n),i=r.useRef(!1);return(0,x.jsx)(ef,{id:l.contentId,"aria-labelledby":l.triggerId,...u,...a,ref:t,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;i.current||null===(t=l.triggerRef.current)||void 0===t||t.focus(),i.current=!1,e.preventDefault()}),onInteractOutside:(0,o.M)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!l.modal||r)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});e2.displayName=e8;var e7=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eJ(n);return(0,x.jsx)(eh,{...o,...r,ref:t})});e7.displayName="DropdownMenuGroup";var e9=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eJ(n);return(0,x.jsx)(eg,{...o,...r,ref:t})});e9.displayName="DropdownMenuLabel";var e3=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eJ(n);return(0,x.jsx)(ex,{...o,...r,ref:t})});e3.displayName="DropdownMenuItem";var e6=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eJ(n);return(0,x.jsx)(eb,{...o,...r,ref:t})});e6.displayName="DropdownMenuCheckboxItem";var e5=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eJ(n);return(0,x.jsx)(eD,{...o,...r,ref:t})});e5.displayName="DropdownMenuRadioGroup";var te=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eJ(n);return(0,x.jsx)(eE,{...o,...r,ref:t})});te.displayName="DropdownMenuRadioItem";var tt=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eJ(n);return(0,x.jsx)(eI,{...o,...r,ref:t})});tt.displayName="DropdownMenuItemIndicator";var tn=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eJ(n);return(0,x.jsx)(eP,{...o,...r,ref:t})});tn.displayName="DropdownMenuSeparator",r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eJ(n);return(0,x.jsx)(eN,{...o,...r,ref:t})}).displayName="DropdownMenuArrow";var tr=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eJ(n);return(0,x.jsx)(eV,{...o,...r,ref:t})});tr.displayName="DropdownMenuSubTrigger";var to=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=eJ(n);return(0,x.jsx)(eW,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});to.displayName="DropdownMenuSubContent";var ta=e$,tl=e1,tu=e4,ti=e2,tc=e7,ts=e9,td=e3,tf=e6,tp=e5,tm=te,tv=tt,th=tn,tg=e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:a}=e,l=eJ(t),[i=!1,c]=(0,u.T)({prop:r,defaultProp:a,onChange:o});return(0,x.jsx)(eL,{...l,open:i,onOpenChange:c,children:n})},tw=tr,ty=to},89448:function(e,t,n){n.d(t,{F:function(){return c},f:function(){return s}});var r=n(64149),o=["light","dark"],a="(prefers-color-scheme: dark)",l="undefined"==typeof window,u=r.createContext(void 0),i={setTheme:e=>{},themes:[]},c=()=>{var e;return null!=(e=r.useContext(u))?e:i},s=e=>r.useContext(u)?e.children:r.createElement(f,{...e}),d=["light","dark"],f=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:l=!0,enableColorScheme:i=!0,storageKey:c="theme",themes:s=d,defaultTheme:f=l?"system":"light",attribute:g="data-theme",value:w,children:y,nonce:x}=e,[M,b]=r.useState(()=>m(c,f)),[C,R]=r.useState(()=>m(c)),j=w?Object.values(w):s,D=r.useCallback(e=>{let t=e;if(!t)return;"system"===e&&l&&(t=h());let r=w?w[t]:t,a=n?v():null,u=document.documentElement;if("class"===g?(u.classList.remove(...j),r&&u.classList.add(r)):r?u.setAttribute(g,r):u.removeAttribute(g),i){let e=o.includes(f)?f:null,n=o.includes(t)?t:e;u.style.colorScheme=n}null==a||a()},[]),k=r.useCallback(e=>{let t="function"==typeof e?e(e):e;b(t);try{localStorage.setItem(c,t)}catch(e){}},[t]),E=r.useCallback(e=>{R(h(e)),"system"===M&&l&&!t&&D("system")},[M,t]);r.useEffect(()=>{let e=window.matchMedia(a);return e.addListener(E),E(e),()=>e.removeListener(E)},[E]),r.useEffect(()=>{let e=e=>{e.key===c&&k(e.newValue||f)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[k]),r.useEffect(()=>{D(null!=t?t:M)},[t,M]);let S=r.useMemo(()=>({theme:M,setTheme:k,forcedTheme:t,resolvedTheme:"system"===M?C:M,themes:l?[...s,"system"]:s,systemTheme:l?C:void 0}),[M,k,t,C,l,s]);return r.createElement(u.Provider,{value:S},r.createElement(p,{forcedTheme:t,disableTransitionOnChange:n,enableSystem:l,enableColorScheme:i,storageKey:c,themes:s,defaultTheme:f,attribute:g,value:w,children:y,attrs:j,nonce:x}),y)},p=r.memo(e=>{let{forcedTheme:t,storageKey:n,attribute:l,enableSystem:u,enableColorScheme:i,defaultTheme:c,value:s,attrs:d,nonce:f}=e,p="system"===c,m="class"===l?"var d=document.documentElement,c=d.classList;".concat("c.remove(".concat(d.map(e=>"'".concat(e,"'")).join(","),")"),";"):"var d=document.documentElement,n='".concat(l,"',s='setAttribute';"),v=i?(o.includes(c)?c:null)?"if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'".concat(c,"'"):"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=s?s[e]:e,a=t?e+"|| ''":"'".concat(r,"'"),u="";return i&&n&&!t&&o.includes(e)&&(u+="d.style.colorScheme = '".concat(e,"';")),"class"===l?t||r?u+="c.add(".concat(a,")"):u+="null":r&&(u+="d[s](n,".concat(a,")")),u},g=t?"!function(){".concat(m).concat(h(t),"}()"):u?"!function(){try{".concat(m,"var e=localStorage.getItem('").concat(n,"');if('system'===e||(!e&&").concat(p,")){var t='").concat(a,"',m=window.matchMedia(t);if(m.media!==t||m.matches){").concat(h("dark"),"}else{").concat(h("light"),"}}else if(e){").concat(s?"var x=".concat(JSON.stringify(s),";"):"").concat(h(s?"x[e]":"e",!0),"}").concat(p?"":"else{"+h(c,!1,!1)+"}").concat(v,"}catch(e){}}()"):"!function(){try{".concat(m,"var e=localStorage.getItem('").concat(n,"');if(e){").concat(s?"var x=".concat(JSON.stringify(s),";"):"").concat(h(s?"x[e]":"e",!0),"}else{").concat(h(c,!1,!1),";}").concat(v,"}catch(t){}}();");return r.createElement("script",{nonce:f,dangerouslySetInnerHTML:{__html:g}})}),m=(e,t)=>{let n;if(!l){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},v=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},h=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/6509-9ee8afe5e5b56e4d.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/6509-9ee8afe5e5b56e4d.js
new file mode 100644
index 0000000..a455e7c
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/6509-9ee8afe5e5b56e4d.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6509],{26509:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(26196),o=n.n(r)},50712:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return r}}),n(12168);let r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;ri?e.prefetch(t,o):e.prefetch(t,n,r))().catch(e=>{})}}function _(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let P=i.default.forwardRef(function(e,t){let n,r;let{href:l,as:y,children:P,prefetch:v=null,passHref:R,replace:O,shallow:j,scroll:E,locale:S,onClick:w,onMouseEnter:x,onTouchStart:M,legacyBehavior:N=!1,...C}=e;n=P,N&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let k=i.default.useContext(f.RouterContext),I=i.default.useContext(d.AppRouterContext),T=null!=k?k:I,L=!k,U=!1!==v,A=null===v?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:W,as:D}=i.default.useMemo(()=>{if(!k){let e=_(l);return{href:e,as:y?_(y):e}}let[e,t]=(0,a.resolveHref)(k,l,!0);return{href:e,as:y?(0,a.resolveHref)(k,y):t||e}},[k,l,y]),z=i.default.useRef(W),K=i.default.useRef(D);N&&(r=i.default.Children.only(n));let q=N?r&&"object"==typeof r&&r.ref:t,[F,$,B]=(0,p.useIntersection)({rootMargin:"200px"}),Y=i.default.useCallback(e=>{(K.current!==D||z.current!==W)&&(B(),K.current=D,z.current=W),F(e),q&&("function"==typeof q?q(e):"object"==typeof q&&(q.current=e))},[D,q,W,B,F]);i.default.useEffect(()=>{T&&$&&U&&b(T,W,D,{locale:S},{kind:A},L)},[D,W,$,S,U,null==k?void 0:k.locale,T,L,A]);let Q={ref:Y,onClick(e){N||"function"!=typeof w||w(e),N&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),T&&!e.defaultPrevented&&function(e,t,n,r,o,a,l,s,c){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,u.isLocalURL)(n)))return;e.preventDefault();let d=()=>{let e=null==l||l;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:a,locale:s,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?i.default.startTransition(d):d()}(e,T,W,D,O,j,E,S,L)},onMouseEnter(e){N||"function"!=typeof x||x(e),N&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),T&&(U||!L)&&b(T,W,D,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:A},L)},onTouchStart:function(e){N||"function"!=typeof M||M(e),N&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),T&&(U||!L)&&b(T,W,D,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:A},L)}};if((0,s.isAbsoluteUrl)(D))Q.href=D;else if(!N||R||"a"===r.type&&!("href"in r.props)){let e=void 0!==S?S:null==k?void 0:k.locale,t=(null==k?void 0:k.isLocaleDomain)&&(0,h.getDomainLocale)(D,e,null==k?void 0:k.locales,null==k?void 0:k.domainLocales);Q.href=t||(0,m.addBasePath)((0,c.addLocale)(D,e,null==k?void 0:k.defaultLocale))}return N?i.default.cloneElement(r,Q):(0,o.jsx)("a",{...C,...Q,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57500:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98301:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let r=n(7419),o=n(78120),i=n(46667),a=n(53331),u=n(12168),l=n(12570),s=n(22495),c=n(41198);function f(e,t,n){let f;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),p=d.match(/^[a-zA-Z]{1,}:\/\//),h=p?d.slice(p[0].length):d;if((h.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,a.normalizeRepeatedSlashes)(h);d=(p?p[0]:"")+t}if(!(0,l.isLocalURL)(d))return n?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,u.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&n){let n=(0,r.searchParamsToUrlQuery)(e.searchParams),{result:a,params:u}=(0,c.interpolateAs)(e.pathname,e.pathname,n);a&&(t=(0,o.formatWithValidation)({pathname:a,hash:e.hash,query:(0,i.omit)(n,u)}))}let a=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return n?[a,t||a]:a}catch(e){return n?[d]:d}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55232:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(64149),o=n(57500),i="function"==typeof IntersectionObserver,a=new Map,u=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,s=l||!i,[c,f]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(i){if(s||c)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=u.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},u.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let e=u.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&u.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[s,n,t,c,d.current]),[p,c,(0,r.useCallback)(()=>{f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},51156:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let n=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g;function o(e){return n.test(e)?e.replace(r,"\\$&"):e}},24072:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=n(88806)._(n(64149)).default.createContext(null)},78120:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return i},formatWithValidation:function(){return u},urlObjectKeys:function(){return a}});let r=n(59994)._(n(7419)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:n}=e,i=e.protocol||"",a=e.pathname||"",u=e.hash||"",l=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:n&&(s=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(s+=":"+e.port)),l&&"object"==typeof l&&(l=String(r.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||o.test(i))&&!1!==s?(s="//"+(s||""),a&&"/"!==a[0]&&(a="/"+a)):s||(s=""),u&&"#"!==u[0]&&(u="#"+u),c&&"?"!==c[0]&&(c="?"+c),""+i+s+(a=a.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+u}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return i(e)}},22495:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getSortedRoutes:function(){return r.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let r=n(27202),o=n(97360)},41198:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return i}});let r=n(81371),o=n(55970);function i(e,t,n){let i="",a=(0,o.getRouteRegex)(e),u=a.groups,l=(t!==e?(0,r.getRouteMatcher)(a)(t):"")||n;i=e;let s=Object.keys(u);return s.every(e=>{let t=l[e]||"",{repeat:n,optional:r}=u[e],o="["+(n?"...":"")+e+"]";return r&&(o=(t?"":"/")+"["+o+"]"),n&&!Array.isArray(t)&&(t=[t]),(r||e in l)&&(i=i.replace(o,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:s,result:i}}},97360:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let r=n(51693),o=/\/\[[^/]+?\](?=\/|$)/;function i(e){return(0,r.isInterceptionRouteAppPath)(e)&&(e=(0,r.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},12570:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return i}});let r=n(53331),o=n(15282);function i(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch(e){return!1}}},46667:function(e,t){function n(e,t){let n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return n}})},7419:function(e,t){function n(e){let t={};return e.forEach((e,n)=>{void 0===t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]}),t}function r(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[n,o]=e;Array.isArray(o)?o.forEach(e=>t.append(n,r(e))):t.set(n,r(o))}),t}function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,n)=>e.append(n,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{assign:function(){return i},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}})},81371:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let r=n(53331);function o(e){let{re:t,groups:n}=e;return e=>{let o=t.exec(e);if(!o)return!1;let i=e=>{try{return decodeURIComponent(e)}catch(e){throw new r.DecodeError("failed to decode param")}},a={};return Object.keys(n).forEach(e=>{let t=n[e],r=o[t.pos];void 0!==r&&(a[e]=~r.indexOf("/")?r.split("/").map(e=>i(e)):t.repeat?[i(r)]:i(r))}),a}}},55970:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getNamedMiddlewareRegex:function(){return d},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return l},parseParameter:function(){return a}});let r=n(51693),o=n(51156),i=n(15466);function a(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function u(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),n={},u=1;return{parameterizedRoute:t.map(e=>{let t=r.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&i){let{key:e,optional:r,repeat:l}=a(i[1]);return n[e]={pos:u++,repeat:l,optional:r},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!i)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:r}=a(i[1]);return n[e]={pos:u++,repeat:t,optional:r},t?r?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:n}}function l(e){let{parameterizedRoute:t,groups:n}=u(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:n}}function s(e){let{interceptionMarker:t,getSafeRouteKey:n,segment:r,routeKeys:i,keyPrefix:u}=e,{key:l,optional:s,repeat:c}=a(r),f=l.replace(/\W/g,"");u&&(f=""+u+f);let d=!1;(0===f.length||f.length>30)&&(d=!0),isNaN(parseInt(f.slice(0,1)))||(d=!0),d&&(f=n()),u?i[f]=""+u+l:i[f]=l;let p=t?(0,o.escapeStringRegexp)(t):"";return c?s?"(?:/"+p+"(?<"+f+">.+?))?":"/"+p+"(?<"+f+">.+?)":"/"+p+"(?<"+f+">[^/]+?)"}function c(e,t){let n;let a=(0,i.removeTrailingSlash)(e).slice(1).split("/"),u=(n=0,()=>{let e="",t=++n;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),l={};return{namedParameterizedRoute:a.map(e=>{let n=r.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(n&&i){let[n]=e.split(i[0]);return s({getSafeRouteKey:u,interceptionMarker:n,segment:i[1],routeKeys:l,keyPrefix:t?"nxtI":void 0})}return i?s({getSafeRouteKey:u,segment:i[1],routeKeys:l,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:l}}function f(e,t){let n=c(e,t);return{...l(e),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function d(e,t){let{parameterizedRoute:n}=u(e),{catchAll:r=!0}=t;if("/"===n)return{namedRegex:"^/"+(r?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(r?"(?:(/.*)?)":"")+"$"}}},27202:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r}});class n{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,t,r){if(0===e.length){this.placeholder=!1;return}if(r)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let n=o.slice(1,-1),a=!1;if(n.startsWith("[")&&n.endsWith("]")&&(n=n.slice(1,-1),a=!0),n.startsWith("...")&&(n=n.substring(3),r=!0),n.startsWith("[")||n.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+n+"').");if(n.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+n+"').");function i(e,n){if(null!==e&&e!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+n+"').");t.forEach(e=>{if(e===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),t.push(n)}if(r){if(a){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');i(this.optionalRestSlugName,n),this.optionalRestSlugName=n,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');i(this.restSlugName,n),this.restSlugName=n,o="[...]"}}else{if(a)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');i(this.slugName,n),this.slugName=n,o="[]"}}this.children.has(o)||this.children.set(o,new n),this.children.get(o)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function r(e){let t=new n;return e.forEach(e=>t.insert(e)),t.smoosh()}},53331:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return y},NormalizeError:function(){return m},PageNotFoundError:function(){return g},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return n},execOnce:function(){return r},getDisplayName:function(){return l},getLocationOrigin:function(){return a},getURL:function(){return u},isAbsoluteUrl:function(){return i},isResSent:function(){return s},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return _}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function r(e){let t,n=!1;return function(){for(var r=arguments.length,o=Array(r),i=0;io.test(e);function a(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function u(){let{href:e}=window.location,t=a();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&s(n))return r;if(!r)throw Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.');return r}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function _(e){return JSON.stringify({message:e.message,stack:e.stack})}}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/7829-6db56c17b5199270.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/7829-6db56c17b5199270.js
new file mode 100644
index 0000000..e92173d
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/7829-6db56c17b5199270.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7829],{92093:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(64149);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),n=0;n!!e&&n.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 u=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:o=24,strokeWidth:u=2,absoluteStrokeWidth:l,className:s="",children:c,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...i,width:o,height:o,stroke:n,strokeWidth:l?24*Number(u)/Number(o):u,className:a("lucide",s),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),l=(e,t)=>{let n=(0,r.forwardRef)((n,i)=>{let{className:l,...s}=n;return(0,r.createElement)(u,{ref:i,iconNode:t,className:a("lucide-".concat(o(e)),l),...s})});return n.displayName="".concat(e),n}},36306:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(92093).Z)("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"}]])},395:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(92093).Z)("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"}]])},37971:function(e,t,n){n.d(t,{VY:function(){return S},fC:function(){return k},xz:function(){return P}});var r,o=n(64149),a=n(64433),i=n(74873),u=n(45306),l=n(83954),s=n(95420),c=(n(97498),n(45485)),d=n(79442),f=n(72832),p=n(20881),v="HoverCard",[m,h]=(0,i.b)(v,[s.D7]),w=(0,s.D7)(),[N,y]=m(v),g=e=>{let{__scopeHoverCard:t,children:n,open:r,defaultOpen:a,onOpenChange:i,openDelay:l=700,closeDelay:c=300}=e,d=w(t),f=o.useRef(0),v=o.useRef(0),m=o.useRef(!1),h=o.useRef(!1),[y=!1,g]=(0,u.T)({prop:r,defaultProp:a,onChange:i}),x=o.useCallback(()=>{clearTimeout(v.current),f.current=window.setTimeout(()=>g(!0),l)},[l,g]),C=o.useCallback(()=>{clearTimeout(f.current),m.current||h.current||(v.current=window.setTimeout(()=>g(!1),c))},[c,g]),E=o.useCallback(()=>g(!1),[g]);return o.useEffect(()=>()=>{clearTimeout(f.current),clearTimeout(v.current)},[]),(0,p.jsx)(N,{scope:t,open:y,onOpenChange:g,onOpen:x,onClose:C,onDismiss:E,hasSelectionRef:m,isPointerDownOnContentRef:h,children:(0,p.jsx)(s.fC,{...d,children:n})})};g.displayName=v;var x="HoverCardTrigger",C=o.forwardRef((e,t)=>{let{__scopeHoverCard:n,...r}=e,o=y(x,n),i=w(n);return(0,p.jsx)(s.ee,{asChild:!0,...i,children:(0,p.jsx)(d.WV.a,{"data-state":o.open?"open":"closed",...r,ref:t,onPointerEnter:(0,a.M)(e.onPointerEnter,b(o.onOpen)),onPointerLeave:(0,a.M)(e.onPointerLeave,b(o.onClose)),onFocus:(0,a.M)(e.onFocus,o.onOpen),onBlur:(0,a.M)(e.onBlur,o.onClose),onTouchStart:(0,a.M)(e.onTouchStart,e=>e.preventDefault())})})});C.displayName=x;var[E,T]=m("HoverCardPortal",{forceMount:void 0}),M="HoverCardContent",R=o.forwardRef((e,t)=>{let n=T(M,e.__scopeHoverCard),{forceMount:r=n.forceMount,...o}=e,i=y(M,e.__scopeHoverCard);return(0,p.jsx)(c.z,{present:r||i.open,children:(0,p.jsx)(O,{"data-state":i.open?"open":"closed",...o,onPointerEnter:(0,a.M)(e.onPointerEnter,b(i.onOpen)),onPointerLeave:(0,a.M)(e.onPointerLeave,b(i.onClose)),ref:t})})});R.displayName=M;var O=o.forwardRef((e,t)=>{let{__scopeHoverCard:n,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:d,...v}=e,m=y(M,n),h=w(n),N=o.useRef(null),g=(0,l.e)(t,N),[x,C]=o.useState(!1);return o.useEffect(()=>{if(x){let e=document.body;return r=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=r,e.style.webkitUserSelect=r}}},[x]),o.useEffect(()=>{if(N.current){let e=()=>{C(!1),m.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var e;(null===(e=document.getSelection())||void 0===e?void 0:e.toString())!==""&&(m.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),m.hasSelectionRef.current=!1,m.isPointerDownOnContentRef.current=!1}}},[m.isPointerDownOnContentRef,m.hasSelectionRef]),o.useEffect(()=>{N.current&&(function(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t})(N.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,p.jsx)(f.XB,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:d,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:(0,a.M)(c,e=>{e.preventDefault()}),onDismiss:m.onDismiss,children:(0,p.jsx)(s.VY,{...h,...v,onPointerDown:(0,a.M)(v.onPointerDown,e=>{e.currentTarget.contains(e.target)&&C(!0),m.hasSelectionRef.current=!1,m.isPointerDownOnContentRef.current=!0}),ref:g,style:{...v.style,userSelect:x?"text":void 0,WebkitUserSelect:x?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})});function b(e){return t=>"touch"===t.pointerType?void 0:e()}o.forwardRef((e,t)=>{let{__scopeHoverCard:n,...r}=e,o=w(n);return(0,p.jsx)(s.Eh,{...o,...r,ref:t})}).displayName="HoverCardArrow";var k=g,P=C,S=R},51212:function(e,t,n){n.d(t,{f:function(){return u}});var r=n(64149),o=n(79442),a=n(20881),i=r.forwardRef((e,t)=>(0,a.jsx)(o.WV.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName="Label";var u=i},45485:function(e,t,n){n.d(t,{z:function(){return i}});var r=n(64149),o=n(83954),a=n(61013),i=e=>{var t,n;let i,l;let{present:s,children:c}=e,d=function(e){var t,n;let[o,i]=r.useState(),l=r.useRef({}),s=r.useRef(e),c=r.useRef("none"),[d,f]=(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=u(l.current);c.current="mounted"===d?e:"none"},[d]),(0,a.b)(()=>{let t=l.current,n=s.current;if(n!==e){let r=c.current,o=u(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,a.b)(()=>{if(o){var e;let t;let n=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=u(l.current).includes(e.animationName);if(e.target===o&&r&&(f("ANIMATION_END"),!s.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&&(c.current=u(l.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)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(l.current=getComputedStyle(e)),i(e)},[])}}(s),f="function"==typeof c?c({present:d.isPresent}):r.Children.only(c),p=(0,o.e)(d.ref,(i=null===(t=Object.getOwnPropertyDescriptor(f.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in i&&i.isReactWarning?f.ref:(i=null===(n=Object.getOwnPropertyDescriptor(f,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in i&&i.isReactWarning?f.props.ref:f.props.ref||f.ref);return"function"==typeof c||d.isPresent?r.cloneElement(f,{ref:p}):null};function u(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},48897:function(e,t,n){n.d(t,{f:function(){return s}});var r=n(64149),o=n(79442),a=n(20881),i="horizontal",u=["horizontal","vertical"],l=r.forwardRef((e,t)=>{let{decorative:n,orientation:r=i,...l}=e,s=u.includes(r)?r:i;return(0,a.jsx)(o.WV.div,{"data-orientation":s,...n?{role:"none"}:{"aria-orientation":"vertical"===s?s:void 0,role:"separator"},...l,ref:t})});l.displayName="Separator";var s=l}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/84fbfe7f-f4d35e8642f5f806.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/84fbfe7f-f4d35e8642f5f806.js
new file mode 100644
index 0000000..b068667
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/84fbfe7f-f4d35e8642f5f806.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[792],{35935:function(e,r,n){n.d(r,{LZ3:function(){return c},NWY:function(){return V},Pxu:function(){return m},XCv:function(){return s},Y4O:function(){return l},g8U:function(){return g},jXb:function(){return Z},jnn:function(){return d},kLh:function(){return H},nQG:function(){return v},v4q:function(){return L},wGg:function(){return E}});var C=n(64149);function t(e,r){if(null==e)return{};var n,C,t={},o=Object.keys(e);for(C=0;C=0||(t[n]=e[n]);return t}var o=["color"],l=(0,C.forwardRef)(function(e,r){var n=e.color,l=t(e,o);return(0,C.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:r}),(0,C.createElement)("path",{d:"M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),i=["color"],c=(0,C.forwardRef)(function(e,r){var n=e.color,o=t(e,i);return(0,C.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,C.createElement)("path",{d:"M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),f=["color"],d=(0,C.forwardRef)(function(e,r){var n=e.color,o=t(e,f);return(0,C.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,C.createElement)("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),u=["color"],v=(0,C.forwardRef)(function(e,r){var n=e.color,o=t(e,u);return(0,C.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,C.createElement)("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),w=["color"],L=(0,C.forwardRef)(function(e,r){var n=e.color,o=t(e,w);return(0,C.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,C.createElement)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),a=["color"],s=(0,C.forwardRef)(function(e,r){var n=e.color,o=t(e,a);return(0,C.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,C.createElement)("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),h=["color"],g=(0,C.forwardRef)(function(e,r){var n=e.color,o=t(e,h);return(0,C.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,C.createElement)("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),p=["color"],m=(0,C.forwardRef)(function(e,r){var n=e.color,o=t(e,p);return(0,C.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,C.createElement)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),R=["color"],Z=(0,C.forwardRef)(function(e,r){var n=e.color,o=t(e,R);return(0,C.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,C.createElement)("path",{d:"M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z",fill:void 0===n?"currentColor":n}))}),x=["color"],E=(0,C.forwardRef)(function(e,r){var n=e.color,o=t(e,x);return(0,C.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,C.createElement)("path",{d:"M7.49933 0.25C3.49635 0.25 0.25 3.49593 0.25 7.50024C0.25 10.703 2.32715 13.4206 5.2081 14.3797C5.57084 14.446 5.70302 14.2222 5.70302 14.0299C5.70302 13.8576 5.69679 13.4019 5.69323 12.797C3.67661 13.235 3.25112 11.825 3.25112 11.825C2.92132 10.9874 2.44599 10.7644 2.44599 10.7644C1.78773 10.3149 2.49584 10.3238 2.49584 10.3238C3.22353 10.375 3.60629 11.0711 3.60629 11.0711C4.25298 12.1788 5.30335 11.8588 5.71638 11.6732C5.78225 11.205 5.96962 10.8854 6.17658 10.7043C4.56675 10.5209 2.87415 9.89918 2.87415 7.12104C2.87415 6.32925 3.15677 5.68257 3.62053 5.17563C3.54576 4.99226 3.29697 4.25521 3.69174 3.25691C3.69174 3.25691 4.30015 3.06196 5.68522 3.99973C6.26337 3.83906 6.8838 3.75895 7.50022 3.75583C8.1162 3.75895 8.73619 3.83906 9.31523 3.99973C10.6994 3.06196 11.3069 3.25691 11.3069 3.25691C11.7026 4.25521 11.4538 4.99226 11.3795 5.17563C11.8441 5.68257 12.1245 6.32925 12.1245 7.12104C12.1245 9.9063 10.4292 10.5192 8.81452 10.6985C9.07444 10.9224 9.30633 11.3648 9.30633 12.0413C9.30633 13.0102 9.29742 13.7922 9.29742 14.0299C9.29742 14.2239 9.42828 14.4496 9.79591 14.3788C12.6746 13.4179 14.75 10.7025 14.75 7.50024C14.75 3.49593 11.5036 0.25 7.49933 0.25Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),M=["color"],H=(0,C.forwardRef)(function(e,r){var n=e.color,o=t(e,M);return(0,C.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,C.createElement)("path",{d:"M2.89998 0.499976C2.89998 0.279062 2.72089 0.0999756 2.49998 0.0999756C2.27906 0.0999756 2.09998 0.279062 2.09998 0.499976V1.09998H1.49998C1.27906 1.09998 1.09998 1.27906 1.09998 1.49998C1.09998 1.72089 1.27906 1.89998 1.49998 1.89998H2.09998V2.49998C2.09998 2.72089 2.27906 2.89998 2.49998 2.89998C2.72089 2.89998 2.89998 2.72089 2.89998 2.49998V1.89998H3.49998C3.72089 1.89998 3.89998 1.72089 3.89998 1.49998C3.89998 1.27906 3.72089 1.09998 3.49998 1.09998H2.89998V0.499976ZM5.89998 3.49998C5.89998 3.27906 5.72089 3.09998 5.49998 3.09998C5.27906 3.09998 5.09998 3.27906 5.09998 3.49998V4.09998H4.49998C4.27906 4.09998 4.09998 4.27906 4.09998 4.49998C4.09998 4.72089 4.27906 4.89998 4.49998 4.89998H5.09998V5.49998C5.09998 5.72089 5.27906 5.89998 5.49998 5.89998C5.72089 5.89998 5.89998 5.72089 5.89998 5.49998V4.89998H6.49998C6.72089 4.89998 6.89998 4.72089 6.89998 4.49998C6.89998 4.27906 6.72089 4.09998 6.49998 4.09998H5.89998V3.49998ZM1.89998 6.49998C1.89998 6.27906 1.72089 6.09998 1.49998 6.09998C1.27906 6.09998 1.09998 6.27906 1.09998 6.49998V7.09998H0.499976C0.279062 7.09998 0.0999756 7.27906 0.0999756 7.49998C0.0999756 7.72089 0.279062 7.89998 0.499976 7.89998H1.09998V8.49998C1.09998 8.72089 1.27906 8.89997 1.49998 8.89997C1.72089 8.89997 1.89998 8.72089 1.89998 8.49998V7.89998H2.49998C2.72089 7.89998 2.89998 7.72089 2.89998 7.49998C2.89998 7.27906 2.72089 7.09998 2.49998 7.09998H1.89998V6.49998ZM8.54406 0.98184L8.24618 0.941586C8.03275 0.917676 7.90692 1.1655 8.02936 1.34194C8.17013 1.54479 8.29981 1.75592 8.41754 1.97445C8.91878 2.90485 9.20322 3.96932 9.20322 5.10022C9.20322 8.37201 6.82247 11.0878 3.69887 11.6097C3.45736 11.65 3.20988 11.6772 2.96008 11.6906C2.74563 11.702 2.62729 11.9535 2.77721 12.1072C2.84551 12.1773 2.91535 12.2458 2.98667 12.3128L3.05883 12.3795L3.31883 12.6045L3.50684 12.7532L3.62796 12.8433L3.81491 12.9742L3.99079 13.089C4.11175 13.1651 4.23536 13.2375 4.36157 13.3059L4.62496 13.4412L4.88553 13.5607L5.18837 13.6828L5.43169 13.7686C5.56564 13.8128 5.70149 13.8529 5.83857 13.8885C5.94262 13.9155 6.04767 13.9401 6.15405 13.9622C6.27993 13.9883 6.40713 14.0109 6.53544 14.0298L6.85241 14.0685L7.11934 14.0892C7.24637 14.0965 7.37436 14.1002 7.50322 14.1002C11.1483 14.1002 14.1032 11.1453 14.1032 7.50023C14.1032 7.25044 14.0893 7.00389 14.0623 6.76131L14.0255 6.48407C13.991 6.26083 13.9453 6.04129 13.8891 5.82642C13.8213 5.56709 13.7382 5.31398 13.6409 5.06881L13.5279 4.80132L13.4507 4.63542L13.3766 4.48666C13.2178 4.17773 13.0353 3.88295 12.8312 3.60423L12.6782 3.40352L12.4793 3.16432L12.3157 2.98361L12.1961 2.85951L12.0355 2.70246L11.8134 2.50184L11.4925 2.24191L11.2483 2.06498L10.9562 1.87446L10.6346 1.68894L10.3073 1.52378L10.1938 1.47176L9.95488 1.3706L9.67791 1.2669L9.42566 1.1846L9.10075 1.09489L8.83599 1.03486L8.54406 0.98184ZM10.4032 5.30023C10.4032 4.27588 10.2002 3.29829 9.83244 2.40604C11.7623 3.28995 13.1032 5.23862 13.1032 7.50023C13.1032 10.593 10.596 13.1002 7.50322 13.1002C6.63646 13.1002 5.81597 12.9036 5.08355 12.5522C6.5419 12.0941 7.81081 11.2082 8.74322 10.0416C8.87963 10.2284 9.10028 10.3497 9.34928 10.3497C9.76349 10.3497 10.0993 10.0139 10.0993 9.59971C10.0993 9.24256 9.84965 8.94373 9.51535 8.86816C9.57741 8.75165 9.63653 8.63334 9.6926 8.51332C9.88358 8.63163 10.1088 8.69993 10.35 8.69993C11.0403 8.69993 11.6 8.14028 11.6 7.44993C11.6 6.75976 11.0406 6.20024 10.3505 6.19993C10.3853 5.90487 10.4032 5.60464 10.4032 5.30023Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),b=["color"],V=(0,C.forwardRef)(function(e,r){var n=e.color,o=t(e,b);return(0,C.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,C.createElement)("path",{d:"M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))})}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/8714-2a49f958b43b9e79.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/8714-2a49f958b43b9e79.js
new file mode 100644
index 0000000..0342657
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/8714-2a49f958b43b9e79.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8714],{64433:function(e,t,n){n.d(t,{M:function(){return r}});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},74873:function(e,t,n){n.d(t,{b:function(){return o},k:function(){return i}});var r=n(64149),u=n(20881);function i(e,t){let n=r.createContext(t),i=e=>{let{children:t,...i}=e,o=r.useMemo(()=>i,Object.values(i));return(0,u.jsx)(n.Provider,{value:o,children:t})};return i.displayName=e+"Provider",[i,function(u){let i=r.useContext(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function o(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return i.scopeName=e,[function(t,i){let o=r.createContext(i),l=n.length;n=[...n,i];let s=t=>{let{scope:n,children:i,...s}=t,a=n?.[e]?.[l]||o,c=r.useMemo(()=>s,Object.values(s));return(0,u.jsx)(a.Provider,{value:c,children:i})};return s.displayName=t+"Provider",[s,function(n,u){let s=u?.[e]?.[l]||o,a=r.useContext(s);if(a)return a;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e)[`__scope${r}`];return{...t,...u}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(i,...t)]}},72832:function(e,t,n){n.d(t,{I0:function(){return b},XB:function(){return f},fC:function(){return y}});var r,u=n(64149),i=n(64433),o=n(79442),l=n(83954),s=n(2441),a=n(20881),c="dismissableLayer.update",d=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=u.forwardRef((e,t)=>{var n,f;let{disableOutsidePointerEvents:v=!1,onEscapeKeyDown:y,onPointerDownOutside:b,onFocusOutside:E,onInteractOutside:h,onDismiss:w,...C}=e,g=u.useContext(d),[P,L]=u.useState(null),x=null!==(f=null==P?void 0:P.ownerDocument)&&void 0!==f?f:null===(n=globalThis)||void 0===n?void 0:n.document,[,N]=u.useState({}),W=(0,l.e)(t,e=>L(e)),D=Array.from(g.layers),[O]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),j=D.indexOf(O),k=P?D.indexOf(P):-1,R=g.layersWithOutsidePointerEventsDisabled.size>0,S=k>=j,T=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,s.W)(e),i=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,u,{discrete:!0})},u={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=t,n.addEventListener("click",o.current,{once:!0})):t()}else n.removeEventListener("click",o.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...g.branches].some(e=>e.contains(t));!S||n||(null==b||b(e),null==h||h(e),e.defaultPrevented||null==w||w())},x),_=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,s.W)(e),i=u.useRef(!1);return u.useEffect(()=>{let e=e=>{e.target&&!i.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...g.branches].some(e=>e.contains(t))||(null==E||E(e),null==h||h(e),e.defaultPrevented||null==w||w())},x);return!function(e,t=globalThis?.document){let n=(0,s.W)(e);u.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{k!==g.layers.size-1||(null==y||y(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},x),u.useEffect(()=>{if(P)return v&&(0===g.layersWithOutsidePointerEventsDisabled.size&&(r=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(P)),g.layers.add(P),p(),()=>{v&&1===g.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=r)}},[P,x,v,g]),u.useEffect(()=>()=>{P&&(g.layers.delete(P),g.layersWithOutsidePointerEventsDisabled.delete(P),p())},[P,g]),u.useEffect(()=>{let e=()=>N({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,a.jsx)(o.WV.div,{...C,ref:W,style:{pointerEvents:R?S?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,_.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,T.onPointerDownCapture)})});f.displayName="DismissableLayer";var v=u.forwardRef((e,t)=>{let n=u.useContext(d),r=u.useRef(null),i=(0,l.e)(t,r);return u.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,a.jsx)(o.WV.div,{...e,ref:i})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:u}=r,i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),u?(0,o.jH)(i,l):i.dispatchEvent(l)}v.displayName="DismissableLayerBranch";var y=f,b=v},97498:function(e,t,n){n.d(t,{h:function(){return s}});var r=n(64149),u=n(50149),i=n(79442),o=n(61013),l=n(20881),s=r.forwardRef((e,t)=>{var n,s;let{container:a,...c}=e,[d,f]=r.useState(!1);(0,o.b)(()=>f(!0),[]);let v=a||d&&(null===(s=globalThis)||void 0===s?void 0:null===(n=s.document)||void 0===n?void 0:n.body);return v?u.createPortal((0,l.jsx)(i.WV.div,{...c,ref:t}),v):null});s.displayName="Portal"},79442:function(e,t,n){n.d(t,{WV:function(){return l},jH:function(){return s}});var r=n(64149),u=n(50149),i=n(54098),o=n(20881),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...u}=e,l=r?i.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(l,{...u,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function s(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}},2441:function(e,t,n){n.d(t,{W:function(){return u}});var r=n(64149);function u(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},45306:function(e,t,n){n.d(t,{T:function(){return i}});var r=n(64149),u=n(2441);function i({prop:e,defaultProp:t,onChange:n=()=>{}}){let[i,o]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[i]=n,o=r.useRef(i),l=(0,u.W)(t);return r.useEffect(()=>{o.current!==i&&(l(i),o.current=i)},[i,o,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,s=l?e:i,a=(0,u.W)(n);return[s,r.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&a(n)}else o(t)},[l,e,o,a])]}},61013:function(e,t,n){n.d(t,{b:function(){return u}});var r=n(64149),u=globalThis?.document?r.useLayoutEffect:()=>{}},20116:function(e,t,n){n.d(t,{j:function(){return i}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,u=function(){for(var e,t,n=0,r="";nn=>{var i;if((null==t?void 0:t.variants)==null)return u(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:o,defaultVariants:l}=t,s=Object.keys(o).map(e=>{let t=null==n?void 0:n[e],u=null==l?void 0:l[e];if(null===t)return null;let i=r(t)||r(u);return o[e][i]}),a=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return u(e,s,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:n,className:r,...u}=t;return Object.entries(u).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...a}[t]):({...l,...a})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/_not-found/page-5b4fe3c9c99f378b.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/_not-found/page-5b4fe3c9c99f378b.js
new file mode 100644
index 0000000..815cbec
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/_not-found/page-5b4fe3c9c99f378b.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7409],{66325:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return n(89094)}])},89094:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}}),n(88806);let i=n(20881);n(64149);let o={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},l={display:"inline-block"},r={display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},d={fontSize:14,fontWeight:400,lineHeight:"49px",margin:0};function s(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("title",{children:"404: This page could not be found."}),(0,i.jsx)("div",{style:o,children:(0,i.jsxs)("div",{children:[(0,i.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,i.jsx)("h1",{className:"next-error-h1",style:r,children:"404"}),(0,i.jsx)("div",{style:l,children:(0,i.jsx)("h2",{style:d,children:"This page could not be found."})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},function(e){e.O(0,[8985,5330,1744],function(){return e(e.s=66325)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/about/page-457768215dca2f2c.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/about/page-457768215dca2f2c.js
new file mode 100644
index 0000000..3a8d6f9
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/about/page-457768215dca2f2c.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9878],{26888:function(e,n,t){Promise.resolve().then(t.bind(t,13967))},13967:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return o}});var r=t(20881),s=t(64149),a=t(94920),l=()=>{let[e,n]=(0,s.useState)(null),[t,r]=(0,s.useState)(!0),a=(0,s.useCallback)(async()=>{try{r(!0);let e=await fetch("/cgi-bin/fetch_data.sh?set=3"),t=await e.json();console.log("Fetched about data:",t);let s={manufacturer:t[0].response.split("\n")[1].trim(),model:t[1].response.split("\n")[1].trim(),firmwareVersion:t[2].response.split("\n")[1].trim(),phoneNum:t[3].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim(),imsi:t[4].response.split("\n")[1].trim(),iccid:t[5].response.split("\n")[1].split(":")[1].trim(),imei:t[6].response.split("\n")[1].trim(),currentDeviceIP:t[7].response.split("\n")[1].split(",")[1].replace(/"/g,"").trim(),lanGateway:t[7].response.split("\n")[1].split(":")[1].split(",")[3].replace(/"/g,"").trim(),wwanIPv4:t[8].response.split("\n")[1].split(":")[1].split(",")[4].replace(/"/g,"").trim(),wwanIPv6:t[8].response.split("\n")[2].split(",")[4].replace(/"/g,"").trim(),lteCategory:t[9].response.split("\n")[5].split(":")[2].trim()};n(s),console.log("Processed cell settings data:",s)}catch(e){console.error("Error fetching cell settings data:",e)}r(!1)},[]);return(0,s.useEffect)(()=>{a()},[a]),{data:e,isLoading:t,fetchAboutData:a}},i=t(24004),c=t(88766),o=()=>{let{data:e,isLoading:n}=l();return(0,r.jsxs)(a.Zb,{children:[(0,r.jsxs)(a.Ol,{children:[(0,r.jsx)(a.ll,{children:"QuecManager"}),(0,r.jsx)(a.SZ,{children:"What is QuecManager and how it can help you."})]}),(0,r.jsxs)(a.aY,{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-8",children:[(0,r.jsxs)(a.Zb,{children:[(0,r.jsxs)(a.Ol,{children:[(0,r.jsx)(a.ll,{children:"Device Technical Details"}),(0,r.jsx)(a.SZ,{children:"View technical details of your device."})]}),(0,r.jsx)(a.aY,{children:(0,r.jsxs)(i.x,{className:"w-full",children:[(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Modem Manufacturer"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.manufacturer)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Modem Model"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.model)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Firmware Revision"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.firmwareVersion)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"LTE Category"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsxs)(r.Fragment,{children:["CAT-",(null==e?void 0:e.lteCategory)||"N/A"]})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Active Phone Number"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.phoneNum)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Active IMSI"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.imsi)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Active ICCID"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.iccid)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"IMEI"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.imei)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Current Device IP"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.currentDeviceIP)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"LAN Gateway"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.lanGateway)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"WWAN IPv4"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.wwanIPv4)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"WWAN IPv6"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.wwanIPv6)||"N/A"})})]})]}),(0,r.jsx)(i.B,{orientation:"horizontal"})]})})]}),(0,r.jsxs)(a.Zb,{children:[(0,r.jsxs)(a.Ol,{children:[(0,r.jsx)(a.ll,{children:"About Us"}),(0,r.jsx)(a.SZ,{children:"Who we are and what we do."})]}),(0,r.jsxs)(a.aY,{className:"space-y-6",children:[(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("h1",{className:"text-xl font-bold antialiased",children:"QuecManager"}),(0,r.jsx)("p",{className:"text-md font-medium antialiased",children:"QuecManager began as 'Simple Admin,' a straightforward GUI in the RGMII toolkit. Over time, it’s evolved into a comprehensive dashboard with powerful features for managing cellular modems. While we’ve moved beyond the 'Simple' name, our goal remains the same: providing a clean, easy-to-use interface that makes advanced modem management feel straightforward and accessible."})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-xl font-bold antialiased",children:"Thanks to"}),(0,r.jsxs)("ul",{className:"list-disc list-inside text-md font-medium antialiased",children:[(0,r.jsxs)("li",{children:["RGMII Toolkit and Documentation, and Backend",(0,r.jsx)("a",{href:"https://github.com/iamromulan",target:"_blank",className:"text-primary font-semibold ml-2",children:"iamromulan"})]}),(0,r.jsxs)("li",{children:["Simple Admin 2.0 and QuecManager GUI",(0,r.jsx)("a",{href:"https://github.com/dr-dolomite",target:"_blank",className:"text-primary font-semibold ml-2",children:"dr-dolomite"})]}),(0,r.jsxs)("li",{children:["SMS Feature",(0,r.jsx)("a",{href:"https://github.com/snjzb",target:"_blank",className:"text-primary font-semibold ml-2",children:"snjzb"})]}),(0,r.jsxs)("li",{children:["Original Simple Admin",(0,r.jsx)("a",{href:"https://github.com/aesthernr",target:"_blank",className:"text-primary font-semibold ml-2",children:"aesthernr"})]}),(0,r.jsxs)("li",{children:["Original Socat Bridge",(0,r.jsx)("a",{href:"https://github.com/natecarlson",target:"_blank",className:"text-primary font-semibold ml-2",children:"natecarlson"})]}),(0,r.jsx)("li",{children:"Wutang Clan"})]})]})]})]})]}),(0,r.jsx)(a.eW,{className:"flex justify-center",children:(0,r.jsx)("p",{children:"QuecManager \xa9 2024 - For Personal Use Only. All rights reserved."})})]})}},94920:function(e,n,t){"use strict";t.d(n,{Ol:function(){return i},SZ:function(){return o},Zb:function(){return l},aY:function(){return d},eW:function(){return u},ll:function(){return c}});var r=t(20881),s=t(64149),a=t(90270);let l=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...s})});l.displayName="Card";let i=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",t),...s})});i.displayName="CardHeader";let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("h3",{ref:n,className:(0,a.cn)("font-semibold leading-none tracking-tight",t),...s})});c.displayName="CardTitle";let o=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("p",{ref:n,className:(0,a.cn)("text-sm text-muted-foreground",t),...s})});o.displayName="CardDescription";let d=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("p-6 pt-0",t),...s})});d.displayName="CardContent";let u=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("flex items-center p-6 pt-0",t),...s})});u.displayName="CardFooter"},24004:function(e,n,t){"use strict";t.d(n,{B:function(){return c},x:function(){return i}});var r=t(20881),s=t(64149),a=t(82310),l=t(90270);let i=s.forwardRef((e,n)=>{let{className:t,children:s,...i}=e;return(0,r.jsxs)(a.fC,{ref:n,className:(0,l.cn)("relative overflow-hidden",t),...i,children:[(0,r.jsx)(a.l_,{className:"h-full w-full rounded-[inherit]",children:s}),(0,r.jsx)(c,{}),(0,r.jsx)(a.Ns,{})]})});i.displayName=a.fC.displayName;let c=s.forwardRef((e,n)=>{let{className:t,orientation:s="vertical",...i}=e;return(0,r.jsx)(a.gb,{ref:n,orientation:s,className:(0,l.cn)("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...i,children:(0,r.jsx)(a.q4,{className:"relative flex-1 rounded-full bg-border"})})});c.displayName=a.gb.displayName},88766:function(e,n,t){"use strict";t.d(n,{O:function(){return a}});var r=t(20881),s=t(90270);function a(e){let{className:n,...t}=e;return(0,r.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-primary/10",n),...t})}},90270:function(e,n,t){"use strict";t.d(n,{cn:function(){return a}});var r=t(33958),s=t(61779);function a(){for(var e=arguments.length,n=Array(e),t=0;t{let{children:n,...a}=e,l=r.useMemo(()=>a,Object.values(a));return(0,s.jsx)(t.Provider,{value:l,children:n})};return a.displayName=e+"Provider",[a,function(s){let a=r.useContext(t);if(a)return a;if(void 0!==n)return n;throw Error(`\`${s}\` must be used within \`${e}\``)}]}function l(e,n=[]){let t=[],a=()=>{let n=t.map(e=>r.createContext(e));return function(t){let s=t?.[e]||n;return r.useMemo(()=>({[`__scope${e}`]:{...t,[e]:s}}),[t,s])}};return a.scopeName=e,[function(n,a){let l=r.createContext(a),i=t.length;t=[...t,a];let c=n=>{let{scope:t,children:a,...c}=n,o=t?.[e]?.[i]||l,d=r.useMemo(()=>c,Object.values(c));return(0,s.jsx)(o.Provider,{value:d,children:a})};return c.displayName=n+"Provider",[c,function(t,s){let c=s?.[e]?.[i]||l,o=r.useContext(c);if(o)return o;if(void 0!==a)return a;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let s=t.reduce((n,{useScope:t,scopeName:r})=>{let s=t(e)[`__scope${r}`];return{...n,...s}},{});return r.useMemo(()=>({[`__scope${n.scopeName}`]:s}),[s])}};return t.scopeName=n.scopeName,t}(a,...n)]}},45485:function(e,n,t){"use strict";t.d(n,{z:function(){return l}});var r=t(64149),s=t(83954),a=t(61013),l=e=>{var n,t;let l,c;let{present:o,children:d}=e,u=function(e){var n,t;let[s,l]=r.useState(),c=r.useRef({}),o=r.useRef(e),d=r.useRef("none"),[u,m]=(n=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},n));return r.useEffect(()=>{let e=i(c.current);d.current="mounted"===u?e:"none"},[u]),(0,a.b)(()=>{let n=c.current,t=o.current;if(t!==e){let r=d.current,s=i(n);e?m("MOUNT"):"none"===s||(null==n?void 0:n.display)==="none"?m("UNMOUNT"):t&&r!==s?m("ANIMATION_OUT"):m("UNMOUNT"),o.current=e}},[e,m]),(0,a.b)(()=>{if(s){var e;let n;let t=null!==(e=s.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=i(c.current).includes(e.animationName);if(e.target===s&&r&&(m("ANIMATION_END"),!o.current)){let e=s.style.animationFillMode;s.style.animationFillMode="forwards",n=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=e)})}},a=e=>{e.target===s&&(d.current=i(c.current))};return s.addEventListener("animationstart",a),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{t.clearTimeout(n),s.removeEventListener("animationstart",a),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}m("ANIMATION_END")},[s,m]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{e&&(c.current=getComputedStyle(e)),l(e)},[])}}(o),m="function"==typeof d?d({present:u.isPresent}):r.Children.only(d),f=(0,s.e)(u.ref,(l=null===(n=Object.getOwnPropertyDescriptor(m.props,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in l&&l.isReactWarning?m.ref:(l=null===(t=Object.getOwnPropertyDescriptor(m,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in l&&l.isReactWarning?m.props.ref:m.props.ref||m.ref);return"function"==typeof d||u.isPresent?r.cloneElement(m,{ref:f}):null};function i(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},79442:function(e,n,t){"use strict";t.d(n,{WV:function(){return i},jH:function(){return c}});var r=t(64149),s=t(50149),a=t(54098),l=t(20881),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{let t=r.forwardRef((e,t)=>{let{asChild:r,...s}=e,i=r?a.g7:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i,{...s,ref:t})});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function c(e,n){e&&s.flushSync(()=>e.dispatchEvent(n))}},2441:function(e,n,t){"use strict";t.d(n,{W:function(){return s}});var r=t(64149);function s(e){let n=r.useRef(e);return r.useEffect(()=>{n.current=e}),r.useMemo(()=>(...e)=>n.current?.(...e),[])}},61013:function(e,n,t){"use strict";t.d(n,{b:function(){return s}});var r=t(64149),s=globalThis?.document?r.useLayoutEffect:()=>{}}},function(e){e.O(0,[4059,2310,8985,5330,1744],function(){return e(e.s=26888)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-b3abeb1a34930b18.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-b3abeb1a34930b18.js
new file mode 100644
index 0000000..fb9ef22
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-b3abeb1a34930b18.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4164],{88276:function(e,t,r){Promise.resolve().then(r.bind(r,21585))},21585:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return A}});var a=r(20881),n=r(64149),s=r(94920),o=r(24004),l=r(78580),i=r(21501),d=r(75577),c=r(33335),u=r(36306),m=r(92093);let f=(0,m.Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var p=r(75526);let x=(0,m.Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);var h=r(47657),y=r(46646),g=r(16236),v=r(90270);let b=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{className:"relative w-full overflow-auto",children:(0,a.jsx)("table",{ref:t,className:(0,v.cn)("w-full caption-bottom text-sm",r),...n})})});b.displayName="Table";let j=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("thead",{ref:t,className:(0,v.cn)("[&_tr]:border-b",r),...n})});j.displayName="TableHeader";let w=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tbody",{ref:t,className:(0,v.cn)("[&_tr:last-child]:border-0",r),...n})});w.displayName="TableBody",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tfoot",{ref:t,className:(0,v.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...n})}).displayName="TableFooter";let N=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tr",{ref:t,className:(0,v.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...n})});N.displayName="TableRow";let C=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("th",{ref:t,className:(0,v.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})});C.displayName="TableHead";let T=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("td",{ref:t,className:(0,v.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})});T.displayName="TableCell";let S=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("caption",{ref:t,className:(0,v.cn)("mt-4 text-sm text-muted-foreground",r),...n})});S.displayName="TableCaption";var A=()=>{let e=(0,y.pm)(),[t,r]=(0,n.useState)(""),[m,v]=(0,n.useState)(""),[A,R]=(0,n.useState)([]),[k,O]=(0,n.useState)([]),[D,E]=(0,n.useState)([]),[_,I]=(0,n.useState)(!1),[z,Z]=(0,n.useState)([]),[F,M]=(0,n.useState)(!0);(0,n.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/advance/fetch_commands.sh"),t=await e.json(),r=Object.entries(t).filter(e=>{let[t]=e;return"error"!==t}).map(e=>{let[t,r]=e;return{description:t,command:r}});if(0===r.length&&t.error)throw Error(t.error);Z(r)}catch(t){console.error("Failed to fetch AT commands:",t),e.toast({title:"Error",description:t instanceof Error?t.message:"Failed to load common AT commands",variant:"destructive"})}finally{M(!1)}})()},[e]),(0,n.useEffect)(()=>{let e=window.localStorage.getItem("atCommandHistory"),t=window.localStorage.getItem("atCommands");if(e)try{let t=JSON.parse(e);R(t)}catch(e){console.error("Failed to parse command history:",e),R([])}if(t)try{let e=JSON.parse(t);E(e)}catch(e){console.error("Failed to parse previous commands:",e),E([])}},[]),(0,n.useEffect)(()=>{A.length>0&&window.localStorage.setItem("atCommandHistory",JSON.stringify(A))},[A]),(0,n.useEffect)(()=>{D.length>0&&window.localStorage.setItem("atCommands",JSON.stringify(D))},[D]);let H=e=>e.trim(),L=e=>{try{return JSON.parse(e).output}catch(t){return e}},V=async()=>{if(m.trim()){I(!0),v(""),r("");try{let e=H(m),t=encodeURIComponent(e),a=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)}),n=await a.text(),s=L(n),o={command:m,response:s,timestamp:new Date().toISOString()};R(e=>[o,...e]),r(e=>"".concat(e).concat(e?"\n":"","> ").concat(m,"\n\n").concat(s)),D.includes(m)||E(e=>[...e,m])}catch(t){let e=t instanceof Error?t.message:"An unknown error occurred";r(t=>"".concat(t).concat(t?"\n":"","Error: ").concat(e))}finally{I(!1)}}},W=e=>{v(e),O([])},Y=e=>{R(t=>{let r=[...t];return r.splice(e,1),0===r.length&&window.localStorage.removeItem("atCommandHistory"),r})},P=e=>{E(t=>{let r=t.filter(t=>t!==e);return window.localStorage.setItem("atCommands",JSON.stringify(r)),r}),O(t=>t.filter(t=>t!==e))},B=async t=>{try{if(navigator.clipboard&&window.isSecureContext)await navigator.clipboard.writeText(t);else{let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.left="-999999px",e.style.top="-999999px",document.body.appendChild(e),e.focus(),e.select();try{document.execCommand("copy")}catch(e){throw console.error("Fallback: Oops, unable to copy",e),Error("Copy failed")}finally{e.remove()}}e.toast({title:"Copied!",description:'Command "'.concat(t,'" copied to clipboard'),duration:2e3})}catch(t){console.error("Failed to copy command:",t),e.toast({title:"Error",description:"Failed to copy command to clipboard",variant:"destructive",duration:3e3})}};return(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(s.Zb,{children:[(0,a.jsxs)(s.Ol,{children:[(0,a.jsx)(s.ll,{children:"AT Terminal"}),(0,a.jsx)(s.SZ,{children:"Send AT commands to your device"})]}),(0,a.jsx)(s.aY,{children:(0,a.jsxs)("div",{className:"grid gap-8 w-full max-w-screen p-4",children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(i._,{htmlFor:"ATOutput",children:"AT Command Output"}),(0,a.jsx)(d.g,{value:t,placeholder:"AT command output will appear here...",readOnly:!0,className:"h-[240px] font-mono",id:"ATOutput"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(h.Z,{className:"mb-2"}),0===A.length?(0,a.jsx)("p",{className:"italic text-sm text-muted-foreground font-medium text-center",children:"Command History is Empty"}):(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,a.jsx)(i._,{children:"Command History"}),(0,a.jsxs)(g.aR,{children:[(0,a.jsx)(g.vW,{asChild:!0,children:(0,a.jsxs)(l.z,{variant:"outline",size:"sm",children:[(0,a.jsx)(u.Z,{className:"h-4 w-4 text-rose-500"}),"Clear All"]})}),(0,a.jsxs)(g._T,{children:[(0,a.jsxs)(g.fY,{children:[(0,a.jsx)(g.f$,{children:"Clear Command History"}),(0,a.jsx)(g.yT,{children:"This action cannot be undone. This will permanently delete your command history."})]}),(0,a.jsxs)(g.xo,{children:[(0,a.jsx)(g.le,{children:"Cancel"}),(0,a.jsx)(g.OL,{onClick:()=>{R([]),window.localStorage.removeItem("atCommandHistory")},children:"Continue"})]})]})]})]}),(0,a.jsx)(o.x,{className:"h-[180px] p-4",children:(0,a.jsx)("div",{className:"grid gap-y-2",children:A.map((e,t)=>(0,a.jsx)(s.Zb,{children:(0,a.jsx)(s.aY,{className:"p-3 relative",children:(0,a.jsxs)(o.x,{className:"max-w-xs md:max-w-full",children:[(0,a.jsx)(l.z,{variant:"ghost",size:"icon",className:"absolute right-2 top-2 h-4 w-4",onClick:()=>Y(t),children:(0,a.jsx)(f,{className:"h-4 w-4"})}),(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:e.command}),(0,a.jsx)("p",{className:"whitespace-pre-wrap font-mono",children:e.response})]}),(0,a.jsx)(o.B,{orientation:"horizontal"})]})})},"".concat(e.timestamp,"-").concat(t)))})})]}),(0,a.jsx)(h.Z,{className:"mt-2"})]}),(0,a.jsxs)("div",{className:"grid gap-1.5 relative",children:[(0,a.jsx)(i._,{htmlFor:"ATInput",children:"AT Command Input"}),(0,a.jsx)(c.I,{value:m,onChange:e=>{let t=e.target.value;v(t),t.trim()?O(D.filter(e=>e.toLowerCase().includes(t.toLowerCase()))):O([])},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),V())},placeholder:"ATI",id:"ATInput",disabled:_,autoComplete:"off"}),k.length>0&&(0,a.jsx)("div",{className:"absolute top-full mt-1 bg-background border rounded-md shadow-lg z-10",children:(0,a.jsx)(o.x,{className:"h-24",children:k.map((e,t)=>(0,a.jsxs)("div",{className:"p-2 hover:bg-accent cursor-pointer flex items-center justify-between group",children:[(0,a.jsx)("p",{className:"text-sm font-medium text-muted-foreground flex-grow",onClick:()=>W(e),children:e}),(0,a.jsx)(l.z,{variant:"ghost",size:"icon",className:"h-4 w-4 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>{t.stopPropagation(),P(e)},children:(0,a.jsx)(f,{className:"h-4 w-4"})})]},t))})}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Your successful commands will be saved for autocomplete."})]})]})}),(0,a.jsx)(s.eW,{className:"grid border-t py-4",children:(0,a.jsxs)(l.z,{onClick:V,disabled:_,children:[(0,a.jsx)(p.Z,{className:"mr-2"}),_?"Sending...":"Send Command"]})})]}),(0,a.jsxs)(s.Zb,{children:[(0,a.jsxs)(s.Ol,{children:[(0,a.jsx)(s.ll,{children:"Common AT Commands List"}),(0,a.jsx)(s.SZ,{children:"Here are some common AT commands you can try:"})]}),(0,a.jsx)(s.aY,{children:(0,a.jsxs)(b,{children:[(0,a.jsx)(S,{children:"AT Command List"}),(0,a.jsx)(j,{children:(0,a.jsxs)(N,{children:[(0,a.jsx)(C,{children:"AT Command"}),(0,a.jsx)(C,{className:"text-right",children:"Description"})]})}),(0,a.jsx)(w,{children:F?(0,a.jsx)(N,{children:(0,a.jsx)(T,{colSpan:3,className:"text-center",children:"Loading commands..."})}):0===z.length?(0,a.jsx)(N,{children:(0,a.jsx)(T,{colSpan:3,className:"text-center",children:"No commands available"})}):z.map((e,t)=>(0,a.jsxs)(N,{children:[(0,a.jsxs)(T,{className:"flex items-center gap-x-2",children:[(0,a.jsx)("p",{className:"font-mono truncate max-w-6 md:max-w-md",children:e.command}),(0,a.jsx)(x,{className:"w-3 h-3 hover:text-purple-300 cursor-pointer",onClick:()=>B(e.command)})]}),(0,a.jsx)(T,{className:"text-right max-w-10 md:max-w-lg",children:e.description})]},t))})]})})]})]})}},16236:function(e,t,r){"use strict";r.d(t,{aR:function(){return E},OL:function(){return L},le:function(){return V},_T:function(){return z},yT:function(){return H},xo:function(){return F},fY:function(){return Z},f$:function(){return M},vW:function(){return _}});var a=r(20881),n=r(64149),s=r(74873),o=r(83954),l=r(14491),i=r(64433),d=r(54098),c="AlertDialog",[u,m]=(0,s.b)(c,[l.p8]),f=(0,l.p8)(),p=e=>{let{__scopeAlertDialog:t,...r}=e,n=f(t);return(0,a.jsx)(l.fC,{...n,...r,modal:!0})};p.displayName=c;var x=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.xz,{...s,...n,ref:t})});x.displayName="AlertDialogTrigger";var h=e=>{let{__scopeAlertDialog:t,...r}=e,n=f(t);return(0,a.jsx)(l.h_,{...n,...r})};h.displayName="AlertDialogPortal";var y=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.aV,{...s,...n,ref:t})});y.displayName="AlertDialogOverlay";var g="AlertDialogContent",[v,b]=u(g),j=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:s,...c}=e,u=f(r),m=n.useRef(null),p=(0,o.e)(t,m),x=n.useRef(null);return(0,a.jsx)(l.jm,{contentName:g,titleName:w,docsSlug:"alert-dialog",children:(0,a.jsx)(v,{scope:r,cancelRef:x,children:(0,a.jsxs)(l.VY,{role:"alertdialog",...u,...c,ref:p,onOpenAutoFocus:(0,i.M)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=x.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,a.jsx)(d.A4,{children:s}),(0,a.jsx)(k,{contentRef:m})]})})})});j.displayName=g;var w="AlertDialogTitle",N=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.Dx,{...s,...n,ref:t})});N.displayName=w;var C="AlertDialogDescription",T=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.dk,{...s,...n,ref:t})});T.displayName=C;var S=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.x8,{...s,...n,ref:t})});S.displayName="AlertDialogAction";var A="AlertDialogCancel",R=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,{cancelRef:s}=b(A,r),i=f(r),d=(0,o.e)(t,s);return(0,a.jsx)(l.x8,{...i,...n,ref:d})});R.displayName=A;var k=e=>{let{contentRef:t}=e,r="`".concat(g,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(g,"` by passing a `").concat(C,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(g,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return n.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(r)},[r,t]),null},O=r(90270),D=r(78580);let E=p,_=x,I=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(y,{className:(0,O.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...n,ref:t})});I.displayName=y.displayName;let z=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsxs)(h,{children:[(0,a.jsx)(I,{}),(0,a.jsx)(j,{ref:t,className:(0,O.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...n})]})});z.displayName=j.displayName;let Z=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,O.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};Z.displayName="AlertDialogHeader";let F=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,O.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};F.displayName="AlertDialogFooter";let M=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(N,{ref:t,className:(0,O.cn)("text-lg font-semibold",r),...n})});M.displayName=N.displayName;let H=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(T,{ref:t,className:(0,O.cn)("text-sm text-muted-foreground",r),...n})});H.displayName=T.displayName;let L=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(S,{ref:t,className:(0,O.cn)((0,D.d)(),r),...n})});L.displayName=S.displayName;let V=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(R,{ref:t,className:(0,O.cn)((0,D.d)({variant:"outline"}),"mt-2 sm:mt-0",r),...n})});V.displayName=R.displayName},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return i},z:function(){return d}});var a=r(20881),n=r(64149),s=r(54098),o=r(20116),l=r(90270);let i=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,t)=>{let{className:r,variant:n,size:o,asChild:d=!1,...c}=e,u=d?s.g7:"button";return(0,a.jsx)(u,{className:(0,l.cn)(i({variant:n,size:o,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},SZ:function(){return d},Zb:function(){return o},aY:function(){return c},eW:function(){return u},ll:function(){return i}});var a=r(20881),n=r(64149),s=r(90270);let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});o.displayName="Card";let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...n})});l.displayName="CardHeader";let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",r),...n})});i.displayName="CardTitle";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...n})});d.displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...n})});u.displayName="CardFooter"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var a=r(20881),n=r(64149),s=r(90270);let o=n.forwardRef((e,t)=>{let{className:r,type:n,...o}=e;return(0,a.jsx)("input",{type:n,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});o.displayName="Input"},21501:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var a=r(20881),n=r(64149),s=r(51212),o=r(20116),l=r(90270);let i=(0,o.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.f,{ref:t,className:(0,l.cn)(i(),r),...n})});d.displayName=s.f.displayName},24004:function(e,t,r){"use strict";r.d(t,{B:function(){return i},x:function(){return l}});var a=r(20881),n=r(64149),s=r(82310),o=r(90270);let l=n.forwardRef((e,t)=>{let{className:r,children:n,...l}=e;return(0,a.jsxs)(s.fC,{ref:t,className:(0,o.cn)("relative overflow-hidden",r),...l,children:[(0,a.jsx)(s.l_,{className:"h-full w-full rounded-[inherit]",children:n}),(0,a.jsx)(i,{}),(0,a.jsx)(s.Ns,{})]})});l.displayName=s.fC.displayName;let i=n.forwardRef((e,t)=>{let{className:r,orientation:n="vertical",...l}=e;return(0,a.jsx)(s.gb,{ref:t,orientation:n,className:(0,o.cn)("flex touch-none select-none transition-colors","vertical"===n&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===n&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...l,children:(0,a.jsx)(s.q4,{className:"relative flex-1 rounded-full bg-border"})})});i.displayName=s.gb.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(20881),n=r(64149),s=r(48897),o=r(90270);let l=n.forwardRef((e,t)=>{let{className:r,orientation:n="horizontal",decorative:l=!0,...i}=e;return(0,a.jsx)(s.f,{ref:t,decorative:l,orientation:n,className:(0,o.cn)("shrink-0 bg-border","horizontal"===n?"h-[1px] w-full":"h-full w-[1px]",r),...i})});l.displayName=s.f.displayName},75577:function(e,t,r){"use strict";r.d(t,{g:function(){return o}});var a=r(20881),n=r(64149),s=r(90270);let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("textarea",{className:(0,s.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:t,...n})});o.displayName="Textarea"},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return m}});var a=r(64149);let n=0,s=new Map,o=e=>{if(s.has(e))return;let t=setTimeout(()=>{s.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);s.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?o(r):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},i=[],d={toasts:[]};function c(e){d=l(d,e),i.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||a()}}}),{id:r,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function m(){let[e,t]=a.useState(d);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var a=r(33958),n=r(61779);function s(){for(var e=arguments.length,t=Array(e),r=0;re.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var o={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,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:n=24,strokeWidth:l=2,absoluteStrokeWidth:i,className:d="",children:c,iconNode:u,...m}=e;return(0,a.createElement)("svg",{ref:t,...o,width:n,height:n,stroke:r,strokeWidth:i?24*Number(l)/Number(n):l,className:s("lucide",d),...m},[...u.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),i=(e,t)=>{let r=(0,a.forwardRef)((r,o)=>{let{className:i,...d}=r;return(0,a.createElement)(l,{ref:o,iconNode:t,className:s("lucide-".concat(n(e)),i),...d})});return r.displayName="".concat(e),r}},75526:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(92093).Z)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},36306:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(92093).Z)("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"}]])},51212:function(e,t,r){"use strict";r.d(t,{f:function(){return l}});var a=r(64149),n=r(79442),s=r(20881),o=a.forwardRef((e,t)=>(0,s.jsx)(n.WV.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())}}));o.displayName="Label";var l=o},48897:function(e,t,r){"use strict";r.d(t,{f:function(){return d}});var a=r(64149),n=r(79442),s=r(20881),o="horizontal",l=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=o,...i}=e,d=l.includes(a)?a:o;return(0,s.jsx)(n.WV.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...i,ref:t})});i.displayName="Separator";var d=i}},function(e){e.O(0,[4059,8714,217,4491,2310,8985,5330,1744],function(){return e(e.s=88276)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-d13607969762b01a.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-d13607969762b01a.js
new file mode 100644
index 0000000..6a8d1c9
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-d13607969762b01a.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4812],{53830:function(e,t,r){Promise.resolve().then(r.bind(r,8133))},8133:function(e,t,r){"use strict";r.r(t);var a=r(20881),s=r(64149),n=r(94920),o=r(22989),l=r(16236),i=r(46646),d=r(78580),c=r(21501),u=r(88766),f=r(47657),m=r(6120);t.default=()=>{let{toast:e}=(0,i.pm)(),[t,r]=(0,s.useState)(!0),[h,p]=(0,s.useState)([]),[x,g]=(0,s.useState)(!1),[j,v]=(0,s.useState)(""),[y,b]=(0,s.useState)({passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null}),[N,w]=(0,s.useState)({passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null}),P={passthrough:{disabled:'+QMAP="MPDN_rule",0;+QMAPWAC=1;+QPOWD=1',ETH:e=>'+QMAP="MPDN_rule",0,1,0,1,1,"'.concat(e,'";+QPOWD=1'),USB:e=>'+QMAP="MPDN_rule",0,1,0,3,1,"'.concat(e,'";+QPOWD=1')},modemProtocol:{rmnet:'+QCFG="usbnet",0;+QPOWD=1',ecm:'+QCFG="usbnet",1;+QPOWD=1',mbim:'+QCFG="usbnet",2;+QPOWD=1',rndis:'+QCFG="usbnet",3;+QPOWD=1'},dnsProxy:{enabled:'+QMAP="DHCPV4DNS","enable"',disabled:'+QMAP="DHCPV4DNS","disable"'}},D=e=>{let t={passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null};return e.forEach(e=>{let{response:r}=e;if(r.includes("MPDN_rule")){let e=r.split("\n")[1];e.includes('MPDN_rule",0,1,0,1,1')?t.passthrough="ETH":e.includes('MPDN_rule",0,1,0,3,1')?t.passthrough="USB":e.includes('MPDN_rule",0,0,0,0,0')&&(t.passthrough="disabled")}if(r.includes("usbnet")){let e=r.match(/usbnet",(\d)/);e&&(t.modemProtocol=({0:"rmnet",1:"ecm",2:"mbim",3:"rndis"})[e[1]])}r.includes("DHCPV4DNS")&&(r.includes('"enable"')?t.dnsProxy="enabled":r.includes('"disable"')&&(t.dnsProxy="disabled"))}),t},S=()=>{let e=[],t=Object.entries(N).reduce((e,t)=>{let[r,a]=t;return a!==y[r]&&(e[r]=a),e},{});if("passthrough"in t){if("disabled"===t.passthrough)e.push(P.passthrough.disabled.replace(";+QPOWD=1",""));else if(t.passthrough){let e=P.passthrough[t.passthrough](N.selectedMac);return"AT".concat(e.replace(";+QPOWD=1",""))}}if("modemProtocol"in t&&t.modemProtocol){let r=P.modemProtocol[t.modemProtocol];if(1===Object.keys(t).length)return"AT".concat(r.replace(";+QPOWD=1",""));e.push(r.replace(";+QPOWD=1",""))}if("dnsProxy"in t&&t.dnsProxy){let r=P.dnsProxy[t.dnsProxy];if(1===Object.keys(t).length)return"AT".concat(r);e.push(r)}return e.length>0?"AT".concat(e.join(";")):""},A=async()=>{try{let t=encodeURIComponent("AT+QPOWD=1");await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)}),e({title:"Success",description:"Settings saved and device is rebooting..."}),setTimeout(()=>{window.location.reload()},9e4)}catch(t){e({variant:"destructive",title:"Error",description:"Failed to reboot device",action:(0,a.jsx)(m.Z,{})})}},O=async()=>{try{let e=S();v(e),g(!0)}catch(t){e({variant:"destructive",title:"Error",description:"Failed to prepare settings",action:(0,a.jsx)(m.Z,{})})}},R=async()=>{try{let e=encodeURIComponent(j);if(!(await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(e)})).ok)throw Error("Failed to save settings");b({...N}),await A()}catch(t){e({variant:"destructive",title:"Error",description:"Failed to save settings",action:(0,a.jsx)(m.Z,{})})}};return(0,s.useEffect)(()=>{(async()=>{try{let[e,t]=await Promise.all([fetch("/cgi-bin/advance/fetch_macs.sh"),fetch("/cgi-bin/fetch_data.sh?set=4")]),[a,s]=await Promise.all([e.json(),t.json()]);p(a);let n=D(s);b(n),w(n),r(!1)}catch(t){r(!1),e({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Failed to fetch connectivity settings",action:(0,a.jsx)(m.Z,{})})}})()},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n.Zb,{children:[(0,a.jsxs)(n.Ol,{children:[(0,a.jsx)(n.ll,{children:"Connectivity Settings"}),(0,a.jsx)(n.SZ,{children:"Configure your device's connectivity settings."})]}),(0,a.jsx)(n.aY,{children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 grid-flow-row gap-6",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c._,{htmlFor:"passthrough",children:"IP Passthrough Mode"}),t?(0,a.jsx)(u.O,{className:"w-full h-8"}):(0,a.jsxs)(o.Ph,{onValueChange:e=>w(t=>({...t,passthrough:e})),value:N.passthrough||void 0,children:[(0,a.jsx)(o.i4,{children:(0,a.jsx)(o.ki,{placeholder:"Select IP Passthrough Mode"})}),(0,a.jsx)(o.Bw,{children:(0,a.jsxs)(o.DI,{children:[(0,a.jsx)(o.n5,{children:"Passthrough Mode"}),(0,a.jsx)(o.Ql,{value:"disabled",children:"Disabled"}),(0,a.jsx)(o.Ql,{value:"ETH",children:"ETH Passthrough Enabled"}),(0,a.jsx)(o.Ql,{value:"USB",children:"USB Passthrough Enabled"})]})})]})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c._,{htmlFor:"mac",children:"Connected MAC"}),t?(0,a.jsx)(u.O,{className:"w-full h-8"}):(0,a.jsxs)(o.Ph,{onValueChange:e=>w(t=>({...t,selectedMac:e})),value:N.selectedMac||void 0,disabled:!N.passthrough||"disabled"===N.passthrough,children:[(0,a.jsx)(o.i4,{children:(0,a.jsx)(o.ki,{placeholder:"Select Active MAC"})}),(0,a.jsx)(o.Bw,{children:(0,a.jsxs)(o.DI,{children:[(0,a.jsx)(o.n5,{children:"Active MAC"}),h.map(e=>(0,a.jsx)(o.Ql,{value:e.mac,children:"".concat(e.hostname," - ").concat(e.mac)},e.mac))]})})]})]}),(0,a.jsx)(f.Z,{className:"lg:col-span-2 col-span-1 my-2"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c._,{htmlFor:"modemProtocol",children:"USB Modem Protocol"}),t?(0,a.jsx)(u.O,{className:"w-full h-8"}):(0,a.jsxs)(o.Ph,{onValueChange:e=>w(t=>({...t,modemProtocol:e})),value:N.modemProtocol||void 0,children:[(0,a.jsx)(o.i4,{children:(0,a.jsx)(o.ki,{placeholder:"Select USB Modem Protocol"})}),(0,a.jsx)(o.Bw,{children:(0,a.jsxs)(o.DI,{children:[(0,a.jsx)(o.n5,{children:"USB Modem Protocol"}),(0,a.jsx)(o.Ql,{value:"rmnet",children:"RMNET"}),(0,a.jsx)(o.Ql,{value:"ecm",children:"ECM (Recommended)"}),(0,a.jsx)(o.Ql,{value:"mbim",children:"MBIM"}),(0,a.jsx)(o.Ql,{value:"rndis",children:"RNDIS"})]})})]})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c._,{htmlFor:"dnsProxy",children:"Onboard DNS Proxy Mode"}),t?(0,a.jsx)(u.O,{className:"w-full h-8"}):(0,a.jsxs)(o.Ph,{onValueChange:e=>w(t=>({...t,dnsProxy:e})),value:N.dnsProxy||void 0,children:[(0,a.jsx)(o.i4,{children:(0,a.jsx)(o.ki,{placeholder:"Select DNS Proxy Mode"})}),(0,a.jsx)(o.Bw,{children:(0,a.jsxs)(o.DI,{children:[(0,a.jsx)(o.n5,{children:"DNS Proxy Mode"}),(0,a.jsx)(o.Ql,{value:"enabled",children:"Enabled"}),(0,a.jsx)(o.Ql,{value:"disabled",children:"Disabled (Recommended for Passthrough)"})]})})]})]})]})}),(0,a.jsx)(n.eW,{className:"grid border-t py-4",children:(0,a.jsx)(d.z,{onClick:O,disabled:!Object.entries(N).some(e=>{let[t,r]=e;return r!==y[t]})||!(!N.passthrough||"disabled"===N.passthrough||N.selectedMac),children:"Save"})})]}),(0,a.jsx)(l.aR,{open:x,onOpenChange:g,children:(0,a.jsxs)(l._T,{children:[(0,a.jsxs)(l.fY,{children:[(0,a.jsx)(l.f$,{children:"Reboot Required"}),(0,a.jsx)(l.yT,{children:"The changes you made require a device reboot to take effect. Would you like to reboot now?"})]}),(0,a.jsxs)(l.xo,{children:[(0,a.jsx)(l.le,{children:"Later"}),(0,a.jsx)(l.OL,{onClick:R,children:"Save & Reboot Now"})]})]})})]})}},6120:function(e,t,r){"use strict";var a=r(20881),s=r(78580),n=r(35935);t.Z=()=>(0,a.jsx)(s.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,a.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,a.jsx)(n.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},16236:function(e,t,r){"use strict";r.d(t,{aR:function(){return T},OL:function(){return W},le:function(){return B},_T:function(){return E},yT:function(){return F},xo:function(){return I},fY:function(){return k},f$:function(){return z},vW:function(){return C}});var a=r(20881),s=r(64149),n=r(74873),o=r(83954),l=r(14491),i=r(64433),d=r(54098),c="AlertDialog",[u,f]=(0,n.b)(c,[l.p8]),m=(0,l.p8)(),h=e=>{let{__scopeAlertDialog:t,...r}=e,s=m(t);return(0,a.jsx)(l.fC,{...s,...r,modal:!0})};h.displayName=c;var p=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.xz,{...n,...s,ref:t})});p.displayName="AlertDialogTrigger";var x=e=>{let{__scopeAlertDialog:t,...r}=e,s=m(t);return(0,a.jsx)(l.h_,{...s,...r})};x.displayName="AlertDialogPortal";var g=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.aV,{...n,...s,ref:t})});g.displayName="AlertDialogOverlay";var j="AlertDialogContent",[v,y]=u(j),b=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:n,...c}=e,u=m(r),f=s.useRef(null),h=(0,o.e)(t,f),p=s.useRef(null);return(0,a.jsx)(l.jm,{contentName:j,titleName:N,docsSlug:"alert-dialog",children:(0,a.jsx)(v,{scope:r,cancelRef:p,children:(0,a.jsxs)(l.VY,{role:"alertdialog",...u,...c,ref:h,onOpenAutoFocus:(0,i.M)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=p.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,a.jsx)(d.A4,{children:n}),(0,a.jsx)(R,{contentRef:f})]})})})});b.displayName=j;var N="AlertDialogTitle",w=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.Dx,{...n,...s,ref:t})});w.displayName=N;var P="AlertDialogDescription",D=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.dk,{...n,...s,ref:t})});D.displayName=P;var S=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.x8,{...n,...s,ref:t})});S.displayName="AlertDialogAction";var A="AlertDialogCancel",O=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,{cancelRef:n}=y(A,r),i=m(r),d=(0,o.e)(t,n);return(0,a.jsx)(l.x8,{...i,...s,ref:d})});O.displayName=A;var R=e=>{let{contentRef:t}=e,r="`".concat(j,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(j,"` by passing a `").concat(P,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(j,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return s.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(r)},[r,t]),null},_=r(90270),M=r(78580);let T=h,C=p,Q=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(g,{className:(0,_.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...s,ref:t})});Q.displayName=g.displayName;let E=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsxs)(x,{children:[(0,a.jsx)(Q,{}),(0,a.jsx)(b,{ref:t,className:(0,_.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...s})]})});E.displayName=b.displayName;let k=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,_.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};k.displayName="AlertDialogHeader";let I=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,_.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};I.displayName="AlertDialogFooter";let z=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(w,{ref:t,className:(0,_.cn)("text-lg font-semibold",r),...s})});z.displayName=w.displayName;let F=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(D,{ref:t,className:(0,_.cn)("text-sm text-muted-foreground",r),...s})});F.displayName=D.displayName;let W=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(S,{ref:t,className:(0,_.cn)((0,M.d)(),r),...s})});W.displayName=S.displayName;let B=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(O,{ref:t,className:(0,_.cn)((0,M.d)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});B.displayName=O.displayName},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return i},z:function(){return d}});var a=r(20881),s=r(64149),n=r(54098),o=r(20116),l=r(90270);let i=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>{let{className:r,variant:s,size:o,asChild:d=!1,...c}=e,u=d?n.g7:"button";return(0,a.jsx)(u,{className:(0,l.cn)(i({variant:s,size:o,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},SZ:function(){return d},Zb:function(){return o},aY:function(){return c},eW:function(){return u},ll:function(){return i}});var a=r(20881),s=r(64149),n=r(90270);let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});o.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",r),...s})});l.displayName="CardHeader";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",r),...s})});i.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",r),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},21501:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var a=r(20881),s=r(64149),n=r(51212),o=r(20116),l=r(90270);let i=(0,o.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.f,{ref:t,className:(0,l.cn)(i(),r),...s})});d.displayName=n.f.displayName},22989:function(e,t,r){"use strict";r.d(t,{Bw:function(){return h},DI:function(){return d},Ph:function(){return i},Ql:function(){return x},i4:function(){return u},ki:function(){return c},n5:function(){return p}});var a=r(20881),s=r(64149),n=r(35935),o=r(62072),l=r(90270);let i=o.fC,d=o.ZA,c=o.B4,u=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(o.xz,{ref:t,className:(0,l.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),...i,children:[s,(0,a.jsx)(o.JO,{asChild:!0,children:(0,a.jsx)(n.jnn,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=o.xz.displayName;let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.u_,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,a.jsx)(n.g8U,{})})});f.displayName=o.u_.displayName;let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.$G,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,a.jsx)(n.v4q,{})})});m.displayName=o.$G.displayName;let h=s.forwardRef((e,t)=>{let{className:r,children:s,position:n="popper",...i}=e;return(0,a.jsx)(o.h_,{children:(0,a.jsxs)(o.VY,{ref:t,className:(0,l.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:n,...i,children:[(0,a.jsx)(f,{}),(0,a.jsx)(o.l_,{className:(0,l.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s}),(0,a.jsx)(m,{})]})})});h.displayName=o.VY.displayName;let p=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.__,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",r),...s})});p.displayName=o.__.displayName;let x=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(o.ck,{ref:t,className:(0,l.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...i,children:[(0,a.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(o.wU,{children:(0,a.jsx)(n.nQG,{className:"h-4 w-4"})})}),(0,a.jsx)(o.eT,{children:s})]})});x.displayName=o.ck.displayName,s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.Z0,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",r),...s})}).displayName=o.Z0.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(20881),s=r(64149),n=r(48897),o=r(90270);let l=s.forwardRef((e,t)=>{let{className:r,orientation:s="horizontal",decorative:l=!0,...i}=e;return(0,a.jsx)(n.f,{ref:t,decorative:l,orientation:s,className:(0,o.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",r),...i})});l.displayName=n.f.displayName},88766:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});var a=r(20881),s=r(90270);function n(e){let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var a=r(64149);let s=0,n=new Map,o=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?o(r):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},i=[],d={toasts:[]};function c(e){d=l(d,e),i.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||a()}}}),{id:r,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=a.useState(d);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return n}});var a=r(33958),s=r(61779);function n(){for(var e=arguments.length,t=Array(e),r=0;r(0,n.jsx)(s.WV.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())}}));o.displayName="Label";var l=o},48897:function(e,t,r){"use strict";r.d(t,{f:function(){return d}});var a=r(64149),s=r(79442),n=r(20881),o="horizontal",l=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=o,...i}=e,d=l.includes(a)?a:o;return(0,n.jsx)(s.WV.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...i,ref:t})});i.displayName="Separator";var d=i}},function(e){e.O(0,[792,4059,8714,217,5420,2072,4491,8985,5330,1744],function(){return e(e.s=53830)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/layout-ec27291099cba867.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/layout-ec27291099cba867.js
new file mode 100644
index 0000000..c77fefb
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/layout-ec27291099cba867.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1060],{89460:function(t,e,a){Promise.resolve().then(a.bind(a,27442))},27442:function(t,e,a){"use strict";a.r(e);var s=a(20881);a(64149);var n=a(27525),d=a(26509);e.default=t=>{let{children:e}=t,a=(0,n.usePathname)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,s.jsx)("h1",{className:"text-3xl font-semibold",children:"Advanced Settings"})}),(0,s.jsxs)("div",{className:"mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]",children:[(0,s.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,s.jsx)(d.default,{href:"/dashboard/advanced-settings/connectivity",className:"".concat("/dashboard/advanced-settings/connectivity/"===a?"font-semibold text-primary":"text-sm"),children:"Connectivity"}),(0,s.jsx)(d.default,{href:"/dashboard/advanced-settings/ttl-settings",className:"".concat("/dashboard/advanced-settings/ttl-settings/"===a?"font-semibold text-primary":"text-sm"),children:"TTL Settings"}),(0,s.jsx)(d.default,{href:"/dashboard/advanced-settings/mtu",className:"".concat("/dashboard/advanced-settings/mtu/"===a?"font-semibold text-primary":"text-sm"),children:"MTU Settings"}),(0,s.jsx)(d.default,{href:"/dashboard/advanced-settings/at-terminal",className:"".concat("/dashboard/advanced-settings/at-terminal/"===a?"font-semibold text-primary":"text-sm"),children:"AT Terminal"})]}),e]})]})}},27525:function(t,e,a){"use strict";var s=a(39886);a.o(s,"usePathname")&&a.d(e,{usePathname:function(){return s.usePathname}}),a.o(s,"useRouter")&&a.d(e,{useRouter:function(){return s.useRouter}})}},function(t){t.O(0,[6509,8985,5330,1744],function(){return t(t.s=89460)}),_N_E=t.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/mtu/page-c526f7d515da50e7.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/mtu/page-c526f7d515da50e7.js
new file mode 100644
index 0000000..ce50255
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/mtu/page-c526f7d515da50e7.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8654],{12541:function(e,t,r){Promise.resolve().then(r.bind(r,37569))},37569:function(e,t,r){"use strict";r.r(t);var n=r(20881),s=r(64149),i=r(94920),o=r(33335),a=r(23853),u=r(78580),c=r(46646),l=r(6120);t.default=()=>{let[e,t]=(0,s.useState)("1500"),[r,d]=(0,s.useState)(!1),[f,m]=(0,s.useState)(!0),[p,h]=(0,s.useState)(""),v=(0,c.pm)();(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/advance/mtu.sh"),r=await e.json();d(r.isEnabled),t(r.currentValue.toString()),m(!1)}catch(e){h("Failed to fetch MTU settings"),m(!1),v.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Failed to fetch MTU settings",action:(0,n.jsx)(l.Z,{})})}})()},[]);let b=async t=>{t.preventDefault(),h("");let s=r?e:"disable";try{let e=await fetch("/cgi-bin/advance/mtu.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"mtu=".concat(s)}),t=await e.json();!0===t.success?v.toast({title:"Success",description:t.message||"MTU settings saved successfully"}):v.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:t.error||"Failed to save MTU settings",action:(0,n.jsx)(l.Z,{})})}catch(e){h("Failed to save MTU settings"),v.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Network error while saving MTU settings",action:(0,n.jsx)(l.Z,{})})}};return f?(0,n.jsx)(i.Zb,{className:"w-full max-w-2xl mx-auto",children:(0,n.jsx)(i.aY,{className:"p-6",children:(0,n.jsx)("div",{className:"text-center",children:"Loading MTU settings..."})})}):(0,n.jsxs)(i.Zb,{children:[(0,n.jsxs)(i.Ol,{children:[(0,n.jsx)(i.ll,{children:"MTU Settings"}),(0,n.jsx)(i.SZ,{children:"Configure MTU for rmnet_data0 interface."})]}),(0,n.jsx)(i.aY,{children:(0,n.jsxs)("form",{onSubmit:b,className:"space-y-8",children:[(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{className:"text-sm font-medium",children:"MTU Value"}),(0,n.jsx)(o.I,{type:"number",value:e,onChange:e=>t(e.target.value),disabled:!r,className:"mt-1",min:"68",max:"9000"}),(0,n.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:"Set the MTU value for your connection (default: 1500)."})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between rounded-lg border p-4",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{className:"text-base font-medium",children:"MTU State"}),(0,n.jsx)("p",{className:"text-sm text-gray-500",children:"Toggle to enable or disable custom MTU value."})]}),(0,n.jsx)(a.r,{checked:r,onCheckedChange:e=>{d(e),e||t("1500")}})]})]}),(0,n.jsx)(u.z,{type:"submit",className:"w-full",children:"Save Configuration"})]})})]})}},6120:function(e,t,r){"use strict";var n=r(20881),s=r(78580),i=r(35935);t.Z=()=>(0,n.jsx)(s.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,n.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,n.jsx)(i.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return u},z:function(){return c}});var n=r(20881),s=r(64149),i=r(54098),o=r(20116),a=r(90270);let u=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((e,t)=>{let{className:r,variant:s,size:o,asChild:c=!1,...l}=e,d=c?i.g7:"button";return(0,n.jsx)(d,{className:(0,a.cn)(u({variant:s,size:o,className:r})),ref:t,...l})});c.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return a},SZ:function(){return c},Zb:function(){return o},aY:function(){return l},eW:function(){return d},ll:function(){return u}});var n=r(20881),s=r(64149),i=r(90270);let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});o.displayName="Card";let a=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",r),...s})});a.displayName="CardHeader";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("h3",{ref:t,className:(0,i.cn)("font-semibold leading-none tracking-tight",r),...s})});u.displayName="CardTitle";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",r),...s})});c.displayName="CardDescription";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",r),...s})});l.displayName="CardContent";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",r),...s})});d.displayName="CardFooter"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var n=r(20881),s=r(64149),i=r(90270);let o=s.forwardRef((e,t)=>{let{className:r,type:s,...o}=e;return(0,n.jsx)("input",{type:s,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});o.displayName="Input"},23853:function(e,t,r){"use strict";r.d(t,{r:function(){return N}});var n=r(20881),s=r(64149),i=r(64433),o=r(83954),a=r(74873),u=r(45306),c=r(32437),l=r(73452),d=r(79442),f="Switch",[m,p]=(0,a.b)(f),[h,v]=m(f),b=s.forwardRef((e,t)=>{let{__scopeSwitch:r,name:a,checked:c,defaultChecked:l,required:f,disabled:m,value:p="on",onCheckedChange:v,form:b,...g}=e,[x,j]=s.useState(null),N=(0,o.e)(t,e=>j(e)),S=s.useRef(!1),T=!x||b||!!x.closest("form"),[k=!1,M]=(0,u.T)({prop:c,defaultProp:l,onChange:v});return(0,n.jsxs)(h,{scope:r,checked:k,disabled:m,children:[(0,n.jsx)(d.WV.button,{type:"button",role:"switch","aria-checked":k,"aria-required":f,"data-state":w(k),"data-disabled":m?"":void 0,disabled:m,value:p,...g,ref:N,onClick:(0,i.M)(e.onClick,e=>{M(e=>!e),T&&(S.current=e.isPropagationStopped(),S.current||e.stopPropagation())})}),T&&(0,n.jsx)(y,{control:x,bubbles:!S.current,name:a,value:p,checked:k,required:f,disabled:m,form:b,style:{transform:"translateX(-100%)"}})]})});b.displayName=f;var g="SwitchThumb",x=s.forwardRef((e,t)=>{let{__scopeSwitch:r,...s}=e,i=v(g,r);return(0,n.jsx)(d.WV.span,{"data-state":w(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:t})});x.displayName=g;var y=e=>{let{control:t,checked:r,bubbles:i=!0,...o}=e,a=s.useRef(null),u=(0,c.D)(r),d=(0,l.t)(t);return s.useEffect(()=>{let e=a.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(u!==r&&t){let n=new Event("click",{bubbles:i});t.call(e,r),e.dispatchEvent(n)}},[u,r,i]),(0,n.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:a,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function w(e){return e?"checked":"unchecked"}var j=r(90270);let N=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(b,{className:(0,j.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r),...s,ref:t,children:(0,n.jsx)(x,{className:(0,j.cn)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})})});N.displayName=b.displayName},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var n=r(64149);let s=0,i=new Map,o=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);i.set(e,t)},a=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?o(r):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},u=[],c={toasts:[]};function l(e){c=a(c,e),u.forEach(e=>{e(c)})}function d(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>l({type:"DISMISS_TOAST",toastId:r});return l({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>l({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=n.useState(c);return n.useEffect(()=>(u.push(t),()=>{let e=u.indexOf(t);e>-1&&u.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return i}});var n=r(33958),s=r(61779);function i(){for(var e=arguments.length,t=Array(e),r=0;r{let{children:t,...i}=e,o=n.useMemo(()=>i,Object.values(i));return(0,s.jsx)(r.Provider,{value:o,children:t})};return i.displayName=e+"Provider",[i,function(s){let i=n.useContext(r);if(i)return i;if(void 0!==t)return t;throw Error(`\`${s}\` must be used within \`${e}\``)}]}function o(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let s=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:s}}),[r,s])}};return i.scopeName=e,[function(t,i){let o=n.createContext(i),a=r.length;r=[...r,i];let u=t=>{let{scope:r,children:i,...u}=t,c=r?.[e]?.[a]||o,l=n.useMemo(()=>u,Object.values(u));return(0,s.jsx)(c.Provider,{value:l,children:i})};return u.displayName=t+"Provider",[u,function(r,s){let u=s?.[e]?.[a]||o,c=n.useContext(u);if(c)return c;if(void 0!==i)return i;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 s=r.reduce((t,{useScope:r,scopeName:n})=>{let s=r(e)[`__scope${n}`];return{...t,...s}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}(i,...t)]}},79442:function(e,t,r){"use strict";r.d(t,{WV:function(){return a},jH:function(){return u}});var n=r(64149),s=r(50149),i=r(54098),o=r(20881),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=n.forwardRef((e,r)=>{let{asChild:n,...s}=e,a=n?i.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(a,{...s,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function u(e,t){e&&s.flushSync(()=>e.dispatchEvent(t))}},2441:function(e,t,r){"use strict";r.d(t,{W:function(){return s}});var n=r(64149);function s(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},45306:function(e,t,r){"use strict";r.d(t,{T:function(){return i}});var n=r(64149),s=r(2441);function i({prop:e,defaultProp:t,onChange:r=()=>{}}){let[i,o]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[i]=r,o=n.useRef(i),a=(0,s.W)(t);return n.useEffect(()=>{o.current!==i&&(a(i),o.current=i)},[i,o,a]),r}({defaultProp:t,onChange:r}),a=void 0!==e,u=a?e:i,c=(0,s.W)(r);return[u,n.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&c(r)}else o(t)},[a,e,o,c])]}},61013:function(e,t,r){"use strict";r.d(t,{b:function(){return s}});var n=r(64149),s=globalThis?.document?n.useLayoutEffect:()=>{}},32437:function(e,t,r){"use strict";r.d(t,{D:function(){return s}});var n=r(64149);function s(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},73452:function(e,t,r){"use strict";r.d(t,{t:function(){return i}});var n=r(64149),s=r(61013);function i(e){let[t,r]=n.useState(void 0);return(0,s.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,s;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,s=t.blockSize}else n=e.offsetWidth,s=e.offsetHeight;r({width:n,height:s})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},20116:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,s=function(){for(var e,t,r=0,n="";rr=>{var i;if((null==t?void 0:t.variants)==null)return s(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:a}=t,u=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],s=null==a?void 0:a[e];if(null===t)return null;let i=n(t)||n(s);return o[e][i]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return s(e,u,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:r,className:n,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...c}[t]):({...a,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},function(e){e.O(0,[792,4059,8985,5330,1744],function(){return e(e.s=12541)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-750c4d0e6d187ae1.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-750c4d0e6d187ae1.js
new file mode 100644
index 0000000..5d00d78
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-750c4d0e6d187ae1.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1876],{87168:function(e,t,r){Promise.resolve().then(r.bind(r,11597))},11597:function(e,t,r){"use strict";r.r(t);var n=r(20881),s=r(64149),i=r(94920),o=r(33335),a=r(23853),u=r(78580),c=r(46646),l=r(6120);t.default=()=>{let[e,t]=(0,s.useState)("0"),[r,d]=(0,s.useState)(!1),[f,m]=(0,s.useState)(!0),[p,h]=(0,s.useState)(""),[v,b]=(0,s.useState)(""),g=(0,c.pm)();(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/advance/ttl.sh"),r=await e.json();d(r.isEnabled),t(r.currentValue.toString()),m(!1)}catch(e){h("Failed to fetch TTL settings"),m(!1),g.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:p,action:(0,n.jsx)(l.Z,{})})}})()},[]);let x=async t=>{t.preventDefault(),h(""),b("");let s=r?e:"0";try{let e=await fetch("/cgi-bin/advance/ttl.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"ttl=".concat(s)}),t=await e.json();!0===t.success?g.toast({title:"Success",description:"Settings saved successfully"}):g.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Failed to save settings",action:(0,n.jsx)(l.Z,{})})}catch(e){h("Failed to save settings")}};return f?(0,n.jsx)(i.Zb,{className:"w-full max-w-2xl mx-auto",children:(0,n.jsx)(i.aY,{className:"p-6",children:(0,n.jsx)("div",{className:"text-center",children:"Loading TTL settings..."})})}):(0,n.jsxs)(i.Zb,{children:[(0,n.jsxs)(i.Ol,{children:[(0,n.jsx)(i.ll,{children:"TTL Settings"}),(0,n.jsx)(i.SZ,{children:"Configure TTL mangling for your connection."})]}),(0,n.jsx)(i.aY,{children:(0,n.jsxs)("form",{onSubmit:x,className:"space-y-8",children:[(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{className:"text-sm font-medium",children:"TTL Value"}),(0,n.jsx)(o.I,{type:"number",min:"0",max:"255",value:e,onChange:e=>t(e.target.value),disabled:!r,className:"mt-1"}),(0,n.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:"Set the TTL value for your connection (0-255)."})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between rounded-lg border p-4",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{className:"text-base font-medium",children:"TTL State"}),(0,n.jsx)("p",{className:"text-sm text-gray-500",children:"Toggle to enable or disable TTL mangling"})]}),(0,n.jsx)(a.r,{checked:r,onCheckedChange:d})]})]}),(0,n.jsx)(u.z,{type:"submit",className:"w-full",children:"Save Configuration"})]})})]})}},6120:function(e,t,r){"use strict";var n=r(20881),s=r(78580),i=r(35935);t.Z=()=>(0,n.jsx)(s.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,n.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,n.jsx)(i.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return u},z:function(){return c}});var n=r(20881),s=r(64149),i=r(54098),o=r(20116),a=r(90270);let u=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((e,t)=>{let{className:r,variant:s,size:o,asChild:c=!1,...l}=e,d=c?i.g7:"button";return(0,n.jsx)(d,{className:(0,a.cn)(u({variant:s,size:o,className:r})),ref:t,...l})});c.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return a},SZ:function(){return c},Zb:function(){return o},aY:function(){return l},eW:function(){return d},ll:function(){return u}});var n=r(20881),s=r(64149),i=r(90270);let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});o.displayName="Card";let a=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",r),...s})});a.displayName="CardHeader";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("h3",{ref:t,className:(0,i.cn)("font-semibold leading-none tracking-tight",r),...s})});u.displayName="CardTitle";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",r),...s})});c.displayName="CardDescription";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",r),...s})});l.displayName="CardContent";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",r),...s})});d.displayName="CardFooter"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var n=r(20881),s=r(64149),i=r(90270);let o=s.forwardRef((e,t)=>{let{className:r,type:s,...o}=e;return(0,n.jsx)("input",{type:s,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});o.displayName="Input"},23853:function(e,t,r){"use strict";r.d(t,{r:function(){return N}});var n=r(20881),s=r(64149),i=r(64433),o=r(83954),a=r(74873),u=r(45306),c=r(32437),l=r(73452),d=r(79442),f="Switch",[m,p]=(0,a.b)(f),[h,v]=m(f),b=s.forwardRef((e,t)=>{let{__scopeSwitch:r,name:a,checked:c,defaultChecked:l,required:f,disabled:m,value:p="on",onCheckedChange:v,form:b,...g}=e,[x,j]=s.useState(null),N=(0,o.e)(t,e=>j(e)),S=s.useRef(!1),T=!x||b||!!x.closest("form"),[k=!1,E]=(0,u.T)({prop:c,defaultProp:l,onChange:v});return(0,n.jsxs)(h,{scope:r,checked:k,disabled:m,children:[(0,n.jsx)(d.WV.button,{type:"button",role:"switch","aria-checked":k,"aria-required":f,"data-state":w(k),"data-disabled":m?"":void 0,disabled:m,value:p,...g,ref:N,onClick:(0,i.M)(e.onClick,e=>{E(e=>!e),T&&(S.current=e.isPropagationStopped(),S.current||e.stopPropagation())})}),T&&(0,n.jsx)(y,{control:x,bubbles:!S.current,name:a,value:p,checked:k,required:f,disabled:m,form:b,style:{transform:"translateX(-100%)"}})]})});b.displayName=f;var g="SwitchThumb",x=s.forwardRef((e,t)=>{let{__scopeSwitch:r,...s}=e,i=v(g,r);return(0,n.jsx)(d.WV.span,{"data-state":w(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:t})});x.displayName=g;var y=e=>{let{control:t,checked:r,bubbles:i=!0,...o}=e,a=s.useRef(null),u=(0,c.D)(r),d=(0,l.t)(t);return s.useEffect(()=>{let e=a.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(u!==r&&t){let n=new Event("click",{bubbles:i});t.call(e,r),e.dispatchEvent(n)}},[u,r,i]),(0,n.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:a,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function w(e){return e?"checked":"unchecked"}var j=r(90270);let N=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(b,{className:(0,j.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r),...s,ref:t,children:(0,n.jsx)(x,{className:(0,j.cn)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})})});N.displayName=b.displayName},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var n=r(64149);let s=0,i=new Map,o=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);i.set(e,t)},a=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?o(r):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},u=[],c={toasts:[]};function l(e){c=a(c,e),u.forEach(e=>{e(c)})}function d(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>l({type:"DISMISS_TOAST",toastId:r});return l({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>l({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=n.useState(c);return n.useEffect(()=>(u.push(t),()=>{let e=u.indexOf(t);e>-1&&u.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return i}});var n=r(33958),s=r(61779);function i(){for(var e=arguments.length,t=Array(e),r=0;r{let{children:t,...i}=e,o=n.useMemo(()=>i,Object.values(i));return(0,s.jsx)(r.Provider,{value:o,children:t})};return i.displayName=e+"Provider",[i,function(s){let i=n.useContext(r);if(i)return i;if(void 0!==t)return t;throw Error(`\`${s}\` must be used within \`${e}\``)}]}function o(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let s=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:s}}),[r,s])}};return i.scopeName=e,[function(t,i){let o=n.createContext(i),a=r.length;r=[...r,i];let u=t=>{let{scope:r,children:i,...u}=t,c=r?.[e]?.[a]||o,l=n.useMemo(()=>u,Object.values(u));return(0,s.jsx)(c.Provider,{value:l,children:i})};return u.displayName=t+"Provider",[u,function(r,s){let u=s?.[e]?.[a]||o,c=n.useContext(u);if(c)return c;if(void 0!==i)return i;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 s=r.reduce((t,{useScope:r,scopeName:n})=>{let s=r(e)[`__scope${n}`];return{...t,...s}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}(i,...t)]}},79442:function(e,t,r){"use strict";r.d(t,{WV:function(){return a},jH:function(){return u}});var n=r(64149),s=r(50149),i=r(54098),o=r(20881),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=n.forwardRef((e,r)=>{let{asChild:n,...s}=e,a=n?i.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(a,{...s,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function u(e,t){e&&s.flushSync(()=>e.dispatchEvent(t))}},2441:function(e,t,r){"use strict";r.d(t,{W:function(){return s}});var n=r(64149);function s(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},45306:function(e,t,r){"use strict";r.d(t,{T:function(){return i}});var n=r(64149),s=r(2441);function i({prop:e,defaultProp:t,onChange:r=()=>{}}){let[i,o]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[i]=r,o=n.useRef(i),a=(0,s.W)(t);return n.useEffect(()=>{o.current!==i&&(a(i),o.current=i)},[i,o,a]),r}({defaultProp:t,onChange:r}),a=void 0!==e,u=a?e:i,c=(0,s.W)(r);return[u,n.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&c(r)}else o(t)},[a,e,o,c])]}},61013:function(e,t,r){"use strict";r.d(t,{b:function(){return s}});var n=r(64149),s=globalThis?.document?n.useLayoutEffect:()=>{}},32437:function(e,t,r){"use strict";r.d(t,{D:function(){return s}});var n=r(64149);function s(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},73452:function(e,t,r){"use strict";r.d(t,{t:function(){return i}});var n=r(64149),s=r(61013);function i(e){let[t,r]=n.useState(void 0);return(0,s.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,s;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,s=t.blockSize}else n=e.offsetWidth,s=e.offsetHeight;r({width:n,height:s})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},20116:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,s=function(){for(var e,t,r=0,n="";rr=>{var i;if((null==t?void 0:t.variants)==null)return s(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:a}=t,u=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],s=null==a?void 0:a[e];if(null===t)return null;let i=n(t)||n(s);return o[e][i]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return s(e,u,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:r,className:n,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...c}[t]):({...a,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},function(e){e.O(0,[792,4059,8985,5330,1744],function(){return e(e.s=87168)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-a4794c21581a3f67.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-a4794c21581a3f67.js
new file mode 100644
index 0000000..cca3a40
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-a4794c21581a3f67.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[932],{7617:function(e,t,r){Promise.resolve().then(r.bind(r,31291))},31291:function(e,t,r){"use strict";r.r(t);var n=r(20881),s=r(64149),a=r(94920),i=r(835),o=r(78580),c=r(46646),d=r(5501),l=r(98228);let u={lte:"lte_band",nsa:"nsa_nr5g_band",sa:"nr5g_band"};t.default=()=>{let{toast:e}=(0,c.pm)(),[t,r]=(0,s.useState)({lte:[],nsa:[],sa:[]}),[f,p]=(0,s.useState)({lte:[],nsa:[],sa:[]}),[h,m]=(0,s.useState)(!0),g=async e=>{try{let t=encodeURIComponent(e),r=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t),signal:AbortSignal.timeout(5e3)});if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));let n=await r.json();if(n.error)throw Error(n.error);return n}catch(e){throw console.error("AT Command error:",e),e}},b=(e,t)=>{for(let r of e.output.split("\n"))if(r.includes(t)){let e=r.match(/"([^"]+)",(.+)/);if(e&&e[2])return e[2].split(":").map(Number)}return[]},v=async()=>{try{let e=(await g('AT+QNWPREFCFG="policy_band"')).output.split("\n"),t={lte:[],nsa:[],sa:[]};e.forEach(e=>{var r,n,s;e.includes('"lte_band"')?t.lte=(null===(r=e.split(",")[1])||void 0===r?void 0:r.split(":").map(Number))||[]:e.includes('"nsa_nr5g_band"')?t.nsa=(null===(n=e.split(",")[1])||void 0===n?void 0:n.split(":").map(Number))||[]:e.includes('"nrdc_nr5g_band"')&&(t.sa=(null===(s=e.split(",")[1])||void 0===s?void 0:s.split(":").map(Number))||[])}),r(t)}catch(t){console.error("Error fetching bands:",t),e({title:"Error",description:"Failed to fetch available bands.",variant:"destructive"})}},x=async()=>{try{let e=await g('AT+QNWPREFCFG="lte_band";+QNWPREFCFG="nsa_nr5g_band";+QNWPREFCFG="nr5g_band"'),t={lte:b(e,"lte_band"),nsa:b(e,'+QNWPREFCFG: "nsa_nr5g_band"'),sa:b(e,'+QNWPREFCFG: "nr5g_band"')};console.log("New Checked Bands: ",t),p(t),m(!1)}catch(t){console.error("Error fetching checked bands:",t),e({title:"Error",description:"Failed to fetch checked bands.",variant:"destructive"}),m(!1)}};(0,s.useEffect)(()=>{(async()=>{await v(),await x()})()},[]);let y=(e,t)=>{p(r=>({...r,[e]:r[e].includes(t)?r[e].filter(e=>e!==t):[...r[e],t].sort((e,t)=>e-t)}))},N=async t=>{try{let r=f[t].join(":");await g('AT+QNWPREFCFG="'.concat(u[t],'",').concat(r)),e({title:"Band Locking",description:"Bands locked successfully."}),await x()}catch(r){console.error("Error locking ".concat(t," bands:"),r),e({title:"Error",description:"Failed to lock ".concat(t.toUpperCase()," bands."),variant:"destructive"})}},w=e=>{p(t=>({...t,[e]:[]}))},_=async r=>{try{let n=t[r].join(":");await g('AT+QNWPREFCFG="'.concat(u[r],'",').concat(n)),e({title:"Reset Successful",description:"".concat(r.toUpperCase()," bands reset to default.")}),await x()}catch(t){console.error("Error resetting ".concat(r," bands:"),t),e({title:"Error",description:"Failed to reset ".concat(r.toUpperCase()," bands."),variant:"destructive"})}},E=e=>{let{title:r,description:s,bandType:c,prefix:u}=e;return(0,n.jsxs)(a.Zb,{children:[(0,n.jsxs)(a.Ol,{children:[(0,n.jsx)(a.ll,{children:r}),(0,n.jsx)(a.SZ,{children:s})]}),(0,n.jsx)(a.aY,{className:"grid lg:grid-cols-8 md:grid-cols-6 sm:grid-cols-4 grid-cols-3 grid-flow-row gap-4",children:h?(0,n.jsx)("div",{className:"col-span-8",children:"Fetching bands..."}):t[c].map(e=>(0,n.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,n.jsx)(i.X,{id:"".concat(c,"-").concat(e),checked:f[c].includes(e),onCheckedChange:()=>y(c,e)}),(0,n.jsxs)("label",{htmlFor:"".concat(c,"-").concat(e),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:[u,e]})]},e))}),(0,n.jsxs)(a.eW,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-3",children:[(0,n.jsxs)(o.z,{onClick:()=>N(c),children:[(0,n.jsx)(d.Z,{className:"h-4 w-4"}),"Lock Selected Bands"]}),(0,n.jsx)(o.z,{variant:"secondary",onClick:()=>w(c),children:"Uncheck All"}),(0,n.jsxs)(o.z,{variant:"secondary",onClick:()=>_(c),children:[(0,n.jsx)(l.Z,{className:"h-4 w-4"}),"Reset to Default"]})]})]})};return(0,n.jsxs)("div",{className:"grid gap-6",children:[(0,n.jsx)(E,{title:"4G LTE Band Locking",description:"Lock the device to specific LTE bands.",bandType:"lte",prefix:"B"}),(0,n.jsx)(E,{title:"NR5G-NSA Band Locking",description:"Lock the device to specific NR5G-NSA bands.",bandType:"nsa",prefix:"N"}),(0,n.jsx)(E,{title:"NR5G-SA Band Locking",description:"Lock the device to specific NR5G-SA bands.",bandType:"sa",prefix:"N"})]})}},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return c},z:function(){return d}});var n=r(20881),s=r(64149),a=r(54098),i=r(20116),o=r(90270);let c=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>{let{className:r,variant:s,size:i,asChild:d=!1,...l}=e,u=d?a.g7:"button";return(0,n.jsx)(u,{className:(0,o.cn)(c({variant:s,size:i,className:r})),ref:t,...l})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},SZ:function(){return d},Zb:function(){return i},aY:function(){return l},eW:function(){return u},ll:function(){return c}});var n=r(20881),s=r(64149),a=r(90270);let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});i.displayName="Card";let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",r),...s})});o.displayName="CardHeader";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("h3",{ref:t,className:(0,a.cn)("font-semibold leading-none tracking-tight",r),...s})});c.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("p",{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",r),...s})});d.displayName="CardDescription";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("p-6 pt-0",r),...s})});l.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},835:function(e,t,r){"use strict";r.d(t,{X:function(){return c}});var n=r(20881),s=r(64149),a=r(17533),i=r(35935),o=r(90270);let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.fC,{ref:t,className:(0,o.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",r),...s,children:(0,n.jsx)(a.z$,{className:(0,o.cn)("flex items-center justify-center text-current"),children:(0,n.jsx)(i.nQG,{className:"h-4 w-4"})})})});c.displayName=a.fC.displayName},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var n=r(64149);let s=0,a=new Map,i=e=>{if(a.has(e))return;let t=setTimeout(()=>{a.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);a.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},c=[],d={toasts:[]};function l(e){d=o(d,e),c.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>l({type:"DISMISS_TOAST",toastId:r});return l({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>l({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=n.useState(d);return n.useEffect(()=>(c.push(t),()=>{let e=c.indexOf(t);e>-1&&c.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return a}});var n=r(33958),s=r(61779);function a(){for(var e=arguments.length,t=Array(e),r=0;r{let[e,r]=(0,t.useState)(null),[l,i]=(0,t.useState)(!0),s=(0,t.useCallback)(async()=>{try{i(!0);let e=await fetch("/cgi-bin/fetch_data.sh?set=2"),l=await e.json();console.log("Fetched cell settings data:",l);let t={currentAPN:u(l[0].response,l[1].response),apnPDPType:h(l[0].response),preferredNetworkType:P(l[2].response),nr5gMode:v(l[3].response),simSlot:g(l[4].response)};r(t),console.log("Processed cell settings data:",t)}catch(e){console.error("Error fetching cell settings data:",e)}i(!1)},[]);return(0,t.useEffect)(()=>{s()},[s]),{data:e,isLoading:l,fetchCellSettingsData:s}};let u=(e,r)=>{var l,i;let t=null===(l=e.split("\n").find(e=>e.includes("+CGDCONT: 1")))||void 0===l?void 0:l.split(",")[2].replace(/"/g,"");if(void 0===t||""===t){let e=null===(i=r.split("\n").find(e=>e.includes("+CGCONTRDP:")))||void 0===i?void 0:i.split(",")[2].replace(/"/g,"");return void 0===e||""===e?"No APN found":e}return t},h=e=>{var r;let l=null===(r=e.split("\n").find(e=>e.includes("+CGDCONT: 1")))||void 0===r?void 0:r.split(",")[1].replace(/"/g,"");return void 0===l||""===l?"Error fetching PDP Type":l},P=e=>{var r;let l=null===(r=e.split("\n").find(e=>e.includes('+QNWPREFCFG: "mode_pref"')))||void 0===r?void 0:r.split(",")[1].replace(/"/g,"");return void 0===l||""===l?"Error fetching network type":l},v=e=>{var r;let l=null===(r=e.split("\n").find(e=>e.includes('+QNWPREFCFG: "nr5g_disable_mode"')))||void 0===r?void 0:r.split(",")[1].replace(/"/g,"");return void 0===l||""===l?"Error fetching NR5G mode":l},g=e=>{var r;let l=null===(r=e.split("\n").find(e=>e.includes("+QUIMSLOT:")))||void 0===r?void 0:r.split(":")[1].trim();return void 0===l||""===l?"Error fetching SIM slot":l};var y=l(47657),x=l(24052),m=l(36306);let N={apn:"",pdpType:"",iccid:""},j={profile1:{...N},profile2:{...N}},w=[{value:"IPV4",label:"IPv4 Only"},{value:"IPV6",label:"IPv6 Only"},{value:"IPV4V6",label:"IPv4 and IPv6"},{value:"P2P",label:"P2P Protocol"}];var S=()=>{let{toast:e}=(0,p.pm)(),{profiles:r,isLoading:l,updateAPNProfile:f,deleteAPNProfiles:u}=function(){let[e,r]=(0,t.useState)({}),[l,i]=(0,t.useState)(!0),s=async()=>{try{i(!0);let e=await fetch("/cgi-bin/cell-settings/apn-profiles/fetch-profile.sh",{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded"},signal:AbortSignal.timeout(1e4)});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let l=await e.json();console.log("Fetched APN profiles data:",l),r(l)}catch(e){console.error("Error fetching APN profiles:",e)}finally{i(!1)}};(0,t.useEffect)(()=>{s()},[]);let n=async(l,i)=>{try{var t,s,n,o,a,c;let d=new URLSearchParams;"profile1"===l?(d.append("iccidProfile1",i.iccid),d.append("apnProfile1",i.apn),d.append("pdpType1",i.pdpType)):(d.append("iccidProfile1",(null===(t=e.profile1)||void 0===t?void 0:t.iccid)||""),d.append("apnProfile1",(null===(s=e.profile1)||void 0===s?void 0:s.apn)||""),d.append("pdpType1",(null===(n=e.profile1)||void 0===n?void 0:n.pdpType)||"")),("profile2"===l||e.profile2)&&(d.append("iccidProfile2","profile2"===l?i.iccid:(null===(o=e.profile2)||void 0===o?void 0:o.iccid)||""),d.append("apnProfile2","profile2"===l?i.apn:(null===(a=e.profile2)||void 0===a?void 0:a.apn)||""),d.append("pdpType2","profile2"===l?i.pdpType:(null===(c=e.profile2)||void 0===c?void 0:c.pdpType)||""));let p=await fetch("/cgi-bin/cell-settings/apn-profiles/save-profile.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:d.toString(),signal:AbortSignal.timeout(1e4)});if(!p.ok)throw Error("Failed to update profile");let f=await p.json();if("success"===f.status)return r(e=>({...e,[l]:i})),!0;throw Error(f.message||"Failed to update profile")}catch(e){return console.error("Error updating ".concat(l,":"),e),!1}};return{profiles:e,isLoading:l,updateAPNProfile:n,deleteAPNProfiles:async()=>{try{let e=await fetch("/cgi-bin/cell-settings/apn-profiles/delete-profile.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},signal:AbortSignal.timeout(1e4)});if(!e.ok)throw Error("Failed to delete profiles");let l=await e.json();if("success"===l.status)return r({}),!0;throw Error(l.message||"Failed to delete profiles")}catch(e){return console.error("Error deleting APN profiles:",e),!1}}}}(),[h,P]=(0,t.useState)(!1),[v,g]=(0,t.useState)(!1),[N,S]=(0,t.useState)(j);(0,t.useEffect)(()=>{if(r){var e,l,i,t,s,n;S({profile1:{apn:(null===(e=r.profile1)||void 0===e?void 0:e.apn)||"",pdpType:(null===(l=r.profile1)||void 0===l?void 0:l.pdpType)||"",iccid:(null===(i=r.profile1)||void 0===i?void 0:i.iccid)||""},profile2:{apn:(null===(t=r.profile2)||void 0===t?void 0:t.apn)||"",pdpType:(null===(s=r.profile2)||void 0===s?void 0:s.pdpType)||"",iccid:(null===(n=r.profile2)||void 0===n?void 0:n.iccid)||""}})}},[r]);let T=(e,r,l)=>{S(i=>({...i,[e]:{...i[e],[r]:l}}))},A=()=>N.profile1.apn&&N.profile1.pdpType&&N.profile1.iccid?!Object.values(N.profile2).some(e=>""!==e)||!!N.profile2.apn&&!!N.profile2.pdpType&&!!N.profile2.iccid||(e({variant:"destructive",title:"Invalid Profile 2",description:"All fields for Profile 2 are required if any field is filled"}),!1):(e({variant:"destructive",title:"Invalid Profile 1",description:"All fields for Profile 1 are required"}),!1),I=async r=>{if(r.preventDefault(),A()){P(!0);try{let r=await f("profile1",N.profile1),l=!Object.values(N.profile2).some(e=>""!==e)||await f("profile2",N.profile2);if(r&&l)e({title:"Success",description:"APN profiles have been saved successfully"});else throw Error("Failed to save one or more profiles")}catch(r){e({variant:"destructive",title:"Error",description:"Failed to save APN profiles. Please try again."})}finally{P(!1)}}},C=async()=>{if(confirm("Are you sure you want to delete all APN profiles?")){g(!0);try{if(await u())S(j),e({title:"Success",description:"APN profiles have been deleted successfully"});else throw Error("Failed to delete profiles")}catch(r){e({variant:"destructive",title:"Error",description:"Failed to delete APN profiles. Please try again."})}finally{g(!1)}}},b=(e,r)=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsxs)(c._,{htmlFor:"APNProfile".concat(r),children:["APN Profile ",r]}),l?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsx)(a.I,{type:"text",id:"APNProfile".concat(r),placeholder:"APN for Profile ".concat(r),value:N[e].apn,onChange:r=>T(e,"apn",r.target.value)})]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"PDPType".concat(r),children:"APN PDP Type"}),l?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N[e].pdpType,onValueChange:r=>T(e,"pdpType",r),children:[(0,i.jsx)(n.i4,{id:"PDPType".concat(r),children:(0,i.jsx)(n.ki,{placeholder:"Select PDP Type"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"PDP Type"}),w.map(e=>{let{value:r,label:l}=e;return(0,i.jsx)(n.Ql,{value:r,children:l},r)})]})})]})]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2 col-span-2",children:[(0,i.jsxs)(c._,{htmlFor:"ICCIDProfile".concat(r),children:["ICCID Profile ",r]}),l?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsx)(a.I,{type:"text",id:"ICCIDProfile".concat(r),placeholder:"ICCID for Profile ".concat(r),value:N[e].iccid,onChange:r=>T(e,"iccid",r.target.value)})]})]});return(0,i.jsxs)(s.Zb,{children:[(0,i.jsxs)(s.Ol,{children:[(0,i.jsx)(s.ll,{children:"APN and ICCID Profiles"}),(0,i.jsx)(s.SZ,{children:"Configure APN profiles based on SIM card ICCID. Profile 1 is required."})]}),(0,i.jsx)(s.aY,{children:(0,i.jsxs)("form",{className:"grid grid-cols-1 lg:grid-cols-2 grid-flow-row gap-6",onSubmit:I,children:[b("profile1",1),(0,i.jsx)(y.Z,{className:"col-span-2 w-full my-2"}),b("profile2",2),(0,i.jsx)("div",{className:"col-span-2",children:(0,i.jsxs)(s.eW,{className:"border-t py-4 grid md:grid-cols-2 grid-cols-1 gap-4 px-0",children:[(0,i.jsxs)(o.z,{type:"submit",disabled:h||v,children:[(0,i.jsx)(x.Z,{className:"h-4 w-4"}),h?"Saving...":"Save Profiles"]}),(0,i.jsxs)(o.z,{type:"button",variant:"secondary",onClick:C,disabled:h||v,children:[(0,i.jsx)(m.Z,{className:"h-4 w-4"}),v?"Deleting...":"Delete All Profiles"]})]})})]})})]})},T=()=>{var e,r,l;let{toast:u}=(0,p.pm)(),{data:h,isLoading:P,fetchCellSettingsData:v}=f(),[g,y]=(0,t.useState)(!1),[x,m]=(0,t.useState)(!1),[N,j]=(0,t.useState)({currentAPN:"",apnPDPType:"",preferredNetworkType:"",nr5gMode:"",simSlot:""});(0,t.useEffect)(()=>{h&&!x&&(j({currentAPN:String(h.currentAPN||""),apnPDPType:String(h.apnPDPType||""),preferredNetworkType:String(h.preferredNetworkType||""),nr5gMode:String(h.nr5gMode||""),simSlot:String(h.simSlot||"")}),m(!0))},[h,x]),(0,t.useEffect)(()=>{h||m(!1)},[h]);let w=e=>{let r=[];if(e.currentAPN||e.apnPDPType){let l=e.apnPDPType||N.apnPDPType,i=e.currentAPN||N.currentAPN;r.push('AT+CGDCONT=1,"'.concat(l,'","').concat(i,'"'))}if(e.preferredNetworkType){let l='+QNWPREFCFG="mode_pref",'.concat(e.preferredNetworkType);r.push(0===r.length?"AT".concat(l):l)}if(e.nr5gMode){let l='+QNWPREFCFG="nr5g_disable_mode",'.concat(e.nr5gMode);r.push(0===r.length?"AT".concat(l):l)}if(e.simSlot){let l="+QUIMSLOT=".concat(e.simSlot,";+COPS=2;+COPS=0");r.push(0===r.length?"AT".concat(l):l)}return r.join(";")},T=(e,r)=>{j(l=>({...l,[e]:r}))},A=async()=>{try{let e=await fetch("/cgi-bin/settings/force-rerun.sh"),r=await e.json();if("success"===r.status)u({title:"Scripts Restarted",description:"Scripts have been restarted successfully"});else if("info"===r.status)u({title:"Info",description:"No scripts were found to restart"});else throw Error("Failed to restart scripts")}catch(e){console.error("Error rerunning scripts:",e),u({variant:"destructive",title:"Script Restart Failed",description:"Failed to restart the required scripts"})}},I=async e=>{e.preventDefault(),y(!0);try{let e={};if(Object.keys(N).forEach(r=>{N[r]!==(null==h?void 0:h[r])&&(e[r]=N[r])}),0===Object.keys(e).length){u({title:"No changes detected",description:"Try changing some settings before saving"});return}let r=w(e),l=encodeURIComponent(r);if(!(await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(l)})).ok)throw Error("Failed to save settings");await v(),m(!1),u({title:"Settings saved!",description:"The settings have been saved successfully",duration:3e3}),e.simSlot&&setTimeout(()=>{A()},3100)}catch(e){console.error("Error saving settings:",e),u({variant:"destructive",title:"Failed to save settings!",description:"An error occurred while saving the settings"})}finally{y(!1)}};return(0,i.jsxs)("div",{className:"grid grid-cols-1 grid-flow-row gap-8",children:[(0,i.jsx)(s.Zb,{children:(0,i.jsxs)("form",{onSubmit:I,children:[(0,i.jsxs)(s.Ol,{children:[(0,i.jsx)(s.ll,{children:"Network Settings"}),(0,i.jsx)(s.SZ,{children:"Change the network settings of the device."})]}),(0,i.jsx)(s.aY,{children:(0,i.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 grid-flow-row gap-6",children:[(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"APN",children:"Current APN"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsx)(a.I,{type:"text",id:"APN",placeholder:"Current APN",value:N.currentAPN,onChange:e=>T("currentAPN",e.target.value)})]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"APN",children:"APN PDP Type"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N.apnPDPType,onValueChange:e=>T("apnPDPType",e),children:[(0,i.jsx)(n.i4,{children:(0,i.jsx)(n.ki,{children:N.apnPDPType?({IPV4:"IPv4 Only",IPV6:"IPv6 Only",IPV4V6:"IPv4 and IPv6",P2P:"P2P Protocol"})[e=N.apnPDPType]||e:"Select PDP Type"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"PDP Type"}),(0,i.jsx)(n.Ql,{value:"IPV4",children:"IPv4 Only"}),(0,i.jsx)(n.Ql,{value:"IPV6",children:"IPv6 Only"}),(0,i.jsx)(n.Ql,{value:"IPV4V6",children:"IPv4 and IPv6"}),(0,i.jsx)(n.Ql,{value:"P2P",children:"P2P Protocol"})]})})]},"pdp-type-".concat(N.apnPDPType))]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{children:"Preferred Network Type"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N.preferredNetworkType,onValueChange:e=>T("preferredNetworkType",e),children:[(0,i.jsx)(n.i4,{children:(0,i.jsx)(n.ki,{children:N.preferredNetworkType?({AUTO:"Automatic",LTE:"LTE Only","LTE:NR5G":"NR5G-NSA",NR5G:"NR5G-SA"})[r=N.preferredNetworkType]||r:"Select Network Type"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"Preferred Network Type"}),(0,i.jsx)(n.Ql,{value:"AUTO",children:"Automatic"}),(0,i.jsx)(n.Ql,{value:"LTE",children:"LTE Only"}),(0,i.jsx)(n.Ql,{value:"LTE:NR5G",children:"NR5G-NSA"}),(0,i.jsx)(n.Ql,{value:"NR5G",children:"NR5G-SA"})]})})]},"network-type-".concat(N.preferredNetworkType))]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{children:"NR5G Mode Control"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N.nr5gMode,onValueChange:e=>T("nr5gMode",e),children:[(0,i.jsx)(n.i4,{children:(0,i.jsx)(n.ki,{children:N.nr5gMode?({0:"NR5G-SA and NSA Enabled",1:"NR5G-NSA Only",2:"NR5G-SA Only"})[l=N.nr5gMode]||l:"Select NR5G Mode"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"NR5G Mode"}),(0,i.jsx)(n.Ql,{value:"0",children:"NR5G-SA and NSA Enabled"}),(0,i.jsx)(n.Ql,{value:"1",children:"NR5G-NSA Only"}),(0,i.jsx)(n.Ql,{value:"2",children:"NR5G-SA Only"})]})})]},"nr5g-mode-".concat(N.nr5gMode))]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{children:"U-SIM Slot Configuration"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N.simSlot,onValueChange:e=>T("simSlot",e),children:[(0,i.jsx)(n.i4,{children:(0,i.jsx)(n.ki,{children:N.simSlot?"U-SIM Slot ".concat(N.simSlot):"Select U-SIM Slot"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"U-SIM Slot"}),(0,i.jsx)(n.Ql,{value:"1",children:"U-SIM Slot 1"}),(0,i.jsx)(n.Ql,{value:"2",children:"U-SIM Slot 2"})]})})]},"sim-slot-".concat(N.simSlot))]})]})}),(0,i.jsx)(s.eW,{className:"grid border-t py-4",children:(0,i.jsx)(o.z,{type:"submit",disabled:g,children:g?"Saving...":"Save"})})]})}),(0,i.jsx)(S,{})]})}},88766:function(e,r,l){"use strict";l.d(r,{O:function(){return s}});var i=l(20881),t=l(90270);function s(e){let{className:r,...l}=e;return(0,i.jsx)("div",{className:(0,t.cn)("animate-pulse rounded-md bg-primary/10",r),...l})}},36306:function(e,r,l){"use strict";l.d(r,{Z:function(){return i}});let i=(0,l(92093).Z)("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"}]])}},function(e){e.O(0,[792,4059,8714,217,5420,2072,1247,8985,5330,1744],function(){return e(e.s=51437)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-ca289761b4fe57f2.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-ca289761b4fe57f2.js
new file mode 100644
index 0000000..7bac5d2
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-ca289761b4fe57f2.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1081],{63542:function(e,t,a){Promise.resolve().then(a.bind(a,61830))},61830:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return j}});var s=a(20881),l=a(64149),r=a(94920),i=a(22989),c=a(78580),n=a(47657),o=a(33335),d=a(21501),h=a(64433),u=a(45306),C=a(79442),N=l.forwardRef((e,t)=>{let{pressed:a,defaultPressed:l=!1,onPressedChange:r,...i}=e,[c=!1,n]=(0,u.T)({prop:a,onChange:r,defaultProp:l});return(0,s.jsx)(C.WV.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...i,ref:t,onClick:(0,h.M)(e.onClick,()=>{e.disabled||n(!c)})})});N.displayName="Toggle";var m=a(20116),g=a(90270);let p=(0,m.j)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),x=l.forwardRef((e,t)=>{let{className:a,variant:l,size:r,...i}=e;return(0,s.jsx)(N,{ref:t,className:(0,g.cn)(p({variant:l,size:r,className:a})),...i})});x.displayName=N.displayName;var w=a(5501),f=a(24052),R=a(7357),v=a(46646),j=()=>{let{toast:e}=(0,v.pm)(),[t,a]=(0,l.useState)(!1),[h,u]=(0,l.useState)(!1),[C,N]=(0,l.useState)(!1),[m,g]=(0,l.useState)(!1),[p,j]=(0,l.useState)({EARFCN1:"",PCI1:"",EARFCN2:"",PCI2:"",EARFCN3:"",PCI3:""}),[A,P]=(0,l.useState)({NRARFCN:"",NRPCI:"",SCS:"",NRBAND:""}),E=async e=>{let t=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)}),a=await e.json();if(!e.ok)throw Error(a.error||"Failed to execute AT command");return a}catch(e){if(e instanceof Error)throw Error("AT command failed: ".concat(e.message));throw Error("AT command failed with unknown error")}},F=e=>{let t=e.match(/\+QNWLOCK:\s*(.+?)\n/);return t?t[1].replace(/"/g,"").split(",").map(e=>e.trim()):null},y=async()=>{try{let e=await E('AT+QNWLOCK="save_ctrl"');if(e&&e.output){let t=F(e.output);console.log("Persist status:",t),t&&t.length>=2&&(N("1"===t[1]),g("1"===t[2]))}}catch(e){console.error("Error fetching persist status:",e)}},I=async()=>{try{a(!0),await y(),await new Promise(e=>setTimeout(e,1e3));let e=await E('AT+QNWLOCK="common/4g"');if(e&&e.output){let t=F(e.output);if(t){let e=parseInt(t[1]),a={EARFCN1:e>=1?t[2]:"",PCI1:e>=1?t[3]:"",EARFCN2:e>=2?t[4]:"",PCI2:e>=2?t[5]:"",EARFCN3:e>=3?t[6]:"",PCI3:e>=3?t[7]:""};j(a),e>0&&u(!0)}}let t=await E('AT+QNWLOCK="common/5g"');if(console.log("Current NR5G lock status:",t),t&&t.output){let e=F(t.output);if(e&&e.length>=5){let t={NRPCI:e[1],NRARFCN:e[2],SCS:e[3],NRBAND:e[4]};P(t),parseInt(e[1])>0&&u(!0)}}}catch(t){console.error("Error fetching current status:",t),e({title:"Error",description:"Failed to fetch current cell locking status",variant:"destructive"})}finally{a(!1)}};(0,l.useEffect)(()=>{I()},[]);let S=async()=>{try{a(!0);let t=[];if(p.EARFCN1&&p.PCI1&&t.push([p.EARFCN1,p.PCI1]),p.EARFCN2&&p.PCI2&&t.push([p.EARFCN2,p.PCI2]),p.EARFCN3&&p.PCI3&&t.push([p.EARFCN3,p.PCI3]),0===t.length)throw Error("Please fill at least one EARFCN and PCI pair");let s='AT+QNWLOCK="common/4g",'.concat(t.length);t.forEach(e=>{let[t,a]=e;s+=",".concat(t,",").concat(a)}),await E(s),await new Promise(e=>setTimeout(e,1e3)),await E('AT+QNWLOCK="save_ctrl",1,0'),await I(),e({title:"Success",description:"LTE cells locked successfully with ".concat(t.length," pair").concat(t.length>1?"s":"")})}catch(t){a(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock LTE cells",variant:"destructive"})}},b=async()=>{try{if(a(!0),!A.NRPCI||!A.NRARFCN||!A.SCS||!A.NRBAND)throw Error("Please fill all NR5G fields");let t='AT+QNWLOCK="common/5g",'.concat(A.NRPCI,",").concat(A.NRARFCN,",").concat(A.SCS,",").concat(A.NRBAND);await E(t),await new Promise(e=>setTimeout(e,1e3)),await E('AT+QNWLOCK="save_ctrl",0,1'),await I(),e({title:"Success",description:"NR5G cell locked successfully"})}catch(t){a(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock NR5G cell",variant:"destructive"})}},k=async()=>{try{a(!0),await E('AT+QNWLOCK="common/4g",0'),await new Promise(e=>setTimeout(e,1e3)),await E('AT+QNWLOCK="save_ctrl",1,0'),await E("AT+COPS=2"),await new Promise(e=>setTimeout(e,2e3)),await E("AT+COPS=0"),await I(),e({title:"Success",description:"LTE cell locking reset to default"})}catch(t){a(!1),e({title:"Error",description:"Failed to reset LTE cell locking",variant:"destructive"})}},T=async()=>{try{a(!0),await E('AT+QNWLOCK="common/5g",0'),await E('AT+QNWLOCK="save_ctrl",0,1'),await E("AT+COPS=2"),await new Promise(e=>setTimeout(e,2e3)),await E("AT+COPS=0"),await I(),e({title:"Success",description:"NR5G cell locking reset to default"})}catch(t){a(!1),e({title:"Error",description:"Failed to reset NR5G cell locking",variant:"destructive"})}},L=async t=>{try{a(!0),await E('AT+QNWLOCK="save_ctrl",'.concat(t?"1":"0",",").concat(m?"1":"0")),await y(),e({title:"Success",description:"LTE persist on boot ".concat(t?"enabled":"disabled")}),await new Promise(e=>setTimeout(e,2e3)),window.location.reload()}catch(t){e({title:"Error",description:"Failed to update LTE persist setting",variant:"destructive"})}finally{a(!1)}},_=async t=>{try{a(!0),await E('AT+QNWLOCK="save_ctrl",'.concat(C?"1":"0",",").concat(t?"1":"0")),await y(),e({title:"Success",description:"NR5G persist on boot ".concat(t?"enabled":"disabled")}),await new Promise(e=>setTimeout(e,2e3)),window.location.reload()}catch(t){e({title:"Error",description:"Failed to update NR5G persist setting",variant:"destructive"})}finally{a(!1)}};return(0,s.jsxs)("div",{className:"grid gap-6",children:[(0,s.jsxs)(r.Zb,{children:[(0,s.jsxs)(r.Ol,{children:[(0,s.jsx)(r.ll,{children:"4G LTE Cellular Locking"}),(0,s.jsx)(r.SZ,{children:"Lock the device to specific LTE Physical Cell IDs."})]}),(0,s.jsx)(r.aY,{children:(0,s.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-6",children:[(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"EARFCN1",children:"EARFCN 1"}),(0,s.jsx)(o.I,{type:"text",id:"EARFCN1",placeholder:"EARFCN 1",value:p.EARFCN1,onChange:e=>j(t=>({...t,EARFCN1:e.target.value}))})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"PCI1",children:"PCI 1"}),(0,s.jsx)(o.I,{type:"text",id:"PCI1",placeholder:"PCI 1",value:p.PCI1,onChange:e=>j(t=>({...t,PCI1:e.target.value}))})]}),(0,s.jsx)(n.Z,{className:"my-1 col-span-2 w-full"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"EARFCN2",children:"EARFCN 2"}),(0,s.jsx)(o.I,{type:"text",id:"EARFCN2",placeholder:"EARFCN 2",value:p.EARFCN2,onChange:e=>j(t=>({...t,EARFCN2:e.target.value}))})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"PCI2",children:"PCI 2"}),(0,s.jsx)(o.I,{type:"text",id:"PCI2",placeholder:"PCI 2",value:p.PCI2,onChange:e=>j(t=>({...t,PCI2:e.target.value}))})]}),(0,s.jsx)(n.Z,{className:"my-1 col-span-2 w-full"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"EARFCN3",children:"EARFCN 3"}),(0,s.jsx)(o.I,{type:"text",id:"EARFCN3",placeholder:"EARFCN 3",value:p.EARFCN3,onChange:e=>j(t=>({...t,EARFCN3:e.target.value}))})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"PCI3",children:"PCI 3"}),(0,s.jsx)(o.I,{type:"text",id:"PCI3",placeholder:"PCI 3",value:p.PCI3,onChange:e=>j(t=>({...t,PCI3:e.target.value}))})]})]})}),(0,s.jsxs)(r.eW,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,s.jsxs)(c.z,{onClick:S,disabled:t,children:[(0,s.jsx)(w.Z,{className:"h-4 w-4"}),"Lock LTE Cells"]}),(0,s.jsxs)(x,{pressed:C,onPressedChange:L,disabled:t,children:[(0,s.jsx)(f.Z,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,s.jsxs)(c.z,{variant:"secondary",onClick:k,disabled:t||!h,children:[(0,s.jsx)(R.Z,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,s.jsxs)(r.Zb,{children:[(0,s.jsxs)(r.Ol,{children:[(0,s.jsx)(r.ll,{children:"NR5G-SA Cellular Locking"}),(0,s.jsx)(r.SZ,{children:"Lock the device to a specific NR5G-SA Physical Cell ID."})]}),(0,s.jsx)(r.aY,{children:(0,s.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-6",children:[(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"NR-ARFCN",children:"NR ARFCN"}),(0,s.jsx)(o.I,{type:"text",id:"NR-ARFCN",placeholder:"NR ARFCN",value:A.NRARFCN,onChange:e=>P(t=>({...t,NRARFCN:e.target.value}))})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"NR-PCI",children:"NR PCI"}),(0,s.jsx)(o.I,{type:"text",id:"NR-PCI",placeholder:"NR PCI",value:A.NRPCI,onChange:e=>P(t=>({...t,NRPCI:e.target.value}))})]}),(0,s.jsx)(n.Z,{className:"my-0.5 col-span-2 w-full"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"SCS",children:"SCS"}),(0,s.jsxs)(i.Ph,{value:A.SCS,onValueChange:e=>P(t=>({...t,SCS:e})),children:[(0,s.jsx)(i.i4,{id:"SCS",children:(0,s.jsx)(i.ki,{placeholder:"SCS"})}),(0,s.jsx)(i.Bw,{children:(0,s.jsxs)(i.DI,{children:[(0,s.jsx)(i.n5,{children:"SCS"}),(0,s.jsx)(i.Ql,{value:"15",children:"15 kHz"}),(0,s.jsx)(i.Ql,{value:"30",children:"30 kHz"}),(0,s.jsx)(i.Ql,{value:"60",children:"60 kHz"}),(0,s.jsx)(i.Ql,{value:"120",children:"120 kHz"}),(0,s.jsx)(i.Ql,{value:"240",children:"240 kHz"})]})})]})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"NRBAND",children:"NR Band"}),(0,s.jsx)(o.I,{type:"text",id:"NRBAND",placeholder:"NR BAND",value:A.NRBAND,onChange:e=>P(t=>({...t,NRBAND:e.target.value}))})]})]})}),(0,s.jsxs)(r.eW,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,s.jsxs)(c.z,{onClick:b,disabled:t,children:[(0,s.jsx)(w.Z,{className:"h-4 w-4"}),"Lock NR5G-SA Cell"]}),(0,s.jsxs)(x,{pressed:m,onPressedChange:_,disabled:t,children:[(0,s.jsx)(f.Z,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,s.jsxs)(c.z,{variant:"secondary",onClick:T,disabled:t||!h,children:[(0,s.jsx)(R.Z,{className:"h-4 w-4"}),"Reset to Default"]})]})]})]})}},5501:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(92093).Z)("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"}]])},7357:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(92093).Z)("RefreshCcw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]])}},function(e){e.O(0,[792,4059,8714,217,5420,2072,1247,8985,5330,1744],function(){return e(e.s=63542)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-1d06e85afd5744cd.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-1d06e85afd5744cd.js
new file mode 100644
index 0000000..57f7b57
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-1d06e85afd5744cd.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4385],{36364:function(e,t,i){Promise.resolve().then(i.bind(i,47410))},47410:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return w}});var r=i(20881),o=i(64149),s=i(94920),a=i(37971),l=i(90270);let n=a.fC,d=a.xz,c=o.forwardRef((e,t)=>{let{className:i,align:o="center",sideOffset:s=4,...n}=e;return(0,r.jsx)(a.VY,{ref:t,align:o,sideOffset:s,className:(0,l.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",i),...n})});c.displayName=a.VY.displayName;var f=i(395),u=i(36306),p=i(78580),m=i(33335),h=i(21501),v=i(88766),I=i(46646),g=i(47657);let x={imei:"",iccid:""},y={profile1:{...x},profile2:{...x}};var w=()=>{let[e,t]=(0,o.useState)(!0),[i,a]=(0,o.useState)(!1),[l,x]=(0,o.useState)(!1),[w,b]=(0,o.useState)(""),[j,E]=(0,o.useState)(""),[N,C]=(0,o.useState)(y),[M,S]=(0,o.useState)(y),{profiles:T,hasActiveProfile:P,updateIMEIProfile:O,deleteIMEIProfiles:D}=function(){let[e,t]=(0,o.useState)({}),[i,r]=(0,o.useState)(!0),[s,a]=(0,o.useState)(!1),l=async()=>{try{r(!0);let e=await fetch("/cgi-bin/cell-settings/imei-profiles/fetch-profile.sh",{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded"},signal:AbortSignal.timeout(1e4)});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let i=await e.json();t(i),(i.profile1||i.profile2)&&a(!0)}catch(e){console.error("Error fetching IMEI profiles:",e)}finally{r(!1)}};(0,o.useEffect)(()=>{l()},[]);let n=async(i,r)=>{try{var o,s,a,l;let n=new URLSearchParams;"profile1"===i?(n.append("iccidProfile1",r.iccid),n.append("imeiProfile1",r.imei)):(n.append("iccidProfile1",(null===(o=e.profile1)||void 0===o?void 0:o.iccid)||""),n.append("imeiProfile1",(null===(s=e.profile1)||void 0===s?void 0:s.imei)||"")),("profile2"===i||e.profile2)&&(n.append("iccidProfile2","profile2"===i?r.iccid:(null===(a=e.profile2)||void 0===a?void 0:a.iccid)||""),n.append("imeiProfile2","profile2"===i?r.imei:(null===(l=e.profile2)||void 0===l?void 0:l.imei)||""));let d=await fetch("/cgi-bin/cell-settings/imei-profiles/save-profile.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n.toString(),signal:AbortSignal.timeout(1e4)});if(!d.ok)throw Error("Failed to update profile");let c=await d.json();if("success"===c.status)return t(e=>({...e,[i]:r})),!0;throw Error(c.message||"Failed to update profile")}catch(e){return console.error("Error updating ".concat(i,":"),e),!1}};return{profiles:e,hasActiveProfile:s,updateIMEIProfile:n,deleteIMEIProfiles:async()=>{try{let e=await fetch("/cgi-bin/cell-settings/imei-profiles/delete-profile.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},signal:AbortSignal.timeout(1e4)});if(!e.ok)throw Error("Failed to delete profiles");let i=await e.json();if("success"===i.status)return t({}),!0;throw Error(i.message||"Failed to delete profiles")}catch(e){return console.error("Error deleting IMEI profiles:",e),!1}}}}(),{toast:_}=(0,I.pm)(),A=(0,o.useCallback)(async()=>{try{t(!0);let e=encodeURIComponent("AT+CGSN"),i=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(e)}),r=(await i.text()).match(/\d{15}/),o=r?r[0]:null;if(o)b(o),E(o);else throw Error("IMEI not found in response")}catch(e){_({title:"Failed to fetch IMEI",description:"Failed to fetch IMEI from the device",variant:"destructive"}),console.error(e)}finally{t(!1)}},[]);(0,o.useEffect)(()=>{if(A(),T){var e,t,i,r,o,s,a,l;S({profile1:{imei:(null===(e=T.profile1)||void 0===e?void 0:e.imei)||"",iccid:(null===(t=T.profile1)||void 0===t?void 0:t.iccid)||""},profile2:{imei:(null===(i=T.profile2)||void 0===i?void 0:i.imei)||"",iccid:(null===(r=T.profile2)||void 0===r?void 0:r.iccid)||""}}),C({profile1:{imei:(null===(o=T.profile1)||void 0===o?void 0:o.imei)||"",iccid:(null===(s=T.profile1)||void 0===s?void 0:s.iccid)||""},profile2:{imei:(null===(a=T.profile2)||void 0===a?void 0:a.imei)||"",iccid:(null===(l=T.profile2)||void 0===l?void 0:l.iccid)||""}})}},[A,T]);let F=async e=>{if(e.preventDefault(),t(!0),15!==j.length||isNaN(Number(j))){_({title:"Invalid IMEI",description:"IMEI must be 15 digits and numbers only",variant:"destructive"}),t(!1);return}try{let e='AT+EGMR=1,7,"'.concat(j,';+QPOWD=1"'),t=encodeURIComponent(e);if(!(await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)})).ok)throw Error("Failed to update IMEI")}catch(e){_({title:"Failed to update IMEI",description:"Failed to update IMEI on the device",variant:"destructive"}),console.error(e)}finally{t(!1)}},R=()=>{if(!M.profile1.imei||!M.profile1.iccid)return _({variant:"destructive",title:"Invalid Profile 1",description:"Both IMEI and ICCID are required for Profile 1"}),!1;if(!/^\d{15}$/.test(M.profile1.imei))return _({variant:"destructive",title:"Invalid IMEI in Profile 1",description:"IMEI must be exactly 15 digits"}),!1;if(Object.values(M.profile2).some(e=>""!==e)){if(!M.profile2.imei||!M.profile2.iccid)return _({variant:"destructive",title:"Invalid Profile 2",description:"Both IMEI and ICCID are required if any Profile 2 field is filled"}),!1;if(!/^\d{15}$/.test(M.profile2.imei))return _({variant:"destructive",title:"Invalid IMEI in Profile 2",description:"IMEI must be exactly 15 digits"}),!1}return!0},k=async e=>{if(e.preventDefault(),R()){a(!0);try{await O("profile1",M.profile1),Object.values(M.profile2).some(e=>""!==e)&&await O("profile2",M.profile2),_({title:"Success",description:"IMEI profiles have been saved successfully. Rebooting...",duration:9e4}),setTimeout(()=>{window.location.reload()},9e4)}catch(e){_({variant:"destructive",title:"Error",description:"Failed to save IMEI profiles. Please try again."})}finally{a(!1)}}},z=async()=>{if(confirm("Are you sure you want to delete all IMEI profiles?")){x(!0);try{if(await D())S(y),_({title:"Success",description:"IMEI profiles have been deleted successfully"});else throw Error("Failed to delete profiles")}catch(e){_({variant:"destructive",title:"Error",description:"Failed to delete IMEI profiles. Please try again."})}finally{setTimeout(()=>{x(!1)},2e3)}}},Z=(e,t,i)=>{S(r=>({...r,[e]:{...r[e],[t]:i}}))};return(0,r.jsxs)("div",{className:"grid gap-8",children:[(0,r.jsx)(s.Zb,{children:(0,r.jsxs)("form",{onSubmit:F,children:[(0,r.jsxs)(s.Ol,{children:[(0,r.jsx)(s.ll,{children:"IMEI Mangling"}),(0,r.jsxs)(s.SZ,{className:"flex items-center justify-between",children:["Change the IMEI of the device.",(0,r.jsxs)("div",{className:"flex items-center text-orange-500",children:[(0,r.jsx)(f.Z,{className:"size-4 mr-1"}),"Do at your own risk!"]})]})]}),(0,r.jsx)(s.aY,{children:(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"IMEI",children:"Change Current IMEI"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsxs)("div",{className:"grid gap-1.5",children:[P?(0,r.jsx)("div",{className:"relative w-full",children:(0,r.jsxs)(n,{children:[(0,r.jsxs)(d,{children:[(0,r.jsx)(m.I,{className:"pr-9",placeholder:w,disabled:!0}),(0,r.jsx)(f.Z,{className:"absolute right-0 top-0 m-2.5 h-4 w-4 text-muted-foreground"})]}),(0,r.jsx)(c,{className:"text-sm",children:"You cannot use this feature while IMEI profiles are active."})]})}):(0,r.jsx)(m.I,{type:"text",id:"IMEI",value:j,onChange:e=>E(e.target.value),placeholder:w}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground font-medium",children:"This will reboot the device."})]})]})}),(0,r.jsx)(s.eW,{className:"grid border-t py-4",children:(0,r.jsx)(p.z,{type:"submit",className:"w-full",disabled:e||j===w,children:e?"Processing...":"Change IMEI"})})]})}),(0,r.jsxs)(s.Zb,{children:[(0,r.jsxs)(s.Ol,{children:[(0,r.jsx)(s.ll,{children:"ICCID Based IMEI Mangling"}),(0,r.jsxs)(s.SZ,{className:"flex items-center justify-between",children:["Change the IMEI of the device based on the ICCID.",(0,r.jsxs)("div",{className:"flex items-center text-orange-500",children:[(0,r.jsx)(f.Z,{className:"size-4 mr-1"}),"Do at your own risk!"]})]})]}),(0,r.jsxs)("form",{onSubmit:k,children:[(0,r.jsx)(s.aY,{children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"IMEI-prof1",children:"IMEI for Profile 1"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsx)(m.I,{type:"text",id:"IMEI-prof1",placeholder:"IMEI for Profile 1",value:M.profile1.imei,onChange:e=>Z("profile1","imei",e.target.value)})]}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"ICCID-prof1",children:"ICCID for Profile 1"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsx)(m.I,{type:"text",id:"ICCID-prof1",placeholder:"ICCID for Profile 1",value:M.profile1.iccid,onChange:e=>Z("profile1","iccid",e.target.value)})]}),(0,r.jsx)(g.Z,{className:"col-span-full my-2"}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"IMEI-prof2",children:"IMEI for Profile 2"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsx)(m.I,{type:"text",id:"IMEI-prof2",placeholder:"IMEI for Profile 2",value:M.profile2.imei,onChange:e=>Z("profile2","imei",e.target.value)})]}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"ICCID-prof2",children:"ICCID for Profile 2"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsx)(m.I,{type:"text",id:"ICCID-prof2",placeholder:"ICCID for Profile 2",value:M.profile2.iccid,onChange:e=>Z("profile2","iccid",e.target.value)})]})]})}),(0,r.jsxs)(s.eW,{className:"grid grid-cols-2 grid-flow-row gap-6 border-t py-4",children:[(0,r.jsx)(p.z,{type:"submit",className:"w-full",disabled:e||i||!(M.profile1.imei!==N.profile1.imei||M.profile1.iccid!==N.profile1.iccid||M.profile2.imei!==N.profile2.imei||M.profile2.iccid!==N.profile2.iccid),children:i?"Saving...":"Save IMEI Profiles"}),(0,r.jsxs)(p.z,{type:"button",variant:"secondary",className:"w-full",onClick:z,disabled:e||l,children:[(0,r.jsx)(u.Z,{className:"h-4 w-4"}),l?"Deleting...":"Delete All Profiles"]})]})]})]})]})}},78580:function(e,t,i){"use strict";i.d(t,{d:function(){return n},z:function(){return d}});var r=i(20881),o=i(64149),s=i(54098),a=i(20116),l=i(90270);let n=(0,a.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=o.forwardRef((e,t)=>{let{className:i,variant:o,size:a,asChild:d=!1,...c}=e,f=d?s.g7:"button";return(0,r.jsx)(f,{className:(0,l.cn)(n({variant:o,size:a,className:i})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,i){"use strict";i.d(t,{Ol:function(){return l},SZ:function(){return d},Zb:function(){return a},aY:function(){return c},eW:function(){return f},ll:function(){return n}});var r=i(20881),o=i(64149),s=i(90270);let a=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",i),...o})});a.displayName="Card";let l=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",i),...o})});l.displayName="CardHeader";let n=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",i),...o})});n.displayName="CardTitle";let d=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",i),...o})});d.displayName="CardDescription";let c=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",i),...o})});c.displayName="CardContent";let f=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",i),...o})});f.displayName="CardFooter"},33335:function(e,t,i){"use strict";i.d(t,{I:function(){return a}});var r=i(20881),o=i(64149),s=i(90270);let a=o.forwardRef((e,t)=>{let{className:i,type:o,...a}=e;return(0,r.jsx)("input",{type:o,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",i),ref:t,...a})});a.displayName="Input"},21501:function(e,t,i){"use strict";i.d(t,{_:function(){return d}});var r=i(20881),o=i(64149),s=i(51212),a=i(20116),l=i(90270);let n=(0,a.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)(s.f,{ref:t,className:(0,l.cn)(n(),i),...o})});d.displayName=s.f.displayName},47657:function(e,t,i){"use strict";i.d(t,{Z:function(){return l}});var r=i(20881),o=i(64149),s=i(48897),a=i(90270);let l=o.forwardRef((e,t)=>{let{className:i,orientation:o="horizontal",decorative:l=!0,...n}=e;return(0,r.jsx)(s.f,{ref:t,decorative:l,orientation:o,className:(0,a.cn)("shrink-0 bg-border","horizontal"===o?"h-[1px] w-full":"h-full w-[1px]",i),...n})});l.displayName=s.f.displayName},88766:function(e,t,i){"use strict";i.d(t,{O:function(){return s}});var r=i(20881),o=i(90270);function s(e){let{className:t,...i}=e;return(0,r.jsx)("div",{className:(0,o.cn)("animate-pulse rounded-md bg-primary/10",t),...i})}},46646:function(e,t,i){"use strict";i.d(t,{pm:function(){return u}});var r=i(64149);let o=0,s=new Map,a=e=>{if(s.has(e))return;let t=setTimeout(()=>{s.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);s.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:i}=t;return i?a(i):e.toasts.forEach(e=>{a(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===i||void 0===i?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},n=[],d={toasts:[]};function c(e){d=l(d,e),n.forEach(e=>{e(d)})}function f(e){let{...t}=e,i=(o=(o+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:i});return c({type:"ADD_TOAST",toast:{...t,id:i,open:!0,onOpenChange:e=>{e||r()}}}),{id:i,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:i}})}}function u(){let[e,t]=r.useState(d);return r.useEffect(()=>(n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1)}),[e]),{...e,toast:f,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,i){"use strict";i.d(t,{cn:function(){return s}});var r=i(33958),o=i(61779);function s(){for(var e=arguments.length,t=Array(e),i=0;i{let{children:s}=e,t=(0,l.usePathname)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,a.jsx)("h1",{className:"text-3xl font-semibold",children:"Cellular Settings"})}),(0,a.jsxs)("div",{className:"mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]",children:[(0,a.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,a.jsx)(n.default,{href:"/dashboard/cell-settings/basic-settings",className:"".concat("/dashboard/cell-settings/basic-settings/"===t?"font-semibold text-primary":"text-sm"),children:"Basic Settings"}),(0,a.jsx)(n.default,{href:"/dashboard/cell-settings/band-locking",className:"".concat("/dashboard/cell-settings/band-locking/"===t?"font-semibold text-primary":"text-sm"),children:"Band Locking"}),(0,a.jsx)(n.default,{href:"/dashboard/cell-settings/cell-locking",className:"".concat("/dashboard/cell-settings/cell-locking/"===t?"font-semibold text-primary":"text-sm"),children:"Cellular Locking"}),(0,a.jsx)(n.default,{href:"/dashboard/cell-settings/imei-mangling",className:"".concat("/dashboard/cell-settings/imei-mangling/"===t?"font-semibold text-primary":"text-sm"),children:"IMEI Mangling"}),(0,a.jsx)(n.default,{href:"/dashboard/cell-settings/sms",className:"".concat("/dashboard/cell-settings/sms/"===t?"font-semibold text-primary":"text-sm"),children:"SMS Inbox"})]}),s]})]})}},27525:function(e,s,t){"use strict";var a=t(39886);t.o(a,"usePathname")&&t.d(s,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(s,{useRouter:function(){return a.useRouter}})}},function(e){e.O(0,[6509,8985,5330,1744],function(){return e(e.s=37946)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-886ee1e66fa55baf.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-886ee1e66fa55baf.js
new file mode 100644
index 0000000..89403b1
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-886ee1e66fa55baf.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2959],{98910:function(e,t,r){Promise.resolve().then(r.bind(r,26678))},26678:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return v}});var n=r(20881),a=r(64149),s=r(92093);let i=(0,s.Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);var l=r(75526);let o=(0,s.Z)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);var d=r(36306),c=r(94920),u=r(30214),f=r(24004),m=r(835),h=r(78580),x=r(47657),p=r(75577),g=r(33335),v=()=>{let[e,t]=(0,a.useState)([]),[r,s]=(0,a.useState)(!1),[v,b]=(0,a.useState)([]),[y,j]=(0,a.useState)({phoneNumber:"",message:""}),N=async e=>{try{let t=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"command=".concat(encodeURIComponent(e))});return await t.json()}catch(e){throw console.error("AT command failed:",e),e}},w=e=>{let t=[],r=e.split("\n"),n=null;for(let e=0;e{s(!0);try{let e;await N("AT+CMGF=1");let r=await N('AT+CMGL="ALL"');if("string"==typeof r)e=r;else if(null==r?void 0:r.result)e=r.result;else if(null==r?void 0:r.output)e=r.output;else throw Error("No valid data received");let n=w(e);t(n)}catch(e){console.error("Failed to refresh SMS:",e),t([])}finally{s(!1)}},C=e=>{b(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},S=async()=>{if(v.length)try{for(let e of v)await N("AT+CMGD=".concat(e));await k(),b([])}catch(e){console.error("Failed to delete messages:",e)}},R=async()=>{let{phoneNumber:e,message:t}=y;if(!e||!t){alert("Please enter both phone number and message");return}try{await N('AT+CMGS="'.concat(e,'"')),await N("".concat(t,"\x1a")),j({phoneNumber:"",message:""}),await k()}catch(e){console.error("Failed to send SMS:",e)}};return(0,a.useEffect)(()=>{k()},[]),(0,n.jsxs)("div",{className:"grid gap-6",children:[(0,n.jsxs)(c.Zb,{className:"w-full max-w-screen",children:[(0,n.jsxs)(c.Ol,{children:[(0,n.jsx)(c.ll,{children:"SMS Inbox"}),(0,n.jsx)(c.SZ,{children:(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsx)("span",{children:"View and manage SMS messages"}),(0,n.jsxs)("div",{className:"flex items-center space-x-1.5",children:[(0,n.jsx)(m.X,{checked:v.length===e.length,onCheckedChange:t=>{b(t?e.map(e=>e.index):[])}}),(0,n.jsx)("span",{className:"text-sm",children:"Select All"})]})]})})]}),(0,n.jsx)(c.aY,{children:(0,n.jsx)(f.x,{className:"h-[400px] w-full xs:max-w-xs p-4 grid",children:r?(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center py-8",children:[(0,n.jsx)(i,{className:"h-8 w-8 animate-spin"}),(0,n.jsx)("p",{className:"mt-2",children:"Loading messages..."})]}):0===e.length?(0,n.jsx)("p",{className:"text-center py-8 text-muted-foreground",children:"No messages found"}):e.map(e=>(0,n.jsxs)(u.Vq,{children:[(0,n.jsx)(u.hg,{className:"w-full",children:(0,n.jsxs)(c.Zb,{className:"my-2 dark:hover:bg-slate-900 hover:bg-slate-100",children:[(0,n.jsxs)(c.Ol,{children:[(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsx)(c.ll,{children:e.sender}),(0,n.jsxs)("div",{className:"flex items-center space-x-2",onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("p",{className:"text-muted-foreground font-medium text-xs",children:e.index}),(0,n.jsx)(m.X,{checked:v.includes(e.index),onCheckedChange:()=>C(e.index)})]})]}),(0,n.jsxs)(c.SZ,{className:"text-left",children:[e.date," at ",e.time]})]}),(0,n.jsx)(c.aY,{children:(0,n.jsx)("p",{className:"line-clamp-3",children:e.message})})]})}),(0,n.jsxs)(u.cZ,{children:[(0,n.jsxs)(u.fK,{children:[(0,n.jsx)(u.$N,{children:e.sender}),(0,n.jsxs)(u.Be,{children:[e.date," at ",e.time]})]}),(0,n.jsx)("p",{children:e.message}),(0,n.jsx)(x.Z,{className:"my-2"}),(0,n.jsx)(p.g,{placeholder:"Reply to ".concat(e.sender,"..."),className:"h-24",readOnly:!0}),(0,n.jsx)("div",{className:"flex justify-end",children:(0,n.jsxs)(h.z,{onClick:R,disabled:!0,children:[(0,n.jsx)(l.Z,{className:"h-4 w-4 mr-2"}),"Send"]})})]})]},e.index))})}),(0,n.jsx)(c.eW,{className:"border-t py-4",children:(0,n.jsxs)("div",{className:"flex w-full justify-between items-center",children:[(0,n.jsxs)(h.z,{variant:"outline",onClick:k,disabled:r,children:[(0,n.jsx)(o,{className:"h-4 w-4"}),"Refresh"]}),(0,n.jsxs)(h.z,{variant:"destructive",onClick:S,disabled:0===v.length,children:[(0,n.jsx)(d.Z,{className:"h-4 w-4"}),"Delete Selected"]})]})})]}),(0,n.jsxs)(c.Zb,{children:[(0,n.jsxs)(c.Ol,{children:[(0,n.jsx)(c.ll,{children:"Send SMS"}),(0,n.jsx)(c.SZ,{children:"Send a new SMS message"})]}),(0,n.jsx)(c.aY,{children:(0,n.jsxs)("div",{className:"grid gap-6",children:[(0,n.jsx)(g.I,{placeholder:"Recipient Number",value:y.phoneNumber,onChange:e=>j(t=>({...t,phoneNumber:e.target.value})),readOnly:!0}),(0,n.jsx)(p.g,{placeholder:"Sending message is still in development...",className:"h-32",value:y.message,onChange:e=>j(t=>({...t,message:e.target.value})),readOnly:!0}),(0,n.jsx)("div",{className:"flex justify-end",children:(0,n.jsxs)(h.z,{onClick:R,disabled:!0,children:[(0,n.jsx)(l.Z,{className:"h-4 w-4"}),"Send"]})})]})})]})]})}},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return o},z:function(){return d}});var n=r(20881),a=r(64149),s=r(54098),i=r(20116),l=r(90270);let o=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=a.forwardRef((e,t)=>{let{className:r,variant:a,size:i,asChild:d=!1,...c}=e,u=d?s.g7:"button";return(0,n.jsx)(u,{className:(0,l.cn)(o({variant:a,size:i,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},SZ:function(){return d},Zb:function(){return i},aY:function(){return c},eW:function(){return u},ll:function(){return o}});var n=r(20881),a=r(64149),s=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...a})});i.displayName="Card";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...a})});l.displayName="CardHeader";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",r),...a})});o.displayName="CardTitle";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...a})});d.displayName="CardDescription";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...a})});c.displayName="CardContent";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},835:function(e,t,r){"use strict";r.d(t,{X:function(){return o}});var n=r(20881),a=r(64149),s=r(17533),i=r(35935),l=r(90270);let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.fC,{ref:t,className:(0,l.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",r),...a,children:(0,n.jsx)(s.z$,{className:(0,l.cn)("flex items-center justify-center text-current"),children:(0,n.jsx)(i.nQG,{className:"h-4 w-4"})})})});o.displayName=s.fC.displayName},30214:function(e,t,r){"use strict";r.d(t,{$N:function(){return x},Be:function(){return p},GG:function(){return u},Vq:function(){return o},cZ:function(){return m},fK:function(){return h},hg:function(){return d}});var n=r(20881),a=r(64149),s=r(14491),i=r(35935),l=r(90270);let o=s.fC,d=s.xz,c=s.h_,u=s.x8,f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.aV,{ref:t,className:(0,l.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...a})});f.displayName=s.aV.displayName;let m=a.forwardRef((e,t)=>{let{className:r,children:a,...o}=e;return(0,n.jsxs)(c,{children:[(0,n.jsx)(f,{}),(0,n.jsxs)(s.VY,{ref:t,className:(0,l.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...o,children:[a,(0,n.jsxs)(s.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,n.jsx)(i.Pxu,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=s.VY.displayName;let h=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...r})};h.displayName="DialogHeader";let x=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.Dx,{ref:t,className:(0,l.cn)("text-lg font-semibold leading-none tracking-tight",r),...a})});x.displayName=s.Dx.displayName;let p=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.dk,{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",r),...a})});p.displayName=s.dk.displayName},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var n=r(20881),a=r(64149),s=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,type:a,...i}=e;return(0,n.jsx)("input",{type:a,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},24004:function(e,t,r){"use strict";r.d(t,{B:function(){return o},x:function(){return l}});var n=r(20881),a=r(64149),s=r(82310),i=r(90270);let l=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return(0,n.jsxs)(s.fC,{ref:t,className:(0,i.cn)("relative overflow-hidden",r),...l,children:[(0,n.jsx)(s.l_,{className:"h-full w-full rounded-[inherit]",children:a}),(0,n.jsx)(o,{}),(0,n.jsx)(s.Ns,{})]})});l.displayName=s.fC.displayName;let o=a.forwardRef((e,t)=>{let{className:r,orientation:a="vertical",...l}=e;return(0,n.jsx)(s.gb,{ref:t,orientation:a,className:(0,i.cn)("flex touch-none select-none transition-colors","vertical"===a&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===a&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...l,children:(0,n.jsx)(s.q4,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=s.gb.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(20881),a=r(64149),s=r(48897),i=r(90270);let l=a.forwardRef((e,t)=>{let{className:r,orientation:a="horizontal",decorative:l=!0,...o}=e;return(0,n.jsx)(s.f,{ref:t,decorative:l,orientation:a,className:(0,i.cn)("shrink-0 bg-border","horizontal"===a?"h-[1px] w-full":"h-full w-[1px]",r),...o})});l.displayName=s.f.displayName},75577:function(e,t,r){"use strict";r.d(t,{g:function(){return i}});var n=r(20881),a=r(64149),s=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("textarea",{className:(0,s.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:t,...a})});i.displayName="Textarea"},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var n=r(33958),a=r(61779);function s(){for(var e=arguments.length,t=Array(e),r=0;re.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var e=arguments.length,t=Array(e),r=0;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:a=24,strokeWidth:l=2,absoluteStrokeWidth:o,className:d="",children:c,iconNode:u,...f}=e;return(0,n.createElement)("svg",{ref:t,...i,width:a,height:a,stroke:r,strokeWidth:o?24*Number(l)/Number(a):l,className:s("lucide",d),...f},[...u.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),o=(e,t)=>{let r=(0,n.forwardRef)((r,i)=>{let{className:o,...d}=r;return(0,n.createElement)(l,{ref:i,iconNode:t,className:s("lucide-".concat(a(e)),o),...d})});return r.displayName="".concat(e),r}},75526:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(92093).Z)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},36306:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(92093).Z)("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"}]])},17533:function(e,t,r){"use strict";r.d(t,{fC:function(){return k},z$:function(){return C}});var n=r(64149),a=r(83954),s=r(74873),i=r(64433),l=r(45306),o=r(32437),d=r(73452),c=r(45485),u=r(79442),f=r(20881),m="Checkbox",[h,x]=(0,s.b)(m),[p,g]=h(m),v=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:s,checked:o,defaultChecked:d,required:c,disabled:m,value:h="on",onCheckedChange:x,form:g,...v}=e,[b,y]=n.useState(null),k=(0,a.e)(t,e=>y(e)),C=n.useRef(!1),S=!b||g||!!b.closest("form"),[R=!1,z]=(0,l.T)({prop:o,defaultProp:d,onChange:x}),M=n.useRef(R);return n.useEffect(()=>{let e=null==b?void 0:b.form;if(e){let t=()=>z(M.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[b,z]),(0,f.jsxs)(p,{scope:r,state:R,disabled:m,children:[(0,f.jsx)(u.WV.button,{type:"button",role:"checkbox","aria-checked":N(R)?"mixed":R,"aria-required":c,"data-state":w(R),"data-disabled":m?"":void 0,disabled:m,value:h,...v,ref:k,onKeyDown:(0,i.M)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.M)(e.onClick,e=>{z(e=>!!N(e)||!e),S&&(C.current=e.isPropagationStopped(),C.current||e.stopPropagation())})}),S&&(0,f.jsx)(j,{control:b,bubbles:!C.current,name:s,value:h,checked:R,required:c,disabled:m,form:g,style:{transform:"translateX(-100%)"},defaultChecked:!N(d)&&d})]})});v.displayName=m;var b="CheckboxIndicator",y=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:n,...a}=e,s=g(b,r);return(0,f.jsx)(c.z,{present:n||N(s.state)||!0===s.state,children:(0,f.jsx)(u.WV.span,{"data-state":w(s.state),"data-disabled":s.disabled?"":void 0,...a,ref:t,style:{pointerEvents:"none",...e.style}})})});y.displayName=b;var j=e=>{let{control:t,checked:r,bubbles:a=!0,defaultChecked:s,...i}=e,l=n.useRef(null),c=(0,o.D)(r),u=(0,d.t)(t);n.useEffect(()=>{let e=l.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==r&&t){let n=new Event("click",{bubbles:a});e.indeterminate=N(r),t.call(e,!N(r)&&r),e.dispatchEvent(n)}},[c,r,a]);let m=n.useRef(!N(r)&&r);return(0,f.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=s?s:m.current,...i,tabIndex:-1,ref:l,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function N(e){return"indeterminate"===e}function w(e){return N(e)?"indeterminate":e?"checked":"unchecked"}var k=v,C=y},48897:function(e,t,r){"use strict";r.d(t,{f:function(){return d}});var n=r(64149),a=r(79442),s=r(20881),i="horizontal",l=["horizontal","vertical"],o=n.forwardRef((e,t)=>{let{decorative:r,orientation:n=i,...o}=e,d=l.includes(n)?n:i;return(0,s.jsx)(a.WV.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...o,ref:t})});o.displayName="Separator";var d=o},32437:function(e,t,r){"use strict";r.d(t,{D:function(){return a}});var n=r(64149);function a(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},73452:function(e,t,r){"use strict";r.d(t,{t:function(){return s}});var n=r(64149),a=r(61013);function s(e){let[t,r]=n.useState(void 0);return(0,a.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,a;if(!Array.isArray(t)||!t.length)return;let s=t[0];if("borderBoxSize"in s){let e=s.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,a=t.blockSize}else n=e.offsetWidth,a=e.offsetHeight;r({width:n,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}}},function(e){e.O(0,[792,4059,8714,217,4491,2310,8985,5330,1744],function(){return e(e.s=98910)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/experimental/layout-16b6cf36e2f299c3.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/experimental/layout-16b6cf36e2f299c3.js
new file mode 100644
index 0000000..1a5e8de
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/experimental/layout-16b6cf36e2f299c3.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5342],{97017:function(e,t,a){Promise.resolve().then(a.bind(a,98496))},98496:function(e,t,a){"use strict";a.r(t);var s=a(20881);a(64149);var r=a(27525),n=a(26509);t.default=e=>{let{children:t}=e,a=(0,r.usePathname)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,s.jsx)("h1",{className:"text-3xl font-semibold",children:"Experimental"})}),(0,s.jsxs)("div",{className:"mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]",children:[(0,s.jsx)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:(0,s.jsx)(n.default,{href:"/dashboard/experimental/quecwatch",className:"".concat("/dashboard/experimental/quecwatch/"===a?"font-semibold text-primary":"text-sm"),children:"QuecWatch"})}),t]})]})}},27525:function(e,t,a){"use strict";var s=a(39886);a.o(s,"usePathname")&&a.d(t,{usePathname:function(){return s.usePathname}}),a.o(s,"useRouter")&&a.d(t,{useRouter:function(){return s.useRouter}})}},function(e){e.O(0,[6509,8985,5330,1744],function(){return e(e.s=97017)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/experimental/page-2e6c22f85a60b0b3.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/experimental/page-2e6c22f85a60b0b3.js
new file mode 100644
index 0000000..bc77576
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/experimental/page-2e6c22f85a60b0b3.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7387],{43682:function(){}},function(n){n.O(0,[8985,5330,1744],function(){return n(n.s=43682)}),_N_E=n.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/experimental/quecwatch/page-7674fe15b1501845.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/experimental/quecwatch/page-7674fe15b1501845.js
new file mode 100644
index 0000000..a78ec92
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/experimental/quecwatch/page-7674fe15b1501845.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8078],{2549:function(e,t,r){Promise.resolve().then(r.bind(r,89076))},89076:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return p}});var a=r(20881),n=r(64149),s=r(94920),i=r(22989),l=r(78580),o=r(23853),c=r(21501),d=r(33335),u=r(92093);let f=(0,u.Z)("ShieldX",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m14.5 9.5-5 5",key:"17q4r4"}],["path",{d:"m9.5 9.5 5 5",key:"18nt4w"}]]),m=(0,u.Z)("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var h=r(46646),p=()=>{let{toast:e}=(0,h.pm)(),[t,r]=(0,n.useState)({pingTarget:"",pingInterval:30,pingFailures:3,maxRetries:5,connectionRefresh:!1,mobileDataReconnect:!1,autoSimFailover:!1,simFailoverSchedule:30}),[u,p]=(0,n.useState)("loading"),[x,g]=(0,n.useState)(!1),[v,b]=(0,n.useState)(null),[w,j]=(0,n.useState)(null),y=async()=>{try{let t=await fetch("/cgi-bin/experimental/quecwatch/quecwatch-fetch.sh",{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok)throw Error("Network response was not ok");let a=await t.json();switch(a.status){case"active":if(a.config){let t={pingTarget:a.config.pingTarget,pingInterval:a.config.pingInterval,pingFailures:a.config.pingFailures,maxRetries:a.config.maxRetries,connectionRefresh:!0===a.config.connectionRefresh,mobileDataReconnect:!0===a.config.mobileDataReconnect,autoSimFailover:!0===a.config.autoSimFailover,simFailoverSchedule:a.config.simFailoverSchedule||30,currentRetries:a.config.currentRetries,refreshCount:a.config.refreshCount};r(t),void 0!==t.currentRetries&&t.currentRetries>=t.maxRetries?(p("inactive"),e({title:"QuecWatch Stopped",description:"Maximum retries exhausted",variant:"destructive"})):p("active"),j(a.lastActivity||null)}break;case"inactive":p("inactive");break;default:p("error"),b(a.message||"Unknown error occurred"),e({title:"Error",description:"Failed to fetch quecwatch configuration",variant:"destructive"})}}catch(t){p("error"),b(t instanceof Error?t.message:"An unknown error occurred"),e({title:"Error",description:"Failed to fetch quecwatch configuration",variant:"destructive"})}};(0,n.useEffect)(()=>{y()},[]),(0,n.useEffect)(()=>{if("active"===u){let e=setInterval(y,5e3);return()=>clearInterval(e)}},[u]);let N=async()=>{g(!0),b(null);try{let r=new URLSearchParams;r.append("action","enable"),r.append("ping_target",t.pingTarget),r.append("ping_interval",t.pingInterval.toString()),r.append("ping_failures",t.pingFailures.toString()),r.append("max_retries",t.maxRetries.toString()),r.append("connection_refresh",t.connectionRefresh.toString()),r.append("mobile_data_reconnect",t.mobileDataReconnect.toString()),r.append("auto_sim_failover",t.autoSimFailover.toString()),r.append("sim_failover_schedule",t.simFailoverSchedule.toString());let a=await fetch("/cgi-bin/experimental/quecwatch/enable-quecwatch.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:r});if(!a.ok)throw Error("Network response was not ok");let n=await a.json();if("success"===n.status)p("active"),e({title:"QuecWatch Enabled",description:"Quecwatch enabled successfully"}),await y();else throw Error(n.message)}catch(e){p("error"),b(e instanceof Error?e.message:"An unknown error occurred")}finally{g(!1)}},S=async()=>{g(!0),b(null);try{let t=new URLSearchParams;t.append("action","disable");let a=await fetch("/cgi-bin/experimental/quecwatch/disable-quecwatch.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:t});if(!a.ok)throw Error("Network response was not ok");let n=await a.json();if("success"===n.status)p("inactive"),r({pingTarget:"",pingInterval:30,pingFailures:3,maxRetries:5,connectionRefresh:!1,mobileDataReconnect:!1,autoSimFailover:!1,simFailoverSchedule:30}),e({title:"QuecWatch Disabled",description:"Quecwatch disabled successfully",variant:"default"});else throw Error(n.message)}catch(t){p("error"),b(t instanceof Error?t.message:"An unknown error occurred"),e({title:"Error",description:"Failed to disable QuecWatch",variant:"destructive"})}finally{g(!1)}};return(0,a.jsxs)(s.Zb,{children:[(0,a.jsxs)(s.Ol,{children:[(0,a.jsx)(s.ll,{children:"QuecWatch"}),(0,a.jsx)(s.SZ,{children:"A watchdog feature catered for Quectel-AP modems"})]}),(0,a.jsx)(s.aY,{children:(0,a.jsxs)("div",{className:"grid gap-8",children:[(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center gap-x-4 rounded-lg border p-4",children:[(0,a.jsx)(c._,{children:"QuecWatch Status"}),(0,a.jsx)("div",{className:"flex items-center space-x-1",children:"inactive"===u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f,{className:"text-rose-500 size-4"}),(0,a.jsx)("p",{className:"text-muted-foreground text-sm",children:void 0!==t.currentRetries&&t.currentRetries>=t.maxRetries?"Max Retries Exhausted":"Inactive"})]}):"active"===u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m,{className:"text-green-500 size-4"}),(0,a.jsx)("p",{className:"text-muted-foreground text-sm",children:"Active"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f,{className:"text-amber-500 size-4"}),(0,a.jsx)("p",{className:"text-muted-foreground text-sm",children:"Error"})]})})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center gap-x-4 rounded-lg border p-4",children:[(0,a.jsx)(c._,{children:"Remaining Retries"}),(0,a.jsxs)("p",{className:"text-muted-foreground text-sm",children:[t.currentRetries," / ",t.maxRetries]})]})]}),(0,a.jsxs)("div",{className:"grid grid-flow-row lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,a.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,a.jsx)(c._,{htmlFor:"ping",children:"Ping Target"}),(0,a.jsx)(d.I,{id:"ping",placeholder:"8.8.8.8",value:t.pingTarget,disabled:"active"===u,readOnly:"active"===u,onChange:e=>r(t=>({...t,pingTarget:e.target.value}))})]}),(0,a.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,a.jsx)(c._,{htmlFor:"ping-interval",children:"Ping Interval"}),(0,a.jsxs)(i.Ph,{value:t.pingInterval.toString(),disabled:"active"===u,onValueChange:e=>r(t=>({...t,pingInterval:parseInt(e)})),children:[(0,a.jsx)(i.i4,{id:"ping-interval",children:(0,a.jsx)(i.ki,{placeholder:"Select Ping Interval"})}),(0,a.jsx)(i.Bw,{children:[1,3,5,10,15,30,60].map(e=>(0,a.jsxs)(i.Ql,{value:e.toString(),children:[e," second",1!==e?"s":""]},e))})]})]}),(0,a.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,a.jsx)(c._,{htmlFor:"ping-failure",children:"Ping Failures"}),(0,a.jsxs)(i.Ph,{value:t.pingFailures.toString(),disabled:"active"===u,onValueChange:e=>r(t=>({...t,pingFailures:parseInt(e)})),children:[(0,a.jsx)(i.i4,{id:"ping-failure",children:(0,a.jsx)(i.ki,{placeholder:"Select Ping Failures"})}),(0,a.jsx)(i.Bw,{children:[1,3,5,10].map(e=>(0,a.jsxs)(i.Ql,{value:e.toString(),children:[e," failure",1!==e?"s":""]},e))})]})]}),(0,a.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,a.jsx)(c._,{htmlFor:"max-retries",children:"Max Retries"}),(0,a.jsxs)(i.Ph,{value:t.maxRetries.toString(),disabled:"active"===u,onValueChange:e=>r(t=>({...t,maxRetries:parseInt(e)})),children:[(0,a.jsx)(i.i4,{id:"max-retries",children:(0,a.jsx)(i.ki,{placeholder:"Select Max Retries"})}),(0,a.jsx)(i.Bw,{children:[1,3,5,10].map(e=>(0,a.jsx)(i.Ql,{value:e.toString(),children:e},e))})]})]})]}),(0,a.jsxs)("div",{className:"flex flex-row items-center justify-between rounded-lg border p-4",children:[(0,a.jsxs)("div",{className:"space-y-0.5 grid",children:[(0,a.jsx)(c._,{className:"text-base",children:"Connection Refresh"}),(0,a.jsx)(c._,{className:"text-sm font-normal text-muted-foreground",children:"Toggle the connection refresh for the modem to first attempt reconnecting to the network before restarting."})]}),(0,a.jsx)(o.r,{checked:t.connectionRefresh,disabled:"active"===u,onCheckedChange:e=>r(t=>({...t,connectionRefresh:e}))})]}),(0,a.jsxs)("div",{className:"flex flex-row items-center justify-between rounded-lg border p-4",children:[(0,a.jsxs)("div",{className:"space-y-0.5 grid",children:[(0,a.jsx)(c._,{className:"text-base",children:"Use Mobile Data Reconnect"}),(0,a.jsx)(c._,{className:"text-sm font-normal text-muted-foreground",children:"Use Mobile Data Reconnect will turn off and on the mobile data connection rather than restarting the modem."})]}),(0,a.jsx)(o.r,{checked:t.mobileDataReconnect,disabled:"active"===u,onCheckedChange:e=>r(t=>({...t,mobileDataReconnect:e}))})]}),(0,a.jsxs)("div",{className:" rounded-lg border p-4 grid gap-y-6",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[(0,a.jsxs)("div",{className:"space-y-0.5 grid",children:[(0,a.jsx)(c._,{className:"text-base",children:"Auto SIM Failover"}),(0,a.jsx)(c._,{className:"text-sm font-normal text-muted-foreground",children:"Auto SIM Failover will automatically switch to the next available SIM card when the current SIM card fails to connect to the network."})]}),(0,a.jsx)(o.r,{checked:t.autoSimFailover,disabled:"active"===u,onCheckedChange:e=>r(t=>({...t,autoSimFailover:e}))})]}),(0,a.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,a.jsx)(c._,{htmlFor:"sim-failover",children:"Schedule SIM Checking"}),(0,a.jsxs)(i.Ph,{value:t.simFailoverSchedule.toString(),disabled:"active"===u,onValueChange:e=>r(t=>({...t,simFailoverSchedule:parseInt(e)})),children:[(0,a.jsx)(i.i4,{id:"sim-failover",className:"max-w-xs",children:(0,a.jsx)(i.ki,{placeholder:"Select SIM Checking Interval"})}),(0,a.jsxs)(i.Bw,{children:[(0,a.jsx)(i.Ql,{value:"1",children:"1 Minute"}),(0,a.jsx)(i.Ql,{value:"5",children:"5 Minutes"}),(0,a.jsx)(i.Ql,{value:"30",children:"30 Minutes"}),(0,a.jsx)(i.Ql,{value:"60",children:"1 Hour"}),(0,a.jsx)(i.Ql,{value:"360",children:"6 Hours"}),(0,a.jsx)(i.Ql,{value:"720",children:"12 Hours"}),(0,a.jsx)(i.Ql,{value:"1440",children:"24 Hours"})]})]})]})]}),(0,a.jsxs)("div",{className:"rounded-lg border p-4",children:[(0,a.jsx)(c._,{className:"text-base",children:"Last Activity"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mt-2",children:w})]}),v&&(0,a.jsx)("div",{className:"text-red-500 text-sm",children:v})]})}),(0,a.jsxs)(s.eW,{className:"flex gap-4",children:[(0,a.jsx)(l.z,{onClick:N,disabled:x||!t.pingTarget||"active"===u,children:x?"Enabling...":"Enable QuecWatch"}),"active"===u&&(0,a.jsx)(l.z,{variant:"destructive",onClick:S,disabled:x,children:x?"Disabling...":"Disable QuecWatch"})]})]})}},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return o},z:function(){return c}});var a=r(20881),n=r(64149),s=r(54098),i=r(20116),l=r(90270);let o=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:i,asChild:c=!1,...d}=e,u=c?s.g7:"button";return(0,a.jsx)(u,{className:(0,l.cn)(o({variant:n,size:i,className:r})),ref:t,...d})});c.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},SZ:function(){return c},Zb:function(){return i},aY:function(){return d},eW:function(){return u},ll:function(){return o}});var a=r(20881),n=r(64149),s=r(90270);let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});i.displayName="Card";let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...n})});l.displayName="CardHeader";let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",r),...n})});o.displayName="CardTitle";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...n})});c.displayName="CardDescription";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...n})});d.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...n})});u.displayName="CardFooter"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var a=r(20881),n=r(64149),s=r(90270);let i=n.forwardRef((e,t)=>{let{className:r,type:n,...i}=e;return(0,a.jsx)("input",{type:n,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},21501:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var a=r(20881),n=r(64149),s=r(51212),i=r(20116),l=r(90270);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.f,{ref:t,className:(0,l.cn)(o(),r),...n})});c.displayName=s.f.displayName},22989:function(e,t,r){"use strict";r.d(t,{Bw:function(){return h},DI:function(){return c},Ph:function(){return o},Ql:function(){return x},i4:function(){return u},ki:function(){return d},n5:function(){return p}});var a=r(20881),n=r(64149),s=r(35935),i=r(62072),l=r(90270);let o=i.fC,c=i.ZA,d=i.B4,u=n.forwardRef((e,t)=>{let{className:r,children:n,...o}=e;return(0,a.jsxs)(i.xz,{ref:t,className:(0,l.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),...o,children:[n,(0,a.jsx)(i.JO,{asChild:!0,children:(0,a.jsx)(s.jnn,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=i.xz.displayName;let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(i.u_,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",r),...n,children:(0,a.jsx)(s.g8U,{})})});f.displayName=i.u_.displayName;let m=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(i.$G,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",r),...n,children:(0,a.jsx)(s.v4q,{})})});m.displayName=i.$G.displayName;let h=n.forwardRef((e,t)=>{let{className:r,children:n,position:s="popper",...o}=e;return(0,a.jsx)(i.h_,{children:(0,a.jsxs)(i.VY,{ref:t,className:(0,l.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===s&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:s,...o,children:[(0,a.jsx)(f,{}),(0,a.jsx)(i.l_,{className:(0,l.cn)("p-1","popper"===s&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:n}),(0,a.jsx)(m,{})]})})});h.displayName=i.VY.displayName;let p=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(i.__,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",r),...n})});p.displayName=i.__.displayName;let x=n.forwardRef((e,t)=>{let{className:r,children:n,...o}=e;return(0,a.jsxs)(i.ck,{ref:t,className:(0,l.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...o,children:[(0,a.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(i.wU,{children:(0,a.jsx)(s.nQG,{className:"h-4 w-4"})})}),(0,a.jsx)(i.eT,{children:n})]})});x.displayName=i.ck.displayName,n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(i.Z0,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",r),...n})}).displayName=i.Z0.displayName},23853:function(e,t,r){"use strict";r.d(t,{r:function(){return N}});var a=r(20881),n=r(64149),s=r(64433),i=r(83954),l=r(74873),o=r(45306),c=r(32437),d=r(73452),u=r(79442),f="Switch",[m,h]=(0,l.b)(f),[p,x]=m(f),g=n.forwardRef((e,t)=>{let{__scopeSwitch:r,name:l,checked:c,defaultChecked:d,required:f,disabled:m,value:h="on",onCheckedChange:x,form:g,...v}=e,[b,y]=n.useState(null),N=(0,i.e)(t,e=>y(e)),S=n.useRef(!1),k=!b||g||!!b.closest("form"),[R=!1,_]=(0,o.T)({prop:c,defaultProp:d,onChange:x});return(0,a.jsxs)(p,{scope:r,checked:R,disabled:m,children:[(0,a.jsx)(u.WV.button,{type:"button",role:"switch","aria-checked":R,"aria-required":f,"data-state":j(R),"data-disabled":m?"":void 0,disabled:m,value:h,...v,ref:N,onClick:(0,s.M)(e.onClick,e=>{_(e=>!e),k&&(S.current=e.isPropagationStopped(),S.current||e.stopPropagation())})}),k&&(0,a.jsx)(w,{control:b,bubbles:!S.current,name:l,value:h,checked:R,required:f,disabled:m,form:g,style:{transform:"translateX(-100%)"}})]})});g.displayName=f;var v="SwitchThumb",b=n.forwardRef((e,t)=>{let{__scopeSwitch:r,...n}=e,s=x(v,r);return(0,a.jsx)(u.WV.span,{"data-state":j(s.checked),"data-disabled":s.disabled?"":void 0,...n,ref:t})});b.displayName=v;var w=e=>{let{control:t,checked:r,bubbles:s=!0,...i}=e,l=n.useRef(null),o=(0,c.D)(r),u=(0,d.t)(t);return n.useEffect(()=>{let e=l.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(o!==r&&t){let a=new Event("click",{bubbles:s});t.call(e,r),e.dispatchEvent(a)}},[o,r,s]),(0,a.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...i,tabIndex:-1,ref:l,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function j(e){return e?"checked":"unchecked"}var y=r(90270);let N=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(g,{className:(0,y.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r),...n,ref:t,children:(0,a.jsx)(b,{className:(0,y.cn)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})})});N.displayName=g.displayName},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var a=r(64149);let n=0,s=new Map,i=e=>{if(s.has(e))return;let t=setTimeout(()=>{s.delete(e),d({type:"REMOVE_TOAST",toastId:e})},1e6);s.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},o=[],c={toasts:[]};function d(e){c=l(c,e),o.forEach(e=>{e(c)})}function u(e){let{...t}=e,r=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>d({type:"DISMISS_TOAST",toastId:r});return d({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||a()}}}),{id:r,dismiss:a,update:e=>d({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=a.useState(c);return a.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>d({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var a=r(33958),n=r(61779);function s(){for(var e=arguments.length,t=Array(e),r=0;re.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var e=arguments.length,t=Array(e),r=0;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,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:n=24,strokeWidth:l=2,absoluteStrokeWidth:o,className:c="",children:d,iconNode:u,...f}=e;return(0,a.createElement)("svg",{ref:t,...i,width:n,height:n,stroke:r,strokeWidth:o?24*Number(l)/Number(n):l,className:s("lucide",c),...f},[...u.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),o=(e,t)=>{let r=(0,a.forwardRef)((r,i)=>{let{className:o,...c}=r;return(0,a.createElement)(l,{ref:i,iconNode:t,className:s("lucide-".concat(n(e)),o),...c})});return r.displayName="".concat(e),r}},51212:function(e,t,r){"use strict";r.d(t,{f:function(){return l}});var a=r(64149),n=r(79442),s=r(20881),i=a.forwardRef((e,t)=>(0,s.jsx)(n.WV.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}},function(e){e.O(0,[792,4059,8714,217,5420,2072,8985,5330,1744],function(){return e(e.s=2549)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/home/page-c419ca552a1725f2.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/home/page-c419ca552a1725f2.js
new file mode 100644
index 0000000..8f15ed9
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/home/page-c419ca552a1725f2.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5883],{4591:function(e,s,n){Promise.resolve().then(n.bind(n,96019))},96019:function(e,s,n){"use strict";n.r(s),n.d(s,{default:function(){return eu}});var t=n(20881),l=n(64149),r=n(46646),i=n(94920),a=n(88766),o=n(20116),c=n(90270);let d=(0,o.j)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function p(e){let{className:s,variant:n,...l}=e;return(0,t.jsx)("div",{className:(0,c.cn)(d({variant:n}),s),...l})}var u=e=>{let{data:s,isLoading:n}=e;return(0,t.jsxs)(i.Zb,{children:[(0,t.jsxs)(i.Ol,{children:[(0,t.jsx)(i.ll,{children:"Sim Card"}),(0,t.jsx)(i.SZ,{children:"Sim card information"})]}),(0,t.jsxs)(i.aY,{className:"grid gap-2",children:[(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Sim Card Slot in Use"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[50px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.slot})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Sim Card State"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.simCard.state)==="Inserted"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.simCard.state})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Provider"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.provider})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Phone Number"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[140px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.phoneNumber})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"IMSI"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[140px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imsi})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"ICCID"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[140px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.iccid})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"IMEI"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[140px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imei})]})]})]})};let m={6:"1.4 MHz",15:"3 MHz",25:"5 MHz",50:"10 MHz",75:"15 MHz",100:"20 MHz"},h={0:"5 MHz",1:"10 MHz",2:"15 MHz",3:"20 MHz",4:"25 MHz",5:"30 MHz",6:"40 MHz",7:"50 MHz",8:"60 MHz",9:"70 MHz",10:"80 MHz",11:"90 MHz",12:"100 MHz",13:"200 MHz",14:"400 MHz",15:"35 MHz",16:"45 MHz"},x={2:"UTRAN",4:"HSDPA",5:"HSUPA",6:"HSDPA & HSUPA",7:"E-UTRAN",10:"E-UTRAN - 5GCN",11:"NR - 5GCN",12:"NG-RAN",13:"E-UTRAN-NR Dual"},f=e=>x[e]||"Unknown";var g=e=>{let{data:s,isLoading:n,dataConnectionState:l,connectionStateLoading:r}=e;return(0,t.jsxs)(i.Zb,{children:[(0,t.jsxs)(i.Ol,{children:[(0,t.jsx)(i.ll,{children:"Connection"}),(0,t.jsx)(i.SZ,{children:"Connection information"})]}),(0,t.jsxs)(i.aY,{className:"grid gap-2",children:[(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("div",{children:"APN"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.apn})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("div",{children:"Operator State"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.connection.operatorState)==="Unknown"||(null==s?void 0:s.connection.operatorState)==="Denied"?"bg-rose-500 hover:bg-rose-800":"bg-emerald-500 hover:bg-emerald-800"),children:null==s?void 0:s.connection.operatorState})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("div",{children:"Functionality State"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.connection.functionalityState)==="Enabled"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.connection.functionalityState})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("div",{children:"Data Connection State"}),r?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)(p,{className:"font-bold ".concat("Connected"===l?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:l})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("div",{children:"Network Type"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.networkType})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("div",{children:"Modem Temperature"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.modemTemperature})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("div",{children:"Access Technology"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)("div",{className:"font-bold",children:(null==s?void 0:s.connection.accessTechnology)?f(s.connection.accessTechnology):"Unknown"})]})]})]})},j=e=>{let{data:s,isLoading:n,bytesSent:l,bytesReceived:r}=e;return(0,t.jsxs)(i.Zb,{children:[(0,t.jsxs)(i.Ol,{children:[(0,t.jsx)(i.ll,{children:"Data Transmission"}),(0,t.jsx)(i.SZ,{children:"Data transmission information"})]}),(0,t.jsxs)(i.aY,{className:"grid gap-2",children:[(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Carrier Aggregation"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.dataTransmission.carrierAggregation)==="Multi"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.dataTransmission.carrierAggregation})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Bandwidth"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.bandwidth})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Connected Bands"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.connectedBands})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Signal Strength"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>80?"bg-emerald-500 hover:bg-emerald-800":(null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>40?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.dataTransmission.signalStrength})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"MIMO Layers"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.mimoLayers})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Bytes Sent"}),(0,t.jsx)("p",{className:"font-bold",children:l})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Bytes Received"}),(0,t.jsx)("p",{className:"font-bold",children:r})]})]})]})},N=e=>{let{data:s,isLoading:n}=e;return(0,t.jsxs)(i.Zb,{children:[(0,t.jsxs)(i.Ol,{children:[(0,t.jsx)(i.ll,{children:"Cellular Information"}),(0,t.jsx)(i.SZ,{children:"Cellular network information"})]}),(0,t.jsxs)(i.aY,{className:"grid gap-2",children:[(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Cell ID"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[80px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.cellId})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"TAC"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[80px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.trackingAreaCode})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Physical Cell IDs"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[80px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.physicalCellId})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"E/ARFCN"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[80px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.earfcn})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Mobile Country Code"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[80px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mcc})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Mobile Network Code"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[80px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mnc})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("p",{children:"Signal Quality"}),n?(0,t.jsx)(a.O,{className:"h-4 w-[80px]"}):(0,t.jsx)(p,{className:"\n font-bold ".concat((null==s?void 0:s.cellularInfo.signalQuality)&&parseInt(null==s?void 0:s.cellularInfo.signalQuality)>80?"bg-emerald-500 hover:bg-emerald-800":(null==s?void 0:s.cellularInfo.signalQuality)&&parseInt(null==s?void 0:s.cellularInfo.signalQuality)>40?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.cellularInfo.signalQuality})]})]})]})},w=n(84773),v=n(78580),b=n(30214),y=n(7357),S=n(7694),C=n(83765),k=n(7410),R=n(55215),T=n.n(R),A=n(35935),I=n(25696);let U=l.createContext(null);function E(){let e=l.useContext(U);if(!e)throw Error("useCarousel must be used within a ");return e}let M=l.forwardRef((e,s)=>{let{orientation:n="horizontal",opts:r,setApi:i,plugins:a,className:o,children:d,...p}=e,[u,m]=(0,I.Z)({...r,axis:"horizontal"===n?"x":"y"},a),[h,x]=l.useState(!1),[f,g]=l.useState(!1),j=l.useCallback(e=>{e&&(x(e.canScrollPrev()),g(e.canScrollNext()))},[]),N=l.useCallback(()=>{null==m||m.scrollPrev()},[m]),w=l.useCallback(()=>{null==m||m.scrollNext()},[m]),v=l.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),N()):"ArrowRight"===e.key&&(e.preventDefault(),w())},[N,w]);return l.useEffect(()=>{m&&i&&i(m)},[m,i]),l.useEffect(()=>{if(m)return j(m),m.on("reInit",j),m.on("select",j),()=>{null==m||m.off("select",j)}},[m,j]),(0,t.jsx)(U.Provider,{value:{carouselRef:u,api:m,opts:r,orientation:n||((null==r?void 0:r.axis)==="y"?"vertical":"horizontal"),scrollPrev:N,scrollNext:w,canScrollPrev:h,canScrollNext:f},children:(0,t.jsx)("div",{ref:s,onKeyDownCapture:v,className:(0,c.cn)("relative",o),role:"region","aria-roledescription":"carousel",...p,children:d})})});M.displayName="Carousel";let D=l.forwardRef((e,s)=>{let{className:n,...l}=e,{carouselRef:r,orientation:i}=E();return(0,t.jsx)("div",{ref:r,className:"overflow-hidden",children:(0,t.jsx)("div",{ref:s,className:(0,c.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",n),...l})})});D.displayName="CarouselContent";let B=l.forwardRef((e,s)=>{let{className:n,...l}=e,{orientation:r}=E();return(0,t.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,c.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",n),...l})});B.displayName="CarouselItem";let G=l.forwardRef((e,s)=>{let{className:n,variant:l="outline",size:r="icon",...i}=e,{orientation:a,scrollPrev:o,canScrollPrev:d}=E();return(0,t.jsxs)(v.z,{ref:s,variant:l,size:r,className:(0,c.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",n),disabled:!d,onClick:o,...i,children:[(0,t.jsx)(A.Y4O,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});G.displayName="CarouselPrevious";let O=l.forwardRef((e,s)=>{let{className:n,variant:l="outline",size:r="icon",...i}=e,{orientation:a,scrollNext:o,canScrollNext:d}=E();return(0,t.jsxs)(v.z,{ref:s,variant:l,size:r,className:(0,c.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",n),disabled:!d,onClick:o,...i,children:[(0,t.jsx)(A.LZ3,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})});O.displayName="CarouselNext";var z=e=>{let{id:s,bandNumber:n,earfcn:l,bandwidth:r,pci:a,rsrp:o,rsrq:c,sinr:d}=e;return(0,t.jsx)(i.Zb,{className:"p-8",children:(0,t.jsxs)("div",{className:"flex flex-row items-center gap-6 justify-between",children:[(0,t.jsxs)("div",{className:"grid gap-2 w-[180px]",children:[(0,t.jsx)("h2",{className:"text-md font-bold",children:"Band"}),(0,t.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[n.replace("LTE BAND ","B").replace("NR5G BAND ","N"),n.includes("NR5G")&&(0,t.jsx)(p,{className:"text-xs bg-blue-600 hover:bg-blue-800",children:"NR 5G"})]})]}),(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("p",{className:"text-sm font-bold",children:"E/ARFCN"}),(0,t.jsx)("p",{children:l})]}),(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("p",{className:"text-sm font-bold",children:"Bandwidth"}),(0,t.jsx)("p",{children:r})]}),(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("p",{className:"text-sm font-bold",children:"Physical Cell ID"}),(0,t.jsx)("p",{children:a})]}),(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("p",{className:"text-sm font-bold",children:"RSRP"}),(0,t.jsxs)(p,{className:parseInt(o)>=-80?"bg-emerald-500 hover:bg-emerald-800":parseInt(o)>=-100?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[o," dBm"]})]}),(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("p",{className:"text-sm font-bold",children:"RSRQ"}),(0,t.jsxs)(p,{className:10>=parseInt(c)?"bg-emerald-500 hover:bg-emerald-800":20>=parseInt(c)?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[c," dB"]})]}),(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("p",{className:"text-sm font-bold",children:"SINR"}),(0,t.jsxs)(p,{className:parseInt(d)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(d)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[d," dB"]})]})]})})},L=e=>{let{bands:s,isLoading:n}=e;return n?(0,t.jsxs)("div",{className:"flex items-center justify-center",children:[(0,t.jsx)("div",{className:"hidden lg:block w-full",children:(0,t.jsxs)(i.Zb,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,t.jsx)(z,{...e},e.id)),(0,t.jsx)(i.eW,{className:"w-full p-6 flex items-center justify-center",children:(0,t.jsx)(i.SZ,{className:"text-md",children:"Currently bands connected."})})]})}),(0,t.jsx)(M,{className:"lg:hidden w-full max-w-xs",children:(0,t.jsx)(D,{children:(0,t.jsx)(B,{children:(0,t.jsx)("div",{className:"p-1",children:(0,t.jsx)(i.Zb,{children:(0,t.jsxs)(i.aY,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"Band"}),(0,t.jsx)("div",{children:(0,t.jsx)(a.O,{className:"w-16 h-4"})})]}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"E/ARFCN"}),(0,t.jsx)("div",{children:(0,t.jsx)(a.O,{className:"w-16 h-4"})})]}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"Bandwidth"}),(0,t.jsx)("div",{children:(0,t.jsx)(a.O,{className:"w-16 h-4"})})]}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"PCI"}),(0,t.jsx)("div",{children:(0,t.jsx)(a.O,{className:"w-16 h-4"})})]}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"RSRP"}),(0,t.jsx)("div",{children:(0,t.jsx)(a.O,{className:"w-32 h-4"})})]}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"RSRQ"}),(0,t.jsx)("div",{children:(0,t.jsx)(a.O,{className:"w-32 h-4"})})]}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"SINR"}),(0,t.jsx)("div",{children:(0,t.jsx)(a.O,{className:"w-32 h-4"})})]})]})})})})})})]}):(0,t.jsxs)("div",{className:"flex items-center justify-center",children:[(0,t.jsx)("div",{className:"hidden lg:block w-full",children:(0,t.jsxs)(i.Zb,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,t.jsx)(z,{...e},e.id)),(0,t.jsx)(i.eW,{className:"w-full p-6 flex items-center justify-center",children:(0,t.jsx)(i.SZ,{className:"text-md",children:"Current bands connected."})})]})}),(0,t.jsxs)(M,{className:"lg:hidden w-full max-w-xs",children:[(0,t.jsx)(D,{children:null==s?void 0:s.map(e=>(0,t.jsx)(B,{className:"md:basis-1/2 lg:basis-1/3",children:(0,t.jsx)("div",{className:"p-1",children:(0,t.jsx)(i.Zb,{children:(0,t.jsxs)(i.aY,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"Band"}),(0,t.jsx)("p",{children:e.bandNumber})]}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"E/ARFCN"}),(0,t.jsx)("p",{children:e.earfcn})]}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"Bandwidth"}),(0,t.jsx)("p",{children:e.bandwidth})]}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"PCI"}),(0,t.jsx)("p",{children:e.pci})]}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"RSRP"}),(0,t.jsxs)(p,{className:parseInt(e.rsrp)>=-80?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.rsrp)>=-100?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.rsrp," dBm"]})]}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"RSRQ"}),(0,t.jsxs)(p,{className:10>=parseInt(e.rsrq)?"bg-emerald-500 hover:bg-emerald-800":20>=parseInt(e.rsrq)?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.rsrq," dB"]})]}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsx)("p",{children:"SINR"}),(0,t.jsxs)(p,{className:parseInt(e.sinr)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.sinr)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.sinr," dB"]})]})]})})})},e.id))}),(0,t.jsx)(G,{}),(0,t.jsx)(O,{})]})]})};let P=(e,s)=>{switch(e.split("\n")[1].split(":")[1].split(",")[1].trim()||s.split("\n")[1].split(":")[1].split(",")[1].trim()){case"1":return"Registered";case"2":return"Searching";case"3":return"Denied";case"4":return"Unknown";case"5":return"Roaming";default:return"Not Registered"}},Z=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g),n=null==s?void 0:s.some(e=>e.includes("LTE")),t=null==s?void 0:s.some(e=>e.includes("NR5G"));return n&&t?"NR5G-NSA":n?"LTE":t?"NR5G-SA":"No Signal"},H=e=>{let s=["cpuss-0","cpuss-1","cpuss-2","cpuss-3"].map(s=>parseInt(e.split("\n").find(e=>e.includes(s)).split(":")[1].split(",")[1].replace(/"/g,"").trim())),n=s.reduce((e,s)=>e+s,0)/s.length;return"".concat(Math.round(n),"\xb0C")},_=(e,s)=>{let n=e.split("\n").find(e=>e.includes("PCC"));n=null==n?void 0:n.split(":")[1].split(",")[2].trim();let t=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));t=t.map(e=>e.split(":")[1].split(",")[2].trim());let l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));if(l=l.map(e=>e.split(":")[1].split(",")[2].trim()),"LTE"===s)return!t.length&&n?m[n]||"Unknown":[n?m[n]:"",...t.map(e=>m[e])].join(", ");if("NR5G-SA"===s&&n)return l.length?[h[n],...l.map(e=>h[e])].join(", "):h[n]||"Unknown";if("NR5G-NSA"===s&&n)return t.length||l.length?t.length&&!l.length?[m[n],...t.map(e=>m[e])].join(", "):[m[n],...t.map(e=>m[e]),...l.map(e=>h[e])].join(", "):m[n]||"Unknown";return"Unknown"},F=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g);return(null==s?void 0:s.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(e.split(" ")[2].replace(/"/g,"").trim()):void 0).join(", "))||"Unknown"},Q=e=>{let s=e.split("\n").find(e=>e.includes("LTE")),n=e.split("\n").find(e=>e.includes("NR5G")),t=[],l=[];if(s&&(t=s.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),n&&(l=n.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),t=t.filter(e=>-140!==e&&-37625!==e),l=l.filter(e=>-140!==e&&-37625!==e),t.length){if(l.length){let e=t.reduce((e,s)=>e+s,0)/t.length,s=l.reduce((e,s)=>e+s,0)/l.length;return"".concat(Math.round((Math.max(0,Math.min(100,(e+125)/50*100))+Math.max(0,Math.min(100,(s+125)/50*100)))/2),"%")}{let e=t.reduce((e,s)=>e+s,0)/t.length;return"".concat(Math.round(Math.max(0,Math.min(100,(e+125)/50*100))),"%")}}if(!l.length)return"Unknown%";{let e=l.reduce((e,s)=>e+s,0)/l.length;return"".concat(Math.round(Math.max(0,Math.min(100,(e+125)/50*100))),"%")}},q=(e,s)=>"NR5G-SA"===s||"LTE"===s?e.split("\n")[1].split(":")[1].split(",")[6].trim():"NR5G-NSA"===s?e.split("\n")[2].split(":")[1].split(",")[4].trim():"Unknown",V=(e,s)=>"NR5G-SA"===s?e.split("\n")[1].split(":")[1].split(",")[8].trim():"NR5G-NSA"===s?e.split("\n")[2].split(":")[1].split(",")[9].trim():"LTE"===s?e.split("\n")[1].split(":")[1].split(",")[12].trim():"Unknown",Y=(e,s)=>{if("LTE"===s||"NR5G-NSA"===s){let n=e.split("\n").find(e=>e.includes("PCC"));n=null==n?void 0:n.split(":")[1].split(",")[5].trim();let t=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));t=t.map(e=>e.split(":")[1].split(",")[5].trim());let l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(l=l.map(e=>e.split(":")[1].split(",")[4].trim()),t.length||l.length)?"LTE"===s?[n,...t].join(", "):[n,...t,...l].join(", "):n}if("NR5G-SA"===s){let s=e.split("\n").find(e=>e.includes("PCC"));s=null==s?void 0:s.split(":")[1].split(",")[4].trim();let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(n=n.map(e=>e.split(":")[1].split(",")[5].trim())).length?[s,...n].join(", "):s}},W=e=>{let s=e.split("\n").find(e=>e.includes("PCC"));s=null==s?void 0:s.split(":")[1].split(",")[1].trim();let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));n=n.map(e=>e.split(":")[1].split(",")[1].trim());let t=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(t=t.map(e=>e.split(":")[1].split(",")[1].trim()),!s||n.length||t.length)?s&&n.length&&!t.length?[s,...n].join(", "):s&&!n.length&&t.length?[s,...t].join(", "):s&&n.length&&t.length?[s,...n,...t].join(", "):"Unknown":s},K=(e,s)=>"LTE"===s||"NR5G-SA"===s?e.split("\n")[1].split(":")[1].split(",")[4].trim():"NR5G-NSA"===s?e.split("\n")[2].split(":")[1].split(",")[2].trim():"Unknown",$=(e,s)=>"LTE"===s||"NR5G-SA"===s?e.split("\n")[1].split(":")[1].split(",")[5].trim():"NR5G-NSA"===s?e.split("\n")[2].split(":")[1].split(",")[3].trim():void 0,X=e=>{let s=e.split("\n").find(e=>e.includes("LTE")),n=e.split("\n").find(e=>e.includes("NR5G")),t=[],l=[];if(s&&(t=s.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),n&&(l=n.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),t=t.filter(e=>-140!==e&&-37625!==e),l=l.filter(e=>-140!==e&&-37625!==e),t.length){if(l.length){let e=t.reduce((e,s)=>e+s,0)/t.length,s=l.reduce((e,s)=>e+s,0)/l.length;return"".concat(Math.round((Math.max(0,Math.min(100,(e+125)/50*100))+Math.max(0,Math.min(100,(s+125)/50*100)))/2),"%")}{let e=t.reduce((e,s)=>e+s,0)/t.length;return"".concat(Math.round(Math.max(0,Math.min(100,(e+125)/50*100))),"%")}}if(!l.length)return"Unknown%";{let e=l.reduce((e,s)=>e+s,0)/l.length;return"".concat(Math.round(Math.max(0,Math.min(100,(e+125)/50*100))),"%")}},J=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),n=e.split("\n").filter(e=>e.includes("NR5G BAND"));return s.length&&n.length?[...s,...n].map(e=>e.split(":")[1].split(",")[3].replace(/"/g,"")):s.length?s.map(e=>e.split(":")[1].split(",")[3].replace(/"/g,"")):n.length?n.map(e=>e.split(":")[1].split(",")[3].replace(/"/g,"")):["Unknown"]},ee=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),n=e.split("\n").filter(e=>e.includes("NR5G BAND"));return s.length&&n.length?[...s,...n].map(e=>e.split(":")[1].split(",")[1]):s.length?s.map(e=>e.split(":")[1].split(",")[1]):n.length?n.map(e=>e.split(":")[1].split(",")[1]):["Unknown"]},es=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),n=e.split("\n").filter(e=>e.includes("NR5G BAND")),t=s.map(e=>m[e.split(":")[1].split(",")[2]]),l=n.map(e=>h[e.split(":")[1].split(",")[2]]);return t.length&&l.length?[...t,...l]:t.length?t:l.length?l:["Unknown"]},en=(e,s)=>{if("LTE"===s||"NR5G-SA"===s){let s=e.split("\n").find(e=>e.includes("PCC"));s=s?s.split(":")[1].split(",")[4].trim():"Unknown";let n=e.split("\n").filter(e=>e.includes("BAND"));return n.length?[s,...n.map(e=>e.split(":")[1].split(",")[5]||"Unknown")]:[s]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")),n=e.split("\n").filter(e=>e.includes("NR5G BAND"));return[...s.map(e=>e.split(":")[1].split(",")[5]||"Unknown"),...n.map(e=>e.split(":")[1].split(",")[4]||"Unknown")]}return["Unknown"]},et=(e,s,n)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>e.split(":")[1].split(",")[6]);if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>e.split(":")[1].split(",")[6]),t=n.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>e.split(":")[1].split(",")[4]);return s.length&&t.length?[...s,...t]:s.length?s:t.length?t:["Unknown"]}if("NR5G-SA"===s){let e=n.split("\n").find(e=>e.includes("NR5G-SA"));if(e)return[e.split(":")[1].split(",")[12]]}return["Unknown"]},el=(e,s,n)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("BAND")).map(e=>e.split(":")[1].split(",")[7]);if("NR5G-SA"===s){let e=n.split("\n").find(e=>e.includes("NR5G-SA"));return e?[e.split(":")[1].split(",")[13]]:["Unknown"]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>e.split(":")[1].split(",")[7]),t=n.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>e.split(":")[1].split(",")[6]);if(s.length&&t.length)return[...s,...t];if(s.length)return s;if(t.length)return t}return["Unknown"]},er=(e,s,n)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("BAND")).map(e=>e.split(":")[1].split(",")[9]);if("NR5G-SA"===s){let e=n.split("\n").find(e=>e.includes("NR5G-SA"));return e?[e.split(":")[1].split(",")[14]]:["Unknown"]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>e.split(":")[1].split(",")[9]),t=n.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>e.split(":")[1].split(",")[5]);if(s.length&&t.length)return[...s,...t];if(s.length)return s;if(t.length)return t}return["Unknown"]},ei=e=>{let s=[-32768,-140],n=e.split("\n").find(e=>e.includes("LTE")),t=e.split("\n").find(e=>e.includes("NR5G")),l=[],r=[];return(n&&(l=n.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),t&&(r=t.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),l=l.filter(e=>!s.includes(e)),r=r.filter(e=>!s.includes(e)),l.length)?r.length?"LTE ".concat(l.length.toString()," / NR ").concat(r.length.toString()):"LTE ".concat(l.length.toString()):r.length?"NR ".concat(r.length.toString()):"Unknown"};var ea=()=>{let[e,s]=(0,l.useState)(null),[n,t]=(0,l.useState)(6e4),[r,i]=(0,l.useState)(!0),[a,o]=(0,l.useState)(!0),c=async()=>{try{let e=await fetch("/cgi-bin/settings/fetch-config.sh"),s=await e.json(),n=Math.max(1e3,parseInt(s.data_refresh_rate));t(n)}catch(e){console.error("Error fetching refresh rate:",e)}},d=(0,l.useCallback)(async()=>{try{var e,n,t;a&&i(!0);let l=await fetch("/cgi-bin/fetch_data.sh?set=1"),r=await l.json();console.log(r),await c();let o={simCard:{slot:r[0].response.split("\n")[1].split(":")[1].trim()||"Unknown",state:r[6].response.match("READY")?"Inserted":"Not Inserted",provider:r[2].response.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()||"Unknown",phoneNumber:r[1].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim()||"Unknown",imsi:r[3].response.split("\n")[1].trim()||"Unknown",iccid:r[4].response.split("\n")[1].split(":")[1].trim()||"Unknown",imei:r[5].response.split("\n")[1].trim()||"Unknown"},connection:{apn:r[7].response.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()||r[12].response.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()||"Unknown",operatorState:P(r[8].response,r[16].response)||"Unknown",functionalityState:"1"===r[9].response.split("\n")[1].split(":")[1].trim()?"Enabled":"Disabled",networkType:Z(r[13].response)||"No Signal",modemTemperature:H(r[11].response)||"Unknown",accessTechnology:r[2].response.split("\n")[1].split(":")[1].split(",")[3].trim()||"Unknown"},dataTransmission:{carrierAggregation:(null===(e=r[13].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g))||void 0===e?void 0:e.length)>1?"Multi":"Inactive",bandwidth:_(r[13].response,Z(r[13].response))||"Unknown",connectedBands:F(r[13].response)||"Unknown",signalStrength:Q(r[14].response)||"Unknown",mimoLayers:ei(r[14].response)||"Unknown"},cellularInfo:{cellId:q(r[10].response,Z(r[13].response))||"Unknown",trackingAreaCode:V(r[10].response,Z(r[13].response))||"Unknown",physicalCellId:Y(r[13].response,Z(r[13].response)),earfcn:W(r[13].response),mcc:K(r[10].response,Z(r[13].response))||"Unknown",mnc:$(r[10].response,Z(r[13].response))||"Unknown",signalQuality:X(r[19].response)||"Unknown"},currentBands:{id:Array.from({length:null!==(t=null===(n=J(r[13].response))||void 0===n?void 0:n.length)&&void 0!==t?t:0},(e,s)=>s+1)||[1],bandNumber:J(r[13].response)||["Unknown"],earfcn:ee(r[13].response),bandwidth:es(r[13].response)||["Unknown"],pci:en(r[13].response,Z(r[13].response))||["Unknown"],rsrp:et(r[13].response,Z(r[13].response),r[10].response),rsrq:el(r[13].response,Z(r[13].response),r[10].response)||["Unknown"],sinr:er(r[13].response,Z(r[13].response),r[10].response)||["Unknown"]}};s(o)}catch(e){console.error("Error fetching home data:",e),s({simCard:{slot:"Unknown",state:"Not Inserted",provider:"Unknown",phoneNumber:"Unknown",imsi:"Unknown",iccid:"Unknown",imei:"Unknown"},connection:{apn:"Unknown",operatorState:"Unknown",functionalityState:"Disabled",networkType:"No Signal",modemTemperature:"Unknown",accessTechnology:"Unknown"},dataTransmission:{carrierAggregation:"Inactive",connectedBands:"Unknown",signalStrength:"Unknown",mimoLayers:"Unknown"},cellularInfo:{cellId:"Unknown",trackingAreaCode:"Unknown",physicalCellId:"Unknown",earfcn:"Unknown",mnc:"Unknown",signalQuality:"Unknown"},currentBands:{id:[1],bandNumber:["Unknown"],earfcn:["Unknown"],bandwidth:["Unknown"],pci:["Unknown"],rsrp:["Unknown"],rsrq:["Unknown"],sinr:["Unknown"]}})}finally{a&&setTimeout(()=>{i(!1),o(!1)},300)}},[a]);return(0,l.useEffect)(()=>{d();let e=setInterval(d,n);return()=>clearInterval(e)},[d,n]),{data:e,isLoading:r,refresh:d}},eo=()=>{let[e,s]=(0,l.useState)("Unknown"),[n,t]=(0,l.useState)(!0),r=(0,l.useCallback)(async()=>{try{t(!0);let e=await fetch("/cgi-bin/home/check_net.sh"),n=await e.json();s("ACTIVE"===n.connection?"Connected":"Disconnected"),t(!1)}catch(e){console.error("Error fetching data connection state:",e),s("Unknown"),t(!1)}},[]);return(0,l.useEffect)(()=>{r();let e=setInterval(r,3e4);return()=>clearInterval(e)},[r]),{dataConnectionState:e,refresh:(0,l.useCallback)(()=>{r()},[r]),isStateLoading:n}};let ec=e=>{if(0===e)return"0 Bytes";let s=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,s)).toFixed(2))+" "+["Bytes","KB","MB","GB","TB"][s]};var ed=()=>{let[e,s]=(0,l.useState)("0 Bytes"),[n,t]=(0,l.useState)("0 Bytes"),r=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(encodeURIComponent("AT+QGDCNT?;+QGDNRCNT?"))}),n=await e.json(),l=parseInt(n.output.split("\n")[1].split(":")[1].split(",")[0]),r=parseInt(n.output.split("\n")[1].split(":")[1].split(",")[1]),i=parseInt(n.output.split("\n")[3].split(":")[1].split(",")[0]),a=parseInt(n.output.split("\n")[3].split(":")[1].split(",")[1]);s(ec(r+i)),t(ec(l+a))}catch(e){console.error("Error fetching traffic stats:",e)}},[]);return(0,l.useEffect)(()=>{r();let e=setInterval(r,2e3);return()=>clearInterval(e)},[r]),{bytesSent:e,bytesReceived:n,refresh:(0,l.useCallback)(()=>{r()},[r])}},ep=()=>{let[e,s]=(0,l.useState)(!1),[n,t]=(0,l.useState)(null),r=(e,s)=>{let n=e.split("\n")[1].split(":")[1].split(",")[1].trim(),t=s.split("\n")[1].split(":")[1].split(",")[1].trim();return"1"===n||"1"===t?"Registered":"Not Registered"},i=(e,s)=>e.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()===s.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()?"Enabled":"Disabled",a=e=>{let s=e.split("\n")[1].split(":")[1].split(",")[1].trim(),n=e.split("\n")[2].split(":")[1].split(",")[1].trim();return s&&"1"===s||n&&"1"===n?"Connected":"Disconnected"},o=e=>{let s=e.split("\n")[1].split(":")[1].split(",").slice(0,4).map(e=>e.trim()),n=e.includes("NR5G"),t=null;if(n&&(t=e.split("\n")[2].split(":")[1].split(",").slice(0,4).map(e=>e.trim())),s&&s.length>0){let e=s.reduce((e,s)=>e+parseInt(s),0)/s.length;return n&&t&&t.length>0?(e+t.reduce((e,s)=>e+parseInt(s),0)/t.length)/2<-100?"Poor":"Good":e<-100?"Poor":"Good"}return"N/A"},c=e=>{let s=e.split("\n").filter(e=>e.startsWith("+QTEMP:")).map(e=>parseInt(e.split(":")[1].split(",")[1].replace(/"/g,"").trim())).filter(e=>e>=0&&e<99);return s.reduce((e,s)=>e+s,0)/s.length<50?"Normal":"High"},d=e=>{let s=e.split("\n")[1].split(":")[1].split(",")[1].trim(),n=e.split("\n")[2].split(":")[1].split(",")[1].trim(),t=e.split("\n")[3].split(":")[1].split(",")[1].trim(),l=["0"!==s?"".concat(s):null,"0"!==n?"".concat(n):null,"0"!==t?"".concat(t):null].filter(Boolean);return l.length>0?l.join(", "):"None"};return{isRunningDiagnostics:e,runDiagnosticsData:n,startDiagnostics:async()=>{s(!0);try{let e=await fetch("/cgi-bin/fetch_data.sh?set=6"),s=await e.json();console.log("Diagnostics data:",s);let n={netRegistration:r(s[0].response,s[1].response),simState:s[2].response.split("\n")[1].split(":")[1].trim(),manualAPN:i(s[3].response,s[4].response),wanIP:a(s[5].response),cellSignal:o(s[6].response),modemTemp:c(s[7].response),netReject:d(s[8].response)};return t(n),n}catch(e){throw console.error("Error running diagnostics:",e),e}finally{s(!1)}}}},eu=()=>{let{toast:e}=(0,r.pm)(),{data:s,isLoading:n,refresh:i}=ea(),{dataConnectionState:a,isStateLoading:o,refresh:c}=eo(),{isRunningDiagnostics:d,runDiagnosticsData:p,startDiagnostics:m}=ep(),{bytesSent:h,bytesReceived:x,refresh:f}=ed(),R=async()=>{try{let s=await fetch("/cgi-bin/settings/force-rerun.sh"),n=await s.json();if("success"===n.status)e({title:"Data Refreshed",description:"Data and scripts has been refreshed successfully"});else if("info"===n.status)e({title:"Data Refreshed",description:"Data refreshed successfully, but no scripts to restart."});else throw Error("Failed to restart scripts")}catch(s){console.error("Error rerunning scripts:",s),e({variant:"destructive",title:"Script Restart Failed",description:"Failed to restart the required scripts"})}},A=async()=>{try{var n;let t=null==s?void 0:null===(n=s.simCard)||void 0===n?void 0:n.slot,l=encodeURIComponent("Slot 1"===t?"AT+QUIMSLOT=1":"AT+QUIMSLOT=2"),r=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(l),signal:AbortSignal.timeout(5e3)});if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));let i=await r.json();if(i.error)throw Error(i.error);e({title:"SIM Slot Changed",description:"The SIM slot has been changed successfully"}),setTimeout(async()=>{let e=encodeURIComponent("AT+COPS=0;+COPS=2"),s=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(e),signal:AbortSignal.timeout(5e3)});if(!s.ok)throw Error("HTTP error! status: ".concat(s.status));let n=await s.json();if(n.error)throw Error(n.error)},3e3),setTimeout(I,3e3)}catch(s){console.error("Error changing SIM slot:",s),e({variant:"destructive",title:"SIM Slot Change Failed",description:"Failed to change the SIM slot"})}},I=(0,l.useCallback)(async()=>{try{await Promise.all([i(),c(),f()]),await R()}catch(s){console.error("Error refreshing data:",s),e({variant:"destructive",title:"Refresh Failed",description:"Failed to refresh the data"})}},[i,c,f,e]),[U,E]=(0,l.useState)([]),M=async()=>{try{await m()}catch(e){console.error("Error running diagnostics:",e)}};return(0,l.useEffect)(()=>{p&&console.log("Diagnostics data updated:",p)},[p]),(0,l.useEffect)(()=>{if(s&&s.currentBands){var e;let n=null===(e=s.currentBands.id)||void 0===e?void 0:e.map((e,n)=>{var t,l,r,i,a,o,c;return{id:e,bandNumber:(null===(t=s.currentBands.bandNumber)||void 0===t?void 0:t[n])||"N/A",earfcn:(null===(l=s.currentBands.earfcn)||void 0===l?void 0:l[n])||"N/A",bandwidth:(null===(r=s.currentBands.bandwidth)||void 0===r?void 0:r[n])||"N/A",pci:(null===(i=s.currentBands.pci)||void 0===i?void 0:i[n])||"N/A",rsrp:(null===(a=s.currentBands.rsrp)||void 0===a?void 0:a[n])||"N/A",rsrq:(null===(o=s.currentBands.rsrq)||void 0===o?void 0:o[n])||"N/A",sinr:(null===(c=s.currentBands.sinr)||void 0===c?void 0:c[n])||"N/A"}});n&&E(n)}},[s]),(0,t.jsxs)("div",{className:"grid xl:gap-y-12 gap-y-8 gap-4",children:[(0,t.jsxs)("div",{className:"grid xl:gap-6 gap-4",children:[(0,t.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,t.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,t.jsx)("h1",{className:"xl:text-3xl text-lg font-bold",children:"Connection Summary"}),(0,t.jsx)(v.z,{variant:"ghost",size:"icon",className:"text-sm",onClick:I,children:(0,t.jsx)(y.Z,{className:"xl:size-6 size-5 text-blue-500",strokeWidth:3})})]}),(0,t.jsxs)("div",{className:"flex flex-row items-center gap-x-2",children:[(null==s?void 0:s.simCard.state)==="Not Inserted"&&(0,t.jsxs)(b.Vq,{children:[(0,t.jsx)(b.hg,{children:(0,t.jsxs)(v.z,{variant:"destructive",children:[(0,t.jsx)(w.GWp,{className:"xl:size-6 size-5"}),(0,t.jsx)("span",{className:"hidden md:block",children:"No SIM"})]})}),(0,t.jsxs)(b.cZ,{className:"max-w-xs md:max-w-lg",children:[(0,t.jsx)(b.fK,{children:(0,t.jsx)(b.$N,{children:"No SIM Detected"})}),(0,t.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,t.jsx)("div",{className:"flex items-center justify-center",children:(0,t.jsx)(w.GWp,{className:"xl:size-14 md:size-12 size-6 text-red-500"})}),(0,t.jsx)("p",{className:"text-center",children:"There is no SIM card detected in the device. Please insert a SIM card or change the SIM card slot to use the device."})]}),(0,t.jsxs)("div",{className:"flex justify-end mt-4",children:[(0,t.jsx)(v.z,{variant:"secondary",onClick:A,className:"mr-2",children:"Change SIM Slot"}),(0,t.jsx)(b.GG,{asChild:!0,children:(0,t.jsx)(v.z,{children:"Close"})})]})]})]}),(0,t.jsxs)(b.Vq,{children:[(0,t.jsx)(b.hg,{children:(0,t.jsxs)(v.z,{variant:"secondary",onClick:M,children:[(0,t.jsx)(S.Z,{className:"xl:size-6 size-5"}),(0,t.jsx)("span",{className:"hidden md:block",children:"Run Diagnostics"})]})}),!d&&(0,t.jsxs)(b.cZ,{className:"max-w-xs md:max-w-lg",children:[(0,t.jsx)(b.fK,{children:(0,t.jsx)(b.$N,{children:"Diagnostics Result"})}),(0,t.jsx)(b.Be,{children:"This is the result of the diagnostic test ran on your device."}),(0,t.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"font-semibold",children:"Network Registration "}),(null==p?void 0:p.netRegistration)==="Registered"?(0,t.jsx)(C.Z,{className:"text-green-500"}):(0,t.jsx)(k.Z,{className:"text-red-500"})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"font-semibold",children:"U-SIM State"}),(null==p?void 0:p.simState)==="READY"?(0,t.jsx)(C.Z,{className:"text-green-500"}):(0,t.jsx)(k.Z,{className:"text-red-500"})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"font-semibold",children:"Manual APN"}),(null==p?void 0:p.manualAPN)==="Enabled"?(0,t.jsx)(C.Z,{className:"text-green-500"}):(0,t.jsx)(k.Z,{className:"text-red-500"})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"font-semibold",children:"WAN IP"}),(null==p?void 0:p.wanIP)==="Connected"?(0,t.jsx)(C.Z,{className:"text-green-500"}):(0,t.jsx)(k.Z,{className:"text-red-500"})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"font-semibold",children:"Cellular Signal"}),(null==p?void 0:p.cellSignal)==="Good"?(0,t.jsx)(C.Z,{className:"text-green-500"}):(0,t.jsx)(k.Z,{className:"text-red-500"})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"font-semibold",children:"Modem Temperature"}),(null==p?void 0:p.modemTemp)==="Normal"?(0,t.jsx)(C.Z,{className:"text-green-500"}):(0,t.jsx)(k.Z,{className:"text-red-500"})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between mt-6",children:[(0,t.jsx)("h3",{className:"font-semibold",children:"Net Reject Cause"}),(null==p?void 0:p.netReject)==="None"?(0,t.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,t.jsx)(C.Z,{className:"text-green-500"}),(0,t.jsx)("span",{children:"None"})]}):(0,t.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,t.jsx)(k.Z,{className:"text-red-500"}),(0,t.jsx)("span",{children:null==p?void 0:p.netReject})]})]})]})]}),d&&(0,t.jsxs)(b.cZ,{className:"max-w-xs md:max-w-lg",children:[(0,t.jsx)(b.fK,{children:(0,t.jsx)(b.$N,{children:"Running Diagnostics"})}),(0,t.jsx)("div",{className:"flex items-center justify-center my-4",children:(0,t.jsx)(T(),{color:"#6D28D9"})}),(0,t.jsx)(b.Be,{className:"text-center",children:"Please wait while we run diagnostics on your device."})]})]})]})]}),(0,t.jsxs)("div",{className:"grid 2xl:grid-cols-4 lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,t.jsx)(u,{data:s,isLoading:n}),(0,t.jsx)(g,{data:s,isLoading:n,dataConnectionState:a,connectionStateLoading:o}),(0,t.jsx)(j,{data:s,isLoading:n,bytesSent:h,bytesReceived:x}),(0,t.jsx)(N,{data:s,isLoading:n})]})]}),(0,t.jsxs)("div",{className:"grid xl:gap-6 gap-4",children:[(0,t.jsx)("h1",{className:"xl:text-3xl text-lg font-bold",children:"Current Active Bands"}),(0,t.jsx)(L,{bands:U,isLoading:n})]})]})}},78580:function(e,s,n){"use strict";n.d(s,{d:function(){return o},z:function(){return c}});var t=n(20881),l=n(64149),r=n(54098),i=n(20116),a=n(90270);let o=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=l.forwardRef((e,s)=>{let{className:n,variant:l,size:i,asChild:c=!1,...d}=e,p=c?r.g7:"button";return(0,t.jsx)(p,{className:(0,a.cn)(o({variant:l,size:i,className:n})),ref:s,...d})});c.displayName="Button"},94920:function(e,s,n){"use strict";n.d(s,{Ol:function(){return a},SZ:function(){return c},Zb:function(){return i},aY:function(){return d},eW:function(){return p},ll:function(){return o}});var t=n(20881),l=n(64149),r=n(90270);let i=l.forwardRef((e,s)=>{let{className:n,...l}=e;return(0,t.jsx)("div",{ref:s,className:(0,r.cn)("rounded-xl border bg-card text-card-foreground shadow",n),...l})});i.displayName="Card";let a=l.forwardRef((e,s)=>{let{className:n,...l}=e;return(0,t.jsx)("div",{ref:s,className:(0,r.cn)("flex flex-col space-y-1.5 p-6",n),...l})});a.displayName="CardHeader";let o=l.forwardRef((e,s)=>{let{className:n,...l}=e;return(0,t.jsx)("h3",{ref:s,className:(0,r.cn)("font-semibold leading-none tracking-tight",n),...l})});o.displayName="CardTitle";let c=l.forwardRef((e,s)=>{let{className:n,...l}=e;return(0,t.jsx)("p",{ref:s,className:(0,r.cn)("text-sm text-muted-foreground",n),...l})});c.displayName="CardDescription";let d=l.forwardRef((e,s)=>{let{className:n,...l}=e;return(0,t.jsx)("div",{ref:s,className:(0,r.cn)("p-6 pt-0",n),...l})});d.displayName="CardContent";let p=l.forwardRef((e,s)=>{let{className:n,...l}=e;return(0,t.jsx)("div",{ref:s,className:(0,r.cn)("flex items-center p-6 pt-0",n),...l})});p.displayName="CardFooter"},30214:function(e,s,n){"use strict";n.d(s,{$N:function(){return x},Be:function(){return f},GG:function(){return p},Vq:function(){return o},cZ:function(){return m},fK:function(){return h},hg:function(){return c}});var t=n(20881),l=n(64149),r=n(14491),i=n(35935),a=n(90270);let o=r.fC,c=r.xz,d=r.h_,p=r.x8,u=l.forwardRef((e,s)=>{let{className:n,...l}=e;return(0,t.jsx)(r.aV,{ref:s,className:(0,a.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...l})});u.displayName=r.aV.displayName;let m=l.forwardRef((e,s)=>{let{className:n,children:l,...o}=e;return(0,t.jsxs)(d,{children:[(0,t.jsx)(u,{}),(0,t.jsxs)(r.VY,{ref:s,className:(0,a.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n),...o,children:[l,(0,t.jsxs)(r.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,t.jsx)(i.Pxu,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=r.VY.displayName;let h=e=>{let{className:s,...n}=e;return(0,t.jsx)("div",{className:(0,a.cn)("flex flex-col space-y-1.5 text-center sm:text-left",s),...n})};h.displayName="DialogHeader";let x=l.forwardRef((e,s)=>{let{className:n,...l}=e;return(0,t.jsx)(r.Dx,{ref:s,className:(0,a.cn)("text-lg font-semibold leading-none tracking-tight",n),...l})});x.displayName=r.Dx.displayName;let f=l.forwardRef((e,s)=>{let{className:n,...l}=e;return(0,t.jsx)(r.dk,{ref:s,className:(0,a.cn)("text-sm text-muted-foreground",n),...l})});f.displayName=r.dk.displayName},88766:function(e,s,n){"use strict";n.d(s,{O:function(){return r}});var t=n(20881),l=n(90270);function r(e){let{className:s,...n}=e;return(0,t.jsx)("div",{className:(0,l.cn)("animate-pulse rounded-md bg-primary/10",s),...n})}},46646:function(e,s,n){"use strict";n.d(s,{pm:function(){return u}});var t=n(64149);let l=0,r=new Map,i=e=>{if(r.has(e))return;let s=setTimeout(()=>{r.delete(e),d({type:"REMOVE_TOAST",toastId:e})},1e6);r.set(e,s)},a=(e,s)=>{switch(s.type){case"ADD_TOAST":return{...e,toasts:[s.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===s.toast.id?{...e,...s.toast}:e)};case"DISMISS_TOAST":{let{toastId:n}=s;return n?i(n):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===n||void 0===n?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===s.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==s.toastId)}}},o=[],c={toasts:[]};function d(e){c=a(c,e),o.forEach(e=>{e(c)})}function p(e){let{...s}=e,n=(l=(l+1)%Number.MAX_SAFE_INTEGER).toString(),t=()=>d({type:"DISMISS_TOAST",toastId:n});return d({type:"ADD_TOAST",toast:{...s,id:n,open:!0,onOpenChange:e=>{e||t()}}}),{id:n,dismiss:t,update:e=>d({type:"UPDATE_TOAST",toast:{...e,id:n}})}}function u(){let[e,s]=t.useState(c);return t.useEffect(()=>(o.push(s),()=>{let e=o.indexOf(s);e>-1&&o.splice(e,1)}),[e]),{...e,toast:p,dismiss:e=>d({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,s,n){"use strict";n.d(s,{cn:function(){return r}});var t=n(33958),l=n(61779);function r(){for(var e=arguments.length,s=Array(e),n=0;n{let{children:t}=e,a=(0,i.useRouter)(),{isAuthenticated:s,checkAuth:d}=(0,n.a)();return((0,o.useEffect)(()=>{d()||a.push("/login")},[]),s)?(0,r.jsx)(r.Fragment,{children:t}):null};var l=a(92093);let c=(0,l.Z)("RadioTower",[["path",{d:"M4.9 16.1C1 12.2 1 5.8 4.9 1.9",key:"s0qx1y"}],["path",{d:"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5",key:"1idnkw"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}],["path",{d:"M16.2 4.8c2 2 2.26 5.11.8 7.47",key:"ojru2q"}],["path",{d:"M19.1 1.9a9.96 9.96 0 0 1 0 14.1",key:"rhi7fg"}],["path",{d:"M9.5 18h5",key:"mfy3pd"}],["path",{d:"m8 22 4-11 4 11",key:"25yftu"}]]),u=(0,l.Z)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),f=(0,l.Z)("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]),m=(0,l.Z)("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);var h=a(78580),x=a(71036),p=a(16236);let g=(0,l.Z)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),y=(0,l.Z)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);var b=a(89448),v=a(14491),j=a(35935),w=a(20116),N=a(90270);let k=v.fC,A=v.xz,R=v.x8,T=v.h_,C=o.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(v.aV,{className:(0,N.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s,ref:t})});C.displayName=v.aV.displayName;let S=(0,w.j)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),D=o.forwardRef((e,t)=>{let{side:a="right",className:s,children:n,...o}=e;return(0,r.jsxs)(T,{children:[(0,r.jsx)(C,{}),(0,r.jsxs)(v.VY,{ref:t,className:(0,N.cn)(S({side:a}),s),...o,children:[(0,r.jsxs)(v.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,r.jsx)(j.Pxu,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]}),n]})]})});D.displayName=v.VY.displayName,o.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(v.Dx,{ref:t,className:(0,N.cn)("text-lg font-semibold text-foreground",a),...s})}).displayName=v.Dx.displayName,o.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(v.dk,{ref:t,className:(0,N.cn)("text-sm text-muted-foreground",a),...s})}).displayName=v.dk.displayName;var _=a(46646),O=e=>{let{children:t}=e,a=(0,i.usePathname)(),{logout:l}=(0,n.a)(),{setTheme:v}=(0,b.F)(),[j,w]=(0,o.useState)(!1),[N,T]=(0,o.useState)("192.168.224.1"),C=(0,_.pm)(),S=async e=>{try{let t=encodeURIComponent(e),a=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)});if(!a.ok)throw Error("HTTP error! status: ".concat(a.status));return a}catch(e){throw console.error("AT Command error:",e),e}},O=async()=>{try{w(!0),await S("AT+QPOWD=1"),C.toast({title:"Rebooting device",description:"Please wait for the device to restart."}),setTimeout(()=>{C.toast({title:"Device is now active",description:"The device has been rebooted successfully."})},9e4),setTimeout(()=>{window.location.reload()},92e3)}catch(e){console.error("Reboot error:",e),C.toast({title:"Failed to reboot device",description:"Please try again.",variant:"destructive"})}finally{w(!1)}},z=async()=>{try{await S("AT+COPS=2"),C.toast({title:"Reconnecting to network",description:"Please wait for the device to reconnect."}),await new Promise(e=>setTimeout(e,2e3)),await S("AT+COPS=0"),C.toast({title:"Reconnected to network",description:"The device has been reconnected successfully."}),await new Promise(e=>setTimeout(e,3e3)),window.location.reload()}catch(e){C.toast({title:"Failed to reconnect to network",description:"Please try again.",variant:"destructive"})}(0,o.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/settings/get-ip.sh");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();T(t.br_lan_ip)}catch(e){console.error("Failed to fetch IP address:",e),C.toast({title:"Failed to fetch IP address",description:"Using default IP address",variant:"destructive"})}})()},[])};return(0,r.jsxs)("div",{className:"flex min-h-screen w-full flex-col",children:[(0,r.jsxs)("header",{className:"sticky top-0 flex h-16 items-center gap-4 border-b bg-background px-4 md:px-6",children:[(0,r.jsxs)("nav",{className:"hidden flex-col gap-6 text-lg font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-base lg:gap-6",children:[(0,r.jsxs)(s.default,{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold md:text-xl md:mr-8",children:[(0,r.jsx)(c,{className:"h-6 w-6"}),(0,r.jsx)("h1",{children:"QuecManager"})]}),(0,r.jsx)(s.default,{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"}),(0,r.jsx)(s.default,{href:"/dashboard/cell-settings/basic-settings/",className:"".concat(a.includes("/dashboard/cell-settings/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Cellular"}),(0,r.jsx)(s.default,{href:"/dashboard/advanced-settings/connectivity",className:"".concat(a.includes("/dashboard/advanced-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Advance"}),(0,r.jsx)(s.default,{href:"/dashboard/experimental/quecwatch",className:"".concat(a.includes("/dashboard/experimental/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"}),(0,r.jsx)(s.default,{href:"/dashboard/about/",className:"".concat("/dashboard/about/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"About"})]}),(0,r.jsxs)(k,{children:[(0,r.jsx)(A,{asChild:!0,children:(0,r.jsxs)(h.z,{variant:"outline",size:"icon",className:"shrink-0 md:hidden",children:[(0,r.jsx)(u,{className:"h-5 w-5"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),(0,r.jsx)(D,{side:"left",children:(0,r.jsxs)("nav",{className:"grid gap-6 text-lg font-medium",children:[(0,r.jsx)(R,{asChild:!0,children:(0,r.jsxs)(s.default,{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold",children:[(0,r.jsx)(c,{className:"h-6 w-6"}),(0,r.jsx)("span",{children:"QuecManager"})]})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/cell-settings/basic-settings/",className:"".concat(a.includes("/dashboard/cell-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Cellular"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/advanced-settings/connectivity",className:"".concat(a.includes("/dashboard/advanced-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Advance"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/experimental/",className:"".concat("/dashboard/experimental/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/about/",className:"".concat("/dashboard/about/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"About"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/settings/general",className:"".concat(a.includes("/dashboard/settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Settings"})})]})})]}),(0,r.jsxs)("div",{className:"flex w-full items-center gap-4 md:ml-auto md:gap-2 lg:gap-4",children:[(0,r.jsx)("form",{className:"ml-auto flex-1 sm:flex-initial",children:(0,r.jsxs)(x.h_,{children:[(0,r.jsx)(x.$F,{asChild:!0,children:(0,r.jsxs)(h.z,{variant:"outline",size:"icon",children:[(0,r.jsx)(g,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,r.jsx)(y,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,r.jsxs)(x.AW,{align:"end",children:[(0,r.jsx)(x.Xi,{onClick:()=>v("light"),children:"Light"}),(0,r.jsx)(x.Xi,{onClick:()=>v("dark"),children:"Dark"}),(0,r.jsx)(x.Xi,{onClick:()=>v("system"),children:"System"})]})]})}),(0,r.jsxs)(x.h_,{children:[(0,r.jsx)(x.$F,{asChild:!0,children:(0,r.jsxs)(h.z,{variant:"secondary",size:"icon",className:"rounded-full",children:[(0,r.jsx)(f,{className:"h-5 w-5"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle user menu"})]})}),(0,r.jsxs)(x.AW,{align:"end",children:[(0,r.jsx)(x.Ju,{children:"Options"}),(0,r.jsx)(x.VD,{}),(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/settings/general",children:"Settings"})}),(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsx)("a",{href:"/cgi-bin/luci",children:"Luci"})}),(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsx)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/discussions/new/choose",target:"_blank",children:"Support"})}),(0,r.jsx)(x.VD,{}),(0,r.jsx)(x.Xi,{onClick:z,children:"Reconnect"}),(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsxs)(p.aR,{children:[(0,r.jsx)(p.vW,{asChild:!0,children:(0,r.jsx)("button",{className:"relative flex w-full cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent hover:text-accent-foreground",children:"Reboot"})}),(0,r.jsxs)(p._T,{children:[(0,r.jsxs)(p.fY,{children:[(0,r.jsx)(p.f$,{children:"Are you sure?"}),(0,r.jsx)(p.yT,{children:"This will reboot your device. The connection will be lost temporarily. Please wait for the page to reload."})]}),(0,r.jsxs)(p.xo,{children:[(0,r.jsx)(p.le,{children:"Cancel"}),(0,r.jsxs)(p.OL,{onClick:O,disabled:j,children:[(0,r.jsx)(m,{className:"size-4"}),"Reboot Now"]})]})]})]})}),(0,r.jsx)(x.VD,{}),(0,r.jsx)(x.Xi,{onClick:l,children:"Logout"})]})]})]})]}),(0,r.jsx)("main",{className:"flex min-h-[calc(100vh_-_theme(spacing.16))] flex-1 flex-col gap-4 bg-muted/40 p-4 md:gap-8 md:p-10",children:(0,r.jsx)(d,{children:t})})]})}},16236:function(e,t,a){"use strict";a.d(t,{aR:function(){return O},OL:function(){return X},le:function(){return Z},_T:function(){return P},yT:function(){return F},xo:function(){return I},fY:function(){return M},f$:function(){return V},vW:function(){return z}});var r=a(20881),s=a(64149),n=a(74873),o=a(83954),i=a(14491),d=a(64433),l=a(54098),c="AlertDialog",[u,f]=(0,n.b)(c,[i.p8]),m=(0,i.p8)(),h=e=>{let{__scopeAlertDialog:t,...a}=e,s=m(t);return(0,r.jsx)(i.fC,{...s,...a,modal:!0})};h.displayName=c;var x=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.xz,{...n,...s,ref:t})});x.displayName="AlertDialogTrigger";var p=e=>{let{__scopeAlertDialog:t,...a}=e,s=m(t);return(0,r.jsx)(i.h_,{...s,...a})};p.displayName="AlertDialogPortal";var g=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.aV,{...n,...s,ref:t})});g.displayName="AlertDialogOverlay";var y="AlertDialogContent",[b,v]=u(y),j=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,children:n,...c}=e,u=m(a),f=s.useRef(null),h=(0,o.e)(t,f),x=s.useRef(null);return(0,r.jsx)(i.jm,{contentName:y,titleName:w,docsSlug:"alert-dialog",children:(0,r.jsx)(b,{scope:a,cancelRef:x,children:(0,r.jsxs)(i.VY,{role:"alertdialog",...u,...c,ref:h,onOpenAutoFocus:(0,d.M)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=x.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,r.jsx)(l.A4,{children:n}),(0,r.jsx)(S,{contentRef:f})]})})})});j.displayName=y;var w="AlertDialogTitle",N=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.Dx,{...n,...s,ref:t})});N.displayName=w;var k="AlertDialogDescription",A=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.dk,{...n,...s,ref:t})});A.displayName=k;var R=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.x8,{...n,...s,ref:t})});R.displayName="AlertDialogAction";var T="AlertDialogCancel",C=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,{cancelRef:n}=v(T,a),d=m(a),l=(0,o.e)(t,n);return(0,r.jsx)(i.x8,{...d,...s,ref:l})});C.displayName=T;var S=e=>{let{contentRef:t}=e,a="`".concat(y,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(y,"` by passing a `").concat(k,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(y,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return s.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(a)},[a,t]),null},D=a(90270),_=a(78580);let O=h,z=x,E=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(g,{className:(0,D.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s,ref:t})});E.displayName=g.displayName;let P=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsxs)(p,{children:[(0,r.jsx)(E,{}),(0,r.jsx)(j,{ref:t,className:(0,D.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...s})]})});P.displayName=j.displayName;let M=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,D.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};M.displayName="AlertDialogHeader";let I=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,D.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};I.displayName="AlertDialogFooter";let V=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(N,{ref:t,className:(0,D.cn)("text-lg font-semibold",a),...s})});V.displayName=N.displayName;let F=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(A,{ref:t,className:(0,D.cn)("text-sm text-muted-foreground",a),...s})});F.displayName=A.displayName;let X=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(R,{ref:t,className:(0,D.cn)((0,_.d)(),a),...s})});X.displayName=R.displayName;let Z=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(C,{ref:t,className:(0,D.cn)((0,_.d)({variant:"outline"}),"mt-2 sm:mt-0",a),...s})});Z.displayName=C.displayName},78580:function(e,t,a){"use strict";a.d(t,{d:function(){return d},z:function(){return l}});var r=a(20881),s=a(64149),n=a(54098),o=a(20116),i=a(90270);let d=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=s.forwardRef((e,t)=>{let{className:a,variant:s,size:o,asChild:l=!1,...c}=e,u=l?n.g7:"button";return(0,r.jsx)(u,{className:(0,i.cn)(d({variant:s,size:o,className:a})),ref:t,...c})});l.displayName="Button"},71036:function(e,t,a){"use strict";a.d(t,{$F:function(){return l},AW:function(){return c},Ju:function(){return f},VD:function(){return m},Xi:function(){return u},h_:function(){return d}});var r=a(20881),s=a(64149),n=a(67293),o=a(35935),i=a(90270);let d=n.fC,l=n.xz;n.ZA,n.Uv,n.Tr,n.Ee,s.forwardRef((e,t)=>{let{className:a,inset:s,children:d,...l}=e;return(0,r.jsxs)(n.fF,{ref:t,className:(0,i.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",s&&"pl-8",a),...l,children:[d,(0,r.jsx)(o.XCv,{className:"ml-auto h-4 w-4"})]})}).displayName=n.fF.displayName,s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.tu,{ref:t,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...s})}).displayName=n.tu.displayName;let c=s.forwardRef((e,t)=>{let{className:a,sideOffset:s=4,...o}=e;return(0,r.jsx)(n.Uv,{children:(0,r.jsx)(n.VY,{ref:t,sideOffset:s,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...o})})});c.displayName=n.VY.displayName;let u=s.forwardRef((e,t)=>{let{className:a,inset:s,...o}=e;return(0,r.jsx)(n.ck,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",a),...o})});u.displayName=n.ck.displayName,s.forwardRef((e,t)=>{let{className:a,children:s,checked:d,...l}=e;return(0,r.jsxs)(n.oC,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:d,...l,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(n.wU,{children:(0,r.jsx)(o.nQG,{className:"h-4 w-4"})})}),s]})}).displayName=n.oC.displayName,s.forwardRef((e,t)=>{let{className:a,children:s,...d}=e;return(0,r.jsxs)(n.Rk,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...d,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(n.wU,{children:(0,r.jsx)(o.jXb,{className:"h-4 w-4 fill-current"})})}),s]})}).displayName=n.Rk.displayName;let f=s.forwardRef((e,t)=>{let{className:a,inset:s,...o}=e;return(0,r.jsx)(n.__,{ref:t,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",a),...o})});f.displayName=n.__.displayName;let m=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.Z0,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",a),...s})});m.displayName=n.Z0.displayName},45320:function(e,t,a){"use strict";a.d(t,{a:function(){return n}});var r=a(64149),s=a(27525);function n(){let[e,t]=(0,r.useState)(!1),a=(0,s.useRouter)();function n(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}function o(){localStorage.removeItem("session"),t(!1),a.push("/login")}function i(){let e=function(){let e=function(){let e=localStorage.getItem("session");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}();if(!e)return!1;let t=Date.now();return t>e.expiresAt?(o(),!1):(t-e.lastActivity>3e5&&n(e.token),!0)}();return t(e),e}return(0,r.useEffect)(()=>{i()},[]),{isAuthenticated:e,login:async function(e){let r=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(r)}),s=await e.json();if(console.log(s),"success"!==s.state)return!1;{let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";return Array.from(crypto.getRandomValues(new Uint8Array(e))).map(e=>t[e%t.length]).join("")}();return n(e),t(!0),a.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:o,checkAuth:i}}},46646:function(e,t,a){"use strict";a.d(t,{pm:function(){return f}});var r=a(64149);let s=0,n=new Map,o=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?o(a):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},d=[],l={toasts:[]};function c(e){l=i(l,e),d.forEach(e=>{e(l)})}function u(e){let{...t}=e,a=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||r()}}}),{id:a,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function f(){let[e,t]=r.useState(l);return r.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,a){"use strict";a.d(t,{cn:function(){return n}});var r=a(33958),s=a(61779);function n(){for(var e=arguments.length,t=Array(e),a=0;ae.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=function(){for(var e=arguments.length,t=Array(e),a=0;a!!e&&a.indexOf(e)===t).join(" ")};var o={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 i=(0,r.forwardRef)((e,t)=>{let{color:a="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:d,className:l="",children:c,iconNode:u,...f}=e;return(0,r.createElement)("svg",{ref:t,...o,width:s,height:s,stroke:a,strokeWidth:d?24*Number(i)/Number(s):i,className:n("lucide",l),...f},[...u.map(e=>{let[t,a]=e;return(0,r.createElement)(t,a)}),...Array.isArray(c)?c:[c]])}),d=(e,t)=>{let a=(0,r.forwardRef)((a,o)=>{let{className:d,...l}=a;return(0,r.createElement)(i,{ref:o,iconNode:t,className:n("lucide-".concat(s(e)),d),...l})});return a.displayName="".concat(e),a}},27525:function(e,t,a){"use strict";var r=a(39886);a.o(r,"usePathname")&&a.d(t,{usePathname:function(){return r.usePathname}}),a.o(r,"useRouter")&&a.d(t,{useRouter:function(){return r.useRouter}})}},function(e){e.O(0,[792,4059,8714,217,5420,6509,4491,6136,8985,5330,1744],function(){return e(e.s=14658)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/settings/general/page-e67e60cfe3296e3c.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/settings/general/page-e67e60cfe3296e3c.js
new file mode 100644
index 0000000..7ca49c4
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/settings/general/page-e67e60cfe3296e3c.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7291],{42355:function(e,t,r){Promise.resolve().then(r.bind(r,12825))},12825:function(e,t,r){"use strict";r.r(t);var s=r(20881),a=r(64149),n=r(94920),i=r(22989),o=r(78580),l=r(33335),d=r(46646),c=r(6120),u=r(88766);t.default=()=>{let[e,t]=(0,a.useState)({AT_port:"Unknown",AT_port_custom:"Unknown",data_refresh_rate:"Unknown"}),[r,f]=(0,a.useState)(!0),[p,m]=(0,a.useState)(null),[h,x]=(0,a.useState)(!1),g=(0,d.pm)(),v=async()=>{try{let e=await fetch("/cgi-bin/settings/fetch-config.sh"),r=await e.json();r.error?m(r.error):t(r)}catch(e){m("Failed to fetch configuration"),g.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Please report this issue",action:(0,s.jsx)(c.Z,{})})}finally{f(!1)}};(0,a.useEffect)(()=>{v()},[]);let j=async t=>{try{x(!0);let t=await fetch("/cgi-bin/settings/save-config.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),r=await t.json();if(r.error)throw Error(r.error);g.toast({title:"Success",description:"Configuration saved successfully!"}),await v()}catch(e){g.toast({variant:"destructive",title:"Save failed",description:e instanceof Error?e.message:"Failed to save configuration",action:(0,s.jsx)(c.Z,{})})}finally{x(!1)}},y=Math.floor(parseInt(e.data_refresh_rate)/1e3);return p?(0,s.jsx)("div",{className:"grid gap-6 text-red-500",children:p}):(0,s.jsxs)("div",{className:"grid gap-6",children:[(0,s.jsxs)(n.Zb,{children:[(0,s.jsxs)(n.Ol,{children:[(0,s.jsx)(n.ll,{children:"AT Port Main Interface"}),(0,s.jsx)(n.SZ,{children:"Change the main interface of the AT Port configuration."})]}),(0,s.jsx)(n.aY,{children:(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),j("AT_port")},children:[r&&(0,s.jsx)(u.O,{className:"h-8"}),!r&&(0,s.jsx)(l.I,{placeholder:"Main AT port interface",value:e.AT_port,onChange:e=>t(t=>({...t,AT_port:e.target.value}))})]})}),(0,s.jsx)(n.eW,{className:"border-t px-6 py-4",children:(0,s.jsx)(o.z,{onClick:()=>j("AT_port"),disabled:h,children:h?"Saving...":"Save"})})]}),(0,s.jsxs)(n.Zb,{children:[(0,s.jsxs)(n.Ol,{children:[(0,s.jsx)(n.ll,{children:"AT Port Custom Command Interface"}),(0,s.jsx)(n.SZ,{children:"Change the custom command interface of the AT Port configuration."})]}),(0,s.jsx)(n.aY,{children:(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),j("AT_port_custom")},children:[r&&(0,s.jsx)(u.O,{className:"h-8"}),!r&&(0,s.jsx)(l.I,{placeholder:"Custom AT port interface",value:e.AT_port_custom,onChange:e=>t(t=>({...t,AT_port_custom:e.target.value}))})]})}),(0,s.jsx)(n.eW,{className:"border-t px-6 py-4",children:(0,s.jsx)(o.z,{onClick:()=>j("AT_port_custom"),disabled:h,children:h?"Saving...":"Save"})})]}),(0,s.jsxs)(n.Zb,{children:[(0,s.jsxs)(n.Ol,{children:[(0,s.jsx)(n.ll,{children:"Data Refresh Rate"}),(0,s.jsx)(n.SZ,{children:"Change the frequency of data refresh rate. Slower refresh rate is recommended."})]}),(0,s.jsx)(n.aY,{children:(0,s.jsxs)("form",{className:"grid gap-1.5",onSubmit:e=>{e.preventDefault(),j("data_refresh_rate")},children:[r&&(0,s.jsx)(u.O,{className:"h-8"}),!r&&(0,s.jsxs)(i.Ph,{value:y.toString(),onValueChange:e=>t(t=>({...t,data_refresh_rate:(1e3*parseInt(e)).toString()})),children:[(0,s.jsx)(i.i4,{className:"w-[180px]",children:(0,s.jsx)(i.ki,{placeholder:"Select Refresh Rate"})}),(0,s.jsxs)(i.Bw,{children:[(0,s.jsx)(i.Ql,{value:"5",children:"5 seconds"}),(0,s.jsx)(i.Ql,{value:"10",children:"10 seconds"}),(0,s.jsx)(i.Ql,{value:"15",children:"15 seconds"}),(0,s.jsx)(i.Ql,{value:"20",children:"20 seconds"}),(0,s.jsx)(i.Ql,{value:"30",children:"30 seconds"}),(0,s.jsx)(i.Ql,{value:"60",children:"60 seconds"})]})]})]})}),(0,s.jsx)(n.eW,{className:"border-t px-6 py-4",children:(0,s.jsx)(o.z,{onClick:()=>j("data_refresh_rate"),disabled:h,children:h?"Saving...":"Save"})})]})]})}},6120:function(e,t,r){"use strict";var s=r(20881),a=r(78580),n=r(35935);t.Z=()=>(0,s.jsx)(a.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,s.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,s.jsx)(n.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return l},z:function(){return d}});var s=r(20881),a=r(64149),n=r(54098),i=r(20116),o=r(90270);let l=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=a.forwardRef((e,t)=>{let{className:r,variant:a,size:i,asChild:d=!1,...c}=e,u=d?n.g7:"button";return(0,s.jsx)(u,{className:(0,o.cn)(l({variant:a,size:i,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},SZ:function(){return d},Zb:function(){return i},aY:function(){return c},eW:function(){return u},ll:function(){return l}});var s=r(20881),a=r(64149),n=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...a})});i.displayName="Card";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",r),...a})});o.displayName="CardHeader";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",r),...a})});l.displayName="CardTitle";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...a})});d.displayName="CardDescription";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",r),...a})});c.displayName="CardContent";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var s=r(20881),a=r(64149),n=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,type:a,...i}=e;return(0,s.jsx)("input",{type:a,className:(0,n.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},22989:function(e,t,r){"use strict";r.d(t,{Bw:function(){return m},DI:function(){return d},Ph:function(){return l},Ql:function(){return x},i4:function(){return u},ki:function(){return c},n5:function(){return h}});var s=r(20881),a=r(64149),n=r(35935),i=r(62072),o=r(90270);let l=i.fC,d=i.ZA,c=i.B4,u=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return(0,s.jsxs)(i.xz,{ref:t,className:(0,o.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),...l,children:[a,(0,s.jsx)(i.JO,{asChild:!0,children:(0,s.jsx)(n.jnn,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=i.xz.displayName;let f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.u_,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",r),...a,children:(0,s.jsx)(n.g8U,{})})});f.displayName=i.u_.displayName;let p=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.$G,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",r),...a,children:(0,s.jsx)(n.v4q,{})})});p.displayName=i.$G.displayName;let m=a.forwardRef((e,t)=>{let{className:r,children:a,position:n="popper",...l}=e;return(0,s.jsx)(i.h_,{children:(0,s.jsxs)(i.VY,{ref:t,className:(0,o.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:n,...l,children:[(0,s.jsx)(f,{}),(0,s.jsx)(i.l_,{className:(0,o.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a}),(0,s.jsx)(p,{})]})})});m.displayName=i.VY.displayName;let h=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.__,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",r),...a})});h.displayName=i.__.displayName;let x=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return(0,s.jsxs)(i.ck,{ref:t,className:(0,o.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...l,children:[(0,s.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(i.wU,{children:(0,s.jsx)(n.nQG,{className:"h-4 w-4"})})}),(0,s.jsx)(i.eT,{children:a})]})});x.displayName=i.ck.displayName,a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.Z0,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...a})}).displayName=i.Z0.displayName},88766:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});var s=r(20881),a=r(90270);function n(e){let{className:t,...r}=e;return(0,s.jsx)("div",{className:(0,a.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var s=r(64149);let a=0,n=new Map,i=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],d={toasts:[]};function c(e){d=o(d,e),l.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=s.useState(d);return s.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return n}});var s=r(33958),a=r(61779);function n(){for(var e=arguments.length,t=Array(e),r=0;r{let{children:t}=e,s=(0,r.usePathname)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,a.jsx)("h1",{className:"text-3xl font-semibold",children:"Settings"})}),(0,a.jsxs)("div",{className:"mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]",children:[(0,a.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,a.jsx)(n.default,{href:"/dashboard/settings/general",className:"".concat("/dashboard/settings/general/"===s?"font-semibold text-primary":"text-sm"),children:"General"}),(0,a.jsx)(n.default,{href:"/dashboard/settings/security",className:"".concat("/dashboard/settings/security/"===s?"font-semibold text-primary":"text-sm"),children:"Security"})]}),t]})]})}},27525:function(e,t,s){"use strict";var a=s(39886);s.o(a,"usePathname")&&s.d(t,{usePathname:function(){return a.usePathname}}),s.o(a,"useRouter")&&s.d(t,{useRouter:function(){return a.useRouter}})}},function(e){e.O(0,[6509,8985,5330,1744],function(){return e(e.s=67238)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/settings/security/page-6739ce2ba07b3288.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/settings/security/page-6739ce2ba07b3288.js
new file mode 100644
index 0000000..f6aab9b
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/dashboard/settings/security/page-6739ce2ba07b3288.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1354],{2045:function(e,r,t){Promise.resolve().then(t.bind(t,27537))},27537:function(e,r,t){"use strict";t.r(r);var s=t(20881),n=t(64149),o=t(94920),a=t(78580),i=t(33335),d=t(46646);r.default=()=>{let{toast:e}=(0,d.pm)(),[r,t]=(0,n.useState)(!1),[l,c]=(0,n.useState)({oldPassword:"",newPassword:"",confirmPassword:""}),u=async e=>{try{let r=await fetch("/cgi-bin/auth.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"password=".concat(encodeURIComponent(e))}),t=await r.json();return"success"===t.state}catch(e){return console.error("Password verification failed:",e),!1}},f=async r=>{r.preventDefault(),t(!0);try{if(!l.oldPassword||!l.newPassword||!l.confirmPassword)throw Error("All fields are required");if(l.newPassword!==l.confirmPassword)throw Error("New passwords don't match");if(l.newPassword.length<8)throw Error("New password must be at least 8 characters long");if(!await u(l.oldPassword))throw Error("Current password is incorrect");let r=await fetch("/cgi-bin/settings/change-password.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"oldPassword=".concat(encodeURIComponent(l.oldPassword),"&newPassword=").concat(encodeURIComponent(l.newPassword))}),t=await r.json();if("success"===t.state)e({title:"Success",description:"Password changed successfully!"}),c({oldPassword:"",newPassword:"",confirmPassword:""});else throw Error("Failed to change password")}catch(r){e({title:"Error",description:r instanceof Error?r.message:"An unexpected error occurred",variant:"destructive"}),console.error("Password change failed:",r)}finally{t(!1)}},p=e=>{let{name:r,value:t}=e.target;c(e=>({...e,[r]:t}))};return(0,s.jsxs)(o.Zb,{children:[(0,s.jsxs)(o.Ol,{children:[(0,s.jsx)(o.ll,{children:"Change Device Password"}),(0,s.jsx)(o.SZ,{children:"This changes the password for the web interface and terminal access."})]}),(0,s.jsx)(o.aY,{children:(0,s.jsxs)("form",{onSubmit:f,className:"space-y-4",children:[(0,s.jsx)(i.I,{placeholder:"Old Password",type:"password",name:"oldPassword",value:l.oldPassword,onChange:p,"aria-label":"Old Password"}),(0,s.jsx)(i.I,{placeholder:"New Password",type:"password",name:"newPassword",value:l.newPassword,onChange:p,"aria-label":"New Password"}),(0,s.jsx)(i.I,{placeholder:"Confirm New Password",type:"password",name:"confirmPassword",value:l.confirmPassword,onChange:p,"aria-label":"Confirm New Password"})]})}),(0,s.jsx)(o.eW,{className:"border-t px-6 py-4",children:(0,s.jsx)(a.z,{type:"submit",onClick:e=>f(e),disabled:r,children:r?"Saving...":"Save"})})]})}},78580:function(e,r,t){"use strict";t.d(r,{d:function(){return d},z:function(){return l}});var s=t(20881),n=t(64149),o=t(54098),a=t(20116),i=t(90270);let d=(0,a.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=n.forwardRef((e,r)=>{let{className:t,variant:n,size:a,asChild:l=!1,...c}=e,u=l?o.g7:"button";return(0,s.jsx)(u,{className:(0,i.cn)(d({variant:n,size:a,className:t})),ref:r,...c})});l.displayName="Button"},94920:function(e,r,t){"use strict";t.d(r,{Ol:function(){return i},SZ:function(){return l},Zb:function(){return a},aY:function(){return c},eW:function(){return u},ll:function(){return d}});var s=t(20881),n=t(64149),o=t(90270);let a=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...n})});a.displayName="Card";let i=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",t),...n})});i.displayName="CardHeader";let d=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,s.jsx)("h3",{ref:r,className:(0,o.cn)("font-semibold leading-none tracking-tight",t),...n})});d.displayName="CardTitle";let l=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,s.jsx)("p",{ref:r,className:(0,o.cn)("text-sm text-muted-foreground",t),...n})});l.displayName="CardDescription";let c=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("p-6 pt-0",t),...n})});c.displayName="CardContent";let u=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("flex items-center p-6 pt-0",t),...n})});u.displayName="CardFooter"},33335:function(e,r,t){"use strict";t.d(r,{I:function(){return a}});var s=t(20881),n=t(64149),o=t(90270);let a=n.forwardRef((e,r)=>{let{className:t,type:n,...a}=e;return(0,s.jsx)("input",{type:n,className:(0,o.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...a})});a.displayName="Input"},46646:function(e,r,t){"use strict";t.d(r,{pm:function(){return f}});var s=t(64149);let n=0,o=new Map,a=e=>{if(o.has(e))return;let r=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,r)},i=(e,r)=>{switch(r.type){case"ADD_TOAST":return{...e,toasts:[r.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===r.toast.id?{...e,...r.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=r;return t?a(t):e.toasts.forEach(e=>{a(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===r.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==r.toastId)}}},d=[],l={toasts:[]};function c(e){l=i(l,e),d.forEach(e=>{e(l)})}function u(e){let{...r}=e,t=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:t});return c({type:"ADD_TOAST",toast:{...r,id:t,open:!0,onOpenChange:e=>{e||s()}}}),{id:t,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function f(){let[e,r]=s.useState(l);return s.useEffect(()=>(d.push(r),()=>{let e=d.indexOf(r);e>-1&&d.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,r,t){"use strict";t.d(r,{cn:function(){return o}});var s=t(33958),n=t(61779);function o(){for(var e=arguments.length,r=Array(e),t=0;t"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,r,t=0,s="";tt=>{var o;if((null==r?void 0:r.variants)==null)return n(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:a,defaultVariants:i}=r,d=Object.keys(a).map(e=>{let r=null==t?void 0:t[e],n=null==i?void 0:i[e];if(null===r)return null;let o=s(r)||s(n);return a[e][o]}),l=t&&Object.entries(t).reduce((e,r)=>{let[t,s]=r;return void 0===s||(e[t]=s),e},{});return n(e,d,null==r?void 0:null===(o=r.compoundVariants)||void 0===o?void 0:o.reduce((e,r)=>{let{class:t,className:s,...n}=r;return Object.entries(n).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...i,...l}[r]):({...i,...l})[r]===t})?[...e,t,s]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}}},function(e){e.O(0,[4059,8985,5330,1744],function(){return e(e.s=2045)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/layout-2ce10dc857bad7b2.js b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/layout-2ce10dc857bad7b2.js
new file mode 100644
index 0000000..951148f
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager/root/www/_next/static/chunks/app/layout-2ce10dc857bad7b2.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{71517:function(e,t,r){Promise.resolve().then(r.t.bind(r,14589,23)),Promise.resolve().then(r.bind(r,40108)),Promise.resolve().then(r.bind(r,62357)),Promise.resolve().then(r.bind(r,78287))},40108:function(e,t,r){"use strict";r.d(t,{ThemeProvider:function(){return o}});var s=r(20881);r(64149);var a=r(89448);function o(e){let{children:t,...r}=e;return(0,s.jsx)(a.f,{...r,children:t})}},62357:function(e,t,r){"use strict";r.d(t,{Toaster:function(){return g}});var s=r(20881),a=r(46646),o=r(64149),i=r(35935),n=r(72919),d=r(20116),u=r(90270);let l=n.zt,c=o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.l_,{ref:t,className:(0,u.cn)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",r),...a})});c.displayName=n.l_.displayName;let f=(0,d.j)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),p=o.forwardRef((e,t)=>{let{className:r,variant:a,...o}=e;return(0,s.jsx)(n.fC,{ref:t,className:(0,u.cn)(f({variant:a}),r),...o})});p.displayName=n.fC.displayName,o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.aU,{ref:t,className:(0,u.cn)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",r),...a})}).displayName=n.aU.displayName;let m=o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.x8,{ref:t,className:(0,u.cn)("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",r),"toast-close":"",...a,children:(0,s.jsx)(i.Pxu,{className:"h-4 w-4"})})});m.displayName=n.x8.displayName;let x=o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.Dx,{ref:t,className:(0,u.cn)("text-sm font-semibold [&+div]:text-xs",r),...a})});x.displayName=n.Dx.displayName;let v=o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.dk,{ref:t,className:(0,u.cn)("text-sm opacity-90",r),...a})});function g(){let{toasts:e}=(0,a.pm)();return(0,s.jsxs)(l,{children:[e.map(function(e){let{id:t,title:r,description:a,action:o,...i}=e;return(0,s.jsxs)(p,{...i,children:[(0,s.jsxs)("div",{className:"grid gap-1",children:[r&&(0,s.jsx)(x,{children:r}),a&&(0,s.jsx)(v,{children:a})]}),o,(0,s.jsx)(m,{})]},t)}),(0,s.jsx)(c,{})]})}v.displayName=n.dk.displayName},78287:function(e,t,r){"use strict";r.d(t,{TooltipProvider:function(){return n}});var s=r(20881),a=r(64149),o=r(37503),i=r(90270);let n=o.zt;o.fC,o.xz,a.forwardRef((e,t)=>{let{className:r,sideOffset:a=4,...n}=e;return(0,s.jsx)(o.VY,{ref:t,sideOffset:a,className:(0,i.cn)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...n})}).displayName=o.VY.displayName},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var s=r(64149);let a=0,o=new Map,i=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,t)},n=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},d=[],u={toasts:[]};function l(e){u=n(u,e),d.forEach(e=>{e(u)})}function c(e){let{...t}=e,r=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>l({type:"DISMISS_TOAST",toastId:r});return l({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>l({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=s.useState(u);return s.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return o}});var s=r(33958),a=r(61779);function o(){for(var e=arguments.length,t=Array(e),r=0;r{let{toast:e}=(0,u.pm)(),[t,r]=(0,n.useState)(""),[f,m]=(0,n.useState)(""),{login:p}=(0,o.a)(),h=async e=>{e.preventDefault(),await p(t)||m("Invalid password")};return(0,s.jsxs)("div",{className:"w-full h-screen lg:grid lg:min-h-[600px] lg:grid-cols-2 gap-4 xl:min-h-[800px]",children:[(0,s.jsx)("div",{className:"flex items-center justify-center py-12",children:(0,s.jsxs)("div",{className:"mx-auto grid w-[350px] gap-12",children:[(0,s.jsxs)("div",{className:"grid gap-2 text-center",children:[(0,s.jsx)("h1",{className:"text-3xl font-bold",children:"Login to QuecManager"}),(0,s.jsx)("p",{className:"text-balance text-muted-foreground",children:"Enter your password to login"})]}),(0,s.jsxs)("form",{onSubmit:h,children:[(0,s.jsxs)("div",{className:"grid gap-8",children:[(0,s.jsxs)("div",{className:"grid gap-2",children:[(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)(c._,{htmlFor:"password",children:"Password"})}),(0,s.jsx)(l.I,{id:"password",type:"password",required:!0,value:t,onChange:e=>r(e.target.value)}),(0,s.jsx)(a.z,{variant:"link",type:"button",className:"ml-auto inline-block text-sm underline text-white",onClick:()=>{e({variant:"destructive",title:"Forgot your password?",description:"Use the toolkit script to create a new password.",action:(0,s.jsx)(d.Z,{})})},children:"Forgot your password?"})]}),(0,s.jsx)(a.z,{type:"submit",className:"w-full",children:"Login"})]}),f&&(0,s.jsx)("div",{className:"bg-rose-500 p-1 mt-2 rounded-md flex text-center justify-center items-center",children:(0,s.jsx)("p",{children:f})})]})]})}),(0,s.jsx)("div",{className:"hidden bg-muted lg:block",children:(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center",children:(0,s.jsx)(i.default,{src:"/login-logo.svg",alt:"Image",width:"1000",height:"1000",className:"h-[50%] w-[40%] object-contain"})})})]})}},6120:function(e,t,r){"use strict";var s=r(20881),n=r(78580),o=r(35935);t.Z=()=>(0,s.jsx)(n.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,s.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,s.jsx)(o.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return l},z:function(){return c}});var s=r(20881),n=r(64149),o=r(54098),i=r(20116),a=r(90270);let l=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:i,asChild:c=!1,...u}=e,d=c?o.g7:"button";return(0,s.jsx)(d,{className:(0,a.cn)(l({variant:n,size:i,className:r})),ref:t,...u})});c.displayName="Button"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var s=r(20881),n=r(64149),o=r(90270);let i=n.forwardRef((e,t)=>{let{className:r,type:n,...i}=e;return(0,s.jsx)("input",{type:n,className:(0,o.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},21501:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var s=r(20881),n=r(64149),o=r(51212),i=r(20116),a=r(90270);let l=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)(o.f,{ref:t,className:(0,a.cn)(l(),r),...n})});c.displayName=o.f.displayName},45320:function(e,t,r){"use strict";r.d(t,{a:function(){return o}});var s=r(64149),n=r(27525);function o(){let[e,t]=(0,s.useState)(!1),r=(0,n.useRouter)();function o(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}function i(){localStorage.removeItem("session"),t(!1),r.push("/login")}function a(){let e=function(){let e=function(){let e=localStorage.getItem("session");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}();if(!e)return!1;let t=Date.now();return t>e.expiresAt?(i(),!1):(t-e.lastActivity>3e5&&o(e.token),!0)}();return t(e),e}return(0,s.useEffect)(()=>{a()},[]),{isAuthenticated:e,login:async function(e){let s=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(s)}),n=await e.json();if(console.log(n),"success"!==n.state)return!1;{let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";return Array.from(crypto.getRandomValues(new Uint8Array(e))).map(e=>t[e%t.length]).join("")}();return o(e),t(!0),r.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:i,checkAuth:a}}},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var s=r(64149);let n=0,o=new Map,i=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),u({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,t)},a=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],c={toasts:[]};function u(e){c=a(c,e),l.forEach(e=>{e(c)})}function d(e){let{...t}=e,r=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>u({type:"DISMISS_TOAST",toastId:r});return u({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>u({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=s.useState(c);return s.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>u({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return o}});var s=r(33958),n=r(61779);function o(){for(var e=arguments.length,t=Array(e),r=0;r");return e}let b=n.forwardRef((e,t)=>{let{id:r,className:s,children:l,config:o,...i}=e,d=n.useId(),c="chart-".concat(r||d.replace(/:/g,""));return(0,a.jsx)(v.Provider,{value:{config:o},children:(0,a.jsxs)("div",{"data-chart":c,ref:t,className:(0,p.cn)("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",s),...i,children:[(0,a.jsx)(j,{id:c,config:o}),(0,a.jsx)(f.h,{children:l})]})})});b.displayName="Chart";let j=e=>{let{id:t,config:r}=e,n=Object.entries(r).filter(e=>{let[t,r]=e;return r.theme||r.color});return n.length?(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(g).map(e=>{let[r,a]=e;return"\n".concat(a," [data-chart=").concat(t,"] {\n").concat(n.map(e=>{var t;let[a,n]=e,s=(null===(t=n.theme)||void 0===t?void 0:t[r])||n.color;return s?" --color-".concat(a,": ").concat(s,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null};function y(e,t,r){if("object"!=typeof t||null===t)return;let a="payload"in t&&"object"==typeof t.payload&&null!==t.payload?t.payload:void 0,n=r;return r in t&&"string"==typeof t[r]?n=t[r]:a&&r in a&&"string"==typeof a[r]&&(n=a[r]),n in e?e[n]:e[r]}x.u,n.forwardRef((e,t)=>{let{active:r,payload:s,className:l,indicator:o="dot",hideLabel:i=!1,hideIndicator:d=!1,label:c,labelFormatter:u,labelClassName:m,formatter:f,color:x,nameKey:h,labelKey:g}=e,{config:v}=N(),b=n.useMemo(()=>{var e;if(i||!(null==s?void 0:s.length))return null;let[t]=s,r="".concat(g||t.dataKey||t.name||"value"),n=y(v,t,r),l=g||"string"!=typeof c?null==n?void 0:n.label:(null===(e=v[c])||void 0===e?void 0:e.label)||c;return u?(0,a.jsx)("div",{className:(0,p.cn)("font-medium",m),children:u(l,s)}):l?(0,a.jsx)("div",{className:(0,p.cn)("font-medium",m),children:l}):null},[c,u,s,i,m,v,g]);if(!r||!(null==s?void 0:s.length))return null;let j=1===s.length&&"dot"!==o;return(0,a.jsxs)("div",{ref:t,className:(0,p.cn)("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",l),children:[j?null:b,(0,a.jsx)("div",{className:"grid gap-1.5",children:s.map((e,t)=>{let r="".concat(h||e.name||e.dataKey||"value"),n=y(v,e,r),s=x||e.payload.fill||e.color;return(0,a.jsx)("div",{className:(0,p.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===o&&"items-center"),children:f&&(null==e?void 0:e.value)!==void 0&&e.name?f(e.value,e.name,e,t,e.payload):(0,a.jsxs)(a.Fragment,{children:[(null==n?void 0:n.icon)?(0,a.jsx)(n.icon,{}):!d&&(0,a.jsx)("div",{className:(0,p.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===o,"w-1":"line"===o,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===o,"my-0.5":j&&"dashed"===o}),style:{"--color-bg":s,"--color-border":s}}),(0,a.jsxs)("div",{className:(0,p.cn)("flex flex-1 justify-between leading-none",j?"items-end":"items-center"),children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[j?b:null,(0,a.jsx)("span",{className:"text-muted-foreground",children:(null==n?void 0:n.label)||e.name})]}),e.value&&(0,a.jsx)("span",{className:"font-mono font-medium tabular-nums text-foreground",children:e.value.toLocaleString()})]})]})},e.dataKey)})})]})}).displayName="ChartTooltip",h.D,n.forwardRef((e,t)=>{let{className:r,hideIcon:n=!1,payload:s,verticalAlign:l="bottom",nameKey:o}=e,{config:i}=N();return(null==s?void 0:s.length)?(0,a.jsx)("div",{ref:t,className:(0,p.cn)("flex items-center justify-center gap-4","top"===l?"pb-3":"pt-3",r),children:s.map(e=>{let t="".concat(o||e.dataKey||"value"),r=y(i,e,t);return(0,a.jsxs)("div",{className:(0,p.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==r?void 0:r.icon)&&!n?(0,a.jsx)(r.icon,{}):(0,a.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:e.color}}),null==r?void 0:r.label]},e.value)})}):null}).displayName="ChartLegend";var w=r(47657),k=r(35935),_=r(89448),R=r(71036);function C(){let{setTheme:e}=(0,_.F)();return(0,a.jsxs)(R.h_,{children:[(0,a.jsx)(R.$F,{asChild:!0,children:(0,a.jsxs)(u.z,{variant:"outline",size:"icon",children:[(0,a.jsx)(k.NWY,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,a.jsx)(k.kLh,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,a.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,a.jsxs)(R.AW,{align:"end",children:[(0,a.jsx)(R.Xi,{onClick:()=>e("light"),children:"Light"}),(0,a.jsx)(R.Xi,{onClick:()=>e("dark"),children:"Dark"}),(0,a.jsx)(R.Xi,{onClick:()=>e("system"),children:"System"})]})]})}let S={rsrp:{min:-140,max:-70},rsrq:{min:-20,max:-10},sinr:{min:0,max:20}},z=(e,t)=>{let r=S[e];return Math.min(Math.max(Math.round((Math.max(Math.min(t,r.max),r.min)-r.min)/(r.max-r.min)*1e3)/10,0),100)},O=e=>{if(!e)return null;let t=e.map(Number).filter(e=>-32768!==e&&5!==e&&-140!==e);return 0===t.length?null:Math.round(t.reduce((e,t)=>e+t,0)/t.length)};function F(){var e,t,r;let[f,x]=(0,n.useState)({rsrp:null,rsrq:null,sinr:null,networkType:"",bands:null,networkName:""}),[h,p]=(0,n.useState)(!0),g=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=async()=>{try{let e=await fetch("/cgi-bin/fetch_data.sh?set=5"),t=await e.json();if(console.log(t),t){let e={rsrp:O(t[0].response.match(/-?\d+/g)),rsrq:O(t[1].response.match(/-?\d+/g)),sinr:O(t[2].response.match(/-?\d+/g)),networkType:"",bands:null,networkName:""};console.log(e);let r=t[3].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g),a=null==r?void 0:r.some(e=>e.includes("LTE")),n=null==r?void 0:r.some(e=>e.includes("NR5G"));e.networkType=a&&n?"NR5G-NSA":a?"LTE":n?"NR5G-SA":"No Signal";let s=null==r?void 0:r.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(e.split(" ")[2].replace(/"/g,"").trim()):void 0);e.bands=s?s.join(", "):"No Signal",e.networkName=t[4].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim()||"No Signal",x(e),g.current=e}}catch(e){console.error("Error fetching stats:",e)}finally{h&&p(!1)}};e();let t=setInterval(e,2e3);return()=>clearInterval(t)},[h]);let v=[{activity:"rsrp",value:null!==f.rsrp?z("rsrp",f.rsrp):0,label:null!==f.rsrp?"".concat(f.rsrp.toFixed(1)," dBm"):"No Signal",fill:"hsl(var(--chart-1))"},{activity:"rsrq",value:null!==f.rsrq?z("rsrq",f.rsrq):0,label:null!==f.rsrq?"".concat(f.rsrq.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-2))"},{activity:"sinr",value:null!==f.sinr?z("sinr",f.sinr):0,label:null!==f.sinr?"".concat(f.sinr.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-3))"}];return(0,a.jsxs)(d.Zb,{className:"xl:max-w-xl xl:w-[800px] max-w-sm",children:[(0,a.jsx)(d.Ol,{children:(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,a.jsx)(d.ll,{children:"QuecManager Quick Stats"}),(0,a.jsx)(C,{})]})}),(0,a.jsxs)(d.aY,{className:"flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-row justify-evenly items-center w-full p-2 border-t border-b",children:[h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:f.networkName}),(0,a.jsx)(w.Z,{orientation:"vertical",className:"mx-2 h-10 w-px"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:f.networkType}),(0,a.jsx)(w.Z,{orientation:"vertical",className:"mx-2 h-10 w-px"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:f.bands})]}),(0,a.jsx)("div",{className:"flex gap-4 xl:p-4 p-2 pb-2",children:h?(0,a.jsx)(c.O,{className:"h-[140px] w-full"}):(0,a.jsx)(b,{config:{sinr:{label:"sinr",color:"hsl(var(--chart-1))"},rsrp:{label:"rsrp",color:"hsl(var(--chart-2))"},rsrq:{label:"rsrq",color:"hsl(var(--chart-3))"}},className:"h-[140px] w-full",children:(0,a.jsxs)(s.v,{margin:{left:0,right:0,top:0,bottom:10},data:v,layout:"vertical",barSize:32,barGap:2,children:[(0,a.jsx)(l.K,{type:"number",dataKey:"value",hide:!0}),(0,a.jsx)(o.B,{dataKey:"activity",type:"category",tickLine:!1,tickMargin:4,axisLine:!1,className:"uppercase"}),(0,a.jsx)(i.$,{dataKey:"value",radius:5})]})})})]}),(0,a.jsxs)(d.eW,{className:"flex flex-col gap-4",children:[(0,a.jsx)("div",{className:"flex flex-row border-t border-b xl:p-4 p-2 w-full",children:(0,a.jsxs)("div",{className:"flex w-full items-center gap-2",children:[(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"RSRP"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(e=f.rsrp)||void 0===e?void 0:e.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dBm"})]})]}),(0,a.jsx)(w.Z,{orientation:"vertical",className:"mx-2 h-10 w-px"}),(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"RSRQ"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(t=f.rsrq)||void 0===t?void 0:t.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dB"})]})]}),(0,a.jsx)(w.Z,{orientation:"vertical",className:"mx-2 h-10 w-px"}),(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"SINR"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(r=f.sinr)||void 0===r?void 0:r.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dB"})]})]})]})}),(0,a.jsx)(u.z,{asChild:!0,children:(0,a.jsxs)(m.default,{href:"/login",children:["Login to QuecManager",(0,a.jsx)(k.LZ3,{className:"w-4 h-4 ml-2"})]})})]})]})}},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return i},z:function(){return d}});var a=r(20881),n=r(64149),s=r(54098),l=r(20116),o=r(90270);let i=(0,l.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,t)=>{let{className:r,variant:n,size:l,asChild:d=!1,...c}=e,u=d?s.g7:"button";return(0,a.jsx)(u,{className:(0,o.cn)(i({variant:n,size:l,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},SZ:function(){return d},Zb:function(){return l},aY:function(){return c},eW:function(){return u},ll:function(){return i}});var a=r(20881),n=r(64149),s=r(90270);let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});l.displayName="Card";let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...n})});o.displayName="CardHeader";let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",r),...n})});i.displayName="CardTitle";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...n})});d.displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...n})});u.displayName="CardFooter"},71036:function(e,t,r){"use strict";r.d(t,{$F:function(){return d},AW:function(){return c},Ju:function(){return m},VD:function(){return f},Xi:function(){return u},h_:function(){return i}});var a=r(20881),n=r(64149),s=r(67293),l=r(35935),o=r(90270);let i=s.fC,d=s.xz;s.ZA,s.Uv,s.Tr,s.Ee,n.forwardRef((e,t)=>{let{className:r,inset:n,children:i,...d}=e;return(0,a.jsxs)(s.fF,{ref:t,className:(0,o.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",n&&"pl-8",r),...d,children:[i,(0,a.jsx)(l.XCv,{className:"ml-auto h-4 w-4"})]})}).displayName=s.fF.displayName,n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.tu,{ref:t,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...n})}).displayName=s.tu.displayName;let c=n.forwardRef((e,t)=>{let{className:r,sideOffset:n=4,...l}=e;return(0,a.jsx)(s.Uv,{children:(0,a.jsx)(s.VY,{ref:t,sideOffset:n,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...l})})});c.displayName=s.VY.displayName;let u=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.ck,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n&&"pl-8",r),...l})});u.displayName=s.ck.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,checked:i,...d}=e;return(0,a.jsxs)(s.oC,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),checked:i,...d,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(s.wU,{children:(0,a.jsx)(l.nQG,{className:"h-4 w-4"})})}),n]})}).displayName=s.oC.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,...i}=e;return(0,a.jsxs)(s.Rk,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...i,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(s.wU,{children:(0,a.jsx)(l.jXb,{className:"h-4 w-4 fill-current"})})}),n]})}).displayName=s.Rk.displayName;let m=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.__,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",r),...l})});m.displayName=s.__.displayName;let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.Z0,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...n})});f.displayName=s.Z0.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var a=r(20881),n=r(64149),s=r(48897),l=r(90270);let o=n.forwardRef((e,t)=>{let{className:r,orientation:n="horizontal",decorative:o=!0,...i}=e;return(0,a.jsx)(s.f,{ref:t,decorative:o,orientation:n,className:(0,l.cn)("shrink-0 bg-border","horizontal"===n?"h-[1px] w-full":"h-full w-[1px]",r),...i})});o.displayName=s.f.displayName},88766:function(e,t,r){"use strict";r.d(t,{O:function(){return s}});var a=r(20881),n=r(90270);function s(e){let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var a=r(33958),n=r(61779);function s(){for(var e=arguments.length,t=Array(e),r=0;rp||(e.current=d[p],d[p]=null,p--)}function g(e,t){d[++p]=e.current,e.current=t}var y=Symbol.for("react.element"),v=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),C=Symbol.for("react.consumer"),E=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),L=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var T=Symbol.for("react.offscreen"),F=Symbol.for("react.legacy_hidden"),M=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var O=Symbol.iterator;function R(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var D=m(null),A=m(null),I=m(null),U=m(null),B={$$typeof:E,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null};function V(e,t){switch(g(I,t),g(A,e),g(D,null),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?s2(t):0;break;default:if(t=(e=8===e?t.parentNode:t).tagName,e=e.namespaceURI)t=s3(e=s2(e),t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}h(D),g(D,t)}function Q(){h(D),h(A),h(I)}function $(e){null!==e.memoizedState&&g(U,e);var t=D.current,n=s3(t,e.type);t!==n&&(g(A,e),g(D,n))}function j(e){A.current===e&&(h(D),h(A)),U.current===e&&(h(U),B._currentValue=null)}var W=a.unstable_scheduleCallback,H=a.unstable_cancelCallback,q=a.unstable_shouldYield,K=a.unstable_requestPaint,Y=a.unstable_now,X=a.unstable_getCurrentPriorityLevel,G=a.unstable_ImmediatePriority,Z=a.unstable_UserBlockingPriority,J=a.unstable_NormalPriority,ee=a.unstable_LowPriority,et=a.unstable_IdlePriority,en=a.log,er=a.unstable_setDisableYieldValue,el=null,ea=null;function eo(e){if("function"==typeof en&&er(e),ea&&"function"==typeof ea.setStrictMode)try{ea.setStrictMode(el,e)}catch(e){}}var ei=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(eu(e)/es|0)|0},eu=Math.log,es=Math.LN2,ec=128,ef=4194304;function ed(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194176&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ep(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,l=e.suspendedLanes;e=e.pingedLanes;var a=134217727&n;return 0!==a?0!=(n=a&~l)?r=ed(n):0!=(e&=a)&&(r=ed(e)):0!=(n&=~l)?r=ed(n):0!==e&&(r=ed(e)),0===r?0:0!==t&&t!==r&&0==(t&l)&&((l=r&-r)>=(e=t&-t)||32===l&&0!=(4194176&e))?t:r}function em(e,t){return e.errorRecoveryDisabledLanes&t?0:0!=(e=-536870913&e.pendingLanes)?e:536870912&e?536870912:0}function eh(){var e=ec;return 0==(4194176&(ec<<=1))&&(ec=128),e}function eg(){var e=ef;return 0==(62914560&(ef<<=1))&&(ef=4194304),e}function ey(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ev(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ei(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194218&n}function eb(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ei(n),l=1<l||u[r]!==s[l]){var c="\n"+u[r].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=r&&0<=l);break}}}finally{eG=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?eX(n):""}function eJ(e){try{var t="";do t+=function(e){switch(e.tag){case 26:case 27:case 5:return eX(e.type);case 16:return eX("Lazy");case 13:return eX("Suspense");case 19:return eX("SuspenseList");case 0:case 2:case 15:return e=eZ(e.type,!1);case 11:return e=eZ(e.type.render,!1);case 1:return e=eZ(e.type,!0);default:return""}}(e),e=e.return;while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var e0=Symbol.for("react.client.reference");function e1(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function e2(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function e3(e){e._valueTracker||(e._valueTracker=function(e){var t=e2(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var l=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function e4(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=e2(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function e6(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var e8=/[\n"\\]/g;function e5(e){return e.replace(e8,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function e7(e,t,n,r,l,a,o,i){e.name="",null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o?e.type=o:e.removeAttribute("type"),null!=t?"number"===o?(0===t&&""===e.value||e.value!=t)&&(e.value=""+e1(t)):e.value!==""+e1(t)&&(e.value=""+e1(t)):"submit"!==o&&"reset"!==o||e.removeAttribute("value"),null!=t?te(e,o,e1(t)):null!=n?te(e,o,e1(n)):null!=r&&e.removeAttribute("value"),null==l&&null!=a&&(e.defaultChecked=!!a),null!=l&&(e.checked=l&&"function"!=typeof l&&"symbol"!=typeof l),null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.name=""+e1(i):e.removeAttribute("name")}function e9(e,t,n,r,l,a,o,i){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.type=a),null!=t||null!=n){if(!("submit"!==a&&"reset"!==a||null!=t))return;n=null!=n?""+e1(n):"",t=null!=t?""+e1(t):n,i||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:l)&&"symbol"!=typeof r&&!!r,e.checked=i?e.checked:!!r,e.defaultChecked=!!r,null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.name=o)}function te(e,t,n){"number"===t&&e6(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}var tt=Array.isArray;function tn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=iX.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}var to=ta;"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(to=function(e,t){return MSApp.execUnsafeLocalFunction(function(){return ta(e,t)})});var ti=to;function tu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var ts=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function tc(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||ts.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tf(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(i(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var l in t)r=t[l],t.hasOwnProperty(l)&&n[l]!==r&&tc(e,l,r)}else for(var a in t)t.hasOwnProperty(a)&&tc(e,a,t[a])}function td(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tp=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tm=null;function th(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tg=null,ty=null;function tv(e){var t=eO(e);if(t&&(e=t.stateNode)){var n=eD(e);switch(e=t.stateNode,t.type){case"input":if(e7(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+e5(""+t)+'"][type="radio"]'),t=0;t