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-beta/root/www/_next/static/chunks/400-dd39a4eacea68279.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/400-dd39a4eacea68279.js
new file mode 100644
index 0000000..f3701c9
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/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-beta/root/www/_next/static/chunks/491-71d567345aaa1076.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/491-71d567345aaa1076.js
new file mode 100644
index 0000000..48bc57c
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/491-71d567345aaa1076.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[491],{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-beta/root/www/_next/static/chunks/509-5c1794098df9e8cb.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/509-5c1794098df9e8cb.js
new file mode 100644
index 0000000..aff7951
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/509-5c1794098df9e8cb.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[509],{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-beta/root/www/_next/static/chunks/59-baefa124caadc35a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/59-baefa124caadc35a.js
new file mode 100644
index 0000000..64340c2
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/59-baefa124caadc35a.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[59],{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-beta/root/www/_next/static/chunks/598-37a268c60ee2f48f.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/598-37a268c60ee2f48f.js
new file mode 100644
index 0000000..fb84521
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/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-beta/root/www/_next/static/chunks/72-f1b36b39df4a8c7b.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/72-f1b36b39df4a8c7b.js
new file mode 100644
index 0000000..9f1cc5d
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/72-f1b36b39df4a8c7b.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[72],{55157:function(e,t,r){r.d(t,{u:function(){return n}});function n(e,[t,r]){return Math.min(r,Math.max(t,e))}},86004:function(e,t,r){r.d(t,{gm:function(){return o}});var n=r(64149);r(20881);var l=n.createContext(void 0);function o(e){let t=n.useContext(l);return e||t||"ltr"}},62072:function(e,t,r){r.d(t,{$G:function(){return eO},B4:function(){return eP},JO:function(){return eD},VY:function(){return eV},Z0:function(){return eF},ZA:function(){return eL},__:function(){return eW},ck:function(){return eH},eT:function(){return eA},fC:function(){return eE},h_:function(){return eN},l_:function(){return e_},u_:function(){return eK},wU:function(){return eB},xz:function(){return eI}});var n=r(64149),l=r(50149),o=r(55157),a=r(64433),i=r(83027),u=r(83954),s=r(74873),d=r(86004),c=r(72832),p=r(57117),f=r(96616),v=r(89105),h=r(95420),m=r(97498),w=r(79442),g=r(54098),x=r(2441),y=r(45306),b=r(61013),S=r(32437),C=r(12230),M=r(32286),j=r(3748),T=r(20881),k=[" ","Enter","ArrowUp","ArrowDown"],R=[" ","Enter"],E="Select",[I,P,D]=(0,i.B)(E),[N,V]=(0,s.b)(E,[D,h.D7]),_=(0,h.D7)(),[L,W]=N(E),[H,A]=N(E),B=e=>{let{__scopeSelect:t,children:r,open:l,defaultOpen:o,onOpenChange:a,value:i,defaultValue:u,onValueChange:s,dir:c,name:p,autoComplete:f,disabled:m,required:w,form:g}=e,x=_(t),[b,S]=n.useState(null),[C,M]=n.useState(null),[j,k]=n.useState(!1),R=(0,d.gm)(c),[E=!1,P]=(0,y.T)({prop:l,defaultProp:o,onChange:a}),[D,N]=(0,y.T)({prop:i,defaultProp:u,onChange:s}),V=n.useRef(null),W=!b||g||!!b.closest("form"),[A,B]=n.useState(new Set),K=Array.from(A).map(e=>e.props.value).join(";");return(0,T.jsx)(h.fC,{...x,children:(0,T.jsxs)(L,{required:w,scope:t,trigger:b,onTriggerChange:S,valueNode:C,onValueNodeChange:M,valueNodeHasChildren:j,onValueNodeHasChildrenChange:k,contentId:(0,v.M)(),value:D,onValueChange:N,open:E,onOpenChange:P,dir:R,triggerPointerDownPosRef:V,disabled:m,children:[(0,T.jsx)(I.Provider,{scope:t,children:(0,T.jsx)(H,{scope:e.__scopeSelect,onNativeOptionAdd:n.useCallback(e=>{B(t=>new Set(t).add(e))},[]),onNativeOptionRemove:n.useCallback(e=>{B(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:r})}),W?(0,T.jsxs)(eT,{"aria-hidden":!0,required:w,tabIndex:-1,name:p,autoComplete:f,value:D,onChange:e=>N(e.target.value),disabled:m,form:g,children:[void 0===D?(0,T.jsx)("option",{value:""}):null,Array.from(A)]},K):null]})})};B.displayName=E;var K="SelectTrigger",O=n.forwardRef((e,t)=>{let{__scopeSelect:r,disabled:l=!1,...o}=e,i=_(r),s=W(K,r),d=s.disabled||l,c=(0,u.e)(t,s.onTriggerChange),p=P(r),f=n.useRef("touch"),[v,m,g]=ek(e=>{let t=p().filter(e=>!e.disabled),r=t.find(e=>e.value===s.value),n=eR(t,e,r);void 0!==n&&s.onValueChange(n.value)}),x=e=>{d||(s.onOpenChange(!0),g()),e&&(s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,T.jsx)(h.ee,{asChild:!0,...i,children:(0,T.jsx)(w.WV.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":ej(s.value)?"":void 0,...o,ref:c,onClick:(0,a.M)(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==f.current&&x(e)}),onPointerDown:(0,a.M)(o.onPointerDown,e=>{f.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(x(e),e.preventDefault())}),onKeyDown:(0,a.M)(o.onKeyDown,e=>{let t=""!==v.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&k.includes(e.key)&&(x(),e.preventDefault())})})})});O.displayName=K;var F="SelectValue",U=n.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:l,children:o,placeholder:a="",...i}=e,s=W(F,r),{onValueNodeHasChildrenChange:d}=s,c=void 0!==o,p=(0,u.e)(t,s.onValueNodeChange);return(0,b.b)(()=>{d(c)},[d,c]),(0,T.jsx)(w.WV.span,{...i,ref:p,style:{pointerEvents:"none"},children:ej(s.value)?(0,T.jsx)(T.Fragment,{children:a}):o})});U.displayName=F;var z=n.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,...l}=e;return(0,T.jsx)(w.WV.span,{"aria-hidden":!0,...l,ref:t,children:n||"▼"})});z.displayName="SelectIcon";var Y=e=>(0,T.jsx)(m.h,{asChild:!0,...e});Y.displayName="SelectPortal";var Z="SelectContent",q=n.forwardRef((e,t)=>{let r=W(Z,e.__scopeSelect),[o,a]=n.useState();return((0,b.b)(()=>{a(new DocumentFragment)},[]),r.open)?(0,T.jsx)(J,{...e,ref:t}):o?l.createPortal((0,T.jsx)(X,{scope:e.__scopeSelect,children:(0,T.jsx)(I.Slot,{scope:e.__scopeSelect,children:(0,T.jsx)("div",{children:e.children})})}),o):null});q.displayName=Z;var[X,G]=N(Z),J=n.forwardRef((e,t)=>{let{__scopeSelect:r,position:l="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:s,side:d,sideOffset:v,align:h,alignOffset:m,arrowPadding:w,collisionBoundary:x,collisionPadding:y,sticky:b,hideWhenDetached:S,avoidCollisions:C,...k}=e,R=W(Z,r),[E,I]=n.useState(null),[D,N]=n.useState(null),V=(0,u.e)(t,e=>I(e)),[_,L]=n.useState(null),[H,A]=n.useState(null),B=P(r),[K,O]=n.useState(!1),F=n.useRef(!1);n.useEffect(()=>{if(E)return(0,M.Ry)(E)},[E]),(0,p.EW)();let U=n.useCallback(e=>{let[t,...r]=B().map(e=>e.ref.current),[n]=r.slice(-1),l=document.activeElement;for(let r of e)if(r===l||(null==r||r.scrollIntoView({block:"nearest"}),r===t&&D&&(D.scrollTop=0),r===n&&D&&(D.scrollTop=D.scrollHeight),null==r||r.focus(),document.activeElement!==l))return},[B,D]),z=n.useCallback(()=>U([_,E]),[U,_,E]);n.useEffect(()=>{K&&z()},[K,z]);let{onOpenChange:Y,triggerPointerDownPosRef:q}=R;n.useEffect(()=>{if(E){let e={x:0,y:0},t=t=>{var r,n,l,o;e={x:Math.abs(Math.round(t.pageX)-(null!==(l=null===(r=q.current)||void 0===r?void 0:r.x)&&void 0!==l?l:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(n=q.current)||void 0===n?void 0:n.y)&&void 0!==o?o:0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():E.contains(r.target)||Y(!1),document.removeEventListener("pointermove",t),q.current=null};return null!==q.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[E,Y,q]),n.useEffect(()=>{let e=()=>Y(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[Y]);let[G,J]=ek(e=>{let t=B().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=eR(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),ee=n.useCallback((e,t,r)=>{let n=!F.current&&!r;(void 0!==R.value&&R.value===t||n)&&(L(e),n&&(F.current=!0))},[R.value]),et=n.useCallback(()=>null==E?void 0:E.focus(),[E]),er=n.useCallback((e,t,r)=>{let n=!F.current&&!r;(void 0!==R.value&&R.value===t||n)&&A(e)},[R.value]),en="popper"===l?Q:$,el=en===Q?{side:d,sideOffset:v,align:h,alignOffset:m,arrowPadding:w,collisionBoundary:x,collisionPadding:y,sticky:b,hideWhenDetached:S,avoidCollisions:C}:{};return(0,T.jsx)(X,{scope:r,content:E,viewport:D,onViewportChange:N,itemRefCallback:ee,selectedItem:_,onItemLeave:et,itemTextRefCallback:er,focusSelectedItem:z,selectedItemText:H,position:l,isPositioned:K,searchRef:G,children:(0,T.jsx)(j.Z,{as:g.g7,allowPinchZoom:!0,children:(0,T.jsx)(f.M,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,a.M)(o,e=>{var t;null===(t=R.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,T.jsx)(c.XB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1),children:(0,T.jsx)(en,{role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault(),...k,...el,onPlaced:()=>O(!0),ref:V,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:(0,a.M)(k.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||J(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=B().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>U(t)),e.preventDefault()}})})})})})})});J.displayName="SelectContentImpl";var $=n.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:l,...a}=e,i=W(Z,r),s=G(Z,r),[d,c]=n.useState(null),[p,f]=n.useState(null),v=(0,u.e)(t,e=>f(e)),h=P(r),m=n.useRef(!1),g=n.useRef(!0),{viewport:x,selectedItem:y,selectedItemText:S,focusSelectedItem:C}=s,M=n.useCallback(()=>{if(i.trigger&&i.valueNode&&d&&p&&x&&y&&S){let e=i.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),r=i.valueNode.getBoundingClientRect(),n=S.getBoundingClientRect();if("rtl"!==i.dir){let l=n.left-t.left,a=r.left-l,i=e.left-a,u=e.width+i,s=Math.max(u,t.width),c=window.innerWidth-10,p=(0,o.u)(a,[10,Math.max(10,c-s)]);d.style.minWidth=u+"px",d.style.left=p+"px"}else{let l=t.right-n.right,a=window.innerWidth-r.right-l,i=window.innerWidth-e.right-a,u=e.width+i,s=Math.max(u,t.width),c=window.innerWidth-10,p=(0,o.u)(a,[10,Math.max(10,c-s)]);d.style.minWidth=u+"px",d.style.right=p+"px"}let a=h(),u=window.innerHeight-20,s=x.scrollHeight,c=window.getComputedStyle(p),f=parseInt(c.borderTopWidth,10),v=parseInt(c.paddingTop,10),w=parseInt(c.borderBottomWidth,10),g=f+v+s+parseInt(c.paddingBottom,10)+w,b=Math.min(5*y.offsetHeight,g),C=window.getComputedStyle(x),M=parseInt(C.paddingTop,10),j=parseInt(C.paddingBottom,10),T=e.top+e.height/2-10,k=y.offsetHeight/2,R=f+v+(y.offsetTop+k);if(R<=T){let e=a.length>0&&y===a[a.length-1].ref.current;d.style.bottom="0px";let t=p.clientHeight-x.offsetTop-x.offsetHeight;d.style.height=R+Math.max(u-T,k+(e?j:0)+t+w)+"px"}else{let e=a.length>0&&y===a[0].ref.current;d.style.top="0px";let t=Math.max(T,f+x.offsetTop+(e?M:0)+k);d.style.height=t+(g-R)+"px",x.scrollTop=R-T+x.offsetTop}d.style.margin="".concat(10,"px 0"),d.style.minHeight=b+"px",d.style.maxHeight=u+"px",null==l||l(),requestAnimationFrame(()=>m.current=!0)}},[h,i.trigger,i.valueNode,d,p,x,y,S,i.dir,l]);(0,b.b)(()=>M(),[M]);let[j,k]=n.useState();(0,b.b)(()=>{p&&k(window.getComputedStyle(p).zIndex)},[p]);let R=n.useCallback(e=>{e&&!0===g.current&&(M(),null==C||C(),g.current=!1)},[M,C]);return(0,T.jsx)(ee,{scope:r,contentWrapper:d,shouldExpandOnScrollRef:m,onScrollButtonChange:R,children:(0,T.jsx)("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:(0,T.jsx)(w.WV.div,{...a,ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});$.displayName="SelectItemAlignedPosition";var Q=n.forwardRef((e,t)=>{let{__scopeSelect:r,align:n="start",collisionPadding:l=10,...o}=e,a=_(r);return(0,T.jsx)(h.VY,{...a,...o,ref:t,align:n,collisionPadding:l,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Q.displayName="SelectPopperPosition";var[ee,et]=N(Z,{}),er="SelectViewport",en=n.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:l,...o}=e,i=G(er,r),s=et(er,r),d=(0,u.e)(t,i.onViewportChange),c=n.useRef(0);return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),(0,T.jsx)(I.Slot,{scope:r,children:(0,T.jsx)(w.WV.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,a.M)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=s;if((null==n?void 0:n.current)&&r){let e=Math.abs(c.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,l=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(l0?i:0,r.style.justifyContent="flex-end")}}}c.current=t.scrollTop})})})]})});en.displayName=er;var el="SelectGroup",[eo,ea]=N(el),ei=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=(0,v.M)();return(0,T.jsx)(eo,{scope:r,id:l,children:(0,T.jsx)(w.WV.div,{role:"group","aria-labelledby":l,...n,ref:t})})});ei.displayName=el;var eu="SelectLabel",es=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=ea(eu,r);return(0,T.jsx)(w.WV.div,{id:l.id,...n,ref:t})});es.displayName=eu;var ed="SelectItem",[ec,ep]=N(ed),ef=n.forwardRef((e,t)=>{let{__scopeSelect:r,value:l,disabled:o=!1,textValue:i,...s}=e,d=W(ed,r),c=G(ed,r),p=d.value===l,[f,h]=n.useState(null!=i?i:""),[m,g]=n.useState(!1),x=(0,u.e)(t,e=>{var t;return null===(t=c.itemRefCallback)||void 0===t?void 0:t.call(c,e,l,o)}),y=(0,v.M)(),b=n.useRef("touch"),S=()=>{o||(d.onValueChange(l),d.onOpenChange(!1))};if(""===l)throw Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,T.jsx)(ec,{scope:r,value:l,disabled:o,textId:y,isSelected:p,onItemTextChange:n.useCallback(e=>{h(t=>{var r;return t||(null!==(r=null==e?void 0:e.textContent)&&void 0!==r?r:"").trim()})},[]),children:(0,T.jsx)(I.ItemSlot,{scope:r,value:l,disabled:o,textValue:f,children:(0,T.jsx)(w.WV.div,{role:"option","aria-labelledby":y,"data-highlighted":m?"":void 0,"aria-selected":p&&m,"data-state":p?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...s,ref:x,onFocus:(0,a.M)(s.onFocus,()=>g(!0)),onBlur:(0,a.M)(s.onBlur,()=>g(!1)),onClick:(0,a.M)(s.onClick,()=>{"mouse"!==b.current&&S()}),onPointerUp:(0,a.M)(s.onPointerUp,()=>{"mouse"===b.current&&S()}),onPointerDown:(0,a.M)(s.onPointerDown,e=>{b.current=e.pointerType}),onPointerMove:(0,a.M)(s.onPointerMove,e=>{if(b.current=e.pointerType,o){var t;null===(t=c.onItemLeave)||void 0===t||t.call(c)}else"mouse"===b.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,a.M)(s.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=c.onItemLeave)||void 0===t||t.call(c)}}),onKeyDown:(0,a.M)(s.onKeyDown,e=>{var t;(null===(t=c.searchRef)||void 0===t?void 0:t.current)!==""&&" "===e.key||(R.includes(e.key)&&S()," "===e.key&&e.preventDefault())})})})})});ef.displayName=ed;var ev="SelectItemText",eh=n.forwardRef((e,t)=>{let{__scopeSelect:r,className:o,style:a,...i}=e,s=W(ev,r),d=G(ev,r),c=ep(ev,r),p=A(ev,r),[f,v]=n.useState(null),h=(0,u.e)(t,e=>v(e),c.onItemTextChange,e=>{var t;return null===(t=d.itemTextRefCallback)||void 0===t?void 0:t.call(d,e,c.value,c.disabled)}),m=null==f?void 0:f.textContent,g=n.useMemo(()=>(0,T.jsx)("option",{value:c.value,disabled:c.disabled,children:m},c.value),[c.disabled,c.value,m]),{onNativeOptionAdd:x,onNativeOptionRemove:y}=p;return(0,b.b)(()=>(x(g),()=>y(g)),[x,y,g]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(w.WV.span,{id:c.textId,...i,ref:h}),c.isSelected&&s.valueNode&&!s.valueNodeHasChildren?l.createPortal(i.children,s.valueNode):null]})});eh.displayName=ev;var em="SelectItemIndicator",ew=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return ep(em,r).isSelected?(0,T.jsx)(w.WV.span,{"aria-hidden":!0,...n,ref:t}):null});ew.displayName=em;var eg="SelectScrollUpButton",ex=n.forwardRef((e,t)=>{let r=G(eg,e.__scopeSelect),l=et(eg,e.__scopeSelect),[o,a]=n.useState(!1),i=(0,u.e)(t,l.onScrollButtonChange);return(0,b.b)(()=>{if(r.viewport&&r.isPositioned){let e=function(){a(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),o?(0,T.jsx)(eS,{...e,ref:i,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});ex.displayName=eg;var ey="SelectScrollDownButton",eb=n.forwardRef((e,t)=>{let r=G(ey,e.__scopeSelect),l=et(ey,e.__scopeSelect),[o,a]=n.useState(!1),i=(0,u.e)(t,l.onScrollButtonChange);return(0,b.b)(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;a(Math.ceil(t.scrollTop)t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),o?(0,T.jsx)(eS,{...e,ref:i,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});eb.displayName=ey;var eS=n.forwardRef((e,t)=>{let{__scopeSelect:r,onAutoScroll:l,...o}=e,i=G("SelectScrollButton",r),u=n.useRef(null),s=P(r),d=n.useCallback(()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)},[]);return n.useEffect(()=>()=>d(),[d]),(0,b.b)(()=>{var e;let t=s().find(e=>e.ref.current===document.activeElement);null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[s]),(0,T.jsx)(w.WV.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:(0,a.M)(o.onPointerDown,()=>{null===u.current&&(u.current=window.setInterval(l,50))}),onPointerMove:(0,a.M)(o.onPointerMove,()=>{var e;null===(e=i.onItemLeave)||void 0===e||e.call(i),null===u.current&&(u.current=window.setInterval(l,50))}),onPointerLeave:(0,a.M)(o.onPointerLeave,()=>{d()})})}),eC=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return(0,T.jsx)(w.WV.div,{"aria-hidden":!0,...n,ref:t})});eC.displayName="SelectSeparator";var eM="SelectArrow";function ej(e){return""===e||void 0===e}n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=_(r),o=W(eM,r),a=G(eM,r);return o.open&&"popper"===a.position?(0,T.jsx)(h.Eh,{...l,...n,ref:t}):null}).displayName=eM;var eT=n.forwardRef((e,t)=>{let{value:r,...l}=e,o=n.useRef(null),a=(0,u.e)(t,o),i=(0,S.D)(r);return n.useEffect(()=>{let e=o.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(i!==r&&t){let n=new Event("change",{bubbles:!0});t.call(e,r),e.dispatchEvent(n)}},[i,r]),(0,T.jsx)(C.T,{asChild:!0,children:(0,T.jsx)("select",{...l,ref:a,defaultValue:r})})});function ek(e){let t=(0,x.W)(e),r=n.useRef(""),l=n.useRef(0),o=n.useCallback(e=>{let n=r.current+e;t(n),function e(t){r.current=t,window.clearTimeout(l.current),""!==t&&(l.current=window.setTimeout(()=>e(""),1e3))}(n)},[t]),a=n.useCallback(()=>{r.current="",window.clearTimeout(l.current)},[]);return n.useEffect(()=>()=>window.clearTimeout(l.current),[]),[r,o,a]}function eR(e,t,r){var n;let l=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=(n=Math.max(r?e.indexOf(r):-1,0),e.map((t,r)=>e[(n+r)%e.length]));1===l.length&&(o=o.filter(e=>e!==r));let a=o.find(e=>e.textValue.toLowerCase().startsWith(l.toLowerCase()));return a!==r?a:void 0}eT.displayName="BubbleSelect";var eE=B,eI=O,eP=U,eD=z,eN=Y,eV=q,e_=en,eL=ei,eW=es,eH=ef,eA=eh,eB=ew,eK=ex,eO=eb,eF=eC},32437:function(e,t,r){r.d(t,{D:function(){return l}});var n=r(64149);function l(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])}},12230:function(e,t,r){r.d(t,{T:function(){return a},f:function(){return i}});var n=r(64149),l=r(79442),o=r(20881),a=n.forwardRef((e,t)=>(0,o.jsx)(l.WV.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));a.displayName="VisuallyHidden";var i=a}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/726-e27650c1c29eeb49.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/726-e27650c1c29eeb49.js
new file mode 100644
index 0000000..4b18a84
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/726-e27650c1c29eeb49.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[726],{32286:function(e,t,n){n.d(t,{Ry:function(){return l}});var r=new WeakMap,o=new WeakMap,a={},c=0,i=function(e){return e&&(e.host||i(e.parentNode))},u=function(e,t,n,u){var l=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=i(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});a[n]||(a[n]=new WeakMap);var d=a[n],s=[],f=new Set,v=new Set(l),p=function(e){!e||f.has(e)||(f.add(e),p(e.parentNode))};l.forEach(p);var h=function(e){!e||v.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(e);else try{var t=e.getAttribute(u),a=null!==t&&"false"!==t,c=(r.get(e)||0)+1,i=(d.get(e)||0)+1;r.set(e,c),d.set(e,i),s.push(e),1===c&&a&&o.set(e,!0),1===i&&e.setAttribute(n,"true"),a||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return h(t),f.clear(),c++,function(){s.forEach(function(e){var t=r.get(e)-1,a=d.get(e)-1;r.set(e,t),d.set(e,a),t||(o.has(e)||e.removeAttribute(u),o.delete(e)),a||e.removeAttribute(n)}),--c||(r=new WeakMap,r=new WeakMap,o=new WeakMap,a={})}},l=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),u(r,o,n,"aria-hidden")):function(){return null}}},3748:function(e,t,n){n.d(t,{Z:function(){return G}});var r,o,a,c,i,u,l,d=function(){return(d=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}"function"==typeof SuppressedError&&SuppressedError;var f=n(64149),v="right-scroll-bar-position",p="width-before-scroll-bar";function h(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="undefined"!=typeof window?f.useLayoutEffect:f.useEffect,g=new WeakMap,y=(void 0===o&&(o={}),(void 0===a&&(a=function(e){return e}),c=[],i=!1,u={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return c.length?c[c.length-1]:null},useMedium:function(e){var t=a(e,i);return c.push(t),function(){c=c.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;c.length;){var t=c;c=[],t.forEach(e)}c={push:function(t){return e(t)},filter:function(){return c}}},assignMedium:function(e){i=!0;var t=[];if(c.length){var n=c;c=[],n.forEach(e),t=c}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),c={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),c}}}}).options=d({async:!0,ssr:!1},o),u),E=function(){},b=f.forwardRef(function(e,t){var n,r,o,a,c=f.useRef(null),i=f.useState({onScrollCapture:E,onWheelCapture:E,onTouchMoveCapture:E}),u=i[0],l=i[1],v=e.forwardProps,p=e.children,b=e.className,w=e.removeScrollBar,S=e.enabled,C=e.shards,k=e.sideCar,A=e.noIsolation,M=e.inert,N=e.allowPinchZoom,L=e.as,R=e.gapMode,T=s(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=(n=[c,t],r=function(e){return n.forEach(function(t){return h(t,e)})},(o=(0,f.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,a=o.facade,m(function(){var e=g.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||h(e,null)}),r.forEach(function(e){t.has(e)||h(e,o)})}g.set(a,n)},[n]),a),P=d(d({},T),u);return f.createElement(f.Fragment,null,S&&f.createElement(k,{sideCar:y,removeScrollBar:w,shards:C,noIsolation:A,inert:M,setCallbacks:l,allowPinchZoom:!!N,lockRef:c,gapMode:R}),v?f.cloneElement(f.Children.only(p),d(d({},P),{ref:x})):f.createElement(void 0===L?"div":L,d({},P,{className:b,ref:x}),p))});b.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},b.classNames={fullWidth:p,zeroRight:v};var w=function(e){var t=e.sideCar,n=s(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return f.createElement(r,d({},n))};w.isSideCarExport=!0;var S=function(){var e=0,t=null;return{add:function(o){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r||n.nc;return t&&e.setAttribute("nonce",t),e}())){var a,c;(a=t).styleSheet?a.styleSheet.cssText=o:a.appendChild(document.createTextNode(o)),c=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(c)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},C=function(){var e=S();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},k=function(){var e=C();return function(t){return e(t.styles,t.dynamic),null}},A={left:0,top:0,right:0,gap:0},M=function(e){return parseInt(e||"",10)||0},N=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[M(n),M(r),M(o)]},L=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return A;var t=N(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},R=k(),T="data-scroll-locked",x=function(e,t,n,r){var o=e.left,a=e.top,c=e.right,i=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(i,"px ").concat(r,";\n }\n body[").concat(T,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(c,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(i,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(i,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(v," {\n right: ").concat(i,"px ").concat(r,";\n }\n \n .").concat(p," {\n margin-right: ").concat(i,"px ").concat(r,";\n }\n \n .").concat(v," .").concat(v," {\n right: 0 ").concat(r,";\n }\n \n .").concat(p," .").concat(p," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(T,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(i,"px;\n }\n")},P=function(){var e=parseInt(document.body.getAttribute(T)||"0",10);return isFinite(e)?e:0},W=function(){f.useEffect(function(){return document.body.setAttribute(T,(P()+1).toString()),function(){var e=P()-1;e<=0?document.body.removeAttribute(T):document.body.setAttribute(T,e.toString())}},[])},I=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;W();var a=f.useMemo(function(){return L(o)},[o]);return f.createElement(R,{styles:x(a,!t,o,n?"":"!important")})},O=!1;if("undefined"!=typeof window)try{var F=Object.defineProperty({},"passive",{get:function(){return O=!0,!0}});window.addEventListener("test",F,F),window.removeEventListener("test",F,F)}catch(e){O=!1}var j=!!O&&{passive:!1},B=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},D=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),K(e,r)){var o=_(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},K=function(e,t){return"v"===e?B(t,"overflowY"):B(t,"overflowX")},_=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},X=function(e,t,n,r,o){var a,c=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),i=c*r,u=n.target,l=t.contains(u),d=!1,s=i>0,f=0,v=0;do{var p=_(e,u),h=p[0],m=p[1]-p[2]-c*h;(h||m)&&K(e,u)&&(f+=m,v+=h),u instanceof ShadowRoot?u=u.host:u=u.parentNode}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return s&&(o&&1>Math.abs(f)||!o&&i>f)?d=!0:!s&&(o&&1>Math.abs(v)||!o&&-i>v)&&(d=!0),d},Y=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Z=function(e){return[e.deltaX,e.deltaY]},H=function(e){return e&&"current"in e?e.current:e},q=0,U=[],z=(l=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(q++)[0],a=f.useState(k)[0],c=f.useRef(e);f.useEffect(function(){c.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;oMath.abs(l)?"h":"v";if("touches"in e&&"h"===s&&"range"===d.type)return!1;var f=D(s,d);if(!f)return!0;if(f?o=s:(o="v"===s?"h":"v",f=D(s,d)),!f)return!1;if(!r.current&&"changedTouches"in e&&(u||l)&&(r.current=o),!o)return!0;var v=r.current||o;return X(v,t,e,"h"===v?u:l,!0)},[]),u=f.useCallback(function(e){if(U.length&&U[U.length-1]===a){var n="deltaY"in e?Z(e):Y(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(c.current.shards||[]).map(H).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?i(e,o[0]):!c.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=f.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=f.useCallback(function(e){n.current=Y(e),r.current=void 0},[]),s=f.useCallback(function(t){l(t.type,Z(t),t.target,i(t,e.lockRef.current))},[]),v=f.useCallback(function(t){l(t.type,Y(t),t.target,i(t,e.lockRef.current))},[]);f.useEffect(function(){return U.push(a),e.setCallbacks({onScrollCapture:s,onWheelCapture:s,onTouchMoveCapture:v}),document.addEventListener("wheel",u,j),document.addEventListener("touchmove",u,j),document.addEventListener("touchstart",d,j),function(){U=U.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,j),document.removeEventListener("touchmove",u,j),document.removeEventListener("touchstart",d,j)}},[]);var p=e.removeScrollBar,h=e.inert;return f.createElement(f.Fragment,null,h?f.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?f.createElement(I,{gapMode:e.gapMode}):null)},y.useMedium(l),w),V=f.forwardRef(function(e,t){return f.createElement(b,d({},e,{ref:t,sideCar:z}))});V.classNames=b.classNames;var G=V},57117:function(e,t,n){n.d(t,{EW:function(){return a}});var r=n(64149),o=0;function a(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:c()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:c()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function c(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},96616:function(e,t,n){let r;n.d(t,{M:function(){return f}});var o=n(64149),a=n(83954),c=n(79442),i=n(2441),u=n(20881),l="focusScope.autoFocusOnMount",d="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},f=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:f,onUnmountAutoFocus:g,...y}=e,[E,b]=o.useState(null),w=(0,i.W)(f),S=(0,i.W)(g),C=o.useRef(null),k=(0,a.e)(t,e=>b(e)),A=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(A.paused||!E)return;let t=e.target;E.contains(t)?C.current=t:h(C.current,{select:!0})},t=function(e){if(A.paused||!E)return;let t=e.relatedTarget;null===t||E.contains(t)||h(C.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&h(E)});return E&&n.observe(E,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,E,A.paused]),o.useEffect(()=>{if(E){m.add(A);let e=document.activeElement;if(!E.contains(e)){let t=new CustomEvent(l,s);E.addEventListener(l,w),E.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(h(r,{select:t}),document.activeElement!==n)return}(v(E).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&h(E))}return()=>{E.removeEventListener(l,w),setTimeout(()=>{let t=new CustomEvent(d,s);E.addEventListener(d,S),E.dispatchEvent(t),t.defaultPrevented||h(null!=e?e:document.body,{select:!0}),E.removeEventListener(d,S),m.remove(A)},0)}}},[E,w,S,A]);let M=o.useCallback(e=>{if(!n&&!r||A.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,a]=function(e){let t=v(e);return[p(t,e),p(t.reverse(),e)]}(t);r&&a?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&h(a,{select:!0})):(e.preventDefault(),n&&h(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,A.paused]);return(0,u.jsx)(c.WV.div,{tabIndex:-1,...y,ref:k,onKeyDown:M})});function v(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function h(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}f.displayName="FocusScope";var m=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=g(r,e)).unshift(e)},remove(e){var t;null===(t=(r=g(r,e))[0])||void 0===t||t.resume()}});function g(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}}}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/84fbfe7f-f4d35e8642f5f806.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/84fbfe7f-f4d35e8642f5f806.js
new file mode 100644
index 0000000..b068667
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/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-beta/root/www/_next/static/chunks/948-abdc89d831325247.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/948-abdc89d831325247.js
new file mode 100644
index 0000000..4138040
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/948-abdc89d831325247.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[948],{83027:function(e,t,n){n.d(t,{B:function(){return f}});var r=n(64149),i=n(245),o=n(83954),l=n(54098),a=n(20881);function f(e){let t=e+"CollectionProvider",[n,f]=(0,i.b)(t),[u,c]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:n}=e,i=r.useRef(null),o=r.useRef(new Map).current;return(0,a.jsx)(u,{scope:t,itemMap:o,collectionRef:i,children:n})};s.displayName=t;let d=e+"CollectionSlot",p=r.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=c(d,n),f=(0,o.e)(t,i.collectionRef);return(0,a.jsx)(l.g7,{ref:f,children:r})});p.displayName=d;let h=e+"CollectionItemSlot",m="data-radix-collection-item",g=r.forwardRef((e,t)=>{let{scope:n,children:i,...f}=e,u=r.useRef(null),s=(0,o.e)(t,u),d=c(h,n);return r.useEffect(()=>(d.itemMap.set(u,{ref:u,...f}),()=>void d.itemMap.delete(u))),(0,a.jsx)(l.g7,{[m]:"",ref:s,children:i})});return g.displayName=h,[{Provider:s,Slot:p,ItemSlot:g},function(t){let n=c(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},f]}},245:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(64149),i=n(20881);function o(e,t=[]){let n=[],o=()=>{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 R(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 A=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}=R(u,r,f),d=r,p={},h=0;for(let n=0;ne[t]>=0)}async function L(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 O(){return"undefined"!=typeof window}function P(e){return M(e)?(e.nodeName||"").toLowerCase():"#document"}function T(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function k(e){var t;return null==(t=(M(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function M(e){return!!O()&&(e instanceof Node||e instanceof T(e).Node)}function N(e){return!!O()&&(e instanceof Element||e instanceof T(e).Element)}function H(e){return!!O()&&(e instanceof HTMLElement||e instanceof T(e).HTMLElement)}function D(e){return!!O()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof T(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 W(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function F(e){let t=V(),n=N(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(P(e))}function _(e){return T(e).getComputedStyle(e)}function B(e){return N(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function $(e){if("html"===P(e))return e;let t=e.assignedSlot||e.parentNode||D(e)&&e.host||k(e);return D(t)?t.host:t}function I(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:H(n)&&j(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=T(i);if(o){let e=Y(l);return t.concat(l,l.visualViewport||[],j(i)?i:[],e&&n?I(e):[])}return t.concat(i,I(i,[],n))}function Y(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=H(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 N(e)?e:e.contextElement}function G(e){let t=q(e);if(!H(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=T(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?N(r)&&(a=G(r)):a=G(e));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===T(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=T(l),t=r&&N(r)?T(r):r,n=e,i=Y(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=Y(n=T(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=T(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(N(t))r=function(e,t){let n=Q(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=H(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(!H(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=T(e);if(W(e))return n;if(!H(e)){let t=$(e);for(;t&&!z(t);){if(N(t)&&!ee(t))return t;t=$(t)}return n}let r=et(e,t);for(;r&&["table","td","th"].includes(P(r))&&ee(r);)r=et(r,t);return r&&z(r)&&ee(r)&&!F(r)?n:r||function(e){let t=$(e);for(;H(t)&&!z(t);){if(F(t))return t;if(W(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=H(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"!==P(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&&W(t.floating);if(r===l||a&&o)return n;let f={scrollLeft:0,scrollTop:0},c=u(1),s=u(0),d=H(r);if((d||!d&&!o)&&(("body"!==P(r)||j(l))&&(f=B(r)),H(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?W(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=I(e,[],!1).filter(e=>N(e)&&"body"!==P(e)),i=null,o="fixed"===_(e).position,l=o?$(e):e;for(;N(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||!N(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:N,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)),R=g(b),A=await f.getDimensions(s),C="y"===b,S=C?"clientHeight":"clientWidth",E=a.reference[R]+a.reference[b]-w[b]-a.floating[R],L=w[b]-a.reference[b],O=await (null==f.getOffsetParent?void 0:f.getOffsetParent(s)),P=O?O[S]:0;P&&await (null==f.isElement?void 0:f.isElement(O))||(P=u.floating[S]||a.floating[R]);let T=P/2-A[R]/2-1,k=o(v[C?"top":"left"],T),M=o(v[C?"bottom":"right"],T),N=P-A[R]-M,H=P/2-A[R]/2+(E/2-L/2),D=l(k,o(H,N)),j=!c.arrow&&null!=h(i)&&H!==D&&a.reference[R]/2-(H{let r=new Map,i={platform:ei,...n},o={...i.platform,_c:r};return A(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 L(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 C(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,R;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==(R=l.offset)?void 0:R[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:R=!0,fallbackPlacements:A,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:L=!0,...O}=d(n,e);if(null!=(t=f.arrow)&&t.alignmentOffset)return{};let P=p(a),T=y(c),k=p(c)===c,M=await (null==s.isRTL?void 0:s.isRTL(x.floating)),N=A||(k||!L?[w(c)]:function(e){let t=w(e);return[v(e),t,v(t)]}(c)),H="none"!==E;!A&&H&&N.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,L,E,M));let D=[c,...N],j=await C(e,O),W=[],F=(null==(r=f.flip)?void 0:r.overflows)||[];if(b&&W.push(j[P]),R){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,M);W.push(j[e[0]],j[e[1]])}if(F=[...F,{placement:a,overflows:W}],!W.every(e=>e<=0)){let e=((null==(i=f.flip)?void 0:i.index)||0)+1,t=D[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(S){case"bestFit":{let e=null==(l=F.filter(e=>{if(H){let t=y(e.placement);return t===T||"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 C(e,g),w=p(f),x=h(f),b="y"===y(f),{width:R,height:A}=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 S=A-v.top-v.bottom,E=R-v.left-v.right,L=o(A-v[i],S),O=o(R-v[a],E),P=!e.middlewareData.shift,T=L,k=O;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(k=E),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(T=S),P&&!x){let e=l(v.left,0),t=l(v.right,0),n=l(v.top,0),r=l(v.bottom,0);b?k=R-2*(0!==e||0!==t?e+t:l(v.left,v.right)):T=A-2*(0!==n||0!==r?n+r:l(v.top,v.bottom))}await m({...e,availableWidth:k,availableHeight:T});let M=await c.getDimensions(s.floating);return R!==M.width||A!==M.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=S(await C(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:E(n)}}}case"escaped":{let n=S(await C(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:E(n)}}}default:return{}}}}),options:[e,t]}},ex=(e,t)=>({...ep(e),options:[e,t]});var eb=n(79442),eR=n(20881),eA=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eR.jsx)(eb.WV.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eR.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eA.displayName="Arrow";var eC=n(83954),eS=n(245),eE=n(2441),eL=n(61013),eO=n(73452),eP="Popper",[eT,ek]=(0,eS.b)(eP),[eM,eN]=eT(eP),eH=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,eR.jsx)(eM,{scope:t,anchor:i,onAnchorChange:o,children:n})};eH.displayName=eP;var eD="PopperAnchor",ej=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...o}=e,l=eN(eD,n),a=r.useRef(null),f=(0,eC.e)(t,a);return r.useEffect(()=>{l.onAnchorChange((null==i?void 0:i.current)||a.current)}),i?null:(0,eR.jsx)(eb.WV.div,{...o,ref:f})});ej.displayName=eD;var eW="PopperContent",[eF,eV]=eT(eW),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:R=0,sticky:A="partial",hideWhenDetached:C=!1,updatePositionStrategy:S="optimized",onPlaced:E,...L}=e,O=eN(eW,h),[P,T]=r.useState(null),M=(0,eC.e)(t,e=>T(e)),[N,H]=r.useState(null),D=(0,eO.t)(N),j=null!==(d=null==D?void 0:D.width)&&void 0!==d?d:0,W=null!==(p=null==D?void 0:D.height)&&void 0!==p?p:0,F="number"==typeof R?R:{top:0,right:0,bottom:0,left:0,...R},V=Array.isArray(b)?b:[b],z=V.length>0,_={padding:F,boundary:V.filter(eI),altBoundary:z},{refs:B,floatingStyles:$,placement:Y,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!==A.current&&(A.current=e,g(e))},[]),x=r.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),b=l||m,R=a||y,A=r.useRef(null),C=r.useRef(null),S=r.useRef(s),E=null!=u,L=ed(u),O=ed(o),P=ed(c),T=r.useCallback(()=>{if(!A.current||!C.current)return;let e={placement:t,strategy:n,middleware:p};O.current&&(e.platform=O.current),el(A.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==P.current};k.current&&!eu(S.current,t)&&(S.current=t,ea.flushSync(()=>{d(t)}))})},[p,t,n,O,P]);ef(()=>{!1===c&&S.current.isPositioned&&(S.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let k=r.useRef(!1);ef(()=>(k.current=!0,()=>{k.current=!1}),[]),ef(()=>{if(b&&(A.current=b),R&&(C.current=R),b&&R){if(L.current)return L.current(b,R,T);T()}},[b,R,T,L,E]);let M=r.useMemo(()=>({reference:A,floating:C,setReference:w,setFloating:x}),[w,x]),N=r.useMemo(()=>({reference:b,floating:R}),[b,R]),H=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!N.floating)return e;let t=es(N.floating,s.x),r=es(N.floating,s.y);return f?{...e,transform:"translate("+t+"px, "+r+"px)",...ec(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,f,N.floating,s.x,s.y]);return r.useMemo(()=>({...s,update:T,refs:M,elements:N,floatingStyles:H}),[s,T,M,N,H])}({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"===S})},elements:{reference:O.anchor},middleware:[eh({mainAxis:g+W,alignmentAxis:v}),x&&em({mainAxis:!0,crossAxis:!1,limiter:"partial"===A?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"))}}),N&&ex({element:N,padding:w}),eY({arrowWidth:j,arrowHeight:W}),C&&ew({strategy:"referenceHidden",..._})]}),[J,K]=eX(Y),U=(0,eE.W)(E);(0,eL.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,eL.b)(()=>{P&&er(window.getComputedStyle(P).zIndex)},[P]),(0,eR.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,eR.jsx)(eF,{scope:h,placedSide:J,onArrowChange:H,arrowX:Z,arrowY:ee,shouldHideArrow:et,children:(0,eR.jsx)(eb.WV.div,{"data-side":J,"data-align":K,...L,ref:M,style:{...L.style,animation:X?void 0:"none"}})})})});ez.displayName=eW;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,eR.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,eR.jsx)(eA,{...r,ref:t,style:{...r.style,display:"block"}})})});function eI(e){return null!==e}e$.displayName=e_;var eY=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=eH,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-beta/root/www/_next/static/chunks/app/_not-found/page-d7951e1cf3de9f43.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/_not-found/page-d7951e1cf3de9f43.js
new file mode 100644
index 0000000..1d9cbb7
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/_not-found/page-d7951e1cf3de9f43.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[409],{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,[985,330,744],function(){return e(e.s=66325)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-6f80570614b72ce6.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-6f80570614b72ce6.js
new file mode 100644
index 0000000..a7ab1ae
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-6f80570614b72ce6.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[878],{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,[59,310,985,330,744],function(){return e(e.s=26888)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-6e51f119c77aa283.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-6e51f119c77aa283.js
new file mode 100644
index 0000000..e9b5779
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-6e51f119c77aa283.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[164],{88276:function(e,t,r){Promise.resolve().then(r.bind(r,98493))},98493: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(90270);let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("textarea",{className:(0,d.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})});c.displayName="Textarea";var u=r(33335),m=r(36306),f=r(92093);let p=(0,f.Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),x=(0,f.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"}]]),h=(0,f.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 y=r(47657),g=r(46646),v=r(16236);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,d.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,d.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,d.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,d.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,d.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,d.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,d.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,d.cn)("mt-4 text-sm text-muted-foreground",r),...n})});S.displayName="TableCaption";var A=()=>{let e=(0,g.pm)(),[t,r]=(0,n.useState)(""),[d,f]=(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(d.trim()){I(!0),f(""),r("");try{let e=H(d),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:d,response:s,timestamp:new Date().toISOString()};R(e=>[o,...e]),r(e=>"".concat(e).concat(e?"\n":"","> ").concat(d,"\n\n").concat(s)),D.includes(d)||E(e=>[...e,d])}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=>{f(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",children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(i._,{htmlFor:"ATOutput",children:"AT Command Output"}),(0,a.jsx)(c,{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)(y.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)(v.aR,{children:[(0,a.jsx)(v.vW,{asChild:!0,children:(0,a.jsxs)(l.z,{variant:"outline",size:"sm",children:[(0,a.jsx)(m.Z,{className:"h-4 w-4 text-rose-500"}),"Clear All"]})}),(0,a.jsxs)(v._T,{children:[(0,a.jsxs)(v.fY,{children:[(0,a.jsx)(v.f$,{children:"Clear Command History"}),(0,a.jsx)(v.yT,{children:"This action cannot be undone. This will permanently delete your command history."})]}),(0,a.jsxs)(v.xo,{children:[(0,a.jsx)(v.le,{children:"Cancel"}),(0,a.jsx)(v.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)(p,{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)(y.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)(u.I,{value:d,onChange:e=>{let t=e.target.value;f(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)(p,{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)(x,{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)(h,{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},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}},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,[59,155,726,491,310,985,330,744],function(){return e(e.s=88276)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-74317b9fdfbac8b5.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-74317b9fdfbac8b5.js
new file mode 100644
index 0000000..6d054d4
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-74317b9fdfbac8b5.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[812],{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),[v,j]=(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();j(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(v);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[t,a]=await Promise.all([fetch("/cgi-bin/advance/fetch_macs.sh"),fetch("/cgi-bin/fetch_data.sh?set=4")]),[s,n]=await Promise.all([t.json(),a.json()]);p(s);let o=D(n);b(o),w(o),r(!1),e({title:"Success",description:"Fetched connectivity settings successfully"})}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 z},xo:function(){return I},fY:function(){return k},f$:function(){return F},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 v="AlertDialogContent",[j,y]=u(v),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:v,titleName:N,docsSlug:"alert-dialog",children:(0,a.jsx)(j,{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=v;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(v,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(v,"` 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(v,"`. 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 F=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})});F.displayName=w.displayName;let z=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})});z.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,59,155,726,948,72,491,985,330,744],function(){return e(e.s=53830)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/layout-570f8537cc94784b.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/layout-570f8537cc94784b.js
new file mode 100644
index 0000000..4dbef86
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/layout-570f8537cc94784b.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[60],{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/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,[509,985,330,744],function(){return t(t.s=89460)}),_N_E=t.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-b6811097c3dbc8e1.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-b6811097c3dbc8e1.js
new file mode 100644
index 0000000..1bbc306
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-b6811097c3dbc8e1.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[876],{87168:function(e,t,r){Promise.resolve().then(r.bind(r,79278))},79278:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return O}});var n=r(20881),s=r(64149),i=r(94920),o=r(33335),a=r(64433),u=r(83954),c=r(74873),l=r(45306),d=r(32437),f=r(73452),p=r(79442),m="Switch",[h,v]=(0,c.b)(m),[b,g]=h(m),x=s.forwardRef((e,t)=>{let{__scopeSwitch:r,name:i,checked:o,defaultChecked:c,required:d,disabled:f,value:m="on",onCheckedChange:h,form:v,...g}=e,[x,y]=s.useState(null),w=(0,u.e)(t,e=>y(e)),S=s.useRef(!1),T=!x||v||!!x.closest("form"),[k=!1,E]=(0,l.T)({prop:o,defaultProp:c,onChange:h});return(0,n.jsxs)(b,{scope:r,checked:k,disabled:f,children:[(0,n.jsx)(p.WV.button,{type:"button",role:"switch","aria-checked":k,"aria-required":d,"data-state":N(k),"data-disabled":f?"":void 0,disabled:f,value:m,...g,ref:w,onClick:(0,a.M)(e.onClick,e=>{E(e=>!e),T&&(S.current=e.isPropagationStopped(),S.current||e.stopPropagation())})}),T&&(0,n.jsx)(j,{control:x,bubbles:!S.current,name:i,value:m,checked:k,required:d,disabled:f,form:v,style:{transform:"translateX(-100%)"}})]})});x.displayName=m;var y="SwitchThumb",w=s.forwardRef((e,t)=>{let{__scopeSwitch:r,...s}=e,i=g(y,r);return(0,n.jsx)(p.WV.span,{"data-state":N(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:t})});w.displayName=y;var j=e=>{let{control:t,checked:r,bubbles:i=!0,...o}=e,a=s.useRef(null),u=(0,d.D)(r),c=(0,f.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,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function N(e){return e?"checked":"unchecked"}var S=r(90270);let T=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(x,{className:(0,S.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)(w,{className:(0,S.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")})})});T.displayName=x.displayName;var k=r(78580),E=r(46646),C=r(6120),O=()=>{let[e,t]=(0,s.useState)("0"),[r,a]=(0,s.useState)(!1),[u,c]=(0,s.useState)(!0),[l,d]=(0,s.useState)(""),[f,p]=(0,s.useState)(""),m=(0,E.pm)();(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/advance/ttl.sh"),r=await e.json();a(r.isEnabled),t(r.currentValue.toString()),c(!1),m.toast({title:"Success",description:"Fetched TTL settings successfully"})}catch(e){d("Failed to fetch TTL settings"),c(!1),m.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:l,action:(0,n.jsx)(C.Z,{})})}})()},[]);let h=async t=>{t.preventDefault(),d(""),p("");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?m.toast({title:"Success",description:"Settings saved successfully"}):m.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Failed to save settings",action:(0,n.jsx)(C.Z,{})})}catch(e){d("Failed to save settings")}};return u?(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:h,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)(T,{checked:r,onCheckedChange:a})]})]}),(0,n.jsx)(k.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"},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,59,985,330,744],function(){return e(e.s=87168)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-53458b15a9309aa0.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-53458b15a9309aa0.js
new file mode 100644
index 0000000..c5a7b71
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-53458b15a9309aa0.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,46142))},46142:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return m}});var n=r(20881),a=r(64149),s=r(94920),i=r(17533),o=r(35935),c=r(90270);let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(i.fC,{ref:t,className:(0,c.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)(i.z$,{className:(0,c.cn)("flex items-center justify-center text-current"),children:(0,n.jsx)(o.nQG,{className:"h-4 w-4"})})})});d.displayName=i.fC.displayName;var l=r(78580),u=r(46646),f=r(5501),p=r(98228);let h={lte:"lte_band",nsa:"nsa_nr5g_band",sa:"nr5g_band"};var m=()=>{let{toast:e}=(0,u.pm)(),[t,r]=(0,a.useState)({lte:[],nsa:[],sa:[]}),[i,o]=(0,a.useState)({lte:[],nsa:[],sa:[]}),[c,m]=(0,a.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,a;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===(a=e.split(",")[1])||void 0===a?void 0:a.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),o(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,a.useEffect)(()=>{(async()=>{await v(),await x()})()},[]);let y=(e,t)=>{o(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=i[t].join(":");await g('AT+QNWPREFCFG="'.concat(h[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=>{o(t=>({...t,[e]:[]}))},_=async r=>{try{let n=t[r].join(":");await g('AT+QNWPREFCFG="'.concat(h[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:a,bandType:o,prefix:u}=e;return(0,n.jsxs)(s.Zb,{children:[(0,n.jsxs)(s.Ol,{children:[(0,n.jsx)(s.ll,{children:r}),(0,n.jsx)(s.SZ,{children:a})]}),(0,n.jsx)(s.aY,{className:"grid lg:grid-cols-8 md:grid-cols-6 sm:grid-cols-4 grid-cols-3 grid-flow-row gap-4",children:c?(0,n.jsx)("div",{className:"col-span-8",children:"Fetching bands..."}):t[o].map(e=>(0,n.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,n.jsx)(d,{id:"".concat(o,"-").concat(e),checked:i[o].includes(e),onCheckedChange:()=>y(o,e)}),(0,n.jsxs)("label",{htmlFor:"".concat(o,"-").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)(s.eW,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-3",children:[(0,n.jsxs)(l.z,{onClick:()=>N(o),children:[(0,n.jsx)(f.Z,{className:"h-4 w-4"}),"Lock Selected Bands"]}),(0,n.jsx)(l.z,{variant:"secondary",onClick:()=>w(o),children:"Uncheck All"}),(0,n.jsxs)(l.z,{variant:"secondary",onClick:()=>_(o),children:[(0,n.jsx)(p.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),a=r(64149),s=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=a.forwardRef((e,t)=>{let{className:r,variant:a,size:i,asChild:d=!1,...l}=e,u=d?s.g7:"button";return(0,n.jsx)(u,{className:(0,o.cn)(c({variant:a,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),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 o=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})});o.displayName="CardHeader";let c=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})});c.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 l=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})});l.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"},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var n=r(64149);let a=0,s=new Map,i=e=>{if(s.has(e))return;let t=setTimeout(()=>{s.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);s.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=(a=(a+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 s}});var n=r(33958),a=r(61779);function s(){for(var e=arguments.length,t=Array(e),r=0;r{let[e,l]=(0,t.useState)(null),[r,i]=(0,t.useState)(!0),n=(0,t.useCallback)(async()=>{try{i(!0);let e=await fetch("/cgi-bin/fetch_data.sh?set=2"),r=await e.json();console.log("Fetched cell settings data:",r);let t={currentAPN:u(r[0].response,r[1].response),apnPDPType:h(r[0].response),preferredNetworkType:P(r[2].response),nr5gMode:v(r[3].response),simSlot:g(r[4].response)};l(t),console.log("Processed cell settings data:",t)}catch(e){console.error("Error fetching cell settings data:",e)}i(!1)},[]);return(0,t.useEffect)(()=>{n()},[n]),{data:e,isLoading:r,fetchCellSettingsData:n}};let u=(e,l)=>{var r,i;let t=null===(r=e.split("\n").find(e=>e.includes("+CGDCONT: 1")))||void 0===r?void 0:r.split(",")[2].replace(/"/g,"");if(void 0===t||""===t){let e=null===(i=l.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 l;let r=null===(l=e.split("\n").find(e=>e.includes("+CGDCONT: 1")))||void 0===l?void 0:l.split(",")[1].replace(/"/g,"");return void 0===r||""===r?"Error fetching PDP Type":r},P=e=>{var l;let r=null===(l=e.split("\n").find(e=>e.includes('+QNWPREFCFG: "mode_pref"')))||void 0===l?void 0:l.split(",")[1].replace(/"/g,"");return void 0===r||""===r?"Error fetching network type":r},v=e=>{var l;let r=null===(l=e.split("\n").find(e=>e.includes('+QNWPREFCFG: "nr5g_disable_mode"')))||void 0===l?void 0:l.split(",")[1].replace(/"/g,"");return void 0===r||""===r?"Error fetching NR5G mode":r},g=e=>{var l;let r=null===(l=e.split("\n").find(e=>e.includes("+QUIMSLOT:")))||void 0===l?void 0:l.split(":")[1].trim();return void 0===r||""===r?"Error fetching SIM slot":r};var y=r(47657),x=r(24052),m=r(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 T=()=>{let{toast:e}=(0,p.pm)(),{profiles:l,isLoading:r,updateAPNProfile:f,deleteAPNProfiles:u}=function(){let[e,l]=(0,t.useState)({}),[r,i]=(0,t.useState)(!0),n=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 r=await e.json();console.log("Fetched APN profiles data:",r),l(r)}catch(e){console.error("Error fetching APN profiles:",e)}finally{i(!1)}};(0,t.useEffect)(()=>{n()},[]);let s=async(r,i)=>{try{var t,n,s,o,a,c;let d=new URLSearchParams;"profile1"===r?(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===(n=e.profile1)||void 0===n?void 0:n.apn)||""),d.append("pdpType1",(null===(s=e.profile1)||void 0===s?void 0:s.pdpType)||"")),("profile2"===r||e.profile2)&&(d.append("iccidProfile2","profile2"===r?i.iccid:(null===(o=e.profile2)||void 0===o?void 0:o.iccid)||""),d.append("apnProfile2","profile2"===r?i.apn:(null===(a=e.profile2)||void 0===a?void 0:a.apn)||""),d.append("pdpType2","profile2"===r?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 l(e=>({...e,[r]:i})),!0;throw Error(f.message||"Failed to update profile")}catch(e){return console.error("Error updating ".concat(r,":"),e),!1}};return{profiles:e,isLoading:r,updateAPNProfile:s,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 r=await e.json();if("success"===r.status)return l({}),!0;throw Error(r.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,T]=(0,t.useState)(j);(0,t.useEffect)(()=>{if(l){var e,r,i,t,n,s;T({profile1:{apn:(null===(e=l.profile1)||void 0===e?void 0:e.apn)||"",pdpType:(null===(r=l.profile1)||void 0===r?void 0:r.pdpType)||"",iccid:(null===(i=l.profile1)||void 0===i?void 0:i.iccid)||""},profile2:{apn:(null===(t=l.profile2)||void 0===t?void 0:t.apn)||"",pdpType:(null===(n=l.profile2)||void 0===n?void 0:n.pdpType)||"",iccid:(null===(s=l.profile2)||void 0===s?void 0:s.iccid)||""}})}},[l]);let S=(e,l,r)=>{T(i=>({...i,[e]:{...i[e],[l]:r}}))},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 l=>{if(l.preventDefault(),A()){P(!0);try{let l=await f("profile1",N.profile1),r=!Object.values(N.profile2).some(e=>""!==e)||await f("profile2",N.profile2);if(l&&r)e({title:"Success",description:"APN profiles have been saved successfully"});else throw Error("Failed to save one or more profiles")}catch(l){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())T(j),e({title:"Success",description:"APN profiles have been deleted successfully"});else throw Error("Failed to delete profiles")}catch(l){e({variant:"destructive",title:"Error",description:"Failed to delete APN profiles. Please try again."})}finally{g(!1)}}},b=(e,l)=>(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(l),children:["APN Profile ",l]}),r?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsx)(a.I,{type:"text",id:"APNProfile".concat(l),placeholder:"APN for Profile ".concat(l),value:N[e].apn,onChange:l=>S(e,"apn",l.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(l),children:"APN PDP Type"}),r?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(s.Ph,{value:N[e].pdpType,onValueChange:l=>S(e,"pdpType",l),children:[(0,i.jsx)(s.i4,{id:"PDPType".concat(l),children:(0,i.jsx)(s.ki,{placeholder:"Select PDP Type"})}),(0,i.jsx)(s.Bw,{children:(0,i.jsxs)(s.DI,{children:[(0,i.jsx)(s.n5,{children:"PDP Type"}),w.map(e=>{let{value:l,label:r}=e;return(0,i.jsx)(s.Ql,{value:l,children:r},l)})]})})]})]}),(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(l),children:["ICCID Profile ",l]}),r?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsx)(a.I,{type:"text",id:"ICCIDProfile".concat(l),placeholder:"ICCID for Profile ".concat(l),value:N[e].iccid,onChange:l=>S(e,"iccid",l.target.value)})]})]});return(0,i.jsxs)(n.Zb,{children:[(0,i.jsxs)(n.Ol,{children:[(0,i.jsx)(n.ll,{children:"APN and ICCID Profiles"}),(0,i.jsx)(n.SZ,{children:"Configure APN profiles based on SIM card ICCID. Profile 1 is required."})]}),(0,i.jsx)(n.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)(n.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 Profiles"]})]})})]})})]})},S=()=>{var e,l,r;let 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)(()=>{if(h&&!x){let e={currentAPN:String(h.currentAPN||""),apnPDPType:String(h.apnPDPType||""),preferredNetworkType:String(h.preferredNetworkType||""),nr5gMode:String(h.nr5gMode||""),simSlot:String(h.simSlot||"")};j(e),m(!0),console.log("Initial data loaded:",e)}},[h,x]),(0,t.useEffect)(()=>{h||m(!1)},[h]);let w=e=>{let l=[];if(e.currentAPN||e.apnPDPType){let r=e.apnPDPType||N.apnPDPType,i=e.currentAPN||N.currentAPN;l.push('AT+CGDCONT=1,"'.concat(r,'","').concat(i,'"'))}if(e.preferredNetworkType){let r='+QNWPREFCFG="mode_pref",'.concat(e.preferredNetworkType);l.push(0===l.length?"AT".concat(r):r)}if(e.nr5gMode){let r='+QNWPREFCFG="nr5g_disable_mode",'.concat(e.nr5gMode);l.push(0===l.length?"AT".concat(r):r)}if(e.simSlot){let r="+QUIMSLOT=".concat(e.simSlot,";+COPS=2;+COPS=0");l.push(0===l.length?"AT".concat(r):r)}return l.join(";")},S=(e,l)=>{j(r=>({...r,[e]:l}))},A=async e=>{e.preventDefault(),y(!0);try{let e={};if(Object.keys(N).forEach(l=>{N[l]!==(null==h?void 0:h[l])&&(e[l]=N[l])}),0===Object.keys(e).length){u.toast({title:"No changes detected",description:"Try changing some settings before saving"});return}let l=w(e),r=encodeURIComponent(l);if(!(await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(r)})).ok)throw Error("Failed to save settings");await v(),m(!1),u.toast({title:"Settings saved!",description:"The settings have been saved successfully"})}catch(e){console.error("Error saving settings:",e),u.toast({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)(n.Zb,{children:(0,i.jsxs)("form",{onSubmit:A,children:[(0,i.jsxs)(n.Ol,{children:[(0,i.jsx)(n.ll,{children:"Network Settings"}),(0,i.jsx)(n.SZ,{children:"Change the network settings of the device."})]}),(0,i.jsx)(n.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=>S("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)(s.Ph,{value:N.apnPDPType,onValueChange:e=>S("apnPDPType",e),children:[(0,i.jsx)(s.i4,{children:(0,i.jsx)(s.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)(s.Bw,{children:(0,i.jsxs)(s.DI,{children:[(0,i.jsx)(s.n5,{children:"PDP Type"}),(0,i.jsx)(s.Ql,{value:"IPV4",children:"IPv4 Only"}),(0,i.jsx)(s.Ql,{value:"IPV6",children:"IPv6 Only"}),(0,i.jsx)(s.Ql,{value:"IPV4V6",children:"IPv4 and IPv6"}),(0,i.jsx)(s.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)(s.Ph,{value:N.preferredNetworkType,onValueChange:e=>S("preferredNetworkType",e),children:[(0,i.jsx)(s.i4,{children:(0,i.jsx)(s.ki,{children:N.preferredNetworkType?({AUTO:"Automatic",LTE:"LTE Only","LTE:NR5G":"NR5G-NSA",NR5G:"NR5G-SA"})[l=N.preferredNetworkType]||l:"Select Network Type"})}),(0,i.jsx)(s.Bw,{children:(0,i.jsxs)(s.DI,{children:[(0,i.jsx)(s.n5,{children:"Preferred Network Type"}),(0,i.jsx)(s.Ql,{value:"AUTO",children:"Automatic"}),(0,i.jsx)(s.Ql,{value:"LTE",children:"LTE Only"}),(0,i.jsx)(s.Ql,{value:"LTE:NR5G",children:"NR5G-NSA"}),(0,i.jsx)(s.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)(s.Ph,{value:N.nr5gMode,onValueChange:e=>S("nr5gMode",e),children:[(0,i.jsx)(s.i4,{children:(0,i.jsx)(s.ki,{children:N.nr5gMode?({0:"NR5G-SA and NSA Enabled",1:"NR5G-NSA Only",2:"NR5G-SA Only"})[r=N.nr5gMode]||r:"Select NR5G Mode"})}),(0,i.jsx)(s.Bw,{children:(0,i.jsxs)(s.DI,{children:[(0,i.jsx)(s.n5,{children:"NR5G Mode"}),(0,i.jsx)(s.Ql,{value:"0",children:"NR5G-SA and NSA Enabled"}),(0,i.jsx)(s.Ql,{value:"1",children:"NR5G-NSA Only"}),(0,i.jsx)(s.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)(s.Ph,{value:N.simSlot,onValueChange:e=>S("simSlot",e),children:[(0,i.jsx)(s.i4,{children:(0,i.jsx)(s.ki,{children:N.simSlot?"U-SIM Slot ".concat(N.simSlot):"Select U-SIM Slot"})}),(0,i.jsx)(s.Bw,{children:(0,i.jsxs)(s.DI,{children:[(0,i.jsx)(s.n5,{children:"U-SIM Slot"}),(0,i.jsx)(s.Ql,{value:"1",children:"U-SIM Slot 1"}),(0,i.jsx)(s.Ql,{value:"2",children:"U-SIM Slot 2"})]})})]},"sim-slot-".concat(N.simSlot))]})]})}),(0,i.jsx)(n.eW,{className:"grid border-t py-4",children:(0,i.jsx)(o.z,{type:"submit",disabled:g,children:g?"Saving...":"Save"})})]})}),(0,i.jsx)(T,{})]})}},88766:function(e,l,r){"use strict";r.d(l,{O:function(){return n}});var i=r(20881),t=r(90270);function n(e){let{className:l,...r}=e;return(0,i.jsx)("div",{className:(0,t.cn)("animate-pulse rounded-md bg-primary/10",l),...r})}},36306:function(e,l,r){"use strict";r.d(l,{Z:function(){return i}});let i=(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"}]])}},function(e){e.O(0,[792,59,155,726,948,72,247,985,330,744],function(){return e(e.s=51437)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-ebfae5f99045efc9.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-ebfae5f99045efc9.js
new file mode 100644
index 0000000..70235fe
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-ebfae5f99045efc9.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81],{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(console.log("Current LTE lock status:",e),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,59,155,726,948,72,247,985,330,744],function(){return e(e.s=63542)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-f1d8068b2d36c244.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-f1d8068b2d36c244.js
new file mode 100644
index 0000000..e6e2401
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-f1d8068b2d36c244.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[385],{36364:function(e,t,r){Promise.resolve().then(r.bind(r,7372))},7372:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return v}});var i=r(20881),n=r(64149),o=r(94920);let a=(0,r(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"}]]);var l=r(36306),s=r(78580),d=r(33335),c=r(21501),u=r(88766),f=r(46646),p=r(47657);let m={imei:"",iccid:""},h={profile1:{...m},profile2:{...m}};var v=()=>{let[e,t]=(0,n.useState)(!0),[r,m]=(0,n.useState)(!1),[v,g]=(0,n.useState)(!1),[I,x]=(0,n.useState)(""),[y,w]=(0,n.useState)(""),[b,j]=(0,n.useState)(h),{profiles:E,profileLoading:N,updateIMEIProfile:C,deleteIMEIProfiles:M}=function(){let[e,t]=(0,n.useState)({}),[r,i]=(0,n.useState)(!0),o=async()=>{try{i(!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 r=await e.json();console.log("Fetched IMEI profiles data:",r),t(r)}catch(e){console.error("Error fetching IMEI profiles:",e)}finally{i(!1)}};(0,n.useEffect)(()=>{o()},[]);let a=async(r,i)=>{try{var n,o,a,l;let s=new URLSearchParams;"profile1"===r?(s.append("iccidProfile1",i.iccid),s.append("imeiProfile1",i.imei)):(s.append("iccidProfile1",(null===(n=e.profile1)||void 0===n?void 0:n.iccid)||""),s.append("imeiProfile1",(null===(o=e.profile1)||void 0===o?void 0:o.imei)||"")),("profile2"===r||e.profile2)&&(s.append("iccidProfile2","profile2"===r?i.iccid:(null===(a=e.profile2)||void 0===a?void 0:a.iccid)||""),s.append("imeiProfile2","profile2"===r?i.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:s.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,[r]:i})),!0;throw Error(c.message||"Failed to update profile")}catch(e){return console.error("Error updating ".concat(r,":"),e),!1}};return{profiles:e,profileLoading:r,updateIMEIProfile:a,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 r=await e.json();if("success"===r.status)return t({}),!0;throw Error(r.message||"Failed to delete profiles")}catch(e){return console.error("Error deleting IMEI profiles:",e),!1}}}}(),{toast:S}=(0,f.pm)(),T=(0,n.useCallback)(async()=>{try{t(!0);let e=encodeURIComponent("AT+CGSN"),r=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(e)}),i=(await r.text()).match(/\d{15}/),n=i?i[0]:null;if(n)x(n),w(n);else throw Error("IMEI not found in response")}catch(e){S({title:"Failed to fetch IMEI",description:"Failed to fetch IMEI from the device",variant:"destructive"}),console.error(e)}finally{t(!1)}},[]);(0,n.useEffect)(()=>{if(T(),E){var e,t,r,i;j({profile1:{imei:(null===(e=E.profile1)||void 0===e?void 0:e.imei)||"",iccid:(null===(t=E.profile1)||void 0===t?void 0:t.iccid)||""},profile2:{imei:(null===(r=E.profile2)||void 0===r?void 0:r.imei)||"",iccid:(null===(i=E.profile2)||void 0===i?void 0:i.iccid)||""}})}},[T,E]);let P=async e=>{if(e.preventDefault(),t(!0),15!==y.length||isNaN(Number(y))){S({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(y,';+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){S({title:"Failed to update IMEI",description:"Failed to update IMEI on the device",variant:"destructive"}),console.error(e)}finally{t(!1)}},O=()=>{if(!b.profile1.imei||!b.profile1.iccid)return S({variant:"destructive",title:"Invalid Profile 1",description:"Both IMEI and ICCID are required for Profile 1"}),!1;if(!/^\d{15}$/.test(b.profile1.imei))return S({variant:"destructive",title:"Invalid IMEI in Profile 1",description:"IMEI must be exactly 15 digits"}),!1;if(Object.values(b.profile2).some(e=>""!==e)){if(!b.profile2.imei||!b.profile2.iccid)return S({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(b.profile2.imei))return S({variant:"destructive",title:"Invalid IMEI in Profile 2",description:"IMEI must be exactly 15 digits"}),!1}return!0},k=async e=>{if(e.preventDefault(),O()){m(!0);try{let e=await C("profile1",b.profile1),t=!Object.values(b.profile2).some(e=>""!==e)||await C("profile2",b.profile2);if(e&&t)S({title:"Success",description:"IMEI profiles have been saved successfully"});else throw Error("Failed to save one or more profiles")}catch(e){S({variant:"destructive",title:"Error",description:"Failed to save IMEI profiles. Please try again."})}finally{m(!1)}}},A=async()=>{if(confirm("Are you sure you want to delete all IMEI profiles?")){g(!0);try{if(await M())j(h),S({title:"Success",description:"IMEI profiles have been deleted successfully"});else throw Error("Failed to delete profiles")}catch(e){S({variant:"destructive",title:"Error",description:"Failed to delete IMEI profiles. Please try again."})}finally{g(!1)}}},D=(e,t,r)=>{j(i=>({...i,[e]:{...i[e],[t]:r}}))};return(0,i.jsxs)("div",{className:"grid gap-8",children:[(0,i.jsx)(o.Zb,{children:(0,i.jsxs)("form",{onSubmit:P,children:[(0,i.jsxs)(o.Ol,{children:[(0,i.jsx)(o.ll,{children:"IMEI Mangling"}),(0,i.jsxs)(o.SZ,{className:"flex items-center justify-between",children:["Change the IMEI of the device.",(0,i.jsxs)("div",{className:"flex items-center text-orange-500",children:[(0,i.jsx)(a,{className:"size-4 mr-1"}),"Do at your own risk!"]})]})]}),(0,i.jsx)(o.aY,{children:(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"IMEI",children:"Change Current IMEI"}),e?(0,i.jsx)(u.O,{className:"h-8"}):(0,i.jsxs)("div",{className:"grid gap-1.5",children:[(0,i.jsx)(d.I,{type:"text",id:"IMEI",value:y,onChange:e=>w(e.target.value),placeholder:I}),(0,i.jsx)("p",{className:"text-xs text-muted-foreground font-medium",children:"This will reboot the device."})]})]})}),(0,i.jsx)(o.eW,{className:"grid border-t py-4",children:(0,i.jsx)(s.z,{type:"submit",className:"w-full",disabled:e||y===I,children:e?"Processing...":"Change IMEI"})})]})}),(0,i.jsxs)(o.Zb,{children:[(0,i.jsxs)(o.Ol,{children:[(0,i.jsx)(o.ll,{children:"ICCID Based IMEI Mangling"}),(0,i.jsxs)(o.SZ,{className:"flex items-center justify-between",children:["Change the IMEI of the device based on the ICCID.",(0,i.jsxs)("div",{className:"flex items-center text-orange-500",children:[(0,i.jsx)(a,{className:"size-4 mr-1"}),"Do at your own risk!"]})]})]}),(0,i.jsxs)("form",{onSubmit:k,children:[(0,i.jsx)(o.aY,{children:(0,i.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"IMEI-prof1",children:"IMEI for Profile 1"}),e?(0,i.jsx)(u.O,{className:"h-8"}):(0,i.jsx)(d.I,{type:"text",id:"IMEI-prof1",placeholder:"IMEI for Profile 1",value:b.profile1.imei,onChange:e=>D("profile1","imei",e.target.value)})]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"ICCID-prof1",children:"ICCID for Profile 1"}),e?(0,i.jsx)(u.O,{className:"h-8"}):(0,i.jsx)(d.I,{type:"text",id:"ICCID-prof1",placeholder:"ICCID for Profile 1",value:b.profile1.iccid,onChange:e=>D("profile1","iccid",e.target.value)})]}),(0,i.jsx)(p.Z,{className:"col-span-full my-2"}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"IMEI-prof2",children:"IMEI for Profile 2"}),e?(0,i.jsx)(u.O,{className:"h-8"}):(0,i.jsx)(d.I,{type:"text",id:"IMEI-prof2",placeholder:"IMEI for Profile 2",value:b.profile2.imei,onChange:e=>D("profile2","imei",e.target.value)})]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"ICCID-prof2",children:"ICCID for Profile 2"}),e?(0,i.jsx)(u.O,{className:"h-8"}):(0,i.jsx)(d.I,{type:"text",id:"ICCID-prof2",placeholder:"ICCID for Profile 2",value:b.profile2.iccid,onChange:e=>D("profile2","iccid",e.target.value)})]})]})}),(0,i.jsxs)(o.eW,{className:"grid grid-cols-2 grid-flow-row gap-6 border-t py-4",children:[(0,i.jsx)(s.z,{type:"submit",className:"w-full",disabled:e||r,children:r?"Saving...":"Save IMEI Profiles"}),(0,i.jsxs)(s.z,{type:"button",variant:"secondary",className:"w-full",onClick:A,disabled:e||v,children:[(0,i.jsx)(l.Z,{className:"h-4 w-4"}),v?"Deleting...":"Delete All Profiles"]})]})]})]})]})}},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return s},z:function(){return d}});var i=r(20881),n=r(64149),o=r(54098),a=r(20116),l=r(90270);let s=(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=n.forwardRef((e,t)=>{let{className:r,variant:n,size:a,asChild:d=!1,...c}=e,u=d?o.g7:"button";return(0,i.jsx)(u,{className:(0,l.cn)(s({variant:n,size:a,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 a},aY:function(){return c},eW:function(){return u},ll:function(){return s}});var i=r(20881),n=r(64149),o=r(90270);let a=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,i.jsx)("div",{ref:t,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});a.displayName="Card";let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,i.jsx)("div",{ref:t,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",r),...n})});l.displayName="CardHeader";let s=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,i.jsx)("h3",{ref:t,className:(0,o.cn)("font-semibold leading-none tracking-tight",r),...n})});s.displayName="CardTitle";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,i.jsx)("p",{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",r),...n})});d.displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,i.jsx)("div",{ref:t,className:(0,o.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,i.jsx)("div",{ref:t,className:(0,o.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 a}});var i=r(20881),n=r(64149),o=r(90270);let a=n.forwardRef((e,t)=>{let{className:r,type:n,...a}=e;return(0,i.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,...a})});a.displayName="Input"},21501:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var i=r(20881),n=r(64149),o=r(51212),a=r(20116),l=r(90270);let s=(0,a.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,i.jsx)(o.f,{ref:t,className:(0,l.cn)(s(),r),...n})});d.displayName=o.f.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var i=r(20881),n=r(64149),o=r(48897),a=r(90270);let l=n.forwardRef((e,t)=>{let{className:r,orientation:n="horizontal",decorative:l=!0,...s}=e;return(0,i.jsx)(o.f,{ref:t,decorative:l,orientation:n,className:(0,a.cn)("shrink-0 bg-border","horizontal"===n?"h-[1px] w-full":"h-full w-[1px]",r),...s})});l.displayName=o.f.displayName},88766:function(e,t,r){"use strict";r.d(t,{O:function(){return o}});var i=r(20881),n=r(90270);function o(e){let{className:t,...r}=e;return(0,i.jsx)("div",{className:(0,n.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 i=r(64149);let n=0,o=new Map,a=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.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?a(r):e.toasts.forEach(e=>{a(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)}}},s=[],d={toasts:[]};function c(e){d=l(d,e),s.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),i=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||i()}}}),{id:r,dismiss:i,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=i.useState(d);return i.useEffect(()=>(s.push(t),()=>{let e=s.indexOf(t);e>-1&&s.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 o}});var i=r(33958),n=r(61779);function o(){for(var e=arguments.length,t=Array(e),r=0;re.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var a={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,i.forwardRef)((e,t)=>{let{color:r="currentColor",size:n=24,strokeWidth:l=2,absoluteStrokeWidth:s,className:d="",children:c,iconNode:u,...f}=e;return(0,i.createElement)("svg",{ref:t,...a,width:n,height:n,stroke:r,strokeWidth:s?24*Number(l)/Number(n):l,className:o("lucide",d),...f},[...u.map(e=>{let[t,r]=e;return(0,i.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),s=(e,t)=>{let r=(0,i.forwardRef)((r,a)=>{let{className:s,...d}=r;return(0,i.createElement)(l,{ref:a,iconNode:t,className:o("lucide-".concat(n(e)),s),...d})});return r.displayName="".concat(e),r}},36306:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});let i=(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 i=r(64149),n=r(79442),o=r(20881),a=i.forwardRef((e,t)=>(0,o.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())}}));a.displayName="Label";var l=a},79442:function(e,t,r){"use strict";r.d(t,{WV:function(){return l},jH:function(){return s}});var i=r(64149),n=r(50149),o=r(54098),a=r(20881),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=i.forwardRef((e,r)=>{let{asChild:i,...n}=e,l=i?o.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(l,{...n,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function s(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}},48897:function(e,t,r){"use strict";r.d(t,{f:function(){return d}});var i=r(64149),n=r(79442),o=r(20881),a="horizontal",l=["horizontal","vertical"],s=i.forwardRef((e,t)=>{let{decorative:r,orientation:i=a,...s}=e,d=l.includes(i)?i:a;return(0,o.jsx)(n.WV.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...s,ref:t})});s.displayName="Separator";var d=s},20116:function(e,t,r){"use strict";r.d(t,{j:function(){return o}});let i=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,t,r=0,i="";rr=>{var o;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:l}=t,s=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==l?void 0:l[e];if(null===t)return null;let o=i(t)||i(n);return a[e][o]}),d=r&&Object.entries(r).reduce((e,t)=>{let[r,i]=t;return void 0===i||(e[r]=i),e},{});return n(e,s,null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:r,className:i,...n}=t;return Object.entries(n).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...d}[t]):({...l,...d})[t]===r})?[...e,r,i]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},function(e){e.O(0,[59,985,330,744],function(){return e(e.s=36364)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/layout-9a679d0205b9147a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/layout-9a679d0205b9147a.js
new file mode 100644
index 0000000..577cf8f
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/layout-9a679d0205b9147a.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[159],{37946:function(e,s,t){Promise.resolve().then(t.bind(t,78700))},78700:function(e,s,t){"use strict";t.r(s);var a=t(20881);t(64149);var n=t(27525),l=t(26509);s.default=e=>{let{children:s}=e,t=(0,n.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)(l.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)(l.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)(l.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)(l.default,{href:"/dashboard/cell-settings/imei-mangling",className:"".concat("/dashboard/cell-settings/imei-mangling/"===t?"font-semibold text-primary":"text-sm"),children:"IMEI Mangling"})]}),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,[509,985,330,744],function(){return e(e.s=37946)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/page-00b29d19c1e10c77.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/page-00b29d19c1e10c77.js
new file mode 100644
index 0000000..35c3dab
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/page-00b29d19c1e10c77.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[387],{43682:function(){}},function(n){n.O(0,[985,330,744],function(){return n(n.s=43682)}),_N_E=n.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-3715013b85b80f6d.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-3715013b85b80f6d.js
new file mode 100644
index 0000000..c7e6e5d
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-3715013b85b80f6d.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[883],{4591:function(e,s,l){Promise.resolve().then(l.bind(l,52233))},52233:function(e,s,l){"use strict";l.r(s),l.d(s,{default:function(){return ej}});var t=l(20881),n=l(64149),i=l(94920),r=l(88766),a=l(20116),d=l(90270);let c=(0,a.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 o(e){let{className:s,variant:l,...n}=e;return(0,t.jsx)("div",{className:(0,d.cn)(c({variant:l}),s),...n})}var p=e=>{let{data:s,isLoading:l}=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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.O,{className:"h-4 w-[100px]"}):(0,t.jsx)(o,{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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.O,{className:"h-4 w-[140px]"}):(0,t.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imei})]})]})]})};let x={6:"1.4 MHz",15:"3 MHz",25:"5 MHz",50:"10 MHz",75:"15 MHz",100:"20 MHz"},m={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"},u={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"},h=e=>u[e]||"Unknown";var f=e=>{let{data:s,isLoading:l,dataConnectionState:n,connectionStateLoading:a}=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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.O,{className:"h-4 w-[100px]"}):(0,t.jsx)(o,{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"}),l?(0,t.jsx)(r.O,{className:"h-4 w-[100px]"}):(0,t.jsx)(o,{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"}),a?(0,t.jsx)(r.O,{className:"h-4 w-[100px]"}):(0,t.jsx)(o,{className:"font-bold ".concat("Connected"===n?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:n})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,t.jsx)("div",{children:"Network Type"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.O,{className:"h-4 w-[100px]"}):(0,t.jsx)("div",{className:"font-bold",children:(null==s?void 0:s.connection.accessTechnology)?h(s.connection.accessTechnology):"Unknown"})]})]})]})},j=e=>{let{data:s,isLoading:l,bytesSent:n,bytesReceived:a}=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"}),l?(0,t.jsx)(r.O,{className:"h-4 w-[100px]"}):(0,t.jsx)(o,{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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.O,{className:"h-4 w-[100px]"}):(0,t.jsx)(o,{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":"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"}),l?(0,t.jsx)(r.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:n})]}),(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:a})]})]})]})},g=e=>{let{data:s,isLoading:l}=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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.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"}),l?(0,t.jsx)(r.O,{className:"h-4 w-[80px]"}):(0,t.jsx)(o,{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})]})]})]})},N=l(78580),v=l(14491),b=l(35935);let w=v.fC,y=v.xz,C=v.h_;v.x8;let S=n.forwardRef((e,s)=>{let{className:l,...n}=e;return(0,t.jsx)(v.aV,{ref:s,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",l),...n})});S.displayName=v.aV.displayName;let R=n.forwardRef((e,s)=>{let{className:l,children:n,...i}=e;return(0,t.jsxs)(C,{children:[(0,t.jsx)(S,{}),(0,t.jsxs)(v.VY,{ref:s,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",l),...i,children:[n,(0,t.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-accent data-[state=open]:text-muted-foreground",children:[(0,t.jsx)(b.Pxu,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});R.displayName=v.VY.displayName;let A=e=>{let{className:s,...l}=e;return(0,t.jsx)("div",{className:(0,d.cn)("flex flex-col space-y-1.5 text-center sm:text-left",s),...l})};A.displayName="DialogHeader";let I=n.forwardRef((e,s)=>{let{className:l,...n}=e;return(0,t.jsx)(v.Dx,{ref:s,className:(0,d.cn)("text-lg font-semibold leading-none tracking-tight",l),...n})});I.displayName=v.Dx.displayName;let k=n.forwardRef((e,s)=>{let{className:l,...n}=e;return(0,t.jsx)(v.dk,{ref:s,className:(0,d.cn)("text-sm text-muted-foreground",l),...n})});k.displayName=v.dk.displayName;var T=l(7357),E=l(7694),B=l(83765),D=l(7410),G=l(55215),z=l.n(G),M=l(25696);let O=n.createContext(null);function L(){let e=n.useContext(O);if(!e)throw Error("useCarousel must be used within a ");return e}let U=n.forwardRef((e,s)=>{let{orientation:l="horizontal",opts:i,setApi:r,plugins:a,className:c,children:o,...p}=e,[x,m]=(0,M.Z)({...i,axis:"horizontal"===l?"x":"y"},a),[u,h]=n.useState(!1),[f,j]=n.useState(!1),g=n.useCallback(e=>{e&&(h(e.canScrollPrev()),j(e.canScrollNext()))},[]),N=n.useCallback(()=>{null==m||m.scrollPrev()},[m]),v=n.useCallback(()=>{null==m||m.scrollNext()},[m]),b=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),N()):"ArrowRight"===e.key&&(e.preventDefault(),v())},[N,v]);return n.useEffect(()=>{m&&r&&r(m)},[m,r]),n.useEffect(()=>{if(m)return g(m),m.on("reInit",g),m.on("select",g),()=>{null==m||m.off("select",g)}},[m,g]),(0,t.jsx)(O.Provider,{value:{carouselRef:x,api:m,opts:i,orientation:l||((null==i?void 0:i.axis)==="y"?"vertical":"horizontal"),scrollPrev:N,scrollNext:v,canScrollPrev:u,canScrollNext:f},children:(0,t.jsx)("div",{ref:s,onKeyDownCapture:b,className:(0,d.cn)("relative",c),role:"region","aria-roledescription":"carousel",...p,children:o})})});U.displayName="Carousel";let P=n.forwardRef((e,s)=>{let{className:l,...n}=e,{carouselRef:i,orientation:r}=L();return(0,t.jsx)("div",{ref:i,className:"overflow-hidden",children:(0,t.jsx)("div",{ref:s,className:(0,d.cn)("flex","horizontal"===r?"-ml-4":"-mt-4 flex-col",l),...n})})});P.displayName="CarouselContent";let Z=n.forwardRef((e,s)=>{let{className:l,...n}=e,{orientation:i}=L();return(0,t.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,d.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===i?"pl-4":"pt-4",l),...n})});Z.displayName="CarouselItem";let H=n.forwardRef((e,s)=>{let{className:l,variant:n="outline",size:i="icon",...r}=e,{orientation:a,scrollPrev:c,canScrollPrev:o}=L();return(0,t.jsxs)(N.z,{ref:s,variant:n,size:i,className:(0,d.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",l),disabled:!o,onClick:c,...r,children:[(0,t.jsx)(b.Y4O,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});H.displayName="CarouselPrevious";let _=n.forwardRef((e,s)=>{let{className:l,variant:n="outline",size:i="icon",...r}=e,{orientation:a,scrollNext:c,canScrollNext:o}=L();return(0,t.jsxs)(N.z,{ref:s,variant:n,size:i,className:(0,d.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",l),disabled:!o,onClick:c,...r,children:[(0,t.jsx)(b.LZ3,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})});_.displayName="CarouselNext";var Q=e=>{let{id:s,bandNumber:l,earfcn:n,bandwidth:r,pci:a,rsrp:d,rsrq:c,sinr:p}=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:[l.replace("LTE BAND ","B").replace("NR5G BAND ","N"),l.includes("NR5G")&&(0,t.jsx)(o,{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:n})]}),(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)(o,{className:parseInt(d)>=-80?"bg-emerald-500 hover:bg-emerald-800":parseInt(d)>=-100?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[d," dBm"]})]}),(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("p",{className:"text-sm font-bold",children:"RSRQ"}),(0,t.jsxs)(o,{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)(o,{className:parseInt(p)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(p)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[p," dB"]})]})]})})},Y=e=>{let{bands:s,isLoading:l}=e;return l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)(i.Zb,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,t.jsx)(Q,{...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)("div",{className:"flex items-center justify-center mx-auto lg:hidden",children:(0,t.jsxs)(U,{className:"w-full max-w-xs",children:[(0,t.jsx)(P,{children:(0,t.jsx)(Z,{children:(0,t.jsx)("div",{className:"p-0.5",children:(0,t.jsx)(i.Zb,{children:(0,t.jsxs)(i.aY,{className:"grid gap-2 p-2",children:[(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("p",{children:"Band"}),(0,t.jsx)("div",{children:(0,t.jsx)(r.O,{className:"w-16 h-4"})})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("p",{children:"E/ARFCN"}),(0,t.jsx)("div",{children:(0,t.jsx)(r.O,{className:"w-16 h-4"})})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("p",{children:"Bandwidth"}),(0,t.jsx)("div",{children:(0,t.jsx)(r.O,{className:"w-16 h-4"})})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("p",{children:"PCI"}),(0,t.jsx)("div",{children:(0,t.jsx)(r.O,{className:"w-16 h-4"})})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("p",{children:"RSRP"}),(0,t.jsx)("div",{children:(0,t.jsx)(r.O,{className:"w-32 h-4"})})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("p",{children:"RSRQ"}),(0,t.jsx)("div",{children:(0,t.jsx)(r.O,{className:"w-32 h-4"})})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("p",{children:"SINR"}),(0,t.jsx)("div",{children:(0,t.jsx)(r.O,{className:"w-32 h-4"})})]})]})})})})}),(0,t.jsx)(H,{}),(0,t.jsx)(_,{})]})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)(i.Zb,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,t.jsx)(Q,{...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.jsx)("div",{className:"flex items-center justify-center mx-auto lg:hidden",children:(0,t.jsxs)(U,{className:"w-full max-w-xs",children:[(0,t.jsx)(P,{children:null==s?void 0:s.map(e=>(0,t.jsx)(Z,{children:(0,t.jsx)("div",{className:"p-0.5",children:(0,t.jsx)(i.Zb,{children:(0,t.jsxs)(i.aY,{className:"grid gap-2 p-6 aspect-square",children:[(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("p",{children:"Band"}),(0,t.jsx)("p",{children:e.bandNumber})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("p",{children:"E/ARFCN"}),(0,t.jsx)("p",{children:e.earfcn})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("p",{children:"Bandwidth"}),(0,t.jsx)("p",{children:e.bandwidth})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("p",{children:"PCI"}),(0,t.jsx)("p",{children:e.pci})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("p",{children:"RSRP"}),(0,t.jsxs)(o,{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",children:[(0,t.jsx)("p",{children:"RSRQ"}),(0,t.jsxs)(o,{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",children:[(0,t.jsx)("p",{children:"SINR"}),(0,t.jsxs)(o,{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)(H,{}),(0,t.jsx)(_,{})]})})]})};let F=(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"}},q=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g),l=null==s?void 0:s.some(e=>e.includes("LTE")),t=null==s?void 0:s.some(e=>e.includes("NR5G"));return l&&t?"NR5G-NSA":l?"LTE":t?"NR5G-SA":"No Signal"},V=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())),l=s.reduce((e,s)=>e+s,0)/s.length;return"".concat(Math.round(l),"\xb0C")},W=(e,s)=>{let l=e.split("\n").find(e=>e.includes("PCC"));l=null==l?void 0:l.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 n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));if(n=n.map(e=>e.split(":")[1].split(",")[2].trim()),"LTE"===s)return!t.length&&l?x[l]||"Unknown":[l?x[l]:"",...t.map(e=>x[e])].join(", ");if("NR5G-SA"===s&&l)return n.length?[m[l],...n.map(e=>m[e])].join(", "):m[l]||"Unknown";if("NR5G-NSA"===s&&l)return t.length||n.length?t.length&&!n.length?[x[l],...t.map(e=>x[e])].join(", "):[x[l],...t.map(e=>x[e]),...n.map(e=>m[e])].join(", "):x[l]||"Unknown"},K=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"},J=e=>{var s,l,t;let n=e.split("\n").find(e=>e.includes("LTE")),i=e.split("\n").find(e=>e.includes("NR5G"));if(n){let e=null===(s=n.match(/\d+/g))||void 0===s?void 0:s.map(e=>parseInt(e)).filter(e=>-32768!==e);if(i){let s=null===(l=i.match(/\d+/g))||void 0===l?void 0:l.map(e=>parseInt(e)).filter(e=>-32768!==e);if(s&&s.length>1&&(s.pop(),e)){let l=[...e,...s],t=l.reduce((e,s)=>e+s,0)/l.length;return"".concat(Math.round((-t- -140)/65*100),"%")}}if(e){let s=e.reduce((e,s)=>e+s,0)/e.length;return"".concat(Math.round((-s- -140)/65*100),"%")}}else{if(!i||n)return"Unknown%";let e=null===(t=i.match(/\d+/g))||void 0===t?void 0:t.map(e=>parseInt(e)).filter(e=>-32768!==e);if(e&&e.length>1){e.pop();let s=e.reduce((e,s)=>e+s,0)/e.length;return"".concat(Math.round((-s- -140)/65*100),"%")}}},X=(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",$=(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",ee=(e,s)=>{if("LTE"===s||"NR5G-NSA"===s){let l=e.split("\n").find(e=>e.includes("PCC"));l=null==l?void 0:l.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 n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(n=n.map(e=>e.split(":")[1].split(",")[4].trim()),t.length||n.length)?"LTE"===s?[l,...t].join(", "):[l,...t,...n].join(", "):l}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 l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(l=l.map(e=>e.split(":")[5].split(",")[6].trim())).length?[s,...l].join(", "):s}},es=e=>{let s=e.split("\n").find(e=>e.includes("PCC"));s=null==s?void 0:s.split(":")[1].split(",")[1].trim();let l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));l=l.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||l.length||t.length)?s&&l.length&&!t.length?[s,...l].join(", "):s&&!l.length&&t.length?[s,...t].join(", "):s&&l.length&&t.length?[s,...l,...t].join(", "):"Unknown":s},el=(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():void 0,et=(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,en=e=>{var s,l,t;let n=e.split("\n").find(e=>e.includes("LTE")),i=e.split("\n").find(e=>e.includes("NR5G"));if(n){let e=null===(s=n.match(/\d+/g))||void 0===s?void 0:s.map(e=>parseInt(e)).filter(e=>-32768!==e);if(i){let s=null===(l=i.match(/\d+/g))||void 0===l?void 0:l.map(e=>parseInt(e)).filter(e=>-32768!==e);if(s&&s.length>1&&(s.pop(),e)){let l=[...e,...s],t=l.reduce((e,s)=>e+s,0)/l.length;return"".concat(Math.round(t/40*100),"%")}}if(e){let s=e.reduce((e,s)=>e+s,0)/e.length;return"".concat(Math.round(s/40*100),"%")}}else{if(!i||n)return"Unknown%";let e=null===(t=i.match(/\d+/g))||void 0===t?void 0:t.map(e=>parseInt(e)).filter(e=>-32768!==e);if(e&&e.length>1){e.pop();let s=e.reduce((e,s)=>e+s,0)/e.length;return"".concat(Math.round(s/40*100),"%")}}},ei=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),l=e.split("\n").filter(e=>e.includes("NR5G BAND"));return s.length&&l.length?[...s,...l].map(e=>e.split(":")[1].split(",")[3].replace(/"/g,"")):s.length?s.map(e=>e.split(":")[1].split(",")[3].replace(/"/g,"")):l.length?l.map(e=>e.split(":")[1].split(",")[3].replace(/"/g,"")):["Unknown"]},er=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),l=e.split("\n").filter(e=>e.includes("NR5G BAND"));return s.length&&l.length?[...s,...l].map(e=>e.split(":")[1].split(",")[1]):s.length?s.map(e=>e.split(":")[1].split(",")[1]):l.length?l.map(e=>e.split(":")[1].split(",")[1]):["Unknown"]},ea=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),l=e.split("\n").filter(e=>e.includes("NR5G BAND")),t=s.map(e=>x[e.split(":")[1].split(",")[2]]),n=l.map(e=>m[e.split(":")[1].split(",")[2]]);return t.length&&n.length?[...t,...n]:t.length?t:n.length?n:["Unknown"]},ed=(e,s)=>{if("LTE"===s||"NR5G-SA"===s)return e.split("\n").filter(e=>e.includes("BAND")).map(e=>e.split(":")[1].split(",")[5]);if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")),l=e.split("\n").filter(e=>e.includes("NR5G BAND"));return[...s.map(e=>e.split(":")[1].split(",")[5]),...l.map(e=>e.split(":")[1].split(",")[4])]}},ec=(e,s,l)=>{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=l.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=l.split("\n").find(e=>e.includes("NR5G-SA"));if(e)return[e.split(":")[1].split(",")[12]]}return["Unknown"]},eo=(e,s,l)=>{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=l.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=l.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"]},ep=(e,s,l)=>{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=l.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=l.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"]};var ex=()=>{let[e,s]=(0,n.useState)(null),[l,t]=(0,n.useState)(6e4),[i,r]=(0,n.useState)(!0),a=async()=>{try{let e=await fetch("/cgi-bin/settings/fetch-config.sh"),s=await e.json(),l=Math.max(1e3,parseInt(s.data_refresh_rate));t(l)}catch(e){console.error("Error fetching refresh rate:",e)}},d=(0,n.useCallback)(async()=>{try{var e,l,t,n;r(!0);let i=await fetch("/cgi-bin/fetch_data.sh?set=1"),d=await i.json();console.log(d),await a();let c={simCard:{slot:d[0].response.split("\n")[1].split(":")[1].trim()||"Unknown",state:d[6].response.match("READY")?"Inserted":"Not Inserted",provider:d[2].response.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()||"Unknown",phoneNumber:d[1].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim()||"Unknown",imsi:d[3].response.split("\n")[1].trim()||"Unknown",iccid:d[4].response.split("\n")[1].split(":")[1].trim()||"Unknown",imei:d[5].response.split("\n")[1].trim()||"Unknown"},connection:{apn:d[7].response.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()||d[12].response.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()||"Unknown",operatorState:F(d[8].response,d[16].response),functionalityState:"1"===d[9].response.split("\n")[1].split(":")[1].trim()?"Enabled":"Disabled",networkType:q(d[13].response),modemTemperature:V(d[11].response),accessTechnology:d[2].response.split("\n")[1].split(":")[1].split(",")[3].trim()},dataTransmission:{carrierAggregation:(null===(e=d[13].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g))||void 0===e?void 0:e.length)>1?"Multi":"Inactive",bandwidth:W(d[13].response,q(d[13].response)),connectedBands:K(d[13].response),signalStrength:J(d[14].response),mimoLayers:(null===(l=d[14].response.split("\n")[1].match(/\d+/g))||void 0===l?void 0:l.filter(e=>"-32768"!==e).length.toString())||"Inactive"},cellularInfo:{cellId:X(d[10].response,q(d[13].response)),trackingAreaCode:$(d[10].response,q(d[13].response)),physicalCellId:ee(d[13].response,q(d[13].response)),earfcn:es(d[13].response),mcc:el(d[10].response,q(d[13].response)),mnc:et(d[10].response,q(d[13].response)),signalQuality:en(d[19].response)},currentBands:{id:Array.from({length:null!==(n=null===(t=ei(d[13].response))||void 0===t?void 0:t.length)&&void 0!==n?n:0},(e,s)=>s+1),bandNumber:ei(d[13].response),earfcn:er(d[13].response),bandwidth:ea(d[13].response),pci:ed(d[13].response,q(d[13].response)),rsrp:ec(d[13].response,q(d[13].response),d[10].response),rsrq:eo(d[13].response,q(d[13].response),d[10].response),sinr:ep(d[13].response,q(d[13].response),d[10].response)}};s(c)}catch(e){console.error("Error fetching home data:",e)}finally{setTimeout(()=>r(!1),300)}},[]);return(0,n.useEffect)(()=>{d();let e=setInterval(d,l);return()=>clearInterval(e)},[d,l]),{data:e,isLoading:i,refresh:d}},em=()=>{let[e,s]=(0,n.useState)("Unknown"),[l,t]=(0,n.useState)(!0),i=(0,n.useCallback)(async()=>{try{t(!0);let e=await fetch("/cgi-bin/home/check_net.sh"),l=await e.json();s("ACTIVE"===l.connection?"Connected":"Disconnected"),t(!1)}catch(e){console.error("Error fetching data connection state:",e),s("Unknown"),t(!1)}},[]);return(0,n.useEffect)(()=>{i();let e=setInterval(i,3e4);return()=>clearInterval(e)},[i]),{dataConnectionState:e,refresh:(0,n.useCallback)(()=>{i()},[i]),isStateLoading:l}};let eu=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 eh=()=>{let[e,s]=(0,n.useState)("0 Bytes"),[l,t]=(0,n.useState)("0 Bytes"),i=(0,n.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?"))}),l=await e.json(),n=parseInt(l.output.split("\n")[1].split(":")[1].split(",")[0]),i=parseInt(l.output.split("\n")[1].split(":")[1].split(",")[1]);s(eu(n)),t(eu(i))}catch(e){console.error("Error fetching traffic stats:",e)}},[]);return(0,n.useEffect)(()=>{i();let e=setInterval(i,5e3);return()=>clearInterval(e)},[i]),{bytesSent:e,bytesReceived:l,refresh:(0,n.useCallback)(()=>{i()},[i])}},ef=()=>{let[e,s]=(0,n.useState)(!1),[l,t]=(0,n.useState)(null),i=(e,s)=>{let l=e.split("\n")[1].split(":")[1].split(",")[1].trim(),t=s.split("\n")[1].split(":")[1].split(",")[1].trim();return"1"===l||"1"===t?"Registered":"Not Registered"},r=(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(),l=e.split("\n")[2].split(":")[1].split(",")[1].trim();return"1"===s||"1"===l?"Connected":"Disconnected"},d=e=>{let s=e.split("\n")[1].split(":")[1].split(",").slice(0,4).map(e=>e.trim()),l=e.split("\n")[2].split(":")[1].split(",").slice(0,4).map(e=>e.trim());if(s){let e=s.reduce((e,s)=>e+parseInt(s),0)/s.length;return l?(e+l.reduce((e,s)=>e+parseInt(s),0)/l.length)/2<-100?"Poor":"Good":e<-100?"Poor":"Good"}return l?l.reduce((e,s)=>e+parseInt(s),0)/l.length<-100?"Poor":"Good":"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"},o=e=>{let s=e.split("\n")[1].split(":")[1].split(",")[1].trim(),l=e.split("\n")[2].split(":")[1].split(",")[1].trim(),t=e.split("\n")[3].split(":")[1].split(",")[1].trim();return"0"===s&&"0"===l&&"0"===t?"None":"0"!==s?s:"0"!==l?l:"0"!==t?t:"Unknown"};return{isRunningDiagnostics:e,runDiagnosticsData:l,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 l={netRegistration:i(s[0].response,s[1].response),simState:s[2].response.split("\n")[1].split(":")[1].trim(),manualAPN:r(s[3].response,s[4].response),wanIP:a(s[5].response),cellSignal:d(s[6].response),modemTemp:c(s[7].response),netReject:o(s[8].response)};return t(l),l}catch(e){throw console.error("Error running diagnostics:",e),e}finally{s(!1)}}}},ej=()=>{let{data:e,isLoading:s,refresh:l}=ex(),{dataConnectionState:i,isStateLoading:r,refresh:a}=em(),{isRunningDiagnostics:d,runDiagnosticsData:c,startDiagnostics:o}=ef(),{bytesSent:x,bytesReceived:m,refresh:u}=eh(),h=(0,n.useCallback)(()=>{l(),a(),u()},[l,a,u]),[v,b]=(0,n.useState)([]),C=async()=>{try{await o()}catch(e){console.error("Error running diagnostics:",e)}};return(0,n.useEffect)(()=>{c&&console.log("Diagnostics data updated:",c)},[c]),(0,n.useEffect)(()=>{if(e&&e.currentBands){var s;let l=null===(s=e.currentBands.id)||void 0===s?void 0:s.map((s,l)=>{var t,n,i,r,a,d,c;return{id:s,bandNumber:(null===(t=e.currentBands.bandNumber)||void 0===t?void 0:t[l])||"N/A",earfcn:(null===(n=e.currentBands.earfcn)||void 0===n?void 0:n[l])||"N/A",bandwidth:(null===(i=e.currentBands.bandwidth)||void 0===i?void 0:i[l])||"N/A",pci:(null===(r=e.currentBands.pci)||void 0===r?void 0:r[l])||"N/A",rsrp:(null===(a=e.currentBands.rsrp)||void 0===a?void 0:a[l])||"N/A",rsrq:(null===(d=e.currentBands.rsrq)||void 0===d?void 0:d[l])||"N/A",sinr:(null===(c=e.currentBands.sinr)||void 0===c?void 0:c[l])||"N/A"}});l&&b(l)}},[e]),(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)(N.z,{variant:"ghost",size:"icon",className:"text-sm",onClick:h,children:(0,t.jsx)(T.Z,{className:"xl:size-6 size-5 text-blue-500",strokeWidth:3})})]}),"Connected"!==i&&(0,t.jsxs)(w,{children:[(0,t.jsx)(y,{children:(0,t.jsxs)(N.z,{variant:"secondary",onClick:C,children:[(0,t.jsx)(E.Z,{className:"xl:size-6 size-5"}),"Run Diagnostics"]})}),!d&&(0,t.jsxs)(R,{children:[(0,t.jsx)(A,{children:(0,t.jsx)(I,{children:"Diagnostics Result"})}),(0,t.jsx)(k,{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==c?void 0:c.netRegistration)==="Registered"?(0,t.jsx)(B.Z,{className:"text-green-500"}):(0,t.jsx)(D.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==c?void 0:c.simState)==="READY"?(0,t.jsx)(B.Z,{className:"text-green-500"}):(0,t.jsx)(D.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==c?void 0:c.manualAPN)==="Enabled"?(0,t.jsx)(B.Z,{className:"text-green-500"}):(0,t.jsx)(D.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==c?void 0:c.wanIP)==="Connected"?(0,t.jsx)(B.Z,{className:"text-green-500"}):(0,t.jsx)(D.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==c?void 0:c.cellSignal)==="Good"?(0,t.jsx)(B.Z,{className:"text-green-500"}):(0,t.jsx)(D.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==c?void 0:c.modemTemp)==="Normal"?(0,t.jsx)(B.Z,{className:"text-green-500"}):(0,t.jsx)(D.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==c?void 0:c.netReject)==="None"?(0,t.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,t.jsx)(B.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)(D.Z,{className:"text-red-500"}),(0,t.jsx)("span",{children:null==c?void 0:c.netReject})]})]})]})]}),d&&(0,t.jsxs)(R,{children:[(0,t.jsx)(A,{children:(0,t.jsx)(I,{children:"Running Diagnostics"})}),(0,t.jsx)("div",{className:"flex items-center justify-center my-4",children:(0,t.jsx)(z(),{color:"#6D28D9"})}),(0,t.jsx)(k,{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)(p,{data:e,isLoading:s}),(0,t.jsx)(f,{data:e,isLoading:s,dataConnectionState:i,connectionStateLoading:r}),(0,t.jsx)(j,{data:e,isLoading:s,bytesSent:x,bytesReceived:m}),(0,t.jsx)(g,{data:e,isLoading:s})]})]}),(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)(Y,{bands:v,isLoading:s})]})]})}},78580:function(e,s,l){"use strict";l.d(s,{d:function(){return d},z:function(){return c}});var t=l(20881),n=l(64149),i=l(54098),r=l(20116),a=l(90270);let d=(0,r.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,s)=>{let{className:l,variant:n,size:r,asChild:c=!1,...o}=e,p=c?i.g7:"button";return(0,t.jsx)(p,{className:(0,a.cn)(d({variant:n,size:r,className:l})),ref:s,...o})});c.displayName="Button"},94920:function(e,s,l){"use strict";l.d(s,{Ol:function(){return a},SZ:function(){return c},Zb:function(){return r},aY:function(){return o},eW:function(){return p},ll:function(){return d}});var t=l(20881),n=l(64149),i=l(90270);let r=n.forwardRef((e,s)=>{let{className:l,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",l),...n})});r.displayName="Card";let a=n.forwardRef((e,s)=>{let{className:l,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",l),...n})});a.displayName="CardHeader";let d=n.forwardRef((e,s)=>{let{className:l,...n}=e;return(0,t.jsx)("h3",{ref:s,className:(0,i.cn)("font-semibold leading-none tracking-tight",l),...n})});d.displayName="CardTitle";let c=n.forwardRef((e,s)=>{let{className:l,...n}=e;return(0,t.jsx)("p",{ref:s,className:(0,i.cn)("text-sm text-muted-foreground",l),...n})});c.displayName="CardDescription";let o=n.forwardRef((e,s)=>{let{className:l,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,i.cn)("p-6 pt-0",l),...n})});o.displayName="CardContent";let p=n.forwardRef((e,s)=>{let{className:l,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,i.cn)("flex items-center p-6 pt-0",l),...n})});p.displayName="CardFooter"},88766:function(e,s,l){"use strict";l.d(s,{O:function(){return i}});var t=l(20881),n=l(90270);function i(e){let{className:s,...l}=e;return(0,t.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",s),...l})}},90270:function(e,s,l){"use strict";l.d(s,{cn:function(){return i}});var t=l(33958),n=l(61779);function i(){for(var e=arguments.length,s=Array(e),l=0;l{let{children:t}=e,a=(0,i.useRouter)(),{isAuthenticated:s,checkAuth:l}=(0,n.a)();return((0,o.useEffect)(()=>{l()||a.push("/login")},[]),s)?(0,r.jsx)(r.Fragment,{children:t}):null};var d=a(92093);let c=(0,d.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,d.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,d.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,d.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),p=a(71036),x=a(16236);let g=(0,d.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,d.Z)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);var v=a(89448),b=a(14491),j=a(35935),N=a(20116),w=a(90270);let k=b.fC,A=b.xz;b.x8;let R=b.h_,T=o.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(b.aV,{className:(0,w.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})});T.displayName=b.aV.displayName;let C=(0,N.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"}}),S=o.forwardRef((e,t)=>{let{side:a="right",className:s,children:n,...o}=e;return(0,r.jsxs)(R,{children:[(0,r.jsx)(T,{}),(0,r.jsxs)(b.VY,{ref:t,className:(0,w.cn)(C({side:a}),s),...o,children:[(0,r.jsxs)(b.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]})]})});S.displayName=b.VY.displayName,o.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(b.Dx,{ref:t,className:(0,w.cn)("text-lg font-semibold text-foreground",a),...s})}).displayName=b.Dx.displayName,o.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(b.dk,{ref:t,className:(0,w.cn)("text-sm text-muted-foreground",a),...s})}).displayName=b.dk.displayName;var D=a(46646),_=e=>{let{children:t}=e,a=(0,i.usePathname)(),{logout:d}=(0,n.a)(),{setTheme:b}=(0,v.F)(),[j,N]=(0,o.useState)(!1),w=(0,D.pm)(),R=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}},T=async()=>{try{N(!0),await R("AT+QPOWD=1"),w.toast({title:"Rebooting device",description:"Please wait for the device to restart."}),setTimeout(()=>{w.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),w.toast({title:"Failed to reboot device",description:"Please try again.",variant:"destructive"})}finally{N(!1)}},C=async()=>{try{await R("AT+COPS=2"),w.toast({title:"Reconnecting to network",description:"Please wait for the device to reconnect."}),await new Promise(e=>setTimeout(e,2e3)),await R("AT+COPS=0"),w.toast({title:"Reconnected to network",description:"The device has been reconnected successfully."}),await new Promise(e=>setTimeout(e,3e3)),window.location.reload()}catch(e){w.toast({title:"Failed to reconnect to network",description:"Please try again.",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/",className:"".concat("/dashboard/experimental/"===a?"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)(S,{side:"left",children:(0,r.jsxs)("nav",{className:"grid gap-6 text-lg font-medium",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",{className:"sr-only",children:"QuecManager"})]}),(0,r.jsx)(s.default,{href:"/dashboard/home/",className:"text-muted-foreground hover:text-foreground",children:"Home"}),(0,r.jsx)(s.default,{href:"/dashboard/cell-settings/",className:"text-muted-foreground hover:text-foreground",children:"Cellular"}),(0,r.jsx)(s.default,{href:"/dashboard/advanced-settings/",className:"text-muted-foreground hover:text-foreground",children:"Advance"}),(0,r.jsx)(s.default,{href:"/dashboard/experimental/",className:"text-muted-foreground hover:text-foreground",children:"Experimental"}),(0,r.jsx)(s.default,{href:"/dashboard/about/",className:"text-muted-foreground hover:text-foreground",children:"About"}),(0,r.jsx)(s.default,{href:"/dashboard/settings/general",className:"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)(p.h_,{children:[(0,r.jsx)(p.$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)(p.AW,{align:"end",children:[(0,r.jsx)(p.Xi,{onClick:()=>b("light"),children:"Light"}),(0,r.jsx)(p.Xi,{onClick:()=>b("dark"),children:"Dark"}),(0,r.jsx)(p.Xi,{onClick:()=>b("system"),children:"System"})]})]})}),(0,r.jsxs)(p.h_,{children:[(0,r.jsx)(p.$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)(p.AW,{align:"end",children:[(0,r.jsx)(p.Ju,{children:"Options"}),(0,r.jsx)(p.VD,{}),(0,r.jsx)(p.Xi,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/settings/general",children:"Settings"})}),(0,r.jsx)(p.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)(p.VD,{}),(0,r.jsx)(p.Xi,{onClick:C,children:"Reconnect"}),(0,r.jsx)(p.Xi,{asChild:!0,children:(0,r.jsxs)(x.aR,{children:[(0,r.jsx)(x.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)(x._T,{children:[(0,r.jsxs)(x.fY,{children:[(0,r.jsx)(x.f$,{children:"Are you sure?"}),(0,r.jsx)(x.yT,{children:"This will reboot your device. The connection will be lost temporarily. Please wait for the page to reload."})]}),(0,r.jsxs)(x.xo,{children:[(0,r.jsx)(x.le,{children:"Cancel"}),(0,r.jsxs)(x.OL,{onClick:T,disabled:j,children:[(0,r.jsx)(m,{className:"size-4"}),"Reboot Now"]})]})]})]})}),(0,r.jsx)(p.VD,{}),(0,r.jsx)(p.Xi,{onClick:d,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)(l,{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 M},yT:function(){return F},xo:function(){return I},fY:function(){return P},f$:function(){return V},vW:function(){return z}});var r=a(20881),s=a(64149),n=a(74873),o=a(83954),i=a(14491),l=a(64433),d=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 p=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.xz,{...n,...s,ref:t})});p.displayName="AlertDialogTrigger";var x=e=>{let{__scopeAlertDialog:t,...a}=e,s=m(t);return(0,r.jsx)(i.h_,{...s,...a})};x.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",[v,b]=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),p=s.useRef(null);return(0,r.jsx)(i.jm,{contentName:y,titleName:N,docsSlug:"alert-dialog",children:(0,r.jsx)(v,{scope:a,cancelRef:p,children:(0,r.jsxs)(i.VY,{role:"alertdialog",...u,...c,ref:h,onOpenAutoFocus:(0,l.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,r.jsx)(d.A4,{children:n}),(0,r.jsx)(S,{contentRef:f})]})})})});j.displayName=y;var N="AlertDialogTitle",w=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.Dx,{...n,...s,ref:t})});w.displayName=N;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}=b(T,a),l=m(a),d=(0,o.e)(t,n);return(0,r.jsx)(i.x8,{...l,...s,ref:d})});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=p,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 M=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsxs)(x,{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})]})});M.displayName=j.displayName;let P=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})};P.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)(w,{ref:t,className:(0,D.cn)("text-lg font-semibold",a),...s})});V.displayName=w.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 l},z:function(){return d}});var r=a(20881),s=a(64149),n=a(54098),o=a(20116),i=a(90270);let l=(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:a,variant:s,size:o,asChild:d=!1,...c}=e,u=d?n.g7:"button";return(0,r.jsx)(u,{className:(0,i.cn)(l({variant:s,size:o,className:a})),ref:t,...c})});d.displayName="Button"},71036:function(e,t,a){"use strict";a.d(t,{$F:function(){return d},AW:function(){return c},Ju:function(){return f},VD:function(){return m},Xi:function(){return u},h_:function(){return l}});var r=a(20881),s=a(64149),n=a(67293),o=a(35935),i=a(90270);let l=n.fC,d=n.xz;n.ZA,n.Uv,n.Tr,n.Ee,s.forwardRef((e,t)=>{let{className:a,inset:s,children:l,...d}=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),...d,children:[l,(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:l,...d}=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:l,...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.nQG,{className:"h-4 w-4"})})}),s]})}).displayName=n.oC.displayName,s.forwardRef((e,t)=>{let{className:a,children:s,...l}=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),...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.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)}}},l=[],d={toasts:[]};function c(e){d=i(d,e),l.forEach(e=>{e(d)})}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(d);return r.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,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:l,className:d="",children:c,iconNode:u,...f}=e;return(0,r.createElement)("svg",{ref:t,...o,width:s,height:s,stroke:a,strokeWidth:l?24*Number(i)/Number(s):i,className:n("lucide",d),...f},[...u.map(e=>{let[t,a]=e;return(0,r.createElement)(t,a)}),...Array.isArray(c)?c:[c]])}),l=(e,t)=>{let a=(0,r.forwardRef)((a,o)=>{let{className:l,...d}=a;return(0,r.createElement)(i,{ref:o,iconNode:t,className:n("lucide-".concat(s(e)),l),...d})});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,59,155,726,948,509,491,136,985,330,744],function(){return e(e.s=14658)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/general/page-ba4f5023127cab29.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/general/page-ba4f5023127cab29.js
new file mode 100644
index 0000000..916bf19
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/general/page-ba4f5023127cab29.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[291],{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,[509,985,330,744],function(){return e(e.s=67238)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/security/page-f721332948f82878.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/security/page-f721332948f82878.js
new file mode 100644
index 0000000..a5ee465
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/security/page-f721332948f82878.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[354],{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,[59,985,330,744],function(){return e(e.s=2045)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-6951e8de924ee1bf.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-6951e8de924ee1bf.js
new file mode 100644
index 0000000..3eac0bc
--- /dev/null
+++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-6951e8de924ee1bf.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{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)(g.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(v).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:v}=e,{config:g}=N(),b=n.useMemo(()=>{var e;if(i||!(null==s?void 0:s.length))return null;let[t]=s,r="".concat(v||t.dataKey||t.name||"value"),n=y(g,t,r),l=v||"string"!=typeof c?null==n?void 0:n.label:(null===(e=g[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,g,v]);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(g,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);return 0===t.length?null: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),v=(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:""},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),v.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 g=[{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:g,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>=o,l-=o,tj=1<<32-ei(t)+l|n<h?(g=f,f=null):g=f.sibling;var y=p(l,f,i[h],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(l,f),o=a(y,o,h),null===c?s=y:c.sibling=y,c=y,f=g}if(h===i.length)return n(l,f),tZ&&tH(l,h),s;if(null===f){for(;hg?(y=h,h=null):y=h.sibling;var b=p(l,h,v.value,s);if(null===b){null===h&&(h=y);break}e&&h&&null===b.alternate&&t(l,h),o=a(b,o,g),null===f?c=b:f.sibling=b,f=b,h=y}if(v.done)return n(l,h),tZ&&tH(l,g),c;if(null===h){for(;!v.done;g++,v=u.next())null!==(v=d(l,v.value,s))&&(o=a(v,o,g),null===f?c=v:f.sibling=v,f=v);return tZ&&tH(l,g),c}for(h=r(l,h);!v.done;g++,v=u.next())null!==(v=m(h,l,g,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?g:v.key),o=a(v,o,g),null===f?c=v:f.sibling=v,f=v);return e&&h.forEach(function(e){return t(l,e)}),tZ&&tH(l,g),c}(s,c,f,h);if("function"==typeof f.then)return u(s,c,nJ(f),h);if(f.$$typeof===E)return u(s,c,ai(s,f,h),h);n1(s,f)}return"string"==typeof f&&""!==f||"number"==typeof f?(f=""+f,null!==c&&6===c.tag?(n(s,c.sibling),(c=l(c,f)).return=s):(n(s,c),(c=i_(f,s.mode,h)).return=s),o(s=c)):n(s,c)}(u,s,c,f),nG=null,u}}var n4=n3(!0),n6=n3(!1),n8=m(null),n5=m(0);function n7(e,t){g(n5,e=oz),g(n8,t),oz=e|t.baseLanes}function n9(){g(n5,oz),g(n8,n8.current)}function re(){oz=n5.current,h(n8),h(n5)}var rt=m(null),rn=null;function rr(e){var t=e.alternate;g(ri,1&ri.current),g(rt,e),null===rn&&(null===t||null!==n8.current?rn=e:null!==t.memoizedState&&(rn=e))}function rl(e){if(22===e.tag){if(g(ri,ri.current),g(rt,e),null===rn){var t=e.alternate;null!==t&&null!==t.memoizedState&&(rn=e)}}else ra(e)}function ra(){g(ri,ri.current),g(rt,rt.current)}function ro(e){h(rt),rn===e&&(rn=null),h(ri)}var ri=m(0);function ru(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var rs=s.ReactCurrentDispatcher,rc=s.ReactCurrentBatchConfig,rf=0,rd=null,rp=null,rm=null,rh=!1,rg=!1,ry=!1,rv=0,rb=0,rk=null,rw=0;function rS(){throw Error(i(321))}function rC(e,t){if(null===t)return!1;for(var n=0;na?a:8;var o=rc.transition,i={_callbacks:new Set};rc.transition=i,lf(e,!1,t,n);try{var u=l();if(null!==u&&"object"==typeof u&&"function"==typeof u.then){av(i,u);var s,c,f=(s=[],c={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},u.then(function(){c.status="fulfilled",c.value=r;for(var e=0;e title"))),sG(l,n,r),l[eE]=e,eI(l),n=l;break e;case"link":var a=cE("link","href",t).get(n+(r.href||""));if(a){for(var o=0;o",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof r.is?l.createElement("select",{is:r.is}):l.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"==typeof r.is?l.createElement(n,{is:r.is}):l.createElement(n)}}e[eE]=t,e[ex]=r;e:for(l=t.child;null!==l;){if(5===l.tag||6===l.tag)e.appendChild(l.stateNode);else if(4!==l.tag&&27!==l.tag&&null!==l.child){l.child.return=l,l=l.child;continue}if(l===t)break;for(;null===l.sibling;){if(null===l.return||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(t.stateNode=e,sG(e,n,r),n){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break;case"img":e=!0;break;default:e=!1}e&&aC(t)}}return aP(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&aC(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(e=I.current,t9(t)){e:{if(e=t.stateNode,n=t.memoizedProps,e[eE]=t,(r=e.nodeValue!==n)&&null!==(l=tX))switch(l.tag){case 3:if(l=0!=(1&l.mode),sq(e.nodeValue,n,l),l){e=!1;break e}break;case 27:case 5:var a=0!=(1&l.mode);if(!0!==l.memoizedProps.suppressHydrationWarning&&sq(e.nodeValue,n,a),a){e=!1;break e}}e=r}e&&aC(t)}else(e=s1(e).createTextNode(r))[eE]=t,t.stateNode=e}return aP(t),null;case 13:if(ro(t),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(tZ&&null!==tG&&0!=(1&t.mode)&&0==(128&t.flags))ne(),nt(),t.flags|=384,l=!1;else if(l=t9(t),null!==r&&null!==r.dehydrated){if(null===e){if(!l)throw Error(i(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(i(317));l[eE]=t}else nt(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;aP(t),l=!1}else null!==tJ&&(o0(tJ),tJ=null),l=!0;if(!l)return 256&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,l=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(l=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==l&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),ax(t,t.updateQueue),aP(t),null;case 4:return Q(),null===e&&sA(t.stateNode.containerInfo),aP(t),null;case 10:return an(t.type._context),aP(t),null;case 19:if(h(ri),null===(l=t.memoizedState))return aP(t),null;if(r=0!=(128&t.flags),null===(a=l.rendering)){if(r)az(l,!1);else{if(0!==oP||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=ru(e))){for(t.flags|=128,az(l,!1),e=a.updateQueue,t.updateQueue=e,ax(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)ix(n,e),n=n.sibling;return g(ri,1&ri.current|2),t.child}e=e.sibling}null!==l.tail&&Y()>oI&&(t.flags|=128,r=!0,az(l,!1),t.lanes=4194304)}}else{if(!r){if(null!==(e=ru(a))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,ax(t,e),az(l,!0),null===l.tail&&"hidden"===l.tailMode&&!a.alternate&&!tZ)return aP(t),null}else 2*Y()-l.renderingStartTime>oI&&536870912!==n&&(t.flags|=128,r=!0,az(l,!1),t.lanes=4194304)}l.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=l.last)?e.sibling=a:t.child=a,l.last=a)}if(null!==l.tail)return t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Y(),t.sibling=null,e=ri.current,g(ri,r?1&e|2:1&e),t;return aP(t),null;case 22:case 23:return ro(t),re(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(536870912&n)&&0==(128&t.flags)&&(aP(t),6&t.subtreeFlags&&(t.flags|=8192)):aP(t),null!==(n=t.updateQueue)&&ax(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&h(ab),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),an(ad),aP(t),null;case 25:return null}throw Error(i(156,t.tag))}(t.alternate,t,oz);if(null!==n){ow=n;return}if(null!==(t=t.sibling)){ow=t;return}ow=t=e}while(null!==t);0===oP&&(oP=5)}function is(e,t,n,r,l){var a=ek,o=ov.transition;try{ov.transition=null,ek=2,function(e,t,n,r,l,a){do id();while(null!==oj);if(0!=(6&ob))throw Error(i(327));var o,u=e.finishedWork,s=e.finishedLanes;if(null!==u){if(e.finishedWork=null,e.finishedLanes=0,u===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var c=u.lanes|u.childLanes;if(function(e,t,n){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0,t=e.entanglements;for(var l=e.expirationTimes,a=e.hiddenUpdates;0r&&(l=r,r=a,a=l),l=si(n,a);var o=si(n,r);l&&o&&(1!==e.rangeCount||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(l.node,l.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;nn?32:n;n=ov.transition;var l=ek;try{if(ov.transition=null,ek=r,null===oj)var a=!1;else{r=oq,oq=null;var o=oj,u=oW;if(oj=null,oW=0,0!=(6&ob))throw Error(i(331));var s=ob;if(ob|=4,of(o.current),ol(o,o.current,u,r),ob=s,nb(!1),ea&&"function"==typeof ea.onPostCommitFiberRoot)try{ea.onPostCommitFiberRoot(el,o)}catch(e){}a=!0}return a}finally{ek=l,ov.transition=n,ic(e,t)}}return!1}function ip(e,t,n){t=lL(e,t=lP(n,t),2),null!==(e=nO(e,t,2))&&(o2(e,2),nv(e))}function im(e,t,n){if(3===e.tag)ip(e,e,n);else for(;null!==t;){if(3===t.tag){ip(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===oQ||!oQ.has(r))){e=lT(t,e=lP(n,e),2),null!==(t=nO(t,e,2))&&(o2(t,2),nv(t));break}}t=t.return}}function ih(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new om;var l=new Set;r.set(t,l)}else void 0===(l=r.get(t))&&(l=new Set,r.set(t,l));l.has(n)||(ox=!0,l.add(n),e=ig.bind(null,e,t,n),t.then(e,e))}function ig(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,2&ob?oR=!0:4&ob&&(oD=!0),ik(),ok===e&&(oS&n)===n&&(4===oP||3===oP&&(62914560&oS)===oS&&300>Y()-oA?0==(2&ob)&&o5(e,0):oT|=n),nv(e)}function iy(e,t){0===t&&(t=0==(1&e.mode)?2:eg()),null!==(e=ns(e,t))&&(o2(e,t),nv(e))}function iv(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),iy(e,n)}function ib(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(n=l.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),iy(e,n)}function ik(){if(50