diff --git a/ipk-source/sdxpinn-quecmanager-beta/CONTROL/control b/ipk-source/sdxpinn-quecmanager-beta/CONTROL/control index 11ac0d5..b14cf79 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/CONTROL/control +++ b/ipk-source/sdxpinn-quecmanager-beta/CONTROL/control @@ -1,5 +1,5 @@ Package: sdxpinn-quecmanager-beta -Version: 2.2.7 +Version: 2.2.8 Architecture: aarch64_cortex-a53 Maintainer: Russel Yasol dr-dolomite@github.com Cameron Thompson iamromulan@github.com Christopher Landwehr clndwhr@github.com Source: github.com/iamromulan diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_services b/ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_services index d8763a8..c8087ed 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_services +++ b/ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_services @@ -36,13 +36,49 @@ start_service() { # Start the QCAINFO Interpreter echo "Starting QCAINFO Interpreter..." procd_open_instance - procd_set_param command /www/cgi-bin/services/interpret_qcainfo.sh + procd_set_param command /www/cgi-bin/services/network_insights_interpreter.sh procd_set_param respawn procd_set_param stdout 1 procd_set_param stderr 1 procd_close_instance echo "QCAINFO Interpreter started" + # Start ping daemon + echo "Starting Ping Daemon..." + procd_open_instance + procd_set_param command /www/cgi-bin/services/ping_daemon.sh + procd_set_param respawn + procd_set_param stdout 1 + procd_set_param stderr 1 + procd_close_instance + echo "Ping Daemon started" + + # Start memory daemon if enabled in configuration + CONFIG_FILE="/etc/quecmanager/settings/memory_settings.conf" + if [ -f "$CONFIG_FILE" ]; then + # More robust parsing for OpenWrt/BusyBox + MEMORY_ENABLED=$(awk -F'=' '/^MEMORY_ENABLED=/ {print $2}' "$CONFIG_FILE" 2>/dev/null | tr -d '"' | tr -d ' ') + echo "Memory config found. MEMORY_ENABLED='$MEMORY_ENABLED'" + + case "$MEMORY_ENABLED" in + true|1|on|yes|enabled) + echo "Starting Memory Daemon..." + procd_open_instance + procd_set_param command /www/cgi-bin/services/memory_daemon.sh + procd_set_param respawn + procd_set_param stdout 1 + procd_set_param stderr 1 + procd_close_instance + echo "Memory Daemon started" + ;; + *) + echo "Memory Daemon disabled in configuration (value: '$MEMORY_ENABLED')" + ;; + esac + else + echo "Memory configuration not found at $CONFIG_FILE, skipping Memory Daemon" + fi + echo "All QuecManager services Started" } diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/404.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/404.html index 6d681b3..17a8545 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/404.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/404.html @@ -1 +1 @@ -404: This page could not be found.QuecManager

404

This page could not be found.

    \ No newline at end of file +404: This page could not be found.QuecManager

    404

    This page could not be found.

      \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/404/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/404/index.html index 6d681b3..17a8545 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/404/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/404/index.html @@ -1 +1 @@ -404: This page could not be found.QuecManager

      404

      This page could not be found.

        \ No newline at end of file +404: This page could not be found.QuecManager

        404

        This page could not be found.

          \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/5Uag14M-HdBMG-DytwMof/_buildManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/5Uag14M-HdBMG-DytwMof/_buildManifest.js new file mode 100644 index 0000000..3819d88 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/5Uag14M-HdBMG-DytwMof/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(r,e,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:31,errorRate:1e-4,numBits:595,numHashes:14,bitArray:[1,0,1,0,1,r,0,e,e,r,r,e,r,e,e,r,r,r,r,r,r,r,e,e,r,r,e,r,e,r,e,r,e,e,r,e,r,r,e,r,r,r,e,e,e,e,e,e,r,e,e,e,r,r,r,e,r,e,e,e,r,e,r,e,r,r,r,e,e,r,e,e,r,e,e,e,r,e,e,e,r,e,e,r,r,r,e,e,e,e,r,e,e,r,e,r,r,r,r,r,r,e,r,e,r,r,r,e,r,e,e,r,r,r,r,r,r,e,e,e,r,r,r,r,r,r,e,r,r,r,r,e,r,r,r,e,r,e,e,e,r,e,e,r,e,r,r,e,e,e,e,e,e,e,e,r,r,r,e,e,r,e,e,r,e,e,r,r,r,r,r,r,r,r,e,r,e,r,e,r,e,r,e,e,r,r,r,e,e,e,r,e,r,e,r,e,r,e,e,e,r,r,e,r,e,r,r,r,r,r,r,e,e,r,r,r,r,r,e,e,e,r,e,e,e,r,r,e,e,e,r,e,r,e,e,e,e,e,r,r,r,r,e,r,e,r,r,e,e,e,r,r,e,r,e,r,e,e,r,r,r,r,r,r,r,r,e,e,r,e,e,r,e,r,e,r,e,r,e,r,e,e,e,e,r,r,r,r,r,e,r,r,r,r,r,e,e,e,e,r,r,e,r,e,r,e,r,e,e,e,e,e,e,r,e,r,e,e,e,r,r,e,r,e,e,e,r,e,r,r,r,r,r,e,r,r,r,r,r,r,e,e,e,r,r,e,r,e,r,r,e,r,r,r,e,e,e,r,r,e,r,e,e,r,r,r,r,e,e,e,e,r,e,r,e,e,r,e,r,r,e,r,r,e,e,r,e,r,r,e,r,r,e,e,r,r,e,e,r,r,r,e,r,r,r,r,r,r,e,e,e,e,e,e,e,e,e,e,e,e,r,r,r,e,r,r,e,e,r,r,r,r,e,r,e,e,r,e,r,r,r,e,e,e,r,r,r,r,r,e,e,r,r,r,r,e,r,e,e,r,e,e,e,e,r,r,r,e,e,r,e,e,r,r,r,r,e,r,r,r,e,r,e,e,e,e,r,r,e,e,e,e,r,r,r,e,r,e,e,e,r,r,e,e,e,r,e,e,e,r,e,e,r,e,e,r,r,e,e,r,r,r,e,e,r,r,e,e,r,r,r,r,e,e,e,e,r,r,r,r,r,e,r,r,r,e,r,r,e,e,e,r,e,r,e,e,e,r,e,r,r,e,e,r,r,e,e,r,e,e,r,e,r,e,r,r,e,r,r,e,r,r,e,e,r,r,r,r,r,r,e,e,e,r,e]},__routerFilterDynamic:{numItems:e,errorRate:1e-4,numBits:e,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-8219f0da6c3b58d9.js"],sortedPages:["/_app","/_error"]}}(1,0,0),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/UNoHHimC1xZOO6l4nPvt9/_ssgManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/5Uag14M-HdBMG-DytwMof/_ssgManifest.js similarity index 100% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/UNoHHimC1xZOO6l4nPvt9/_ssgManifest.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/5Uag14M-HdBMG-DytwMof/_ssgManifest.js diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/UNoHHimC1xZOO6l4nPvt9/_buildManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/UNoHHimC1xZOO6l4nPvt9/_buildManifest.js deleted file mode 100644 index 0f8c4fb..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/UNoHHimC1xZOO6l4nPvt9/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(r,e,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:30,errorRate:1e-4,numBits:576,numHashes:14,bitArray:[1,1,0,0,0,1,e,r,r,e,r,r,e,r,e,r,r,e,r,r,e,e,e,e,e,e,r,r,r,e,e,r,r,e,e,e,e,e,e,r,e,e,e,r,e,e,e,e,e,e,r,r,r,e,e,e,e,r,r,r,r,r,e,r,r,r,e,r,r,e,r,r,r,e,r,r,e,e,r,r,e,e,r,e,e,r,r,e,e,e,e,e,r,e,e,e,e,e,e,r,e,r,r,r,r,r,r,e,r,r,r,r,r,r,r,r,r,e,r,e,r,r,e,r,e,r,r,e,e,e,e,e,e,e,r,r,r,e,r,r,r,r,r,r,e,r,r,r,e,e,r,r,e,e,r,e,e,e,r,e,r,r,e,e,r,r,e,e,r,r,r,r,r,r,e,r,r,e,r,r,e,r,e,r,r,e,r,r,e,r,r,e,r,r,e,e,r,r,r,e,e,r,e,r,e,e,e,e,e,e,e,e,e,e,e,e,e,r,r,e,e,r,e,e,e,r,e,e,e,r,r,e,r,r,r,r,r,e,e,r,e,e,r,r,r,e,r,e,e,r,r,e,e,e,r,r,e,r,e,e,r,e,r,r,r,e,r,e,e,r,r,r,r,r,e,e,r,e,r,r,r,e,e,e,r,r,r,r,r,e,r,e,r,e,e,r,e,r,r,e,e,r,r,e,e,e,e,r,r,r,r,r,r,r,e,e,r,e,r,e,r,r,e,r,r,e,r,r,e,e,e,r,e,r,e,e,e,e,r,e,e,e,r,r,r,r,r,r,r,r,r,r,e,r,e,r,e,r,e,e,r,e,r,e,e,r,e,e,e,e,r,e,r,e,r,r,r,e,r,r,r,r,r,e,e,e,e,e,r,r,r,r,r,e,e,e,e,e,r,e,e,r,e,r,r,r,e,e,r,r,e,r,r,e,e,r,r,r,r,e,r,e,r,e,r,r,e,e,e,r,r,r,r,e,e,e,r,e,r,r,e,e,e,e,e,e,e,r,r,r,r,r,e,e,r,e,e,r,r,r,e,r,r,e,r,r,e,e,r,r,r,e,r,r,r,r,r,r,e,e,e,r,r,r,r,r,r,r,r,e,r,r,r,r,e,e,r,e,e,r,e,r,e,r,e,r,r,r,e,e,r,e,e,e,r,e,r,r,e,e,r,r,e,e,e,e,r,r,r,e,r,e,r,e,e,r,r,r,e,r,r,e,r,e,e,e,e,r,e,e,r,r,e,e,r,r,e,r,r,r,e,e,e,r,e,r,r,r,e,e,r,e,r,r,r,r]},__routerFilterDynamic:{numItems:e,errorRate:1e-4,numBits:e,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-8219f0da6c3b58d9.js"],sortedPages:["/_app","/_error"]}}(1,0,0),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1150-fcb6ad96b6a9e5da.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1150-fcb6ad96b6a9e5da.js deleted file mode 100644 index ad044dc..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1150-fcb6ad96b6a9e5da.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1150],{39997:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(20107);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var l={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,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:i=2,absoluteStrokeWidth:c,className:u="",children:s,iconNode:f,...d}=e;return(0,n.createElement)("svg",{ref:t,...l,width:o,height:o,stroke:r,strokeWidth:c?24*Number(i)/Number(o):i,className:a("lucide",u),...d},[...f.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(s)?s:[s]])}),c=(e,t)=>{let r=(0,n.forwardRef)((r,l)=>{let{className:c,...u}=r;return(0,n.createElement)(i,{ref:l,iconNode:t,className:a("lucide-".concat(o(e)),c),...u})});return r.displayName="".concat(e),r}},98969:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},12607:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},94521:(e,t,r)=>{r.d(t,{m:()=>n});function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},21840:(e,t,r)=>{r.d(t,{b:()=>i});var n=r(20107),o=r(34544),a=r(20475),l=n.forwardRef((e,t)=>(0,a.jsx)(o.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));l.displayName="Label";var i=l},34544:(e,t,r)=>{r.d(t,{hO:()=>c,sG:()=>i});var n=r(20107),o=r(25642),a=r(61837),l=r(20475),i=["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,...o}=e,i=n?a.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function c(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},85692:(e,t,r)=>{r.d(t,{b:()=>u});var n=r(20107),o=r(94521),a=r(13061),l=r(34544),i=r(20475),c=n.forwardRef((e,t)=>{let{pressed:r,defaultPressed:n=!1,onPressedChange:c,...u}=e,[s=!1,f]=(0,a.i)({prop:r,onChange:c,defaultProp:n});return(0,i.jsx)(l.sG.button,{type:"button","aria-pressed":s,"data-state":s?"on":"off","data-disabled":e.disabled?"":void 0,...u,ref:t,onClick:(0,o.m)(e.onClick,()=>{e.disabled||f(!s)})})});c.displayName="Toggle";var u=c},46774:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(20107);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,r)=>{r.d(t,{i:()=>a});var n=r(20107),o=r(46774);function a({prop:e,defaultProp:t,onChange:r=()=>{}}){let[a,l]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[a]=r,l=n.useRef(a),i=(0,o.c)(t);return n.useEffect(()=>{l.current!==a&&(i(a),l.current=a)},[a,l,i]),r}({defaultProp:t,onChange:r}),i=void 0!==e,c=i?e:a,u=(0,o.c)(r);return[c,n.useCallback(t=>{if(i){let r="function"==typeof t?t(e):t;r!==e&&u(r)}else l(t)},[i,e,l,u])]}},45930:(e,t,r)=>{r.d(t,{k5:()=>s});var n=r(20107),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=n.createContext&&n.createContext(o),l=["attr","size","title"];function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement(f,i({attr:u({},e.attr)},t),function e(t){return t&&t.map((t,r)=>n.createElement(t.tag,u({key:r},t.attr),e(t.child)))}(e.child))}function f(e){var t=t=>{var r,{attr:o,size:a,title:c}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l),f=a||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,s,{className:r,style:u(u({color:e.color||t.color},t.style),e.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),c&&n.createElement("title",null,c),e.children)};return void 0!==a?n.createElement(a.Consumer,null,e=>t(e)):t(o)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1209-435bd73520aca6bb.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1209-6d7edd4420dc865e.js similarity index 65% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1209-435bd73520aca6bb.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1209-6d7edd4420dc865e.js index 60d9863..91adadf 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1209-435bd73520aca6bb.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1209-6d7edd4420dc865e.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1209],{87133:(e,t,s)=>{s.r(t),s.d(t,{default:()=>y});var a=s(20475),l=s(20107),r=s(72167),i=s(35601),o=s(42541),c=s(76554),n=s(64219),d=s(49153),u=s(77257),h=s(45934),m=s(29475),p=s(39997);let v=(0,p.A)("LockOpen",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);var g=s(52161),w=s(97801),x=s(32857),N=s(49573);let C=(0,p.A)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var f=s(98969);let j=(0,p.A)("Clock1",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 14.5 8",key:"12zbmj"}]]),b=(0,p.A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]),R=e=>{let{loading:t,scheduleData:s,onStartTimeChange:i,onEndTimeChange:c,onSchedulingToggle:u}=e,[h,p]=(0,l.useState)({text:"Disabled",color:"text-red-600",icon:C}),v=()=>{if(!s.enabled){p({text:"Disabled",color:"text-red-600",icon:C});return}let e=new Date,t=60*e.getHours()+e.getMinutes(),[a,l]=s.startTime.split(":").map(Number),[r,i]=s.endTime.split(":").map(Number),o=60*a+l,c=60*r+i;o<=c?t>=o&&t<=c?p({text:"Active",color:"text-green-600",icon:f.A}):p({text:"Inactive",color:"text-yellow-500",icon:j}):t>=o||t<=c?p({text:"Active",color:"text-green-600",icon:f.A}):p({text:"Inactive",color:"text-yellow-500",icon:j})},g=()=>{s.active?p({text:"Active",color:"text-green-600",icon:f.A}):s.enabled&&!s.active?p({text:"Inactive",color:"text-yellow-500",icon:j}):p({text:"Disabled",color:"text-red-600",icon:C})};(0,l.useEffect)(()=>{g();let e=setInterval(v,6e4);return()=>{clearInterval(e)}},[s]);let w=h.icon;return(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)(r.aR,{children:[(0,a.jsxs)(r.ZB,{className:"flex items-center justify-between",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{children:"Cell Locking Scheduler"})}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(w,{className:"h-4 w-4 mr-1 ".concat(h.color)}),(0,a.jsx)("div",{className:"text-sm text-gray-500",children:h.text})]})]}),(0,a.jsx)(r.BT,{children:"Schedule the device to lock to specific cells at certain times."})]}),(0,a.jsxs)(r.Wu,{children:[s.enabled&&(0,a.jsxs)(N.Fc,{className:"mb-6",children:[(0,a.jsx)(m.A,{className:"h-4 w-4",color:"orange"}),(0,a.jsx)(N.XL,{children:"Scheduled Cell Locking Active"}),(0,a.jsx)(N.TN,{children:"Cell locking is currently being managed by the scheduler. Manual changes to cell locks may be overridden during scheduled hours."})]}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"start-time",children:"Start Time"}),(0,a.jsx)(n.p,{type:"time",id:"start-time",value:s.startTime,onChange:e=>i(e.target.value),disabled:t||s.enabled,placeholder:"START TIME"})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"end-time",children:"End Time"}),(0,a.jsx)(n.p,{type:"time",id:"end-time",value:s.endTime,onChange:e=>c(e.target.value),disabled:t||s.enabled,placeholder:"END TIME"})]}),(0,a.jsx)("div",{className:"lg:col-span-2 col-span-1",children:(0,a.jsx)("p",{className:"text-sm text-gray-500",children:"Make sure to properly set the timezone using Luci for this to properly work. The scheduler will lock the device to the selected cells during the specified time range. The scheduler will not lock the device if the time range is not valid (e.g. start time is after end time)."})})]})]}),(0,a.jsx)(r.wL,{className:"border-t py-4",children:(0,a.jsxs)(o.$,{onClick:()=>u(!s.enabled),disabled:t||!s.locked&&!s.enabled,children:[(0,a.jsx)(b,{className:"h-4 w-4"}),s.enabled?"Disable Scheduler":"Enable Scheduler"]})})]})};var A=s(88926);let y=()=>{let{toast:e}=(0,x.dj)(),[t,s]=(0,l.useState)(!1),[p,N]=(0,l.useState)(!1),[C,f]=(0,l.useState)(!1),[j,b]=(0,l.useState)(!1),[y,E]=(0,l.useState)({enabled:!1,startTime:"",endTime:"",active:!1,status:"",message:"",locked:!1}),[k,T]=(0,l.useState)({EARFCN1:"",PCI1:"",EARFCN2:"",PCI2:"",EARFCN3:"",PCI3:""}),[F,P]=(0,l.useState)({NRARFCN:"",NRPCI:"",SCS:"",NRBAND:""}),S=e=>{let t=e.match(/\+QNWLOCK:\s*(.+?)\n/);return t?t[1].replace(/"/g,"").split(",").map(e=>e.trim()):null},I=async()=>{try{s(!0);let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=8"),t=await e.json();if(!e.ok)throw Error("Failed to fetch current status");console.log("Current cell locking status:",t);let a=S(t[2].response);console.log("Persist status:",a),a&&a.length>=2&&(f("1"===a[1]),b("1"===a[2]));let l=S(t[0].response);if(console.log("Current LTE lock status:",l),l){let e={EARFCN1:l[2],PCI1:l[3],EARFCN2:l[4],PCI2:l[5],EARFCN3:l[6],PCI3:l[7]};T(e),console.log("New LTE state:",e),parseInt(l[1])>0&&N(!0)}let r=S(t[1].response);if(console.log("Current NR5G lock status:",r),r&&r.length>=5){let e={NRPCI:r[1],NRARFCN:r[2],SCS:r[3],NRBAND:r[4]};P(e),console.log("New NR5G state:",e),parseInt(r[1])>0&&N(!0)}}catch(t){console.error("Error fetching current status:",t),e({title:"Error",description:"Failed to fetch current cell locking status",variant:"destructive"})}finally{s(!1)}},L=async t=>{try{let a;if(s(!0),t&&(!y.startTime||!y.endTime))throw Error("Please set both start and end times");let l=t?{enabled:!0,startTime:y.startTime,endTime:y.endTime}:{enabled:!1},r=await fetch("/cgi-bin/quecmanager/cell-locking/handle_scheduled_locking.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}),i=await r.text();if(!r.ok)throw Error("Server responded with status: ".concat(r.status));try{a=JSON.parse(i)}catch(e){throw Error("Failed to parse response: ".concat(i))}if("success"===a.status)E(e=>({...e,enabled:t})),e({title:"Success",description:t?"Cell locking schedule enabled":"Cell locking schedule disabled"});else throw Error(a.message||"Failed to update scheduling")}catch(e){}finally{s(!1),await I()}},_=async()=>{try{var t,a,l,r;s(!0);let i=[];if(k.EARFCN1&&k.PCI1&&i.push([k.EARFCN1,k.PCI1]),k.EARFCN2&&k.PCI2&&i.push([k.EARFCN2,k.PCI2]),k.EARFCN3&&k.PCI3&&i.push([k.EARFCN3,k.PCI3]),0===i.length)throw Error("Please fill at least one EARFCN and PCI pair");let o='AT+QNWLOCK="common/4g",'.concat(i.length);i.forEach(e=>{let[t,s]=e;o+=",".concat(t,",").concat(s)});let c=await (0,A.a)(o,!0);if((null===(t=c.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(l=c.response)||void 0===l?void 0:l.raw_output)||"Failed to lock LTE cells");await new Promise(e=>setTimeout(e,1e3));let n=await (0,A.a)('AT+QNWLOCK="save_ctrl",1,0',!0);if((null===(a=n.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(r=n.response)||void 0===r?void 0:r.raw_output)||"Failed to save LTE lock configuration");await I(),e({title:"Success",description:"LTE cells locked successfully with ".concat(i.length," pair").concat(i.length>1?"s":"")})}catch(t){s(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock LTE cells",variant:"destructive"})}},G=async()=>{try{var t,a,l,r;if(s(!0),!F.NRPCI||!F.NRARFCN||!F.SCS||!F.NRBAND)throw Error("Please fill all NR5G fields");let i='AT+QNWLOCK="common/5g",'.concat(F.NRPCI,",").concat(F.NRARFCN,",").concat(F.SCS,",").concat(F.NRBAND),o=await (0,A.a)(i,!0);if((null===(t=o.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(l=o.response)||void 0===l?void 0:l.raw_output)||"Failed to lock NR5G cell");await new Promise(e=>setTimeout(e,1e3));let c=await (0,A.a)('AT+QNWLOCK="save_ctrl",0,1',!0);if((null===(a=c.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(r=c.response)||void 0===r?void 0:r.raw_output)||"Failed to save NR5G lock configuration");await I(),e({title:"Success",description:"NR5G cell locked successfully"})}catch(t){s(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock NR5G cell",variant:"destructive"})}},D=async()=>{try{var t,a,l,r,i,o,c,n;s(!0);let d=await (0,A.a)('AT+QNWLOCK="common/4g",0',!0);if((null===(t=d.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(i=d.response)||void 0===i?void 0:i.raw_output)||"Failed to reset LTE lock");await new Promise(e=>setTimeout(e,1e3));let u=await (0,A.a)('AT+QNWLOCK="save_ctrl",0,0',!0);if((null===(a=u.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(o=u.response)||void 0===o?void 0:o.raw_output)||"Failed to save LTE reset configuration");let h=await (0,A.a)("AT+COPS=2",!0);if((null===(l=h.response)||void 0===l?void 0:l.status)!=="success")throw Error((null===(c=h.response)||void 0===c?void 0:c.raw_output)||"Failed to disconnect from network");await new Promise(e=>setTimeout(e,2e3));let m=await (0,A.a)("AT+COPS=0",!0);if((null===(r=m.response)||void 0===r?void 0:r.status)!=="success")throw Error((null===(n=m.response)||void 0===n?void 0:n.raw_output)||"Failed to reconnect to network");await I(),e({title:"Success",description:"LTE cell locking reset to default"})}catch(t){s(!1),e({title:"Error",description:"Failed to reset LTE cell locking",variant:"destructive"})}},O=async()=>{try{var t,a,l,r,i,o,c,n;s(!0);let d=await (0,A.a)('AT+QNWLOCK="common/5g",0',!0);if((null===(t=d.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(i=d.response)||void 0===i?void 0:i.raw_output)||"Failed to reset NR5G lock");let u=await (0,A.a)('AT+QNWLOCK="save_ctrl",0,0',!0);if((null===(a=u.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(o=u.response)||void 0===o?void 0:o.raw_output)||"Failed to save NR5G reset configuration");let h=await (0,A.a)("AT+COPS=2",!0);if((null===(l=h.response)||void 0===l?void 0:l.status)!=="success")throw Error((null===(c=h.response)||void 0===c?void 0:c.raw_output)||"Failed to disconnect from network");await new Promise(e=>setTimeout(e,2e3));let m=await (0,A.a)("AT+COPS=0",!0);if((null===(r=m.response)||void 0===r?void 0:r.status)!=="success")throw Error((null===(n=m.response)||void 0===n?void 0:n.raw_output)||"Failed to reconnect to network");await I(),e({title:"Success",description:"NR5G cell locking reset to default"})}catch(t){s(!1),e({title:"Error",description:"Failed to reset NR5G cell locking",variant:"destructive"})}},z=async t=>{try{var a,l;s(!0);let r=await (0,A.a)('AT+QNWLOCK="save_ctrl",'.concat(t?"1":"0",",").concat(j?"1":"0"),!0);if((null===(a=r.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(l=r.response)||void 0===l?void 0:l.raw_output)||"Failed to update LTE persist setting");await I(),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{s(!1)}},B=async t=>{try{var a,l;s(!0);let r=await (0,A.a)('AT+QNWLOCK="save_ctrl",'.concat(C?"1":"0",",").concat(t?"1":"0"),!0);if((null===(a=r.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(l=r.response)||void 0===l?void 0:l.raw_output)||"Failed to update NR5G persist setting");await I(),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{s(!1)}};return(0,l.useEffect)(()=>{(async()=>{let e=await fetch("/cgi-bin/quecmanager/cell-locking/get_cell_lock.sh"),t=await e.json();E({enabled:t.enabled,startTime:t.start_time||"",endTime:t.end_time||"",active:t.active,status:t.status,message:t.message,locked:t.locked}),N(t.locked),f("1"===t.ltePersist),b("1"===t.nr5gPersist),await I()})()},[]),(0,l.useEffect)(()=>{E(e=>({...e,locked:p}))},[p]),(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)(r.aR,{children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(r.ZB,{children:"4G LTE Cellular Locking"}),(0,a.jsx)(h.E,{children:p?(0,a.jsxs)("p",{className:"flex items-center gap-x-1",children:[(0,a.jsx)(m.A,{className:"h-3 w-3"}),"Locked"]}):(0,a.jsxs)("p",{className:"flex items-center gap-x-1",children:[(0,a.jsx)(v,{className:"h-3 w-3"}),"Unlocked"]})})]}),(0,a.jsx)(r.BT,{children:"Lock the device to specific LTE Physical Cell IDs."})]}),(0,a.jsx)(r.Wu,{children:(0,a.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 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)(d.J,{htmlFor:"EARFCN1",children:"EARFCN 1"}),(0,a.jsx)(n.p,{type:"text",id:"EARFCN1",placeholder:"EARFCN 1",value:k.EARFCN1,onChange:e=>T(t=>({...t,EARFCN1:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PCI1",children:"PCI 1"}),(0,a.jsx)(n.p,{type:"text",id:"PCI1",placeholder:"PCI 1",value:k.PCI1,onChange:e=>T(t=>({...t,PCI1:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsx)(c.w,{className:"my-1 col-span-2 w-full"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"EARFCN2",children:"EARFCN 2"}),(0,a.jsx)(n.p,{type:"text",id:"EARFCN2",placeholder:"EARFCN 2",value:k.EARFCN2,onChange:e=>T(t=>({...t,EARFCN2:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PCI2",children:"PCI 2"}),(0,a.jsx)(n.p,{type:"text",id:"PCI2",placeholder:"PCI 2",value:k.PCI2,onChange:e=>T(t=>({...t,PCI2:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsx)(c.w,{className:"my-1 col-span-2 w-full"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"EARFCN3",children:"EARFCN 3"}),(0,a.jsx)(n.p,{type:"text",id:"EARFCN3",placeholder:"EARFCN 3",value:k.EARFCN3,onChange:e=>T(t=>({...t,EARFCN3:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PCI3",children:"PCI 3"}),(0,a.jsx)(n.p,{type:"text",id:"PCI3",placeholder:"PCI 3",value:k.PCI3,onChange:e=>T(t=>({...t,PCI3:e.target.value})),disabled:t||y.enabled&&p})]})]})}),(0,a.jsxs)(r.wL,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,a.jsxs)(o.$,{onClick:_,disabled:t||y.enabled,children:[(0,a.jsx)(m.A,{className:"h-4 w-4"}),"Lock LTE Cells"]}),(0,a.jsxs)(u.l,{pressed:C,onPressedChange:z,disabled:t||y.enabled,children:[(0,a.jsx)(g.A,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,a.jsxs)(o.$,{variant:"secondary",onClick:D,disabled:t||y.enabled,children:[(0,a.jsx)(w.A,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)(r.aR,{children:[(0,a.jsx)(r.ZB,{children:"NR5G-SA Cellular Locking"}),(0,a.jsx)(r.BT,{children:"Lock the device to a specific NR5G-SA Physical Cell ID."})]}),(0,a.jsx)(r.Wu,{children:(0,a.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 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)(d.J,{htmlFor:"NR-ARFCN",children:"NR ARFCN"}),(0,a.jsx)(n.p,{type:"text",id:"NR-ARFCN",placeholder:"NR ARFCN",value:F.NRARFCN,onChange:e=>P(t=>({...t,NRARFCN:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"NR-PCI",children:"NR PCI"}),(0,a.jsx)(n.p,{type:"text",id:"NR-PCI",placeholder:"NR PCI",value:F.NRPCI,onChange:e=>P(t=>({...t,NRPCI:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsx)(c.w,{className:"my-0.5 col-span-2 w-full"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"SCS",children:"SCS"}),(0,a.jsxs)(i.l6,{value:F.SCS,onValueChange:e=>P(t=>({...t,SCS:e})),disabled:t||y.enabled&&p,children:[(0,a.jsx)(i.bq,{id:"SCS",children:(0,a.jsx)(i.yv,{placeholder:"SCS"})}),(0,a.jsx)(i.gC,{children:(0,a.jsxs)(i.s3,{children:[(0,a.jsx)(i.TR,{children:"SCS"}),(0,a.jsx)(i.eb,{value:"15",children:"15 kHz"}),(0,a.jsx)(i.eb,{value:"30",children:"30 kHz"}),(0,a.jsx)(i.eb,{value:"60",children:"60 kHz"}),(0,a.jsx)(i.eb,{value:"120",children:"120 kHz"}),(0,a.jsx)(i.eb,{value:"240",children:"240 kHz"})]})})]})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"NRBAND",children:"NR Band"}),(0,a.jsx)(n.p,{type:"text",id:"NRBAND",placeholder:"NR BAND",value:F.NRBAND,onChange:e=>P(t=>({...t,NRBAND:e.target.value})),disabled:t||y.enabled&&p})]})]})}),(0,a.jsxs)(r.wL,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,a.jsxs)(o.$,{onClick:G,disabled:t||y.enabled,children:[(0,a.jsx)(m.A,{className:"h-4 w-4"}),"Lock NR5G-SA Cell"]}),(0,a.jsxs)(u.l,{pressed:j,onPressedChange:B,disabled:t||y.enabled,children:[(0,a.jsx)(g.A,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,a.jsxs)(o.$,{variant:"secondary",onClick:O,disabled:t||y.enabled,children:[(0,a.jsx)(w.A,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,a.jsx)(R,{loading:t,scheduleData:y,onStartTimeChange:e=>{E(t=>({...t,startTime:e}))},onEndTimeChange:e=>{E(t=>({...t,endTime:e}))},onSchedulingToggle:L})]})}},77257:(e,t,s)=>{s.d(t,{l:()=>n,v:()=>c});var a=s(20475),l=s(20107),r=s(85692),i=s(29395),o=s(22250);let c=(0,i.F)("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{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-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),n=l.forwardRef((e,t)=>{let{className:s,variant:l,size:i,...n}=e;return(0,a.jsx)(r.b,{ref:t,className:(0,o.cn)(c({variant:l,size:i,className:s})),...n})});n.displayName=r.b.displayName},29475:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},88926:(e,t,s)=>{s.d(t,{a:()=>a});let a=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var a;let l=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),r=encodeURIComponent(l),i="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(r);t&&(i+="&wait=1&timeout=".concat(s));let o=await fetch(i,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*s+5e3)});if(!o.ok)throw Error("AT command failed with status: ".concat(o.status));let c=await o.json();if(c.error)throw Error("AT queue error: ".concat(c.error));if(t&&(null===(a=c.response)||void 0===a?void 0:a.status)==="timeout")throw Error("AT command timed out after ".concat(s," seconds"));return c}catch(e){throw console.error("AT Command error:",e),e}}},88853:(e,t,s)=>{s.d(t,{b:()=>n});var a=s(20107),l=s(34544),r=s(20475),i="horizontal",o=["horizontal","vertical"],c=a.forwardRef((e,t)=>{let{decorative:s,orientation:a=i,...c}=e,n=o.includes(a)?a:i;return(0,r.jsx)(l.sG.div,{"data-orientation":n,...s?{role:"none"}:{"aria-orientation":"vertical"===n?n:void 0,role:"separator"},...c,ref:t})});c.displayName="Separator";var n=c},85692:(e,t,s)=>{s.d(t,{b:()=>n});var a=s(20107),l=s(94521),r=s(13061),i=s(34544),o=s(20475),c=a.forwardRef((e,t)=>{let{pressed:s,defaultPressed:a=!1,onPressedChange:c,...n}=e,[d=!1,u]=(0,r.i)({prop:s,onChange:c,defaultProp:a});return(0,o.jsx)(i.sG.button,{type:"button","aria-pressed":d,"data-state":d?"on":"off","data-disabled":e.disabled?"":void 0,...n,ref:t,onClick:(0,l.m)(e.onClick,()=>{e.disabled||u(!d)})})});c.displayName="Toggle";var n=c}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1209],{87133:(e,t,s)=>{s.r(t),s.d(t,{default:()=>y});var a=s(20475),l=s(20107),r=s(72167),i=s(35601),o=s(42541),c=s(76554),n=s(64219),d=s(49153),u=s(77257),h=s(45934),m=s(29475),p=s(39997);let v=(0,p.A)("LockOpen",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);var g=s(52161),w=s(97801),x=s(32857),N=s(49573);let C=(0,p.A)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var f=s(98969);let j=(0,p.A)("Clock1",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 14.5 8",key:"12zbmj"}]]),b=(0,p.A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]),R=e=>{let{loading:t,scheduleData:s,onStartTimeChange:i,onEndTimeChange:c,onSchedulingToggle:u}=e,[h,p]=(0,l.useState)({text:"Disabled",color:"text-red-600",icon:C}),v=()=>{if(!s.enabled){p({text:"Disabled",color:"text-red-600",icon:C});return}let e=new Date,t=60*e.getHours()+e.getMinutes(),[a,l]=s.startTime.split(":").map(Number),[r,i]=s.endTime.split(":").map(Number),o=60*a+l,c=60*r+i;o<=c?t>=o&&t<=c?p({text:"Active",color:"text-green-600",icon:f.A}):p({text:"Inactive",color:"text-yellow-500",icon:j}):t>=o||t<=c?p({text:"Active",color:"text-green-600",icon:f.A}):p({text:"Inactive",color:"text-yellow-500",icon:j})},g=()=>{s.active?p({text:"Active",color:"text-green-600",icon:f.A}):s.enabled&&!s.active?p({text:"Inactive",color:"text-yellow-500",icon:j}):p({text:"Disabled",color:"text-red-600",icon:C})};(0,l.useEffect)(()=>{g();let e=setInterval(v,6e4);return()=>{clearInterval(e)}},[s]);let w=h.icon;return(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)(r.aR,{children:[(0,a.jsxs)(r.ZB,{className:"flex items-center justify-between",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{children:"Cell Locking Scheduler"})}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(w,{className:"h-4 w-4 mr-1 ".concat(h.color)}),(0,a.jsx)("div",{className:"text-sm text-gray-500",children:h.text})]})]}),(0,a.jsx)(r.BT,{children:"Schedule the device to lock to specific cells at certain times."})]}),(0,a.jsxs)(r.Wu,{children:[s.enabled&&(0,a.jsxs)(N.Fc,{className:"mb-6",children:[(0,a.jsx)(m.A,{className:"h-4 w-4",color:"orange"}),(0,a.jsx)(N.XL,{children:"Scheduled Cell Locking Active"}),(0,a.jsx)(N.TN,{children:"Cell locking is currently being managed by the scheduler. Manual changes to cell locks may be overridden during scheduled hours."})]}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"start-time",children:"Start Time"}),(0,a.jsx)(n.p,{type:"time",id:"start-time",value:s.startTime,onChange:e=>i(e.target.value),disabled:t||s.enabled,placeholder:"START TIME"})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"end-time",children:"End Time"}),(0,a.jsx)(n.p,{type:"time",id:"end-time",value:s.endTime,onChange:e=>c(e.target.value),disabled:t||s.enabled,placeholder:"END TIME"})]}),(0,a.jsx)("div",{className:"lg:col-span-2 col-span-1",children:(0,a.jsx)("p",{className:"text-sm text-gray-500",children:"Make sure to properly set the timezone using Luci for this to properly work. The scheduler will lock the device to the selected cells during the specified time range. The scheduler will not lock the device if the time range is not valid (e.g. start time is after end time)."})})]})]}),(0,a.jsx)(r.wL,{className:"border-t py-4",children:(0,a.jsxs)(o.$,{onClick:()=>u(!s.enabled),disabled:t||!s.locked&&!s.enabled,children:[(0,a.jsx)(b,{className:"h-4 w-4"}),s.enabled?"Disable Scheduler":"Enable Scheduler"]})})]})};var A=s(88926);let y=()=>{let{toast:e}=(0,x.dj)(),[t,s]=(0,l.useState)(!1),[p,N]=(0,l.useState)(!1),[C,f]=(0,l.useState)(!1),[j,b]=(0,l.useState)(!1),[y,E]=(0,l.useState)({enabled:!1,startTime:"",endTime:"",active:!1,status:"",message:"",locked:!1}),[k,T]=(0,l.useState)({EARFCN1:"",PCI1:"",EARFCN2:"",PCI2:"",EARFCN3:"",PCI3:""}),[F,P]=(0,l.useState)({NRARFCN:"",NRPCI:"",SCS:"",NRBAND:""}),S=e=>{let t=e.match(/\+QNWLOCK:\s*(.+?)\n/);return t?t[1].replace(/"/g,"").split(",").map(e=>e.trim()):null},I=async()=>{try{s(!0);let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=8"),t=await e.json();if(!e.ok)throw Error("Failed to fetch current status");console.log("Current cell locking status:",t);let a=S(t[2].response);console.log("Persist status:",a),a&&a.length>=2&&(f("1"===a[1]),b("1"===a[2]));let l=S(t[0].response);if(console.log("Current LTE lock status:",l),l){let e={EARFCN1:l[2],PCI1:l[3],EARFCN2:l[4],PCI2:l[5],EARFCN3:l[6],PCI3:l[7]};T(e),console.log("New LTE state:",e),parseInt(l[1])>0&&N(!0)}let r=S(t[1].response);if(console.log("Current NR5G lock status:",r),r&&r.length>=5){let e={NRPCI:r[1],NRARFCN:r[2],SCS:r[3],NRBAND:r[4]};P(e),console.log("New NR5G state:",e),parseInt(r[1])>0&&N(!0)}}catch(t){console.error("Error fetching current status:",t),e({title:"Error",description:"Failed to fetch current cell locking status",variant:"destructive"})}finally{s(!1)}},L=async t=>{try{let a;if(s(!0),t&&(!y.startTime||!y.endTime))throw Error("Please set both start and end times");let l=t?{enabled:!0,startTime:y.startTime,endTime:y.endTime}:{enabled:!1},r=await fetch("/cgi-bin/quecmanager/cell-locking/handle_scheduled_locking.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}),i=await r.text();if(!r.ok)throw Error("Server responded with status: ".concat(r.status));try{a=JSON.parse(i)}catch(e){throw Error("Failed to parse response: ".concat(i))}if("success"===a.status)E(e=>({...e,enabled:t})),e({title:"Success",description:t?"Cell locking schedule enabled":"Cell locking schedule disabled"});else throw Error(a.message||"Failed to update scheduling")}catch(e){}finally{s(!1),await I()}},_=async()=>{try{var t,a,l,r;s(!0);let i=[];if(k.EARFCN1&&k.PCI1&&i.push([k.EARFCN1,k.PCI1]),k.EARFCN2&&k.PCI2&&i.push([k.EARFCN2,k.PCI2]),k.EARFCN3&&k.PCI3&&i.push([k.EARFCN3,k.PCI3]),0===i.length)throw Error("Please fill at least one EARFCN and PCI pair");let o='AT+QNWLOCK="common/4g",'.concat(i.length);i.forEach(e=>{let[t,s]=e;o+=",".concat(t,",").concat(s)});let c=await (0,A.a)(o,!0);if((null===(t=c.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(l=c.response)||void 0===l?void 0:l.raw_output)||"Failed to lock LTE cells");await new Promise(e=>setTimeout(e,1e3));let n=await (0,A.a)('AT+QNWLOCK="save_ctrl",1,0',!0);if((null===(a=n.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(r=n.response)||void 0===r?void 0:r.raw_output)||"Failed to save LTE lock configuration");await I(),e({title:"Success",description:"LTE cells locked successfully with ".concat(i.length," pair").concat(i.length>1?"s":"")})}catch(t){s(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock LTE cells",variant:"destructive"})}},G=async()=>{try{var t,a,l,r;if(s(!0),!F.NRPCI||!F.NRARFCN||!F.SCS||!F.NRBAND)throw Error("Please fill all NR5G fields");let i='AT+QNWLOCK="common/5g",'.concat(F.NRPCI,",").concat(F.NRARFCN,",").concat(F.SCS,",").concat(F.NRBAND),o=await (0,A.a)(i,!0);if((null===(t=o.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(l=o.response)||void 0===l?void 0:l.raw_output)||"Failed to lock NR5G cell");await new Promise(e=>setTimeout(e,1e3));let c=await (0,A.a)('AT+QNWLOCK="save_ctrl",0,1',!0);if((null===(a=c.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(r=c.response)||void 0===r?void 0:r.raw_output)||"Failed to save NR5G lock configuration");await I(),e({title:"Success",description:"NR5G cell locked successfully"})}catch(t){s(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock NR5G cell",variant:"destructive"})}},D=async()=>{try{var t,a,l,r,i,o,c,n;s(!0);let d=await (0,A.a)('AT+QNWLOCK="common/4g",0',!0);if((null===(t=d.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(i=d.response)||void 0===i?void 0:i.raw_output)||"Failed to reset LTE lock");await new Promise(e=>setTimeout(e,1e3));let u=await (0,A.a)('AT+QNWLOCK="save_ctrl",0,0',!0);if((null===(a=u.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(o=u.response)||void 0===o?void 0:o.raw_output)||"Failed to save LTE reset configuration");let h=await (0,A.a)("AT+COPS=2",!0);if((null===(l=h.response)||void 0===l?void 0:l.status)!=="success")throw Error((null===(c=h.response)||void 0===c?void 0:c.raw_output)||"Failed to disconnect from network");await new Promise(e=>setTimeout(e,2e3));let m=await (0,A.a)("AT+COPS=0",!0);if((null===(r=m.response)||void 0===r?void 0:r.status)!=="success")throw Error((null===(n=m.response)||void 0===n?void 0:n.raw_output)||"Failed to reconnect to network");await I(),e({title:"Success",description:"LTE cell locking reset to default"})}catch(t){s(!1),e({title:"Error",description:"Failed to reset LTE cell locking",variant:"destructive"})}},O=async()=>{try{var t,a,l,r,i,o,c,n;s(!0);let d=await (0,A.a)('AT+QNWLOCK="common/5g",0',!0);if((null===(t=d.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(i=d.response)||void 0===i?void 0:i.raw_output)||"Failed to reset NR5G lock");let u=await (0,A.a)('AT+QNWLOCK="save_ctrl",0,0',!0);if((null===(a=u.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(o=u.response)||void 0===o?void 0:o.raw_output)||"Failed to save NR5G reset configuration");let h=await (0,A.a)("AT+COPS=2",!0);if((null===(l=h.response)||void 0===l?void 0:l.status)!=="success")throw Error((null===(c=h.response)||void 0===c?void 0:c.raw_output)||"Failed to disconnect from network");await new Promise(e=>setTimeout(e,2e3));let m=await (0,A.a)("AT+COPS=0",!0);if((null===(r=m.response)||void 0===r?void 0:r.status)!=="success")throw Error((null===(n=m.response)||void 0===n?void 0:n.raw_output)||"Failed to reconnect to network");await I(),e({title:"Success",description:"NR5G cell locking reset to default"})}catch(t){s(!1),e({title:"Error",description:"Failed to reset NR5G cell locking",variant:"destructive"})}},z=async t=>{try{var a,l;s(!0);let r=await (0,A.a)('AT+QNWLOCK="save_ctrl",'.concat(t?"1":"0",",").concat(j?"1":"0"),!0);if((null===(a=r.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(l=r.response)||void 0===l?void 0:l.raw_output)||"Failed to update LTE persist setting");await I(),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{s(!1)}},B=async t=>{try{var a,l;s(!0);let r=await (0,A.a)('AT+QNWLOCK="save_ctrl",'.concat(C?"1":"0",",").concat(t?"1":"0"),!0);if((null===(a=r.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(l=r.response)||void 0===l?void 0:l.raw_output)||"Failed to update NR5G persist setting");await I(),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{s(!1)}};return(0,l.useEffect)(()=>{(async()=>{let e=await fetch("/cgi-bin/quecmanager/cell-locking/get_cell_lock.sh"),t=await e.json();E({enabled:t.enabled,startTime:t.start_time||"",endTime:t.end_time||"",active:t.active,status:t.status,message:t.message,locked:t.locked}),N(t.locked),f("1"===t.ltePersist),b("1"===t.nr5gPersist),await I()})()},[]),(0,l.useEffect)(()=>{E(e=>({...e,locked:p}))},[p]),(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)(r.aR,{children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(r.ZB,{children:"4G LTE Cellular Locking"}),(0,a.jsx)(h.E,{children:p?(0,a.jsxs)("p",{className:"flex items-center gap-x-1",children:[(0,a.jsx)(m.A,{className:"h-3 w-3"}),"Locked"]}):(0,a.jsxs)("p",{className:"flex items-center gap-x-1",children:[(0,a.jsx)(v,{className:"h-3 w-3"}),"Unlocked"]})})]}),(0,a.jsx)(r.BT,{children:"Lock the device to specific LTE Physical Cell IDs."})]}),(0,a.jsx)(r.Wu,{children:(0,a.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 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)(d.J,{htmlFor:"EARFCN1",children:"EARFCN 1"}),(0,a.jsx)(n.p,{type:"text",id:"EARFCN1",placeholder:"EARFCN 1",value:k.EARFCN1,onChange:e=>T(t=>({...t,EARFCN1:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PCI1",children:"PCI 1"}),(0,a.jsx)(n.p,{type:"text",id:"PCI1",placeholder:"PCI 1",value:k.PCI1,onChange:e=>T(t=>({...t,PCI1:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsx)(c.Separator,{className:"my-1 col-span-2 w-full"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"EARFCN2",children:"EARFCN 2"}),(0,a.jsx)(n.p,{type:"text",id:"EARFCN2",placeholder:"EARFCN 2",value:k.EARFCN2,onChange:e=>T(t=>({...t,EARFCN2:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PCI2",children:"PCI 2"}),(0,a.jsx)(n.p,{type:"text",id:"PCI2",placeholder:"PCI 2",value:k.PCI2,onChange:e=>T(t=>({...t,PCI2:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsx)(c.Separator,{className:"my-1 col-span-2 w-full"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"EARFCN3",children:"EARFCN 3"}),(0,a.jsx)(n.p,{type:"text",id:"EARFCN3",placeholder:"EARFCN 3",value:k.EARFCN3,onChange:e=>T(t=>({...t,EARFCN3:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PCI3",children:"PCI 3"}),(0,a.jsx)(n.p,{type:"text",id:"PCI3",placeholder:"PCI 3",value:k.PCI3,onChange:e=>T(t=>({...t,PCI3:e.target.value})),disabled:t||y.enabled&&p})]})]})}),(0,a.jsxs)(r.wL,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,a.jsxs)(o.$,{onClick:_,disabled:t||y.enabled,children:[(0,a.jsx)(m.A,{className:"h-4 w-4"}),"Lock LTE Cells"]}),(0,a.jsxs)(u.l,{pressed:C,onPressedChange:z,disabled:t||y.enabled,children:[(0,a.jsx)(g.A,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,a.jsxs)(o.$,{variant:"secondary",onClick:D,disabled:t||y.enabled,children:[(0,a.jsx)(w.A,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)(r.aR,{children:[(0,a.jsx)(r.ZB,{children:"NR5G-SA Cellular Locking"}),(0,a.jsx)(r.BT,{children:"Lock the device to a specific NR5G-SA Physical Cell ID."})]}),(0,a.jsx)(r.Wu,{children:(0,a.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 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)(d.J,{htmlFor:"NR-ARFCN",children:"NR ARFCN"}),(0,a.jsx)(n.p,{type:"text",id:"NR-ARFCN",placeholder:"NR ARFCN",value:F.NRARFCN,onChange:e=>P(t=>({...t,NRARFCN:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"NR-PCI",children:"NR PCI"}),(0,a.jsx)(n.p,{type:"text",id:"NR-PCI",placeholder:"NR PCI",value:F.NRPCI,onChange:e=>P(t=>({...t,NRPCI:e.target.value})),disabled:t||y.enabled&&p})]}),(0,a.jsx)(c.Separator,{className:"my-0.5 col-span-2 w-full"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"SCS",children:"SCS"}),(0,a.jsxs)(i.l6,{value:F.SCS,onValueChange:e=>P(t=>({...t,SCS:e})),disabled:t||y.enabled&&p,children:[(0,a.jsx)(i.bq,{id:"SCS",children:(0,a.jsx)(i.yv,{placeholder:"SCS"})}),(0,a.jsx)(i.gC,{children:(0,a.jsxs)(i.s3,{children:[(0,a.jsx)(i.TR,{children:"SCS"}),(0,a.jsx)(i.eb,{value:"15",children:"15 kHz"}),(0,a.jsx)(i.eb,{value:"30",children:"30 kHz"}),(0,a.jsx)(i.eb,{value:"60",children:"60 kHz"}),(0,a.jsx)(i.eb,{value:"120",children:"120 kHz"}),(0,a.jsx)(i.eb,{value:"240",children:"240 kHz"})]})})]})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"NRBAND",children:"NR Band"}),(0,a.jsx)(n.p,{type:"text",id:"NRBAND",placeholder:"NR BAND",value:F.NRBAND,onChange:e=>P(t=>({...t,NRBAND:e.target.value})),disabled:t||y.enabled&&p})]})]})}),(0,a.jsxs)(r.wL,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,a.jsxs)(o.$,{onClick:G,disabled:t||y.enabled,children:[(0,a.jsx)(m.A,{className:"h-4 w-4"}),"Lock NR5G-SA Cell"]}),(0,a.jsxs)(u.l,{pressed:j,onPressedChange:B,disabled:t||y.enabled,children:[(0,a.jsx)(g.A,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,a.jsxs)(o.$,{variant:"secondary",onClick:O,disabled:t||y.enabled,children:[(0,a.jsx)(w.A,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,a.jsx)(R,{loading:t,scheduleData:y,onStartTimeChange:e=>{E(t=>({...t,startTime:e}))},onEndTimeChange:e=>{E(t=>({...t,endTime:e}))},onSchedulingToggle:L})]})}},77257:(e,t,s)=>{s.d(t,{l:()=>n,v:()=>c});var a=s(20475),l=s(20107),r=s(85692),i=s(29395),o=s(22250);let c=(0,i.F)("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{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-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),n=l.forwardRef((e,t)=>{let{className:s,variant:l,size:i,...n}=e;return(0,a.jsx)(r.b,{ref:t,className:(0,o.cn)(c({variant:l,size:i,className:s})),...n})});n.displayName=r.b.displayName},29475:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},88926:(e,t,s)=>{s.d(t,{a:()=>a});let a=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var a;let l=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),r=encodeURIComponent(l),i="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(r);t&&(i+="&wait=1&timeout=".concat(s));let o=await fetch(i,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*s+5e3)});if(!o.ok)throw Error("AT command failed with status: ".concat(o.status));let c=await o.json();if(c.error)throw Error("AT queue error: ".concat(c.error));if(t&&(null===(a=c.response)||void 0===a?void 0:a.status)==="timeout")throw Error("AT command timed out after ".concat(s," seconds"));return c}catch(e){throw console.error("AT Command error:",e),e}}},88853:(e,t,s)=>{s.d(t,{b:()=>n});var a=s(20107),l=s(34544),r=s(20475),i="horizontal",o=["horizontal","vertical"],c=a.forwardRef((e,t)=>{let{decorative:s,orientation:a=i,...c}=e,n=o.includes(a)?a:i;return(0,r.jsx)(l.sG.div,{"data-orientation":n,...s?{role:"none"}:{"aria-orientation":"vertical"===n?n:void 0,role:"separator"},...c,ref:t})});c.displayName="Separator";var n=c},85692:(e,t,s)=>{s.d(t,{b:()=>n});var a=s(20107),l=s(94521),r=s(13061),i=s(34544),o=s(20475),c=a.forwardRef((e,t)=>{let{pressed:s,defaultPressed:a=!1,onPressedChange:c,...n}=e,[d=!1,u]=(0,r.i)({prop:s,onChange:c,defaultProp:a});return(0,o.jsx)(i.sG.button,{type:"button","aria-pressed":d,"data-state":d?"on":"off","data-disabled":e.disabled?"":void 0,...n,ref:t,onClick:(0,l.m)(e.onClick,()=>{e.disabled||u(!d)})})});c.displayName="Toggle";var n=c}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1258-d8581095ee7eff72.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1258-d8581095ee7eff72.js deleted file mode 100644 index 70f4bbb..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1258-d8581095ee7eff72.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1258],{64236:(e,r,o)=>{o.d(r,{s:()=>l,t:()=>n});var t=o(20107);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)}},61837:(e,r,o)=>{o.d(r,{DX:()=>s,xV:()=>a});var t=o(20107),n=o(64236),l=o(20475),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=function(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(o);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.t)(r,e):e})}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}},29395:(e,r,o)=>{o.d(r,{F:()=>l});let t=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,r,o=0,t="";oo=>{var l;if((null==r?void 0:r.variants)==null)return n(e,null==o?void 0:o.class,null==o?void 0:o.className);let{variants:s,defaultVariants:i}=r,a=Object.keys(s).map(e=>{let r=null==o?void 0:o[e],n=null==i?void 0:i[e];if(null===r)return null;let l=t(r)||t(n);return s[e][l]}),d=o&&Object.entries(o).reduce((e,r)=>{let[o,t]=r;return void 0===t||(e[o]=t),e},{});return n(e,a,null==r?void 0:null===(l=r.compoundVariants)||void 0===l?void 0:l.reduce((e,r)=>{let{class:o,className:t,...n}=r;return Object.entries(n).every(e=>{let[r,o]=e;return Array.isArray(o)?o.includes({...i,...d}[r]):({...i,...d})[r]===o})?[...e,o,t]:e},[]),null==o?void 0:o.class,null==o?void 0:o.className)}},64901:(e,r,o)=>{function t(){for(var e,r,o=0,t="",n=arguments.length;ot,A:()=>n});let n=t},868:(e,r,o)=>{o.d(r,{QP:()=>J});let t=e=>{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))\(.+\)$/,N=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,S=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>G(e)||z.has(e)||k.test(e),O=e=>B(e,"length",Q),G=e=>!!e&&!Number.isNaN(Number(e)),R=e=>B(e,"number",G),A=e=>!!e&&Number.isInteger(Number(e)),W=e=>e.endsWith("%")&&G(e.slice(0,-1)),$=e=>w.test(e),M=e=>j.test(e),I=new Set(["length","size","percentage"]),V=e=>B(e,I,X),_=e=>B(e,"position",X),D=new Set(["image","url"]),T=e=>B(e,D,H),q=e=>B(e,"",Z),F=()=>!0,B=(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]))},Q=e=>C.test(e)&&!E.test(e),X=()=>!1,Z=e=>N.test(e),H=e=>S.test(e);Symbol.toStringTag;let J=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=x("colors"),r=x("spacing"),o=x("blur"),t=x("brightness"),n=x("borderColor"),l=x("borderRadius"),s=x("borderSpacing"),i=x("borderWidth"),a=x("contrast"),d=x("grayscale"),c=x("hueRotate"),p=x("invert"),u=x("gap"),b=x("gradientColorStops"),f=x("gradientColorStopPositions"),m=x("inset"),g=x("margin"),h=x("opacity"),y=x("padding"),v=x("saturate"),w=x("scale"),k=x("sepia"),z=x("skew"),j=x("space"),C=x("translate"),E=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto",$,r],I=()=>[$,r],D=()=>["",P,O],B=()=>["auto",G,$],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],H=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",$],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[G,$];return{cacheSize:500,separator:":",theme:{colors:[F],spacing:[P,O],blur:["none","",M,$],brightness:L(),borderColor:[e],borderRadius:["none","","full",M,$],borderSpacing:I(),borderWidth:D(),contrast:L(),grayscale:J(),hueRotate:L(),invert:J(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[W,O],inset:S(),margin:S(),opacity:L(),padding:I(),saturate:L(),scale:L(),sepia:J(),skew:L(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",$]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"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:[...Q(),$]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],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",A,$]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",$]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",A,$]}],"grid-cols":[{"grid-cols":[F]}],"col-start-end":[{col:["auto",{span:["full",A,$]},$]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[F]}],"row-start-end":[{row:["auto",{span:[A,$]},$]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"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",...H()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...H(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...H(),"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:[M]},M]}],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",M,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",R]}],"font-family":[{font:[F]}],"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",G,R]}],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:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,O]}],"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:I()}],"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:[...Q(),_]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",V]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},T]}],"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:[...X(),"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:X()}],"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:["",...X()]}],"outline-offset":[{"outline-offset":[P,$]}],"outline-w":[{outline:[P,O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[P,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,q]}],"shadow-color":[{shadow:[F]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[t]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",M,$]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[v]}],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":[v]}],"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:L()}],ease:[{ease:["linear","in","out","in-out",$]}],delay:[{delay:L()}],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:[A,$]}],"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":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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,O,R]}],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/1318-767d278b8ca60a2b.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1318-767d278b8ca60a2b.js deleted file mode 100644 index 38aced9..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1318-767d278b8ca60a2b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1318],{16118:(e,t,n)=>{var r=n(65834);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}})},9477:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let r=n(67342),o=n(20475),u=r._(n(20107)),a=n(91004),l=n(32618),f=n(62044),i=n(23093),c=n(91297),s=n(77554),d=n(95376);function p(e,t,n){"undefined"!=typeof window&&(async()=>e.prefetch(t,n))().catch(e=>{})}function h(e){return"string"==typeof e?e:(0,a.formatUrl)(e)}n(20339);let y=u.default.forwardRef(function(e,t){let n,r;let{href:a,as:y,children:g,prefetch:b=null,passHref:m,replace:P,shallow:_,scroll:v,onClick:E,onMouseEnter:j,onTouchStart:O,legacyBehavior:M=!1,...C}=e;n=g,M&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let k=u.default.useContext(l.AppRouterContext),w=!1!==b,I=null===b?i.PrefetchKind.AUTO:i.PrefetchKind.FULL,{href:x,as:R}=u.default.useMemo(()=>{let e=h(a);return{href:e,as:y?h(y):e}},[a,y]),S=u.default.useRef(x),T=u.default.useRef(R);M&&(r=u.default.Children.only(n));let N=M?r&&"object"==typeof r&&r.ref:t,[A,U,F]=(0,f.useIntersection)({rootMargin:"200px"}),L=u.default.useCallback(e=>{(T.current!==R||S.current!==x)&&(F(),T.current=R,S.current=x),A(e)},[R,x,F,A]),K=(0,c.useMergedRef)(L,N);u.default.useEffect(()=>{k&&U&&w&&p(k,x,{kind:I})},[R,x,U,w,k,I]);let q={ref:K,onClick(e){M||"function"!=typeof E||E(e),M&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),k&&!e.defaultPrevented&&function(e,t,n,r,o,a,l){let{nodeName:f}=e.currentTarget;"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)||(e.preventDefault(),u.default.startTransition(()=>{let e=null==l||l;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:a,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})}))}(e,k,x,R,P,_,v)},onMouseEnter(e){M||"function"!=typeof j||j(e),M&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),k&&w&&p(k,x,{kind:I})},onTouchStart:function(e){M||"function"!=typeof O||O(e),M&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),k&&w&&p(k,x,{kind:I})}};return(0,s.isAbsoluteUrl)(R)?q.href=R:M&&!m&&("a"!==r.type||"href"in r.props)||(q.href=(0,d.addBasePath)(R)),M?u.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)},64803:(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)},62044:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return f}});let r=n(20107),o=n(64803),u="function"==typeof IntersectionObserver,a=new Map,l=[];function f(e){let{rootRef:t,rootMargin:n,disabled:f}=e,i=f||!u,[c,s]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(u){if(i||c)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:u}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=l.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},l.push(n),a.set(n,t),t}(n);return u.set(e,t),o.observe(e),function(){if(u.delete(e),o.unobserve(e),0===u.size){o.disconnect(),a.delete(r);let e=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&s(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,o.requestIdleCallback)(()=>s(!0));return()=>(0,o.cancelIdleCallback)(e)}},[i,n,t,c,d.current]),[p,c,(0,r.useCallback)(()=>{s(!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)},91297:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let r=n(20107);function o(e,t){let n=(0,r.useRef)(()=>{}),o=(0,r.useRef)(()=>{});return(0,r.useMemo)(()=>e&&t?r=>{null===r?(n.current(),o.current()):(n.current=u(e,r),o.current=u(t,r))}:e||t,[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(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)},91004:(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 u},formatWithValidation:function(){return l},urlObjectKeys:function(){return a}});let r=n(62599)._(n(32580)),o=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:n}=e,u=e.protocol||"",a=e.pathname||"",l=e.hash||"",f=e.query||"",i=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?i=t+e.host:n&&(i=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(i+=":"+e.port)),f&&"object"==typeof f&&(f=String(r.urlQueryToSearchParams(f)));let c=e.search||f&&"?"+f||"";return u&&!u.endsWith(":")&&(u+=":"),e.slashes||(!u||o.test(u))&&!1!==i?(i="//"+(i||""),a&&"/"!==a[0]&&(a="/"+a)):i||(i=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),""+u+i+(a=a.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+l}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return u(e)}},32580:(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 u(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 u},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}})},77554:(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 m},MissingStaticPage:function(){return b},NormalizeError:function(){return y},PageNotFoundError:function(){return g},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return n},execOnce:function(){return r},getDisplayName:function(){return f},getLocationOrigin:function(){return a},getURL:function(){return l},isAbsoluteUrl:function(){return u},isResSent:function(){return i},loadGetInitialProps:function(){return s},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return P}});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),u=0;uo.test(e);function a(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function l(){let{href:e}=window.location,t=a();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function i(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 s(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await s(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&i(n))return r;if(!r)throw Error('"'+f(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 y extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class b extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class m extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(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/1630-ef39e3282b1968a7.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1630-ef39e3282b1968a7.js new file mode 100644 index 0000000..3cba205 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1630-ef39e3282b1968a7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1630],{39997:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(20107);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),u=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:l=2,absoluteStrokeWidth:a,className:s="",children:c,iconNode:d,...f}=e;return(0,n.createElement)("svg",{ref:t,...i,width:o,height:o,stroke:r,strokeWidth:a?24*Number(l)/Number(o):l,className:u("lucide",s),...f},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),a=(e,t)=>{let r=(0,n.forwardRef)((r,i)=>{let{className:a,...s}=r;return(0,n.createElement)(l,{ref:i,iconNode:t,className:u("lucide-".concat(o(e)),a),...s})});return r.displayName="".concat(e),r}},29475:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},94521:(e,t,r)=>{r.d(t,{m:()=>n});function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},45170:(e,t,r)=>{r.d(t,{A:()=>i,q:()=>u});var n=r(20107),o=r(20475);function u(e,t){let r=n.createContext(t),u=e=>{let{children:t,...u}=e,i=n.useMemo(()=>u,Object.values(u));return(0,o.jsx)(r.Provider,{value:i,children:t})};return u.displayName=e+"Provider",[u,function(o){let u=n.useContext(r);if(u)return u;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function i(e,t=[]){let r=[],u=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return u.scopeName=e,[function(t,u){let i=n.createContext(u),l=r.length;r=[...r,u];let a=t=>{let{scope:r,children:u,...a}=t,s=r?.[e]?.[l]||i,c=n.useMemo(()=>a,Object.values(a));return(0,o.jsx)(s.Provider,{value:c,children:u})};return a.displayName=t+"Provider",[a,function(r,o){let a=o?.[e]?.[l]||i,s=n.useContext(a);if(s)return s;if(void 0!==u)return u;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(u,...t)]}},34544:(e,t,r)=>{r.d(t,{hO:()=>a,sG:()=>l});var n=r(20107),o=r(25642),u=r(61837),i=r(20475),l=["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,...o}=e,l=n?u.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function a(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},80982:(e,t,r)=>{r.d(t,{bL:()=>x,zi:()=>N});var n=r(20107),o=r(94521),u=r(64236),i=r(45170),l=r(13061),a=r(65163),s=r(63620),c=r(34544),d=r(20475),f="Switch",[v,p]=(0,i.A)(f),[h,m]=v(f),b=n.forwardRef((e,t)=>{let{__scopeSwitch:r,name:i,checked:a,defaultChecked:s,required:f,disabled:v,value:p="on",onCheckedChange:m,form:b,...y}=e,[w,x]=n.useState(null),N=(0,u.s)(t,e=>x(e)),j=n.useRef(!1),A=!w||b||!!w.closest("form"),[E=!1,C]=(0,l.i)({prop:a,defaultProp:s,onChange:m});return(0,d.jsxs)(h,{scope:r,checked:E,disabled:v,children:[(0,d.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":E,"aria-required":f,"data-state":g(E),"data-disabled":v?"":void 0,disabled:v,value:p,...y,ref:N,onClick:(0,o.m)(e.onClick,e=>{C(e=>!e),A&&(j.current=e.isPropagationStopped(),j.current||e.stopPropagation())})}),A&&(0,d.jsx)(k,{control:w,bubbles:!j.current,name:i,value:p,checked:E,required:f,disabled:v,form:b,style:{transform:"translateX(-100%)"}})]})});b.displayName=f;var y="SwitchThumb",w=n.forwardRef((e,t)=>{let{__scopeSwitch:r,...n}=e,o=m(y,r);return(0,d.jsx)(c.sG.span,{"data-state":g(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});w.displayName=y;var k=e=>{let{control:t,checked:r,bubbles:o=!0,...u}=e,i=n.useRef(null),l=(0,a.Z)(r),c=(0,s.X)(t);return n.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(l!==r&&t){let n=new Event("click",{bubbles:o});t.call(e,r),e.dispatchEvent(n)}},[l,r,o]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...u,tabIndex:-1,ref:i,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function g(e){return e?"checked":"unchecked"}var x=b,N=w},46774:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(20107);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,r)=>{r.d(t,{i:()=>u});var n=r(20107),o=r(46774);function u({prop:e,defaultProp:t,onChange:r=()=>{}}){let[u,i]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[u]=r,i=n.useRef(u),l=(0,o.c)(t);return n.useEffect(()=>{i.current!==u&&(l(u),i.current=u)},[u,i,l]),r}({defaultProp:t,onChange:r}),l=void 0!==e,a=l?e:u,s=(0,o.c)(r);return[a,n.useCallback(t=>{if(l){let r="function"==typeof t?t(e):t;r!==e&&s(r)}else i(t)},[l,e,i,s])]}},54122:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(20107),o=globalThis?.document?n.useLayoutEffect:()=>{}},65163:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(20107);function o(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])}},63620:(e,t,r)=>{r.d(t,{X:()=>u});var n=r(20107),o=r(54122);function u(e){let[t,r]=n.useState(void 0);return(0,o.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let u=t[0];if("borderBoxSize"in u){let e=u.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},29395:(e,t,r)=>{r.d(t,{F:()=>u});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,r=0,n="";rr=>{var u;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:l}=t,a=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],o=null==l?void 0:l[e];if(null===t)return null;let u=n(t)||n(o);return i[e][u]}),s=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,a,null==t?void 0:null===(u=t.compoundVariants)||void 0===u?void 0:u.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...s}[t]):({...l,...s})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/241-87951836d46a7543.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/241-87951836d46a7543.js new file mode 100644 index 0000000..0e1b111 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/241-87951836d46a7543.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[241],{60241:(e,n,t)=>{t.d(n,{G$:()=>J,Hs:()=>O,UC:()=>en,VY:()=>er,ZL:()=>Q,bL:()=>$,bm:()=>eo,hE:()=>et,hJ:()=>ee,l9:()=>z});var r=t(20107),o=t(94521),i=t(64236),a=t(45170),l=t(72763),s=t(13061),u=t(55302),d=t(38573),c=t(41913),f=t(54245),p=t(34544),m=t(10201),g=t(9543),v=t(58020),N=t(61837),y=t(20475),D="Dialog",[h,O]=(0,a.A)(D),[R,w]=h(D),C=e=>{let{__scopeDialog:n,children:t,open:o,defaultOpen:i,onOpenChange:a,modal:u=!0}=e,d=r.useRef(null),c=r.useRef(null),[f=!1,p]=(0,s.i)({prop:o,defaultProp:i,onChange:a});return(0,y.jsx)(R,{scope:n,triggerRef:d,contentRef:c,contentId:(0,l.B)(),titleId:(0,l.B)(),descriptionId:(0,l.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:u,children:t})};C.displayName=D;var I="DialogTrigger",b=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,a=w(I,t),l=(0,i.s)(n,a.triggerRef);return(0,y.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Z(a.open),...r,ref:l,onClick:(0,o.m)(e.onClick,a.onOpenToggle)})});b.displayName=I;var E="DialogPortal",[j,x]=h(E,{forceMount:void 0}),_=e=>{let{__scopeDialog:n,forceMount:t,children:o,container:i}=e,a=w(E,n);return(0,y.jsx)(j,{scope:n,forceMount:t,children:r.Children.map(o,e=>(0,y.jsx)(f.C,{present:t||a.open,children:(0,y.jsx)(c.Z,{asChild:!0,container:i,children:e})}))})};_.displayName=E;var M="DialogOverlay",T=r.forwardRef((e,n)=>{let t=x(M,e.__scopeDialog),{forceMount:r=t.forceMount,...o}=e,i=w(M,e.__scopeDialog);return i.modal?(0,y.jsx)(f.C,{present:r||i.open,children:(0,y.jsx)(A,{...o,ref:n})}):null});T.displayName=M;var A=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,o=w(M,t);return(0,y.jsx)(g.A,{as:N.DX,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(p.sG.div,{"data-state":Z(o.open),...r,ref:n,style:{pointerEvents:"auto",...r.style}})})}),F="DialogContent",P=r.forwardRef((e,n)=>{let t=x(F,e.__scopeDialog),{forceMount:r=t.forceMount,...o}=e,i=w(F,e.__scopeDialog);return(0,y.jsx)(f.C,{present:r||i.open,children:i.modal?(0,y.jsx)(U,{...o,ref:n}):(0,y.jsx)(k,{...o,ref:n})})});P.displayName=F;var U=r.forwardRef((e,n)=>{let t=w(F,e.__scopeDialog),a=r.useRef(null),l=(0,i.s)(n,t.contentRef,a);return r.useEffect(()=>{let e=a.current;if(e)return(0,v.Eq)(e)},[]),(0,y.jsx)(L,{...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=w(F,e.__scopeDialog),o=r.useRef(!1),i=r.useRef(!1);return(0,y.jsx)(L,{...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()}})}),L=r.forwardRef((e,n)=>{let{__scopeDialog:t,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:l,...s}=e,c=w(F,t),f=r.useRef(null),p=(0,i.s)(n,f);return(0,m.Oh)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(d.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:l,children:(0,y.jsx)(u.qW,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Z(c.open),...s,ref:p,onDismiss:()=>c.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(X,{titleId:c.titleId}),(0,y.jsx)(Y,{contentRef:f,descriptionId:c.descriptionId})]})]})}),W="DialogTitle",S=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,o=w(W,t);return(0,y.jsx)(p.sG.h2,{id:o.titleId,...r,ref:n})});S.displayName=W;var G="DialogDescription",B=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,o=w(G,t);return(0,y.jsx)(p.sG.p,{id:o.descriptionId,...r,ref:n})});B.displayName=G;var q="DialogClose",V=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,i=w(q,t);return(0,y.jsx)(p.sG.button,{type:"button",...r,ref:n,onClick:(0,o.m)(e.onClick,()=>i.onOpenChange(!1))})});function Z(e){return e?"open":"closed"}V.displayName=q;var H="DialogTitleWarning",[J,K]=(0,a.q)(H,{contentName:F,titleName:W,docsSlug:"dialog"}),X=e=>{let{titleId:n}=e,t=K(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},Y=e=>{let{contentRef:n,descriptionId:t}=e,o=K("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},$=C,z=b,Q=_,ee=T,en=P,et=S,er=B,eo=V},54245:(e,n,t)=>{t.d(n,{C:()=>a});var r=t(20107),o=t(64236),i=t(54122),a=e=>{let{present:n,children:t}=e,a=function(e){var n,t;let[o,a]=r.useState(),s=r.useRef({}),u=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(s.current);d.current="mounted"===c?e:"none"},[c]),(0,i.N)(()=>{let n=s.current,t=u.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"),u.current=e}},[e,f]),(0,i.N)(()=>{if(o){var e;let n;let t=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(s.current).includes(e.animationName);if(e.target===o&&r&&(f("ANIMATION_END"),!u.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(s.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&&(s.current=getComputedStyle(e)),a(e)},[])}}(n),s="function"==typeof t?t({present:a.isPresent}):r.Children.only(t),u=(0,o.s)(a.ref,function(e){var n,t;let r=null===(n=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===n?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null===(t=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(s));return"function"==typeof t||a.isPresent?r.cloneElement(s,{ref:u}):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/2487-81648b53e2cd11f8.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2487-2291b9526b271231.js similarity index 76% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2487-81648b53e2cd11f8.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2487-2291b9526b271231.js index 389d7f1..61142f5 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2487-81648b53e2cd11f8.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2487-2291b9526b271231.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2487],{49573:(e,t,r)=>{r.d(t,{Fc:()=>i,TN:()=>c,XL:()=>l});var a=r(20475),s=r(20107),d=r(29395),n=r(22250);let o=(0,d.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),i=s.forwardRef((e,t)=>{let{className:r,variant:s,...d}=e;return(0,a.jsx)("div",{ref:t,role:"alert",className:(0,n.cn)(o({variant:s}),r),...d})});i.displayName="Alert";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h5",{ref:t,className:(0,n.cn)("mb-1 font-medium leading-none tracking-tight",r),...s})});l.displayName="AlertTitle";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("text-sm [&_p]:leading-relaxed",r),...s})});c.displayName="AlertDescription"},45934:(e,t,r)=>{r.d(t,{E:()=>o});var a=r(20475);r(20107);var s=r(29395),d=r(22250);let n=(0,s.F)("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:t,variant:r,...s}=e;return(0,a.jsx)("div",{className:(0,d.cn)(n({variant:r}),t),...s})}},42541:(e,t,r)=>{r.d(t,{$:()=>l,r:()=>i});var a=r(20475),s=r(20107),d=r(61837),n=r(29395),o=r(22250);let i=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=s.forwardRef((e,t)=>{let{className:r,variant:s,size:n,asChild:l=!1,...c}=e,f=l?d.DX:"button";return(0,a.jsx)(f,{className:(0,o.cn)(i({variant:s,size:n,className:r})),ref:t,...c})});l.displayName="Button"},72167:(e,t,r)=>{r.d(t,{BT:()=>l,Wu:()=>c,ZB:()=>i,Zp:()=>n,aR:()=>o,wL:()=>f});var a=r(20475),s=r(20107),d=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,d.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});n.displayName="Card";let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,d.cn)("flex flex-col space-y-1.5 p-6",r),...s})});o.displayName="CardHeader";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h3",{ref:t,className:(0,d.cn)("font-semibold leading-none tracking-tight",r),...s})});i.displayName="CardTitle";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("p",{ref:t,className:(0,d.cn)("text-sm text-muted-foreground",r),...s})});l.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,d.cn)("p-6 pt-0",r),...s})});c.displayName="CardContent";let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,d.cn)("flex items-center p-6 pt-0",r),...s})});f.displayName="CardFooter"},64219:(e,t,r)=>{r.d(t,{p:()=>n});var a=r(20475),s=r(20107),d=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,type:s,...n}=e;return(0,a.jsx)("input",{type:s,className:(0,d.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,...n})});n.displayName="Input"},49153:(e,t,r)=>{r.d(t,{J:()=>l});var a=r(20475),s=r(20107),d=r(21840),n=r(29395),o=r(22250);let i=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(d.b,{ref:t,className:(0,o.cn)(i(),r),...s})});l.displayName=d.b.displayName},35601:(e,t,r)=>{r.d(t,{TR:()=>x,bq:()=>f,eb:()=>g,gC:()=>m,l6:()=>i,s3:()=>l,yv:()=>c});var a=r(20475),s=r(20107),d=r(7197),n=r(95257),o=r(22250);let i=n.bL,l=n.YJ,c=n.WT,f=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(n.l9,{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),...i,children:[s,(0,a.jsx)(n.In,{asChild:!0,children:(0,a.jsx)(d.TBE,{className:"h-4 w-4 opacity-50"})})]})});f.displayName=n.l9.displayName;let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.PP,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,a.jsx)(d.Mtm,{})})});u.displayName=n.PP.displayName;let p=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.wn,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,a.jsx)(d.D3D,{})})});p.displayName=n.wn.displayName;let m=s.forwardRef((e,t)=>{let{className:r,children:s,position:d="popper",...i}=e;return(0,a.jsx)(n.ZL,{children:(0,a.jsxs)(n.UC,{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"===d&&"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:d,...i,children:[(0,a.jsx)(u,{}),(0,a.jsx)(n.LM,{className:(0,o.cn)("p-1","popper"===d&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s}),(0,a.jsx)(p,{})]})})});m.displayName=n.UC.displayName;let x=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.JU,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",r),...s})});x.displayName=n.JU.displayName;let g=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(n.q7,{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),...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)(n.VF,{children:(0,a.jsx)(d.Srz,{className:"h-4 w-4"})})}),(0,a.jsx)(n.p4,{children:s})]})});g.displayName=n.q7.displayName,s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.wv,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...s})}).displayName=n.wv.displayName},76554:(e,t,r)=>{r.d(t,{w:()=>o});var a=r(20475),s=r(20107),d=r(88853),n=r(22250);let o=s.forwardRef((e,t)=>{let{className:r,orientation:s="horizontal",decorative:o=!0,...i}=e;return(0,a.jsx)(d.b,{ref:t,decorative:o,orientation:s,className:(0,n.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",r),...i})});o.displayName=d.b.displayName},32857:(e,t,r)=>{r.d(t,{dj:()=>u,oR:()=>f});var a=r(20107);let s=0,d=new Map,n=e=>{if(d.has(e))return;let t=setTimeout(()=>{d.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);d.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?n(r):e.toasts.forEach(e=>{n(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=[],l={toasts:[]};function c(e){l=o(l,e),i.forEach(e=>{e(l)})}function f(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 u(){let[e,t]=a.useState(l);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:f,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{r.d(t,{cn:()=>d});var a=r(64901),s=r(868);function d(){for(var e=arguments.length,t=Array(e),r=0;r{r.d(t,{A:()=>a});let a=(0,r(39997).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},97801:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(39997).A)("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"}]])},52161:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(39997).A)("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2487],{49573:(e,t,r)=>{r.d(t,{Fc:()=>i,TN:()=>c,XL:()=>l});var a=r(20475),s=r(20107),d=r(29395),n=r(22250);let o=(0,d.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),i=s.forwardRef((e,t)=>{let{className:r,variant:s,...d}=e;return(0,a.jsx)("div",{ref:t,role:"alert",className:(0,n.cn)(o({variant:s}),r),...d})});i.displayName="Alert";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h5",{ref:t,className:(0,n.cn)("mb-1 font-medium leading-none tracking-tight",r),...s})});l.displayName="AlertTitle";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("text-sm [&_p]:leading-relaxed",r),...s})});c.displayName="AlertDescription"},45934:(e,t,r)=>{r.d(t,{E:()=>o});var a=r(20475);r(20107);var s=r(29395),d=r(22250);let n=(0,s.F)("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:t,variant:r,...s}=e;return(0,a.jsx)("div",{className:(0,d.cn)(n({variant:r}),t),...s})}},42541:(e,t,r)=>{r.d(t,{$:()=>l,r:()=>i});var a=r(20475),s=r(20107),d=r(61837),n=r(29395),o=r(22250);let i=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=s.forwardRef((e,t)=>{let{className:r,variant:s,size:n,asChild:l=!1,...c}=e,f=l?d.DX:"button";return(0,a.jsx)(f,{className:(0,o.cn)(i({variant:s,size:n,className:r})),ref:t,...c})});l.displayName="Button"},72167:(e,t,r)=>{r.d(t,{BT:()=>l,Wu:()=>c,ZB:()=>i,Zp:()=>n,aR:()=>o,wL:()=>f});var a=r(20475),s=r(20107),d=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,d.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});n.displayName="Card";let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,d.cn)("flex flex-col space-y-1.5 p-6",r),...s})});o.displayName="CardHeader";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h3",{ref:t,className:(0,d.cn)("font-semibold leading-none tracking-tight",r),...s})});i.displayName="CardTitle";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("p",{ref:t,className:(0,d.cn)("text-sm text-muted-foreground",r),...s})});l.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,d.cn)("p-6 pt-0",r),...s})});c.displayName="CardContent";let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,d.cn)("flex items-center p-6 pt-0",r),...s})});f.displayName="CardFooter"},64219:(e,t,r)=>{r.d(t,{p:()=>n});var a=r(20475),s=r(20107),d=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,type:s,...n}=e;return(0,a.jsx)("input",{type:s,className:(0,d.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,...n})});n.displayName="Input"},49153:(e,t,r)=>{r.d(t,{J:()=>l});var a=r(20475),s=r(20107),d=r(21840),n=r(29395),o=r(22250);let i=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(d.b,{ref:t,className:(0,o.cn)(i(),r),...s})});l.displayName=d.b.displayName},35601:(e,t,r)=>{r.d(t,{TR:()=>x,bq:()=>f,eb:()=>g,gC:()=>m,l6:()=>i,s3:()=>l,yv:()=>c});var a=r(20475),s=r(20107),d=r(7197),n=r(95257),o=r(22250);let i=n.bL,l=n.YJ,c=n.WT,f=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(n.l9,{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),...i,children:[s,(0,a.jsx)(n.In,{asChild:!0,children:(0,a.jsx)(d.TBE,{className:"h-4 w-4 opacity-50"})})]})});f.displayName=n.l9.displayName;let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.PP,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,a.jsx)(d.Mtm,{})})});u.displayName=n.PP.displayName;let p=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.wn,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,a.jsx)(d.D3D,{})})});p.displayName=n.wn.displayName;let m=s.forwardRef((e,t)=>{let{className:r,children:s,position:d="popper",...i}=e;return(0,a.jsx)(n.ZL,{children:(0,a.jsxs)(n.UC,{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"===d&&"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:d,...i,children:[(0,a.jsx)(u,{}),(0,a.jsx)(n.LM,{className:(0,o.cn)("p-1","popper"===d&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s}),(0,a.jsx)(p,{})]})})});m.displayName=n.UC.displayName;let x=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.JU,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",r),...s})});x.displayName=n.JU.displayName;let g=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(n.q7,{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),...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)(n.VF,{children:(0,a.jsx)(d.Srz,{className:"h-4 w-4"})})}),(0,a.jsx)(n.p4,{children:s})]})});g.displayName=n.q7.displayName,s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.wv,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...s})}).displayName=n.wv.displayName},76554:(e,t,r)=>{r.d(t,{Separator:()=>o});var a=r(20475),s=r(20107),d=r(88853),n=r(22250);let o=s.forwardRef((e,t)=>{let{className:r,orientation:s="horizontal",decorative:o=!0,...i}=e;return(0,a.jsx)(d.b,{ref:t,decorative:o,orientation:s,className:(0,n.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",r),...i})});o.displayName=d.b.displayName},32857:(e,t,r)=>{r.d(t,{dj:()=>u,oR:()=>f});var a=r(20107);let s=0,d=new Map,n=e=>{if(d.has(e))return;let t=setTimeout(()=>{d.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);d.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?n(r):e.toasts.forEach(e=>{n(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=[],l={toasts:[]};function c(e){l=o(l,e),i.forEach(e=>{e(l)})}function f(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 u(){let[e,t]=a.useState(l);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:f,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{r.d(t,{cn:()=>d});var a=r(64901),s=r(868);function d(){for(var e=arguments.length,t=Array(e),r=0;r{r.d(t,{A:()=>a});let a=(0,r(39997).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},97801:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(39997).A)("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"}]])},52161:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(39997).A)("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2494-1b55b4db233d7e31.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2494-1b55b4db233d7e31.js new file mode 100644 index 0000000..330bd06 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2494-1b55b4db233d7e31.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2494],{39997:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(20107);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var u={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:l=2,absoluteStrokeWidth:a,className:s="",children:c,iconNode:d,...f}=e;return(0,n.createElement)("svg",{ref:t,...u,width:o,height:o,stroke:r,strokeWidth:a?24*Number(l)/Number(o):l,className:i("lucide",s),...f},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),a=(e,t)=>{let r=(0,n.forwardRef)((r,u)=>{let{className:a,...s}=r;return(0,n.createElement)(l,{ref:u,iconNode:t,className:i("lucide-".concat(o(e)),a),...s})});return r.displayName="".concat(e),r}},29475:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},91994:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},94521:(e,t,r)=>{r.d(t,{m:()=>n});function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},32713:(e,t,r)=>{r.d(t,{C1:()=>A,bL:()=>x});var n=r(20107),o=r(64236),i=r(45170),u=r(94521),l=r(13061),a=r(65163),s=r(63620),c=r(54245),d=r(34544),f=r(20475),v="Checkbox",[m,p]=(0,i.A)(v),[h,y]=m(v),N=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:i,checked:a,defaultChecked:s,required:c,disabled:v,value:m="on",onCheckedChange:p,form:y,...N}=e,[b,w]=n.useState(null),x=(0,o.s)(t,e=>w(e)),A=n.useRef(!1),M=!b||y||!!b.closest("form"),[O=!1,C]=(0,l.i)({prop:a,defaultProp:s,onChange:p}),R=n.useRef(O);return n.useEffect(()=>{let e=null==b?void 0:b.form;if(e){let t=()=>C(R.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[b,C]),(0,f.jsxs)(h,{scope:r,state:O,disabled:v,children:[(0,f.jsx)(d.sG.button,{type:"button",role:"checkbox","aria-checked":k(O)?"mixed":O,"aria-required":c,"data-state":E(O),"data-disabled":v?"":void 0,disabled:v,value:m,...N,ref:x,onKeyDown:(0,u.m)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,u.m)(e.onClick,e=>{C(e=>!!k(e)||!e),M&&(A.current=e.isPropagationStopped(),A.current||e.stopPropagation())})}),M&&(0,f.jsx)(g,{control:b,bubbles:!A.current,name:i,value:m,checked:O,required:c,disabled:v,form:y,style:{transform:"translateX(-100%)"},defaultChecked:!k(s)&&s})]})});N.displayName=v;var b="CheckboxIndicator",w=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:n,...o}=e,i=y(b,r);return(0,f.jsx)(c.C,{present:n||k(i.state)||!0===i.state,children:(0,f.jsx)(d.sG.span,{"data-state":E(i.state),"data-disabled":i.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});w.displayName=b;var g=e=>{let{control:t,checked:r,bubbles:o=!0,defaultChecked:i,...u}=e,l=n.useRef(null),c=(0,a.Z)(r),d=(0,s.X)(t);n.useEffect(()=>{let e=l.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==r&&t){let n=new Event("click",{bubbles:o});e.indeterminate=k(r),t.call(e,!k(r)&&r),e.dispatchEvent(n)}},[c,r,o]);let v=n.useRef(!k(r)&&r);return(0,f.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=i?i:v.current,...u,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=N,A=w},45170:(e,t,r)=>{r.d(t,{A:()=>u,q:()=>i});var n=r(20107),o=r(20475);function i(e,t){let r=n.createContext(t),i=e=>{let{children:t,...i}=e,u=n.useMemo(()=>i,Object.values(i));return(0,o.jsx)(r.Provider,{value:u,children:t})};return i.displayName=e+"Provider",[i,function(o){let i=n.useContext(r);if(i)return i;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function u(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(t,i){let u=n.createContext(i),l=r.length;r=[...r,i];let a=t=>{let{scope:r,children:i,...a}=t,s=r?.[e]?.[l]||u,c=n.useMemo(()=>a,Object.values(a));return(0,o.jsx)(s.Provider,{value:c,children:i})};return a.displayName=t+"Provider",[a,function(r,o){let a=o?.[e]?.[l]||u,s=n.useContext(a);if(s)return s;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 o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(i,...t)]}},54245:(e,t,r)=>{r.d(t,{C:()=>u});var n=r(20107),o=r(64236),i=r(54122),u=e=>{let{present:t,children:r}=e,u=function(e){var t,r;let[o,u]=n.useState(),a=n.useRef({}),s=n.useRef(e),c=n.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=l(a.current);c.current="mounted"===d?e:"none"},[d]),(0,i.N)(()=>{let t=a.current,r=s.current;if(r!==e){let n=c.current,o=l(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):r&&n!==o?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,i.N)(()=>{if(o){var e;let t;let r=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,n=e=>{let n=l(a.current).includes(e.animationName);if(e.target===o&&n&&(f("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(c.current=l(a.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{r.clearTimeout(t),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{e&&(a.current=getComputedStyle(e)),u(e)},[])}}(t),a="function"==typeof r?r({present:u.isPresent}):n.Children.only(r),s=(0,o.s)(u.ref,function(e){var t,r;let n=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?e.ref:(o=(n=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(a));return"function"==typeof r||u.isPresent?n.cloneElement(a,{ref:s}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}u.displayName="Presence"},34544:(e,t,r)=>{r.d(t,{hO:()=>a,sG:()=>l});var n=r(20107),o=r(25642),i=r(61837),u=r(20475),l=["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,...o}=e,l=n?i.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(l,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function a(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},46774:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(20107);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,r)=>{r.d(t,{i:()=>i});var n=r(20107),o=r(46774);function i({prop:e,defaultProp:t,onChange:r=()=>{}}){let[i,u]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[i]=r,u=n.useRef(i),l=(0,o.c)(t);return n.useEffect(()=>{u.current!==i&&(l(i),u.current=i)},[i,u,l]),r}({defaultProp:t,onChange:r}),l=void 0!==e,a=l?e:i,s=(0,o.c)(r);return[a,n.useCallback(t=>{if(l){let r="function"==typeof t?t(e):t;r!==e&&s(r)}else u(t)},[l,e,u,s])]}},54122:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(20107),o=globalThis?.document?n.useLayoutEffect:()=>{}},65163:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(20107);function o(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])}},63620:(e,t,r)=>{r.d(t,{X:()=>i});var n=r(20107),o=r(54122);function i(e){let[t,r]=n.useState(void 0);return(0,o.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;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,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},29395:(e,t,r)=>{r.d(t,{F:()=>i});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,r=0,n="";rr=>{var i;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:u,defaultVariants:l}=t,a=Object.keys(u).map(e=>{let t=null==r?void 0:r[e],o=null==l?void 0:l[e];if(null===t)return null;let i=n(t)||n(o);return u[e][i]}),s=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,a,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...s}[t]):({...l,...s})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2670-a408894951858159.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2670-a408894951858159.js new file mode 100644 index 0000000..79dc894 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2670-a408894951858159.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2670],{39997:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(20107);let a=e=>e.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 i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:a=24,strokeWidth:l=2,absoluteStrokeWidth:u,className:s="",children:d,iconNode:c,...f}=e;return(0,n.createElement)("svg",{ref:t,...i,width:a,height:a,stroke:r,strokeWidth:u?24*Number(l)/Number(a):l,className:o("lucide",s),...f},[...c.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),u=(e,t)=>{let r=(0,n.forwardRef)((r,i)=>{let{className:u,...s}=r;return(0,n.createElement)(l,{ref:i,iconNode:t,className:o("lucide-".concat(a(e)),u),...s})});return r.displayName="".concat(e),r}},26459:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("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"}]])},2609:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},44381:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]])},99015:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("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"}]])},76406:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("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"}]])},30058:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]])},10054:(e,t,r)=>{var n=r(20107),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useState,i=n.useEffect,l=n.useLayoutEffect,u=n.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),a=n[0].inst,d=n[1];return l(function(){a.value=r,a.getSnapshot=t,s(a)&&d({inst:a})},[e,r,t]),i(function(){return s(a)&&d({inst:a}),e(function(){s(a)&&d({inst:a})})},[e]),u(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:d},9755:(e,t,r)=>{e.exports=r(10054)},50564:(e,t,r)=>{r.d(t,{UC:()=>O,VY:()=>V,ZD:()=>P,ZL:()=>D,bL:()=>L,hE:()=>I,hJ:()=>_,l9:()=>M,rc:()=>$});var n=r(20107),a=r(45170),o=r(64236),i=r(60241),l=r(94521),u=r(61837),s=r(20475),d="AlertDialog",[c,f]=(0,a.A)(d,[i.Hs]),p=(0,i.Hs)(),m=e=>{let{__scopeAlertDialog:t,...r}=e,n=p(t);return(0,s.jsx)(i.bL,{...n,...r,modal:!0})};m.displayName=d;var y=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,a=p(r);return(0,s.jsx)(i.l9,{...a,...n,ref:t})});y.displayName="AlertDialogTrigger";var h=e=>{let{__scopeAlertDialog:t,...r}=e,n=p(t);return(0,s.jsx)(i.ZL,{...n,...r})};h.displayName="AlertDialogPortal";var v=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,a=p(r);return(0,s.jsx)(i.hJ,{...a,...n,ref:t})});v.displayName="AlertDialogOverlay";var g="AlertDialogContent",[w,x]=c(g),b=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:a,...d}=e,c=p(r),f=n.useRef(null),m=(0,o.s)(t,f),y=n.useRef(null);return(0,s.jsx)(i.G$,{contentName:g,titleName:k,docsSlug:"alert-dialog",children:(0,s.jsx)(w,{scope:r,cancelRef:y,children:(0,s.jsxs)(i.UC,{role:"alertdialog",...c,...d,ref:m,onOpenAutoFocus:(0,l.m)(d.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=y.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,s.jsx)(u.xV,{children:a}),(0,s.jsx)(C,{contentRef:f})]})})})});b.displayName=g;var k="AlertDialogTitle",A=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,a=p(r);return(0,s.jsx)(i.hE,{...a,...n,ref:t})});A.displayName=k;var N="AlertDialogDescription",j=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,a=p(r);return(0,s.jsx)(i.VY,{...a,...n,ref:t})});j.displayName=N;var E=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,a=p(r);return(0,s.jsx)(i.bm,{...a,...n,ref:t})});E.displayName="AlertDialogAction";var S="AlertDialogCancel",R=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,{cancelRef:a}=x(S,r),l=p(r),u=(0,o.s)(t,a);return(0,s.jsx)(i.bm,{...l,...n,ref:u})});R.displayName=S;var C=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(N,"` 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},L=m,M=y,D=h,_=v,O=b,$=E,P=R,I=A,V=j},88601:(e,t,r)=>{r.d(t,{H4:()=>N,_V:()=>A,bL:()=>k});var n=r(20107),a=r(1068),o=r(65746),i=r(59320),l=r(26702),u=r(9755);function s(){return()=>{}}var d=r(20475),c="Avatar",[f,p]=(0,a.A)(c),[m,y]=f(c),h=n.forwardRef((e,t)=>{let{__scopeAvatar:r,...a}=e,[o,i]=n.useState("idle");return(0,d.jsx)(m,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:i,children:(0,d.jsx)(l.sG.span,{...a,ref:t})})});h.displayName=c;var v="AvatarImage",g=n.forwardRef((e,t)=>{let{__scopeAvatar:r,src:a,onLoadingStatusChange:c=()=>{},...f}=e,p=y(v,r),m=function(e,t){let{referrerPolicy:r,crossOrigin:a}=t,o=(0,u.useSyncExternalStore)(s,()=>!0,()=>!1),l=n.useRef(null),d=o?(l.current||(l.current=new window.Image),l.current):null,[c,f]=n.useState(()=>b(d,e));return(0,i.N)(()=>{f(b(d,e))},[d,e]),(0,i.N)(()=>{let e=e=>()=>{f(e)};if(!d)return;let t=e("loaded"),n=e("error");return d.addEventListener("load",t),d.addEventListener("error",n),r&&(d.referrerPolicy=r),"string"==typeof a&&(d.crossOrigin=a),()=>{d.removeEventListener("load",t),d.removeEventListener("error",n)}},[d,a,r]),c}(a,f),h=(0,o.c)(e=>{c(e),p.onImageLoadingStatusChange(e)});return(0,i.N)(()=>{"idle"!==m&&h(m)},[m,h]),"loaded"===m?(0,d.jsx)(l.sG.img,{...f,ref:t,src:a}):null});g.displayName=v;var w="AvatarFallback",x=n.forwardRef((e,t)=>{let{__scopeAvatar:r,delayMs:a,...o}=e,i=y(w,r),[u,s]=n.useState(void 0===a);return n.useEffect(()=>{if(void 0!==a){let e=window.setTimeout(()=>s(!0),a);return()=>window.clearTimeout(e)}},[a]),u&&"loaded"!==i.imageLoadingStatus?(0,d.jsx)(l.sG.span,{...o,ref:t}):null});function b(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}x.displayName=w;var k=h,A=g,N=x},19619:(e,t,r)=>{r.d(t,{s:()=>i,t:()=>o});var n=r(20107);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{r.d(t,{A:()=>o});var n=r(20107),a=r(20475);function o(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let a=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:a}}),[r,a])}};return i.scopeName=e,[function(t,o){let i=n.createContext(o),l=r.length;r=[...r,o];let u=t=>{let{scope:r,children:o,...u}=t,s=r?.[e]?.[l]||i,d=n.useMemo(()=>u,Object.values(u));return(0,a.jsx)(s.Provider,{value:d,children:o})};return u.displayName=t+"Provider",[u,function(r,a){let u=a?.[e]?.[l]||i,s=n.useContext(u);if(s)return s;if(void 0!==o)return o;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 a=r.reduce((t,{useScope:r,scopeName:n})=>{let a=r(e)[`__scope${n}`];return{...t,...a}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}(i,...t)]}},26702:(e,t,r)=>{r.d(t,{sG:()=>i});var n=r(20107);r(25642);var a=r(44505),o=r(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,a.TL)(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:a,...i}=e,l=a?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(l,{...i,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{})},44505:(e,t,r)=>{r.d(t,{TL:()=>i});var n=r(20107),a=r(19619),o=r(20475);function i(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){let e,i;let l=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,u=function(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...e)=>{let t=o(...e);return a(...e),t}:a&&(r[n]=a):"style"===n?r[n]={...a,...o}:"className"===n&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(u.ref=t?(0,a.t)(t,l):l),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:a,...i}=e,l=n.Children.toArray(a),s=l.find(u);if(s){let e=s.props.children,a=l.map(t=>t!==s?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...i,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,a):null})}return(0,o.jsx)(t,{...i,ref:r,children:a})});return r.displayName=`${e}.Slot`,r}var l=Symbol("radix.slottable");function u(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}},65746:(e,t,r)=>{r.d(t,{c:()=>a});var n=r(20107);function a(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},59320:(e,t,r)=>{r.d(t,{N:()=>a});var n=r(20107),a=globalThis?.document?n.useLayoutEffect:()=>{}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3048-32a239af56de58c8.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3048-32a239af56de58c8.js new file mode 100644 index 0000000..03edd78 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3048-32a239af56de58c8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3048],{43048:(e,t,r)=>{r.d(t,{Kq:()=>H,UC:()=>U,bL:()=>S,l9:()=>q});var n=r(20107),o=r(94521),i=r(64236),l=r(45170),a=r(55302),s=r(72763),u=r(57563),c=(r(41913),r(54245)),d=r(34544),p=r(61837),f=r(13061),x=r(91475),h=r(20475),[v,g]=(0,l.A)("Tooltip",[u.Bk]),y=(0,u.Bk)(),b="TooltipProvider",m="tooltip.open",[w,C]=v(b),T=e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:l}=e,[a,s]=n.useState(!0),u=n.useRef(!1),c=n.useRef(0);return n.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,h.jsx)(w,{scope:t,isOpenDelayed:a,delayDuration:r,onOpen:n.useCallback(()=>{window.clearTimeout(c.current),s(!1)},[]),onClose:n.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>s(!0),o)},[o]),isPointerInTransitRef:u,onPointerInTransitChange:n.useCallback(e=>{u.current=e},[]),disableHoverableContent:i,children:l})};T.displayName=b;var E="Tooltip",[k,L]=v(E),R=e=>{let{__scopeTooltip:t,children:r,open:o,defaultOpen:i=!1,onOpenChange:l,disableHoverableContent:a,delayDuration:c}=e,d=C(E,e.__scopeTooltip),p=y(t),[x,v]=n.useState(null),g=(0,s.B)(),b=n.useRef(0),w=null!=a?a:d.disableHoverableContent,T=null!=c?c:d.delayDuration,L=n.useRef(!1),[R=!1,j]=(0,f.i)({prop:o,defaultProp:i,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(m))):d.onClose(),null==l||l(e)}}),_=n.useMemo(()=>R?L.current?"delayed-open":"instant-open":"closed",[R]),P=n.useCallback(()=>{window.clearTimeout(b.current),L.current=!1,j(!0)},[j]),M=n.useCallback(()=>{window.clearTimeout(b.current),j(!1)},[j]),D=n.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{L.current=!0,j(!0)},T)},[T,j]);return n.useEffect(()=>()=>window.clearTimeout(b.current),[]),(0,h.jsx)(u.bL,{...p,children:(0,h.jsx)(k,{scope:t,contentId:g,open:R,stateAttribute:_,trigger:x,onTriggerChange:v,onTriggerEnter:n.useCallback(()=>{d.isOpenDelayed?D():P()},[d.isOpenDelayed,D,P]),onTriggerLeave:n.useCallback(()=>{w?M():window.clearTimeout(b.current)},[M,w]),onOpen:P,onClose:M,disableHoverableContent:w,children:r})})};R.displayName=E;var j="TooltipTrigger",_=n.forwardRef((e,t)=>{let{__scopeTooltip:r,...l}=e,a=L(j,r),s=C(j,r),c=y(r),p=n.useRef(null),f=(0,i.s)(t,p,a.onTriggerChange),x=n.useRef(!1),v=n.useRef(!1),g=n.useCallback(()=>x.current=!1,[]);return n.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),(0,h.jsx)(u.Mz,{asChild:!0,...c,children:(0,h.jsx)(d.sG.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...l,ref:f,onPointerMove:(0,o.m)(e.onPointerMove,e=>{"touch"===e.pointerType||v.current||s.isPointerInTransitRef.current||(a.onTriggerEnter(),v.current=!0)}),onPointerLeave:(0,o.m)(e.onPointerLeave,()=>{a.onTriggerLeave(),v.current=!1}),onPointerDown:(0,o.m)(e.onPointerDown,()=>{x.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:(0,o.m)(e.onFocus,()=>{x.current||a.onOpen()}),onBlur:(0,o.m)(e.onBlur,a.onClose),onClick:(0,o.m)(e.onClick,a.onClose)})})});_.displayName=j;var[P,M]=v("TooltipPortal",{forceMount:void 0}),D="TooltipContent",O=n.forwardRef((e,t)=>{let r=M(D,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...i}=e,l=L(D,e.__scopeTooltip);return(0,h.jsx)(c.C,{present:n||l.open,children:l.disableHoverableContent?(0,h.jsx)(A,{side:o,...i,ref:t}):(0,h.jsx)(B,{side:o,...i,ref:t})})}),B=n.forwardRef((e,t)=>{let r=L(D,e.__scopeTooltip),o=C(D,e.__scopeTooltip),l=n.useRef(null),a=(0,i.s)(t,l),[s,u]=n.useState(null),{trigger:c,onClose:d}=r,p=l.current,{onPointerInTransitChange:f}=o,x=n.useCallback(()=>{u(null),f(!1)},[f]),v=n.useCallback((e,t)=>{let r=e.currentTarget,n={x:e.clientX,y:e.clientY},o=function(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,n,o,i)){case i:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}(n,r.getBoundingClientRect());u(function(e){let t=e.slice();return t.sort((e,t)=>e.xt.x?1:e.yt.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}(t)}([...function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}(n,o),...function(e){let{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}(t.getBoundingClientRect())])),f(!0)},[f]);return n.useEffect(()=>()=>x(),[x]),n.useEffect(()=>{if(c&&p){let e=e=>v(e,p),t=e=>v(e,c);return c.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[c,p,v,x]),n.useEffect(()=>{if(s){let e=e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=(null==c?void 0:c.contains(t))||(null==p?void 0:p.contains(t)),o=!function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,i=t.length-1;en!=u>n&&r<(s-l)*(n-a)/(u-a)+l&&(o=!o)}return o}(r,s);n?x():o&&(x(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,p,s,d,x]),(0,h.jsx)(A,{...e,ref:a})}),[I,N]=v(E,{isInside:!1}),A=n.forwardRef((e,t)=>{let{__scopeTooltip:r,children:o,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:s,...c}=e,d=L(D,r),f=y(r),{onClose:v}=d;return n.useEffect(()=>(document.addEventListener(m,v),()=>document.removeEventListener(m,v)),[v]),n.useEffect(()=>{if(d.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(d.trigger))&&v()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,v]),(0,h.jsx)(a.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:v,children:(0,h.jsxs)(u.UC,{"data-state":d.stateAttribute,...f,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,h.jsx)(p.xV,{children:o}),(0,h.jsx)(I,{scope:r,isInside:!0,children:(0,h.jsx)(x.b,{id:d.contentId,role:"tooltip",children:i||o})})]})})});O.displayName=D;var F="TooltipArrow";n.forwardRef((e,t)=>{let{__scopeTooltip:r,...n}=e,o=y(r);return N(F,r).isInside?null:(0,h.jsx)(u.i3,{...o,...n,ref:t})}).displayName=F;var H=T,S=R,q=_,U=O}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3048-9766c902a7fac6d2.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3048-9766c902a7fac6d2.js deleted file mode 100644 index 3fa30be..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3048-9766c902a7fac6d2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3048],{54245:(e,t,n)=>{n.d(t,{C:()=>l});var r=n(20107),o=n(64236),i=n(54122),l=e=>{let{present:t,children:n}=e,l=function(e){var t,n;let[o,l]=r.useState(),u=r.useRef({}),s=r.useRef(e),c=r.useRef("none"),[d,p]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=a(u.current);c.current="mounted"===d?e:"none"},[d]),(0,i.N)(()=>{let t=u.current,n=s.current;if(n!==e){let r=c.current,o=a(t);e?p("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),s.current=e}},[e,p]),(0,i.N)(()=>{if(o){var e;let t;let n=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=a(u.current).includes(e.animationName);if(e.target===o&&r&&(p("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(c.current=a(u.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(u.current=getComputedStyle(e)),l(e)},[])}}(t),u="function"==typeof n?n({present:l.isPresent}):r.Children.only(n),s=(0,o.s)(l.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof n||l.isPresent?r.cloneElement(u,{ref:s}):null};function a(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},43048:(e,t,n)=>{n.d(t,{Kq:()=>B,UC:()=>H,bL:()=>F,l9:()=>W});var r=n(20107),o=n(94521),i=n(64236),l=n(45170),a=n(55302),u=n(72763),s=n(57563),c=(n(41913),n(54245)),d=n(34544),p=n(61837),f=n(13061),m=n(91475),v=n(20475),[g,x]=(0,l.A)("Tooltip",[s.Bk]),y=(0,s.Bk)(),h="TooltipProvider",w="tooltip.open",[b,T]=g(h),C=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:l}=e,[a,u]=r.useState(!0),s=r.useRef(!1),c=r.useRef(0);return r.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,v.jsx)(b,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(c.current),u(!1)},[]),onClose:r.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>u(!0),o)},[o]),isPointerInTransitRef:s,onPointerInTransitChange:r.useCallback(e=>{s.current=e},[]),disableHoverableContent:i,children:l})};C.displayName=h;var E="Tooltip",[N,M]=g(E),k=e=>{let{__scopeTooltip:t,children:n,open:o,defaultOpen:i=!1,onOpenChange:l,disableHoverableContent:a,delayDuration:c}=e,d=T(E,e.__scopeTooltip),p=y(t),[m,g]=r.useState(null),x=(0,u.B)(),h=r.useRef(0),b=null!=a?a:d.disableHoverableContent,C=null!=c?c:d.delayDuration,M=r.useRef(!1),[k=!1,O]=(0,f.i)({prop:o,defaultProp:i,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(w))):d.onClose(),null==l||l(e)}}),L=r.useMemo(()=>k?M.current?"delayed-open":"instant-open":"closed",[k]),R=r.useCallback(()=>{window.clearTimeout(h.current),M.current=!1,O(!0)},[O]),_=r.useCallback(()=>{window.clearTimeout(h.current),O(!1)},[O]),P=r.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{M.current=!0,O(!0)},C)},[C,O]);return r.useEffect(()=>()=>window.clearTimeout(h.current),[]),(0,v.jsx)(s.bL,{...p,children:(0,v.jsx)(N,{scope:t,contentId:x,open:k,stateAttribute:L,trigger:m,onTriggerChange:g,onTriggerEnter:r.useCallback(()=>{d.isOpenDelayed?P():R()},[d.isOpenDelayed,P,R]),onTriggerLeave:r.useCallback(()=>{b?_():window.clearTimeout(h.current)},[_,b]),onOpen:R,onClose:_,disableHoverableContent:b,children:n})})};k.displayName=E;var O="TooltipTrigger",L=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...l}=e,a=M(O,n),u=T(O,n),c=y(n),p=r.useRef(null),f=(0,i.s)(t,p,a.onTriggerChange),m=r.useRef(!1),g=r.useRef(!1),x=r.useCallback(()=>m.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",x),[x]),(0,v.jsx)(s.Mz,{asChild:!0,...c,children:(0,v.jsx)(d.sG.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...l,ref:f,onPointerMove:(0,o.m)(e.onPointerMove,e=>{"touch"===e.pointerType||g.current||u.isPointerInTransitRef.current||(a.onTriggerEnter(),g.current=!0)}),onPointerLeave:(0,o.m)(e.onPointerLeave,()=>{a.onTriggerLeave(),g.current=!1}),onPointerDown:(0,o.m)(e.onPointerDown,()=>{m.current=!0,document.addEventListener("pointerup",x,{once:!0})}),onFocus:(0,o.m)(e.onFocus,()=>{m.current||a.onOpen()}),onBlur:(0,o.m)(e.onBlur,a.onClose),onClick:(0,o.m)(e.onClick,a.onClose)})})});L.displayName=O;var[R,_]=g("TooltipPortal",{forceMount:void 0}),P="TooltipContent",j=r.forwardRef((e,t)=>{let n=_(P,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,l=M(P,e.__scopeTooltip);return(0,v.jsx)(c.C,{present:r||l.open,children:l.disableHoverableContent?(0,v.jsx)(U,{side:o,...i,ref:t}):(0,v.jsx)(I,{side:o,...i,ref:t})})}),I=r.forwardRef((e,t)=>{let n=M(P,e.__scopeTooltip),o=T(P,e.__scopeTooltip),l=r.useRef(null),a=(0,i.s)(t,l),[u,s]=r.useState(null),{trigger:c,onClose:d}=n,p=l.current,{onPointerInTransitChange:f}=o,m=r.useCallback(()=>{s(null),f(!1)},[f]),g=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());s(function(e){let t=e.slice();return t.sort((e,t)=>e.xt.x?1:e.yt.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,o),...function(e){let{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())])),f(!0)},[f]);return r.useEffect(()=>()=>m(),[m]),r.useEffect(()=>{if(c&&p){let e=e=>g(e,p),t=e=>g(e,c);return c.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[c,p,g,m]),r.useEffect(()=>{if(u){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==c?void 0:c.contains(t))||(null==p?void 0:p.contains(t)),o=!function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;er!=s>r&&n<(u-l)*(r-a)/(s-a)+l&&(o=!o)}return o}(n,u);r?m():o&&(m(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,p,u,d,m]),(0,v.jsx)(U,{...e,ref:a})}),[A,D]=g(E,{isInside:!1}),U=r.forwardRef((e,t)=>{let{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:u,...c}=e,d=M(P,n),f=y(n),{onClose:g}=d;return r.useEffect(()=>(document.addEventListener(w,g),()=>document.removeEventListener(w,g)),[g]),r.useEffect(()=>{if(d.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(d.trigger))&&g()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,g]),(0,v.jsx)(a.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:g,children:(0,v.jsxs)(s.UC,{"data-state":d.stateAttribute,...f,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,v.jsx)(p.xV,{children:o}),(0,v.jsx)(A,{scope:n,isInside:!0,children:(0,v.jsx)(m.b,{id:d.contentId,role:"tooltip",children:i||o})})]})})});j.displayName=P;var S="TooltipArrow";r.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,o=y(n);return D(S,n).isInside?null:(0,v.jsx)(s.i3,{...o,...r,ref:t})}).displayName=S;var B=C,F=k,W=L,H=j}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3095-9939ca94522133b1.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3095-9939ca94522133b1.js deleted file mode 100644 index 5118c59..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3095-9939ca94522133b1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3095],{91994:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},54379:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(20107),o=r(20475);function i(e,t=[]){let r=[],a=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return a.scopeName=e,[function(t,i){let a=n.createContext(i),l=r.length;function s(t){let{scope:r,children:i,...s}=t,c=r?.[e][l]||a,d=n.useMemo(()=>s,Object.values(s));return(0,o.jsx)(c.Provider,{value:d,children:i})}return r=[...r,i],s.displayName=t+"Provider",[s,function(r,o){let s=o?.[e][l]||a,c=n.useContext(s);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 o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(a,...t)]}},57563:(e,t,r)=>{r.d(t,{Mz:()=>R,i3:()=>H,UC:()=>z,bL:()=>M,Bk:()=>m});var n=r(20107),o=r(9895),i=r(84069),a=r(34544),l=r(20475),s=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...i}=e;return(0,l.jsx)(a.sG.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,l.jsx)("polygon",{points:"0,0 30,0 15,10"})})});s.displayName="Arrow";var c=r(64236),d=r(54379),p=r(46774),u=r(54122),f=r(63620),v="Popper",[h,m]=(0,d.A)(v),[y,g]=h(v),w=e=>{let{__scopePopper:t,children:r}=e,[o,i]=n.useState(null);return(0,l.jsx)(y,{scope:t,anchor:o,onAnchorChange:i,children:r})};w.displayName=v;var b="PopperAnchor",x=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:o,...i}=e,s=g(b,r),d=n.useRef(null),p=(0,c.s)(t,d);return n.useEffect(()=>{s.onAnchorChange((null==o?void 0:o.current)||d.current)}),o?null:(0,l.jsx)(a.sG.div,{...i,ref:p})});x.displayName=b;var O="PopperContent",[j,P]=h(O),N=n.forwardRef((e,t)=>{var r,s,d,v,h,m,y,w;let{__scopePopper:b,side:x="bottom",sideOffset:P=0,align:N="center",alignOffset:A=0,arrowPadding:C=0,avoidCollisions:E=!0,collisionBoundary:M=[],collisionPadding:R=0,sticky:z="partial",hideWhenDetached:H=!1,updatePositionStrategy:D="optimized",onPlaced:Y,...$}=e,B=g(O,b),[G,U]=n.useState(null),W=(0,c.s)(t,e=>U(e)),[X,I]=n.useState(null),L=(0,f.X)(X),F=null!==(y=null==L?void 0:L.width)&&void 0!==y?y:0,q=null!==(w=null==L?void 0:L.height)&&void 0!==w?w:0,T="number"==typeof R?R:{top:0,right:0,bottom:0,left:0,...R},V=Array.isArray(M)?M:[M],J=V.length>0,K={padding:T,boundary:V.filter(S),altBoundary:J},{refs:Q,floatingStyles:Z,placement:ee,isPositioned:et,middlewareData:er}=(0,o.we)({strategy:"fixed",placement:x+("center"!==N?"-"+N:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r{let{elements:t,rects:r,availableWidth:n,availableHeight:o}=e,{width:i,height:a}=r.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(n,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(i,"px")),l.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),X&&(0,o.UE)({element:X,padding:C}),k({arrowWidth:F,arrowHeight:q}),H&&(0,o.jD)({strategy:"referenceHidden",...K})]}),[en,eo]=_(ee),ei=(0,p.c)(Y);(0,u.N)(()=>{et&&(null==ei||ei())},[et,ei]);let ea=null===(r=er.arrow)||void 0===r?void 0:r.x,el=null===(s=er.arrow)||void 0===s?void 0:s.y,es=(null===(d=er.arrow)||void 0===d?void 0:d.centerOffset)!==0,[ec,ed]=n.useState();return(0,u.N)(()=>{G&&ed(window.getComputedStyle(G).zIndex)},[G]),(0,l.jsx)("div",{ref:Q.setFloating,"data-radix-popper-content-wrapper":"",style:{...Z,transform:et?Z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ec,"--radix-popper-transform-origin":[null===(v=er.transformOrigin)||void 0===v?void 0:v.x,null===(h=er.transformOrigin)||void 0===h?void 0:h.y].join(" "),...(null===(m=er.hide)||void 0===m?void 0:m.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,l.jsx)(j,{scope:b,placedSide:en,onArrowChange:I,arrowX:ea,arrowY:el,shouldHideArrow:es,children:(0,l.jsx)(a.sG.div,{"data-side":en,"data-align":eo,...$,ref:W,style:{...$.style,animation:et?void 0:"none"}})})})});N.displayName=O;var A="PopperArrow",C={top:"bottom",right:"left",bottom:"top",left:"right"},E=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=P(A,r),i=C[o.placedSide];return(0,l.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,l.jsx)(s,{...n,ref:t,style:{...n.style,display:"block"}})})});function S(e){return null!==e}E.displayName=A;var k=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,a;let{placement:l,rects:s,middlewareData:c}=t,d=(null===(r=c.arrow)||void 0===r?void 0:r.centerOffset)!==0,p=d?0:e.arrowWidth,u=d?0:e.arrowHeight,[f,v]=_(l),h={start:"0%",center:"50%",end:"100%"}[v],m=(null!==(i=null===(n=c.arrow)||void 0===n?void 0:n.x)&&void 0!==i?i:0)+p/2,y=(null!==(a=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==a?a:0)+u/2,g="",w="";return"bottom"===f?(g=d?h:"".concat(m,"px"),w="".concat(-u,"px")):"top"===f?(g=d?h:"".concat(m,"px"),w="".concat(s.floating.height+u,"px")):"right"===f?(g="".concat(-u,"px"),w=d?h:"".concat(y,"px")):"left"===f&&(g="".concat(s.floating.width+u,"px"),w=d?h:"".concat(y,"px")),{data:{x:g,y:w}}}});function _(e){let[t,r="center"]=e.split("-");return[t,r]}var M=w,R=x,z=N,H=E},91475:(e,t,r)=>{r.d(t,{b:()=>l,s:()=>a});var n=r(20107),o=r(34544),i=r(20475),a=n.forwardRef((e,t)=>(0,i.jsx)(o.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));a.displayName="VisuallyHidden";var l=a},45930:(e,t,r)=>{r.d(t,{k5:()=>d});var n=r(20107),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=n.createContext&&n.createContext(o),a=["attr","size","title"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement(p,l({attr:c({},e.attr)},t),function e(t){return t&&t.map((t,r)=>n.createElement(t.tag,c({key:r},t.attr),e(t.child)))}(e.child))}function p(e){var t=t=>{var r,{attr:o,size:i,title:s}=e,d=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,a),p=i||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,d,{className:r,style:c(c({color:e.color||t.color},t.style),e.style),height:p,width:p,xmlns:"http://www.w3.org/2000/svg"}),s&&n.createElement("title",null,s),e.children)};return void 0!==i?n.createElement(i.Consumer,null,e=>t(e)):t(o)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3099-b5f6236b89e0d3cd.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3099-b5f6236b89e0d3cd.js deleted file mode 100644 index 1c8011b..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3099-b5f6236b89e0d3cd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3099],{13099:(e,r,t)=>{t.r(r),t.d(r,{default:()=>k});var a=t(20475),s=t(72167),n=t(45934),l=t(76554),i=t(42541),d=t(39997);let c=(0,d.A)("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);var o=t(92823);let h=(0,d.A)("Signal",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]),u=(0,d.A)("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);var m=t(17799);let x=(0,d.A)("CloudCog",[["circle",{cx:"12",cy:"17",r:"3",key:"1spfwm"}],["path",{d:"M4.2 15.1A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.2",key:"zaobp"}],["path",{d:"m15.7 18.4-.9-.3",key:"4qxpbn"}],["path",{d:"m9.2 15.9-.9-.3",key:"17q7o2"}],["path",{d:"m10.6 20.7.3-.9",key:"1pf4s2"}],["path",{d:"m13.1 14.2.3-.9",key:"1mnuqm"}],["path",{d:"m13.6 20.7-.4-1",key:"1jpd1m"}],["path",{d:"m10.8 14.3-.4-1",key:"17ugyy"}],["path",{d:"m8.3 18.6 1-.4",key:"s42vdx"}],["path",{d:"m14.7 15.8 1-.4",key:"2wizun"}]]),g=(0,d.A)("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]);var p=t(91994),f=t(8782),v=t(49573),y=t(20107);let b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e4,[r,t]=(0,y.useState)([]),[a,s]=(0,y.useState)(!0),[n,l]=(0,y.useState)(null),[i,d]=(0,y.useState)(null),c=(0,y.useCallback)(async()=>{try{l(null);let e=await fetch("/cgi-bin/quecmanager/experimental/fetch_interpretations.sh",{cache:"no-cache",headers:{"Cache-Control":"no-cache",Pragma:"no-cache"}});if(!e.ok)throw Error("HTTP ".concat(e.status,": Failed to fetch interpretations"));let r=await e.json(),a=Array.isArray(r)?r:[];t(a),d(new Date)}catch(e){console.error("Failed to fetch interpretations:",e),l(e instanceof Error?e.message:"Unknown error occurred")}finally{s(!1)}},[]);return(0,y.useEffect)(()=>{if(c(),e>0){let r=setInterval(c,e);return()=>clearInterval(r)}},[c,e]),{interpretations:r,loading:a,error:n,lastUpdate:i,refresh:(0,y.useCallback)(()=>{s(!0),c()},[c])}};var j=t(36760);let w=e=>e.includes("band")?(0,a.jsx)(c,{className:"h-4 w-4"}):e.includes("carrier aggregation")?(0,a.jsx)(o.A,{className:"h-4 w-4"}):e.includes("signal")?(0,a.jsx)(h,{className:"h-4 w-4"}):(e.includes("PCI")||e.includes("EARFCN"),(0,a.jsx)(u,{className:"h-4 w-4"})),N=e=>e.includes("activated")?"bg-green-100 text-green-800 border-green-200 dark:bg-green-900/20 dark:text-green-300 dark:border-green-800":e.includes("deactivated")?"bg-red-100 text-red-800 border-red-200 dark:bg-red-900/20 dark:text-red-300 dark:border-red-800":e.includes("improved")?"bg-blue-100 text-blue-800 border-blue-200 dark:bg-blue-900/20 dark:text-blue-300 dark:border-blue-800":e.includes("degraded")?"bg-orange-100 text-orange-800 border-orange-200 dark:bg-orange-900/20 dark:text-orange-300 dark:border-orange-800":e.includes("changed")?"bg-purple-100 text-purple-800 border-purple-200 dark:bg-purple-900/20 dark:text-purple-300 dark:border-purple-800":"bg-gray-100 text-gray-800 border-gray-200 dark:bg-gray-900/20 dark:text-gray-300 dark:border-gray-800";function k(){let{interpretations:e,loading:r,error:t,lastUpdate:d,refresh:c}=b(3e4),o=e=>{try{let r=new Date(e);return{date:r.toLocaleDateString(),time:r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}}catch(r){return{date:e.split(" ")[0]||"",time:e.split(" ")[1]||""}}},h=e.reduce((e,r)=>{let{date:t}=o(r.datetime);return e[t]||(e[t]=[]),e[t].push(r),e},{}),y=Object.keys(h).sort((e,r)=>new Date(r).getTime()-new Date(e).getTime());return(0,a.jsxs)(s.Zp,{children:[(0,a.jsxs)(s.aR,{children:[(0,a.jsx)(s.ZB,{children:"Network Insights"}),(0,a.jsx)(s.BT,{children:"This page provides real-time insights into your cellular network changes, including band switches, carrier aggregation events, and signal quality improvements or degradations."})]}),(0,a.jsx)(s.Wu,{children:(0,a.jsxs)("div",{className:"space-y-6",children:[t&&(0,a.jsxs)(v.Fc,{variant:"destructive",children:[(0,a.jsx)(m.A,{className:"h-4 w-4"}),(0,a.jsxs)(v.TN,{children:["Failed to load network insights: ",t]})]}),(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(u,{className:"h-8 w-8 text-blue-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Total Events"}),r&&0===e.length?(0,a.jsx)(j.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.length})]})]})})}),(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(x,{className:"h-8 w-8 text-green-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Band Changes"}),r&&0===e.length?(0,a.jsx)(j.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.filter(e=>e.interpretation.includes("band")).length})]})]})})}),(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(g,{className:"h-8 w-8 text-purple-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"CA Events"}),r&&0===e.length?(0,a.jsx)(j.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.filter(e=>e.interpretation.includes("carrier aggregation")).length})]})]})})})]}),r&&0===e.length?(0,a.jsx)(s.Zp,{className:"pt-6",children:(0,a.jsxs)(s.Wu,{className:"flex flex-col gap-4",children:[(0,a.jsx)(j.E,{className:"h-16 w-full"}),(0,a.jsx)(j.E,{className:"h-16 w-full"}),(0,a.jsx)(j.E,{className:"h-16 w-full"})]})}):(0,a.jsx)(a.Fragment,{children:r||0!==y.length?y.map(e=>(0,a.jsxs)(s.Zp,{children:[(0,a.jsx)(s.aR,{children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(s.ZB,{children:e}),(0,a.jsxs)(n.E,{variant:"secondary",children:[h[e].length," event",1!==h[e].length?"s":""]})]})}),(0,a.jsx)(s.Wu,{children:(0,a.jsx)("div",{className:"space-y-4",children:h[e].sort((e,r)=>new Date(r.datetime).getTime()-new Date(e.datetime).getTime()).map((r,t)=>{let{time:s}=o(r.datetime);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,a.jsx)("div",{className:"p-2 rounded-full border ".concat(N(r.interpretation)),children:w(r.interpretation)}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("div",{className:"flex items-center space-x-2",children:(0,a.jsx)("span",{className:"text-sm font-medium text-muted-foreground",children:s})}),(0,a.jsx)("p",{className:"mt-1 text-sm leading-relaxed",children:r.interpretation})]})]}),t{t.d(r,{Fc:()=>d,TN:()=>o,XL:()=>c});var a=t(20475),s=t(20107),n=t(29395),l=t(22250);let i=(0,n.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=s.forwardRef((e,r)=>{let{className:t,variant:s,...n}=e;return(0,a.jsx)("div",{ref:r,role:"alert",className:(0,l.cn)(i({variant:s}),t),...n})});d.displayName="Alert";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("h5",{ref:r,className:(0,l.cn)("mb-1 font-medium leading-none tracking-tight",t),...s})});c.displayName="AlertTitle";let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,l.cn)("text-sm [&_p]:leading-relaxed",t),...s})});o.displayName="AlertDescription"},45934:(e,r,t)=>{t.d(r,{E:()=>i});var a=t(20475);t(20107);var s=t(29395),n=t(22250);let l=(0,s.F)("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 i(e){let{className:r,variant:t,...s}=e;return(0,a.jsx)("div",{className:(0,n.cn)(l({variant:t}),r),...s})}},42541:(e,r,t)=>{t.d(r,{$:()=>c,r:()=>d});var a=t(20475),s=t(20107),n=t(61837),l=t(29395),i=t(22250);let d=(0,l.F)("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,r)=>{let{className:t,variant:s,size:l,asChild:c=!1,...o}=e,h=c?n.DX:"button";return(0,a.jsx)(h,{className:(0,i.cn)(d({variant:s,size:l,className:t})),ref:r,...o})});c.displayName="Button"},72167:(e,r,t)=>{t.d(r,{BT:()=>c,Wu:()=>o,ZB:()=>d,Zp:()=>l,aR:()=>i,wL:()=>h});var a=t(20475),s=t(20107),n=t(22250);let l=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...s})});l.displayName="Card";let i=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",t),...s})});i.displayName="CardHeader";let d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("h3",{ref:r,className:(0,n.cn)("font-semibold leading-none tracking-tight",t),...s})});d.displayName="CardTitle";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("p",{ref:r,className:(0,n.cn)("text-sm text-muted-foreground",t),...s})});c.displayName="CardDescription";let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("p-6 pt-0",t),...s})});o.displayName="CardContent";let h=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("flex items-center p-6 pt-0",t),...s})});h.displayName="CardFooter"},76554:(e,r,t)=>{t.d(r,{w:()=>i});var a=t(20475),s=t(20107),n=t(88853),l=t(22250);let i=s.forwardRef((e,r)=>{let{className:t,orientation:s="horizontal",decorative:i=!0,...d}=e;return(0,a.jsx)(n.b,{ref:r,decorative:i,orientation:s,className:(0,l.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",t),...d})});i.displayName=n.b.displayName},36760:(e,r,t)=>{t.d(r,{E:()=>n});var a=t(20475),s=t(22250);function n(e){let{className:r,...t}=e;return(0,a.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-primary/10",r),...t})}},22250:(e,r,t)=>{t.d(r,{cn:()=>n});var a=t(64901),s=t(868);function n(){for(var e=arguments.length,r=Array(e),t=0;t{t.d(r,{A:()=>d});var a=t(20107);let s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=function(){for(var e=arguments.length,r=Array(e),t=0;t!!e&&t.indexOf(e)===r).join(" ")};var l={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,a.forwardRef)((e,r)=>{let{color:t="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:d,className:c="",children:o,iconNode:h,...u}=e;return(0,a.createElement)("svg",{ref:r,...l,width:s,height:s,stroke:t,strokeWidth:d?24*Number(i)/Number(s):i,className:n("lucide",c),...u},[...h.map(e=>{let[r,t]=e;return(0,a.createElement)(r,t)}),...Array.isArray(o)?o:[o]])}),d=(e,r)=>{let t=(0,a.forwardRef)((t,l)=>{let{className:d,...c}=t;return(0,a.createElement)(i,{ref:l,iconNode:r,className:n("lucide-".concat(s(e)),d),...c})});return t.displayName="".concat(e),t}},17799:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},8782:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},91994:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},92823:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},34544:(e,r,t)=>{t.d(r,{hO:()=>d,sG:()=>i});var a=t(20107),s=t(25642),n=t(61837),l=t(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,r)=>{let t=a.forwardRef((e,t)=>{let{asChild:a,...s}=e,i=a?n.DX:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i,{...s,ref:t})});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{});function d(e,r){e&&s.flushSync(()=>e.dispatchEvent(r))}},88853:(e,r,t)=>{t.d(r,{b:()=>c});var a=t(20107),s=t(34544),n=t(20475),l="horizontal",i=["horizontal","vertical"],d=a.forwardRef((e,r)=>{let{decorative:t,orientation:a=l,...d}=e,c=i.includes(a)?a:l;return(0,n.jsx)(s.sG.div,{"data-orientation":c,...t?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...d,ref:r})});d.displayName="Separator";var c=d}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3453-1e7922659f5b386a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3453-1e7922659f5b386a.js deleted file mode 100644 index ec96bf0..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/3453-1e7922659f5b386a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3453],{51873:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},32474:(e,t,r)=>{r.d(t,{N:()=>u});var n=r(20107),o=r(54379),a=r(64236),l=r(61837),i=r(20475);function u(e){let t=e+"CollectionProvider",[r,u]=(0,o.A)(t),[s,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,o=n.useRef(null),a=n.useRef(new Map).current;return(0,i.jsx)(s,{scope:t,itemMap:a,collectionRef:o,children:r})};d.displayName=t;let f=e+"CollectionSlot",p=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=c(f,r),u=(0,a.s)(t,o.collectionRef);return(0,i.jsx)(l.DX,{ref:u,children:n})});p.displayName=f;let v=e+"CollectionItemSlot",m="data-radix-collection-item",b=n.forwardRef((e,t)=>{let{scope:r,children:o,...u}=e,s=n.useRef(null),d=(0,a.s)(t,s),f=c(v,r);return n.useEffect(()=>(f.itemMap.set(s,{ref:s,...u}),()=>void f.itemMap.delete(s))),(0,i.jsx)(l.DX,{[m]:"",ref:d,children:o})});return b.displayName=v,[{Provider:d,Slot:p,ItemSlot:b},function(t){let r=c(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},u]}},71856:(e,t,r)=>{r.d(t,{RG:()=>R,bL:()=>M,q7:()=>T});var n=r(20107),o=r(94521),a=r(32474),l=r(64236),i=r(54379),u=r(72763),s=r(34544),c=r(46774),d=r(13061),f=r(76056),p=r(20475),v="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[y,h,w]=(0,a.N)(b),[x,R]=(0,i.A)(b,[w]),[g,C]=x(b),A=n.forwardRef((e,t)=>(0,p.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(j,{...e,ref:t})})}));A.displayName=b;var j=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:a,loop:i=!1,dir:u,currentTabStopId:b,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:w,onEntryFocus:x,preventScrollOnEntryFocus:R=!1,...C}=e,A=n.useRef(null),j=(0,l.s)(t,A),I=(0,f.jH)(u),[D=null,F]=(0,d.i)({prop:b,defaultProp:y,onChange:w}),[M,T]=n.useState(!1),E=(0,c.c)(x),G=h(r),N=n.useRef(!1),[S,K]=n.useState(0);return n.useEffect(()=>{let e=A.current;if(e)return e.addEventListener(v,E),()=>e.removeEventListener(v,E)},[E]),(0,p.jsx)(g,{scope:r,orientation:a,dir:I,loop:i,currentTabStopId:D,onItemFocus:n.useCallback(e=>F(e),[F]),onItemShiftTab:n.useCallback(()=>T(!0),[]),onFocusableItemAdd:n.useCallback(()=>K(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>K(e=>e-1),[]),children:(0,p.jsx)(s.sG.div,{tabIndex:M||0===S?-1:0,"data-orientation":a,...C,ref:j,style:{outline:"none",...e.style},onMouseDown:(0,o.m)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,o.m)(e.onFocus,e=>{let t=!N.current;if(e.target===e.currentTarget&&t&&!M){let t=new CustomEvent(v,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=G().filter(e=>e.focusable);k([e.find(e=>e.active),e.find(e=>e.id===D),...e].filter(Boolean).map(e=>e.ref.current),R)}}N.current=!1}),onBlur:(0,o.m)(e.onBlur,()=>T(!1))})})}),I="RovingFocusGroupItem",D=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:a=!0,active:l=!1,tabStopId:i,...c}=e,d=(0,u.B)(),f=i||d,v=C(I,r),m=v.currentTabStopId===f,b=h(r),{onFocusableItemAdd:w,onFocusableItemRemove:x}=v;return n.useEffect(()=>{if(a)return w(),()=>x()},[a,w,x]),(0,p.jsx)(y.ItemSlot,{scope:r,id:f,focusable:a,active:l,children:(0,p.jsx)(s.sG.span,{tabIndex:m?0:-1,"data-orientation":v.orientation,...c,ref:t,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a?v.onItemFocus(f):e.preventDefault()}),onFocus:(0,o.m)(e.onFocus,()=>v.onItemFocus(f)),onKeyDown:(0,o.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){v.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return F[o]}(e,v.orientation,v.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=v.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>k(r))}})})})});D.displayName=I;var F={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function k(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var M=A,T=D},93677:(e,t,r)=>{r.d(t,{B8:()=>k,UC:()=>T,bL:()=>F,l9:()=>M});var n=r(20107),o=r(94521),a=r(45170),l=r(71856),i=r(54245),u=r(34544),s=r(76056),c=r(13061),d=r(72763),f=r(20475),p="Tabs",[v,m]=(0,a.A)(p,[l.RG]),b=(0,l.RG)(),[y,h]=v(p),w=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:l="horizontal",dir:i,activationMode:p="automatic",...v}=e,m=(0,s.jH)(i),[b,h]=(0,c.i)({prop:n,onChange:o,defaultProp:a});return(0,f.jsx)(y,{scope:r,baseId:(0,d.B)(),value:b,onValueChange:h,orientation:l,dir:m,activationMode:p,children:(0,f.jsx)(u.sG.div,{dir:m,"data-orientation":l,...v,ref:t})})});w.displayName=p;var x="TabsList",R=n.forwardRef((e,t)=>{let{__scopeTabs:r,loop:n=!0,...o}=e,a=h(x,r),i=b(r);return(0,f.jsx)(l.bL,{asChild:!0,...i,orientation:a.orientation,dir:a.dir,loop:n,children:(0,f.jsx)(u.sG.div,{role:"tablist","aria-orientation":a.orientation,...o,ref:t})})});R.displayName=x;var g="TabsTrigger",C=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,disabled:a=!1,...i}=e,s=h(g,r),c=b(r),d=I(s.baseId,n),p=D(s.baseId,n),v=n===s.value;return(0,f.jsx)(l.q7,{asChild:!0,...c,focusable:!a,active:v,children:(0,f.jsx)(u.sG.button,{type:"button",role:"tab","aria-selected":v,"aria-controls":p,"data-state":v?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:d,...i,ref:t,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():s.onValueChange(n)}),onKeyDown:(0,o.m)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&s.onValueChange(n)}),onFocus:(0,o.m)(e.onFocus,()=>{let e="manual"!==s.activationMode;v||a||!e||s.onValueChange(n)})})})});C.displayName=g;var A="TabsContent",j=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:o,forceMount:a,children:l,...s}=e,c=h(A,r),d=I(c.baseId,o),p=D(c.baseId,o),v=o===c.value,m=n.useRef(v);return n.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,f.jsx)(i.C,{present:a||v,children:r=>{let{present:n}=r;return(0,f.jsx)(u.sG.div,{"data-state":v?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":d,hidden:!n,id:p,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:n&&l})}})});function I(e,t){return"".concat(e,"-trigger-").concat(t)}function D(e,t){return"".concat(e,"-content-").concat(t)}j.displayName=A;var F=w,k=R,M=C,T=j}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1917-492469897920cd7a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4409-1561b680f56c1034.js similarity index 56% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1917-492469897920cd7a.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4409-1561b680f56c1034.js index 44c2111..4f0fe8d 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/1917-492469897920cd7a.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4409-1561b680f56c1034.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1917],{31917:(e,t,a)=>{a.r(t),a.d(t,{default:()=>y});var r=a(20475),s=a(20107),i=a(72167),n=a(35601),l=a(85014),o=a(42541),d=a(18861),c=a(49153),u=a(64219),m=a(59166),h=a(39997);let p=(0,h.A)("ShieldX",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m14.5 9.5-5 5",key:"17q4r4"}],["path",{d:"m9.5 9.5 5 5",key:"18nt4w"}]]),f=(0,h.A)("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var x=a(12607);let g=(0,h.A)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),v=(0,h.A)("ScanEye",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]]),b=(0,h.A)("Ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]]);var j=a(32857);let y=()=>{let{toast:e}=(0,j.dj)(),[t,a]=(0,s.useState)({pingTarget:"8.8.8.8",pingInterval:60,pingFailures:3,maxRetries:5,connectionRefresh:!1,autoSimFailover:!1,simFailoverSchedule:30}),[h,y]=(0,s.useState)("loading"),[w,N]=(0,s.useState)(!1),[k,S]=(0,s.useState)(null),[R,F]=(0,s.useState)(null),[C,T]=(0,s.useState)(0),E=async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/quecwatch/fetch-quecwatch.sh");if(!e.ok)throw Error("Network response was not ok");let t=await e.json();if("active"===t.status){if(t.config){let e={pingTarget:t.config.pingTarget||"8.8.8.8",pingInterval:t.config.pingInterval||60,pingFailures:t.config.pingFailures||3,maxRetries:t.config.maxRetries||5,connectionRefresh:!!t.config.connectionRefresh,autoSimFailover:!!t.config.autoSimFailover,simFailoverSchedule:t.config.simFailoverSchedule||30};a(e),void 0!==t.config.currentRetries?(T(t.config.currentRetries),t.config.currentRetries>=e.maxRetries?y("maxRetries"):y("active")):y("active"),F(t.lastActivity||null)}else y("active")}else"inactive"===t.status?y("inactive"):(y("error"),S(t.message||"Unknown error occurred"))}catch(t){y("error"),S(t instanceof Error?t.message:"An unknown error occurred"),e({title:"Error",description:"Failed to fetch QuecWatch configuration",variant:"destructive"})}};(0,s.useEffect)(()=>{E()},[]),(0,s.useEffect)(()=>{if("active"===h||"maxRetries"===h){let e=setInterval(E,5e3);return()=>clearInterval(e)}},[h]);let A=async()=>{N(!0);try{let t=await fetch("/cgi-bin/quecmanager/experimental/quecwatch/reset-quecwatch.sh",{method:"POST",headers:{"Content-Type":"application/json"}});if(!t.ok)throw Error("Network response was not ok");let a=await t.json();if("success"===a.status)e({title:"QuecWatch Reset",description:"Counter reset and service restarted successfully"}),y("active"),T(0),setTimeout(E,1e3);else throw Error(a.message||"Failed to reset retry counter")}catch(t){e({title:"Error",description:t instanceof Error?t.message:"Failed to reset retry counter",variant:"destructive"})}finally{N(!1)}},I=async()=>{N(!0),S(null);try{let a=await fetch("/cgi-bin/quecmanager/experimental/quecwatch/enable-quecwatch.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({pingTarget:t.pingTarget,pingInterval:t.pingInterval,pingFailures:t.pingFailures,maxRetries:t.maxRetries,connectionRefresh:t.connectionRefresh,autoSimFailover:t.autoSimFailover,simFailoverSchedule:t.simFailoverSchedule})});if(!a.ok)throw Error("Network response was not ok");let r=await a.json();if("success"===r.status)y("active"),e({title:"QuecWatch Enabled",description:"QuecWatch enabled successfully"}),await E();else throw Error(r.message||"Failed to enable QuecWatch")}catch(t){y("error"),S(t instanceof Error?t.message:"An unknown error occurred"),e({title:"Error",description:t instanceof Error?t.message:"Failed to enable QuecWatch",variant:"destructive"})}finally{N(!1)}},M=async()=>{N(!0),S(null);try{let t=await fetch("/cgi-bin/quecmanager/experimental/quecwatch/disable-quecwatch.sh",{method:"POST",headers:{"Content-Type":"application/json"}});if(!t.ok)throw Error("Network response was not ok");let a=await t.json();if("success"===a.status)y("inactive"),e({title:"QuecWatch Disabled",description:"QuecWatch disabled successfully",variant:"default"});else throw Error(a.message||"Failed to disable QuecWatch")}catch(t){y("error"),S(t instanceof Error?t.message:"An unknown error occurred"),e({title:"Error",description:t instanceof Error?t.message:"Failed to disable QuecWatch",variant:"destructive"})}finally{N(!1)}};return(0,r.jsxs)(i.Zp,{children:[(0,r.jsxs)(i.aR,{children:[(0,r.jsx)(i.ZB,{children:"QuecWatch"}),(0,r.jsx)(i.BT,{children:"An intelligent watchdog service for Quectel-AP modems that ensures network reliability through automated monitoring, connection management, and SIM failover capabilities."})]}),(0,r.jsx)(i.Wu,{children:(0,r.jsxs)("div",{className:"grid gap-8",children:[(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex justify-between items-center gap-x-4 rounded-lg border p-4",children:[(0,r.jsx)(c.J,{children:"QuecWatch Status"}),(0,r.jsx)("div",{className:"flex items-center space-x-1",children:"loading"===h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.A,{className:"animate-spin text-primary size-4"}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"Loading..."})]}):"inactive"===h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p,{className:"text-rose-500 size-4"}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"Inactive"})]}):"active"===h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f,{className:"text-green-500 size-4"}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"Active"})]}):"maxRetries"===h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.A,{className:"text-yellow-500 size-4"}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"Maximum Retries Exhausted"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p,{className:"text-amber-500 size-4"}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"Error"})]})})]}),(0,r.jsxs)("div",{className:"flex justify-between items-center gap-x-4 rounded-lg border p-4",children:[(0,r.jsx)(c.J,{children:"Remaining Retries"}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[("active"===h||"maxRetries"===h)&&(0,r.jsx)(l.TooltipProvider,{children:(0,r.jsxs)(l.m_,{children:[(0,r.jsx)(l.k$,{asChild:!0,children:(0,r.jsx)(o.$,{variant:"outline",size:"icon",className:"h-6 w-6",onClick:A,disabled:w,children:(0,r.jsx)(g,{className:"h-4 w-4"})})}),(0,r.jsx)(l.ZI,{children:(0,r.jsx)("p",{children:"Reset the retry counter"})})]})}),(0,r.jsxs)("p",{className:"text-muted-foreground text-sm",children:[C," / ",t.maxRetries]})]})]})]}),(0,r.jsxs)("div",{className:"grid grid-flow-row lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,r.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,r.jsx)(c.J,{htmlFor:"ping",children:"Ping Target"}),(0,r.jsx)(u.p,{id:"ping",placeholder:"8.8.8.8",value:t.pingTarget,disabled:"active"===h||"maxRetries"===h,onChange:e=>a(t=>({...t,pingTarget:e.target.value}))})]}),(0,r.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,r.jsx)(c.J,{htmlFor:"ping-interval",children:"Ping Interval"}),(0,r.jsxs)(n.l6,{value:t.pingInterval.toString(),disabled:"active"===h||"maxRetries"===h,onValueChange:e=>a(t=>({...t,pingInterval:parseInt(e)})),children:[(0,r.jsx)(n.bq,{id:"ping-interval",children:(0,r.jsx)(n.yv,{placeholder:"Select Ping Interval"})}),(0,r.jsx)(n.gC,{children:[5,10,15,30,60,120,300,600,1800,3600].map(e=>(0,r.jsx)(n.eb,{value:e.toString(),children:e>=3600?"".concat(e/3600," hour").concat(e>3600?"s":""):e>=60?"".concat(e/60," minute").concat(e>=120?"s":""):"".concat(e," second").concat(1!==e?"s":"")},e))})]})]}),(0,r.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,r.jsx)(c.J,{htmlFor:"ping-failure",children:"Ping Failures"}),(0,r.jsxs)(n.l6,{value:t.pingFailures.toString(),disabled:"active"===h||"maxRetries"===h,onValueChange:e=>a(t=>({...t,pingFailures:parseInt(e)})),children:[(0,r.jsx)(n.bq,{id:"ping-failure",children:(0,r.jsx)(n.yv,{placeholder:"Select Ping Failures"})}),(0,r.jsx)(n.gC,{children:[1,3,5,10].map(e=>(0,r.jsxs)(n.eb,{value:e.toString(),children:[e," failure",1!==e?"s":""]},e))})]})]}),(0,r.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,r.jsx)(c.J,{htmlFor:"max-retries",children:"Max Retries"}),(0,r.jsxs)(n.l6,{value:t.maxRetries.toString(),disabled:"active"===h||"maxRetries"===h,onValueChange:e=>a(t=>({...t,maxRetries:parseInt(e)})),children:[(0,r.jsx)(n.bq,{id:"max-retries",children:(0,r.jsx)(n.yv,{placeholder:"Select Max Retries"})}),(0,r.jsx)(n.gC,{children:[1,3,5,10,15,20].map(e=>(0,r.jsx)(n.eb,{value:e.toString(),children:e},e))})]})]})]}),(0,r.jsxs)("div",{className:"flex flex-row items-center justify-between rounded-lg border p-4",children:[(0,r.jsxs)("div",{className:"space-y-0.5 grid",children:[(0,r.jsx)(c.J,{className:"text-base",children:"Connection Refresh"}),(0,r.jsx)(c.J,{className:"text-sm font-normal text-muted-foreground",children:"Toggle the connection refresh for the modem to first attempt reconnecting to the network before restarting."})]}),(0,r.jsx)(d.d,{checked:t.connectionRefresh,disabled:"active"===h||"maxRetries"===h,onCheckedChange:e=>a(t=>({...t,connectionRefresh:e}))})]}),(0,r.jsxs)("div",{className:" rounded-lg border p-4 grid gap-y-6",children:[(0,r.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[(0,r.jsxs)("div",{className:"space-y-0.5 grid",children:[(0,r.jsx)(c.J,{className:"text-base",children:"Auto SIM Failover"}),(0,r.jsx)(c.J,{className:"text-sm font-normal text-muted-foreground",children:"Auto SIM Failover will automatically switch to the next available SIM card when the current SIM card fails to connect to the network."})]}),(0,r.jsx)(d.d,{checked:t.autoSimFailover,disabled:"active"===h||"maxRetries"===h,onCheckedChange:e=>a(t=>({...t,autoSimFailover:e}))})]}),(0,r.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,r.jsx)(c.J,{htmlFor:"sim-failover",children:"Schedule SIM Checking"}),(0,r.jsxs)(n.l6,{value:t.simFailoverSchedule.toString(),disabled:"active"===h||"maxRetries"===h||!t.autoSimFailover,onValueChange:e=>a(t=>({...t,simFailoverSchedule:parseInt(e)})),children:[(0,r.jsx)(n.bq,{id:"sim-failover",className:"max-w-xs",children:(0,r.jsx)(n.yv,{placeholder:"Select SIM Checking Interval"})}),(0,r.jsxs)(n.gC,{children:[(0,r.jsx)(n.eb,{value:"0",children:"Disabled"}),(0,r.jsx)(n.eb,{value:"1",children:"1 Minute"}),(0,r.jsx)(n.eb,{value:"5",children:"5 Minutes"}),(0,r.jsx)(n.eb,{value:"30",children:"30 Minutes"}),(0,r.jsx)(n.eb,{value:"60",children:"1 Hour"}),(0,r.jsx)(n.eb,{value:"360",children:"6 Hours"}),(0,r.jsx)(n.eb,{value:"720",children:"12 Hours"}),(0,r.jsx)(n.eb,{value:"1440",children:"24 Hours"})]})]})]})]}),(0,r.jsxs)("div",{className:"rounded-lg border p-4",children:[(0,r.jsx)(c.J,{className:"text-base",children:"Last Activity"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground mt-2",children:R||"No recent activity"})]}),k&&(0,r.jsx)("div",{className:"text-red-500 text-sm",children:k})]})}),(0,r.jsxs)(i.wL,{className:"flex gap-4 border-t py-4",children:[("inactive"===h||"error"===h)&&(0,r.jsx)(o.$,{onClick:I,disabled:w||!t.pingTarget,children:w?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.A,{className:"h-4 w-4 animate-spin"}),"Enabling..."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v,{className:"w-4 h-4"}),"Enable QuecWatch"]})}),("active"===h||"maxRetries"===h)&&(0,r.jsx)(o.$,{variant:"destructive",onClick:M,disabled:w,children:w?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.A,{className:"h-4 w-4 animate-spin"}),"Disabling..."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b,{className:"w-4 h-4"}),"Disable QuecWatch"]})})]})]})}},42541:(e,t,a)=>{a.d(t,{$:()=>d,r:()=>o});var r=a(20475),s=a(20107),i=a(61837),n=a(29395),l=a(22250);let o=(0,n.F)("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:n,asChild:d=!1,...c}=e,u=d?i.DX:"button";return(0,r.jsx)(u,{className:(0,l.cn)(o({variant:s,size:n,className:a})),ref:t,...c})});d.displayName="Button"},72167:(e,t,a)=>{a.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>n,aR:()=>l,wL:()=>u});var r=a(20475),s=a(20107),i=a(22250);let n=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",a),...s})});n.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",a),...s})});l.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("h3",{ref:t,className:(0,i.cn)("font-semibold leading-none tracking-tight",a),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",a),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",a),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",a),...s})});u.displayName="CardFooter"},64219:(e,t,a)=>{a.d(t,{p:()=>n});var r=a(20475),s=a(20107),i=a(22250);let n=s.forwardRef((e,t)=>{let{className:a,type:s,...n}=e;return(0,r.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",a),ref:t,...n})});n.displayName="Input"},49153:(e,t,a)=>{a.d(t,{J:()=>d});var r=a(20475),s=a(20107),i=a(21840),n=a(29395),l=a(22250);let o=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.b,{ref:t,className:(0,l.cn)(o(),a),...s})});d.displayName=i.b.displayName},35601:(e,t,a)=>{a.d(t,{TR:()=>f,bq:()=>u,eb:()=>x,gC:()=>p,l6:()=>o,s3:()=>d,yv:()=>c});var r=a(20475),s=a(20107),i=a(7197),n=a(95257),l=a(22250);let o=n.bL,d=n.YJ,c=n.WT,u=s.forwardRef((e,t)=>{let{className:a,children:s,...o}=e;return(0,r.jsxs)(n.l9,{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",a),...o,children:[s,(0,r.jsx)(n.In,{asChild:!0,children:(0,r.jsx)(i.TBE,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=n.l9.displayName;let m=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.PP,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",a),...s,children:(0,r.jsx)(i.Mtm,{})})});m.displayName=n.PP.displayName;let h=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.wn,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",a),...s,children:(0,r.jsx)(i.D3D,{})})});h.displayName=n.wn.displayName;let p=s.forwardRef((e,t)=>{let{className:a,children:s,position:i="popper",...o}=e;return(0,r.jsx)(n.ZL,{children:(0,r.jsxs)(n.UC,{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"===i&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:i,...o,children:[(0,r.jsx)(m,{}),(0,r.jsx)(n.LM,{className:(0,l.cn)("p-1","popper"===i&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s}),(0,r.jsx)(h,{})]})})});p.displayName=n.UC.displayName;let f=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.JU,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",a),...s})});f.displayName=n.JU.displayName;let x=s.forwardRef((e,t)=>{let{className:a,children:s,...o}=e;return(0,r.jsxs)(n.q7,{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",a),...o,children:[(0,r.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(n.VF,{children:(0,r.jsx)(i.Srz,{className:"h-4 w-4"})})}),(0,r.jsx)(n.p4,{children:s})]})});x.displayName=n.q7.displayName,s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.wv,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",a),...s})}).displayName=n.wv.displayName},18861:(e,t,a)=>{a.d(t,{d:()=>l});var r=a(20475),s=a(20107),i=a(80982),n=a(22250);let l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.bL,{className:(0,n.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",a),...s,ref:t,children:(0,r.jsx)(i.zi,{className:(0,n.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")})})});l.displayName=i.bL.displayName},85014:(e,t,a)=>{a.d(t,{TooltipProvider:()=>l,ZI:()=>c,k$:()=>d,m_:()=>o});var r=a(20475),s=a(20107),i=a(43048),n=a(22250);let l=i.Kq,o=i.bL,d=i.l9,c=s.forwardRef((e,t)=>{let{className:a,sideOffset:s=4,...l}=e;return(0,r.jsx)(i.UC,{ref:t,sideOffset:s,className:(0,n.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",a),...l})});c.displayName=i.UC.displayName},32857:(e,t,a)=>{a.d(t,{dj:()=>m,oR:()=>u});var r=a(20107);let s=0,i=new Map,n=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);i.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:a}=t;return a?n(a):e.toasts.forEach(e=>{n(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)}}},o=[],d={toasts:[]};function c(e){d=l(d,e),o.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 m(){let[e,t]=r.useState(d);return r.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,a)=>{a.d(t,{cn:()=>i});var r=a(64901),s=a(868);function i(){for(var e=arguments.length,t=Array(e),a=0;a{a.d(t,{A:()=>r});let r=(0,a(39997).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},12607:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(39997).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},80982:(e,t,a)=>{a.d(t,{bL:()=>w,zi:()=>N});var r=a(20107),s=a(94521),i=a(64236),n=a(45170),l=a(13061),o=a(65163),d=a(63620),c=a(34544),u=a(20475),m="Switch",[h,p]=(0,n.A)(m),[f,x]=h(m),g=r.forwardRef((e,t)=>{let{__scopeSwitch:a,name:n,checked:o,defaultChecked:d,required:m,disabled:h,value:p="on",onCheckedChange:x,form:g,...v}=e,[b,w]=r.useState(null),N=(0,i.s)(t,e=>w(e)),k=r.useRef(!1),S=!b||g||!!b.closest("form"),[R=!1,F]=(0,l.i)({prop:o,defaultProp:d,onChange:x});return(0,u.jsxs)(f,{scope:a,checked:R,disabled:h,children:[(0,u.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":R,"aria-required":m,"data-state":y(R),"data-disabled":h?"":void 0,disabled:h,value:p,...v,ref:N,onClick:(0,s.m)(e.onClick,e=>{F(e=>!e),S&&(k.current=e.isPropagationStopped(),k.current||e.stopPropagation())})}),S&&(0,u.jsx)(j,{control:b,bubbles:!k.current,name:n,value:p,checked:R,required:m,disabled:h,form:g,style:{transform:"translateX(-100%)"}})]})});g.displayName=m;var v="SwitchThumb",b=r.forwardRef((e,t)=>{let{__scopeSwitch:a,...r}=e,s=x(v,a);return(0,u.jsx)(c.sG.span,{"data-state":y(s.checked),"data-disabled":s.disabled?"":void 0,...r,ref:t})});b.displayName=v;var j=e=>{let{control:t,checked:a,bubbles:s=!0,...i}=e,n=r.useRef(null),l=(0,o.Z)(a),c=(0,d.X)(t);return r.useEffect(()=>{let e=n.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(l!==a&&t){let r=new Event("click",{bubbles:s});t.call(e,a),e.dispatchEvent(r)}},[l,a,s]),(0,u.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:a,...i,tabIndex:-1,ref:n,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function y(e){return e?"checked":"unchecked"}var w=g,N=b}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4409],{31917:(e,t,a)=>{a.r(t),a.d(t,{default:()=>j});var r=a(20475),s=a(20107),n=a(72167),i=a(35601),l=a(85014),o=a(42541),d=a(18861),c=a(49153),u=a(64219),m=a(59166),h=a(39997);let f=(0,h.A)("ShieldX",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m14.5 9.5-5 5",key:"17q4r4"}],["path",{d:"m9.5 9.5 5 5",key:"18nt4w"}]]),p=(0,h.A)("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var x=a(12607);let g=(0,h.A)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),v=(0,h.A)("ScanEye",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]]),y=(0,h.A)("Ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]]);var b=a(32857);let j=()=>{let{toast:e}=(0,b.dj)(),[t,a]=(0,s.useState)({pingTarget:"8.8.8.8",pingInterval:60,pingFailures:3,maxRetries:5,connectionRefresh:!1,autoSimFailover:!1,simFailoverSchedule:30}),[h,j]=(0,s.useState)("loading"),[w,N]=(0,s.useState)(!1),[k,S]=(0,s.useState)(null),[R,T]=(0,s.useState)(null),[E,F]=(0,s.useState)(0),C=async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/quecwatch/fetch-quecwatch.sh");if(!e.ok)throw Error("Network response was not ok");let t=await e.json();if("active"===t.status){if(t.config){let e={pingTarget:t.config.pingTarget||"8.8.8.8",pingInterval:t.config.pingInterval||60,pingFailures:t.config.pingFailures||3,maxRetries:t.config.maxRetries||5,connectionRefresh:!!t.config.connectionRefresh,autoSimFailover:!!t.config.autoSimFailover,simFailoverSchedule:t.config.simFailoverSchedule||30};a(e),void 0!==t.config.currentRetries?(F(t.config.currentRetries),t.config.currentRetries>=e.maxRetries?j("maxRetries"):j("active")):j("active"),T(t.lastActivity||null)}else j("active")}else"inactive"===t.status?j("inactive"):(j("error"),S(t.message||"Unknown error occurred"))}catch(t){j("error"),S(t instanceof Error?t.message:"An unknown error occurred"),e({title:"Error",description:"Failed to fetch QuecWatch configuration",variant:"destructive"})}};(0,s.useEffect)(()=>{C()},[]),(0,s.useEffect)(()=>{if("active"===h||"maxRetries"===h){let e=setInterval(C,5e3);return()=>clearInterval(e)}},[h]);let A=async()=>{N(!0);try{let t=await fetch("/cgi-bin/quecmanager/experimental/quecwatch/reset-quecwatch.sh",{method:"POST",headers:{"Content-Type":"application/json"}});if(!t.ok)throw Error("Network response was not ok");let a=await t.json();if("success"===a.status)e({title:"QuecWatch Reset",description:"Counter reset and service restarted successfully"}),j("active"),F(0),setTimeout(C,1e3);else throw Error(a.message||"Failed to reset retry counter")}catch(t){e({title:"Error",description:t instanceof Error?t.message:"Failed to reset retry counter",variant:"destructive"})}finally{N(!1)}},I=async()=>{N(!0),S(null);try{let a=await fetch("/cgi-bin/quecmanager/experimental/quecwatch/enable-quecwatch.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({pingTarget:t.pingTarget,pingInterval:t.pingInterval,pingFailures:t.pingFailures,maxRetries:t.maxRetries,connectionRefresh:t.connectionRefresh,autoSimFailover:t.autoSimFailover,simFailoverSchedule:t.simFailoverSchedule})});if(!a.ok)throw Error("Network response was not ok");let r=await a.json();if("success"===r.status)j("active"),e({title:"QuecWatch Enabled",description:"QuecWatch enabled successfully"}),await C();else throw Error(r.message||"Failed to enable QuecWatch")}catch(t){j("error"),S(t instanceof Error?t.message:"An unknown error occurred"),e({title:"Error",description:t instanceof Error?t.message:"Failed to enable QuecWatch",variant:"destructive"})}finally{N(!1)}},M=async()=>{N(!0),S(null);try{let t=await fetch("/cgi-bin/quecmanager/experimental/quecwatch/disable-quecwatch.sh",{method:"POST",headers:{"Content-Type":"application/json"}});if(!t.ok)throw Error("Network response was not ok");let a=await t.json();if("success"===a.status)j("inactive"),e({title:"QuecWatch Disabled",description:"QuecWatch disabled successfully",variant:"default"});else throw Error(a.message||"Failed to disable QuecWatch")}catch(t){j("error"),S(t instanceof Error?t.message:"An unknown error occurred"),e({title:"Error",description:t instanceof Error?t.message:"Failed to disable QuecWatch",variant:"destructive"})}finally{N(!1)}};return(0,r.jsxs)(n.Zp,{children:[(0,r.jsxs)(n.aR,{children:[(0,r.jsx)(n.ZB,{children:"QuecWatch"}),(0,r.jsx)(n.BT,{children:"An intelligent watchdog service for Quectel-AP modems that ensures network reliability through automated monitoring, connection management, and SIM failover capabilities."})]}),(0,r.jsx)(n.Wu,{children:(0,r.jsxs)("div",{className:"grid gap-8",children:[(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex justify-between items-center gap-x-4 rounded-lg border p-4",children:[(0,r.jsx)(c.J,{children:"QuecWatch Status"}),(0,r.jsx)("div",{className:"flex items-center space-x-1",children:"loading"===h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.A,{className:"animate-spin text-primary size-4"}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"Loading..."})]}):"inactive"===h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f,{className:"text-rose-500 size-4"}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"Inactive"})]}):"active"===h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p,{className:"text-green-500 size-4"}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"Active"})]}):"maxRetries"===h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.A,{className:"text-yellow-500 size-4"}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"Maximum Retries Exhausted"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f,{className:"text-amber-500 size-4"}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"Error"})]})})]}),(0,r.jsxs)("div",{className:"flex justify-between items-center gap-x-4 rounded-lg border p-4",children:[(0,r.jsx)(c.J,{children:"Remaining Retries"}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[("active"===h||"maxRetries"===h)&&(0,r.jsx)(l.TooltipProvider,{children:(0,r.jsxs)(l.m_,{children:[(0,r.jsx)(l.k$,{asChild:!0,children:(0,r.jsx)(o.$,{variant:"outline",size:"icon",className:"h-6 w-6",onClick:A,disabled:w,children:(0,r.jsx)(g,{className:"h-4 w-4"})})}),(0,r.jsx)(l.ZI,{children:(0,r.jsx)("p",{children:"Reset the retry counter"})})]})}),(0,r.jsxs)("p",{className:"text-muted-foreground text-sm",children:[E," / ",t.maxRetries]})]})]})]}),(0,r.jsxs)("div",{className:"grid grid-flow-row lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,r.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,r.jsx)(c.J,{htmlFor:"ping",children:"Ping Target"}),(0,r.jsx)(u.p,{id:"ping",placeholder:"8.8.8.8",value:t.pingTarget,disabled:"active"===h||"maxRetries"===h,onChange:e=>a(t=>({...t,pingTarget:e.target.value}))})]}),(0,r.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,r.jsx)(c.J,{htmlFor:"ping-interval",children:"Ping Interval"}),(0,r.jsxs)(i.l6,{value:t.pingInterval.toString(),disabled:"active"===h||"maxRetries"===h,onValueChange:e=>a(t=>({...t,pingInterval:parseInt(e)})),children:[(0,r.jsx)(i.bq,{id:"ping-interval",children:(0,r.jsx)(i.yv,{placeholder:"Select Ping Interval"})}),(0,r.jsx)(i.gC,{children:[5,10,15,30,60,120,300,600,1800,3600].map(e=>(0,r.jsx)(i.eb,{value:e.toString(),children:e>=3600?"".concat(e/3600," hour").concat(e>3600?"s":""):e>=60?"".concat(e/60," minute").concat(e>=120?"s":""):"".concat(e," second").concat(1!==e?"s":"")},e))})]})]}),(0,r.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,r.jsx)(c.J,{htmlFor:"ping-failure",children:"Ping Failures"}),(0,r.jsxs)(i.l6,{value:t.pingFailures.toString(),disabled:"active"===h||"maxRetries"===h,onValueChange:e=>a(t=>({...t,pingFailures:parseInt(e)})),children:[(0,r.jsx)(i.bq,{id:"ping-failure",children:(0,r.jsx)(i.yv,{placeholder:"Select Ping Failures"})}),(0,r.jsx)(i.gC,{children:[1,3,5,10].map(e=>(0,r.jsxs)(i.eb,{value:e.toString(),children:[e," failure",1!==e?"s":""]},e))})]})]}),(0,r.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,r.jsx)(c.J,{htmlFor:"max-retries",children:"Max Retries"}),(0,r.jsxs)(i.l6,{value:t.maxRetries.toString(),disabled:"active"===h||"maxRetries"===h,onValueChange:e=>a(t=>({...t,maxRetries:parseInt(e)})),children:[(0,r.jsx)(i.bq,{id:"max-retries",children:(0,r.jsx)(i.yv,{placeholder:"Select Max Retries"})}),(0,r.jsx)(i.gC,{children:[1,3,5,10,15,20].map(e=>(0,r.jsx)(i.eb,{value:e.toString(),children:e},e))})]})]})]}),(0,r.jsxs)("div",{className:"flex flex-row items-center justify-between rounded-lg border p-4",children:[(0,r.jsxs)("div",{className:"space-y-0.5 grid",children:[(0,r.jsx)(c.J,{className:"text-base",children:"Connection Refresh"}),(0,r.jsx)(c.J,{className:"text-sm font-normal text-muted-foreground",children:"Toggle the connection refresh for the modem to first attempt reconnecting to the network before restarting."})]}),(0,r.jsx)(d.d,{checked:t.connectionRefresh,disabled:"active"===h||"maxRetries"===h,onCheckedChange:e=>a(t=>({...t,connectionRefresh:e}))})]}),(0,r.jsxs)("div",{className:" rounded-lg border p-4 grid gap-y-6",children:[(0,r.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[(0,r.jsxs)("div",{className:"space-y-0.5 grid",children:[(0,r.jsx)(c.J,{className:"text-base",children:"Auto SIM Failover"}),(0,r.jsx)(c.J,{className:"text-sm font-normal text-muted-foreground",children:"Auto SIM Failover will automatically switch to the next available SIM card when the current SIM card fails to connect to the network."})]}),(0,r.jsx)(d.d,{checked:t.autoSimFailover,disabled:"active"===h||"maxRetries"===h,onCheckedChange:e=>a(t=>({...t,autoSimFailover:e}))})]}),(0,r.jsxs)("div",{className:"grid w-full items-center gap-1.5",children:[(0,r.jsx)(c.J,{htmlFor:"sim-failover",children:"Schedule SIM Checking"}),(0,r.jsxs)(i.l6,{value:t.simFailoverSchedule.toString(),disabled:"active"===h||"maxRetries"===h||!t.autoSimFailover,onValueChange:e=>a(t=>({...t,simFailoverSchedule:parseInt(e)})),children:[(0,r.jsx)(i.bq,{id:"sim-failover",className:"max-w-xs",children:(0,r.jsx)(i.yv,{placeholder:"Select SIM Checking Interval"})}),(0,r.jsxs)(i.gC,{children:[(0,r.jsx)(i.eb,{value:"0",children:"Disabled"}),(0,r.jsx)(i.eb,{value:"1",children:"1 Minute"}),(0,r.jsx)(i.eb,{value:"5",children:"5 Minutes"}),(0,r.jsx)(i.eb,{value:"30",children:"30 Minutes"}),(0,r.jsx)(i.eb,{value:"60",children:"1 Hour"}),(0,r.jsx)(i.eb,{value:"360",children:"6 Hours"}),(0,r.jsx)(i.eb,{value:"720",children:"12 Hours"}),(0,r.jsx)(i.eb,{value:"1440",children:"24 Hours"})]})]})]})]}),(0,r.jsxs)("div",{className:"rounded-lg border p-4",children:[(0,r.jsx)(c.J,{className:"text-base",children:"Last Activity"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground mt-2",children:R||"No recent activity"})]}),k&&(0,r.jsx)("div",{className:"text-red-500 text-sm",children:k})]})}),(0,r.jsxs)(n.wL,{className:"flex gap-4 border-t py-4",children:[("inactive"===h||"error"===h)&&(0,r.jsx)(o.$,{onClick:I,disabled:w||!t.pingTarget,children:w?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.A,{className:"h-4 w-4 animate-spin"}),"Enabling..."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v,{className:"w-4 h-4"}),"Enable QuecWatch"]})}),("active"===h||"maxRetries"===h)&&(0,r.jsx)(o.$,{variant:"destructive",onClick:M,disabled:w,children:w?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.A,{className:"h-4 w-4 animate-spin"}),"Disabling..."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{className:"w-4 h-4"}),"Disable QuecWatch"]})})]})]})}},42541:(e,t,a)=>{a.d(t,{$:()=>d,r:()=>o});var r=a(20475),s=a(20107),n=a(61837),i=a(29395),l=a(22250);let o=(0,i.F)("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:i,asChild:d=!1,...c}=e,u=d?n.DX:"button";return(0,r.jsx)(u,{className:(0,l.cn)(o({variant:s,size:i,className:a})),ref:t,...c})});d.displayName="Button"},72167:(e,t,a)=>{a.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>i,aR:()=>l,wL:()=>u});var r=a(20475),s=a(20107),n=a(22250);let i=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",a),...s})});i.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",a),...s})});l.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",a),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",a),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",a),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",a),...s})});u.displayName="CardFooter"},64219:(e,t,a)=>{a.d(t,{p:()=>i});var r=a(20475),s=a(20107),n=a(22250);let i=s.forwardRef((e,t)=>{let{className:a,type:s,...i}=e;return(0,r.jsx)("input",{type:s,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",a),ref:t,...i})});i.displayName="Input"},49153:(e,t,a)=>{a.d(t,{J:()=>d});var r=a(20475),s=a(20107),n=a(21840),i=a(29395),l=a(22250);let o=(0,i.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.b,{ref:t,className:(0,l.cn)(o(),a),...s})});d.displayName=n.b.displayName},35601:(e,t,a)=>{a.d(t,{TR:()=>p,bq:()=>u,eb:()=>x,gC:()=>f,l6:()=>o,s3:()=>d,yv:()=>c});var r=a(20475),s=a(20107),n=a(7197),i=a(95257),l=a(22250);let o=i.bL,d=i.YJ,c=i.WT,u=s.forwardRef((e,t)=>{let{className:a,children:s,...o}=e;return(0,r.jsxs)(i.l9,{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",a),...o,children:[s,(0,r.jsx)(i.In,{asChild:!0,children:(0,r.jsx)(n.TBE,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=i.l9.displayName;let m=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.PP,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",a),...s,children:(0,r.jsx)(n.Mtm,{})})});m.displayName=i.PP.displayName;let h=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.wn,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",a),...s,children:(0,r.jsx)(n.D3D,{})})});h.displayName=i.wn.displayName;let f=s.forwardRef((e,t)=>{let{className:a,children:s,position:n="popper",...o}=e;return(0,r.jsx)(i.ZL,{children:(0,r.jsxs)(i.UC,{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",a),position:n,...o,children:[(0,r.jsx)(m,{}),(0,r.jsx)(i.LM,{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,r.jsx)(h,{})]})})});f.displayName=i.UC.displayName;let p=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.JU,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",a),...s})});p.displayName=i.JU.displayName;let x=s.forwardRef((e,t)=>{let{className:a,children:s,...o}=e;return(0,r.jsxs)(i.q7,{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",a),...o,children:[(0,r.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(i.VF,{children:(0,r.jsx)(n.Srz,{className:"h-4 w-4"})})}),(0,r.jsx)(i.p4,{children:s})]})});x.displayName=i.q7.displayName,s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.wv,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",a),...s})}).displayName=i.wv.displayName},18861:(e,t,a)=>{a.d(t,{d:()=>l});var r=a(20475),s=a(20107),n=a(80982),i=a(22250);let l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.bL,{className:(0,i.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",a),...s,ref:t,children:(0,r.jsx)(n.zi,{className:(0,i.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")})})});l.displayName=n.bL.displayName},85014:(e,t,a)=>{a.d(t,{TooltipProvider:()=>l,ZI:()=>c,k$:()=>d,m_:()=>o});var r=a(20475),s=a(20107),n=a(43048),i=a(22250);let l=n.Kq,o=n.bL,d=n.l9,c=s.forwardRef((e,t)=>{let{className:a,sideOffset:s=4,...l}=e;return(0,r.jsx)(n.UC,{ref:t,sideOffset:s,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",a),...l})});c.displayName=n.UC.displayName},32857:(e,t,a)=>{a.d(t,{dj:()=>m,oR:()=>u});var r=a(20107);let s=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)},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:a}=t;return a?i(a):e.toasts.forEach(e=>{i(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)}}},o=[],d={toasts:[]};function c(e){d=l(d,e),o.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 m(){let[e,t]=r.useState(d);return r.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,a)=>{a.d(t,{cn:()=>n});var r=a(64901),s=a(868);function n(){for(var e=arguments.length,t=Array(e),a=0;a{a.d(t,{A:()=>r});let r=(0,a(39997).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},12607:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(39997).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},54245:(e,t,a)=>{a.d(t,{C:()=>i});var r=a(20107),s=a(64236),n=a(54122),i=e=>{let{present:t,children:a}=e,i=function(e){var t,a;let[s,i]=r.useState(),o=r.useRef({}),d=r.useRef(e),c=r.useRef("none"),[u,m]=(t=e?"mounted":"unmounted",a={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=a[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=l(o.current);c.current="mounted"===u?e:"none"},[u]),(0,n.N)(()=>{let t=o.current,a=d.current;if(a!==e){let r=c.current,s=l(t);e?m("MOUNT"):"none"===s||(null==t?void 0:t.display)==="none"?m("UNMOUNT"):a&&r!==s?m("ANIMATION_OUT"):m("UNMOUNT"),d.current=e}},[e,m]),(0,n.N)(()=>{if(s){var e;let t;let a=null!==(e=s.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(o.current).includes(e.animationName);if(e.target===s&&r&&(m("ANIMATION_END"),!d.current)){let e=s.style.animationFillMode;s.style.animationFillMode="forwards",t=a.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=e)})}},n=e=>{e.target===s&&(c.current=l(o.current))};return s.addEventListener("animationstart",n),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{a.clearTimeout(t),s.removeEventListener("animationstart",n),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}m("ANIMATION_END")},[s,m]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{e&&(o.current=getComputedStyle(e)),i(e)},[])}}(t),o="function"==typeof a?a({present:i.isPresent}):r.Children.only(a),d=(0,s.s)(i.ref,function(e){var t,a;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,s=r&&"isReactWarning"in r&&r.isReactWarning;return s?e.ref:(s=(r=null===(a=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===a?void 0:a.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(o));return"function"==typeof a||i.isPresent?r.cloneElement(o,{ref:d}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},80982:(e,t,a)=>{a.d(t,{bL:()=>w,zi:()=>N});var r=a(20107),s=a(94521),n=a(64236),i=a(45170),l=a(13061),o=a(65163),d=a(63620),c=a(34544),u=a(20475),m="Switch",[h,f]=(0,i.A)(m),[p,x]=h(m),g=r.forwardRef((e,t)=>{let{__scopeSwitch:a,name:i,checked:o,defaultChecked:d,required:m,disabled:h,value:f="on",onCheckedChange:x,form:g,...v}=e,[y,w]=r.useState(null),N=(0,n.s)(t,e=>w(e)),k=r.useRef(!1),S=!y||g||!!y.closest("form"),[R=!1,T]=(0,l.i)({prop:o,defaultProp:d,onChange:x});return(0,u.jsxs)(p,{scope:a,checked:R,disabled:h,children:[(0,u.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":R,"aria-required":m,"data-state":j(R),"data-disabled":h?"":void 0,disabled:h,value:f,...v,ref:N,onClick:(0,s.m)(e.onClick,e=>{T(e=>!e),S&&(k.current=e.isPropagationStopped(),k.current||e.stopPropagation())})}),S&&(0,u.jsx)(b,{control:y,bubbles:!k.current,name:i,value:f,checked:R,required:m,disabled:h,form:g,style:{transform:"translateX(-100%)"}})]})});g.displayName=m;var v="SwitchThumb",y=r.forwardRef((e,t)=>{let{__scopeSwitch:a,...r}=e,s=x(v,a);return(0,u.jsx)(c.sG.span,{"data-state":j(s.checked),"data-disabled":s.disabled?"":void 0,...r,ref:t})});y.displayName=v;var b=e=>{let{control:t,checked:a,bubbles:s=!0,...n}=e,i=r.useRef(null),l=(0,o.Z)(a),c=(0,d.X)(t);return r.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(l!==a&&t){let r=new Event("click",{bubbles:s});t.call(e,a),e.dispatchEvent(r)}},[l,a,s]),(0,u.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:a,...n,tabIndex:-1,ref:i,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function j(e){return e?"checked":"unchecked"}var w=g,N=y}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4586-32ae9fc956058d79.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4586-32ae9fc956058d79.js new file mode 100644 index 0000000..d93fae8 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4586-32ae9fc956058d79.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4586],{39997:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(20107);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:l=2,absoluteStrokeWidth:d,className:s="",children:u,iconNode:c,...p}=e;return(0,n.createElement)("svg",{ref:t,...i,width:o,height:o,stroke:r,strokeWidth:d?24*Number(l)/Number(o):l,className:a("lucide",s),...p},[...c.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(u)?u:[u]])}),d=(e,t)=>{let r=(0,n.forwardRef)((r,i)=>{let{className:d,...s}=r;return(0,n.createElement)(l,{ref:i,iconNode:t,className:a("lucide-".concat(o(e)),d),...s})});return r.displayName="".concat(e),r}},29475:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},12607:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},54379:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(20107),o=r(20475);function a(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(t,a){let i=n.createContext(a),l=r.length;function d(t){let{scope:r,children:a,...d}=t,s=r?.[e][l]||i,u=n.useMemo(()=>d,Object.values(d));return(0,o.jsx)(s.Provider,{value:u,children:a})}return r=[...r,a],d.displayName=t+"Provider",[d,function(r,o){let d=o?.[e][l]||i,s=n.useContext(d);if(s)return s;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(i,...t)]}},21840:(e,t,r)=>{r.d(t,{b:()=>l});var n=r(20107),o=r(34544),a=r(20475),i=n.forwardRef((e,t)=>(0,a.jsx)(o.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName="Label";var l=i},57563:(e,t,r)=>{r.d(t,{Mz:()=>S,i3:()=>_,UC:()=>U,bL:()=>T,Bk:()=>h});var n=r(20107),o=r(9895),a=r(84069),i=r(34544),l=r(20475),d=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...a}=e;return(0,l.jsx)(i.sG.svg,{...a,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,l.jsx)("polygon",{points:"0,0 30,0 15,10"})})});d.displayName="Arrow";var s=r(64236),u=r(54379),c=r(46774),p=r(54122),f=r(63620),m="Popper",[v,h]=(0,u.A)(m),[w,g]=v(m),y=e=>{let{__scopePopper:t,children:r}=e,[o,a]=n.useState(null);return(0,l.jsx)(w,{scope:t,anchor:o,onAnchorChange:a,children:r})};y.displayName=m;var x="PopperAnchor",N=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:o,...a}=e,d=g(x,r),u=n.useRef(null),c=(0,s.s)(t,u);return n.useEffect(()=>{d.onAnchorChange((null==o?void 0:o.current)||u.current)}),o?null:(0,l.jsx)(i.sG.div,{...a,ref:c})});N.displayName=x;var A="PopperContent",[b,M]=v(A),O=n.forwardRef((e,t)=>{var r,d,u,m,v,h,w,y;let{__scopePopper:x,side:N="bottom",sideOffset:M=0,align:O="center",alignOffset:E=0,arrowPadding:j=0,avoidCollisions:C=!0,collisionBoundary:T=[],collisionPadding:S=0,sticky:U="partial",hideWhenDetached:_=!1,updatePositionStrategy:I="optimized",onPlaced:L,...D}=e,W=g(A,x),[z,$]=n.useState(null),F=(0,s.s)(t,e=>$(e)),[H,B]=n.useState(null),G=(0,f.X)(H),Y=null!==(w=null==G?void 0:G.width)&&void 0!==w?w:0,X=null!==(y=null==G?void 0:G.height)&&void 0!==y?y:0,V="number"==typeof S?S:{top:0,right:0,bottom:0,left:0,...S},q=Array.isArray(T)?T:[T],Z=q.length>0,J={padding:V,boundary:q.filter(k),altBoundary:Z},{refs:K,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:er}=(0,o.we)({strategy:"fixed",placement:N+("center"!==O?"-"+O:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r{let{elements:t,rects:r,availableWidth:n,availableHeight:o}=e,{width:a,height:i}=r.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(n,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(a,"px")),l.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),H&&(0,o.UE)({element:H,padding:j}),R({arrowWidth:Y,arrowHeight:X}),_&&(0,o.jD)({strategy:"referenceHidden",...J})]}),[en,eo]=P(ee),ea=(0,c.c)(L);(0,p.N)(()=>{et&&(null==ea||ea())},[et,ea]);let ei=null===(r=er.arrow)||void 0===r?void 0:r.x,el=null===(d=er.arrow)||void 0===d?void 0:d.y,ed=(null===(u=er.arrow)||void 0===u?void 0:u.centerOffset)!==0,[es,eu]=n.useState();return(0,p.N)(()=>{z&&eu(window.getComputedStyle(z).zIndex)},[z]),(0,l.jsx)("div",{ref:K.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:es,"--radix-popper-transform-origin":[null===(m=er.transformOrigin)||void 0===m?void 0:m.x,null===(v=er.transformOrigin)||void 0===v?void 0:v.y].join(" "),...(null===(h=er.hide)||void 0===h?void 0:h.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,l.jsx)(b,{scope:x,placedSide:en,onArrowChange:B,arrowX:ei,arrowY:el,shouldHideArrow:ed,children:(0,l.jsx)(i.sG.div,{"data-side":en,"data-align":eo,...D,ref:F,style:{...D.style,animation:et?void 0:"none"}})})})});O.displayName=A;var E="PopperArrow",j={top:"bottom",right:"left",bottom:"top",left:"right"},C=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=M(E,r),a=j[o.placedSide];return(0,l.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,l.jsx)(d,{...n,ref:t,style:{...n.style,display:"block"}})})});function k(e){return null!==e}C.displayName=E;var R=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;let{placement:l,rects:d,middlewareData:s}=t,u=(null===(r=s.arrow)||void 0===r?void 0:r.centerOffset)!==0,c=u?0:e.arrowWidth,p=u?0:e.arrowHeight,[f,m]=P(l),v={start:"0%",center:"50%",end:"100%"}[m],h=(null!==(a=null===(n=s.arrow)||void 0===n?void 0:n.x)&&void 0!==a?a:0)+c/2,w=(null!==(i=null===(o=s.arrow)||void 0===o?void 0:o.y)&&void 0!==i?i:0)+p/2,g="",y="";return"bottom"===f?(g=u?v:"".concat(h,"px"),y="".concat(-p,"px")):"top"===f?(g=u?v:"".concat(h,"px"),y="".concat(d.floating.height+p,"px")):"right"===f?(g="".concat(-p,"px"),y=u?v:"".concat(w,"px")):"left"===f&&(g="".concat(d.floating.width+p,"px"),y=u?v:"".concat(w,"px")),{data:{x:g,y}}}});function P(e){let[t,r="center"]=e.split("-");return[t,r]}var T=y,S=N,U=O,_=C},54245:(e,t,r)=>{r.d(t,{C:()=>i});var n=r(20107),o=r(64236),a=r(54122),i=e=>{let{present:t,children:r}=e,i=function(e){var t,r;let[o,i]=n.useState(),d=n.useRef({}),s=n.useRef(e),u=n.useRef("none"),[c,p]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=l(d.current);u.current="mounted"===c?e:"none"},[c]),(0,a.N)(()=>{let t=d.current,r=s.current;if(r!==e){let n=u.current,o=l(t);e?p("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):r&&n!==o?p("ANIMATION_OUT"):p("UNMOUNT"),s.current=e}},[e,p]),(0,a.N)(()=>{if(o){var e;let t;let r=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,n=e=>{let n=l(d.current).includes(e.animationName);if(e.target===o&&n&&(p("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},a=e=>{e.target===o&&(u.current=l(d.current))};return o.addEventListener("animationstart",a),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{r.clearTimeout(t),o.removeEventListener("animationstart",a),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:n.useCallback(e=>{e&&(d.current=getComputedStyle(e)),i(e)},[])}}(t),d="function"==typeof r?r({present:i.isPresent}):n.Children.only(r),s=(0,o.s)(i.ref,function(e){var t,r;let n=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?e.ref:(o=(n=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(d));return"function"==typeof r||i.isPresent?n.cloneElement(d,{ref:s}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},91475:(e,t,r)=>{r.d(t,{b:()=>l,s:()=>i});var n=r(20107),o=r(34544),a=r(20475),i=n.forwardRef((e,t)=>(0,a.jsx)(o.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));i.displayName="VisuallyHidden";var l=i}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4608-0cb8f9de412dea9d.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4608-0cb8f9de412dea9d.js new file mode 100644 index 0000000..c403551 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4608-0cb8f9de412dea9d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4608],{39997:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(20107);let i=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 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,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:l=2,absoluteStrokeWidth:c,className:u="",children:s,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...a,width:i,height:i,stroke:n,strokeWidth:c?24*Number(l)/Number(i):l,className:o("lucide",u),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(s)?s:[s]])}),c=(e,t)=>{let n=(0,r.forwardRef)((n,a)=>{let{className:c,...u}=n;return(0,r.createElement)(l,{ref:a,iconNode:t,className:o("lucide-".concat(i(e)),c),...u})});return n.displayName="".concat(e),n}},17799:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},89463:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleArrowDown",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]])},622:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleArrowUp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]])},98969:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},14389:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]])},8782:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},54385:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},51589:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},10964:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]])},13624:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},99312:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},92867:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("MonitorCheck",[["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]])},32810:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("MonitorOff",[["path",{d:"M17 17H4a2 2 0 0 1-2-2V5c0-1.5 1-2 1-2",key:"k0q8oc"}],["path",{d:"M22 15V5a2 2 0 0 0-2-2H9",key:"cp1ac0"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},7778:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]])},25262:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},99015:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("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"}]])},97801:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("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"}]])},91994:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},90304:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]])},20633:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},12607:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},92823:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},92776:function(e,t,n){var r=this&&this.__assign||function(){return(r=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 i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var c=a(n(20107)),u=n(22184),s=n(30120),d=[(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(-".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(-").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(-").concat(5,"rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-0"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(-".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(-").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(-").concat(3,"rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-1"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(-".concat(1,"rem) scale(0.75)}\n 75% {transform: translateX(-").concat(1,"rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-2"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(".concat(1,"rem) scale(0.75)}\n 75% {transform: translateX(").concat(1,"rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-3"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(").concat(3,"rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-4"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(").concat(5,"rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-5")];t.default=function(e){var t=e.loading,n=e.color,i=void 0===n?"#000000":n,o=e.speedMultiplier,a=void 0===o?1:o,s=e.cssOverride,f=e.size,p=l(e,["loading","color","speedMultiplier","cssOverride","size"]),y=(0,u.parseLengthAndUnit)(void 0===f?15:f),h=y.value,m=y.unit,v=r({display:"inherit",position:"relative"},void 0===s?{}:s),g=function(e){return{position:"absolute",fontSize:"".concat(h/3).concat(m),width:"".concat(h).concat(m),height:"".concat(h).concat(m),background:i,borderRadius:"50%",animation:"".concat(d[e]," ").concat(1.5/a,"s infinite"),animationFillMode:"forwards"}};return void 0===t||t?c.createElement("span",r({style:v},p),c.createElement("span",{style:g(0)}),c.createElement("span",{style:g(1)}),c.createElement("span",{style:g(2)}),c.createElement("span",{style:g(3)}),c.createElement("span",{style:g(4)}),c.createElement("span",{style:g(5)})):null}},71834:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(20107),i={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function o(e){var t=function(e){if("number"==typeof e)return{value:e,unit:"px"};var t,n=(e.match(/^[0-9.]*/)||"").toString();t=n.includes(".")?parseFloat(n):parseInt(n,10);var r=(e.match(/[^0-9]*$/)||"").toString();return i[r]?{value:t,unit:r}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}(e);return"".concat(t.value).concat(t.unit)}var a=function(e,t,n){var r="react-spinners-".concat(e,"-").concat(n);if("undefined"==typeof window||!window.document)return r;var i=document.createElement("style");document.head.appendChild(i);var o=i.sheet,a="\n @keyframes ".concat(r," {\n ").concat(t,"\n }\n ");return o&&o.insertRule(a,0),r},l=function(){return(l=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 i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},u=[a("PuffLoader","0% {transform: scale(0)} 100% {transform: scale(1.0)}","puff-1"),a("PuffLoader","0% {opacity: 1} 100% {opacity: 0}","puff-2")];let s=function(e){var t=e.loading,n=e.color,i=void 0===n?"#000000":n,a=e.speedMultiplier,s=void 0===a?1:a,d=e.cssOverride,f=e.size,p=void 0===f?60:f,y=c(e,["loading","color","speedMultiplier","cssOverride","size"]),h=l({display:"inherit",position:"relative",width:o(p),height:o(p)},void 0===d?{}:d),m=function(e){return{position:"absolute",height:o(p),width:o(p),border:"thick solid ".concat(i),borderRadius:"50%",opacity:"1",top:"0",left:"0",animationFillMode:"both",animation:"".concat(u[0],", ").concat(u[1]),animationDuration:"".concat(2/s,"s"),animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(0.165, 0.84, 0.44, 1), cubic-bezier(0.3, 0.61, 0.355, 1)",animationDelay:1===e?"-1s":"0s"}};return void 0===t||t?r.createElement("span",l({style:h},y),r.createElement("span",{style:m(1)}),r.createElement("span",{style:m(2)})):null}},30120:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=void 0,t.createAnimation=function(e,t,n){var r="react-spinners-".concat(e,"-").concat(n);if("undefined"==typeof window||!window.document)return r;var i=document.createElement("style");document.head.appendChild(i);var o=i.sheet,a="\n @keyframes ".concat(r," {\n ").concat(t,"\n }\n ");return o&&o.insertRule(a,0),r}},22184:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.cssValue=t.parseLengthAndUnit=void 0;var n={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function r(e){if("number"==typeof e)return{value:e,unit:"px"};var t,r=(e.match(/^[0-9.]*/)||"").toString();t=r.includes(".")?parseFloat(r):parseInt(r,10);var i=(e.match(/[^0-9]*$/)||"").toString();return n[i]?{value:t,unit:i}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}t.parseLengthAndUnit=r,t.cssValue=function(e){var t=r(e);return"".concat(t.value).concat(t.unit)}},79492:(e,t,n)=>{n.d(t,{G:()=>R});var r=n(20107),i=n(64901),o=n(61075),a=n(14632),l=n.n(a),c=n(12838),u=n.n(c),s=n(87107),d=n.n(s),f=n(50801),p=n.n(f),y=n(6440),h=n.n(y),m=n(60992),v=n(42555),g=n(37819),b=n(58864),x=n(95392),w=n(89952),O=n(95492),A=n(61211),k=["layout","type","stroke","connectNulls","isRange","ref"],j=["key"];function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function S(){return(S=Object.assign?Object.assign.bind():function(e){for(var t=1;t0||!h()(l,r)||!h()(c,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,i,e,t)}},{key:"render",value:function(){var e,t=this.props,n=t.hide,o=t.dot,a=t.points,l=t.className,c=t.top,u=t.left,s=t.xAxis,f=t.yAxis,p=t.width,y=t.height,h=t.isAnimationActive,m=t.id;if(n||!a||!a.length)return null;var v=this.state.isAnimationFinished,x=1===a.length,w=(0,i.A)("recharts-area",l),O=s&&s.allowDataOverflow,k=f&&f.allowDataOverflow,j=O||k,P=d()(m)?this.id:m,E=null!==(e=(0,A.J9)(o,!1))&&void 0!==e?e:{r:3,strokeWidth:2},S=E.r,M=E.strokeWidth,N=((0,A.sT)(o)?o:{}).clipDot,D=void 0===N||N,z=2*(void 0===S?3:S)+(void 0===M?2:M);return r.createElement(g.W,{className:w},O||k?r.createElement("defs",null,r.createElement("clipPath",{id:"clipPath-".concat(P)},r.createElement("rect",{x:O?u:u-p/2,y:k?c:c-y/2,width:O?p:2*p,height:k?y:2*y})),!D&&r.createElement("clipPath",{id:"clipPath-dots-".concat(P)},r.createElement("rect",{x:u-z/2,y:c-z/2,width:p+z,height:y+z}))):null,x?null:this.renderArea(j,P),(o||x)&&this.renderDots(j,D,P),(!h||v)&&b.Z.renderCallByParent(this.props,a))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],t&&D(a.prototype,t),n&&D(a,n),Object.defineProperty(a,"prototype",{writable:!1}),a}(r.PureComponent);I(R,"displayName","Area"),I(R,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!x.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),I(R,"getBaseValue",function(e,t,n,r){var i=e.layout,o=e.baseValue,a=t.props.baseValue,l=null!=a?a:o;if((0,w.Et)(l)&&"number"==typeof l)return l;var c="horizontal"===i?r:n,u=c.scale.domain();if("number"===c.type){var s=Math.max(u[0],u[1]),d=Math.min(u[0],u[1]);return"dataMin"===l?d:"dataMax"===l?s:s<0?s:Math.max(Math.min(u[0],u[1]),0)}return"dataMin"===l?u[0]:"dataMax"===l?u[1]:u[0]}),I(R,"getComposedData",function(e){var t,n=e.props,r=e.item,i=e.xAxis,o=e.yAxis,a=e.xAxisTicks,l=e.yAxisTicks,c=e.bandSize,u=e.dataKey,s=e.stackedData,d=e.dataStartIndex,f=e.displayedData,p=e.offset,y=n.layout,h=s&&s.length,m=R.getBaseValue(n,r,i,o),v="horizontal"===y,g=!1,b=f.map(function(e,t){h?n=s[d+t]:Array.isArray(n=(0,O.kr)(e,u))?g=!0:n=[m,n];var n,r=null==n[1]||h&&null==(0,O.kr)(e,u);return v?{x:(0,O.nb)({axis:i,ticks:a,bandSize:c,entry:e,index:t}),y:r?null:o.scale(n[1]),value:n,payload:e}:{x:r?null:i.scale(n[1]),y:(0,O.nb)({axis:o,ticks:l,bandSize:c,entry:e,index:t}),value:n,payload:e}});return t=h||g?b.map(function(e){var t=Array.isArray(e.value)?e.value[0]:null;return v?{x:e.x,y:null!=t&&null!=e.y?o.scale(t):null}:{x:null!=t?i.scale(t):null,y:e.y}}):v?o.scale(m):i.scale(m),N({points:b,baseLine:t,layout:y,isRange:g},p)}),I(R,"renderDotItem",function(e,t){var n;if(r.isValidElement(e))n=r.cloneElement(e,t);else if(l()(e))n=e(t);else{var o=(0,i.A)("recharts-area-dot","boolean"!=typeof e?e.className:""),a=t.key,c=E(t,j);n=r.createElement(v.c,S({},c,{key:a,className:o}))}return n})},94005:(e,t,n)=>{n.d(t,{d:()=>M});var r=n(20107),i=n(14632),o=n.n(i),a=n(42228),l=n(89952),c=n(61211),u=n(95492),s=n(62882),d=n(67064),f=n(25161),p=["x1","y1","x2","y2","key"],y=["offset"];function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var x=function(e){var t=e.fill;if(!t||"none"===t)return null;var n=e.fillOpacity,i=e.x,o=e.y,a=e.width,l=e.height,c=e.ry;return r.createElement("rect",{x:i,y:o,ry:c,width:a,height:l,stroke:"none",fill:t,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function w(e,t){var n;if(r.isValidElement(e))n=r.cloneElement(e,t);else if(o()(e))n=e(t);else{var i=t.x1,a=t.y1,l=t.x2,u=t.y2,s=t.key,d=b(t,p),f=(0,c.J9)(d,!1),h=(f.offset,b(f,y));n=r.createElement("line",g({},h,{x1:i,y1:a,x2:l,y2:u,fill:"none",key:s}))}return n}function O(e){var t=e.x,n=e.width,i=e.horizontal,o=void 0===i||i,a=e.horizontalPoints;if(!o||!a||!a.length)return null;var l=a.map(function(r,i){return w(o,v(v({},e),{},{x1:t,y1:r,x2:t+n,y2:r,key:"line-".concat(i),index:i}))});return r.createElement("g",{className:"recharts-cartesian-grid-horizontal"},l)}function A(e){var t=e.y,n=e.height,i=e.vertical,o=void 0===i||i,a=e.verticalPoints;if(!o||!a||!a.length)return null;var l=a.map(function(r,i){return w(o,v(v({},e),{},{x1:r,y1:t,x2:r,y2:t+n,key:"line-".concat(i),index:i}))});return r.createElement("g",{className:"recharts-cartesian-grid-vertical"},l)}function k(e){var t=e.horizontalFill,n=e.fillOpacity,i=e.x,o=e.y,a=e.width,l=e.height,c=e.horizontalPoints,u=e.horizontal;if(!(void 0===u||u)||!t||!t.length)return null;var s=c.map(function(e){return Math.round(e+o-o)}).sort(function(e,t){return e-t});o!==s[0]&&s.unshift(0);var d=s.map(function(e,c){var u=s[c+1]?s[c+1]-e:o+l-e;if(u<=0)return null;var d=c%t.length;return r.createElement("rect",{key:"react-".concat(c),y:e,x:i,height:u,width:a,stroke:"none",fill:t[d],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return r.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},d)}function j(e){var t=e.vertical,n=e.verticalFill,i=e.fillOpacity,o=e.x,a=e.y,l=e.width,c=e.height,u=e.verticalPoints;if(!(void 0===t||t)||!n||!n.length)return null;var s=u.map(function(e){return Math.round(e+o-o)}).sort(function(e,t){return e-t});o!==s[0]&&s.unshift(0);var d=s.map(function(e,t){var u=s[t+1]?s[t+1]-e:o+l-e;if(u<=0)return null;var d=t%n.length;return r.createElement("rect",{key:"react-".concat(t),x:e,y:a,width:u,height:c,stroke:"none",fill:n[d],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return r.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},d)}var P=function(e,t){var n=e.xAxis,r=e.width,i=e.height,o=e.offset;return(0,u.PW)((0,s.f)(v(v(v({},d.u.defaultProps),n),{},{ticks:(0,u.Rh)(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),o.left,o.left+o.width,t)},E=function(e,t){var n=e.yAxis,r=e.width,i=e.height,o=e.offset;return(0,u.PW)((0,s.f)(v(v(v({},d.u.defaultProps),n),{},{ticks:(0,u.Rh)(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),o.top,o.top+o.height,t)},S={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function M(e){var t,n,i,c,u,s,d=(0,f.yi)(),p=(0,f.rY)(),y=(0,f.hj)(),m=v(v({},e),{},{stroke:null!==(t=e.stroke)&&void 0!==t?t:S.stroke,fill:null!==(n=e.fill)&&void 0!==n?n:S.fill,horizontal:null!==(i=e.horizontal)&&void 0!==i?i:S.horizontal,horizontalFill:null!==(c=e.horizontalFill)&&void 0!==c?c:S.horizontalFill,vertical:null!==(u=e.vertical)&&void 0!==u?u:S.vertical,verticalFill:null!==(s=e.verticalFill)&&void 0!==s?s:S.verticalFill,x:(0,l.Et)(e.x)?e.x:y.left,y:(0,l.Et)(e.y)?e.y:y.top,width:(0,l.Et)(e.width)?e.width:y.width,height:(0,l.Et)(e.height)?e.height:y.height}),b=m.x,w=m.y,M=m.width,N=m.height,D=m.syncWithTicks,z=m.horizontalValues,C=m.verticalValues,L=(0,f.pj)(),I=(0,f.$G)();if(!(0,l.Et)(M)||M<=0||!(0,l.Et)(N)||N<=0||!(0,l.Et)(b)||b!==+b||!(0,l.Et)(w)||w!==+w)return null;var F=m.verticalCoordinatesGenerator||P,R=m.horizontalCoordinatesGenerator||E,_=m.horizontalPoints,T=m.verticalPoints;if((!_||!_.length)&&o()(R)){var B=z&&z.length,X=R({yAxis:I?v(v({},I),{},{ticks:B?z:I.ticks}):void 0,width:d,height:p,offset:y},!!B||D);(0,a.R)(Array.isArray(X),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(h(X),"]")),Array.isArray(X)&&(_=X)}if((!T||!T.length)&&o()(F)){var V=C&&C.length,H=F({xAxis:L?v(v({},L),{},{ticks:V?C:L.ticks}):void 0,width:d,height:p,offset:y},!!V||D);(0,a.R)(Array.isArray(H),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(h(H),"]")),Array.isArray(H)&&(T=H)}return r.createElement("g",{className:"recharts-cartesian-grid"},r.createElement(x,{fill:m.fill,fillOpacity:m.fillOpacity,x:m.x,y:m.y,width:m.width,height:m.height,ry:m.ry}),r.createElement(O,g({},m,{offset:y,horizontalPoints:_,xAxis:L,yAxis:I})),r.createElement(A,g({},m,{offset:y,verticalPoints:T,xAxis:L,yAxis:I})),r.createElement(k,g({},m,{horizontalPoints:_})),r.createElement(j,g({},m,{verticalPoints:T})))}M.displayName="CartesianGrid"},53134:(e,t,n)=>{n.d(t,{Q:()=>c});var r=n(90805),i=n(79492),o=n(4538),a=n(41797),l=n(98456),c=(0,r.gu)({chartName:"AreaChart",GraphicalChild:i.G,axisComponents:[{axisType:"xAxis",AxisComp:o.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:l.pr})},54379:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(20107),i=n(20475);function o(e,t=[]){let n=[],a=()=>{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 a.scopeName=e,[function(t,o){let a=r.createContext(o),l=n.length;function c(t){let{scope:n,children:o,...c}=t,u=n?.[e][l]||a,s=r.useMemo(()=>c,Object.values(c));return(0,i.jsx)(u.Provider,{value:s,children:o})}return n=[...n,o],c.displayName=t+"Provider",[c,function(n,i){let c=i?.[e][l]||a,u=r.useContext(c);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}(a,...t)]}},57563:(e,t,n)=>{n.d(t,{Mz:()=>C,i3:()=>I,UC:()=>L,bL:()=>z,Bk:()=>m});var r=n(20107),i=n(9895),o=n(84069),a=n(34544),l=n(20475),c=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,l.jsx)(a.sG.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,l.jsx)("polygon",{points:"0,0 30,0 15,10"})})});c.displayName="Arrow";var u=n(64236),s=n(54379),d=n(46774),f=n(54122),p=n(63620),y="Popper",[h,m]=(0,s.A)(y),[v,g]=h(y),b=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,l.jsx)(v,{scope:t,anchor:i,onAnchorChange:o,children:n})};b.displayName=y;var x="PopperAnchor",w=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...o}=e,c=g(x,n),s=r.useRef(null),d=(0,u.s)(t,s);return r.useEffect(()=>{c.onAnchorChange((null==i?void 0:i.current)||s.current)}),i?null:(0,l.jsx)(a.sG.div,{...o,ref:d})});w.displayName=x;var O="PopperContent",[A,k]=h(O),j=r.forwardRef((e,t)=>{var n,c,s,y,h,m,v,b;let{__scopePopper:x,side:w="bottom",sideOffset:k=0,align:j="center",alignOffset:P=0,arrowPadding:E=0,avoidCollisions:S=!0,collisionBoundary:z=[],collisionPadding:C=0,sticky:L="partial",hideWhenDetached:I=!1,updatePositionStrategy:F="optimized",onPlaced:R,..._}=e,T=g(O,x),[B,X]=r.useState(null),V=(0,u.s)(t,e=>X(e)),[H,W]=r.useState(null),q=(0,p.X)(H),$=null!==(v=null==q?void 0:q.width)&&void 0!==v?v:0,G=null!==(b=null==q?void 0:q.height)&&void 0!==b?b:0,U="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},J=Array.isArray(z)?z:[z],Y=J.length>0,K={padding:U,boundary:J.filter(M),altBoundary:Y},{refs:Z,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:en}=(0,i.we)({strategy:"fixed",placement:w+("center"!==j?"-"+j:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:a}=n.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(r,"px")),l.setProperty("--radix-popper-available-height","".concat(i,"px")),l.setProperty("--radix-popper-anchor-width","".concat(o,"px")),l.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),H&&(0,i.UE)({element:H,padding:E}),N({arrowWidth:$,arrowHeight:G}),I&&(0,i.jD)({strategy:"referenceHidden",...K})]}),[er,ei]=D(ee),eo=(0,d.c)(R);(0,f.N)(()=>{et&&(null==eo||eo())},[et,eo]);let ea=null===(n=en.arrow)||void 0===n?void 0:n.x,el=null===(c=en.arrow)||void 0===c?void 0:c.y,ec=(null===(s=en.arrow)||void 0===s?void 0:s.centerOffset)!==0,[eu,es]=r.useState();return(0,f.N)(()=>{B&&es(window.getComputedStyle(B).zIndex)},[B]),(0,l.jsx)("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eu,"--radix-popper-transform-origin":[null===(y=en.transformOrigin)||void 0===y?void 0:y.x,null===(h=en.transformOrigin)||void 0===h?void 0:h.y].join(" "),...(null===(m=en.hide)||void 0===m?void 0:m.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,l.jsx)(A,{scope:x,placedSide:er,onArrowChange:W,arrowX:ea,arrowY:el,shouldHideArrow:ec,children:(0,l.jsx)(a.sG.div,{"data-side":er,"data-align":ei,..._,ref:V,style:{..._.style,animation:et?void 0:"none"}})})})});j.displayName=O;var P="PopperArrow",E={top:"bottom",right:"left",bottom:"top",left:"right"},S=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=k(P,n),o=E[i.placedSide];return(0,l.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,l.jsx)(c,{...r,ref:t,style:{...r.style,display:"block"}})})});function M(e){return null!==e}S.displayName=P;var N=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;let{placement:l,rects:c,middlewareData:u}=t,s=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=s?0:e.arrowWidth,f=s?0:e.arrowHeight,[p,y]=D(l),h={start:"0%",center:"50%",end:"100%"}[y],m=(null!==(o=null===(r=u.arrow)||void 0===r?void 0:r.x)&&void 0!==o?o:0)+d/2,v=(null!==(a=null===(i=u.arrow)||void 0===i?void 0:i.y)&&void 0!==a?a:0)+f/2,g="",b="";return"bottom"===p?(g=s?h:"".concat(m,"px"),b="".concat(-f,"px")):"top"===p?(g=s?h:"".concat(m,"px"),b="".concat(c.floating.height+f,"px")):"right"===p?(g="".concat(-f,"px"),b=s?h:"".concat(v,"px")):"left"===p&&(g="".concat(c.floating.width+f,"px"),b=s?h:"".concat(v,"px")),{data:{x:g,y:b}}}});function D(e){let[t,n="center"]=e.split("-");return[t,n]}var z=b,C=w,L=j,I=S},91475:(e,t,n)=>{n.d(t,{b:()=>l,s:()=>a});var r=n(20107),i=n(34544),o=n(20475),a=r.forwardRef((e,t)=>(0,o.jsx)(i.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));a.displayName="VisuallyHidden";var l=a},74043:(e,t,n)=>{n.d(t,{A:()=>j});var r=n(20107);function i(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],a=t[n];return"function"==typeof r?`${r}`==`${a}`:i(r)&&i(a)?o(r,a):r===a})}function a(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function l(e){return"number"==typeof e}function c(e){return"string"==typeof e}function u(e){return"boolean"==typeof e}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function d(e){return Math.abs(e)}function f(e){return Math.sign(e)}function p(e){return v(e).map(Number)}function y(e){return e[h(e)]}function h(e){return Math.max(0,e.length-1)}function m(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function v(e){return Object.keys(e)}function g(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function b(){let e=[],t={add:function(n,r,i,o={passive:!0}){let a;return"addEventListener"in n?(n.addEventListener(r,i,o),a=()=>n.removeEventListener(r,i,o)):(n.addListener(i),a=()=>n.removeListener(i)),e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function x(e=0,t=0){let n=d(e-t);function r(n){return nt}return{length:n,max:t,min:e,constrain:function(n){return r(n)?nt},reachedMin:function(t){return t(v(n).forEach(r=>{let i=t[r],o=n[r],a=s(i)&&s(o);t[r]=a?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=v(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>v(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(E),M=(j=[],{init:function(e,t){return(j=t.filter(({options:e})=>!1!==S.optionsAtMedia(e).active)).forEach(t=>t.init(e,S)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){j=j.filter(e=>e.destroy())}}),N=b(),D=function(){let e,t={},n={init:function(t){e=t},emit:function(r){return(t[r]||[]).forEach(t=>t(e,r)),n},off:function(e,r){return t[e]=(t[e]||[]).filter(e=>e!==r),n},on:function(e,r){return t[e]=(t[e]||[]).concat([r]),n},clear:function(){t={}}};return n}(),{mergeOptions:z,optionsAtMedia:C,optionsMediaQueries:L}=S,{on:I,off:F,emit:R}=D,_=!1,T=z(A,k.globalOptions),B=z(T),X=[];function V(t,n){!_&&(B=C(T=z(T,t)),X=n||X,function(){let{container:t,slides:n}=B;o=(c(t)?e.querySelector(t):t)||e.children[0];let r=c(n)?o.querySelectorAll(n):n;a=[].slice.call(r||o.children)}(),r=function t(n){let r=function(e,t,n,r,i,o,a){let s,A;let{align:k,axis:j,direction:P,startIndex:E,loop:S,duration:M,dragFree:N,dragThreshold:D,inViewThreshold:z,slidesToScroll:C,skipSnaps:L,containScroll:I,watchResize:F,watchSlides:R,watchDrag:_,watchFocus:T}=o,B={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},X=B.measure(t),V=n.map(B.measure),H=function(e,t){let n="rtl"===t,r="y"===e,i=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){let{height:t,width:n}=e;return r?t:n},direction:function(e){return e*i}}}(j,P),W=H.measureSize(X),q={measure:function(e){return e/100*W}},$=function(e,t){let n={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}};return{measure:function(r,i){return c(e)?n[e](r):e(t,r,i)}}}(k,W),G=!S&&!!I,{slideSizes:U,slideSizesWithGaps:J,startGap:Y,endGap:K}=function(e,t,n,r,i,o){let{measureSize:a,startEdge:l,endEdge:c}=e,u=n[0]&&i,s=function(){if(!u)return 0;let e=n[0];return d(t[l]-e[l])}(),f=u?parseFloat(o.getComputedStyle(y(r)).getPropertyValue(`margin-${c}`)):0,p=n.map(a),m=n.map((e,t,n)=>{let r=t===h(n);return t?r?p[t]+f:n[t+1][l]-e[l]:p[t]+s}).map(d);return{slideSizes:p,slideSizesWithGaps:m,startGap:s,endGap:f}}(H,X,V,n,S||!!I,i),Z=function(e,t,n,r,i,o,a,c,u){let{startEdge:s,endEdge:f,direction:m}=e,v=l(n);return{groupSlides:function(e){return v?p(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?p(e).reduce((n,l,u)=>{let p=y(n)||0,v=l===h(e),g=i[s]-o[p][s],b=i[s]-o[l][f],x=r||0!==p?0:m(a),w=d(b-(!r&&v?m(c):0)-(g+x));return u&&w>t+2&&n.push(l),v&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(H,W,C,S,X,V,Y,K,0),{snaps:Q,snapsAligned:ee}=function(e,t,n,r,i){let{startEdge:o,endEdge:a}=e,{groupSlides:l}=i,c=l(r).map(e=>y(e)[a]-e[0][o]).map(d).map(t.measure),u=r.map(e=>n[o]-e[o]).map(e=>-d(e)),s=l(u).map(e=>e[0]).map((e,t)=>e+c[t]);return{snaps:u,snapsAligned:s}}(H,$,X,V,Z),et=-y(Q)+y(J),{snapsContained:en,scrollContainLimit:er}=function(e,t,n,r,i){let o=x(-t+e,0),a=n.map((e,t)=>{let{min:r,max:i}=o,a=o.constrain(e),l=t===h(n);return t?l||1>d(r-a)?r:1>d(i-a)?i:a:i}).map(e=>parseFloat(e.toFixed(3))),l=function(){let e=a[0],t=y(a);return x(a.lastIndexOf(e),a.indexOf(t)+1)}();return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===r)return a;let{min:n,max:i}=l;return a.slice(n,i)}(),scrollContainLimit:l}}(W,et,ee,I,0),ei=G?en:ee,{limit:eo}=function(e,t,n){let r=t[0];return{limit:x(n?r-e:y(t),r)}}(et,ei,S),ea=function e(t,n,r){let{constrain:i}=x(0,t),o=t+1,a=l(n);function l(e){return r?d((o+e)%o):i(e)}function c(){return e(t,a,r)}let u={get:function(){return a},set:function(e){return a=l(e),u},add:function(e){return c().set(a+e)},clone:c};return u}(h(ei),E,S),el=ea.clone(),ec=p(n),eu=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}},i)=>{r||n.constrain(e.pointerDown()),t.seek(i)},es=({scrollBody:e,translate:t,location:n,offsetLocation:r,scrollLooper:i,slideLooper:o,dragHandler:a,animation:l,eventHandler:c,scrollBounds:u,options:{loop:s}},d)=>{let f=e.settled(),p=!u.shouldConstrain(),y=s?f:f&&p;y&&!a.pointerDown()&&(l.stop(),c.emit("settle")),y||c.emit("scroll");let h=n.get()*d+ey.get()*(1-d);r.set(h),s&&(i.loop(e.direction()),o.loop()),t.to(r.get())},ed=function(e,t,n,r){let i=b(),o=1e3/60,a=null,l=0,c=0;function u(e){if(!c)return;a||(a=e);let i=e-a;for(a=e,l+=i;l>=o;)n(o),l-=o;r(l/o),c&&t.requestAnimationFrame(u)}function s(){t.cancelAnimationFrame(c),a=null,l=0,c=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,l=0)})},destroy:function(){s(),i.clear()},start:function(){c||(c=t.requestAnimationFrame(u))},stop:s,update:()=>n(o),render:r}}(r,i,e=>eu(ej,e),e=>es(ej,e)),ef=ei[ea.get()],ep=w(ef),ey=w(ef),eh=w(ef),em=w(ef),ev=function(e,t,n,r,i,o){let a=0,l=0,c=i,u=.68,s=e.get(),p=0;function y(e){return c=e,m}function h(e){return u=e,m}let m={direction:function(){return l},duration:function(){return c},velocity:function(){return a},seek:function(t){let i=t/1e3,o=c*i,d=r.get()-e.get(),y=0;return c?(n.set(e),a+=d/o,a*=u,s+=a,e.add(a*i),y=s-p):(a=0,n.set(r),e.set(r),y=d),l=f(y),p=s,m},settled:function(){return .001>d(r.get()-t.get())},useBaseFriction:function(){return h(.68)},useBaseDuration:function(){return y(i)},useFriction:h,useDuration:y};return m}(ep,eh,ey,em,M,0),eg=function(e,t,n,r,i){let{reachedAny:o,removeOffset:a,constrain:l}=r;function c(e){return e.concat().sort((e,t)=>d(e)-d(t))[0]}function u(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return c(i);let o=i.filter(e=>f(e)===r);return o.length?c(o):y(i)-n}return{byDistance:function(n,r){let c=i.get()+n,{index:s,distance:f}=function(n){let r=e?a(n):l(n),{index:i}=t.map((e,t)=>({diff:u(e-r,0),index:t})).sort((e,t)=>d(e.diff)-d(t.diff))[0];return{index:i,distance:r}}(c),p=!e&&o(c);if(!r||p)return{index:s,distance:n};let y=n+u(t[s]-f,0);return{index:s,distance:y}},byIndex:function(e,n){let r=u(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:u}}(S,ei,et,eo,em),eb=function(e,t,n,r,i,o,a){function l(i){let l=i.distance,c=i.index!==t.get();o.add(l),l&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),c&&(n.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){l(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);l(i.byIndex(r.get(),n))}}}(ed,ea,el,ev,eg,em,a),ex=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eo),ew=b(),eO=function(e,t,n,r){let i;let o={},a=null,l=null,c=!1;return{init:function(){i=new IntersectionObserver(e=>{c||(e.forEach(e=>{o[t.indexOf(e.target)]=e}),a=null,l=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>i.observe(e))},destroy:function(){i&&i.disconnect(),c=!0},get:function(e=!0){if(e&&a)return a;if(!e&&l)return l;let t=v(o).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(a=t),e||(l=t),t}}}(t,n,a,z),{slideRegistry:eA}=function(e,t,n,r,i,o){let{groupSlides:a}=i,{min:l,max:c}=r;return{slideRegistry:function(){let r=a(o);return 1===n.length?[o]:e&&"keepSnaps"!==t?r.slice(l,c).map((e,t,n)=>{let r=t===h(n);return t?r?m(h(o)-y(n)[0]+1,y(n)[0]):e:m(y(n[0])+1)}):r}()}}(G,I,ei,er,Z,ec),ek=function(e,t,n,r,i,o,a,c){let s={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(p){c&&(o.add(document,"keydown",f,!1),t.forEach((t,f)=>{o.add(t,"focus",t=>{(u(c)||c(p,t))&&function(t){if(new Date().getTime()-d>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));l(o)&&(i.useDuration(0),r.index(o,0),a.emit("slideFocus"))}(f)},s)}))}}}(e,n,eA,eb,ev,ew,a,T),ej={ownerDocument:r,ownerWindow:i,eventHandler:a,containerRect:X,slideRects:V,animation:ed,axis:H,dragHandler:function(e,t,n,r,i,o,a,l,c,s,p,y,h,m,v,w,O,A,k){let{cross:j,direction:P}=e,E=["INPUT","SELECT","TEXTAREA"],S={passive:!1},M=b(),N=b(),D=x(50,225).constrain(m.measure(20)),z={mouse:300,touch:400},C={mouse:500,touch:600},L=v?43:25,I=!1,F=0,R=0,_=!1,T=!1,B=!1,X=!1;function V(e){if(!g(e,r)&&e.touches.length>=2)return H(e);let t=o.readPoint(e),n=o.readPoint(e,j),a=d(t-F),c=d(n-R);if(!T&&!X&&(!e.cancelable||!(T=a>c)))return H(e);let u=o.pointerMove(e);a>w&&(B=!0),s.useFriction(.3).useDuration(.75),l.start(),i.add(P(u)),e.preventDefault()}function H(e){let t=p.byDistance(0,!1).index!==y.get(),n=o.pointerUp(e)*(v?C:z)[X?"mouse":"touch"],r=function(e,t){let n=y.add(-1*f(e)),r=p.byDistance(e,!v).distance;return v||d(e)e.preventDefault(),S).add(t,"touchmove",()=>void 0,S).add(t,"touchend",()=>void 0).add(t,"touchstart",l).add(t,"mousedown",l).add(t,"touchcancel",H).add(t,"contextmenu",H).add(t,"click",W,!0);function l(l){(u(k)||k(e,l))&&function(e){let l=g(e,r);X=l,B=v&&l&&!e.buttons&&I,I=d(i.get()-a.get())>=2,l&&0!==e.button||function(e){let t=e.nodeName||"";return E.includes(t)}(e.target)||(_=!0,o.pointerDown(e),s.useFriction(0).useDuration(0),i.set(a),function(){let e=X?n:t;N.add(e,"touchmove",V,S).add(e,"touchend",H).add(e,"mousemove",V,S).add(e,"mouseup",H)}(),F=o.readPoint(e),R=o.readPoint(e,j),h.emit("pointerDown"))}(l)}},destroy:function(){M.clear(),N.clear()},pointerDown:function(){return _}}}(H,e,r,i,em,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(g(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),a=i(e)-i(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),a=i(e)-i(n),l=i(e)-i(r)>170,c=t/a;return a&&!l&&d(c)>.1?c:0},readPoint:o}}(H,i),ep,ed,eb,ev,eg,ea,a,q,N,D,L,0,_),eventStore:ew,percentOfView:q,index:ea,indexPrevious:el,limit:eo,location:ep,offsetLocation:eh,previousLocation:ey,options:o,resizeHandler:function(e,t,n,r,i,o,a){let l,c;let s=[e].concat(r),f=[],p=!1;function y(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(c=y(e),f=r.map(y),l=new ResizeObserver(n=>{(u(o)||o(i,n))&&function(n){for(let o of n){if(p)return;let n=o.target===e,a=r.indexOf(o.target),l=n?c:f[a];if(d(y(n?e:r[a])-l)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{s.forEach(e=>l.observe(e))}))},destroy:function(){p=!0,l&&l.disconnect()}}}(t,a,i,n,H,F,B),scrollBody:ev,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),a=i.measure(50),l=x(.1,.99),c=!1;function u(){return!!(!c&&e.reachedAny(n.get())&&e.reachedAny(t.get()))}return{shouldConstrain:u,constrain:function(i){if(!u())return;let c=e.reachedMin(t.get())?"min":"max",s=d(e[c]-t.get()),f=n.get()-t.get(),p=l.constrain(s/a);n.subtract(f*p),!i&&d(f)e.add(a))}}}(et,eo,eh,[ep,eh,ey,em]),scrollProgress:ex,scrollSnapList:ei.map(ex.get),scrollSnaps:ei,scrollTarget:eg,scrollTo:eb,slideLooper:function(e,t,n,r,i,o,a,l,c){let u=p(i),s=y(f(p(i).reverse(),a[0]),n,!1).concat(y(f(u,t-a[0]-1),-n,!0));function d(e,t){return e.reduce((e,t)=>e-i[t],t)}function f(e,t){return e.reduce((e,n)=>d(e,t)>0?e.concat([n]):e,[])}function y(i,a,u){let s=o.map((e,n)=>({start:e-r[n]+.5+a,end:e+t-.5+a}));return i.map(t=>{let r=u?0:-n,i=u?n:0,o=s[t][u?"end":"start"];return{index:t,loopPoint:o,slideLocation:w(-1),translate:O(e,c[t]),target:()=>l.get()>o?r:i}})}return{canLoop:function(){return s.every(({index:e})=>.1>=d(u.filter(t=>t!==e),t))},clear:function(){s.forEach(e=>e.translate.clear())},loop:function(){s.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:s}}(H,W,et,U,J,Q,ei,eh,n),slideFocus:ek,slidesHandler:(A=!1,{init:function(e){R&&(s=new MutationObserver(t=>{!A&&(u(R)||R(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),a.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){s&&s.disconnect(),A=!0}}),slidesInView:eO,slideIndexes:ec,slideRegistry:eA,slidesToScroll:Z,target:em,translate:O(H,t)};return ej}(e,o,a,P,E,n,D);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(B),L([T,...X.map(({options:e})=>e)]).forEach(e=>N.add(e,"change",H)),B.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init(G),r.eventHandler.init(G),r.resizeHandler.init(G),r.slidesHandler.init(G),r.options.loop&&r.slideLooper.loop(),o.offsetParent&&a.length&&r.dragHandler.init(G),i=M.init(G,X)))}function H(e,t){let n=$();W(),V(z({startIndex:n},e),t),D.emit("reInit")}function W(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),M.destroy(),N.clear()}function q(e,t,n){B.active&&!_&&(r.scrollBody.useBaseFriction().useDuration(!0===t?0:B.duration),r.scrollTo.index(e,n||0))}function $(){return r.index.get()}let G={canScrollNext:function(){return r.index.add(1).get()!==$()},canScrollPrev:function(){return r.index.add(-1).get()!==$()},containerNode:function(){return o},internalEngine:function(){return r},destroy:function(){_||(_=!0,N.clear(),W(),D.emit("destroy"),D.clear())},off:F,on:I,emit:R,plugins:function(){return i},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:H,rootNode:function(){return e},scrollNext:function(e){q(r.index.add(1).get(),e,-1)},scrollPrev:function(e){q(r.index.add(-1).get(),e,1)},scrollProgress:function(){return r.scrollProgress.get(r.location.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:q,selectedScrollSnap:$,slideNodes:function(){return a},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return V(t,n),setTimeout(()=>D.emit("init"),0),G}function j(e={},t=[]){let n=(0,r.useRef)(e),i=(0,r.useRef)(t),[l,c]=(0,r.useState)(),[u,s]=(0,r.useState)(),d=(0,r.useCallback)(()=>{l&&l.reInit(n.current,i.current)},[l]);return(0,r.useEffect)(()=>{o(n.current,e)||(n.current=e,d())},[e,d]),(0,r.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=a(e),r=a(t);return n.every((e,t)=>o(e,r[t]))}(i.current,t)&&(i.current=t,d())},[t,d]),(0,r.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&u){k.globalOptions=j.globalOptions;let e=k(u,n.current,i.current);return c(e),()=>e.destroy()}c(void 0)},[u,c]),[s,l]}k.globalOptions=void 0,j.globalOptions=void 0},45930:(e,t,n)=>{n.d(t,{k5:()=>s});var r=n(20107),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=r.createContext&&r.createContext(i),a=["attr","size","title"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(d,l({attr:u({},e.attr)},t),function e(t){return t&&t.map((t,n)=>r.createElement(t.tag,u({key:n},t.attr),e(t.child)))}(e.child))}function d(e){var t=t=>{var n,{attr:i,size:o,title:c}=e,s=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,a),d=o||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,s,{className:n,style:u(u({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),c&&r.createElement("title",null,c),e.children)};return void 0!==o?r.createElement(o.Consumer,null,e=>t(e)):t(i)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4687-e0eed5cfe3a696d9.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4687-e0eed5cfe3a696d9.js deleted file mode 100644 index 4693b77..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4687-e0eed5cfe3a696d9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4687],{94521:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},45170:(e,t,n)=>{n.d(t,{A:()=>s,q:()=>i});var r=n(20107),u=n(20475);function i(e,t){let n=r.createContext(t),i=e=>{let{children:t,...i}=e,s=r.useMemo(()=>i,Object.values(i));return(0,u.jsx)(n.Provider,{value:s,children:t})};return i.displayName=e+"Provider",[i,function(u){let i=r.useContext(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function s(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return i.scopeName=e,[function(t,i){let s=r.createContext(i),o=n.length;n=[...n,i];let l=t=>{let{scope:n,children:i,...l}=t,a=n?.[e]?.[o]||s,d=r.useMemo(()=>l,Object.values(l));return(0,u.jsx)(a.Provider,{value:d,children:i})};return l.displayName=t+"Provider",[l,function(n,u){let l=u?.[e]?.[o]||s,a=r.useContext(l);if(a)return a;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e)[`__scope${r}`];return{...t,...u}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(i,...t)]}},55302:(e,t,n)=>{n.d(t,{bL:()=>b,lg:()=>y,qW:()=>f});var r,u=n(20107),i=n(94521),s=n(34544),o=n(64236),l=n(46774),a=n(91624),d=n(20475),c="dismissableLayer.update",v=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=u.forwardRef((e,t)=>{var n,f;let{disableOutsidePointerEvents:m=!1,onEscapeKeyDown:b,onPointerDownOutside:y,onFocusOutside:h,onInteractOutside:w,onDismiss:C,...g}=e,P=u.useContext(v),[L,x]=u.useState(null),D=null!==(f=null==L?void 0:L.ownerDocument)&&void 0!==f?f:null===(n=globalThis)||void 0===n?void 0:n.document,[,N]=u.useState({}),O=(0,o.s)(t,e=>x(e)),S=Array.from(P.layers),[k]=[...P.layersWithOutsidePointerEventsDisabled].slice(-1),R=S.indexOf(k),_=L?S.indexOf(L):-1,T=P.layersWithOutsidePointerEventsDisabled.size>0,$=_>=R,j=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,l.c)(e),i=u.useRef(!1),s=u.useRef(()=>{});return u.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){E("dismissableLayer.pointerDownOutside",r,u,{discrete:!0})},u={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",s.current),s.current=t,n.addEventListener("click",s.current,{once:!0})):t()}else n.removeEventListener("click",s.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",s.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...P.branches].some(e=>e.contains(t));!$||n||(null==y||y(e),null==w||w(e),e.defaultPrevented||null==C||C())},D),W=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,l.c)(e),i=u.useRef(!1);return u.useEffect(()=>{let e=e=>{e.target&&!i.current&&E("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...P.branches].some(e=>e.contains(t))||(null==h||h(e),null==w||w(e),e.defaultPrevented||null==C||C())},D);return(0,a.U)(e=>{_!==P.layers.size-1||(null==b||b(e),!e.defaultPrevented&&C&&(e.preventDefault(),C()))},D),u.useEffect(()=>{if(L)return m&&(0===P.layersWithOutsidePointerEventsDisabled.size&&(r=D.body.style.pointerEvents,D.body.style.pointerEvents="none"),P.layersWithOutsidePointerEventsDisabled.add(L)),P.layers.add(L),p(),()=>{m&&1===P.layersWithOutsidePointerEventsDisabled.size&&(D.body.style.pointerEvents=r)}},[L,D,m,P]),u.useEffect(()=>()=>{L&&(P.layers.delete(L),P.layersWithOutsidePointerEventsDisabled.delete(L),p())},[L,P]),u.useEffect(()=>{let e=()=>N({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,d.jsx)(s.sG.div,{...g,ref:O,style:{pointerEvents:T?$?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.m)(e.onFocusCapture,W.onFocusCapture),onBlurCapture:(0,i.m)(e.onBlurCapture,W.onBlurCapture),onPointerDownCapture:(0,i.m)(e.onPointerDownCapture,j.onPointerDownCapture)})});f.displayName="DismissableLayer";var m=u.forwardRef((e,t)=>{let n=u.useContext(v),r=u.useRef(null),i=(0,o.s)(t,r);return u.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,d.jsx)(s.sG.div,{...e,ref:i})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function E(e,t,n,r){let{discrete:u}=r,i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),u?(0,s.hO)(i,o):i.dispatchEvent(o)}m.displayName="DismissableLayerBranch";var b=f,y=m},72763:(e,t,n)=>{n.d(t,{B:()=>l});var r,u=n(20107),i=n(54122),s=(r||(r=n.t(u,2)))["useId".toString()]||(()=>void 0),o=0;function l(e){let[t,n]=u.useState(s());return(0,i.N)(()=>{e||n(e=>e??String(o++))},[e]),e||(t?`radix-${t}`:"")}},41913:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(20107),u=n(25642),i=n(34544),s=n(54122),o=n(20475),l=r.forwardRef((e,t)=>{var n,l;let{container:a,...d}=e,[c,v]=r.useState(!1);(0,s.N)(()=>v(!0),[]);let f=a||c&&(null===(l=globalThis)||void 0===l?void 0:null===(n=l.document)||void 0===n?void 0:n.body);return f?u.createPortal((0,o.jsx)(i.sG.div,{...d,ref:t}),f):null});l.displayName="Portal"},34544:(e,t,n)=>{n.d(t,{hO:()=>l,sG:()=>o});var r=n(20107),u=n(25642),i=n(61837),s=n(20475),o=["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,o=r?i.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(o,{...u,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function l(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}},46774:(e,t,n)=>{n.d(t,{c:()=>u});var r=n(20107);function u(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,n)=>{n.d(t,{i:()=>i});var r=n(20107),u=n(46774);function i({prop:e,defaultProp:t,onChange:n=()=>{}}){let[i,s]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[i]=n,s=r.useRef(i),o=(0,u.c)(t);return r.useEffect(()=>{s.current!==i&&(o(i),s.current=i)},[i,s,o]),n}({defaultProp:t,onChange:n}),o=void 0!==e,l=o?e:i,a=(0,u.c)(n);return[l,r.useCallback(t=>{if(o){let n="function"==typeof t?t(e):t;n!==e&&a(n)}else s(t)},[o,e,s,a])]}},91624:(e,t,n)=>{n.d(t,{U:()=>i});var r=n(20107),u=n(46774);function i(e,t=globalThis?.document){let n=(0,u.c)(e);r.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}},54122:(e,t,n)=>{n.d(t,{N:()=>u});var r=n(20107),u=globalThis?.document?r.useLayoutEffect:()=>{}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4736-a2a6c92b170301c7.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4736-a2a6c92b170301c7.js new file mode 100644 index 0000000..f83df21 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/4736-a2a6c92b170301c7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4736],{59166:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},51873:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},76171:(e,t,n)=>{n.d(t,{A:()=>H});var r,o=function(){return(o=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}Object.create,Object.create;var i=("function"==typeof SuppressedError&&SuppressedError,n(20107)),l="right-scroll-bar-position",u="width-before-scroll-bar";function c(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var s="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,d=new WeakMap;function f(e){return e}var p=function(e){void 0===e&&(e={});var t,n,r,a=(void 0===t&&(t=f),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}});return a.options=o({async:!0,ssr:!1},e),a}(),v=function(){},m=i.forwardRef(function(e,t){var n,r,l,u,f=i.useRef(null),m=i.useState({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:v}),h=m[0],g=m[1],y=e.forwardProps,w=e.children,b=e.className,E=e.removeScrollBar,x=e.enabled,C=e.shards,N=e.sideCar,P=e.noIsolation,R=e.inert,O=e.allowPinchZoom,S=e.as,A=e.gapMode,j=a(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=(n=[f,t],r=function(e){return n.forEach(function(t){return c(t,e)})},(l=(0,i.useState)(function(){return{value:null,callback:r,facade:{get current(){return l.value},set current(value){var e=l.value;e!==value&&(l.value=value,l.callback(value,e))}}}})[0]).callback=r,u=l.facade,s(function(){var e=d.get(u);if(e){var t=new Set(e),r=new Set(n),o=u.current;t.forEach(function(e){r.has(e)||c(e,null)}),r.forEach(function(e){t.has(e)||c(e,o)})}d.set(u,n)},[n]),u),T=o(o({},j),h);return i.createElement(i.Fragment,null,x&&i.createElement(N,{sideCar:p,removeScrollBar:E,shards:C,noIsolation:P,inert:R,setCallbacks:g,allowPinchZoom:!!O,lockRef:f,gapMode:A}),y?i.cloneElement(i.Children.only(w),o(o({},T),{ref:L})):i.createElement(void 0===S?"div":S,o({},T,{className:b,ref:L}),w))});m.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},m.classNames={fullWidth:u,zeroRight:l};var h=function(e){var t=e.sideCar,n=a(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 i.createElement(r,o({},n))};h.isSideCarExport=!0;var g=n(91059),y=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=(0,g.m)();return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},w=function(){var e=y();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},b=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},E={left:0,top:0,right:0,gap:0},x=function(e){return parseInt(e||"",10)||0},C=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[x(n),x(r),x(o)]},N=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return E;var t=C(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])}},P=b(),R="data-scroll-locked",O=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(R,"] {\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(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(l," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(u," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(l," .").concat(l," {\n right: 0 ").concat(r,";\n }\n \n .").concat(u," .").concat(u," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(R,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},S=function(){var e=parseInt(document.body.getAttribute(R)||"0",10);return isFinite(e)?e:0},A=function(){i.useEffect(function(){return document.body.setAttribute(R,(S()+1).toString()),function(){var e=S()-1;e<=0?document.body.removeAttribute(R):document.body.setAttribute(R,e.toString())}},[])},j=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;A();var a=i.useMemo(function(){return N(o)},[o]);return i.createElement(P,{styles:O(a,!t,o,n?"":"!important")})},L=!1;if("undefined"!=typeof window)try{var T=Object.defineProperty({},"passive",{get:function(){return L=!0,!0}});window.addEventListener("test",T,T),window.removeEventListener("test",T,T)}catch(e){L=!1}var k=!!L&&{passive:!1},M=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),F(e,r)){var o=I(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},F=function(e,t){return"v"===e?M(t,"overflowY"):M(t,"overflowX")},I=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},W=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),l=i*r,u=n.target,c=t.contains(u),s=!1,d=l>0,f=0,p=0;do{var v=I(e,u),m=v[0],h=v[1]-v[2]-i*m;(m||h)&&F(e,u)&&(f+=h,p+=m),u instanceof ShadowRoot?u=u.host:u=u.parentNode}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return d&&(o&&1>Math.abs(f)||!o&&l>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(s=!0),s},_=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},U=function(e){return[e.deltaX,e.deltaY]},B=function(e){return e&&"current"in e?e.current:e},X=0,z=[];let Y=(r=function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(X++)[0],a=i.useState(b)[0],l=i.useRef(e);i.useEffect(function(){l.current=e},[e]),i.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(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=D(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=D(d,s)),!f)return!1;if(!r.current&&"changedTouches"in e&&(u||c)&&(r.current=o),!o)return!0;var p=r.current||o;return W(p,t,e,"h"===p?u:c,!0)},[]),c=i.useCallback(function(e){if(z.length&&z[z.length-1]===a){var n="deltaY"in e?U(e):_(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=(l.current.shards||[]).map(B).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=i.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=i.useCallback(function(e){n.current=_(e),r.current=void 0},[]),f=i.useCallback(function(t){s(t.type,U(t),t.target,u(t,e.lockRef.current))},[]),p=i.useCallback(function(t){s(t.type,_(t),t.target,u(t,e.lockRef.current))},[]);i.useEffect(function(){return z.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,k),document.addEventListener("touchmove",c,k),document.addEventListener("touchstart",d,k),function(){z=z.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,k),document.removeEventListener("touchmove",c,k),document.removeEventListener("touchstart",d,k)}},[]);var v=e.removeScrollBar,m=e.inert;return i.createElement(i.Fragment,null,m?i.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?i.createElement(j,{gapMode:e.gapMode}):null)},p.useMedium(r),h);var G=i.forwardRef(function(e,t){return i.createElement(m,o({},e,{ref:t,sideCar:Y}))});G.classNames=m.classNames;let H=G},75456:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},72706:(e,t,n)=>{n.d(t,{s:()=>i,t:()=>a});var r=n(20107);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t{n.d(t,{qW:()=>p});var r,o=n(20107),a=n(75456),i=n(3328),l=n(72706),u=n(46774),c=n(91624),s=n(20475),d="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=o.forwardRef((e,t)=>{var n,p;let{disableOutsidePointerEvents:h=!1,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:w,onInteractOutside:b,onDismiss:E,...x}=e,C=o.useContext(f),[N,P]=o.useState(null),R=null!==(p=null==N?void 0:N.ownerDocument)&&void 0!==p?p:null===(n=globalThis)||void 0===n?void 0:n.document,[,O]=o.useState({}),S=(0,l.s)(t,e=>P(e)),A=Array.from(C.layers),[j]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),L=A.indexOf(j),T=N?A.indexOf(N):-1,k=C.layersWithOutsidePointerEventsDisabled.size>0,M=T>=L,D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.c)(e),a=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!a.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);a.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>a.current=!0}}(e=>{let t=e.target,n=[...C.branches].some(e=>e.contains(t));!M||n||(null==y||y(e),null==b||b(e),e.defaultPrevented||null==E||E())},R),F=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.c)(e),a=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!a.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}(e=>{let t=e.target;[...C.branches].some(e=>e.contains(t))||(null==w||w(e),null==b||b(e),e.defaultPrevented||null==E||E())},R);return(0,c.U)(e=>{T!==C.layers.size-1||(null==g||g(e),!e.defaultPrevented&&E&&(e.preventDefault(),E()))},R),o.useEffect(()=>{if(N)return h&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(r=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(N)),C.layers.add(N),v(),()=>{h&&1===C.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=r)}},[N,R,h,C]),o.useEffect(()=>()=>{N&&(C.layers.delete(N),C.layersWithOutsidePointerEventsDisabled.delete(N),v())},[N,C]),o.useEffect(()=>{let e=()=>O({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),(0,s.jsx)(i.sG.div,{...x,ref:S,style:{pointerEvents:k?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.m)(e.onFocusCapture,F.onFocusCapture),onBlurCapture:(0,a.m)(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:(0,a.m)(e.onPointerDownCapture,D.onPointerDownCapture)})});function v(){let e=new CustomEvent(d);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:o}=r,a=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),o?(0,i.hO)(a,l):a.dispatchEvent(l)}p.displayName="DismissableLayer",o.forwardRef((e,t)=>{let n=o.useContext(f),r=o.useRef(null),a=(0,l.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(i.sG.div,{...e,ref:a})}).displayName="DismissableLayerBranch"},62802:(e,t,n)=>{n.d(t,{n:()=>d});var r=n(20107),o=n(72706),a=n(3328),i=n(46774),l=n(20475),u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:d=!1,onMountAutoFocus:h,onUnmountAutoFocus:g,...y}=e,[w,b]=r.useState(null),E=(0,i.c)(h),x=(0,i.c)(g),C=r.useRef(null),N=(0,o.s)(t,e=>b(e)),P=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(P.paused||!w)return;let t=e.target;w.contains(t)?C.current=t:v(C.current,{select:!0})},t=function(e){if(P.paused||!w)return;let t=e.relatedTarget;null===t||w.contains(t)||v(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&&v(w)});return w&&n.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[d,w,P.paused]),r.useEffect(()=>{if(w){m.add(P);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(u,s);w.addEventListener(u,E),w.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(v(r,{select:t}),document.activeElement!==n)return}(f(w).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&v(w))}return()=>{w.removeEventListener(u,E),setTimeout(()=>{let t=new CustomEvent(c,s);w.addEventListener(c,x),w.dispatchEvent(t),t.defaultPrevented||v(null!=e?e:document.body,{select:!0}),w.removeEventListener(c,x),m.remove(P)},0)}}},[w,E,x,P]);let R=r.useCallback(e=>{if(!n&&!d||P.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,a]=function(e){let t=f(e);return[p(t,e),p(t.reverse(),e)]}(t);o&&a?e.shiftKey||r!==a?e.shiftKey&&r===o&&(e.preventDefault(),n&&v(a,{select:!0})):(e.preventDefault(),n&&v(o,{select:!0})):r===t&&e.preventDefault()}},[n,d,P.paused]);return(0,l.jsx)(a.sG.div,{tabIndex:-1,...y,ref:N,onKeyDown:R})});function f(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 v(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()}}d.displayName="FocusScope";var m=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=h(e,t)).unshift(t)},remove(t){var n;null===(n=(e=h(e,t))[0])||void 0===n||n.resume()}}}();function h(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},21869:(e,t,n)=>{n.d(t,{Mz:()=>ef,UC:()=>em,ZL:()=>ev,bL:()=>ed,l9:()=>ep});var r=n(20107),o=n(75456),a=n(72706),i=n(45170),l=n(80560),u=n(10201),c=n(62802),s=n(72763),d=n(9895),f=n(84069),p=n(3328),v=n(20475),m=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...a}=e;return(0,v.jsx)(p.sG.svg,{...a,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,v.jsx)("polygon",{points:"0,0 30,0 15,10"})})});m.displayName="Arrow";var h=n(46774),g=n(54122),y=n(63620),w="Popper",[b,E]=(0,i.A)(w),[x,C]=b(w),N=e=>{let{__scopePopper:t,children:n}=e,[o,a]=r.useState(null);return(0,v.jsx)(x,{scope:t,anchor:o,onAnchorChange:a,children:n})};N.displayName=w;var P="PopperAnchor",R=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...i}=e,l=C(P,n),u=r.useRef(null),c=(0,a.s)(t,u);return r.useEffect(()=>{l.onAnchorChange((null==o?void 0:o.current)||u.current)}),o?null:(0,v.jsx)(p.sG.div,{...i,ref:c})});R.displayName=P;var O="PopperContent",[S,A]=b(O),j=r.forwardRef((e,t)=>{var n,o,i,l,u,c,s,m;let{__scopePopper:w,side:b="bottom",sideOffset:E=0,align:x="center",alignOffset:N=0,arrowPadding:P=0,avoidCollisions:R=!0,collisionBoundary:A=[],collisionPadding:j=0,sticky:L="partial",hideWhenDetached:T=!1,updatePositionStrategy:k="optimized",onPlaced:I,...W}=e,_=C(O,w),[U,B]=r.useState(null),X=(0,a.s)(t,e=>B(e)),[z,Y]=r.useState(null),G=(0,y.X)(z),H=null!==(s=null==G?void 0:G.width)&&void 0!==s?s:0,K=null!==(m=null==G?void 0:G.height)&&void 0!==m?m:0,Z="number"==typeof j?j:{top:0,right:0,bottom:0,left:0,...j},V=Array.isArray(A)?A:[A],q=V.length>0,$={padding:Z,boundary:V.filter(M),altBoundary:q},{refs:J,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:en}=(0,d.we)({strategy:"fixed",placement:b+("center"!==x?"-"+x:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:a,height:i}=n.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(r,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(a,"px")),l.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),z&&(0,d.UE)({element:z,padding:P}),D({arrowWidth:H,arrowHeight:K}),T&&(0,d.jD)({strategy:"referenceHidden",...$})]}),[er,eo]=F(ee),ea=(0,h.c)(I);(0,g.N)(()=>{et&&(null==ea||ea())},[et,ea]);let ei=null===(n=en.arrow)||void 0===n?void 0:n.x,el=null===(o=en.arrow)||void 0===o?void 0:o.y,eu=(null===(i=en.arrow)||void 0===i?void 0:i.centerOffset)!==0,[ec,es]=r.useState();return(0,g.N)(()=>{U&&es(window.getComputedStyle(U).zIndex)},[U]),(0,v.jsx)("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ec,"--radix-popper-transform-origin":[null===(l=en.transformOrigin)||void 0===l?void 0:l.x,null===(u=en.transformOrigin)||void 0===u?void 0:u.y].join(" "),...(null===(c=en.hide)||void 0===c?void 0:c.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,v.jsx)(S,{scope:w,placedSide:er,onArrowChange:Y,arrowX:ei,arrowY:el,shouldHideArrow:eu,children:(0,v.jsx)(p.sG.div,{"data-side":er,"data-align":eo,...W,ref:X,style:{...W.style,animation:et?void 0:"none"}})})})});j.displayName=O;var L="PopperArrow",T={top:"bottom",right:"left",bottom:"top",left:"right"},k=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=A(L,n),a=T[o.placedSide];return(0,v.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,v.jsx)(m,{...r,ref:t,style:{...r.style,display:"block"}})})});function M(e){return null!==e}k.displayName=L;var D=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;let{placement:l,rects:u,middlewareData:c}=t,s=(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=s?0:e.arrowWidth,f=s?0:e.arrowHeight,[p,v]=F(l),m={start:"0%",center:"50%",end:"100%"}[v],h=(null!==(a=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==a?a:0)+d/2,g=(null!==(i=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==i?i:0)+f/2,y="",w="";return"bottom"===p?(y=s?m:"".concat(h,"px"),w="".concat(-f,"px")):"top"===p?(y=s?m:"".concat(h,"px"),w="".concat(u.floating.height+f,"px")):"right"===p?(y="".concat(-f,"px"),w=s?m:"".concat(g,"px")):"left"===p&&(y="".concat(u.floating.width+f,"px"),w=s?m:"".concat(g,"px")),{data:{x:y,y:w}}}});function F(e){let[t,n="center"]=e.split("-");return[t,n]}var I=n(46527),W=n(86432),_=n(79571),U=n(13061),B=n(58020),X=n(76171),z="Popover",[Y,G]=(0,i.A)(z,[E]),H=E(),[K,Z]=Y(z),V=e=>{let{__scopePopover:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:l=!1}=e,u=H(t),c=r.useRef(null),[d,f]=r.useState(!1),[p=!1,m]=(0,U.i)({prop:o,defaultProp:a,onChange:i});return(0,v.jsx)(N,{...u,children:(0,v.jsx)(K,{scope:t,contentId:(0,s.B)(),triggerRef:c,open:p,onOpenChange:m,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:d,onCustomAnchorAdd:r.useCallback(()=>f(!0),[]),onCustomAnchorRemove:r.useCallback(()=>f(!1),[]),modal:l,children:n})})};V.displayName=z;var q="PopoverAnchor",$=r.forwardRef((e,t)=>{let{__scopePopover:n,...o}=e,a=Z(q,n),i=H(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:u}=a;return r.useEffect(()=>(l(),()=>u()),[l,u]),(0,v.jsx)(R,{...i,...o,ref:t})});$.displayName=q;var J="PopoverTrigger",Q=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Z(J,n),l=H(n),u=(0,a.s)(t,i.triggerRef),c=(0,v.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":es(i.open),...r,ref:u,onClick:(0,o.m)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?c:(0,v.jsx)(R,{asChild:!0,...l,children:c})});Q.displayName=J;var ee="PopoverPortal",[et,en]=Y(ee,{forceMount:void 0}),er=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=Z(ee,t);return(0,v.jsx)(et,{scope:t,forceMount:n,children:(0,v.jsx)(W.C,{present:n||a.open,children:(0,v.jsx)(I.Z,{asChild:!0,container:o,children:r})})})};er.displayName=ee;var eo="PopoverContent",ea=r.forwardRef((e,t)=>{let n=en(eo,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=Z(eo,e.__scopePopover);return(0,v.jsx)(W.C,{present:r||a.open,children:a.modal?(0,v.jsx)(ei,{...o,ref:t}):(0,v.jsx)(el,{...o,ref:t})})});ea.displayName=eo;var ei=r.forwardRef((e,t)=>{let n=Z(eo,e.__scopePopover),i=r.useRef(null),l=(0,a.s)(t,i),u=r.useRef(!1);return r.useEffect(()=>{let e=i.current;if(e)return(0,B.Eq)(e)},[]),(0,v.jsx)(X.A,{as:_.DX,allowPinchZoom:!0,children:(0,v.jsx)(eu,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),u.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;u.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),el=r.forwardRef((e,t)=>{let n=Z(eo,e.__scopePopover),o=r.useRef(!1),a=r.useRef(!1);return(0,v.jsx)(eu,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{var r,i;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let l=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),eu=r.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,...m}=e,h=Z(eo,n),g=H(n);return(0,u.Oh)(),(0,v.jsx)(c.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,v.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:p,onEscapeKeyDown:s,onPointerDownOutside:d,onFocusOutside:f,onDismiss:()=>h.onOpenChange(!1),children:(0,v.jsx)(j,{"data-state":es(h.open),role:"dialog",id:h.contentId,...g,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),ec="PopoverClose";function es(e){return e?"open":"closed"}r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,a=Z(ec,n);return(0,v.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,o.m)(e.onClick,()=>a.onOpenChange(!1))})}).displayName=ec,r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=H(n);return(0,v.jsx)(k,{...o,...r,ref:t})}).displayName="PopoverArrow";var ed=V,ef=$,ep=Q,ev=er,em=ea},46527:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(20107),o=n(25642),a=n(3328),i=n(54122),l=n(20475),u=r.forwardRef((e,t)=>{var n,u;let{container:c,...s}=e,[d,f]=r.useState(!1);(0,i.N)(()=>f(!0),[]);let p=c||d&&(null===(u=globalThis)||void 0===u?void 0:null===(n=u.document)||void 0===n?void 0:n.body);return p?o.createPortal((0,l.jsx)(a.sG.div,{...s,ref:t}),p):null});u.displayName="Portal"},86432:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(20107),o=n(72706),a=n(54122),i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[o,i]=r.useState(),u=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(u.current);s.current="mounted"===d?e:"none"},[d]),(0,a.N)(()=>{let t=u.current,n=c.current;if(n!==e){let r=s.current,o=l(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,a.N)(()=>{if(o){var e;let t;let n=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(u.current).includes(e.animationName);if(e.target===o&&r&&(f("ANIMATION_END"),!c.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},a=e=>{e.target===o&&(s.current=l(u.current))};return o.addEventListener("animationstart",a),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",a),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(u.current=getComputedStyle(e)),i(e)},[])}}(t),u="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),c=(0,o.s)(i.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof n||i.isPresent?r.cloneElement(u,{ref:c}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},3328:(e,t,n)=>{n.d(t,{hO:()=>u,sG:()=>l});var r=n(20107),o=n(25642),a=n(79571),i=n(20475),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,...o}=e,l=r?a.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function u(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},88853:(e,t,n)=>{n.d(t,{b:()=>c});var r=n(20107),o=n(34544),a=n(20475),i="horizontal",l=["horizontal","vertical"],u=r.forwardRef((e,t)=>{let{decorative:n,orientation:r=i,...u}=e,c=l.includes(r)?r:i;return(0,a.jsx)(o.sG.div,{"data-orientation":c,...n?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...u,ref:t})});u.displayName="Separator";var c=u},79571:(e,t,n)=>{n.d(t,{DX:()=>i});var r=n(20107),o=n(72706),a=n(20475),i=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),u=i.find(c);if(u){let e=u.props.children,n=i.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,a.jsx)(l,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,a.jsx)(l,{...o,ref:t,children:n})});i.displayName="Slot";var l=r.forwardRef((e,t)=>{let{children:n,...a}=e;if(r.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n),i=function(e,t){let n={...t};for(let r in t){let o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...e)=>{a(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(a,n.props);return n.type!==r.Fragment&&(i.ref=t?(0,o.t)(t,e):e),r.cloneElement(n,i)}return r.Children.count(n)>1?r.Children.only(null):null});l.displayName="SlotClone";var u=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});function c(e){return r.isValidElement(e)&&e.type===u}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5033-c73098653b2085c3.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5033-c73098653b2085c3.js deleted file mode 100644 index c9570d0..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5033-c73098653b2085c3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5033],{39997:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(20107);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 a=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:u=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:s="",children:c,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...i,width:u,height:u,stroke:n,strokeWidth:l?24*Number(a)/Number(u):a,className:o("lucide",s),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),l=(e,t)=>{let n=(0,r.forwardRef)((n,i)=>{let{className:l,...s}=n;return(0,r.createElement)(a,{ref:i,iconNode:t,className:o("lucide-".concat(u(e)),l),...s})});return n.displayName="".concat(e),n}},58212:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},94521:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},54379:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(20107),u=n(20475);function o(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return i.scopeName=e,[function(t,o){let i=r.createContext(o),a=n.length;function l(t){let{scope:n,children:o,...l}=t,s=n?.[e][a]||i,c=r.useMemo(()=>l,Object.values(l));return(0,u.jsx)(s.Provider,{value:c,children:o})}return n=[...n,o],l.displayName=t+"Provider",[l,function(n,u){let l=u?.[e][a]||i,s=r.useContext(l);if(s)return s;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}(i,...t)]}},45170:(e,t,n)=>{n.d(t,{A:()=>i,q:()=>o});var r=n(20107),u=n(20475);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),a=n.length;n=[...n,o];let l=t=>{let{scope:n,children:o,...l}=t,s=n?.[e]?.[a]||i,c=r.useMemo(()=>l,Object.values(l));return(0,u.jsx)(s.Provider,{value:c,children:o})};return l.displayName=t+"Provider",[l,function(n,u){let l=u?.[e]?.[a]||i,s=r.useContext(l);if(s)return s;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)]}},76056:(e,t,n)=>{n.d(t,{jH:()=>o});var r=n(20107);n(20475);var u=r.createContext(void 0);function o(e){let t=r.useContext(u);return e||t||"ltr"}},72763:(e,t,n)=>{n.d(t,{B:()=>l});var r,u=n(20107),o=n(54122),i=(r||(r=n.t(u,2)))["useId".toString()]||(()=>void 0),a=0;function l(e){let[t,n]=u.useState(i());return(0,o.N)(()=>{e||n(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},21840:(e,t,n)=>{n.d(t,{b:()=>a});var r=n(20107),u=n(34544),o=n(20475),i=r.forwardRef((e,t)=>(0,o.jsx)(u.sG.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName="Label";var a=i},54245:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(20107),u=n(64236),o=n(54122),i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[u,i]=r.useState(),l=r.useRef({}),s=r.useRef(e),c=r.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=a(l.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=l.current,n=s.current;if(n!==e){let r=c.current,u=a(t);e?f("MOUNT"):"none"===u||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==u?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,o.N)(()=>{if(u){var e;let t;let n=null!==(e=u.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=a(l.current).includes(e.animationName);if(e.target===u&&r&&(f("ANIMATION_END"),!s.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&&(c.current=a(l.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&&(l.current=getComputedStyle(e)),i(e)},[])}}(t),l="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),s=(0,u.s)(i.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,u=r&&"isReactWarning"in r&&r.isReactWarning;return u?e.ref:(u=(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(l));return"function"==typeof n||i.isPresent?r.cloneElement(l,{ref:s}):null};function a(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},34544:(e,t,n)=>{n.d(t,{hO:()=>l,sG:()=>a});var r=n(20107),u=n(25642),o=n(61837),i=n(20475),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,...u}=e,a=r?o.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(a,{...u,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function l(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}},46774:(e,t,n)=>{n.d(t,{c:()=>u});var r=n(20107);function u(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,n)=>{n.d(t,{i:()=>o});var r=n(20107),u=n(46774);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),a=(0,u.c)(t);return r.useEffect(()=>{i.current!==o&&(a(o),i.current=o)},[o,i,a]),n}({defaultProp:t,onChange:n}),a=void 0!==e,l=a?e:o,s=(0,u.c)(n);return[l,r.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&s(n)}else i(t)},[a,e,i,s])]}},54122:(e,t,n)=>{n.d(t,{N:()=>u});var r=n(20107),u=globalThis?.document?r.useLayoutEffect:()=>{}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/564-bce78b0f1af68d0a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/564-bce78b0f1af68d0a.js deleted file mode 100644 index b3c29bb..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/564-bce78b0f1af68d0a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[564],{50564:(e,t,n)=>{n.d(t,{UC:()=>M,VY:()=>k,ZD:()=>U,ZL:()=>_,bL:()=>E,hE:()=>L,hJ:()=>F,l9:()=>T,rc:()=>P});var r=n(20107),o=n(45170),a=n(64236),i=n(60241),l=n(94521),s=n(61837),u=n(20475),d="AlertDialog",[c,f]=(0,o.A)(d,[i.Hs]),p=(0,i.Hs)(),m=e=>{let{__scopeAlertDialog:t,...n}=e,r=p(t);return(0,u.jsx)(i.bL,{...r,...n,modal:!0})};m.displayName=d;var g=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,u.jsx)(i.l9,{...o,...r,ref:t})});g.displayName="AlertDialogTrigger";var v=e=>{let{__scopeAlertDialog:t,...n}=e,r=p(t);return(0,u.jsx)(i.ZL,{...r,...n})};v.displayName="AlertDialogPortal";var y=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,u.jsx)(i.hJ,{...o,...r,ref:t})});y.displayName="AlertDialogOverlay";var N="AlertDialogContent",[h,D]=c(N),b=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,children:o,...d}=e,c=p(n),f=r.useRef(null),m=(0,a.s)(t,f),g=r.useRef(null);return(0,u.jsx)(i.G$,{contentName:N,titleName:x,docsSlug:"alert-dialog",children:(0,u.jsx)(h,{scope:n,cancelRef:g,children:(0,u.jsxs)(i.UC,{role:"alertdialog",...c,...d,ref:m,onOpenAutoFocus:(0,l.m)(d.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=g.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,u.jsx)(s.xV,{children:o}),(0,u.jsx)(I,{contentRef:f})]})})})});b.displayName=N;var x="AlertDialogTitle",w=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,u.jsx)(i.hE,{...o,...r,ref:t})});w.displayName=x;var R="AlertDialogDescription",j=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,u.jsx)(i.VY,{...o,...r,ref:t})});j.displayName=R;var O=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=p(n);return(0,u.jsx)(i.bm,{...o,...r,ref:t})});O.displayName="AlertDialogAction";var A="AlertDialogCancel",C=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=D(A,n),l=p(n),s=(0,a.s)(t,o);return(0,u.jsx)(i.bm,{...l,...r,ref:s})});C.displayName=A;var I=e=>{let{contentRef:t}=e,n="`".concat(N,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(N,"` by passing a `").concat(R,"` 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(N,"`. 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 r.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(n)},[n,t]),null},E=m,T=g,_=v,F=y,M=b,P=O,U=C,L=w,k=j},60241:(e,t,n)=>{n.d(t,{G$:()=>Y,Hs:()=>b,UC:()=>et,VY:()=>er,ZL:()=>Q,bL:()=>X,bm:()=>eo,hE:()=>en,hJ:()=>ee,l9:()=>z});var r=n(20107),o=n(94521),a=n(64236),i=n(45170),l=n(72763),s=n(13061),u=n(55302),d=n(38573),c=n(41913),f=n(54245),p=n(34544),m=n(10201),g=n(9543),v=n(58020),y=n(61837),N=n(20475),h="Dialog",[D,b]=(0,i.A)(h),[x,w]=D(h),R=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:u=!0}=e,d=r.useRef(null),c=r.useRef(null),[f=!1,p]=(0,s.i)({prop:o,defaultProp:a,onChange:i});return(0,N.jsx)(x,{scope:t,triggerRef:d,contentRef:c,contentId:(0,l.B)(),titleId:(0,l.B)(),descriptionId:(0,l.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:u,children:n})};R.displayName=h;var j="DialogTrigger",O=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=w(j,n),l=(0,a.s)(t,i.triggerRef);return(0,N.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":q(i.open),...r,ref:l,onClick:(0,o.m)(e.onClick,i.onOpenToggle)})});O.displayName=j;var A="DialogPortal",[C,I]=D(A,{forceMount:void 0}),E=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:a}=e,i=w(A,t);return(0,N.jsx)(C,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,N.jsx)(f.C,{present:n||i.open,children:(0,N.jsx)(c.Z,{asChild:!0,container:a,children:e})}))})};E.displayName=A;var T="DialogOverlay",_=r.forwardRef((e,t)=>{let n=I(T,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=w(T,e.__scopeDialog);return a.modal?(0,N.jsx)(f.C,{present:r||a.open,children:(0,N.jsx)(F,{...o,ref:t})}):null});_.displayName=T;var F=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(T,n);return(0,N.jsx)(g.A,{as:y.DX,allowPinchZoom:!0,shards:[o.contentRef],children:(0,N.jsx)(p.sG.div,{"data-state":q(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),M="DialogContent",P=r.forwardRef((e,t)=>{let n=I(M,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=w(M,e.__scopeDialog);return(0,N.jsx)(f.C,{present:r||a.open,children:a.modal?(0,N.jsx)(U,{...o,ref:t}):(0,N.jsx)(L,{...o,ref:t})})});P.displayName=M;var U=r.forwardRef((e,t)=>{let n=w(M,e.__scopeDialog),i=r.useRef(null),l=(0,a.s)(t,n.contentRef,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,v.Eq)(e)},[]),(0,N.jsx)(k,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.m)(e.onFocusOutside,e=>e.preventDefault())})}),L=r.forwardRef((e,t)=>{let n=w(M,e.__scopeDialog),o=r.useRef(!1),a=r.useRef(!1);return(0,N.jsx)(k,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{var r,i;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let l=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),k=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,...s}=e,c=w(M,n),f=r.useRef(null),p=(0,a.s)(t,f);return(0,m.Oh)(),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(d.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:l,children:(0,N.jsx)(u.qW,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":q(c.open),...s,ref:p,onDismiss:()=>c.onOpenChange(!1)})}),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)($,{titleId:c.titleId}),(0,N.jsx)(K,{contentRef:f,descriptionId:c.descriptionId})]})]})}),S="DialogTitle",W=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(S,n);return(0,N.jsx)(p.sG.h2,{id:o.titleId,...r,ref:t})});W.displayName=S;var G="DialogDescription",B=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=w(G,n);return(0,N.jsx)(p.sG.p,{id:o.descriptionId,...r,ref:t})});B.displayName=G;var V="DialogClose",Z=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=w(V,n);return(0,N.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,o.m)(e.onClick,()=>a.onOpenChange(!1))})});function q(e){return e?"open":"closed"}Z.displayName=V;var H="DialogTitleWarning",[Y,J]=(0,i.q)(H,{contentName:M,titleName:S,docsSlug:"dialog"}),$=e=>{let{titleId:t}=e,n=J(H),o="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&!document.getElementById(t)&&console.error(o)},[o,t]),null},K=e=>{let{contentRef:t,descriptionId:n}=e,o=J("DialogDescriptionWarning"),a="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(a)},[a,t,n]),null},X=R,z=O,Q=E,ee=_,et=P,en=W,er=B,eo=Z},54245:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(20107),o=n(64236),a=n(54122),i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[o,i]=r.useState(),s=r.useRef({}),u=r.useRef(e),d=r.useRef("none"),[c,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(s.current);d.current="mounted"===c?e:"none"},[c]),(0,a.N)(()=>{let t=s.current,n=u.current;if(n!==e){let r=d.current,o=l(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,a.N)(()=>{if(o){var e;let t;let n=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(s.current).includes(e.animationName);if(e.target===o&&r&&(f("ANIMATION_END"),!u.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},a=e=>{e.target===o&&(d.current=l(s.current))};return o.addEventListener("animationstart",a),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",a),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{e&&(s.current=getComputedStyle(e)),i(e)},[])}}(t),s="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),u=(0,o.s)(i.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(s));return"function"==typeof n||i.isPresent?r.cloneElement(s,{ref:u}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5668-55d6f43ee8c71ac2.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5668-55d6f43ee8c71ac2.js deleted file mode 100644 index 1829b75..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5668-55d6f43ee8c71ac2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5668],{76076:(e,r,a)=>{a.d(r,{A:()=>t});let t=(0,a(39997).A)("FileUp",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]])},59166:(e,r,a)=>{a.d(r,{A:()=>t});let t=(0,a(39997).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},27720:(e,r,a)=>{a.d(r,{A:()=>t});let t=(0,a(39997).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},28702:(e,r,a)=>{a.d(r,{UC:()=>ei,Y9:()=>en,q7:()=>et,bL:()=>ea,l9:()=>eo});var t=a(20107),n=a(45170),o=a(32474),i=a(64236),l=a(94521),d=a(13061),s=a(34544),c=a(54122),u=a(54245),p=a(72763),f=a(20475),v="Collapsible",[h,m]=(0,n.A)(v),[x,b]=h(v),g=t.forwardRef((e,r)=>{let{__scopeCollapsible:a,open:n,defaultOpen:o,disabled:i,onOpenChange:l,...c}=e,[u=!1,v]=(0,d.i)({prop:n,defaultProp:o,onChange:l});return(0,f.jsx)(x,{scope:a,disabled:i,contentId:(0,p.B)(),open:u,onOpenToggle:t.useCallback(()=>v(e=>!e),[v]),children:(0,f.jsx)(s.sG.div,{"data-state":k(u),"data-disabled":i?"":void 0,...c,ref:r})})});g.displayName=v;var y="CollapsibleTrigger",w=t.forwardRef((e,r)=>{let{__scopeCollapsible:a,...t}=e,n=b(y,a);return(0,f.jsx)(s.sG.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":k(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...t,ref:r,onClick:(0,l.m)(e.onClick,n.onOpenToggle)})});w.displayName=y;var j="CollapsibleContent",A=t.forwardRef((e,r)=>{let{forceMount:a,...t}=e,n=b(j,e.__scopeCollapsible);return(0,f.jsx)(u.C,{present:a||n.open,children:e=>{let{present:a}=e;return(0,f.jsx)(C,{...t,ref:r,present:a})}})});A.displayName=j;var C=t.forwardRef((e,r)=>{let{__scopeCollapsible:a,present:n,children:o,...l}=e,d=b(j,a),[u,p]=t.useState(n),v=t.useRef(null),h=(0,i.s)(r,v),m=t.useRef(0),x=m.current,g=t.useRef(0),y=g.current,w=d.open||u,A=t.useRef(w),C=t.useRef();return t.useEffect(()=>{let e=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.N)(()=>{let e=v.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let r=e.getBoundingClientRect();m.current=r.height,g.current=r.width,A.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),p(n)}},[d.open,n]),(0,f.jsx)(s.sG.div,{"data-state":k(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!w,...l,ref:h,style:{"--radix-collapsible-content-height":x?"".concat(x,"px"):void 0,"--radix-collapsible-content-width":y?"".concat(y,"px"):void 0,...e.style},children:w&&o})});function k(e){return e?"open":"closed"}var N=a(76056),R="Accordion",I=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[_,D,P]=(0,o.N)(R),[G,O]=(0,n.A)(R,[P,m]),q=m(),E=t.forwardRef((e,r)=>{let{type:a,...t}=e;return(0,f.jsx)(_.Provider,{scope:e.__scopeAccordion,children:"multiple"===a?(0,f.jsx)(S,{...t,ref:r}):(0,f.jsx)(z,{...t,ref:r})})});E.displayName=R;var[H,L]=G(R),[M,T]=G(R,{collapsible:!1}),z=t.forwardRef((e,r)=>{let{value:a,defaultValue:n,onValueChange:o=()=>{},collapsible:i=!1,...l}=e,[s,c]=(0,d.i)({prop:a,defaultProp:n,onChange:o});return(0,f.jsx)(H,{scope:e.__scopeAccordion,value:s?[s]:[],onItemOpen:c,onItemClose:t.useCallback(()=>i&&c(""),[i,c]),children:(0,f.jsx)(M,{scope:e.__scopeAccordion,collapsible:i,children:(0,f.jsx)(F,{...l,ref:r})})})}),S=t.forwardRef((e,r)=>{let{value:a,defaultValue:n,onValueChange:o=()=>{},...i}=e,[l=[],s]=(0,d.i)({prop:a,defaultProp:n,onChange:o}),c=t.useCallback(e=>s(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...r,e]}),[s]),u=t.useCallback(e=>s(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r.filter(r=>r!==e)}),[s]);return(0,f.jsx)(H,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:u,children:(0,f.jsx)(M,{scope:e.__scopeAccordion,collapsible:!0,children:(0,f.jsx)(F,{...i,ref:r})})})}),[U,B]=G(R),F=t.forwardRef((e,r)=>{let{__scopeAccordion:a,disabled:n,dir:o,orientation:d="vertical",...c}=e,u=t.useRef(null),p=(0,i.s)(u,r),v=D(a),h="ltr"===(0,N.jH)(o),m=(0,l.m)(e.onKeyDown,e=>{var r;if(!I.includes(e.key))return;let a=e.target,t=v().filter(e=>{var r;return!(null===(r=e.ref.current)||void 0===r?void 0:r.disabled)}),n=t.findIndex(e=>e.ref.current===a),o=t.length;if(-1===n)return;e.preventDefault();let i=n,l=o-1,s=()=>{(i=n+1)>l&&(i=0)},c=()=>{(i=n-1)<0&&(i=l)};switch(e.key){case"Home":i=0;break;case"End":i=l;break;case"ArrowRight":"horizontal"===d&&(h?s():c());break;case"ArrowDown":"vertical"===d&&s();break;case"ArrowLeft":"horizontal"===d&&(h?c():s());break;case"ArrowUp":"vertical"===d&&c()}null===(r=t[i%o].ref.current)||void 0===r||r.focus()});return(0,f.jsx)(U,{scope:a,disabled:n,direction:o,orientation:d,children:(0,f.jsx)(_.Slot,{scope:a,children:(0,f.jsx)(s.sG.div,{...c,"data-orientation":d,ref:p,onKeyDown:n?void 0:m})})})}),K="AccordionItem",[V,Y]=G(K),Z=t.forwardRef((e,r)=>{let{__scopeAccordion:a,value:t,...n}=e,o=B(K,a),i=L(K,a),l=q(a),d=(0,p.B)(),s=t&&i.value.includes(t)||!1,c=o.disabled||e.disabled;return(0,f.jsx)(V,{scope:a,open:s,disabled:c,triggerId:d,children:(0,f.jsx)(g,{"data-orientation":o.orientation,"data-state":er(s),...l,...n,ref:r,disabled:c,open:s,onOpenChange:e=>{e?i.onItemOpen(t):i.onItemClose(t)}})})});Z.displayName=K;var J="AccordionHeader",Q=t.forwardRef((e,r)=>{let{__scopeAccordion:a,...t}=e,n=B(R,a),o=Y(J,a);return(0,f.jsx)(s.sG.h3,{"data-orientation":n.orientation,"data-state":er(o.open),"data-disabled":o.disabled?"":void 0,...t,ref:r})});Q.displayName=J;var W="AccordionTrigger",X=t.forwardRef((e,r)=>{let{__scopeAccordion:a,...t}=e,n=B(R,a),o=Y(W,a),i=T(W,a),l=q(a);return(0,f.jsx)(_.ItemSlot,{scope:a,children:(0,f.jsx)(w,{"aria-disabled":o.open&&!i.collapsible||void 0,"data-orientation":n.orientation,id:o.triggerId,...l,...t,ref:r})})});X.displayName=W;var $="AccordionContent",ee=t.forwardRef((e,r)=>{let{__scopeAccordion:a,...t}=e,n=B(R,a),o=Y($,a),i=q(a);return(0,f.jsx)(A,{role:"region","aria-labelledby":o.triggerId,"data-orientation":n.orientation,...i,...t,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function er(e){return e?"open":"closed"}ee.displayName=$;var ea=E,et=Z,en=Q,eo=X,ei=ee},33466:(e,r,a)=>{a.d(r,{C1:()=>w,bL:()=>y});var t=a(20107),n=a(54379),o=a(34544),i=a(20475),l="Progress",[d,s]=(0,n.A)(l),[c,u]=d(l),p=t.forwardRef((e,r)=>{var a,t,n,l;let{__scopeProgress:d,value:s=null,max:u,getValueLabel:p=h,...f}=e;(u||0===u)&&!b(u)&&console.error((a="".concat(u),t="Progress","Invalid prop `max` of value `".concat(a,"` supplied to `").concat(t,"`. Only numbers greater than 0 are valid max values. Defaulting to `").concat(100,"`.")));let v=b(u)?u:100;null===s||g(s,v)||console.error((n="".concat(s),l="Progress","Invalid prop `value` of value `".concat(n,"` supplied to `").concat(l,"`. The `value` prop must be:\n - a positive number\n - less than the value passed to `max` (or ").concat(100," if no `max` prop is set)\n - `null` or `undefined` if the progress is indeterminate.\n\nDefaulting to `null`.")));let y=g(s,v)?s:null,w=x(y)?p(y,v):void 0;return(0,i.jsx)(c,{scope:d,value:y,max:v,children:(0,i.jsx)(o.sG.div,{"aria-valuemax":v,"aria-valuemin":0,"aria-valuenow":x(y)?y:void 0,"aria-valuetext":w,role:"progressbar","data-state":m(y,v),"data-value":null!=y?y:void 0,"data-max":v,...f,ref:r})})});p.displayName=l;var f="ProgressIndicator",v=t.forwardRef((e,r)=>{var a;let{__scopeProgress:t,...n}=e,l=u(f,t);return(0,i.jsx)(o.sG.div,{"data-state":m(l.value,l.max),"data-value":null!==(a=l.value)&&void 0!==a?a:void 0,"data-max":l.max,...n,ref:r})});function h(e,r){return"".concat(Math.round(e/r*100),"%")}function m(e,r){return null==e?"indeterminate":e===r?"complete":"loading"}function x(e){return"number"==typeof e}function b(e){return x(e)&&!isNaN(e)&&e>0}function g(e,r){return x(e)&&!isNaN(e)&&e<=r&&e>=0}v.displayName=f;var y=p,w=v}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6223-985db5887dec3c8a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6223-985db5887dec3c8a.js deleted file mode 100644 index 2ba5df2..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6223-985db5887dec3c8a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6223],{39997:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(20107);let a=e=>e.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 l={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,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:u,className:s="",children:d,iconNode:c,...f}=e;return(0,n.createElement)("svg",{ref:t,...l,width:a,height:a,stroke:r,strokeWidth:u?24*Number(i)/Number(a):i,className:o("lucide",s),...f},[...c.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),u=(e,t)=>{let r=(0,n.forwardRef)((r,l)=>{let{className:u,...s}=r;return(0,n.createElement)(i,{ref:l,iconNode:t,className:o("lucide-".concat(a(e)),u),...s})});return r.displayName="".concat(e),r}},26459:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("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"}]])},2609:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},44381:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]])},99015:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("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"}]])},76406:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("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"}]])},30058:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]])},10054:(e,t,r)=>{var n=r(20107),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useState,l=n.useEffect,i=n.useLayoutEffect,u=n.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),a=n[0].inst,d=n[1];return i(function(){a.value=r,a.getSnapshot=t,s(a)&&d({inst:a})},[e,r,t]),l(function(){return s(a)&&d({inst:a}),e(function(){s(a)&&d({inst:a})})},[e]),u(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:d},9755:(e,t,r)=>{e.exports=r(10054)},88601:(e,t,r)=>{r.d(t,{H4:()=>b,_V:()=>N,bL:()=>E});var n=r(20107),a=r(1068),o=r(65746),l=r(59320),i=r(26702),u=r(9755);function s(){return()=>{}}var d=r(20475),c="Avatar",[f,p]=(0,a.A)(c),[y,m]=f(c),h=n.forwardRef((e,t)=>{let{__scopeAvatar:r,...a}=e,[o,l]=n.useState("idle");return(0,d.jsx)(y,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:l,children:(0,d.jsx)(i.sG.span,{...a,ref:t})})});h.displayName=c;var v="AvatarImage",w=n.forwardRef((e,t)=>{let{__scopeAvatar:r,src:a,onLoadingStatusChange:c=()=>{},...f}=e,p=m(v,r),y=function(e,t){let{referrerPolicy:r,crossOrigin:a}=t,o=(0,u.useSyncExternalStore)(s,()=>!0,()=>!1),i=n.useRef(null),d=o?(i.current||(i.current=new window.Image),i.current):null,[c,f]=n.useState(()=>x(d,e));return(0,l.N)(()=>{f(x(d,e))},[d,e]),(0,l.N)(()=>{let e=e=>()=>{f(e)};if(!d)return;let t=e("loaded"),n=e("error");return d.addEventListener("load",t),d.addEventListener("error",n),r&&(d.referrerPolicy=r),"string"==typeof a&&(d.crossOrigin=a),()=>{d.removeEventListener("load",t),d.removeEventListener("error",n)}},[d,a,r]),c}(a,f),h=(0,o.c)(e=>{c(e),p.onImageLoadingStatusChange(e)});return(0,l.N)(()=>{"idle"!==y&&h(y)},[y,h]),"loaded"===y?(0,d.jsx)(i.sG.img,{...f,ref:t,src:a}):null});w.displayName=v;var g="AvatarFallback",k=n.forwardRef((e,t)=>{let{__scopeAvatar:r,delayMs:a,...o}=e,l=m(g,r),[u,s]=n.useState(void 0===a);return n.useEffect(()=>{if(void 0!==a){let e=window.setTimeout(()=>s(!0),a);return()=>window.clearTimeout(e)}},[a]),u&&"loaded"!==l.imageLoadingStatus?(0,d.jsx)(i.sG.span,{...o,ref:t}):null});function x(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}k.displayName=g;var E=h,N=w,b=k},19619:(e,t,r)=>{r.d(t,{s:()=>l,t:()=>o});var n=r(20107);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{r.d(t,{A:()=>o});var n=r(20107),a=r(20475);function o(e,t=[]){let r=[],l=()=>{let t=r.map(e=>n.createContext(e));return function(r){let a=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:a}}),[r,a])}};return l.scopeName=e,[function(t,o){let l=n.createContext(o),i=r.length;r=[...r,o];let u=t=>{let{scope:r,children:o,...u}=t,s=r?.[e]?.[i]||l,d=n.useMemo(()=>u,Object.values(u));return(0,a.jsx)(s.Provider,{value:d,children:o})};return u.displayName=t+"Provider",[u,function(r,a){let u=a?.[e]?.[i]||l,s=n.useContext(u);if(s)return s;if(void 0!==o)return o;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 a=r.reduce((t,{useScope:r,scopeName:n})=>{let a=r(e)[`__scope${n}`];return{...t,...a}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}(l,...t)]}},26702:(e,t,r)=>{r.d(t,{sG:()=>l});var n=r(20107);r(25642);var a=r(44505),o=r(20475),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,a.TL)(`Primitive.${t}`),l=n.forwardRef((e,n)=>{let{asChild:a,...l}=e,i=a?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i,{...l,ref:n})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{})},44505:(e,t,r)=>{r.d(t,{TL:()=>l});var n=r(20107),a=r(19619),o=r(20475);function l(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){let e,l;let i=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,u=function(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...e)=>{let t=o(...e);return a(...e),t}:a&&(r[n]=a):"style"===n?r[n]={...a,...o}:"className"===n&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(u.ref=t?(0,a.t)(t,i):i),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:a,...l}=e,i=n.Children.toArray(a),s=i.find(u);if(s){let e=s.props.children,a=i.map(t=>t!==s?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...l,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,a):null})}return(0,o.jsx)(t,{...l,ref:r,children:a})});return r.displayName=`${e}.Slot`,r}var i=Symbol("radix.slottable");function u(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}},65746:(e,t,r)=>{r.d(t,{c:()=>a});var n=r(20107);function a(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},59320:(e,t,r)=>{r.d(t,{N:()=>a});var n=r(20107),a=globalThis?.document?n.useLayoutEffect:()=>{}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6380-1df122c20870c723.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6380-1df122c20870c723.js new file mode 100644 index 0000000..79b5e8a --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6380-1df122c20870c723.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6380],{39997:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(20107);let l=e=>e.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 i=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:l=24,strokeWidth:i=2,absoluteStrokeWidth:u,className:c="",children:s,iconNode:f,...d}=e;return(0,n.createElement)("svg",{ref:t,...a,width:l,height:l,stroke:r,strokeWidth:u?24*Number(i)/Number(l):i,className:o("lucide",c),...d},[...f.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(s)?s:[s]])}),u=(e,t)=>{let r=(0,n.forwardRef)((r,a)=>{let{className:u,...c}=r;return(0,n.createElement)(i,{ref:a,iconNode:t,className:o("lucide-".concat(l(e)),u),...c})});return r.displayName="".concat(e),r}},98969:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},12607:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},94521:(e,t,r)=>{r.d(t,{m:()=>n});function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},21840:(e,t,r)=>{r.d(t,{b:()=>i});var n=r(20107),l=r(34544),o=r(20475),a=n.forwardRef((e,t)=>(0,o.jsx)(l.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var i=a},34544:(e,t,r)=>{r.d(t,{hO:()=>u,sG:()=>i});var n=r(20107),l=r(25642),o=r(61837),a=r(20475),i=["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,...l}=e,i=n?o.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i,{...l,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function u(e,t){e&&l.flushSync(()=>e.dispatchEvent(t))}},85692:(e,t,r)=>{r.d(t,{b:()=>c});var n=r(20107),l=r(94521),o=r(13061),a=r(34544),i=r(20475),u=n.forwardRef((e,t)=>{let{pressed:r,defaultPressed:n=!1,onPressedChange:u,...c}=e,[s=!1,f]=(0,o.i)({prop:r,onChange:u,defaultProp:n});return(0,i.jsx)(a.sG.button,{type:"button","aria-pressed":s,"data-state":s?"on":"off","data-disabled":e.disabled?"":void 0,...c,ref:t,onClick:(0,l.m)(e.onClick,()=>{e.disabled||f(!s)})})});u.displayName="Toggle";var c=u},46774:(e,t,r)=>{r.d(t,{c:()=>l});var n=r(20107);function l(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,r)=>{r.d(t,{i:()=>o});var n=r(20107),l=r(46774);function o({prop:e,defaultProp:t,onChange:r=()=>{}}){let[o,a]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[o]=r,a=n.useRef(o),i=(0,l.c)(t);return n.useEffect(()=>{a.current!==o&&(i(o),a.current=o)},[o,a,i]),r}({defaultProp:t,onChange:r}),i=void 0!==e,u=i?e:o,c=(0,l.c)(r);return[u,n.useCallback(t=>{if(i){let r="function"==typeof t?t(e):t;r!==e&&c(r)}else a(t)},[i,e,a,c])]}},29395:(e,t,r)=>{r.d(t,{F:()=>o});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,l=function(){for(var e,t,r=0,n="";rr=>{var o;if((null==t?void 0:t.variants)==null)return l(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:i}=t,u=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],l=null==i?void 0:i[e];if(null===t)return null;let o=n(t)||n(l);return a[e][o]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return l(e,u,null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:r,className:n,...l}=t;return Object.entries(l).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...c}[t]):({...i,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},45930:(e,t,r)=>{r.d(t,{k5:()=>s});var n=r(20107),l={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=n.createContext&&n.createContext(l),a=["attr","size","title"];function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement(f,i({attr:c({},e.attr)},t),function e(t){return t&&t.map((t,r)=>n.createElement(t.tag,c({key:r},t.attr),e(t.child)))}(e.child))}function f(e){var t=t=>{var r,{attr:l,size:o,title:u}=e,s=function(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,a),f=o||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,l,s,{className:r,style:c(c({color:e.color||t.color},t.style),e.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),u&&n.createElement("title",null,u),e.children)};return void 0!==o?n.createElement(o.Consumer,null,e=>t(e)):t(l)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6592-2fbbabf10d7fd40e.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6592-2fbbabf10d7fd40e.js new file mode 100644 index 0000000..f8baf5f --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6592-2fbbabf10d7fd40e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6592],{76592:(e,t,a)=>{a.r(t),a.d(t,{default:()=>j});var s=a(20475),r=a(20107),l=a(72167),n=a(35601),o=a(97818),i=a(32857),d=a(42541),c=a(49153),u=a(36760),m=a(76554),h=a(114),p=a(88926),f=a(44381);let x=(0,a(39997).A)("EthernetPort",[["path",{d:"m15 20 3-3h2a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h2l3 3z",key:"rbahqx"}],["path",{d:"M6 8v1",key:"1636ez"}],["path",{d:"M10 8v1",key:"1talb4"}],["path",{d:"M14 8v1",key:"1rsfgr"}],["path",{d:"M18 8v1",key:"gnkwox"}]]),g=e=>{if("Unknown!"===e)return"-";let t=e.match(/(\d+)/);if(!t)return e;let a=parseInt(t[1],10);return a>=1e3?"".concat(a/1e3).concat((e.includes("Gb"),"Gb/s")):"".concat(a).concat((e.includes("Mb"),"Mb/s"))},v=()=>{let[e,t]=(0,r.useState)({link_status:"Loading...",link_speed:"Loading...",auto_negotiation:"Loading..."}),[a,n]=(0,r.useState)(!0),[o,i]=(0,r.useState)(null);return((0,r.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_hw_details.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)throw Error("Network response was not ok");let a=await e.json();t(a),n(!1)}catch(e){i("Failed to fetch Ethernet information"),n(!1)}})()},[]),o)?(0,s.jsxs)(l.Zp,{children:[(0,s.jsx)(l.aR,{children:(0,s.jsx)(l.ZB,{children:"Ethernet Information"})}),(0,s.jsx)(l.Wu,{className:"flex items-center justify-center",children:(0,s.jsx)("div",{className:"text-red-500",children:o})})]}):(0,s.jsxs)(l.Zp,{children:[(0,s.jsxs)(l.aR,{children:[(0,s.jsx)(l.ZB,{children:"Ethernet Information"}),(0,s.jsx)(l.BT,{children:"Shows the status of the Ethernet connection and its speed."})]}),(0,s.jsx)(l.Wu,{children:(0,s.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-1 grid-flow-row gap-4 place-items-center",children:[(0,s.jsx)("div",{className:"flex justify-center items-center rounded-full bg-gray-100 dark:bg-gray-800 w-36 h-36 lg:p-6 p-4",children:"yes"===e.link_status?(0,s.jsx)(x,{className:"size-full text-emerald-500 animate-pulse"}):(0,s.jsx)(x,{className:"size-full text-red-500 animate-pulse"})}),(0,s.jsxs)("div",{className:"flex flex-row items-start justify-between gap-x-2 w-full lg:col-span-2 col-span-1 lg:px-4 px-1",children:[(0,s.jsxs)("div",{className:"grid gap-1",children:[(0,s.jsx)("span",{className:"text-sm text-muted-foreground",children:"Link Status"}),(0,s.jsx)("span",{className:"text-base font-bold",children:a?(0,s.jsx)(u.E,{className:"h-8 w-full"}):"yes"===e.link_status?"Active":"Inactive"})]}),(0,s.jsxs)("div",{className:"grid gap-1",children:[(0,s.jsx)("span",{className:"text-sm text-muted-foreground",children:"Link Speed"}),(0,s.jsx)("span",{className:"text-base font-bold",children:a?(0,s.jsx)(u.E,{className:"h-8 w-full"}):g(e.link_speed)})]}),(0,s.jsxs)("div",{className:"grid gap-1",children:[(0,s.jsx)("span",{className:"text-sm text-muted-foreground",children:"Auto-negotiation"}),(0,s.jsx)("span",{className:"text-base font-bold",children:a?(0,s.jsx)(u.E,{className:"h-8 w-full"}):"on"===e.auto_negotiation?"Active":"Inactive"})]})]})]})})]})},j=()=>{let{toast:e}=(0,i.dj)(),[t,a]=(0,r.useState)(!0),[x,g]=(0,r.useState)([]),[j,b]=(0,r.useState)(!1),[y,N]=(0,r.useState)(""),[w,P]=(0,r.useState)({passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null}),[A,S]=(0,r.useState)({passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null}),D={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"'}},E=e=>{let t={passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null};return e.forEach(e=>{let{response:a}=e;if(a.includes("MPDN_rule")){let e=a.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(a.includes("usbnet")){let e=a.match(/usbnet",(\d)/);e&&(t.modemProtocol=({0:"rmnet",1:"ecm",2:"mbim",3:"rndis"})[e[1]])}a.includes("DHCPV4DNS")&&(a.includes('"enable"')?t.dnsProxy="enabled":a.includes('"disable"')&&(t.dnsProxy="disabled"))}),t},T=()=>{let e=[],t=Object.entries(A).reduce((e,t)=>{let[a,s]=t;return s!==w[a]&&(e[a]=s),e},{});if("passthrough"in t){if("disabled"===t.passthrough)e.push(D.passthrough.disabled.replace(";+QPOWD=1",""));else if(t.passthrough){let e=D.passthrough[t.passthrough](A.selectedMac);return"AT".concat(e.replace(";+QPOWD=1",""))}}if("modemProtocol"in t&&t.modemProtocol){let a=D.modemProtocol[t.modemProtocol];if(1===Object.keys(t).length)return"AT".concat(a.replace(";+QPOWD=1",""));e.push(a.replace(";+QPOWD=1",""))}if("dnsProxy"in t&&t.dnsProxy){let a=D.dnsProxy[t.dnsProxy];if(1===Object.keys(t).length)return"AT".concat(a);e.push(a)}return e.length>0?"AT".concat(e.join(";")):""},R=async()=>{try{var t,a;let s=await (0,p.a)("AT+QPOWD=1",!0);if((null===(t=s.response)||void 0===t?void 0:t.status)==="success")e({title:"Success",description:"Settings saved and device is rebooting..."}),setTimeout(()=>{window.location.reload()},9e4);else throw Error((null===(a=s.response)||void 0===a?void 0:a.raw_output)||"Failed to reboot device")}catch(t){e({variant:"destructive",title:"Error",description:"Failed to reboot device",action:(0,s.jsx)(h.A,{})})}},M=async()=>{try{let e=T();N(e),b(!0)}catch(t){e({variant:"destructive",title:"Error",description:"Failed to prepare settings",action:(0,s.jsx)(h.A,{})})}},C=async()=>{try{var t,a;let e=await (0,p.a)(y,!0);if((null===(t=e.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(a=e.response)||void 0===a?void 0:a.raw_output)||"Command execution failed");P({...A}),await R()}catch(t){e({variant:"destructive",title:"Error",description:"Failed to save settings",action:(0,s.jsx)(h.A,{})})}};return(0,r.useEffect)(()=>{(async()=>{try{let[e,t]=await Promise.all([fetch("/cgi-bin/quecmanager/advance/fetch_macs.sh"),fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=4")]),[s,r]=await Promise.all([e.json(),t.json()]);g(s);let l=E(r);P(l),S(l),a(!1)}catch(t){a(!1),e({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Failed to fetch connectivity settings",action:(0,s.jsx)(h.A,{})})}})()},[]),(0,s.jsxs)("div",{className:"grid gap-4",children:[(0,s.jsxs)(l.Zp,{children:[(0,s.jsxs)(l.aR,{children:[(0,s.jsx)(l.ZB,{children:"Connectivity Settings"}),(0,s.jsx)(l.BT,{children:"Configure your device's connectivity settings."})]}),(0,s.jsx)(l.Wu,{children:(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 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)(c.J,{htmlFor:"passthrough",children:"IP Passthrough Mode"}),t?(0,s.jsx)(u.E,{className:"w-full h-8"}):(0,s.jsxs)(n.l6,{onValueChange:e=>S(t=>({...t,passthrough:e})),value:A.passthrough||void 0,children:[(0,s.jsx)(n.bq,{children:(0,s.jsx)(n.yv,{placeholder:"Select IP Passthrough Mode"})}),(0,s.jsx)(n.gC,{children:(0,s.jsxs)(n.s3,{children:[(0,s.jsx)(n.TR,{children:"Passthrough Mode"}),(0,s.jsx)(n.eb,{value:"disabled",children:"Disabled"}),(0,s.jsx)(n.eb,{value:"ETH",children:"ETH Passthrough Enabled"}),(0,s.jsx)(n.eb,{value:"USB",children:"USB Passthrough Enabled"})]})})]})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"mac",children:"Connected MAC"}),t?(0,s.jsx)(u.E,{className:"w-full h-8"}):(0,s.jsxs)(n.l6,{onValueChange:e=>S(t=>({...t,selectedMac:e})),value:A.selectedMac||void 0,disabled:!A.passthrough||"disabled"===A.passthrough,children:[(0,s.jsx)(n.bq,{children:(0,s.jsx)(n.yv,{placeholder:"Select Active MAC"})}),(0,s.jsx)(n.gC,{children:(0,s.jsxs)(n.s3,{children:[(0,s.jsx)(n.TR,{children:"Active MAC"}),x.map(e=>(0,s.jsx)(n.eb,{value:e.mac,children:"".concat(e.hostname," - ").concat(e.mac)},e.mac))]})})]})]}),(0,s.jsx)(m.Separator,{className:"lg:col-span-2 col-span-1 my-2"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"modemProtocol",children:"USB Modem Protocol"}),t?(0,s.jsx)(u.E,{className:"w-full h-8"}):(0,s.jsxs)(n.l6,{onValueChange:e=>S(t=>({...t,modemProtocol:e})),value:A.modemProtocol||void 0,children:[(0,s.jsx)(n.bq,{children:(0,s.jsx)(n.yv,{placeholder:"Select USB Modem Protocol"})}),(0,s.jsx)(n.gC,{children:(0,s.jsxs)(n.s3,{children:[(0,s.jsx)(n.TR,{children:"USB Modem Protocol"}),(0,s.jsx)(n.eb,{value:"rmnet",children:"RMNET"}),(0,s.jsx)(n.eb,{value:"ecm",children:"ECM (Recommended)"}),(0,s.jsx)(n.eb,{value:"mbim",children:"MBIM"}),(0,s.jsx)(n.eb,{value:"rndis",children:"RNDIS"})]})})]})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"dnsProxy",children:"Onboard DNS Proxy Mode"}),t?(0,s.jsx)(u.E,{className:"w-full h-8"}):(0,s.jsxs)(n.l6,{onValueChange:e=>S(t=>({...t,dnsProxy:e})),value:A.dnsProxy||void 0,children:[(0,s.jsx)(n.bq,{children:(0,s.jsx)(n.yv,{placeholder:"Select DNS Proxy Mode"})}),(0,s.jsx)(n.gC,{children:(0,s.jsxs)(n.s3,{children:[(0,s.jsx)(n.TR,{children:"DNS Proxy Mode"}),(0,s.jsx)(n.eb,{value:"enabled",children:"Enabled"}),(0,s.jsx)(n.eb,{value:"disabled",children:"Disabled (Recommended for Passthrough)"})]})})]})]})]})}),(0,s.jsx)(l.wL,{className:"grid border-t py-4",children:(0,s.jsx)(d.$,{onClick:M,disabled:!Object.entries(A).some(e=>{let[t,a]=e;return a!==w[t]})||!(!A.passthrough||"disabled"===A.passthrough||A.selectedMac),children:"Save"})})]}),(0,s.jsx)(v,{}),(0,s.jsx)(o.Lt,{open:j,onOpenChange:b,children:(0,s.jsxs)(o.EO,{children:[(0,s.jsxs)(o.wd,{children:[(0,s.jsx)(o.r7,{children:"Reboot Required"}),(0,s.jsx)(o.$v,{children:"The changes you made require a device reboot to take effect. Would you like to reboot now?"})]}),(0,s.jsxs)(o.ck,{children:[(0,s.jsx)(o.Zr,{children:"Later"}),(0,s.jsxs)(o.Rx,{onClick:C,children:[(0,s.jsx)(f.A,{className:"w-4 h-4"}),"Save & Reboot Now"]})]})]})})]})}},114:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(20475),r=a(42541),l=a(7197);let n=()=>(0,s.jsx)(r.$,{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)(l.ERf,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},97818:(e,t,a)=>{a.d(t,{$v:()=>x,EO:()=>m,Lt:()=>i,Rx:()=>g,Zr:()=>v,ck:()=>p,r7:()=>f,tv:()=>d,wd:()=>h});var s=a(20475),r=a(20107),l=a(50564),n=a(22250),o=a(42541);let i=l.bL,d=l.l9,c=l.ZL,u=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});u.displayName=l.hJ.displayName;let m=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsxs)(c,{children:[(0,s.jsx)(u,{}),(0,s.jsx)(l.UC,{ref:t,className:(0,n.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),...r})]})});m.displayName=l.UC.displayName;let h=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};h.displayName="AlertDialogHeader";let p=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};p.displayName="AlertDialogFooter";let f=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold",a),...r})});f.displayName=l.hE.displayName;let x=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",a),...r})});x.displayName=l.VY.displayName;let g=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l.rc,{ref:t,className:(0,n.cn)((0,o.r)(),a),...r})});g.displayName=l.rc.displayName;let v=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l.ZD,{ref:t,className:(0,n.cn)((0,o.r)({variant:"outline"}),"mt-2 sm:mt-0",a),...r})});v.displayName=l.ZD.displayName},42541:(e,t,a)=>{a.d(t,{$:()=>d,r:()=>i});var s=a(20475),r=a(20107),l=a(61837),n=a(29395),o=a(22250);let i=(0,n.F)("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=r.forwardRef((e,t)=>{let{className:a,variant:r,size:n,asChild:d=!1,...c}=e,u=d?l.DX:"button";return(0,s.jsx)(u,{className:(0,o.cn)(i({variant:r,size:n,className:a})),ref:t,...c})});d.displayName="Button"},72167:(e,t,a)=>{a.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>n,aR:()=>o,wL:()=>u});var s=a(20475),r=a(20107),l=a(22250);let n=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("rounded-xl border bg-card text-card-foreground shadow",a),...r})});n.displayName="Card";let o=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",a),...r})});o.displayName="CardHeader";let i=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("h3",{ref:t,className:(0,l.cn)("font-semibold leading-none tracking-tight",a),...r})});i.displayName="CardTitle";let d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("p",{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",a),...r})});d.displayName="CardDescription";let c=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("p-6 pt-0",a),...r})});c.displayName="CardContent";let u=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("flex items-center p-6 pt-0",a),...r})});u.displayName="CardFooter"},49153:(e,t,a)=>{a.d(t,{J:()=>d});var s=a(20475),r=a(20107),l=a(21840),n=a(29395),o=a(22250);let i=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l.b,{ref:t,className:(0,o.cn)(i(),a),...r})});d.displayName=l.b.displayName},35601:(e,t,a)=>{a.d(t,{TR:()=>f,bq:()=>u,eb:()=>x,gC:()=>p,l6:()=>i,s3:()=>d,yv:()=>c});var s=a(20475),r=a(20107),l=a(7197),n=a(95257),o=a(22250);let i=n.bL,d=n.YJ,c=n.WT,u=r.forwardRef((e,t)=>{let{className:a,children:r,...i}=e;return(0,s.jsxs)(n.l9,{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",a),...i,children:[r,(0,s.jsx)(n.In,{asChild:!0,children:(0,s.jsx)(l.TBE,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=n.l9.displayName;let m=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.PP,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",a),...r,children:(0,s.jsx)(l.Mtm,{})})});m.displayName=n.PP.displayName;let h=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.wn,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",a),...r,children:(0,s.jsx)(l.D3D,{})})});h.displayName=n.wn.displayName;let p=r.forwardRef((e,t)=>{let{className:a,children:r,position:l="popper",...i}=e;return(0,s.jsx)(n.ZL,{children:(0,s.jsxs)(n.UC,{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"===l&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:l,...i,children:[(0,s.jsx)(m,{}),(0,s.jsx)(n.LM,{className:(0,o.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r}),(0,s.jsx)(h,{})]})})});p.displayName=n.UC.displayName;let f=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.JU,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",a),...r})});f.displayName=n.JU.displayName;let x=r.forwardRef((e,t)=>{let{className:a,children:r,...i}=e;return(0,s.jsxs)(n.q7,{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",a),...i,children:[(0,s.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(n.VF,{children:(0,s.jsx)(l.Srz,{className:"h-4 w-4"})})}),(0,s.jsx)(n.p4,{children:r})]})});x.displayName=n.q7.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.wv,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",a),...r})}).displayName=n.wv.displayName},76554:(e,t,a)=>{a.d(t,{Separator:()=>o});var s=a(20475),r=a(20107),l=a(88853),n=a(22250);let o=r.forwardRef((e,t)=>{let{className:a,orientation:r="horizontal",decorative:o=!0,...i}=e;return(0,s.jsx)(l.b,{ref:t,decorative:o,orientation:r,className:(0,n.cn)("shrink-0 bg-border","horizontal"===r?"h-[1px] w-full":"h-full w-[1px]",a),...i})});o.displayName=l.b.displayName},36760:(e,t,a)=>{a.d(t,{E:()=>l});var s=a(20475),r=a(22250);function l(e){let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,r.cn)("animate-pulse rounded-md bg-primary/10",t),...a})}},32857:(e,t,a)=>{a.d(t,{dj:()=>m,oR:()=>u});var s=a(20107);let r=0,l=new Map,n=e=>{if(l.has(e))return;let t=setTimeout(()=>{l.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);l.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:a}=t;return a?n(a):e.toasts.forEach(e=>{n(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)}}},i=[],d={toasts:[]};function c(e){d=o(d,e),i.forEach(e=>{e(d)})}function u(e){let{...t}=e,a=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||s()}}}),{id:a,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function m(){let[e,t]=s.useState(d);return s.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})}}},22250:(e,t,a)=>{a.d(t,{cn:()=>l});var s=a(64901),r=a(868);function l(){for(var e=arguments.length,t=Array(e),a=0;a{a.d(t,{A:()=>s});let s=(0,a(39997).A)("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]])},88926:(e,t,a)=>{a.d(t,{a:()=>s});let s=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var s;let r=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),l=encodeURIComponent(r),n="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(l);t&&(n+="&wait=1&timeout=".concat(a));let o=await fetch(n,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*a+5e3)});if(!o.ok)throw Error("AT command failed with status: ".concat(o.status));let i=await o.json();if(i.error)throw Error("AT queue error: ".concat(i.error));if(t&&(null===(s=i.response)||void 0===s?void 0:s.status)==="timeout")throw Error("AT command timed out after ".concat(a," seconds"));return i}catch(e){throw console.error("AT Command error:",e),e}}},50564:(e,t,a)=>{a.d(t,{UC:()=>_,VY:()=>Q,ZD:()=>I,ZL:()=>C,bL:()=>R,hE:()=>F,hJ:()=>k,l9:()=>M,rc:()=>O});var s=a(20107),r=a(45170),l=a(64236),n=a(60241),o=a(94521),i=a(61837),d=a(20475),c="AlertDialog",[u,m]=(0,r.A)(c,[n.Hs]),h=(0,n.Hs)(),p=e=>{let{__scopeAlertDialog:t,...a}=e,s=h(t);return(0,d.jsx)(n.bL,{...s,...a,modal:!0})};p.displayName=c;var f=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,r=h(a);return(0,d.jsx)(n.l9,{...r,...s,ref:t})});f.displayName="AlertDialogTrigger";var x=e=>{let{__scopeAlertDialog:t,...a}=e,s=h(t);return(0,d.jsx)(n.ZL,{...s,...a})};x.displayName="AlertDialogPortal";var g=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,r=h(a);return(0,d.jsx)(n.hJ,{...r,...s,ref:t})});g.displayName="AlertDialogOverlay";var v="AlertDialogContent",[j,b]=u(v),y=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,children:r,...c}=e,u=h(a),m=s.useRef(null),p=(0,l.s)(t,m),f=s.useRef(null);return(0,d.jsx)(n.G$,{contentName:v,titleName:N,docsSlug:"alert-dialog",children:(0,d.jsx)(j,{scope:a,cancelRef:f,children:(0,d.jsxs)(n.UC,{role:"alertdialog",...u,...c,ref:p,onOpenAutoFocus:(0,o.m)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=f.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,d.jsx)(i.xV,{children:r}),(0,d.jsx)(T,{contentRef:m})]})})})});y.displayName=v;var N="AlertDialogTitle",w=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,r=h(a);return(0,d.jsx)(n.hE,{...r,...s,ref:t})});w.displayName=N;var P="AlertDialogDescription",A=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,r=h(a);return(0,d.jsx)(n.VY,{...r,...s,ref:t})});A.displayName=P;var S=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,r=h(a);return(0,d.jsx)(n.bm,{...r,...s,ref:t})});S.displayName="AlertDialogAction";var D="AlertDialogCancel",E=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,{cancelRef:r}=b(D,a),o=h(a),i=(0,l.s)(t,r);return(0,d.jsx)(n.bm,{...o,...s,ref:i})});E.displayName=D;var T=e=>{let{contentRef:t}=e,a="`".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(a)},[a,t]),null},R=p,M=f,C=x,k=g,_=y,O=S,I=E,F=w,Q=A},88853:(e,t,a)=>{a.d(t,{b:()=>d});var s=a(20107),r=a(34544),l=a(20475),n="horizontal",o=["horizontal","vertical"],i=s.forwardRef((e,t)=>{let{decorative:a,orientation:s=n,...i}=e,d=o.includes(s)?s:n;return(0,l.jsx)(r.sG.div,{"data-orientation":d,...a?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...i,ref:t})});i.displayName="Separator";var d=i}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6592-ed8803c28c183efa.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6592-ed8803c28c183efa.js deleted file mode 100644 index 68a691c..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6592-ed8803c28c183efa.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6592],{76592:(e,t,s)=>{s.r(t),s.d(t,{default:()=>v});var a=s(20475),r=s(20107),l=s(72167),n=s(35601),o=s(97818),d=s(32857),i=s(42541),c=s(49153),u=s(36760),m=s(76554),h=s(114),p=s(88926),f=s(44381);let x=(0,s(39997).A)("EthernetPort",[["path",{d:"m15 20 3-3h2a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h2l3 3z",key:"rbahqx"}],["path",{d:"M6 8v1",key:"1636ez"}],["path",{d:"M10 8v1",key:"1talb4"}],["path",{d:"M14 8v1",key:"1rsfgr"}],["path",{d:"M18 8v1",key:"gnkwox"}]]),g=e=>{if("Unknown!"===e)return"-";let t=e.match(/(\d+)/);if(!t)return e;let s=parseInt(t[1],10);return s>=1e3?"".concat(s/1e3).concat((e.includes("Gb"),"Gb/s")):"".concat(s).concat((e.includes("Mb"),"Mb/s"))},j=()=>{let[e,t]=(0,r.useState)({link_status:"Loading...",link_speed:"Loading...",auto_negotiation:"Loading..."}),[s,n]=(0,r.useState)(!0),[o,d]=(0,r.useState)(null);return((0,r.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_hw_details.sh?type=eth",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)throw Error("Network response was not ok");let s=await e.json();t(s),n(!1)}catch(e){d("Failed to fetch Ethernet information"),n(!1)}})()},[]),o)?(0,a.jsxs)(l.Zp,{children:[(0,a.jsx)(l.aR,{children:(0,a.jsx)(l.ZB,{children:"Ethernet Information"})}),(0,a.jsx)(l.Wu,{className:"flex items-center justify-center",children:(0,a.jsx)("div",{className:"text-red-500",children:o})})]}):(0,a.jsxs)(l.Zp,{children:[(0,a.jsxs)(l.aR,{children:[(0,a.jsx)(l.ZB,{children:"Ethernet Information"}),(0,a.jsx)(l.BT,{children:"Shows the status of the Ethernet connection and its speed."})]}),(0,a.jsx)(l.Wu,{children:(0,a.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-1 grid-flow-row gap-4 place-items-center",children:[(0,a.jsx)("div",{className:"flex justify-center items-center rounded-full bg-gray-100 dark:bg-gray-800 w-36 h-36 lg:p-6 p-4",children:"yes"===e.link_status?(0,a.jsx)(x,{className:"size-full text-emerald-500 animate-pulse"}):(0,a.jsx)(x,{className:"size-full text-red-500 animate-pulse"})}),(0,a.jsxs)("div",{className:"flex flex-row items-start justify-between gap-x-2 w-full lg:col-span-2 col-span-1 lg:px-4 px-1",children:[(0,a.jsxs)("div",{className:"grid gap-1",children:[(0,a.jsx)("span",{className:"text-sm text-muted-foreground",children:"Link Status"}),(0,a.jsx)("span",{className:"text-base font-bold",children:s?(0,a.jsx)(u.E,{className:"h-8 w-full"}):"yes"===e.link_status?"Active":"Inactive"})]}),(0,a.jsxs)("div",{className:"grid gap-1",children:[(0,a.jsx)("span",{className:"text-sm text-muted-foreground",children:"Link Speed"}),(0,a.jsx)("span",{className:"text-base font-bold",children:s?(0,a.jsx)(u.E,{className:"h-8 w-full"}):g(e.link_speed)})]}),(0,a.jsxs)("div",{className:"grid gap-1",children:[(0,a.jsx)("span",{className:"text-sm text-muted-foreground",children:"Auto-negotiation"}),(0,a.jsx)("span",{className:"text-base font-bold",children:s?(0,a.jsx)(u.E,{className:"h-8 w-full"}):"on"===e.auto_negotiation?"Active":"Inactive"})]})]})]})})]})},v=()=>{let{toast:e}=(0,d.dj)(),[t,s]=(0,r.useState)(!0),[x,g]=(0,r.useState)([]),[v,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(""),[N,P]=(0,r.useState)({passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null}),[S,A]=(0,r.useState)({passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null}),E={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"'}},T=e=>{let t={passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null};return e.forEach(e=>{let{response:s}=e;if(s.includes("MPDN_rule")){let e=s.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(s.includes("usbnet")){let e=s.match(/usbnet",(\d)/);e&&(t.modemProtocol=({0:"rmnet",1:"ecm",2:"mbim",3:"rndis"})[e[1]])}s.includes("DHCPV4DNS")&&(s.includes('"enable"')?t.dnsProxy="enabled":s.includes('"disable"')&&(t.dnsProxy="disabled"))}),t},M=()=>{let e=[],t=Object.entries(S).reduce((e,t)=>{let[s,a]=t;return a!==N[s]&&(e[s]=a),e},{});if("passthrough"in t){if("disabled"===t.passthrough)e.push(E.passthrough.disabled.replace(";+QPOWD=1",""));else if(t.passthrough){let e=E.passthrough[t.passthrough](S.selectedMac);return"AT".concat(e.replace(";+QPOWD=1",""))}}if("modemProtocol"in t&&t.modemProtocol){let s=E.modemProtocol[t.modemProtocol];if(1===Object.keys(t).length)return"AT".concat(s.replace(";+QPOWD=1",""));e.push(s.replace(";+QPOWD=1",""))}if("dnsProxy"in t&&t.dnsProxy){let s=E.dnsProxy[t.dnsProxy];if(1===Object.keys(t).length)return"AT".concat(s);e.push(s)}return e.length>0?"AT".concat(e.join(";")):""},D=async()=>{try{var t,s;let a=await (0,p.a)("AT+QPOWD=1",!0);if((null===(t=a.response)||void 0===t?void 0:t.status)==="success")e({title:"Success",description:"Settings saved and device is rebooting..."}),setTimeout(()=>{window.location.reload()},9e4);else throw Error((null===(s=a.response)||void 0===s?void 0:s.raw_output)||"Failed to reboot device")}catch(t){e({variant:"destructive",title:"Error",description:"Failed to reboot device",action:(0,a.jsx)(h.A,{})})}},C=async()=>{try{let e=M();w(e),b(!0)}catch(t){e({variant:"destructive",title:"Error",description:"Failed to prepare settings",action:(0,a.jsx)(h.A,{})})}},R=async()=>{try{var t,s;let e=await (0,p.a)(y,!0);if((null===(t=e.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(s=e.response)||void 0===s?void 0:s.raw_output)||"Command execution failed");P({...S}),await D()}catch(t){e({variant:"destructive",title:"Error",description:"Failed to save settings",action:(0,a.jsx)(h.A,{})})}};return(0,r.useEffect)(()=>{(async()=>{try{let[e,t]=await Promise.all([fetch("/cgi-bin/quecmanager/advance/fetch_macs.sh"),fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=4")]),[a,r]=await Promise.all([e.json(),t.json()]);g(a);let l=T(r);P(l),A(l),s(!1)}catch(t){s(!1),e({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Failed to fetch connectivity settings",action:(0,a.jsx)(h.A,{})})}})()},[]),(0,a.jsxs)("div",{className:"grid gap-4",children:[(0,a.jsxs)(l.Zp,{children:[(0,a.jsxs)(l.aR,{children:[(0,a.jsx)(l.ZB,{children:"Connectivity Settings"}),(0,a.jsx)(l.BT,{children:"Configure your device's connectivity settings."})]}),(0,a.jsx)(l.Wu,{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.J,{htmlFor:"passthrough",children:"IP Passthrough Mode"}),t?(0,a.jsx)(u.E,{className:"w-full h-8"}):(0,a.jsxs)(n.l6,{onValueChange:e=>A(t=>({...t,passthrough:e})),value:S.passthrough||void 0,children:[(0,a.jsx)(n.bq,{children:(0,a.jsx)(n.yv,{placeholder:"Select IP Passthrough Mode"})}),(0,a.jsx)(n.gC,{children:(0,a.jsxs)(n.s3,{children:[(0,a.jsx)(n.TR,{children:"Passthrough Mode"}),(0,a.jsx)(n.eb,{value:"disabled",children:"Disabled"}),(0,a.jsx)(n.eb,{value:"ETH",children:"ETH Passthrough Enabled"}),(0,a.jsx)(n.eb,{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.J,{htmlFor:"mac",children:"Connected MAC"}),t?(0,a.jsx)(u.E,{className:"w-full h-8"}):(0,a.jsxs)(n.l6,{onValueChange:e=>A(t=>({...t,selectedMac:e})),value:S.selectedMac||void 0,disabled:!S.passthrough||"disabled"===S.passthrough,children:[(0,a.jsx)(n.bq,{children:(0,a.jsx)(n.yv,{placeholder:"Select Active MAC"})}),(0,a.jsx)(n.gC,{children:(0,a.jsxs)(n.s3,{children:[(0,a.jsx)(n.TR,{children:"Active MAC"}),x.map(e=>(0,a.jsx)(n.eb,{value:e.mac,children:"".concat(e.hostname," - ").concat(e.mac)},e.mac))]})})]})]}),(0,a.jsx)(m.w,{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.J,{htmlFor:"modemProtocol",children:"USB Modem Protocol"}),t?(0,a.jsx)(u.E,{className:"w-full h-8"}):(0,a.jsxs)(n.l6,{onValueChange:e=>A(t=>({...t,modemProtocol:e})),value:S.modemProtocol||void 0,children:[(0,a.jsx)(n.bq,{children:(0,a.jsx)(n.yv,{placeholder:"Select USB Modem Protocol"})}),(0,a.jsx)(n.gC,{children:(0,a.jsxs)(n.s3,{children:[(0,a.jsx)(n.TR,{children:"USB Modem Protocol"}),(0,a.jsx)(n.eb,{value:"rmnet",children:"RMNET"}),(0,a.jsx)(n.eb,{value:"ecm",children:"ECM (Recommended)"}),(0,a.jsx)(n.eb,{value:"mbim",children:"MBIM"}),(0,a.jsx)(n.eb,{value:"rndis",children:"RNDIS"})]})})]})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c.J,{htmlFor:"dnsProxy",children:"Onboard DNS Proxy Mode"}),t?(0,a.jsx)(u.E,{className:"w-full h-8"}):(0,a.jsxs)(n.l6,{onValueChange:e=>A(t=>({...t,dnsProxy:e})),value:S.dnsProxy||void 0,children:[(0,a.jsx)(n.bq,{children:(0,a.jsx)(n.yv,{placeholder:"Select DNS Proxy Mode"})}),(0,a.jsx)(n.gC,{children:(0,a.jsxs)(n.s3,{children:[(0,a.jsx)(n.TR,{children:"DNS Proxy Mode"}),(0,a.jsx)(n.eb,{value:"enabled",children:"Enabled"}),(0,a.jsx)(n.eb,{value:"disabled",children:"Disabled (Recommended for Passthrough)"})]})})]})]})]})}),(0,a.jsx)(l.wL,{className:"grid border-t py-4",children:(0,a.jsx)(i.$,{onClick:C,disabled:!Object.entries(S).some(e=>{let[t,s]=e;return s!==N[t]})||!(!S.passthrough||"disabled"===S.passthrough||S.selectedMac),children:"Save"})})]}),(0,a.jsx)(j,{}),(0,a.jsx)(o.Lt,{open:v,onOpenChange:b,children:(0,a.jsxs)(o.EO,{children:[(0,a.jsxs)(o.wd,{children:[(0,a.jsx)(o.r7,{children:"Reboot Required"}),(0,a.jsx)(o.$v,{children:"The changes you made require a device reboot to take effect. Would you like to reboot now?"})]}),(0,a.jsxs)(o.ck,{children:[(0,a.jsx)(o.Zr,{children:"Later"}),(0,a.jsxs)(o.Rx,{onClick:R,children:[(0,a.jsx)(f.A,{className:"w-4 h-4"}),"Save & Reboot Now"]})]})]})})]})}},114:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(20475),r=s(42541),l=s(7197);let n=()=>(0,a.jsx)(r.$,{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)(l.ERf,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},97818:(e,t,s)=>{s.d(t,{$v:()=>x,EO:()=>m,Lt:()=>d,Rx:()=>g,Zr:()=>j,ck:()=>p,r7:()=>f,tv:()=>i,wd:()=>h});var a=s(20475),r=s(20107),l=s(50564),n=s(22250),o=s(42541);let d=l.bL,i=l.l9,c=l.ZL,u=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(l.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",s),...r,ref:t})});u.displayName=l.hJ.displayName;let m=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(u,{}),(0,a.jsx)(l.UC,{ref:t,className:(0,n.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",s),...r})]})});m.displayName=l.UC.displayName;let h=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...s})};h.displayName="AlertDialogHeader";let p=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...s})};p.displayName="AlertDialogFooter";let f=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(l.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold",s),...r})});f.displayName=l.hE.displayName;let x=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(l.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",s),...r})});x.displayName=l.VY.displayName;let g=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(l.rc,{ref:t,className:(0,n.cn)((0,o.r)(),s),...r})});g.displayName=l.rc.displayName;let j=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(l.ZD,{ref:t,className:(0,n.cn)((0,o.r)({variant:"outline"}),"mt-2 sm:mt-0",s),...r})});j.displayName=l.ZD.displayName},42541:(e,t,s)=>{s.d(t,{$:()=>i,r:()=>d});var a=s(20475),r=s(20107),l=s(61837),n=s(29395),o=s(22250);let d=(0,n.F)("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"}}),i=r.forwardRef((e,t)=>{let{className:s,variant:r,size:n,asChild:i=!1,...c}=e,u=i?l.DX:"button";return(0,a.jsx)(u,{className:(0,o.cn)(d({variant:r,size:n,className:s})),ref:t,...c})});i.displayName="Button"},72167:(e,t,s)=>{s.d(t,{BT:()=>i,Wu:()=>c,ZB:()=>d,Zp:()=>n,aR:()=>o,wL:()=>u});var a=s(20475),r=s(20107),l=s(22250);let n=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,l.cn)("rounded-xl border bg-card text-card-foreground shadow",s),...r})});n.displayName="Card";let o=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",s),...r})});o.displayName="CardHeader";let d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("h3",{ref:t,className:(0,l.cn)("font-semibold leading-none tracking-tight",s),...r})});d.displayName="CardTitle";let i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("p",{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",s),...r})});i.displayName="CardDescription";let c=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,l.cn)("p-6 pt-0",s),...r})});c.displayName="CardContent";let u=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,l.cn)("flex items-center p-6 pt-0",s),...r})});u.displayName="CardFooter"},49153:(e,t,s)=>{s.d(t,{J:()=>i});var a=s(20475),r=s(20107),l=s(21840),n=s(29395),o=s(22250);let d=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(l.b,{ref:t,className:(0,o.cn)(d(),s),...r})});i.displayName=l.b.displayName},35601:(e,t,s)=>{s.d(t,{TR:()=>f,bq:()=>u,eb:()=>x,gC:()=>p,l6:()=>d,s3:()=>i,yv:()=>c});var a=s(20475),r=s(20107),l=s(7197),n=s(95257),o=s(22250);let d=n.bL,i=n.YJ,c=n.WT,u=r.forwardRef((e,t)=>{let{className:s,children:r,...d}=e;return(0,a.jsxs)(n.l9,{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",s),...d,children:[r,(0,a.jsx)(n.In,{asChild:!0,children:(0,a.jsx)(l.TBE,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=n.l9.displayName;let m=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.PP,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",s),...r,children:(0,a.jsx)(l.Mtm,{})})});m.displayName=n.PP.displayName;let h=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.wn,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",s),...r,children:(0,a.jsx)(l.D3D,{})})});h.displayName=n.wn.displayName;let p=r.forwardRef((e,t)=>{let{className:s,children:r,position:l="popper",...d}=e;return(0,a.jsx)(n.ZL,{children:(0,a.jsxs)(n.UC,{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"===l&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",s),position:l,...d,children:[(0,a.jsx)(m,{}),(0,a.jsx)(n.LM,{className:(0,o.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r}),(0,a.jsx)(h,{})]})})});p.displayName=n.UC.displayName;let f=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.JU,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",s),...r})});f.displayName=n.JU.displayName;let x=r.forwardRef((e,t)=>{let{className:s,children:r,...d}=e;return(0,a.jsxs)(n.q7,{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",s),...d,children:[(0,a.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(n.VF,{children:(0,a.jsx)(l.Srz,{className:"h-4 w-4"})})}),(0,a.jsx)(n.p4,{children:r})]})});x.displayName=n.q7.displayName,r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.wv,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",s),...r})}).displayName=n.wv.displayName},76554:(e,t,s)=>{s.d(t,{w:()=>o});var a=s(20475),r=s(20107),l=s(88853),n=s(22250);let o=r.forwardRef((e,t)=>{let{className:s,orientation:r="horizontal",decorative:o=!0,...d}=e;return(0,a.jsx)(l.b,{ref:t,decorative:o,orientation:r,className:(0,n.cn)("shrink-0 bg-border","horizontal"===r?"h-[1px] w-full":"h-full w-[1px]",s),...d})});o.displayName=l.b.displayName},36760:(e,t,s)=>{s.d(t,{E:()=>l});var a=s(20475),r=s(22250);function l(e){let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,r.cn)("animate-pulse rounded-md bg-primary/10",t),...s})}},32857:(e,t,s)=>{s.d(t,{dj:()=>m,oR:()=>u});var a=s(20107);let r=0,l=new Map,n=e=>{if(l.has(e))return;let t=setTimeout(()=>{l.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);l.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:s}=t;return s?n(s):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...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=[],i={toasts:[]};function c(e){i=o(i,e),d.forEach(e=>{e(i)})}function u(e){let{...t}=e,s=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:s});return c({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||a()}}}),{id:s,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function m(){let[e,t]=a.useState(i);return a.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,s)=>{s.d(t,{cn:()=>l});var a=s(64901),r=s(868);function l(){for(var e=arguments.length,t=Array(e),s=0;s{s.d(t,{A:()=>a});let a=(0,s(39997).A)("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]])},88926:(e,t,s)=>{s.d(t,{a:()=>a});let a=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var a;let r=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),l=encodeURIComponent(r),n="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(l);t&&(n+="&wait=1&timeout=".concat(s));let o=await fetch(n,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*s+5e3)});if(!o.ok)throw Error("AT command failed with status: ".concat(o.status));let d=await o.json();if(d.error)throw Error("AT queue error: ".concat(d.error));if(t&&(null===(a=d.response)||void 0===a?void 0:a.status)==="timeout")throw Error("AT command timed out after ".concat(s," seconds"));return d}catch(e){throw console.error("AT Command error:",e),e}}},88853:(e,t,s)=>{s.d(t,{b:()=>i});var a=s(20107),r=s(34544),l=s(20475),n="horizontal",o=["horizontal","vertical"],d=a.forwardRef((e,t)=>{let{decorative:s,orientation:a=n,...d}=e,i=o.includes(a)?a:n;return(0,l.jsx)(r.sG.div,{"data-orientation":i,...s?{role:"none"}:{"aria-orientation":"vertical"===i?i:void 0,role:"separator"},...d,ref:t})});d.displayName="Separator";var i=d}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6820-652e25be0dbab81e.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6820-652e25be0dbab81e.js deleted file mode 100644 index 3ba7ed2..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/6820-652e25be0dbab81e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6820],{39997:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(20107);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var u={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 a=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:l="",children:c,iconNode:d,...f}=e;return(0,n.createElement)("svg",{ref:t,...u,width:o,height:o,stroke:r,strokeWidth:s?24*Number(a)/Number(o):a,className:i("lucide",l),...f},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),s=(e,t)=>{let r=(0,n.forwardRef)((r,u)=>{let{className:s,...l}=r;return(0,n.createElement)(a,{ref:u,iconNode:t,className:i("lucide-".concat(o(e)),s),...l})});return r.displayName="".concat(e),r}},29475:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},91994:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},94521:(e,t,r)=>{r.d(t,{m:()=>n});function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},32713:(e,t,r)=>{r.d(t,{C1:()=>M,bL:()=>x});var n=r(20107),o=r(64236),i=r(45170),u=r(94521),a=r(13061),s=r(65163),l=r(63620),c=r(54245),d=r(34544),f=r(20475),m="Checkbox",[p,v]=(0,i.A)(m),[h,y]=p(m),N=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:i,checked:s,defaultChecked:l,required:c,disabled:m,value:p="on",onCheckedChange:v,form:y,...N}=e,[w,b]=n.useState(null),x=(0,o.s)(t,e=>b(e)),M=n.useRef(!1),A=!w||y||!!w.closest("form"),[C=!1,O]=(0,a.i)({prop:s,defaultProp:l,onChange:v}),R=n.useRef(C);return n.useEffect(()=>{let e=null==w?void 0:w.form;if(e){let t=()=>O(R.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[w,O]),(0,f.jsxs)(h,{scope:r,state:C,disabled:m,children:[(0,f.jsx)(d.sG.button,{type:"button",role:"checkbox","aria-checked":g(C)?"mixed":C,"aria-required":c,"data-state":E(C),"data-disabled":m?"":void 0,disabled:m,value:p,...N,ref:x,onKeyDown:(0,u.m)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,u.m)(e.onClick,e=>{O(e=>!!g(e)||!e),A&&(M.current=e.isPropagationStopped(),M.current||e.stopPropagation())})}),A&&(0,f.jsx)(k,{control:w,bubbles:!M.current,name:i,value:p,checked:C,required:c,disabled:m,form:y,style:{transform:"translateX(-100%)"},defaultChecked:!g(l)&&l})]})});N.displayName=m;var w="CheckboxIndicator",b=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:n,...o}=e,i=y(w,r);return(0,f.jsx)(c.C,{present:n||g(i.state)||!0===i.state,children:(0,f.jsx)(d.sG.span,{"data-state":E(i.state),"data-disabled":i.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});b.displayName=w;var k=e=>{let{control:t,checked:r,bubbles:o=!0,defaultChecked:i,...u}=e,a=n.useRef(null),c=(0,s.Z)(r),d=(0,l.X)(t);n.useEffect(()=>{let e=a.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==r&&t){let n=new Event("click",{bubbles:o});e.indeterminate=g(r),t.call(e,!g(r)&&r),e.dispatchEvent(n)}},[c,r,o]);let m=n.useRef(!g(r)&&r);return(0,f.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=i?i:m.current,...u,tabIndex:-1,ref:a,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function g(e){return"indeterminate"===e}function E(e){return g(e)?"indeterminate":e?"checked":"unchecked"}var x=N,M=b},45170:(e,t,r)=>{r.d(t,{A:()=>u,q:()=>i});var n=r(20107),o=r(20475);function i(e,t){let r=n.createContext(t),i=e=>{let{children:t,...i}=e,u=n.useMemo(()=>i,Object.values(i));return(0,o.jsx)(r.Provider,{value:u,children:t})};return i.displayName=e+"Provider",[i,function(o){let i=n.useContext(r);if(i)return i;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function u(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(t,i){let u=n.createContext(i),a=r.length;r=[...r,i];let s=t=>{let{scope:r,children:i,...s}=t,l=r?.[e]?.[a]||u,c=n.useMemo(()=>s,Object.values(s));return(0,o.jsx)(l.Provider,{value:c,children:i})};return s.displayName=t+"Provider",[s,function(r,o){let s=o?.[e]?.[a]||u,l=n.useContext(s);if(l)return l;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 o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(i,...t)]}},54245:(e,t,r)=>{r.d(t,{C:()=>u});var n=r(20107),o=r(64236),i=r(54122),u=e=>{let{present:t,children:r}=e,u=function(e){var t,r;let[o,u]=n.useState(),s=n.useRef({}),l=n.useRef(e),c=n.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=a(s.current);c.current="mounted"===d?e:"none"},[d]),(0,i.N)(()=>{let t=s.current,r=l.current;if(r!==e){let n=c.current,o=a(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):r&&n!==o?f("ANIMATION_OUT"):f("UNMOUNT"),l.current=e}},[e,f]),(0,i.N)(()=>{if(o){var e;let t;let r=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,n=e=>{let n=a(s.current).includes(e.animationName);if(e.target===o&&n&&(f("ANIMATION_END"),!l.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(c.current=a(s.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{r.clearTimeout(t),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{e&&(s.current=getComputedStyle(e)),u(e)},[])}}(t),s="function"==typeof r?r({present:u.isPresent}):n.Children.only(r),l=(0,o.s)(u.ref,function(e){var t,r;let n=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?e.ref:(o=(n=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(s));return"function"==typeof r||u.isPresent?n.cloneElement(s,{ref:l}):null};function a(e){return(null==e?void 0:e.animationName)||"none"}u.displayName="Presence"},34544:(e,t,r)=>{r.d(t,{hO:()=>s,sG:()=>a});var n=r(20107),o=r(25642),i=r(61837),u=r(20475),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,...o}=e,a=n?i.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(a,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function s(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},46774:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(20107);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,r)=>{r.d(t,{i:()=>i});var n=r(20107),o=r(46774);function i({prop:e,defaultProp:t,onChange:r=()=>{}}){let[i,u]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[i]=r,u=n.useRef(i),a=(0,o.c)(t);return n.useEffect(()=>{u.current!==i&&(a(i),u.current=i)},[i,u,a]),r}({defaultProp:t,onChange:r}),a=void 0!==e,s=a?e:i,l=(0,o.c)(r);return[s,n.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&l(r)}else u(t)},[a,e,u,l])]}},54122:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(20107),o=globalThis?.document?n.useLayoutEffect:()=>{}},65163:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(20107);function o(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])}},63620:(e,t,r)=>{r.d(t,{X:()=>i});var n=r(20107),o=r(54122);function i(e){let[t,r]=n.useState(void 0);return(0,o.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;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,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/7510-b5c5a53e21a04c67.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/7510-b5c5a53e21a04c67.js deleted file mode 100644 index 66c5168..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/7510-b5c5a53e21a04c67.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7510],{59166:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},51873:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},76171:(e,t,n)=>{n.d(t,{A:()=>H});var r,o=function(){return(o=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}Object.create,Object.create;var i=("function"==typeof SuppressedError&&SuppressedError,n(20107)),l="right-scroll-bar-position",u="width-before-scroll-bar";function c(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var s="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,d=new WeakMap;function f(e){return e}var p=function(e){void 0===e&&(e={});var t,n,r,a=(void 0===t&&(t=f),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}});return a.options=o({async:!0,ssr:!1},e),a}(),v=function(){},m=i.forwardRef(function(e,t){var n,r,l,u,f=i.useRef(null),m=i.useState({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:v}),h=m[0],g=m[1],y=e.forwardProps,w=e.children,b=e.className,E=e.removeScrollBar,x=e.enabled,C=e.shards,N=e.sideCar,O=e.noIsolation,R=e.inert,P=e.allowPinchZoom,A=e.as,j=e.gapMode,D=a(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=(n=[f,t],r=function(e){return n.forEach(function(t){return c(t,e)})},(l=(0,i.useState)(function(){return{value:null,callback:r,facade:{get current(){return l.value},set current(value){var e=l.value;e!==value&&(l.value=value,l.callback(value,e))}}}})[0]).callback=r,u=l.facade,s(function(){var e=d.get(u);if(e){var t=new Set(e),r=new Set(n),o=u.current;t.forEach(function(e){r.has(e)||c(e,null)}),r.forEach(function(e){t.has(e)||c(e,o)})}d.set(u,n)},[n]),u),T=o(o({},D),h);return i.createElement(i.Fragment,null,x&&i.createElement(N,{sideCar:p,removeScrollBar:E,shards:C,noIsolation:O,inert:R,setCallbacks:g,allowPinchZoom:!!P,lockRef:f,gapMode:j}),y?i.cloneElement(i.Children.only(w),o(o({},T),{ref:S})):i.createElement(void 0===A?"div":A,o({},T,{className:b,ref:S}),w))});m.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},m.classNames={fullWidth:u,zeroRight:l};var h=function(e){var t=e.sideCar,n=a(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 i.createElement(r,o({},n))};h.isSideCarExport=!0;var g=n(91059),y=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=(0,g.m)();return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},w=function(){var e=y();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},b=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},E={left:0,top:0,right:0,gap:0},x=function(e){return parseInt(e||"",10)||0},C=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[x(n),x(r),x(o)]},N=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return E;var t=C(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])}},O=b(),R="data-scroll-locked",P=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(R,"] {\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(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(l," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(u," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(l," .").concat(l," {\n right: 0 ").concat(r,";\n }\n \n .").concat(u," .").concat(u," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(R,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},A=function(){var e=parseInt(document.body.getAttribute(R)||"0",10);return isFinite(e)?e:0},j=function(){i.useEffect(function(){return document.body.setAttribute(R,(A()+1).toString()),function(){var e=A()-1;e<=0?document.body.removeAttribute(R):document.body.setAttribute(R,e.toString())}},[])},D=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;j();var a=i.useMemo(function(){return N(o)},[o]);return i.createElement(O,{styles:P(a,!t,o,n?"":"!important")})},S=!1;if("undefined"!=typeof window)try{var T=Object.defineProperty({},"passive",{get:function(){return S=!0,!0}});window.addEventListener("test",T,T),window.removeEventListener("test",T,T)}catch(e){S=!1}var M=!!S&&{passive:!1},L=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])},I=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=F(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?L(t,"overflowY"):L(t,"overflowX")},F=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},_=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),l=i*r,u=n.target,c=t.contains(u),s=!1,d=l>0,f=0,p=0;do{var v=F(e,u),m=v[0],h=v[1]-v[2]-i*m;(m||h)&&k(e,u)&&(f+=h,p+=m),u instanceof ShadowRoot?u=u.host:u=u.parentNode}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return d&&(o&&1>Math.abs(f)||!o&&l>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(s=!0),s},W=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},U=function(e){return[e.deltaX,e.deltaY]},B=function(e){return e&&"current"in e?e.current:e},G=0,X=[];let z=(r=function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(G++)[0],a=i.useState(b)[0],l=i.useRef(e);i.useEffect(function(){l.current=e},[e]),i.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(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=I(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=I(d,s)),!f)return!1;if(!r.current&&"changedTouches"in e&&(u||c)&&(r.current=o),!o)return!0;var p=r.current||o;return _(p,t,e,"h"===p?u:c,!0)},[]),c=i.useCallback(function(e){if(X.length&&X[X.length-1]===a){var n="deltaY"in e?U(e):W(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=(l.current.shards||[]).map(B).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=i.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=i.useCallback(function(e){n.current=W(e),r.current=void 0},[]),f=i.useCallback(function(t){s(t.type,U(t),t.target,u(t,e.lockRef.current))},[]),p=i.useCallback(function(t){s(t.type,W(t),t.target,u(t,e.lockRef.current))},[]);i.useEffect(function(){return X.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,M),document.addEventListener("touchmove",c,M),document.addEventListener("touchstart",d,M),function(){X=X.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,M),document.removeEventListener("touchmove",c,M),document.removeEventListener("touchstart",d,M)}},[]);var v=e.removeScrollBar,m=e.inert;return i.createElement(i.Fragment,null,m?i.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?i.createElement(D,{gapMode:e.gapMode}):null)},p.useMedium(r),h);var Y=i.forwardRef(function(e,t){return i.createElement(m,o({},e,{ref:t,sideCar:z}))});Y.classNames=m.classNames;let H=Y},75456:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},72706:(e,t,n)=>{n.d(t,{s:()=>i,t:()=>a});var r=n(20107);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t{n.d(t,{G$:()=>Z,Hs:()=>E,UC:()=>et,VY:()=>er,ZL:()=>Q,bL:()=>$,bm:()=>eo,hE:()=>en,hJ:()=>ee,l9:()=>J});var r=n(20107),o=n(94521),a=n(64236),i=n(45170),l=n(72763),u=n(13061),c=n(55302),s=n(38573),d=n(41913),f=n(54245),p=n(34544),v=n(10201),m=n(9543),h=n(58020),g=n(61837),y=n(20475),w="Dialog",[b,E]=(0,i.A)(w),[x,C]=b(w),N=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:c=!0}=e,s=r.useRef(null),d=r.useRef(null),[f=!1,p]=(0,u.i)({prop:o,defaultProp:a,onChange:i});return(0,y.jsx)(x,{scope:t,triggerRef:s,contentRef:d,contentId:(0,l.B)(),titleId:(0,l.B)(),descriptionId:(0,l.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:c,children:n})};N.displayName=w;var O="DialogTrigger",R=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=C(O,n),l=(0,a.s)(t,i.triggerRef);return(0,y.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Y(i.open),...r,ref:l,onClick:(0,o.m)(e.onClick,i.onOpenToggle)})});R.displayName=O;var P="DialogPortal",[A,j]=b(P,{forceMount:void 0}),D=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:a}=e,i=C(P,t);return(0,y.jsx)(A,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,y.jsx)(f.C,{present:n||i.open,children:(0,y.jsx)(d.Z,{asChild:!0,container:a,children:e})}))})};D.displayName=P;var S="DialogOverlay",T=r.forwardRef((e,t)=>{let n=j(S,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=C(S,e.__scopeDialog);return a.modal?(0,y.jsx)(f.C,{present:r||a.open,children:(0,y.jsx)(M,{...o,ref:t})}):null});T.displayName=S;var M=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C(S,n);return(0,y.jsx)(m.A,{as:g.DX,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(p.sG.div,{"data-state":Y(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),L="DialogContent",I=r.forwardRef((e,t)=>{let n=j(L,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=C(L,e.__scopeDialog);return(0,y.jsx)(f.C,{present:r||a.open,children:a.modal?(0,y.jsx)(k,{...o,ref:t}):(0,y.jsx)(F,{...o,ref:t})})});I.displayName=L;var k=r.forwardRef((e,t)=>{let n=C(L,e.__scopeDialog),i=r.useRef(null),l=(0,a.s)(t,n.contentRef,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,h.Eq)(e)},[]),(0,y.jsx)(_,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.m)(e.onFocusOutside,e=>e.preventDefault())})}),F=r.forwardRef((e,t)=>{let n=C(L,e.__scopeDialog),o=r.useRef(!1),a=r.useRef(!1);return(0,y.jsx)(_,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{var r,i;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let l=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),_=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,...u}=e,d=C(L,n),f=r.useRef(null),p=(0,a.s)(t,f);return(0,v.Oh)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(s.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:l,children:(0,y.jsx)(c.qW,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":Y(d.open),...u,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(V,{titleId:d.titleId}),(0,y.jsx)(q,{contentRef:f,descriptionId:d.descriptionId})]})]})}),W="DialogTitle",U=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C(W,n);return(0,y.jsx)(p.sG.h2,{id:o.titleId,...r,ref:t})});U.displayName=W;var B="DialogDescription",G=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C(B,n);return(0,y.jsx)(p.sG.p,{id:o.descriptionId,...r,ref:t})});G.displayName=B;var X="DialogClose",z=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=C(X,n);return(0,y.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,o.m)(e.onClick,()=>a.onOpenChange(!1))})});function Y(e){return e?"open":"closed"}z.displayName=X;var H="DialogTitleWarning",[Z,K]=(0,i.q)(H,{contentName:L,titleName:W,docsSlug:"dialog"}),V=e=>{let{titleId:t}=e,n=K(H),o="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&!document.getElementById(t)&&console.error(o)},[o,t]),null},q=e=>{let{contentRef:t,descriptionId:n}=e,o=K("DialogDescriptionWarning"),a="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(a)},[a,t,n]),null},$=N,J=R,Q=D,ee=T,et=I,en=U,er=G,eo=z},80560:(e,t,n)=>{n.d(t,{qW:()=>p});var r,o=n(20107),a=n(75456),i=n(3328),l=n(72706),u=n(46774),c=n(91624),s=n(20475),d="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=o.forwardRef((e,t)=>{var n,p;let{disableOutsidePointerEvents:h=!1,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:w,onInteractOutside:b,onDismiss:E,...x}=e,C=o.useContext(f),[N,O]=o.useState(null),R=null!==(p=null==N?void 0:N.ownerDocument)&&void 0!==p?p:null===(n=globalThis)||void 0===n?void 0:n.document,[,P]=o.useState({}),A=(0,l.s)(t,e=>O(e)),j=Array.from(C.layers),[D]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),S=j.indexOf(D),T=N?j.indexOf(N):-1,M=C.layersWithOutsidePointerEventsDisabled.size>0,L=T>=S,I=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.c)(e),a=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!a.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);a.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>a.current=!0}}(e=>{let t=e.target,n=[...C.branches].some(e=>e.contains(t));!L||n||(null==y||y(e),null==b||b(e),e.defaultPrevented||null==E||E())},R),k=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.c)(e),a=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!a.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}(e=>{let t=e.target;[...C.branches].some(e=>e.contains(t))||(null==w||w(e),null==b||b(e),e.defaultPrevented||null==E||E())},R);return(0,c.U)(e=>{T!==C.layers.size-1||(null==g||g(e),!e.defaultPrevented&&E&&(e.preventDefault(),E()))},R),o.useEffect(()=>{if(N)return h&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(r=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(N)),C.layers.add(N),v(),()=>{h&&1===C.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=r)}},[N,R,h,C]),o.useEffect(()=>()=>{N&&(C.layers.delete(N),C.layersWithOutsidePointerEventsDisabled.delete(N),v())},[N,C]),o.useEffect(()=>{let e=()=>P({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),(0,s.jsx)(i.sG.div,{...x,ref:A,style:{pointerEvents:M?L?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.m)(e.onFocusCapture,k.onFocusCapture),onBlurCapture:(0,a.m)(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:(0,a.m)(e.onPointerDownCapture,I.onPointerDownCapture)})});function v(){let e=new CustomEvent(d);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:o}=r,a=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),o?(0,i.hO)(a,l):a.dispatchEvent(l)}p.displayName="DismissableLayer",o.forwardRef((e,t)=>{let n=o.useContext(f),r=o.useRef(null),a=(0,l.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(i.sG.div,{...e,ref:a})}).displayName="DismissableLayerBranch"},62802:(e,t,n)=>{n.d(t,{n:()=>d});var r=n(20107),o=n(72706),a=n(3328),i=n(46774),l=n(20475),u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:d=!1,onMountAutoFocus:h,onUnmountAutoFocus:g,...y}=e,[w,b]=r.useState(null),E=(0,i.c)(h),x=(0,i.c)(g),C=r.useRef(null),N=(0,o.s)(t,e=>b(e)),O=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(O.paused||!w)return;let t=e.target;w.contains(t)?C.current=t:v(C.current,{select:!0})},t=function(e){if(O.paused||!w)return;let t=e.relatedTarget;null===t||w.contains(t)||v(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&&v(w)});return w&&n.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[d,w,O.paused]),r.useEffect(()=>{if(w){m.add(O);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(u,s);w.addEventListener(u,E),w.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(v(r,{select:t}),document.activeElement!==n)return}(f(w).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&v(w))}return()=>{w.removeEventListener(u,E),setTimeout(()=>{let t=new CustomEvent(c,s);w.addEventListener(c,x),w.dispatchEvent(t),t.defaultPrevented||v(null!=e?e:document.body,{select:!0}),w.removeEventListener(c,x),m.remove(O)},0)}}},[w,E,x,O]);let R=r.useCallback(e=>{if(!n&&!d||O.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,a]=function(e){let t=f(e);return[p(t,e),p(t.reverse(),e)]}(t);o&&a?e.shiftKey||r!==a?e.shiftKey&&r===o&&(e.preventDefault(),n&&v(a,{select:!0})):(e.preventDefault(),n&&v(o,{select:!0})):r===t&&e.preventDefault()}},[n,d,O.paused]);return(0,l.jsx)(a.sG.div,{tabIndex:-1,...y,ref:N,onKeyDown:R})});function f(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 v(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()}}d.displayName="FocusScope";var m=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=h(e,t)).unshift(t)},remove(t){var n;null===(n=(e=h(e,t))[0])||void 0===n||n.resume()}}}();function h(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},21869:(e,t,n)=>{n.d(t,{Mz:()=>ef,UC:()=>em,ZL:()=>ev,bL:()=>ed,l9:()=>ep});var r=n(20107),o=n(75456),a=n(72706),i=n(45170),l=n(80560),u=n(10201),c=n(62802),s=n(72763),d=n(9895),f=n(84069),p=n(3328),v=n(20475),m=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...a}=e;return(0,v.jsx)(p.sG.svg,{...a,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,v.jsx)("polygon",{points:"0,0 30,0 15,10"})})});m.displayName="Arrow";var h=n(46774),g=n(54122),y=n(63620),w="Popper",[b,E]=(0,i.A)(w),[x,C]=b(w),N=e=>{let{__scopePopper:t,children:n}=e,[o,a]=r.useState(null);return(0,v.jsx)(x,{scope:t,anchor:o,onAnchorChange:a,children:n})};N.displayName=w;var O="PopperAnchor",R=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...i}=e,l=C(O,n),u=r.useRef(null),c=(0,a.s)(t,u);return r.useEffect(()=>{l.onAnchorChange((null==o?void 0:o.current)||u.current)}),o?null:(0,v.jsx)(p.sG.div,{...i,ref:c})});R.displayName=O;var P="PopperContent",[A,j]=b(P),D=r.forwardRef((e,t)=>{var n,o,i,l,u,c,s,m;let{__scopePopper:w,side:b="bottom",sideOffset:E=0,align:x="center",alignOffset:N=0,arrowPadding:O=0,avoidCollisions:R=!0,collisionBoundary:j=[],collisionPadding:D=0,sticky:S="partial",hideWhenDetached:T=!1,updatePositionStrategy:M="optimized",onPlaced:F,..._}=e,W=C(P,w),[U,B]=r.useState(null),G=(0,a.s)(t,e=>B(e)),[X,z]=r.useState(null),Y=(0,y.X)(X),H=null!==(s=null==Y?void 0:Y.width)&&void 0!==s?s:0,Z=null!==(m=null==Y?void 0:Y.height)&&void 0!==m?m:0,K="number"==typeof D?D:{top:0,right:0,bottom:0,left:0,...D},V=Array.isArray(j)?j:[j],q=V.length>0,$={padding:K,boundary:V.filter(L),altBoundary:q},{refs:J,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:en}=(0,d.we)({strategy:"fixed",placement:b+("center"!==x?"-"+x:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:a,height:i}=n.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(r,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(a,"px")),l.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),X&&(0,d.UE)({element:X,padding:O}),I({arrowWidth:H,arrowHeight:Z}),T&&(0,d.jD)({strategy:"referenceHidden",...$})]}),[er,eo]=k(ee),ea=(0,h.c)(F);(0,g.N)(()=>{et&&(null==ea||ea())},[et,ea]);let ei=null===(n=en.arrow)||void 0===n?void 0:n.x,el=null===(o=en.arrow)||void 0===o?void 0:o.y,eu=(null===(i=en.arrow)||void 0===i?void 0:i.centerOffset)!==0,[ec,es]=r.useState();return(0,g.N)(()=>{U&&es(window.getComputedStyle(U).zIndex)},[U]),(0,v.jsx)("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ec,"--radix-popper-transform-origin":[null===(l=en.transformOrigin)||void 0===l?void 0:l.x,null===(u=en.transformOrigin)||void 0===u?void 0:u.y].join(" "),...(null===(c=en.hide)||void 0===c?void 0:c.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,v.jsx)(A,{scope:w,placedSide:er,onArrowChange:z,arrowX:ei,arrowY:el,shouldHideArrow:eu,children:(0,v.jsx)(p.sG.div,{"data-side":er,"data-align":eo,..._,ref:G,style:{..._.style,animation:et?void 0:"none"}})})})});D.displayName=P;var S="PopperArrow",T={top:"bottom",right:"left",bottom:"top",left:"right"},M=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=j(S,n),a=T[o.placedSide];return(0,v.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,v.jsx)(m,{...r,ref:t,style:{...r.style,display:"block"}})})});function L(e){return null!==e}M.displayName=S;var I=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;let{placement:l,rects:u,middlewareData:c}=t,s=(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=s?0:e.arrowWidth,f=s?0:e.arrowHeight,[p,v]=k(l),m={start:"0%",center:"50%",end:"100%"}[v],h=(null!==(a=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==a?a:0)+d/2,g=(null!==(i=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==i?i:0)+f/2,y="",w="";return"bottom"===p?(y=s?m:"".concat(h,"px"),w="".concat(-f,"px")):"top"===p?(y=s?m:"".concat(h,"px"),w="".concat(u.floating.height+f,"px")):"right"===p?(y="".concat(-f,"px"),w=s?m:"".concat(g,"px")):"left"===p&&(y="".concat(u.floating.width+f,"px"),w=s?m:"".concat(g,"px")),{data:{x:y,y:w}}}});function k(e){let[t,n="center"]=e.split("-");return[t,n]}var F=n(46527),_=n(86432),W=n(79571),U=n(13061),B=n(58020),G=n(76171),X="Popover",[z,Y]=(0,i.A)(X,[E]),H=E(),[Z,K]=z(X),V=e=>{let{__scopePopover:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:l=!1}=e,u=H(t),c=r.useRef(null),[d,f]=r.useState(!1),[p=!1,m]=(0,U.i)({prop:o,defaultProp:a,onChange:i});return(0,v.jsx)(N,{...u,children:(0,v.jsx)(Z,{scope:t,contentId:(0,s.B)(),triggerRef:c,open:p,onOpenChange:m,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:d,onCustomAnchorAdd:r.useCallback(()=>f(!0),[]),onCustomAnchorRemove:r.useCallback(()=>f(!1),[]),modal:l,children:n})})};V.displayName=X;var q="PopoverAnchor",$=r.forwardRef((e,t)=>{let{__scopePopover:n,...o}=e,a=K(q,n),i=H(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:u}=a;return r.useEffect(()=>(l(),()=>u()),[l,u]),(0,v.jsx)(R,{...i,...o,ref:t})});$.displayName=q;var J="PopoverTrigger",Q=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=K(J,n),l=H(n),u=(0,a.s)(t,i.triggerRef),c=(0,v.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":es(i.open),...r,ref:u,onClick:(0,o.m)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?c:(0,v.jsx)(R,{asChild:!0,...l,children:c})});Q.displayName=J;var ee="PopoverPortal",[et,en]=z(ee,{forceMount:void 0}),er=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=K(ee,t);return(0,v.jsx)(et,{scope:t,forceMount:n,children:(0,v.jsx)(_.C,{present:n||a.open,children:(0,v.jsx)(F.Z,{asChild:!0,container:o,children:r})})})};er.displayName=ee;var eo="PopoverContent",ea=r.forwardRef((e,t)=>{let n=en(eo,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=K(eo,e.__scopePopover);return(0,v.jsx)(_.C,{present:r||a.open,children:a.modal?(0,v.jsx)(ei,{...o,ref:t}):(0,v.jsx)(el,{...o,ref:t})})});ea.displayName=eo;var ei=r.forwardRef((e,t)=>{let n=K(eo,e.__scopePopover),i=r.useRef(null),l=(0,a.s)(t,i),u=r.useRef(!1);return r.useEffect(()=>{let e=i.current;if(e)return(0,B.Eq)(e)},[]),(0,v.jsx)(G.A,{as:W.DX,allowPinchZoom:!0,children:(0,v.jsx)(eu,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),u.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;u.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),el=r.forwardRef((e,t)=>{let n=K(eo,e.__scopePopover),o=r.useRef(!1),a=r.useRef(!1);return(0,v.jsx)(eu,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{var r,i;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let l=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),eu=r.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,...m}=e,h=K(eo,n),g=H(n);return(0,u.Oh)(),(0,v.jsx)(c.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,v.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:p,onEscapeKeyDown:s,onPointerDownOutside:d,onFocusOutside:f,onDismiss:()=>h.onOpenChange(!1),children:(0,v.jsx)(D,{"data-state":es(h.open),role:"dialog",id:h.contentId,...g,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),ec="PopoverClose";function es(e){return e?"open":"closed"}r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,a=K(ec,n);return(0,v.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,o.m)(e.onClick,()=>a.onOpenChange(!1))})}).displayName=ec,r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=H(n);return(0,v.jsx)(M,{...o,...r,ref:t})}).displayName="PopoverArrow";var ed=V,ef=$,ep=Q,ev=er,em=ea},46527:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(20107),o=n(25642),a=n(3328),i=n(54122),l=n(20475),u=r.forwardRef((e,t)=>{var n,u;let{container:c,...s}=e,[d,f]=r.useState(!1);(0,i.N)(()=>f(!0),[]);let p=c||d&&(null===(u=globalThis)||void 0===u?void 0:null===(n=u.document)||void 0===n?void 0:n.body);return p?o.createPortal((0,l.jsx)(a.sG.div,{...s,ref:t}),p):null});u.displayName="Portal"},54245:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(20107),o=n(64236),a=n(54122),i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[o,i]=r.useState(),u=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(u.current);s.current="mounted"===d?e:"none"},[d]),(0,a.N)(()=>{let t=u.current,n=c.current;if(n!==e){let r=s.current,o=l(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,a.N)(()=>{if(o){var e;let t;let n=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(u.current).includes(e.animationName);if(e.target===o&&r&&(f("ANIMATION_END"),!c.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},a=e=>{e.target===o&&(s.current=l(u.current))};return o.addEventListener("animationstart",a),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",a),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(u.current=getComputedStyle(e)),i(e)},[])}}(t),u="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),c=(0,o.s)(i.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof n||i.isPresent?r.cloneElement(u,{ref:c}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},86432:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(20107),o=n(72706),a=n(54122),i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[o,i]=r.useState(),u=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(u.current);s.current="mounted"===d?e:"none"},[d]),(0,a.N)(()=>{let t=u.current,n=c.current;if(n!==e){let r=s.current,o=l(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,a.N)(()=>{if(o){var e;let t;let n=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(u.current).includes(e.animationName);if(e.target===o&&r&&(f("ANIMATION_END"),!c.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},a=e=>{e.target===o&&(s.current=l(u.current))};return o.addEventListener("animationstart",a),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",a),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(u.current=getComputedStyle(e)),i(e)},[])}}(t),u="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),c=(0,o.s)(i.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof n||i.isPresent?r.cloneElement(u,{ref:c}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},3328:(e,t,n)=>{n.d(t,{hO:()=>u,sG:()=>l});var r=n(20107),o=n(25642),a=n(79571),i=n(20475),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,...o}=e,l=r?a.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function u(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},88853:(e,t,n)=>{n.d(t,{b:()=>c});var r=n(20107),o=n(34544),a=n(20475),i="horizontal",l=["horizontal","vertical"],u=r.forwardRef((e,t)=>{let{decorative:n,orientation:r=i,...u}=e,c=l.includes(r)?r:i;return(0,a.jsx)(o.sG.div,{"data-orientation":c,...n?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...u,ref:t})});u.displayName="Separator";var c=u},79571:(e,t,n)=>{n.d(t,{DX:()=>i});var r=n(20107),o=n(72706),a=n(20475),i=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),u=i.find(c);if(u){let e=u.props.children,n=i.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,a.jsx)(l,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,a.jsx)(l,{...o,ref:t,children:n})});i.displayName="Slot";var l=r.forwardRef((e,t)=>{let{children:n,...a}=e;if(r.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n),i=function(e,t){let n={...t};for(let r in t){let o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...e)=>{a(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(a,n.props);return n.type!==r.Fragment&&(i.ref=t?(0,o.t)(t,e):e),r.cloneElement(n,i)}return r.Children.count(n)>1?r.Children.only(null):null});l.displayName="SlotClone";var u=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});function c(e){return r.isValidElement(e)&&e.type===u}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/7536-99552f97cdce7493.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/7536-99552f97cdce7493.js deleted file mode 100644 index a64abb8..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/7536-99552f97cdce7493.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7536],{76056:(e,r,n)=>{n.d(r,{jH:()=>a});var t=n(20107);n(20475);var o=t.createContext(void 0);function a(e){let r=t.useContext(o);return e||r||"ltr"}},77536:(e,r,n)=>{n.d(r,{H_:()=>e6,UC:()=>e7,YJ:()=>e5,q7:()=>e3,VF:()=>e8,JU:()=>e4,ZL:()=>e1,z6:()=>e2,hN:()=>e9,bL:()=>e$,wv:()=>re,Pb:()=>rr,G5:()=>rt,ZP:()=>rn,l9:()=>e0});var t=n(20107),o=n(94521),a=n(64236),u=n(45170),l=n(13061),i=n(34544),d=n(32474),s=n(76056),c=n(55302),p=n(10201),f=n(38573),v=n(72763),m=n(57563),h=n(41913),g=n(54245),w=n(71856),x=n(61837),y=n(46774),b=n(58020),C=n(9543),R=n(20475),j=["Enter"," "],M=["ArrowUp","PageDown","End"],D=["ArrowDown","PageUp","Home",...M],_={ltr:[...j,"ArrowRight"],rtl:[...j,"ArrowLeft"]},k={ltr:["ArrowLeft"],rtl:["ArrowRight"]},I="Menu",[P,E,T]=(0,d.N)(I),[N,F]=(0,u.A)(I,[T,m.Bk,w.RG]),S=(0,m.Bk)(),A=(0,w.RG)(),[L,O]=N(I),[G,K]=N(I),B=e=>{let{__scopeMenu:r,open:n=!1,children:o,dir:a,onOpenChange:u,modal:l=!0}=e,i=S(r),[d,c]=t.useState(null),p=t.useRef(!1),f=(0,y.c)(u),v=(0,s.jH)(a);return t.useEffect(()=>{let e=()=>{p.current=!0,document.addEventListener("pointerdown",r,{capture:!0,once:!0}),document.addEventListener("pointermove",r,{capture:!0,once:!0})},r=()=>p.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",r,{capture:!0}),document.removeEventListener("pointermove",r,{capture:!0})}},[]),(0,R.jsx)(m.bL,{...i,children:(0,R.jsx)(L,{scope:r,open:n,onOpenChange:f,content:d,onContentChange:c,children:(0,R.jsx)(G,{scope:r,onClose:t.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:p,dir:v,modal:l,children:o})})})};B.displayName=I;var U=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e,o=S(n);return(0,R.jsx)(m.Mz,{...o,...t,ref:r})});U.displayName="MenuAnchor";var V="MenuPortal",[H,X]=N(V,{forceMount:void 0}),q=e=>{let{__scopeMenu:r,forceMount:n,children:t,container:o}=e,a=O(V,r);return(0,R.jsx)(H,{scope:r,forceMount:n,children:(0,R.jsx)(g.C,{present:n||a.open,children:(0,R.jsx)(h.Z,{asChild:!0,container:o,children:t})})})};q.displayName=V;var z="MenuContent",[Z,Y]=N(z),J=t.forwardRef((e,r)=>{let n=X(z,e.__scopeMenu),{forceMount:t=n.forceMount,...o}=e,a=O(z,e.__scopeMenu),u=K(z,e.__scopeMenu);return(0,R.jsx)(P.Provider,{scope:e.__scopeMenu,children:(0,R.jsx)(g.C,{present:t||a.open,children:(0,R.jsx)(P.Slot,{scope:e.__scopeMenu,children:u.modal?(0,R.jsx)(W,{...o,ref:r}):(0,R.jsx)(Q,{...o,ref:r})})})})}),W=t.forwardRef((e,r)=>{let n=O(z,e.__scopeMenu),u=t.useRef(null),l=(0,a.s)(r,u);return t.useEffect(()=>{let e=u.current;if(e)return(0,b.Eq)(e)},[]),(0,R.jsx)($,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,o.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Q=t.forwardRef((e,r)=>{let n=O(z,e.__scopeMenu);return(0,R.jsx)($,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),$=t.forwardRef((e,r)=>{let{__scopeMenu:n,loop:u=!1,trapFocus:l,onOpenAutoFocus:i,onCloseAutoFocus:d,disableOutsidePointerEvents:s,onEntryFocus:v,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:b,onDismiss:j,disableOutsideScroll:_,...k}=e,I=O(z,n),P=K(z,n),T=S(n),N=A(n),F=E(n),[L,G]=t.useState(null),B=t.useRef(null),U=(0,a.s)(r,B,I.onContentChange),V=t.useRef(0),H=t.useRef(""),X=t.useRef(0),q=t.useRef(null),Y=t.useRef("right"),J=t.useRef(0),W=_?C.A:t.Fragment,Q=_?{as:x.DX,allowPinchZoom:!0}:void 0,$=e=>{var r,n;let t=H.current+e,o=F().filter(e=>!e.disabled),a=document.activeElement,u=null===(r=o.find(e=>e.ref.current===a))||void 0===r?void 0:r.textValue,l=function(e,r,n){var t;let o=r.length>1&&Array.from(r).every(e=>e===r[0])?r[0]:r,a=(t=Math.max(n?e.indexOf(n):-1,0),e.map((r,n)=>e[(t+n)%e.length]));1===o.length&&(a=a.filter(e=>e!==n));let u=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return u!==n?u:void 0}(o.map(e=>e.textValue),t,u),i=null===(n=o.find(e=>e.textValue===l))||void 0===n?void 0:n.ref.current;!function e(r){H.current=r,window.clearTimeout(V.current),""!==r&&(V.current=window.setTimeout(()=>e(""),1e3))}(t),i&&setTimeout(()=>i.focus())};t.useEffect(()=>()=>window.clearTimeout(V.current),[]),(0,p.Oh)();let ee=t.useCallback(e=>{var r,n;return Y.current===(null===(r=q.current)||void 0===r?void 0:r.side)&&function(e,r){return!!r&&function(e,r){let{x:n,y:t}=e,o=!1;for(let e=0,a=r.length-1;et!=d>t&&n<(i-u)*(t-l)/(d-l)+u&&(o=!o)}return o}({x:e.clientX,y:e.clientY},r)}(e,null===(n=q.current)||void 0===n?void 0:n.area)},[]);return(0,R.jsx)(Z,{scope:n,searchRef:H,onItemEnter:t.useCallback(e=>{ee(e)&&e.preventDefault()},[ee]),onItemLeave:t.useCallback(e=>{var r;ee(e)||(null===(r=B.current)||void 0===r||r.focus(),G(null))},[ee]),onTriggerLeave:t.useCallback(e=>{ee(e)&&e.preventDefault()},[ee]),pointerGraceTimerRef:X,onPointerGraceIntentChange:t.useCallback(e=>{q.current=e},[]),children:(0,R.jsx)(W,{...Q,children:(0,R.jsx)(f.n,{asChild:!0,trapped:l,onMountAutoFocus:(0,o.m)(i,e=>{var r;e.preventDefault(),null===(r=B.current)||void 0===r||r.focus({preventScroll:!0})}),onUnmountAutoFocus:d,children:(0,R.jsx)(c.qW,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:b,onDismiss:j,children:(0,R.jsx)(w.bL,{asChild:!0,...N,dir:P.dir,orientation:"vertical",loop:u,currentTabStopId:L,onCurrentTabStopIdChange:G,onEntryFocus:(0,o.m)(v,e=>{P.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,R.jsx)(m.UC,{role:"menu","aria-orientation":"vertical","data-state":e_(I.open),"data-radix-menu-content":"",dir:P.dir,...T,...k,ref:U,style:{outline:"none",...k.style},onKeyDown:(0,o.m)(k.onKeyDown,e=>{let r=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,t=1===e.key.length;r&&("Tab"===e.key&&e.preventDefault(),!n&&t&&$(e.key));let o=B.current;if(e.target!==o||!D.includes(e.key))return;e.preventDefault();let a=F().filter(e=>!e.disabled).map(e=>e.ref.current);M.includes(e.key)&&a.reverse(),function(e){let r=document.activeElement;for(let n of e)if(n===r||(n.focus(),document.activeElement!==r))return}(a)}),onBlur:(0,o.m)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(V.current),H.current="")}),onPointerMove:(0,o.m)(e.onPointerMove,eP(e=>{let r=e.target,n=J.current!==e.clientX;if(e.currentTarget.contains(r)&&n){let r=e.clientX>J.current?"right":"left";Y.current=r,J.current=e.clientX}}))})})})})})})});J.displayName=z;var ee=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e;return(0,R.jsx)(i.sG.div,{role:"group",...t,ref:r})});ee.displayName="MenuGroup";var er=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e;return(0,R.jsx)(i.sG.div,{...t,ref:r})});er.displayName="MenuLabel";var en="MenuItem",et="menu.itemSelect",eo=t.forwardRef((e,r)=>{let{disabled:n=!1,onSelect:u,...l}=e,d=t.useRef(null),s=K(en,e.__scopeMenu),c=Y(en,e.__scopeMenu),p=(0,a.s)(r,d),f=t.useRef(!1);return(0,R.jsx)(ea,{...l,ref:p,disabled:n,onClick:(0,o.m)(e.onClick,()=>{let e=d.current;if(!n&&e){let r=new CustomEvent(et,{bubbles:!0,cancelable:!0});e.addEventListener(et,e=>null==u?void 0:u(e),{once:!0}),(0,i.hO)(e,r),r.defaultPrevented?f.current=!1:s.onClose()}}),onPointerDown:r=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,r),f.current=!0},onPointerUp:(0,o.m)(e.onPointerUp,e=>{var r;f.current||null===(r=e.currentTarget)||void 0===r||r.click()}),onKeyDown:(0,o.m)(e.onKeyDown,e=>{let r=""!==c.searchRef.current;!n&&(!r||" "!==e.key)&&j.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});eo.displayName=en;var ea=t.forwardRef((e,r)=>{let{__scopeMenu:n,disabled:u=!1,textValue:l,...d}=e,s=Y(en,n),c=A(n),p=t.useRef(null),f=(0,a.s)(r,p),[v,m]=t.useState(!1),[h,g]=t.useState("");return t.useEffect(()=>{let e=p.current;if(e){var r;g((null!==(r=e.textContent)&&void 0!==r?r:"").trim())}},[d.children]),(0,R.jsx)(P.ItemSlot,{scope:n,disabled:u,textValue:null!=l?l:h,children:(0,R.jsx)(w.q7,{asChild:!0,...c,focusable:!u,children:(0,R.jsx)(i.sG.div,{role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":u||void 0,"data-disabled":u?"":void 0,...d,ref:f,onPointerMove:(0,o.m)(e.onPointerMove,eP(e=>{u?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,o.m)(e.onPointerLeave,eP(e=>s.onItemLeave(e))),onFocus:(0,o.m)(e.onFocus,()=>m(!0)),onBlur:(0,o.m)(e.onBlur,()=>m(!1))})})})}),eu=t.forwardRef((e,r)=>{let{checked:n=!1,onCheckedChange:t,...a}=e;return(0,R.jsx)(ev,{scope:e.__scopeMenu,checked:n,children:(0,R.jsx)(eo,{role:"menuitemcheckbox","aria-checked":ek(n)?"mixed":n,...a,ref:r,"data-state":eI(n),onSelect:(0,o.m)(a.onSelect,()=>null==t?void 0:t(!!ek(n)||!n),{checkForDefaultPrevented:!1})})})});eu.displayName="MenuCheckboxItem";var el="MenuRadioGroup",[ei,ed]=N(el,{value:void 0,onValueChange:()=>{}}),es=t.forwardRef((e,r)=>{let{value:n,onValueChange:t,...o}=e,a=(0,y.c)(t);return(0,R.jsx)(ei,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,R.jsx)(ee,{...o,ref:r})})});es.displayName=el;var ec="MenuRadioItem",ep=t.forwardRef((e,r)=>{let{value:n,...t}=e,a=ed(ec,e.__scopeMenu),u=n===a.value;return(0,R.jsx)(ev,{scope:e.__scopeMenu,checked:u,children:(0,R.jsx)(eo,{role:"menuitemradio","aria-checked":u,...t,ref:r,"data-state":eI(u),onSelect:(0,o.m)(t.onSelect,()=>{var e;return null===(e=a.onValueChange)||void 0===e?void 0:e.call(a,n)},{checkForDefaultPrevented:!1})})})});ep.displayName=ec;var ef="MenuItemIndicator",[ev,em]=N(ef,{checked:!1}),eh=t.forwardRef((e,r)=>{let{__scopeMenu:n,forceMount:t,...o}=e,a=em(ef,n);return(0,R.jsx)(g.C,{present:t||ek(a.checked)||!0===a.checked,children:(0,R.jsx)(i.sG.span,{...o,ref:r,"data-state":eI(a.checked)})})});eh.displayName=ef;var eg=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e;return(0,R.jsx)(i.sG.div,{role:"separator","aria-orientation":"horizontal",...t,ref:r})});eg.displayName="MenuSeparator";var ew=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e,o=S(n);return(0,R.jsx)(m.i3,{...o,...t,ref:r})});ew.displayName="MenuArrow";var ex="MenuSub",[ey,eb]=N(ex),eC=e=>{let{__scopeMenu:r,children:n,open:o=!1,onOpenChange:a}=e,u=O(ex,r),l=S(r),[i,d]=t.useState(null),[s,c]=t.useState(null),p=(0,y.c)(a);return t.useEffect(()=>(!1===u.open&&p(!1),()=>p(!1)),[u.open,p]),(0,R.jsx)(m.bL,{...l,children:(0,R.jsx)(L,{scope:r,open:o,onOpenChange:p,content:s,onContentChange:c,children:(0,R.jsx)(ey,{scope:r,contentId:(0,v.B)(),triggerId:(0,v.B)(),trigger:i,onTriggerChange:d,children:n})})})};eC.displayName=ex;var eR="MenuSubTrigger",ej=t.forwardRef((e,r)=>{let n=O(eR,e.__scopeMenu),u=K(eR,e.__scopeMenu),l=eb(eR,e.__scopeMenu),i=Y(eR,e.__scopeMenu),d=t.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=i,p={__scopeMenu:e.__scopeMenu},f=t.useCallback(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return t.useEffect(()=>f,[f]),t.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),c(null)}},[s,c]),(0,R.jsx)(U,{asChild:!0,...p,children:(0,R.jsx)(ea,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":l.contentId,"data-state":e_(n.open),...e,ref:(0,a.t)(r,l.onTriggerChange),onClick:r=>{var t;null===(t=e.onClick)||void 0===t||t.call(e,r),e.disabled||r.defaultPrevented||(r.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,o.m)(e.onPointerMove,eP(r=>{i.onItemEnter(r),r.defaultPrevented||e.disabled||n.open||d.current||(i.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:(0,o.m)(e.onPointerLeave,eP(e=>{var r,t;f();let o=null===(r=n.content)||void 0===r?void 0:r.getBoundingClientRect();if(o){let r=null===(t=n.content)||void 0===t?void 0:t.dataset.side,a="right"===r,u=o[a?"left":"right"],l=o[a?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:u,y:o.top},{x:l,y:o.top},{x:l,y:o.bottom},{x:u,y:o.bottom}],side:r}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.m)(e.onKeyDown,r=>{let t=""!==i.searchRef.current;if(!e.disabled&&(!t||" "!==r.key)&&_[u.dir].includes(r.key)){var o;n.onOpenChange(!0),null===(o=n.content)||void 0===o||o.focus(),r.preventDefault()}})})})});ej.displayName=eR;var eM="MenuSubContent",eD=t.forwardRef((e,r)=>{let n=X(z,e.__scopeMenu),{forceMount:u=n.forceMount,...l}=e,i=O(z,e.__scopeMenu),d=K(z,e.__scopeMenu),s=eb(eM,e.__scopeMenu),c=t.useRef(null),p=(0,a.s)(r,c);return(0,R.jsx)(P.Provider,{scope:e.__scopeMenu,children:(0,R.jsx)(g.C,{present:u||i.open,children:(0,R.jsx)(P.Slot,{scope:e.__scopeMenu,children:(0,R.jsx)($,{id:s.contentId,"aria-labelledby":s.triggerId,...l,ref:p,align:"start",side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var r;d.isUsingKeyboardRef.current&&(null===(r=c.current)||void 0===r||r.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.m)(e.onFocusOutside,e=>{e.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:(0,o.m)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,o.m)(e.onKeyDown,e=>{let r=e.currentTarget.contains(e.target),n=k[d.dir].includes(e.key);if(r&&n){var t;i.onOpenChange(!1),null===(t=s.trigger)||void 0===t||t.focus(),e.preventDefault()}})})})})})});function e_(e){return e?"open":"closed"}function ek(e){return"indeterminate"===e}function eI(e){return ek(e)?"indeterminate":e?"checked":"unchecked"}function eP(e){return r=>"mouse"===r.pointerType?e(r):void 0}eD.displayName=eM;var eE="DropdownMenu",[eT,eN]=(0,u.A)(eE,[F]),eF=F(),[eS,eA]=eT(eE),eL=e=>{let{__scopeDropdownMenu:r,children:n,dir:o,open:a,defaultOpen:u,onOpenChange:i,modal:d=!0}=e,s=eF(r),c=t.useRef(null),[p=!1,f]=(0,l.i)({prop:a,defaultProp:u,onChange:i});return(0,R.jsx)(eS,{scope:r,triggerId:(0,v.B)(),triggerRef:c,contentId:(0,v.B)(),open:p,onOpenChange:f,onOpenToggle:t.useCallback(()=>f(e=>!e),[f]),modal:d,children:(0,R.jsx)(B,{...s,open:p,onOpenChange:f,dir:o,modal:d,children:n})})};eL.displayName=eE;var eO="DropdownMenuTrigger",eG=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,disabled:t=!1,...u}=e,l=eA(eO,n),d=eF(n);return(0,R.jsx)(U,{asChild:!0,...d,children:(0,R.jsx)(i.sG.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...u,ref:(0,a.t)(r,l.triggerRef),onPointerDown:(0,o.m)(e.onPointerDown,e=>{t||0!==e.button||!1!==e.ctrlKey||(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:(0,o.m)(e.onKeyDown,e=>{!t&&(["Enter"," "].includes(e.key)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});eG.displayName=eO;var eK=e=>{let{__scopeDropdownMenu:r,...n}=e,t=eF(r);return(0,R.jsx)(q,{...t,...n})};eK.displayName="DropdownMenuPortal";var eB="DropdownMenuContent",eU=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,u=eA(eB,n),l=eF(n),i=t.useRef(!1);return(0,R.jsx)(J,{id:u.contentId,"aria-labelledby":u.triggerId,...l,...a,ref:r,onCloseAutoFocus:(0,o.m)(e.onCloseAutoFocus,e=>{var r;i.current||null===(r=u.triggerRef.current)||void 0===r||r.focus(),i.current=!1,e.preventDefault()}),onInteractOutside:(0,o.m)(e.onInteractOutside,e=>{let r=e.detail.originalEvent,n=0===r.button&&!0===r.ctrlKey,t=2===r.button||n;(!u.modal||t)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eU.displayName=eB;var eV=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(ee,{...o,...t,ref:r})});eV.displayName="DropdownMenuGroup";var eH=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(er,{...o,...t,ref:r})});eH.displayName="DropdownMenuLabel";var eX=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(eo,{...o,...t,ref:r})});eX.displayName="DropdownMenuItem";var eq=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(eu,{...o,...t,ref:r})});eq.displayName="DropdownMenuCheckboxItem";var ez=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(es,{...o,...t,ref:r})});ez.displayName="DropdownMenuRadioGroup";var eZ=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(ep,{...o,...t,ref:r})});eZ.displayName="DropdownMenuRadioItem";var eY=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(eh,{...o,...t,ref:r})});eY.displayName="DropdownMenuItemIndicator";var eJ=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(eg,{...o,...t,ref:r})});eJ.displayName="DropdownMenuSeparator",t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(ew,{...o,...t,ref:r})}).displayName="DropdownMenuArrow";var eW=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(ej,{...o,...t,ref:r})});eW.displayName="DropdownMenuSubTrigger";var eQ=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(eD,{...o,...t,ref:r,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eQ.displayName="DropdownMenuSubContent";var e$=eL,e0=eG,e1=eK,e7=eU,e5=eV,e4=eH,e3=eX,e6=eq,e2=ez,e9=eZ,e8=eY,re=eJ,rr=e=>{let{__scopeDropdownMenu:r,children:n,open:t,onOpenChange:o,defaultOpen:a}=e,u=eF(r),[i=!1,d]=(0,l.i)({prop:t,defaultProp:a,onChange:o});return(0,R.jsx)(eC,{...u,open:i,onOpenChange:d,children:n})},rn=eW,rt=eQ},71856:(e,r,n)=>{n.d(r,{RG:()=>b,bL:()=>P,q7:()=>E});var t=n(20107),o=n(94521),a=n(32474),u=n(64236),l=n(54379),i=n(72763),d=n(34544),s=n(46774),c=n(13061),p=n(76056),f=n(20475),v="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[g,w,x]=(0,a.N)(h),[y,b]=(0,l.A)(h,[x]),[C,R]=y(h),j=t.forwardRef((e,r)=>(0,f.jsx)(g.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(g.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(M,{...e,ref:r})})}));j.displayName=h;var M=t.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:l=!1,dir:i,currentTabStopId:h,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:x,onEntryFocus:y,preventScrollOnEntryFocus:b=!1,...R}=e,j=t.useRef(null),M=(0,u.s)(r,j),D=(0,p.jH)(i),[_=null,k]=(0,c.i)({prop:h,defaultProp:g,onChange:x}),[P,E]=t.useState(!1),T=(0,s.c)(y),N=w(n),F=t.useRef(!1),[S,A]=t.useState(0);return t.useEffect(()=>{let e=j.current;if(e)return e.addEventListener(v,T),()=>e.removeEventListener(v,T)},[T]),(0,f.jsx)(C,{scope:n,orientation:a,dir:D,loop:l,currentTabStopId:_,onItemFocus:t.useCallback(e=>k(e),[k]),onItemShiftTab:t.useCallback(()=>E(!0),[]),onFocusableItemAdd:t.useCallback(()=>A(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>A(e=>e-1),[]),children:(0,f.jsx)(d.sG.div,{tabIndex:P||0===S?-1:0,"data-orientation":a,...R,ref:M,style:{outline:"none",...e.style},onMouseDown:(0,o.m)(e.onMouseDown,()=>{F.current=!0}),onFocus:(0,o.m)(e.onFocus,e=>{let r=!F.current;if(e.target===e.currentTarget&&r&&!P){let r=new CustomEvent(v,m);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=N().filter(e=>e.focusable);I([e.find(e=>e.active),e.find(e=>e.id===_),...e].filter(Boolean).map(e=>e.ref.current),b)}}F.current=!1}),onBlur:(0,o.m)(e.onBlur,()=>E(!1))})})}),D="RovingFocusGroupItem",_=t.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:u=!1,tabStopId:l,...s}=e,c=(0,i.B)(),p=l||c,v=R(D,n),m=v.currentTabStopId===p,h=w(n),{onFocusableItemAdd:x,onFocusableItemRemove:y}=v;return t.useEffect(()=>{if(a)return x(),()=>y()},[a,x,y]),(0,f.jsx)(g.ItemSlot,{scope:n,id:p,focusable:a,active:u,children:(0,f.jsx)(d.sG.span,{tabIndex:m?0:-1,"data-orientation":v.orientation,...s,ref:r,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a?v.onItemFocus(p):e.preventDefault()}),onFocus:(0,o.m)(e.onFocus,()=>v.onItemFocus(p)),onKeyDown:(0,o.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){v.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let r=function(e,r,n){var t;let o=(t=e.key,"rtl"!==n?t:"ArrowLeft"===t?"ArrowRight":"ArrowRight"===t?"ArrowLeft":t);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return k[o]}(e,v.orientation,v.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=h().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)n.reverse();else if("prev"===r||"next"===r){"prev"===r&&n.reverse();let t=n.indexOf(e.currentTarget);n=v.loop?function(e,r){return e.map((n,t)=>e[(r+t)%e.length])}(n,t+1):n.slice(t+1)}setTimeout(()=>I(n))}})})})});_.displayName=D;var k={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function I(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let t of e)if(t===n||(t.focus({preventScroll:r}),document.activeElement!==n))return}var P=j,E=_}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/7780-f325b2d7864a75f9.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/7780-f325b2d7864a75f9.js new file mode 100644 index 0000000..b34df0b --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/7780-f325b2d7864a75f9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7780],{64236:(e,r,o)=>{o.d(r,{s:()=>l,t:()=>n});var t=o(20107);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)}},61837:(e,r,o)=>{o.d(r,{DX:()=>s,xV:()=>i});var t=o(20107),n=o(64236),l=o(20475),s=t.forwardRef((e,r)=>{let{children:o,...n}=e,s=t.Children.toArray(o),i=s.find(d);if(i){let e=i.props.children,o=s.map(r=>r!==i?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,l.jsx)(a,{...n,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,o):null})}return(0,l.jsx)(a,{...n,ref:r,children:o})});s.displayName="Slot";var a=t.forwardRef((e,r)=>{let{children:o,...l}=e;if(t.isValidElement(o)){let e=function(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(o);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.t)(r,e):e})}return t.Children.count(o)>1?t.Children.only(null):null});a.displayName="SlotClone";var i=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function d(e){return t.isValidElement(e)&&e.type===i}},64901:(e,r,o)=>{function t(){for(var e,r,o=0,t="",n=arguments.length;ot,A:()=>n});let n=t},868:(e,r,o)=>{o.d(r,{QP:()=>J});let t=e=>{let r=a(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}},a=e=>{let{theme:r,prefix:o}=e,t={nextPart:new Map,validators:[]};return p(Object.entries(e.classGroups),o).forEach(([e,o])=>{i(o,t,e,r)}),t},i=(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)){i(e(t),r,o,t);return}r.validators.push({validator:e,classGroupId:o});return}Object.entries(e).forEach(([e,n])=>{i(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=[],a=0,i=0;for(let d=0;di?o-i: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),a="";for(let e=s.length-1;e>=0;e-=1){let r=s[e],{modifiers:i,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))){a=r+(a.length>0?" "+a:a);continue}u=!1}let m=f(i).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?" "+a:a)}return a};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)/,P=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>R(e)||z.has(e)||k.test(e),G=e=>F(e,"length",Q),R=e=>!!e&&!Number.isNaN(Number(e)),O=e=>F(e,"number",R),W=e=>!!e&&Number.isInteger(Number(e)),$=e=>e.endsWith("%")&&R(e.slice(0,-1)),M=e=>w.test(e),I=e=>j.test(e),_=new Set(["length","size","percentage"]),A=e=>F(e,_,X),V=e=>F(e,"position",X),D=new Set(["image","url"]),T=e=>F(e,D,H),q=e=>F(e,"",Z),B=()=>!0,F=(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]))},Q=e=>C.test(e)&&!E.test(e),X=()=>!1,Z=e=>S.test(e),H=e=>P.test(e);Symbol.toStringTag;let J=function(e,...r){let o,t,n;let l=function(a){return t=(o=m(r.reduce((e,r)=>r(e),e()))).cache.get,n=o.cache.set,l=s,s(a)};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"),a=v("borderWidth"),i=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"],P=()=>["auto",M,r],_=()=>[M,r],D=()=>["",N,G],F=()=>["auto",R,M],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],H=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",M],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[R,M];return{cacheSize:500,separator:":",theme:{colors:[B],spacing:[N,G],blur:["none","",I,M],brightness:L(),borderColor:[e],borderRadius:["none","","full",I,M],borderSpacing:_(),borderWidth:D(),contrast:L(),grayscale:J(),hueRotate:L(),invert:J(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[$,G],inset:P(),margin:P(),opacity:L(),padding:_(),saturate:L(),scale:L(),sepia:J(),skew:L(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",M]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"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:[...Q(),M]}],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,M]}],basis:[{basis:P()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",M]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",W,M]}],"grid-cols":[{"grid-cols":[B]}],"col-start-end":[{col:["auto",{span:["full",W,M]},M]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[B]}],"row-start-end":[{row:["auto",{span:[W,M]},M]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",M]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",M]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...H()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...H(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...H(),"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",M,r]}],"min-w":[{"min-w":[M,r,"min","max","fit"]}],"max-w":[{"max-w":[M,r,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[M,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[M,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[M,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[M,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:[B]}],"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",M]}],"line-clamp":[{"line-clamp":["none",R,O]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,M]}],"list-image":[{"list-image":["none",M]}],"list-style-type":[{list:["none","disc","decimal",M]}],"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:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,G]}],"underline-offset":[{"underline-offset":["auto",N,M]}],"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",M]}],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",M]}],"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:[...Q(),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"]},T]}],"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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:X()}],"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:["",...X()]}],"outline-offset":[{"outline-offset":[N,M]}],"outline-w":[{outline:[N,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[N,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,q]}],"shadow-color":[{shadow:[B]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[t]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",I,M]}],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":[i]}],"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",M]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",M]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",M]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[W,M]}],"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",M]}],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",M]}],"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",M]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,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/8112-8c3d22fe142f8630.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8112-8c3d22fe142f8630.js deleted file mode 100644 index 49855bd..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8112-8c3d22fe142f8630.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8112],{39997:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(20107);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:l=2,absoluteStrokeWidth:d,className:s="",children:p,iconNode:c,...u}=e;return(0,n.createElement)("svg",{ref:t,...i,width:o,height:o,stroke:r,strokeWidth:d?24*Number(l)/Number(o):l,className:a("lucide",s),...u},[...c.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(p)?p:[p]])}),d=(e,t)=>{let r=(0,n.forwardRef)((r,i)=>{let{className:d,...s}=r;return(0,n.createElement)(l,{ref:i,iconNode:t,className:a("lucide-".concat(o(e)),d),...s})});return r.displayName="".concat(e),r}},29475:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},12607:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},54379:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(20107),o=r(20475);function a(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(t,a){let i=n.createContext(a),l=r.length;function d(t){let{scope:r,children:a,...d}=t,s=r?.[e][l]||i,p=n.useMemo(()=>d,Object.values(d));return(0,o.jsx)(s.Provider,{value:p,children:a})}return r=[...r,a],d.displayName=t+"Provider",[d,function(r,o){let d=o?.[e][l]||i,s=n.useContext(d);if(s)return s;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(i,...t)]}},21840:(e,t,r)=>{r.d(t,{b:()=>l});var n=r(20107),o=r(34544),a=r(20475),i=n.forwardRef((e,t)=>(0,a.jsx)(o.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName="Label";var l=i},57563:(e,t,r)=>{r.d(t,{Mz:()=>O,i3:()=>$,UC:()=>z,bL:()=>_,Bk:()=>m});var n=r(20107),o=r(9895),a=r(84069),i=r(34544),l=r(20475),d=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...a}=e;return(0,l.jsx)(i.sG.svg,{...a,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,l.jsx)("polygon",{points:"0,0 30,0 15,10"})})});d.displayName="Arrow";var s=r(64236),p=r(54379),c=r(46774),u=r(54122),f=r(63620),h="Popper",[v,m]=(0,p.A)(h),[w,g]=v(h),x=e=>{let{__scopePopper:t,children:r}=e,[o,a]=n.useState(null);return(0,l.jsx)(w,{scope:t,anchor:o,onAnchorChange:a,children:r})};x.displayName=h;var y="PopperAnchor",A=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:o,...a}=e,d=g(y,r),p=n.useRef(null),c=(0,s.s)(t,p);return n.useEffect(()=>{d.onAnchorChange((null==o?void 0:o.current)||p.current)}),o?null:(0,l.jsx)(i.sG.div,{...a,ref:c})});A.displayName=y;var b="PopperContent",[N,j]=v(b),k=n.forwardRef((e,t)=>{var r,d,p,h,v,m,w,x;let{__scopePopper:y,side:A="bottom",sideOffset:j=0,align:k="center",alignOffset:C=0,arrowPadding:E=0,avoidCollisions:P=!0,collisionBoundary:_=[],collisionPadding:O=0,sticky:z="partial",hideWhenDetached:$=!1,updatePositionStrategy:H="optimized",onPlaced:L,...B}=e,G=g(b,y),[W,Y]=n.useState(null),D=(0,s.s)(t,e=>Y(e)),[U,X]=n.useState(null),F=(0,f.X)(U),I=null!==(w=null==F?void 0:F.width)&&void 0!==w?w:0,V=null!==(x=null==F?void 0:F.height)&&void 0!==x?x:0,q="number"==typeof O?O:{top:0,right:0,bottom:0,left:0,...O},T=Array.isArray(_)?_:[_],Z=T.length>0,J={padding:q,boundary:T.filter(R),altBoundary:Z},{refs:K,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:er}=(0,o.we)({strategy:"fixed",placement:A+("center"!==k?"-"+k:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r{let{elements:t,rects:r,availableWidth:n,availableHeight:o}=e,{width:a,height:i}=r.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(n,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(a,"px")),l.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),U&&(0,o.UE)({element:U,padding:E}),M({arrowWidth:I,arrowHeight:V}),$&&(0,o.jD)({strategy:"referenceHidden",...J})]}),[en,eo]=S(ee),ea=(0,c.c)(L);(0,u.N)(()=>{et&&(null==ea||ea())},[et,ea]);let ei=null===(r=er.arrow)||void 0===r?void 0:r.x,el=null===(d=er.arrow)||void 0===d?void 0:d.y,ed=(null===(p=er.arrow)||void 0===p?void 0:p.centerOffset)!==0,[es,ep]=n.useState();return(0,u.N)(()=>{W&&ep(window.getComputedStyle(W).zIndex)},[W]),(0,l.jsx)("div",{ref:K.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:es,"--radix-popper-transform-origin":[null===(h=er.transformOrigin)||void 0===h?void 0:h.x,null===(v=er.transformOrigin)||void 0===v?void 0:v.y].join(" "),...(null===(m=er.hide)||void 0===m?void 0:m.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,l.jsx)(N,{scope:y,placedSide:en,onArrowChange:X,arrowX:ei,arrowY:el,shouldHideArrow:ed,children:(0,l.jsx)(i.sG.div,{"data-side":en,"data-align":eo,...B,ref:D,style:{...B.style,animation:et?void 0:"none"}})})})});k.displayName=b;var C="PopperArrow",E={top:"bottom",right:"left",bottom:"top",left:"right"},P=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=j(C,r),a=E[o.placedSide];return(0,l.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,l.jsx)(d,{...n,ref:t,style:{...n.style,display:"block"}})})});function R(e){return null!==e}P.displayName=C;var M=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,i;let{placement:l,rects:d,middlewareData:s}=t,p=(null===(r=s.arrow)||void 0===r?void 0:r.centerOffset)!==0,c=p?0:e.arrowWidth,u=p?0:e.arrowHeight,[f,h]=S(l),v={start:"0%",center:"50%",end:"100%"}[h],m=(null!==(a=null===(n=s.arrow)||void 0===n?void 0:n.x)&&void 0!==a?a:0)+c/2,w=(null!==(i=null===(o=s.arrow)||void 0===o?void 0:o.y)&&void 0!==i?i:0)+u/2,g="",x="";return"bottom"===f?(g=p?v:"".concat(m,"px"),x="".concat(-u,"px")):"top"===f?(g=p?v:"".concat(m,"px"),x="".concat(d.floating.height+u,"px")):"right"===f?(g="".concat(-u,"px"),x=p?v:"".concat(w,"px")):"left"===f&&(g="".concat(d.floating.width+u,"px"),x=p?v:"".concat(w,"px")),{data:{x:g,y:x}}}});function S(e){let[t,r="center"]=e.split("-");return[t,r]}var _=x,O=A,z=k,$=P},91475:(e,t,r)=>{r.d(t,{b:()=>l,s:()=>i});var n=r(20107),o=r(34544),a=r(20475),i=n.forwardRef((e,t)=>(0,a.jsx)(o.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));i.displayName="VisuallyHidden";var l=i}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8171-3864f38194afa137.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8171-3864f38194afa137.js new file mode 100644 index 0000000..d4f93c6 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8171-3864f38194afa137.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8171],{78171:(e,r,t)=>{t.r(r),t.d(r,{default:()=>w});var a=t(20475),s=t(72167),n=t(45934),l=t(76554),i=t(42541),d=t(39997);let c=(0,d.A)("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);var o=t(92823);let u=(0,d.A)("Signal",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]),m=(0,d.A)("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);var h=t(17799),x=t(91994),g=t(8782),f=t(49573),p=t(20107);let v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e4,[r,t]=(0,p.useState)([]),[a,s]=(0,p.useState)(!0),[n,l]=(0,p.useState)(null),[i,d]=(0,p.useState)(null),c=(0,p.useCallback)(async()=>{try{l(null);let e=await fetch("/cgi-bin/quecmanager/experimental/fetch_interpretations.sh",{cache:"no-cache",headers:{"Cache-Control":"no-cache",Pragma:"no-cache"}});if(!e.ok)throw Error("HTTP ".concat(e.status,": Failed to fetch interpretations"));let r=await e.json(),a=Array.isArray(r)?r:[];t(a),d(new Date)}catch(e){console.error("Failed to fetch interpretations:",e),l(e instanceof Error?e.message:"Unknown error occurred")}finally{s(!1)}},[]);return(0,p.useEffect)(()=>{if(c(),e>0){let r=setInterval(c,e);return()=>clearInterval(r)}},[c,e]),{interpretations:r,loading:a,error:n,lastUpdate:i,refresh:(0,p.useCallback)(()=>{s(!0),c()},[c])}};var b=t(36760);let y=e=>e.toLowerCase().includes("band")?(0,a.jsx)(c,{className:"h-4 w-4"}):e.toLowerCase().includes("carrier aggregation")||e.toLowerCase().includes("carriers")?(0,a.jsx)(o.A,{className:"h-4 w-4"}):e.toLowerCase().includes("signal")?(0,a.jsx)(u,{className:"h-4 w-4"}):(e.toLowerCase().includes("network mode")||e.toLowerCase().includes("pci")||e.toLowerCase().includes("earfcn"),(0,a.jsx)(m,{className:"h-4 w-4"})),j=e=>{let r=e.toLowerCase();return r.includes("signal lost")||r.includes("no cellular")?"bg-red-100 text-red-800 border-red-200 dark:bg-red-900/20 dark:text-red-300 dark:border-red-800":r.includes("signal restored")||r.includes("connected")?"bg-green-100 text-green-800 border-green-200 dark:bg-green-900/20 dark:text-green-300 dark:border-green-800":r.includes("aggregation activated")||r.includes("carriers increased")?"bg-blue-100 text-blue-800 border-blue-200 dark:bg-blue-900/20 dark:text-blue-300 dark:border-blue-800":r.includes("aggregation deactivated")||r.includes("single carrier")?"bg-orange-100 text-orange-800 border-orange-200 dark:bg-orange-900/20 dark:text-orange-300 dark:border-orange-800":r.includes("network mode changed")||r.includes("nsa")||r.includes("lte")||r.includes("5g sa")?"bg-purple-100 text-purple-800 border-purple-200 dark:bg-purple-900/20 dark:text-purple-300 dark:border-purple-800":r.includes("band")&&(r.includes("added")||r.includes("removed")||r.includes("changed"))?"bg-teal-100 text-teal-800 border-teal-200 dark:bg-teal-900/20 dark:text-teal-300 dark:border-teal-800":"bg-gray-100 text-gray-800 border-gray-200 dark:bg-gray-900/20 dark:text-gray-300 dark:border-gray-800"};function w(){let{interpretations:e,loading:r,error:t,lastUpdate:d,refresh:p}=v(3e4),w=e=>{try{let r=new Date(e);return{date:r.toLocaleDateString(),time:r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}}catch(r){return{date:e.split(" ")[0]||"",time:e.split(" ")[1]||""}}},N=e.reduce((e,r)=>{let{date:t}=w(r.datetime);return e[t]||(e[t]=[]),e[t].push(r),e},{}),k=Object.keys(N).sort((e,r)=>new Date(r).getTime()-new Date(e).getTime());return(0,a.jsxs)(s.Zp,{children:[(0,a.jsxs)(s.aR,{children:[(0,a.jsx)(s.ZB,{children:"Network Insights"}),(0,a.jsx)(s.BT,{children:"Real-time insights into your cellular network changes, including band switches, carrier aggregation events, and signal quality changes. The monitoring service runs automatically as part of QuecManager services."})]}),(0,a.jsx)(s.Wu,{children:(0,a.jsxs)("div",{className:"space-y-6",children:[t&&(0,a.jsxs)(f.Fc,{variant:"destructive",children:[(0,a.jsx)(h.A,{className:"h-4 w-4"}),(0,a.jsxs)(f.TN,{children:["Failed to load network insights: ",t]})]}),(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(m,{className:"h-8 w-8 text-blue-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Total Events"}),r&&0===e.length?(0,a.jsx)(b.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.length})]})]})})}),(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(c,{className:"h-8 w-8 text-teal-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Band Changes"}),r&&0===e.length?(0,a.jsx)(b.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.filter(e=>e.interpretation.toLowerCase().includes("band")).length})]})]})})}),(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(o.A,{className:"h-8 w-8 text-blue-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"CA Events"}),r&&0===e.length?(0,a.jsx)(b.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.filter(e=>e.interpretation.toLowerCase().includes("carrier aggregation")||e.interpretation.toLowerCase().includes("carriers")).length})]})]})})}),(0,a.jsx)(s.Zp,{children:(0,a.jsx)(s.Wu,{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)(u,{className:"h-8 w-8 text-green-500"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Signal Events"}),r&&0===e.length?(0,a.jsx)(b.E,{className:"h-8 w-6 mt-1"}):(0,a.jsx)("p",{className:"text-2xl font-bold",children:e.filter(e=>e.interpretation.toLowerCase().includes("signal")||e.interpretation.toLowerCase().includes("network mode")).length})]})]})})})]}),r&&0===e.length?(0,a.jsx)(s.Zp,{className:"pt-6",children:(0,a.jsxs)(s.Wu,{className:"flex flex-col gap-4",children:[(0,a.jsx)(b.E,{className:"h-16 w-full"}),(0,a.jsx)(b.E,{className:"h-16 w-full"}),(0,a.jsx)(b.E,{className:"h-16 w-full"})]})}):(0,a.jsx)(a.Fragment,{children:r||0!==k.length?k.map(e=>(0,a.jsxs)(s.Zp,{children:[(0,a.jsx)(s.aR,{children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(s.ZB,{children:e}),(0,a.jsxs)(n.E,{variant:"secondary",children:[N[e].length," event",1!==N[e].length?"s":""]})]})}),(0,a.jsx)(s.Wu,{children:(0,a.jsx)("div",{className:"space-y-4",children:N[e].sort((e,r)=>new Date(r.datetime).getTime()-new Date(e.datetime).getTime()).map((r,t)=>{let{time:s}=w(r.datetime);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,a.jsx)("div",{className:"p-2 rounded-full border ".concat(j(r.interpretation)),children:y(r.interpretation)}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("div",{className:"flex items-center space-x-2",children:(0,a.jsx)("span",{className:"text-sm font-medium text-muted-foreground",children:s})}),(0,a.jsx)("p",{className:"mt-1 text-sm leading-relaxed",children:r.interpretation})]})]}),t{t.d(r,{Fc:()=>d,TN:()=>o,XL:()=>c});var a=t(20475),s=t(20107),n=t(29395),l=t(22250);let i=(0,n.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=s.forwardRef((e,r)=>{let{className:t,variant:s,...n}=e;return(0,a.jsx)("div",{ref:r,role:"alert",className:(0,l.cn)(i({variant:s}),t),...n})});d.displayName="Alert";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("h5",{ref:r,className:(0,l.cn)("mb-1 font-medium leading-none tracking-tight",t),...s})});c.displayName="AlertTitle";let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,l.cn)("text-sm [&_p]:leading-relaxed",t),...s})});o.displayName="AlertDescription"},45934:(e,r,t)=>{t.d(r,{E:()=>i});var a=t(20475);t(20107);var s=t(29395),n=t(22250);let l=(0,s.F)("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 i(e){let{className:r,variant:t,...s}=e;return(0,a.jsx)("div",{className:(0,n.cn)(l({variant:t}),r),...s})}},42541:(e,r,t)=>{t.d(r,{$:()=>c,r:()=>d});var a=t(20475),s=t(20107),n=t(61837),l=t(29395),i=t(22250);let d=(0,l.F)("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,r)=>{let{className:t,variant:s,size:l,asChild:c=!1,...o}=e,u=c?n.DX:"button";return(0,a.jsx)(u,{className:(0,i.cn)(d({variant:s,size:l,className:t})),ref:r,...o})});c.displayName="Button"},72167:(e,r,t)=>{t.d(r,{BT:()=>c,Wu:()=>o,ZB:()=>d,Zp:()=>l,aR:()=>i,wL:()=>u});var a=t(20475),s=t(20107),n=t(22250);let l=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...s})});l.displayName="Card";let i=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",t),...s})});i.displayName="CardHeader";let d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("h3",{ref:r,className:(0,n.cn)("font-semibold leading-none tracking-tight",t),...s})});d.displayName="CardTitle";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("p",{ref:r,className:(0,n.cn)("text-sm text-muted-foreground",t),...s})});c.displayName="CardDescription";let o=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("p-6 pt-0",t),...s})});o.displayName="CardContent";let u=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:(0,n.cn)("flex items-center p-6 pt-0",t),...s})});u.displayName="CardFooter"},76554:(e,r,t)=>{t.d(r,{Separator:()=>i});var a=t(20475),s=t(20107),n=t(88853),l=t(22250);let i=s.forwardRef((e,r)=>{let{className:t,orientation:s="horizontal",decorative:i=!0,...d}=e;return(0,a.jsx)(n.b,{ref:r,decorative:i,orientation:s,className:(0,l.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",t),...d})});i.displayName=n.b.displayName},36760:(e,r,t)=>{t.d(r,{E:()=>n});var a=t(20475),s=t(22250);function n(e){let{className:r,...t}=e;return(0,a.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-primary/10",r),...t})}},22250:(e,r,t)=>{t.d(r,{cn:()=>n});var a=t(64901),s=t(868);function n(){for(var e=arguments.length,r=Array(e),t=0;t{t.d(r,{A:()=>d});var a=t(20107);let s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=function(){for(var e=arguments.length,r=Array(e),t=0;t!!e&&t.indexOf(e)===r).join(" ")};var l={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,a.forwardRef)((e,r)=>{let{color:t="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:d,className:c="",children:o,iconNode:u,...m}=e;return(0,a.createElement)("svg",{ref:r,...l,width:s,height:s,stroke:t,strokeWidth:d?24*Number(i)/Number(s):i,className:n("lucide",c),...m},[...u.map(e=>{let[r,t]=e;return(0,a.createElement)(r,t)}),...Array.isArray(o)?o:[o]])}),d=(e,r)=>{let t=(0,a.forwardRef)((t,l)=>{let{className:d,...c}=t;return(0,a.createElement)(i,{ref:l,iconNode:r,className:n("lucide-".concat(s(e)),d),...c})});return t.displayName="".concat(e),t}},17799:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},8782:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},91994:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},92823:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(39997).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},34544:(e,r,t)=>{t.d(r,{hO:()=>d,sG:()=>i});var a=t(20107),s=t(25642),n=t(61837),l=t(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,r)=>{let t=a.forwardRef((e,t)=>{let{asChild:a,...s}=e,i=a?n.DX:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i,{...s,ref:t})});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{});function d(e,r){e&&s.flushSync(()=>e.dispatchEvent(r))}},88853:(e,r,t)=>{t.d(r,{b:()=>c});var a=t(20107),s=t(34544),n=t(20475),l="horizontal",i=["horizontal","vertical"],d=a.forwardRef((e,r)=>{let{decorative:t,orientation:a=l,...d}=e,c=i.includes(a)?a:l;return(0,n.jsx)(s.sG.div,{"data-orientation":c,...t?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...d,ref:r})});d.displayName="Separator";var c=d},29395:(e,r,t)=>{t.d(r,{F:()=>n});let a=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,s=function(){for(var e,r,t=0,a="";tt=>{var n;if((null==r?void 0:r.variants)==null)return s(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:l,defaultVariants:i}=r,d=Object.keys(l).map(e=>{let r=null==t?void 0:t[e],s=null==i?void 0:i[e];if(null===r)return null;let n=a(r)||a(s);return l[e][n]}),c=t&&Object.entries(t).reduce((e,r)=>{let[t,a]=r;return void 0===a||(e[t]=a),e},{});return s(e,d,null==r?void 0:null===(n=r.compoundVariants)||void 0===n?void 0:n.reduce((e,r)=>{let{class:t,className:a,...s}=r;return Object.entries(s).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...i,...c}[r]):({...i,...c})[r]===t})?[...e,t,a]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8363-7957017618190b59.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8363-7957017618190b59.js deleted file mode 100644 index c741653..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8363-7957017618190b59.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8363],{39997:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(20107);let i=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 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,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:l=2,absoluteStrokeWidth:c,className:u="",children:s,iconNode:f,...d}=e;return(0,r.createElement)("svg",{ref:t,...a,width:i,height:i,stroke:n,strokeWidth:c?24*Number(l)/Number(i):l,className:o("lucide",u),...d},[...f.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(s)?s:[s]])}),c=(e,t)=>{let n=(0,r.forwardRef)((n,a)=>{let{className:c,...u}=n;return(0,r.createElement)(l,{ref:a,iconNode:t,className:o("lucide-".concat(i(e)),c),...u})});return n.displayName="".concat(e),n}},17799:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},89463:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleArrowDown",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]])},622:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleArrowUp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]])},98969:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},14389:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]])},8782:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},54385:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},51589:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},10964:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]])},13624:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},99312:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},7778:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]])},25262:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},99015:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("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"}]])},97801:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("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"}]])},90304:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]])},20633:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},12607:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},92823:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},92776:function(e,t,n){var r=this&&this.__assign||function(){return(r=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 i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0});var c=a(n(20107)),u=n(22184),s=n(30120),f=[(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(-".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(-").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(-").concat(5,"rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-0"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(-".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(-").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(-").concat(3,"rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-1"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(-".concat(1,"rem) scale(0.75)}\n 75% {transform: translateX(-").concat(1,"rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-2"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(".concat(1,"rem) scale(0.75)}\n 75% {transform: translateX(").concat(1,"rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-3"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(").concat(3,"rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-4"),(0,s.createAnimation)("PropagateLoader","25% {transform: translateX(".concat(1,"rem) scale(0.75)}\n 50% {transform: translateX(").concat(3,"rem) scale(0.6)}\n 75% {transform: translateX(").concat(5,"rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"),"propogate-5")];t.default=function(e){var t=e.loading,n=e.color,i=void 0===n?"#000000":n,o=e.speedMultiplier,a=void 0===o?1:o,s=e.cssOverride,d=e.size,p=l(e,["loading","color","speedMultiplier","cssOverride","size"]),y=(0,u.parseLengthAndUnit)(void 0===d?15:d),h=y.value,m=y.unit,v=r({display:"inherit",position:"relative"},void 0===s?{}:s),g=function(e){return{position:"absolute",fontSize:"".concat(h/3).concat(m),width:"".concat(h).concat(m),height:"".concat(h).concat(m),background:i,borderRadius:"50%",animation:"".concat(f[e]," ").concat(1.5/a,"s infinite"),animationFillMode:"forwards"}};return void 0===t||t?c.createElement("span",r({style:v},p),c.createElement("span",{style:g(0)}),c.createElement("span",{style:g(1)}),c.createElement("span",{style:g(2)}),c.createElement("span",{style:g(3)}),c.createElement("span",{style:g(4)}),c.createElement("span",{style:g(5)})):null}},71834:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(20107),i={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function o(e){var t=function(e){if("number"==typeof e)return{value:e,unit:"px"};var t,n=(e.match(/^[0-9.]*/)||"").toString();t=n.includes(".")?parseFloat(n):parseInt(n,10);var r=(e.match(/[^0-9]*$/)||"").toString();return i[r]?{value:t,unit:r}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}(e);return"".concat(t.value).concat(t.unit)}var a=function(e,t,n){var r="react-spinners-".concat(e,"-").concat(n);if("undefined"==typeof window||!window.document)return r;var i=document.createElement("style");document.head.appendChild(i);var o=i.sheet,a="\n @keyframes ".concat(r," {\n ").concat(t,"\n }\n ");return o&&o.insertRule(a,0),r},l=function(){return(l=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 i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},u=[a("PuffLoader","0% {transform: scale(0)} 100% {transform: scale(1.0)}","puff-1"),a("PuffLoader","0% {opacity: 1} 100% {opacity: 0}","puff-2")];let s=function(e){var t=e.loading,n=e.color,i=void 0===n?"#000000":n,a=e.speedMultiplier,s=void 0===a?1:a,f=e.cssOverride,d=e.size,p=void 0===d?60:d,y=c(e,["loading","color","speedMultiplier","cssOverride","size"]),h=l({display:"inherit",position:"relative",width:o(p),height:o(p)},void 0===f?{}:f),m=function(e){return{position:"absolute",height:o(p),width:o(p),border:"thick solid ".concat(i),borderRadius:"50%",opacity:"1",top:"0",left:"0",animationFillMode:"both",animation:"".concat(u[0],", ").concat(u[1]),animationDuration:"".concat(2/s,"s"),animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(0.165, 0.84, 0.44, 1), cubic-bezier(0.3, 0.61, 0.355, 1)",animationDelay:1===e?"-1s":"0s"}};return void 0===t||t?r.createElement("span",l({style:h},y),r.createElement("span",{style:m(1)}),r.createElement("span",{style:m(2)})):null}},30120:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=void 0,t.createAnimation=function(e,t,n){var r="react-spinners-".concat(e,"-").concat(n);if("undefined"==typeof window||!window.document)return r;var i=document.createElement("style");document.head.appendChild(i);var o=i.sheet,a="\n @keyframes ".concat(r," {\n ").concat(t,"\n }\n ");return o&&o.insertRule(a,0),r}},22184:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.cssValue=t.parseLengthAndUnit=void 0;var n={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function r(e){if("number"==typeof e)return{value:e,unit:"px"};var t,r=(e.match(/^[0-9.]*/)||"").toString();t=r.includes(".")?parseFloat(r):parseInt(r,10);var i=(e.match(/[^0-9]*$/)||"").toString();return n[i]?{value:t,unit:i}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}t.parseLengthAndUnit=r,t.cssValue=function(e){var t=r(e);return"".concat(t.value).concat(t.unit)}},79492:(e,t,n)=>{n.d(t,{G:()=>z});var r=n(20107),i=n(64901),o=n(61075),a=n(14632),l=n.n(a),c=n(12838),u=n.n(c),s=n(87107),f=n.n(s),d=n(50801),p=n.n(d),y=n(6440),h=n.n(y),m=n(60992),v=n(42555),g=n(37819),b=n(58864),x=n(95392),w=n(89952),A=n(95492),O=n(61211),k=["layout","type","stroke","connectNulls","isRange","ref"],E=["key"];function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function D(){return(D=Object.assign?Object.assign.bind():function(e){for(var t=1;t0||!h()(l,r)||!h()(c,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,i,e,t)}},{key:"render",value:function(){var e,t=this.props,n=t.hide,o=t.dot,a=t.points,l=t.className,c=t.top,u=t.left,s=t.xAxis,d=t.yAxis,p=t.width,y=t.height,h=t.isAnimationActive,m=t.id;if(n||!a||!a.length)return null;var v=this.state.isAnimationFinished,x=1===a.length,w=(0,i.A)("recharts-area",l),A=s&&s.allowDataOverflow,k=d&&d.allowDataOverflow,E=A||k,j=f()(m)?this.id:m,P=null!==(e=(0,O.J9)(o,!1))&&void 0!==e?e:{r:3,strokeWidth:2},D=P.r,S=P.strokeWidth,M=((0,O.sT)(o)?o:{}).clipDot,C=void 0===M||M,I=2*(void 0===D?3:D)+(void 0===S?2:S);return r.createElement(g.W,{className:w},A||k?r.createElement("defs",null,r.createElement("clipPath",{id:"clipPath-".concat(j)},r.createElement("rect",{x:A?u:u-p/2,y:k?c:c-y/2,width:A?p:2*p,height:k?y:2*y})),!C&&r.createElement("clipPath",{id:"clipPath-dots-".concat(j)},r.createElement("rect",{x:u-I/2,y:c-I/2,width:p+I,height:y+I}))):null,x?null:this.renderArea(E,j),(o||x)&&this.renderDots(E,C,j),(!h||v)&&b.Z.renderCallByParent(this.props,a))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],t&&C(a.prototype,t),n&&C(a,n),Object.defineProperty(a,"prototype",{writable:!1}),a}(r.PureComponent);R(z,"displayName","Area"),R(z,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!x.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),R(z,"getBaseValue",function(e,t,n,r){var i=e.layout,o=e.baseValue,a=t.props.baseValue,l=null!=a?a:o;if((0,w.Et)(l)&&"number"==typeof l)return l;var c="horizontal"===i?r:n,u=c.scale.domain();if("number"===c.type){var s=Math.max(u[0],u[1]),f=Math.min(u[0],u[1]);return"dataMin"===l?f:"dataMax"===l?s:s<0?s:Math.max(Math.min(u[0],u[1]),0)}return"dataMin"===l?u[0]:"dataMax"===l?u[1]:u[0]}),R(z,"getComposedData",function(e){var t,n=e.props,r=e.item,i=e.xAxis,o=e.yAxis,a=e.xAxisTicks,l=e.yAxisTicks,c=e.bandSize,u=e.dataKey,s=e.stackedData,f=e.dataStartIndex,d=e.displayedData,p=e.offset,y=n.layout,h=s&&s.length,m=z.getBaseValue(n,r,i,o),v="horizontal"===y,g=!1,b=d.map(function(e,t){h?n=s[f+t]:Array.isArray(n=(0,A.kr)(e,u))?g=!0:n=[m,n];var n,r=null==n[1]||h&&null==(0,A.kr)(e,u);return v?{x:(0,A.nb)({axis:i,ticks:a,bandSize:c,entry:e,index:t}),y:r?null:o.scale(n[1]),value:n,payload:e}:{x:r?null:i.scale(n[1]),y:(0,A.nb)({axis:o,ticks:l,bandSize:c,entry:e,index:t}),value:n,payload:e}});return t=h||g?b.map(function(e){var t=Array.isArray(e.value)?e.value[0]:null;return v?{x:e.x,y:null!=t&&null!=e.y?o.scale(t):null}:{x:null!=t?i.scale(t):null,y:e.y}}):v?o.scale(m):i.scale(m),M({points:b,baseLine:t,layout:y,isRange:g},p)}),R(z,"renderDotItem",function(e,t){var n;if(r.isValidElement(e))n=r.cloneElement(e,t);else if(l()(e))n=e(t);else{var o=(0,i.A)("recharts-area-dot","boolean"!=typeof e?e.className:""),a=t.key,c=P(t,E);n=r.createElement(v.c,D({},c,{key:a,className:o}))}return n})},94005:(e,t,n)=>{n.d(t,{d:()=>S});var r=n(20107),i=n(14632),o=n.n(i),a=n(42228),l=n(89952),c=n(61211),u=n(95492),s=n(62882),f=n(67064),d=n(25161),p=["x1","y1","x2","y2","key"],y=["offset"];function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var x=function(e){var t=e.fill;if(!t||"none"===t)return null;var n=e.fillOpacity,i=e.x,o=e.y,a=e.width,l=e.height,c=e.ry;return r.createElement("rect",{x:i,y:o,ry:c,width:a,height:l,stroke:"none",fill:t,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function w(e,t){var n;if(r.isValidElement(e))n=r.cloneElement(e,t);else if(o()(e))n=e(t);else{var i=t.x1,a=t.y1,l=t.x2,u=t.y2,s=t.key,f=b(t,p),d=(0,c.J9)(f,!1),h=(d.offset,b(d,y));n=r.createElement("line",g({},h,{x1:i,y1:a,x2:l,y2:u,fill:"none",key:s}))}return n}function A(e){var t=e.x,n=e.width,i=e.horizontal,o=void 0===i||i,a=e.horizontalPoints;if(!o||!a||!a.length)return null;var l=a.map(function(r,i){return w(o,v(v({},e),{},{x1:t,y1:r,x2:t+n,y2:r,key:"line-".concat(i),index:i}))});return r.createElement("g",{className:"recharts-cartesian-grid-horizontal"},l)}function O(e){var t=e.y,n=e.height,i=e.vertical,o=void 0===i||i,a=e.verticalPoints;if(!o||!a||!a.length)return null;var l=a.map(function(r,i){return w(o,v(v({},e),{},{x1:r,y1:t,x2:r,y2:t+n,key:"line-".concat(i),index:i}))});return r.createElement("g",{className:"recharts-cartesian-grid-vertical"},l)}function k(e){var t=e.horizontalFill,n=e.fillOpacity,i=e.x,o=e.y,a=e.width,l=e.height,c=e.horizontalPoints,u=e.horizontal;if(!(void 0===u||u)||!t||!t.length)return null;var s=c.map(function(e){return Math.round(e+o-o)}).sort(function(e,t){return e-t});o!==s[0]&&s.unshift(0);var f=s.map(function(e,c){var u=s[c+1]?s[c+1]-e:o+l-e;if(u<=0)return null;var f=c%t.length;return r.createElement("rect",{key:"react-".concat(c),y:e,x:i,height:u,width:a,stroke:"none",fill:t[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return r.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function E(e){var t=e.vertical,n=e.verticalFill,i=e.fillOpacity,o=e.x,a=e.y,l=e.width,c=e.height,u=e.verticalPoints;if(!(void 0===t||t)||!n||!n.length)return null;var s=u.map(function(e){return Math.round(e+o-o)}).sort(function(e,t){return e-t});o!==s[0]&&s.unshift(0);var f=s.map(function(e,t){var u=s[t+1]?s[t+1]-e:o+l-e;if(u<=0)return null;var f=t%n.length;return r.createElement("rect",{key:"react-".concat(t),x:e,y:a,width:u,height:c,stroke:"none",fill:n[f],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return r.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var j=function(e,t){var n=e.xAxis,r=e.width,i=e.height,o=e.offset;return(0,u.PW)((0,s.f)(v(v(v({},f.u.defaultProps),n),{},{ticks:(0,u.Rh)(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),o.left,o.left+o.width,t)},P=function(e,t){var n=e.yAxis,r=e.width,i=e.height,o=e.offset;return(0,u.PW)((0,s.f)(v(v(v({},f.u.defaultProps),n),{},{ticks:(0,u.Rh)(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),o.top,o.top+o.height,t)},D={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function S(e){var t,n,i,c,u,s,f=(0,d.yi)(),p=(0,d.rY)(),y=(0,d.hj)(),m=v(v({},e),{},{stroke:null!==(t=e.stroke)&&void 0!==t?t:D.stroke,fill:null!==(n=e.fill)&&void 0!==n?n:D.fill,horizontal:null!==(i=e.horizontal)&&void 0!==i?i:D.horizontal,horizontalFill:null!==(c=e.horizontalFill)&&void 0!==c?c:D.horizontalFill,vertical:null!==(u=e.vertical)&&void 0!==u?u:D.vertical,verticalFill:null!==(s=e.verticalFill)&&void 0!==s?s:D.verticalFill,x:(0,l.Et)(e.x)?e.x:y.left,y:(0,l.Et)(e.y)?e.y:y.top,width:(0,l.Et)(e.width)?e.width:y.width,height:(0,l.Et)(e.height)?e.height:y.height}),b=m.x,w=m.y,S=m.width,M=m.height,C=m.syncWithTicks,I=m.horizontalValues,N=m.verticalValues,L=(0,d.pj)(),R=(0,d.$G)();if(!(0,l.Et)(S)||S<=0||!(0,l.Et)(M)||M<=0||!(0,l.Et)(b)||b!==+b||!(0,l.Et)(w)||w!==+w)return null;var F=m.verticalCoordinatesGenerator||j,z=m.horizontalCoordinatesGenerator||P,_=m.horizontalPoints,T=m.verticalPoints;if((!_||!_.length)&&o()(z)){var B=I&&I.length,V=z({yAxis:R?v(v({},R),{},{ticks:B?I:R.ticks}):void 0,width:f,height:p,offset:y},!!B||C);(0,a.R)(Array.isArray(V),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(h(V),"]")),Array.isArray(V)&&(_=V)}if((!T||!T.length)&&o()(F)){var X=N&&N.length,W=F({xAxis:L?v(v({},L),{},{ticks:X?N:L.ticks}):void 0,width:f,height:p,offset:y},!!X||C);(0,a.R)(Array.isArray(W),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(h(W),"]")),Array.isArray(W)&&(T=W)}return r.createElement("g",{className:"recharts-cartesian-grid"},r.createElement(x,{fill:m.fill,fillOpacity:m.fillOpacity,x:m.x,y:m.y,width:m.width,height:m.height,ry:m.ry}),r.createElement(A,g({},m,{offset:y,horizontalPoints:_,xAxis:L,yAxis:R})),r.createElement(O,g({},m,{offset:y,verticalPoints:T,xAxis:L,yAxis:R})),r.createElement(k,g({},m,{horizontalPoints:_})),r.createElement(E,g({},m,{verticalPoints:T})))}S.displayName="CartesianGrid"},53134:(e,t,n)=>{n.d(t,{Q:()=>c});var r=n(90805),i=n(79492),o=n(4538),a=n(41797),l=n(98456),c=(0,r.gu)({chartName:"AreaChart",GraphicalChild:i.G,axisComponents:[{axisType:"xAxis",AxisComp:o.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:l.pr})},60241:(e,t,n)=>{n.d(t,{G$:()=>$,Hs:()=>w,UC:()=>et,VY:()=>er,ZL:()=>Q,bL:()=>K,bm:()=>ei,hE:()=>en,hJ:()=>ee,l9:()=>Y});var r=n(20107),i=n(94521),o=n(64236),a=n(45170),l=n(72763),c=n(13061),u=n(55302),s=n(38573),f=n(41913),d=n(54245),p=n(34544),y=n(10201),h=n(9543),m=n(58020),v=n(61837),g=n(20475),b="Dialog",[x,w]=(0,a.A)(b),[A,O]=x(b),k=e=>{let{__scopeDialog:t,children:n,open:i,defaultOpen:o,onOpenChange:a,modal:u=!0}=e,s=r.useRef(null),f=r.useRef(null),[d=!1,p]=(0,c.i)({prop:i,defaultProp:o,onChange:a});return(0,g.jsx)(A,{scope:t,triggerRef:s,contentRef:f,contentId:(0,l.B)(),titleId:(0,l.B)(),descriptionId:(0,l.B)(),open:d,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:u,children:n})};k.displayName=b;var E="DialogTrigger",j=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=O(E,n),l=(0,o.s)(t,a.triggerRef);return(0,g.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":G(a.open),...r,ref:l,onClick:(0,i.m)(e.onClick,a.onOpenToggle)})});j.displayName=E;var P="DialogPortal",[D,S]=x(P,{forceMount:void 0}),M=e=>{let{__scopeDialog:t,forceMount:n,children:i,container:o}=e,a=O(P,t);return(0,g.jsx)(D,{scope:t,forceMount:n,children:r.Children.map(i,e=>(0,g.jsx)(d.C,{present:n||a.open,children:(0,g.jsx)(f.Z,{asChild:!0,container:o,children:e})}))})};M.displayName=P;var C="DialogOverlay",I=r.forwardRef((e,t)=>{let n=S(C,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=O(C,e.__scopeDialog);return o.modal?(0,g.jsx)(d.C,{present:r||o.open,children:(0,g.jsx)(N,{...i,ref:t})}):null});I.displayName=C;var N=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=O(C,n);return(0,g.jsx)(h.A,{as:v.DX,allowPinchZoom:!0,shards:[i.contentRef],children:(0,g.jsx)(p.sG.div,{"data-state":G(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),L="DialogContent",R=r.forwardRef((e,t)=>{let n=S(L,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=O(L,e.__scopeDialog);return(0,g.jsx)(d.C,{present:r||o.open,children:o.modal?(0,g.jsx)(F,{...i,ref:t}):(0,g.jsx)(z,{...i,ref:t})})});R.displayName=L;var F=r.forwardRef((e,t)=>{let n=O(L,e.__scopeDialog),a=r.useRef(null),l=(0,o.s)(t,n.contentRef,a);return r.useEffect(()=>{let e=a.current;if(e)return(0,m.Eq)(e)},[]),(0,g.jsx)(_,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,i.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,i.m)(e.onFocusOutside,e=>e.preventDefault())})}),z=r.forwardRef((e,t)=>{let n=O(L,e.__scopeDialog),i=r.useRef(!1),o=r.useRef(!1);return(0,g.jsx)(_,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,a;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(i.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{var r,a;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"!==t.detail.originalEvent.type||(o.current=!0));let l=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),_=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:l,...c}=e,f=O(L,n),d=r.useRef(null),p=(0,o.s)(t,d);return(0,y.Oh)(),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(s.n,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:l,children:(0,g.jsx)(u.qW,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":G(f.open),...c,ref:p,onDismiss:()=>f.onOpenChange(!1)})}),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(J,{titleId:f.titleId}),(0,g.jsx)(Z,{contentRef:d,descriptionId:f.descriptionId})]})]})}),T="DialogTitle",B=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=O(T,n);return(0,g.jsx)(p.sG.h2,{id:i.titleId,...r,ref:t})});B.displayName=T;var V="DialogDescription",X=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=O(V,n);return(0,g.jsx)(p.sG.p,{id:i.descriptionId,...r,ref:t})});X.displayName=V;var W="DialogClose",q=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=O(W,n);return(0,g.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,i.m)(e.onClick,()=>o.onOpenChange(!1))})});function G(e){return e?"open":"closed"}q.displayName=W;var H="DialogTitleWarning",[$,U]=(0,a.q)(H,{contentName:L,titleName:T,docsSlug:"dialog"}),J=e=>{let{titleId:t}=e,n=U(H),i="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&!document.getElementById(t)&&console.error(i)},[i,t]),null},Z=e=>{let{contentRef:t,descriptionId:n}=e,i=U("DialogDescriptionWarning"),o="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(i.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(o)},[o,t,n]),null},K=k,Y=j,Q=M,ee=I,et=R,en=B,er=X,ei=q},74043:(e,t,n)=>{n.d(t,{A:()=>E});var r=n(20107);function i(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],a=t[n];return"function"==typeof r?`${r}`==`${a}`:i(r)&&i(a)?o(r,a):r===a})}function a(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function l(e){return"number"==typeof e}function c(e){return"string"==typeof e}function u(e){return"boolean"==typeof e}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function f(e){return Math.abs(e)}function d(e){return Math.sign(e)}function p(e){return v(e).map(Number)}function y(e){return e[h(e)]}function h(e){return Math.max(0,e.length-1)}function m(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function v(e){return Object.keys(e)}function g(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function b(){let e=[],t={add:function(n,r,i,o={passive:!0}){let a;return"addEventListener"in n?(n.addEventListener(r,i,o),a=()=>n.removeEventListener(r,i,o)):(n.addListener(i),a=()=>n.removeListener(i)),e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function x(e=0,t=0){let n=f(e-t);function r(n){return nt}return{length:n,max:t,min:e,constrain:function(n){return r(n)?nt},reachedMin:function(t){return t(v(n).forEach(r=>{let i=t[r],o=n[r],a=s(i)&&s(o);t[r]=a?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=v(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>v(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(P),S=(E=[],{init:function(e,t){return(E=t.filter(({options:e})=>!1!==D.optionsAtMedia(e).active)).forEach(t=>t.init(e,D)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){E=E.filter(e=>e.destroy())}}),M=b(),C=function(){let e,t={},n={init:function(t){e=t},emit:function(r){return(t[r]||[]).forEach(t=>t(e,r)),n},off:function(e,r){return t[e]=(t[e]||[]).filter(e=>e!==r),n},on:function(e,r){return t[e]=(t[e]||[]).concat([r]),n},clear:function(){t={}}};return n}(),{mergeOptions:I,optionsAtMedia:N,optionsMediaQueries:L}=D,{on:R,off:F,emit:z}=C,_=!1,T=I(O,k.globalOptions),B=I(T),V=[];function X(t,n){!_&&(B=N(T=I(T,t)),V=n||V,function(){let{container:t,slides:n}=B;o=(c(t)?e.querySelector(t):t)||e.children[0];let r=c(n)?o.querySelectorAll(n):n;a=[].slice.call(r||o.children)}(),r=function t(n){let r=function(e,t,n,r,i,o,a){let s,O;let{align:k,axis:E,direction:j,startIndex:P,loop:D,duration:S,dragFree:M,dragThreshold:C,inViewThreshold:I,slidesToScroll:N,skipSnaps:L,containScroll:R,watchResize:F,watchSlides:z,watchDrag:_,watchFocus:T}=o,B={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},V=B.measure(t),X=n.map(B.measure),W=function(e,t){let n="rtl"===t,r="y"===e,i=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){let{height:t,width:n}=e;return r?t:n},direction:function(e){return e*i}}}(E,j),q=W.measureSize(V),G={measure:function(e){return e/100*q}},H=function(e,t){let n={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}};return{measure:function(r,i){return c(e)?n[e](r):e(t,r,i)}}}(k,q),$=!D&&!!R,{slideSizes:U,slideSizesWithGaps:J,startGap:Z,endGap:K}=function(e,t,n,r,i,o){let{measureSize:a,startEdge:l,endEdge:c}=e,u=n[0]&&i,s=function(){if(!u)return 0;let e=n[0];return f(t[l]-e[l])}(),d=u?parseFloat(o.getComputedStyle(y(r)).getPropertyValue(`margin-${c}`)):0,p=n.map(a),m=n.map((e,t,n)=>{let r=t===h(n);return t?r?p[t]+d:n[t+1][l]-e[l]:p[t]+s}).map(f);return{slideSizes:p,slideSizesWithGaps:m,startGap:s,endGap:d}}(W,V,X,n,D||!!R,i),Y=function(e,t,n,r,i,o,a,c,u){let{startEdge:s,endEdge:d,direction:m}=e,v=l(n);return{groupSlides:function(e){return v?p(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?p(e).reduce((n,l,u)=>{let p=y(n)||0,v=l===h(e),g=i[s]-o[p][s],b=i[s]-o[l][d],x=r||0!==p?0:m(a),w=f(b-(!r&&v?m(c):0)-(g+x));return u&&w>t+2&&n.push(l),v&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(W,q,N,D,V,X,Z,K,0),{snaps:Q,snapsAligned:ee}=function(e,t,n,r,i){let{startEdge:o,endEdge:a}=e,{groupSlides:l}=i,c=l(r).map(e=>y(e)[a]-e[0][o]).map(f).map(t.measure),u=r.map(e=>n[o]-e[o]).map(e=>-f(e)),s=l(u).map(e=>e[0]).map((e,t)=>e+c[t]);return{snaps:u,snapsAligned:s}}(W,H,V,X,Y),et=-y(Q)+y(J),{snapsContained:en,scrollContainLimit:er}=function(e,t,n,r,i){let o=x(-t+e,0),a=n.map((e,t)=>{let{min:r,max:i}=o,a=o.constrain(e),l=t===h(n);return t?l||1>f(r-a)?r:1>f(i-a)?i:a:i}).map(e=>parseFloat(e.toFixed(3))),l=function(){let e=a[0],t=y(a);return x(a.lastIndexOf(e),a.indexOf(t)+1)}();return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===r)return a;let{min:n,max:i}=l;return a.slice(n,i)}(),scrollContainLimit:l}}(q,et,ee,R,0),ei=$?en:ee,{limit:eo}=function(e,t,n){let r=t[0];return{limit:x(n?r-e:y(t),r)}}(et,ei,D),ea=function e(t,n,r){let{constrain:i}=x(0,t),o=t+1,a=l(n);function l(e){return r?f((o+e)%o):i(e)}function c(){return e(t,a,r)}let u={get:function(){return a},set:function(e){return a=l(e),u},add:function(e){return c().set(a+e)},clone:c};return u}(h(ei),P,D),el=ea.clone(),ec=p(n),eu=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}},i)=>{r||n.constrain(e.pointerDown()),t.seek(i)},es=({scrollBody:e,translate:t,location:n,offsetLocation:r,scrollLooper:i,slideLooper:o,dragHandler:a,animation:l,eventHandler:c,scrollBounds:u,options:{loop:s}},f)=>{let d=e.settled(),p=!u.shouldConstrain(),y=s?d:d&&p;y&&!a.pointerDown()&&(l.stop(),c.emit("settle")),y||c.emit("scroll");let h=n.get()*f+ey.get()*(1-f);r.set(h),s&&(i.loop(e.direction()),o.loop()),t.to(r.get())},ef=function(e,t,n,r){let i=b(),o=1e3/60,a=null,l=0,c=0;function u(e){if(!c)return;a||(a=e);let i=e-a;for(a=e,l+=i;l>=o;)n(o),l-=o;r(l/o),c&&t.requestAnimationFrame(u)}function s(){t.cancelAnimationFrame(c),a=null,l=0,c=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,l=0)})},destroy:function(){s(),i.clear()},start:function(){c||(c=t.requestAnimationFrame(u))},stop:s,update:()=>n(o),render:r}}(r,i,e=>eu(eE,e),e=>es(eE,e)),ed=ei[ea.get()],ep=w(ed),ey=w(ed),eh=w(ed),em=w(ed),ev=function(e,t,n,r,i,o){let a=0,l=0,c=i,u=.68,s=e.get(),p=0;function y(e){return c=e,m}function h(e){return u=e,m}let m={direction:function(){return l},duration:function(){return c},velocity:function(){return a},seek:function(t){let i=t/1e3,o=c*i,f=r.get()-e.get(),y=0;return c?(n.set(e),a+=f/o,a*=u,s+=a,e.add(a*i),y=s-p):(a=0,n.set(r),e.set(r),y=f),l=d(y),p=s,m},settled:function(){return .001>f(r.get()-t.get())},useBaseFriction:function(){return h(.68)},useBaseDuration:function(){return y(i)},useFriction:h,useDuration:y};return m}(ep,eh,ey,em,S,0),eg=function(e,t,n,r,i){let{reachedAny:o,removeOffset:a,constrain:l}=r;function c(e){return e.concat().sort((e,t)=>f(e)-f(t))[0]}function u(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return c(i);let o=i.filter(e=>d(e)===r);return o.length?c(o):y(i)-n}return{byDistance:function(n,r){let c=i.get()+n,{index:s,distance:d}=function(n){let r=e?a(n):l(n),{index:i}=t.map((e,t)=>({diff:u(e-r,0),index:t})).sort((e,t)=>f(e.diff)-f(t.diff))[0];return{index:i,distance:r}}(c),p=!e&&o(c);if(!r||p)return{index:s,distance:n};let y=n+u(t[s]-d,0);return{index:s,distance:y}},byIndex:function(e,n){let r=u(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:u}}(D,ei,et,eo,em),eb=function(e,t,n,r,i,o,a){function l(i){let l=i.distance,c=i.index!==t.get();o.add(l),l&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),c&&(n.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){l(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);l(i.byIndex(r.get(),n))}}}(ef,ea,el,ev,eg,em,a),ex=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eo),ew=b(),eA=function(e,t,n,r){let i;let o={},a=null,l=null,c=!1;return{init:function(){i=new IntersectionObserver(e=>{c||(e.forEach(e=>{o[t.indexOf(e.target)]=e}),a=null,l=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>i.observe(e))},destroy:function(){i&&i.disconnect(),c=!0},get:function(e=!0){if(e&&a)return a;if(!e&&l)return l;let t=v(o).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(a=t),e||(l=t),t}}}(t,n,a,I),{slideRegistry:eO}=function(e,t,n,r,i,o){let{groupSlides:a}=i,{min:l,max:c}=r;return{slideRegistry:function(){let r=a(o);return 1===n.length?[o]:e&&"keepSnaps"!==t?r.slice(l,c).map((e,t,n)=>{let r=t===h(n);return t?r?m(h(o)-y(n)[0]+1,y(n)[0]):e:m(y(n[0])+1)}):r}()}}($,R,ei,er,Y,ec),ek=function(e,t,n,r,i,o,a,c){let s={passive:!0,capture:!0},f=0;function d(e){"Tab"===e.code&&(f=new Date().getTime())}return{init:function(p){c&&(o.add(document,"keydown",d,!1),t.forEach((t,d)=>{o.add(t,"focus",t=>{(u(c)||c(p,t))&&function(t){if(new Date().getTime()-f>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));l(o)&&(i.useDuration(0),r.index(o,0),a.emit("slideFocus"))}(d)},s)}))}}}(e,n,eO,eb,ev,ew,a,T),eE={ownerDocument:r,ownerWindow:i,eventHandler:a,containerRect:V,slideRects:X,animation:ef,axis:W,dragHandler:function(e,t,n,r,i,o,a,l,c,s,p,y,h,m,v,w,A,O,k){let{cross:E,direction:j}=e,P=["INPUT","SELECT","TEXTAREA"],D={passive:!1},S=b(),M=b(),C=x(50,225).constrain(m.measure(20)),I={mouse:300,touch:400},N={mouse:500,touch:600},L=v?43:25,R=!1,F=0,z=0,_=!1,T=!1,B=!1,V=!1;function X(e){if(!g(e,r)&&e.touches.length>=2)return W(e);let t=o.readPoint(e),n=o.readPoint(e,E),a=f(t-F),c=f(n-z);if(!T&&!V&&(!e.cancelable||!(T=a>c)))return W(e);let u=o.pointerMove(e);a>w&&(B=!0),s.useFriction(.3).useDuration(.75),l.start(),i.add(j(u)),e.preventDefault()}function W(e){let t=p.byDistance(0,!1).index!==y.get(),n=o.pointerUp(e)*(v?N:I)[V?"mouse":"touch"],r=function(e,t){let n=y.add(-1*d(e)),r=p.byDistance(e,!v).distance;return v||f(e)e.preventDefault(),D).add(t,"touchmove",()=>void 0,D).add(t,"touchend",()=>void 0).add(t,"touchstart",l).add(t,"mousedown",l).add(t,"touchcancel",W).add(t,"contextmenu",W).add(t,"click",q,!0);function l(l){(u(k)||k(e,l))&&function(e){let l=g(e,r);V=l,B=v&&l&&!e.buttons&&R,R=f(i.get()-a.get())>=2,l&&0!==e.button||function(e){let t=e.nodeName||"";return P.includes(t)}(e.target)||(_=!0,o.pointerDown(e),s.useFriction(0).useDuration(0),i.set(a),function(){let e=V?n:t;M.add(e,"touchmove",X,D).add(e,"touchend",W).add(e,"mousemove",X,D).add(e,"mouseup",W)}(),F=o.readPoint(e),z=o.readPoint(e,E),h.emit("pointerDown"))}(l)}},destroy:function(){S.clear(),M.clear()},pointerDown:function(){return _}}}(W,e,r,i,em,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(g(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),a=i(e)-i(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),a=i(e)-i(n),l=i(e)-i(r)>170,c=t/a;return a&&!l&&f(c)>.1?c:0},readPoint:o}}(W,i),ep,ef,eb,ev,eg,ea,a,G,M,C,L,0,_),eventStore:ew,percentOfView:G,index:ea,indexPrevious:el,limit:eo,location:ep,offsetLocation:eh,previousLocation:ey,options:o,resizeHandler:function(e,t,n,r,i,o,a){let l,c;let s=[e].concat(r),d=[],p=!1;function y(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(c=y(e),d=r.map(y),l=new ResizeObserver(n=>{(u(o)||o(i,n))&&function(n){for(let o of n){if(p)return;let n=o.target===e,a=r.indexOf(o.target),l=n?c:d[a];if(f(y(n?e:r[a])-l)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{s.forEach(e=>l.observe(e))}))},destroy:function(){p=!0,l&&l.disconnect()}}}(t,a,i,n,W,F,B),scrollBody:ev,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),a=i.measure(50),l=x(.1,.99),c=!1;function u(){return!!(!c&&e.reachedAny(n.get())&&e.reachedAny(t.get()))}return{shouldConstrain:u,constrain:function(i){if(!u())return;let c=e.reachedMin(t.get())?"min":"max",s=f(e[c]-t.get()),d=n.get()-t.get(),p=l.constrain(s/a);n.subtract(d*p),!i&&f(d)e.add(a))}}}(et,eo,eh,[ep,eh,ey,em]),scrollProgress:ex,scrollSnapList:ei.map(ex.get),scrollSnaps:ei,scrollTarget:eg,scrollTo:eb,slideLooper:function(e,t,n,r,i,o,a,l,c){let u=p(i),s=y(d(p(i).reverse(),a[0]),n,!1).concat(y(d(u,t-a[0]-1),-n,!0));function f(e,t){return e.reduce((e,t)=>e-i[t],t)}function d(e,t){return e.reduce((e,n)=>f(e,t)>0?e.concat([n]):e,[])}function y(i,a,u){let s=o.map((e,n)=>({start:e-r[n]+.5+a,end:e+t-.5+a}));return i.map(t=>{let r=u?0:-n,i=u?n:0,o=s[t][u?"end":"start"];return{index:t,loopPoint:o,slideLocation:w(-1),translate:A(e,c[t]),target:()=>l.get()>o?r:i}})}return{canLoop:function(){return s.every(({index:e})=>.1>=f(u.filter(t=>t!==e),t))},clear:function(){s.forEach(e=>e.translate.clear())},loop:function(){s.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:s}}(W,q,et,U,J,Q,ei,eh,n),slideFocus:ek,slidesHandler:(O=!1,{init:function(e){z&&(s=new MutationObserver(t=>{!O&&(u(z)||z(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),a.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){s&&s.disconnect(),O=!0}}),slidesInView:eA,slideIndexes:ec,slideRegistry:eO,slidesToScroll:Y,target:em,translate:A(W,t)};return eE}(e,o,a,j,P,n,C);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(B),L([T,...V.map(({options:e})=>e)]).forEach(e=>M.add(e,"change",W)),B.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init($),r.eventHandler.init($),r.resizeHandler.init($),r.slidesHandler.init($),r.options.loop&&r.slideLooper.loop(),o.offsetParent&&a.length&&r.dragHandler.init($),i=S.init($,V)))}function W(e,t){let n=H();q(),X(I({startIndex:n},e),t),C.emit("reInit")}function q(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),S.destroy(),M.clear()}function G(e,t,n){B.active&&!_&&(r.scrollBody.useBaseFriction().useDuration(!0===t?0:B.duration),r.scrollTo.index(e,n||0))}function H(){return r.index.get()}let $={canScrollNext:function(){return r.index.add(1).get()!==H()},canScrollPrev:function(){return r.index.add(-1).get()!==H()},containerNode:function(){return o},internalEngine:function(){return r},destroy:function(){_||(_=!0,M.clear(),q(),C.emit("destroy"),C.clear())},off:F,on:R,emit:z,plugins:function(){return i},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:W,rootNode:function(){return e},scrollNext:function(e){G(r.index.add(1).get(),e,-1)},scrollPrev:function(e){G(r.index.add(-1).get(),e,1)},scrollProgress:function(){return r.scrollProgress.get(r.location.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:G,selectedScrollSnap:H,slideNodes:function(){return a},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return X(t,n),setTimeout(()=>C.emit("init"),0),$}function E(e={},t=[]){let n=(0,r.useRef)(e),i=(0,r.useRef)(t),[l,c]=(0,r.useState)(),[u,s]=(0,r.useState)(),f=(0,r.useCallback)(()=>{l&&l.reInit(n.current,i.current)},[l]);return(0,r.useEffect)(()=>{o(n.current,e)||(n.current=e,f())},[e,f]),(0,r.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=a(e),r=a(t);return n.every((e,t)=>o(e,r[t]))}(i.current,t)&&(i.current=t,f())},[t,f]),(0,r.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&u){k.globalOptions=E.globalOptions;let e=k(u,n.current,i.current);return c(e),()=>e.destroy()}c(void 0)},[u,c]),[s,l]}k.globalOptions=void 0,E.globalOptions=void 0}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2114-92d0d24d59f5a958.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8704-236b9f074b4600d3.js similarity index 52% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2114-92d0d24d59f5a958.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8704-236b9f074b4600d3.js index 171881b..730abb2 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/2114-92d0d24d59f5a958.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8704-236b9f074b4600d3.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2114],{39997:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(20107);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let u=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:u=2,absoluteStrokeWidth:a,className:s="",children:c,iconNode:f,...d}=e;return(0,n.createElement)("svg",{ref:t,...i,width:o,height:o,stroke:r,strokeWidth:a?24*Number(u)/Number(o):u,className:l("lucide",s),...d},[...f.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),a=(e,t)=>{let r=(0,n.forwardRef)((r,i)=>{let{className:a,...s}=r;return(0,n.createElement)(u,{ref:i,iconNode:t,className:l("lucide-".concat(o(e)),a),...s})});return r.displayName="".concat(e),r}},79266:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]])},37369:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]])},94521:(e,t,r)=>{r.d(t,{m:()=>n});function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},19619:(e,t,r)=>{r.d(t,{s:()=>i,t:()=>l});var n=r(20107);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{r.d(t,{A:()=>i,q:()=>l});var n=r(20107),o=r(20475);function l(e,t){let r=n.createContext(t),l=e=>{let{children:t,...l}=e,i=n.useMemo(()=>l,Object.values(l));return(0,o.jsx)(r.Provider,{value:i,children:t})};return l.displayName=e+"Provider",[l,function(o){let l=n.useContext(r);if(l)return l;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function i(e,t=[]){let r=[],l=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return l.scopeName=e,[function(t,l){let i=n.createContext(l),u=r.length;r=[...r,l];let a=t=>{let{scope:r,children:l,...a}=t,s=r?.[e]?.[u]||i,c=n.useMemo(()=>a,Object.values(a));return(0,o.jsx)(s.Provider,{value:c,children:l})};return a.displayName=t+"Provider",[a,function(r,o){let a=o?.[e]?.[u]||i,s=n.useContext(a);if(s)return s;if(void 0!==l)return l;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(l,...t)]}},1068:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(20107),o=r(20475);function l(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(t,l){let i=n.createContext(l),u=r.length;r=[...r,l];let a=t=>{let{scope:r,children:l,...a}=t,s=r?.[e]?.[u]||i,c=n.useMemo(()=>a,Object.values(a));return(0,o.jsx)(s.Provider,{value:c,children:l})};return a.displayName=t+"Provider",[a,function(r,o){let a=o?.[e]?.[u]||i,s=n.useContext(a);if(s)return s;if(void 0!==l)return l;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(i,...t)]}},21840:(e,t,r)=>{r.d(t,{b:()=>u});var n=r(20107),o=r(34544),l=r(20475),i=n.forwardRef((e,t)=>(0,l.jsx)(o.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName="Label";var u=i},26702:(e,t,r)=>{r.d(t,{sG:()=>i});var n=r(20107);r(25642);var o=r(44505),l=r(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,o.TL)(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:o,...i}=e,u=o?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(u,{...i,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{})},34544:(e,t,r)=>{r.d(t,{hO:()=>a,sG:()=>u});var n=r(20107),o=r(25642),l=r(61837),i=r(20475),u=["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,...o}=e,u=n?l.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(u,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function a(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},44505:(e,t,r)=>{r.d(t,{TL:()=>i});var n=r(20107),o=r(19619),l=r(20475);function i(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...l}=e;if(n.isValidElement(r)){let e,i;let u=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,a=function(e,t){let r={...t};for(let n in t){let o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...e)=>{let t=l(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...l}:"className"===n&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}(l,r.props);return r.type!==n.Fragment&&(a.ref=t?(0,o.t)(t,u):u),n.cloneElement(r,a)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:o,...i}=e,u=n.Children.toArray(o),s=u.find(a);if(s){let e=s.props.children,o=u.map(t=>t!==s?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,l.jsx)(t,{...i,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,o):null})}return(0,l.jsx)(t,{...i,ref:r,children:o})});return r.displayName=`${e}.Slot`,r}var u=Symbol("radix.slottable");function a(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}},80982:(e,t,r)=>{r.d(t,{bL:()=>C,zi:()=>R});var n=r(20107),o=r(94521),l=r(64236),i=r(45170),u=r(13061),a=r(65163),s=r(63620),c=r(34544),f=r(20475),d="Switch",[p,v]=(0,i.A)(d),[m,h]=p(d),g=n.forwardRef((e,t)=>{let{__scopeSwitch:r,name:i,checked:a,defaultChecked:s,required:d,disabled:p,value:v="on",onCheckedChange:h,form:g,...b}=e,[y,C]=n.useState(null),R=(0,l.s)(t,e=>C(e)),j=n.useRef(!1),N=!y||g||!!y.closest("form"),[k=!1,A]=(0,u.i)({prop:a,defaultProp:s,onChange:h});return(0,f.jsxs)(m,{scope:r,checked:k,disabled:p,children:[(0,f.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":k,"aria-required":d,"data-state":x(k),"data-disabled":p?"":void 0,disabled:p,value:v,...b,ref:R,onClick:(0,o.m)(e.onClick,e=>{A(e=>!e),N&&(j.current=e.isPropagationStopped(),j.current||e.stopPropagation())})}),N&&(0,f.jsx)(w,{control:y,bubbles:!j.current,name:i,value:v,checked:k,required:d,disabled:p,form:g,style:{transform:"translateX(-100%)"}})]})});g.displayName=d;var b="SwitchThumb",y=n.forwardRef((e,t)=>{let{__scopeSwitch:r,...n}=e,o=h(b,r);return(0,f.jsx)(c.sG.span,{"data-state":x(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});y.displayName=b;var w=e=>{let{control:t,checked:r,bubbles:o=!0,...l}=e,i=n.useRef(null),u=(0,a.Z)(r),c=(0,s.X)(t);return n.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(u!==r&&t){let n=new Event("click",{bubbles:o});t.call(e,r),e.dispatchEvent(n)}},[u,r,o]),(0,f.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...l,tabIndex:-1,ref:i,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function x(e){return e?"checked":"unchecked"}var C=g,R=y},74624:(e,t,r)=>{r.d(t,{q7:()=>et,bL:()=>ee});var n,o=r(20107),l=r.t(o,2),i=r(1068),u=r(26702);function a(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}function s(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}var c=r(19619),f=r(44505),d=r(20475),p=r(59320),v=l[" useId ".trim().toString()]||(()=>void 0),m=0,h=r(65746),g=l[" useInsertionEffect ".trim().toString()]||p.N;function b({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[l,i,u]=function({defaultProp:e,onChange:t}){let[r,n]=o.useState(e),l=o.useRef(r),i=o.useRef(t);return g(()=>{i.current=t},[t]),o.useEffect(()=>{l.current!==r&&(i.current?.(r),l.current=r)},[r,l]),[r,n,i]}({defaultProp:t,onChange:r}),a=void 0!==e,s=a?e:l;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=a},[a,n])}return[s,o.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else i(t)},[a,e,i,u])]}Symbol("RADIX:SYNC_STATE");var y=o.createContext(void 0);function w(e){let t=o.useContext(y);return e||t||"ltr"}var x="rovingFocusGroup.onEntryFocus",C={bubbles:!1,cancelable:!0},R="RovingFocusGroup",[j,N,k]=function(e){let t=e+"CollectionProvider",[r,n]=(0,i.A)(t),[l,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:r}=e,n=o.useRef(null),i=o.useRef(new Map).current;return(0,d.jsx)(l,{scope:t,itemMap:i,collectionRef:n,children:r})};a.displayName=t;let s=e+"CollectionSlot",p=(0,f.TL)(s),v=o.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=u(s,r),l=(0,c.s)(t,o.collectionRef);return(0,d.jsx)(p,{ref:l,children:n})});v.displayName=s;let m=e+"CollectionItemSlot",h="data-radix-collection-item",g=(0,f.TL)(m),b=o.forwardRef((e,t)=>{let{scope:r,children:n,...l}=e,i=o.useRef(null),a=(0,c.s)(t,i),s=u(m,r);return o.useEffect(()=>(s.itemMap.set(i,{ref:i,...l}),()=>void s.itemMap.delete(i))),(0,d.jsx)(g,{[h]:"",ref:a,children:n})});return b.displayName=m,[{Provider:a,Slot:v,ItemSlot:b},function(t){let r=u(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(h,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(R),[A,E]=(0,i.A)(R,[k]),[S,_]=A(R),T=o.forwardRef((e,t)=>(0,d.jsx)(j.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(j.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(P,{...e,ref:t})})}));T.displayName=R;var P=o.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:l=!1,dir:i,currentTabStopId:s,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:p,onEntryFocus:v,preventScrollOnEntryFocus:m=!1,...g}=e,y=o.useRef(null),j=(0,c.s)(t,y),k=w(i),[A,E]=b({prop:s,defaultProp:null!=f?f:null,onChange:p,caller:R}),[_,T]=o.useState(!1),P=(0,h.c)(v),I=N(r),M=o.useRef(!1),[D,$]=o.useState(0);return o.useEffect(()=>{let e=y.current;if(e)return e.addEventListener(x,P),()=>e.removeEventListener(x,P)},[P]),(0,d.jsx)(S,{scope:r,orientation:n,dir:k,loop:l,currentTabStopId:A,onItemFocus:o.useCallback(e=>E(e),[E]),onItemShiftTab:o.useCallback(()=>T(!0),[]),onFocusableItemAdd:o.useCallback(()=>$(e=>e+1),[]),onFocusableItemRemove:o.useCallback(()=>$(e=>e-1),[]),children:(0,d.jsx)(u.sG.div,{tabIndex:_||0===D?-1:0,"data-orientation":n,...g,ref:j,style:{outline:"none",...e.style},onMouseDown:a(e.onMouseDown,()=>{M.current=!0}),onFocus:a(e.onFocus,e=>{let t=!M.current;if(e.target===e.currentTarget&&t&&!_){let t=new CustomEvent(x,C);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=I().filter(e=>e.focusable);G([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current),m)}}M.current=!1}),onBlur:a(e.onBlur,()=>T(!1))})})}),I="RovingFocusGroupItem",M=o.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:l=!1,tabStopId:i,children:s,...c}=e,f=function(e){let[t,r]=o.useState(v());return(0,p.N)(()=>{r(e=>e??String(m++))},[void 0]),t?`radix-${t}`:""}(),h=i||f,g=_(I,r),b=g.currentTabStopId===h,y=N(r),{onFocusableItemAdd:w,onFocusableItemRemove:x,currentTabStopId:C}=g;return o.useEffect(()=>{if(n)return w(),()=>x()},[n,w,x]),(0,d.jsx)(j.ItemSlot,{scope:r,id:h,focusable:n,active:l,children:(0,d.jsx)(u.sG.span,{tabIndex:b?0:-1,"data-orientation":g.orientation,...c,ref:t,onMouseDown:a(e.onMouseDown,e=>{n?g.onItemFocus(h):e.preventDefault()}),onFocus:a(e.onFocus,()=>g.onItemFocus(h)),onKeyDown:a(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){g.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return D[o]}(e,g.orientation,g.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=y().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=g.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>G(r))}}),children:"function"==typeof s?s({isCurrentTabStop:b,hasTabStop:null!=C}):s})})});M.displayName=I;var D={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function G(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var $="Toggle",L=o.forwardRef((e,t)=>{let{pressed:r,defaultPressed:n,onPressedChange:o,...l}=e,[i,s]=b({prop:r,onChange:o,defaultProp:null!=n&&n,caller:$});return(0,d.jsx)(u.sG.button,{type:"button","aria-pressed":i,"data-state":i?"on":"off","data-disabled":e.disabled?"":void 0,...l,ref:t,onClick:a(e.onClick,()=>{e.disabled||s(!i)})})});L.displayName=$;var F="ToggleGroup",[O,z]=(0,i.A)(F,[E]),W=E(),B=o.forwardRef((e,t)=>{let{type:r,...n}=e;if("single"===r)return(0,d.jsx)(H,{...n,ref:t});if("multiple"===r)return(0,d.jsx)(X,{...n,ref:t});throw Error("Missing prop `type` expected on `".concat(F,"`"))});B.displayName=F;var[K,q]=O(F),H=o.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:l=()=>{},...i}=e,[u,a]=b({prop:r,defaultProp:null!=n?n:"",onChange:l,caller:F});return(0,d.jsx)(K,{scope:e.__scopeToggleGroup,type:"single",value:o.useMemo(()=>u?[u]:[],[u]),onItemActivate:a,onItemDeactivate:o.useCallback(()=>a(""),[a]),children:(0,d.jsx)(Z,{...i,ref:t})})}),X=o.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:l=()=>{},...i}=e,[u,a]=b({prop:r,defaultProp:null!=n?n:[],onChange:l,caller:F}),s=o.useCallback(e=>a(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[a]),c=o.useCallback(e=>a(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[a]);return(0,d.jsx)(K,{scope:e.__scopeToggleGroup,type:"multiple",value:u,onItemActivate:s,onItemDeactivate:c,children:(0,d.jsx)(Z,{...i,ref:t})})});B.displayName=F;var[U,V]=O(F),Z=o.forwardRef((e,t)=>{let{__scopeToggleGroup:r,disabled:n=!1,rovingFocus:o=!0,orientation:l,dir:i,loop:a=!0,...s}=e,c=W(r),f=w(i),p={role:"group",dir:f,...s};return(0,d.jsx)(U,{scope:r,rovingFocus:o,disabled:n,children:o?(0,d.jsx)(T,{asChild:!0,...c,orientation:l,dir:f,loop:a,children:(0,d.jsx)(u.sG.div,{...p,ref:t})}):(0,d.jsx)(u.sG.div,{...p,ref:t})})}),Y="ToggleGroupItem",J=o.forwardRef((e,t)=>{let r=q(Y,e.__scopeToggleGroup),n=V(Y,e.__scopeToggleGroup),l=W(e.__scopeToggleGroup),i=r.value.includes(e.value),u=n.disabled||e.disabled,a={...e,pressed:i,disabled:u},s=o.useRef(null);return n.rovingFocus?(0,d.jsx)(M,{asChild:!0,...l,focusable:!u,active:i,ref:s,children:(0,d.jsx)(Q,{...a,ref:t})}):(0,d.jsx)(Q,{...a,ref:t})});J.displayName=Y;var Q=o.forwardRef((e,t)=>{let{__scopeToggleGroup:r,value:n,...o}=e,l=q(Y,r),i={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},u="single"===l.type?i:void 0;return(0,d.jsx)(L,{...u,...o,ref:t,onPressedChange:e=>{e?l.onItemActivate(n):l.onItemDeactivate(n)}})}),ee=B,et=J},85692:(e,t,r)=>{r.d(t,{b:()=>s});var n=r(20107),o=r(94521),l=r(13061),i=r(34544),u=r(20475),a=n.forwardRef((e,t)=>{let{pressed:r,defaultPressed:n=!1,onPressedChange:a,...s}=e,[c=!1,f]=(0,l.i)({prop:r,onChange:a,defaultProp:n});return(0,u.jsx)(i.sG.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...s,ref:t,onClick:(0,o.m)(e.onClick,()=>{e.disabled||f(!c)})})});a.displayName="Toggle";var s=a},46774:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(20107);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},65746:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(20107);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,r)=>{r.d(t,{i:()=>l});var n=r(20107),o=r(46774);function l({prop:e,defaultProp:t,onChange:r=()=>{}}){let[l,i]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[l]=r,i=n.useRef(l),u=(0,o.c)(t);return n.useEffect(()=>{i.current!==l&&(u(l),i.current=l)},[l,i,u]),r}({defaultProp:t,onChange:r}),u=void 0!==e,a=u?e:l,s=(0,o.c)(r);return[a,n.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&s(r)}else i(t)},[u,e,i,s])]}},54122:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(20107),o=globalThis?.document?n.useLayoutEffect:()=>{}},59320:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(20107),o=globalThis?.document?n.useLayoutEffect:()=>{}},65163:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(20107);function o(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])}},63620:(e,t,r)=>{r.d(t,{X:()=>l});var n=r(20107),o=r(54122);function l(e){let[t,r]=n.useState(void 0);return(0,o.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8704],{39997:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(20107);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var u={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,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:i=2,absoluteStrokeWidth:a,className:s="",children:c,iconNode:f,...d}=e;return(0,n.createElement)("svg",{ref:t,...u,width:o,height:o,stroke:r,strokeWidth:a?24*Number(i)/Number(o):i,className:l("lucide",s),...d},[...f.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),a=(e,t)=>{let r=(0,n.forwardRef)((r,u)=>{let{className:a,...s}=r;return(0,n.createElement)(i,{ref:u,iconNode:t,className:l("lucide-".concat(o(e)),a),...s})});return r.displayName="".concat(e),r}},79266:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]])},37369:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]])},94521:(e,t,r)=>{r.d(t,{m:()=>n});function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},19619:(e,t,r)=>{r.d(t,{s:()=>u,t:()=>l});var n=r(20107);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{r.d(t,{A:()=>u,q:()=>l});var n=r(20107),o=r(20475);function l(e,t){let r=n.createContext(t),l=e=>{let{children:t,...l}=e,u=n.useMemo(()=>l,Object.values(l));return(0,o.jsx)(r.Provider,{value:u,children:t})};return l.displayName=e+"Provider",[l,function(o){let l=n.useContext(r);if(l)return l;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function u(e,t=[]){let r=[],l=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return l.scopeName=e,[function(t,l){let u=n.createContext(l),i=r.length;r=[...r,l];let a=t=>{let{scope:r,children:l,...a}=t,s=r?.[e]?.[i]||u,c=n.useMemo(()=>a,Object.values(a));return(0,o.jsx)(s.Provider,{value:c,children:l})};return a.displayName=t+"Provider",[a,function(r,o){let a=o?.[e]?.[i]||u,s=n.useContext(a);if(s)return s;if(void 0!==l)return l;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(l,...t)]}},1068:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(20107),o=r(20475);function l(e,t=[]){let r=[],u=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return u.scopeName=e,[function(t,l){let u=n.createContext(l),i=r.length;r=[...r,l];let a=t=>{let{scope:r,children:l,...a}=t,s=r?.[e]?.[i]||u,c=n.useMemo(()=>a,Object.values(a));return(0,o.jsx)(s.Provider,{value:c,children:l})};return a.displayName=t+"Provider",[a,function(r,o){let a=o?.[e]?.[i]||u,s=n.useContext(a);if(s)return s;if(void 0!==l)return l;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(u,...t)]}},21840:(e,t,r)=>{r.d(t,{b:()=>i});var n=r(20107),o=r(34544),l=r(20475),u=n.forwardRef((e,t)=>(0,l.jsx)(o.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));u.displayName="Label";var i=u},26702:(e,t,r)=>{r.d(t,{sG:()=>u});var n=r(20107);r(25642);var o=r(44505),l=r(20475),u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,o.TL)(`Primitive.${t}`),u=n.forwardRef((e,n)=>{let{asChild:o,...u}=e,i=o?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i,{...u,ref:n})});return u.displayName=`Primitive.${t}`,{...e,[t]:u}},{})},34544:(e,t,r)=>{r.d(t,{hO:()=>a,sG:()=>i});var n=r(20107),o=r(25642),l=r(61837),u=r(20475),i=["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,...o}=e,i=n?l.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(i,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function a(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},44505:(e,t,r)=>{r.d(t,{TL:()=>u});var n=r(20107),o=r(19619),l=r(20475);function u(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...l}=e;if(n.isValidElement(r)){let e,u;let i=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,a=function(e,t){let r={...t};for(let n in t){let o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...e)=>{let t=l(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...l}:"className"===n&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}(l,r.props);return r.type!==n.Fragment&&(a.ref=t?(0,o.t)(t,i):i),n.cloneElement(r,a)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:o,...u}=e,i=n.Children.toArray(o),s=i.find(a);if(s){let e=s.props.children,o=i.map(t=>t!==s?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,l.jsx)(t,{...u,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,o):null})}return(0,l.jsx)(t,{...u,ref:r,children:o})});return r.displayName=`${e}.Slot`,r}var i=Symbol("radix.slottable");function a(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}},80982:(e,t,r)=>{r.d(t,{bL:()=>C,zi:()=>R});var n=r(20107),o=r(94521),l=r(64236),u=r(45170),i=r(13061),a=r(65163),s=r(63620),c=r(34544),f=r(20475),d="Switch",[p,v]=(0,u.A)(d),[m,h]=p(d),y=n.forwardRef((e,t)=>{let{__scopeSwitch:r,name:u,checked:a,defaultChecked:s,required:d,disabled:p,value:v="on",onCheckedChange:h,form:y,...b}=e,[g,C]=n.useState(null),R=(0,l.s)(t,e=>C(e)),j=n.useRef(!1),N=!g||y||!!g.closest("form"),[k=!1,A]=(0,i.i)({prop:a,defaultProp:s,onChange:h});return(0,f.jsxs)(m,{scope:r,checked:k,disabled:p,children:[(0,f.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":k,"aria-required":d,"data-state":x(k),"data-disabled":p?"":void 0,disabled:p,value:v,...b,ref:R,onClick:(0,o.m)(e.onClick,e=>{A(e=>!e),N&&(j.current=e.isPropagationStopped(),j.current||e.stopPropagation())})}),N&&(0,f.jsx)(w,{control:g,bubbles:!j.current,name:u,value:v,checked:k,required:d,disabled:p,form:y,style:{transform:"translateX(-100%)"}})]})});y.displayName=d;var b="SwitchThumb",g=n.forwardRef((e,t)=>{let{__scopeSwitch:r,...n}=e,o=h(b,r);return(0,f.jsx)(c.sG.span,{"data-state":x(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});g.displayName=b;var w=e=>{let{control:t,checked:r,bubbles:o=!0,...l}=e,u=n.useRef(null),i=(0,a.Z)(r),c=(0,s.X)(t);return n.useEffect(()=>{let e=u.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(i!==r&&t){let n=new Event("click",{bubbles:o});t.call(e,r),e.dispatchEvent(n)}},[i,r,o]),(0,f.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...l,tabIndex:-1,ref:u,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function x(e){return e?"checked":"unchecked"}var C=y,R=g},74624:(e,t,r)=>{r.d(t,{q7:()=>et,bL:()=>ee});var n,o=r(20107),l=r.t(o,2),u=r(1068),i=r(26702);function a(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}function s(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}var c=r(19619),f=r(44505),d=r(20475),p=r(59320),v=l[" useId ".trim().toString()]||(()=>void 0),m=0,h=r(65746),y=l[" useInsertionEffect ".trim().toString()]||p.N;function b({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[l,u,i]=function({defaultProp:e,onChange:t}){let[r,n]=o.useState(e),l=o.useRef(r),u=o.useRef(t);return y(()=>{u.current=t},[t]),o.useEffect(()=>{l.current!==r&&(u.current?.(r),l.current=r)},[r,l]),[r,n,u]}({defaultProp:t,onChange:r}),a=void 0!==e,s=a?e:l;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=a},[a,n])}return[s,o.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&i.current?.(r)}else u(t)},[a,e,u,i])]}Symbol("RADIX:SYNC_STATE");var g=o.createContext(void 0);function w(e){let t=o.useContext(g);return e||t||"ltr"}var x="rovingFocusGroup.onEntryFocus",C={bubbles:!1,cancelable:!0},R="RovingFocusGroup",[j,N,k]=function(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[l,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:r}=e,n=o.useRef(null),u=o.useRef(new Map).current;return(0,d.jsx)(l,{scope:t,itemMap:u,collectionRef:n,children:r})};a.displayName=t;let s=e+"CollectionSlot",p=(0,f.TL)(s),v=o.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=i(s,r),l=(0,c.s)(t,o.collectionRef);return(0,d.jsx)(p,{ref:l,children:n})});v.displayName=s;let m=e+"CollectionItemSlot",h="data-radix-collection-item",y=(0,f.TL)(m),b=o.forwardRef((e,t)=>{let{scope:r,children:n,...l}=e,u=o.useRef(null),a=(0,c.s)(t,u),s=i(m,r);return o.useEffect(()=>(s.itemMap.set(u,{ref:u,...l}),()=>void s.itemMap.delete(u))),(0,d.jsx)(y,{[h]:"",ref:a,children:n})});return b.displayName=m,[{Provider:a,Slot:v,ItemSlot:b},function(t){let r=i(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(h,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(R),[A,E]=(0,u.A)(R,[k]),[S,_]=A(R),T=o.forwardRef((e,t)=>(0,d.jsx)(j.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(j.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(P,{...e,ref:t})})}));T.displayName=R;var P=o.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:l=!1,dir:u,currentTabStopId:s,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:p,onEntryFocus:v,preventScrollOnEntryFocus:m=!1,...y}=e,g=o.useRef(null),j=(0,c.s)(t,g),k=w(u),[A,E]=b({prop:s,defaultProp:null!=f?f:null,onChange:p,caller:R}),[_,T]=o.useState(!1),P=(0,h.c)(v),I=N(r),M=o.useRef(!1),[D,$]=o.useState(0);return o.useEffect(()=>{let e=g.current;if(e)return e.addEventListener(x,P),()=>e.removeEventListener(x,P)},[P]),(0,d.jsx)(S,{scope:r,orientation:n,dir:k,loop:l,currentTabStopId:A,onItemFocus:o.useCallback(e=>E(e),[E]),onItemShiftTab:o.useCallback(()=>T(!0),[]),onFocusableItemAdd:o.useCallback(()=>$(e=>e+1),[]),onFocusableItemRemove:o.useCallback(()=>$(e=>e-1),[]),children:(0,d.jsx)(i.sG.div,{tabIndex:_||0===D?-1:0,"data-orientation":n,...y,ref:j,style:{outline:"none",...e.style},onMouseDown:a(e.onMouseDown,()=>{M.current=!0}),onFocus:a(e.onFocus,e=>{let t=!M.current;if(e.target===e.currentTarget&&t&&!_){let t=new CustomEvent(x,C);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=I().filter(e=>e.focusable);G([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current),m)}}M.current=!1}),onBlur:a(e.onBlur,()=>T(!1))})})}),I="RovingFocusGroupItem",M=o.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:l=!1,tabStopId:u,children:s,...c}=e,f=function(e){let[t,r]=o.useState(v());return(0,p.N)(()=>{r(e=>e??String(m++))},[void 0]),t?`radix-${t}`:""}(),h=u||f,y=_(I,r),b=y.currentTabStopId===h,g=N(r),{onFocusableItemAdd:w,onFocusableItemRemove:x,currentTabStopId:C}=y;return o.useEffect(()=>{if(n)return w(),()=>x()},[n,w,x]),(0,d.jsx)(j.ItemSlot,{scope:r,id:h,focusable:n,active:l,children:(0,d.jsx)(i.sG.span,{tabIndex:b?0:-1,"data-orientation":y.orientation,...c,ref:t,onMouseDown:a(e.onMouseDown,e=>{n?y.onItemFocus(h):e.preventDefault()}),onFocus:a(e.onFocus,()=>y.onItemFocus(h)),onKeyDown:a(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){y.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return D[o]}(e,y.orientation,y.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=y.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>G(r))}}),children:"function"==typeof s?s({isCurrentTabStop:b,hasTabStop:null!=C}):s})})});M.displayName=I;var D={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function G(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var $="Toggle",L=o.forwardRef((e,t)=>{let{pressed:r,defaultPressed:n,onPressedChange:o,...l}=e,[u,s]=b({prop:r,onChange:o,defaultProp:null!=n&&n,caller:$});return(0,d.jsx)(i.sG.button,{type:"button","aria-pressed":u,"data-state":u?"on":"off","data-disabled":e.disabled?"":void 0,...l,ref:t,onClick:a(e.onClick,()=>{e.disabled||s(!u)})})});L.displayName=$;var F="ToggleGroup",[O,z]=(0,u.A)(F,[E]),W=E(),B=o.forwardRef((e,t)=>{let{type:r,...n}=e;if("single"===r)return(0,d.jsx)(H,{...n,ref:t});if("multiple"===r)return(0,d.jsx)(V,{...n,ref:t});throw Error("Missing prop `type` expected on `".concat(F,"`"))});B.displayName=F;var[K,q]=O(F),H=o.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:l=()=>{},...u}=e,[i,a]=b({prop:r,defaultProp:null!=n?n:"",onChange:l,caller:F});return(0,d.jsx)(K,{scope:e.__scopeToggleGroup,type:"single",value:o.useMemo(()=>i?[i]:[],[i]),onItemActivate:a,onItemDeactivate:o.useCallback(()=>a(""),[a]),children:(0,d.jsx)(Z,{...u,ref:t})})}),V=o.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:l=()=>{},...u}=e,[i,a]=b({prop:r,defaultProp:null!=n?n:[],onChange:l,caller:F}),s=o.useCallback(e=>a(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[a]),c=o.useCallback(e=>a(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[a]);return(0,d.jsx)(K,{scope:e.__scopeToggleGroup,type:"multiple",value:i,onItemActivate:s,onItemDeactivate:c,children:(0,d.jsx)(Z,{...u,ref:t})})});B.displayName=F;var[X,U]=O(F),Z=o.forwardRef((e,t)=>{let{__scopeToggleGroup:r,disabled:n=!1,rovingFocus:o=!0,orientation:l,dir:u,loop:a=!0,...s}=e,c=W(r),f=w(u),p={role:"group",dir:f,...s};return(0,d.jsx)(X,{scope:r,rovingFocus:o,disabled:n,children:o?(0,d.jsx)(T,{asChild:!0,...c,orientation:l,dir:f,loop:a,children:(0,d.jsx)(i.sG.div,{...p,ref:t})}):(0,d.jsx)(i.sG.div,{...p,ref:t})})}),Y="ToggleGroupItem",J=o.forwardRef((e,t)=>{let r=q(Y,e.__scopeToggleGroup),n=U(Y,e.__scopeToggleGroup),l=W(e.__scopeToggleGroup),u=r.value.includes(e.value),i=n.disabled||e.disabled,a={...e,pressed:u,disabled:i},s=o.useRef(null);return n.rovingFocus?(0,d.jsx)(M,{asChild:!0,...l,focusable:!i,active:u,ref:s,children:(0,d.jsx)(Q,{...a,ref:t})}):(0,d.jsx)(Q,{...a,ref:t})});J.displayName=Y;var Q=o.forwardRef((e,t)=>{let{__scopeToggleGroup:r,value:n,...o}=e,l=q(Y,r),u={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},i="single"===l.type?u:void 0;return(0,d.jsx)(L,{...i,...o,ref:t,onPressedChange:e=>{e?l.onItemActivate(n):l.onItemDeactivate(n)}})}),ee=B,et=J},85692:(e,t,r)=>{r.d(t,{b:()=>s});var n=r(20107),o=r(94521),l=r(13061),u=r(34544),i=r(20475),a=n.forwardRef((e,t)=>{let{pressed:r,defaultPressed:n=!1,onPressedChange:a,...s}=e,[c=!1,f]=(0,l.i)({prop:r,onChange:a,defaultProp:n});return(0,i.jsx)(u.sG.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...s,ref:t,onClick:(0,o.m)(e.onClick,()=>{e.disabled||f(!c)})})});a.displayName="Toggle";var s=a},46774:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(20107);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},65746:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(20107);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,r)=>{r.d(t,{i:()=>l});var n=r(20107),o=r(46774);function l({prop:e,defaultProp:t,onChange:r=()=>{}}){let[l,u]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[l]=r,u=n.useRef(l),i=(0,o.c)(t);return n.useEffect(()=>{u.current!==l&&(i(l),u.current=l)},[l,u,i]),r}({defaultProp:t,onChange:r}),i=void 0!==e,a=i?e:l,s=(0,o.c)(r);return[a,n.useCallback(t=>{if(i){let r="function"==typeof t?t(e):t;r!==e&&s(r)}else u(t)},[i,e,u,s])]}},54122:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(20107),o=globalThis?.document?n.useLayoutEffect:()=>{}},59320:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(20107),o=globalThis?.document?n.useLayoutEffect:()=>{}},65163:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(20107);function o(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])}},63620:(e,t,r)=>{r.d(t,{X:()=>l});var n=r(20107),o=r(54122);function l(e){let[t,r]=n.useState(void 0);return(0,o.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},29395:(e,t,r)=>{r.d(t,{F:()=>l});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,r=0,n="";rr=>{var l;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:u,defaultVariants:i}=t,a=Object.keys(u).map(e=>{let t=null==r?void 0:r[e],o=null==i?void 0:i[e];if(null===t)return null;let l=n(t)||n(o);return u[e][l]}),s=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,a,null==t?void 0:null===(l=t.compoundVariants)||void 0===l?void 0:l.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...s}[t]):({...i,...s})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8885-ae45735eaa57e8dd.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8885-ae45735eaa57e8dd.js new file mode 100644 index 0000000..11282a7 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/8885-ae45735eaa57e8dd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8885],{94521:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},45170:(e,t,n)=>{n.d(t,{A:()=>o,q:()=>i});var r=n(20107),u=n(20475);function i(e,t){let n=r.createContext(t),i=e=>{let{children:t,...i}=e,o=r.useMemo(()=>i,Object.values(i));return(0,u.jsx)(n.Provider,{value:o,children:t})};return i.displayName=e+"Provider",[i,function(u){let i=r.useContext(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function o(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return i.scopeName=e,[function(t,i){let o=r.createContext(i),l=n.length;n=[...n,i];let s=t=>{let{scope:n,children:i,...s}=t,a=n?.[e]?.[l]||o,d=r.useMemo(()=>s,Object.values(s));return(0,u.jsx)(a.Provider,{value:d,children:i})};return s.displayName=t+"Provider",[s,function(n,u){let s=u?.[e]?.[l]||o,a=r.useContext(s);if(a)return a;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e)[`__scope${r}`];return{...t,...u}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(i,...t)]}},55302:(e,t,n)=>{n.d(t,{bL:()=>b,lg:()=>E,qW:()=>f});var r,u=n(20107),i=n(94521),o=n(34544),l=n(64236),s=n(46774),a=n(91624),d=n(20475),c="dismissableLayer.update",v=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=u.forwardRef((e,t)=>{var n,f;let{disableOutsidePointerEvents:m=!1,onEscapeKeyDown:b,onPointerDownOutside:E,onFocusOutside:h,onInteractOutside:w,onDismiss:g,...C}=e,P=u.useContext(v),[L,N]=u.useState(null),x=null!==(f=null==L?void 0:L.ownerDocument)&&void 0!==f?f:null===(n=globalThis)||void 0===n?void 0:n.document,[,O]=u.useState({}),D=(0,l.s)(t,e=>N(e)),k=Array.from(P.layers),[S]=[...P.layersWithOutsidePointerEventsDisabled].slice(-1),j=k.indexOf(S),R=L?k.indexOf(L):-1,_=P.layersWithOutsidePointerEventsDisabled.size>0,T=R>=j,$=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,s.c)(e),i=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){y("dismissableLayer.pointerDownOutside",r,u,{discrete:!0})},u={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=t,n.addEventListener("click",o.current,{once:!0})):t()}else n.removeEventListener("click",o.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...P.branches].some(e=>e.contains(t));!T||n||(null==E||E(e),null==w||w(e),e.defaultPrevented||null==g||g())},x),W=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,s.c)(e),i=u.useRef(!1);return u.useEffect(()=>{let e=e=>{e.target&&!i.current&&y("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...P.branches].some(e=>e.contains(t))||(null==h||h(e),null==w||w(e),e.defaultPrevented||null==g||g())},x);return(0,a.U)(e=>{R!==P.layers.size-1||(null==b||b(e),!e.defaultPrevented&&g&&(e.preventDefault(),g()))},x),u.useEffect(()=>{if(L)return m&&(0===P.layersWithOutsidePointerEventsDisabled.size&&(r=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),P.layersWithOutsidePointerEventsDisabled.add(L)),P.layers.add(L),p(),()=>{m&&1===P.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=r)}},[L,x,m,P]),u.useEffect(()=>()=>{L&&(P.layers.delete(L),P.layersWithOutsidePointerEventsDisabled.delete(L),p())},[L,P]),u.useEffect(()=>{let e=()=>O({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,d.jsx)(o.sG.div,{...C,ref:D,style:{pointerEvents:_?T?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.m)(e.onFocusCapture,W.onFocusCapture),onBlurCapture:(0,i.m)(e.onBlurCapture,W.onBlurCapture),onPointerDownCapture:(0,i.m)(e.onPointerDownCapture,$.onPointerDownCapture)})});f.displayName="DismissableLayer";var m=u.forwardRef((e,t)=>{let n=u.useContext(v),r=u.useRef(null),i=(0,l.s)(t,r);return u.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,d.jsx)(o.sG.div,{...e,ref:i})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function y(e,t,n,r){let{discrete:u}=r,i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),u?(0,o.hO)(i,l):i.dispatchEvent(l)}m.displayName="DismissableLayerBranch";var b=f,E=m},72763:(e,t,n)=>{n.d(t,{B:()=>s});var r,u=n(20107),i=n(54122),o=(r||(r=n.t(u,2)))["useId".toString()]||(()=>void 0),l=0;function s(e){let[t,n]=u.useState(o());return(0,i.N)(()=>{e||n(e=>e??String(l++))},[e]),e||(t?`radix-${t}`:"")}},41913:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(20107),u=n(25642),i=n(34544),o=n(54122),l=n(20475),s=r.forwardRef((e,t)=>{var n,s;let{container:a,...d}=e,[c,v]=r.useState(!1);(0,o.N)(()=>v(!0),[]);let f=a||c&&(null===(s=globalThis)||void 0===s?void 0:null===(n=s.document)||void 0===n?void 0:n.body);return f?u.createPortal((0,l.jsx)(i.sG.div,{...d,ref:t}),f):null});s.displayName="Portal"},34544:(e,t,n)=>{n.d(t,{hO:()=>s,sG:()=>l});var r=n(20107),u=n(25642),i=n(61837),o=n(20475),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...u}=e,l=r?i.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(l,{...u,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function s(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}},46774:(e,t,n)=>{n.d(t,{c:()=>u});var r=n(20107);function u(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,n)=>{n.d(t,{i:()=>i});var r=n(20107),u=n(46774);function i({prop:e,defaultProp:t,onChange:n=()=>{}}){let[i,o]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[i]=n,o=r.useRef(i),l=(0,u.c)(t);return r.useEffect(()=>{o.current!==i&&(l(i),o.current=i)},[i,o,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,s=l?e:i,a=(0,u.c)(n);return[s,r.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&a(n)}else o(t)},[l,e,o,a])]}},91624:(e,t,n)=>{n.d(t,{U:()=>i});var r=n(20107),u=n(46774);function i(e,t=globalThis?.document){let n=(0,u.c)(e);r.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}},54122:(e,t,n)=>{n.d(t,{N:()=>u});var r=n(20107),u=globalThis?.document?r.useLayoutEffect:()=>{}},29395:(e,t,n)=>{n.d(t,{F:()=>i});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,u=function(){for(var e,t,n=0,r="";nn=>{var i;if((null==t?void 0:t.variants)==null)return u(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:o,defaultVariants:l}=t,s=Object.keys(o).map(e=>{let t=null==n?void 0:n[e],u=null==l?void 0:l[e];if(null===t)return null;let i=r(t)||r(u);return o[e][i]}),a=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return u(e,s,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:n,className:r,...u}=t;return Object.entries(u).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...a}[t]):({...l,...a})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9007-8bc34a88f57a3346.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9007-8bc34a88f57a3346.js new file mode 100644 index 0000000..f21916d --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9007-8bc34a88f57a3346.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9007],{39997:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(20107);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var u={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,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:s="",children:c,iconNode:d,...f}=e;return(0,n.createElement)("svg",{ref:t,...u,width:o,height:o,stroke:r,strokeWidth:l?24*Number(i)/Number(o):i,className:a("lucide",s),...f},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),l=(e,t)=>{let r=(0,n.forwardRef)((r,u)=>{let{className:l,...s}=r;return(0,n.createElement)(i,{ref:u,iconNode:t,className:a("lucide-".concat(o(e)),l),...s})});return r.displayName="".concat(e),r}},51873:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},58212:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},94521:(e,t,r)=>{r.d(t,{m:()=>n});function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},32474:(e,t,r)=>{r.d(t,{N:()=>l});var n=r(20107),o=r(54379),a=r(64236),u=r(61837),i=r(20475);function l(e){let t=e+"CollectionProvider",[r,l]=(0,o.A)(t),[s,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,o=n.useRef(null),a=n.useRef(new Map).current;return(0,i.jsx)(s,{scope:t,itemMap:a,collectionRef:o,children:r})};d.displayName=t;let f=e+"CollectionSlot",m=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=c(f,r),l=(0,a.s)(t,o.collectionRef);return(0,i.jsx)(u.DX,{ref:l,children:n})});m.displayName=f;let v=e+"CollectionItemSlot",p="data-radix-collection-item",y=n.forwardRef((e,t)=>{let{scope:r,children:o,...l}=e,s=n.useRef(null),d=(0,a.s)(t,s),f=c(v,r);return n.useEffect(()=>(f.itemMap.set(s,{ref:s,...l}),()=>void f.itemMap.delete(s))),(0,i.jsx)(u.DX,{[p]:"",ref:d,children:o})});return y.displayName=v,[{Provider:d,Slot:m,ItemSlot:y},function(t){let r=c(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(p,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},l]}},54379:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(20107),o=r(20475);function a(e,t=[]){let r=[],u=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return u.scopeName=e,[function(t,a){let u=n.createContext(a),i=r.length;function l(t){let{scope:r,children:a,...l}=t,s=r?.[e][i]||u,c=n.useMemo(()=>l,Object.values(l));return(0,o.jsx)(s.Provider,{value:c,children:a})}return r=[...r,a],l.displayName=t+"Provider",[l,function(r,o){let l=o?.[e][i]||u,s=n.useContext(l);if(s)return s;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(u,...t)]}},45170:(e,t,r)=>{r.d(t,{A:()=>u,q:()=>a});var n=r(20107),o=r(20475);function a(e,t){let r=n.createContext(t),a=e=>{let{children:t,...a}=e,u=n.useMemo(()=>a,Object.values(a));return(0,o.jsx)(r.Provider,{value:u,children:t})};return a.displayName=e+"Provider",[a,function(o){let a=n.useContext(r);if(a)return a;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function u(e,t=[]){let r=[],a=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return a.scopeName=e,[function(t,a){let u=n.createContext(a),i=r.length;r=[...r,a];let l=t=>{let{scope:r,children:a,...l}=t,s=r?.[e]?.[i]||u,c=n.useMemo(()=>l,Object.values(l));return(0,o.jsx)(s.Provider,{value:c,children:a})};return l.displayName=t+"Provider",[l,function(r,o){let l=o?.[e]?.[i]||u,s=n.useContext(l);if(s)return s;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(a,...t)]}},76056:(e,t,r)=>{r.d(t,{jH:()=>a});var n=r(20107);r(20475);var o=n.createContext(void 0);function a(e){let t=n.useContext(o);return e||t||"ltr"}},72763:(e,t,r)=>{r.d(t,{B:()=>l});var n,o=r(20107),a=r(54122),u=(n||(n=r.t(o,2)))["useId".toString()]||(()=>void 0),i=0;function l(e){let[t,r]=o.useState(u());return(0,a.N)(()=>{e||r(e=>e??String(i++))},[e]),e||(t?`radix-${t}`:"")}},21840:(e,t,r)=>{r.d(t,{b:()=>i});var n=r(20107),o=r(34544),a=r(20475),u=n.forwardRef((e,t)=>(0,a.jsx)(o.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));u.displayName="Label";var i=u},54245:(e,t,r)=>{r.d(t,{C:()=>u});var n=r(20107),o=r(64236),a=r(54122),u=e=>{let{present:t,children:r}=e,u=function(e){var t,r;let[o,u]=n.useState(),l=n.useRef({}),s=n.useRef(e),c=n.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=i(l.current);c.current="mounted"===d?e:"none"},[d]),(0,a.N)(()=>{let t=l.current,r=s.current;if(r!==e){let n=c.current,o=i(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):r&&n!==o?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,a.N)(()=>{if(o){var e;let t;let r=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,n=e=>{let n=i(l.current).includes(e.animationName);if(e.target===o&&n&&(f("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},a=e=>{e.target===o&&(c.current=i(l.current))};return o.addEventListener("animationstart",a),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{r.clearTimeout(t),o.removeEventListener("animationstart",a),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{e&&(l.current=getComputedStyle(e)),u(e)},[])}}(t),l="function"==typeof r?r({present:u.isPresent}):n.Children.only(r),s=(0,o.s)(u.ref,function(e){var t,r;let n=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?e.ref:(o=(n=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(l));return"function"==typeof r||u.isPresent?n.cloneElement(l,{ref:s}):null};function i(e){return(null==e?void 0:e.animationName)||"none"}u.displayName="Presence"},34544:(e,t,r)=>{r.d(t,{hO:()=>l,sG:()=>i});var n=r(20107),o=r(25642),a=r(61837),u=r(20475),i=["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,...o}=e,i=n?a.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(i,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},71856:(e,t,r)=>{r.d(t,{RG:()=>g,bL:()=>T,q7:()=>k});var n=r(20107),o=r(94521),a=r(32474),u=r(64236),i=r(54379),l=r(72763),s=r(34544),c=r(46774),d=r(13061),f=r(76056),m=r(20475),v="rovingFocusGroup.onEntryFocus",p={bubbles:!1,cancelable:!0},y="RovingFocusGroup",[b,w,h]=(0,a.N)(y),[N,g]=(0,i.A)(y,[h]),[x,A]=N(y),R=n.forwardRef((e,t)=>(0,m.jsx)(b.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,m.jsx)(b.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,m.jsx)(M,{...e,ref:t})})}));R.displayName=y;var M=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:a,loop:i=!1,dir:l,currentTabStopId:y,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:h,onEntryFocus:N,preventScrollOnEntryFocus:g=!1,...A}=e,R=n.useRef(null),M=(0,u.s)(t,R),C=(0,f.jH)(l),[j=null,E]=(0,d.i)({prop:y,defaultProp:b,onChange:h}),[T,k]=n.useState(!1),D=(0,c.c)(N),O=w(r),S=n.useRef(!1),[_,F]=n.useState(0);return n.useEffect(()=>{let e=R.current;if(e)return e.addEventListener(v,D),()=>e.removeEventListener(v,D)},[D]),(0,m.jsx)(x,{scope:r,orientation:a,dir:C,loop:i,currentTabStopId:j,onItemFocus:n.useCallback(e=>E(e),[E]),onItemShiftTab:n.useCallback(()=>k(!0),[]),onFocusableItemAdd:n.useCallback(()=>F(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>F(e=>e-1),[]),children:(0,m.jsx)(s.sG.div,{tabIndex:T||0===_?-1:0,"data-orientation":a,...A,ref:M,style:{outline:"none",...e.style},onMouseDown:(0,o.m)(e.onMouseDown,()=>{S.current=!0}),onFocus:(0,o.m)(e.onFocus,e=>{let t=!S.current;if(e.target===e.currentTarget&&t&&!T){let t=new CustomEvent(v,p);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>e.focusable);I([e.find(e=>e.active),e.find(e=>e.id===j),...e].filter(Boolean).map(e=>e.ref.current),g)}}S.current=!1}),onBlur:(0,o.m)(e.onBlur,()=>k(!1))})})}),C="RovingFocusGroupItem",j=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:a=!0,active:u=!1,tabStopId:i,...c}=e,d=(0,l.B)(),f=i||d,v=A(C,r),p=v.currentTabStopId===f,y=w(r),{onFocusableItemAdd:h,onFocusableItemRemove:N}=v;return n.useEffect(()=>{if(a)return h(),()=>N()},[a,h,N]),(0,m.jsx)(b.ItemSlot,{scope:r,id:f,focusable:a,active:u,children:(0,m.jsx)(s.sG.span,{tabIndex:p?0:-1,"data-orientation":v.orientation,...c,ref:t,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a?v.onItemFocus(f):e.preventDefault()}),onFocus:(0,o.m)(e.onFocus,()=>v.onItemFocus(f)),onKeyDown:(0,o.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){v.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return E[o]}(e,v.orientation,v.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=y().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=v.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>I(r))}})})})});j.displayName=C;var E={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function I(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var T=R,k=j},93677:(e,t,r)=>{r.d(t,{B8:()=>I,UC:()=>k,bL:()=>E,l9:()=>T});var n=r(20107),o=r(94521),a=r(45170),u=r(71856),i=r(54245),l=r(34544),s=r(76056),c=r(13061),d=r(72763),f=r(20475),m="Tabs",[v,p]=(0,a.A)(m,[u.RG]),y=(0,u.RG)(),[b,w]=v(m),h=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:u="horizontal",dir:i,activationMode:m="automatic",...v}=e,p=(0,s.jH)(i),[y,w]=(0,c.i)({prop:n,onChange:o,defaultProp:a});return(0,f.jsx)(b,{scope:r,baseId:(0,d.B)(),value:y,onValueChange:w,orientation:u,dir:p,activationMode:m,children:(0,f.jsx)(l.sG.div,{dir:p,"data-orientation":u,...v,ref:t})})});h.displayName=m;var N="TabsList",g=n.forwardRef((e,t)=>{let{__scopeTabs:r,loop:n=!0,...o}=e,a=w(N,r),i=y(r);return(0,f.jsx)(u.bL,{asChild:!0,...i,orientation:a.orientation,dir:a.dir,loop:n,children:(0,f.jsx)(l.sG.div,{role:"tablist","aria-orientation":a.orientation,...o,ref:t})})});g.displayName=N;var x="TabsTrigger",A=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,disabled:a=!1,...i}=e,s=w(x,r),c=y(r),d=C(s.baseId,n),m=j(s.baseId,n),v=n===s.value;return(0,f.jsx)(u.q7,{asChild:!0,...c,focusable:!a,active:v,children:(0,f.jsx)(l.sG.button,{type:"button",role:"tab","aria-selected":v,"aria-controls":m,"data-state":v?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:d,...i,ref:t,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():s.onValueChange(n)}),onKeyDown:(0,o.m)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&s.onValueChange(n)}),onFocus:(0,o.m)(e.onFocus,()=>{let e="manual"!==s.activationMode;v||a||!e||s.onValueChange(n)})})})});A.displayName=x;var R="TabsContent",M=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:o,forceMount:a,children:u,...s}=e,c=w(R,r),d=C(c.baseId,o),m=j(c.baseId,o),v=o===c.value,p=n.useRef(v);return n.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,f.jsx)(i.C,{present:a||v,children:r=>{let{present:n}=r;return(0,f.jsx)(l.sG.div,{"data-state":v?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":d,hidden:!n,id:m,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0},children:n&&u})}})});function C(e,t){return"".concat(e,"-trigger-").concat(t)}function j(e,t){return"".concat(e,"-content-").concat(t)}M.displayName=R;var E=h,I=g,T=A,k=M},46774:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(20107);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,r)=>{r.d(t,{i:()=>a});var n=r(20107),o=r(46774);function a({prop:e,defaultProp:t,onChange:r=()=>{}}){let[a,u]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[a]=r,u=n.useRef(a),i=(0,o.c)(t);return n.useEffect(()=>{u.current!==a&&(i(a),u.current=a)},[a,u,i]),r}({defaultProp:t,onChange:r}),i=void 0!==e,l=i?e:a,s=(0,o.c)(r);return[l,n.useCallback(t=>{if(i){let r="function"==typeof t?t(e):t;r!==e&&s(r)}else u(t)},[i,e,u,s])]}},54122:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(20107),o=globalThis?.document?n.useLayoutEffect:()=>{}},29395:(e,t,r)=>{r.d(t,{F:()=>a});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,r=0,n="";rr=>{var a;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:u,defaultVariants:i}=t,l=Object.keys(u).map(e=>{let t=null==r?void 0:r[e],o=null==i?void 0:i[e];if(null===t)return null;let a=n(t)||n(o);return u[e][a]}),s=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,l,null==t?void 0:null===(a=t.compoundVariants)||void 0===a?void 0:a.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...s}[t]):({...i,...s})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9477-4478381adb29cdff.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9477-4478381adb29cdff.js new file mode 100644 index 0000000..b672d11 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9477-4478381adb29cdff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9477],{9477:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let r=n(67342),o=n(20475),u=r._(n(20107)),l=n(91004),a=n(32618),f=n(62044),i=n(23093),c=n(91297),s=n(77554),d=n(95376);function p(e,t,n){"undefined"!=typeof window&&(async()=>e.prefetch(t,n))().catch(e=>{})}function h(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}n(20339);let y=u.default.forwardRef(function(e,t){let n,r;let{href:l,as:y,children:g,prefetch:b=null,passHref:m,replace:P,shallow:_,scroll:v,onClick:E,onMouseEnter:j,onTouchStart:O,legacyBehavior:M=!1,...C}=e;n=g,M&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let k=u.default.useContext(a.AppRouterContext),w=!1!==b,I=null===b?i.PrefetchKind.AUTO:i.PrefetchKind.FULL,{href:x,as:S}=u.default.useMemo(()=>{let e=h(l);return{href:e,as:y?h(y):e}},[l,y]),T=u.default.useRef(x),N=u.default.useRef(S);M&&(r=u.default.Children.only(n));let A=M?r&&"object"==typeof r&&r.ref:t,[R,U,F]=(0,f.useIntersection)({rootMargin:"200px"}),L=u.default.useCallback(e=>{(N.current!==S||T.current!==x)&&(F(),N.current=S,T.current=x),R(e)},[S,x,F,R]),K=(0,c.useMergedRef)(L,A);u.default.useEffect(()=>{k&&U&&w&&p(k,x,{kind:I})},[S,x,U,w,k,I]);let q={ref:K,onClick(e){M||"function"!=typeof E||E(e),M&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),k&&!e.defaultPrevented&&function(e,t,n,r,o,l,a){let{nodeName:f}=e.currentTarget;"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)||(e.preventDefault(),u.default.startTransition(()=>{let e=null==a||a;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:l,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})}))}(e,k,x,S,P,_,v)},onMouseEnter(e){M||"function"!=typeof j||j(e),M&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),k&&w&&p(k,x,{kind:I})},onTouchStart:function(e){M||"function"!=typeof O||O(e),M&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),k&&w&&p(k,x,{kind:I})}};return(0,s.isAbsoluteUrl)(S)?q.href=S:M&&!m&&("a"!==r.type||"href"in r.props)||(q.href=(0,d.addBasePath)(S)),M?u.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)},64803:(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)},62044:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return f}});let r=n(20107),o=n(64803),u="function"==typeof IntersectionObserver,l=new Map,a=[];function f(e){let{rootRef:t,rootMargin:n,disabled:f}=e,i=f||!u,[c,s]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(u){if(i||c)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:u}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=a.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=l.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},a.push(n),l.set(n,t),t}(n);return u.set(e,t),o.observe(e),function(){if(u.delete(e),o.unobserve(e),0===u.size){o.disconnect(),l.delete(r);let e=a.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&a.splice(e,1)}}}(e,e=>e&&s(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,o.requestIdleCallback)(()=>s(!0));return()=>(0,o.cancelIdleCallback)(e)}},[i,n,t,c,d.current]),[p,c,(0,r.useCallback)(()=>{s(!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)},91297:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let r=n(20107);function o(e,t){let n=(0,r.useRef)(()=>{}),o=(0,r.useRef)(()=>{});return(0,r.useMemo)(()=>e&&t?r=>{null===r?(n.current(),o.current()):(n.current=u(e,r),o.current=u(t,r))}:e||t,[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(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)},91004:(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 u},formatWithValidation:function(){return a},urlObjectKeys:function(){return l}});let r=n(62599)._(n(32580)),o=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:n}=e,u=e.protocol||"",l=e.pathname||"",a=e.hash||"",f=e.query||"",i=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?i=t+e.host:n&&(i=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(i+=":"+e.port)),f&&"object"==typeof f&&(f=String(r.urlQueryToSearchParams(f)));let c=e.search||f&&"?"+f||"";return u&&!u.endsWith(":")&&(u+=":"),e.slashes||(!u||o.test(u))&&!1!==i?(i="//"+(i||""),l&&"/"!==l[0]&&(l="/"+l)):i||(i=""),a&&"#"!==a[0]&&(a="#"+a),c&&"?"!==c[0]&&(c="?"+c),""+u+i+(l=l.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+a}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(e){return u(e)}},32580:(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 u(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 u},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}})},77554:(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 m},MissingStaticPage:function(){return b},NormalizeError:function(){return y},PageNotFoundError:function(){return g},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return n},execOnce:function(){return r},getDisplayName:function(){return f},getLocationOrigin:function(){return l},getURL:function(){return a},isAbsoluteUrl:function(){return u},isResSent:function(){return i},loadGetInitialProps:function(){return s},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return P}});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),u=0;uo.test(e);function l(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function a(){let{href:e}=window.location,t=l();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function i(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 s(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await s(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&i(n))return r;if(!r)throw Error('"'+f(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 y extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class b extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class m extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(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/9873-1f9f7420ad1929d8.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9873-1f9f7420ad1929d8.js new file mode 100644 index 0000000..39961f8 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/9873-1f9f7420ad1929d8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9873],{16118:(e,r,n)=>{var t=n(65834);n.o(t,"usePathname")&&n.d(r,{usePathname:function(){return t.usePathname}}),n.o(t,"useRouter")&&n.d(r,{useRouter:function(){return t.useRouter}})},76056:(e,r,n)=>{n.d(r,{jH:()=>a});var t=n(20107);n(20475);var o=t.createContext(void 0);function a(e){let r=t.useContext(o);return e||r||"ltr"}},77536:(e,r,n)=>{n.d(r,{H_:()=>e6,UC:()=>e7,YJ:()=>e4,q7:()=>e3,VF:()=>e9,JU:()=>e5,ZL:()=>e1,z6:()=>e2,hN:()=>e8,bL:()=>e$,wv:()=>re,Pb:()=>rr,G5:()=>rt,ZP:()=>rn,l9:()=>e0});var t=n(20107),o=n(94521),a=n(64236),u=n(45170),l=n(13061),i=n(34544),s=n(32474),d=n(76056),c=n(55302),p=n(10201),f=n(38573),v=n(72763),m=n(57563),h=n(41913),g=n(54245),w=n(71856),x=n(61837),y=n(46774),b=n(58020),C=n(9543),R=n(20475),j=["Enter"," "],M=["ArrowUp","PageDown","End"],D=["ArrowDown","PageUp","Home",...M],_={ltr:[...j,"ArrowRight"],rtl:[...j,"ArrowLeft"]},k={ltr:["ArrowLeft"],rtl:["ArrowRight"]},I="Menu",[P,E,T]=(0,s.N)(I),[N,F]=(0,u.A)(I,[T,m.Bk,w.RG]),S=(0,m.Bk)(),A=(0,w.RG)(),[L,O]=N(I),[G,K]=N(I),B=e=>{let{__scopeMenu:r,open:n=!1,children:o,dir:a,onOpenChange:u,modal:l=!0}=e,i=S(r),[s,c]=t.useState(null),p=t.useRef(!1),f=(0,y.c)(u),v=(0,d.jH)(a);return t.useEffect(()=>{let e=()=>{p.current=!0,document.addEventListener("pointerdown",r,{capture:!0,once:!0}),document.addEventListener("pointermove",r,{capture:!0,once:!0})},r=()=>p.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",r,{capture:!0}),document.removeEventListener("pointermove",r,{capture:!0})}},[]),(0,R.jsx)(m.bL,{...i,children:(0,R.jsx)(L,{scope:r,open:n,onOpenChange:f,content:s,onContentChange:c,children:(0,R.jsx)(G,{scope:r,onClose:t.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:p,dir:v,modal:l,children:o})})})};B.displayName=I;var U=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e,o=S(n);return(0,R.jsx)(m.Mz,{...o,...t,ref:r})});U.displayName="MenuAnchor";var V="MenuPortal",[H,X]=N(V,{forceMount:void 0}),q=e=>{let{__scopeMenu:r,forceMount:n,children:t,container:o}=e,a=O(V,r);return(0,R.jsx)(H,{scope:r,forceMount:n,children:(0,R.jsx)(g.C,{present:n||a.open,children:(0,R.jsx)(h.Z,{asChild:!0,container:o,children:t})})})};q.displayName=V;var z="MenuContent",[Z,Y]=N(z),J=t.forwardRef((e,r)=>{let n=X(z,e.__scopeMenu),{forceMount:t=n.forceMount,...o}=e,a=O(z,e.__scopeMenu),u=K(z,e.__scopeMenu);return(0,R.jsx)(P.Provider,{scope:e.__scopeMenu,children:(0,R.jsx)(g.C,{present:t||a.open,children:(0,R.jsx)(P.Slot,{scope:e.__scopeMenu,children:u.modal?(0,R.jsx)(W,{...o,ref:r}):(0,R.jsx)(Q,{...o,ref:r})})})})}),W=t.forwardRef((e,r)=>{let n=O(z,e.__scopeMenu),u=t.useRef(null),l=(0,a.s)(r,u);return t.useEffect(()=>{let e=u.current;if(e)return(0,b.Eq)(e)},[]),(0,R.jsx)($,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,o.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Q=t.forwardRef((e,r)=>{let n=O(z,e.__scopeMenu);return(0,R.jsx)($,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),$=t.forwardRef((e,r)=>{let{__scopeMenu:n,loop:u=!1,trapFocus:l,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:d,onEntryFocus:v,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:b,onDismiss:j,disableOutsideScroll:_,...k}=e,I=O(z,n),P=K(z,n),T=S(n),N=A(n),F=E(n),[L,G]=t.useState(null),B=t.useRef(null),U=(0,a.s)(r,B,I.onContentChange),V=t.useRef(0),H=t.useRef(""),X=t.useRef(0),q=t.useRef(null),Y=t.useRef("right"),J=t.useRef(0),W=_?C.A:t.Fragment,Q=_?{as:x.DX,allowPinchZoom:!0}:void 0,$=e=>{var r,n;let t=H.current+e,o=F().filter(e=>!e.disabled),a=document.activeElement,u=null===(r=o.find(e=>e.ref.current===a))||void 0===r?void 0:r.textValue,l=function(e,r,n){var t;let o=r.length>1&&Array.from(r).every(e=>e===r[0])?r[0]:r,a=(t=Math.max(n?e.indexOf(n):-1,0),e.map((r,n)=>e[(t+n)%e.length]));1===o.length&&(a=a.filter(e=>e!==n));let u=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return u!==n?u:void 0}(o.map(e=>e.textValue),t,u),i=null===(n=o.find(e=>e.textValue===l))||void 0===n?void 0:n.ref.current;!function e(r){H.current=r,window.clearTimeout(V.current),""!==r&&(V.current=window.setTimeout(()=>e(""),1e3))}(t),i&&setTimeout(()=>i.focus())};t.useEffect(()=>()=>window.clearTimeout(V.current),[]),(0,p.Oh)();let ee=t.useCallback(e=>{var r,n;return Y.current===(null===(r=q.current)||void 0===r?void 0:r.side)&&function(e,r){return!!r&&function(e,r){let{x:n,y:t}=e,o=!1;for(let e=0,a=r.length-1;et!=s>t&&n<(i-u)*(t-l)/(s-l)+u&&(o=!o)}return o}({x:e.clientX,y:e.clientY},r)}(e,null===(n=q.current)||void 0===n?void 0:n.area)},[]);return(0,R.jsx)(Z,{scope:n,searchRef:H,onItemEnter:t.useCallback(e=>{ee(e)&&e.preventDefault()},[ee]),onItemLeave:t.useCallback(e=>{var r;ee(e)||(null===(r=B.current)||void 0===r||r.focus(),G(null))},[ee]),onTriggerLeave:t.useCallback(e=>{ee(e)&&e.preventDefault()},[ee]),pointerGraceTimerRef:X,onPointerGraceIntentChange:t.useCallback(e=>{q.current=e},[]),children:(0,R.jsx)(W,{...Q,children:(0,R.jsx)(f.n,{asChild:!0,trapped:l,onMountAutoFocus:(0,o.m)(i,e=>{var r;e.preventDefault(),null===(r=B.current)||void 0===r||r.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,R.jsx)(c.qW,{asChild:!0,disableOutsidePointerEvents:d,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:b,onDismiss:j,children:(0,R.jsx)(w.bL,{asChild:!0,...N,dir:P.dir,orientation:"vertical",loop:u,currentTabStopId:L,onCurrentTabStopIdChange:G,onEntryFocus:(0,o.m)(v,e=>{P.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,R.jsx)(m.UC,{role:"menu","aria-orientation":"vertical","data-state":e_(I.open),"data-radix-menu-content":"",dir:P.dir,...T,...k,ref:U,style:{outline:"none",...k.style},onKeyDown:(0,o.m)(k.onKeyDown,e=>{let r=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,t=1===e.key.length;r&&("Tab"===e.key&&e.preventDefault(),!n&&t&&$(e.key));let o=B.current;if(e.target!==o||!D.includes(e.key))return;e.preventDefault();let a=F().filter(e=>!e.disabled).map(e=>e.ref.current);M.includes(e.key)&&a.reverse(),function(e){let r=document.activeElement;for(let n of e)if(n===r||(n.focus(),document.activeElement!==r))return}(a)}),onBlur:(0,o.m)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(V.current),H.current="")}),onPointerMove:(0,o.m)(e.onPointerMove,eP(e=>{let r=e.target,n=J.current!==e.clientX;if(e.currentTarget.contains(r)&&n){let r=e.clientX>J.current?"right":"left";Y.current=r,J.current=e.clientX}}))})})})})})})});J.displayName=z;var ee=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e;return(0,R.jsx)(i.sG.div,{role:"group",...t,ref:r})});ee.displayName="MenuGroup";var er=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e;return(0,R.jsx)(i.sG.div,{...t,ref:r})});er.displayName="MenuLabel";var en="MenuItem",et="menu.itemSelect",eo=t.forwardRef((e,r)=>{let{disabled:n=!1,onSelect:u,...l}=e,s=t.useRef(null),d=K(en,e.__scopeMenu),c=Y(en,e.__scopeMenu),p=(0,a.s)(r,s),f=t.useRef(!1);return(0,R.jsx)(ea,{...l,ref:p,disabled:n,onClick:(0,o.m)(e.onClick,()=>{let e=s.current;if(!n&&e){let r=new CustomEvent(et,{bubbles:!0,cancelable:!0});e.addEventListener(et,e=>null==u?void 0:u(e),{once:!0}),(0,i.hO)(e,r),r.defaultPrevented?f.current=!1:d.onClose()}}),onPointerDown:r=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,r),f.current=!0},onPointerUp:(0,o.m)(e.onPointerUp,e=>{var r;f.current||null===(r=e.currentTarget)||void 0===r||r.click()}),onKeyDown:(0,o.m)(e.onKeyDown,e=>{let r=""!==c.searchRef.current;!n&&(!r||" "!==e.key)&&j.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});eo.displayName=en;var ea=t.forwardRef((e,r)=>{let{__scopeMenu:n,disabled:u=!1,textValue:l,...s}=e,d=Y(en,n),c=A(n),p=t.useRef(null),f=(0,a.s)(r,p),[v,m]=t.useState(!1),[h,g]=t.useState("");return t.useEffect(()=>{let e=p.current;if(e){var r;g((null!==(r=e.textContent)&&void 0!==r?r:"").trim())}},[s.children]),(0,R.jsx)(P.ItemSlot,{scope:n,disabled:u,textValue:null!=l?l:h,children:(0,R.jsx)(w.q7,{asChild:!0,...c,focusable:!u,children:(0,R.jsx)(i.sG.div,{role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":u||void 0,"data-disabled":u?"":void 0,...s,ref:f,onPointerMove:(0,o.m)(e.onPointerMove,eP(e=>{u?d.onItemLeave(e):(d.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,o.m)(e.onPointerLeave,eP(e=>d.onItemLeave(e))),onFocus:(0,o.m)(e.onFocus,()=>m(!0)),onBlur:(0,o.m)(e.onBlur,()=>m(!1))})})})}),eu=t.forwardRef((e,r)=>{let{checked:n=!1,onCheckedChange:t,...a}=e;return(0,R.jsx)(ev,{scope:e.__scopeMenu,checked:n,children:(0,R.jsx)(eo,{role:"menuitemcheckbox","aria-checked":ek(n)?"mixed":n,...a,ref:r,"data-state":eI(n),onSelect:(0,o.m)(a.onSelect,()=>null==t?void 0:t(!!ek(n)||!n),{checkForDefaultPrevented:!1})})})});eu.displayName="MenuCheckboxItem";var el="MenuRadioGroup",[ei,es]=N(el,{value:void 0,onValueChange:()=>{}}),ed=t.forwardRef((e,r)=>{let{value:n,onValueChange:t,...o}=e,a=(0,y.c)(t);return(0,R.jsx)(ei,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,R.jsx)(ee,{...o,ref:r})})});ed.displayName=el;var ec="MenuRadioItem",ep=t.forwardRef((e,r)=>{let{value:n,...t}=e,a=es(ec,e.__scopeMenu),u=n===a.value;return(0,R.jsx)(ev,{scope:e.__scopeMenu,checked:u,children:(0,R.jsx)(eo,{role:"menuitemradio","aria-checked":u,...t,ref:r,"data-state":eI(u),onSelect:(0,o.m)(t.onSelect,()=>{var e;return null===(e=a.onValueChange)||void 0===e?void 0:e.call(a,n)},{checkForDefaultPrevented:!1})})})});ep.displayName=ec;var ef="MenuItemIndicator",[ev,em]=N(ef,{checked:!1}),eh=t.forwardRef((e,r)=>{let{__scopeMenu:n,forceMount:t,...o}=e,a=em(ef,n);return(0,R.jsx)(g.C,{present:t||ek(a.checked)||!0===a.checked,children:(0,R.jsx)(i.sG.span,{...o,ref:r,"data-state":eI(a.checked)})})});eh.displayName=ef;var eg=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e;return(0,R.jsx)(i.sG.div,{role:"separator","aria-orientation":"horizontal",...t,ref:r})});eg.displayName="MenuSeparator";var ew=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e,o=S(n);return(0,R.jsx)(m.i3,{...o,...t,ref:r})});ew.displayName="MenuArrow";var ex="MenuSub",[ey,eb]=N(ex),eC=e=>{let{__scopeMenu:r,children:n,open:o=!1,onOpenChange:a}=e,u=O(ex,r),l=S(r),[i,s]=t.useState(null),[d,c]=t.useState(null),p=(0,y.c)(a);return t.useEffect(()=>(!1===u.open&&p(!1),()=>p(!1)),[u.open,p]),(0,R.jsx)(m.bL,{...l,children:(0,R.jsx)(L,{scope:r,open:o,onOpenChange:p,content:d,onContentChange:c,children:(0,R.jsx)(ey,{scope:r,contentId:(0,v.B)(),triggerId:(0,v.B)(),trigger:i,onTriggerChange:s,children:n})})})};eC.displayName=ex;var eR="MenuSubTrigger",ej=t.forwardRef((e,r)=>{let n=O(eR,e.__scopeMenu),u=K(eR,e.__scopeMenu),l=eb(eR,e.__scopeMenu),i=Y(eR,e.__scopeMenu),s=t.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:c}=i,p={__scopeMenu:e.__scopeMenu},f=t.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return t.useEffect(()=>f,[f]),t.useEffect(()=>{let e=d.current;return()=>{window.clearTimeout(e),c(null)}},[d,c]),(0,R.jsx)(U,{asChild:!0,...p,children:(0,R.jsx)(ea,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":l.contentId,"data-state":e_(n.open),...e,ref:(0,a.t)(r,l.onTriggerChange),onClick:r=>{var t;null===(t=e.onClick)||void 0===t||t.call(e,r),e.disabled||r.defaultPrevented||(r.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,o.m)(e.onPointerMove,eP(r=>{i.onItemEnter(r),r.defaultPrevented||e.disabled||n.open||s.current||(i.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:(0,o.m)(e.onPointerLeave,eP(e=>{var r,t;f();let o=null===(r=n.content)||void 0===r?void 0:r.getBoundingClientRect();if(o){let r=null===(t=n.content)||void 0===t?void 0:t.dataset.side,a="right"===r,u=o[a?"left":"right"],l=o[a?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:u,y:o.top},{x:l,y:o.top},{x:l,y:o.bottom},{x:u,y:o.bottom}],side:r}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.m)(e.onKeyDown,r=>{let t=""!==i.searchRef.current;if(!e.disabled&&(!t||" "!==r.key)&&_[u.dir].includes(r.key)){var o;n.onOpenChange(!0),null===(o=n.content)||void 0===o||o.focus(),r.preventDefault()}})})})});ej.displayName=eR;var eM="MenuSubContent",eD=t.forwardRef((e,r)=>{let n=X(z,e.__scopeMenu),{forceMount:u=n.forceMount,...l}=e,i=O(z,e.__scopeMenu),s=K(z,e.__scopeMenu),d=eb(eM,e.__scopeMenu),c=t.useRef(null),p=(0,a.s)(r,c);return(0,R.jsx)(P.Provider,{scope:e.__scopeMenu,children:(0,R.jsx)(g.C,{present:u||i.open,children:(0,R.jsx)(P.Slot,{scope:e.__scopeMenu,children:(0,R.jsx)($,{id:d.contentId,"aria-labelledby":d.triggerId,...l,ref:p,align:"start",side:"rtl"===s.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var r;s.isUsingKeyboardRef.current&&(null===(r=c.current)||void 0===r||r.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.m)(e.onFocusOutside,e=>{e.target!==d.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:(0,o.m)(e.onEscapeKeyDown,e=>{s.onClose(),e.preventDefault()}),onKeyDown:(0,o.m)(e.onKeyDown,e=>{let r=e.currentTarget.contains(e.target),n=k[s.dir].includes(e.key);if(r&&n){var t;i.onOpenChange(!1),null===(t=d.trigger)||void 0===t||t.focus(),e.preventDefault()}})})})})})});function e_(e){return e?"open":"closed"}function ek(e){return"indeterminate"===e}function eI(e){return ek(e)?"indeterminate":e?"checked":"unchecked"}function eP(e){return r=>"mouse"===r.pointerType?e(r):void 0}eD.displayName=eM;var eE="DropdownMenu",[eT,eN]=(0,u.A)(eE,[F]),eF=F(),[eS,eA]=eT(eE),eL=e=>{let{__scopeDropdownMenu:r,children:n,dir:o,open:a,defaultOpen:u,onOpenChange:i,modal:s=!0}=e,d=eF(r),c=t.useRef(null),[p=!1,f]=(0,l.i)({prop:a,defaultProp:u,onChange:i});return(0,R.jsx)(eS,{scope:r,triggerId:(0,v.B)(),triggerRef:c,contentId:(0,v.B)(),open:p,onOpenChange:f,onOpenToggle:t.useCallback(()=>f(e=>!e),[f]),modal:s,children:(0,R.jsx)(B,{...d,open:p,onOpenChange:f,dir:o,modal:s,children:n})})};eL.displayName=eE;var eO="DropdownMenuTrigger",eG=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,disabled:t=!1,...u}=e,l=eA(eO,n),s=eF(n);return(0,R.jsx)(U,{asChild:!0,...s,children:(0,R.jsx)(i.sG.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...u,ref:(0,a.t)(r,l.triggerRef),onPointerDown:(0,o.m)(e.onPointerDown,e=>{t||0!==e.button||!1!==e.ctrlKey||(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:(0,o.m)(e.onKeyDown,e=>{!t&&(["Enter"," "].includes(e.key)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});eG.displayName=eO;var eK=e=>{let{__scopeDropdownMenu:r,...n}=e,t=eF(r);return(0,R.jsx)(q,{...t,...n})};eK.displayName="DropdownMenuPortal";var eB="DropdownMenuContent",eU=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,u=eA(eB,n),l=eF(n),i=t.useRef(!1);return(0,R.jsx)(J,{id:u.contentId,"aria-labelledby":u.triggerId,...l,...a,ref:r,onCloseAutoFocus:(0,o.m)(e.onCloseAutoFocus,e=>{var r;i.current||null===(r=u.triggerRef.current)||void 0===r||r.focus(),i.current=!1,e.preventDefault()}),onInteractOutside:(0,o.m)(e.onInteractOutside,e=>{let r=e.detail.originalEvent,n=0===r.button&&!0===r.ctrlKey,t=2===r.button||n;(!u.modal||t)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eU.displayName=eB;var eV=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(ee,{...o,...t,ref:r})});eV.displayName="DropdownMenuGroup";var eH=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(er,{...o,...t,ref:r})});eH.displayName="DropdownMenuLabel";var eX=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(eo,{...o,...t,ref:r})});eX.displayName="DropdownMenuItem";var eq=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(eu,{...o,...t,ref:r})});eq.displayName="DropdownMenuCheckboxItem";var ez=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(ed,{...o,...t,ref:r})});ez.displayName="DropdownMenuRadioGroup";var eZ=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(ep,{...o,...t,ref:r})});eZ.displayName="DropdownMenuRadioItem";var eY=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(eh,{...o,...t,ref:r})});eY.displayName="DropdownMenuItemIndicator";var eJ=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(eg,{...o,...t,ref:r})});eJ.displayName="DropdownMenuSeparator",t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(ew,{...o,...t,ref:r})}).displayName="DropdownMenuArrow";var eW=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(ej,{...o,...t,ref:r})});eW.displayName="DropdownMenuSubTrigger";var eQ=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eF(n);return(0,R.jsx)(eD,{...o,...t,ref:r,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eQ.displayName="DropdownMenuSubContent";var e$=eL,e0=eG,e1=eK,e7=eU,e4=eV,e5=eH,e3=eX,e6=eq,e2=ez,e8=eZ,e9=eY,re=eJ,rr=e=>{let{__scopeDropdownMenu:r,children:n,open:t,onOpenChange:o,defaultOpen:a}=e,u=eF(r),[i=!1,s]=(0,l.i)({prop:t,defaultProp:a,onChange:o});return(0,R.jsx)(eC,{...u,open:i,onOpenChange:s,children:n})},rn=eW,rt=eQ},71856:(e,r,n)=>{n.d(r,{RG:()=>b,bL:()=>P,q7:()=>E});var t=n(20107),o=n(94521),a=n(32474),u=n(64236),l=n(54379),i=n(72763),s=n(34544),d=n(46774),c=n(13061),p=n(76056),f=n(20475),v="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[g,w,x]=(0,a.N)(h),[y,b]=(0,l.A)(h,[x]),[C,R]=y(h),j=t.forwardRef((e,r)=>(0,f.jsx)(g.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(g.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(M,{...e,ref:r})})}));j.displayName=h;var M=t.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:l=!1,dir:i,currentTabStopId:h,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:x,onEntryFocus:y,preventScrollOnEntryFocus:b=!1,...R}=e,j=t.useRef(null),M=(0,u.s)(r,j),D=(0,p.jH)(i),[_=null,k]=(0,c.i)({prop:h,defaultProp:g,onChange:x}),[P,E]=t.useState(!1),T=(0,d.c)(y),N=w(n),F=t.useRef(!1),[S,A]=t.useState(0);return t.useEffect(()=>{let e=j.current;if(e)return e.addEventListener(v,T),()=>e.removeEventListener(v,T)},[T]),(0,f.jsx)(C,{scope:n,orientation:a,dir:D,loop:l,currentTabStopId:_,onItemFocus:t.useCallback(e=>k(e),[k]),onItemShiftTab:t.useCallback(()=>E(!0),[]),onFocusableItemAdd:t.useCallback(()=>A(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>A(e=>e-1),[]),children:(0,f.jsx)(s.sG.div,{tabIndex:P||0===S?-1:0,"data-orientation":a,...R,ref:M,style:{outline:"none",...e.style},onMouseDown:(0,o.m)(e.onMouseDown,()=>{F.current=!0}),onFocus:(0,o.m)(e.onFocus,e=>{let r=!F.current;if(e.target===e.currentTarget&&r&&!P){let r=new CustomEvent(v,m);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=N().filter(e=>e.focusable);I([e.find(e=>e.active),e.find(e=>e.id===_),...e].filter(Boolean).map(e=>e.ref.current),b)}}F.current=!1}),onBlur:(0,o.m)(e.onBlur,()=>E(!1))})})}),D="RovingFocusGroupItem",_=t.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:u=!1,tabStopId:l,...d}=e,c=(0,i.B)(),p=l||c,v=R(D,n),m=v.currentTabStopId===p,h=w(n),{onFocusableItemAdd:x,onFocusableItemRemove:y}=v;return t.useEffect(()=>{if(a)return x(),()=>y()},[a,x,y]),(0,f.jsx)(g.ItemSlot,{scope:n,id:p,focusable:a,active:u,children:(0,f.jsx)(s.sG.span,{tabIndex:m?0:-1,"data-orientation":v.orientation,...d,ref:r,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a?v.onItemFocus(p):e.preventDefault()}),onFocus:(0,o.m)(e.onFocus,()=>v.onItemFocus(p)),onKeyDown:(0,o.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){v.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let r=function(e,r,n){var t;let o=(t=e.key,"rtl"!==n?t:"ArrowLeft"===t?"ArrowRight":"ArrowRight"===t?"ArrowLeft":t);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return k[o]}(e,v.orientation,v.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=h().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)n.reverse();else if("prev"===r||"next"===r){"prev"===r&&n.reverse();let t=n.indexOf(e.currentTarget);n=v.loop?function(e,r){return e.map((n,t)=>e[(r+t)%e.length])}(n,t+1):n.slice(t+1)}setTimeout(()=>I(n))}})})})});_.displayName=D;var k={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function I(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let t of e)if(t===n||(t.focus({preventScroll:r}),document.activeElement!==n))return}var P=j,E=_}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-e020f586172ca1f4.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-e020f586172ca1f4.js deleted file mode 100644 index df69b79..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-e020f586172ca1f4.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6655],{96520:(e,s,r)=>{Promise.resolve().then(r.bind(r,51228))},51228:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>u});var t=r(20475),n=r(20107),a=r(72167);let l=()=>{let[e,s]=(0,n.useState)(null),[r,t]=(0,n.useState)(!0),a=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/settings/device-uptime.sh"),r=await e.json();s(e=>e?{...e,deviceUptime:r.uptime.formatted||"N/A"}:e)}catch(e){console.error("Error fetching uptime:",e)}},[]),l=(0,n.useCallback)(async()=>{try{t(!0);let[e,r]=await Promise.all([fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=3"),fetch("/cgi-bin/quecmanager/settings/device-uptime.sh")]),[n,a]=await Promise.all([e.json(),r.json()]);console.log("Raw data:",n);let l={manufacturer:n[0].response.split("\n")[1].trim(),model:n[1].response.split("\n")[1].trim(),firmwareVersion:n[2].response.split("\n")[1].trim(),phoneNum:n[3].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim(),imsi:n[4].response.split("\n")[1].trim(),iccid:n[5].response.split("\n")[1].split(":")[1].trim(),imei:n[6].response.split("\n")[1].trim(),currentDeviceIP:n[7].response.split("\n")[1].split(",")[1].replace(/"/g,"").trim(),lanGateway:n[7].response.split("\n")[1].split(":")[1].split(",")[3].replace(/"/g,"").trim(),wwanIPv4:n[8].response.split("\n")[1].split(":")[1].split(",")[4].replace(/"/g,"").trim(),wwanIPv6:n[8].response.split("\n")[2].split(",")[4].replace(/"/g,"").trim(),lteCategory:n[9].response.split("\n")[5].split(":")[2].trim(),deviceUptime:a.uptime.formatted||"N/A",LTE3GppRel:n[10].response.split("\n")[1].split(":")[1].split(",")[1].replace(/R/g,"").trim(),NR3GppRel:n[10].response.split("\n")[1].split(":")[1].split(",")[2].replace(/R/g,"").trim()};s(l)}catch(e){console.error("Error fetching data:",e)}t(!1)},[]);return(0,n.useEffect)(()=>{l();let e=setInterval(a,1e3);return()=>{clearInterval(e)}},[l,a]),{data:e,isLoading:r,fetchAboutData:l}};var i=r(36824),d=r(36760),c=r(42541),o=r(51589),m=r(54385);let u=()=>{let{data:e,isLoading:s}=l(),[r,u]=n.useState(!1);return(0,t.jsxs)(a.Zp,{children:[(0,t.jsxs)(a.aR,{children:[(0,t.jsx)(a.ZB,{children:"QuecManager"}),(0,t.jsx)("div",{className:"grid xl:gap-y-10 gap-y-8 gap-4",children:(0,t.jsx)("div",{className:"grid gap-4",children:(0,t.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,t.jsx)("div",{className:"flex flex-row items-center gap-x-2",children:(0,t.jsx)(a.BT,{children:"What is QuecManager and how it can help you."})}),(0,t.jsx)("div",{className:"flex flex-row items-center gap-x-2",children:(0,t.jsxs)(c.$,{onClick:()=>u(e=>!e),children:[r?(0,t.jsx)(o.A,{className:"xl:size-6 size-5"}):(0,t.jsx)(m.A,{className:"xl:size-6 size-5"}),(0,t.jsxs)("span",{className:"hidden md:block",children:[r?"Show":"Hide"," Sensitive Data"]})]})})]})})})]}),(0,t.jsxs)(a.Wu,{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-8",children:[(0,t.jsxs)(a.Zp,{children:[(0,t.jsxs)(a.aR,{children:[(0,t.jsx)(a.ZB,{children:"Device Technical Details"}),(0,t.jsx)(a.BT,{children:"View technical details of your device."})]}),(0,t.jsx)(a.Wu,{children:(0,t.jsxs)(i.F,{className:"w-full",children:[(0,t.jsxs)("div",{className:"grid md:gap-2 gap-4",children:[(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Modem Manufacturer"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.manufacturer)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Modem Model"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.model)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"LTE 3GPP Release Version"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):(0,t.jsxs)(t.Fragment,{children:["Release ",(null==e?void 0:e.LTE3GppRel)||"N/A"]})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"NR5G 3GPP Release Version"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):(0,t.jsxs)(t.Fragment,{children:["Release ",(null==e?void 0:e.NR3GppRel)||"N/A"]})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Firmware Revision"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.firmwareVersion)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"LTE Category"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):(0,t.jsxs)(t.Fragment,{children:["CAT-",(null==e?void 0:e.lteCategory)||"N/A"]})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Active Phone Number"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.phoneNum)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Active IMSI"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.imsi)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Active ICCID"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.iccid)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"IMEI"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.imei)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Current Device IP"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.currentDeviceIP)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"LAN Gateway"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.lanGateway)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"WWAN IPv4"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.wwanIPv4)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"WWAN IPv6"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.wwanIPv6)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Device Uptime"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(d.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.deviceUptime)||"N/A"})})]})]}),(0,t.jsx)(i.$,{orientation:"horizontal"})]})})]}),(0,t.jsxs)(a.Zp,{children:[(0,t.jsxs)(a.aR,{children:[(0,t.jsx)(a.ZB,{children:"About Us"}),(0,t.jsx)(a.BT,{children:"Who we are and what we do."})]}),(0,t.jsxs)(a.Wu,{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("h1",{className:"text-xl font-bold antialiased",children:"QuecManager"}),(0,t.jsx)("p",{className:"text-md font-medium antialiased",children:"QuecManager is a modern dashboard for managing and monitoring cellular modems, evolved from its roots as 'Simple Admin' in the RGMII toolkit. The application provides real-time insights into signal metrics, carrier aggregation, network addressing, and band-specific performance while offering intuitive controls for modem configuration. With its comprehensive feature set and clean interface, QuecManager transforms complex cellular technology into an accessible experience for both technical users and those simply looking to optimize their connectivity. Our mission remains focused on delivering powerful monitoring and management capabilities without sacrificing usability or visual clarity."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-xl font-bold antialiased",children:"Thanks to"}),(0,t.jsxs)("ul",{className:"list-disc list-inside text-md font-medium antialiased",children:[(0,t.jsxs)("li",{children:["RGMII Toolkit, Documentation, and Backend",(0,t.jsx)("a",{href:"https://github.com/iamromulan",target:"_blank",className:"text-primary font-semibold ml-2",children:"iamromulan"})]}),(0,t.jsxs)("li",{children:["Simple Admin 2.0 and QuecManager Scripts & GUI",(0,t.jsx)("a",{href:"https://github.com/dr-dolomite",target:"_blank",className:"text-primary font-semibold ml-2",children:"dr-dolomite"})]}),(0,t.jsxs)("li",{children:["QuecManager Scripts & GUI Improvements",(0,t.jsx)("a",{href:"https://github.com/clndwhr",target:"_blank",className:"text-primary font-semibold ml-2",children:"clndwhr"})]}),(0,t.jsxs)("li",{children:["Original Simple Admin",(0,t.jsx)("a",{href:"https://github.com/aesthernr",target:"_blank",className:"text-primary font-semibold ml-2",children:"aesthernr"})]}),(0,t.jsxs)("li",{children:["Original Socat Bridge",(0,t.jsx)("a",{href:"https://github.com/natecarlson",target:"_blank",className:"text-primary font-semibold ml-2",children:"natecarlson"})]}),(0,t.jsx)("li",{children:"Wutang Clan"})]}),(0,t.jsxs)("div",{className:"mt-2 gap-y-1",children:[(0,t.jsxs)("p",{children:["Check the Quecmanager project",(0,t.jsx)("a",{href:"https://github.com/dr-dolomite/QuecManager-JS",target:"_blank",className:"text-primary font-semibold ml-1",children:"here"})]}),(0,t.jsxs)("p",{children:["Check the toolkit project",(0,t.jsx)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit",target:"_blank",className:"text-primary font-semibold ml-1",children:"here"})]})]})]})]})]})]}),(0,t.jsx)(a.wL,{className:"flex justify-center",children:(0,t.jsx)("p",{children:"QuecManager \xa9 2024 - For Personal Use Only. All rights reserved."})})]})}},42541:(e,s,r)=>{"use strict";r.d(s,{$:()=>c,r:()=>d});var t=r(20475),n=r(20107),a=r(61837),l=r(29395),i=r(22250);let d=(0,l.F)("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:r,variant:n,size:l,asChild:c=!1,...o}=e,m=c?a.DX:"button";return(0,t.jsx)(m,{className:(0,i.cn)(d({variant:n,size:l,className:r})),ref:s,...o})});c.displayName="Button"},72167:(e,s,r)=>{"use strict";r.d(s,{BT:()=>c,Wu:()=>o,ZB:()=>d,Zp:()=>l,aR:()=>i,wL:()=>m});var t=r(20475),n=r(20107),a=r(22250);let l=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,a.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});l.displayName="Card";let i=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",r),...n})});i.displayName="CardHeader";let d=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("h3",{ref:s,className:(0,a.cn)("font-semibold leading-none tracking-tight",r),...n})});d.displayName="CardTitle";let c=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("p",{ref:s,className:(0,a.cn)("text-sm text-muted-foreground",r),...n})});c.displayName="CardDescription";let o=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,a.cn)("p-6 pt-0",r),...n})});o.displayName="CardContent";let m=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,a.cn)("flex items-center p-6 pt-0",r),...n})});m.displayName="CardFooter"},36824:(e,s,r)=>{"use strict";r.d(s,{$:()=>d,F:()=>i});var t=r(20475),n=r(20107),a=r(89679),l=r(22250);let i=n.forwardRef((e,s)=>{let{className:r,children:n,...i}=e;return(0,t.jsxs)(a.bL,{ref:s,className:(0,l.cn)("relative overflow-hidden",r),...i,children:[(0,t.jsx)(a.LM,{className:"h-full w-full rounded-[inherit]",children:n}),(0,t.jsx)(d,{}),(0,t.jsx)(a.OK,{})]})});i.displayName=a.bL.displayName;let d=n.forwardRef((e,s)=>{let{className:r,orientation:n="vertical",...i}=e;return(0,t.jsx)(a.VM,{ref:s,orientation:n,className:(0,l.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),...i,children:(0,t.jsx)(a.lr,{className:"relative flex-1 rounded-full bg-border"})})});d.displayName=a.VM.displayName},36760:(e,s,r)=>{"use strict";r.d(s,{E:()=>a});var t=r(20475),n=r(22250);function a(e){let{className:s,...r}=e;return(0,t.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",s),...r})}},22250:(e,s,r)=>{"use strict";r.d(s,{cn:()=>a});var t=r(64901),n=r(868);function a(){for(var e=arguments.length,s=Array(e),r=0;r{"use strict";r.d(s,{A:()=>t});let t=(0,r(39997).A)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},51589:(e,s,r)=>{"use strict";r.d(s,{A:()=>t});let t=(0,r(39997).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},94521:(e,s,r)=>{"use strict";function t(e,s,{checkForDefaultPrevented:r=!0}={}){return function(t){if(e?.(t),!1===r||!t.defaultPrevented)return s?.(t)}}r.d(s,{m:()=>t})},45170:(e,s,r)=>{"use strict";r.d(s,{A:()=>l,q:()=>a});var t=r(20107),n=r(20475);function a(e,s){let r=t.createContext(s),a=e=>{let{children:s,...a}=e,l=t.useMemo(()=>a,Object.values(a));return(0,n.jsx)(r.Provider,{value:l,children:s})};return a.displayName=e+"Provider",[a,function(n){let a=t.useContext(r);if(a)return a;if(void 0!==s)return s;throw Error(`\`${n}\` must be used within \`${e}\``)}]}function l(e,s=[]){let r=[],a=()=>{let s=r.map(e=>t.createContext(e));return function(r){let n=r?.[e]||s;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return a.scopeName=e,[function(s,a){let l=t.createContext(a),i=r.length;r=[...r,a];let d=s=>{let{scope:r,children:a,...d}=s,c=r?.[e]?.[i]||l,o=t.useMemo(()=>d,Object.values(d));return(0,n.jsx)(c.Provider,{value:o,children:a})};return d.displayName=s+"Provider",[d,function(r,n){let d=n?.[e]?.[i]||l,c=t.useContext(d);if(c)return c;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${s}\``)}]},function(...e){let s=e[0];if(1===e.length)return s;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((s,{useScope:r,scopeName:t})=>{let n=r(e)[`__scope${t}`];return{...s,...n}},{});return t.useMemo(()=>({[`__scope${s.scopeName}`]:n}),[n])}};return r.scopeName=s.scopeName,r}(a,...s)]}},54245:(e,s,r)=>{"use strict";r.d(s,{C:()=>l});var t=r(20107),n=r(64236),a=r(54122),l=e=>{let{present:s,children:r}=e,l=function(e){var s,r;let[n,l]=t.useState(),d=t.useRef({}),c=t.useRef(e),o=t.useRef("none"),[m,u]=(s=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,s)=>{let t=r[e][s];return null!=t?t:e},s));return t.useEffect(()=>{let e=i(d.current);o.current="mounted"===m?e:"none"},[m]),(0,a.N)(()=>{let s=d.current,r=c.current;if(r!==e){let t=o.current,n=i(s);e?u("MOUNT"):"none"===n||(null==s?void 0:s.display)==="none"?u("UNMOUNT"):r&&t!==n?u("ANIMATION_OUT"):u("UNMOUNT"),c.current=e}},[e,u]),(0,a.N)(()=>{if(n){var e;let s;let r=null!==(e=n.ownerDocument.defaultView)&&void 0!==e?e:window,t=e=>{let t=i(d.current).includes(e.animationName);if(e.target===n&&t&&(u("ANIMATION_END"),!c.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",s=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},a=e=>{e.target===n&&(o.current=i(d.current))};return n.addEventListener("animationstart",a),n.addEventListener("animationcancel",t),n.addEventListener("animationend",t),()=>{r.clearTimeout(s),n.removeEventListener("animationstart",a),n.removeEventListener("animationcancel",t),n.removeEventListener("animationend",t)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:t.useCallback(e=>{e&&(d.current=getComputedStyle(e)),l(e)},[])}}(s),d="function"==typeof r?r({present:l.isPresent}):t.Children.only(r),c=(0,n.s)(l.ref,function(e){var s,r;let t=null===(s=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===s?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(d));return"function"==typeof r||l.isPresent?t.cloneElement(d,{ref:c}):null};function i(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},34544:(e,s,r)=>{"use strict";r.d(s,{hO:()=>d,sG:()=>i});var t=r(20107),n=r(25642),a=r(61837),l=r(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,s)=>{let r=t.forwardRef((e,r)=>{let{asChild:t,...n}=e,i=t?a.DX:s;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i,{...n,ref:r})});return r.displayName=`Primitive.${s}`,{...e,[s]:r}},{});function d(e,s){e&&n.flushSync(()=>e.dispatchEvent(s))}},46774:(e,s,r)=>{"use strict";r.d(s,{c:()=>n});var t=r(20107);function n(e){let s=t.useRef(e);return t.useEffect(()=>{s.current=e}),t.useMemo(()=>(...e)=>s.current?.(...e),[])}},54122:(e,s,r)=>{"use strict";r.d(s,{N:()=>n});var t=r(20107),n=globalThis?.document?t.useLayoutEffect:()=>{}}},e=>{var s=s=>e(e.s=s);e.O(0,[1258,467,191,6035,7358],()=>s(96520)),_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-e3585b7a2d76b411.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-e3585b7a2d76b411.js new file mode 100644 index 0000000..00d950c --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-e3585b7a2d76b411.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6655],{96520:(e,s,r)=>{Promise.resolve().then(r.bind(r,51228))},51228:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>u});var t=r(20475),n=r(20107),l=r(72167);let a=()=>{let[e,s]=(0,n.useState)(null),[r,t]=(0,n.useState)(!0),l=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/settings/device-uptime.sh"),r=await e.json();s(e=>e?{...e,deviceUptime:r.uptime.formatted||"N/A"}:e)}catch(e){console.error("Error fetching uptime:",e)}},[]),a=(0,n.useCallback)(async()=>{try{t(!0);let[e,r]=await Promise.all([fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=3"),fetch("/cgi-bin/quecmanager/settings/device-uptime.sh")]),[n,l]=await Promise.all([e.json(),r.json()]),a={manufacturer:n[0].response.split("\n")[1].trim(),model:n[1].response.split("\n")[1].trim(),firmwareVersion:n[2].response.split("\n")[1].trim(),phoneNum:n[3].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim(),imsi:n[4].response.split("\n")[1].trim(),iccid:n[5].response.split("\n")[1].split(":")[1].trim(),imei:n[6].response.split("\n")[1].trim(),currentDeviceIP:n[7].response.split("\n")[1].split(",")[1].replace(/"/g,"").trim(),lanGateway:n[7].response.split("\n")[1].split(":")[1].split(",")[3].replace(/"/g,"").trim(),wwanIPv4:n[8].response.split("\n")[1].split(":")[1].split(",")[4].replace(/"/g,"").trim(),wwanIPv6:n[8].response.split("\n")[2].split(",")[4].replace(/"/g,"").trim(),lteCategory:n[9].response.split("\n")[5].split(":")[2].trim(),deviceUptime:l.uptime.formatted||"N/A",LTE3GppRel:n[10].response.split("\n")[1].split(":")[1].split(",")[1].replace(/R/g,"").trim(),NR3GppRel:n[10].response.split("\n")[1].split(":")[1].split(",")[2].replace(/R/g,"").trim()};s(a)}catch(e){console.error("Error fetching data:",e)}t(!1)},[]);return(0,n.useEffect)(()=>{a();let e=setInterval(l,1e3);return()=>{clearInterval(e)}},[a,l]),{data:e,isLoading:r,fetchAboutData:a}};var i=r(36824),c=r(36760),d=r(42541),o=r(51589),m=r(54385);let u=()=>{let{data:e,isLoading:s}=a(),[r,u]=n.useState(!1);return(0,t.jsxs)(l.Zp,{children:[(0,t.jsxs)(l.aR,{children:[(0,t.jsx)(l.ZB,{children:"QuecManager"}),(0,t.jsx)("div",{className:"grid xl:gap-y-10 gap-y-8 gap-4",children:(0,t.jsx)("div",{className:"grid gap-4",children:(0,t.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,t.jsx)("div",{className:"flex flex-row items-center gap-x-2",children:(0,t.jsx)(l.BT,{children:"What is QuecManager and how it can help you."})}),(0,t.jsx)("div",{className:"flex flex-row items-center gap-x-2",children:(0,t.jsxs)(d.$,{onClick:()=>u(e=>!e),children:[r?(0,t.jsx)(o.A,{className:"xl:size-6 size-5"}):(0,t.jsx)(m.A,{className:"xl:size-6 size-5"}),(0,t.jsxs)("span",{className:"hidden md:block",children:[r?"Show":"Hide"," Sensitive Data"]})]})})]})})})]}),(0,t.jsxs)(l.Wu,{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-8",children:[(0,t.jsxs)(l.Zp,{children:[(0,t.jsxs)(l.aR,{children:[(0,t.jsx)(l.ZB,{children:"Device Technical Details"}),(0,t.jsx)(l.BT,{children:"View technical details of your device."})]}),(0,t.jsx)(l.Wu,{children:(0,t.jsxs)(i.F,{className:"w-full",children:[(0,t.jsxs)("div",{className:"grid md:gap-2 gap-4",children:[(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Modem Manufacturer"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.manufacturer)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Modem Model"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.model)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"LTE 3GPP Release Version"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsxs)(t.Fragment,{children:["Release ",(null==e?void 0:e.LTE3GppRel)||"N/A"]})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"NR5G 3GPP Release Version"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsxs)(t.Fragment,{children:["Release ",(null==e?void 0:e.NR3GppRel)||"N/A"]})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Firmware Revision"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.firmwareVersion)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"LTE Category"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsxs)(t.Fragment,{children:["CAT-",(null==e?void 0:e.lteCategory)||"N/A"]})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Active Phone Number"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.phoneNum)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Active IMSI"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.imsi)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Active ICCID"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.iccid)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"IMEI"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.imei)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Current Device IP"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.currentDeviceIP)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"LAN Gateway"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.lanGateway)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"WWAN IPv4"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.wwanIPv4)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"WWAN IPv6"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):r?(0,t.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.wwanIPv6)||"N/A"})})]}),(0,t.jsxs)("div",{className:"flex md:flex-row flex-col md:items-center justify-between",children:[(0,t.jsx)("span",{children:"Device Uptime"}),(0,t.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:s?(0,t.jsx)(c.E,{className:"h-4 w-32"}):(0,t.jsx)(t.Fragment,{children:(null==e?void 0:e.deviceUptime)||"N/A"})})]})]}),(0,t.jsx)(i.$,{orientation:"horizontal"})]})})]}),(0,t.jsxs)(l.Zp,{children:[(0,t.jsxs)(l.aR,{children:[(0,t.jsx)(l.ZB,{children:"About Us"}),(0,t.jsx)(l.BT,{children:"Who we are and what we do."})]}),(0,t.jsxs)(l.Wu,{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("h1",{className:"text-xl font-bold antialiased",children:"QuecManager"}),(0,t.jsx)("p",{className:"text-md font-medium antialiased",children:"QuecManager is a modern dashboard for managing and monitoring cellular modems, evolved from its roots as 'Simple Admin' in the RGMII toolkit. The application provides real-time insights into signal metrics, carrier aggregation, network addressing, and band-specific performance while offering intuitive controls for modem configuration. With its comprehensive feature set and clean interface, QuecManager transforms complex cellular technology into an accessible experience for both technical users and those simply looking to optimize their connectivity. Our mission remains focused on delivering powerful monitoring and management capabilities without sacrificing usability or visual clarity."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-xl font-bold antialiased",children:"Thanks to"}),(0,t.jsxs)("ul",{className:"list-disc list-inside text-md font-medium antialiased",children:[(0,t.jsxs)("li",{children:["RGMII Toolkit, Documentation, and Backend",(0,t.jsx)("a",{href:"https://github.com/iamromulan",target:"_blank",className:"text-primary font-semibold ml-2",children:"iamromulan"})]}),(0,t.jsxs)("li",{children:["Simple Admin 2.0 and QuecManager Scripts & GUI",(0,t.jsx)("a",{href:"https://github.com/dr-dolomite",target:"_blank",className:"text-primary font-semibold ml-2",children:"dr-dolomite"})]}),(0,t.jsxs)("li",{children:["QuecManager Scripts & GUI Improvements",(0,t.jsx)("a",{href:"https://github.com/clndwhr",target:"_blank",className:"text-primary font-semibold ml-2",children:"clndwhr"})]}),(0,t.jsxs)("li",{children:["Original Simple Admin",(0,t.jsx)("a",{href:"https://github.com/aesthernr",target:"_blank",className:"text-primary font-semibold ml-2",children:"aesthernr"})]}),(0,t.jsxs)("li",{children:["Original Socat Bridge",(0,t.jsx)("a",{href:"https://github.com/natecarlson",target:"_blank",className:"text-primary font-semibold ml-2",children:"natecarlson"})]}),(0,t.jsx)("li",{children:"Wutang Clan"})]}),(0,t.jsxs)("div",{className:"mt-2 gap-y-1",children:[(0,t.jsxs)("p",{children:["Check the Quecmanager project",(0,t.jsx)("a",{href:"https://github.com/dr-dolomite/QuecManager-JS",target:"_blank",className:"text-primary font-semibold ml-1",children:"here"})]}),(0,t.jsxs)("p",{children:["Check the toolkit project",(0,t.jsx)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit",target:"_blank",className:"text-primary font-semibold ml-1",children:"here"})]})]})]})]})]})]}),(0,t.jsx)(l.wL,{className:"flex justify-center",children:(0,t.jsx)("p",{children:"QuecManager \xa9 2024 - For Personal Use Only. All rights reserved."})})]})}},42541:(e,s,r)=>{"use strict";r.d(s,{$:()=>d,r:()=>c});var t=r(20475),n=r(20107),l=r(61837),a=r(29395),i=r(22250);let c=(0,a.F)("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,s)=>{let{className:r,variant:n,size:a,asChild:d=!1,...o}=e,m=d?l.DX:"button";return(0,t.jsx)(m,{className:(0,i.cn)(c({variant:n,size:a,className:r})),ref:s,...o})});d.displayName="Button"},72167:(e,s,r)=>{"use strict";r.d(s,{BT:()=>d,Wu:()=>o,ZB:()=>c,Zp:()=>a,aR:()=>i,wL:()=>m});var t=r(20475),n=r(20107),l=r(22250);let a=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,l.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});a.displayName="Card";let i=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",r),...n})});i.displayName="CardHeader";let c=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("h3",{ref:s,className:(0,l.cn)("font-semibold leading-none tracking-tight",r),...n})});c.displayName="CardTitle";let d=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("p",{ref:s,className:(0,l.cn)("text-sm text-muted-foreground",r),...n})});d.displayName="CardDescription";let o=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,l.cn)("p-6 pt-0",r),...n})});o.displayName="CardContent";let m=n.forwardRef((e,s)=>{let{className:r,...n}=e;return(0,t.jsx)("div",{ref:s,className:(0,l.cn)("flex items-center p-6 pt-0",r),...n})});m.displayName="CardFooter"},36824:(e,s,r)=>{"use strict";r.d(s,{$:()=>c,F:()=>i});var t=r(20475),n=r(20107),l=r(89679),a=r(22250);let i=n.forwardRef((e,s)=>{let{className:r,children:n,...i}=e;return(0,t.jsxs)(l.bL,{ref:s,className:(0,a.cn)("relative overflow-hidden",r),...i,children:[(0,t.jsx)(l.LM,{className:"h-full w-full rounded-[inherit]",children:n}),(0,t.jsx)(c,{}),(0,t.jsx)(l.OK,{})]})});i.displayName=l.bL.displayName;let c=n.forwardRef((e,s)=>{let{className:r,orientation:n="vertical",...i}=e;return(0,t.jsx)(l.VM,{ref:s,orientation:n,className:(0,a.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),...i,children:(0,t.jsx)(l.lr,{className:"relative flex-1 rounded-full bg-border"})})});c.displayName=l.VM.displayName},36760:(e,s,r)=>{"use strict";r.d(s,{E:()=>l});var t=r(20475),n=r(22250);function l(e){let{className:s,...r}=e;return(0,t.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",s),...r})}},22250:(e,s,r)=>{"use strict";r.d(s,{cn:()=>l});var t=r(64901),n=r(868);function l(){for(var e=arguments.length,s=Array(e),r=0;r{"use strict";r.d(s,{A:()=>t});let t=(0,r(39997).A)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},51589:(e,s,r)=>{"use strict";r.d(s,{A:()=>t});let t=(0,r(39997).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},94521:(e,s,r)=>{"use strict";function t(e,s,{checkForDefaultPrevented:r=!0}={}){return function(t){if(e?.(t),!1===r||!t.defaultPrevented)return s?.(t)}}r.d(s,{m:()=>t})},45170:(e,s,r)=>{"use strict";r.d(s,{A:()=>a,q:()=>l});var t=r(20107),n=r(20475);function l(e,s){let r=t.createContext(s),l=e=>{let{children:s,...l}=e,a=t.useMemo(()=>l,Object.values(l));return(0,n.jsx)(r.Provider,{value:a,children:s})};return l.displayName=e+"Provider",[l,function(n){let l=t.useContext(r);if(l)return l;if(void 0!==s)return s;throw Error(`\`${n}\` must be used within \`${e}\``)}]}function a(e,s=[]){let r=[],l=()=>{let s=r.map(e=>t.createContext(e));return function(r){let n=r?.[e]||s;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return l.scopeName=e,[function(s,l){let a=t.createContext(l),i=r.length;r=[...r,l];let c=s=>{let{scope:r,children:l,...c}=s,d=r?.[e]?.[i]||a,o=t.useMemo(()=>c,Object.values(c));return(0,n.jsx)(d.Provider,{value:o,children:l})};return c.displayName=s+"Provider",[c,function(r,n){let c=n?.[e]?.[i]||a,d=t.useContext(c);if(d)return d;if(void 0!==l)return l;throw Error(`\`${r}\` must be used within \`${s}\``)}]},function(...e){let s=e[0];if(1===e.length)return s;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((s,{useScope:r,scopeName:t})=>{let n=r(e)[`__scope${t}`];return{...s,...n}},{});return t.useMemo(()=>({[`__scope${s.scopeName}`]:n}),[n])}};return r.scopeName=s.scopeName,r}(l,...s)]}},54245:(e,s,r)=>{"use strict";r.d(s,{C:()=>a});var t=r(20107),n=r(64236),l=r(54122),a=e=>{let{present:s,children:r}=e,a=function(e){var s,r;let[n,a]=t.useState(),c=t.useRef({}),d=t.useRef(e),o=t.useRef("none"),[m,u]=(s=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,s)=>{let t=r[e][s];return null!=t?t:e},s));return t.useEffect(()=>{let e=i(c.current);o.current="mounted"===m?e:"none"},[m]),(0,l.N)(()=>{let s=c.current,r=d.current;if(r!==e){let t=o.current,n=i(s);e?u("MOUNT"):"none"===n||(null==s?void 0:s.display)==="none"?u("UNMOUNT"):r&&t!==n?u("ANIMATION_OUT"):u("UNMOUNT"),d.current=e}},[e,u]),(0,l.N)(()=>{if(n){var e;let s;let r=null!==(e=n.ownerDocument.defaultView)&&void 0!==e?e:window,t=e=>{let t=i(c.current).includes(e.animationName);if(e.target===n&&t&&(u("ANIMATION_END"),!d.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",s=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},l=e=>{e.target===n&&(o.current=i(c.current))};return n.addEventListener("animationstart",l),n.addEventListener("animationcancel",t),n.addEventListener("animationend",t),()=>{r.clearTimeout(s),n.removeEventListener("animationstart",l),n.removeEventListener("animationcancel",t),n.removeEventListener("animationend",t)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:t.useCallback(e=>{e&&(c.current=getComputedStyle(e)),a(e)},[])}}(s),c="function"==typeof r?r({present:a.isPresent}):t.Children.only(r),d=(0,n.s)(a.ref,function(e){var s,r;let t=null===(s=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===s?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(c));return"function"==typeof r||a.isPresent?t.cloneElement(c,{ref:d}):null};function i(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},34544:(e,s,r)=>{"use strict";r.d(s,{hO:()=>c,sG:()=>i});var t=r(20107),n=r(25642),l=r(61837),a=r(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,s)=>{let r=t.forwardRef((e,r)=>{let{asChild:t,...n}=e,i=t?l.DX:s;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i,{...n,ref:r})});return r.displayName=`Primitive.${s}`,{...e,[s]:r}},{});function c(e,s){e&&n.flushSync(()=>e.dispatchEvent(s))}},46774:(e,s,r)=>{"use strict";r.d(s,{c:()=>n});var t=r(20107);function n(e){let s=t.useRef(e);return t.useEffect(()=>{s.current=e}),t.useMemo(()=>(...e)=>s.current?.(...e),[])}},54122:(e,s,r)=>{"use strict";r.d(s,{N:()=>n});var t=r(20107),n=globalThis?.document?t.useLayoutEffect:()=>{}},29395:(e,s,r)=>{"use strict";r.d(s,{F:()=>l});let t=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,s,r=0,t="";rr=>{var l;if((null==s?void 0:s.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:i}=s,c=Object.keys(a).map(e=>{let s=null==r?void 0:r[e],n=null==i?void 0:i[e];if(null===s)return null;let l=t(s)||t(n);return a[e][l]}),d=r&&Object.entries(r).reduce((e,s)=>{let[r,t]=s;return void 0===t||(e[r]=t),e},{});return n(e,c,null==s?void 0:null===(l=s.compoundVariants)||void 0===l?void 0:l.reduce((e,s)=>{let{class:r,className:t,...n}=s;return Object.entries(n).every(e=>{let[s,r]=e;return Array.isArray(r)?r.includes({...i,...d}[s]):({...i,...d})[s]===r})?[...e,r,t]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},e=>{var s=s=>e(e.s=s);e.O(0,[7780,467,191,6035,7358],()=>s(96520)),_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-9a15dfee98875435.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-9a15dfee98875435.js new file mode 100644 index 0000000..534350a --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-9a15dfee98875435.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8757],{52787:(e,t,r)=>{Promise.resolve().then(r.bind(r,30745))},30745:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>S});var a=r(20475),s=r(20107),o=r(72167),n=r(36824),l=r(42541),i=r(49153),d=r(31739),c=r(64219),u=r(51873),m=r(58212),p=r(66698);let f=(0,r(39997).A)("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 x=r(76554),h=r(32857),v=r(97818),g=r(22250);let y=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{className:"relative w-full overflow-auto",children:(0,a.jsx)("table",{ref:t,className:(0,g.cn)("w-full caption-bottom text-sm",r),...s})})});y.displayName="Table";let b=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("thead",{ref:t,className:(0,g.cn)("[&_tr]:border-b",r),...s})});b.displayName="TableHeader";let w=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("tbody",{ref:t,className:(0,g.cn)("[&_tr:last-child]:border-0",r),...s})});w.displayName="TableBody",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("tfoot",{ref:t,className:(0,g.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...s})}).displayName="TableFooter";let j=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("tr",{ref:t,className:(0,g.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...s})});j.displayName="TableRow";let N=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("th",{ref:t,className:(0,g.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),...s})});N.displayName="TableHead";let C=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("td",{ref:t,className:(0,g.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...s})});C.displayName="TableCell";let A=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("caption",{ref:t,className:(0,g.cn)("mt-4 text-sm text-muted-foreground",r),...s})});A.displayName="TableCaption";var T=r(45934);let S=()=>{let{toast:e}=(0,h.dj)(),[t,r]=(0,s.useState)(""),[g,S]=(0,s.useState)(""),[E,R]=(0,s.useState)([]),[k,_]=(0,s.useState)([]),[D,O]=(0,s.useState)([]),[I,F]=(0,s.useState)(!1),[L,z]=(0,s.useState)([]),[M,Z]=(0,s.useState)(!0),[H,V]=(0,s.useState)(-1),J=(0,s.useRef)(null),P=(0,s.useRef)(null),$=localStorage.getItem("authToken");(0,s.useEffect)(()=>{let e=e=>{P.current&&!P.current.contains(e.target)&&(_([]),V(-1))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/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({title:"Error",description:t instanceof Error?t.message:"Failed to load common AT commands",variant:"destructive"})}finally{Z(!1)}})()},[]),(0,s.useEffect)(()=>{let e=window.localStorage.getItem("atCommandHistory"),t=window.localStorage.getItem("atCommands");if(e)try{R(JSON.parse(e))}catch(e){console.error("Failed to parse command history:",e),R([])}if(t)try{O(JSON.parse(t))}catch(e){console.error("Failed to parse previous commands:",e),O([])}},[]),(0,s.useEffect)(()=>{E.length>0&&window.localStorage.setItem("atCommandHistory",JSON.stringify(E))},[E]),(0,s.useEffect)(()=>{D.length>0&&window.localStorage.setItem("atCommands",JSON.stringify(D))},[D]);let B=async()=>{let t=g.trim();if("tetris"===t.toLowerCase()){window.open("/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris","_blank"),S("");return}if("prev"===t.toLowerCase()){if(E.length>0){let t=E[0].command;S(""),e({title:"Executing Previous Command",description:"Executing ".concat(t)}),F(!0),r("> ".concat(t,"\nExecuting command, please wait...")),(async()=>{try{var a,s,o,n,l,i;let d=encodeURIComponent(t),c=await fetch("/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(d,"&wait=1"),{method:"GET",headers:{Authorization:"".concat($)}}),u=await c.json(),m="> ".concat(t,"\n");(null===(a=u.response)||void 0===a?void 0:a.raw_output)&&(m+=u.response.raw_output),r(m);let p={command:t,response:u.response.raw_output||"No output",timestamp:u.command.timestamp,status:u.response.status,duration:u.response.duration_ms,commandId:u.command.id};R(e=>[p,...e]),((null==u?void 0:null===(s=u.response)||void 0===s?void 0:s.status)==="error"||(null==u?void 0:null===(o=u.response)||void 0===o?void 0:o.status)==="timeout")&&e({title:"Command ".concat((null==u?void 0:null===(n=u.response)||void 0===n?void 0:n.status)==="timeout"?"Timeout":"Error"),description:(null==u?void 0:null===(l=u.response)||void 0===l?void 0:l.raw_output)||"Command execution ".concat(null==u?void 0:null===(i=u.response)||void 0===i?void 0:i.status),variant:"destructive"})}catch(s){let a=s instanceof Error?null==s?void 0:s.message:"An unknown error occurred";r("> ".concat(t,"\nError: ").concat(a)),e({title:"Error",description:a,variant:"destructive"})}finally{F(!1)}})();return}e({title:"No Previous Command",description:"Command history is empty",variant:"destructive"});return}if(!t.toUpperCase().startsWith("AT")){e({title:"Invalid Command",description:"Command must start with 'AT'",variant:"destructive"});return}F(!0),S(""),r("> ".concat(t,"\nExecuting command, please wait..."));try{var a,s,o,n,l,i,d,c,u,m;let p=encodeURIComponent(t),f=await fetch("/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(p,"&wait=1"),{method:"GET",headers:{Authorization:"".concat($)}}),x=await f.json(),h="> ".concat(t,"\n");(null==x?void 0:null===(a=x.response)||void 0===a?void 0:a.raw_output)&&(h+=null==x?void 0:null===(d=x.response)||void 0===d?void 0:d.raw_output),r(h);let v={command:t,response:(null==x?void 0:null===(s=x.response)||void 0===s?void 0:s.raw_output)||"No output",timestamp:x.command.timestamp,status:null==x?void 0:null===(o=x.response)||void 0===o?void 0:o.status,duration:null==x?void 0:null===(n=x.response)||void 0===n?void 0:n.duration_ms,commandId:x.command.id};R(e=>[v,...e]),"success"!==x.response.status||D.includes(t)||O(e=>[...e,t]),((null==x?void 0:null===(l=x.response)||void 0===l?void 0:l.status)==="error"||(null==x?void 0:null===(i=x.response)||void 0===i?void 0:i.status)==="timeout")&&e({title:"Command ".concat((null==x?void 0:null===(c=x.response)||void 0===c?void 0:c.status)==="timeout"?"Timeout":"Error"),description:(null==x?void 0:null===(u=x.response)||void 0===u?void 0:u.raw_output)||"Command execution ".concat(null==x?void 0:null===(m=x.response)||void 0===m?void 0:m.status),variant:"destructive"})}catch(s){let a=s instanceof Error?s.message:"An unknown error occurred";r("> ".concat(t,"\nError: ").concat(a)),e({title:"Error",description:a,variant:"destructive"})}finally{F(!1)}},U=e=>{R(t=>{let r=[...t];return r.splice(e,1),0===r.length&&window.localStorage.removeItem("atCommandHistory"),r})},q=e=>{O(t=>{let r=t.filter(t=>t!==e);return window.localStorage.setItem("atCommands",JSON.stringify(r)),r}),_(t=>t.filter(t=>t!==e))},G=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({title:"Copied!",description:'Command "'.concat(t,'" copied to clipboard'),duration:2e3})}catch(t){console.error("Failed to copy command:",t),e({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)(o.Zp,{children:[(0,a.jsxs)(o.aR,{children:[(0,a.jsx)(o.ZB,{children:"AT Terminal"}),(0,a.jsx)(o.BT,{children:"Send AT commands to your device using the queue system"})]}),(0,a.jsx)(o.Wu,{children:(0,a.jsxs)("div",{className:"grid gap-8 w-full max-w-screen p-4",children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(i.J,{htmlFor:"ATOutput",children:"AT Command Output"}),(0,a.jsx)(d.T,{value:t,placeholder:"AT command output will appear here...",readOnly:!0,className:"h-64 font-mono",id:"ATOutput"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(x.Separator,{className:"mb-2"}),0===E.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.J,{children:"Command History"}),(0,a.jsxs)(v.Lt,{children:[(0,a.jsx)(v.tv,{asChild:!0,children:(0,a.jsxs)(l.$,{variant:"outline",size:"sm",children:[(0,a.jsx)(u.A,{className:"h-4 w-4 text-rose-500"}),"Clear All"]})}),(0,a.jsxs)(v.EO,{children:[(0,a.jsxs)(v.wd,{children:[(0,a.jsx)(v.r7,{children:"Clear Command History"}),(0,a.jsx)(v.$v,{children:"This action cannot be undone. This will permanently delete your command history."})]}),(0,a.jsxs)(v.ck,{children:[(0,a.jsx)(v.Zr,{children:"Cancel"}),(0,a.jsx)(v.Rx,{onClick:()=>{R([]),window.localStorage.removeItem("atCommandHistory")},children:"Continue"})]})]})]})]}),(0,a.jsx)(n.F,{className:"h-44 p-4",children:(0,a.jsx)("div",{className:"grid gap-y-2",children:E.map((e,t)=>(0,a.jsx)(o.Zp,{className:"hover:bg-accent/50 transition-colors cursor-pointer",onClick:()=>G(e.command),children:(0,a.jsx)(o.Wu,{className:"p-3 relative",children:(0,a.jsxs)(n.F,{className:"max-w-xs md:max-w-full",children:[(0,a.jsx)(l.$,{variant:"ghost",size:"icon",className:"absolute right-2 top-2 h-4 w-4",onClick:e=>{e.stopPropagation(),U(t)},children:(0,a.jsx)(m.A,{className:"h-4 w-4"})}),(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:e.command}),(0,a.jsxs)(T.E,{className:"".concat("success"===e.status?"bg-primary text-foreground":"timeout"===e.status?"bg-yellow-500 text-foreground":"bg-red-500 text-red-foreground"),children:[e.status," -"," ",void 0!==e.duration&&"".concat(e.duration,"ms")]})]}),e.response&&"No output"!==e.response&&(0,a.jsx)("p",{className:"whitespace-pre-wrap font-mono text-sm",children:e.response})]}),(0,a.jsx)(n.$,{orientation:"horizontal"})]})})},"".concat(e.timestamp,"-").concat(t)))})})]}),(0,a.jsx)(x.Separator,{className:"mt-2"})]}),(0,a.jsxs)("div",{className:"grid gap-1.5 relative",children:[(0,a.jsx)(i.J,{htmlFor:"ATInput",children:"AT Command Input"}),(0,a.jsx)(c.p,{ref:J,value:g,onChange:e=>{let t=e.target.value;S(t),V(-1),requestAnimationFrame(()=>{t.trim()?_(D.filter(e=>e.toLowerCase().includes(t.toLowerCase())).slice(0,5)):_([])})},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),B())},placeholder:"ATI",id:"ATInput",disabled:I,autoComplete:"off"}),k.length>0&&(0,a.jsx)("div",{ref:P,className:"absolute top-full mt-1 bg-background border rounded-md shadow-lg z-10 w-full",children:(0,a.jsx)(n.F,{className:"max-h-[200px]",children:k.map((e,t)=>(0,a.jsxs)("div",{className:"p-2 cursor-pointer flex items-center justify-between group transition-colors ".concat(t===H?"bg-accent":"hover:bg-accent/50"),onClick:()=>{var t;S(e),_([]),V(-1),null===(t=J.current)||void 0===t||t.focus()},children:[(0,a.jsx)("p",{className:"text-sm font-medium text-muted-foreground flex-grow",children:e}),(0,a.jsx)(l.$,{variant:"ghost",size:"icon",className:"h-4 w-4 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>{t.stopPropagation(),q(e)},children:(0,a.jsx)(m.A,{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)(o.wL,{className:"grid border-t py-4",children:(0,a.jsxs)(l.$,{onClick:B,disabled:I,children:[(0,a.jsx)(p.A,{className:"mr-2"}),I?"Sending...":"Send Command"]})})]}),(0,a.jsxs)(o.Zp,{children:[(0,a.jsxs)(o.aR,{children:[(0,a.jsx)(o.ZB,{children:"Common AT Commands List"}),(0,a.jsx)(o.BT,{children:"Here are some common AT commands you can try:"})]}),(0,a.jsx)(o.Wu,{children:(0,a.jsxs)(y,{children:[(0,a.jsx)(A,{children:"AT Command List"}),(0,a.jsx)(b,{children:(0,a.jsxs)(j,{children:[(0,a.jsx)(N,{children:"AT Command"}),(0,a.jsx)(N,{className:"text-right",children:"Description"})]})}),(0,a.jsx)(w,{children:M?(0,a.jsx)(j,{children:(0,a.jsx)(C,{colSpan:3,className:"text-center",children:"Loading commands..."})}):0===L.length?(0,a.jsx)(j,{children:(0,a.jsx)(C,{colSpan:3,className:"text-center",children:"No commands available"})}):L.map((e,t)=>(0,a.jsxs)(j,{children:[(0,a.jsxs)(C,{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)(f,{className:"w-3 h-3 hover:text-purple-300 cursor-pointer",onClick:()=>G(e.command)})]}),(0,a.jsx)(C,{className:"text-right max-w-10 md:max-w-lg",children:e.description})]},t))})]})})]})]})}},97818:(e,t,r)=>{"use strict";r.d(t,{$v:()=>h,EO:()=>m,Lt:()=>i,Rx:()=>v,Zr:()=>g,ck:()=>f,r7:()=>x,tv:()=>d,wd:()=>p});var a=r(20475),s=r(20107),o=r(50564),n=r(22250),l=r(42541);let i=o.bL,d=o.l9,c=o.ZL,u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...s,ref:t})});u.displayName=o.hJ.displayName;let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(u,{}),(0,a.jsx)(o.UC,{ref:t,className:(0,n.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})]})});m.displayName=o.UC.displayName;let p=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};p.displayName="AlertDialogHeader";let f=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};f.displayName="AlertDialogFooter";let x=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold",r),...s})});x.displayName=o.hE.displayName;let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...s})});h.displayName=o.VY.displayName;let v=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.rc,{ref:t,className:(0,n.cn)((0,l.r)(),r),...s})});v.displayName=o.rc.displayName;let g=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.ZD,{ref:t,className:(0,n.cn)((0,l.r)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});g.displayName=o.ZD.displayName},45934:(e,t,r)=>{"use strict";r.d(t,{E:()=>l});var a=r(20475);r(20107);var s=r(29395),o=r(22250);let n=(0,s.F)("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 l(e){let{className:t,variant:r,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)(n({variant:r}),t),...s})}},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>i});var a=r(20475),s=r(20107),o=r(61837),n=r(29395),l=r(22250);let i=(0,n.F)("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:n,asChild:d=!1,...c}=e,u=d?o.DX:"button";return(0,a.jsx)(u,{className:(0,l.cn)(i({variant:s,size:n,className:r})),ref:t,...c})});d.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>n,aR:()=>l,wL:()=>u});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});n.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.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,o.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,o.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,o.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,o.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,type:s,...n}=e;return(0,a.jsx)("input",{type:s,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,...n})});n.displayName="Input"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>d});var a=r(20475),s=r(20107),o=r(21840),n=r(29395),l=r(22250);let i=(0,n.F)("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)(o.b,{ref:t,className:(0,l.cn)(i(),r),...s})});d.displayName=o.b.displayName},36824:(e,t,r)=>{"use strict";r.d(t,{$:()=>i,F:()=>l});var a=r(20475),s=r(20107),o=r(89679),n=r(22250);let l=s.forwardRef((e,t)=>{let{className:r,children:s,...l}=e;return(0,a.jsxs)(o.bL,{ref:t,className:(0,n.cn)("relative overflow-hidden",r),...l,children:[(0,a.jsx)(o.LM,{className:"h-full w-full rounded-[inherit]",children:s}),(0,a.jsx)(i,{}),(0,a.jsx)(o.OK,{})]})});l.displayName=o.bL.displayName;let i=s.forwardRef((e,t)=>{let{className:r,orientation:s="vertical",...l}=e;return(0,a.jsx)(o.VM,{ref:t,orientation:s,className:(0,n.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]",r),...l,children:(0,a.jsx)(o.lr,{className:"relative flex-1 rounded-full bg-border"})})});i.displayName=o.VM.displayName},76554:(e,t,r)=>{"use strict";r.d(t,{Separator:()=>l});var a=r(20475),s=r(20107),o=r(88853),n=r(22250);let l=s.forwardRef((e,t)=>{let{className:r,orientation:s="horizontal",decorative:l=!0,...i}=e;return(0,a.jsx)(o.b,{ref:t,decorative:l,orientation:s,className:(0,n.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",r),...i})});l.displayName=o.b.displayName},31739:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("textarea",{className:(0,o.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,...s})});n.displayName="Textarea"},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>m,oR:()=>u});var a=r(20107);let s=0,o=new Map,n=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?n(r):e.toasts.forEach(e=>{n(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 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})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>o});var a=r(64901),s=r(868);function o(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{A:()=>a});let a=(0,r(39997).A)("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"}]])},51873:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(39997).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},58212:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(39997).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},50564:(e,t,r)=>{"use strict";r.d(t,{UC:()=>I,VY:()=>M,ZD:()=>L,ZL:()=>D,bL:()=>k,hE:()=>z,hJ:()=>O,l9:()=>_,rc:()=>F});var a=r(20107),s=r(45170),o=r(64236),n=r(60241),l=r(94521),i=r(61837),d=r(20475),c="AlertDialog",[u,m]=(0,s.A)(c,[n.Hs]),p=(0,n.Hs)(),f=e=>{let{__scopeAlertDialog:t,...r}=e,a=p(t);return(0,d.jsx)(n.bL,{...a,...r,modal:!0})};f.displayName=c;var x=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...a}=e,s=p(r);return(0,d.jsx)(n.l9,{...s,...a,ref:t})});x.displayName="AlertDialogTrigger";var h=e=>{let{__scopeAlertDialog:t,...r}=e,a=p(t);return(0,d.jsx)(n.ZL,{...a,...r})};h.displayName="AlertDialogPortal";var v=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...a}=e,s=p(r);return(0,d.jsx)(n.hJ,{...s,...a,ref:t})});v.displayName="AlertDialogOverlay";var g="AlertDialogContent",[y,b]=u(g),w=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:s,...c}=e,u=p(r),m=a.useRef(null),f=(0,o.s)(t,m),x=a.useRef(null);return(0,d.jsx)(n.G$,{contentName:g,titleName:j,docsSlug:"alert-dialog",children:(0,d.jsx)(y,{scope:r,cancelRef:x,children:(0,d.jsxs)(n.UC,{role:"alertdialog",...u,...c,ref:f,onOpenAutoFocus:(0,l.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,d.jsx)(i.xV,{children:s}),(0,d.jsx)(R,{contentRef:m})]})})})});w.displayName=g;var j="AlertDialogTitle",N=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...a}=e,s=p(r);return(0,d.jsx)(n.hE,{...s,...a,ref:t})});N.displayName=j;var C="AlertDialogDescription",A=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...a}=e,s=p(r);return(0,d.jsx)(n.VY,{...s,...a,ref:t})});A.displayName=C;var T=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...a}=e,s=p(r);return(0,d.jsx)(n.bm,{...s,...a,ref:t})});T.displayName="AlertDialogAction";var S="AlertDialogCancel",E=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...a}=e,{cancelRef:s}=b(S,r),l=p(r),i=(0,o.s)(t,s);return(0,d.jsx)(n.bm,{...l,...a,ref:i})});E.displayName=S;var R=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 a.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(r)},[r,t]),null},k=f,_=x,D=h,O=v,I=w,F=T,L=E,z=N,M=A},21840:(e,t,r)=>{"use strict";r.d(t,{b:()=>l});var a=r(20107),s=r(34544),o=r(20475),n=a.forwardRef((e,t)=>(0,o.jsx)(s.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));n.displayName="Label";var l=n},88853:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var a=r(20107),s=r(34544),o=r(20475),n="horizontal",l=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=n,...i}=e,d=l.includes(a)?a:n;return(0,o.jsx)(s.sG.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}},e=>{var t=t=>e(e.s=t);e.O(0,[7780,8885,9464,241,467,191,6035,7358],()=>t(52787)),_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-f034a452a8e8f506.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-f034a452a8e8f506.js deleted file mode 100644 index 7e81e9b..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-f034a452a8e8f506.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8757],{52787:(e,t,r)=>{Promise.resolve().then(r.bind(r,30233))},30233:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var a=r(20475),s=r(20107),o=r(72167),n=r(36824),l=r(42541),i=r(49153),d=r(31739),c=r(64219),m=r(51873),u=r(58212),p=r(66698);let f=(0,r(39997).A)("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 x=r(76554),h=r(32857),v=r(97818),g=r(51303),y=r(45934);let w=()=>{let{toast:e}=(0,h.dj)(),[t,r]=(0,s.useState)(""),[w,b]=(0,s.useState)(""),[j,N]=(0,s.useState)([]),[C,T]=(0,s.useState)([]),[A,E]=(0,s.useState)([]),[S,k]=(0,s.useState)(!1),[R,_]=(0,s.useState)([]),[I,O]=(0,s.useState)(!0),[F,D]=(0,s.useState)(-1),z=(0,s.useRef)(null),L=(0,s.useRef)(null),M=localStorage.getItem("authToken");(0,s.useEffect)(()=>{let e=e=>{L.current&&!L.current.contains(e.target)&&(T([]),D(-1))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/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);_(r)}catch(t){console.error("Failed to fetch AT commands:",t),e({title:"Error",description:t instanceof Error?t.message:"Failed to load common AT commands",variant:"destructive"})}finally{O(!1)}})()},[]),(0,s.useEffect)(()=>{let e=window.localStorage.getItem("atCommandHistory"),t=window.localStorage.getItem("atCommands");if(e)try{N(JSON.parse(e))}catch(e){console.error("Failed to parse command history:",e),N([])}if(t)try{E(JSON.parse(t))}catch(e){console.error("Failed to parse previous commands:",e),E([])}},[]),(0,s.useEffect)(()=>{j.length>0&&window.localStorage.setItem("atCommandHistory",JSON.stringify(j))},[j]),(0,s.useEffect)(()=>{A.length>0&&window.localStorage.setItem("atCommands",JSON.stringify(A))},[A]);let H=async()=>{let t=w.trim();if("tetris"===t.toLowerCase()){window.open("/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris","_blank"),b("");return}if("prev"===t.toLowerCase()){if(j.length>0){let t=j[0].command;b(""),e({title:"Executing Previous Command",description:"Executing ".concat(t)}),k(!0),r("> ".concat(t,"\nExecuting command, please wait...")),(async()=>{try{var a,s,o,n,l,i;let d=encodeURIComponent(t),c=await fetch("/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(d,"&wait=1"),{method:"GET",headers:{Authorization:"".concat(M)}}),m=await c.json(),u="> ".concat(t,"\n");(null===(a=m.response)||void 0===a?void 0:a.raw_output)&&(u+=m.response.raw_output),r(u);let p={command:t,response:m.response.raw_output||"No output",timestamp:m.command.timestamp,status:m.response.status,duration:m.response.duration_ms,commandId:m.command.id};N(e=>[p,...e]),((null==m?void 0:null===(s=m.response)||void 0===s?void 0:s.status)==="error"||(null==m?void 0:null===(o=m.response)||void 0===o?void 0:o.status)==="timeout")&&e({title:"Command ".concat((null==m?void 0:null===(n=m.response)||void 0===n?void 0:n.status)==="timeout"?"Timeout":"Error"),description:(null==m?void 0:null===(l=m.response)||void 0===l?void 0:l.raw_output)||"Command execution ".concat(null==m?void 0:null===(i=m.response)||void 0===i?void 0:i.status),variant:"destructive"})}catch(s){let a=s instanceof Error?null==s?void 0:s.message:"An unknown error occurred";r("> ".concat(t,"\nError: ").concat(a)),e({title:"Error",description:a,variant:"destructive"})}finally{k(!1)}})();return}e({title:"No Previous Command",description:"Command history is empty",variant:"destructive"});return}if(!t.toUpperCase().startsWith("AT")){e({title:"Invalid Command",description:"Command must start with 'AT'",variant:"destructive"});return}k(!0),b(""),r("> ".concat(t,"\nExecuting command, please wait..."));try{var a,s,o,n,l,i,d,c,m,u;let p=encodeURIComponent(t),f=await fetch("/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(p,"&wait=1"),{method:"GET",headers:{Authorization:"".concat(M)}}),x=await f.json(),h="> ".concat(t,"\n");(null==x?void 0:null===(a=x.response)||void 0===a?void 0:a.raw_output)&&(h+=null==x?void 0:null===(d=x.response)||void 0===d?void 0:d.raw_output),r(h);let v={command:t,response:(null==x?void 0:null===(s=x.response)||void 0===s?void 0:s.raw_output)||"No output",timestamp:x.command.timestamp,status:null==x?void 0:null===(o=x.response)||void 0===o?void 0:o.status,duration:null==x?void 0:null===(n=x.response)||void 0===n?void 0:n.duration_ms,commandId:x.command.id};N(e=>[v,...e]),"success"!==x.response.status||A.includes(t)||E(e=>[...e,t]),((null==x?void 0:null===(l=x.response)||void 0===l?void 0:l.status)==="error"||(null==x?void 0:null===(i=x.response)||void 0===i?void 0:i.status)==="timeout")&&e({title:"Command ".concat((null==x?void 0:null===(c=x.response)||void 0===c?void 0:c.status)==="timeout"?"Timeout":"Error"),description:(null==x?void 0:null===(m=x.response)||void 0===m?void 0:m.raw_output)||"Command execution ".concat(null==x?void 0:null===(u=x.response)||void 0===u?void 0:u.status),variant:"destructive"})}catch(s){let a=s instanceof Error?s.message:"An unknown error occurred";r("> ".concat(t,"\nError: ").concat(a)),e({title:"Error",description:a,variant:"destructive"})}finally{k(!1)}},Z=e=>{N(t=>{let r=[...t];return r.splice(e,1),0===r.length&&window.localStorage.removeItem("atCommandHistory"),r})},J=e=>{E(t=>{let r=t.filter(t=>t!==e);return window.localStorage.setItem("atCommands",JSON.stringify(r)),r}),T(t=>t.filter(t=>t!==e))},V=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({title:"Copied!",description:'Command "'.concat(t,'" copied to clipboard'),duration:2e3})}catch(t){console.error("Failed to copy command:",t),e({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)(o.Zp,{children:[(0,a.jsxs)(o.aR,{children:[(0,a.jsx)(o.ZB,{children:"AT Terminal"}),(0,a.jsx)(o.BT,{children:"Send AT commands to your device using the queue system"})]}),(0,a.jsx)(o.Wu,{children:(0,a.jsxs)("div",{className:"grid gap-8 w-full max-w-screen p-4",children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(i.J,{htmlFor:"ATOutput",children:"AT Command Output"}),(0,a.jsx)(d.T,{value:t,placeholder:"AT command output will appear here...",readOnly:!0,className:"h-64 font-mono",id:"ATOutput"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(x.w,{className:"mb-2"}),0===j.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.J,{children:"Command History"}),(0,a.jsxs)(v.Lt,{children:[(0,a.jsx)(v.tv,{asChild:!0,children:(0,a.jsxs)(l.$,{variant:"outline",size:"sm",children:[(0,a.jsx)(m.A,{className:"h-4 w-4 text-rose-500"}),"Clear All"]})}),(0,a.jsxs)(v.EO,{children:[(0,a.jsxs)(v.wd,{children:[(0,a.jsx)(v.r7,{children:"Clear Command History"}),(0,a.jsx)(v.$v,{children:"This action cannot be undone. This will permanently delete your command history."})]}),(0,a.jsxs)(v.ck,{children:[(0,a.jsx)(v.Zr,{children:"Cancel"}),(0,a.jsx)(v.Rx,{onClick:()=>{N([]),window.localStorage.removeItem("atCommandHistory")},children:"Continue"})]})]})]})]}),(0,a.jsx)(n.F,{className:"h-44 p-4",children:(0,a.jsx)("div",{className:"grid gap-y-2",children:j.map((e,t)=>(0,a.jsx)(o.Zp,{className:"hover:bg-accent/50 transition-colors cursor-pointer",onClick:()=>V(e.command),children:(0,a.jsx)(o.Wu,{className:"p-3 relative",children:(0,a.jsxs)(n.F,{className:"max-w-xs md:max-w-full",children:[(0,a.jsx)(l.$,{variant:"ghost",size:"icon",className:"absolute right-2 top-2 h-4 w-4",onClick:e=>{e.stopPropagation(),Z(t)},children:(0,a.jsx)(u.A,{className:"h-4 w-4"})}),(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:e.command}),(0,a.jsxs)(y.E,{className:"".concat("success"===e.status?"bg-primary text-foreground":"timeout"===e.status?"bg-yellow-500 text-foreground":"bg-red-500 text-red-foreground"),children:[e.status," -"," ",void 0!==e.duration&&"".concat(e.duration,"ms")]})]}),e.response&&"No output"!==e.response&&(0,a.jsx)("p",{className:"whitespace-pre-wrap font-mono text-sm",children:e.response})]}),(0,a.jsx)(n.$,{orientation:"horizontal"})]})})},"".concat(e.timestamp,"-").concat(t)))})})]}),(0,a.jsx)(x.w,{className:"mt-2"})]}),(0,a.jsxs)("div",{className:"grid gap-1.5 relative",children:[(0,a.jsx)(i.J,{htmlFor:"ATInput",children:"AT Command Input"}),(0,a.jsx)(c.p,{ref:z,value:w,onChange:e=>{let t=e.target.value;b(t),D(-1),requestAnimationFrame(()=>{t.trim()?T(A.filter(e=>e.toLowerCase().includes(t.toLowerCase())).slice(0,5)):T([])})},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),H())},placeholder:"ATI",id:"ATInput",disabled:S,autoComplete:"off"}),C.length>0&&(0,a.jsx)("div",{ref:L,className:"absolute top-full mt-1 bg-background border rounded-md shadow-lg z-10 w-full",children:(0,a.jsx)(n.F,{className:"max-h-[200px]",children:C.map((e,t)=>(0,a.jsxs)("div",{className:"p-2 cursor-pointer flex items-center justify-between group transition-colors ".concat(t===F?"bg-accent":"hover:bg-accent/50"),onClick:()=>{var t;b(e),T([]),D(-1),null===(t=z.current)||void 0===t||t.focus()},children:[(0,a.jsx)("p",{className:"text-sm font-medium text-muted-foreground flex-grow",children:e}),(0,a.jsx)(l.$,{variant:"ghost",size:"icon",className:"h-4 w-4 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>{t.stopPropagation(),J(e)},children:(0,a.jsx)(u.A,{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)(o.wL,{className:"grid border-t py-4",children:(0,a.jsxs)(l.$,{onClick:H,disabled:S,children:[(0,a.jsx)(p.A,{className:"mr-2"}),S?"Sending...":"Send Command"]})})]}),(0,a.jsxs)(o.Zp,{children:[(0,a.jsxs)(o.aR,{children:[(0,a.jsx)(o.ZB,{children:"Common AT Commands List"}),(0,a.jsx)(o.BT,{children:"Here are some common AT commands you can try:"})]}),(0,a.jsx)(o.Wu,{children:(0,a.jsxs)(g.XI,{children:[(0,a.jsx)(g.r6,{children:"AT Command List"}),(0,a.jsx)(g.A0,{children:(0,a.jsxs)(g.Hj,{children:[(0,a.jsx)(g.nd,{children:"AT Command"}),(0,a.jsx)(g.nd,{className:"text-right",children:"Description"})]})}),(0,a.jsx)(g.BF,{children:I?(0,a.jsx)(g.Hj,{children:(0,a.jsx)(g.nA,{colSpan:3,className:"text-center",children:"Loading commands..."})}):0===R.length?(0,a.jsx)(g.Hj,{children:(0,a.jsx)(g.nA,{colSpan:3,className:"text-center",children:"No commands available"})}):R.map((e,t)=>(0,a.jsxs)(g.Hj,{children:[(0,a.jsxs)(g.nA,{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)(f,{className:"w-3 h-3 hover:text-purple-300 cursor-pointer",onClick:()=>V(e.command)})]}),(0,a.jsx)(g.nA,{className:"text-right max-w-10 md:max-w-lg",children:e.description})]},t))})]})})]})]})}},97818:(e,t,r)=>{"use strict";r.d(t,{$v:()=>h,EO:()=>u,Lt:()=>i,Rx:()=>v,Zr:()=>g,ck:()=>f,r7:()=>x,tv:()=>d,wd:()=>p});var a=r(20475),s=r(20107),o=r(50564),n=r(22250),l=r(42541);let i=o.bL,d=o.l9,c=o.ZL,m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...s,ref:t})});m.displayName=o.hJ.displayName;let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(m,{}),(0,a.jsx)(o.UC,{ref:t,className:(0,n.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})]})});u.displayName=o.UC.displayName;let p=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};p.displayName="AlertDialogHeader";let f=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};f.displayName="AlertDialogFooter";let x=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold",r),...s})});x.displayName=o.hE.displayName;let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...s})});h.displayName=o.VY.displayName;let v=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.rc,{ref:t,className:(0,n.cn)((0,l.r)(),r),...s})});v.displayName=o.rc.displayName;let g=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.ZD,{ref:t,className:(0,n.cn)((0,l.r)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});g.displayName=o.ZD.displayName},45934:(e,t,r)=>{"use strict";r.d(t,{E:()=>l});var a=r(20475);r(20107);var s=r(29395),o=r(22250);let n=(0,s.F)("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 l(e){let{className:t,variant:r,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)(n({variant:r}),t),...s})}},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>i});var a=r(20475),s=r(20107),o=r(61837),n=r(29395),l=r(22250);let i=(0,n.F)("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:n,asChild:d=!1,...c}=e,m=d?o.DX:"button";return(0,a.jsx)(m,{className:(0,l.cn)(i({variant:s,size:n,className:r})),ref:t,...c})});d.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>n,aR:()=>l,wL:()=>m});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});n.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.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,o.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,o.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,o.cn)("p-6 pt-0",r),...s})});c.displayName="CardContent";let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("flex items-center p-6 pt-0",r),...s})});m.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,type:s,...n}=e;return(0,a.jsx)("input",{type:s,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,...n})});n.displayName="Input"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>d});var a=r(20475),s=r(20107),o=r(21840),n=r(29395),l=r(22250);let i=(0,n.F)("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)(o.b,{ref:t,className:(0,l.cn)(i(),r),...s})});d.displayName=o.b.displayName},36824:(e,t,r)=>{"use strict";r.d(t,{$:()=>i,F:()=>l});var a=r(20475),s=r(20107),o=r(89679),n=r(22250);let l=s.forwardRef((e,t)=>{let{className:r,children:s,...l}=e;return(0,a.jsxs)(o.bL,{ref:t,className:(0,n.cn)("relative overflow-hidden",r),...l,children:[(0,a.jsx)(o.LM,{className:"h-full w-full rounded-[inherit]",children:s}),(0,a.jsx)(i,{}),(0,a.jsx)(o.OK,{})]})});l.displayName=o.bL.displayName;let i=s.forwardRef((e,t)=>{let{className:r,orientation:s="vertical",...l}=e;return(0,a.jsx)(o.VM,{ref:t,orientation:s,className:(0,n.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]",r),...l,children:(0,a.jsx)(o.lr,{className:"relative flex-1 rounded-full bg-border"})})});i.displayName=o.VM.displayName},76554:(e,t,r)=>{"use strict";r.d(t,{w:()=>l});var a=r(20475),s=r(20107),o=r(88853),n=r(22250);let l=s.forwardRef((e,t)=>{let{className:r,orientation:s="horizontal",decorative:l=!0,...i}=e;return(0,a.jsx)(o.b,{ref:t,decorative:l,orientation:s,className:(0,n.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",r),...i})});l.displayName=o.b.displayName},51303:(e,t,r)=>{"use strict";r.d(t,{A0:()=>l,BF:()=>i,Hj:()=>d,XI:()=>n,nA:()=>m,nd:()=>c,r6:()=>u});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{className:"relative w-full overflow-auto",children:(0,a.jsx)("table",{ref:t,className:(0,o.cn)("w-full caption-bottom text-sm",r),...s})})});n.displayName="Table";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("thead",{ref:t,className:(0,o.cn)("[&_tr]:border-b",r),...s})});l.displayName="TableHeader";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("tbody",{ref:t,className:(0,o.cn)("[&_tr:last-child]:border-0",r),...s})});i.displayName="TableBody",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("tfoot",{ref:t,className:(0,o.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...s})}).displayName="TableFooter";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("tr",{ref:t,className:(0,o.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...s})});d.displayName="TableRow";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("th",{ref:t,className:(0,o.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),...s})});c.displayName="TableHead";let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("td",{ref:t,className:(0,o.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...s})});m.displayName="TableCell";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("caption",{ref:t,className:(0,o.cn)("mt-4 text-sm text-muted-foreground",r),...s})});u.displayName="TableCaption"},31739:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});var a=r(20475),s=r(20107),o=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("textarea",{className:(0,o.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,...s})});n.displayName="Textarea"},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>u,oR:()=>m});var a=r(20107);let s=0,o=new Map,n=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?n(r):e.toasts.forEach(e=>{n(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 m(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 u(){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:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>o});var a=r(64901),s=r(868);function o(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{A:()=>a});let a=(0,r(39997).A)("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"}]])},51873:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(39997).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},58212:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(39997).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},21840:(e,t,r)=>{"use strict";r.d(t,{b:()=>l});var a=r(20107),s=r(34544),o=r(20475),n=a.forwardRef((e,t)=>(0,o.jsx)(s.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));n.displayName="Label";var l=n},88853:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var a=r(20107),s=r(34544),o=r(20475),n="horizontal",l=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=n,...i}=e,d=l.includes(a)?a:n;return(0,o.jsx)(s.sG.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}},e=>{var t=t=>e(e.s=t);e.O(0,[1258,4687,9464,467,564,191,6035,7358],()=>t(52787)),_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-6152b94dd5abd007.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-46f11d8d8e8a8e93.js similarity index 72% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-6152b94dd5abd007.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-46f11d8d8e8a8e93.js index 33f0cd8..8e9e549 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-6152b94dd5abd007.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-46f11d8d8e8a8e93.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9548],{1112:(e,s,_)=>{Promise.resolve().then(_.bind(_,76592))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,1258,4687,3746,9464,3494,564,6592,191,6035,7358],()=>s(1112)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9548],{1112:(e,s,_)=>{Promise.resolve().then(_.bind(_,76592))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,7780,8885,3746,9464,3494,241,6592,191,6035,7358],()=>s(1112)),_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-acf9549d02163872.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js similarity index 74% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/layout-acf9549d02163872.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js index 2251b8a..0f7a7ab 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/layout-acf9549d02163872.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4277],{88728:(t,e,s)=>{Promise.resolve().then(s.bind(s,74627))},74627:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(20475);s(20107);var d=s(16118),n=s(9477),r=s.n(n);let i=t=>{let{children:e}=t,s=(0,d.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:"Advanced 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)(r(),{href:"/dashboard/advanced-settings/connectivity",className:"".concat("/dashboard/advanced-settings/connectivity/"===s?"font-semibold text-primary":"text-sm"),children:"Connectivity"}),(0,a.jsx)(r(),{href:"/dashboard/advanced-settings/ttl-settings",className:"".concat("/dashboard/advanced-settings/ttl-settings/"===s?"font-semibold text-primary":"text-sm"),children:"TTL Settings"}),(0,a.jsx)(r(),{href:"/dashboard/advanced-settings/mtu",className:"".concat("/dashboard/advanced-settings/mtu/"===s?"font-semibold text-primary":"text-sm"),children:"MTU Settings"}),(0,a.jsx)(r(),{href:"/dashboard/advanced-settings/at-terminal",className:"".concat("/dashboard/advanced-settings/at-terminal/"===s?"font-semibold text-primary":"text-sm"),children:"AT Terminal"})]}),e]})]})}}},t=>{var e=e=>t(t.s=e);t.O(0,[1318,191,6035,7358],()=>e(88728)),_N_E=t.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4277],{88728:(t,e,s)=>{Promise.resolve().then(s.bind(s,74627))},74627:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(20475);s(20107);var n=s(16118),d=s(9477),r=s.n(d);let i=t=>{let{children:e}=t,s=(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:"Advanced 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)(r(),{href:"/dashboard/advanced-settings/connectivity",className:"".concat("/dashboard/advanced-settings/connectivity/"===s?"font-semibold text-primary":"text-sm"),children:"Connectivity"}),(0,a.jsx)(r(),{href:"/dashboard/advanced-settings/ttl-settings",className:"".concat("/dashboard/advanced-settings/ttl-settings/"===s?"font-semibold text-primary":"text-sm"),children:"TTL Settings"}),(0,a.jsx)(r(),{href:"/dashboard/advanced-settings/mtu",className:"".concat("/dashboard/advanced-settings/mtu/"===s?"font-semibold text-primary":"text-sm"),children:"MTU Settings"}),(0,a.jsx)(r(),{href:"/dashboard/advanced-settings/at-terminal",className:"".concat("/dashboard/advanced-settings/at-terminal/"===s?"font-semibold text-primary":"text-sm"),children:"AT Terminal"})]}),e]})]})}},16118:(t,e,s)=>{"use strict";var a=s(65834);s.o(a,"usePathname")&&s.d(e,{usePathname:function(){return a.usePathname}}),s.o(a,"useRouter")&&s.d(e,{useRouter:function(){return a.useRouter}})}},t=>{var e=e=>t(t.s=e);t.O(0,[9477,191,6035,7358],()=>e(88728)),_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/mtu/page-a8423a9f1ce4ded0.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/mtu/page-3582caed75129147.js similarity index 68% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/mtu/page-a8423a9f1ce4ded0.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/mtu/page-3582caed75129147.js index bdf33a0..3edecb4 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/mtu/page-a8423a9f1ce4ded0.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/mtu/page-3582caed75129147.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3669],{49983:(e,t,r)=>{Promise.resolve().then(r.bind(r,34819))},34819:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var s=r(20475),n=r(20107),a=r(72167),i=r(64219),o=r(18861),d=r(42541),c=r(32857),l=r(114);let u=()=>{let[e,t]=(0,n.useState)("1500"),[r,u]=(0,n.useState)(!1),[f,p]=(0,n.useState)(!0),[m,h]=(0,n.useState)(""),v=(0,c.dj)();(0,n.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/advance/mtu.sh"),r=await e.json();u(r.isEnabled),t(r.currentValue.toString()),p(!1)}catch(e){h("Failed to fetch MTU settings"),p(!1),v.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Failed to fetch MTU settings",action:(0,s.jsx)(l.A,{})})}})()},[]);let b=async t=>{t.preventDefault(),h("");let n=r?e:"disable";try{let e=await fetch("/cgi-bin/quecmanager/advance/mtu.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"mtu=".concat(n)}),t=await e.json();!0===t.success?v.toast({title:"Success",description:t.message||"MTU settings saved successfully"}):v.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:t.error||"Failed to save MTU settings",action:(0,s.jsx)(l.A,{})})}catch(e){h("Failed to save MTU settings"),v.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Network error while saving MTU settings",action:(0,s.jsx)(l.A,{})})}};return(0,s.jsxs)(a.Zp,{children:[(0,s.jsxs)(a.aR,{children:[(0,s.jsx)(a.ZB,{children:"MTU Settings"}),(0,s.jsx)(a.BT,{children:"Configure MTU for rmnet_data0 interface."})]}),(0,s.jsx)(a.Wu,{children:(0,s.jsxs)("form",{onSubmit:b,className:"space-y-8",children:[(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-sm font-medium",children:"MTU Value"}),(0,s.jsx)(i.p,{type:"number",value:e,onChange:e=>t(e.target.value),disabled:!r,className:"mt-1",min:"68",max:"9000"}),(0,s.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:"Set the MTU value for your connection (default: 1500)."})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between rounded-lg border p-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-base font-medium",children:"MTU State"}),(0,s.jsx)("p",{className:"text-sm text-gray-500",children:"Toggle to enable or disable custom MTU value."})]}),(0,s.jsx)(o.d,{checked:r,onCheckedChange:e=>{u(e),e||t("1500")}})]})]}),(0,s.jsx)(d.$,{type:"submit",className:"w-full",disabled:f,children:"Save Configuration"})]})})]})}},114:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(20475),n=r(42541),a=r(7197);let i=()=>(0,s.jsx)(n.$,{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)(a.ERf,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>c,r:()=>d});var s=r(20475),n=r(20107),a=r(61837),i=r(29395),o=r(22250);let d=(0,i.F)("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,...l}=e,u=c?a.DX:"button";return(0,s.jsx)(u,{className:(0,o.cn)(d({variant:n,size:i,className:r})),ref:t,...l})});c.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>c,Wu:()=>l,ZB:()=>d,Zp:()=>i,aR:()=>o,wL:()=>u});var s=r(20475),n=r(20107),a=r(22250);let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,a.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});i.displayName="Card";let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",r),...n})});o.displayName="CardHeader";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)("h3",{ref:t,className:(0,a.cn)("font-semibold leading-none tracking-tight",r),...n})});d.displayName="CardTitle";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)("p",{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",r),...n})});c.displayName="CardDescription";let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,a.cn)("p-6 pt-0",r),...n})});l.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,a.cn)("flex items-center p-6 pt-0",r),...n})});u.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var s=r(20475),n=r(20107),a=r(22250);let i=n.forwardRef((e,t)=>{let{className:r,type:n,...i}=e;return(0,s.jsx)("input",{type:n,className:(0,a.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"},18861:(e,t,r)=>{"use strict";r.d(t,{d:()=>o});var s=r(20475),n=r(20107),a=r(80982),i=r(22250);let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)(a.bL,{className:(0,i.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r),...n,ref:t,children:(0,s.jsx)(a.zi,{className:(0,i.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")})})});o.displayName=a.bL.displayName},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>f,oR:()=>u});var s=r(20107);let n=0,a=new Map,i=e=>{if(a.has(e))return;let t=setTimeout(()=>{a.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);a.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},d=[],c={toasts:[]};function l(e){c=o(c,e),d.forEach(e=>{e(c)})}function u(e){let{...t}=e,r=(n=(n+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(c);return s.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>a});var s=r(64901),n=r(868);function a(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";function s(e,t,{checkForDefaultPrevented:r=!0}={}){return function(s){if(e?.(s),!1===r||!s.defaultPrevented)return t?.(s)}}r.d(t,{m:()=>s})},45170:(e,t,r)=>{"use strict";r.d(t,{A:()=>i,q:()=>a});var s=r(20107),n=r(20475);function a(e,t){let r=s.createContext(t),a=e=>{let{children:t,...a}=e,i=s.useMemo(()=>a,Object.values(a));return(0,n.jsx)(r.Provider,{value:i,children:t})};return a.displayName=e+"Provider",[a,function(n){let a=s.useContext(r);if(a)return a;if(void 0!==t)return t;throw Error(`\`${n}\` must be used within \`${e}\``)}]}function i(e,t=[]){let r=[],a=()=>{let t=r.map(e=>s.createContext(e));return function(r){let n=r?.[e]||t;return s.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return a.scopeName=e,[function(t,a){let i=s.createContext(a),o=r.length;r=[...r,a];let d=t=>{let{scope:r,children:a,...d}=t,c=r?.[e]?.[o]||i,l=s.useMemo(()=>d,Object.values(d));return(0,n.jsx)(c.Provider,{value:l,children:a})};return d.displayName=t+"Provider",[d,function(r,n){let d=n?.[e]?.[o]||i,c=s.useContext(d);if(c)return c;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:s})=>{let n=r(e)[`__scope${s}`];return{...t,...n}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(a,...t)]}},34544:(e,t,r)=>{"use strict";r.d(t,{hO:()=>d,sG:()=>o});var s=r(20107),n=r(25642),a=r(61837),i=r(20475),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=s.forwardRef((e,r)=>{let{asChild:s,...n}=e,o=s?a.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o,{...n,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function d(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}},80982:(e,t,r)=>{"use strict";r.d(t,{bL:()=>N,zi:()=>j});var s=r(20107),n=r(94521),a=r(64236),i=r(45170),o=r(13061),d=r(65163),c=r(63620),l=r(34544),u=r(20475),f="Switch",[p,m]=(0,i.A)(f),[h,v]=p(f),b=s.forwardRef((e,t)=>{let{__scopeSwitch:r,name:i,checked:d,defaultChecked:c,required:f,disabled:p,value:m="on",onCheckedChange:v,form:b,...g}=e,[x,N]=s.useState(null),j=(0,a.s)(t,e=>N(e)),S=s.useRef(!1),T=!x||b||!!x.closest("form"),[k=!1,E]=(0,o.i)({prop:d,defaultProp:c,onChange:v});return(0,u.jsxs)(h,{scope:r,checked:k,disabled:p,children:[(0,u.jsx)(l.sG.button,{type:"button",role:"switch","aria-checked":k,"aria-required":f,"data-state":w(k),"data-disabled":p?"":void 0,disabled:p,value:m,...g,ref:j,onClick:(0,n.m)(e.onClick,e=>{E(e=>!e),T&&(S.current=e.isPropagationStopped(),S.current||e.stopPropagation())})}),T&&(0,u.jsx)(y,{control:x,bubbles:!S.current,name:i,value:m,checked:k,required:f,disabled:p,form:b,style:{transform:"translateX(-100%)"}})]})});b.displayName=f;var g="SwitchThumb",x=s.forwardRef((e,t)=>{let{__scopeSwitch:r,...s}=e,n=v(g,r);return(0,u.jsx)(l.sG.span,{"data-state":w(n.checked),"data-disabled":n.disabled?"":void 0,...s,ref:t})});x.displayName=g;var y=e=>{let{control:t,checked:r,bubbles:n=!0,...a}=e,i=s.useRef(null),o=(0,d.Z)(r),l=(0,c.X)(t);return s.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(o!==r&&t){let s=new Event("click",{bubbles:n});t.call(e,r),e.dispatchEvent(s)}},[o,r,n]),(0,u.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...a,tabIndex:-1,ref:i,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function w(e){return e?"checked":"unchecked"}var N=b,j=x},46774:(e,t,r)=>{"use strict";r.d(t,{c:()=>n});var s=r(20107);function n(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,r)=>{"use strict";r.d(t,{i:()=>a});var s=r(20107),n=r(46774);function a({prop:e,defaultProp:t,onChange:r=()=>{}}){let[a,i]=function({defaultProp:e,onChange:t}){let r=s.useState(e),[a]=r,i=s.useRef(a),o=(0,n.c)(t);return s.useEffect(()=>{i.current!==a&&(o(a),i.current=a)},[a,i,o]),r}({defaultProp:t,onChange:r}),o=void 0!==e,d=o?e:a,c=(0,n.c)(r);return[d,s.useCallback(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&c(r)}else i(t)},[o,e,i,c])]}},54122:(e,t,r)=>{"use strict";r.d(t,{N:()=>n});var s=r(20107),n=globalThis?.document?s.useLayoutEffect:()=>{}},65163:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var s=r(20107);function n(e){let t=s.useRef({value:e,previous:e});return s.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},63620:(e,t,r)=>{"use strict";r.d(t,{X:()=>a});var s=r(20107),n=r(54122);function a(e){let[t,r]=s.useState(void 0);return(0,n.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let s,n;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;s=t.inlineSize,n=t.blockSize}else s=e.offsetWidth,n=e.offsetHeight;r({width:s,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,1258,191,6035,7358],()=>t(49983)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3669],{49983:(e,t,r)=>{Promise.resolve().then(r.bind(r,34819))},34819:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var s=r(20475),n=r(20107),a=r(72167),i=r(64219),o=r(18861),l=r(42541),u=r(32857),c=r(114);let d=()=>{let[e,t]=(0,n.useState)("1500"),[r,d]=(0,n.useState)(!1),[f,p]=(0,n.useState)(!0),[m,h]=(0,n.useState)(""),v=(0,u.dj)();(0,n.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/advance/mtu.sh"),r=await e.json();d(r.isEnabled),t(r.currentValue.toString()),p(!1)}catch(e){h("Failed to fetch MTU settings"),p(!1),v.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Failed to fetch MTU settings",action:(0,s.jsx)(c.A,{})})}})()},[]);let b=async t=>{t.preventDefault(),h("");let n=r?e:"disable";try{let e=await fetch("/cgi-bin/quecmanager/advance/mtu.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"mtu=".concat(n)}),t=await e.json();!0===t.success?v.toast({title:"Success",description:t.message||"MTU settings saved successfully"}):v.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:t.error||"Failed to save MTU settings",action:(0,s.jsx)(c.A,{})})}catch(e){h("Failed to save MTU settings"),v.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Network error while saving MTU settings",action:(0,s.jsx)(c.A,{})})}};return(0,s.jsxs)(a.Zp,{children:[(0,s.jsxs)(a.aR,{children:[(0,s.jsx)(a.ZB,{children:"MTU Settings"}),(0,s.jsx)(a.BT,{children:"Configure MTU for rmnet_data0 interface."})]}),(0,s.jsx)(a.Wu,{children:(0,s.jsxs)("form",{onSubmit:b,className:"space-y-8",children:[(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-sm font-medium",children:"MTU Value"}),(0,s.jsx)(i.p,{type:"number",value:e,onChange:e=>t(e.target.value),disabled:!r,className:"mt-1",min:"68",max:"9000"}),(0,s.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:"Set the MTU value for your connection (default: 1500)."})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between rounded-lg border p-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-base font-medium",children:"MTU State"}),(0,s.jsx)("p",{className:"text-sm text-gray-500",children:"Toggle to enable or disable custom MTU value."})]}),(0,s.jsx)(o.d,{checked:r,onCheckedChange:e=>{d(e),e||t("1500")}})]})]}),(0,s.jsx)(l.$,{type:"submit",className:"w-full",disabled:f,children:"Save Configuration"})]})})]})}},114:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(20475),n=r(42541),a=r(7197);let i=()=>(0,s.jsx)(n.$,{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)(a.ERf,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>u,r:()=>l});var s=r(20475),n=r(20107),a=r(61837),i=r(29395),o=r(22250);let l=(0,i.F)("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"}}),u=n.forwardRef((e,t)=>{let{className:r,variant:n,size:i,asChild:u=!1,...c}=e,d=u?a.DX:"button";return(0,s.jsx)(d,{className:(0,o.cn)(l({variant:n,size:i,className:r})),ref:t,...c})});u.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>u,Wu:()=>c,ZB:()=>l,Zp:()=>i,aR:()=>o,wL:()=>d});var s=r(20475),n=r(20107),a=r(22250);let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,a.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});i.displayName="Card";let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",r),...n})});o.displayName="CardHeader";let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)("h3",{ref:t,className:(0,a.cn)("font-semibold leading-none tracking-tight",r),...n})});l.displayName="CardTitle";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)("p",{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",r),...n})});u.displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,a.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,a.cn)("flex items-center p-6 pt-0",r),...n})});d.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var s=r(20475),n=r(20107),a=r(22250);let i=n.forwardRef((e,t)=>{let{className:r,type:n,...i}=e;return(0,s.jsx)("input",{type:n,className:(0,a.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"},18861:(e,t,r)=>{"use strict";r.d(t,{d:()=>o});var s=r(20475),n=r(20107),a=r(80982),i=r(22250);let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)(a.bL,{className:(0,i.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r),...n,ref:t,children:(0,s.jsx)(a.zi,{className:(0,i.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")})})});o.displayName=a.bL.displayName},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>f,oR:()=>d});var s=r(20107);let n=0,a=new Map,i=e=>{if(a.has(e))return;let t=setTimeout(()=>{a.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);a.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],u={toasts:[]};function c(e){u=o(u,e),l.forEach(e=>{e(u)})}function d(e){let{...t}=e,r=(n=(n+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(u);return s.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>a});var s=r(64901),n=r(868);function a(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";function s(e,t,{checkForDefaultPrevented:r=!0}={}){return function(s){if(e?.(s),!1===r||!s.defaultPrevented)return t?.(s)}}r.d(t,{m:()=>s})},45170:(e,t,r)=>{"use strict";r.d(t,{A:()=>i,q:()=>a});var s=r(20107),n=r(20475);function a(e,t){let r=s.createContext(t),a=e=>{let{children:t,...a}=e,i=s.useMemo(()=>a,Object.values(a));return(0,n.jsx)(r.Provider,{value:i,children:t})};return a.displayName=e+"Provider",[a,function(n){let a=s.useContext(r);if(a)return a;if(void 0!==t)return t;throw Error(`\`${n}\` must be used within \`${e}\``)}]}function i(e,t=[]){let r=[],a=()=>{let t=r.map(e=>s.createContext(e));return function(r){let n=r?.[e]||t;return s.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return a.scopeName=e,[function(t,a){let i=s.createContext(a),o=r.length;r=[...r,a];let l=t=>{let{scope:r,children:a,...l}=t,u=r?.[e]?.[o]||i,c=s.useMemo(()=>l,Object.values(l));return(0,n.jsx)(u.Provider,{value:c,children:a})};return l.displayName=t+"Provider",[l,function(r,n){let l=n?.[e]?.[o]||i,u=s.useContext(l);if(u)return u;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:s})=>{let n=r(e)[`__scope${s}`];return{...t,...n}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(a,...t)]}},34544:(e,t,r)=>{"use strict";r.d(t,{hO:()=>l,sG:()=>o});var s=r(20107),n=r(25642),a=r(61837),i=r(20475),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=s.forwardRef((e,r)=>{let{asChild:s,...n}=e,o=s?a.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o,{...n,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}},80982:(e,t,r)=>{"use strict";r.d(t,{bL:()=>N,zi:()=>j});var s=r(20107),n=r(94521),a=r(64236),i=r(45170),o=r(13061),l=r(65163),u=r(63620),c=r(34544),d=r(20475),f="Switch",[p,m]=(0,i.A)(f),[h,v]=p(f),b=s.forwardRef((e,t)=>{let{__scopeSwitch:r,name:i,checked:l,defaultChecked:u,required:f,disabled:p,value:m="on",onCheckedChange:v,form:b,...g}=e,[x,N]=s.useState(null),j=(0,a.s)(t,e=>N(e)),S=s.useRef(!1),T=!x||b||!!x.closest("form"),[k=!1,A]=(0,o.i)({prop:l,defaultProp:u,onChange:v});return(0,d.jsxs)(h,{scope:r,checked:k,disabled:p,children:[(0,d.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":k,"aria-required":f,"data-state":w(k),"data-disabled":p?"":void 0,disabled:p,value:m,...g,ref:j,onClick:(0,n.m)(e.onClick,e=>{A(e=>!e),T&&(S.current=e.isPropagationStopped(),S.current||e.stopPropagation())})}),T&&(0,d.jsx)(y,{control:x,bubbles:!S.current,name:i,value:m,checked:k,required:f,disabled:p,form:b,style:{transform:"translateX(-100%)"}})]})});b.displayName=f;var g="SwitchThumb",x=s.forwardRef((e,t)=>{let{__scopeSwitch:r,...s}=e,n=v(g,r);return(0,d.jsx)(c.sG.span,{"data-state":w(n.checked),"data-disabled":n.disabled?"":void 0,...s,ref:t})});x.displayName=g;var y=e=>{let{control:t,checked:r,bubbles:n=!0,...a}=e,i=s.useRef(null),o=(0,l.Z)(r),c=(0,u.X)(t);return s.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(o!==r&&t){let s=new Event("click",{bubbles:n});t.call(e,r),e.dispatchEvent(s)}},[o,r,n]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...a,tabIndex:-1,ref:i,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function w(e){return e?"checked":"unchecked"}var N=b,j=x},46774:(e,t,r)=>{"use strict";r.d(t,{c:()=>n});var s=r(20107);function n(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,r)=>{"use strict";r.d(t,{i:()=>a});var s=r(20107),n=r(46774);function a({prop:e,defaultProp:t,onChange:r=()=>{}}){let[a,i]=function({defaultProp:e,onChange:t}){let r=s.useState(e),[a]=r,i=s.useRef(a),o=(0,n.c)(t);return s.useEffect(()=>{i.current!==a&&(o(a),i.current=a)},[a,i,o]),r}({defaultProp:t,onChange:r}),o=void 0!==e,l=o?e:a,u=(0,n.c)(r);return[l,s.useCallback(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&u(r)}else i(t)},[o,e,i,u])]}},54122:(e,t,r)=>{"use strict";r.d(t,{N:()=>n});var s=r(20107),n=globalThis?.document?s.useLayoutEffect:()=>{}},65163:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var s=r(20107);function n(e){let t=s.useRef({value:e,previous:e});return s.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},63620:(e,t,r)=>{"use strict";r.d(t,{X:()=>a});var s=r(20107),n=r(54122);function a(e){let[t,r]=s.useState(void 0);return(0,n.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let s,n;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;s=t.inlineSize,n=t.blockSize}else s=e.offsetWidth,n=e.offsetHeight;r({width:s,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},29395:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});let s=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,t,r=0,s="";rr=>{var a;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:i,defaultVariants:o}=t,l=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],n=null==o?void 0:o[e];if(null===t)return null;let a=s(t)||s(n);return i[e][a]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return n(e,l,null==t?void 0:null===(a=t.compoundVariants)||void 0===a?void 0:a.reduce((e,t)=>{let{class:r,className:s,...n}=t;return Object.entries(n).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...u}[t]):({...o,...u})[t]===r})?[...e,r,s]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,191,6035,7358],()=>t(49983)),_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/page-e190ad25d1c1595e.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/page-e6b9797379c47dca.js similarity index 72% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/page-e190ad25d1c1595e.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/page-e6b9797379c47dca.js index 65f73ad..f440085 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/page-e190ad25d1c1595e.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/page-e6b9797379c47dca.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5226],{28151:(e,s,_)=>{Promise.resolve().then(_.bind(_,76592))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,1258,4687,3746,9464,3494,564,6592,191,6035,7358],()=>s(28151)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5226],{28151:(e,s,_)=>{Promise.resolve().then(_.bind(_,76592))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,7780,8885,3746,9464,3494,241,6592,191,6035,7358],()=>s(28151)),_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/ttl-settings/page-13557d5ae878081d.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-13557d5ae878081d.js deleted file mode 100644 index 0e81525..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-13557d5ae878081d.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4481],{66437:(e,t,r)=>{Promise.resolve().then(r.bind(r,83143))},83143:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var s=r(20475),a=r(20107),n=r(72167),i=r(64219),o=r(18861),l=r(42541),c=r(32857),d=r(49573),u=r(29475);let f=()=>{let[e,t]=(0,a.useState)("0"),[r,f]=(0,a.useState)(!1),[p,m]=(0,a.useState)(!0),[h,v]=(0,a.useState)(""),[g,b]=(0,a.useState)(""),[x,y]=(0,a.useState)(null),[w,N]=(0,a.useState)(!1),{toast:T}=(0,c.dj)();(0,a.useEffect)(()=>{(async()=>{m(!0);try{let e=await fetch("/cgi-bin/quecmanager/advance/ttl.sh");if(!e.ok)throw Error("Failed to fetch TTL settings: ".concat(e.statusText));let r=await e.json(),s=await fetch("/cgi-bin/quecmanager/profiles/check_status.sh");if(!s.ok)throw Error("Failed to fetch profile status: ".concat(s.statusText));let a=await s.json();console.log("TTL Data:",r),console.log("Profile Status:",a);let n=!1,i=r.currentValue.toString(),o=r.isEnabled;if("success"===a.status&&a.profile&&"unknown"!==a.profile&&"none"!==a.profile){let e=await fetch("/cgi-bin/quecmanager/profiles/list_profiles.sh");if(e.ok){let t=await e.json();if("success"===t.status&&Array.isArray(t.profiles)){let e=t.profiles.find(e=>e.name===a.profile);e&&e.ttl&&parseInt(e.ttl)>0&&(y(e),n=!0,i=e.ttl,o=!0)}}}t(i),f(o),N(n)}catch(e){console.error("Error fetching data:",e),v(e instanceof Error?e.message:"Failed to fetch TTL settings"),T({variant:"destructive",title:"Error fetching settings",description:e instanceof Error?e.message:"Failed to fetch TTL settings"})}finally{m(!1)}})()},[]);let j=async t=>{t.preventDefault(),v(""),b("");let s=r?e:"0";try{let e=await fetch("/cgi-bin/quecmanager/advance/ttl.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"ttl=".concat(s)});if(!e.ok)throw Error("HTTP error! Status: ".concat(e.status));let t=await e.json();if(!0===t.success)b("Settings saved successfully"),T({title:"Success",description:"TTL settings saved successfully"});else throw Error(t.error||"Failed to save settings")}catch(e){v(e instanceof Error?e.message:"Failed to save settings"),T({variant:"destructive",title:"Error saving settings",description:e instanceof Error?e.message:"Failed to save TTL settings"})}};return(0,s.jsxs)(n.Zp,{children:[(0,s.jsxs)(n.aR,{children:[(0,s.jsx)(n.ZB,{children:"TTL Settings"}),(0,s.jsx)(n.BT,{children:"Configure TTL mangling for your connection."})]}),(0,s.jsxs)(n.Wu,{children:[w&&x&&(0,s.jsxs)(d.Fc,{className:"mb-6",children:[(0,s.jsx)(u.A,{className:"h-4 w-4",color:"orange"}),(0,s.jsx)(d.XL,{children:"Profile Controlled"}),(0,s.jsxs)(d.TN,{children:['TTL is currently being managed by profile "',x.name,'".']})]}),h&&(0,s.jsxs)(d.Fc,{variant:"destructive",className:"mb-6",children:[(0,s.jsx)(d.XL,{children:"Error"}),(0,s.jsx)(d.TN,{children:h})]}),g&&(0,s.jsxs)(d.Fc,{className:"mb-6",children:[(0,s.jsx)(d.XL,{children:"Success"}),(0,s.jsx)(d.TN,{children:g})]}),(0,s.jsxs)("form",{onSubmit:j,className:"space-y-8",children:[(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-sm font-medium",children:"TTL Value"}),(0,s.jsx)(i.p,{type:"number",min:"0",max:"255",value:e,onChange:e=>t(e.target.value),disabled:!r||w||p,className:"mt-1"}),(0,s.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:"Set the TTL value for your connection (0-255)."})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between rounded-lg border p-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-base font-medium",children:"TTL State"}),(0,s.jsx)("p",{className:"text-sm text-gray-500",children:"Toggle to enable or disable TTL mangling"})]}),(0,s.jsx)(o.d,{checked:r,onCheckedChange:f,disabled:w||p})]})]}),(0,s.jsx)(l.$,{type:"submit",className:"w-full",disabled:p||w,children:"Save Configuration"})]})]})]})}},49573:(e,t,r)=>{"use strict";r.d(t,{Fc:()=>l,TN:()=>d,XL:()=>c});var s=r(20475),a=r(20107),n=r(29395),i=r(22250);let o=(0,n.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),l=a.forwardRef((e,t)=>{let{className:r,variant:a,...n}=e;return(0,s.jsx)("div",{ref:t,role:"alert",className:(0,i.cn)(o({variant:a}),r),...n})});l.displayName="Alert";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h5",{ref:t,className:(0,i.cn)("mb-1 font-medium leading-none tracking-tight",r),...a})});c.displayName="AlertTitle";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("text-sm [&_p]:leading-relaxed",r),...a})});d.displayName="AlertDescription"},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>c,r:()=>l});var s=r(20475),a=r(20107),n=r(61837),i=r(29395),o=r(22250);let l=(0,i.F)("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=a.forwardRef((e,t)=>{let{className:r,variant:a,size:i,asChild:c=!1,...d}=e,u=c?n.DX:"button";return(0,s.jsx)(u,{className:(0,o.cn)(l({variant:a,size:i,className:r})),ref:t,...d})});c.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>c,Wu:()=>d,ZB:()=>l,Zp:()=>i,aR:()=>o,wL:()=>u});var s=r(20475),a=r(20107),n=r(22250);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 c=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})});c.displayName="CardDescription";let d=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})});d.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"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var s=r(20475),a=r(20107),n=r(22250);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"},18861:(e,t,r)=>{"use strict";r.d(t,{d:()=>o});var s=r(20475),a=r(20107),n=r(80982),i=r(22250);let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.bL,{className:(0,i.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),...a,ref:t,children:(0,s.jsx)(n.zi,{className:(0,i.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")})})});o.displayName=n.bL.displayName},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>f,oR:()=>u});var s=r(20107);let a=0,n=new Map,i=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),d({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=[],c={toasts:[]};function d(e){c=o(c,e),l.forEach(e=>{e(c)})}function u(e){let{...t}=e,r=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>d({type:"DISMISS_TOAST",toastId:r});return d({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>d({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:u,dismiss:e=>d({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>n});var s=r(64901),a=r(868);function n(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{A:()=>l});var s=r(20107);let a=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,s.forwardRef)((e,t)=>{let{color:r="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:l,className:c="",children:d,iconNode:u,...f}=e;return(0,s.createElement)("svg",{ref:t,...i,width:a,height:a,stroke:r,strokeWidth:l?24*Number(o)/Number(a):o,className:n("lucide",c),...f},[...u.map(e=>{let[t,r]=e;return(0,s.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),l=(e,t)=>{let r=(0,s.forwardRef)((r,i)=>{let{className:l,...c}=r;return(0,s.createElement)(o,{ref:i,iconNode:t,className:n("lucide-".concat(a(e)),l),...c})});return r.displayName="".concat(e),r}},29475:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},94521:(e,t,r)=>{"use strict";function s(e,t,{checkForDefaultPrevented:r=!0}={}){return function(s){if(e?.(s),!1===r||!s.defaultPrevented)return t?.(s)}}r.d(t,{m:()=>s})},45170:(e,t,r)=>{"use strict";r.d(t,{A:()=>i,q:()=>n});var s=r(20107),a=r(20475);function n(e,t){let r=s.createContext(t),n=e=>{let{children:t,...n}=e,i=s.useMemo(()=>n,Object.values(n));return(0,a.jsx)(r.Provider,{value:i,children:t})};return n.displayName=e+"Provider",[n,function(a){let n=s.useContext(r);if(n)return n;if(void 0!==t)return t;throw Error(`\`${a}\` must be used within \`${e}\``)}]}function i(e,t=[]){let r=[],n=()=>{let t=r.map(e=>s.createContext(e));return function(r){let a=r?.[e]||t;return s.useMemo(()=>({[`__scope${e}`]:{...r,[e]:a}}),[r,a])}};return n.scopeName=e,[function(t,n){let i=s.createContext(n),o=r.length;r=[...r,n];let l=t=>{let{scope:r,children:n,...l}=t,c=r?.[e]?.[o]||i,d=s.useMemo(()=>l,Object.values(l));return(0,a.jsx)(c.Provider,{value:d,children:n})};return l.displayName=t+"Provider",[l,function(r,a){let l=a?.[e]?.[o]||i,c=s.useContext(l);if(c)return c;if(void 0!==n)return n;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 a=r.reduce((t,{useScope:r,scopeName:s})=>{let a=r(e)[`__scope${s}`];return{...t,...a}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}(n,...t)]}},34544:(e,t,r)=>{"use strict";r.d(t,{hO:()=>l,sG:()=>o});var s=r(20107),a=r(25642),n=r(61837),i=r(20475),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=s.forwardRef((e,r)=>{let{asChild:s,...a}=e,o=s?n.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&a.flushSync(()=>e.dispatchEvent(t))}},80982:(e,t,r)=>{"use strict";r.d(t,{bL:()=>N,zi:()=>T});var s=r(20107),a=r(94521),n=r(64236),i=r(45170),o=r(13061),l=r(65163),c=r(63620),d=r(34544),u=r(20475),f="Switch",[p,m]=(0,i.A)(f),[h,v]=p(f),g=s.forwardRef((e,t)=>{let{__scopeSwitch:r,name:i,checked:l,defaultChecked:c,required:f,disabled:p,value:m="on",onCheckedChange:v,form:g,...b}=e,[x,N]=s.useState(null),T=(0,n.s)(t,e=>N(e)),j=s.useRef(!1),S=!x||g||!!x.closest("form"),[k=!1,E]=(0,o.i)({prop:l,defaultProp:c,onChange:v});return(0,u.jsxs)(h,{scope:r,checked:k,disabled:p,children:[(0,u.jsx)(d.sG.button,{type:"button",role:"switch","aria-checked":k,"aria-required":f,"data-state":w(k),"data-disabled":p?"":void 0,disabled:p,value:m,...b,ref:T,onClick:(0,a.m)(e.onClick,e=>{E(e=>!e),S&&(j.current=e.isPropagationStopped(),j.current||e.stopPropagation())})}),S&&(0,u.jsx)(y,{control:x,bubbles:!j.current,name:i,value:m,checked:k,required:f,disabled:p,form:g,style:{transform:"translateX(-100%)"}})]})});g.displayName=f;var b="SwitchThumb",x=s.forwardRef((e,t)=>{let{__scopeSwitch:r,...s}=e,a=v(b,r);return(0,u.jsx)(d.sG.span,{"data-state":w(a.checked),"data-disabled":a.disabled?"":void 0,...s,ref:t})});x.displayName=b;var y=e=>{let{control:t,checked:r,bubbles:a=!0,...n}=e,i=s.useRef(null),o=(0,l.Z)(r),d=(0,c.X)(t);return s.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(o!==r&&t){let s=new Event("click",{bubbles:a});t.call(e,r),e.dispatchEvent(s)}},[o,r,a]),(0,u.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...n,tabIndex:-1,ref:i,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function w(e){return e?"checked":"unchecked"}var N=g,T=x},46774:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var s=r(20107);function a(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...e)=>t.current?.(...e),[])}},13061:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});var s=r(20107),a=r(46774);function n({prop:e,defaultProp:t,onChange:r=()=>{}}){let[n,i]=function({defaultProp:e,onChange:t}){let r=s.useState(e),[n]=r,i=s.useRef(n),o=(0,a.c)(t);return s.useEffect(()=>{i.current!==n&&(o(n),i.current=n)},[n,i,o]),r}({defaultProp:t,onChange:r}),o=void 0!==e,l=o?e:n,c=(0,a.c)(r);return[l,s.useCallback(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&c(r)}else i(t)},[o,e,i,c])]}},54122:(e,t,r)=>{"use strict";r.d(t,{N:()=>a});var s=r(20107),a=globalThis?.document?s.useLayoutEffect:()=>{}},65163:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var s=r(20107);function a(e){let t=s.useRef({value:e,previous:e});return s.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},63620:(e,t,r)=>{"use strict";r.d(t,{X:()=>n});var s=r(20107),a=r(54122);function n(e){let[t,r]=s.useState(void 0);return(0,a.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let s,a;if(!Array.isArray(t)||!t.length)return;let n=t[0];if("borderBoxSize"in n){let e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;s=t.inlineSize,a=t.blockSize}else s=e.offsetWidth,a=e.offsetHeight;r({width:s,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}}},e=>{var t=t=>e(e.s=t);e.O(0,[1258,191,6035,7358],()=>t(66437)),_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/ttl-settings/page-5948794cbc9303d4.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-5948794cbc9303d4.js new file mode 100644 index 0000000..eb82287 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-5948794cbc9303d4.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4481],{66437:(e,t,s)=>{Promise.resolve().then(s.bind(s,83143))},83143:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>f});var r=s(20475),a=s(20107),n=s(72167),i=s(64219),o=s(18861),l=s(42541),d=s(32857),c=s(49573),u=s(29475);let f=()=>{let[e,t]=(0,a.useState)("0"),[s,f]=(0,a.useState)(!1),[g,m]=(0,a.useState)(!0),[p,h]=(0,a.useState)(""),[v,x]=(0,a.useState)(""),[b,T]=(0,a.useState)(null),[y,w]=(0,a.useState)(!1),{toast:j}=(0,d.dj)();(0,a.useEffect)(()=>{(async()=>{m(!0);try{let e=await fetch("/cgi-bin/quecmanager/advance/ttl.sh");if(!e.ok)throw Error("Failed to fetch TTL settings: ".concat(e.statusText));let s=await e.json(),r=await fetch("/cgi-bin/quecmanager/profiles/check_status.sh");if(!r.ok)throw Error("Failed to fetch profile status: ".concat(r.statusText));let a=await r.json();console.log("TTL Data:",s),console.log("Profile Status:",a);let n=!1,i=s.currentValue.toString(),o=s.isEnabled;if("success"===a.status&&a.profile&&"unknown"!==a.profile&&"none"!==a.profile){let e=await fetch("/cgi-bin/quecmanager/profiles/list_profiles.sh");if(e.ok){let t=await e.json();if("success"===t.status&&Array.isArray(t.profiles)){let e=t.profiles.find(e=>e.name===a.profile);e&&e.ttl&&parseInt(e.ttl)>0&&(T(e),n=!0,i=e.ttl,o=!0)}}}t(i),f(o),w(n)}catch(e){console.error("Error fetching data:",e),h(e instanceof Error?e.message:"Failed to fetch TTL settings"),j({variant:"destructive",title:"Error fetching settings",description:e instanceof Error?e.message:"Failed to fetch TTL settings"})}finally{m(!1)}})()},[]);let N=async t=>{t.preventDefault(),h(""),x("");let r=s?e:"0";try{let e=await fetch("/cgi-bin/quecmanager/advance/ttl.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"ttl=".concat(r)});if(!e.ok)throw Error("HTTP error! Status: ".concat(e.status));let t=await e.json();if(!0===t.success)x("Settings saved successfully"),j({title:"Success",description:"TTL settings saved successfully"});else throw Error(t.error||"Failed to save settings")}catch(e){h(e instanceof Error?e.message:"Failed to save settings"),j({variant:"destructive",title:"Error saving settings",description:e instanceof Error?e.message:"Failed to save TTL settings"})}};return(0,r.jsxs)(n.Zp,{children:[(0,r.jsxs)(n.aR,{children:[(0,r.jsx)(n.ZB,{children:"TTL Settings"}),(0,r.jsx)(n.BT,{children:"Configure TTL mangling for your connection."})]}),(0,r.jsxs)(n.Wu,{children:[y&&b&&(0,r.jsxs)(c.Fc,{className:"mb-6",children:[(0,r.jsx)(u.A,{className:"h-4 w-4",color:"orange"}),(0,r.jsx)(c.XL,{children:"Profile Controlled"}),(0,r.jsxs)(c.TN,{children:['TTL is currently being managed by profile "',b.name,'".']})]}),p&&(0,r.jsxs)(c.Fc,{variant:"destructive",className:"mb-6",children:[(0,r.jsx)(c.XL,{children:"Error"}),(0,r.jsx)(c.TN,{children:p})]}),v&&(0,r.jsxs)(c.Fc,{className:"mb-6",children:[(0,r.jsx)(c.XL,{children:"Success"}),(0,r.jsx)(c.TN,{children:v})]}),(0,r.jsxs)("form",{onSubmit:N,className:"space-y-8",children:[(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"text-sm font-medium",children:"TTL Value"}),(0,r.jsx)(i.p,{type:"number",min:"0",max:"255",value:e,onChange:e=>t(e.target.value),disabled:!s||y||g,className:"mt-1"}),(0,r.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:"Set the TTL value for your connection (0-255)."})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between rounded-lg border p-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"text-base font-medium",children:"TTL State"}),(0,r.jsx)("p",{className:"text-sm text-gray-500",children:"Toggle to enable or disable TTL mangling"})]}),(0,r.jsx)(o.d,{checked:s,onCheckedChange:f,disabled:y||g})]})]}),(0,r.jsx)(l.$,{type:"submit",className:"w-full",disabled:g||y,children:"Save Configuration"})]})]})]})}},49573:(e,t,s)=>{"use strict";s.d(t,{Fc:()=>l,TN:()=>c,XL:()=>d});var r=s(20475),a=s(20107),n=s(29395),i=s(22250);let o=(0,n.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),l=a.forwardRef((e,t)=>{let{className:s,variant:a,...n}=e;return(0,r.jsx)("div",{ref:t,role:"alert",className:(0,i.cn)(o({variant:a}),s),...n})});l.displayName="Alert";let d=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)("h5",{ref:t,className:(0,i.cn)("mb-1 font-medium leading-none tracking-tight",s),...a})});d.displayName="AlertTitle";let c=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("text-sm [&_p]:leading-relaxed",s),...a})});c.displayName="AlertDescription"},42541:(e,t,s)=>{"use strict";s.d(t,{$:()=>d,r:()=>l});var r=s(20475),a=s(20107),n=s(61837),i=s(29395),o=s(22250);let l=(0,i.F)("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:s,variant:a,size:i,asChild:d=!1,...c}=e,u=d?n.DX:"button";return(0,r.jsx)(u,{className:(0,o.cn)(l({variant:a,size:i,className:s})),ref:t,...c})});d.displayName="Button"},72167:(e,t,s)=>{"use strict";s.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>l,Zp:()=>i,aR:()=>o,wL:()=>u});var r=s(20475),a=s(20107),n=s(22250);let i=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",s),...a})});i.displayName="Card";let o=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",s),...a})});o.displayName="CardHeader";let l=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",s),...a})});l.displayName="CardTitle";let d=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",s),...a})});d.displayName="CardDescription";let c=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",s),...a})});c.displayName="CardContent";let u=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",s),...a})});u.displayName="CardFooter"},64219:(e,t,s)=>{"use strict";s.d(t,{p:()=>i});var r=s(20475),a=s(20107),n=s(22250);let i=a.forwardRef((e,t)=>{let{className:s,type:a,...i}=e;return(0,r.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",s),ref:t,...i})});i.displayName="Input"},18861:(e,t,s)=>{"use strict";s.d(t,{d:()=>o});var r=s(20475),a=s(20107),n=s(80982),i=s(22250);let o=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(n.bL,{className:(0,i.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",s),...a,ref:t,children:(0,r.jsx)(n.zi,{className:(0,i.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")})})});o.displayName=n.bL.displayName},32857:(e,t,s)=>{"use strict";s.d(t,{dj:()=>f,oR:()=>u});var r=s(20107);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:s}=t;return s?i(s):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...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,s=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:s});return c({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||r()}}}),{id:s,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:s}})}}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})}}},22250:(e,t,s)=>{"use strict";s.d(t,{cn:()=>n});var r=s(64901),a=s(868);function n(){for(var e=arguments.length,t=Array(e),s=0;s{var t=t=>e(e.s=t);e.O(0,[7780,1630,191,6035,7358],()=>t(66437)),_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-b95b68f977650464.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-5ce71e90ddd3ae1a.js similarity index 99% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-b95b68f977650464.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-5ce71e90ddd3ae1a.js index ccde4ba..a65e12d 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-b95b68f977650464.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-5ce71e90ddd3ae1a.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1942],{31486:(e,t,s)=>{Promise.resolve().then(s.bind(s,75808))},75808:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>m});var a=s(20475),r=s(20107),o=s(72167),n=s(574),i=s(42541),l=s(32857),c=s(29475),d=s(91994),u=s(88926);let f={lte:"lte_band",nsa:"nsa_nr5g_band",sa:"nrdc_nr5g_band"},p={lte:"lte_band",nsa:"nsa_nr5g_band",sa:"nr5g_band"},m=()=>{let{toast:e}=(0,l.dj)(),[t,s]=(0,r.useState)({lte:[],nsa:[],sa:[]}),[m,h]=(0,r.useState)({lte:[],nsa:[],sa:[]}),[v,g]=(0,r.useState)(!0),[b,w]=(0,r.useState)(!1),[x,N]=(0,r.useState)(null),[y,_]=(0,r.useState)({lte:!1,nsa:!1,sa:!1}),j=(e,t,s)=>{let a=e.split("\n"),r=s?f[t]:p[t];for(let e of a){let t='"'.concat(r,'"');if(e.includes(t)){let t=e.match(/\"[^\"]+\",(.+)/);if(t&&t[1])return t[1].trim().split(":").map(Number).filter(e=>!isNaN(e))}}return[]};(0,r.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/profiles/check_status.sh");if(!e.ok)throw Error("Failed to fetch profile status: ".concat(e.statusText));let t=await e.json();if(console.log("Profile Status:",t),"success"===t.status&&t.profile&&"unknown"!==t.profile&&"none"!==t.profile){let e=await fetch("/cgi-bin/quecmanager/profiles/list_profiles.sh");if(e.ok){let s=await e.json();if("success"===s.status&&Array.isArray(s.profiles)){let e=s.profiles.find(e=>e.name===t.profile);if(e){N(e);let t={lte:!!e.lte_bands,nsa:!!e.nsa_nr5g_bands,sa:!!e.sa_nr5g_bands};_(t),console.log("Active Profile:",e),console.log("Controlled Bands:",t)}}}}else N(null),_({lte:!1,nsa:!1,sa:!1})}catch(e){console.error("Error fetching profile data:",e)}})()},[]);let E=async()=>{try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=7");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json(),a=t[0].response,r={lte:j(a,"lte",!0),nsa:j(a,"nsa",!0),sa:j(a,"sa",!0)};s(r);let o=t[1].response,n={lte:j(o,"lte",!1),nsa:j(o,"nsa",!1),sa:j(o,"sa",!1)};h(n),g(!1)}catch(t){console.error("Error fetching bands:",t),e({title:"Error",description:"Failed to fetch bands data.",variant:"destructive"}),g(!1)}};(0,r.useEffect)(()=>{E()},[]),(0,r.useEffect)(()=>{if(x){let e={...m},t=!1;if(y.lte&&x.lte_bands){let s=x.lte_bands.split(",").map(Number).filter(e=>!isNaN(e));e.lte=s,t=!0}if(y.nsa&&x.nsa_nr5g_bands){let s=x.nsa_nr5g_bands.split(",").map(Number).filter(e=>!isNaN(e));e.nsa=s,t=!0}if(y.sa&&x.sa_nr5g_bands){let s=x.sa_nr5g_bands.split(",").map(Number).filter(e=>!isNaN(e));e.sa=s,t=!0}t&&h(e)}},[x,y]);let T=(e,t)=>{y[e]||h(s=>({...s,[e]:s[e].includes(t)?s[e].filter(e=>e!==t):[...s[e],t].sort((e,t)=>e-t)}))},A=async s=>{if(y[s]){e({title:"Profile Controlled",description:"".concat(s.toUpperCase(),' bands are currently managed by profile "').concat(null==x?void 0:x.name,'"'),variant:"destructive"});return}try{var a,r,o,n,i,l,c,d;w(!0);let f=m[s].join(":");if("nsa"===s){let e=m.sa.join(":"),s=await (0,u.a)('AT+QNWPREFCFG="'.concat(p.nsa,'",').concat(f),!0);if((null===(a=s.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(r=s.response)||void 0===r?void 0:r.raw_output)||"Failed to lock NSA bands");if(e){let t=await (0,u.a)('AT+QNWPREFCFG="'.concat(p.sa,'",').concat(e),!0);if((null===(o=t.response)||void 0===o?void 0:o.status)!=="success")throw Error((null===(n=t.response)||void 0===n?void 0:n.raw_output)||"Failed to restore SA bands")}else{let e=t.sa.join(":"),s=await (0,u.a)('AT+QNWPREFCFG="'.concat(p.sa,'",').concat(e),!0);if((null===(i=s.response)||void 0===i?void 0:i.status)!=="success")throw Error((null===(l=s.response)||void 0===l?void 0:l.raw_output)||"Failed to set default SA bands")}h(s=>({...s,nsa:m.nsa,sa:e?m.sa:t.sa}))}else{let e=await (0,u.a)('AT+QNWPREFCFG="'.concat(p[s],'",').concat(f),!0);if((null===(c=e.response)||void 0===c?void 0:c.status)!=="success")throw Error((null===(d=e.response)||void 0===d?void 0:d.raw_output)||"Failed to lock ".concat(s.toUpperCase()," bands"));h(e=>({...e,[s]:m[s]}))}e({title:"Band Locking",description:"Bands locked successfully."}),setTimeout(E,1e3),w(!1)}catch(a){let t=a instanceof Error?a.message:"Unknown error";console.error("Error locking ".concat(s," bands:"),a),e({title:"Error",description:"Failed to lock ".concat(s.toUpperCase()," bands: ").concat(t),variant:"destructive"}),w(!1)}},S=e=>{y[e]||h(t=>({...t,[e]:[]}))},k=async s=>{if(y[s]){e({title:"Profile Controlled",description:"".concat(s.toUpperCase(),' bands are currently managed by profile "').concat(null==x?void 0:x.name,'"'),variant:"destructive"});return}try{var a,r,o,n,i,l;let c=t[s].join(":");if("nsa"===s){let e=await (0,u.a)('AT+QNWPREFCFG="'.concat(p.nsa,'",').concat(c),!0);if((null===(a=e.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(r=e.response)||void 0===r?void 0:r.raw_output)||"Failed to reset NSA bands");let t=m.sa.join(":");if(t){let e=await (0,u.a)('AT+QNWPREFCFG="'.concat(p.sa,'",').concat(t),!0);if((null===(o=e.response)||void 0===o?void 0:o.status)!=="success")throw Error((null===(n=e.response)||void 0===n?void 0:n.raw_output)||"Failed to preserve SA bands")}}else{let e=await (0,u.a)('AT+QNWPREFCFG="'.concat(p[s],'",').concat(c),!0);if((null===(i=e.response)||void 0===i?void 0:i.status)!=="success")throw Error((null===(l=e.response)||void 0===l?void 0:l.raw_output)||"Failed to reset ".concat(s.toUpperCase()," bands"))}e({title:"Reset Successful",description:"".concat(s.toUpperCase()," bands reset to default.")}),await E()}catch(a){let t=a instanceof Error?a.message:"Unknown error";console.error("Error resetting ".concat(s," bands:"),a),e({title:"Error",description:"Failed to reset ".concat(s.toUpperCase()," bands: ").concat(t),variant:"destructive"})}},C=e=>{let{title:s,description:r,bandType:l,prefix:u,isProfileControlled:f,profileName:p}=e;return(0,a.jsxs)(o.Zp,{children:[(0,a.jsx)(o.aR,{children:(0,a.jsxs)("div",{className:"flex justify-between items-start",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(o.ZB,{children:s}),(0,a.jsx)(o.BT,{children:r})]}),f&&(0,a.jsxs)("div",{className:"flex items-center gap-1 text-xs font-medium px-2 py-1 rounded-md bg-slate-100 dark:bg-slate-800",children:[(0,a.jsx)(c.A,{className:"h-3 w-3",color:"orange"}),(0,a.jsxs)("span",{children:["Profile Controlled by ",p]})]})]})}),(0,a.jsx)(o.Wu,{className:"grid lg:grid-cols-8 md:grid-cols-6 sm:grid-cols-4 grid-cols-3 grid-flow-row gap-4",children:v?(0,a.jsx)("div",{className:"col-span-8",children:"Fetching bands..."}):t[l].map(e=>(0,a.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,a.jsx)(n.S,{id:"".concat(l,"-").concat(e),checked:m[l].includes(e),onCheckedChange:()=>T(l,e),disabled:f,className:f?"cursor-not-allowed opacity-60":""}),(0,a.jsxs)("label",{htmlFor:"".concat(l,"-").concat(e),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 ".concat(f?"cursor-not-allowed opacity-60":""),children:[u,e]})]},e))}),(0,a.jsxs)(o.wL,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-3",children:[(0,a.jsxs)(i.$,{onClick:()=>A(l),disabled:f||v||b,children:[(0,a.jsx)(c.A,{className:"h-4 w-4"}),"Lock Selected Bands"]}),(0,a.jsx)(i.$,{variant:"secondary",onClick:()=>S(l),disabled:f||v||b,children:"Uncheck All"}),(0,a.jsxs)(i.$,{variant:"secondary",onClick:()=>k(l),disabled:f||v||b,children:[(0,a.jsx)(d.A,{className:"h-4 w-4"}),"Reset to Default"]})]})]})};return(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsx)(C,{title:"4G LTE Band Locking",description:"Lock the device to specific LTE bands.",bandType:"lte",prefix:"B",isProfileControlled:y.lte,profileName:(null==x?void 0:x.name)||""}),(0,a.jsx)(C,{title:"NR5G-NSA Band Locking",description:"Lock the device to specific NR5G-NSA bands.",bandType:"nsa",prefix:"N",isProfileControlled:y.nsa,profileName:(null==x?void 0:x.name)||""}),(0,a.jsx)(C,{title:"NR5G-SA Band Locking",description:"Lock the device to specific NR5G-SA bands.",bandType:"sa",prefix:"N",isProfileControlled:y.sa,profileName:(null==x?void 0:x.name)||""})]})}},42541:(e,t,s)=>{"use strict";s.d(t,{$:()=>c,r:()=>l});var a=s(20475),r=s(20107),o=s(61837),n=s(29395),i=s(22250);let l=(0,n.F)("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=r.forwardRef((e,t)=>{let{className:s,variant:r,size:n,asChild:c=!1,...d}=e,u=c?o.DX:"button";return(0,a.jsx)(u,{className:(0,i.cn)(l({variant:r,size:n,className:s})),ref:t,...d})});c.displayName="Button"},72167:(e,t,s)=>{"use strict";s.d(t,{BT:()=>c,Wu:()=>d,ZB:()=>l,Zp:()=>n,aR:()=>i,wL:()=>u});var a=s(20475),r=s(20107),o=s(22250);let n=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",s),...r})});n.displayName="Card";let i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",s),...r})});i.displayName="CardHeader";let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("h3",{ref:t,className:(0,o.cn)("font-semibold leading-none tracking-tight",s),...r})});l.displayName="CardTitle";let c=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("p",{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",s),...r})});c.displayName="CardDescription";let d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("p-6 pt-0",s),...r})});d.displayName="CardContent";let u=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("flex items-center p-6 pt-0",s),...r})});u.displayName="CardFooter"},574:(e,t,s)=>{"use strict";s.d(t,{S:()=>l});var a=s(20475),r=s(20107),o=s(32713),n=s(7197),i=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(o.bL,{ref:t,className:(0,i.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",s),...r,children:(0,a.jsx)(o.C1,{className:(0,i.cn)("flex items-center justify-center text-current"),children:(0,a.jsx)(n.Srz,{className:"h-4 w-4"})})})});l.displayName=o.bL.displayName},32857:(e,t,s)=>{"use strict";s.d(t,{dj:()=>f,oR:()=>u});var a=s(20107);let r=0,o=new Map,n=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),d({type:"REMOVE_TOAST",toastId:e})},1e6);o.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:s}=t;return s?n(s):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...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 d(e){c=i(c,e),l.forEach(e=>{e(c)})}function u(e){let{...t}=e,s=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>d({type:"DISMISS_TOAST",toastId:s});return d({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||a()}}}),{id:s,dismiss:a,update:e=>d({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function f(){let[e,t]=a.useState(c);return a.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>d({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,s)=>{"use strict";s.d(t,{cn:()=>o});var a=s(64901),r=s(868);function o(){for(var e=arguments.length,t=Array(e),s=0;s{"use strict";s.d(t,{a:()=>a});let a=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var a;let r=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),o=encodeURIComponent(r),n="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(o);t&&(n+="&wait=1&timeout=".concat(s));let i=await fetch(n,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*s+5e3)});if(!i.ok)throw Error("AT command failed with status: ".concat(i.status));let l=await i.json();if(l.error)throw Error("AT queue error: ".concat(l.error));if(t&&(null===(a=l.response)||void 0===a?void 0:a.status)==="timeout")throw Error("AT command timed out after ".concat(s," seconds"));return l}catch(e){throw console.error("AT Command error:",e),e}}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,1258,6820,191,6035,7358],()=>t(31486)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1942],{31486:(e,t,s)=>{Promise.resolve().then(s.bind(s,75808))},75808:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>m});var a=s(20475),r=s(20107),o=s(72167),n=s(574),i=s(42541),l=s(32857),c=s(29475),d=s(91994),u=s(88926);let f={lte:"lte_band",nsa:"nsa_nr5g_band",sa:"nrdc_nr5g_band"},p={lte:"lte_band",nsa:"nsa_nr5g_band",sa:"nr5g_band"},m=()=>{let{toast:e}=(0,l.dj)(),[t,s]=(0,r.useState)({lte:[],nsa:[],sa:[]}),[m,h]=(0,r.useState)({lte:[],nsa:[],sa:[]}),[v,g]=(0,r.useState)(!0),[b,w]=(0,r.useState)(!1),[x,N]=(0,r.useState)(null),[y,_]=(0,r.useState)({lte:!1,nsa:!1,sa:!1}),j=(e,t,s)=>{let a=e.split("\n"),r=s?f[t]:p[t];for(let e of a){let t='"'.concat(r,'"');if(e.includes(t)){let t=e.match(/\"[^\"]+\",(.+)/);if(t&&t[1])return t[1].trim().split(":").map(Number).filter(e=>!isNaN(e))}}return[]};(0,r.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/profiles/check_status.sh");if(!e.ok)throw Error("Failed to fetch profile status: ".concat(e.statusText));let t=await e.json();if(console.log("Profile Status:",t),"success"===t.status&&t.profile&&"unknown"!==t.profile&&"none"!==t.profile){let e=await fetch("/cgi-bin/quecmanager/profiles/list_profiles.sh");if(e.ok){let s=await e.json();if("success"===s.status&&Array.isArray(s.profiles)){let e=s.profiles.find(e=>e.name===t.profile);if(e){N(e);let t={lte:!!e.lte_bands,nsa:!!e.nsa_nr5g_bands,sa:!!e.sa_nr5g_bands};_(t),console.log("Active Profile:",e),console.log("Controlled Bands:",t)}}}}else N(null),_({lte:!1,nsa:!1,sa:!1})}catch(e){console.error("Error fetching profile data:",e)}})()},[]);let E=async()=>{try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=7");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json(),a=t[0].response,r={lte:j(a,"lte",!0),nsa:j(a,"nsa",!0),sa:j(a,"sa",!0)};s(r);let o=t[1].response,n={lte:j(o,"lte",!1),nsa:j(o,"nsa",!1),sa:j(o,"sa",!1)};h(n),g(!1)}catch(t){console.error("Error fetching bands:",t),e({title:"Error",description:"Failed to fetch bands data.",variant:"destructive"}),g(!1)}};(0,r.useEffect)(()=>{E()},[]),(0,r.useEffect)(()=>{if(x){let e={...m},t=!1;if(y.lte&&x.lte_bands){let s=x.lte_bands.split(",").map(Number).filter(e=>!isNaN(e));e.lte=s,t=!0}if(y.nsa&&x.nsa_nr5g_bands){let s=x.nsa_nr5g_bands.split(",").map(Number).filter(e=>!isNaN(e));e.nsa=s,t=!0}if(y.sa&&x.sa_nr5g_bands){let s=x.sa_nr5g_bands.split(",").map(Number).filter(e=>!isNaN(e));e.sa=s,t=!0}t&&h(e)}},[x,y]);let T=(e,t)=>{y[e]||h(s=>({...s,[e]:s[e].includes(t)?s[e].filter(e=>e!==t):[...s[e],t].sort((e,t)=>e-t)}))},A=async s=>{if(y[s]){e({title:"Profile Controlled",description:"".concat(s.toUpperCase(),' bands are currently managed by profile "').concat(null==x?void 0:x.name,'"'),variant:"destructive"});return}try{var a,r,o,n,i,l,c,d;w(!0);let f=m[s].join(":");if("nsa"===s){let e=m.sa.join(":"),s=await (0,u.a)('AT+QNWPREFCFG="'.concat(p.nsa,'",').concat(f),!0);if((null===(a=s.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(r=s.response)||void 0===r?void 0:r.raw_output)||"Failed to lock NSA bands");if(e){let t=await (0,u.a)('AT+QNWPREFCFG="'.concat(p.sa,'",').concat(e),!0);if((null===(o=t.response)||void 0===o?void 0:o.status)!=="success")throw Error((null===(n=t.response)||void 0===n?void 0:n.raw_output)||"Failed to restore SA bands")}else{let e=t.sa.join(":"),s=await (0,u.a)('AT+QNWPREFCFG="'.concat(p.sa,'",').concat(e),!0);if((null===(i=s.response)||void 0===i?void 0:i.status)!=="success")throw Error((null===(l=s.response)||void 0===l?void 0:l.raw_output)||"Failed to set default SA bands")}h(s=>({...s,nsa:m.nsa,sa:e?m.sa:t.sa}))}else{let e=await (0,u.a)('AT+QNWPREFCFG="'.concat(p[s],'",').concat(f),!0);if((null===(c=e.response)||void 0===c?void 0:c.status)!=="success")throw Error((null===(d=e.response)||void 0===d?void 0:d.raw_output)||"Failed to lock ".concat(s.toUpperCase()," bands"));h(e=>({...e,[s]:m[s]}))}e({title:"Band Locking",description:"Bands locked successfully."}),setTimeout(E,1e3),w(!1)}catch(a){let t=a instanceof Error?a.message:"Unknown error";console.error("Error locking ".concat(s," bands:"),a),e({title:"Error",description:"Failed to lock ".concat(s.toUpperCase()," bands: ").concat(t),variant:"destructive"}),w(!1)}},S=e=>{y[e]||h(t=>({...t,[e]:[]}))},k=async s=>{if(y[s]){e({title:"Profile Controlled",description:"".concat(s.toUpperCase(),' bands are currently managed by profile "').concat(null==x?void 0:x.name,'"'),variant:"destructive"});return}try{var a,r,o,n,i,l;let c=t[s].join(":");if("nsa"===s){let e=await (0,u.a)('AT+QNWPREFCFG="'.concat(p.nsa,'",').concat(c),!0);if((null===(a=e.response)||void 0===a?void 0:a.status)!=="success")throw Error((null===(r=e.response)||void 0===r?void 0:r.raw_output)||"Failed to reset NSA bands");let t=m.sa.join(":");if(t){let e=await (0,u.a)('AT+QNWPREFCFG="'.concat(p.sa,'",').concat(t),!0);if((null===(o=e.response)||void 0===o?void 0:o.status)!=="success")throw Error((null===(n=e.response)||void 0===n?void 0:n.raw_output)||"Failed to preserve SA bands")}}else{let e=await (0,u.a)('AT+QNWPREFCFG="'.concat(p[s],'",').concat(c),!0);if((null===(i=e.response)||void 0===i?void 0:i.status)!=="success")throw Error((null===(l=e.response)||void 0===l?void 0:l.raw_output)||"Failed to reset ".concat(s.toUpperCase()," bands"))}e({title:"Reset Successful",description:"".concat(s.toUpperCase()," bands reset to default.")}),await E()}catch(a){let t=a instanceof Error?a.message:"Unknown error";console.error("Error resetting ".concat(s," bands:"),a),e({title:"Error",description:"Failed to reset ".concat(s.toUpperCase()," bands: ").concat(t),variant:"destructive"})}},C=e=>{let{title:s,description:r,bandType:l,prefix:u,isProfileControlled:f,profileName:p}=e;return(0,a.jsxs)(o.Zp,{children:[(0,a.jsx)(o.aR,{children:(0,a.jsxs)("div",{className:"flex justify-between items-start",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(o.ZB,{children:s}),(0,a.jsx)(o.BT,{children:r})]}),f&&(0,a.jsxs)("div",{className:"flex items-center gap-1 text-xs font-medium px-2 py-1 rounded-md bg-slate-100 dark:bg-slate-800",children:[(0,a.jsx)(c.A,{className:"h-3 w-3",color:"orange"}),(0,a.jsxs)("span",{children:["Profile Controlled by ",p]})]})]})}),(0,a.jsx)(o.Wu,{className:"grid lg:grid-cols-8 md:grid-cols-6 sm:grid-cols-4 grid-cols-3 grid-flow-row gap-4",children:v?(0,a.jsx)("div",{className:"col-span-8",children:"Fetching bands..."}):t[l].map(e=>(0,a.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,a.jsx)(n.S,{id:"".concat(l,"-").concat(e),checked:m[l].includes(e),onCheckedChange:()=>T(l,e),disabled:f,className:f?"cursor-not-allowed opacity-60":""}),(0,a.jsxs)("label",{htmlFor:"".concat(l,"-").concat(e),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 ".concat(f?"cursor-not-allowed opacity-60":""),children:[u,e]})]},e))}),(0,a.jsxs)(o.wL,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-3",children:[(0,a.jsxs)(i.$,{onClick:()=>A(l),disabled:f||v||b,children:[(0,a.jsx)(c.A,{className:"h-4 w-4"}),"Lock Selected Bands"]}),(0,a.jsx)(i.$,{variant:"secondary",onClick:()=>S(l),disabled:f||v||b,children:"Uncheck All"}),(0,a.jsxs)(i.$,{variant:"secondary",onClick:()=>k(l),disabled:f||v||b,children:[(0,a.jsx)(d.A,{className:"h-4 w-4"}),"Reset to Default"]})]})]})};return(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsx)(C,{title:"4G LTE Band Locking",description:"Lock the device to specific LTE bands.",bandType:"lte",prefix:"B",isProfileControlled:y.lte,profileName:(null==x?void 0:x.name)||""}),(0,a.jsx)(C,{title:"NR5G-NSA Band Locking",description:"Lock the device to specific NR5G-NSA bands.",bandType:"nsa",prefix:"N",isProfileControlled:y.nsa,profileName:(null==x?void 0:x.name)||""}),(0,a.jsx)(C,{title:"NR5G-SA Band Locking",description:"Lock the device to specific NR5G-SA bands.",bandType:"sa",prefix:"N",isProfileControlled:y.sa,profileName:(null==x?void 0:x.name)||""})]})}},42541:(e,t,s)=>{"use strict";s.d(t,{$:()=>c,r:()=>l});var a=s(20475),r=s(20107),o=s(61837),n=s(29395),i=s(22250);let l=(0,n.F)("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=r.forwardRef((e,t)=>{let{className:s,variant:r,size:n,asChild:c=!1,...d}=e,u=c?o.DX:"button";return(0,a.jsx)(u,{className:(0,i.cn)(l({variant:r,size:n,className:s})),ref:t,...d})});c.displayName="Button"},72167:(e,t,s)=>{"use strict";s.d(t,{BT:()=>c,Wu:()=>d,ZB:()=>l,Zp:()=>n,aR:()=>i,wL:()=>u});var a=s(20475),r=s(20107),o=s(22250);let n=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",s),...r})});n.displayName="Card";let i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",s),...r})});i.displayName="CardHeader";let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("h3",{ref:t,className:(0,o.cn)("font-semibold leading-none tracking-tight",s),...r})});l.displayName="CardTitle";let c=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("p",{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",s),...r})});c.displayName="CardDescription";let d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("p-6 pt-0",s),...r})});d.displayName="CardContent";let u=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)("flex items-center p-6 pt-0",s),...r})});u.displayName="CardFooter"},574:(e,t,s)=>{"use strict";s.d(t,{S:()=>l});var a=s(20475),r=s(20107),o=s(32713),n=s(7197),i=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(o.bL,{ref:t,className:(0,i.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",s),...r,children:(0,a.jsx)(o.C1,{className:(0,i.cn)("flex items-center justify-center text-current"),children:(0,a.jsx)(n.Srz,{className:"h-4 w-4"})})})});l.displayName=o.bL.displayName},32857:(e,t,s)=>{"use strict";s.d(t,{dj:()=>f,oR:()=>u});var a=s(20107);let r=0,o=new Map,n=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),d({type:"REMOVE_TOAST",toastId:e})},1e6);o.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:s}=t;return s?n(s):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...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 d(e){c=i(c,e),l.forEach(e=>{e(c)})}function u(e){let{...t}=e,s=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>d({type:"DISMISS_TOAST",toastId:s});return d({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||a()}}}),{id:s,dismiss:a,update:e=>d({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function f(){let[e,t]=a.useState(c);return a.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>d({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,s)=>{"use strict";s.d(t,{cn:()=>o});var a=s(64901),r=s(868);function o(){for(var e=arguments.length,t=Array(e),s=0;s{"use strict";s.d(t,{a:()=>a});let a=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var a;let r=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),o=encodeURIComponent(r),n="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(o);t&&(n+="&wait=1&timeout=".concat(s));let i=await fetch(n,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*s+5e3)});if(!i.ok)throw Error("AT command failed with status: ".concat(i.status));let l=await i.json();if(l.error)throw Error("AT queue error: ".concat(l.error));if(t&&(null===(a=l.response)||void 0===a?void 0:a.status)==="timeout")throw Error("AT command timed out after ".concat(s," seconds"));return l}catch(e){throw console.error("AT Command error:",e),e}}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,2494,191,6035,7358],()=>t(31486)),_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/basic-settings/page-579666fe70d67ec0.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/basic-settings/page-579666fe70d67ec0.js new file mode 100644 index 0000000..3ddf6fc --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/basic-settings/page-579666fe70d67ec0.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2545],{33945:(e,t,r)=>{Promise.resolve().then(r.bind(r,15469))},15469:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>T});var n=r(20475),s=r(20107),l=r(72167),a=r(35601),i=r(85014),o=r(42541),d=r(64219),c=r(49153),u=r(36760),p=r(32857),f=r(49573),m=r(29475);let h=()=>{let[e,t]=(0,s.useState)(null),[r,n]=(0,s.useState)(!0),l=(0,s.useCallback)(async()=>{try{var e,r;n(!0),t(null);let s=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=2"),l=await s.json(),a={APNProfiles:P(l[0].response,l[8].response,l[1].response),apnPDPType:x(l[0].response),preferredNetworkType:g(l[2].response),nr5gMode:N(l[3].response),simSlot:v(l[4].response),cfunState:l[5].response.match(/\d+/)[0].trim(),autoSelState:l[6].response.match(/\d+/)[0].trim(),mbnProfilesList:l[7].response.split("\n").filter(e=>e.includes('+QMBNCFG: "List"')).map(e=>{let t=e.match(/\+QMBNCFG: "List",\d+,\d+,\d+,"([^"]+)"/);return t?t[1]:null}).filter(Boolean),selectedMbnProfile:l[7].response.split("\n").filter(e=>e.includes('QMBNCFG: "List"')).findIndex(e=>1==e.split(",")[3]).toString(),dataProfileIndex:(()=>{try{var e;if(!(null===(e=l[8])||void 0===e?void 0:e.response))return"-";let t=l[8].response.split("\n").filter(e=>e.includes('+QMAP: "WWAN"'));if(!t.length)return"-";let r=t[0].match(/\+QMAP: "WWAN",\d+,(\d+),/);return r?r[1]:"-"}catch(e){return console.error("Error extracting data profile index:",e),"-"}})(),lteAMBR:y(null===(e=l[9])||void 0===e?void 0:e.response),nr5gAMBR:b(null===(r=l[10])||void 0===r?void 0:r.response)};t(a)}catch(e){console.error("Error fetching cell settings data:",e)}n(!1)},[]);return(0,s.useEffect)(()=>{l()},[l]),{data:e,isLoading:r,fetchCellSettingsData:l}},x=e=>{var t;let r=null===(t=e.split("\n").find(e=>e.includes("+CGDCONT: 1")))||void 0===t?void 0:t.split(",")[1].replace(/"/g,"");return void 0===r||""===r?"Error fetching PDP Type":r},g=e=>{var t;let r=null===(t=e.split("\n").find(e=>e.includes('+QNWPREFCFG: "mode_pref"')))||void 0===t?void 0:t.split(",")[1].replace(/"/g,"");return void 0===r||""===r?"Error fetching network type":r},N=e=>{var t;let r=null===(t=e.split("\n").find(e=>e.includes('+QNWPREFCFG: "nr5g_disable_mode"')))||void 0===t?void 0:t.split(",")[1].replace(/"/g,"");return void 0===r||""===r?"Error fetching NR5G mode":r},v=e=>{var t;let r=null===(t=e.split("\n").find(e=>e.includes("+QUIMSLOT:")))||void 0===t?void 0:t.split(":")[1].trim();return void 0===r||""===r?"Error fetching SIM slot":r},P=(e,t,r)=>{try{var n;let s=t.split("\n").filter(e=>e.includes('+QMAP: "WWAN"')),l=null===(n=s[0])||void 0===n?void 0:n.match(/\+QMAP: "WWAN",\d+,(\d+),/),a=l?l[1]:null,i=e.split("\n").filter(e=>e.includes("+CGDCONT:")).map(e=>{let t=e.split(",");if(t.length<3)return null;let n=t[0].replace("+CGDCONT:","").trim(),s=t[1].replace(/"/g,""),l=t[2].replace(/"/g,""),i=n===a;if(i&&(!l||""===l)){let e=r.split("\n").find(e=>{let t=e.match(/\+CGCONTRDP: (\d+),/);return t&&t[1]===n});if(e){let t=e.split(",");t.length>=3&&(l=t[2].replace(/"/g,""))}}return{cid:n,pdpType:s,apn:l,isActive:i}}).filter(e=>null!==e);return i.sort((e,t)=>e.isActive?-1:t.isActive?1:parseInt(e.cid)-parseInt(t.cid)),i.map(e=>e.apn)}catch(e){return console.error("Error processing APN profiles:",e),["Error fetching APN profiles"]}},y=e=>{try{if(!e||!e.includes('+QNWCFG: "lte_ambr"'))return[];let t=e.split("\n").filter(e=>e.includes('+QNWCFG: "lte_ambr"'));if(!t.length)return[];let r=[];return t.forEach(e=>{let t=e.match(/\+QNWCFG: "lte_ambr","([^"]+)",(\d+),(\d+)/);if(t&&t.length>=4){let e=t[1],n=t[2],s=t[3];r.push(e),r.push(n),r.push(s)}}),r}catch(e){return console.error("Error processing LTE AMBR values:",e),[]}},b=e=>{try{if(!e||!e.includes('+QNWCFG: "nr5g_ambr"'))return[];let t=e.split("\n").filter(e=>e.includes('+QNWCFG: "nr5g_ambr"'));if(!t.length)return[];let r=[];return t.forEach(e=>{let t=e.match(/\+QNWCFG: "nr5g_ambr","([^"]+)",(\d+),(\d+)/);if(t&&t.length>=4){let e=t[1],n=t[2],s=t[3];r.push(e),r.push(n),r.push(s)}}),r}catch(e){return console.error("Error processing NR5G AMBR values:",e),[]}};var j=r(88926),w=r(76554);let A=e=>{let t=parseInt(e);return isNaN(t)?"Unknown":t>=1e6?"".concat((t/1e6).toFixed(2)," Gbps"):t>=1e3?"".concat(Math.round(t/1e3)," Mbps"):"".concat(t," Kbps")},S=e=>{let{lteAMBR:t,nr5gAMBR:r}=e,s=[];for(let e=0;e0&&(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"text-sm font-bold mb-2",children:"LTE AMBR"}),(0,n.jsx)("div",{className:"flex flex-col gap-2",children:s.map((e,t)=>(0,n.jsxs)("div",{className:"flex items-center justify-between border-b pb-2",children:[(0,n.jsx)("span",{className:"text-sm font-medium",children:e.apn}),(0,n.jsxs)("span",{className:"text-sm text-gray-500 font-semibold",children:[e.download," DL / ",e.upload," UL"]})]},"lte-".concat(t)))})]}),a.length>0&&(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"text-sm font-bold mb-2",children:"NR5G AMBR"}),(0,n.jsx)("div",{className:"flex flex-col gap-2",children:a.map((e,t)=>(0,n.jsxs)("div",{className:"flex items-center justify-between border-b pb-2",children:[(0,n.jsx)("span",{className:"text-sm font-medium",children:e.apn}),(0,n.jsxs)("span",{className:"text-sm text-gray-500 font-semibold",children:[e.download," DL / ",e.upload," UL"]})]},"nr5g-".concat(t)))})]}),0===s.length&&0===a.length&&(0,n.jsx)("div",{className:"text-center text-gray-500 py-4",children:"No AMBR information available"})]})}),(0,n.jsx)(l.wL,{children:(0,n.jsx)(l.BT,{children:"AMBR (Aggregate Maximum Bit Rate) is a network-enforced limit that caps the total bandwidth for non-priority data traffic (e.g., internet browsing) on LTE/5G connections. While devices can request specific AMBR values, operators may ignore these and enforce their own speed limits based on subscription plans, network policies, or congestion conditions."})})]})},T=()=>{var e;let{toast:t}=(0,p.dj)(),{data:r,isLoading:x,fetchCellSettingsData:g}=h(),[N,v]=(0,s.useState)(!1),[P,y]=(0,s.useState)(!1),[b,A]=(0,s.useState)(null),[T,M]=(0,s.useState)(null),[R,C]=(0,s.useState)({currentAPN:!1,apnPDPType:!1,preferredNetworkType:!1,nr5gMode:!1}),[E,I]=(0,s.useState)({currentAPN:"",apnPDPType:"",preferredNetworkType:"",nr5gMode:"",simSlot:"",cfunState:"",autoSelState:"",selectedMbnProfile:"0",mbnProfilesList:[],apnProfiles:[],selectedAPNProfileIndex:0,dataProfileIndex:"1",lteAMBR:[],nr5gAMBR:[]});(0,s.useEffect)(()=>{r&&!P&&(I({currentAPN:Array.isArray(r.APNProfiles)&&r.APNProfiles.length>0?r.APNProfiles[0]:"",apnPDPType:String(r.apnPDPType||""),preferredNetworkType:String(r.preferredNetworkType||""),nr5gMode:String(r.nr5gMode||""),simSlot:String(r.simSlot||""),cfunState:String(r.cfunState||""),autoSelState:String(r.autoSelState||""),selectedMbnProfile:r.selectedMbnProfile||"0",mbnProfilesList:r.mbnProfilesList||[],apnProfiles:Array.isArray(r.APNProfiles)?r.APNProfiles:[],selectedAPNProfileIndex:0,dataProfileIndex:r.dataProfileIndex||"1",lteAMBR:r.lteAMBR||[],nr5gAMBR:r.nr5gAMBR||[]}),y(!0))},[r,P]),(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/profiles/check_status.sh");if(!e.ok)throw Error("Failed to fetch profile status: ".concat(e.statusText));let t=await e.json();if(M(t),"success"===t.status&&t.profile&&"unknown"!==t.profile&&"none"!==t.profile){let e=await fetch("/cgi-bin/quecmanager/profiles/list_profiles.sh");if(e.ok){let r=await e.json();if("success"===r.status&&Array.isArray(r.profiles)){let e=r.profiles.find(e=>e.name===t.profile);if(e){A(e);let t={currentAPN:!!e.apn,apnPDPType:!!e.pdp_type,preferredNetworkType:!!e.network_type,nr5gMode:!!(e.sa_nr5g_bands||e.nsa_nr5g_bands)};C(t)}}}}else A(null),C({currentAPN:!1,apnPDPType:!1,preferredNetworkType:!1,nr5gMode:!1})}catch(e){console.error("Error fetching profile data:",e)}})()},[]),(0,s.useEffect)(()=>{r||y(!1)},[r]);let k=async e=>{let r=[];if((e.currentAPN||e.apnPDPType)&&!R.currentAPN&&!R.apnPDPType){let t=e.apnPDPType||E.apnPDPType,n=e.currentAPN||E.currentAPN,s=parseInt(E.dataProfileIndex,10);console.log("Setting APN on profile ".concat(s,' to "').concat(n,'" with type "').concat(t,'"')),r.push("AT+CGDCONT=".concat(s,',"').concat(t,'","').concat(n,'"'))}if(void 0!==e.selectedAPNProfileIndex&&e.selectedAPNProfileIndex!==E.selectedAPNProfileIndex&&E.apnProfiles.length>e.selectedAPNProfileIndex&&!R.currentAPN){let t=E.apnPDPType,n=E.apnProfiles[e.selectedAPNProfileIndex],s=parseInt(E.dataProfileIndex,10);r.push("AT+CGDCONT=".concat(s,',"').concat(t,'","').concat(n,'"'))}if(e.preferredNetworkType&&!R.preferredNetworkType){let t='+QNWPREFCFG="mode_pref",'.concat(e.preferredNetworkType);r.push(0===r.length?"AT".concat(t):t)}if(e.nr5gMode&&!R.nr5gMode){let t='+QNWPREFCFG="nr5g_disable_mode",'.concat(e.nr5gMode);r.push(0===r.length?"AT".concat(t):t)}if(e.simSlot){let t="+QUIMSLOT=".concat(e.simSlot);r.push(0===r.length?"AT".concat(t):t)}if(e.cfunState){let t="+CFUN=".concat(e.cfunState);r.push(0===r.length?"AT".concat(t):t)}if(e.autoSelState){let t='+QMBNCFG="AutoSel",'.concat(e.autoSelState);r.push(0===r.length?"AT".concat(t):t)}if(e.selectedMbnProfile&&("0"===e.autoSelState||"0"===E.autoSelState)){var n;let s=parseInt(e.selectedMbnProfile),l=null===(n=E.mbnProfilesList)||void 0===n?void 0:n[s];if(l){let e='+QMBNCFG="deactivate";+QMBNCFG="select","'.concat(l,'"');r.push(0===r.length?"AT".concat(e):e),t({title:"MBN Profile Changed",description:"A full device reboot is required for this change to take effect.",duration:5e3})}}return r.join(";")},D=(e,t)=>{"string"!=typeof e||R[e]||I(r=>({...r,[e]:t}))},_=async e=>{try{var t,r,n;console.log("Executing AT command:",e);let s=await (0,j.a)(e);if("error"===s.status)throw Error(s.status||"Command execution failed");if((null===(t=s.response)||void 0===t?void 0:t.status)==="error"||(null===(r=s.response)||void 0===r?void 0:r.status)==="timeout")throw Error(s.response.raw_output||"Command execution ".concat(s.response.status));return(null===(n=s.response)||void 0===n?void 0:n.status)==="success"}catch(e){throw console.error("AT command execution error:",e),e}},O=async e=>{e.preventDefault(),v(!0);try{let e={};if(Object.keys(E).forEach(t=>{if(!R[t]&&"mbnProfilesList"!==t&&"apnProfiles"!==t){if("selectedAPNProfileIndex"===t&&0!==E.selectedAPNProfileIndex){e.selectedAPNProfileIndex=E.selectedAPNProfileIndex;return}if("selectedMbnProfile"===t&&E.selectedMbnProfile!==(null==r?void 0:r.selectedMbnProfile)&&"0"===E.autoSelState){e.selectedMbnProfile=E.selectedMbnProfile;return}if("string"==typeof E[t]){let n=E[t];if("currentAPN"===t&&(null==r?void 0:r.APNProfiles)){let t=Array.isArray(r.APNProfiles)&&r.APNProfiles.length>0?r.APNProfiles[0]:"";n!==t&&(e.currentAPN=n)}else{let s=null==r?void 0:r[t];n!==s&&(e[t]=n)}}}}),0===Object.keys(e).length){t({title:"No changes detected",description:"Try changing some settings before saving"}),v(!1);return}console.log("Detected changes:",e);let n=await k(e);n&&(await _(n),(e.currentAPN||e.apnPDPType)&&(await new Promise(e=>setTimeout(e,1e3)),await _("AT+COPS=2"),await new Promise(e=>setTimeout(e,1e3)),await _("AT+COPS=0"))),await new Promise(e=>setTimeout(e,4e3)),await g(),y(!1),t({title:"Settings saved!",description:"The settings have been saved successfully",duration:3e3})}catch(e){console.error("Error saving settings:",e),t({variant:"destructive",title:"Failed to save settings!",description:e instanceof Error?e.message:"An error occurred while saving the settings"})}finally{v(!1)}};return(0,n.jsxs)("div",{className:"grid grid-cols-1 grid-flow-row gap-8",children:[(0,n.jsx)(l.Zp,{children:(0,n.jsxs)("form",{onSubmit:O,children:[(0,n.jsxs)(l.aR,{children:[(0,n.jsx)(l.ZB,{children:"Network Settings"}),(0,n.jsx)(l.BT,{children:"Change the network settings of the device."})]}),(0,n.jsxs)(l.Wu,{children:[b&&Object.values(R).some(e=>e)&&(0,n.jsxs)(f.Fc,{className:"mb-6",children:[(0,n.jsx)(m.A,{className:"h-4 w-4",color:"orange"}),(0,n.jsx)(f.XL,{children:"Profile Controlled Settings"}),(0,n.jsxs)(f.TN,{children:['Some settings are currently being managed by profile "',b.name,'".']})]}),(0,n.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 grid-flow-row gap-6",children:[(0,n.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,n.jsxs)(c.J,{htmlFor:"APN",children:["Current APN",R.currentAPN&&(0,n.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:"(Profile Controlled)"})]}),x?(0,n.jsx)(u.E,{className:"h-8"}):(0,n.jsx)(d.p,{type:"text",id:"APN",placeholder:"Current APN",value:R.currentAPN&&b?b.apn:E.currentAPN,onChange:e=>D("currentAPN",e.target.value),disabled:R.currentAPN||x,className:R.currentAPN?"bg-muted cursor-not-allowed":""})]}),(0,n.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,n.jsxs)(c.J,{htmlFor:"APNProfile",children:["APN Profiles",R.currentAPN&&(0,n.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:"(Profile Controlled)"})]}),x?(0,n.jsx)(u.E,{className:"h-8"}):(0,n.jsxs)(a.l6,{disabled:R.currentAPN||x||E.apnProfiles.length<=1,value:String(E.selectedAPNProfileIndex),onValueChange:e=>{let t=parseInt(e,10);t>=0&&t({...e,selectedAPNProfileIndex:t,currentAPN:e.apnProfiles[t]||""}))},children:[(0,n.jsx)(a.bq,{className:R.currentAPN||E.apnProfiles.length<=1?"bg-muted cursor-not-allowed":"",children:(0,n.jsx)(a.yv,{placeholder:"Select APN Profile"})}),(0,n.jsx)(a.gC,{children:(0,n.jsxs)(a.s3,{children:[(0,n.jsx)(a.TR,{children:"Available APNs"}),E.apnProfiles.map((e,t)=>(0,n.jsxs)(a.eb,{value:String(t),children:[e||"(blank APN)",0===t&&" (Active)"]},"apn-".concat(t)))]})})]})]}),(0,n.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,n.jsxs)(c.J,{htmlFor:"APN",children:["APN PDP Type",R.apnPDPType&&(0,n.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:"(Profile Controlled)"})]}),x?(0,n.jsx)(u.E,{className:"h-8"}):(0,n.jsxs)(a.l6,{value:R.apnPDPType&&b?b.pdp_type:E.apnPDPType,onValueChange:e=>D("apnPDPType",e),disabled:R.apnPDPType||x,children:[(0,n.jsx)(a.bq,{className:R.apnPDPType?"bg-muted cursor-not-allowed":"",children:(0,n.jsx)(a.yv,{children:(R.apnPDPType&&b?b.pdp_type:E.apnPDPType)?(e=>({IP:"IPv4 Only",IPV6:"IPv6 Only",IPV4V6:"IPv4 and IPv6",P2P:"P2P Protocol"})[e]||e)(R.apnPDPType&&b?b.pdp_type:E.apnPDPType):"Select PDP Type"})}),(0,n.jsx)(a.gC,{children:(0,n.jsxs)(a.s3,{children:[(0,n.jsx)(a.TR,{children:"PDP Type"}),(0,n.jsx)(a.eb,{value:"IP",children:"IPv4 Only"}),(0,n.jsx)(a.eb,{value:"IPV6",children:"IPv6 Only"}),(0,n.jsx)(a.eb,{value:"IPV4V6",children:"IPv4 and IPv6"}),(0,n.jsx)(a.eb,{value:"P2P",children:"P2P Protocol"})]})})]},"pdp-type-".concat(R.apnPDPType&&b?b.pdp_type:E.apnPDPType))]}),(0,n.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,n.jsx)(c.J,{htmlFor:"MBNAutoSel",children:"MBN Profile Auto Selection"}),x?(0,n.jsx)(u.E,{className:"h-8"}):(0,n.jsxs)(a.l6,{value:E.autoSelState,onValueChange:e=>D("autoSelState",e),disabled:x,children:[(0,n.jsx)(a.bq,{children:(0,n.jsx)(a.yv,{children:E.autoSelState?(e=>({0:"Disabled",1:"Enabled"})[e]||e)(E.autoSelState):"Select Auto Selection State"})}),(0,n.jsx)(a.gC,{children:(0,n.jsxs)(a.s3,{children:[(0,n.jsx)(a.TR,{children:"Auto Selection State"}),(0,n.jsx)(a.eb,{value:"1",children:"Enabled"}),(0,n.jsx)(a.eb,{value:"0",children:"Disabled"})]})})]},"auto-sel-".concat(E.autoSelState))]}),(0,n.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,n.jsx)(c.J,{htmlFor:"MBNProfile",children:"MBN Profile Selection"}),x?(0,n.jsx)(u.E,{className:"h-8"}):(0,n.jsx)(i.TooltipProvider,{children:(0,n.jsxs)(i.m_,{children:[(0,n.jsx)(i.k$,{children:(0,n.jsxs)(a.l6,{value:E.selectedMbnProfile||"0",onValueChange:e=>D("selectedMbnProfile",e),disabled:x||"1"===E.autoSelState,children:[(0,n.jsx)(a.bq,{className:"1"===E.autoSelState?"bg-muted cursor-not-allowed":"",children:(0,n.jsx)(a.yv,{placeholder:"Select MBN Profile"})}),(0,n.jsx)(a.gC,{children:(0,n.jsxs)(a.s3,{children:[(0,n.jsx)(a.TR,{children:"Available MBN Profiles"}),null===(e=E.mbnProfilesList)||void 0===e?void 0:e.map((e,t)=>(0,n.jsx)(a.eb,{value:String(t),children:e},"profile-".concat(t)))]})})]})}),(0,n.jsx)(i.ZI,{children:(0,n.jsx)("p",{children:"1"===E.autoSelState&&"Disable Auto Selection to manually select a profile"})})]})})]}),(0,n.jsx)(w.Separator,{className:"col-span-2 my-2"}),(0,n.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,n.jsxs)(c.J,{children:["Preferred Network Type",R.preferredNetworkType&&(0,n.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:"(Profile Controlled)"})]}),x?(0,n.jsx)(u.E,{className:"h-8"}):(0,n.jsxs)(a.l6,{value:R.preferredNetworkType&&b?b.network_type:E.preferredNetworkType,onValueChange:e=>D("preferredNetworkType",e),disabled:R.preferredNetworkType||x,children:[(0,n.jsx)(a.bq,{className:R.preferredNetworkType?"bg-muted cursor-not-allowed":"",children:(0,n.jsx)(a.yv,{children:(R.preferredNetworkType&&b?b.network_type:E.preferredNetworkType)?(e=>({AUTO:"Automatic",LTE:"LTE Only","LTE:NR5G":"NR5G-NSA",NR5G:"NR5G-SA"})[e]||e)(R.preferredNetworkType&&b?b.network_type:E.preferredNetworkType):"Select Network Type"})}),(0,n.jsx)(a.gC,{children:(0,n.jsxs)(a.s3,{children:[(0,n.jsx)(a.TR,{children:"Preferred Network Type"}),(0,n.jsx)(a.eb,{value:"AUTO",children:"Automatic"}),(0,n.jsx)(a.eb,{value:"LTE",children:"LTE Only"}),(0,n.jsx)(a.eb,{value:"LTE:NR5G",children:"NR5G-NSA"}),(0,n.jsx)(a.eb,{value:"NR5G",children:"NR5G-SA"})]})})]},"network-type-".concat(R.preferredNetworkType&&b?b.network_type:E.preferredNetworkType))]}),(0,n.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,n.jsxs)(c.J,{children:["NR5G Mode Control",R.nr5gMode&&(0,n.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:"(Profile Controlled)"})]}),x?(0,n.jsx)(u.E,{className:"h-8"}):(0,n.jsxs)(a.l6,{value:E.nr5gMode,onValueChange:e=>D("nr5gMode",e),disabled:R.nr5gMode||x,children:[(0,n.jsx)(a.bq,{className:R.nr5gMode?"bg-muted cursor-not-allowed":"",children:(0,n.jsx)(a.yv,{children:E.nr5gMode?(e=>({0:"NR5G-SA and NSA Enabled",1:"NR5G-NSA Only",2:"NR5G-SA Only"})[e]||e)(E.nr5gMode):"Select NR5G Mode"})}),(0,n.jsx)(a.gC,{children:(0,n.jsxs)(a.s3,{children:[(0,n.jsx)(a.TR,{children:"NR5G Mode"}),(0,n.jsx)(a.eb,{value:"0",children:"NR5G-SA and NSA Enabled"}),(0,n.jsx)(a.eb,{value:"1",children:"NR5G-NSA Only"}),(0,n.jsx)(a.eb,{value:"2",children:"NR5G-SA Only"})]})})]},"nr5g-mode-".concat(E.nr5gMode))]}),(0,n.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,n.jsx)(c.J,{children:"U-SIM Slot Configuration"}),x?(0,n.jsx)(u.E,{className:"h-8"}):(0,n.jsxs)(a.l6,{value:E.simSlot,onValueChange:e=>D("simSlot",e),children:[(0,n.jsx)(a.bq,{children:(0,n.jsx)(a.yv,{children:E.simSlot?"U-SIM Slot ".concat(E.simSlot):"Select U-SIM Slot"})}),(0,n.jsx)(a.gC,{children:(0,n.jsxs)(a.s3,{children:[(0,n.jsx)(a.TR,{children:"U-SIM Slot"}),(0,n.jsx)(a.eb,{value:"1",children:"U-SIM Slot 1"}),(0,n.jsx)(a.eb,{value:"2",children:"U-SIM Slot 2"})]})})]},"sim-slot-".concat(E.simSlot))]}),(0,n.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,n.jsx)(c.J,{children:"Cellular Functionality"}),x?(0,n.jsx)(u.E,{className:"h-8"}):(0,n.jsxs)(a.l6,{value:E.cfunState,onValueChange:e=>D("cfunState",e),children:[(0,n.jsx)(a.bq,{children:(0,n.jsx)(a.yv,{children:E.cfunState?(e=>({0:"Minimum Functionality",1:"Full Functionality",4:"Disabled RX/TX"})[e]||e)(E.cfunState):"Select CFUN State"})}),(0,n.jsx)(a.gC,{children:(0,n.jsxs)(a.s3,{children:[(0,n.jsx)(a.TR,{children:"U-SIM Slot"}),(0,n.jsx)(a.eb,{value:"0",children:"Minimum Functionality"}),(0,n.jsx)(a.eb,{value:"1",children:"Full Functionality"}),(0,n.jsx)(a.eb,{value:"4",children:"Disabled RX/TX"})]})})]},"sim-slot-".concat(E.cfunState))]})]})]}),(0,n.jsx)(l.wL,{className:"grid border-t py-4",children:(0,n.jsx)(o.$,{type:"submit",disabled:N,children:N?"Saving...":"Save"})})]})}),(0,n.jsx)(S,{lteAMBR:E.lteAMBR,nr5gAMBR:E.nr5gAMBR})]})}},49573:(e,t,r)=>{"use strict";r.d(t,{Fc:()=>o,TN:()=>c,XL:()=>d});var n=r(20475),s=r(20107),l=r(29395),a=r(22250);let i=(0,l.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),o=s.forwardRef((e,t)=>{let{className:r,variant:s,...l}=e;return(0,n.jsx)("div",{ref:t,role:"alert",className:(0,a.cn)(i({variant:s}),r),...l})});o.displayName="Alert";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("h5",{ref:t,className:(0,a.cn)("mb-1 font-medium leading-none tracking-tight",r),...s})});d.displayName="AlertTitle";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("text-sm [&_p]:leading-relaxed",r),...s})});c.displayName="AlertDescription"},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>o});var n=r(20475),s=r(20107),l=r(61837),a=r(29395),i=r(22250);let o=(0,a.F)("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:a,asChild:d=!1,...c}=e,u=d?l.DX:"button";return(0,n.jsx)(u,{className:(0,i.cn)(o({variant:s,size:a,className:r})),ref:t,...c})});d.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>a,aR:()=>i,wL:()=>u});var n=r(20475),s=r(20107),l=r(22250);let a=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,l.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});a.displayName="Card";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",r),...s})});i.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("h3",{ref:t,className:(0,l.cn)("font-semibold leading-none tracking-tight",r),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("p",{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",r),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,l.cn)("p-6 pt-0",r),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,l.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>a});var n=r(20475),s=r(20107),l=r(22250);let a=s.forwardRef((e,t)=>{let{className:r,type:s,...a}=e;return(0,n.jsx)("input",{type:s,className:(0,l.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"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>d});var n=r(20475),s=r(20107),l=r(21840),a=r(29395),i=r(22250);let o=(0,a.F)("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,n.jsx)(l.b,{ref:t,className:(0,i.cn)(o(),r),...s})});d.displayName=l.b.displayName},35601:(e,t,r)=>{"use strict";r.d(t,{TR:()=>h,bq:()=>u,eb:()=>x,gC:()=>m,l6:()=>o,s3:()=>d,yv:()=>c});var n=r(20475),s=r(20107),l=r(7197),a=r(95257),i=r(22250);let o=a.bL,d=a.YJ,c=a.WT,u=s.forwardRef((e,t)=>{let{className:r,children:s,...o}=e;return(0,n.jsxs)(a.l9,{ref:t,className:(0,i.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),...o,children:[s,(0,n.jsx)(a.In,{asChild:!0,children:(0,n.jsx)(l.TBE,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=a.l9.displayName;let p=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.PP,{ref:t,className:(0,i.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,n.jsx)(l.Mtm,{})})});p.displayName=a.PP.displayName;let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.wn,{ref:t,className:(0,i.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,n.jsx)(l.D3D,{})})});f.displayName=a.wn.displayName;let m=s.forwardRef((e,t)=>{let{className:r,children:s,position:l="popper",...o}=e;return(0,n.jsx)(a.ZL,{children:(0,n.jsxs)(a.UC,{ref:t,className:(0,i.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"===l&&"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:l,...o,children:[(0,n.jsx)(p,{}),(0,n.jsx)(a.LM,{className:(0,i.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s}),(0,n.jsx)(f,{})]})})});m.displayName=a.UC.displayName;let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.JU,{ref:t,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",r),...s})});h.displayName=a.JU.displayName;let x=s.forwardRef((e,t)=>{let{className:r,children:s,...o}=e;return(0,n.jsxs)(a.q7,{ref:t,className:(0,i.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...o,children:[(0,n.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(a.VF,{children:(0,n.jsx)(l.Srz,{className:"h-4 w-4"})})}),(0,n.jsx)(a.p4,{children:s})]})});x.displayName=a.q7.displayName,s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.wv,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",r),...s})}).displayName=a.wv.displayName},76554:(e,t,r)=>{"use strict";r.d(t,{Separator:()=>i});var n=r(20475),s=r(20107),l=r(88853),a=r(22250);let i=s.forwardRef((e,t)=>{let{className:r,orientation:s="horizontal",decorative:i=!0,...o}=e;return(0,n.jsx)(l.b,{ref:t,decorative:i,orientation:s,className:(0,a.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",r),...o})});i.displayName=l.b.displayName},36760:(e,t,r)=>{"use strict";r.d(t,{E:()=>l});var n=r(20475),s=r(22250);function l(e){let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},85014:(e,t,r)=>{"use strict";r.d(t,{TooltipProvider:()=>i,ZI:()=>c,k$:()=>d,m_:()=>o});var n=r(20475),s=r(20107),l=r(43048),a=r(22250);let i=l.Kq,o=l.bL,d=l.l9,c=s.forwardRef((e,t)=>{let{className:r,sideOffset:s=4,...i}=e;return(0,n.jsx)(l.UC,{ref:t,sideOffset:s,className:(0,a.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),...i})});c.displayName=l.UC.displayName},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>p,oR:()=>u});var n=r(20107);let s=0,l=new Map,a=e=>{if(l.has(e))return;let t=setTimeout(()=>{l.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);l.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: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)}}},o=[],d={toasts:[]};function c(e){d=i(d,e),o.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function p(){let[e,t]=n.useState(d);return n.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>l});var n=r(64901),s=r(868);function l(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{A:()=>n});let n=(0,r(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},88926:(e,t,r)=>{"use strict";r.d(t,{a:()=>n});let n=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var n;let s=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),l=encodeURIComponent(s),a="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(l);t&&(a+="&wait=1&timeout=".concat(r));let i=await fetch(a,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*r+5e3)});if(!i.ok)throw Error("AT command failed with status: ".concat(i.status));let o=await i.json();if(o.error)throw Error("AT queue error: ".concat(o.error));if(t&&(null===(n=o.response)||void 0===n?void 0:n.status)==="timeout")throw Error("AT command timed out after ".concat(r," seconds"));return o}catch(e){throw console.error("AT Command error:",e),e}}},54245:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});var n=r(20107),s=r(64236),l=r(54122),a=e=>{let{present:t,children:r}=e,a=function(e){var t,r;let[s,a]=n.useState(),o=n.useRef({}),d=n.useRef(e),c=n.useRef("none"),[u,p]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=i(o.current);c.current="mounted"===u?e:"none"},[u]),(0,l.N)(()=>{let t=o.current,r=d.current;if(r!==e){let n=c.current,s=i(t);e?p("MOUNT"):"none"===s||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):r&&n!==s?p("ANIMATION_OUT"):p("UNMOUNT"),d.current=e}},[e,p]),(0,l.N)(()=>{if(s){var e;let t;let r=null!==(e=s.ownerDocument.defaultView)&&void 0!==e?e:window,n=e=>{let n=i(o.current).includes(e.animationName);if(e.target===s&&n&&(p("ANIMATION_END"),!d.current)){let e=s.style.animationFillMode;s.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=e)})}},l=e=>{e.target===s&&(c.current=i(o.current))};return s.addEventListener("animationstart",l),s.addEventListener("animationcancel",n),s.addEventListener("animationend",n),()=>{r.clearTimeout(t),s.removeEventListener("animationstart",l),s.removeEventListener("animationcancel",n),s.removeEventListener("animationend",n)}}p("ANIMATION_END")},[s,p]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:n.useCallback(e=>{e&&(o.current=getComputedStyle(e)),a(e)},[])}}(t),o="function"==typeof r?r({present:a.isPresent}):n.Children.only(r),d=(0,s.s)(a.ref,function(e){var t,r;let n=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,s=n&&"isReactWarning"in n&&n.isReactWarning;return s?e.ref:(s=(n=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(o));return"function"==typeof r||a.isPresent?n.cloneElement(o,{ref:d}):null};function i(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},88853:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var n=r(20107),s=r(34544),l=r(20475),a="horizontal",i=["horizontal","vertical"],o=n.forwardRef((e,t)=>{let{decorative:r,orientation:n=a,...o}=e,d=i.includes(n)?n:a;return(0,l.jsx)(s.sG.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...o,ref:t})});o.displayName="Separator";var d=o}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,8885,3746,9464,3494,3048,191,6035,7358],()=>t(33945)),_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/basic-settings/page-941a337aa16d51e3.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/basic-settings/page-941a337aa16d51e3.js deleted file mode 100644 index 58a96b7..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/basic-settings/page-941a337aa16d51e3.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2545],{33945:(e,t,r)=>{Promise.resolve().then(r.bind(r,15469))},15469:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>T});var s=r(20475),l=r(20107),n=r(72167),a=r(35601),o=r(85014),i=r(42541),d=r(64219),c=r(49153),u=r(36760),p=r(32857),f=r(49573),m=r(29475);let h=()=>{let[e,t]=(0,l.useState)(null),[r,s]=(0,l.useState)(!0),n=(0,l.useCallback)(async()=>{try{var e,r;s(!0),t(null);let l=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=2"),n=await l.json();console.log("Fetched cell settings data:",n);let a={APNProfiles:v(n[0].response,n[8].response,n[1].response),apnPDPType:g(n[0].response),preferredNetworkType:x(n[2].response),nr5gMode:N(n[3].response),simSlot:P(n[4].response),cfunState:n[5].response.match(/\d+/)[0].trim(),autoSelState:n[6].response.match(/\d+/)[0].trim(),mbnProfilesList:n[7].response.split("\n").filter(e=>e.includes('+QMBNCFG: "List"')).map(e=>{let t=e.match(/\+QMBNCFG: "List",\d+,\d+,\d+,"([^"]+)"/);return t?t[1]:null}).filter(Boolean),selectedMbnProfile:n[7].response.split("\n").filter(e=>e.includes('QMBNCFG: "List"')).findIndex(e=>1==e.split(",")[3]).toString(),dataProfileIndex:(()=>{try{var e;if(!(null===(e=n[8])||void 0===e?void 0:e.response))return"-";let t=n[8].response.split("\n").filter(e=>e.includes('+QMAP: "WWAN"'));if(!t.length)return"-";let r=t[0].match(/\+QMAP: "WWAN",\d+,(\d+),/);return r?r[1]:"-"}catch(e){return console.error("Error extracting data profile index:",e),"-"}})(),lteAMBR:y(null===(e=n[9])||void 0===e?void 0:e.response),nr5gAMBR:b(null===(r=n[10])||void 0===r?void 0:r.response)};console.log("Processed cell settings data:",a),t(a),console.log("Processed cell settings data:",a)}catch(e){console.error("Error fetching cell settings data:",e)}s(!1)},[]);return(0,l.useEffect)(()=>{n()},[n]),{data:e,isLoading:r,fetchCellSettingsData:n}},g=e=>{var t;let r=null===(t=e.split("\n").find(e=>e.includes("+CGDCONT: 1")))||void 0===t?void 0:t.split(",")[1].replace(/"/g,"");return void 0===r||""===r?"Error fetching PDP Type":r},x=e=>{var t;let r=null===(t=e.split("\n").find(e=>e.includes('+QNWPREFCFG: "mode_pref"')))||void 0===t?void 0:t.split(",")[1].replace(/"/g,"");return void 0===r||""===r?"Error fetching network type":r},N=e=>{var t;let r=null===(t=e.split("\n").find(e=>e.includes('+QNWPREFCFG: "nr5g_disable_mode"')))||void 0===t?void 0:t.split(",")[1].replace(/"/g,"");return void 0===r||""===r?"Error fetching NR5G mode":r},P=e=>{var t;let r=null===(t=e.split("\n").find(e=>e.includes("+QUIMSLOT:")))||void 0===t?void 0:t.split(":")[1].trim();return void 0===r||""===r?"Error fetching SIM slot":r},v=(e,t,r)=>{try{var s;let l=t.split("\n").filter(e=>e.includes('+QMAP: "WWAN"')),n=null===(s=l[0])||void 0===s?void 0:s.match(/\+QMAP: "WWAN",\d+,(\d+),/),a=n?n[1]:null;console.log("Active Profile ID:",a);let o=e.split("\n").filter(e=>e.includes("+CGDCONT:")).map(e=>{let t=e.split(",");if(t.length<3)return null;let s=t[0].replace("+CGDCONT:","").trim(),l=t[1].replace(/"/g,""),n=t[2].replace(/"/g,""),o=s===a;if(o&&(!n||""===n)){console.log("Empty APN for active profile, checking CGCONTRDP");let e=r.split("\n").find(e=>{let t=e.match(/\+CGCONTRDP: (\d+),/);return t&&t[1]===s});if(e){let t=e.split(",");t.length>=3&&(n=t[2].replace(/"/g,""),console.log("Found dynamic APN from CGCONTRDP:",n))}}return{cid:s,pdpType:l,apn:n,isActive:o}}).filter(e=>null!==e);return o.sort((e,t)=>e.isActive?-1:t.isActive?1:parseInt(e.cid)-parseInt(t.cid)),console.log("APN Profiles:",o),o.map(e=>e.apn)}catch(e){return console.error("Error processing APN profiles:",e),["Error fetching APN profiles"]}},y=e=>{try{if(!e)return console.log("No data provided for LTE AMBR parsing"),[];if(!e.includes('+QNWCFG: "lte_ambr"'))return console.log("No LTE AMBR values in response"),[];let t=e.split("\n").filter(e=>e.includes('+QNWCFG: "lte_ambr"'));if(!t.length)return console.log("No LTE AMBR values found after filtering"),[];let r=[];return t.forEach(e=>{let t=e.match(/\+QNWCFG: "lte_ambr","([^"]+)",(\d+),(\d+)/);if(t&&t.length>=4){let e=t[1],s=t[2],l=t[3];r.push(e),r.push(s),r.push(l)}}),r}catch(e){return console.error("Error processing LTE AMBR values:",e),[]}},b=e=>{try{if(!e)return console.log("No data provided for NR5G AMBR parsing"),[];if(!e.includes('+QNWCFG: "nr5g_ambr"'))return console.log("No NR5G AMBR values in response"),[];let t=e.split("\n").filter(e=>e.includes('+QNWCFG: "nr5g_ambr"'));if(!t.length)return console.log("No NR5G AMBR values found after filtering"),[];let r=[];return t.forEach(e=>{let t=e.match(/\+QNWCFG: "nr5g_ambr","([^"]+)",(\d+),(\d+)/);if(t&&t.length>=4){let e=t[1],s=t[2],l=t[3];r.push(e),r.push(s),r.push(l)}}),r}catch(e){return console.error("Error processing NR5G AMBR values:",e),[]}};var j=r(88926),A=r(76554);let w=e=>{let t=parseInt(e);return isNaN(t)?"Unknown":t>=1e6?"".concat((t/1e6).toFixed(2)," Gbps"):t>=1e3?"".concat(Math.round(t/1e3)," Mbps"):"".concat(t," Kbps")},S=e=>{let{lteAMBR:t,nr5gAMBR:r}=e,l=[];for(let e=0;e0&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-sm font-bold mb-2",children:"LTE AMBR"}),(0,s.jsx)("div",{className:"flex flex-col gap-2",children:l.map((e,t)=>(0,s.jsxs)("div",{className:"flex items-center justify-between border-b pb-2",children:[(0,s.jsx)("span",{className:"text-sm font-medium",children:e.apn}),(0,s.jsxs)("span",{className:"text-sm text-gray-500 font-semibold",children:[e.download," DL / ",e.upload," UL"]})]},"lte-".concat(t)))})]}),a.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-sm font-bold mb-2",children:"NR5G AMBR"}),(0,s.jsx)("div",{className:"flex flex-col gap-2",children:a.map((e,t)=>(0,s.jsxs)("div",{className:"flex items-center justify-between border-b pb-2",children:[(0,s.jsx)("span",{className:"text-sm font-medium",children:e.apn}),(0,s.jsxs)("span",{className:"text-sm text-gray-500 font-semibold",children:[e.download," DL / ",e.upload," UL"]})]},"nr5g-".concat(t)))})]}),0===l.length&&0===a.length&&(0,s.jsx)("div",{className:"text-center text-gray-500 py-4",children:"No AMBR information available"})]})}),(0,s.jsx)(n.wL,{children:(0,s.jsx)(n.BT,{children:"AMBR (Aggregate Maximum Bit Rate) is a network-enforced limit that caps the total bandwidth for non-priority data traffic (e.g., internet browsing) on LTE/5G connections. While devices can request specific AMBR values, operators may ignore these and enforce their own speed limits based on subscription plans, network policies, or congestion conditions."})})]})},T=()=>{var e;let{toast:t}=(0,p.dj)(),{data:r,isLoading:g,fetchCellSettingsData:x}=h(),[N,P]=(0,l.useState)(!1),[v,y]=(0,l.useState)(!1),[b,w]=(0,l.useState)(null),[T,M]=(0,l.useState)(null),[R,C]=(0,l.useState)({currentAPN:!1,apnPDPType:!1,preferredNetworkType:!1,nr5gMode:!1}),[E,I]=(0,l.useState)({currentAPN:"",apnPDPType:"",preferredNetworkType:"",nr5gMode:"",simSlot:"",cfunState:"",autoSelState:"",selectedMbnProfile:"0",mbnProfilesList:[],apnProfiles:[],selectedAPNProfileIndex:0,dataProfileIndex:"1",lteAMBR:[],nr5gAMBR:[]});(0,l.useEffect)(()=>{r&&!v&&(I({currentAPN:Array.isArray(r.APNProfiles)&&r.APNProfiles.length>0?r.APNProfiles[0]:"",apnPDPType:String(r.apnPDPType||""),preferredNetworkType:String(r.preferredNetworkType||""),nr5gMode:String(r.nr5gMode||""),simSlot:String(r.simSlot||""),cfunState:String(r.cfunState||""),autoSelState:String(r.autoSelState||""),selectedMbnProfile:r.selectedMbnProfile||"0",mbnProfilesList:r.mbnProfilesList||[],apnProfiles:Array.isArray(r.APNProfiles)?r.APNProfiles:[],selectedAPNProfileIndex:0,dataProfileIndex:r.dataProfileIndex||"1",lteAMBR:r.lteAMBR||[],nr5gAMBR:r.nr5gAMBR||[]}),y(!0))},[r,v]),(0,l.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/profiles/check_status.sh");if(!e.ok)throw Error("Failed to fetch profile status: ".concat(e.statusText));let t=await e.json();if(M(t),"success"===t.status&&t.profile&&"unknown"!==t.profile&&"none"!==t.profile){let e=await fetch("/cgi-bin/quecmanager/profiles/list_profiles.sh");if(e.ok){let r=await e.json();if("success"===r.status&&Array.isArray(r.profiles)){let e=r.profiles.find(e=>e.name===t.profile);if(e){w(e);let t={currentAPN:!!e.apn,apnPDPType:!!e.pdp_type,preferredNetworkType:!!e.network_type,nr5gMode:!!(e.sa_nr5g_bands||e.nsa_nr5g_bands)};C(t)}}}}else w(null),C({currentAPN:!1,apnPDPType:!1,preferredNetworkType:!1,nr5gMode:!1})}catch(e){console.error("Error fetching profile data:",e)}})()},[]),(0,l.useEffect)(()=>{r||y(!1)},[r]);let k=async e=>{let r=[];if((e.currentAPN||e.apnPDPType)&&!R.currentAPN&&!R.apnPDPType){let t=e.apnPDPType||E.apnPDPType,s=e.currentAPN||E.currentAPN,l=parseInt(E.dataProfileIndex,10);console.log("Setting APN on profile ".concat(l,' to "').concat(s,'" with type "').concat(t,'"')),r.push("AT+CGDCONT=".concat(l,',"').concat(t,'","').concat(s,'"'))}if(void 0!==e.selectedAPNProfileIndex&&e.selectedAPNProfileIndex!==E.selectedAPNProfileIndex&&E.apnProfiles.length>e.selectedAPNProfileIndex&&!R.currentAPN){let t=E.apnPDPType,s=E.apnProfiles[e.selectedAPNProfileIndex],l=parseInt(E.dataProfileIndex,10);r.push("AT+CGDCONT=".concat(l,',"').concat(t,'","').concat(s,'"'))}if(e.preferredNetworkType&&!R.preferredNetworkType){let t='+QNWPREFCFG="mode_pref",'.concat(e.preferredNetworkType);r.push(0===r.length?"AT".concat(t):t)}if(e.nr5gMode&&!R.nr5gMode){let t='+QNWPREFCFG="nr5g_disable_mode",'.concat(e.nr5gMode);r.push(0===r.length?"AT".concat(t):t)}if(e.simSlot){let t="+QUIMSLOT=".concat(e.simSlot);r.push(0===r.length?"AT".concat(t):t)}if(e.cfunState){let t="+CFUN=".concat(e.cfunState);r.push(0===r.length?"AT".concat(t):t)}if(e.autoSelState){let t='+QMBNCFG="AutoSel",'.concat(e.autoSelState);r.push(0===r.length?"AT".concat(t):t)}if(e.selectedMbnProfile&&("0"===e.autoSelState||"0"===E.autoSelState)){var s;let l=parseInt(e.selectedMbnProfile),n=null===(s=E.mbnProfilesList)||void 0===s?void 0:s[l];if(n){let e='+QMBNCFG="deactivate";+QMBNCFG="select","'.concat(n,'"');r.push(0===r.length?"AT".concat(e):e),t({title:"MBN Profile Changed",description:"A full device reboot is required for this change to take effect.",duration:5e3})}}return r.join(";")},D=(e,t)=>{"string"!=typeof e||R[e]||I(r=>({...r,[e]:t}))},_=async e=>{try{var t,r,s;console.log("Executing AT command:",e);let l=await (0,j.a)(e);if("error"===l.status)throw Error(l.status||"Command execution failed");if((null===(t=l.response)||void 0===t?void 0:t.status)==="error"||(null===(r=l.response)||void 0===r?void 0:r.status)==="timeout")throw Error(l.response.raw_output||"Command execution ".concat(l.response.status));return(null===(s=l.response)||void 0===s?void 0:s.status)==="success"}catch(e){throw console.error("AT command execution error:",e),e}},B=async e=>{e.preventDefault(),P(!0);try{let e={};if(Object.keys(E).forEach(t=>{if(!R[t]&&"mbnProfilesList"!==t&&"apnProfiles"!==t){if("selectedAPNProfileIndex"===t&&0!==E.selectedAPNProfileIndex){e.selectedAPNProfileIndex=E.selectedAPNProfileIndex;return}if("selectedMbnProfile"===t&&E.selectedMbnProfile!==(null==r?void 0:r.selectedMbnProfile)&&"0"===E.autoSelState){e.selectedMbnProfile=E.selectedMbnProfile;return}if("string"==typeof E[t]){let s=E[t];if("currentAPN"===t&&(null==r?void 0:r.APNProfiles)){let t=Array.isArray(r.APNProfiles)&&r.APNProfiles.length>0?r.APNProfiles[0]:"";s!==t&&(e.currentAPN=s)}else{let l=null==r?void 0:r[t];s!==l&&(e[t]=s)}}}}),0===Object.keys(e).length){t({title:"No changes detected",description:"Try changing some settings before saving"}),P(!1);return}console.log("Detected changes:",e);let s=await k(e);s&&(await _(s),(e.currentAPN||e.apnPDPType)&&(await new Promise(e=>setTimeout(e,1e3)),await _("AT+COPS=2"),await new Promise(e=>setTimeout(e,1e3)),await _("AT+COPS=0"))),await new Promise(e=>setTimeout(e,4e3)),await x(),y(!1),t({title:"Settings saved!",description:"The settings have been saved successfully",duration:3e3})}catch(e){console.error("Error saving settings:",e),t({variant:"destructive",title:"Failed to save settings!",description:e instanceof Error?e.message:"An error occurred while saving the settings"})}finally{P(!1)}};return(0,s.jsxs)("div",{className:"grid grid-cols-1 grid-flow-row gap-8",children:[(0,s.jsx)(n.Zp,{children:(0,s.jsxs)("form",{onSubmit:B,children:[(0,s.jsxs)(n.aR,{children:[(0,s.jsx)(n.ZB,{children:"Network Settings"}),(0,s.jsx)(n.BT,{children:"Change the network settings of the device."})]}),(0,s.jsxs)(n.Wu,{children:[b&&Object.values(R).some(e=>e)&&(0,s.jsxs)(f.Fc,{className:"mb-6",children:[(0,s.jsx)(m.A,{className:"h-4 w-4",color:"orange"}),(0,s.jsx)(f.XL,{children:"Profile Controlled Settings"}),(0,s.jsxs)(f.TN,{children:['Some settings are currently being managed by profile "',b.name,'".']})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 grid-flow-row gap-6",children:[(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsxs)(c.J,{htmlFor:"APN",children:["Current APN",R.currentAPN&&(0,s.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:"(Profile Controlled)"})]}),g?(0,s.jsx)(u.E,{className:"h-8"}):(0,s.jsx)(d.p,{type:"text",id:"APN",placeholder:"Current APN",value:R.currentAPN&&b?b.apn:E.currentAPN,onChange:e=>D("currentAPN",e.target.value),disabled:R.currentAPN||g,className:R.currentAPN?"bg-muted cursor-not-allowed":""})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsxs)(c.J,{htmlFor:"APNProfile",children:["APN Profiles",R.currentAPN&&(0,s.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:"(Profile Controlled)"})]}),g?(0,s.jsx)(u.E,{className:"h-8"}):(0,s.jsxs)(a.l6,{disabled:R.currentAPN||g||E.apnProfiles.length<=1,value:String(E.selectedAPNProfileIndex),onValueChange:e=>{let t=parseInt(e,10);t>=0&&t({...e,selectedAPNProfileIndex:t,currentAPN:e.apnProfiles[t]||""}))},children:[(0,s.jsx)(a.bq,{className:R.currentAPN||E.apnProfiles.length<=1?"bg-muted cursor-not-allowed":"",children:(0,s.jsx)(a.yv,{placeholder:"Select APN Profile"})}),(0,s.jsx)(a.gC,{children:(0,s.jsxs)(a.s3,{children:[(0,s.jsx)(a.TR,{children:"Available APNs"}),E.apnProfiles.map((e,t)=>(0,s.jsxs)(a.eb,{value:String(t),children:[e||"(blank APN)",0===t&&" (Active)"]},"apn-".concat(t)))]})})]})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsxs)(c.J,{htmlFor:"APN",children:["APN PDP Type",R.apnPDPType&&(0,s.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:"(Profile Controlled)"})]}),g?(0,s.jsx)(u.E,{className:"h-8"}):(0,s.jsxs)(a.l6,{value:R.apnPDPType&&b?b.pdp_type:E.apnPDPType,onValueChange:e=>D("apnPDPType",e),disabled:R.apnPDPType||g,children:[(0,s.jsx)(a.bq,{className:R.apnPDPType?"bg-muted cursor-not-allowed":"",children:(0,s.jsx)(a.yv,{children:(R.apnPDPType&&b?b.pdp_type:E.apnPDPType)?(e=>({IP:"IPv4 Only",IPV6:"IPv6 Only",IPV4V6:"IPv4 and IPv6",P2P:"P2P Protocol"})[e]||e)(R.apnPDPType&&b?b.pdp_type:E.apnPDPType):"Select PDP Type"})}),(0,s.jsx)(a.gC,{children:(0,s.jsxs)(a.s3,{children:[(0,s.jsx)(a.TR,{children:"PDP Type"}),(0,s.jsx)(a.eb,{value:"IP",children:"IPv4 Only"}),(0,s.jsx)(a.eb,{value:"IPV6",children:"IPv6 Only"}),(0,s.jsx)(a.eb,{value:"IPV4V6",children:"IPv4 and IPv6"}),(0,s.jsx)(a.eb,{value:"P2P",children:"P2P Protocol"})]})})]},"pdp-type-".concat(R.apnPDPType&&b?b.pdp_type:E.apnPDPType))]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"MBNAutoSel",children:"MBN Profile Auto Selection"}),g?(0,s.jsx)(u.E,{className:"h-8"}):(0,s.jsxs)(a.l6,{value:E.autoSelState,onValueChange:e=>D("autoSelState",e),disabled:g,children:[(0,s.jsx)(a.bq,{children:(0,s.jsx)(a.yv,{children:E.autoSelState?(e=>({0:"Disabled",1:"Enabled"})[e]||e)(E.autoSelState):"Select Auto Selection State"})}),(0,s.jsx)(a.gC,{children:(0,s.jsxs)(a.s3,{children:[(0,s.jsx)(a.TR,{children:"Auto Selection State"}),(0,s.jsx)(a.eb,{value:"1",children:"Enabled"}),(0,s.jsx)(a.eb,{value:"0",children:"Disabled"})]})})]},"auto-sel-".concat(E.autoSelState))]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"MBNProfile",children:"MBN Profile Selection"}),g?(0,s.jsx)(u.E,{className:"h-8"}):(0,s.jsx)(o.TooltipProvider,{children:(0,s.jsxs)(o.m_,{children:[(0,s.jsx)(o.k$,{children:(0,s.jsxs)(a.l6,{value:E.selectedMbnProfile||"0",onValueChange:e=>D("selectedMbnProfile",e),disabled:g||"1"===E.autoSelState,children:[(0,s.jsx)(a.bq,{className:"1"===E.autoSelState?"bg-muted cursor-not-allowed":"",children:(0,s.jsx)(a.yv,{placeholder:"Select MBN Profile"})}),(0,s.jsx)(a.gC,{children:(0,s.jsxs)(a.s3,{children:[(0,s.jsx)(a.TR,{children:"Available MBN Profiles"}),null===(e=E.mbnProfilesList)||void 0===e?void 0:e.map((e,t)=>(0,s.jsx)(a.eb,{value:String(t),children:e},"profile-".concat(t)))]})})]})}),(0,s.jsx)(o.ZI,{children:(0,s.jsx)("p",{children:"1"===E.autoSelState&&"Disable Auto Selection to manually select a profile"})})]})})]}),(0,s.jsx)(A.w,{className:"col-span-2 my-2"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsxs)(c.J,{children:["Preferred Network Type",R.preferredNetworkType&&(0,s.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:"(Profile Controlled)"})]}),g?(0,s.jsx)(u.E,{className:"h-8"}):(0,s.jsxs)(a.l6,{value:R.preferredNetworkType&&b?b.network_type:E.preferredNetworkType,onValueChange:e=>D("preferredNetworkType",e),disabled:R.preferredNetworkType||g,children:[(0,s.jsx)(a.bq,{className:R.preferredNetworkType?"bg-muted cursor-not-allowed":"",children:(0,s.jsx)(a.yv,{children:(R.preferredNetworkType&&b?b.network_type:E.preferredNetworkType)?(e=>({AUTO:"Automatic",LTE:"LTE Only","LTE:NR5G":"NR5G-NSA",NR5G:"NR5G-SA"})[e]||e)(R.preferredNetworkType&&b?b.network_type:E.preferredNetworkType):"Select Network Type"})}),(0,s.jsx)(a.gC,{children:(0,s.jsxs)(a.s3,{children:[(0,s.jsx)(a.TR,{children:"Preferred Network Type"}),(0,s.jsx)(a.eb,{value:"AUTO",children:"Automatic"}),(0,s.jsx)(a.eb,{value:"LTE",children:"LTE Only"}),(0,s.jsx)(a.eb,{value:"LTE:NR5G",children:"NR5G-NSA"}),(0,s.jsx)(a.eb,{value:"NR5G",children:"NR5G-SA"})]})})]},"network-type-".concat(R.preferredNetworkType&&b?b.network_type:E.preferredNetworkType))]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsxs)(c.J,{children:["NR5G Mode Control",R.nr5gMode&&(0,s.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:"(Profile Controlled)"})]}),g?(0,s.jsx)(u.E,{className:"h-8"}):(0,s.jsxs)(a.l6,{value:E.nr5gMode,onValueChange:e=>D("nr5gMode",e),disabled:R.nr5gMode||g,children:[(0,s.jsx)(a.bq,{className:R.nr5gMode?"bg-muted cursor-not-allowed":"",children:(0,s.jsx)(a.yv,{children:E.nr5gMode?(e=>({0:"NR5G-SA and NSA Enabled",1:"NR5G-NSA Only",2:"NR5G-SA Only"})[e]||e)(E.nr5gMode):"Select NR5G Mode"})}),(0,s.jsx)(a.gC,{children:(0,s.jsxs)(a.s3,{children:[(0,s.jsx)(a.TR,{children:"NR5G Mode"}),(0,s.jsx)(a.eb,{value:"0",children:"NR5G-SA and NSA Enabled"}),(0,s.jsx)(a.eb,{value:"1",children:"NR5G-NSA Only"}),(0,s.jsx)(a.eb,{value:"2",children:"NR5G-SA Only"})]})})]},"nr5g-mode-".concat(E.nr5gMode))]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{children:"U-SIM Slot Configuration"}),g?(0,s.jsx)(u.E,{className:"h-8"}):(0,s.jsxs)(a.l6,{value:E.simSlot,onValueChange:e=>D("simSlot",e),children:[(0,s.jsx)(a.bq,{children:(0,s.jsx)(a.yv,{children:E.simSlot?"U-SIM Slot ".concat(E.simSlot):"Select U-SIM Slot"})}),(0,s.jsx)(a.gC,{children:(0,s.jsxs)(a.s3,{children:[(0,s.jsx)(a.TR,{children:"U-SIM Slot"}),(0,s.jsx)(a.eb,{value:"1",children:"U-SIM Slot 1"}),(0,s.jsx)(a.eb,{value:"2",children:"U-SIM Slot 2"})]})})]},"sim-slot-".concat(E.simSlot))]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{children:"Cellular Functionality"}),g?(0,s.jsx)(u.E,{className:"h-8"}):(0,s.jsxs)(a.l6,{value:E.cfunState,onValueChange:e=>D("cfunState",e),children:[(0,s.jsx)(a.bq,{children:(0,s.jsx)(a.yv,{children:E.cfunState?(e=>({0:"Minimum Functionality",1:"Full Functionality",4:"Disabled RX/TX"})[e]||e)(E.cfunState):"Select CFUN State"})}),(0,s.jsx)(a.gC,{children:(0,s.jsxs)(a.s3,{children:[(0,s.jsx)(a.TR,{children:"U-SIM Slot"}),(0,s.jsx)(a.eb,{value:"0",children:"Minimum Functionality"}),(0,s.jsx)(a.eb,{value:"1",children:"Full Functionality"}),(0,s.jsx)(a.eb,{value:"4",children:"Disabled RX/TX"})]})})]},"sim-slot-".concat(E.cfunState))]})]})]}),(0,s.jsx)(n.wL,{className:"grid border-t py-4",children:(0,s.jsx)(i.$,{type:"submit",disabled:N,children:N?"Saving...":"Save"})})]})}),(0,s.jsx)(S,{lteAMBR:E.lteAMBR,nr5gAMBR:E.nr5gAMBR})]})}},49573:(e,t,r)=>{"use strict";r.d(t,{Fc:()=>i,TN:()=>c,XL:()=>d});var s=r(20475),l=r(20107),n=r(29395),a=r(22250);let o=(0,n.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),i=l.forwardRef((e,t)=>{let{className:r,variant:l,...n}=e;return(0,s.jsx)("div",{ref:t,role:"alert",className:(0,a.cn)(o({variant:l}),r),...n})});i.displayName="Alert";let d=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("h5",{ref:t,className:(0,a.cn)("mb-1 font-medium leading-none tracking-tight",r),...l})});d.displayName="AlertTitle";let c=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("div",{ref:t,className:(0,a.cn)("text-sm [&_p]:leading-relaxed",r),...l})});c.displayName="AlertDescription"},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>i});var s=r(20475),l=r(20107),n=r(61837),a=r(29395),o=r(22250);let i=(0,a.F)("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=l.forwardRef((e,t)=>{let{className:r,variant:l,size:a,asChild:d=!1,...c}=e,u=d?n.DX:"button";return(0,s.jsx)(u,{className:(0,o.cn)(i({variant:l,size:a,className:r})),ref:t,...c})});d.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>a,aR:()=>o,wL:()=>u});var s=r(20475),l=r(20107),n=r(22250);let a=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...l})});a.displayName="Card";let o=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",r),...l})});o.displayName="CardHeader";let i=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",r),...l})});i.displayName="CardTitle";let d=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...l})});d.displayName="CardDescription";let c=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",r),...l})});c.displayName="CardContent";let u=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",r),...l})});u.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>a});var s=r(20475),l=r(20107),n=r(22250);let a=l.forwardRef((e,t)=>{let{className:r,type:l,...a}=e;return(0,s.jsx)("input",{type:l,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,...a})});a.displayName="Input"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>d});var s=r(20475),l=r(20107),n=r(21840),a=r(29395),o=r(22250);let i=(0,a.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)(n.b,{ref:t,className:(0,o.cn)(i(),r),...l})});d.displayName=n.b.displayName},35601:(e,t,r)=>{"use strict";r.d(t,{TR:()=>h,bq:()=>u,eb:()=>g,gC:()=>m,l6:()=>i,s3:()=>d,yv:()=>c});var s=r(20475),l=r(20107),n=r(7197),a=r(95257),o=r(22250);let i=a.bL,d=a.YJ,c=a.WT,u=l.forwardRef((e,t)=>{let{className:r,children:l,...i}=e;return(0,s.jsxs)(a.l9,{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),...i,children:[l,(0,s.jsx)(a.In,{asChild:!0,children:(0,s.jsx)(n.TBE,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=a.l9.displayName;let p=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)(a.PP,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",r),...l,children:(0,s.jsx)(n.Mtm,{})})});p.displayName=a.PP.displayName;let f=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)(a.wn,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",r),...l,children:(0,s.jsx)(n.D3D,{})})});f.displayName=a.wn.displayName;let m=l.forwardRef((e,t)=>{let{className:r,children:l,position:n="popper",...i}=e;return(0,s.jsx)(a.ZL,{children:(0,s.jsxs)(a.UC,{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,...i,children:[(0,s.jsx)(p,{}),(0,s.jsx)(a.LM,{className:(0,o.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:l}),(0,s.jsx)(f,{})]})})});m.displayName=a.UC.displayName;let h=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)(a.JU,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",r),...l})});h.displayName=a.JU.displayName;let g=l.forwardRef((e,t)=>{let{className:r,children:l,...i}=e;return(0,s.jsxs)(a.q7,{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),...i,children:[(0,s.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(a.VF,{children:(0,s.jsx)(n.Srz,{className:"h-4 w-4"})})}),(0,s.jsx)(a.p4,{children:l})]})});g.displayName=a.q7.displayName,l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,s.jsx)(a.wv,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...l})}).displayName=a.wv.displayName},76554:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var s=r(20475),l=r(20107),n=r(88853),a=r(22250);let o=l.forwardRef((e,t)=>{let{className:r,orientation:l="horizontal",decorative:o=!0,...i}=e;return(0,s.jsx)(n.b,{ref:t,decorative:o,orientation:l,className:(0,a.cn)("shrink-0 bg-border","horizontal"===l?"h-[1px] w-full":"h-full w-[1px]",r),...i})});o.displayName=n.b.displayName},36760:(e,t,r)=>{"use strict";r.d(t,{E:()=>n});var s=r(20475),l=r(22250);function n(e){let{className:t,...r}=e;return(0,s.jsx)("div",{className:(0,l.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},85014:(e,t,r)=>{"use strict";r.d(t,{TooltipProvider:()=>o,ZI:()=>c,k$:()=>d,m_:()=>i});var s=r(20475),l=r(20107),n=r(43048),a=r(22250);let o=n.Kq,i=n.bL,d=n.l9,c=l.forwardRef((e,t)=>{let{className:r,sideOffset:l=4,...o}=e;return(0,s.jsx)(n.UC,{ref:t,sideOffset:l,className:(0,a.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),...o})});c.displayName=n.UC.displayName},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>p,oR:()=>u});var s=r(20107);let l=0,n=new Map,a=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?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)}}},i=[],d={toasts:[]};function c(e){d=o(d,e),i.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(l=(l+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 p(){let[e,t]=s.useState(d);return s.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})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>n});var s=r(64901),l=r(868);function n(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{A:()=>s});let s=(0,r(39997).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},88926:(e,t,r)=>{"use strict";r.d(t,{a:()=>s});let s=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var s;let l=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),n=encodeURIComponent(l),a="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(n);t&&(a+="&wait=1&timeout=".concat(r));let o=await fetch(a,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*r+5e3)});if(!o.ok)throw Error("AT command failed with status: ".concat(o.status));let i=await o.json();if(i.error)throw Error("AT queue error: ".concat(i.error));if(t&&(null===(s=i.response)||void 0===s?void 0:s.status)==="timeout")throw Error("AT command timed out after ".concat(r," seconds"));return i}catch(e){throw console.error("AT Command error:",e),e}}},88853:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var s=r(20107),l=r(34544),n=r(20475),a="horizontal",o=["horizontal","vertical"],i=s.forwardRef((e,t)=>{let{decorative:r,orientation:s=a,...i}=e,d=o.includes(s)?s:a;return(0,n.jsx)(l.sG.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}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,1258,4687,3746,9464,3494,3048,191,6035,7358],()=>t(33945)),_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-ed1576c1f10227b7.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-8ef19f2a1c7eec6b.js similarity index 72% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-ed1576c1f10227b7.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-8ef19f2a1c7eec6b.js index 8ea8a03..dc6977f 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-ed1576c1f10227b7.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-8ef19f2a1c7eec6b.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5665],{63881:(e,s,_)=>{Promise.resolve().then(_.bind(_,87133))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,1258,4687,3746,9464,3494,2487,1209,191,6035,7358],()=>s(63881)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5665],{63881:(e,s,_)=>{Promise.resolve().then(_.bind(_,87133))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,7780,8885,3746,9464,3494,2487,1209,191,6035,7358],()=>s(63881)),_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-be80b5e78521f439.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-f6c20dac1f1dc8a9.js similarity index 99% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-be80b5e78521f439.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-f6c20dac1f1dc8a9.js index f7106a6..187b7b7 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-be80b5e78521f439.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-f6c20dac1f1dc8a9.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9065],{86919:(e,t,r)=>{Promise.resolve().then(r.bind(r,70231))},70231:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var s=r(20475),a=r(20107),i=r(72167),o=r(85014),n=r(12607),l=r(29475),d=r(42541),c=r(64219),u=r(49153),f=r(36760),m=r(32857),p=r(49573),h=r(88926);let g=()=>{let[e,t]=(0,a.useState)(!0),[r,g]=(0,a.useState)(""),[v,x]=(0,a.useState)(""),[b,y]=(0,a.useState)(null),[w,I]=(0,a.useState)(!1),{toast:N}=(0,m.dj)(),j=(0,a.useCallback)(async()=>{try{t(!0);let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=3"),r=await e.json();console.log(r);let s=r[6].response.split("\n")[1];console.log(s);let a=s.match(/\d{15}/),i=a?a[0]:null;if(i)g(i),x(i);else throw Error("IMEI not found in response")}catch(e){N({title:"Failed to fetch IMEI",description:"Failed to fetch IMEI from the device",variant:"destructive"}),console.error(e)}finally{t(!1)}},[]),E=(0,a.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/profiles/check_status.sh");if(!e.ok)throw Error("Failed to fetch profile status: ".concat(e.statusText));let t=await e.json();if(console.log("Profile Status:",t),"success"===t.status&&t.profile&&"unknown"!==t.profile&&"none"!==t.profile){let e=await fetch("/cgi-bin/quecmanager/profiles/list_profiles.sh");if(e.ok){let r=await e.json();if("success"===r.status&&Array.isArray(r.profiles)){let e=r.profiles.find(e=>e.name===t.profile);e&&e.imei?(y(e),I(!0),x(e.imei),console.log("Active Profile with IMEI:",e)):(y(null),I(!1))}}}else y(null),I(!1)}catch(e){console.error("Error checking active profile:",e),y(null),I(!1)}},[]);(0,a.useEffect)(()=>{(async()=>{await j(),await E()})()},[j,E]);let T=async e=>{if(e.preventDefault(),w){N({title:"Profile Controlled",description:'IMEI is currently managed by profile "'.concat(null==b?void 0:b.name,'". Edit the profile to change IMEI.'),variant:"destructive"});return}if(t(!0),15!==v.length||isNaN(Number(v))){N({title:"Invalid IMEI",description:"IMEI must be 15 digits and numbers only",variant:"destructive"}),t(!1);return}try{var r,s,a,i;let e='AT+EGMR=1,7,"'.concat(v,'"'),t=await (0,h.a)(e,!0);if((null===(r=t.response)||void 0===r?void 0:r.status)!=="success")throw Error((null===(a=t.response)||void 0===a?void 0:a.raw_output)||"Failed to update IMEI");let o=await (0,h.a)("AT+QPOWD=1",!0);if((null===(s=o.response)||void 0===s?void 0:s.status)!=="success")throw Error((null===(i=o.response)||void 0===i?void 0:i.raw_output)||"Failed to reboot device");N({title:"Success",description:"IMEI has been updated successfully. Rebooting...",duration:9e4}),setTimeout(()=>{window.location.reload()},9e4)}catch(e){N({title:"Failed to update IMEI",description:"Failed to update IMEI on the device",variant:"destructive"}),console.error(e)}finally{t(!1)}};return(0,s.jsx)("div",{className:"grid gap-8",children:(0,s.jsx)(i.Zp,{children:(0,s.jsxs)("form",{onSubmit:T,children:[(0,s.jsxs)(i.aR,{children:[(0,s.jsx)(i.ZB,{children:"IMEI Mangling"}),(0,s.jsxs)(i.BT,{className:"flex items-center justify-between",children:["Change the IMEI of the device. Changing the IMEI may void your warranty and is illegal in some jurisdictions.",(0,s.jsx)(o.TooltipProvider,{children:(0,s.jsxs)(o.m_,{children:[(0,s.jsx)(o.k$,{children:(0,s.jsx)(n.A,{className:"size-4 text-orange-500"})}),(0,s.jsx)(o.ZI,{children:(0,s.jsx)("p",{children:"Do at your own risk!"})})]})})]})]}),(0,s.jsxs)(i.Wu,{children:[w&&b&&(0,s.jsxs)(p.Fc,{className:"mb-6",children:[(0,s.jsx)(l.A,{className:"h-4 w-4",color:"orange"}),(0,s.jsx)(p.XL,{children:"Profile Controlled"}),(0,s.jsxs)(p.TN,{children:['IMEI is currently being managed by profile "',b.name,'".']})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsxs)(u.J,{htmlFor:"IMEI",children:["Change Current IMEI",w&&(0,s.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:"(Profile Controlled)"})]}),e?(0,s.jsx)(f.E,{className:"h-8"}):(0,s.jsxs)("div",{className:"grid gap-1.5",children:[(0,s.jsx)(c.p,{type:"text",id:"IMEI",value:v,onChange:e=>!w&&x(e.target.value),placeholder:r,disabled:w,className:w?"bg-muted cursor-not-allowed":""}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground font-medium",children:"This will reboot the device."})]})]})]}),(0,s.jsx)(i.wL,{className:"grid border-t py-4",children:(0,s.jsx)(d.$,{type:"submit",className:"w-full",disabled:e||v===r||w,children:e?"Processing...":"Change IMEI"})})]})})})}},49573:(e,t,r)=>{"use strict";r.d(t,{Fc:()=>l,TN:()=>c,XL:()=>d});var s=r(20475),a=r(20107),i=r(29395),o=r(22250);let n=(0,i.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),l=a.forwardRef((e,t)=>{let{className:r,variant:a,...i}=e;return(0,s.jsx)("div",{ref:t,role:"alert",className:(0,o.cn)(n({variant:a}),r),...i})});l.displayName="Alert";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h5",{ref:t,className:(0,o.cn)("mb-1 font-medium leading-none tracking-tight",r),...a})});d.displayName="AlertTitle";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,o.cn)("text-sm [&_p]:leading-relaxed",r),...a})});c.displayName="AlertDescription"},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>l});var s=r(20475),a=r(20107),i=r(61837),o=r(29395),n=r(22250);let l=(0,o.F)("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:o,asChild:d=!1,...c}=e,u=d?i.DX:"button";return(0,s.jsx)(u,{className:(0,n.cn)(l({variant:a,size:o,className:r})),ref:t,...c})});d.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>l,Zp:()=>o,aR:()=>n,wL:()=>u});var s=r(20475),a=r(20107),i=r(22250);let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...a})});o.displayName="Card";let n=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",r),...a})});n.displayName="CardHeader";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h3",{ref:t,className:(0,i.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,i.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,i.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,i.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>o});var s=r(20475),a=r(20107),i=r(22250);let o=a.forwardRef((e,t)=>{let{className:r,type:a,...o}=e;return(0,s.jsx)("input",{type:a,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"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>d});var s=r(20475),a=r(20107),i=r(21840),o=r(29395),n=r(22250);let l=(0,o.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.b,{ref:t,className:(0,n.cn)(l(),r),...a})});d.displayName=i.b.displayName},36760:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var s=r(20475),a=r(22250);function i(e){let{className:t,...r}=e;return(0,s.jsx)("div",{className:(0,a.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},85014:(e,t,r)=>{"use strict";r.d(t,{TooltipProvider:()=>n,ZI:()=>c,k$:()=>d,m_:()=>l});var s=r(20475),a=r(20107),i=r(43048),o=r(22250);let n=i.Kq,l=i.bL,d=i.l9,c=a.forwardRef((e,t)=>{let{className:r,sideOffset:a=4,...n}=e;return(0,s.jsx)(i.UC,{ref:t,sideOffset:a,className:(0,o.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})});c.displayName=i.UC.displayName},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>f,oR:()=>u});var s=r(20107);let a=0,i=new Map,o=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);i.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?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)}}},l=[],d={toasts:[]};function c(e){d=n(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})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>i});var s=r(64901),a=r(868);function i(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{a:()=>s});let s=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var s;let a=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),i=encodeURIComponent(a),o="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(i);t&&(o+="&wait=1&timeout=".concat(r));let n=await fetch(o,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*r+5e3)});if(!n.ok)throw Error("AT command failed with status: ".concat(n.status));let l=await n.json();if(l.error)throw Error("AT queue error: ".concat(l.error));if(t&&(null===(s=l.response)||void 0===s?void 0:s.status)==="timeout")throw Error("AT command timed out after ".concat(r," seconds"));return l}catch(e){throw console.error("AT Command error:",e),e}}}},e=>{var t=t=>e(e.s=t);e.O(0,[1258,4687,3746,3048,8112,191,6035,7358],()=>t(86919)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9065],{86919:(e,t,r)=>{Promise.resolve().then(r.bind(r,70231))},70231:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var s=r(20475),a=r(20107),i=r(72167),o=r(85014),n=r(12607),l=r(29475),d=r(42541),c=r(64219),u=r(49153),f=r(36760),m=r(32857),p=r(49573),h=r(88926);let g=()=>{let[e,t]=(0,a.useState)(!0),[r,g]=(0,a.useState)(""),[v,x]=(0,a.useState)(""),[b,y]=(0,a.useState)(null),[w,I]=(0,a.useState)(!1),{toast:N}=(0,m.dj)(),j=(0,a.useCallback)(async()=>{try{t(!0);let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=3"),r=await e.json();console.log(r);let s=r[6].response.split("\n")[1];console.log(s);let a=s.match(/\d{15}/),i=a?a[0]:null;if(i)g(i),x(i);else throw Error("IMEI not found in response")}catch(e){N({title:"Failed to fetch IMEI",description:"Failed to fetch IMEI from the device",variant:"destructive"}),console.error(e)}finally{t(!1)}},[]),E=(0,a.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/profiles/check_status.sh");if(!e.ok)throw Error("Failed to fetch profile status: ".concat(e.statusText));let t=await e.json();if(console.log("Profile Status:",t),"success"===t.status&&t.profile&&"unknown"!==t.profile&&"none"!==t.profile){let e=await fetch("/cgi-bin/quecmanager/profiles/list_profiles.sh");if(e.ok){let r=await e.json();if("success"===r.status&&Array.isArray(r.profiles)){let e=r.profiles.find(e=>e.name===t.profile);e&&e.imei?(y(e),I(!0),x(e.imei),console.log("Active Profile with IMEI:",e)):(y(null),I(!1))}}}else y(null),I(!1)}catch(e){console.error("Error checking active profile:",e),y(null),I(!1)}},[]);(0,a.useEffect)(()=>{(async()=>{await j(),await E()})()},[j,E]);let T=async e=>{if(e.preventDefault(),w){N({title:"Profile Controlled",description:'IMEI is currently managed by profile "'.concat(null==b?void 0:b.name,'". Edit the profile to change IMEI.'),variant:"destructive"});return}if(t(!0),15!==v.length||isNaN(Number(v))){N({title:"Invalid IMEI",description:"IMEI must be 15 digits and numbers only",variant:"destructive"}),t(!1);return}try{var r,s,a,i;let e='AT+EGMR=1,7,"'.concat(v,'"'),t=await (0,h.a)(e,!0);if((null===(r=t.response)||void 0===r?void 0:r.status)!=="success")throw Error((null===(a=t.response)||void 0===a?void 0:a.raw_output)||"Failed to update IMEI");let o=await (0,h.a)("AT+QPOWD=1",!0);if((null===(s=o.response)||void 0===s?void 0:s.status)!=="success")throw Error((null===(i=o.response)||void 0===i?void 0:i.raw_output)||"Failed to reboot device");N({title:"Success",description:"IMEI has been updated successfully. Rebooting...",duration:9e4}),setTimeout(()=>{window.location.reload()},9e4)}catch(e){N({title:"Failed to update IMEI",description:"Failed to update IMEI on the device",variant:"destructive"}),console.error(e)}finally{t(!1)}};return(0,s.jsx)("div",{className:"grid gap-8",children:(0,s.jsx)(i.Zp,{children:(0,s.jsxs)("form",{onSubmit:T,children:[(0,s.jsxs)(i.aR,{children:[(0,s.jsx)(i.ZB,{children:"IMEI Mangling"}),(0,s.jsxs)(i.BT,{className:"flex items-center justify-between",children:["Change the IMEI of the device. Changing the IMEI may void your warranty and is illegal in some jurisdictions.",(0,s.jsx)(o.TooltipProvider,{children:(0,s.jsxs)(o.m_,{children:[(0,s.jsx)(o.k$,{children:(0,s.jsx)(n.A,{className:"size-4 text-orange-500"})}),(0,s.jsx)(o.ZI,{children:(0,s.jsx)("p",{children:"Do at your own risk!"})})]})})]})]}),(0,s.jsxs)(i.Wu,{children:[w&&b&&(0,s.jsxs)(p.Fc,{className:"mb-6",children:[(0,s.jsx)(l.A,{className:"h-4 w-4",color:"orange"}),(0,s.jsx)(p.XL,{children:"Profile Controlled"}),(0,s.jsxs)(p.TN,{children:['IMEI is currently being managed by profile "',b.name,'".']})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsxs)(u.J,{htmlFor:"IMEI",children:["Change Current IMEI",w&&(0,s.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:"(Profile Controlled)"})]}),e?(0,s.jsx)(f.E,{className:"h-8"}):(0,s.jsxs)("div",{className:"grid gap-1.5",children:[(0,s.jsx)(c.p,{type:"text",id:"IMEI",value:v,onChange:e=>!w&&x(e.target.value),placeholder:r,disabled:w,className:w?"bg-muted cursor-not-allowed":""}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground font-medium",children:"This will reboot the device."})]})]})]}),(0,s.jsx)(i.wL,{className:"grid border-t py-4",children:(0,s.jsx)(d.$,{type:"submit",className:"w-full",disabled:e||v===r||w,children:e?"Processing...":"Change IMEI"})})]})})})}},49573:(e,t,r)=>{"use strict";r.d(t,{Fc:()=>l,TN:()=>c,XL:()=>d});var s=r(20475),a=r(20107),i=r(29395),o=r(22250);let n=(0,i.F)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),l=a.forwardRef((e,t)=>{let{className:r,variant:a,...i}=e;return(0,s.jsx)("div",{ref:t,role:"alert",className:(0,o.cn)(n({variant:a}),r),...i})});l.displayName="Alert";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h5",{ref:t,className:(0,o.cn)("mb-1 font-medium leading-none tracking-tight",r),...a})});d.displayName="AlertTitle";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,o.cn)("text-sm [&_p]:leading-relaxed",r),...a})});c.displayName="AlertDescription"},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>l});var s=r(20475),a=r(20107),i=r(61837),o=r(29395),n=r(22250);let l=(0,o.F)("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:o,asChild:d=!1,...c}=e,u=d?i.DX:"button";return(0,s.jsx)(u,{className:(0,n.cn)(l({variant:a,size:o,className:r})),ref:t,...c})});d.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>l,Zp:()=>o,aR:()=>n,wL:()=>u});var s=r(20475),a=r(20107),i=r(22250);let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...a})});o.displayName="Card";let n=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",r),...a})});n.displayName="CardHeader";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h3",{ref:t,className:(0,i.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,i.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,i.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,i.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>o});var s=r(20475),a=r(20107),i=r(22250);let o=a.forwardRef((e,t)=>{let{className:r,type:a,...o}=e;return(0,s.jsx)("input",{type:a,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"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>d});var s=r(20475),a=r(20107),i=r(21840),o=r(29395),n=r(22250);let l=(0,o.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.b,{ref:t,className:(0,n.cn)(l(),r),...a})});d.displayName=i.b.displayName},36760:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var s=r(20475),a=r(22250);function i(e){let{className:t,...r}=e;return(0,s.jsx)("div",{className:(0,a.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},85014:(e,t,r)=>{"use strict";r.d(t,{TooltipProvider:()=>n,ZI:()=>c,k$:()=>d,m_:()=>l});var s=r(20475),a=r(20107),i=r(43048),o=r(22250);let n=i.Kq,l=i.bL,d=i.l9,c=a.forwardRef((e,t)=>{let{className:r,sideOffset:a=4,...n}=e;return(0,s.jsx)(i.UC,{ref:t,sideOffset:a,className:(0,o.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})});c.displayName=i.UC.displayName},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>f,oR:()=>u});var s=r(20107);let a=0,i=new Map,o=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);i.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?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)}}},l=[],d={toasts:[]};function c(e){d=n(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})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>i});var s=r(64901),a=r(868);function i(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{a:()=>s});let s=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var s;let a=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),i=encodeURIComponent(a),o="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(i);t&&(o+="&wait=1&timeout=".concat(r));let n=await fetch(o,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*r+5e3)});if(!n.ok)throw Error("AT command failed with status: ".concat(n.status));let l=await n.json();if(l.error)throw Error("AT queue error: ".concat(l.error));if(t&&(null===(s=l.response)||void 0===s?void 0:s.status)==="timeout")throw Error("AT command timed out after ".concat(r," seconds"));return l}catch(e){throw console.error("AT Command error:",e),e}}}},e=>{var t=t=>e(e.s=t);e.O(0,[7780,8885,3746,3048,4586,191,6035,7358],()=>t(86919)),_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-323e08222f44529c.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js similarity index 61% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/layout-323e08222f44529c.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js index 54eb963..c9f2921 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/layout-323e08222f44529c.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[347],{38302:(s,e,t)=>{Promise.resolve().then(t.bind(t,83593))},83593:(s,e,t)=>{"use strict";t.r(e),t.d(e,{default:()=>r});var a=t(20475);t(20107);var l=t(16118),n=t(9477),i=t.n(n);let r=s=>{let{children:e}=s,t=(0,l.usePathname)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,a.jsx)("h1",{className:"text-3xl font-semibold",children:"Cellular Settings"})}),(0,a.jsxs)("div",{className:"mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]",children:[(0,a.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,a.jsx)(i(),{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)(i(),{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)(i(),{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)(i(),{href:"/dashboard/cell-settings/imei-mangling",className:"".concat("/dashboard/cell-settings/imei-mangling/"===t?"font-semibold text-primary":"text-sm"),children:"IMEI Mangling"}),(0,a.jsx)(i(),{href:"/dashboard/cell-settings/sms",className:"".concat("/dashboard/cell-settings/sms/"===t?"font-semibold text-primary":"text-sm"),children:"SMS Inbox"})]}),e]})]})}}},s=>{var e=e=>s(s.s=e);s.O(0,[1318,191,6035,7358],()=>e(38302)),_N_E=s.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[347],{38302:(s,e,t)=>{Promise.resolve().then(t.bind(t,83593))},83593:(s,e,t)=>{"use strict";t.r(e),t.d(e,{default:()=>i});var a=t(20475);t(20107);var l=t(16118),n=t(9477),r=t.n(n);let i=s=>{let{children:e}=s,t=(0,l.usePathname)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,a.jsx)("h1",{className:"text-3xl font-semibold",children:"Cellular Settings"})}),(0,a.jsxs)("div",{className:"mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]",children:[(0,a.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,a.jsx)(r(),{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)(r(),{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)(r(),{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)(r(),{href:"/dashboard/cell-settings/imei-mangling",className:"".concat("/dashboard/cell-settings/imei-mangling/"===t?"font-semibold text-primary":"text-sm"),children:"IMEI Mangling"}),(0,a.jsx)(r(),{href:"/dashboard/cell-settings/sms",className:"".concat("/dashboard/cell-settings/sms/"===t?"font-semibold text-primary":"text-sm"),children:"SMS Inbox"})]}),e]})]})}},16118:(s,e,t)=>{"use strict";var a=t(65834);t.o(a,"usePathname")&&t.d(e,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(e,{useRouter:function(){return a.useRouter}})}},s=>{var e=e=>s(s.s=e);s.O(0,[9477,191,6035,7358],()=>e(38302)),_N_E=s.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/page-d86d5209e2dbec1d.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/page-63a656aeea715dfb.js similarity index 72% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/page-d86d5209e2dbec1d.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/page-63a656aeea715dfb.js index 0924e58..312df7d 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/page-d86d5209e2dbec1d.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/page-63a656aeea715dfb.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4808],{38448:(e,s,_)=>{Promise.resolve().then(_.bind(_,87133))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,1258,4687,3746,9464,3494,2487,1209,191,6035,7358],()=>s(38448)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4808],{38448:(e,s,_)=>{Promise.resolve().then(_.bind(_,87133))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,7780,8885,3746,9464,3494,2487,1209,191,6035,7358],()=>s(38448)),_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/sms/page-4278a494fde275f3.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-4278a494fde275f3.js new file mode 100644 index 0000000..3bfda63 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-4278a494fde275f3.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3358],{27676:(e,t,s)=>{Promise.resolve().then(s.bind(s,91557))},91557:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>O});var a=s(20475),r=s(20107),n=s(59166),l=s(66698),o=s(83148),i=s(51873),d=s(72167),c=s(93557),m=s(36824),u=s(574),p=s(42541),f=s(76554),x=s(31739),h=s(32857),g=s(4917),y=s(91912),j=s(70964),N=s(68288),v=s(80421),w=s(22250),b=s(7197);let S=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB,{ref:t,className:(0,w.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",s),...r})});S.displayName=v.uB.displayName;let R=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,a.jsx)(b.$p$,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,a.jsx)(v.uB.Input,{ref:t,className:(0,w.cn)("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",s),...r})]})});R.displayName=v.uB.Input.displayName;let C=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB.List,{ref:t,className:(0,w.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",s),...r})});C.displayName=v.uB.List.displayName;let E=r.forwardRef((e,t)=>(0,a.jsx)(v.uB.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));E.displayName=v.uB.Empty.displayName;let T=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB.Group,{ref:t,className:(0,w.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",s),...r})});T.displayName=v.uB.Group.displayName,r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB.Separator,{ref:t,className:(0,w.cn)("-mx-1 h-px bg-border",s),...r})}).displayName=v.uB.Separator.displayName;let A=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(v.uB.Item,{ref:t,className:(0,w.cn)("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",s),...r})});A.displayName=v.uB.Item.displayName;var k=s(64219),_=s(55948);let M=r.forwardRef((e,t)=>{let{className:s,onChange:r,...n}=e;return(0,a.jsx)(j.Ay,{ref:t,className:(0,w.cn)("flex",s),flagComponent:D,countrySelectComponent:B,inputComponent:I,international:!0,defaultCountry:"US",smartCaret:!1,onChange:e=>null==r?void 0:r(e||""),...n})});M.displayName="PhoneInput";let I=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(k.p,{className:(0,w.cn)("rounded-e-lg rounded-s-none",s),...r,ref:t})});I.displayName="InputComponent";let B=e=>{let{disabled:t,value:s,options:r,onChange:n}=e;return(0,a.jsxs)(_.AM,{children:[(0,a.jsx)(_.Wv,{asChild:!0,children:(0,a.jsxs)(p.$,{type:"button",variant:"outline",className:"flex gap-1 rounded-e-none rounded-s-lg border-r-0 px-3 focus:z-10",disabled:t,children:[(0,a.jsx)(D,{country:s,countryName:s}),(0,a.jsx)(g.A,{className:(0,w.cn)("-mr-2 size-4 opacity-50",t?"hidden":"opacity-100")})]})}),(0,a.jsx)(_.hl,{className:"w-[300px] p-0",children:(0,a.jsxs)(S,{children:[(0,a.jsx)(R,{placeholder:"Search country..."}),(0,a.jsx)(C,{children:(0,a.jsxs)(m.F,{className:"h-72",children:[(0,a.jsx)(E,{children:"No country found."}),(0,a.jsx)(T,{children:r.map(e=>{let{value:t,label:r}=e;return t?(0,a.jsx)(z,{country:t,countryName:r,selectedCountry:s,onChange:n},t):null})})]})})]})})]})},z=e=>{let{country:t,countryName:s,selectedCountry:r,onChange:n}=e;return(0,a.jsxs)(A,{className:"gap-2",onSelect:()=>n(t),children:[(0,a.jsx)(D,{country:t,countryName:s}),(0,a.jsx)("span",{className:"flex-1 text-sm",children:s}),(0,a.jsx)("span",{className:"text-sm text-foreground/50",children:"+".concat(j.Ko(t))}),(0,a.jsx)(y.A,{className:"ml-auto size-4 ".concat(t===r?"opacity-100":"opacity-0")})]})},D=e=>{let{country:t,countryName:s}=e,r=N.Ay[t];return(0,a.jsx)("span",{className:"flex h-4 w-6 overflow-hidden rounded-sm bg-foreground/20 [&_svg]:size-full",children:r&&(0,a.jsx)(r,{title:s})})},O=()=>{let[e,t]=(0,r.useState)([]),[s,g]=(0,r.useState)(!1),[y,j]=(0,r.useState)([]),[N,v]=(0,r.useState)(""),[w,b]=(0,r.useState)(""),[S,R]=(0,r.useState)(!1),[C,E]=(0,r.useState)(""),T=e=>e.replace(/\+|\s/g,""),A=(e,t)=>{if(!e.trim()||!t.trim())return(0,h.oR)({title:"Validation Error",description:"Phone number and message are required",variant:"destructive"}),!1;let s=T(e);return!!/^\d+$/.test(s)||((0,h.oR)({title:"Validation Error",description:"Phone number should contain only numbers",variant:"destructive"}),!1)},k=async()=>{if(A(N,w)){R(!0);try{let e={phone:T(N.trim()),message:w.trim()},t=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_send.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","Cache-Control":"no-cache"},body:new URLSearchParams(e).toString()}),s=await t.json();if(console.log("Response data:",s),s.success)(0,h.oR)({title:"Success",description:"Message sent successfully"}),v(""),b(""),B();else throw Error(s.error||"Failed to send message")}catch(e){console.error("Send operation failed:",e),(0,h.oR)({title:"Error",description:e instanceof Error?e.message:"Something went wrong",variant:"destructive"})}finally{R(!1)}}},_=async(e,t)=>{if(A(e,t)){R(!0);try{let s={phone:T(e.trim()),message:t.trim()},a=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_send.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","Cache-Control":"no-cache"},body:new URLSearchParams(s).toString()}),r=await a.json();if(console.log("Response data:",r),r.success)(0,h.oR)({title:"Success",description:"Reply sent successfully"}),E(""),B();else throw Error(r.error||"Failed to send reply")}catch(e){console.error("Reply operation failed:",e),(0,h.oR)({title:"Error",description:e instanceof Error?e.message:"Something went wrong",variant:"destructive"})}finally{R(!1)}}},I=e=>{let t={},s=[];return e.msg.forEach(e=>{if(void 0!==e.reference&&void 0!==e.part){var a;let r="".concat(e.sender,"-").concat(e.reference);t[r]||(t[r]={index:e.index,status:"received",sender:e.sender,timestamp:e.timestamp,message:"",originalIndices:[]}),t[r].message+=e.content,null===(a=t[r].originalIndices)||void 0===a||a.push(e.index),e.part===e.total&&(s.push(t[r]),delete t[r])}else s.push({index:e.index,status:"received",sender:e.sender,timestamp:e.timestamp,message:e.content,originalIndices:[e.index]})}),Object.values(t).forEach(e=>{s.push(e)}),s.sort((e,t)=>new Date(t.timestamp).getTime()-new Date(e.timestamp).getTime())},B=async()=>{g(!0);try{let e=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_inbox.sh"),s=await e.json();if(!(null==s?void 0:s.msg)||!Array.isArray(s.msg))throw Error("Invalid response format");let a=I(s);t(a),j([])}catch(e){console.error("Failed to refresh SMS:",e),t([])}finally{g(!1)}},z=async e=>{g(!0);try{if(!e.length)throw Error("No messages selected");let t=[...new Set(e)].sort((e,t)=>e-t).join(",");console.log("Deleting messages with indices:",t);let s=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_delete.sh?indexes=".concat(t),{method:"GET",headers:{Accept:"application/json","Cache-Control":"no-cache"}}),a=await s.text();if(console.log("Raw response:",a),/Deleted message \d+/.test(a))(0,h.oR)({title:"Success!",description:"Selected messages deleted."}),await B();else throw Error("Something went wrong")}catch(e){console.error("Delete operation failed:",e),(0,h.oR)({title:"Error!",description:"Something went wrong",variant:"destructive"})}finally{g(!1)}},D=e=>{j(t=>{let s=new Set(t);return e.every(e=>s.has(e))?e.forEach(e=>s.delete(e)):e.forEach(e=>s.add(e)),Array.from(s)})},O=e=>{try{let[t,s]=e.split(" "),[a,r,n]=t.split("/");return{date:"20".concat(n,"-").concat(a,"-").concat(r),time:s}}catch(e){return console.error("Error parsing timestamp:",e),{date:"Invalid date",time:"Invalid time"}}};return(0,r.useEffect)(()=>{B()},[]),(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(d.Zp,{className:"w-full max-w-screen",children:[(0,a.jsxs)(d.aR,{children:[(0,a.jsx)(d.ZB,{children:"SMS Inbox"}),(0,a.jsx)(d.BT,{children:(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{children:"View and manage SMS messages"}),(0,a.jsxs)("div",{className:"flex items-center space-x-1.5",children:[(0,a.jsx)(u.S,{checked:e.length>0&&y.length===e.flatMap(e=>e.originalIndices||[e.index]).length,onCheckedChange:t=>{t?j(e.flatMap(e=>e.originalIndices||[e.index])):j([])}}),(0,a.jsx)("span",{className:"text-sm",children:"Select All"})]})]})})]}),(0,a.jsx)(d.Wu,{children:(0,a.jsx)(m.F,{className:"h-[400px] w-full xs:max-w-xs p-4 grid",children:s?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center py-8",children:[(0,a.jsx)(n.A,{className:"h-8 w-8 animate-spin"}),(0,a.jsx)("p",{className:"mt-2",children:"Loading messages..."})]}):0===e.length?(0,a.jsx)("p",{className:"text-center py-8 text-muted-foreground",children:"No messages found"}):e.map(e=>{let{date:t,time:s}=O(e.timestamp),r=e.originalIndices||[e.index];return(0,a.jsxs)(c.lG,{children:[(0,a.jsx)(c.zM,{className:"w-full",children:(0,a.jsxs)(d.Zp,{className:"my-2 dark:hover:bg-slate-900 hover:bg-slate-100",children:[(0,a.jsxs)(d.aR,{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)(d.ZB,{children:e.sender}),(0,a.jsxs)("div",{className:"flex items-center space-x-2",onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("p",{className:"text-muted-foreground font-medium text-xs",children:r.join(", ")}),(0,a.jsx)(u.S,{checked:r.every(e=>y.includes(e)),onCheckedChange:()=>D(r)})]})]}),(0,a.jsxs)(d.BT,{className:"text-left",children:[t," at ",s]})]}),(0,a.jsx)(d.Wu,{children:(0,a.jsx)("p",{className:"line-clamp-3",children:e.message})})]})}),(0,a.jsxs)(c.Cf,{children:[(0,a.jsxs)(c.c7,{children:[(0,a.jsx)(c.L3,{children:e.sender}),(0,a.jsxs)(c.rr,{children:[t," at ",s]})]}),(0,a.jsx)("p",{className:"whitespace-pre-line",children:e.message}),(0,a.jsx)(f.Separator,{className:"my-2"}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)(x.T,{placeholder:"Reply to ".concat(e.sender,"..."),className:"h-24",value:C,onChange:e=>E(e.target.value)}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsxs)(p.$,{onClick:()=>_(e.sender,C),disabled:S||!C.trim(),children:[S?(0,a.jsx)(n.A,{className:"h-4 w-4 animate-spin"}):(0,a.jsx)(l.A,{className:"h-4 w-4"}),S?"Sending...":"Reply"]})})]})]})]},r.join("-"))})})}),(0,a.jsx)(d.wL,{className:"border-t py-4",children:(0,a.jsxs)("div",{className:"flex w-full justify-between items-center",children:[(0,a.jsxs)(p.$,{variant:"outline",onClick:B,disabled:s,children:[(0,a.jsx)(o.A,{className:"h-4 w-4"}),"Refresh"]}),(0,a.jsxs)(p.$,{variant:"destructive",disabled:0===y.length||s,onClick:()=>{if(0===y.length){(0,h.oR)({title:"Delete Messages",description:"No messages selected"});return}z(y)},children:[(0,a.jsx)(i.A,{className:"h-4 w-4"}),"Delete Selected"]})]})})]}),(0,a.jsxs)(d.Zp,{children:[(0,a.jsxs)(d.aR,{children:[(0,a.jsx)(d.ZB,{children:"Send SMS"}),(0,a.jsx)(d.BT,{children:"Send a new SMS message"})]}),(0,a.jsx)(d.Wu,{children:(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsx)(M,{value:N,onChange:e=>v(e),placeholder:"Enter recipient phone number"}),(0,a.jsx)(x.T,{placeholder:"Type your SMS here...",className:"h-32",value:w,onChange:e=>b(e.target.value),required:!0}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsxs)(p.$,{onClick:k,disabled:S||!N.trim()||!w.trim(),children:[S?(0,a.jsx)(n.A,{className:"h-4 w-4 animate-spin"}):(0,a.jsx)(l.A,{className:"h-4 w-4"}),S?"Sending SMS...":"Send SMS"]})})]})})]})]})}},42541:(e,t,s)=>{"use strict";s.d(t,{$:()=>d,r:()=>i});var a=s(20475),r=s(20107),n=s(61837),l=s(29395),o=s(22250);let i=(0,l.F)("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=r.forwardRef((e,t)=>{let{className:s,variant:r,size:l,asChild:d=!1,...c}=e,m=d?n.DX:"button";return(0,a.jsx)(m,{className:(0,o.cn)(i({variant:r,size:l,className:s})),ref:t,...c})});d.displayName="Button"},72167:(e,t,s)=>{"use strict";s.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>l,aR:()=>o,wL:()=>m});var a=s(20475),r=s(20107),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",s),...r})});l.displayName="Card";let o=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",s),...r})});o.displayName="CardHeader";let i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",s),...r})});i.displayName="CardTitle";let d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",s),...r})});d.displayName="CardDescription";let c=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",s),...r})});c.displayName="CardContent";let m=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",s),...r})});m.displayName="CardFooter"},574:(e,t,s)=>{"use strict";s.d(t,{S:()=>i});var a=s(20475),r=s(20107),n=s(32713),l=s(7197),o=s(22250);let i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.bL,{ref:t,className:(0,o.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",s),...r,children:(0,a.jsx)(n.C1,{className:(0,o.cn)("flex items-center justify-center text-current"),children:(0,a.jsx)(l.Srz,{className:"h-4 w-4"})})})});i.displayName=n.bL.displayName},93557:(e,t,s)=>{"use strict";s.d(t,{Cf:()=>p,Es:()=>x,HM:()=>m,L3:()=>h,c7:()=>f,lG:()=>i,rr:()=>g,zM:()=>d});var a=s(20475),r=s(20107),n=s(60241),l=s(7197),o=s(22250);let i=n.bL,d=n.l9,c=n.ZL,m=n.bm,u=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.hJ,{ref:t,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",s),...r})});u.displayName=n.hJ.displayName;let p=r.forwardRef((e,t)=>{let{className:s,children:r,...i}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(u,{}),(0,a.jsxs)(n.UC,{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",s),...i,children:[r,(0,a.jsxs)(n.bm,{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,a.jsx)(l.MKb,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});p.displayName=n.UC.displayName;let f=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...s})};f.displayName="DialogHeader";let x=e=>{let{className:t,...s}=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),...s})};x.displayName="DialogFooter";let h=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.hE,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",s),...r})});h.displayName=n.hE.displayName;let g=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.VY,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",s),...r})});g.displayName=n.VY.displayName},64219:(e,t,s)=>{"use strict";s.d(t,{p:()=>l});var a=s(20475),r=s(20107),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,type:r,...l}=e;return(0,a.jsx)("input",{type:r,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",s),ref:t,...l})});l.displayName="Input"},55948:(e,t,s)=>{"use strict";s.d(t,{AM:()=>o,Wv:()=>i,hl:()=>d});var a=s(20475),r=s(20107),n=s(21869),l=s(22250);let o=n.bL,i=n.l9;n.Mz;let d=r.forwardRef((e,t)=>{let{className:s,align:r="center",sideOffset:o=4,...i}=e;return(0,a.jsx)(n.ZL,{children:(0,a.jsx)(n.UC,{ref:t,align:r,sideOffset:o,className:(0,l.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",s),...i})})});d.displayName=n.UC.displayName},36824:(e,t,s)=>{"use strict";s.d(t,{$:()=>i,F:()=>o});var a=s(20475),r=s(20107),n=s(89679),l=s(22250);let o=r.forwardRef((e,t)=>{let{className:s,children:r,...o}=e;return(0,a.jsxs)(n.bL,{ref:t,className:(0,l.cn)("relative overflow-hidden",s),...o,children:[(0,a.jsx)(n.LM,{className:"h-full w-full rounded-[inherit]",children:r}),(0,a.jsx)(i,{}),(0,a.jsx)(n.OK,{})]})});o.displayName=n.bL.displayName;let i=r.forwardRef((e,t)=>{let{className:s,orientation:r="vertical",...o}=e;return(0,a.jsx)(n.VM,{ref:t,orientation:r,className:(0,l.cn)("flex touch-none select-none transition-colors","vertical"===r&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===r&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",s),...o,children:(0,a.jsx)(n.lr,{className:"relative flex-1 rounded-full bg-border"})})});i.displayName=n.VM.displayName},76554:(e,t,s)=>{"use strict";s.d(t,{Separator:()=>o});var a=s(20475),r=s(20107),n=s(88853),l=s(22250);let o=r.forwardRef((e,t)=>{let{className:s,orientation:r="horizontal",decorative:o=!0,...i}=e;return(0,a.jsx)(n.b,{ref:t,decorative:o,orientation:r,className:(0,l.cn)("shrink-0 bg-border","horizontal"===r?"h-[1px] w-full":"h-full w-[1px]",s),...i})});o.displayName=n.b.displayName},31739:(e,t,s)=>{"use strict";s.d(t,{T:()=>l});var a=s(20475),r=s(20107),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("textarea",{className:(0,n.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",s),ref:t,...r})});l.displayName="Textarea"},32857:(e,t,s)=>{"use strict";s.d(t,{dj:()=>u,oR:()=>m});var a=s(20107);let r=0,n=new Map,l=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:s}=t;return s?l(s):e.toasts.forEach(e=>{l(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...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=o(d,e),i.forEach(e=>{e(d)})}function m(e){let{...t}=e,s=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:s});return c({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||a()}}}),{id:s,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function u(){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:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,s)=>{"use strict";s.d(t,{cn:()=>n});var a=s(64901),r=s(868);function n(){for(var e=arguments.length,t=Array(e),s=0;s{var t=t=>e(e.s=t);e.O(0,[9980,1217,7780,8885,3746,9464,241,467,4736,9951,191,6035,7358],()=>t(27676)),_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/sms/page-67f5880a241b8d62.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-67f5880a241b8d62.js deleted file mode 100644 index d5a891b..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-67f5880a241b8d62.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3358],{27676:(e,t,s)=>{Promise.resolve().then(s.bind(s,91557))},91557:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>O});var a=s(20475),r=s(20107),n=s(59166),l=s(66698),i=s(83148),o=s(51873),d=s(72167),c=s(93557),m=s(36824),u=s(574),p=s(42541),f=s(76554),x=s(31739),h=s(32857),g=s(4917),y=s(91912),j=s(70964),N=s(68288),w=s(80421),v=s(22250),b=s(7197);let S=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(w.uB,{ref:t,className:(0,v.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",s),...r})});S.displayName=w.uB.displayName;let R=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,a.jsx)(b.$p$,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,a.jsx)(w.uB.Input,{ref:t,className:(0,v.cn)("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",s),...r})]})});R.displayName=w.uB.Input.displayName;let C=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(w.uB.List,{ref:t,className:(0,v.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",s),...r})});C.displayName=w.uB.List.displayName;let E=r.forwardRef((e,t)=>(0,a.jsx)(w.uB.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));E.displayName=w.uB.Empty.displayName;let T=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(w.uB.Group,{ref:t,className:(0,v.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",s),...r})});T.displayName=w.uB.Group.displayName,r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(w.uB.Separator,{ref:t,className:(0,v.cn)("-mx-1 h-px bg-border",s),...r})}).displayName=w.uB.Separator.displayName;let A=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(w.uB.Item,{ref:t,className:(0,v.cn)("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",s),...r})});A.displayName=w.uB.Item.displayName;var k=s(64219),_=s(55948);let M=r.forwardRef((e,t)=>{let{className:s,onChange:r,...n}=e;return(0,a.jsx)(j.Ay,{ref:t,className:(0,v.cn)("flex",s),flagComponent:D,countrySelectComponent:B,inputComponent:I,international:!0,defaultCountry:"US",smartCaret:!1,onChange:e=>null==r?void 0:r(e||""),...n})});M.displayName="PhoneInput";let I=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(k.p,{className:(0,v.cn)("rounded-e-lg rounded-s-none",s),...r,ref:t})});I.displayName="InputComponent";let B=e=>{let{disabled:t,value:s,options:r,onChange:n}=e;return(0,a.jsxs)(_.AM,{children:[(0,a.jsx)(_.Wv,{asChild:!0,children:(0,a.jsxs)(p.$,{type:"button",variant:"outline",className:"flex gap-1 rounded-e-none rounded-s-lg border-r-0 px-3 focus:z-10",disabled:t,children:[(0,a.jsx)(D,{country:s,countryName:s}),(0,a.jsx)(g.A,{className:(0,v.cn)("-mr-2 size-4 opacity-50",t?"hidden":"opacity-100")})]})}),(0,a.jsx)(_.hl,{className:"w-[300px] p-0",children:(0,a.jsxs)(S,{children:[(0,a.jsx)(R,{placeholder:"Search country..."}),(0,a.jsx)(C,{children:(0,a.jsxs)(m.F,{className:"h-72",children:[(0,a.jsx)(E,{children:"No country found."}),(0,a.jsx)(T,{children:r.map(e=>{let{value:t,label:r}=e;return t?(0,a.jsx)(z,{country:t,countryName:r,selectedCountry:s,onChange:n},t):null})})]})})]})})]})},z=e=>{let{country:t,countryName:s,selectedCountry:r,onChange:n}=e;return(0,a.jsxs)(A,{className:"gap-2",onSelect:()=>n(t),children:[(0,a.jsx)(D,{country:t,countryName:s}),(0,a.jsx)("span",{className:"flex-1 text-sm",children:s}),(0,a.jsx)("span",{className:"text-sm text-foreground/50",children:"+".concat(j.Ko(t))}),(0,a.jsx)(y.A,{className:"ml-auto size-4 ".concat(t===r?"opacity-100":"opacity-0")})]})},D=e=>{let{country:t,countryName:s}=e,r=N.Ay[t];return(0,a.jsx)("span",{className:"flex h-4 w-6 overflow-hidden rounded-sm bg-foreground/20 [&_svg]:size-full",children:r&&(0,a.jsx)(r,{title:s})})},O=()=>{let[e,t]=(0,r.useState)([]),[s,g]=(0,r.useState)(!1),[y,j]=(0,r.useState)([]),[N,w]=(0,r.useState)(""),[v,b]=(0,r.useState)(""),[S,R]=(0,r.useState)(!1),[C,E]=(0,r.useState)(""),T=e=>e.replace(/\+|\s/g,""),A=(e,t)=>{if(!e.trim()||!t.trim())return(0,h.oR)({title:"Validation Error",description:"Phone number and message are required",variant:"destructive"}),!1;let s=T(e);return!!/^\d+$/.test(s)||((0,h.oR)({title:"Validation Error",description:"Phone number should contain only numbers",variant:"destructive"}),!1)},k=async()=>{if(A(N,v)){R(!0);try{let e={phone:T(N.trim()),message:v.trim()},t=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_send.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","Cache-Control":"no-cache"},body:new URLSearchParams(e).toString()}),s=await t.json();if(console.log("Response data:",s),s.success)(0,h.oR)({title:"Success",description:"Message sent successfully"}),w(""),b(""),B();else throw Error(s.error||"Failed to send message")}catch(e){console.error("Send operation failed:",e),(0,h.oR)({title:"Error",description:e instanceof Error?e.message:"Something went wrong",variant:"destructive"})}finally{R(!1)}}},_=async(e,t)=>{if(A(e,t)){R(!0);try{let s={phone:T(e.trim()),message:t.trim()},a=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_send.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","Cache-Control":"no-cache"},body:new URLSearchParams(s).toString()}),r=await a.json();if(console.log("Response data:",r),r.success)(0,h.oR)({title:"Success",description:"Reply sent successfully"}),E(""),B();else throw Error(r.error||"Failed to send reply")}catch(e){console.error("Reply operation failed:",e),(0,h.oR)({title:"Error",description:e instanceof Error?e.message:"Something went wrong",variant:"destructive"})}finally{R(!1)}}},I=e=>{let t={},s=[];return e.msg.forEach(e=>{if(void 0!==e.reference&&void 0!==e.part){var a;let r="".concat(e.sender,"-").concat(e.reference);t[r]||(t[r]={index:e.index,status:"received",sender:e.sender,timestamp:e.timestamp,message:"",originalIndices:[]}),t[r].message+=e.content,null===(a=t[r].originalIndices)||void 0===a||a.push(e.index),e.part===e.total&&(s.push(t[r]),delete t[r])}else s.push({index:e.index,status:"received",sender:e.sender,timestamp:e.timestamp,message:e.content,originalIndices:[e.index]})}),Object.values(t).forEach(e=>{s.push(e)}),s.sort((e,t)=>new Date(t.timestamp).getTime()-new Date(e.timestamp).getTime())},B=async()=>{g(!0);try{let e=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_inbox.sh"),s=await e.json();if(!(null==s?void 0:s.msg)||!Array.isArray(s.msg))throw Error("Invalid response format");let a=I(s);t(a),j([])}catch(e){console.error("Failed to refresh SMS:",e),t([])}finally{g(!1)}},z=async e=>{g(!0);try{if(!e.length)throw Error("No messages selected");let t=[...new Set(e)].sort((e,t)=>e-t).join(",");console.log("Deleting messages with indices:",t);let s=await fetch("/cgi-bin/quecmanager/cell-settings/sms/sms_delete.sh?indexes=".concat(t),{method:"GET",headers:{Accept:"application/json","Cache-Control":"no-cache"}}),a=await s.text();if(console.log("Raw response:",a),/Deleted message \d+/.test(a))(0,h.oR)({title:"Success!",description:"Selected messages deleted."}),await B();else throw Error("Something went wrong")}catch(e){console.error("Delete operation failed:",e),(0,h.oR)({title:"Error!",description:"Something went wrong",variant:"destructive"})}finally{g(!1)}},D=e=>{j(t=>{let s=new Set(t);return e.every(e=>s.has(e))?e.forEach(e=>s.delete(e)):e.forEach(e=>s.add(e)),Array.from(s)})},O=e=>{try{let[t,s]=e.split(" "),[a,r,n]=t.split("/");return{date:"20".concat(n,"-").concat(a,"-").concat(r),time:s}}catch(e){return console.error("Error parsing timestamp:",e),{date:"Invalid date",time:"Invalid time"}}};return(0,r.useEffect)(()=>{B()},[]),(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(d.Zp,{className:"w-full max-w-screen",children:[(0,a.jsxs)(d.aR,{children:[(0,a.jsx)(d.ZB,{children:"SMS Inbox"}),(0,a.jsx)(d.BT,{children:(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{children:"View and manage SMS messages"}),(0,a.jsxs)("div",{className:"flex items-center space-x-1.5",children:[(0,a.jsx)(u.S,{checked:e.length>0&&y.length===e.flatMap(e=>e.originalIndices||[e.index]).length,onCheckedChange:t=>{t?j(e.flatMap(e=>e.originalIndices||[e.index])):j([])}}),(0,a.jsx)("span",{className:"text-sm",children:"Select All"})]})]})})]}),(0,a.jsx)(d.Wu,{children:(0,a.jsx)(m.F,{className:"h-[400px] w-full xs:max-w-xs p-4 grid",children:s?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center py-8",children:[(0,a.jsx)(n.A,{className:"h-8 w-8 animate-spin"}),(0,a.jsx)("p",{className:"mt-2",children:"Loading messages..."})]}):0===e.length?(0,a.jsx)("p",{className:"text-center py-8 text-muted-foreground",children:"No messages found"}):e.map(e=>{let{date:t,time:s}=O(e.timestamp),r=e.originalIndices||[e.index];return(0,a.jsxs)(c.lG,{children:[(0,a.jsx)(c.zM,{className:"w-full",children:(0,a.jsxs)(d.Zp,{className:"my-2 dark:hover:bg-slate-900 hover:bg-slate-100",children:[(0,a.jsxs)(d.aR,{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)(d.ZB,{children:e.sender}),(0,a.jsxs)("div",{className:"flex items-center space-x-2",onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("p",{className:"text-muted-foreground font-medium text-xs",children:r.join(", ")}),(0,a.jsx)(u.S,{checked:r.every(e=>y.includes(e)),onCheckedChange:()=>D(r)})]})]}),(0,a.jsxs)(d.BT,{className:"text-left",children:[t," at ",s]})]}),(0,a.jsx)(d.Wu,{children:(0,a.jsx)("p",{className:"line-clamp-3",children:e.message})})]})}),(0,a.jsxs)(c.Cf,{children:[(0,a.jsxs)(c.c7,{children:[(0,a.jsx)(c.L3,{children:e.sender}),(0,a.jsxs)(c.rr,{children:[t," at ",s]})]}),(0,a.jsx)("p",{className:"whitespace-pre-line",children:e.message}),(0,a.jsx)(f.w,{className:"my-2"}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)(x.T,{placeholder:"Reply to ".concat(e.sender,"..."),className:"h-24",value:C,onChange:e=>E(e.target.value)}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsxs)(p.$,{onClick:()=>_(e.sender,C),disabled:S||!C.trim(),children:[S?(0,a.jsx)(n.A,{className:"h-4 w-4 animate-spin"}):(0,a.jsx)(l.A,{className:"h-4 w-4"}),S?"Sending...":"Reply"]})})]})]})]},r.join("-"))})})}),(0,a.jsx)(d.wL,{className:"border-t py-4",children:(0,a.jsxs)("div",{className:"flex w-full justify-between items-center",children:[(0,a.jsxs)(p.$,{variant:"outline",onClick:B,disabled:s,children:[(0,a.jsx)(i.A,{className:"h-4 w-4"}),"Refresh"]}),(0,a.jsxs)(p.$,{variant:"destructive",disabled:0===y.length||s,onClick:()=>{if(0===y.length){(0,h.oR)({title:"Delete Messages",description:"No messages selected"});return}z(y)},children:[(0,a.jsx)(o.A,{className:"h-4 w-4"}),"Delete Selected"]})]})})]}),(0,a.jsxs)(d.Zp,{children:[(0,a.jsxs)(d.aR,{children:[(0,a.jsx)(d.ZB,{children:"Send SMS"}),(0,a.jsx)(d.BT,{children:"Send a new SMS message"})]}),(0,a.jsx)(d.Wu,{children:(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsx)(M,{value:N,onChange:e=>w(e),placeholder:"Enter recipient phone number"}),(0,a.jsx)(x.T,{placeholder:"Type your SMS here...",className:"h-32",value:v,onChange:e=>b(e.target.value),required:!0}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsxs)(p.$,{onClick:k,disabled:S||!N.trim()||!v.trim(),children:[S?(0,a.jsx)(n.A,{className:"h-4 w-4 animate-spin"}):(0,a.jsx)(l.A,{className:"h-4 w-4"}),S?"Sending SMS...":"Send SMS"]})})]})})]})]})}},42541:(e,t,s)=>{"use strict";s.d(t,{$:()=>d,r:()=>o});var a=s(20475),r=s(20107),n=s(61837),l=s(29395),i=s(22250);let o=(0,l.F)("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=r.forwardRef((e,t)=>{let{className:s,variant:r,size:l,asChild:d=!1,...c}=e,m=d?n.DX:"button";return(0,a.jsx)(m,{className:(0,i.cn)(o({variant:r,size:l,className:s})),ref:t,...c})});d.displayName="Button"},72167:(e,t,s)=>{"use strict";s.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>l,aR:()=>i,wL:()=>m});var a=s(20475),r=s(20107),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",s),...r})});l.displayName="Card";let i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",s),...r})});i.displayName="CardHeader";let o=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",s),...r})});o.displayName="CardTitle";let d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",s),...r})});d.displayName="CardDescription";let c=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",s),...r})});c.displayName="CardContent";let m=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",s),...r})});m.displayName="CardFooter"},574:(e,t,s)=>{"use strict";s.d(t,{S:()=>o});var a=s(20475),r=s(20107),n=s(32713),l=s(7197),i=s(22250);let o=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.bL,{ref:t,className:(0,i.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",s),...r,children:(0,a.jsx)(n.C1,{className:(0,i.cn)("flex items-center justify-center text-current"),children:(0,a.jsx)(l.Srz,{className:"h-4 w-4"})})})});o.displayName=n.bL.displayName},93557:(e,t,s)=>{"use strict";s.d(t,{Cf:()=>p,Es:()=>x,HM:()=>m,L3:()=>h,c7:()=>f,lG:()=>o,rr:()=>g,zM:()=>d});var a=s(20475),r=s(20107),n=s(60241),l=s(7197),i=s(22250);let o=n.bL,d=n.l9,c=n.ZL,m=n.bm,u=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.hJ,{ref:t,className:(0,i.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",s),...r})});u.displayName=n.hJ.displayName;let p=r.forwardRef((e,t)=>{let{className:s,children:r,...o}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(u,{}),(0,a.jsxs)(n.UC,{ref:t,className:(0,i.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",s),...o,children:[r,(0,a.jsxs)(n.bm,{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,a.jsx)(l.MKb,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});p.displayName=n.UC.displayName;let f=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...s})};f.displayName="DialogHeader";let x=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...s})};x.displayName="DialogFooter";let h=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.hE,{ref:t,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",s),...r})});h.displayName=n.hE.displayName;let g=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.VY,{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",s),...r})});g.displayName=n.VY.displayName},64219:(e,t,s)=>{"use strict";s.d(t,{p:()=>l});var a=s(20475),r=s(20107),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,type:r,...l}=e;return(0,a.jsx)("input",{type:r,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",s),ref:t,...l})});l.displayName="Input"},55948:(e,t,s)=>{"use strict";s.d(t,{AM:()=>i,Wv:()=>o,hl:()=>d});var a=s(20475),r=s(20107),n=s(21869),l=s(22250);let i=n.bL,o=n.l9;n.Mz;let d=r.forwardRef((e,t)=>{let{className:s,align:r="center",sideOffset:i=4,...o}=e;return(0,a.jsx)(n.ZL,{children:(0,a.jsx)(n.UC,{ref:t,align:r,sideOffset:i,className:(0,l.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",s),...o})})});d.displayName=n.UC.displayName},36824:(e,t,s)=>{"use strict";s.d(t,{$:()=>o,F:()=>i});var a=s(20475),r=s(20107),n=s(89679),l=s(22250);let i=r.forwardRef((e,t)=>{let{className:s,children:r,...i}=e;return(0,a.jsxs)(n.bL,{ref:t,className:(0,l.cn)("relative overflow-hidden",s),...i,children:[(0,a.jsx)(n.LM,{className:"h-full w-full rounded-[inherit]",children:r}),(0,a.jsx)(o,{}),(0,a.jsx)(n.OK,{})]})});i.displayName=n.bL.displayName;let o=r.forwardRef((e,t)=>{let{className:s,orientation:r="vertical",...i}=e;return(0,a.jsx)(n.VM,{ref:t,orientation:r,className:(0,l.cn)("flex touch-none select-none transition-colors","vertical"===r&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===r&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",s),...i,children:(0,a.jsx)(n.lr,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=n.VM.displayName},76554:(e,t,s)=>{"use strict";s.d(t,{w:()=>i});var a=s(20475),r=s(20107),n=s(88853),l=s(22250);let i=r.forwardRef((e,t)=>{let{className:s,orientation:r="horizontal",decorative:i=!0,...o}=e;return(0,a.jsx)(n.b,{ref:t,decorative:i,orientation:r,className:(0,l.cn)("shrink-0 bg-border","horizontal"===r?"h-[1px] w-full":"h-full w-[1px]",s),...o})});i.displayName=n.b.displayName},31739:(e,t,s)=>{"use strict";s.d(t,{T:()=>l});var a=s(20475),r=s(20107),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("textarea",{className:(0,n.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",s),ref:t,...r})});l.displayName="Textarea"},32857:(e,t,s)=>{"use strict";s.d(t,{dj:()=>u,oR:()=>m});var a=s(20107);let r=0,n=new Map,l=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:s}=t;return s?l(s):e.toasts.forEach(e=>{l(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},o=[],d={toasts:[]};function c(e){d=i(d,e),o.forEach(e=>{e(d)})}function m(e){let{...t}=e,s=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:s});return c({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||a()}}}),{id:s,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function u(){let[e,t]=a.useState(d);return a.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,s)=>{"use strict";s.d(t,{cn:()=>n});var a=s(64901),r=s(868);function n(){for(var e=arguments.length,t=Array(e),s=0;s{var t=t=>e(e.s=t);e.O(0,[9980,1217,1258,4687,3746,9464,467,7510,9951,191,6035,7358],()=>t(27676)),_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/custom-features/cell-scanner/page-4d2f504080f8873c.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/cell-scanner/page-4d2f504080f8873c.js deleted file mode 100644 index 2cd2f69..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/cell-scanner/page-4d2f504080f8873c.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8627],{23357:(e,t,a)=>{Promise.resolve().then(a.bind(a,12005))},12005:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>F});var s=a(20475),n=a(20107),r=a(72167),l=a(51303),i=a(85014),c=a(42541),d=a(33466),o=a(22250);let u=n.forwardRef((e,t)=>{let{className:a,value:n,...r}=e;return(0,s.jsx)(d.bL,{ref:t,className:(0,o.cn)("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",a),...r,children:(0,s.jsx)(d.C1,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:"translateX(-".concat(100-(n||0),"%)")}})})});u.displayName=d.bL.displayName;var m=a(59166),p=a(27720),f=a(91994),h=a(76076),x=a(51873),g=a(45934),j=a(38741),v=a(36824),N=a(32857);let b=e=>{let{neighborCells:t}=e;(0,n.useEffect)(()=>{t&&console.log("Neighbor cells data:",t)},[t]);let a=e=>e?Array.from(e.matchAll(/\+QENG: "neighbourcell (intra|inter)","LTE",(\d+),(\d+),(-?\d+),(-?\d+)/g)).map(e=>({type:"LTE",cellType:e[1],frequency:parseInt(e[2]),pci:parseInt(e[3]),rsrq:parseInt(e[4]),rsrp:parseInt(e[5])})):[],r=e=>e?Array.from(e.matchAll(/\+QNWCFG: "nr5g_meas_info",(\d+),(\d+),(\d+),(-?\d+),(-?\d+)/g)).map(e=>({type:"NR5G-NSA",cellType:"nr5g",frequency:parseInt(e[2]),pci:parseInt(e[3]),rsrp:parseInt(e[4]),rsrq:parseInt(e[5])})):[],c=e=>e>=-65?(0,s.jsx)(j.z_q,{className:"text-xl text-green-500"}):e>=-75?(0,s.jsx)(j.sRp,{className:"text-xl text-green-400"}):e>=-85?(0,s.jsx)(j.ztD,{className:"text-xl text-yellow-500"}):e>=-95?(0,s.jsx)(j.G7Q,{className:"text-xl text-yellow-600"}):(0,s.jsx)(j.NJ4,{className:"text-xl text-red-500"}),d=[];if((null==t?void 0:t.status)==="success"){var o,u,m,p;(null===(o=t.data)||void 0===o?void 0:o.neighborCells)?d=[...d,...a(t.data.neighborCells)]:(null===(u=t.raw_data)||void 0===u?void 0:u.neighborCells)&&(d=[...d,...a(t.raw_data.neighborCells)]),(null===(m=t.data)||void 0===m?void 0:m.meas)?d=[...d,...r(t.data.meas)]:(null===(p=t.raw_data)||void 0===p?void 0:p.meas)&&(d=[...d,...r(t.raw_data.meas)])}return(d.sort((e,t)=>e.type.startsWith("NR5G")&&!t.type.startsWith("NR5G")?-1:!e.type.startsWith("NR5G")&&t.type.startsWith("NR5G")?1:t.rsrp-e.rsrp),t&&0!==d.length)?(0,s.jsx)("div",{className:"space-y-4",children:(0,s.jsxs)(l.XI,{children:[(0,s.jsx)(l.A0,{children:(0,s.jsxs)(l.Hj,{children:[(0,s.jsx)(l.nd,{children:"Type"}),(0,s.jsx)(l.nd,{children:"Cell Type"}),(0,s.jsx)(l.nd,{children:"Frequency"}),(0,s.jsx)(l.nd,{children:"PCI"}),(0,s.jsx)(l.nd,{children:"Signal"})]})}),(0,s.jsx)(l.BF,{children:d.map((e,t)=>(0,s.jsxs)(l.Hj,{children:[(0,s.jsx)(l.nA,{className:"font-medium",children:e.type}),(0,s.jsx)(l.nA,{children:e.cellType}),(0,s.jsx)(l.nA,{children:e.frequency}),(0,s.jsx)(l.nA,{children:e.pci}),(0,s.jsx)(l.nA,{children:(0,s.jsx)(i.TooltipProvider,{children:(0,s.jsxs)(i.m_,{children:[(0,s.jsx)(i.k$,{children:c(e.rsrp)}),(0,s.jsx)(i.ZI,{children:(0,s.jsxs)("div",{className:"grid gap-1",children:[(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:["RSRP ",(0,s.jsxs)("span",{className:"font-medium",children:[e.rsrp," dBm"]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:["RSRQ ",(0,s.jsxs)("span",{className:"font-medium",children:[e.rsrq," dB"]})]})]})})]})})})]},"".concat(e.type,"-").concat(e.frequency,"-").concat(e.pci,"-").concat(t)))})]})}):(0,s.jsx)("div",{className:"text-center py-4 text-gray-500",children:"No neighbor cells data available"})};var y=a(7197),w=a(23484),T=a(37921),C=a(28702);let I=C.bL,S=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(C.q7,{ref:t,className:(0,o.cn)("border-b",a),...n})});S.displayName="AccordionItem";let R=n.forwardRef((e,t)=>{let{className:a,children:n,...r}=e;return(0,s.jsx)(C.Y9,{className:"flex",children:(0,s.jsxs)(C.l9,{ref:t,className:(0,o.cn)("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",a),...r,children:[n,(0,s.jsx)(y.D3D,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})})});R.displayName=C.l9.displayName;let D=n.forwardRef((e,t)=>{let{className:a,children:n,...r}=e;return(0,s.jsx)(C.UC,{ref:t,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...r,children:(0,s.jsx)("div",{className:(0,o.cn)("pb-4 pt-0",a),children:n})})});D.displayName=C.UC.displayName;let k=e=>{var t,a,n,l,i,c;let{cell:d,operatorInfo:o}=e,u="LTE"===d.type;return(0,s.jsxs)(r.Zp,{className:"overflow-hidden border shadow-sm",children:[(0,s.jsxs)(r.aR,{className:"bg-muted/30 pb-2",children:[(0,s.jsx)("div",{className:"flex justify-between items-center",children:(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsxs)(g.E,{variant:u?"outline":"default",className:u?"bg-orange-600":"",children:[u?"LTE":"5G NR"," - ",(null==o?void 0:o.brand)&&o.operator?"".concat(o.brand):(null==o?void 0:o.operator)?o.operator:"".concat(d.mcc).concat(d.mnc)]}),(0,s.jsx)(r.ZB,{className:"text-base",children:u?"Band ".concat(d.band," (").concat((null===(t=d.frequencyInfo)||void 0===t?void 0:t.bandName)||"Unknown",")"):"n".concat(d.band," (").concat((null===(a=d.frequencyInfo)||void 0===a?void 0:a.bandName)||"Unknown",")")})]})}),(0,s.jsxs)(r.BT,{className:"mt-1 flex items-center space-x-2",children:[(0,s.jsxs)("span",{children:["Cell ID: ",d.cellId]}),(0,s.jsx)("span",{children:"•"}),(0,s.jsxs)("span",{children:["PCI: ",d.pci]}),(0,s.jsx)("span",{children:"•"}),(0,s.jsx)("span",{children:u?"EARFCN: ".concat(d.freq):"NR-ARFCN: ".concat(d.freq)})]})]}),(0,s.jsxs)(r.Wu,{className:"pt-4",children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-8 gap-y-2",children:[(0,s.jsx)("div",{className:"space-y-3",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-sm font-semibold mb-1",children:"Frequency Information"}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 text-sm",children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"Downlink Frequency:"}),(0,s.jsxs)("div",{className:"font-medium",children:[(null===(n=d.frequencyInfo)||void 0===n?void 0:n.dlFrequency)||"Unknown"," MHz"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Uplink Frequency:"}),(0,s.jsxs)("div",{className:"font-medium",children:[(null===(l=d.frequencyInfo)||void 0===l?void 0:l.ulFrequency)||"Unknown"," MHz"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Duplex Mode:"}),(0,s.jsx)("div",{className:"font-medium",children:(null===(i=d.frequencyInfo)||void 0===i?void 0:i.duplexType)||"Unknown"}),u&&(null===(c=d.frequencyInfo)||void 0===c?void 0:c.ulEarfcn)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"Uplink EARFCN:"}),(0,s.jsx)("div",{className:"font-medium",children:d.frequencyInfo.ulEarfcn})]})]})]})}),(0,s.jsx)("div",{className:"space-y-3",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-sm font-semibold mb-1",children:"Signal Parameters"}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 text-sm",children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"RSRP:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.rsrp||"-"," dBm"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"RSRQ:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.rsrq||"-"," dB"]}),u?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"SQUAL:"}),(0,s.jsx)("div",{className:"font-medium",children:d.squal}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Bandwidth:"}),(0,s.jsx)("div",{className:"font-medium",children:d.bandwidthMHz||"".concat(d.bandwidth," RB")})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"Subcarrier Spacing:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.scs||"-"," kHz"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Carrier Bandwidth:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.carrierBandwidth||"-"," RB"]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"SSB SCS:"}),(0,s.jsxs)("div",{className:"font-medium",children:[d.ssbScs||"-"," kHz"]})]})]})]})})]}),(0,s.jsx)(I,{type:"single",collapsible:!0,className:"mt-4",children:(0,s.jsxs)(S,{value:"advanced",children:[(0,s.jsx)(R,{className:"text-sm py-2",children:"Advanced Details"}),(0,s.jsx)(D,{children:o&&(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 text-sm",children:[(0,s.jsx)("div",{className:"text-muted-foreground",children:"Operator:"}),(0,s.jsx)("div",{className:"font-medium",children:o.operator}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Brand:"}),(0,s.jsx)("div",{className:"font-medium",children:o.brand}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Country:"}),(0,s.jsx)("div",{className:"font-medium",children:o.countryName}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"MCC-MNC:"}),(0,s.jsxs)("div",{className:"font-medium",children:[o.mcc,"-",o.mnc]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"SRXLEV:"}),(0,s.jsx)("div",{className:"font-medium",children:d.srxlev})]})})})]})})]})]})},L=e=>{let{scanResult:t,isLoading:a=!1,mccMncList:l=[]}=e,[i,c]=(0,n.useState)("all"),d=(0,n.useCallback)((e,t)=>l.find(a=>a.mcc===e&&a.mnc===t)||null,[l]),o=[{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,earfcnOffset:0,earfcnRange:[0,599],spacing:.1,duplexType:"FDD"},{band:2,name:"1900 PCS",dlLow:1930,dlHigh:1990,ulLow:1850,ulHigh:1910,earfcnOffset:600,earfcnRange:[600,1199],spacing:.1,duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,earfcnOffset:1200,earfcnRange:[1200,1949],spacing:.1,duplexType:"FDD"},{band:5,name:"850",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,earfcnOffset:2400,earfcnRange:[2400,2649],spacing:.1,duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,earfcnOffset:2750,earfcnRange:[2750,3449],spacing:.1,duplexType:"FDD"},{band:8,name:"900",dlLow:925,dlHigh:960,ulLow:880,ulHigh:915,earfcnOffset:3450,earfcnRange:[3450,3799],spacing:.1,duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,earfcnOffset:6150,earfcnRange:[6150,6449],spacing:.1,duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,earfcnOffset:9210,earfcnRange:[9210,9659],spacing:.1,duplexType:"FDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,earfcnOffset:39650,earfcnRange:[39650,41589],spacing:.1,duplexType:"TDD"}],u=[{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,nrarfcnOffset:422e3,nrarfcnRange:[422e3,434e3],duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,nrarfcnOffset:361e3,nrarfcnRange:[361e3,376e3],duplexType:"FDD"},{band:5,name:"CLR",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,nrarfcnOffset:173800,nrarfcnRange:[173800,178800],duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,nrarfcnOffset:524e3,nrarfcnRange:[524e3,538e3],duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,nrarfcnOffset:158200,nrarfcnRange:[158200,164200],duplexType:"FDD"},{band:25,name:"Extended PCS",dlLow:1930,dlHigh:1995,ulLow:1850,ulHigh:1915,nrarfcnOffset:386e3,nrarfcnRange:[386e3,399e3],duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,nrarfcnOffset:151600,nrarfcnRange:[151600,160600],duplexType:"FDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,nrarfcnOffset:499200,nrarfcnRange:[499200,537999],duplexType:"TDD"},{band:66,name:"AWS-3",dlLow:2110,dlHigh:2200,ulLow:1710,ulHigh:1780,nrarfcnOffset:422e3,nrarfcnRange:[422e3,44e4],duplexType:"FDD"},{band:70,name:"AWS-4",dlLow:1995,dlHigh:2020,ulLow:1695,ulHigh:1710,nrarfcnOffset:399001,nrarfcnRange:[399001,404e3],duplexType:"FDD"},{band:71,name:"600MHz",dlLow:617,dlHigh:652,ulLow:663,ulHigh:698,nrarfcnOffset:123400,nrarfcnRange:[123400,130400],duplexType:"FDD"},{band:77,name:"C-Band",dlLow:3300,dlHigh:4200,ulLow:3300,ulHigh:4200,nrarfcnOffset:62e4,nrarfcnRange:[62e4,68e4],duplexType:"TDD"},{band:78,name:"C-Band (3.5GHz)",dlLow:3300,dlHigh:3800,ulLow:3300,ulHigh:3800,nrarfcnOffset:62e4,nrarfcnRange:[62e4,653333],duplexType:"TDD"}],p=(0,n.useCallback)(e=>e?e.split("\n").filter(e=>e.trim().startsWith("+QSCAN:")).map(e=>{let[t,a,s,n,r,l,i,c,...d]=e.substring(e.indexOf(":")+1).trim().split(",").map(e=>e.trim().replace(/\\"/g,"").replace(/"/g,"").replace(/\r/g,"")),o={type:t=t.replace(/\\\\/g,"").replace(/\\/g,"").replace(/"/g,"").trim(),mcc:a,mnc:s,freq:parseInt(n),pci:parseInt(r),rsrp:parseInt(l),rsrq:parseInt(i),srxlev:"-"===c?0:parseInt(c),cellId:"",tac:"",band:0};if("LTE"===t){let[e,t,a,s,n]=d;return{...o,type:"LTE",squal:"-"===e?0:parseInt(e),cellId:t,tac:a,bandwidth:parseInt(s),band:parseInt(n)}}if("NR5G"===t){let[e,t,a,s,n,r,l,i]=d;return{...o,type:"NR5G",cellId:t,tac:a,scs:parseInt(e),carrierBandwidth:parseInt(s),band:parseInt(n),offsetToPointA:parseInt(r),ssbSubcarrierOffset:parseInt(l),ssbScs:"-"===i?0:parseInt(i,10)}}return null}).filter(e=>null!==e):[],[]),f=(0,n.useCallback)(e=>{let t,a;let s=e.freq,n=o.find(t=>s>=t.earfcnRange[0]&&s<=t.earfcnRange[1]&&t.band===e.band);if(!n){let t,a;let n=o.find(t=>t.band===e.band);if(!n)return null;let r=n.dlLow+(s-n.earfcnOffset)%1e3*n.spacing;if("FDD"===n.duplexType){t=s+18e3;let e=n.ulHigh-n.ulLow;a=(n.ulLow+e/2).toFixed(2)}else a=r.toFixed(2);return{band:n.band,bandName:n.name,earfcn:s,dlFrequency:r.toFixed(2),ulFrequency:a,ulEarfcn:t,duplexType:n.duplexType,bandwidth:e.bandwidthMHz}}let r=n.dlLow+(s-n.earfcnOffset)*n.spacing;if("FDD"===n.duplexType){let e=s-n.earfcnOffset;t=s+18e3,a=n.ulLow+e*n.spacing}else a=r;return{band:n.band,bandName:n.name,earfcn:s,dlFrequency:r.toFixed(2),ulFrequency:a.toFixed(2),ulEarfcn:t,duplexType:n.duplexType,bandwidth:e.bandwidthMHz}},[o]),h=(0,n.useCallback)(e=>{let t;let a=e.freq;if(a>=0&&a<=599999)t=0+(a-0)*.005;else if(a>=6e5&&a<=2016666)t=3e3+(a-6e5)*.015;else{if(!(a>=2016667)||!(a<=3279165))return null;t=24250.08+(a-2016667)*.06}let s=u.find(t=>a>=t.nrarfcnRange[0]&&a<=t.nrarfcnRange[1]&&t.band===e.band);if(!s){let s=u.find(t=>t.band===e.band);return s?{band:s.band,bandName:s.name,nrarfcn:a,dlFrequency:t.toFixed(2),ulFrequency:"FDD"===s.duplexType?((s.ulLow+s.ulHigh)/2).toFixed(2):t.toFixed(2),duplexType:s.duplexType,scs:e.scs,channelBandwidth:"".concat(e.carrierBandwidth," RB")}:null}let n="FDD"===s.duplexType?s.ulLow+(t-s.dlLow):t;return{band:s.band,bandName:s.name,nrarfcn:a,dlFrequency:t.toFixed(2),ulFrequency:n.toFixed(2),duplexType:s.duplexType,scs:e.scs,channelBandwidth:"".concat(e.carrierBandwidth," RB")}},[u]),x=(0,n.useMemo)(()=>{if(!(null==t?void 0:t.output))return{lte:[],nr5g:[]};let e=p(t.output),a=[],s=[];e.forEach(e=>{var t,n;let r=d(e.mcc,e.mnc);if("LTE"===e.type){let s=null!==(t=f(e))&&void 0!==t?t:void 0;a.push({...e,frequencyInfo:s,operatorInfo:r})}else if("NR5G"===e.type){let t=null!==(n=h(e))&&void 0!==n?n:void 0;s.push({...e,frequencyInfo:t,operatorInfo:r})}});let n=(e,t)=>{var a,s;let n=(null===(a=e.operatorInfo)||void 0===a?void 0:a.operator)||"",r=(null===(s=t.operatorInfo)||void 0===s?void 0:s.operator)||"";return n.localeCompare(r)};return{lte:a.sort(n),nr5g:s.sort(n)}},[t,p,f,h,d]);if(a)return(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Cell Frequency Analysis"}),(0,s.jsx)(r.BT,{children:"Analyzing frequency details for detected cells..."})]}),(0,s.jsx)(r.Wu,{className:"flex items-center justify-center min-h-[300px]",children:(0,s.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,s.jsx)(m.A,{className:"w-8 h-8 animate-spin text-primary"}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:"Processing frequency information..."})]})})]});if(!t||!t.output)return(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Cell Frequency Analysis"}),(0,s.jsx)(r.BT,{children:"Detailed frequency information for detected cells"})]}),(0,s.jsx)(r.Wu,{className:"flex items-center justify-center min-h-[300px]",children:(0,s.jsx)("p",{className:"text-muted-foreground",children:"Run a cell scan to view detailed frequency information"})})]});let g=x.lte.length+x.nr5g.length;return(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Cell Frequency Analysis"}),(0,s.jsx)(r.BT,{children:t.timestamp&&(0,s.jsxs)("div",{className:"mt-1 text-sm text-muted-foreground",children:["Analysis based on full cell scan from: ",t.timestamp]})})]}),(0,s.jsx)(r.Wu,{children:(0,s.jsxs)(T.tU,{defaultValue:"all",value:i,onValueChange:e=>c(e),className:"mb-6",children:[(0,s.jsxs)(T.j7,{className:"grid w-full grid-cols-3",children:[(0,s.jsxs)(T.Xi,{value:"all",children:["All Cells (",g,")"]}),(0,s.jsxs)(T.Xi,{value:"lte",children:["LTE (",x.lte.length,")"]}),(0,s.jsxs)(T.Xi,{value:"nr5g",children:["5G NR (",x.nr5g.length,")"]})]}),(0,s.jsx)(T.av,{value:"all",className:"mt-4",children:(0,s.jsx)(v.F,{className:"h-[500px] pr-4",children:0===g?(0,s.jsx)("div",{className:"text-center py-8 text-muted-foreground",children:"No cells detected in the scan"}):(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[x.lte.map((e,t)=>(0,s.jsx)(k,{cell:e,operatorInfo:e.operatorInfo},"lte-".concat(e.cellId,"-").concat(t))),x.nr5g.map((e,t)=>(0,s.jsx)(k,{cell:e,operatorInfo:e.operatorInfo},"nr5g-".concat(e.cellId,"-").concat(t)))]})})}),(0,s.jsx)(T.av,{value:"lte",className:"mt-4",children:(0,s.jsx)(v.F,{className:"h-[500px] pr-4",children:0===x.lte.length?(0,s.jsx)("div",{className:"text-center py-8 text-muted-foreground",children:"No LTE cells detected in the scan"}):(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4",children:x.lte.map((e,t)=>(0,s.jsx)(k,{cell:e,operatorInfo:e.operatorInfo},"lte-".concat(e.cellId,"-").concat(t)))})})}),(0,s.jsx)(T.av,{value:"nr5g",className:"mt-4",children:(0,s.jsx)(v.F,{className:"h-[500px] pr-4",children:0===x.nr5g.length?(0,s.jsx)("div",{className:"text-center py-8 text-muted-foreground",children:"No 5G NR cells detected in the scan"}):(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4",children:x.nr5g.map((e,t)=>(0,s.jsx)(k,{cell:e,operatorInfo:e.operatorInfo},"nr5g-".concat(e.cellId,"-").concat(t)))})})})]})}),(0,s.jsx)(r.wL,{className:"border-t p-4 flex justify-between",children:(0,s.jsx)("div",{className:"text-xs text-muted-foreground",children:"Frequency calculation based on 3GPP TS 38.104 and TS 36.101 specifications"})})]})},F=()=>{let{toast:e}=(0,N.dj)(),[t,a]=(0,n.useState)(null),[d,o]=(0,n.useState)(null),[T,C]=(0,n.useState)(0),[I,S]=(0,n.useState)(!1),[R,D]=(0,n.useState)(null),[k,F]=(0,n.useState)([]),[A,P]=(0,n.useState)(null),[E,q]=(0,n.useState)({status:"idle",progress:0,message:""}),[H,M]=(0,n.useState)(0);(0,n.useEffect)(()=>{if(!d){C(0);return}let e=()=>{let t=new Date(d).getTime(),a=Math.max(0,6e4-(new Date().getTime()-t));C(a),a>0&&requestAnimationFrame(e)};e()},[d]);let _=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/fetch_mccmnc.sh"),t=await e.json();F(t)}catch(t){console.error("Failed to fetch MCC-MNC list:",t),e({title:"Warning",description:"Failed to load operator information",variant:"destructive"})}},[]);(0,n.useEffect)(()=>{_()},[_]);let B=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/quecwatch/fetch-quecwatch.sh"),t=await e.json();D(t)}catch(t){console.error("Failed to fetch Quecwatch status:",t),e({title:"Error",description:"Failed to check Quecwatch status",variant:"destructive"})}},[]),O=(0,n.useCallback)((e,t)=>k.find(a=>a.mcc===e&&a.mnc===t)||null,[k]),z=(0,n.useCallback)(e=>e?e.split("\n").filter(e=>e.trim().startsWith("+QSCAN:")).map(e=>{let[t,a,s,n,r,l,i,c,...d]=e.substring(e.indexOf(":")+1).trim().split(",").map(e=>e.trim().replace(/\\"/g,"").replace(/"/g,"").replace(/\r/g,"")),o={type:t=t.replace(/\\\\/g,"").replace(/\\/g,"").replace(/"/g,"").trim(),mcc:a,mnc:s,freq:parseInt(n),pci:parseInt(r),rsrp:parseInt(l),rsrq:parseInt(i),srxlev:"-"===c?0:parseInt(c),cellId:"",tac:""};if("LTE"===t){let[e,t,a,s,n]=d,r=parseInt(s),l=w.U_[r.toString()]||"".concat(r," RB");return{...o,type:"LTE",squal:"-"===e?0:parseInt(e),cellId:t,tac:a,bandwidth:r,bandwidthMHz:l,band:parseInt(n)}}if("NR5G"===t){let[e,t,a,s,n,r,l,i]=d;return{...o,type:"NR5G",cellId:t,tac:a,scs:parseInt(e),carrierBandwidth:parseInt(s),band:parseInt(n),offsetToPointA:parseInt(r),ssbSubcarrierOffset:parseInt(l),ssbScs:parseInt(i)}}return null}).filter(e=>null!==e):[],[]),U=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/check_scan.sh",{headers:{"Cache-Control":"no-cache, no-store"}});if(!e.ok)return;let t=await e.json();"success"===t.status&&t.output?(a(t),o(t.timestamp||null)):"running"===t.status&&(q({status:"scanning",progress:50,message:"Scan in progress...",startTime:Date.now()-6e4}),W(),setTimeout(G,2e3))}catch(e){console.error("Failed to check initial scan results",e)}},[]),G=(0,n.useCallback)(async()=>{if(H>60){console.log("Reached maximum polling attempts, waiting for results to appear");return}try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/check_scan.sh",{headers:{"Cache-Control":"no-cache, no-store"}});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();if("success"===t.status&&t.output){a(t),o(t.timestamp||null),q({status:"idle",progress:100,message:""}),M(0);return}if("running"===t.status){M(e=>e+1),setTimeout(G,2e3);return}H<30&&(M(e=>e+1),setTimeout(G,2e3))}catch(e){console.error("Failed to check scan status",e),H<60&&(M(e=>e+1),setTimeout(G,3e3))}},[H]),W=(0,n.useCallback)(()=>{let e;e=setInterval(()=>{q(t=>{if("scanning"!==t.status)return clearInterval(e),t;let a=10+88*Math.min((Date.now()-(t.startTime||Date.now()))/12e4,1),s="Scanning available networks... This may take a minute";return a>85?s="Finalizing scan results...":a>50&&(s="Collecting operator data..."),{...t,progress:Math.min(a,98),message:s}})},1e3),setTimeout(()=>{clearInterval(e),q(e=>"scanning"===e.status?{...e,progress:98,message:"Waiting for results..."}:e)},15e4)},[]),Z=(0,n.useCallback)(async()=>{if("scanning"!==E.status&&!I){S(!0),a(null),o(null),M(0),q({status:"scanning",progress:0,message:"Initiating scan...",startTime:Date.now()});try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan.sh",{headers:{"Cache-Control":"no-cache, no-store"}});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();if("running"===t.status||"success"===t.status)q(e=>({...e,progress:10,message:"Scan in progress..."})),W(),setTimeout(G,2e3);else throw Error(t.message||"Failed to start scan")}catch(t){console.error("Scan error:",t),e({title:"Error",description:t instanceof Error?t.message:"Failed to start cell scan",variant:"destructive"}),q({status:"idle",progress:0,message:""})}finally{S(!1)}}},[E.status,I,G,W]),Q=(0,n.useCallback)(e=>e.reduce((e,t)=>{let a="".concat(t.mcc).concat(t.mnc);if(!e[a]){let s=O(t.mcc,t.mnc);e[a]={cells:[],operatorInfo:s}}return e[a].cells.push(t),e},{}),[O]),$=(0,n.useCallback)(e=>[...e].sort((e,t)=>e.type!==t.type?"LTE"===e.type?-1:1:t.rsrp-e.rsrp),[]),X=(0,n.useCallback)(e=>e>=-65?(0,s.jsx)(j.z_q,{className:"text-xl text-green-500"}):e>=-75?(0,s.jsx)(j.sRp,{className:"text-xl text-green-400"}):e>=-85?(0,s.jsx)(j.ztD,{className:"text-xl text-yellow-500"}):e>=-95?(0,s.jsx)(j.G7Q,{className:"text-xl text-yellow-600"}):(0,s.jsx)(j.NJ4,{className:"text-xl text-red-500"}),[]);(0,n.useEffect)(()=>{U(),B()},[U,B]);let V=(0,n.useCallback)(async()=>{a(null),o(null),q({status:"idle",progress:0,message:""});let t=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/clear_scan.sh",{headers:{"Cache-Control":"no-cache, no-store"}});if(!t.ok)return;let s=await t.json();"success"!==s.status&&"idle"!==s.status&&e({title:"Error",description:"Failed to remove scan results. Please try again.",variant:"destructive"})},[]),K=(0,n.useCallback)(()=>{if(!(null==t?void 0:t.output))return;let e=new Blob([["Type,MCC,MNC,Frequency,PCI,RSRP,RSRQ,Band,Cell ID,TAC",...z(t.output).map(e=>"".concat(e.type,",").concat(e.mcc,",").concat(e.mnc,",").concat(e.freq,",").concat(e.pci,",").concat(e.rsrp,",").concat(e.rsrq,",").concat(e.band,",").concat(e.cellId,",").concat(e.tac))].join("\n")],{type:"text/csv;charset=utf-8;"}),a=document.createElement("a");a.href=URL.createObjectURL(e),a.setAttribute("download","cell_scan_".concat(new Date().toISOString(),".csv")),document.body.appendChild(a),a.click(),document.body.removeChild(a)},[t,z]),J=(0,n.useCallback)((e,t,a)=>a?"".concat(e).concat(t," - ").concat(a.brand," by ").concat(a.operator):"".concat(e).concat(t),[]),Y=(null==t?void 0:t.status)==="success"&&t.output?Q(z(t.output)):{},ee=(0,n.useCallback)(async()=>{if(!I){S(!0),P(null);try{let e=await fetch("/cgi-bin/quecmanager/experimental/cell_scanner/network_info.sh");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let s=await e.json();if(console.log("Neighbor cell data:",s),"success"===s.status&&s.mode){var t,a;(null===(t=s.data)||void 0===t?void 0:t.neighborCells)||(null===(a=s.data)||void 0===a?void 0:a.meas)?P(s):s.raw_data&&P({status:s.status,timestamp:s.timestamp,mode:s.mode,data:{neighborCells:s.raw_data.neighborCells,meas:s.raw_data.meas}})}else P(s)}catch(t){console.error("Failed to fetch neighbor cells",t),e({title:"Error",description:"Failed to scan neighbor cells. Please try again.",variant:"destructive"})}finally{S(!1)}}},[I]),et=(0,n.useCallback)(()=>{P(null)},[]);return(0,s.jsxs)("div",{className:"grid gap-5",children:[(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Full Network Cell Scan"}),(0,s.jsxs)(r.BT,{children:["Scan all available network cells, including those from other network providers. Current network mode will affect the results and you may be disconnected during the scan.",d&&(0,s.jsxs)("div",{className:"mt-1 text-sm text-muted-foreground",children:["Last scan: ",d]})]})]}),(0,s.jsx)(r.Wu,{children:(0,s.jsxs)(v.F,{className:"h-96",children:[!t&&"idle"===E.status&&(0,s.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,s.jsx)("p",{className:"text-gray-500 text-center",children:"Click the button below to start scanning the network..."})}),"scanning"===E.status&&(0,s.jsxs)("div",{className:"flex flex-col space-y-2 items-center justify-center h-full w-full",children:[(0,s.jsx)(u,{value:E.progress,className:"w-full"}),(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)("p",{className:"text-sm text-gray-500 text-center",children:E.message})})]}),(0,s.jsx)("div",{className:"grid gap-4",children:Object.entries(Y).map(e=>{let[t,{cells:a,operatorInfo:n}]=e;return(0,s.jsxs)(r.Zp,{className:"p-4 grid gap-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)(g.E,{children:J(a[0].mcc,a[0].mnc,n)})}),(0,s.jsxs)(l.XI,{children:[(0,s.jsx)(l.A0,{children:(0,s.jsxs)(l.Hj,{children:[(0,s.jsx)(l.nd,{children:"Type"}),(0,s.jsx)(l.nd,{children:"E/ARFCN"}),(0,s.jsx)(l.nd,{children:"PCI"}),(0,s.jsx)(l.nd,{children:"Band"}),(0,s.jsx)(l.nd,{children:"Bandwidth"}),(0,s.jsx)(l.nd,{children:"Cell ID"}),(0,s.jsx)(l.nd,{children:"TAC"}),(0,s.jsx)(l.nd,{children:"Signal"})]})}),(0,s.jsx)(l.BF,{children:$(a).map((e,t)=>(0,s.jsxs)(l.Hj,{children:[(0,s.jsx)(l.nA,{children:e.type}),(0,s.jsx)(l.nA,{children:e.freq}),(0,s.jsx)(l.nA,{children:e.pci}),(0,s.jsx)(l.nA,{children:e.band}),(0,s.jsx)(l.nA,{children:"LTE"===e.type?e.bandwidthMHz:e.carrierBandwidth+"MHz"}),(0,s.jsx)(l.nA,{children:parseInt(e.cellId,16)||"-"}),(0,s.jsx)(l.nA,{children:parseInt(e.tac,16)||"-"}),(0,s.jsx)(l.nA,{children:(0,s.jsx)(i.TooltipProvider,{children:(0,s.jsxs)(i.m_,{children:[(0,s.jsx)(i.k$,{children:X(e.rsrp)}),(0,s.jsx)(i.ZI,{children:(0,s.jsxs)("div",{className:"grid gap-1",children:[(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:["RSRP"," ",(0,s.jsxs)("span",{className:"font-medium",children:[e.rsrp," dBm"]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:["RSRQ"," ",(0,s.jsxs)("span",{className:"font-medium",children:[e.rsrq," dB"]})]})]})})]})})})]},"".concat(e.cellId,"-").concat(t)))})]})]},t)})})]})}),(0,s.jsx)(r.wL,{className:"border-t py-4",children:(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(null==R?void 0:R.status)==="active"?(0,s.jsx)(i.TooltipProvider,{children:(0,s.jsxs)(i.m_,{children:[(0,s.jsx)(i.k$,{children:(0,s.jsx)(c.$,{disabled:!0,children:"scanning"===E.status?(0,s.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,s.jsx)(m.A,{className:"animate-spin w-4 h-4"}),(0,s.jsx)("span",{children:"Scanning Network..."})]}):t?(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(f.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Run Cell Scan Again"})]}):(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(p.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Start Cell Scan"})]})})}),(0,s.jsx)(i.ZI,{children:"Please disable Quecwatch first before proceeding."})]})}):(0,s.jsx)(i.TooltipProvider,{children:(0,s.jsxs)(i.m_,{children:[(0,s.jsx)(i.k$,{asChild:!0,children:(0,s.jsx)(c.$,{onClick:Z,disabled:"scanning"===E.status||I||T>0,children:"scanning"===E.status?(0,s.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,s.jsx)(m.A,{className:"animate-spin w-4 h-4"}),(0,s.jsx)("span",{children:"Scanning Network..."})]}):t?(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(f.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Run Cell Scan Again"})]}):(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(p.A,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Start Cell Scan"})]})})}),(0,s.jsx)(i.ZI,{children:T>0?(0,s.jsxs)("span",{children:["Please wait ",Math.ceil(T/1e3)," ","seconds before scanning again"]}):(0,s.jsx)("span",{children:"Start a new network scan"})})]})}),(null==t?void 0:t.status)==="success"&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(c.$,{variant:"secondary",onClick:K,disabled:"scanning"===E.status,children:[(0,s.jsx)(h.A,{className:"w-4 h-4 mr-2"}),"Export to CSV"]}),(0,s.jsxs)(c.$,{variant:"destructive",onClick:V,disabled:"scanning"===E.status,children:[(0,s.jsx)(x.A,{className:"w-4 h-4 mr-2"}),"Clear Results"]})]})]})})]}),(0,s.jsxs)(r.Zp,{children:[(0,s.jsxs)(r.aR,{children:[(0,s.jsx)(r.ZB,{children:"Neighbor Cell Scan"}),(0,s.jsxs)(r.BT,{children:["Scan neighbor cells of the current network provider. This provides detailed information about cells in your immediate vicinity that your device can connect to.",(null==A?void 0:A.timestamp)&&(0,s.jsxs)("div",{className:"mt-1 text-sm text-muted-foreground",children:["Last scan: ",A.timestamp]})]})]}),(0,s.jsx)(r.Wu,{children:(0,s.jsx)(b,{neighborCells:A})}),(0,s.jsx)(r.wL,{className:"border-t py-4",children:(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,s.jsx)(c.$,{onClick:ee,disabled:I,children:I?(0,s.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,s.jsx)(m.A,{className:"animate-spin w-4 h-4"}),(0,s.jsx)("span",{children:"Scanning..."})]}):(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(y.$p$,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Start Neighbor Scan"})]})}),(null==A?void 0:A.status)==="success"&&(0,s.jsxs)(c.$,{variant:"destructive",onClick:et,disabled:I,children:[(0,s.jsx)(x.A,{className:"w-4 h-4 mr-2"}),"Clear Results"]})]})})]}),(0,s.jsx)(L,{scanResult:t,isLoading:"scanning"===E.status,mccMncList:k})]})}},45934:(e,t,a)=>{"use strict";a.d(t,{E:()=>i});var s=a(20475);a(20107);var n=a(29395),r=a(22250);let l=(0,n.F)("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 i(e){let{className:t,variant:a,...n}=e;return(0,s.jsx)("div",{className:(0,r.cn)(l({variant:a}),t),...n})}},42541:(e,t,a)=>{"use strict";a.d(t,{$:()=>d,r:()=>c});var s=a(20475),n=a(20107),r=a(61837),l=a(29395),i=a(22250);let c=(0,l.F)("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:a,variant:n,size:l,asChild:d=!1,...o}=e,u=d?r.DX:"button";return(0,s.jsx)(u,{className:(0,i.cn)(c({variant:n,size:l,className:a})),ref:t,...o})});d.displayName="Button"},72167:(e,t,a)=>{"use strict";a.d(t,{BT:()=>d,Wu:()=>o,ZB:()=>c,Zp:()=>l,aR:()=>i,wL:()=>u});var s=a(20475),n=a(20107),r=a(22250);let l=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,r.cn)("rounded-xl border bg-card text-card-foreground shadow",a),...n})});l.displayName="Card";let i=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,r.cn)("flex flex-col space-y-1.5 p-6",a),...n})});i.displayName="CardHeader";let c=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("h3",{ref:t,className:(0,r.cn)("font-semibold leading-none tracking-tight",a),...n})});c.displayName="CardTitle";let d=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("p",{ref:t,className:(0,r.cn)("text-sm text-muted-foreground",a),...n})});d.displayName="CardDescription";let o=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,r.cn)("p-6 pt-0",a),...n})});o.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,r.cn)("flex items-center p-6 pt-0",a),...n})});u.displayName="CardFooter"},36824:(e,t,a)=>{"use strict";a.d(t,{$:()=>c,F:()=>i});var s=a(20475),n=a(20107),r=a(89679),l=a(22250);let i=n.forwardRef((e,t)=>{let{className:a,children:n,...i}=e;return(0,s.jsxs)(r.bL,{ref:t,className:(0,l.cn)("relative overflow-hidden",a),...i,children:[(0,s.jsx)(r.LM,{className:"h-full w-full rounded-[inherit]",children:n}),(0,s.jsx)(c,{}),(0,s.jsx)(r.OK,{})]})});i.displayName=r.bL.displayName;let c=n.forwardRef((e,t)=>{let{className:a,orientation:n="vertical",...i}=e;return(0,s.jsx)(r.VM,{ref:t,orientation:n,className:(0,l.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]",a),...i,children:(0,s.jsx)(r.lr,{className:"relative flex-1 rounded-full bg-border"})})});c.displayName=r.VM.displayName},51303:(e,t,a)=>{"use strict";a.d(t,{A0:()=>i,BF:()=>c,Hj:()=>d,XI:()=>l,nA:()=>u,nd:()=>o,r6:()=>m});var s=a(20475),n=a(20107),r=a(22250);let l=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{className:"relative w-full overflow-auto",children:(0,s.jsx)("table",{ref:t,className:(0,r.cn)("w-full caption-bottom text-sm",a),...n})})});l.displayName="Table";let i=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("thead",{ref:t,className:(0,r.cn)("[&_tr]:border-b",a),...n})});i.displayName="TableHeader";let c=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("tbody",{ref:t,className:(0,r.cn)("[&_tr:last-child]:border-0",a),...n})});c.displayName="TableBody",n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("tfoot",{ref:t,className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...n})}).displayName="TableFooter";let d=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("tr",{ref:t,className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",a),...n})});d.displayName="TableRow";let o=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("th",{ref:t,className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",a),...n})});o.displayName="TableHead";let u=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("td",{ref:t,className:(0,r.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",a),...n})});u.displayName="TableCell";let m=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("caption",{ref:t,className:(0,r.cn)("mt-4 text-sm text-muted-foreground",a),...n})});m.displayName="TableCaption"},37921:(e,t,a)=>{"use strict";a.d(t,{Xi:()=>d,av:()=>o,j7:()=>c,tU:()=>i});var s=a(20475),n=a(20107),r=a(93677),l=a(22250);let i=r.bL,c=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(r.B8,{ref:t,className:(0,l.cn)("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",a),...n})});c.displayName=r.B8.displayName;let d=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(r.l9,{ref:t,className:(0,l.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",a),...n})});d.displayName=r.l9.displayName;let o=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(r.UC,{ref:t,className:(0,l.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...n})});o.displayName=r.UC.displayName},85014:(e,t,a)=>{"use strict";a.d(t,{TooltipProvider:()=>i,ZI:()=>o,k$:()=>d,m_:()=>c});var s=a(20475),n=a(20107),r=a(43048),l=a(22250);let i=r.Kq,c=r.bL,d=r.l9,o=n.forwardRef((e,t)=>{let{className:a,sideOffset:n=4,...i}=e;return(0,s.jsx)(r.UC,{ref:t,sideOffset:n,className:(0,l.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",a),...i})});o.displayName=r.UC.displayName},32857:(e,t,a)=>{"use strict";a.d(t,{dj:()=>m,oR:()=>u});var s=a(20107);let n=0,r=new Map,l=e=>{if(r.has(e))return;let t=setTimeout(()=>{r.delete(e),o({type:"REMOVE_TOAST",toastId:e})},1e6);r.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?l(a):e.toasts.forEach(e=>{l(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)}}},c=[],d={toasts:[]};function o(e){d=i(d,e),c.forEach(e=>{e(d)})}function u(e){let{...t}=e,a=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>o({type:"DISMISS_TOAST",toastId:a});return o({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||s()}}}),{id:a,dismiss:s,update:e=>o({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function m(){let[e,t]=s.useState(d);return s.useEffect(()=>(c.push(t),()=>{let e=c.indexOf(t);e>-1&&c.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>o({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,a)=>{"use strict";a.d(t,{cn:()=>r});var s=a(64901),n=a(868);function r(){for(var e=arguments.length,t=Array(e),a=0;a{"use strict";a.d(t,{QI:()=>l,U_:()=>s,ZK:()=>n,jq:()=>r});let s={6:"1.4 MHz",15:"3 MHz",25:"5 MHz",50:"10 MHz",75:"15 MHz",100:"20 MHz","-":"-"},n={0:"No cause",2:"IMSI unknown in HSS",3:"Illegal UE",5:"IMEI not accepted",6:"Illegal ME",7:"EPS services not allowed",8:"EPS services and non-EPS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly detached",11:"PLMN not allowed",12:"Tracking Area not allowed",13:"Roaming not allowed in this tracking area",14:"EPS services not allowed in this PLMN",15:"No Suitable Cells in tracking area",16:"MSC temporarily not reachable",17:"Network failure",18:"CS domain not available",19:"ESM failure",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",25:"Not authorized for this CSG",26:"Non-EPS authentication unacceptable",31:"Redirection to 5GCN required",35:"Requested service option not authorized in this PLMN",39:"CS service temporarily not available",40:"No EPS bearer context activated",42:"Severe network failure",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"},r={0:"No cause",8:"Operator Determined Barring",26:"Insufficient resources",27:"Missing or unknown APN",28:"Unknown PDN type",29:"User authentication failed",30:"Request rejected by Serving GW or PDN GW",31:"Request rejected, unspecified",32:"Service option not supported",33:"Requested service option not subscribed",34:"Service option temporarily out of order",35:"PTI already in use",36:"Regular deactivation",37:"EPS QoS not accepted",38:"Network failure",39:"Reactivation requested",41:"Semantic error in the TFT operation",42:"Syntactical error in the TFT operation",43:"Invalid EPS bearer identity",44:"Semantic errors in packet filter(s)",45:"Syntactical errors in packet filter(s)",46:"Unused (see NOTE 2)",47:"PTI mismatch",49:"Last PDN disconnection not allowed",50:"PDN type IPv4 only allowed",51:"PDN type IPv6 only allowed",52:"Single address bearers only allowed",53:"ESM information not received",54:"PDN connection does not exist",55:"Multiple PDN connections for a given APN not allowed",56:"Collision with network initiated request",57:"PDN type IPv4v6 only allowed",58:"PDN type non IP only allowed",59:"Unsupported QCI value",60:"Bearer handling not supported",61:"PDN type Ethernet only allowed",65:"Maximum number of EPS bearers reached",66:"Requested APN not supported in current RAT and PLMN combination",81:"Invalid PTI value",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified",112:"APN restriction value incompatible with active EPS bearer context",113:"Multiple accesses to a PDN connection not allowed"},l={0:"No cause",3:"Illegal UE",5:"PEI not accepted",6:"Illegal ME",7:"5GS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly de-registered",11:"PLMN not allowed",12:"Tracking area not allowed",13:"Roaming not allowed in this tracking area",15:"No suitable cells in tracking area",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",26:"Non-5G authentication unacceptable",27:"N1 mode not allowed",28:"Restricted service area",31:"Redirection to EPC required",43:"LADN not available",62:"No network slices available",65:"Maximum number of PDU sessions reached",67:"Insufficient resources for specific slice and DNN",69:"Insufficient resources for specific slice",71:"ngKSI already in use",72:"Non-3GPP access to 5GCN not allowed",73:"Serving network not authorized",74:"Temporarily not authorized for this SNPN",75:"Permanently not authorized for this SNPN",76:"Not authorized for this CAG or authorized for CAG cells only",77:"Wireline access area not allowed",78:"PLMN not allowed to operate at the present UE location",79:"UAS services not allowed",90:"Payload was not forwarded",91:"DNN not supported or not subscribed in the slice",92:"Insufficient user-plane resources for the PDU session",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,2101,1258,4687,3746,3048,467,3095,3453,5668,191,6035,7358],()=>t(23357)),_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/custom-features/frequency-calculator/page-38ed2927c94f35c2.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/frequency-calculator/page-38ed2927c94f35c2.js deleted file mode 100644 index f990a06..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/frequency-calculator/page-38ed2927c94f35c2.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6617],{62227:(e,a,n)=>{Promise.resolve().then(n.bind(n,42503))},42503:(e,a,n)=>{"use strict";n.r(a),n.d(a,{default:()=>g});var l=n(20475),r=n(20107),s=n(72167),d=n(64219),t=n(42541),i=n(49153),o=n(37921),c=n(51873),f=n(58212);let u=e=>{if(window.localStorage)try{let a=localStorage.getItem(e);console.log("LocalStorage value for ".concat(e,":"),a?JSON.parse(a):"null")}catch(e){console.error("Error reading from localStorage:",e)}else console.log("localStorage not available")},g=()=>{let[e,a]=(0,r.useState)(""),[n,g]=(0,r.useState)(null),[m,p]=(0,r.useState)(""),[h,x]=(0,r.useState)("auto"),[y,w]=(0,r.useState)([]),b=[{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,earfcnOffset:0,earfcnRange:[0,599],spacing:.1,duplexType:"FDD"},{band:2,name:"1900 PCS",dlLow:1930,dlHigh:1990,ulLow:1850,ulHigh:1910,earfcnOffset:600,earfcnRange:[600,1199],spacing:.1,duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,earfcnOffset:1200,earfcnRange:[1200,1949],spacing:.1,duplexType:"FDD"},{band:4,name:"AWS-1",dlLow:2110,dlHigh:2155,ulLow:1710,ulHigh:1755,earfcnOffset:1950,earfcnRange:[1950,2399],spacing:.1,duplexType:"FDD"},{band:5,name:"850",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,earfcnOffset:2400,earfcnRange:[2400,2649],spacing:.1,duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,earfcnOffset:2750,earfcnRange:[2750,3449],spacing:.1,duplexType:"FDD"},{band:8,name:"900",dlLow:925,dlHigh:960,ulLow:880,ulHigh:915,earfcnOffset:3450,earfcnRange:[3450,3799],spacing:.1,duplexType:"FDD"},{band:12,name:"700 a",dlLow:729,dlHigh:746,ulLow:699,ulHigh:716,earfcnOffset:5010,earfcnRange:[5010,5179],spacing:.1,duplexType:"FDD"},{band:13,name:"700 c",dlLow:746,dlHigh:756,ulLow:777,ulHigh:787,earfcnOffset:5180,earfcnRange:[5180,5279],spacing:.1,duplexType:"FDD"},{band:14,name:"700 PS",dlLow:758,dlHigh:768,ulLow:788,ulHigh:798,earfcnOffset:5280,earfcnRange:[5280,5379],spacing:.1,duplexType:"FDD"},{band:17,name:"700 b",dlLow:734,dlHigh:746,ulLow:704,ulHigh:716,earfcnOffset:5730,earfcnRange:[5730,5849],spacing:.1,duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,earfcnOffset:6150,earfcnRange:[6150,6449],spacing:.1,duplexType:"FDD"},{band:25,name:"1900+",dlLow:1930,dlHigh:1995,ulLow:1850,ulHigh:1915,earfcnOffset:8040,earfcnRange:[8040,8689],spacing:.1,duplexType:"FDD"},{band:26,name:"850+",dlLow:859,dlHigh:894,ulLow:814,ulHigh:849,earfcnOffset:8690,earfcnRange:[8690,9039],spacing:.1,duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,earfcnOffset:9210,earfcnRange:[9210,9659],spacing:.1,duplexType:"FDD"},{band:66,name:"AWS-3",dlLow:2110,dlHigh:2200,ulLow:1710,ulHigh:1780,earfcnOffset:66436,earfcnRange:[66436,67335],spacing:.1,duplexType:"FDD"},{band:71,name:"600",dlLow:617,dlHigh:652,ulLow:663,ulHigh:698,earfcnOffset:68586,earfcnRange:[68586,68935],spacing:.1,duplexType:"FDD"},{band:38,name:"TD 2600",dlLow:2570,dlHigh:2620,ulLow:2570,ulHigh:2620,earfcnOffset:37750,earfcnRange:[37750,38249],spacing:.1,duplexType:"TDD"},{band:40,name:"TD 2300",dlLow:2300,dlHigh:2400,ulLow:2300,ulHigh:2400,earfcnOffset:38650,earfcnRange:[38650,39649],spacing:.1,duplexType:"TDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,earfcnOffset:39650,earfcnRange:[39650,41589],spacing:.1,duplexType:"TDD"},{band:48,name:"CBRS",dlLow:3550,dlHigh:3700,ulLow:3550,ulHigh:3700,earfcnOffset:55240,earfcnRange:[55240,56739],spacing:.1,duplexType:"TDD"}],D=[{band:5,name:"850",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,nrarfcnOffset:173800,nrarfcnRange:[173800,178800],duplexType:"FDD"},{band:8,name:"900",dlLow:925,dlHigh:960,ulLow:880,ulHigh:915,nrarfcnOffset:185e3,nrarfcnRange:[185e3,192e3],duplexType:"FDD"},{band:12,name:"700 a",dlLow:729,dlHigh:746,ulLow:699,ulHigh:716,nrarfcnOffset:145800,nrarfcnRange:[145800,149200],duplexType:"FDD"},{band:14,name:"700 PS",dlLow:758,dlHigh:768,ulLow:788,ulHigh:798,nrarfcnOffset:151600,nrarfcnRange:[151600,153600],duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,nrarfcnOffset:158200,nrarfcnRange:[158200,164200],duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,nrarfcnOffset:151600,nrarfcnRange:[151600,160600],duplexType:"FDD"},{band:71,name:"600",dlLow:617,dlHigh:652,ulLow:663,ulHigh:698,nrarfcnOffset:123400,nrarfcnRange:[123400,130400],duplexType:"FDD"},{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,nrarfcnOffset:422e3,nrarfcnRange:[422e3,434e3],duplexType:"FDD"},{band:2,name:"1900 PCS",dlLow:1930,dlHigh:1990,ulLow:1850,ulHigh:1910,nrarfcnOffset:386e3,nrarfcnRange:[386e3,398e3],duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,nrarfcnOffset:361e3,nrarfcnRange:[361e3,376e3],duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,nrarfcnOffset:524e3,nrarfcnRange:[524e3,538e3],duplexType:"FDD"},{band:25,name:"1900+",dlLow:1930,dlHigh:1995,ulLow:1850,ulHigh:1915,nrarfcnOffset:386e3,nrarfcnRange:[386e3,399e3],duplexType:"FDD"},{band:66,name:"AWS-3",dlLow:2110,dlHigh:2200,ulLow:1710,ulHigh:1780,nrarfcnOffset:422e3,nrarfcnRange:[422e3,44e4],duplexType:"FDD"},{band:70,name:"AWS-4",dlLow:1995,dlHigh:2020,ulLow:1695,ulHigh:1710,nrarfcnOffset:399e3,nrarfcnRange:[399e3,404e3],duplexType:"FDD"},{band:34,name:"2000 TDD",dlLow:2010,dlHigh:2025,ulLow:2010,ulHigh:2025,nrarfcnOffset:402e3,nrarfcnRange:[402e3,405e3],duplexType:"TDD"},{band:38,name:"TD 2600",dlLow:2570,dlHigh:2620,ulLow:2570,ulHigh:2620,nrarfcnOffset:514e3,nrarfcnRange:[514e3,524e3],duplexType:"TDD"},{band:39,name:"IMT 1900 TDD",dlLow:1880,dlHigh:1920,ulLow:1880,ulHigh:1920,nrarfcnOffset:376e3,nrarfcnRange:[376e3,384e3],duplexType:"TDD"},{band:40,name:"TD 2300",dlLow:2300,dlHigh:2400,ulLow:2300,ulHigh:2400,nrarfcnOffset:46e4,nrarfcnRange:[46e4,48e4],duplexType:"TDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,nrarfcnOffset:499200,nrarfcnRange:[499200,537999],duplexType:"TDD"},{band:48,name:"CBRS",dlLow:3550,dlHigh:3700,ulLow:3550,ulHigh:3700,nrarfcnOffset:636667,nrarfcnRange:[636667,646666],duplexType:"TDD"},{band:77,name:"C-Band",dlLow:3300,dlHigh:4200,ulLow:3300,ulHigh:4200,nrarfcnOffset:62e4,nrarfcnRange:[62e4,68e4],duplexType:"TDD"},{band:78,name:"C-Band (3.5GHz)",dlLow:3300,dlHigh:3800,ulLow:3300,ulHigh:3800,nrarfcnOffset:62e4,nrarfcnRange:[62e4,653333],duplexType:"TDD"},{band:79,name:"4.5GHz",dlLow:4400,dlHigh:5e3,ulLow:4400,ulHigh:5e3,nrarfcnOffset:693334,nrarfcnRange:[693334,733333],duplexType:"TDD"},{band:90,name:"TD 2600",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,nrarfcnOffset:499200,nrarfcnRange:[499200,538e3],duplexType:"TDD"},{band:257,name:"28 GHz",dlLow:26500,dlHigh:29500,ulLow:26500,ulHigh:29500,nrarfcnOffset:2054166,nrarfcnRange:[2054166,2104165],duplexType:"TDD"},{band:258,name:"26 GHz",dlLow:24250,dlHigh:27500,ulLow:24250,ulHigh:27500,nrarfcnOffset:2016667,nrarfcnRange:[2016667,2070832],duplexType:"TDD"},{band:259,name:"41 GHz",dlLow:39500,dlHigh:43500,ulLow:39500,ulHigh:43500,nrarfcnOffset:2270832,nrarfcnRange:[2270832,2337499],duplexType:"TDD"},{band:260,name:"39 GHz",dlLow:37e3,dlHigh:4e4,ulLow:37e3,ulHigh:4e4,nrarfcnOffset:2229166,nrarfcnRange:[2229166,2279165],duplexType:"TDD"},{band:261,name:"28 GHz",dlLow:27500,dlHigh:28350,ulLow:27500,ulHigh:28350,nrarfcnOffset:2070833,nrarfcnRange:[2070833,2084999],duplexType:"TDD"}],H=e=>{let a=[];for(let n of b)if(e>=n.earfcnRange[0]&&e<=n.earfcnRange[1]){let l,r;let s=n.dlLow+(e-n.earfcnOffset)*n.spacing;if("FDD"===n.duplexType){let a=e-n.earfcnOffset;l=e+18e3,r=n.ulLow+a*n.spacing}else l=e,r=s;a.push({...n,dlFrequency:s.toFixed(2),ulFrequency:r.toFixed(2),ulEarfcn:l})}return 0===a.length?null:{networkType:"LTE",earfcn:e,frequency:a[0].dlFrequency,possibleBands:a}},N=e=>{let a;if(e>=0&&e<=599999)a=0+(e-0)*.005;else if(e>=6e5&&e<=2016666)a=3e3+(e-6e5)*.015;else{if(!(e>=2016667)||!(e<=3279165))return null;a=24250.08+(e-2016667)*.06}let n=[];for(let a of D)e>=a.nrarfcnRange[0]&&e<=a.nrarfcnRange[1]&&n.push(a);return 0===n.length?null:{networkType:"NR",earfcn:e,frequency:a.toFixed(2),possibleBands:n}},L=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=parseInt(e);return isNaN(n)?{error:"Please enter a valid number"}:"lte"===a||null===a&&n>=0&&n<=68935?H(n):"nr"===a||null===a&&n>=123400?N(n):null};(0,r.useEffect)(()=>{if(window.localStorage)try{let e=localStorage.getItem("earfcnHistory");if(u("earfcnHistory"),e)try{let a=JSON.parse(e);console.log("Parsed history:",a),w(a)}catch(e){console.error("Error parsing history JSON:",e),w([])}}catch(e){console.error("Error accessing localStorage:",e),w([])}},[]),(0,r.useEffect)(()=>{if(console.log("History changed, saving to localStorage:",y),window.localStorage)try{if(y.length>0){let e=JSON.stringify(y);console.log("Serialized history:",e),localStorage.setItem("earfcnHistory",e)}else localStorage.removeItem("earfcnHistory");u("earfcnHistory")}catch(e){console.error("Error saving history to localStorage:",e)}},[y]);let v=e=>{w(a=>a.filter(a=>a.id!==e))};return(0,l.jsxs)(s.Zp,{className:"w-full",children:[(0,l.jsxs)(s.aR,{children:[(0,l.jsx)(s.ZB,{children:"E/ARFCN Calculator"}),(0,l.jsx)(s.BT,{children:"Calculate frequency information from E/ARFCN for LTE and NR-ARFCN for 5G"})]}),(0,l.jsxs)(s.Wu,{children:[(0,l.jsx)(o.tU,{defaultValue:"auto",value:h,onValueChange:e=>x(e),className:"mb-6",children:(0,l.jsxs)(o.j7,{className:"grid w-full grid-cols-3",children:[(0,l.jsx)(o.Xi,{value:"auto",children:"Auto-Detect"}),(0,l.jsx)(o.Xi,{value:"lte",children:"LTE (4G)"}),(0,l.jsx)(o.Xi,{value:"nr",children:"NR (5G)"})]})}),(0,l.jsxs)("div",{className:"flex space-x-4 mb-6",children:[(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsx)(i.J,{htmlFor:"earfcn",className:"mb-2 block",children:"lte"===h?"E-ARFCN":"nr"===h?"NR-ARFCN":"E/ARFCN Value"}),(0,l.jsx)(d.p,{id:"earfcn",type:"number",placeholder:"Enter channel number",value:e,onChange:e=>a(e.target.value),className:"w-full"})]}),(0,l.jsx)("div",{className:"flex items-end",children:(0,l.jsx)(t.$,{onClick:()=>{if(!e){p("Please enter an E/ARFCN value"),g(null);return}try{let a=L(e,"auto"===h?null:h);if(!a||"error"in a)a&&"error"in a?p(a.error):p("Could not identify band for this E/ARFCN value"),g(null);else{g(a),p("");let e={...a,timestamp:new Date().toISOString(),id:Date.now().toString()};w(a=>[e,...a.slice(0,9)])}}catch(a){let e=a instanceof Error?a.message:"Unknown error";console.error("Calculation error:",a),p("Calculation error: "+e),g(null)}},children:"Calculate"})})]}),m&&(0,l.jsx)("div",{className:"p-3 mb-6 bg-red-50 border border-red-200 text-red-700 rounded",children:m}),n&&(0,l.jsxs)("div",{className:"p-4 border rounded-md bg-gray-50 dark:bg-gray-800",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold mb-3",children:"Result"}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 gap-x-4 mb-8",children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Network Type"}),(0,l.jsx)("div",{className:"font-medium",children:n.networkType}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"LTE"===n.networkType?"EARFCN":"NR-ARFCN"}),(0,l.jsx)("div",{className:"font-medium",children:n.earfcn}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Frequency"}),(0,l.jsxs)("div",{className:"font-medium",children:[n.frequency," MHz"]})]}),(0,l.jsx)("h4",{className:"font-semibold mb-2",children:"Possible Operating Bands"}),(0,l.jsx)("div",{className:"space-y-4",children:n.possibleBands.map((e,a)=>(0,l.jsxs)("div",{className:"border-t pt-2 first:border-t-0 first:pt-0",children:[(0,l.jsxs)("div",{className:"font-semibold",children:["NR"===n.networkType?"n".concat(e.band):"Band ".concat(e.band)," ","(",e.name,")"]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 gap-x-4 mt-1 text-sm",children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Duplex Mode"}),(0,l.jsx)("div",{className:"font-semibold",children:e.duplexType}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Downlink Range"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.dlLow," - ",e.dlHigh," MHz"]}),"FDD"===e.duplexType&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Uplink Range"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.ulLow," - ",e.ulHigh," MHz"]})]}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"LTE"===n.networkType?"EARFCN Range":"NR-ARFCN Range"}),(0,l.jsx)("div",{className:"font-semibold",children:"LTE"===n.networkType?"".concat(e.earfcnRange[0]," - ").concat(e.earfcnRange[1]):"".concat(e.nrarfcnRange[0]," - ").concat(e.nrarfcnRange[1])}),"LTE"===n.networkType&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Downlink Frequency"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.dlFrequency," MHz"]}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Uplink Frequency"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.ulFrequency," MHz"]}),"FDD"===e.duplexType&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Uplink EARFCN"}),(0,l.jsx)("div",{className:"font-semibold",children:e.ulEarfcn})]})]})]})]},a))}),(0,l.jsxs)("div",{className:"text-xs text-gray-500 mt-4",children:["Calculation method:"," ","NR"===n.networkType?"3GPP TS 38.104 Section 5.4.2.1":"3GPP TS 36.101 Section 5.7"]})]}),(0,l.jsxs)("div",{className:"mt-8",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold",children:"Calculation History"}),y.length>0&&(0,l.jsxs)(t.$,{variant:"outline",size:"sm",onClick:()=>{w([])},className:"h-8",children:[(0,l.jsx)(c.A,{className:"h-4 w-4 mr-1"}),"Clear All"]})]}),0===y.length?(0,l.jsx)("div",{className:"text-center p-6 border rounded-md text-gray-500 dark:text-gray-400",children:"No calculation history yet. Enter an E/ARFCN value and click Calculate."}):(0,l.jsx)("div",{className:"space-y-2",children:y.map(e=>(0,l.jsxs)("div",{className:"p-3 border rounded-md flex justify-between items-start bg-gray-50 dark:bg-gray-800",children:[(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("span",{className:"font-semibold text-lg",children:e.earfcn}),(0,l.jsx)("span",{className:"mx-2 text-gray-400",children:"•"}),(0,l.jsxs)("span",{className:"text-sm",children:[e.frequency," MHz"]}),(0,l.jsx)("span",{className:"mx-2 text-gray-400",children:"•"}),(0,l.jsx)("span",{className:"text-sm",children:e.networkType})]}),e.possibleBands&&(0,l.jsxs)("div",{className:"text-sm text-gray-600 dark:text-gray-400 font-medium mt-1",children:["Bands:"," ",e.possibleBands.map(a=>"NR"===e.networkType?"n".concat(a.band):"".concat(a.band)).join(", ")]}),(0,l.jsx)("div",{className:"text-xs text-gray-500 dark:text-gray-500 mt-1",children:e.timestamp?new Date(e.timestamp).toLocaleString():"No timestamp"})]}),(0,l.jsx)(t.$,{variant:"ghost",size:"sm",onClick:()=>v(e.id),className:"text-gray-500 h-8 w-8 p-0",children:(0,l.jsx)(f.A,{className:"h-4 w-4"})})]},e.id))})]})]})]})}},42541:(e,a,n)=>{"use strict";n.d(a,{$:()=>o,r:()=>i});var l=n(20475),r=n(20107),s=n(61837),d=n(29395),t=n(22250);let i=(0,d.F)("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"}}),o=r.forwardRef((e,a)=>{let{className:n,variant:r,size:d,asChild:o=!1,...c}=e,f=o?s.DX:"button";return(0,l.jsx)(f,{className:(0,t.cn)(i({variant:r,size:d,className:n})),ref:a,...c})});o.displayName="Button"},72167:(e,a,n)=>{"use strict";n.d(a,{BT:()=>o,Wu:()=>c,ZB:()=>i,Zp:()=>d,aR:()=>t,wL:()=>f});var l=n(20475),r=n(20107),s=n(22250);let d=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",n),...r})});d.displayName="Card";let t=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",n),...r})});t.displayName="CardHeader";let i=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("h3",{ref:a,className:(0,s.cn)("font-semibold leading-none tracking-tight",n),...r})});i.displayName="CardTitle";let o=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("p",{ref:a,className:(0,s.cn)("text-sm text-muted-foreground",n),...r})});o.displayName="CardDescription";let c=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("p-6 pt-0",n),...r})});c.displayName="CardContent";let f=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("flex items-center p-6 pt-0",n),...r})});f.displayName="CardFooter"},64219:(e,a,n)=>{"use strict";n.d(a,{p:()=>d});var l=n(20475),r=n(20107),s=n(22250);let d=r.forwardRef((e,a)=>{let{className:n,type:r,...d}=e;return(0,l.jsx)("input",{type:r,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",n),ref:a,...d})});d.displayName="Input"},49153:(e,a,n)=>{"use strict";n.d(a,{J:()=>o});var l=n(20475),r=n(20107),s=n(21840),d=n(29395),t=n(22250);let i=(0,d.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),o=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.b,{ref:a,className:(0,t.cn)(i(),n),...r})});o.displayName=s.b.displayName},37921:(e,a,n)=>{"use strict";n.d(a,{Xi:()=>o,av:()=>c,j7:()=>i,tU:()=>t});var l=n(20475),r=n(20107),s=n(93677),d=n(22250);let t=s.bL,i=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.B8,{ref:a,className:(0,d.cn)("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",n),...r})});i.displayName=s.B8.displayName;let o=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.l9,{ref:a,className:(0,d.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",n),...r})});o.displayName=s.l9.displayName;let c=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.UC,{ref:a,className:(0,d.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",n),...r})});c.displayName=s.UC.displayName},22250:(e,a,n)=>{"use strict";n.d(a,{cn:()=>s});var l=n(64901),r=n(868);function s(){for(var e=arguments.length,a=Array(e),n=0;n{var a=a=>e(e.s=a);e.O(0,[1258,3453,5033,191,6035,7358],()=>a(62227)),_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/custom-features/frequency-calculator/page-b0c5cb1e85f813d4.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/frequency-calculator/page-b0c5cb1e85f813d4.js new file mode 100644 index 0000000..fcd4692 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/frequency-calculator/page-b0c5cb1e85f813d4.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6617],{62227:(e,a,n)=>{Promise.resolve().then(n.bind(n,94478))},94478:(e,a,n)=>{"use strict";n.r(a),n.d(a,{default:()=>x});var l=n(20475),r=n(20107),s=n(72167),d=n(64219),t=n(42541),i=n(49153),o=n(93677),c=n(22250);let f=o.bL,u=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(o.B8,{ref:a,className:(0,c.cn)("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",n),...r})});u.displayName=o.B8.displayName;let g=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(o.l9,{ref:a,className:(0,c.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",n),...r})});g.displayName=o.l9.displayName,r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(o.UC,{ref:a,className:(0,c.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",n),...r})}).displayName=o.UC.displayName;var m=n(51873),p=n(58212);let h=e=>{if(window.localStorage)try{let a=localStorage.getItem(e);console.log("LocalStorage value for ".concat(e,":"),a?JSON.parse(a):"null")}catch(e){console.error("Error reading from localStorage:",e)}else console.log("localStorage not available")},x=()=>{let[e,a]=(0,r.useState)(""),[n,o]=(0,r.useState)(null),[c,x]=(0,r.useState)(""),[y,w]=(0,r.useState)("auto"),[b,D]=(0,r.useState)([]),H=[{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,earfcnOffset:0,earfcnRange:[0,599],spacing:.1,duplexType:"FDD"},{band:2,name:"1900 PCS",dlLow:1930,dlHigh:1990,ulLow:1850,ulHigh:1910,earfcnOffset:600,earfcnRange:[600,1199],spacing:.1,duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,earfcnOffset:1200,earfcnRange:[1200,1949],spacing:.1,duplexType:"FDD"},{band:4,name:"AWS-1",dlLow:2110,dlHigh:2155,ulLow:1710,ulHigh:1755,earfcnOffset:1950,earfcnRange:[1950,2399],spacing:.1,duplexType:"FDD"},{band:5,name:"850",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,earfcnOffset:2400,earfcnRange:[2400,2649],spacing:.1,duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,earfcnOffset:2750,earfcnRange:[2750,3449],spacing:.1,duplexType:"FDD"},{band:8,name:"900",dlLow:925,dlHigh:960,ulLow:880,ulHigh:915,earfcnOffset:3450,earfcnRange:[3450,3799],spacing:.1,duplexType:"FDD"},{band:12,name:"700 a",dlLow:729,dlHigh:746,ulLow:699,ulHigh:716,earfcnOffset:5010,earfcnRange:[5010,5179],spacing:.1,duplexType:"FDD"},{band:13,name:"700 c",dlLow:746,dlHigh:756,ulLow:777,ulHigh:787,earfcnOffset:5180,earfcnRange:[5180,5279],spacing:.1,duplexType:"FDD"},{band:14,name:"700 PS",dlLow:758,dlHigh:768,ulLow:788,ulHigh:798,earfcnOffset:5280,earfcnRange:[5280,5379],spacing:.1,duplexType:"FDD"},{band:17,name:"700 b",dlLow:734,dlHigh:746,ulLow:704,ulHigh:716,earfcnOffset:5730,earfcnRange:[5730,5849],spacing:.1,duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,earfcnOffset:6150,earfcnRange:[6150,6449],spacing:.1,duplexType:"FDD"},{band:25,name:"1900+",dlLow:1930,dlHigh:1995,ulLow:1850,ulHigh:1915,earfcnOffset:8040,earfcnRange:[8040,8689],spacing:.1,duplexType:"FDD"},{band:26,name:"850+",dlLow:859,dlHigh:894,ulLow:814,ulHigh:849,earfcnOffset:8690,earfcnRange:[8690,9039],spacing:.1,duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,earfcnOffset:9210,earfcnRange:[9210,9659],spacing:.1,duplexType:"FDD"},{band:66,name:"AWS-3",dlLow:2110,dlHigh:2200,ulLow:1710,ulHigh:1780,earfcnOffset:66436,earfcnRange:[66436,67335],spacing:.1,duplexType:"FDD"},{band:71,name:"600",dlLow:617,dlHigh:652,ulLow:663,ulHigh:698,earfcnOffset:68586,earfcnRange:[68586,68935],spacing:.1,duplexType:"FDD"},{band:38,name:"TD 2600",dlLow:2570,dlHigh:2620,ulLow:2570,ulHigh:2620,earfcnOffset:37750,earfcnRange:[37750,38249],spacing:.1,duplexType:"TDD"},{band:40,name:"TD 2300",dlLow:2300,dlHigh:2400,ulLow:2300,ulHigh:2400,earfcnOffset:38650,earfcnRange:[38650,39649],spacing:.1,duplexType:"TDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,earfcnOffset:39650,earfcnRange:[39650,41589],spacing:.1,duplexType:"TDD"},{band:48,name:"CBRS",dlLow:3550,dlHigh:3700,ulLow:3550,ulHigh:3700,earfcnOffset:55240,earfcnRange:[55240,56739],spacing:.1,duplexType:"TDD"}],N=[{band:5,name:"850",dlLow:869,dlHigh:894,ulLow:824,ulHigh:849,nrarfcnOffset:173800,nrarfcnRange:[173800,178800],duplexType:"FDD"},{band:8,name:"900",dlLow:925,dlHigh:960,ulLow:880,ulHigh:915,nrarfcnOffset:185e3,nrarfcnRange:[185e3,192e3],duplexType:"FDD"},{band:12,name:"700 a",dlLow:729,dlHigh:746,ulLow:699,ulHigh:716,nrarfcnOffset:145800,nrarfcnRange:[145800,149200],duplexType:"FDD"},{band:14,name:"700 PS",dlLow:758,dlHigh:768,ulLow:788,ulHigh:798,nrarfcnOffset:151600,nrarfcnRange:[151600,153600],duplexType:"FDD"},{band:20,name:"800 DD",dlLow:791,dlHigh:821,ulLow:832,ulHigh:862,nrarfcnOffset:158200,nrarfcnRange:[158200,164200],duplexType:"FDD"},{band:28,name:"700 APT",dlLow:758,dlHigh:803,ulLow:703,ulHigh:748,nrarfcnOffset:151600,nrarfcnRange:[151600,160600],duplexType:"FDD"},{band:71,name:"600",dlLow:617,dlHigh:652,ulLow:663,ulHigh:698,nrarfcnOffset:123400,nrarfcnRange:[123400,130400],duplexType:"FDD"},{band:1,name:"2100",dlLow:2110,dlHigh:2170,ulLow:1920,ulHigh:1980,nrarfcnOffset:422e3,nrarfcnRange:[422e3,434e3],duplexType:"FDD"},{band:2,name:"1900 PCS",dlLow:1930,dlHigh:1990,ulLow:1850,ulHigh:1910,nrarfcnOffset:386e3,nrarfcnRange:[386e3,398e3],duplexType:"FDD"},{band:3,name:"1800",dlLow:1805,dlHigh:1880,ulLow:1710,ulHigh:1785,nrarfcnOffset:361e3,nrarfcnRange:[361e3,376e3],duplexType:"FDD"},{band:7,name:"2600",dlLow:2620,dlHigh:2690,ulLow:2500,ulHigh:2570,nrarfcnOffset:524e3,nrarfcnRange:[524e3,538e3],duplexType:"FDD"},{band:25,name:"1900+",dlLow:1930,dlHigh:1995,ulLow:1850,ulHigh:1915,nrarfcnOffset:386e3,nrarfcnRange:[386e3,399e3],duplexType:"FDD"},{band:66,name:"AWS-3",dlLow:2110,dlHigh:2200,ulLow:1710,ulHigh:1780,nrarfcnOffset:422e3,nrarfcnRange:[422e3,44e4],duplexType:"FDD"},{band:70,name:"AWS-4",dlLow:1995,dlHigh:2020,ulLow:1695,ulHigh:1710,nrarfcnOffset:399e3,nrarfcnRange:[399e3,404e3],duplexType:"FDD"},{band:34,name:"2000 TDD",dlLow:2010,dlHigh:2025,ulLow:2010,ulHigh:2025,nrarfcnOffset:402e3,nrarfcnRange:[402e3,405e3],duplexType:"TDD"},{band:38,name:"TD 2600",dlLow:2570,dlHigh:2620,ulLow:2570,ulHigh:2620,nrarfcnOffset:514e3,nrarfcnRange:[514e3,524e3],duplexType:"TDD"},{band:39,name:"IMT 1900 TDD",dlLow:1880,dlHigh:1920,ulLow:1880,ulHigh:1920,nrarfcnOffset:376e3,nrarfcnRange:[376e3,384e3],duplexType:"TDD"},{band:40,name:"TD 2300",dlLow:2300,dlHigh:2400,ulLow:2300,ulHigh:2400,nrarfcnOffset:46e4,nrarfcnRange:[46e4,48e4],duplexType:"TDD"},{band:41,name:"TD 2500",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,nrarfcnOffset:499200,nrarfcnRange:[499200,537999],duplexType:"TDD"},{band:48,name:"CBRS",dlLow:3550,dlHigh:3700,ulLow:3550,ulHigh:3700,nrarfcnOffset:636667,nrarfcnRange:[636667,646666],duplexType:"TDD"},{band:77,name:"C-Band",dlLow:3300,dlHigh:4200,ulLow:3300,ulHigh:4200,nrarfcnOffset:62e4,nrarfcnRange:[62e4,68e4],duplexType:"TDD"},{band:78,name:"C-Band (3.5GHz)",dlLow:3300,dlHigh:3800,ulLow:3300,ulHigh:3800,nrarfcnOffset:62e4,nrarfcnRange:[62e4,653333],duplexType:"TDD"},{band:79,name:"4.5GHz",dlLow:4400,dlHigh:5e3,ulLow:4400,ulHigh:5e3,nrarfcnOffset:693334,nrarfcnRange:[693334,733333],duplexType:"TDD"},{band:90,name:"TD 2600",dlLow:2496,dlHigh:2690,ulLow:2496,ulHigh:2690,nrarfcnOffset:499200,nrarfcnRange:[499200,538e3],duplexType:"TDD"},{band:257,name:"28 GHz",dlLow:26500,dlHigh:29500,ulLow:26500,ulHigh:29500,nrarfcnOffset:2054166,nrarfcnRange:[2054166,2104165],duplexType:"TDD"},{band:258,name:"26 GHz",dlLow:24250,dlHigh:27500,ulLow:24250,ulHigh:27500,nrarfcnOffset:2016667,nrarfcnRange:[2016667,2070832],duplexType:"TDD"},{band:259,name:"41 GHz",dlLow:39500,dlHigh:43500,ulLow:39500,ulHigh:43500,nrarfcnOffset:2270832,nrarfcnRange:[2270832,2337499],duplexType:"TDD"},{band:260,name:"39 GHz",dlLow:37e3,dlHigh:4e4,ulLow:37e3,ulHigh:4e4,nrarfcnOffset:2229166,nrarfcnRange:[2229166,2279165],duplexType:"TDD"},{band:261,name:"28 GHz",dlLow:27500,dlHigh:28350,ulLow:27500,ulHigh:28350,nrarfcnOffset:2070833,nrarfcnRange:[2070833,2084999],duplexType:"TDD"}],L=e=>{let a=[];for(let n of H)if(e>=n.earfcnRange[0]&&e<=n.earfcnRange[1]){let l,r;let s=n.dlLow+(e-n.earfcnOffset)*n.spacing;if("FDD"===n.duplexType){let a=e-n.earfcnOffset;l=e+18e3,r=n.ulLow+a*n.spacing}else l=e,r=s;a.push({...n,dlFrequency:s.toFixed(2),ulFrequency:r.toFixed(2),ulEarfcn:l})}return 0===a.length?null:{networkType:"LTE",earfcn:e,frequency:a[0].dlFrequency,possibleBands:a}},v=e=>{let a;if(e>=0&&e<=599999)a=0+(e-0)*.005;else if(e>=6e5&&e<=2016666)a=3e3+(e-6e5)*.015;else{if(!(e>=2016667)||!(e<=3279165))return null;a=24250.08+(e-2016667)*.06}let n=[];for(let a of N)e>=a.nrarfcnRange[0]&&e<=a.nrarfcnRange[1]&&n.push(a);return 0===n.length?null:{networkType:"NR",earfcn:e,frequency:a.toFixed(2),possibleBands:n}},T=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=parseInt(e);return isNaN(n)?{error:"Please enter a valid number"}:"lte"===a||null===a&&n>=0&&n<=68935?L(n):"nr"===a||null===a&&n>=123400?v(n):null};(0,r.useEffect)(()=>{if(window.localStorage)try{let e=localStorage.getItem("earfcnHistory");if(h("earfcnHistory"),e)try{let a=JSON.parse(e);console.log("Parsed history:",a),D(a)}catch(e){console.error("Error parsing history JSON:",e),D([])}}catch(e){console.error("Error accessing localStorage:",e),D([])}},[]),(0,r.useEffect)(()=>{if(console.log("History changed, saving to localStorage:",b),window.localStorage)try{if(b.length>0){let e=JSON.stringify(b);console.log("Serialized history:",e),localStorage.setItem("earfcnHistory",e)}else localStorage.removeItem("earfcnHistory");h("earfcnHistory")}catch(e){console.error("Error saving history to localStorage:",e)}},[b]);let R=e=>{D(a=>a.filter(a=>a.id!==e))};return(0,l.jsxs)(s.Zp,{className:"w-full",children:[(0,l.jsxs)(s.aR,{children:[(0,l.jsx)(s.ZB,{children:"E/ARFCN Calculator"}),(0,l.jsx)(s.BT,{children:"Calculate frequency information from E/ARFCN for LTE and NR-ARFCN for 5G"})]}),(0,l.jsxs)(s.Wu,{children:[(0,l.jsx)(f,{defaultValue:"auto",value:y,onValueChange:e=>w(e),className:"mb-6",children:(0,l.jsxs)(u,{className:"grid w-full grid-cols-3",children:[(0,l.jsx)(g,{value:"auto",children:"Auto-Detect"}),(0,l.jsx)(g,{value:"lte",children:"LTE (4G)"}),(0,l.jsx)(g,{value:"nr",children:"NR (5G)"})]})}),(0,l.jsxs)("div",{className:"flex space-x-4 mb-6",children:[(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsx)(i.J,{htmlFor:"earfcn",className:"mb-2 block",children:"lte"===y?"E-ARFCN":"nr"===y?"NR-ARFCN":"E/ARFCN Value"}),(0,l.jsx)(d.p,{id:"earfcn",type:"number",placeholder:"Enter channel number",value:e,onChange:e=>a(e.target.value),className:"w-full"})]}),(0,l.jsx)("div",{className:"flex items-end",children:(0,l.jsx)(t.$,{onClick:()=>{if(!e){x("Please enter an E/ARFCN value"),o(null);return}try{let a=T(e,"auto"===y?null:y);if(!a||"error"in a)a&&"error"in a?x(a.error):x("Could not identify band for this E/ARFCN value"),o(null);else{o(a),x("");let e={...a,timestamp:new Date().toISOString(),id:Date.now().toString()};D(a=>[e,...a.slice(0,9)])}}catch(a){let e=a instanceof Error?a.message:"Unknown error";console.error("Calculation error:",a),x("Calculation error: "+e),o(null)}},children:"Calculate"})})]}),c&&(0,l.jsx)("div",{className:"p-3 mb-6 bg-red-50 border border-red-200 text-red-700 rounded",children:c}),n&&(0,l.jsxs)("div",{className:"p-4 border rounded-md bg-gray-50 dark:bg-gray-800",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold mb-3",children:"Result"}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 gap-x-4 mb-8",children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Network Type"}),(0,l.jsx)("div",{className:"font-medium",children:n.networkType}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"LTE"===n.networkType?"EARFCN":"NR-ARFCN"}),(0,l.jsx)("div",{className:"font-medium",children:n.earfcn}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Frequency"}),(0,l.jsxs)("div",{className:"font-medium",children:[n.frequency," MHz"]})]}),(0,l.jsx)("h4",{className:"font-semibold mb-2",children:"Possible Operating Bands"}),(0,l.jsx)("div",{className:"space-y-4",children:n.possibleBands.map((e,a)=>(0,l.jsxs)("div",{className:"border-t pt-2 first:border-t-0 first:pt-0",children:[(0,l.jsxs)("div",{className:"font-semibold",children:["NR"===n.networkType?"n".concat(e.band):"Band ".concat(e.band)," ","(",e.name,")"]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-y-1 gap-x-4 mt-1 text-sm",children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Duplex Mode"}),(0,l.jsx)("div",{className:"font-semibold",children:e.duplexType}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Downlink Range"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.dlLow," - ",e.dlHigh," MHz"]}),"FDD"===e.duplexType&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Uplink Range"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.ulLow," - ",e.ulHigh," MHz"]})]}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"LTE"===n.networkType?"EARFCN Range":"NR-ARFCN Range"}),(0,l.jsx)("div",{className:"font-semibold",children:"LTE"===n.networkType?"".concat(e.earfcnRange[0]," - ").concat(e.earfcnRange[1]):"".concat(e.nrarfcnRange[0]," - ").concat(e.nrarfcnRange[1])}),"LTE"===n.networkType&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Downlink Frequency"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.dlFrequency," MHz"]}),(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Uplink Frequency"}),(0,l.jsxs)("div",{className:"font-semibold",children:[e.ulFrequency," MHz"]}),"FDD"===e.duplexType&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-gray-600 dark:text-gray-400 font-medium",children:"Uplink EARFCN"}),(0,l.jsx)("div",{className:"font-semibold",children:e.ulEarfcn})]})]})]})]},a))}),(0,l.jsxs)("div",{className:"text-xs text-gray-500 mt-4",children:["Calculation method:"," ","NR"===n.networkType?"3GPP TS 38.104 Section 5.4.2.1":"3GPP TS 36.101 Section 5.7"]})]}),(0,l.jsxs)("div",{className:"mt-8",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold",children:"Calculation History"}),b.length>0&&(0,l.jsxs)(t.$,{variant:"outline",size:"sm",onClick:()=>{D([])},className:"h-8",children:[(0,l.jsx)(m.A,{className:"h-4 w-4 mr-1"}),"Clear All"]})]}),0===b.length?(0,l.jsx)("div",{className:"text-center p-6 border rounded-md text-gray-500 dark:text-gray-400",children:"No calculation history yet. Enter an E/ARFCN value and click Calculate."}):(0,l.jsx)("div",{className:"space-y-2",children:b.map(e=>(0,l.jsxs)("div",{className:"p-3 border rounded-md flex justify-between items-start bg-gray-50 dark:bg-gray-800",children:[(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("span",{className:"font-semibold text-lg",children:e.earfcn}),(0,l.jsx)("span",{className:"mx-2 text-gray-400",children:"•"}),(0,l.jsxs)("span",{className:"text-sm",children:[e.frequency," MHz"]}),(0,l.jsx)("span",{className:"mx-2 text-gray-400",children:"•"}),(0,l.jsx)("span",{className:"text-sm",children:e.networkType})]}),e.possibleBands&&(0,l.jsxs)("div",{className:"text-sm text-gray-600 dark:text-gray-400 font-medium mt-1",children:["Bands:"," ",e.possibleBands.map(a=>"NR"===e.networkType?"n".concat(a.band):"".concat(a.band)).join(", ")]}),(0,l.jsx)("div",{className:"text-xs text-gray-500 dark:text-gray-500 mt-1",children:e.timestamp?new Date(e.timestamp).toLocaleString():"No timestamp"})]}),(0,l.jsx)(t.$,{variant:"ghost",size:"sm",onClick:()=>R(e.id),className:"text-gray-500 h-8 w-8 p-0",children:(0,l.jsx)(p.A,{className:"h-4 w-4"})})]},e.id))})]})]})]})}},42541:(e,a,n)=>{"use strict";n.d(a,{$:()=>o,r:()=>i});var l=n(20475),r=n(20107),s=n(61837),d=n(29395),t=n(22250);let i=(0,d.F)("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"}}),o=r.forwardRef((e,a)=>{let{className:n,variant:r,size:d,asChild:o=!1,...c}=e,f=o?s.DX:"button";return(0,l.jsx)(f,{className:(0,t.cn)(i({variant:r,size:d,className:n})),ref:a,...c})});o.displayName="Button"},72167:(e,a,n)=>{"use strict";n.d(a,{BT:()=>o,Wu:()=>c,ZB:()=>i,Zp:()=>d,aR:()=>t,wL:()=>f});var l=n(20475),r=n(20107),s=n(22250);let d=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",n),...r})});d.displayName="Card";let t=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",n),...r})});t.displayName="CardHeader";let i=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("h3",{ref:a,className:(0,s.cn)("font-semibold leading-none tracking-tight",n),...r})});i.displayName="CardTitle";let o=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("p",{ref:a,className:(0,s.cn)("text-sm text-muted-foreground",n),...r})});o.displayName="CardDescription";let c=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("p-6 pt-0",n),...r})});c.displayName="CardContent";let f=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)("div",{ref:a,className:(0,s.cn)("flex items-center p-6 pt-0",n),...r})});f.displayName="CardFooter"},64219:(e,a,n)=>{"use strict";n.d(a,{p:()=>d});var l=n(20475),r=n(20107),s=n(22250);let d=r.forwardRef((e,a)=>{let{className:n,type:r,...d}=e;return(0,l.jsx)("input",{type:r,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",n),ref:a,...d})});d.displayName="Input"},49153:(e,a,n)=>{"use strict";n.d(a,{J:()=>o});var l=n(20475),r=n(20107),s=n(21840),d=n(29395),t=n(22250);let i=(0,d.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),o=r.forwardRef((e,a)=>{let{className:n,...r}=e;return(0,l.jsx)(s.b,{ref:a,className:(0,t.cn)(i(),n),...r})});o.displayName=s.b.displayName},22250:(e,a,n)=>{"use strict";n.d(a,{cn:()=>s});var l=n(64901),r=n(868);function s(){for(var e=arguments.length,a=Array(e),n=0;n{var a=a=>e(e.s=a);e.O(0,[7780,9007,191,6035,7358],()=>a(62227)),_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/custom-features/layout-35e194524adc3363.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/layout-35e194524adc3363.js deleted file mode 100644 index 855d37e..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/layout-35e194524adc3363.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8248],{43421:(e,s,a)=>{Promise.resolve().then(a.bind(a,14938))},14938:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>o});var r=a(20475);a(20107);var t=a(16118),c=a(9477),l=a.n(c);let o=e=>{let{children:s}=e,a=(0,t.usePathname)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,r.jsx)("h1",{className:"text-3xl font-semibold",children:"Custom Features"})}),(0,r.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,r.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,r.jsx)(l(),{href:"/dashboard/custom-features/quecwatch",className:"".concat("/dashboard/custom-features/quecwatch"===a?"font-semibold text-primary":"text-sm"),children:"QuecWatch"}),(0,r.jsx)(l(),{href:"/dashboard/custom-features/quecprofiles",className:"".concat("/dashboard/custom-features/quecprofiles"===a?"font-semibold text-primary":"text-sm"),children:"QuecProfiles"}),(0,r.jsx)(l(),{href:"/dashboard/custom-features/cell-scanner",className:"".concat("/dashboard/custom-features/cell-scanner"===a?"font-semibold text-primary":"text-sm"),children:"Cell Scanner"}),(0,r.jsx)(l(),{href:"/dashboard/custom-features/frequency-calculator",className:"".concat("/dashboard/custom-features/frequency-calculator"===a?"font-semibold text-primary":"text-sm"),children:"Frequency Calculator"})]}),s]})]})}}},e=>{var s=s=>e(e.s=s);e.O(0,[1318,191,6035,7358],()=>s(43421)),_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/custom-features/layout-8acecbbd9a820475.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js new file mode 100644 index 0000000..daa9c3b --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8248],{43421:(e,s,a)=>{Promise.resolve().then(a.bind(a,14938))},14938:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>l});var t=a(20475);a(20107);var r=a(16118),c=a(9477),u=a.n(c);let l=e=>{let{children:s}=e,a=(0,r.usePathname)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,t.jsx)("h1",{className:"text-3xl font-semibold",children:"Custom Features"})}),(0,t.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,t.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,t.jsx)(u(),{href:"/dashboard/custom-features/quecwatch",className:"".concat("/dashboard/custom-features/quecwatch"===a?"font-semibold text-primary":"text-sm"),children:"QuecWatch"}),(0,t.jsx)(u(),{href:"/dashboard/custom-features/quecprofiles",className:"".concat("/dashboard/custom-features/quecprofiles"===a?"font-semibold text-primary":"text-sm"),children:"QuecProfiles"}),(0,t.jsx)(u(),{href:"/dashboard/custom-features/cell-scanner",className:"".concat("/dashboard/custom-features/cell-scanner"===a?"font-semibold text-primary":"text-sm"),children:"Cell Scanner"}),(0,t.jsx)(u(),{href:"/dashboard/custom-features/frequency-calculator",className:"".concat("/dashboard/custom-features/frequency-calculator"===a?"font-semibold text-primary":"text-sm"),children:"Frequency Calculator"})]}),s]})]})}},16118:(e,s,a)=>{"use strict";var t=a(65834);a.o(t,"usePathname")&&a.d(s,{usePathname:function(){return t.usePathname}}),a.o(t,"useRouter")&&a.d(s,{useRouter:function(){return t.useRouter}})}},e=>{var s=s=>e(e.s=s);e.O(0,[9477,191,6035,7358],()=>s(43421)),_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/custom-features/page-97fe2c69a10d3b73.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/page-d44d732f4f322468.js similarity index 72% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/page-97fe2c69a10d3b73.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/page-d44d732f4f322468.js index 02b3a05..d733d5f 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/page-97fe2c69a10d3b73.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/page-d44d732f4f322468.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2687],{81328:(e,s,_)=>{Promise.resolve().then(_.bind(_,31917))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,1258,4687,3746,9464,3494,3048,1917,191,6035,7358],()=>s(81328)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2687],{81328:(e,s,_)=>{Promise.resolve().then(_.bind(_,31917))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,7780,8885,3746,9464,3494,3048,4409,191,6035,7358],()=>s(81328)),_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/custom-features/quecprofiles/page-5788b89ed3198a15.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/quecprofiles/page-5788b89ed3198a15.js deleted file mode 100644 index 183bbc2..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/quecprofiles/page-5788b89ed3198a15.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4840],{18866:(e,s,t)=>{Promise.resolve().then(t.bind(t,70687))},70687:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>er});var a,r=t(20475),n=t(20107),i=t(32857),l=t(72167),d=t(55948),c=t(94521),o=t(45170),m=t(13061),p=t(64236),u=t(57563),h=(t(41913),t(54245)),x=t(34544),f=t(55302),g="HoverCard",[j,N]=(0,o.A)(g,[u.Bk]),y=(0,u.Bk)(),[v,b]=j(g),w=e=>{let{__scopeHoverCard:s,children:t,open:a,defaultOpen:i,onOpenChange:l,openDelay:d=700,closeDelay:c=300}=e,o=y(s),p=n.useRef(0),h=n.useRef(0),x=n.useRef(!1),f=n.useRef(!1),[g=!1,j]=(0,m.i)({prop:a,defaultProp:i,onChange:l}),N=n.useCallback(()=>{clearTimeout(h.current),p.current=window.setTimeout(()=>j(!0),d)},[d,j]),b=n.useCallback(()=>{clearTimeout(p.current),x.current||f.current||(h.current=window.setTimeout(()=>j(!1),c))},[c,j]),w=n.useCallback(()=>j(!1),[j]);return n.useEffect(()=>()=>{clearTimeout(p.current),clearTimeout(h.current)},[]),(0,r.jsx)(v,{scope:s,open:g,onOpenChange:j,onOpen:N,onClose:b,onDismiss:w,hasSelectionRef:x,isPointerDownOnContentRef:f,children:(0,r.jsx)(u.bL,{...o,children:t})})};w.displayName=g;var _="HoverCardTrigger",P=n.forwardRef((e,s)=>{let{__scopeHoverCard:t,...a}=e,n=b(_,t),i=y(t);return(0,r.jsx)(u.Mz,{asChild:!0,...i,children:(0,r.jsx)(x.sG.a,{"data-state":n.open?"open":"closed",...a,ref:s,onPointerEnter:(0,c.m)(e.onPointerEnter,I(n.onOpen)),onPointerLeave:(0,c.m)(e.onPointerLeave,I(n.onClose)),onFocus:(0,c.m)(e.onFocus,n.onOpen),onBlur:(0,c.m)(e.onBlur,n.onClose),onTouchStart:(0,c.m)(e.onTouchStart,e=>e.preventDefault())})})});P.displayName=_;var[C,k]=j("HoverCardPortal",{forceMount:void 0}),E="HoverCardContent",A=n.forwardRef((e,s)=>{let t=k(E,e.__scopeHoverCard),{forceMount:a=t.forceMount,...n}=e,i=b(E,e.__scopeHoverCard);return(0,r.jsx)(h.C,{present:a||i.open,children:(0,r.jsx)(T,{"data-state":i.open?"open":"closed",...n,onPointerEnter:(0,c.m)(e.onPointerEnter,I(i.onOpen)),onPointerLeave:(0,c.m)(e.onPointerLeave,I(i.onClose)),ref:s})})});A.displayName=E;var T=n.forwardRef((e,s)=>{let{__scopeHoverCard:t,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:o,...m}=e,h=b(E,t),x=y(t),g=n.useRef(null),j=(0,p.s)(s,g),[N,v]=n.useState(!1);return n.useEffect(()=>{if(N){let e=document.body;return a=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=a,e.style.webkitUserSelect=a}}},[N]),n.useEffect(()=>{if(g.current){let e=()=>{v(!1),h.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var e;(null===(e=document.getSelection())||void 0===e?void 0:e.toString())!==""&&(h.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),h.hasSelectionRef.current=!1,h.isPointerDownOnContentRef.current=!1}}},[h.isPointerDownOnContentRef,h.hasSelectionRef]),n.useEffect(()=>{g.current&&(function(e){let s=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;t.nextNode();)s.push(t.currentNode);return s})(g.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,r.jsx)(f.qW,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:o,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:(0,c.m)(d,e=>{e.preventDefault()}),onDismiss:h.onDismiss,children:(0,r.jsx)(u.UC,{...x,...m,onPointerDown:(0,c.m)(m.onPointerDown,e=>{e.currentTarget.contains(e.target)&&v(!0),h.hasSelectionRef.current=!1,h.isPointerDownOnContentRef.current=!0}),ref:j,style:{...m.style,userSelect:N?"text":void 0,WebkitUserSelect:N?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})});function I(e){return s=>"touch"===s.pointerType?void 0:e()}n.forwardRef((e,s)=>{let{__scopeHoverCard:t,...a}=e,n=y(t);return(0,r.jsx)(u.i3,{...n,...a,ref:s})}).displayName="HoverCardArrow";var S=t(22250);let F=n.forwardRef((e,s)=>{let{className:t,align:a="center",sideOffset:n=4,...i}=e;return(0,r.jsx)(A,{ref:s,align:a,sideOffset:n,className:(0,S.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...i})});F.displayName=A.displayName;var R=t(93557),L=t(35601),M=t(42541),D=t(17799),O=t(39997);let z=(0,O.A)("CirclePause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]);var J=t(59166),q=t(97801),B=t(98969);let V=(0,O.A)("UserRoundPen",[["path",{d:"M2 21a8 8 0 0 1 10.821-7.487",key:"1c8h7z"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}]]);var G=t(52161);let U=(0,O.A)("Grid2x2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M12 3v18",key:"108xh3"}]]),H=(0,O.A)("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]);var $=t(26459);let W=(0,O.A)("PencilLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}],["path",{d:"m15 5 3 3",key:"1w25hb"}]]);var Z=t(14389),X=t(51873),Y=t(49153),K=t(64219),Q=t(36760),ee=t(45934),es=t(49573),et=t(76554),ea=t(7197);let er=()=>{let{toast:e}=(0,i.dj)(),[s,t]=(0,n.useState)([]),[a,c]=(0,n.useState)(!0),[o,m]=(0,n.useState)(!1),[p,u]=(0,n.useState)("grid"),[h,x]=(0,n.useState)(!1),[f,g]=(0,n.useState)("create"),[j,N]=(0,n.useState)(null),[y,v]=(0,n.useState)(null),[b,_]=(0,n.useState)(""),[C,k]=(0,n.useState)(!1),[E,A]=(0,n.useState)({iccid:"",imei:""}),[T,I]=(0,n.useState)({name:"",iccid:"",imei:"",apn:"",pdp_type:"IPV4V6",lte_bands:"",sa_nr5g_bands:"",nsa_nr5g_bands:"",network_type:"LTE",ttl:"0",paused:"0"}),[O,er]=(0,n.useState)(null);(0,n.useEffect)(()=>{ei(),el(),en();let e=setInterval(el,5e3);return()=>clearInterval(e)},[]);let en=async()=>{k(!0);try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=9");if(!e.ok)throw Error("Failed to fetch device information");let s=await e.json();console.log("Device info response:",s);let t="",a="",r=s.find(e=>"AT+ICCID"===e.command);if(r&&"success"===r.status){let e=r.response.match(/\d{10,20}/);e&&(t=e[0])}let n=s.find(e=>"AT+CGSN"===e.command);if(n&&"success"===n.status){let e=n.response.match(/\d{15}/);e&&(a=e[0])}console.log("Extracted device info - ICCID:",t,"IMEI:",a),A({iccid:t,imei:a}),I(e=>({...e,iccid:t||e.iccid,imei:a||e.imei}))}catch(s){console.error("Error fetching device information:",s),e({title:"Info",description:"Could not auto-populate device information",variant:"default"})}finally{k(!1)}},ei=async()=>{c(!0);try{let e=await fetch("/cgi-bin/quecmanager/profiles/list_profiles.sh");if(e.ok){let s=await e.json();"success"===s.status&&Array.isArray(s.profiles)?(console.log("Fetched profiles:",s.profiles),t(s.profiles)):(console.error("Invalid profile data structure:",s),t([]))}else console.error("Failed to fetch profiles:",e.statusText),t([])}catch(s){console.error("Error fetching profiles:",s),t([]),e({title:"Error",description:"Failed to load profiles. Please try again.",variant:"destructive"})}finally{c(!1)}},el=async()=>{try{let s=await fetch("/cgi-bin/quecmanager/profiles/check_status.sh");if(s.ok){let t=await s.json();v(t),"idle"===t.status||t.status===b||t.message.includes("already applied")||t.message.includes("Profile already correctly applied")||"applying"!==t.status||(e({title:"Profile: ".concat(t.profile),description:t.message,variant:"error"===t.status?"destructive":"default"}),_(t.status))}}catch(e){}},ed=e=>{let{id:s,value:t}=e.target;if("ttl"===s){let e=parseInt(t);if(""===t||isNaN(e)||e<0){I({...T,ttl:"0"});return}if(e>255){I({...T,ttl:"255"});return}}I({...T,[s]:t})},ec=(e,s)=>{I({...T,[e]:s})},eo=e=>{let s=e.trim(),t=s.indexOf("{");t>0&&(s=s.substring(t));let a=0,r=s.length;for(let e=0;e{m(!0),er(null);try{let s;if(!T.name||!T.iccid||!T.apn){er("Profile name, ICCID, and APN are required"),m(!1);return}if(T.ttl&&(0>parseInt(T.ttl)||parseInt(T.ttl)>255)){er("TTL must be between 0 and 255"),m(!1);return}let t={name:T.name,iccid:T.iccid,imei:T.imei||"",apn:T.apn,pdp_type:T.pdp_type,lte_bands:T.lte_bands,sa_nr5g_bands:T.sa_nr5g_bands||"",nsa_nr5g_bands:T.nsa_nr5g_bands||"",network_type:T.network_type,ttl:T.ttl||"0",paused:"0"},a=await fetch("/cgi-bin/quecmanager/profiles/quec_profile_create.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),r=await a.text();try{s=eo(r)}catch(e){er("Invalid response format from server"),m(!1);return}"success"===s.status?(x(!1),I({name:"",iccid:"",imei:"",apn:"",pdp_type:"IPV4V6",lte_bands:"",sa_nr5g_bands:"",nsa_nr5g_bands:"",network_type:"LTE",ttl:"0",paused:"0"}),e({title:"Success",description:"Profile created successfully",variant:"default"}),await ei(),await el()):er(s.message||"Failed to create profile")}catch(e){er("An unexpected error occurred")}finally{m(!1)}},ep=async()=>{m(!0),er(null);try{let s;if(!T.name||!T.iccid||!T.apn){er("Profile name, ICCID, and APN are required"),m(!1);return}if(T.ttl&&(0>parseInt(T.ttl)||parseInt(T.ttl)>255)){er("TTL must be between 0 and 255"),m(!1);return}let t={name:T.name,iccid:T.iccid,imei:T.imei||"",apn:T.apn,pdp_type:T.pdp_type,lte_bands:T.lte_bands,sa_nr5g_bands:T.sa_nr5g_bands||"",nsa_nr5g_bands:T.nsa_nr5g_bands||"",network_type:T.network_type,ttl:T.ttl||"0",paused:T.paused||"0"};console.log("Sending update request with data:",t);let a=await fetch("/cgi-bin/quecmanager/profiles/quec_profile_edit.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),r=await a.text();try{s=eo(r)}catch(e){er("Invalid response format from server"),m(!1);return}"success"===s.status?(x(!1),I({name:"",iccid:"",imei:"",apn:"",pdp_type:"IPV4V6",lte_bands:"",sa_nr5g_bands:"",nsa_nr5g_bands:"",network_type:"LTE",ttl:"0",paused:"0"}),e({title:"Success",description:"Profile updated successfully",variant:"default"}),await ei()):er(s.message||"Failed to update profile")}catch(e){er("An unexpected error occurred")}finally{m(!1)}},eu=async(s,t)=>{try{let a;if(!window.confirm('Are you sure you want to delete profile "'.concat(t,'"?')))return;let r=await fetch("/cgi-bin/quecmanager/profiles/quec_profile_delete.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({iccid:s})}),n=await r.text();try{a=eo(n)}catch(s){e({title:"Error",description:"Failed to parse server response",variant:"destructive"});return}"success"===a.status?(e({title:"Profile Deleted",description:'Profile "'.concat(t,'" has been deleted successfully'),variant:"default"}),await ei(),await el()):e({title:"Error",description:a.message||"Failed to delete profile",variant:"destructive"})}catch(s){e({title:"Error",description:"An unexpected error occurred while deleting the profile",variant:"destructive"})}},eh=async(s,t,a)=>{try{let t;let r="1"===a?"0":"1",n=await fetch("/cgi-bin/quecmanager/profiles/toggle_pause.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({iccid:s,paused:r})}),i=await n.text();try{t=eo(i)}catch(s){e({title:"Error",description:"Invalid response format from server",variant:"destructive"});return}"success"===t.status?(e({title:"1"===r?"Profile Paused":"Profile Resumed",description:t.message,variant:"default"}),await ei(),await el()):e({title:"Error",description:t.message||"Failed to update profile status",variant:"destructive"})}catch(s){e({title:"Error",description:"An unexpected error occurred while updating the profile",variant:"destructive"})}},ex=e=>{g("edit"),I({name:e.name,iccid:e.iccid,imei:e.imei||"",apn:e.apn,pdp_type:e.pdp_type,lte_bands:e.lte_bands,sa_nr5g_bands:e.sa_nr5g_bands||"",nsa_nr5g_bands:e.nsa_nr5g_bands||"",network_type:e.network_type,ttl:e.ttl||"0",paused:e.paused||"0"}),N(e),er(null),x(!0)},ef=e=>{switch(e){case"AUTO":return"AUTO";case"LTE":return"4G LTE";case"NR5G":return"5G SA";case"LTE:NR5G":return"5G NSA";default:return e}};return(0,r.jsx)("div",{children:(0,r.jsxs)(l.Zp,{children:[(0,r.jsxs)(l.aR,{children:[(0,r.jsx)(l.ZB,{children:"QuecProfiles"}),(0,r.jsx)(l.BT,{children:"Configure personalized profiles for your SIM cards to manage connectivity settings and network preferences."})]}),(0,r.jsxs)(l.Wu,{className:"grid gap-y-8",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)(R.lG,{open:h,onOpenChange:x,children:[(0,r.jsx)(R.zM,{asChild:!0,children:(0,r.jsxs)(M.$,{onClick:()=>{g("create"),er(null),I({name:"",iccid:E.iccid||"",imei:E.imei||"",apn:"",pdp_type:"IPV4V6",lte_bands:"",sa_nr5g_bands:"",nsa_nr5g_bands:"",network_type:"LTE",ttl:"0",paused:"0"}),x(!0)},children:[(0,r.jsx)(V,{className:"w-4 h-4"}),"Add New Profile"]})}),(0,r.jsxs)(R.Cf,{children:[(0,r.jsxs)(R.c7,{children:[(0,r.jsx)(R.L3,{children:"create"===f?"Add New Profile":"Edit Profile"}),(0,r.jsx)(R.rr,{children:"create"===f?"Create a new profile for your SIM card to manage connectivity settings and network preferences.":"Update the settings for this profile."})]}),O&&(0,r.jsxs)(es.Fc,{variant:"destructive",className:"my-2",children:[(0,r.jsx)(D.A,{className:"h-4 w-4"}),(0,r.jsx)(es.XL,{children:"Error"}),(0,r.jsx)(es.TN,{children:O})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-y-5 gap-x-4 py-4",children:[(0,r.jsxs)("div",{className:"col-span-2 grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"name",children:"Profile Name"}),(0,r.jsx)(K.p,{id:"name",placeholder:"My Network Profile",value:T.name,onChange:ed,required:!0})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"iccid",children:"ICCID"}),(0,r.jsx)(K.p,{id:"iccid",placeholder:"SIM ICCID",value:T.iccid,onChange:ed,disabled:"edit"===f,required:!0})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"imei",children:"IMEI"}),(0,r.jsx)(K.p,{id:"imei",placeholder:"Preferred IMEI",value:T.imei,onChange:ed})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"apn",children:"APN"}),(0,r.jsx)(K.p,{id:"apn",placeholder:"internet",value:T.apn,onChange:ed,required:!0})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"pdp_type",children:"APN PDP Type"}),(0,r.jsxs)(L.l6,{value:T.pdp_type,onValueChange:e=>ec("pdp_type",e),children:[(0,r.jsx)(L.bq,{children:(0,r.jsx)(L.yv,{placeholder:"PDP Type"})}),(0,r.jsxs)(L.gC,{children:[(0,r.jsx)(L.eb,{value:"IP",children:"IPV4"}),(0,r.jsx)(L.eb,{value:"IPV6",children:"IPV6"}),(0,r.jsx)(L.eb,{value:"IPV4V6",children:"IPV4 & IPV6"})]})]})]}),(0,r.jsxs)("div",{className:"col-span-2 grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"lte_bands",children:"LTE Bands"}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(K.p,{id:"lte_bands",placeholder:"1,3,7,20",value:T.lte_bands,onChange:ed}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground italic",children:"Comma-separated list of LTE bands."})]})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"nsa_nr5g_bands",children:"NR5G-NSA Bands"}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(K.p,{id:"nsa_nr5g_bands",placeholder:"41,78",value:T.nsa_nr5g_bands,onChange:ed}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground italic",children:"Comma-separated list of NSA bands."})]})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"sa_nr5g_bands",children:"NR5G-SA Bands"}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(K.p,{id:"sa_nr5g_bands",placeholder:"41,78",value:T.sa_nr5g_bands,onChange:ed}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground italic",children:"Comma-separated list of SA bands."})]})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"network_type",children:"Network Type"}),(0,r.jsxs)(L.l6,{value:T.network_type,onValueChange:e=>ec("network_type",e),children:[(0,r.jsx)(L.bq,{children:(0,r.jsx)(L.yv,{placeholder:"Network Type"})}),(0,r.jsxs)(L.gC,{children:[(0,r.jsx)(L.eb,{value:"LTE",children:"LTE Only"}),(0,r.jsx)(L.eb,{value:"NR5G",children:"NR5G Only"}),(0,r.jsx)(L.eb,{value:"LTE:NR5G",children:"NR5G-NSA w/ LTE"})]})]})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"ttl",children:"TTL Value"}),(0,r.jsx)("div",{className:"grid gap-0.5",children:(0,r.jsx)(K.p,{id:"ttl",type:"number",min:"0",max:"255",placeholder:"0 (disabled)",value:T.ttl,onChange:ed})})]})]}),(0,r.jsx)(R.Es,{children:(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(M.$,{variant:"secondary",onClick:()=>x(!1),disabled:o,children:"Cancel"}),(0,r.jsx)(M.$,{onClick:"create"===f?em:ep,disabled:o,children:o?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(J.A,{className:"h-4 w-4 animate-spin"}),"create"===f?"Creating...":"Updating..."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(G.A,{className:"h-4 w-4"}),"create"===f?"Save Profile":"Update Profile"]})})]})})]})]}),(0,r.jsxs)("div",{className:"flex bg-gray-100 dark:bg-gray-800 rounded-md p-1",children:[(0,r.jsx)("button",{className:"p-1 rounded ".concat("grid"===p?"bg-white dark:bg-gray-700 shadow-sm":""),onClick:()=>u("grid"),children:(0,r.jsx)(U,{size:18})}),(0,r.jsx)("button",{className:"p-1 rounded ".concat("list"===p?"bg-white dark:bg-gray-700 shadow-sm":""),onClick:()=>u("list"),children:(0,r.jsx)(H,{size:18})})]})]}),"grid"===p&&(0,r.jsx)("div",{className:"grid gap-4",children:a?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"border rounded-lg p-4",children:(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)(Q.E,{className:"h-5 w-40"}),(0,r.jsx)(Q.E,{className:"h-4 w-20"}),(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-4 pt-4",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(Q.E,{className:"h-3 w-20"}),(0,r.jsx)(Q.E,{className:"h-4 w-32"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(Q.E,{className:"h-3 w-20"}),(0,r.jsx)(Q.E,{className:"h-4 w-32"})]})]})]})})}):s&&s.length>0?s.map((e,s)=>(0,r.jsxs)(l.Zp,{children:[(0,r.jsxs)(l.aR,{children:[(0,r.jsxs)("div",{className:"flex items-start justify-between",children:[(0,r.jsx)(l.ZB,{className:"xl:text-xl font-bold tracking-wide",children:e.name}),(0,r.jsxs)(d.AM,{children:[(0,r.jsx)(d.Wv,{children:(0,r.jsx)($.A,{className:"h-4 w-4"})}),(0,r.jsx)(d.hl,{className:"w-48",children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)(M.$,{onClick:()=>ex(e),children:[(0,r.jsx)(W,{className:"h-4 w-4"}),"Edit Profile"]}),(0,r.jsx)(M.$,{onClick:()=>eh(e.iccid,e.name,e.paused||"0"),className:(0,S.cn)("w-full justify-start","1"===e.paused&&"bg-emerald-600 hover:bg-emerald-700 text-white","0"===e.paused&&"bg-orange-500 hover:bg-orange-600 text-white"),children:"1"===e.paused?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Z.A,{className:"h-4 w-4"}),"Resume Profile"]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(z,{className:"h-4 w-4"}),"Pause Profile"]})}),(0,r.jsx)(et.w,{className:"my-1"}),(0,r.jsxs)(M.$,{variant:"destructive",onClick:()=>eu(e.iccid,e.name),children:[(0,r.jsx)(X.A,{className:"h-4 w-4"}),"Delete Profile"]})]})})]})]}),(0,r.jsxs)(l.BT,{className:"flex items-center",children:[(0,r.jsx)(ee.E,{variant:"secondary",className:"text-xs",children:ef(e.network_type)}),"1"===e.paused&&(0,r.jsx)(ee.E,{variant:"outline",className:"ml-2 bg-orange-500 hover:bg-orange-600",children:"Paused"})]})]}),(0,r.jsx)(l.Wu,{children:(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"ICCID-".concat(s),className:"text-sm text-muted-foreground",children:"SIM ICCID"}),(0,r.jsx)("p",{id:"ICCID-".concat(s),className:"font-semibold",children:e.iccid})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"IMEI-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred IMEI"}),(0,r.jsx)("p",{id:"IMEI-".concat(s),className:"font-semibold",children:e.imei||"-"})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"APN-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred APN"}),(0,r.jsx)("p",{id:"APN-".concat(s),className:"font-semibold",children:e.apn})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"PDP-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred APN PDP Type"}),(0,r.jsx)("p",{id:"PDP-".concat(s),className:"font-semibold",children:e.pdp_type})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"prefTTl-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred TTL"}),(0,r.jsx)("p",{id:"prefTTL-".concat(s),className:"font-semibold",children:e.ttl||"0"})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"prefLTEBands-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred LTE Bands"}),(0,r.jsx)("p",{id:"prefLTEBands-".concat(s),className:"font-semibold",children:e.lte_bands||"-"})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"prefNRNSABands-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred NR5G-NSA Bands"}),(0,r.jsx)("p",{id:"prefNRNSABands-".concat(s),className:"font-semibold",children:e.nsa_nr5g_bands||"-"})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"prefNRSABands-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred NR5G-SA Bands"}),(0,r.jsx)("p",{id:"prefNRSABands-".concat(s),className:"font-semibold",children:e.sa_nr5g_bands||"-"})]})]})})]},s)):(0,r.jsxs)("div",{className:"text-center py-8 border rounded-lg",children:[(0,r.jsx)("div",{className:"mx-auto w-12 h-12 rounded-full bg-muted flex items-center justify-center mb-4",children:(0,r.jsx)(V,{className:"h-6 w-6 text-muted-foreground"})}),(0,r.jsx)("h3",{className:"font-medium text-lg mb-1",children:"No Profiles Found"}),(0,r.jsx)("p",{className:"text-muted-foreground mb-4",children:"Simplify network management with profiles that automatically apply your preferred settings."})]})}),"list"===p&&(0,r.jsx)("div",{className:"border rounded-md overflow-x-auto",children:(0,r.jsxs)("table",{className:"w-full",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{className:"bg-muted/50",children:[(0,r.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"Profile Name"}),(0,r.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"IMEI"}),(0,r.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"APN"}),(0,r.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"Network"}),(0,r.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"TTL"}),(0,r.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"Actions"})]})}),(0,r.jsx)("tbody",{children:a?(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("tr",{className:"border-t",children:[(0,r.jsxs)("td",{className:"p-4",children:[(0,r.jsx)(Q.E,{className:"h-5 w-32"}),(0,r.jsx)(Q.E,{className:"h-3 w-24 mt-1"})]}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsx)(Q.E,{className:"h-5 w-40"})}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsx)(Q.E,{className:"h-5 w-28"})}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsx)(Q.E,{className:"h-5 w-20"})}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsx)(Q.E,{className:"h-5 w-10"})}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(Q.E,{className:"h-8 w-8 rounded-md"}),(0,r.jsx)(Q.E,{className:"h-8 w-8 rounded-md"})]})})]})}):s&&s.length>0?s.map((e,s)=>(0,r.jsxs)("tr",{className:"border-t hover:bg-muted/50 transition-colors",children:[(0,r.jsx)("td",{className:"p-4",children:(0,r.jsxs)(w,{children:[(0,r.jsxs)(P,{className:"flex items-center gap-x-1",children:[(0,r.jsx)(ea._TA,{className:"size-4 text-emerald-500"}),(0,r.jsx)("p",{className:"underline underline-offset-4 cursor-pointer font-medium ",children:e.name})]}),(0,r.jsxs)(F,{className:"text-sm font-medium text-center w-auto",children:[(0,r.jsx)("span",{className:"font-semibold mr-4",children:"ICCID"}),e.iccid]})]})}),(0,r.jsx)("td",{className:"p-4",children:e.imei||"Not specified"}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsxs)(w,{children:[(0,r.jsxs)(P,{className:"flex items-center gap-x-1",children:[(0,r.jsx)(ea._TA,{className:"size-4 text-emerald-500"}),(0,r.jsx)("p",{className:"underline underline-offset-4 cursor-pointer font-medium ",children:e.apn})]}),(0,r.jsx)(F,{className:"text-sm font-semibold text-center w-auto",children:e.pdp_type})]})}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsx)("span",{children:ef(e.network_type)})}),(0,r.jsx)("td",{className:"p-4",children:e.ttl&&parseInt(e.ttl)>0?(0,r.jsx)("span",{children:e.ttl}):(0,r.jsx)("span",{children:"Off"})}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsx)("div",{children:(0,r.jsxs)(d.AM,{children:[(0,r.jsx)(d.Wv,{asChild:!0,children:(0,r.jsx)(M.$,{variant:"ghost",children:(0,r.jsx)($.A,{className:"h-4 w-4"})})}),(0,r.jsx)(d.hl,{className:"w-48",children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)(M.$,{onClick:()=>ex(e),children:[(0,r.jsx)(W,{className:"h-4 w-4"}),"Edit Profile"]}),(0,r.jsx)(M.$,{onClick:()=>eh(e.iccid,e.name,e.paused||"0"),className:(0,S.cn)("w-full justify-start","1"===e.paused&&"bg-emerald-600 hover:bg-emerald-700 text-white","0"===e.paused&&"bg-orange-500 hover:bg-orange-600 text-white"),children:"1"===e.paused?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Z.A,{className:"h-4 w-4"}),"Resume Profile"]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(z,{className:"h-4 w-4"}),"Pause Profile"]})}),(0,r.jsx)(et.w,{className:"my-1"}),(0,r.jsxs)(M.$,{variant:"destructive",onClick:()=>eu(e.iccid,e.name),children:[(0,r.jsx)(X.A,{className:"h-4 w-4"}),"Delete Profile"]})]})})]})})})]},s)):(0,r.jsx)("tr",{className:"border-t",children:(0,r.jsx)("td",{colSpan:6,className:"p-8 text-center text-muted-foreground",children:"No profiles found. Create one to get started."})})})]})}),(()=>{if(!y||"idle"===y.status)return y&&y.message&&y.message.includes("No profile exists")?(0,r.jsxs)(es.Fc,{className:"mb-1",variant:"default",children:[(0,r.jsx)(D.A,{className:"h-4 w-4",color:"orange"}),(0,r.jsx)(es.XL,{children:"No Profile Found"}),(0,r.jsx)(es.TN,{className:"flex justify-between items-center",children:(0,r.jsx)("span",{children:"No profile exists for the current SIM card. Create a profile to configure your network settings."})})]}):null;if("paused"===y.status)return(0,r.jsxs)(es.Fc,{className:"mb-1",variant:"default",children:[(0,r.jsx)(z,{className:"h-4 w-4",color:"orange"}),(0,r.jsx)(es.XL,{children:"Profile Paused"}),(0,r.jsx)(es.TN,{className:"flex justify-between items-center",children:(0,r.jsx)("span",{children:y.message||'Profile "'.concat(y.profile,'" is currently paused. Resume to apply settings.')})})]});let e=y.message,s="";return"error"===y.status?(s="Profile Issue",y.message.includes("missing the required APN setting")?(s="Missing APN Setting",e='Please edit profile "'.concat(y.profile,'" and add an APN to enable network connectivity.')):y.message.includes("Could not detect SIM card")?(s="SIM Card Not Detected",e="Please check that a SIM card is properly inserted in your device."):y.message.includes("Could not communicate with modem")&&(s="Modem Communication Error",e="Having trouble connecting to the cellular modem. Please check your device.")):"success"===y.status&&(y.message.includes("already applied")||y.message.includes("Profile already correctly applied"))?(s="Profile Active",e='Profile "'.concat(y.profile,'" is active and correctly applied')):"applying"===y.status?s="Applying Profile":"rebooting"===y.status?(s="Device Rebooting",e="Your device is restarting to apply configuration changes."):s="Success",(0,r.jsxs)(es.Fc,{className:"mb-1",variant:"error"===y.status?"destructive":"default",children:["applying"===y.status?(0,r.jsx)(J.A,{className:"h-4 w-4 animate-spin"}):"error"===y.status?(0,r.jsx)(D.A,{className:"h-4 w-4",color:"orange"}):"rebooting"===y.status?(0,r.jsx)(q.A,{className:"h-4 w-4 animate-spin"}):(0,r.jsx)(B.A,{className:"h-4 w-4",color:"green"}),(0,r.jsx)(es.XL,{children:s}),(0,r.jsxs)(es.TN,{className:"flex justify-between items-center",children:[(0,r.jsx)("span",{children:e}),"applying"===y.status&&(0,r.jsxs)("span",{className:"font-semibold",children:[y.progress,"%"]})]})]})})()]})]})})}},93557:(e,s,t)=>{"use strict";t.d(s,{Cf:()=>u,Es:()=>x,HM:()=>m,L3:()=>f,c7:()=>h,lG:()=>d,rr:()=>g,zM:()=>c});var a=t(20475),r=t(20107),n=t(60241),i=t(7197),l=t(22250);let d=n.bL,c=n.l9,o=n.ZL,m=n.bm,p=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(n.hJ,{ref:s,className:(0,l.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...r})});p.displayName=n.hJ.displayName;let u=r.forwardRef((e,s)=>{let{className:t,children:r,...d}=e;return(0,a.jsxs)(o,{children:[(0,a.jsx)(p,{}),(0,a.jsxs)(n.UC,{ref:s,className:(0,l.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...d,children:[r,(0,a.jsxs)(n.bm,{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,a.jsx)(i.MKb,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});u.displayName=n.UC.displayName;let h=e=>{let{className:s,...t}=e;return(0,a.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-1.5 text-center sm:text-left",s),...t})};h.displayName="DialogHeader";let x=e=>{let{className:s,...t}=e;return(0,a.jsx)("div",{className:(0,l.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",s),...t})};x.displayName="DialogFooter";let f=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(n.hE,{ref:s,className:(0,l.cn)("text-lg font-semibold leading-none tracking-tight",t),...r})});f.displayName=n.hE.displayName;let g=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(n.VY,{ref:s,className:(0,l.cn)("text-sm text-muted-foreground",t),...r})});g.displayName=n.VY.displayName},55948:(e,s,t)=>{"use strict";t.d(s,{AM:()=>l,Wv:()=>d,hl:()=>c});var a=t(20475),r=t(20107),n=t(21869),i=t(22250);let l=n.bL,d=n.l9;n.Mz;let c=r.forwardRef((e,s)=>{let{className:t,align:r="center",sideOffset:l=4,...d}=e;return(0,a.jsx)(n.ZL,{children:(0,a.jsx)(n.UC,{ref:s,align:r,sideOffset:l,className:(0,i.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...d})})});c.displayName=n.UC.displayName},36760:(e,s,t)=>{"use strict";t.d(s,{E:()=>n});var a=t(20475),r=t(22250);function n(e){let{className:s,...t}=e;return(0,a.jsx)("div",{className:(0,r.cn)("animate-pulse rounded-md bg-primary/10",s),...t})}},17799:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(39997).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},14389:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(39997).A)("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]])},26459:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(39997).A)("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"}]])}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,1258,4687,3746,9464,3494,7510,2487,191,6035,7358],()=>s(18866)),_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/custom-features/quecprofiles/page-8b5f486f2ff15c90.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/quecprofiles/page-8b5f486f2ff15c90.js new file mode 100644 index 0000000..4509d76 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/quecprofiles/page-8b5f486f2ff15c90.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4840],{18866:(e,s,t)=>{Promise.resolve().then(t.bind(t,70687))},70687:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>er});var a,r=t(20475),i=t(20107),n=t(32857),l=t(72167),d=t(55948),c=t(94521),o=t(45170),m=t(13061),p=t(64236),h=t(57563),u=(t(41913),t(54245)),x=t(34544),f=t(55302),g="HoverCard",[j,N]=(0,o.A)(g,[h.Bk]),y=(0,h.Bk)(),[v,b]=j(g),w=e=>{let{__scopeHoverCard:s,children:t,open:a,defaultOpen:n,onOpenChange:l,openDelay:d=700,closeDelay:c=300}=e,o=y(s),p=i.useRef(0),u=i.useRef(0),x=i.useRef(!1),f=i.useRef(!1),[g=!1,j]=(0,m.i)({prop:a,defaultProp:n,onChange:l}),N=i.useCallback(()=>{clearTimeout(u.current),p.current=window.setTimeout(()=>j(!0),d)},[d,j]),b=i.useCallback(()=>{clearTimeout(p.current),x.current||f.current||(u.current=window.setTimeout(()=>j(!1),c))},[c,j]),w=i.useCallback(()=>j(!1),[j]);return i.useEffect(()=>()=>{clearTimeout(p.current),clearTimeout(u.current)},[]),(0,r.jsx)(v,{scope:s,open:g,onOpenChange:j,onOpen:N,onClose:b,onDismiss:w,hasSelectionRef:x,isPointerDownOnContentRef:f,children:(0,r.jsx)(h.bL,{...o,children:t})})};w.displayName=g;var _="HoverCardTrigger",P=i.forwardRef((e,s)=>{let{__scopeHoverCard:t,...a}=e,i=b(_,t),n=y(t);return(0,r.jsx)(h.Mz,{asChild:!0,...n,children:(0,r.jsx)(x.sG.a,{"data-state":i.open?"open":"closed",...a,ref:s,onPointerEnter:(0,c.m)(e.onPointerEnter,T(i.onOpen)),onPointerLeave:(0,c.m)(e.onPointerLeave,T(i.onClose)),onFocus:(0,c.m)(e.onFocus,i.onOpen),onBlur:(0,c.m)(e.onBlur,i.onClose),onTouchStart:(0,c.m)(e.onTouchStart,e=>e.preventDefault())})})});P.displayName=_;var[C,k]=j("HoverCardPortal",{forceMount:void 0}),E="HoverCardContent",A=i.forwardRef((e,s)=>{let t=k(E,e.__scopeHoverCard),{forceMount:a=t.forceMount,...i}=e,n=b(E,e.__scopeHoverCard);return(0,r.jsx)(u.C,{present:a||n.open,children:(0,r.jsx)(S,{"data-state":n.open?"open":"closed",...i,onPointerEnter:(0,c.m)(e.onPointerEnter,T(n.onOpen)),onPointerLeave:(0,c.m)(e.onPointerLeave,T(n.onClose)),ref:s})})});A.displayName=E;var S=i.forwardRef((e,s)=>{let{__scopeHoverCard:t,onEscapeKeyDown:n,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:o,...m}=e,u=b(E,t),x=y(t),g=i.useRef(null),j=(0,p.s)(s,g),[N,v]=i.useState(!1);return i.useEffect(()=>{if(N){let e=document.body;return a=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=a,e.style.webkitUserSelect=a}}},[N]),i.useEffect(()=>{if(g.current){let e=()=>{v(!1),u.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var e;(null===(e=document.getSelection())||void 0===e?void 0:e.toString())!==""&&(u.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),u.hasSelectionRef.current=!1,u.isPointerDownOnContentRef.current=!1}}},[u.isPointerDownOnContentRef,u.hasSelectionRef]),i.useEffect(()=>{g.current&&(function(e){let s=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;t.nextNode();)s.push(t.currentNode);return s})(g.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,r.jsx)(f.qW,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:o,onEscapeKeyDown:n,onPointerDownOutside:l,onFocusOutside:(0,c.m)(d,e=>{e.preventDefault()}),onDismiss:u.onDismiss,children:(0,r.jsx)(h.UC,{...x,...m,onPointerDown:(0,c.m)(m.onPointerDown,e=>{e.currentTarget.contains(e.target)&&v(!0),u.hasSelectionRef.current=!1,u.isPointerDownOnContentRef.current=!0}),ref:j,style:{...m.style,userSelect:N?"text":void 0,WebkitUserSelect:N?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})});function T(e){return s=>"touch"===s.pointerType?void 0:e()}i.forwardRef((e,s)=>{let{__scopeHoverCard:t,...a}=e,i=y(t);return(0,r.jsx)(h.i3,{...i,...a,ref:s})}).displayName="HoverCardArrow";var I=t(22250);let F=i.forwardRef((e,s)=>{let{className:t,align:a="center",sideOffset:i=4,...n}=e;return(0,r.jsx)(A,{ref:s,align:a,sideOffset:i,className:(0,I.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...n})});F.displayName=A.displayName;var R=t(93557),M=t(35601),L=t(42541),O=t(17799),D=t(39997);let z=(0,D.A)("CirclePause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]);var J=t(59166),q=t(97801),V=t(98969);let B=(0,D.A)("UserRoundPen",[["path",{d:"M2 21a8 8 0 0 1 10.821-7.487",key:"1c8h7z"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}]]);var G=t(52161);let U=(0,D.A)("Grid2x2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M12 3v18",key:"108xh3"}]]),H=(0,D.A)("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]);var $=t(26459);let W=(0,D.A)("PencilLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}],["path",{d:"m15 5 3 3",key:"1w25hb"}]]);var Z=t(14389),X=t(51873),Y=t(49153),K=t(64219),Q=t(36760),ee=t(45934),es=t(49573),et=t(76554),ea=t(7197);let er=()=>{let{toast:e}=(0,n.dj)(),[s,t]=(0,i.useState)([]),[a,c]=(0,i.useState)(!0),[o,m]=(0,i.useState)(!1),[p,h]=(0,i.useState)("grid"),[u,x]=(0,i.useState)(!1),[f,g]=(0,i.useState)("create"),[j,N]=(0,i.useState)(null),[y,v]=(0,i.useState)(null),[b,_]=(0,i.useState)(""),[C,k]=(0,i.useState)(!1),[E,A]=(0,i.useState)({iccid:"",imei:""}),[S,T]=(0,i.useState)({name:"",iccid:"",imei:"",apn:"",pdp_type:"IPV4V6",lte_bands:"",sa_nr5g_bands:"",nsa_nr5g_bands:"",network_type:"LTE",ttl:"0",mobile_provider:"Other",paused:"0"}),[D,er]=(0,i.useState)(null);(0,i.useEffect)(()=>{en(),el(),ei();let e=setInterval(el,5e3);return()=>clearInterval(e)},[]);let ei=async()=>{k(!0);try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=9");if(!e.ok)throw Error("Failed to fetch device information");let s=await e.json();console.log("Device info response:",s);let t="",a="",r=s.find(e=>"AT+ICCID"===e.command);if(r&&"success"===r.status){let e=r.response.match(/\d{10,20}/);e&&(t=e[0])}let i=s.find(e=>"AT+CGSN"===e.command);if(i&&"success"===i.status){let e=i.response.match(/\d{15}/);e&&(a=e[0])}console.log("Extracted device info - ICCID:",t,"IMEI:",a),A({iccid:t,imei:a}),T(e=>({...e,iccid:t||e.iccid,imei:a||e.imei}))}catch(s){console.error("Error fetching device information:",s),e({title:"Info",description:"Could not auto-populate device information",variant:"default"})}finally{k(!1)}},en=async()=>{c(!0);try{let e=await fetch("/cgi-bin/quecmanager/profiles/list_profiles.sh");if(e.ok){let s=await e.json();"success"===s.status&&Array.isArray(s.profiles)?(console.log("Fetched profiles:",s.profiles),t(s.profiles)):(console.error("Invalid profile data structure:",s),t([]))}else console.error("Failed to fetch profiles:",e.statusText),t([])}catch(s){console.error("Error fetching profiles:",s),t([]),e({title:"Error",description:"Failed to load profiles. Please try again.",variant:"destructive"})}finally{c(!1)}},el=async()=>{try{let s=await fetch("/cgi-bin/quecmanager/profiles/check_status.sh");if(s.ok){let t=await s.json();v(t),"idle"===t.status||t.status===b||t.message.includes("already applied")||t.message.includes("Profile already correctly applied")||"applying"!==t.status||(e({title:"Profile: ".concat(t.profile),description:t.message,variant:"error"===t.status?"destructive":"default"}),_(t.status))}}catch(e){}},ed=e=>{let{id:s,value:t}=e.target;if("ttl"===s){let e=parseInt(t);if(""===t||isNaN(e)||e<0){T({...S,ttl:"0"});return}if(e>255){T({...S,ttl:"255"});return}}T({...S,[s]:t})},ec=(e,s)=>{T({...S,[e]:s})},eo=e=>{let s=e.trim(),t=s.indexOf("{");t>0&&(s=s.substring(t));let a=0,r=s.length;for(let e=0;e{m(!0),er(null);try{let s;if(!S.name||!S.iccid||!S.apn){er("Profile name, ICCID, and APN are required"),m(!1);return}if(S.ttl&&(0>parseInt(S.ttl)||parseInt(S.ttl)>255)){er("TTL must be between 0 and 255"),m(!1);return}let t={name:S.name,iccid:S.iccid,imei:S.imei||"",apn:S.apn,pdp_type:S.pdp_type,lte_bands:S.lte_bands,sa_nr5g_bands:S.sa_nr5g_bands||"",nsa_nr5g_bands:S.nsa_nr5g_bands||"",network_type:S.network_type,ttl:S.ttl||"0",mobile_provider:S.mobile_provider||"Other",paused:"0"},a=await fetch("/cgi-bin/quecmanager/profiles/quec_profile_create.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),r=await a.text();try{s=eo(r)}catch(e){er("Invalid response format from server"),m(!1);return}"success"===s.status?(x(!1),T({name:"",iccid:"",imei:"",apn:"",pdp_type:"IPV4V6",lte_bands:"",sa_nr5g_bands:"",nsa_nr5g_bands:"",network_type:"LTE",ttl:"0",mobile_provider:"Other",paused:"0"}),e({title:"Success",description:"Profile created successfully",variant:"default"}),await en(),await el()):er(s.message||"Failed to create profile")}catch(e){er("An unexpected error occurred")}finally{m(!1)}},ep=async()=>{m(!0),er(null);try{let s;if(!S.name||!S.iccid||!S.apn){er("Profile name, ICCID, and APN are required"),m(!1);return}if(S.ttl&&(0>parseInt(S.ttl)||parseInt(S.ttl)>255)){er("TTL must be between 0 and 255"),m(!1);return}let t={name:S.name,iccid:S.iccid,imei:S.imei||"",apn:S.apn,pdp_type:S.pdp_type,lte_bands:S.lte_bands,sa_nr5g_bands:S.sa_nr5g_bands||"",nsa_nr5g_bands:S.nsa_nr5g_bands||"",network_type:S.network_type,ttl:S.ttl||"0",mobile_provider:S.mobile_provider||"Other",paused:S.paused||"0"};console.log("Sending update request with data:",t);let a=await fetch("/cgi-bin/quecmanager/profiles/quec_profile_edit.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),r=await a.text();try{s=eo(r)}catch(e){er("Invalid response format from server"),m(!1);return}"success"===s.status?(x(!1),T({name:"",iccid:"",imei:"",apn:"",pdp_type:"IPV4V6",lte_bands:"",sa_nr5g_bands:"",nsa_nr5g_bands:"",network_type:"LTE",ttl:"0",mobile_provider:"Other",paused:"0"}),e({title:"Success",description:"Profile updated successfully",variant:"default"}),await en()):er(s.message||"Failed to update profile")}catch(e){er("An unexpected error occurred")}finally{m(!1)}},eh=async(s,t)=>{try{let a;if(!window.confirm('Are you sure you want to delete profile "'.concat(t,'"?')))return;let r=await fetch("/cgi-bin/quecmanager/profiles/quec_profile_delete.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({iccid:s})}),i=await r.text();try{a=eo(i)}catch(s){e({title:"Error",description:"Failed to parse server response",variant:"destructive"});return}"success"===a.status?(e({title:"Profile Deleted",description:'Profile "'.concat(t,'" has been deleted successfully'),variant:"default"}),await en(),await el()):e({title:"Error",description:a.message||"Failed to delete profile",variant:"destructive"})}catch(s){e({title:"Error",description:"An unexpected error occurred while deleting the profile",variant:"destructive"})}},eu=async(s,t,a)=>{try{let t;let r="1"===a?"0":"1",i=await fetch("/cgi-bin/quecmanager/profiles/toggle_pause.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({iccid:s,paused:r})}),n=await i.text();try{t=eo(n)}catch(s){e({title:"Error",description:"Invalid response format from server",variant:"destructive"});return}"success"===t.status?(e({title:"1"===r?"Profile Paused":"Profile Resumed",description:t.message,variant:"default"}),await en(),await el()):e({title:"Error",description:t.message||"Failed to update profile status",variant:"destructive"})}catch(s){e({title:"Error",description:"An unexpected error occurred while updating the profile",variant:"destructive"})}},ex=e=>{g("edit"),T({name:e.name,iccid:e.iccid,imei:e.imei||"",apn:e.apn,pdp_type:e.pdp_type,lte_bands:e.lte_bands,sa_nr5g_bands:e.sa_nr5g_bands||"",nsa_nr5g_bands:e.nsa_nr5g_bands||"",network_type:e.network_type,ttl:e.ttl||"0",mobile_provider:e.mobile_provider||"Other",paused:e.paused||"0"}),N(e),er(null),x(!0)},ef=e=>{switch(e){case"AUTO":return"AUTO";case"LTE":return"4G LTE";case"NR5G":return"5G SA";case"LTE:NR5G":return"5G NSA";default:return e}};return(0,r.jsx)("div",{children:(0,r.jsxs)(l.Zp,{children:[(0,r.jsxs)(l.aR,{children:[(0,r.jsx)(l.ZB,{children:"QuecProfiles"}),(0,r.jsx)(l.BT,{children:"Configure personalized profiles for your SIM cards to manage connectivity settings and network preferences."})]}),(0,r.jsxs)(l.Wu,{className:"grid gap-y-8",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)(R.lG,{open:u,onOpenChange:x,children:[(0,r.jsx)(R.zM,{asChild:!0,children:(0,r.jsxs)(L.$,{onClick:()=>{g("create"),er(null),T({name:"",iccid:E.iccid||"",imei:E.imei||"",apn:"",pdp_type:"IPV4V6",lte_bands:"",sa_nr5g_bands:"",nsa_nr5g_bands:"",network_type:"LTE",ttl:"0",mobile_provider:"Other",paused:"0"}),x(!0)},children:[(0,r.jsx)(B,{className:"w-4 h-4"}),"Add New Profile"]})}),(0,r.jsxs)(R.Cf,{children:[(0,r.jsxs)(R.c7,{children:[(0,r.jsx)(R.L3,{children:"create"===f?"Add New Profile":"Edit Profile"}),(0,r.jsx)(R.rr,{children:"create"===f?"Create a new profile for your SIM card to manage connectivity settings and network preferences.":"Update the settings for this profile."})]}),D&&(0,r.jsxs)(es.Fc,{variant:"destructive",className:"my-2",children:[(0,r.jsx)(O.A,{className:"h-4 w-4"}),(0,r.jsx)(es.XL,{children:"Error"}),(0,r.jsx)(es.TN,{children:D})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-y-5 gap-x-4 py-4",children:[(0,r.jsxs)("div",{className:"col-span-2 grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"name",children:"Profile Name"}),(0,r.jsx)(K.p,{id:"name",placeholder:"My Network Profile",value:S.name,onChange:ed,required:!0})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"iccid",children:"ICCID"}),(0,r.jsx)(K.p,{id:"iccid",placeholder:"SIM ICCID",value:S.iccid,onChange:ed,disabled:"edit"===f,required:!0})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"imei",children:"IMEI"}),(0,r.jsx)(K.p,{id:"imei",placeholder:"Preferred IMEI",value:S.imei,onChange:ed})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"apn",children:"APN"}),(0,r.jsx)(K.p,{id:"apn",placeholder:"internet",value:S.apn,onChange:ed,required:!0})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"pdp_type",children:"APN PDP Type"}),(0,r.jsxs)(M.l6,{value:S.pdp_type,onValueChange:e=>ec("pdp_type",e),children:[(0,r.jsx)(M.bq,{children:(0,r.jsx)(M.yv,{placeholder:"PDP Type"})}),(0,r.jsxs)(M.gC,{children:[(0,r.jsx)(M.eb,{value:"IP",children:"IPV4"}),(0,r.jsx)(M.eb,{value:"IPV6",children:"IPV6"}),(0,r.jsx)(M.eb,{value:"IPV4V6",children:"IPV4 & IPV6"})]})]})]}),(0,r.jsxs)("div",{className:"col-span-2 grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"name",children:"Mobile Provider"}),(0,r.jsxs)(M.l6,{value:S.mobile_provider,onValueChange:e=>ec("mobile_provider",e),children:[(0,r.jsx)(M.bq,{children:(0,r.jsx)(M.yv,{placeholder:"Mobile Provider"})}),(0,r.jsxs)(M.gC,{children:[(0,r.jsx)(M.eb,{value:"Verizon",children:"Verizon"}),(0,r.jsx)(M.eb,{value:"Other",children:"Other"})]})]})]}),(0,r.jsxs)("div",{className:"col-span-2 grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"lte_bands",children:"LTE Bands"}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(K.p,{id:"lte_bands",placeholder:"1,3,7,20",value:S.lte_bands,onChange:ed}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground italic",children:"Comma-separated list of LTE bands."})]})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"nsa_nr5g_bands",children:"NR5G-NSA Bands"}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(K.p,{id:"nsa_nr5g_bands",placeholder:"41,78",value:S.nsa_nr5g_bands,onChange:ed}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground italic",children:"Comma-separated list of NSA bands."})]})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"sa_nr5g_bands",children:"NR5G-SA Bands"}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(K.p,{id:"sa_nr5g_bands",placeholder:"41,78",value:S.sa_nr5g_bands,onChange:ed}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground italic",children:"Comma-separated list of SA bands."})]})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"network_type",children:"Network Type"}),(0,r.jsxs)(M.l6,{value:S.network_type,onValueChange:e=>ec("network_type",e),children:[(0,r.jsx)(M.bq,{children:(0,r.jsx)(M.yv,{placeholder:"Network Type"})}),(0,r.jsxs)(M.gC,{children:[(0,r.jsx)(M.eb,{value:"LTE",children:"LTE Only"}),(0,r.jsx)(M.eb,{value:"NR5G",children:"NR5G Only"}),(0,r.jsx)(M.eb,{value:"LTE:NR5G",children:"NR5G-NSA w/ LTE"})]})]})]}),(0,r.jsxs)("div",{className:"grid gap-1.5",children:[(0,r.jsx)(Y.J,{htmlFor:"ttl",children:"TTL Value"}),(0,r.jsx)("div",{className:"grid gap-0.5",children:(0,r.jsx)(K.p,{id:"ttl",type:"number",min:"0",max:"255",placeholder:"0 (disabled)",value:S.ttl,onChange:ed})})]})]}),(0,r.jsx)(R.Es,{children:(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(L.$,{variant:"secondary",onClick:()=>x(!1),disabled:o,children:"Cancel"}),(0,r.jsx)(L.$,{onClick:"create"===f?em:ep,disabled:o,children:o?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(J.A,{className:"h-4 w-4 animate-spin"}),"create"===f?"Creating...":"Updating..."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(G.A,{className:"h-4 w-4"}),"create"===f?"Save Profile":"Update Profile"]})})]})})]})]}),(0,r.jsxs)("div",{className:"flex bg-gray-100 dark:bg-gray-800 rounded-md p-1",children:[(0,r.jsx)("button",{className:"p-1 rounded ".concat("grid"===p?"bg-white dark:bg-gray-700 shadow-sm":""),onClick:()=>h("grid"),children:(0,r.jsx)(U,{size:18})}),(0,r.jsx)("button",{className:"p-1 rounded ".concat("list"===p?"bg-white dark:bg-gray-700 shadow-sm":""),onClick:()=>h("list"),children:(0,r.jsx)(H,{size:18})})]})]}),"grid"===p&&(0,r.jsx)("div",{className:"grid gap-4",children:a?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"border rounded-lg p-4",children:(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)(Q.E,{className:"h-5 w-40"}),(0,r.jsx)(Q.E,{className:"h-4 w-20"}),(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-4 pt-4",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(Q.E,{className:"h-3 w-20"}),(0,r.jsx)(Q.E,{className:"h-4 w-32"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(Q.E,{className:"h-3 w-20"}),(0,r.jsx)(Q.E,{className:"h-4 w-32"})]})]})]})})}):s&&s.length>0?s.map((e,s)=>(0,r.jsxs)(l.Zp,{children:[(0,r.jsxs)(l.aR,{children:[(0,r.jsxs)("div",{className:"flex items-start justify-between",children:[(0,r.jsx)(l.ZB,{className:"xl:text-xl font-bold tracking-wide",children:e.name}),(0,r.jsxs)(d.AM,{children:[(0,r.jsx)(d.Wv,{children:(0,r.jsx)($.A,{className:"h-4 w-4"})}),(0,r.jsx)(d.hl,{className:"w-48",children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)(L.$,{onClick:()=>ex(e),children:[(0,r.jsx)(W,{className:"h-4 w-4"}),"Edit Profile"]}),(0,r.jsx)(L.$,{onClick:()=>eu(e.iccid,e.name,e.paused||"0"),className:(0,I.cn)("w-full justify-start","1"===e.paused&&"bg-emerald-600 hover:bg-emerald-700 text-white","0"===e.paused&&"bg-orange-500 hover:bg-orange-600 text-white"),children:"1"===e.paused?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Z.A,{className:"h-4 w-4"}),"Resume Profile"]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(z,{className:"h-4 w-4"}),"Pause Profile"]})}),(0,r.jsx)(et.Separator,{className:"my-1"}),(0,r.jsxs)(L.$,{variant:"destructive",onClick:()=>eh(e.iccid,e.name),children:[(0,r.jsx)(X.A,{className:"h-4 w-4"}),"Delete Profile"]})]})})]})]}),(0,r.jsxs)(l.BT,{className:"flex items-center",children:[(0,r.jsx)(ee.E,{variant:"secondary",className:"text-xs",children:ef(e.network_type)}),"1"===e.paused&&(0,r.jsx)(ee.E,{variant:"outline",className:"ml-2 bg-orange-500 hover:bg-orange-600",children:"Paused"})]})]}),(0,r.jsx)(l.Wu,{children:(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"ICCID-".concat(s),className:"text-sm text-muted-foreground",children:"SIM ICCID"}),(0,r.jsx)("p",{id:"ICCID-".concat(s),className:"font-semibold",children:e.iccid})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"IMEI-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred IMEI"}),(0,r.jsx)("p",{id:"IMEI-".concat(s),className:"font-semibold",children:e.imei||"-"})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"APN-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred APN"}),(0,r.jsx)("p",{id:"APN-".concat(s),className:"font-semibold",children:e.apn})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"PDP-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred APN PDP Type"}),(0,r.jsx)("p",{id:"PDP-".concat(s),className:"font-semibold",children:e.pdp_type})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"mobileProvider-".concat(s),className:"text-sm text-muted-foreground",children:"Mobile Provider"}),(0,r.jsx)("p",{id:"mobileProvider-".concat(s),className:"font-semibold",children:e.mobile_provider||"Other"})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"prefTTl-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred TTL"}),(0,r.jsx)("p",{id:"prefTTL-".concat(s),className:"font-semibold",children:e.ttl||"0"})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"prefLTEBands-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred LTE Bands"}),(0,r.jsx)("p",{id:"prefLTEBands-".concat(s),className:"font-semibold",children:e.lte_bands||"-"})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"prefNRNSABands-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred NR5G-NSA Bands"}),(0,r.jsx)("p",{id:"prefNRNSABands-".concat(s),className:"font-semibold",children:e.nsa_nr5g_bands||"-"})]}),(0,r.jsxs)("div",{className:"grid gap-0.5",children:[(0,r.jsx)(Y.J,{htmlFor:"prefNRSABands-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred NR5G-SA Bands"}),(0,r.jsx)("p",{id:"prefNRSABands-".concat(s),className:"font-semibold",children:e.sa_nr5g_bands||"-"})]})]})})]},s)):(0,r.jsxs)("div",{className:"text-center py-8 border rounded-lg",children:[(0,r.jsx)("div",{className:"mx-auto w-12 h-12 rounded-full bg-muted flex items-center justify-center mb-4",children:(0,r.jsx)(B,{className:"h-6 w-6 text-muted-foreground"})}),(0,r.jsx)("h3",{className:"font-medium text-lg mb-1",children:"No Profiles Found"}),(0,r.jsx)("p",{className:"text-muted-foreground mb-4",children:"Simplify network management with profiles that automatically apply your preferred settings."})]})}),"list"===p&&(0,r.jsx)("div",{className:"border rounded-md overflow-x-auto",children:(0,r.jsxs)("table",{className:"w-full",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{className:"bg-muted/50",children:[(0,r.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"Profile Name"}),(0,r.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"IMEI"}),(0,r.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"APN"}),(0,r.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"Network"}),(0,r.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"TTL"}),(0,r.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"Actions"})]})}),(0,r.jsx)("tbody",{children:a?(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("tr",{className:"border-t",children:[(0,r.jsxs)("td",{className:"p-4",children:[(0,r.jsx)(Q.E,{className:"h-5 w-32"}),(0,r.jsx)(Q.E,{className:"h-3 w-24 mt-1"})]}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsx)(Q.E,{className:"h-5 w-40"})}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsx)(Q.E,{className:"h-5 w-28"})}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsx)(Q.E,{className:"h-5 w-20"})}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsx)(Q.E,{className:"h-5 w-10"})}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(Q.E,{className:"h-8 w-8 rounded-md"}),(0,r.jsx)(Q.E,{className:"h-8 w-8 rounded-md"})]})})]})}):s&&s.length>0?s.map((e,s)=>(0,r.jsxs)("tr",{className:"border-t hover:bg-muted/50 transition-colors",children:[(0,r.jsx)("td",{className:"p-4",children:(0,r.jsxs)(w,{children:[(0,r.jsxs)(P,{className:"flex items-center gap-x-1",children:[(0,r.jsx)(ea._TA,{className:"size-4 text-emerald-500"}),(0,r.jsx)("p",{className:"underline underline-offset-4 cursor-pointer font-medium ",children:e.name})]}),(0,r.jsxs)(F,{className:"text-sm font-medium text-center w-auto",children:[(0,r.jsx)("span",{className:"font-semibold mr-4",children:"ICCID"}),e.iccid]})]})}),(0,r.jsx)("td",{className:"p-4",children:e.imei||"Not specified"}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsxs)(w,{children:[(0,r.jsxs)(P,{className:"flex items-center gap-x-1",children:[(0,r.jsx)(ea._TA,{className:"size-4 text-emerald-500"}),(0,r.jsx)("p",{className:"underline underline-offset-4 cursor-pointer font-medium ",children:e.apn})]}),(0,r.jsx)(F,{className:"text-sm font-semibold text-center w-auto",children:e.pdp_type})]})}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsx)("span",{children:ef(e.network_type)})}),(0,r.jsx)("td",{className:"p-4",children:e.ttl&&parseInt(e.ttl)>0?(0,r.jsx)("span",{children:e.ttl}):(0,r.jsx)("span",{children:"Off"})}),(0,r.jsx)("td",{className:"p-4",children:(0,r.jsx)("div",{children:(0,r.jsxs)(d.AM,{children:[(0,r.jsx)(d.Wv,{asChild:!0,children:(0,r.jsx)(L.$,{variant:"ghost",children:(0,r.jsx)($.A,{className:"h-4 w-4"})})}),(0,r.jsx)(d.hl,{className:"w-48",children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)(L.$,{onClick:()=>ex(e),children:[(0,r.jsx)(W,{className:"h-4 w-4"}),"Edit Profile"]}),(0,r.jsx)(L.$,{onClick:()=>eu(e.iccid,e.name,e.paused||"0"),className:(0,I.cn)("w-full justify-start","1"===e.paused&&"bg-emerald-600 hover:bg-emerald-700 text-white","0"===e.paused&&"bg-orange-500 hover:bg-orange-600 text-white"),children:"1"===e.paused?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Z.A,{className:"h-4 w-4"}),"Resume Profile"]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(z,{className:"h-4 w-4"}),"Pause Profile"]})}),(0,r.jsx)(et.Separator,{className:"my-1"}),(0,r.jsxs)(L.$,{variant:"destructive",onClick:()=>eh(e.iccid,e.name),children:[(0,r.jsx)(X.A,{className:"h-4 w-4"}),"Delete Profile"]})]})})]})})})]},s)):(0,r.jsx)("tr",{className:"border-t",children:(0,r.jsx)("td",{colSpan:6,className:"p-8 text-center text-muted-foreground",children:"No profiles found. Create one to get started."})})})]})}),(()=>{if(!y||"idle"===y.status)return y&&y.message&&y.message.includes("No profile exists")?(0,r.jsxs)(es.Fc,{className:"mb-1",variant:"default",children:[(0,r.jsx)(O.A,{className:"h-4 w-4",color:"orange"}),(0,r.jsx)(es.XL,{children:"No Profile Found"}),(0,r.jsx)(es.TN,{className:"flex justify-between items-center",children:(0,r.jsx)("span",{children:"No profile exists for the current SIM card. Create a profile to configure your network settings."})})]}):null;if("paused"===y.status)return(0,r.jsxs)(es.Fc,{className:"mb-1",variant:"default",children:[(0,r.jsx)(z,{className:"h-4 w-4",color:"orange"}),(0,r.jsx)(es.XL,{children:"Profile Paused"}),(0,r.jsx)(es.TN,{className:"flex justify-between items-center",children:(0,r.jsx)("span",{children:y.message||'Profile "'.concat(y.profile,'" is currently paused. Resume to apply settings.')})})]});let e=y.message,s="";return"error"===y.status?(s="Profile Issue",y.message.includes("missing the required APN setting")?(s="Missing APN Setting",e='Please edit profile "'.concat(y.profile,'" and add an APN to enable network connectivity.')):y.message.includes("Could not detect SIM card")?(s="SIM Card Not Detected",e="Please check that a SIM card is properly inserted in your device."):y.message.includes("Could not communicate with modem")&&(s="Modem Communication Error",e="Having trouble connecting to the cellular modem. Please check your device.")):"success"===y.status&&(y.message.includes("already applied")||y.message.includes("Profile already correctly applied"))?(s="Profile Active",e='Profile "'.concat(y.profile,'" is active and correctly applied')):"applying"===y.status?s="Applying Profile":"rebooting"===y.status?(s="Device Rebooting",e="Your device is restarting to apply configuration changes."):s="Success",(0,r.jsxs)(es.Fc,{className:"mb-1",variant:"error"===y.status?"destructive":"default",children:["applying"===y.status?(0,r.jsx)(J.A,{className:"h-4 w-4 animate-spin"}):"error"===y.status?(0,r.jsx)(O.A,{className:"h-4 w-4",color:"orange"}):"rebooting"===y.status?(0,r.jsx)(q.A,{className:"h-4 w-4 animate-spin"}):(0,r.jsx)(V.A,{className:"h-4 w-4",color:"green"}),(0,r.jsx)(es.XL,{children:s}),(0,r.jsxs)(es.TN,{className:"flex justify-between items-center",children:[(0,r.jsx)("span",{children:e}),"applying"===y.status&&(0,r.jsxs)("span",{className:"font-semibold",children:[y.progress,"%"]})]})]})})()]})]})})}},93557:(e,s,t)=>{"use strict";t.d(s,{Cf:()=>h,Es:()=>x,HM:()=>m,L3:()=>f,c7:()=>u,lG:()=>d,rr:()=>g,zM:()=>c});var a=t(20475),r=t(20107),i=t(60241),n=t(7197),l=t(22250);let d=i.bL,c=i.l9,o=i.ZL,m=i.bm,p=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(i.hJ,{ref:s,className:(0,l.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...r})});p.displayName=i.hJ.displayName;let h=r.forwardRef((e,s)=>{let{className:t,children:r,...d}=e;return(0,a.jsxs)(o,{children:[(0,a.jsx)(p,{}),(0,a.jsxs)(i.UC,{ref:s,className:(0,l.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...d,children:[r,(0,a.jsxs)(i.bm,{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,a.jsx)(n.MKb,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});h.displayName=i.UC.displayName;let u=e=>{let{className:s,...t}=e;return(0,a.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-1.5 text-center sm:text-left",s),...t})};u.displayName="DialogHeader";let x=e=>{let{className:s,...t}=e;return(0,a.jsx)("div",{className:(0,l.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",s),...t})};x.displayName="DialogFooter";let f=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(i.hE,{ref:s,className:(0,l.cn)("text-lg font-semibold leading-none tracking-tight",t),...r})});f.displayName=i.hE.displayName;let g=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(i.VY,{ref:s,className:(0,l.cn)("text-sm text-muted-foreground",t),...r})});g.displayName=i.VY.displayName},55948:(e,s,t)=>{"use strict";t.d(s,{AM:()=>l,Wv:()=>d,hl:()=>c});var a=t(20475),r=t(20107),i=t(21869),n=t(22250);let l=i.bL,d=i.l9;i.Mz;let c=r.forwardRef((e,s)=>{let{className:t,align:r="center",sideOffset:l=4,...d}=e;return(0,a.jsx)(i.ZL,{children:(0,a.jsx)(i.UC,{ref:s,align:r,sideOffset:l,className:(0,n.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...d})})});c.displayName=i.UC.displayName},36760:(e,s,t)=>{"use strict";t.d(s,{E:()=>i});var a=t(20475),r=t(22250);function i(e){let{className:s,...t}=e;return(0,a.jsx)("div",{className:(0,r.cn)("animate-pulse rounded-md bg-primary/10",s),...t})}},17799:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(39997).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},14389:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(39997).A)("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]])},26459:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(39997).A)("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"}]])}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,7780,8885,3746,9464,3494,241,4736,2487,191,6035,7358],()=>s(18866)),_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/custom-features/quecwatch/page-00f3e849a02621a8.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/quecwatch/page-9a95d155176e28a3.js similarity index 72% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/quecwatch/page-00f3e849a02621a8.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/quecwatch/page-9a95d155176e28a3.js index 706c3b3..8b6372a 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/quecwatch/page-00f3e849a02621a8.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/custom-features/quecwatch/page-9a95d155176e28a3.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8321],{84521:(e,s,_)=>{Promise.resolve().then(_.bind(_,31917))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,1258,4687,3746,9464,3494,3048,1917,191,6035,7358],()=>s(84521)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8321],{84521:(e,s,_)=>{Promise.resolve().then(_.bind(_,31917))}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,7780,8885,3746,9464,3494,3048,4409,191,6035,7358],()=>s(84521)),_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/keep-alive/page-e899ccb8db391db5.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/keep-alive/page-809f1943703cc601.js similarity index 99% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/keep-alive/page-e899ccb8db391db5.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/keep-alive/page-809f1943703cc601.js index 8609a81..871bc4e 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/keep-alive/page-e899ccb8db391db5.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/keep-alive/page-809f1943703cc601.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3376],{72116:(e,t,r)=>{Promise.resolve().then(r.bind(r,4546))},4546:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var a=r(20475),s=r(20107),i=r(72167),n=r(64219),l=r(49153),o=r(98969),d=r(12607),c=r(39865),u=r(77257),p=r(32857);let m=()=>{let[e,t]=(0,s.useState)(""),[r,m]=(0,s.useState)(""),[f,h]=(0,s.useState)(""),[v,x]=(0,s.useState)(!1),[g,b]=(0,s.useState)(!1),{toast:w}=(0,p.dj)();(0,s.useEffect)(()=>{y()},[]);let y=async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/keep_alive_reworked.sh?status=true");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let r=await e.json();t(r.start_time||""),m(r.end_time||""),h(r.interval?r.interval.toString():""),x(1===r.enabled)}catch(e){console.error("Failed to fetch status:",e),w({title:"Error",description:"Failed to fetch current status",variant:"destructive"})}},j=async t=>{if(!g){b(!0);try{if(t){if(!e||!r||!f){w({title:"Error",description:"Please fill in all fields",variant:"destructive"}),b(!1);return}let t=parseInt(f,10);if(isNaN(t)||t<5){w({title:"Error",description:"Interval must be at least 5 minutes",variant:"destructive"}),b(!1);return}let a=await fetch("/cgi-bin/quecmanager/experimental/keep_alive_reworked.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"start_time=".concat(encodeURIComponent(e),"&end_time=").concat(encodeURIComponent(r),"&interval=").concat(encodeURIComponent(f))});if(!a.ok)throw Error("HTTP error! status: ".concat(a.status));let s=await a.json();if(s.error){w({title:"Error",description:s.error,variant:"destructive"}),b(!1);return}w({title:"Success",description:"Keep-alive scheduling enabled with download method"}),x(!0)}else{let e=await fetch("/cgi-bin/quecmanager/experimental/keep_alive_reworked.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"disable=true"});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();if(t.error){w({title:"Error",description:t.error,variant:"destructive"}),b(!1);return}w({title:"Success",description:"Keep-alive scheduling disabled"}),x(!1)}}catch(e){console.error("Failed to update keep-alive settings:",e),w({title:"Error",description:"Failed to update keep-alive settings. Please check your connection.",variant:"destructive"})}finally{b(!1)}}};return(0,a.jsxs)(i.Zp,{children:[(0,a.jsxs)(i.aR,{children:[(0,a.jsx)("div",{className:"flex items-center justify-between",children:(0,a.jsx)(i.ZB,{children:"Keep Alive"})}),(0,a.jsx)(i.BT,{children:"Ensure uninterrupted connectivity by downloading test files at scheduled intervals to keep your connection alive."})]}),(0,a.jsx)(i.Wu,{children:(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(l.J,{htmlFor:"start-time",children:"Start Time"}),(0,a.jsx)(n.p,{type:"time",id:"start-time",value:e,onChange:e=>t(e.target.value),disabled:v||g})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(l.J,{htmlFor:"end-time",children:"End Time"}),(0,a.jsx)(n.p,{type:"time",id:"end-time",value:r,onChange:e=>m(e.target.value),disabled:v||g})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(l.J,{htmlFor:"interval",children:"Interval (minutes)"}),(0,a.jsx)(n.p,{type:"number",id:"interval",min:5,value:f,onChange:e=>{h(e.target.value.replace(/[^0-9]/g,"").replace(/^0+/,""))},placeholder:"Enter minutes (minimum 5)",disabled:v||g,className:"[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"})]}),v?(0,a.jsxs)("div",{className:"lg:col-span-2 col-span-1 flex items-center gap-2",children:[(0,a.jsx)(o.A,{className:"h-4 w-4 text-green-500 hidden md:block"}),(0,a.jsx)("p",{className:"text-sm text-gray-500",children:"Keep-alive scheduling is enabled."})]}):(0,a.jsxs)("div",{className:"lg:col-span-2 col-span-1 flex items-center gap-2",children:[(0,a.jsx)(d.A,{className:"h-4 w-4 text-orange-500 hidden md:block"}),(0,a.jsxs)("p",{className:"text-sm text-gray-500",children:["Downloads a",(0,a.jsx)("a",{href:"https://ash-speed.hetzner.com/",target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 hover:underline mx-1",children:"100MB test file"}),"at each interval. Please consider your data usage limits. The minimum interval is 5 minutes."]})]})]})}),(0,a.jsx)(i.wL,{className:"border-t py-4",children:(0,a.jsxs)(u.l,{pressed:v,onPressedChange:j,disabled:g||!e||!r||!f,children:[(0,a.jsx)(c.hTt,{className:"h-4 w-4 mr-2"}),g?"Processing...":v?"Disable Keep Alive":"Enable Keep Alive"]})})]})}},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>n,aR:()=>l,wL:()=>u});var a=r(20475),s=r(20107),i=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});n.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",r),...s})});l.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h3",{ref:t,className:(0,i.cn)("font-semibold leading-none tracking-tight",r),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("p",{ref:t,className:(0,i.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,i.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,i.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});var a=r(20475),s=r(20107),i=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,type:s,...n}=e;return(0,a.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,...n})});n.displayName="Input"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>d});var a=r(20475),s=r(20107),i=r(21840),n=r(29395),l=r(22250);let o=(0,n.F)("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)(i.b,{ref:t,className:(0,l.cn)(o(),r),...s})});d.displayName=i.b.displayName},77257:(e,t,r)=>{"use strict";r.d(t,{l:()=>d,v:()=>o});var a=r(20475),s=r(20107),i=r(85692),n=r(29395),l=r(22250);let o=(0,n.F)("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{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-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>{let{className:r,variant:s,size:n,...d}=e;return(0,a.jsx)(i.b,{ref:t,className:(0,l.cn)(o({variant:s,size:n,className:r})),...d})});d.displayName=i.b.displayName},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>p,oR:()=>u});var a=r(20107);let s=0,i=new Map,n=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);i.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?n(r):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},o=[],d={toasts:[]};function c(e){d=l(d,e),o.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 p(){let[e,t]=a.useState(d);return a.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>i});var a=r(64901),s=r(868);function i(){for(var e=arguments.length,t=Array(e),r=0;r{var t=t=>e(e.s=t);e.O(0,[7116,1258,1150,191,6035,7358],()=>t(72116)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3376],{72116:(e,t,r)=>{Promise.resolve().then(r.bind(r,4546))},4546:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var a=r(20475),s=r(20107),i=r(72167),n=r(64219),l=r(49153),o=r(98969),d=r(12607),c=r(39865),u=r(77257),p=r(32857);let m=()=>{let[e,t]=(0,s.useState)(""),[r,m]=(0,s.useState)(""),[f,h]=(0,s.useState)(""),[v,x]=(0,s.useState)(!1),[g,b]=(0,s.useState)(!1),{toast:w}=(0,p.dj)();(0,s.useEffect)(()=>{y()},[]);let y=async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/keep_alive_reworked.sh?status=true");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let r=await e.json();t(r.start_time||""),m(r.end_time||""),h(r.interval?r.interval.toString():""),x(1===r.enabled)}catch(e){console.error("Failed to fetch status:",e),w({title:"Error",description:"Failed to fetch current status",variant:"destructive"})}},j=async t=>{if(!g){b(!0);try{if(t){if(!e||!r||!f){w({title:"Error",description:"Please fill in all fields",variant:"destructive"}),b(!1);return}let t=parseInt(f,10);if(isNaN(t)||t<5){w({title:"Error",description:"Interval must be at least 5 minutes",variant:"destructive"}),b(!1);return}let a=await fetch("/cgi-bin/quecmanager/experimental/keep_alive_reworked.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"start_time=".concat(encodeURIComponent(e),"&end_time=").concat(encodeURIComponent(r),"&interval=").concat(encodeURIComponent(f))});if(!a.ok)throw Error("HTTP error! status: ".concat(a.status));let s=await a.json();if(s.error){w({title:"Error",description:s.error,variant:"destructive"}),b(!1);return}w({title:"Success",description:"Keep-alive scheduling enabled with download method"}),x(!0)}else{let e=await fetch("/cgi-bin/quecmanager/experimental/keep_alive_reworked.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"disable=true"});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();if(t.error){w({title:"Error",description:t.error,variant:"destructive"}),b(!1);return}w({title:"Success",description:"Keep-alive scheduling disabled"}),x(!1)}}catch(e){console.error("Failed to update keep-alive settings:",e),w({title:"Error",description:"Failed to update keep-alive settings. Please check your connection.",variant:"destructive"})}finally{b(!1)}}};return(0,a.jsxs)(i.Zp,{children:[(0,a.jsxs)(i.aR,{children:[(0,a.jsx)("div",{className:"flex items-center justify-between",children:(0,a.jsx)(i.ZB,{children:"Keep Alive"})}),(0,a.jsx)(i.BT,{children:"Ensure uninterrupted connectivity by downloading test files at scheduled intervals to keep your connection alive."})]}),(0,a.jsx)(i.Wu,{children:(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(l.J,{htmlFor:"start-time",children:"Start Time"}),(0,a.jsx)(n.p,{type:"time",id:"start-time",value:e,onChange:e=>t(e.target.value),disabled:v||g})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(l.J,{htmlFor:"end-time",children:"End Time"}),(0,a.jsx)(n.p,{type:"time",id:"end-time",value:r,onChange:e=>m(e.target.value),disabled:v||g})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(l.J,{htmlFor:"interval",children:"Interval (minutes)"}),(0,a.jsx)(n.p,{type:"number",id:"interval",min:5,value:f,onChange:e=>{h(e.target.value.replace(/[^0-9]/g,"").replace(/^0+/,""))},placeholder:"Enter minutes (minimum 5)",disabled:v||g,className:"[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"})]}),v?(0,a.jsxs)("div",{className:"lg:col-span-2 col-span-1 flex items-center gap-2",children:[(0,a.jsx)(o.A,{className:"h-4 w-4 text-green-500 hidden md:block"}),(0,a.jsx)("p",{className:"text-sm text-gray-500",children:"Keep-alive scheduling is enabled."})]}):(0,a.jsxs)("div",{className:"lg:col-span-2 col-span-1 flex items-center gap-2",children:[(0,a.jsx)(d.A,{className:"h-4 w-4 text-orange-500 hidden md:block"}),(0,a.jsxs)("p",{className:"text-sm text-gray-500",children:["Downloads a",(0,a.jsx)("a",{href:"https://ash-speed.hetzner.com/",target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 hover:underline mx-1",children:"100MB test file"}),"at each interval. Please consider your data usage limits. The minimum interval is 5 minutes."]})]})]})}),(0,a.jsx)(i.wL,{className:"border-t py-4",children:(0,a.jsxs)(u.l,{pressed:v,onPressedChange:j,disabled:g||!e||!r||!f,children:[(0,a.jsx)(c.hTt,{className:"h-4 w-4 mr-2"}),g?"Processing...":v?"Disable Keep Alive":"Enable Keep Alive"]})})]})}},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>n,aR:()=>l,wL:()=>u});var a=r(20475),s=r(20107),i=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});n.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",r),...s})});l.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h3",{ref:t,className:(0,i.cn)("font-semibold leading-none tracking-tight",r),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("p",{ref:t,className:(0,i.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,i.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,i.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});var a=r(20475),s=r(20107),i=r(22250);let n=s.forwardRef((e,t)=>{let{className:r,type:s,...n}=e;return(0,a.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,...n})});n.displayName="Input"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>d});var a=r(20475),s=r(20107),i=r(21840),n=r(29395),l=r(22250);let o=(0,n.F)("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)(i.b,{ref:t,className:(0,l.cn)(o(),r),...s})});d.displayName=i.b.displayName},77257:(e,t,r)=>{"use strict";r.d(t,{l:()=>d,v:()=>o});var a=r(20475),s=r(20107),i=r(85692),n=r(29395),l=r(22250);let o=(0,n.F)("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{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-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>{let{className:r,variant:s,size:n,...d}=e;return(0,a.jsx)(i.b,{ref:t,className:(0,l.cn)(o({variant:s,size:n,className:r})),...d})});d.displayName=i.b.displayName},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>p,oR:()=>u});var a=r(20107);let s=0,i=new Map,n=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);i.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?n(r):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},o=[],d={toasts:[]};function c(e){d=l(d,e),o.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 p(){let[e,t]=a.useState(d);return a.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>i});var a=r(64901),s=r(868);function i(){for(var e=arguments.length,t=Array(e),r=0;r{var t=t=>e(e.s=t);e.O(0,[7116,7780,6380,191,6035,7358],()=>t(72116)),_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/layout-8e15d627987cc9e6.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js new file mode 100644 index 0000000..6cd5cb0 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3075],{87390:(e,s,a)=>{Promise.resolve().then(a.bind(a,31753))},31753:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>d});var t=a(20475);a(20107);var r=a(16118),l=a(9477),n=a.n(l);let d=e=>{let{children:s}=e,a=(0,r.usePathname)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,t.jsx)("h1",{className:"text-3xl font-semibold",children:"Experimental"})}),(0,t.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,t.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,t.jsx)(n(),{href:"/dashboard/experimental/network-insights",className:"".concat("/dashboard/experimental/network-insights/"===a?"font-semibold text-primary":"text-sm"),children:"Network Insights"}),(0,t.jsx)(n(),{href:"/dashboard/experimental/keep-alive",className:"".concat("/dashboard/experimental/keep-alive/"===a?"font-semibold text-primary":"text-sm"),children:"Keep Alive"}),(0,t.jsx)(n(),{href:"/dashboard/experimental/scheduled-reboot",className:"".concat("/dashboard/experimental/scheduled-reboot/"===a?"font-semibold text-primary":"text-sm"),children:"Scheduled Reboot"})]}),s]})]})}},16118:(e,s,a)=>{"use strict";var t=a(65834);a.o(t,"usePathname")&&a.d(s,{usePathname:function(){return t.usePathname}}),a.o(t,"useRouter")&&a.d(s,{useRouter:function(){return t.useRouter}})}},e=>{var s=s=>e(e.s=s);e.O(0,[9477,191,6035,7358],()=>s(87390)),_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/layout-abf85d53875077ee.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-abf85d53875077ee.js deleted file mode 100644 index 1e5621f..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-abf85d53875077ee.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3075],{87390:(e,a,s)=>{Promise.resolve().then(s.bind(s,31753))},31753:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>i});var r=s(20475);s(20107);var t=s(16118),l=s(9477),d=s.n(l);let i=e=>{let{children:a}=e,s=(0,t.usePathname)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,r.jsx)("h1",{className:"text-3xl font-semibold",children:"Experimental"})}),(0,r.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,r.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,r.jsx)(d(),{href:"/dashboard/experimental/network-insights",className:"".concat("/dashboard/experimental/network-insights/"===s?"font-semibold text-primary":"text-sm"),children:"Network Insights"}),(0,r.jsx)(d(),{href:"/dashboard/experimental/keep-alive",className:"".concat("/dashboard/experimental/keep-alive/"===s?"font-semibold text-primary":"text-sm"),children:"Keep Alive"}),(0,r.jsx)(d(),{href:"/dashboard/experimental/scheduled-reboot",className:"".concat("/dashboard/experimental/scheduled-reboot/"===s?"font-semibold text-primary":"text-sm"),children:"Scheduled Reboot"})]}),a]})]})}}},e=>{var a=a=>e(e.s=a);e.O(0,[1318,191,6035,7358],()=>a(87390)),_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/network-insights/page-aa6fca266d42378a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/network-insights/page-aa6fca266d42378a.js new file mode 100644 index 0000000..367fe83 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/network-insights/page-aa6fca266d42378a.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7417],{27609:(e,s,_)=>{Promise.resolve().then(_.bind(_,78171))}},e=>{var s=s=>e(e.s=s);e.O(0,[7780,8171,191,6035,7358],()=>s(27609)),_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/network-insights/page-fb9efb970527b5b8.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/network-insights/page-fb9efb970527b5b8.js deleted file mode 100644 index e08d8f7..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/network-insights/page-fb9efb970527b5b8.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7417],{27609:(e,s,_)=>{Promise.resolve().then(_.bind(_,13099))}},e=>{var s=s=>e(e.s=s);e.O(0,[1258,3099,191,6035,7358],()=>s(27609)),_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-445534e2f7ee6367.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/page-445534e2f7ee6367.js new file mode 100644 index 0000000..ce265f2 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/page-445534e2f7ee6367.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7040],{6912:(e,s,_)=>{Promise.resolve().then(_.bind(_,78171))}},e=>{var s=s=>e(e.s=s);e.O(0,[7780,8171,191,6035,7358],()=>s(6912)),_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-562b1aca273e607c.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/page-562b1aca273e607c.js deleted file mode 100644 index 9d9be2d..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/page-562b1aca273e607c.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7040],{6912:(e,s,_)=>{Promise.resolve().then(_.bind(_,13099))}},e=>{var s=s=>e(e.s=s);e.O(0,[1258,3099,191,6035,7358],()=>s(6912)),_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/scheduled-reboot/page-0d8356b12e63ea87.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/scheduled-reboot/page-73854145a3a5c144.js similarity index 99% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/scheduled-reboot/page-0d8356b12e63ea87.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/scheduled-reboot/page-73854145a3a5c144.js index 4352595..557df52 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/scheduled-reboot/page-0d8356b12e63ea87.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/scheduled-reboot/page-73854145a3a5c144.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5914],{70066:(e,t,a)=>{Promise.resolve().then(a.bind(a,58674))},58674:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>v});var r=a(20475),s=a(20107),i=a(32857),n=a(72167),d=a(49153),o=a(18861),l=a(64219),c=a(79266),u=a(37369),f=a(74624),m=a(22250),h=a(77257);let p=s.createContext({size:"default",variant:"default"}),y=s.forwardRef((e,t)=>{let{className:a,variant:s,size:i,children:n,...d}=e;return(0,r.jsx)(f.bL,{ref:t,className:(0,m.cn)("flex items-center justify-center gap-1",a),...d,children:(0,r.jsx)(p.Provider,{value:{variant:s,size:i},children:n})})});y.displayName=f.bL.displayName;let g=s.forwardRef((e,t)=>{let{className:a,children:i,variant:n,size:d,...o}=e,l=s.useContext(p);return(0,r.jsx)(f.q7,{ref:t,className:(0,m.cn)((0,h.v)({variant:l.variant||n,size:l.size||d}),a),...o,children:i})});g.displayName=f.q7.displayName;var b=a(42541);let v=()=>{let{toast:e}=(0,i.dj)(),[t,a]=(0,s.useState)(!1),[f,m]=(0,s.useState)(!1),[h,p]=(0,s.useState)({enabled:!1,time:"03:00",days:["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]}),[v,x]=(0,s.useState)("03:00"),[w,j]=(0,s.useState)(["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]),N=async()=>{try{a(!0);let e=await fetch("/cgi-bin/quecmanager/experimental/scheduled_reboot.sh");if(!e.ok)throw Error("Failed to fetch configuration");let t=await e.text();try{let e=JSON.parse(t);if("success"===e.status&&e.data){let t=e.data,a={enabled:"boolean"==typeof t.enabled&&t.enabled,time:"string"==typeof t.time?t.time:"03:00",days:Array.isArray(t.days)?t.days:["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]};p(a),x(a.time),j(a.days)}else throw Error(e.message||"Invalid configuration format")}catch(e){throw console.error("Response parsing error:",t),Error("Failed to parse server response")}}catch(t){e({variant:"destructive",title:"Error",description:t instanceof Error?t.message:"Failed to fetch configuration"})}finally{a(!1)}},T=async t=>{try{m(!0);let a=await fetch("/cgi-bin/quecmanager/experimental/scheduled_reboot.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok)throw Error("Failed to save configuration");let r=await a.json();if("success"===r.status)p(r.data),x(r.data.time),j(r.data.days),e({title:"Success",description:"Scheduled reboot settings saved successfully"});else throw Error(r.message||"Failed to save configuration")}catch(t){e({variant:"destructive",title:"Error",description:t instanceof Error?t.message:"Failed to save configuration"})}finally{m(!1)}},S=async e=>{e?await T({enabled:!0,time:v,days:w}):await T({...h,enabled:!1})},E=async()=>{try{m(!0);let t=await fetch("/cgi-bin/quecmanager/experimental/scheduled_reboot.sh",{method:"DELETE"});if(!t.ok)throw Error("Failed to reset configuration");let a=await t.json();if("success"===a.status)p(a.data),x(a.data.time),j(a.data.days),e({title:"Success",description:"Scheduled reboot settings reset to default"});else throw Error(a.message||"Failed to reset configuration")}catch(t){e({variant:"destructive",title:"Error",description:t instanceof Error?t.message:"Failed to reset configuration"})}finally{m(!1)}};return(0,s.useEffect)(()=>{N()},[]),(0,r.jsxs)(n.Zp,{children:[(0,r.jsxs)(n.aR,{children:[(0,r.jsx)(n.ZB,{children:"Scheduled Reboot"}),(0,r.jsx)(n.BT,{children:"Manage the scheduled reboot settings for your device."})]}),(0,r.jsxs)(n.Wu,{className:"grid space-y-6",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2 mt-4",children:[(0,r.jsx)(o.d,{id:"scheduled-reboot",checked:h.enabled,onCheckedChange:S,disabled:f||t}),(0,r.jsx)(d.J,{htmlFor:"scheduled-reboot",children:"Enable Scheduled Reboot"})]}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(d.J,{htmlFor:"rebootTime",children:"Set Reboot Time"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(l.p,{id:"rebootTime",type:"time",placeholder:"Reboot Time",value:v,onChange:e=>{x(e.target.value)},disabled:f,className:"peer block w-full rounded-md border py-[9px] text-sm"}),(0,r.jsx)(c.A,{className:"pointer-events-none absolute right-3 top-1/2 h-[18px] w-[18px] -translate-y-1/2"})]})]}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(d.J,{htmlFor:"days",children:"Set Reboot Days"}),(0,r.jsxs)(y,{type:"multiple",variant:"outline",value:w,onValueChange:e=>{j(e)},disabled:f,children:[(0,r.jsx)(g,{value:"monday","aria-label":"Toggle Monday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"monday",children:"Monday"})}),(0,r.jsx)(g,{value:"tuesday","aria-label":"Toggle Tuesday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"tuesday",children:"Tuesday"})}),(0,r.jsx)(g,{value:"wednesday","aria-label":"Toggle Wednesday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"wednesday",children:"Wednesday"})}),(0,r.jsx)(g,{value:"thursday","aria-label":"Toggle Thursday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"thursday",children:"Thursday"})}),(0,r.jsx)(g,{value:"friday","aria-label":"Toggle Friday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"friday",children:"Friday"})}),(0,r.jsx)(g,{value:"saturday","aria-label":"Toggle Saturday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"saturday",children:"Saturday"})}),(0,r.jsx)(g,{value:"sunday","aria-label":"Toggle Sunday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"sunday",children:"Sunday"})})]})]})]}),(0,r.jsx)(n.wL,{className:"flex border-t py-4",children:(0,r.jsxs)(b.$,{variant:"secondary",onClick:E,disabled:f||t,children:[(0,r.jsx)(u.A,{className:"h-4 w-4"}),"Reset to Default"]})})]})}},42541:(e,t,a)=>{"use strict";a.d(t,{$:()=>l,r:()=>o});var r=a(20475),s=a(20107),i=a(61837),n=a(29395),d=a(22250);let o=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=s.forwardRef((e,t)=>{let{className:a,variant:s,size:n,asChild:l=!1,...c}=e,u=l?i.DX:"button";return(0,r.jsx)(u,{className:(0,d.cn)(o({variant:s,size:n,className:a})),ref:t,...c})});l.displayName="Button"},72167:(e,t,a)=>{"use strict";a.d(t,{BT:()=>l,Wu:()=>c,ZB:()=>o,Zp:()=>n,aR:()=>d,wL:()=>u});var r=a(20475),s=a(20107),i=a(22250);let n=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",a),...s})});n.displayName="Card";let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",a),...s})});d.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("h3",{ref:t,className:(0,i.cn)("font-semibold leading-none tracking-tight",a),...s})});o.displayName="CardTitle";let l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",a),...s})});l.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",a),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",a),...s})});u.displayName="CardFooter"},64219:(e,t,a)=>{"use strict";a.d(t,{p:()=>n});var r=a(20475),s=a(20107),i=a(22250);let n=s.forwardRef((e,t)=>{let{className:a,type:s,...n}=e;return(0,r.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",a),ref:t,...n})});n.displayName="Input"},49153:(e,t,a)=>{"use strict";a.d(t,{J:()=>l});var r=a(20475),s=a(20107),i=a(21840),n=a(29395),d=a(22250);let o=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.b,{ref:t,className:(0,d.cn)(o(),a),...s})});l.displayName=i.b.displayName},18861:(e,t,a)=>{"use strict";a.d(t,{d:()=>d});var r=a(20475),s=a(20107),i=a(80982),n=a(22250);let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.bL,{className:(0,n.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",a),...s,ref:t,children:(0,r.jsx)(i.zi,{className:(0,n.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")})})});d.displayName=i.bL.displayName},77257:(e,t,a)=>{"use strict";a.d(t,{l:()=>l,v:()=>o});var r=a(20475),s=a(20107),i=a(85692),n=a(29395),d=a(22250);let o=(0,n.F)("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{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-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),l=s.forwardRef((e,t)=>{let{className:a,variant:s,size:n,...l}=e;return(0,r.jsx)(i.b,{ref:t,className:(0,d.cn)(o({variant:s,size:n,className:a})),...l})});l.displayName=i.b.displayName},32857:(e,t,a)=>{"use strict";a.d(t,{dj:()=>f,oR:()=>u});var r=a(20107);let s=0,i=new Map,n=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);i.set(e,t)},d=(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?n(a):e.toasts.forEach(e=>{n(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)}}},o=[],l={toasts:[]};function c(e){l=d(l,e),o.forEach(e=>{e(l)})}function u(e){let{...t}=e,a=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||r()}}}),{id:a,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function f(){let[e,t]=r.useState(l);return r.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,a)=>{"use strict";a.d(t,{cn:()=>i});var r=a(64901),s=a(868);function i(){for(var e=arguments.length,t=Array(e),a=0;a{var t=t=>e(e.s=t);e.O(0,[1258,2114,191,6035,7358],()=>t(70066)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5914],{70066:(e,t,a)=>{Promise.resolve().then(a.bind(a,58674))},58674:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>v});var r=a(20475),s=a(20107),i=a(32857),n=a(72167),d=a(49153),o=a(18861),l=a(64219),c=a(79266),u=a(37369),f=a(74624),m=a(22250),h=a(77257);let p=s.createContext({size:"default",variant:"default"}),y=s.forwardRef((e,t)=>{let{className:a,variant:s,size:i,children:n,...d}=e;return(0,r.jsx)(f.bL,{ref:t,className:(0,m.cn)("flex items-center justify-center gap-1",a),...d,children:(0,r.jsx)(p.Provider,{value:{variant:s,size:i},children:n})})});y.displayName=f.bL.displayName;let g=s.forwardRef((e,t)=>{let{className:a,children:i,variant:n,size:d,...o}=e,l=s.useContext(p);return(0,r.jsx)(f.q7,{ref:t,className:(0,m.cn)((0,h.v)({variant:l.variant||n,size:l.size||d}),a),...o,children:i})});g.displayName=f.q7.displayName;var b=a(42541);let v=()=>{let{toast:e}=(0,i.dj)(),[t,a]=(0,s.useState)(!1),[f,m]=(0,s.useState)(!1),[h,p]=(0,s.useState)({enabled:!1,time:"03:00",days:["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]}),[v,x]=(0,s.useState)("03:00"),[w,j]=(0,s.useState)(["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]),N=async()=>{try{a(!0);let e=await fetch("/cgi-bin/quecmanager/experimental/scheduled_reboot.sh");if(!e.ok)throw Error("Failed to fetch configuration");let t=await e.text();try{let e=JSON.parse(t);if("success"===e.status&&e.data){let t=e.data,a={enabled:"boolean"==typeof t.enabled&&t.enabled,time:"string"==typeof t.time?t.time:"03:00",days:Array.isArray(t.days)?t.days:["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]};p(a),x(a.time),j(a.days)}else throw Error(e.message||"Invalid configuration format")}catch(e){throw console.error("Response parsing error:",t),Error("Failed to parse server response")}}catch(t){e({variant:"destructive",title:"Error",description:t instanceof Error?t.message:"Failed to fetch configuration"})}finally{a(!1)}},T=async t=>{try{m(!0);let a=await fetch("/cgi-bin/quecmanager/experimental/scheduled_reboot.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok)throw Error("Failed to save configuration");let r=await a.json();if("success"===r.status)p(r.data),x(r.data.time),j(r.data.days),e({title:"Success",description:"Scheduled reboot settings saved successfully"});else throw Error(r.message||"Failed to save configuration")}catch(t){e({variant:"destructive",title:"Error",description:t instanceof Error?t.message:"Failed to save configuration"})}finally{m(!1)}},S=async e=>{e?await T({enabled:!0,time:v,days:w}):await T({...h,enabled:!1})},E=async()=>{try{m(!0);let t=await fetch("/cgi-bin/quecmanager/experimental/scheduled_reboot.sh",{method:"DELETE"});if(!t.ok)throw Error("Failed to reset configuration");let a=await t.json();if("success"===a.status)p(a.data),x(a.data.time),j(a.data.days),e({title:"Success",description:"Scheduled reboot settings reset to default"});else throw Error(a.message||"Failed to reset configuration")}catch(t){e({variant:"destructive",title:"Error",description:t instanceof Error?t.message:"Failed to reset configuration"})}finally{m(!1)}};return(0,s.useEffect)(()=>{N()},[]),(0,r.jsxs)(n.Zp,{children:[(0,r.jsxs)(n.aR,{children:[(0,r.jsx)(n.ZB,{children:"Scheduled Reboot"}),(0,r.jsx)(n.BT,{children:"Manage the scheduled reboot settings for your device."})]}),(0,r.jsxs)(n.Wu,{className:"grid space-y-6",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2 mt-4",children:[(0,r.jsx)(o.d,{id:"scheduled-reboot",checked:h.enabled,onCheckedChange:S,disabled:f||t}),(0,r.jsx)(d.J,{htmlFor:"scheduled-reboot",children:"Enable Scheduled Reboot"})]}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(d.J,{htmlFor:"rebootTime",children:"Set Reboot Time"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(l.p,{id:"rebootTime",type:"time",placeholder:"Reboot Time",value:v,onChange:e=>{x(e.target.value)},disabled:f,className:"peer block w-full rounded-md border py-[9px] text-sm"}),(0,r.jsx)(c.A,{className:"pointer-events-none absolute right-3 top-1/2 h-[18px] w-[18px] -translate-y-1/2"})]})]}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(d.J,{htmlFor:"days",children:"Set Reboot Days"}),(0,r.jsxs)(y,{type:"multiple",variant:"outline",value:w,onValueChange:e=>{j(e)},disabled:f,children:[(0,r.jsx)(g,{value:"monday","aria-label":"Toggle Monday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"monday",children:"Monday"})}),(0,r.jsx)(g,{value:"tuesday","aria-label":"Toggle Tuesday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"tuesday",children:"Tuesday"})}),(0,r.jsx)(g,{value:"wednesday","aria-label":"Toggle Wednesday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"wednesday",children:"Wednesday"})}),(0,r.jsx)(g,{value:"thursday","aria-label":"Toggle Thursday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"thursday",children:"Thursday"})}),(0,r.jsx)(g,{value:"friday","aria-label":"Toggle Friday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"friday",children:"Friday"})}),(0,r.jsx)(g,{value:"saturday","aria-label":"Toggle Saturday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"saturday",children:"Saturday"})}),(0,r.jsx)(g,{value:"sunday","aria-label":"Toggle Sunday",children:(0,r.jsx)(d.J,{className:"cursor-pointer",htmlFor:"sunday",children:"Sunday"})})]})]})]}),(0,r.jsx)(n.wL,{className:"flex border-t py-4",children:(0,r.jsxs)(b.$,{variant:"secondary",onClick:E,disabled:f||t,children:[(0,r.jsx)(u.A,{className:"h-4 w-4"}),"Reset to Default"]})})]})}},42541:(e,t,a)=>{"use strict";a.d(t,{$:()=>l,r:()=>o});var r=a(20475),s=a(20107),i=a(61837),n=a(29395),d=a(22250);let o=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=s.forwardRef((e,t)=>{let{className:a,variant:s,size:n,asChild:l=!1,...c}=e,u=l?i.DX:"button";return(0,r.jsx)(u,{className:(0,d.cn)(o({variant:s,size:n,className:a})),ref:t,...c})});l.displayName="Button"},72167:(e,t,a)=>{"use strict";a.d(t,{BT:()=>l,Wu:()=>c,ZB:()=>o,Zp:()=>n,aR:()=>d,wL:()=>u});var r=a(20475),s=a(20107),i=a(22250);let n=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",a),...s})});n.displayName="Card";let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",a),...s})});d.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("h3",{ref:t,className:(0,i.cn)("font-semibold leading-none tracking-tight",a),...s})});o.displayName="CardTitle";let l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",a),...s})});l.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",a),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",a),...s})});u.displayName="CardFooter"},64219:(e,t,a)=>{"use strict";a.d(t,{p:()=>n});var r=a(20475),s=a(20107),i=a(22250);let n=s.forwardRef((e,t)=>{let{className:a,type:s,...n}=e;return(0,r.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",a),ref:t,...n})});n.displayName="Input"},49153:(e,t,a)=>{"use strict";a.d(t,{J:()=>l});var r=a(20475),s=a(20107),i=a(21840),n=a(29395),d=a(22250);let o=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.b,{ref:t,className:(0,d.cn)(o(),a),...s})});l.displayName=i.b.displayName},18861:(e,t,a)=>{"use strict";a.d(t,{d:()=>d});var r=a(20475),s=a(20107),i=a(80982),n=a(22250);let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.bL,{className:(0,n.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",a),...s,ref:t,children:(0,r.jsx)(i.zi,{className:(0,n.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")})})});d.displayName=i.bL.displayName},77257:(e,t,a)=>{"use strict";a.d(t,{l:()=>l,v:()=>o});var r=a(20475),s=a(20107),i=a(85692),n=a(29395),d=a(22250);let o=(0,n.F)("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{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-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),l=s.forwardRef((e,t)=>{let{className:a,variant:s,size:n,...l}=e;return(0,r.jsx)(i.b,{ref:t,className:(0,d.cn)(o({variant:s,size:n,className:a})),...l})});l.displayName=i.b.displayName},32857:(e,t,a)=>{"use strict";a.d(t,{dj:()=>f,oR:()=>u});var r=a(20107);let s=0,i=new Map,n=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);i.set(e,t)},d=(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?n(a):e.toasts.forEach(e=>{n(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)}}},o=[],l={toasts:[]};function c(e){l=d(l,e),o.forEach(e=>{e(l)})}function u(e){let{...t}=e,a=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||r()}}}),{id:a,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function f(){let[e,t]=r.useState(l);return r.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,a)=>{"use strict";a.d(t,{cn:()=>i});var r=a(64901),s=a(868);function i(){for(var e=arguments.length,t=Array(e),a=0;a{var t=t=>e(e.s=t);e.O(0,[7780,8704,191,6035,7358],()=>t(70066)),_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/home/page-1b3d349f475c354b.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-1b3d349f475c354b.js deleted file mode 100644 index ef98904..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-1b3d349f475c354b.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6665],{98722:(e,s,t)=>{Promise.resolve().then(t.bind(t,42988))},42988:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>eW});var r=t(20475),l=t(20107),n=t(32857),a=t(72167),i=t(36760),o=t(45934);let d=e=>{let{data:s,isLoading:t,hideSensitiveData:l}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Sim Card"}),(0,r.jsx)(a.BT,{children:"Sim card information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Sim Card Slot in Use"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[50px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.slot})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Sim Card State"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{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,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Provider"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.provider})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Phone Number"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.phoneNumber})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"IMSI"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imsi})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"ICCID"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.iccid})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"IMEI"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imei})]})]})]})},c={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"},x=e=>u[e]||"Unknown",h=e=>{let{data:s,isLoading:t,dataConnectionState:l,connectionStateLoading:n}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Connection"}),(0,r.jsx)(a.BT,{children:"Connection information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"APN"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.apn})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Operator State"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.connection.operatorState)==="Unknown"||(null==s?void 0:s.connection.operatorState)==="Denied"||(null==s?void 0:s.connection.operatorState)==="Not Registered"?"bg-rose-500 hover:bg-rose-800":"bg-emerald-500 hover:bg-emerald-800"),children:null==s?void 0:s.connection.operatorState})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Functionality State"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{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,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Data Connection State"}),n?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat("Connected"===l?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:l})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Network Type"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.networkType})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Modem Temperature"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.modemTemperature})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Access Technology"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:(null==s?void 0:s.connection.accessTechnology)?x(s.connection.accessTechnology):"Unknown"})]})]})]})},p=e=>{let{data:s,isLoading:t,bytesSent:l,bytesReceived:n}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Data Transmission"}),(0,r.jsx)(a.BT,{children:"Data transmission information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Carrier Aggregation"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{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,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Bandwidth"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.bandwidth})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Connected Bands"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.connectedBands})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Signal Strength"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>80?"bg-emerald-500 hover:bg-emerald-800":(null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>40?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.dataTransmission.signalStrength})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"MIMO Layers"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.mimoLayers})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Bytes Sent"}),(0,r.jsx)("p",{className:"font-bold",children:l})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Bytes Received"}),(0,r.jsx)("p",{className:"font-bold",children:n})]})]})]})};var f=t(85014);let g=e=>{let{data:s,isLoading:t}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Cellular Information"}),(0,r.jsx)(a.BT,{children:"Cellular network information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Cell ID"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.cellId})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{children:"TAC"}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)("div",{className:"grid grid-cols-1 gap-1",children:(0,r.jsx)("span",{className:"font-medium",children:"Region / Tracking Area Code"})})})]})}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.trackingAreaCode})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Physical Cell IDs"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.physicalCellId})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"E/ARFCN"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.earfcn})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Mobile Country Code"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mcc})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Mobile Network Code"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mnc})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Antenna Signal Quality"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[80px]"}):(0,r.jsx)(o.E,{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})]})]})]})};var v=t(1307),j=t(53134),N=t(94005),w=t(4538),b=t(41797),y=t(79492);let S={signal:{label:"LTE/5G Signal Metrics"},rsrp:{label:"RSRP",color:"hsl(var(--chart-1))"},rsrq:{label:"RSRQ",color:"hsl(var(--chart-2))"},sinr:{label:"SINR",color:"hsl(var(--chart-3))"}},A=e=>{let s=e.split("\n").filter(e=>e.trim()),t=[];s.forEach(e=>{let s=e.match(/-?\d+/g);s&&t.push(...s.map(Number))});let r=t.filter(e=>-140!==e&&-32768!==e);return 0===r.length?0:Math.round(r.reduce((e,s)=>e+s,0)/r.length)},C=()=>{let[e,s]=(0,l.useState)(()=>{let e=new Date;return Array.from({length:5},(s,t)=>({time:new Date(e.getTime()-(4-t)*3e3).toISOString(),rsrp:0,rsrq:0,sinr:0}))}),[t,n]=(0,l.useState)("rsrp"),[o,d]=(0,l.useState)(!0),[c,m]=(0,l.useState)(null),u=(0,l.useCallback)(async()=>{try{let e;let t=await fetch("/cgi-bin/quecmanager/home/fetch_signal_metrics.sh");if(!t.ok)throw Error("Failed to fetch signal metrics");try{e=await t.json()}catch(e){throw console.error("Error parsing JSON:",e),Error("Failed to parse signal metrics data")}let r=Math.min(e.rsrp.length,e.rsrq.length,e.sinr.length);if(0===r)throw Error("No signal metrics data available");let l=Array.from({length:r},(s,t)=>({time:e.rsrp[t].datetime,rsrp:A(e.rsrp[t].output),rsrq:A(e.rsrq[t].output),sinr:A(e.sinr[t].output)}));s(l),m(null)}catch(t){console.error("Error fetching metrics:",t),m(t instanceof Error?t.message:"An unknown error occurred");let e=new Date().toISOString();s(s=>{let t=[...s];return t.length>=20&&t.shift(),t.push({time:e,rsrp:0,rsrq:0,sinr:0}),t})}finally{d(!1)}},[]);(0,l.useEffect)(()=>{u();let e=setInterval(u,15e3);return()=>clearInterval(e)},[u]);let x=e.length>0?e[e.length-1]:{rsrp:0,rsrq:0,sinr:0};return c?(0,r.jsx)(a.Zp,{children:(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Error Loading Signal Metrics"}),(0,r.jsx)(a.BT,{children:c})]})}):(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{className:"flex flex-col items-stretch space-y-0 border-b p-0 sm:flex-row",children:[(0,r.jsxs)("div",{className:"flex flex-1 flex-col justify-center gap-1 px-6 py-5 sm:py-6",children:[(0,r.jsx)(a.ZB,{children:"Antenna Port Signal Metrics"}),(0,r.jsx)(a.BT,{children:"Per-port signal values averaged across all active ports"})]}),(0,r.jsx)("div",{className:"flex",children:["rsrp","rsrq","sinr"].map(e=>(0,r.jsxs)("button",{"data-active":t===e,className:"flex flex-1 flex-col justify-center gap-1 border-t px-6 py-4 text-left even:border-l data-[active=true]:bg-muted/50 sm:border-l sm:border-t-0 sm:px-8 sm:py-6",onClick:()=>n(e),children:[(0,r.jsx)("span",{className:"text-xs text-muted-foreground",children:S[e].label}),o?(0,r.jsx)(i.E,{className:"lg:h-10 h-6 w-full"}):(0,r.jsx)("span",{className:"text-base font-bold leading-none sm:text-3xl",children:x[e].toFixed(0)})]},e))})]}),(0,r.jsx)(a.Wu,{className:"px-2 sm:p-6",children:(0,r.jsx)(v.at,{config:S,className:"aspect-auto h-[250px] w-full",children:(0,r.jsxs)(j.Q,{accessibilityLayer:!0,data:e,margin:{left:12,right:12},children:[(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"fillRsrp",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrp)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrp)",stopOpacity:.1})]}),(0,r.jsxs)("linearGradient",{id:"fillRsrq",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrq)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrq)",stopOpacity:.1})]}),(0,r.jsxs)("linearGradient",{id:"fillSinr",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-sinr)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-sinr)",stopOpacity:.1})]})]}),(0,r.jsx)(N.d,{vertical:!1}),(0,r.jsx)(w.W,{dataKey:"time",tickLine:!1,axisLine:!1,tickMargin:8,minTickGap:32,tickFormatter:e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0})}),(0,r.jsx)(b.h,{hide:!0,domain:(e=>{switch(e){case"rsrp":return[-140,-60];case"rsrq":return[-20,0];case"sinr":return[-10,30];default:return[0,"auto"]}})(t)}),(0,r.jsx)(v.II,{content:(0,r.jsx)(v.Nt,{className:"w-[200px]",nameKey:"metric",labelFormatter:e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0})})}),(0,r.jsx)(y.G,{dataKey:t,type:"monotone",stroke:"var(--color-".concat(t,")"),fill:"url(#fill".concat(t.charAt(0).toUpperCase()+t.slice(1),")"),strokeWidth:2,activeDot:{r:4},baseValue:(e=>{switch(e){case"rsrp":return -140;case"rsrq":return -20;case"sinr":return -10;default:return 0}})(t)})]})})}),(0,r.jsxs)(a.wL,{className:"flex-col items-start gap-2 text-sm",children:[(0,r.jsx)("div",{className:"flex gap-2 font-medium leading-none",children:"Displays aggregated signal metrics across all active antenna ports."}),(0,r.jsx)("div",{className:"leading-none text-muted-foreground italic",children:"Higher values indicate better signal quality."})]})]})},I=e=>"".concat(Math.round(e/1048576)," MB"),E=()=>{let[e,s]=(0,l.useState)({total:0,used:0,available:0}),[t,n]=(0,l.useState)(!0);return(0,l.useEffect)(()=>{let e=async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_hw_details.sh?type=memory",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)throw Error("Network response was not ok");let r=await e.json();s(r),t&&n(!1)}catch(e){console.error("Failed to fetch memory information"),t&&n(!1)}};e();let r=setInterval(e,2e3);return()=>clearInterval(r)},[t]),(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsx)(a.ZB,{children:"Memory"})}),(0,r.jsx)(a.Wu,{children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Total"}),t?(0,r.jsx)(i.E,{className:"h-6 w-24"}):(0,r.jsx)("span",{className:"text-base font-bold",children:I(e.total)})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Used"}),t?(0,r.jsx)(i.E,{className:"h-6 w-24"}):(0,r.jsx)("span",{className:"text-base font-bold",children:I(e.used)})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Available"}),t?(0,r.jsx)(i.E,{className:"h-6 w-24"}):(0,r.jsx)("span",{className:"text-base font-bold",children:I(e.available)})]})]})})]})},k={ms:{label:"ms",color:"hsl(var(--chart-4))"}},T=()=>new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"}),R=()=>{let[e,s]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");return e?JSON.parse(e):[]}),t=(0,l.useRef)(e);(0,l.useEffect)(()=>{t.current=e},[e]);let[n,d]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");if(e){let s=JSON.parse(e);return s.length>0?s[s.length-1].ms:null}return null}),[c,m]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");return!e||0===JSON.parse(e).length}),[u,x]=(0,l.useState)(!1),[h,p]=(0,l.useState)(!0),[f,g]=(0,l.useState)(!0),S=(e,s,t)=>{let r=performance.now(),l=s-e,n=s=>{let a=Math.min((s-r)/1500,1);t(Math.round(e+l*(a<.5?4*a*a*a:1-Math.pow(-2*a+2,3)/2))),a<1&&requestAnimationFrame(n)};requestAnimationFrame(n)},A=async()=>{if(h)try{let e=await fetch("/cgi-bin/quecmanager/home/ping_latency.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)throw Error("Network response was not ok");let r=await e.json();d(e=>null===e||u?r.latency:(S(e,r.latency,e=>d(e)),e));let l=T(),n=t.current,a={time:l,ms:r.latency,index:n.length>0?5:1};s(e=>{let s;if(0===e.length)s=[,,,,,].fill(null).map((e,s)=>({...a,index:s+1,time:4===s?l:T()}));else if(e.length<5){let t=Array(5-e.length).fill(null).map((s,t)=>({...a,index:e.length+t+1}));s=[...e,...t]}else s=[...e.slice(1),a].map((e,s)=>({...e,index:s+1}));return localStorage.setItem("pingData",JSON.stringify(s)),s}),x(!0),c&&m(!1)}catch(s){console.error("Failed to fetch ping latency",s),c&&e.length>0&&m(!1)}};return(0,l.useEffect)(()=>{let e=async()=>{try{g(!0);let e=await fetch("/cgi-bin/quecmanager/settings/ping_settings.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(e.ok){let s=await e.json();"success"===s.status&&s.data&&p(s.data.enabled)}}catch(e){console.error("Error checking ping settings:",e),p(!0)}finally{g(!1)}};e();let s=()=>{e()};return window.addEventListener("pingSettingsUpdated",s),()=>{window.removeEventListener("pingSettingsUpdated",s)}},[]),(0,l.useEffect)(()=>{if(!h||f)return;A();let e=setInterval(A,5e3);return()=>clearInterval(e)},[h,f]),(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,r.jsx)(a.ZB,{children:"Ping Latency"}),h?null!==n?(0,r.jsxs)(o.E,{className:"text-normal font-bold transition-opacity duration-200 ".concat(u?"":"opacity-70"),children:[n," ms ",!u&&"(cached)"]}):null:(0,r.jsx)(o.E,{variant:"secondary",className:"text-normal font-bold",children:"Ping Disabled"})]}),(0,r.jsx)(a.Wu,{children:c||f?(0,r.jsx)(i.E,{className:"h-[200px] w-full"}):(0,r.jsx)(v.at,{config:k,children:(0,r.jsxs)(j.Q,{accessibilityLayer:!0,data:e,margin:{top:5,right:10,left:0,bottom:5},children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"fillPing",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-ms)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-ms)",stopOpacity:.1})]})}),(0,r.jsx)(N.d,{vertical:!1,stroke:"var(--border)",strokeOpacity:.2}),(0,r.jsx)(w.W,{dataKey:"index",tickLine:!1,axisLine:!1,tickMargin:5,tick:{fontSize:9},ticks:[1,2,3,4,5]}),(0,r.jsx)(b.h,{hide:!1,domain:(()=>{if(0===e.length)return[0,100];let s=e.map(e=>e.ms);return[Math.max(0,Math.min(...s)-5),Math.max(...s)+5]})(),tickLine:!1,axisLine:!1,width:20,tick:{fontSize:10},tickFormatter:e=>"".concat(e)}),(0,r.jsx)(v.II,{cursor:!1,content:(0,r.jsx)(v.Nt,{labelFormatter:(s,t)=>{let r=e.find(e=>e.index===s);return r?"".concat(r.time):s},formatter:(e,s)=>["".concat(e," ms"),"Latency"]})}),(0,r.jsx)(y.G,{dataKey:"ms",type:"monotone",stroke:"var(--color-ms)",strokeWidth:2,fill:"url(#fillPing)",activeDot:{r:4,strokeWidth:0},isAnimationActive:!0,animationDuration:1200,animationEasing:"ease-in-out"})]})})})]})};var M=t(42541),P=t(93557),D=t(97801),z=t(51589),U=t(54385),L=t(14389),G=t(98969),B=t(17799),_=t(92776),F=t.n(_),O=t(7197),q=t(74043),Z=t(22250);let H=l.createContext(null);function Q(){let e=l.useContext(H);if(!e)throw Error("useCarousel must be used within a ");return e}let W=l.forwardRef((e,s)=>{let{orientation:t="horizontal",opts:n,setApi:a,plugins:i,className:o,children:d,...c}=e,[m,u]=(0,q.A)({...n,axis:"horizontal"===t?"x":"y"},i),[x,h]=l.useState(!1),[p,f]=l.useState(!1),g=l.useCallback(e=>{e&&(h(e.canScrollPrev()),f(e.canScrollNext()))},[]),v=l.useCallback(()=>{null==u||u.scrollPrev()},[u]),j=l.useCallback(()=>{null==u||u.scrollNext()},[u]),N=l.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),j())},[v,j]);return l.useEffect(()=>{u&&a&&a(u)},[u,a]),l.useEffect(()=>{if(u)return g(u),u.on("reInit",g),u.on("select",g),()=>{null==u||u.off("select",g)}},[u,g]),(0,r.jsx)(H.Provider,{value:{carouselRef:m,api:u,opts:n,orientation:t||((null==n?void 0:n.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:j,canScrollPrev:x,canScrollNext:p},children:(0,r.jsx)("div",{ref:s,onKeyDownCapture:N,className:(0,Z.cn)("relative",o),role:"region","aria-roledescription":"carousel",...c,children:d})})});W.displayName="Carousel";let $=l.forwardRef((e,s)=>{let{className:t,...l}=e,{carouselRef:n,orientation:a}=Q();return(0,r.jsx)("div",{ref:n,className:"overflow-hidden",children:(0,r.jsx)("div",{ref:s,className:(0,Z.cn)("flex","horizontal"===a?"-ml-4":"-mt-4 flex-col",t),...l})})});$.displayName="CarouselContent";let K=l.forwardRef((e,s)=>{let{className:t,...l}=e,{orientation:n}=Q();return(0,r.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,Z.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===n?"pl-4":"pt-4",t),...l})});K.displayName="CarouselItem",l.forwardRef((e,s)=>{let{className:t,variant:l="outline",size:n="icon",...a}=e,{orientation:i,scrollPrev:o,canScrollPrev:d}=Q();return(0,r.jsxs)(M.$,{ref:s,variant:l,size:n,className:(0,Z.cn)("absolute h-8 w-8 rounded-full","horizontal"===i?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...a,children:[(0,r.jsx)(O.A60,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}).displayName="CarouselPrevious",l.forwardRef((e,s)=>{let{className:t,variant:l="outline",size:n="icon",...a}=e,{orientation:i,scrollNext:o,canScrollNext:d}=Q();return(0,r.jsxs)(M.$,{ref:s,variant:l,size:n,className:(0,Z.cn)("absolute h-8 w-8 rounded-full","horizontal"===i?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...a,children:[(0,r.jsx)(O.flY,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Next slide"})]})}).displayName="CarouselNext";let V=e=>{let{id:s,bandNumber:t,earfcn:l,bandwidth:n,pci:i,rsrp:d,rsrq:c,sinr:m}=e;return(0,r.jsx)(a.Zp,{className:"p-8",children:(0,r.jsxs)("div",{className:"flex flex-row items-center gap-6 justify-between",children:[(0,r.jsxs)("div",{className:"grid gap-2 w-[180px]",children:[(0,r.jsx)("h2",{className:"text-md font-bold",children:"Band"}),(0,r.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[t.replace("LTE BAND ","B").replace("NR5G BAND ","N"),t.includes("NR5G")&&(0,r.jsx)(o.E,{className:"text-xs bg-blue-600 hover:bg-blue-800",children:"NR 5G"})]})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"E/ARFCN"}),(0,r.jsx)("p",{children:l})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"Bandwidth"}),(0,r.jsx)("p",{children:n})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"Physical Cell ID"}),(0,r.jsx)("p",{children:i})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"RSRP"}),(0,r.jsxs)(o.E,{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,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"RSRQ"}),(0,r.jsxs)(o.E,{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,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:t.includes("NR5G")?"NR-SNR":"SINR"}),(0,r.jsxs)(o.E,{className:parseInt(m)>=(t.includes("NR5G")?20:14)?"bg-emerald-500 hover:bg-emerald-800":parseInt(m)>=-2?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[m," dB"]})]})]})})},J=e=>{let{bands:s,isLoading:t}=e;return t?(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsx)("div",{className:"hidden lg:block w-full",children:(0,r.jsxs)(a.Zp,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,r.jsx)(V,{...e},e.id)),(0,r.jsx)(a.wL,{className:"w-full p-6 flex items-center justify-center",children:(0,r.jsx)(a.BT,{className:"text-md",children:"Currently bands connected."})})]})}),(0,r.jsx)(W,{className:"lg:hidden w-full max-w-xs",children:(0,r.jsx)($,{children:(0,r.jsx)(K,{children:(0,r.jsx)("div",{className:"p-1",children:(0,r.jsx)(a.Zp,{children:(0,r.jsxs)(a.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Band"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"E/ARFCN"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Bandwidth"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"PCI"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRP"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-32 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRQ"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-32 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"SINR"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-32 h-4"})})]})]})})})})})})]}):(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsx)("div",{className:"hidden lg:block w-full",children:(0,r.jsx)(a.Zp,{className:"p-6 grid gap-4",children:s&&s.map(e=>(0,r.jsx)(V,{...e},e.id))})}),(0,r.jsx)(W,{className:"lg:hidden w-full max-w-xs",children:(0,r.jsx)($,{children:null==s?void 0:s.map(e=>(0,r.jsx)(K,{className:"md:basis-1/2 lg:basis-1/3",children:(0,r.jsx)("div",{className:"p-1",children:(0,r.jsx)(a.Zp,{children:(0,r.jsxs)(a.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Band"}),(0,r.jsx)("p",{children:e.bandNumber})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"E/ARFCN"}),(0,r.jsx)("p",{children:e.earfcn})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Bandwidth"}),(0,r.jsx)("p",{children:e.bandwidth})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"PCI"}),(0,r.jsx)("p",{children:e.pci})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRP"}),(0,r.jsxs)(o.E,{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,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRQ"}),(0,r.jsxs)(o.E,{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,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"SINR"}),(0,r.jsxs)(o.E,{className:parseInt(e.sinr)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.sinr)>=-2?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.sinr," dB"]})]})]})})})},e.id))})})]})},Y=function(e,s,t,r){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Unknown",n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:":",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:",";try{var i,o,d;return(null===(d=e.split("\n")[s])||void 0===d?void 0:null===(o=d.split(n)[t])||void 0===o?void 0:null===(i=o.split(a)[r])||void 0===i?void 0:i.replace(/"/g,"").trim())||l}catch(e){return l}},X=function(e,s){var t,r;let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",n=Y((null===(r=e[15])||void 0===r?void 0:null===(t=r.response)||void 0===t?void 0:t.split("\n").find(e=>e.includes('QMAP: "WWAN"')&&e.includes('"'.concat(s,'"'))))||"",0,1,4,l," ",","),a="IPV6"==s?n.replace(/::/g,":"):n;return["0.0.0.0","::","::0","::0:0:0:0:0:0:0:0","0:0:0:0:0:0:0:0"].includes(a)?l:a},ee=function(e,s,t,r,l){let n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"-";try{var a,i,o;if(!(null===(a=e[t])||void 0===a?void 0:a.response)||!(null===(i=e[l])||void 0===i?void 0:i.response))return n;let d=e[t].response.split("\n").filter(e=>e.includes('+QMAP: "WWAN"')),c=null===(o=d[0])||void 0===o?void 0:o.match(/\+QMAP: "WWAN",\d+,(\d+),/),m=c?c[1]:null;if(!m)return n;let u=e[l].response.split("\n").filter(e=>e.includes("+CGCONTRDP:")).find(e=>{let s=e.match(/\+CGCONTRDP: (\d+),/);return s&&s[1]===m});if(!u)return n;let x=u.split(",");if(x.length<=r[s])return n;return x[r[s]].replace(/"/g,"").trim()||n}catch(e){return console.error("Error parsing DNS address:",e),n}},es=e=>{try{let s=e.match(/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/),t=e.split(".").length>4;return s?e:t?ev(e):e.replace(/:{3,}/g,"::")}catch(s){return console.error("Error formatting DNS address:",s),e}},et=e=>Y(e,1,1,3),er=(e,s)=>({1:"Registered",2:"Searching",3:"Denied",4:"Unknown",5:"Roaming"})[Number(Y(e,1,1,1))||Number(Y(s,1,1,1))]||"Not Registered",el=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g)||[],t=null==s?void 0:s.some(e=>e.includes("LTE")),r=null==s?void 0:s.some(e=>e.includes("NR5G"));return t&&r?"NR5G-NSA":t?"LTE":r?"NR5G-SA":"No Signal"},en=e=>{let s=["cpuss-0","cpuss-1","cpuss-2","cpuss-3"].map(s=>{var t;let r=e.split("\n").find(e=>e.includes(s));return parseInt(null==r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",")[1].replace(/"/g,"").trim())}),t=s.reduce((e,s)=>e+s,0)/s.length;return"".concat(Math.round(t),"\xb0C")},ea=e=>{let s=[-140,-37625,-32768],t=e=>{var t;return(null==e?void 0:null===(t=e.split(":")[1])||void 0===t?void 0:t.split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>!s.includes(e)))||[]},r=t(e.split("\n").find(e=>e.includes("LTE"))),l=t(e.split("\n").find(e=>e.includes("NR5G"))),n=e=>Math.max(0,Math.min(100,(e.reduce((e,s)=>e+s,0)/e.length+125)/50*100)),a=r.length?n(r):null,i=l.length?n(l):null;return null!==a&&null!==i?"".concat(Math.round((a+i)/2),"%"):null!==a?"".concat(Math.round(a),"%"):null!==i?"".concat(Math.round(i),"%"):"Unknown%"},ei=function(e,s,t,r){let l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],n=t[s],a=r[s];return void 0===n||void 0===a||l?void 0!==n&&void 0!==a&&l?Y(e,n,1,a).toUpperCase():"Unknown":parseInt(Y(e,n,1,a),16).toString().toUpperCase()},eo=(e,s,t)=>{let r=t[s];return Y(e,"NR5G-NSA"===s?2:1,1,r)},ed=e=>{let s=[-140,-32768,-37625],t=e=>Y(e||"",0,1,1,"Unknown",":"," ").split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>!s.includes(e))||[],r=e=>e.length?Math.max(0,Math.min(100,(e.reduce((e,s)=>e+s,0)/e.length- -10)/40*100)):0,l=e.split("\n"),n=r(t(l.find(e=>e.includes("LTE")))),a=r(t(l.find(e=>e.includes("NR5G"))));return n&&a?"".concat(Math.round((n+a)/2),"%"):n?"".concat(Math.round(n),"%"):a?"".concat(Math.round(a),"%"):"Unknown%"},ec=e=>{let s=e=>e.map(e=>Y(e,0,1,3,"Unknown",":",",")),t=[...s(e.split("+QCAINFO").filter(e=>e.includes("LTE BAND"))),...s(e.split("+QCAINFO").filter(e=>e.includes("NR5G BAND")))];return t.length?t:["Unknown"]},em=e=>{let s=s=>e.split("+QCAINFO").filter(e=>e.includes(s)).map(e=>{var s,t;return(null===(t=e.split(":")[1])||void 0===t?void 0:null===(s=t.split(",")[1])||void 0===s?void 0:s.trim())||"Unknown"}),t=s("LTE BAND"),r=s("NR5G BAND");return[...t,...r].length?[...t,...r]:["Unknown"]},eu=e=>{let s=(s,t)=>e.split("+QCAINFO").filter(e=>e.includes(s)).map(e=>{var s;return t[null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2]]||"Unknown"}),t=s("LTE BAND",c),r=s("NR5G BAND",m);return[...t,...r].length?[...t,...r]:["Unknown"]},ex=(e,s)=>{let t=e=>{var s;return e&&(null===(s=e[8===e.length?4:5])||void 0===s?void 0:s.trim())||"Unknown"},r=e=>e.map(e=>{var s;return t(null===(s=e.split(":")[1])||void 0===s?void 0:s.split(","))}),l=e.split("+QCAINFO");return[r(l.filter(e=>e.includes("PCC")))[0],...r(l.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},eh=e=>{let s=e=>{var s;return e&&(null===(s=e[(()=>{switch(e.length){case 8:return 5;case 12:return 9;default:return 6}})()])||void 0===s?void 0:s.trim())||"Unknown"},t=e=>e.map(e=>{var t;return s(null===(t=e.split(":")[1])||void 0===t?void 0:t.split(","))}),r=e.split("+QCAINFO");return[t(r.filter(e=>e.includes("PCC")))[0],...t(r.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},ep=e=>{let s=e=>{var s;return e&&(null===(s=e[(()=>{switch(e.length){case 8:return 6;case 12:return 10;default:return 7}})()])||void 0===s?void 0:s.trim())||"Unknown"},t=e=>e.map(e=>{var t;return s(null===(t=e.split(":")[1])||void 0===t?void 0:t.split(","))}),r=e.split("+QCAINFO");return[t(r.filter(e=>e.includes("PCC")))[0],...t(r.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},ef=(e,s)=>{let t=e=>{var s;return e&&(null===(s=e[(()=>{switch(e.length){case 9:return 8;case 8:return 7;case 12:return 11;default:return 9}})()])||void 0===s?void 0:s.trim())||"Unknown"},r=e=>e.map(e=>{var s;let r=t(null===(s=e.split(":")[1])||void 0===s?void 0:s.split(","));if("-32768"===r)return"-";let l=parseInt(r)>=4e3?"4000":-3e3>parseInt(r)?"-":r;return isNaN(parseInt(l))||e.includes("LTE")?l||"Unknown":Math.round(parseInt(l)/100).toString()}),l=e.split("+QCAINFO");return[r(l.filter(e=>e.includes("PCC")))[0],...r(l.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},eg=e=>{let s=[-32768,-140],t=e=>Y(e||"",0,1,1,"-32768",":"," ").split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>!s.includes(e))||[],r=t(e.split("\n").find(e=>e.includes("LTE"))).length,l=t(e.split("\n").find(e=>e.includes("NR5G"))).length;return r&&l?"LTE ".concat(r," / NR ").concat(l):r?" LTE ".concat(r):l?"NR ".concat(l):"Unknown"},ev=e=>{try{let s=e.split(".");if(s.length<8)return e;let t=s.map(e=>{let s=parseInt(e,10);return isNaN(s)?"00":s.toString(16).padStart(2,"0")}),r=[];for(let e=0;ee.replace(/^0+/,"")||"0"),n=[],a=[];for(let e=0;e0&&(a.length>n.length&&(n=[...a]),a=[]);if(a.length>n.length&&(n=[...a]),n.length>=2){let e=[];for(let s=0;s{let[e,s]=(0,l.useState)(null),[t,r]=(0,l.useState)(!0),[n,a]=(0,l.useState)(null),[i,o]=(0,l.useState)(0),d=(0,l.useCallback)(async e=>{console.error("Error fetching home data:",e),i<2?(console.log("Attempting automatic recovery (attempt ".concat(i+1,"/2)...")),o(e=>e+1),await new Promise(e=>setTimeout(e,2e3)),c()):(console.error("Max retry attempts reached. Please refresh manually."),a(e),s({simCard:{slot:"Unknown",state:"Unknown",provider:"Unknown",phoneNumber:"Unknown",imsi:"-",iccid:"-",imei:"-"},connection:{apn:"No APN",operatorState:"Unknown",functionalityState:"Disabled",networkType:"No Signal",modemTemperature:"Unknown",accessTechnology:"-"},dataTransmission:{carrierAggregation:"Inactive",connectedBands:"-",signalStrength:"-%",mimoLayers:"-",bandwidth:"Unknown"},cellularInfo:{cellId:"-",trackingAreaCode:"-",cellIdRaw:"-",trackingAreaCodeRaw:"-",physicalCellId:"-",earfcn:"-",mcc:"-",mnc:"-",signalQuality:"-%"},currentBands:{id:[1],bandNumber:["-"],earfcn:["-"],bandwidth:["-"],pci:["-"],rsrp:["-"],rsrq:["-"],sinr:["-"]},networkAddressing:{publicIPv4:"Not available",cellularIPv4:"Not available",cellularIPv6:"Not available",carrierPrimaryDNS:"Not available",carrierSecondaryDNS:"Not available",rawCarrierPrimaryDNS:"Not available",rawCarrierSecondaryDNS:"Not available"},timeAdvance:{lteTimeAdvance:"-",nrTimeAdvance:"-"}}))},[i]),c=(0,l.useCallback)(async()=>{try{var e,t,l,n,i,c,m,u,x,h,p,f,g,v,j,N,w,b,y,S,A,C,I,E,k,T;let r=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=1");if(!r.ok)throw Error("API returned status ".concat(r.status));let d=await r.json();console.log(d),d.some(e=>e.response.toLowerCase().includes("failed"))&&(console.error("SMS tool failure detected in modem response. Attempting service restart via reset-at-bridge.sh."),await fetch("/cgi-bin/quecmanager/reset-at-bridge.sh"));let R=await fetch("/cgi-bin/quecmanager/home/fetch_public_ip.sh"),M={simCard:{slot:Y(d[0].response,1,1,0),state:d[6].response.includes("READY")?"Inserted":d[6].response.includes("PIN")?"Waiting for PIN":d[6].response.includes("PUK")?"Waiting for Password":d[6].response.toLowerCase().includes("failed")?"SMS-Tool Failed Token":"Unknown",provider:Y(d[2].response,1,1,2),phoneNumber:Y(d[1].response,1,1,1),imsi:Y(d[3].response,1,0,0),iccid:Y(d[4].response,1,1,1,"Unknown",":"," "),imei:Y(d[5].response,1,0,0)},connection:{apn:Y(null===(e=d[7])||void 0===e?void 0:e.response,1,1,2,Y(null===(t=d[12])||void 0===t?void 0:t.response,1,1,2)),operatorState:er(null===(l=d[8])||void 0===l?void 0:l.response,null===(n=d[16])||void 0===n?void 0:n.response)||"Unknown",functionalityState:"1"===Y(null===(i=d[9])||void 0===i?void 0:i.response,1,1,0)?"Enabled":"Disabled",networkType:el(d[13].response)||"No Signal",modemTemperature:en(d[11].response)||"Unknown",accessTechnology:et(d[2].response)||"Unknown"},dataTransmission:{carrierAggregation:(null===(c=d[13].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g))||void 0===c?void 0:c.length)>1?"Multi":"Inactive",bandwidth:eu(d[13].response).join(", ")||"Unknown",connectedBands:ec(d[13].response).join(", ").replaceAll("LTE BAND ","B").replaceAll("NR5G BAND ","N")||"Unknown",signalStrength:ea(d[14].response)||"Unknown",mimoLayers:eg(d[14].response)||"Unknown"},cellularInfo:{cellId:ei(null===(m=d[10])||void 0===m?void 0:m.response,el(null===(u=d[13])||void 0===u?void 0:u.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":6,"NR5G-NSA":4,LTE:6},!1),trackingAreaCode:ei(null===(x=d[10])||void 0===x?void 0:x.response,el(null===(h=d[13])||void 0===h?void 0:h.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":8,"NR5G-NSA":10,LTE:12},!1),cellIdRaw:ei(null===(p=d[10])||void 0===p?void 0:p.response,el(null===(f=d[13])||void 0===f?void 0:f.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":6,"NR5G-NSA":4,LTE:6},!0),trackingAreaCodeRaw:ei(null===(g=d[10])||void 0===g?void 0:g.response,el(null===(v=d[13])||void 0===v?void 0:v.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":8,"NR5G-NSA":10,LTE:12},!0),physicalCellId:ex(d[13].response,el(d[13].response)).join(", ")||"Unknown",earfcn:em(d[13].response).join(", "),mcc:eo(null===(j=d[10])||void 0===j?void 0:j.response,el(null===(N=d[13])||void 0===N?void 0:N.response),{"NR5G-NSA":2,LTE:4,"NR5G-SA":4}),mnc:eo(null===(w=d[10])||void 0===w?void 0:w.response,el(null===(b=d[13])||void 0===b?void 0:b.response),{"NR5G-NSA":3,LTE:5,"NR5G-SA":5}),signalQuality:ed(d[19].response)||"Unknown"},currentBands:{id:Array.from({length:null!==(T=null===(y=ec(d[13].response))||void 0===y?void 0:y.length)&&void 0!==T?T:0},(e,s)=>s+1)||[1],bandNumber:ec(d[13].response)||["Unknown"],earfcn:em(d[13].response),bandwidth:eu(d[13].response)||["Unknown"],pci:ex(d[13].response,el(d[13].response))||["Unknown"],rsrp:eh(d[13].response),rsrq:ep(d[13].response)||["Unknown"],sinr:ef(d[13].response,el(d[13].response))||["Unknown"]},networkAddressing:{publicIPv4:R.ok?(await R.json()).public_ip||"-":"Can't fetch public IP",cellularIPv4:X(d,"IPV4"),cellularIPv6:X(d,"IPV6"),carrierPrimaryDNS:es(ee(d,el(null===(S=d[13])||void 0===S?void 0:S.response),15,{"NR5G-SA":5,"NR5G-NSA":6,LTE:6},20)),carrierSecondaryDNS:es(ee(d,el(null===(A=d[13])||void 0===A?void 0:A.response),15,{"NR5G-SA":6,"NR5G-NSA":7,LTE:7},20)),rawCarrierPrimaryDNS:ee(d,el(null===(C=d[13])||void 0===C?void 0:C.response),15,{"NR5G-SA":5,"NR5G-NSA":6,LTE:6},20),rawCarrierSecondaryDNS:ee(d,el(null===(I=d[13])||void 0===I?void 0:I.response),15,{"NR5G-SA":6,"NR5G-NSA":7,LTE:7},20)},timeAdvance:{lteTimeAdvance:Y(null===(E=d[21])||void 0===E?void 0:E.response,1,1,2),nrTimeAdvance:Y(null===(k=d[22])||void 0===k?void 0:k.response,1,1,2)}};s(M),o(0),a(null),console.log("Processed home data:",M)}catch(e){console.error("Error fetching home data:",e),d(e instanceof Error?e:Error(String(e)))}finally{r(!1)}},[d]);return(0,l.useEffect)(()=>{let e,s=!0;return(async()=>{if(s)try{await c()}finally{s&&r(!1)}})(),e=setInterval(()=>{c()},15e3),()=>{s=!1,clearInterval(e)}},[c]),{data:e,isLoading:t,error:n,refresh:(0,l.useCallback)(async()=>{r(!0),await c(),r(!1)},[c])}},eN=()=>{let[e,s]=(0,l.useState)("Unknown"),[t,r]=(0,l.useState)(!0),n=(0,l.useCallback)(async()=>{try{r(!0);let e=await fetch("/cgi-bin/quecmanager/home/check_net.sh"),t=await e.json();s("ACTIVE"===t.connection?"Connected":"Disconnected"),r(!1)}catch(e){console.error("Error fetching data connection state:",e),s("Unknown"),r(!1)}},[]);return(0,l.useEffect)(()=>{n();let e=setInterval(n,3e4);return()=>clearInterval(e)},[n]),{dataConnectionState:e,refresh:(0,l.useCallback)(()=>{n()},[n]),isStateLoading:t}},ew=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]},eb=()=>{let[e,s]=(0,l.useState)("0 Bytes"),[t,r]=(0,l.useState)("0 Bytes"),[n,a]=(0,l.useState)(""),i=e=>{var t,l;let n=Array.isArray(e)?e[e.length-1]:e;if(!n)return;a(n.datetime);let i=n.output.replace(/\r\\n/g,"\n").trim().split("\n").filter(e=>e.trim()),o=null===(t=i.find(e=>e.includes("+QGDCNT:")))||void 0===t?void 0:t.trim(),d=null===(l=i.find(e=>e.includes("+QGDNRCNT:")))||void 0===l?void 0:l.trim();if(!o||!d){console.error("Missing required data in response");return}let[c,m]=o.replace("+QGDCNT:","").split(",").map(e=>parseInt(e.trim())),[u,x]=d.replace("+QGDNRCNT:","").split(",").map(e=>parseInt(e.trim()));s(ew((m||0)+(u||0))),r(ew((c||0)+(x||0)))},o=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_data_usage.sh"),s=await e.json();i(s)}catch(e){console.error("Error fetching traffic stats:",e)}},[]);return(0,l.useEffect)(()=>{o();let e=setInterval(o,12e3);return()=>clearInterval(e)},[o]),{bytesSent:e,bytesReceived:t,lastUpdateTime:n,refresh:(0,l.useCallback)(()=>{o()},[o])}};var ey=t(23484);let eS=()=>{let[e,s]=(0,l.useState)(!1),[t,r]=(0,l.useState)(null),n=(e,s)=>{var t,r,l,n;let a=null===(r=e.split("\n")[1])||void 0===r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",")[1].trim(),i=null===(n=s.split("\n")[1])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[1].trim();return"1"===a||"1"===i?"Registered":"Not Registered"},a=(e,s)=>{var t,r,l,n;return(null===(r=e.split("\n")[1])||void 0===r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",")[2].replace(/"/g,"").trim())===(null===(n=s.split("\n")[1])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[2].replace(/"/g,"").trim())?"Enabled":"Disabled"},i=e=>{var s,t,r,l;let n=null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim(),a=null===(l=e.split("\n")[2])||void 0===l?void 0:null===(r=l.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim();return n&&"1"===n||a&&"1"===a?"Connected":"Disconnected"},o=e=>{try{var s,t,r,l;let n=e.trim().split("\n").map(e=>e.trim()),a=n.find(e=>e.includes("+QRSRP:")&&e.includes("LTE")),i=n.find(e=>e.includes("+QRSRP:")&&e.includes("NR5G")),o=[];a&&(o=null==a?void 0:null===(t=a.split(":")[1])||void 0===t?void 0:null===(s=t.split(","))||void 0===s?void 0:s.slice(0,4).map(e=>e.trim()).filter(e=>!isNaN(parseInt(e))).map(e=>parseInt(e)));let d=[];if(i&&(d=null==i?void 0:null===(l=i.split(":")[1])||void 0===l?void 0:null===(r=l.split(","))||void 0===r?void 0:r.slice(0,4).map(e=>e.trim()).filter(e=>!isNaN(parseInt(e))).map(e=>parseInt(e))),o=o.filter(e=>-32768!==e),d=d.filter(e=>-32768!==e),o=o.filter(e=>-140!==e),d=d.filter(e=>-140!==e),o.length>0){let e=o.reduce((e,s)=>e+s,0)/o.length;if(d.length>0){let s=d.reduce((e,s)=>e+s,0)/d.length;return(e+s)/2<-100?"Poor":"Good"}return e<-100?"Poor":"Good"}if(d.length>0)return d.reduce((e,s)=>e+s,0)/d.length<-100?"Poor":"Good";return"N/A"}catch(e){return console.error("Error processing cell signal:",e),"N/A"}},d=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"},c=e=>{var s,t,r,l,n,a;let i=null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim(),o=null===(l=e.split("\n")[2])||void 0===l?void 0:null===(r=l.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim(),d=null===(a=e.split("\n")[3])||void 0===a?void 0:null===(n=a.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim(),c=["0"!==i?"EMM: ".concat(i):null,"0"!==o?"ESM: ".concat(o):null,"0"!==d?"NRMM: ".concat(d):null].filter(Boolean);return c.length>0?c.join(", "):"None"},m=e=>{var s,t,r,l,n,a;let i=null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim(),o=null===(l=e.split("\n")[2])||void 0===l?void 0:null===(r=l.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim(),d=null===(a=e.split("\n")[3])||void 0===a?void 0:null===(n=a.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim(),c={};return i&&"0"!==i&&(c.emm={code:i,description:ey.ZK[i]||"Unknown EMM cause"}),o&&"0"!==o&&(c.esm={code:o,description:ey.jq[o]||"Unknown ESM cause"}),d&&"0"!==d&&(c.nrmm={code:d,description:ey.QI[d]||"Unknown NRMM cause"}),Object.keys(c).length>0?c:null};return{isRunningDiagnostics:e,runDiagnosticsData:t,startDiagnostics:async()=>{s(!0),new Date().toISOString();try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=6"),s=await e.json(),t={netRegistration:n(s[0].response,s[1].response),simState:s[2].response.split("\n")[1].split(":")[1].trim(),manualAPN:a(s[3].response,s[4].response),wanIP:i(s[5].response),cellSignal:o(s[6].response),modemTemp:d(s[7].response),netReject:c(s[8].response),rejectCauses:m(s[8].response)};return r(t),t}catch(e){throw console.error("Error running diagnostics:",e),e}finally{s(!1)}}}};var eA=t(80159),eC=t(12607),eI=t(25262),eE=t(8782),ek=t(10964),eT=t(89463),eR=t(90304),eM=t(622),eP=t(20633),eD=t(7778),ez=t(99312),eU=t(91994),eL=t(92823),eG=t(71834);let eB=e=>{if(null==e)return"N/A";let s=["B","KB","MB","GB"],t=e,r=0;for(;t>=1024&&r{if(null==e)return"N/A";let s=["bps","Kbps","Mbps","Gbps"],t=8*e,r=0;for(;t>=1e3&&r{var e,s,t,i;let{toast:d}=(0,n.dj)(),[c,m]=(0,l.useState)(null),[u,x]=(0,l.useState)(null),[h,p]=(0,l.useState)(null),[f,g]=(0,l.useState)(!1),[v,j]=(0,l.useState)(!1),[N,w]=(0,l.useState)(!1),[b,y]=(0,l.useState)(0),[S,A]=(0,l.useState)(!1),[C,I]=(0,l.useState)(!1),E=(0,l.useRef)(null),k=(0,l.useRef)(null),T=(0,l.useCallback)(()=>{m(null),x(null),p(null),g(!1),j(!1),w(!1),y(0),k.current=null,E.current&&(clearInterval(E.current),E.current=null)},[]);(0,l.useEffect)(()=>{let e=sessionStorage.getItem("speedtestData");if(e&&m(JSON.parse(e)),f&&!v){A(!0);let e=setTimeout(()=>{A(!1)},1e4);return()=>clearTimeout(e)}},[f,v]),(0,l.useEffect)(()=>()=>{E.current&&clearInterval(E.current)},[]);let R=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/speedtest/speedtest_status.sh");if(!e.ok)throw Error("Failed to fetch status: ".concat(e.status));let s=await e.json();if("not_running"===s.status){v&&(p("Test ended unexpectedly"),j(!1)),E.current&&(clearInterval(E.current),E.current=null);return}if(s.type)try{switch(s.type){case"ping":x("ping"),s.ping&&"number"==typeof s.ping.progress&&y(s.ping.progress);break;case"download":case"upload":"ping"!==u&&x(s.type);break;case"result":if(s.download&&s.upload&&s.ping){k.current=s,m(s),g(!0),j(!1),sessionStorage.setItem("speedtestData",JSON.stringify(s)),E.current&&(clearInterval(E.current),E.current=null);return}console.warn("Incomplete result data received:",s)}}catch(e){console.error("Error processing speedtest data:",e)}(s.type&&(s.download||s.upload||s.ping)||s.isp)&&(k.current=s,m(s))}catch(e){console.error("Error polling speedtest status:",e),v&&(p("Failed to get speedtest status"),j(!1),E.current&&(clearInterval(E.current),E.current=null))}},[u,v]),D=(0,l.useCallback)(async()=>{if(!S)try{if(T(),w(!0),j(!0),I(!0),!(await fetch("/cgi-bin/quecmanager/home/speedtest/start_speedtest.sh",{method:"GET"})).ok)throw Error("Failed to start speedtest");E.current=setInterval(R,300),w(!1)}catch(e){console.error("Speedtest start error:",e),p(e instanceof Error?"Failed to start speedtest: ".concat(e.message):"Failed to start speedtest"),w(!1),j(!1)}},[S,T,R]);return(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsx)(a.ZB,{children:"Network Speedtest"})}),(0,r.jsxs)(a.Wu,{className:"flex flex-col gap-6 p-4 items-center justify-center",children:[(0,r.jsxs)(P.lG,{open:C,onOpenChange:I,children:[(0,r.jsx)(P.zM,{asChild:!0,children:(0,r.jsxs)("div",{className:"relative flex flex-col items-center justify-center",children:[(0,r.jsx)(eG.A,{color:"#5420ab",size:192,className:"-top-8 -left-8 absolute",style:{zIndex:1}}),(0,r.jsx)(L.A,{className:"size-32 z-10 text-primary cursor-pointer hover:text-primary/80 transition-colors duration-300",onClick:e=>{S||(e.preventDefault(),D())}})]})}),(0,r.jsxs)(P.Cf,{className:"sm:max-w-[800px] max-w-xs mx-auto",children:[(0,r.jsx)(P.c7,{children:(0,r.jsxs)(P.L3,{className:"flex items-center",children:[(0,r.jsx)(ek.A,{className:"mr-2"})," Network Speedtest",f&&(0,r.jsx)(o.E,{variant:"outline",className:"ml-2",children:"Complete"}),v&&!f&&(0,r.jsx)(o.E,{variant:"outline",className:"ml-2 bg-primary/10",children:"Running..."})]})}),(0,r.jsx)("div",{className:"lg:max-w-full max-w-sm mx-auto min-w-sm py-6",children:(()=>{var e,s,t,l,n,i,o,d,m,x,p,g,j,w,y,S,A,C,I,E,k,R,M,P,z,U;if(h)return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eC.A,{className:"text-rose-600 lg:size-48 size-16 animate-pulse"}),(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Network Speedtest Failed"}),(0,r.jsxs)("p",{className:"text-sm text-gray-500",children:["Something went wrong while running the speedtest.",(0,r.jsx)("span",{className:"underline cursor-pointer ml-2",onClick:()=>{T(),D()},children:"Please try again."})]})]});if(N||v&&!c)return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eI.A,{className:"text-primary lg:size-48 size-16 animate-pulse"}),(0,r.jsx)("h3",{className:"md:text-xl text-lg font-semibold",children:"Initiating Network Speedtest"}),(0,r.jsx)("p",{className:"text-sm text-gray-500 text-center",children:"Locating and establishing a connection to a server. Please wait..."})]});if("ping"===u)return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eE.A,{className:"text-gray-600 size-16 animate-pulse"}),(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Calculating Ping Latency"}),(0,r.jsx)("div",{className:"w-full bg-gray-200 rounded-full h-2.5",children:(0,r.jsx)("div",{className:"bg-blue-600 h-2.5 rounded-full",style:{width:"".concat(100*(b||0),"%")}})}),(0,r.jsx)("p",{className:"text-sm text-gray-500",children:(null==c?void 0:c.ping)?"Latency: ".concat(c.ping.latency.toFixed(2)," ms, \n Jitter: ").concat(c.ping.jitter.toFixed(2)," ms"):"Measuring network responsiveness..."})]});if(f)return c&&c.download&&c.upload&&c.ping?(0,r.jsxs)("div",{className:"grid gap-4 w-full min-w-sm",children:[(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsxs)(a.ZB,{className:"flex items-center",children:[(0,r.jsx)(ek.A,{className:"mr-4 text-violet-600"})," Speedtest Result"]})}),(0,r.jsx)(a.Wu,{className:"lg:py-12 py-6 min-w-sm w-full",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4 lg:gap-y-0 gap-y-8 gap-x-8",children:[(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(eT.A,{className:"text-green-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"font-semibold",children:"Download"})]}),(0,r.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:e_(null===(t=c.download)||void 0===t?void 0:t.bandwidth)}),(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(eR.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(R=null===(i=c.download)||void 0===i?void 0:null===(n=i.latency)||void 0===n?void 0:null===(l=n.iqm)||void 0===l?void 0:l.toFixed(2))&&void 0!==R?R:"N/A"," ","ms"]})]})]}),(0,r.jsxs)("div",{className:"grid gap-1.5 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(eM.A,{className:"text-violet-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"font-semibold",children:"Upload"})]}),(0,r.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:e_(null===(o=c.upload)||void 0===o?void 0:o.bandwidth)}),(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(eR.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(M=null===(x=c.upload)||void 0===x?void 0:null===(m=x.latency)||void 0===m?void 0:null===(d=m.iqm)||void 0===d?void 0:d.toFixed(2))&&void 0!==M?M:"N/A"," ","ms"]})]})]})]})}),(0,r.jsxs)(a.wL,{className:"flex items-center justify-between mx-auto",children:[(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(eE.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Ping"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(P=null===(g=c.ping)||void 0===g?void 0:null===(p=g.latency)||void 0===p?void 0:p.toFixed(2))&&void 0!==P?P:"N/A"," ms"]})]}),(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(eP.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Jitter"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(z=null===(w=c.ping)||void 0===w?void 0:null===(j=w.jitter)||void 0===j?void 0:j.toFixed(2))&&void 0!==z?z:"N/A"," ms"]})]})]})]}),(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsxs)(a.ZB,{className:"flex items-center",children:[(0,r.jsx)(eD.A,{className:"mr-4 text-blue-600"})," Connection & Server Details"]})}),(0,r.jsx)(a.Wu,{children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"ISP:"}),(0,r.jsx)("p",{children:c.isp||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Internal IP:"}),(0,r.jsx)("p",{children:(null===(y=c.interface)||void 0===y?void 0:y.internalIp)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"External IP:"}),(0,r.jsx)("p",{children:(null===(S=c.interface)||void 0===S?void 0:S.externalIp)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Server Name:"}),(0,r.jsx)("p",{children:(null===(A=c.server)||void 0===A?void 0:A.name)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Location:"}),(0,r.jsx)("p",{children:(null===(C=c.server)||void 0===C?void 0:C.location)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Country:"}),(0,r.jsx)("p",{children:(null===(I=c.server)||void 0===I?void 0:I.country)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Server IP:"}),(0,r.jsx)("p",{children:(null===(E=c.server)||void 0===E?void 0:E.host)||"N/A"})]}),(null===(k=c.result)||void 0===k?void 0:k.url)&&(0,r.jsxs)("div",{className:"flex items-center gap-x-2 mt-4",children:[(0,r.jsx)(ez.A,{className:"text-blue-600 size-4"}),(0,r.jsx)("a",{href:c.result.url,target:"_blank",rel:"noopener noreferrer",className:"font-medium text-blue-600 hover:underline",children:"View Full Result Online"})]})]})})]})]}):(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eC.A,{className:"text-amber-500 lg:size-16 size-8"}),(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Incomplete Test Results"}),(0,r.jsxs)("p",{className:"text-sm text-gray-500 text-center",children:["The test didn't complete properly. Some data may be missing.",(0,r.jsx)("span",{className:"underline cursor-pointer ml-2 block",onClick:()=>{T(),D()},children:"Run the test again"})]})]});if(!u||!c)return null;if(!c[u])return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eU.A,{className:"text-primary lg:size-16 size-8 animate-spin"}),(0,r.jsx)("h3",{className:"text-lg font-semibold",children:"Loading test data..."})]});let L=c[u],G="download"===u;return(0,r.jsxs)(a.Zp,{className:"p-4 w-full",children:[(0,r.jsx)(a.aR,{children:(0,r.jsxs)(a.ZB,{className:"flex items-center",children:[G?(0,r.jsx)(eT.A,{className:"text-green-500 lg:size-6 size-4 mr-1"}):(0,r.jsx)(eM.A,{className:"text-violet-500 lg:size-6 size-4 mr-1"}),(0,r.jsxs)("p",{className:"ml-2",children:["Testing ",G?"Download":"Upload"," Speed"]})]})}),(0,r.jsx)(a.Wu,{children:(0,r.jsx)("div",{className:"grid place-items-center max-w-sm lg:max-w-full mx-auto w-full",children:(0,r.jsx)("h1",{className:"lg:text-[4rem] text-[3rem] font-semibold text-center",children:e_(L.bandwidth)})})}),(0,r.jsx)(a.wL,{children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eL.A,{className:"mr-2 text-yellow-600"}),"Bytes Transferred"]}),(0,r.jsx)("p",{className:"lg:text-md text-base text-muted font-semibold",children:eB(L.bytes)})]}),(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(ek.A,{className:"mr-2 text-purple-600"}),"Elapsed Time"]}),(0,r.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[(L.elapsed/1e3).toFixed(2)," sec"]})]}),(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eE.A,{className:"mr-2 text-gray-600"}),"Latency (IQM)"]}),(0,r.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[null!==(U=null===(s=L.latency)||void 0===s?void 0:null===(e=s.iqm)||void 0===e?void 0:e.toFixed(2))&&void 0!==U?U:"N/A"," ms"]})]})]})})]})})()}),(0,r.jsx)(P.Es,{className:"flex justify-between items-center",children:f?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:(0,r.jsxs)(M.$,{onClick:()=>{S?d({title:"Please wait",description:"Cooldown period active"}):(T(),D())},variant:"outline",disabled:S,children:[(0,r.jsx)(eU.A,{className:"h-4 w-4"}),"Run Again"]})}),(0,r.jsx)(M.$,{onClick:()=>I(!1),children:"Close"})]}):(0,r.jsx)(r.Fragment,{children:v?(0,r.jsx)(M.$,{onClick:()=>{T(),I(!1)},variant:"destructive",children:"Cancel Test"}):(0,r.jsx)(M.$,{onClick:()=>I(!1),children:"Close"})})})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.BT,{className:"relative flex flex-col items-center justify-center",children:S?"Please wait 10 seconds before starting another test.":v?"Test in progress...":"Run a speed test to check your internet connection."}),c?(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)("div",{className:"relative flex flex-col items-center justify-center",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-1 grid-flow-row",children:[(0,r.jsxs)("div",{className:"flex items-center mx-2",children:[(0,r.jsx)(eT.A,{className:"text-green-500 lg:size-4 size-4 mr-1"}),(null==c?void 0:c.download)?"".concat(e_(null==c?void 0:null===(e=c.download)||void 0===e?void 0:e.bandwidth)):"N/A"]}),(0,r.jsxs)("div",{className:"flex items-center mx-2",children:[(0,r.jsx)(eM.A,{className:"text-violet-500 lg:size-4 size-4 mr-1"}),(null==c?void 0:c.upload)?"".concat(e_(null==c?void 0:null===(s=c.upload)||void 0===s?void 0:s.bandwidth)):"N/A"]}),(0,r.jsxs)("div",{className:"flex items-center mx-2",children:[(0,r.jsx)(eE.A,{className:"text-gray-600 lg:size-4 mr-1"}),(null==c?void 0:c.ping)?"".concat(null==c?void 0:null===(i=c.ping)||void 0===i?void 0:null===(t=i.latency)||void 0===t?void 0:t.toFixed(2)," ms"):"N/A"]})]})})}):v?(0,r.jsx)("p",{className:"text-sm text-gray-500 text-center",children:'"Test in progress..."'}):(0,r.jsx)("p",{className:"text-sm text-gray-500 text-center",children:'"Previous data not available."'})]})]})]})};var eO=t(88926);let eq=e=>{let{data:s,isLoading:t,hideSensitiveData:l}=e;return(0,r.jsx)(a.Zp,{className:"md:py-6 md:px-6 py-6 px-4 ",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-5 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Public IPv4 Address"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.publicIPv4})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Cellular IPv4 Address"}),(0,r.jsx)("div",{className:"flex items-center gap-x-2",children:t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.cellularIPv4})})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Cellular IPv6 Address"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.cellularIPv6})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Carrier Primary DNS"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{children:null==s?void 0:s.networkAddressing.carrierPrimaryDNS}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.rawCarrierPrimaryDNS})})]})})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Carrier Secondary DNS"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{children:null==s?void 0:s.networkAddressing.carrierSecondaryDNS}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.rawCarrierSecondaryDNS})})]})})]})]})})};var eZ=t(99015),eH=t(13624);let eQ=e=>{let{lteTimeAdvance:s="0",nrTimeAdvance:t="0",isLoading:n=!1,networkType:o="Unknown"}=e,[d,c]=(0,l.useState)("km"),[m,u]=(0,l.useState)(!0);(0,l.useEffect)(()=>{(async()=>{try{u(!0);let e=await fetch("/cgi-bin/quecmanager/settings/measurement_units.sh"),s=await e.json();"success"===s.status&&s.data&&c(s.data.unit)}catch(e){console.error("Error fetching measurement unit:",e),c("km")}finally{u(!1)}})()},[]);let x=s&&"Unknown"!==s&&"-"!==s&&parseInt(s,10)||0,h=t&&"Unknown"!==t&&"-"!==t&&parseInt(t,10)||0,p=x>0?(e=>((e<0||e>1282)&&(console.warn("Invalid LTE TA value: ".concat(e,", using 0 instead")),e=0),1/3072e4*(16*e)*3e8/2/1e3))(x):0,g=h>0?(e=>(e<0&&(console.warn("Invalid negative NTA value: ".concat(e,", using 0 instead")),e=0),3e8*e*(1/196608e4)/2/1e3))(h):0,v=e=>.621371*e,j=e=>{if(0===e)return"-";if("mi"===d){let s=v(e);if(s<1){let e=5280*s;return"".concat(e.toFixed(0)," ft")}return"".concat(s.toFixed(2)," mi")}return e<1?"".concat((1e3*e).toFixed(0)," m"):"".concat(e.toFixed(2)," km")};return(0,r.jsxs)(a.Zp,{className:"overflow-hidden",children:[(0,r.jsx)(a.aR,{children:(0,r.jsx)(a.ZB,{children:"Distance to Cell Tower"})}),(0,r.jsx)(a.Wu,{children:n||m?(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eZ.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"LTE"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eH.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"})})]})})]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eZ.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"NR5G"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eH.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"})})]})})]})]})]}):(0,r.jsxs)("div",{className:"space-y-3",children:[x>0&&(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eZ.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"LTE"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("p",{className:"mr-2",children:j(p)}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eH.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsxs)("p",{className:"max-w-xs text-xs mr-2",children:["LTE TA ",x]})})]})})]})]}),h>0&&(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eZ.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"NR5G"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("p",{className:"mr-2",children:j(g)}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eH.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsxs)("p",{className:"max-w-xs text-xs mr-2",children:["NTA ",h]})})]})})]})]}),!x&&!h&&(0,r.jsx)("div",{className:"h-16 flex items-center justify-center",children:(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"No timing advance data available"})})]})})]})},eW=()=>{var e,s,t;let{toast:a}=(0,n.dj)(),[i,o]=(0,l.useState)(!1),[c,m]=(0,l.useState)(!1),{data:u,isLoading:x,refresh:f}=ej(),{dataConnectionState:v,isStateLoading:j,refresh:N}=eN(),{isRunningDiagnostics:w,runDiagnosticsData:b,startDiagnostics:y}=eS(),{bytesSent:S,bytesReceived:A,refresh:I}=eb(),k=async()=>{try{var e,s;let t=await (0,eO.a)("AT+QUIMSLOT?"),r=null===(e=t.response)||void 0===e?void 0:e.raw_output.split("\n")[1].split(":")[1].trim(),l=await (0,eO.a)("1"===r?"AT+QUIMSLOT=2":"AT+QUIMSLOT=1");if("error"===l.status||(null===(s=l.response)||void 0===s?void 0:s.status)==="error")throw Error("Failed to change SIM slot");a({title:"SIM Slot Changed",description:"The SIM slot has been changed successfully"}),setTimeout(async()=>{await (0,eO.a)("AT+COPS=2"),setTimeout(async()=>{let e=await (0,eO.a)("AT+COPS=0");if("error"===e.status)throw Error("Failed to reconnect to the network");a({title:"Network Reconnected",description:"The device has been reconnected to the network"})},2e3)},3e3),setTimeout(T,3e3)}catch(e){console.error("Error changing SIM slot:",e),a({variant:"destructive",title:"SIM Slot Change Failed",description:e instanceof Error?e.message:"Failed to change the SIM slot"})}},T=(0,l.useCallback)(async()=>{try{await Promise.all([f(),N(),I()])}catch(e){console.error("Error refreshing data:",e),a({variant:"destructive",title:"Refresh Failed",description:"Failed to refresh the data"})}},[f,N,I]),[_,O]=(0,l.useState)([]),q=async()=>{try{await y()}catch(e){a({variant:"destructive",title:"Diagnostics Failed",description:"Failed to run diagnostics"})}};return(0,l.useEffect)(()=>{if(u&&u.currentBands){var e;let s=null===(e=u.currentBands.id)||void 0===e?void 0:e.map((e,s)=>{var t,r,l,n,a,i,o;return{id:e,bandNumber:(null===(t=u.currentBands.bandNumber)||void 0===t?void 0:t[s])||"N/A",earfcn:(null===(r=u.currentBands.earfcn)||void 0===r?void 0:r[s])||"N/A",bandwidth:(null===(l=u.currentBands.bandwidth)||void 0===l?void 0:l[s])||"N/A",pci:(null===(n=u.currentBands.pci)||void 0===n?void 0:n[s])||"N/A",rsrp:(null===(a=u.currentBands.rsrp)||void 0===a?void 0:a[s])||"N/A",rsrq:(null===(i=u.currentBands.rsrq)||void 0===i?void 0:i[s])||"N/A",sinr:(null===(o=u.currentBands.sinr)||void 0===o?void 0:o[s])||"N/A"}});s&&O(s)}},[u]),(0,l.useEffect)(()=>{var e,s;(null==u?void 0:null===(s=u.simCard)||void 0===s?void 0:null===(e=s.state)||void 0===e?void 0:e.toLowerCase().includes("failed"))&&a({title:"SMS_Tool failed to acquire token",description:"The system will attempt to recover automatically. If this issue persists, please logout and log back in or restart the device.",variant:"destructive"}),x||(null==u?void 0:u.simCard.state)!=="Not Inserted"||o(!0)},[u,x]),(0,r.jsxs)("div",{className:"grid xl:gap-y-10 gap-y-8 gap-4",children:[(0,r.jsxs)("div",{className:"grid gap-4",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,r.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,r.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Connection Summary"}),(0,r.jsx)(M.$,{variant:"ghost",size:"icon",className:"text-sm",onClick:T,children:(0,r.jsx)(D.A,{className:"xl:size-6 size-5 text-blue-500",strokeWidth:3})})]}),(0,r.jsxs)("div",{className:"flex flex-row items-center gap-x-2",children:[(0,r.jsxs)(M.$,{onClick:()=>m(e=>!e),children:[c?(0,r.jsx)(z.A,{className:"xl:size-6 size-5"}):(0,r.jsx)(U.A,{className:"xl:size-6 size-5"}),(0,r.jsxs)("span",{className:"hidden md:block",children:[c?"Show":"Hide"," Sensitive Data"]})]}),(null==u?void 0:u.simCard.state)==="Not Inserted"&&(0,r.jsxs)(P.lG,{open:i,onOpenChange:o,children:[(0,r.jsx)(P.zM,{asChild:!0,children:(0,r.jsxs)(M.$,{variant:"destructive",children:[(0,r.jsx)(eA.fU4,{className:"xl:size-6 size-5"}),(0,r.jsx)("span",{className:"hidden md:block",children:"No SIM"})]})}),(0,r.jsxs)(P.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,r.jsx)(P.c7,{children:(0,r.jsx)(P.L3,{children:"No SIM Detected"})}),(0,r.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,r.jsx)("div",{className:"flex items-center justify-center",children:(0,r.jsx)(eA.fU4,{className:"xl:size-14 md:size-12 size-6 text-red-500"})}),(0,r.jsx)("p",{className:"text-center",children:"There is no SIM card detected in the device. Please insert a SIM card or change the SIM card slot to use the device."})]}),(0,r.jsxs)("div",{className:"flex justify-end mt-4",children:[(0,r.jsx)(M.$,{onClick:k,className:"mr-2",children:"Change SIM Slot"}),(0,r.jsx)(P.HM,{asChild:!0,children:(0,r.jsx)(M.$,{variant:"secondary",onClick:()=>o(!1),children:"Close"})})]})]})]}),(0,r.jsxs)(P.lG,{children:[(0,r.jsx)(P.zM,{asChild:!0,children:(0,r.jsxs)(M.$,{onClick:q,children:[(0,r.jsx)(L.A,{className:"xl:size-6 size-5"}),(0,r.jsx)("span",{className:"hidden md:block",children:"Run Diagnostics"})]})}),!w&&(0,r.jsxs)(P.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,r.jsx)(P.c7,{children:(0,r.jsx)(P.L3,{children:"Diagnostics Result"})}),(0,r.jsx)(P.rr,{children:"This is the result of the diagnostic test ran on your device."}),(0,r.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Network Registration "}),(null==b?void 0:b.netRegistration)==="Registered"?(0,r.jsx)(G.A,{className:"text-green-500"}):(0,r.jsx)(B.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"U-SIM State"}),(null==b?void 0:b.simState)==="READY"?(0,r.jsx)(G.A,{className:"text-green-500"}):(0,r.jsx)(B.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Manual APN"}),(null==b?void 0:b.manualAPN)==="Enabled"?(0,r.jsx)(G.A,{className:"text-green-500"}):(0,r.jsx)(B.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"WAN IP"}),(null==b?void 0:b.wanIP)==="Connected"?(0,r.jsx)(G.A,{className:"text-green-500"}):(0,r.jsx)(B.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Cellular Signal"}),(null==b?void 0:b.cellSignal)==="Good"?(0,r.jsx)(G.A,{className:"text-green-500"}):(0,r.jsx)(B.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Modem Temperature"}),(null==b?void 0:b.modemTemp)==="Normal"?(0,r.jsx)(G.A,{className:"text-green-500"}):(0,r.jsx)(B.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between mt-6",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Network Reject Causes"}),(0,r.jsx)("div",{className:"flex flex-col items-end space-y-1",children:(null==b?void 0:b.rejectCauses)?(0,r.jsxs)(r.Fragment,{children:[b.rejectCauses.emm&&(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(B.A,{className:"text-red-500 w-4 h-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["EMM (",b.rejectCauses.emm.code,"):"," ",b.rejectCauses.emm.description]})]}),b.rejectCauses.esm&&(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(B.A,{className:"text-red-500 w-4 h-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["ESM (",b.rejectCauses.esm.code,"):"," ",b.rejectCauses.esm.description]})]}),b.rejectCauses.nrmm&&(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(B.A,{className:"text-red-500 w-4 h-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["NRMM (",b.rejectCauses.nrmm.code,"):"," ",b.rejectCauses.nrmm.description]})]})]}):(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(G.A,{className:"text-green-500"}),(0,r.jsx)("span",{children:"None"})]})})]})]})]}),w&&(0,r.jsxs)(P.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,r.jsx)(P.c7,{children:(0,r.jsx)(P.L3,{children:"Running Diagnostics"})}),(0,r.jsx)("div",{className:"flex items-center justify-center my-4",children:(0,r.jsx)(F(),{color:"#6D28D9"})}),(0,r.jsx)(P.rr,{className:"text-center",children:"Please wait while we run diagnostics on your device."})]})]})]})]}),(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsx)("div",{children:(0,r.jsx)(C,{})}),(0,r.jsxs)("div",{className:"grid gap-2 lg:grid-cols-2 grid-cols-1 grid-flow-row",children:[(0,r.jsx)(eQ,{lteTimeAdvance:null==u?void 0:null===(e=u.timeAdvance)||void 0===e?void 0:e.lteTimeAdvance,nrTimeAdvance:null==u?void 0:null===(s=u.timeAdvance)||void 0===s?void 0:s.nrTimeAdvance,isLoading:x,networkType:null==u?void 0:null===(t=u.connection)||void 0===t?void 0:t.networkType}),(0,r.jsx)(E,{}),(0,r.jsx)(eF,{}),(0,r.jsx)(R,{})]})]}),(0,r.jsxs)("div",{className:"grid 2xl:grid-cols-4 lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,r.jsx)(d,{data:u,isLoading:x,hideSensitiveData:c}),(0,r.jsx)(h,{data:u,isLoading:x,dataConnectionState:v,connectionStateLoading:j}),(0,r.jsx)(p,{data:u,isLoading:x,bytesSent:S,bytesReceived:A}),(0,r.jsx)(g,{data:u,isLoading:x})]})]}),(0,r.jsxs)("div",{className:"grid gap-4 w-full",children:[(0,r.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Active Addresses"}),(0,r.jsx)("div",{children:(0,r.jsx)(eq,{data:u,isLoading:x,hideSensitiveData:c})})]}),(0,r.jsxs)("div",{className:"grid gap-4 w-full",children:[(0,r.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Current Active Bands"}),(0,r.jsx)("div",{children:(0,r.jsx)(J,{bands:_,isLoading:x})})]})]})}},45934:(e,s,t)=>{"use strict";t.d(s,{E:()=>i});var r=t(20475);t(20107);var l=t(29395),n=t(22250);let a=(0,l.F)("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 i(e){let{className:s,variant:t,...l}=e;return(0,r.jsx)("div",{className:(0,n.cn)(a({variant:t}),s),...l})}},42541:(e,s,t)=>{"use strict";t.d(s,{$:()=>d,r:()=>o});var r=t(20475),l=t(20107),n=t(61837),a=t(29395),i=t(22250);let o=(0,a.F)("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=l.forwardRef((e,s)=>{let{className:t,variant:l,size:a,asChild:d=!1,...c}=e,m=d?n.DX:"button";return(0,r.jsx)(m,{className:(0,i.cn)(o({variant:l,size:a,className:t})),ref:s,...c})});d.displayName="Button"},72167:(e,s,t)=>{"use strict";t.d(s,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>a,aR:()=>i,wL:()=>m});var r=t(20475),l=t(20107),n=t(22250);let a=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...l})});a.displayName="Card";let i=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",t),...l})});i.displayName="CardHeader";let o=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("h3",{ref:s,className:(0,n.cn)("font-semibold leading-none tracking-tight",t),...l})});o.displayName="CardTitle";let d=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("p",{ref:s,className:(0,n.cn)("text-sm text-muted-foreground",t),...l})});d.displayName="CardDescription";let c=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("p-6 pt-0",t),...l})});c.displayName="CardContent";let m=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("flex items-center p-6 pt-0",t),...l})});m.displayName="CardFooter"},1307:(e,s,t)=>{"use strict";t.d(s,{II:()=>h,Nt:()=>p,at:()=>u});var r=t(20475),l=t(20107),n=t(81155),a=t(58601),i=t(58736),o=t(22250);let d={light:"",dark:".dark"},c=l.createContext(null);function m(){let e=l.useContext(c);if(!e)throw Error("useChart must be used within a ");return e}let u=l.forwardRef((e,s)=>{let{id:t,className:a,children:i,config:d,...m}=e,u=l.useId(),h="chart-".concat(t||u.replace(/:/g,""));return(0,r.jsx)(c.Provider,{value:{config:d},children:(0,r.jsxs)("div",{"data-chart":h,ref:s,className:(0,o.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",a),...m,children:[(0,r.jsx)(x,{id:h,config:d}),(0,r.jsx)(n.u,{children:i})]})})});u.displayName="Chart";let x=e=>{let{id:s,config:t}=e,l=Object.entries(t).filter(e=>{let[s,t]=e;return t.theme||t.color});return l.length?(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(d).map(e=>{let[t,r]=e;return"\n".concat(r," [data-chart=").concat(s,"] {\n").concat(l.map(e=>{var s;let[r,l]=e,n=(null===(s=l.theme)||void 0===s?void 0:s[t])||l.color;return n?" --color-".concat(r,": ").concat(n,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null},h=a.m,p=l.forwardRef((e,s)=>{let{active:t,payload:n,className:a,indicator:i="dot",hideLabel:d=!1,hideIndicator:c=!1,label:u,labelFormatter:x,labelClassName:h,formatter:p,color:g,nameKey:v,labelKey:j}=e,{config:N}=m(),w=l.useMemo(()=>{var e;if(d||!(null==n?void 0:n.length))return null;let[s]=n,t="".concat(j||s.dataKey||s.name||"value"),l=f(N,s,t),a=j||"string"!=typeof u?null==l?void 0:l.label:(null===(e=N[u])||void 0===e?void 0:e.label)||u;return x?(0,r.jsx)("div",{className:(0,o.cn)("font-medium",h),children:x(a,n)}):a?(0,r.jsx)("div",{className:(0,o.cn)("font-medium",h),children:a}):null},[u,x,n,d,h,N,j]);if(!t||!(null==n?void 0:n.length))return null;let b=1===n.length&&"dot"!==i;return(0,r.jsxs)("div",{ref:s,className:(0,o.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",a),children:[b?null:w,(0,r.jsx)("div",{className:"grid gap-1.5",children:n.map((e,s)=>{let t="".concat(v||e.name||e.dataKey||"value"),l=f(N,e,t),n=g||e.payload.fill||e.color;return(0,r.jsx)("div",{className:(0,o.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===i&&"items-center"),children:p&&(null==e?void 0:e.value)!==void 0&&e.name?p(e.value,e.name,e,s,e.payload):(0,r.jsxs)(r.Fragment,{children:[(null==l?void 0:l.icon)?(0,r.jsx)(l.icon,{}):!c&&(0,r.jsx)("div",{className:(0,o.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===i,"w-1":"line"===i,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===i,"my-0.5":b&&"dashed"===i}),style:{"--color-bg":n,"--color-border":n}}),(0,r.jsxs)("div",{className:(0,o.cn)("flex flex-1 justify-between leading-none",b?"items-end":"items-center"),children:[(0,r.jsxs)("div",{className:"grid gap-1.5",children:[b?w:null,(0,r.jsx)("span",{className:"text-muted-foreground",children:(null==l?void 0:l.label)||e.name})]}),e.value&&(0,r.jsx)("span",{className:"font-mono font-medium tabular-nums text-foreground",children:e.value.toLocaleString()})]})]})},e.dataKey)})})]})});function f(e,s,t){if("object"!=typeof s||null===s)return;let r="payload"in s&&"object"==typeof s.payload&&null!==s.payload?s.payload:void 0,l=t;return t in s&&"string"==typeof s[t]?l=s[t]:r&&t in r&&"string"==typeof r[t]&&(l=r[t]),l in e?e[l]:e[t]}p.displayName="ChartTooltip",i.s,l.forwardRef((e,s)=>{let{className:t,hideIcon:l=!1,payload:n,verticalAlign:a="bottom",nameKey:i}=e,{config:d}=m();return(null==n?void 0:n.length)?(0,r.jsx)("div",{ref:s,className:(0,o.cn)("flex items-center justify-center gap-4","top"===a?"pb-3":"pt-3",t),children:n.map(e=>{let s="".concat(i||e.dataKey||"value"),t=f(d,e,s);return(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==t?void 0:t.icon)&&!l?(0,r.jsx)(t.icon,{}):(0,r.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:e.color}}),null==t?void 0:t.label]},e.value)})}):null}).displayName="ChartLegend"},93557:(e,s,t)=>{"use strict";t.d(s,{Cf:()=>x,Es:()=>p,HM:()=>m,L3:()=>f,c7:()=>h,lG:()=>o,rr:()=>g,zM:()=>d});var r=t(20475),l=t(20107),n=t(60241),a=t(7197),i=t(22250);let o=n.bL,d=n.l9,c=n.ZL,m=n.bm,u=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)(n.hJ,{ref:s,className:(0,i.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",t),...l})});u.displayName=n.hJ.displayName;let x=l.forwardRef((e,s)=>{let{className:t,children:l,...o}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(n.UC,{ref:s,className:(0,i.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",t),...o,children:[l,(0,r.jsxs)(n.bm,{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,r.jsx)(a.MKb,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});x.displayName=n.UC.displayName;let h=e=>{let{className:s,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",s),...t})};h.displayName="DialogHeader";let p=e=>{let{className:s,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",s),...t})};p.displayName="DialogFooter";let f=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)(n.hE,{ref:s,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",t),...l})});f.displayName=n.hE.displayName;let g=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)(n.VY,{ref:s,className:(0,i.cn)("text-sm text-muted-foreground",t),...l})});g.displayName=n.VY.displayName},36760:(e,s,t)=>{"use strict";t.d(s,{E:()=>n});var r=t(20475),l=t(22250);function n(e){let{className:s,...t}=e;return(0,r.jsx)("div",{className:(0,l.cn)("animate-pulse rounded-md bg-primary/10",s),...t})}},85014:(e,s,t)=>{"use strict";t.d(s,{TooltipProvider:()=>i,ZI:()=>c,k$:()=>d,m_:()=>o});var r=t(20475),l=t(20107),n=t(43048),a=t(22250);let i=n.Kq,o=n.bL,d=n.l9,c=l.forwardRef((e,s)=>{let{className:t,sideOffset:l=4,...i}=e;return(0,r.jsx)(n.UC,{ref:s,sideOffset:l,className:(0,a.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",t),...i})});c.displayName=n.UC.displayName},32857:(e,s,t)=>{"use strict";t.d(s,{dj:()=>u,oR:()=>m});var r=t(20107);let l=0,n=new Map,a=e=>{if(n.has(e))return;let s=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,s)},i=(e,s)=>{switch(s.type){case"ADD_TOAST":return{...e,toasts:[s.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===s.toast.id?{...e,...s.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=s;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===s.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==s.toastId)}}},o=[],d={toasts:[]};function c(e){d=i(d,e),o.forEach(e=>{e(d)})}function m(e){let{...s}=e,t=(l=(l+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:t});return c({type:"ADD_TOAST",toast:{...s,id:t,open:!0,onOpenChange:e=>{e||r()}}}),{id:t,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function u(){let[e,s]=r.useState(d);return r.useEffect(()=>(o.push(s),()=>{let e=o.indexOf(s);e>-1&&o.splice(e,1)}),[e]),{...e,toast:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,s,t)=>{"use strict";t.d(s,{cn:()=>n});var r=t(64901),l=t(868);function n(){for(var e=arguments.length,s=Array(e),t=0;t{"use strict";t.d(s,{QI:()=>a,U_:()=>r,ZK:()=>l,jq:()=>n});let r={6:"1.4 MHz",15:"3 MHz",25:"5 MHz",50:"10 MHz",75:"15 MHz",100:"20 MHz","-":"-"},l={0:"No cause",2:"IMSI unknown in HSS",3:"Illegal UE",5:"IMEI not accepted",6:"Illegal ME",7:"EPS services not allowed",8:"EPS services and non-EPS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly detached",11:"PLMN not allowed",12:"Tracking Area not allowed",13:"Roaming not allowed in this tracking area",14:"EPS services not allowed in this PLMN",15:"No Suitable Cells in tracking area",16:"MSC temporarily not reachable",17:"Network failure",18:"CS domain not available",19:"ESM failure",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",25:"Not authorized for this CSG",26:"Non-EPS authentication unacceptable",31:"Redirection to 5GCN required",35:"Requested service option not authorized in this PLMN",39:"CS service temporarily not available",40:"No EPS bearer context activated",42:"Severe network failure",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"},n={0:"No cause",8:"Operator Determined Barring",26:"Insufficient resources",27:"Missing or unknown APN",28:"Unknown PDN type",29:"User authentication failed",30:"Request rejected by Serving GW or PDN GW",31:"Request rejected, unspecified",32:"Service option not supported",33:"Requested service option not subscribed",34:"Service option temporarily out of order",35:"PTI already in use",36:"Regular deactivation",37:"EPS QoS not accepted",38:"Network failure",39:"Reactivation requested",41:"Semantic error in the TFT operation",42:"Syntactical error in the TFT operation",43:"Invalid EPS bearer identity",44:"Semantic errors in packet filter(s)",45:"Syntactical errors in packet filter(s)",46:"Unused (see NOTE 2)",47:"PTI mismatch",49:"Last PDN disconnection not allowed",50:"PDN type IPv4 only allowed",51:"PDN type IPv6 only allowed",52:"Single address bearers only allowed",53:"ESM information not received",54:"PDN connection does not exist",55:"Multiple PDN connections for a given APN not allowed",56:"Collision with network initiated request",57:"PDN type IPv4v6 only allowed",58:"PDN type non IP only allowed",59:"Unsupported QCI value",60:"Bearer handling not supported",61:"PDN type Ethernet only allowed",65:"Maximum number of EPS bearers reached",66:"Requested APN not supported in current RAT and PLMN combination",81:"Invalid PTI value",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified",112:"APN restriction value incompatible with active EPS bearer context",113:"Multiple accesses to a PDN connection not allowed"},a={0:"No cause",3:"Illegal UE",5:"PEI not accepted",6:"Illegal ME",7:"5GS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly de-registered",11:"PLMN not allowed",12:"Tracking area not allowed",13:"Roaming not allowed in this tracking area",15:"No suitable cells in tracking area",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",26:"Non-5G authentication unacceptable",27:"N1 mode not allowed",28:"Restricted service area",31:"Redirection to EPC required",43:"LADN not available",62:"No network slices available",65:"Maximum number of PDU sessions reached",67:"Insufficient resources for specific slice and DNN",69:"Insufficient resources for specific slice",71:"ngKSI already in use",72:"Non-3GPP access to 5GCN not allowed",73:"Serving network not authorized",74:"Temporarily not authorized for this SNPN",75:"Permanently not authorized for this SNPN",76:"Not authorized for this CAG or authorized for CAG cells only",77:"Wireline access area not allowed",78:"PLMN not allowed to operate at the present UE location",79:"UAS services not allowed",90:"Payload was not forwarded",91:"DNN not supported or not subscribed in the slice",92:"Insufficient user-plane resources for the PDU session",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"}},88926:(e,s,t)=>{"use strict";t.d(s,{a:()=>r});let r=async function(e){let s=!(arguments.length>1)||void 0===arguments[1]||arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var r;let l=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),n=encodeURIComponent(l),a="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(n);s&&(a+="&wait=1&timeout=".concat(t));let i=await fetch(a,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*t+5e3)});if(!i.ok)throw Error("AT command failed with status: ".concat(i.status));let o=await i.json();if(o.error)throw Error("AT queue error: ".concat(o.error));if(s&&(null===(r=o.response)||void 0===r?void 0:r.status)==="timeout")throw Error("AT command timed out after ".concat(t," seconds"));return o}catch(e){throw console.error("AT Command error:",e),e}}}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,9649,1258,4687,3746,9464,3048,1074,3095,8363,191,6035,7358],()=>s(98722)),_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/home/page-68f0d44223e3942b.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-68f0d44223e3942b.js new file mode 100644 index 0000000..775fb34 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-68f0d44223e3942b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6665],{98722:(e,s,t)=>{Promise.resolve().then(t.bind(t,39600))},39600:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>eJ});var r=t(20475),l=t(20107),n=t(32857),a=t(72167),i=t(36760),o=t(45934);let d=e=>{let{data:s,isLoading:t,hideSensitiveData:l}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Sim Card"}),(0,r.jsx)(a.BT,{children:"Sim card information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Sim Card Slot in Use"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[50px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.slot})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Sim Card State"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{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,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Provider"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.provider})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Phone Number"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.phoneNumber})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"IMSI"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imsi})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"ICCID"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.iccid})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"IMEI"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[140px]"}):l?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imei})]})]})]})},c={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"},x=e=>u[e]||"Unknown",h=e=>{let{data:s,isLoading:t,dataConnectionState:l,connectionStateLoading:n}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Connection"}),(0,r.jsx)(a.BT,{children:"Connection information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"APN"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.apn})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Operator State"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.connection.operatorState)==="Unknown"||(null==s?void 0:s.connection.operatorState)==="Denied"||(null==s?void 0:s.connection.operatorState)==="Not Registered"?"bg-rose-500 hover:bg-rose-800":"bg-emerald-500 hover:bg-emerald-800"),children:null==s?void 0:s.connection.operatorState})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Functionality State"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{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,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Data Connection State"}),n?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat("Connected"===l?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:l})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Network Type"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.networkType})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Modem Temperature"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.modemTemperature})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("div",{children:"Access Technology"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("div",{className:"font-bold",children:(null==s?void 0:s.connection.accessTechnology)?x(s.connection.accessTechnology):"Unknown"})]})]})]})},p=e=>{let{data:s,isLoading:t,bytesSent:l,bytesReceived:n}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Data Transmission"}),(0,r.jsx)(a.BT,{children:"Data transmission information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Carrier Aggregation"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{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,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Bandwidth"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.bandwidth})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Connected Bands"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.connectedBands})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Signal Strength"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[100px]"}):(0,r.jsx)(o.E,{className:"font-bold ".concat((null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>80?"bg-emerald-500 hover:bg-emerald-800":(null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>40?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.dataTransmission.signalStrength})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"MIMO Layers"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.mimoLayers})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Bytes Sent"}),(0,r.jsx)("p",{className:"font-bold",children:l})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Bytes Received"}),(0,r.jsx)("p",{className:"font-bold",children:n})]})]})]})};var f=t(85014);let g=e=>{let{data:s,isLoading:t}=e;return(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Cellular Information"}),(0,r.jsx)(a.BT,{children:"Cellular network information"})]}),(0,r.jsxs)(a.Wu,{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Cell ID"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.cellId})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{children:"TAC"}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)("div",{className:"grid grid-cols-1 gap-1",children:(0,r.jsx)("span",{className:"font-medium",children:"Region / Tracking Area Code"})})})]})}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.trackingAreaCode})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Physical Cell IDs"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.physicalCellId})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"E/ARFCN"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.earfcn})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Mobile Country Code"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mcc})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Mobile Network Code"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[80px]"}):(0,r.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mnc})]}),(0,r.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,r.jsx)("p",{children:"Antenna Signal Quality"}),t?(0,r.jsx)(i.E,{className:"h-6 w-[80px]"}):(0,r.jsx)(o.E,{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})]})]})]})};var v=t(1307),j=t(53134),N=t(94005),w=t(4538),b=t(41797),y=t(79492);let S={signal:{label:"LTE/5G Signal Metrics"},rsrp:{label:"RSRP",color:"hsl(var(--chart-1))"},rsrq:{label:"RSRQ",color:"hsl(var(--chart-2))"},sinr:{label:"SINR",color:"hsl(var(--chart-3))"}},A=e=>{let s=e.split("\n").filter(e=>e.trim()),t=[];s.forEach(e=>{let s=e.match(/-?\d+/g);s&&t.push(...s.map(Number))});let r=t.filter(e=>-140!==e&&-32768!==e);return 0===r.length?0:Math.round(r.reduce((e,s)=>e+s,0)/r.length)},C=()=>{let[e,s]=(0,l.useState)(()=>{let e=new Date;return Array.from({length:5},(s,t)=>({time:new Date(e.getTime()-(4-t)*3e3).toISOString(),rsrp:0,rsrq:0,sinr:0}))}),[t,n]=(0,l.useState)("rsrp"),[o,d]=(0,l.useState)(!0),[c,m]=(0,l.useState)(null),u=(0,l.useCallback)(async()=>{try{let e;let t=await fetch("/cgi-bin/quecmanager/home/fetch_signal_metrics.sh");if(!t.ok)throw Error("Failed to fetch signal metrics");try{e=await t.json()}catch(e){throw console.error("Error parsing JSON:",e),Error("Failed to parse signal metrics data")}let r=Math.min(e.rsrp.length,e.rsrq.length,e.sinr.length);if(0===r)throw Error("No signal metrics data available");let l=Array.from({length:r},(s,t)=>({time:e.rsrp[t].datetime,rsrp:A(e.rsrp[t].output),rsrq:A(e.rsrq[t].output),sinr:A(e.sinr[t].output)}));s(l),m(null)}catch(t){console.error("Error fetching metrics:",t),m(t instanceof Error?t.message:"An unknown error occurred");let e=new Date().toISOString();s(s=>{let t=[...s];return t.length>=20&&t.shift(),t.push({time:e,rsrp:0,rsrq:0,sinr:0}),t})}finally{d(!1)}},[]);(0,l.useEffect)(()=>{u();let e=setInterval(u,15e3);return()=>clearInterval(e)},[u]);let x=e.length>0?e[e.length-1]:{rsrp:0,rsrq:0,sinr:0};return c?(0,r.jsx)(a.Zp,{children:(0,r.jsxs)(a.aR,{children:[(0,r.jsx)(a.ZB,{children:"Error Loading Signal Metrics"}),(0,r.jsx)(a.BT,{children:c})]})}):(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{className:"flex flex-col items-stretch space-y-0 border-b p-0 sm:flex-row",children:[(0,r.jsxs)("div",{className:"flex flex-1 flex-col justify-center gap-1 px-6 py-5 sm:py-6",children:[(0,r.jsx)(a.ZB,{children:"Antenna Port Signal Metrics"}),(0,r.jsx)(a.BT,{children:"Per-port signal values averaged across all active ports"})]}),(0,r.jsx)("div",{className:"flex",children:["rsrp","rsrq","sinr"].map(e=>(0,r.jsxs)("button",{"data-active":t===e,className:"flex flex-1 flex-col justify-center gap-1 border-t px-6 py-4 text-left even:border-l data-[active=true]:bg-muted/50 sm:border-l sm:border-t-0 sm:px-8 sm:py-6",onClick:()=>n(e),children:[(0,r.jsx)("span",{className:"text-xs text-muted-foreground",children:S[e].label}),o?(0,r.jsx)(i.E,{className:"lg:h-10 h-6 w-full"}):(0,r.jsx)("span",{className:"text-base font-bold leading-none sm:text-3xl",children:x[e].toFixed(0)})]},e))})]}),(0,r.jsx)(a.Wu,{className:"px-2 sm:p-6",children:(0,r.jsx)(v.at,{config:S,className:"aspect-auto h-[250px] w-full",children:(0,r.jsxs)(j.Q,{accessibilityLayer:!0,data:e,margin:{left:12,right:12},children:[(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"fillRsrp",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrp)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrp)",stopOpacity:.1})]}),(0,r.jsxs)("linearGradient",{id:"fillRsrq",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrq)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrq)",stopOpacity:.1})]}),(0,r.jsxs)("linearGradient",{id:"fillSinr",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-sinr)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-sinr)",stopOpacity:.1})]})]}),(0,r.jsx)(N.d,{vertical:!1}),(0,r.jsx)(w.W,{dataKey:"time",tickLine:!1,axisLine:!1,tickMargin:8,minTickGap:32,tickFormatter:e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0})}),(0,r.jsx)(b.h,{hide:!0,domain:(e=>{switch(e){case"rsrp":return[-140,-60];case"rsrq":return[-20,0];case"sinr":return[-10,30];default:return[0,"auto"]}})(t)}),(0,r.jsx)(v.II,{content:(0,r.jsx)(v.Nt,{className:"w-[200px]",nameKey:"metric",labelFormatter:e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0})})}),(0,r.jsx)(y.G,{dataKey:t,type:"monotone",stroke:"var(--color-".concat(t,")"),fill:"url(#fill".concat(t.charAt(0).toUpperCase()+t.slice(1),")"),strokeWidth:2,activeDot:{r:4},baseValue:(e=>{switch(e){case"rsrp":return -140;case"rsrq":return -20;case"sinr":return -10;default:return 0}})(t)})]})})}),(0,r.jsxs)(a.wL,{className:"flex-col items-start gap-2 text-sm",children:[(0,r.jsx)("div",{className:"flex gap-2 font-medium leading-none",children:"Displays aggregated signal metrics across all active antenna ports."}),(0,r.jsx)("div",{className:"leading-none text-muted-foreground italic",children:"Higher values indicate better signal quality."})]})]})};var I=t(92867),k=t(32810);let E=e=>"".concat(Math.round(e/1048576)," MB"),T=()=>{let[e,s]=(0,l.useState)({total:0,used:0,available:0}),[t,n]=(0,l.useState)({enabled:!1,interval:2,running:!1}),[o,d]=(0,l.useState)(!0),[c,m]=(0,l.useState)(!1),u=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/memory/fetch_memory.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)return!1;let t=await e.json();if("success"===t.status&&t.data)return s(t.data),m(!0),!0;return!1}catch(e){return console.error("Failed to fetch memory data:",e),!1}},[]),x=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/memory/memory_service.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)return null;let s=await e.json();if("success"===s.status&&s.data)return n(s.data),s.data;return null}catch(e){return console.error("Failed to fetch memory config:",e),null}},[]);return(0,l.useEffect)(()=>{let e=null;return(async()=>{let s=await x();(null==s?void 0:s.enabled)&&(await u(),e=setInterval(u,Math.max(1e3*(s.interval||2),1e3))),d(!1)})(),()=>{e&&clearInterval(e)}},[]),(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{className:"flex flex-row items-center justify-between",children:[(0,r.jsx)(a.ZB,{children:"Memory"}),t.enabled&&t.running&&c?(0,r.jsx)(I.A,{className:"h-4 w-4 text-green-500"}):(0,r.jsx)(k.A,{className:"h-4 w-4 text-red-500"})]}),(0,r.jsx)(a.Wu,{children:o?(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Total"}),(0,r.jsx)(i.E,{className:"h-5 w-24"})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Used"}),(0,r.jsx)(i.E,{className:"h-5 w-24"})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Available"}),(0,r.jsx)(i.E,{className:"h-5 w-24"})]})]}):t.enabled?c?(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Total"}),(0,r.jsx)("span",{className:"text-base font-bold",children:E(e.total)})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Used"}),(0,r.jsx)("span",{className:"text-base font-bold",children:E(e.used)})]}),(0,r.jsxs)("div",{className:"grid gap-1",children:[(0,r.jsx)("span",{className:"text-sm text-muted-foreground",children:"Available"}),(0,r.jsx)("span",{className:"text-base font-bold",children:E(e.available)})]})]}):(0,r.jsx)("div",{className:"text-center py-4",children:(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Starting memory monitoring..."})}):(0,r.jsxs)("div",{className:"text-center py-4",children:[(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"Memory monitoring is disabled."}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Enable it in Settings → Personalization"})]})})]})},R={ms:{label:"ms",color:"hsl(var(--chart-4))"}},P=()=>new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"}),M=()=>{let[e,s]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");return e?JSON.parse(e):[]}),t=(0,l.useRef)(e);(0,l.useEffect)(()=>{t.current=e},[e]);let[n,d]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");if(e){let s=JSON.parse(e);return s.length>0?s[s.length-1].ms:null}return null}),[c,m]=(0,l.useState)(()=>{let e=localStorage.getItem("pingData");return!e||0===JSON.parse(e).length}),[u,x]=(0,l.useState)(!1),[h,p]=(0,l.useState)(!0),[f,g]=(0,l.useState)(5),[S,A]=(0,l.useState)(!0),C=(e,s,t)=>{let r=performance.now(),l=s-e,n=s=>{let a=Math.min((s-r)/1500,1);t(Math.round(e+l*(a<.5?4*a*a*a:1-Math.pow(-2*a+2,3)/2))),a<1&&requestAnimationFrame(n)};requestAnimationFrame(n)},I=async()=>{try{var r,l,n;let e=await fetch("/cgi-bin/quecmanager/home/ping/fetch_ping.sh",{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}});if(!e.ok)throw Error("Network response was not ok");let a=await e.json();d(e=>{var s;let t=null==a?void 0:null===(s=a.data)||void 0===s?void 0:s.latency;return null===e||u||"number"!=typeof t?"number"==typeof t?t:e:(C(e,t,e=>d(e)),e)}),"boolean"==typeof(null==a?void 0:null===(r=a.data)||void 0===r?void 0:r.enabled)&&p(a.data.enabled),"number"==typeof(null==a?void 0:null===(l=a.data)||void 0===l?void 0:l.interval)&&a.data.interval>0&&a.data.interval!==f&&g(a.data.interval);let i=P(),o=t.current,h={time:i,ms:"number"==typeof(null==a?void 0:null===(n=a.data)||void 0===n?void 0:n.latency)?a.data.latency:0,index:o.length>0?5:1};s(e=>{let s;if(0===e.length)s=[,,,,,].fill(null).map((e,s)=>({...h,index:s+1,time:4===s?i:P()}));else if(e.length<5){let t=Array(5-e.length).fill(null).map((s,t)=>({...h,index:e.length+t+1}));s=[...e,...t]}else s=[...e.slice(1),h].map((e,s)=>({...e,index:s+1}));return localStorage.setItem("pingData",JSON.stringify(s)),s}),x(!0),c&&m(!1)}catch(s){console.error("Failed to fetch ping latency",s),c&&e.length>0&&m(!1)}};return(0,l.useEffect)(()=>{A(!1)},[]),(0,l.useEffect)(()=>{if(S)return;I();let e=setInterval(I,1e3*Math.max(1,f));return()=>clearInterval(e)},[S,f]),(0,r.jsxs)(a.Zp,{children:[(0,r.jsxs)(a.aR,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,r.jsx)(a.ZB,{children:"Ping Latency"}),h?null!==n?(0,r.jsxs)(o.E,{className:"text-normal font-bold transition-opacity duration-200 ".concat(u?"":"opacity-70"),children:[n," ms ",!u&&"(cached)"]}):null:(0,r.jsx)(o.E,{variant:"secondary",className:"text-normal font-bold",children:"Ping Disabled"})]}),(0,r.jsx)(a.Wu,{children:c||S?(0,r.jsx)(i.E,{className:"h-[200px] w-full"}):(0,r.jsx)(v.at,{config:R,children:(0,r.jsxs)(j.Q,{accessibilityLayer:!0,data:e,margin:{top:5,right:10,left:0,bottom:5},children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"fillPing",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"var(--color-ms)",stopOpacity:.8}),(0,r.jsx)("stop",{offset:"95%",stopColor:"var(--color-ms)",stopOpacity:.1})]})}),(0,r.jsx)(N.d,{vertical:!1,stroke:"var(--border)",strokeOpacity:.2}),(0,r.jsx)(w.W,{dataKey:"index",tickLine:!1,axisLine:!1,tickMargin:5,tick:{fontSize:9},ticks:[1,2,3,4,5]}),(0,r.jsx)(b.h,{hide:!1,domain:(()=>{if(0===e.length)return[0,100];let s=e.map(e=>e.ms);return[Math.max(0,Math.min(...s)-5),Math.max(...s)+5]})(),tickLine:!1,axisLine:!1,width:20,tick:{fontSize:10},tickFormatter:e=>"".concat(e)}),(0,r.jsx)(v.II,{cursor:!1,content:(0,r.jsx)(v.Nt,{labelFormatter:(s,t)=>{let r=e.find(e=>e.index===s);return r?"".concat(r.time):s},formatter:(e,s)=>["".concat(e," ms"),"Latency"]})}),(0,r.jsx)(y.G,{dataKey:"ms",type:"monotone",stroke:"var(--color-ms)",strokeWidth:2,fill:"url(#fillPing)",activeDot:{r:4,strokeWidth:0},isAnimationActive:!0,animationDuration:1200,animationEasing:"ease-in-out"})]})})})]})};var D=t(42541),z=t(93557),L=t(97801),U=t(51589),G=t(54385),B=t(14389),_=t(98969),F=t(17799),O=t(92776),q=t.n(O),Z=t(7197),Q=t(74043),H=t(22250);let W=l.createContext(null);function $(){let e=l.useContext(W);if(!e)throw Error("useCarousel must be used within a ");return e}let K=l.forwardRef((e,s)=>{let{orientation:t="horizontal",opts:n,setApi:a,plugins:i,className:o,children:d,...c}=e,[m,u]=(0,Q.A)({...n,axis:"horizontal"===t?"x":"y"},i),[x,h]=l.useState(!1),[p,f]=l.useState(!1),g=l.useCallback(e=>{e&&(h(e.canScrollPrev()),f(e.canScrollNext()))},[]),v=l.useCallback(()=>{null==u||u.scrollPrev()},[u]),j=l.useCallback(()=>{null==u||u.scrollNext()},[u]),N=l.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),j())},[v,j]);return l.useEffect(()=>{u&&a&&a(u)},[u,a]),l.useEffect(()=>{if(u)return g(u),u.on("reInit",g),u.on("select",g),()=>{null==u||u.off("select",g)}},[u,g]),(0,r.jsx)(W.Provider,{value:{carouselRef:m,api:u,opts:n,orientation:t||((null==n?void 0:n.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:j,canScrollPrev:x,canScrollNext:p},children:(0,r.jsx)("div",{ref:s,onKeyDownCapture:N,className:(0,H.cn)("relative",o),role:"region","aria-roledescription":"carousel",...c,children:d})})});K.displayName="Carousel";let V=l.forwardRef((e,s)=>{let{className:t,...l}=e,{carouselRef:n,orientation:a}=$();return(0,r.jsx)("div",{ref:n,className:"overflow-hidden",children:(0,r.jsx)("div",{ref:s,className:(0,H.cn)("flex","horizontal"===a?"-ml-4":"-mt-4 flex-col",t),...l})})});V.displayName="CarouselContent";let J=l.forwardRef((e,s)=>{let{className:t,...l}=e,{orientation:n}=$();return(0,r.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,H.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===n?"pl-4":"pt-4",t),...l})});J.displayName="CarouselItem",l.forwardRef((e,s)=>{let{className:t,variant:l="outline",size:n="icon",...a}=e,{orientation:i,scrollPrev:o,canScrollPrev:d}=$();return(0,r.jsxs)(D.$,{ref:s,variant:l,size:n,className:(0,H.cn)("absolute h-8 w-8 rounded-full","horizontal"===i?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...a,children:[(0,r.jsx)(Z.A60,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}).displayName="CarouselPrevious",l.forwardRef((e,s)=>{let{className:t,variant:l="outline",size:n="icon",...a}=e,{orientation:i,scrollNext:o,canScrollNext:d}=$();return(0,r.jsxs)(D.$,{ref:s,variant:l,size:n,className:(0,H.cn)("absolute h-8 w-8 rounded-full","horizontal"===i?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...a,children:[(0,r.jsx)(Z.flY,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Next slide"})]})}).displayName="CarouselNext";let Y=e=>{let{id:s,bandNumber:t,earfcn:l,bandwidth:n,pci:i,rsrp:d,rsrq:c,sinr:m}=e;return(0,r.jsx)(a.Zp,{className:"p-8",children:(0,r.jsxs)("div",{className:"flex flex-row items-center gap-6 justify-between",children:[(0,r.jsxs)("div",{className:"grid gap-2 w-[180px]",children:[(0,r.jsx)("h2",{className:"text-md font-bold",children:"Band"}),(0,r.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[t.replace("LTE BAND ","B").replace("NR5G BAND ","N"),t.includes("NR5G")&&(0,r.jsx)(o.E,{className:"text-xs bg-blue-600 hover:bg-blue-800",children:"NR 5G"})]})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"E/ARFCN"}),(0,r.jsx)("p",{children:l})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"Bandwidth"}),(0,r.jsx)("p",{children:n})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"Physical Cell ID"}),(0,r.jsx)("p",{children:i})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"RSRP"}),(0,r.jsxs)(o.E,{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,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:"RSRQ"}),(0,r.jsxs)(o.E,{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,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-bold",children:t.includes("NR5G")?"NR-SNR":"SINR"}),(0,r.jsxs)(o.E,{className:parseInt(m)>=(t.includes("NR5G")?20:14)?"bg-emerald-500 hover:bg-emerald-800":parseInt(m)>=-2?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[m," dB"]})]})]})})},X=e=>{let{bands:s,isLoading:t}=e;return t?(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsx)("div",{className:"hidden lg:block w-full",children:(0,r.jsxs)(a.Zp,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,r.jsx)(Y,{...e},e.id)),(0,r.jsx)(a.wL,{className:"w-full p-6 flex items-center justify-center",children:(0,r.jsx)(a.BT,{className:"text-md",children:"Currently bands connected."})})]})}),(0,r.jsx)(K,{className:"lg:hidden w-full max-w-xs",children:(0,r.jsx)(V,{children:(0,r.jsx)(J,{children:(0,r.jsx)("div",{className:"p-1",children:(0,r.jsx)(a.Zp,{children:(0,r.jsxs)(a.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Band"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"E/ARFCN"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Bandwidth"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"PCI"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-16 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRP"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-32 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRQ"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-32 h-4"})})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"SINR"}),(0,r.jsx)("div",{children:(0,r.jsx)(i.E,{className:"w-32 h-4"})})]})]})})})})})})]}):(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsx)("div",{className:"hidden lg:block w-full",children:(0,r.jsx)(a.Zp,{className:"p-6 grid gap-4",children:s&&s.map(e=>(0,r.jsx)(Y,{...e},e.id))})}),(0,r.jsx)(K,{className:"lg:hidden w-full max-w-xs",children:(0,r.jsx)(V,{children:null==s?void 0:s.map(e=>(0,r.jsx)(J,{className:"md:basis-1/2 lg:basis-1/3",children:(0,r.jsx)("div",{className:"p-1",children:(0,r.jsx)(a.Zp,{children:(0,r.jsxs)(a.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Band"}),(0,r.jsx)("p",{children:e.bandNumber})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"E/ARFCN"}),(0,r.jsx)("p",{children:e.earfcn})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"Bandwidth"}),(0,r.jsx)("p",{children:e.bandwidth})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"PCI"}),(0,r.jsx)("p",{children:e.pci})]}),(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRP"}),(0,r.jsxs)(o.E,{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,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"RSRQ"}),(0,r.jsxs)(o.E,{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,r.jsxs)("div",{className:"flex justify-between w-full",children:[(0,r.jsx)("p",{children:"SINR"}),(0,r.jsxs)(o.E,{className:parseInt(e.sinr)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.sinr)>=-2?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.sinr," dB"]})]})]})})})},e.id))})})]})},ee=function(e,s,t,r){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Unknown",n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:":",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:",";try{var i,o,d;return(null===(d=e.split("\n")[s])||void 0===d?void 0:null===(o=d.split(n)[t])||void 0===o?void 0:null===(i=o.split(a)[r])||void 0===i?void 0:i.replace(/"/g,"").trim())||l}catch(e){return l}},es=function(e,s){var t,r;let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",n=ee((null===(r=e[15])||void 0===r?void 0:null===(t=r.response)||void 0===t?void 0:t.split("\n").find(e=>e.includes('QMAP: "WWAN"')&&e.includes('"'.concat(s,'"'))))||"",0,1,4,l," ",","),a="IPV6"==s?n.replace(/::/g,":"):n;return["0.0.0.0","::","::0","::0:0:0:0:0:0:0:0","0:0:0:0:0:0:0:0"].includes(a)?l:a},et=function(e,s,t,r,l){let n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"-";try{var a,i,o;if(!(null===(a=e[t])||void 0===a?void 0:a.response)||!(null===(i=e[l])||void 0===i?void 0:i.response))return n;let d=e[t].response.split("\n").filter(e=>e.includes('+QMAP: "WWAN"')),c=null===(o=d[0])||void 0===o?void 0:o.match(/\+QMAP: "WWAN",\d+,(\d+),/),m=c?c[1]:null;if(!m)return n;let u=e[l].response.split("\n").filter(e=>e.includes("+CGCONTRDP:")).find(e=>{let s=e.match(/\+CGCONTRDP: (\d+),/);return s&&s[1]===m});if(!u)return n;let x=u.split(",");if(x.length<=r[s])return n;return x[r[s]].replace(/"/g,"").trim()||n}catch(e){return console.error("Error parsing DNS address:",e),n}},er=e=>{try{let s=e.match(/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/),t=e.split(".").length>4;return s?e:t?eN(e):e.replace(/:{3,}/g,"::")}catch(s){return console.error("Error formatting DNS address:",s),e}},el=e=>ee(e,1,1,3),en=(e,s)=>({1:"Registered",2:"Searching",3:"Denied",4:"Unknown",5:"Roaming"})[Number(ee(e,1,1,1))||Number(ee(s,1,1,1))]||"Not Registered",ea=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g)||[],t=null==s?void 0:s.some(e=>e.includes("LTE")),r=null==s?void 0:s.some(e=>e.includes("NR5G"));return t&&r?"NR5G-NSA":t?"LTE":r?"NR5G-SA":"No Signal"},ei=e=>{let s=["cpuss-0","cpuss-1","cpuss-2","cpuss-3"].map(s=>{var t;let r=e.split("\n").find(e=>e.includes(s));return parseInt(null==r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",")[1].replace(/"/g,"").trim())}),t=s.reduce((e,s)=>e+s,0)/s.length;return"".concat(Math.round(t),"\xb0C")},eo=e=>{let s=[-140,-37625,-32768],t=e=>{var t;return(null==e?void 0:null===(t=e.split(":")[1])||void 0===t?void 0:t.split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>!s.includes(e)))||[]},r=t(e.split("\n").find(e=>e.includes("LTE"))),l=t(e.split("\n").find(e=>e.includes("NR5G"))),n=e=>Math.max(0,Math.min(100,(e.reduce((e,s)=>e+s,0)/e.length+125)/50*100)),a=r.length?n(r):null,i=l.length?n(l):null;return null!==a&&null!==i?"".concat(Math.round((a+i)/2),"%"):null!==a?"".concat(Math.round(a),"%"):null!==i?"".concat(Math.round(i),"%"):"Unknown%"},ed=function(e,s,t,r){let l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],n=t[s],a=r[s];return void 0===n||void 0===a||l?void 0!==n&&void 0!==a&&l?ee(e,n,1,a).toUpperCase():"Unknown":parseInt(ee(e,n,1,a),16).toString().toUpperCase()},ec=(e,s,t)=>{let r=t[s];return ee(e,"NR5G-NSA"===s?2:1,1,r)},em=e=>{let s=[-140,-32768,-37625],t=e=>ee(e||"",0,1,1,"Unknown",":"," ").split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>!s.includes(e))||[],r=e=>e.length?Math.max(0,Math.min(100,(e.reduce((e,s)=>e+s,0)/e.length- -10)/40*100)):0,l=e.split("\n"),n=r(t(l.find(e=>e.includes("LTE")))),a=r(t(l.find(e=>e.includes("NR5G"))));return n&&a?"".concat(Math.round((n+a)/2),"%"):n?"".concat(Math.round(n),"%"):a?"".concat(Math.round(a),"%"):"Unknown%"},eu=e=>{let s=e=>e.map(e=>ee(e,0,1,3,"Unknown",":",",")),t=[...s(e.split("+QCAINFO").filter(e=>e.includes("LTE BAND"))),...s(e.split("+QCAINFO").filter(e=>e.includes("NR5G BAND")))];return t.length?t:["Unknown"]},ex=e=>{let s=s=>e.split("+QCAINFO").filter(e=>e.includes(s)).map(e=>{var s,t;return(null===(t=e.split(":")[1])||void 0===t?void 0:null===(s=t.split(",")[1])||void 0===s?void 0:s.trim())||"Unknown"}),t=s("LTE BAND"),r=s("NR5G BAND");return[...t,...r].length?[...t,...r]:["Unknown"]},eh=e=>{let s=(s,t)=>e.split("+QCAINFO").filter(e=>e.includes(s)).map(e=>{var s;return t[null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2]]||"Unknown"}),t=s("LTE BAND",c),r=s("NR5G BAND",m);return[...t,...r].length?[...t,...r]:["Unknown"]},ep=(e,s)=>{let t=e=>{var s;return e&&(null===(s=e[8===e.length?4:5])||void 0===s?void 0:s.trim())||"Unknown"},r=e=>e.map(e=>{var s;return t(null===(s=e.split(":")[1])||void 0===s?void 0:s.split(","))}),l=e.split("+QCAINFO");return[r(l.filter(e=>e.includes("PCC")))[0],...r(l.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},ef=e=>{let s=e=>{var s;return e&&(null===(s=e[(()=>{switch(e.length){case 8:return 5;case 12:return 9;default:return 6}})()])||void 0===s?void 0:s.trim())||"Unknown"},t=e=>e.map(e=>{var t;return s(null===(t=e.split(":")[1])||void 0===t?void 0:t.split(","))}),r=e.split("+QCAINFO");return[t(r.filter(e=>e.includes("PCC")))[0],...t(r.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},eg=e=>{let s=e=>{var s;return e&&(null===(s=e[(()=>{switch(e.length){case 8:return 6;case 12:return 10;default:return 7}})()])||void 0===s?void 0:s.trim())||"Unknown"},t=e=>e.map(e=>{var t;return s(null===(t=e.split(":")[1])||void 0===t?void 0:t.split(","))}),r=e.split("+QCAINFO");return[t(r.filter(e=>e.includes("PCC")))[0],...t(r.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},ev=(e,s)=>{let t=e=>{var s;return e&&(null===(s=e[(()=>{switch(e.length){case 9:return 8;case 8:return 7;case 12:return 11;default:return 9}})()])||void 0===s?void 0:s.trim())||"Unknown"},r=e=>e.map(e=>{var s;let r=t(null===(s=e.split(":")[1])||void 0===s?void 0:s.split(","));if("-32768"===r)return"-";let l=parseInt(r)>=4e3?"4000":-3e3>parseInt(r)?"-":r;return isNaN(parseInt(l))||e.includes("LTE")?l||"Unknown":Math.round(parseInt(l)/100).toString()}),l=e.split("+QCAINFO");return[r(l.filter(e=>e.includes("PCC")))[0],...r(l.filter(e=>e.includes("SCC")))].filter(e=>"Unknown"!==e)},ej=e=>{let s=[-32768,-140],t=e=>ee(e||"",0,1,1,"-32768",":"," ").split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>!s.includes(e))||[],r=t(e.split("\n").find(e=>e.includes("LTE"))).length,l=t(e.split("\n").find(e=>e.includes("NR5G"))).length;return r&&l?"LTE ".concat(r," / NR ").concat(l):r?" LTE ".concat(r):l?"NR ".concat(l):"Unknown"},eN=e=>{try{let s=e.split(".");if(s.length<8)return e;let t=s.map(e=>{let s=parseInt(e,10);return isNaN(s)?"00":s.toString(16).padStart(2,"0")}),r=[];for(let e=0;ee.replace(/^0+/,"")||"0"),n=[],a=[];for(let e=0;e0&&(a.length>n.length&&(n=[...a]),a=[]);if(a.length>n.length&&(n=[...a]),n.length>=2){let e=[];for(let s=0;s{let[e,s]=(0,l.useState)(null),[t,r]=(0,l.useState)(!0),[n,a]=(0,l.useState)(null),[i,o]=(0,l.useState)(0),[d,c]=(0,l.useState)(!0),m=(0,l.useCallback)(async()=>{try{c(!0);let e=await fetch("/cgi-bin/quecmanager/home/fetch_public_ip.sh"),t="Can't fetch public IP";if(e.ok){let s=await e.json();t=s.error?"No Internet":s.public_ip||"-"}s(e=>e?{...e,networkAddressing:{...e.networkAddressing,publicIPv4:t}}:null)}catch(e){console.error("Error fetching public IP:",e),s(e=>e?{...e,networkAddressing:{...e.networkAddressing,publicIPv4:"Can't fetch public IP"}}:null)}finally{c(!1)}},[]),u=(0,l.useCallback)(async e=>{console.error("Error fetching home data:",e),i<2?(console.log("Attempting automatic recovery (attempt ".concat(i+1,"/2)...")),o(e=>e+1),await new Promise(e=>setTimeout(e,2e3)),x()):(console.error("Max retry attempts reached. Please refresh manually."),a(e),s({simCard:{slot:"Unknown",state:"Unknown",provider:"Unknown",phoneNumber:"Unknown",imsi:"-",iccid:"-",imei:"-"},connection:{apn:"No APN",operatorState:"Unknown",functionalityState:"Disabled",networkType:"No Signal",modemTemperature:"Unknown",accessTechnology:"-"},dataTransmission:{carrierAggregation:"Inactive",connectedBands:"-",signalStrength:"-%",mimoLayers:"-",bandwidth:"Unknown"},cellularInfo:{cellId:"-",trackingAreaCode:"-",cellIdRaw:"-",trackingAreaCodeRaw:"-",physicalCellId:"-",earfcn:"-",mcc:"-",mnc:"-",signalQuality:"-%"},currentBands:{id:[1],bandNumber:["-"],earfcn:["-"],bandwidth:["-"],pci:["-"],rsrp:["-"],rsrq:["-"],sinr:["-"]},networkAddressing:{publicIPv4:"Not available",cellularIPv4:"Not available",cellularIPv6:"Not available",carrierPrimaryDNS:"Not available",carrierSecondaryDNS:"Not available",rawCarrierPrimaryDNS:"Not available",rawCarrierSecondaryDNS:"Not available"},timeAdvance:{lteTimeAdvance:"-",nrTimeAdvance:"-"}}))},[i]),x=(0,l.useCallback)(async()=>{try{var e,t,l,n,i,d,c,x,h,p,f,g,v,j,N,w,b,y,S,A,C,I,k,E,T,R;let r=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=1");if(!r.ok)throw Error("API returned status ".concat(r.status));let u=await r.json();u.some(e=>e.response.toLowerCase().includes("failed"))&&(console.error("SMS tool failure detected in modem response. Attempting service restart via reset-at-bridge.sh."),await fetch("/cgi-bin/quecmanager/reset-at-bridge.sh"));let P={simCard:{slot:ee(u[0].response,1,1,0),state:u[6].response.includes("READY")?"Inserted":u[6].response.includes("PIN")?"Waiting for PIN":u[6].response.includes("PUK")?"Waiting for Password":u[6].response.toLowerCase().includes("failed")?"SMS-Tool Failed Token":"Unknown",provider:ee(u[2].response,1,1,2),phoneNumber:ee(u[1].response,1,1,1),imsi:ee(u[3].response,1,0,0),iccid:ee(u[4].response,1,1,1,"Unknown",":"," "),imei:ee(u[5].response,1,0,0)},connection:{apn:ee(null===(e=u[7])||void 0===e?void 0:e.response,1,1,2,ee(null===(t=u[12])||void 0===t?void 0:t.response,1,1,2)),operatorState:en(null===(l=u[8])||void 0===l?void 0:l.response,null===(n=u[16])||void 0===n?void 0:n.response)||"Unknown",functionalityState:"1"===ee(null===(i=u[9])||void 0===i?void 0:i.response,1,1,0)?"Enabled":"Disabled",networkType:ea(u[13].response)||"No Signal",modemTemperature:ei(u[11].response)||"Unknown",accessTechnology:el(u[2].response)||"Unknown"},dataTransmission:{carrierAggregation:(null===(d=u[13].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g))||void 0===d?void 0:d.length)>1?"Multi":"Inactive",bandwidth:eh(u[13].response).join(", ")||"Unknown",connectedBands:eu(u[13].response).join(", ").replaceAll("LTE BAND ","B").replaceAll("NR5G BAND ","N")||"Unknown",signalStrength:eo(u[14].response)||"Unknown",mimoLayers:ej(u[14].response)||"Unknown"},cellularInfo:{cellId:ed(null===(c=u[10])||void 0===c?void 0:c.response,ea(null===(x=u[13])||void 0===x?void 0:x.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":6,"NR5G-NSA":4,LTE:6},!1),trackingAreaCode:ed(null===(h=u[10])||void 0===h?void 0:h.response,ea(null===(p=u[13])||void 0===p?void 0:p.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":8,"NR5G-NSA":10,LTE:12},!1),cellIdRaw:ed(null===(f=u[10])||void 0===f?void 0:f.response,ea(null===(g=u[13])||void 0===g?void 0:g.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":6,"NR5G-NSA":4,LTE:6},!0),trackingAreaCodeRaw:ed(null===(v=u[10])||void 0===v?void 0:v.response,ea(null===(j=u[13])||void 0===j?void 0:j.response),{"NR5G-SA":1,"NR5G-NSA":2,LTE:1},{"NR5G-SA":8,"NR5G-NSA":10,LTE:12},!0),physicalCellId:ep(u[13].response,ea(u[13].response)).join(", ")||"Unknown",earfcn:ex(u[13].response).join(", "),mcc:ec(null===(N=u[10])||void 0===N?void 0:N.response,ea(null===(w=u[13])||void 0===w?void 0:w.response),{"NR5G-NSA":2,LTE:4,"NR5G-SA":4}),mnc:ec(null===(b=u[10])||void 0===b?void 0:b.response,ea(null===(y=u[13])||void 0===y?void 0:y.response),{"NR5G-NSA":3,LTE:5,"NR5G-SA":5}),signalQuality:em(u[19].response)||"Unknown"},currentBands:{id:Array.from({length:null!==(R=null===(S=eu(u[13].response))||void 0===S?void 0:S.length)&&void 0!==R?R:0},(e,s)=>s+1)||[1],bandNumber:eu(u[13].response)||["Unknown"],earfcn:ex(u[13].response),bandwidth:eh(u[13].response)||["Unknown"],pci:ep(u[13].response,ea(u[13].response))||["Unknown"],rsrp:ef(u[13].response),rsrq:eg(u[13].response)||["Unknown"],sinr:ev(u[13].response,ea(u[13].response))||["Unknown"]},networkAddressing:{publicIPv4:"Loading...",cellularIPv4:es(u,"IPV4"),cellularIPv6:es(u,"IPV6"),carrierPrimaryDNS:er(et(u,ea(null===(A=u[13])||void 0===A?void 0:A.response),15,{"NR5G-SA":5,"NR5G-NSA":6,LTE:6},20)),carrierSecondaryDNS:er(et(u,ea(null===(C=u[13])||void 0===C?void 0:C.response),15,{"NR5G-SA":6,"NR5G-NSA":7,LTE:7},20)),rawCarrierPrimaryDNS:et(u,ea(null===(I=u[13])||void 0===I?void 0:I.response),15,{"NR5G-SA":5,"NR5G-NSA":6,LTE:6},20),rawCarrierSecondaryDNS:et(u,ea(null===(k=u[13])||void 0===k?void 0:k.response),15,{"NR5G-SA":6,"NR5G-NSA":7,LTE:7},20)},timeAdvance:{lteTimeAdvance:ee(null===(E=u[21])||void 0===E?void 0:E.response,1,1,2),nrTimeAdvance:ee(null===(T=u[22])||void 0===T?void 0:T.response,1,1,2)}};s(P),o(0),a(null),m()}catch(e){console.error("Error fetching home data:",e),u(e instanceof Error?e:Error(String(e)))}finally{r(!1)}},[u,m]);return(0,l.useEffect)(()=>{let e,s,t=!0;return(async()=>{if(t)try{await x()}finally{t&&r(!1)}})(),e=setInterval(()=>{x()},15e3),s=setInterval(()=>{m()},3e4),()=>{t=!1,clearInterval(e),clearInterval(s)}},[x,m]),{data:e,isLoading:t,error:n,refresh:(0,l.useCallback)(async()=>{r(!0),await x(),r(!1)},[x]),isPublicIPLoading:d}},eb=()=>{let[e,s]=(0,l.useState)("Unknown"),[t,r]=(0,l.useState)(!0),n=(0,l.useCallback)(async()=>{try{r(!0);let e=await fetch("/cgi-bin/quecmanager/home/check_net.sh"),t=await e.json();s("ACTIVE"===t.connection?"Connected":"Disconnected"),r(!1)}catch(e){console.error("Error fetching data connection state:",e),s("Unknown"),r(!1)}},[]);return(0,l.useEffect)(()=>{n();let e=setInterval(n,3e4);return()=>clearInterval(e)},[n]),{dataConnectionState:e,refresh:(0,l.useCallback)(()=>{n()},[n]),isStateLoading:t}},ey=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]},eS=()=>{let[e,s]=(0,l.useState)("0 Bytes"),[t,r]=(0,l.useState)("0 Bytes"),[n,a]=(0,l.useState)(""),i=e=>{var t,l;let n=Array.isArray(e)?e[e.length-1]:e;if(!n)return;a(n.datetime);let i=n.output.replace(/\r\\n/g,"\n").trim().split("\n").filter(e=>e.trim()),o=null===(t=i.find(e=>e.includes("+QGDCNT:")))||void 0===t?void 0:t.trim(),d=null===(l=i.find(e=>e.includes("+QGDNRCNT:")))||void 0===l?void 0:l.trim();if(!o||!d){console.error("Missing required data in response");return}let[c,m]=o.replace("+QGDCNT:","").split(",").map(e=>parseInt(e.trim())),[u,x]=d.replace("+QGDNRCNT:","").split(",").map(e=>parseInt(e.trim()));s(ey((m||0)+(u||0))),r(ey((c||0)+(x||0)))},o=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_data_usage.sh"),s=await e.json();i(s)}catch(e){console.error("Error fetching traffic stats:",e)}},[]);return(0,l.useEffect)(()=>{o();let e=setInterval(o,12e3);return()=>clearInterval(e)},[o]),{bytesSent:e,bytesReceived:t,lastUpdateTime:n,refresh:(0,l.useCallback)(()=>{o()},[o])}},eA={0:"No cause",2:"IMSI unknown in HSS",3:"Illegal UE",5:"IMEI not accepted",6:"Illegal ME",7:"EPS services not allowed",8:"EPS services and non-EPS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly detached",11:"PLMN not allowed",12:"Tracking Area not allowed",13:"Roaming not allowed in this tracking area",14:"EPS services not allowed in this PLMN",15:"No Suitable Cells in tracking area",16:"MSC temporarily not reachable",17:"Network failure",18:"CS domain not available",19:"ESM failure",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",25:"Not authorized for this CSG",26:"Non-EPS authentication unacceptable",31:"Redirection to 5GCN required",35:"Requested service option not authorized in this PLMN",39:"CS service temporarily not available",40:"No EPS bearer context activated",42:"Severe network failure",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"},eC={0:"No cause",8:"Operator Determined Barring",26:"Insufficient resources",27:"Missing or unknown APN",28:"Unknown PDN type",29:"User authentication failed",30:"Request rejected by Serving GW or PDN GW",31:"Request rejected, unspecified",32:"Service option not supported",33:"Requested service option not subscribed",34:"Service option temporarily out of order",35:"PTI already in use",36:"Regular deactivation",37:"EPS QoS not accepted",38:"Network failure",39:"Reactivation requested",41:"Semantic error in the TFT operation",42:"Syntactical error in the TFT operation",43:"Invalid EPS bearer identity",44:"Semantic errors in packet filter(s)",45:"Syntactical errors in packet filter(s)",46:"Unused (see NOTE 2)",47:"PTI mismatch",49:"Last PDN disconnection not allowed",50:"PDN type IPv4 only allowed",51:"PDN type IPv6 only allowed",52:"Single address bearers only allowed",53:"ESM information not received",54:"PDN connection does not exist",55:"Multiple PDN connections for a given APN not allowed",56:"Collision with network initiated request",57:"PDN type IPv4v6 only allowed",58:"PDN type non IP only allowed",59:"Unsupported QCI value",60:"Bearer handling not supported",61:"PDN type Ethernet only allowed",65:"Maximum number of EPS bearers reached",66:"Requested APN not supported in current RAT and PLMN combination",81:"Invalid PTI value",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified",112:"APN restriction value incompatible with active EPS bearer context",113:"Multiple accesses to a PDN connection not allowed"},eI={0:"No cause",3:"Illegal UE",5:"PEI not accepted",6:"Illegal ME",7:"5GS services not allowed",9:"UE identity cannot be derived by the network",10:"Implicitly de-registered",11:"PLMN not allowed",12:"Tracking area not allowed",13:"Roaming not allowed in this tracking area",15:"No suitable cells in tracking area",20:"MAC failure",21:"Synch failure",22:"Congestion",23:"UE security capabilities mismatch",24:"Security mode rejected, unspecified",26:"Non-5G authentication unacceptable",27:"N1 mode not allowed",28:"Restricted service area",31:"Redirection to EPC required",43:"LADN not available",62:"No network slices available",65:"Maximum number of PDU sessions reached",67:"Insufficient resources for specific slice and DNN",69:"Insufficient resources for specific slice",71:"ngKSI already in use",72:"Non-3GPP access to 5GCN not allowed",73:"Serving network not authorized",74:"Temporarily not authorized for this SNPN",75:"Permanently not authorized for this SNPN",76:"Not authorized for this CAG or authorized for CAG cells only",77:"Wireline access area not allowed",78:"PLMN not allowed to operate at the present UE location",79:"UAS services not allowed",90:"Payload was not forwarded",91:"DNN not supported or not subscribed in the slice",92:"Insufficient user-plane resources for the PDU session",95:"Semantically incorrect message",96:"Invalid mandatory information",97:"Message type non-existent or not implemented",98:"Message type not compatible with the protocol state",99:"Information element non-existent or not implemented",100:"Conditional IE error",101:"Message not compatible with the protocol state",111:"Protocol error, unspecified"},ek=()=>{let[e,s]=(0,l.useState)(!1),[t,r]=(0,l.useState)(null),n=(e,s)=>{var t,r,l,n;let a=null===(r=e.split("\n")[1])||void 0===r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",")[1].trim(),i=null===(n=s.split("\n")[1])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[1].trim();return"1"===a||"1"===i?"Registered":"Not Registered"},a=(e,s)=>{var t,r,l,n;return(null===(r=e.split("\n")[1])||void 0===r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",")[2].replace(/"/g,"").trim())===(null===(n=s.split("\n")[1])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[2].replace(/"/g,"").trim())?"Enabled":"Disabled"},i=e=>{var s,t,r,l;let n=null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim(),a=null===(l=e.split("\n")[2])||void 0===l?void 0:null===(r=l.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim();return n&&"1"===n||a&&"1"===a?"Connected":"Disconnected"},o=e=>{try{var s,t,r,l;let n=e.trim().split("\n").map(e=>e.trim()),a=n.find(e=>e.includes("+QRSRP:")&&e.includes("LTE")),i=n.find(e=>e.includes("+QRSRP:")&&e.includes("NR5G")),o=[];a&&(o=null==a?void 0:null===(t=a.split(":")[1])||void 0===t?void 0:null===(s=t.split(","))||void 0===s?void 0:s.slice(0,4).map(e=>e.trim()).filter(e=>!isNaN(parseInt(e))).map(e=>parseInt(e)));let d=[];if(i&&(d=null==i?void 0:null===(l=i.split(":")[1])||void 0===l?void 0:null===(r=l.split(","))||void 0===r?void 0:r.slice(0,4).map(e=>e.trim()).filter(e=>!isNaN(parseInt(e))).map(e=>parseInt(e))),o=o.filter(e=>-32768!==e),d=d.filter(e=>-32768!==e),o=o.filter(e=>-140!==e),d=d.filter(e=>-140!==e),o.length>0){let e=o.reduce((e,s)=>e+s,0)/o.length;if(d.length>0){let s=d.reduce((e,s)=>e+s,0)/d.length;return(e+s)/2<-100?"Poor":"Good"}return e<-100?"Poor":"Good"}if(d.length>0)return d.reduce((e,s)=>e+s,0)/d.length<-100?"Poor":"Good";return"N/A"}catch(e){return console.error("Error processing cell signal:",e),"N/A"}},d=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"},c=e=>{var s,t,r,l,n,a;let i=null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim(),o=null===(l=e.split("\n")[2])||void 0===l?void 0:null===(r=l.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim(),d=null===(a=e.split("\n")[3])||void 0===a?void 0:null===(n=a.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim(),c=["0"!==i?"EMM: ".concat(i):null,"0"!==o?"ESM: ".concat(o):null,"0"!==d?"NRMM: ".concat(d):null].filter(Boolean);return c.length>0?c.join(", "):"None"},m=e=>{var s,t,r,l,n,a;let i=null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim(),o=null===(l=e.split("\n")[2])||void 0===l?void 0:null===(r=l.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim(),d=null===(a=e.split("\n")[3])||void 0===a?void 0:null===(n=a.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim(),c={};return i&&"0"!==i&&(c.emm={code:i,description:eA[i]||"Unknown EMM cause"}),o&&"0"!==o&&(c.esm={code:o,description:eC[o]||"Unknown ESM cause"}),d&&"0"!==d&&(c.nrmm={code:d,description:eI[d]||"Unknown NRMM cause"}),Object.keys(c).length>0?c:null};return{isRunningDiagnostics:e,runDiagnosticsData:t,startDiagnostics:async()=>{s(!0),new Date().toISOString();try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=6"),s=await e.json(),t={netRegistration:n(s[0].response,s[1].response),simState:s[2].response.split("\n")[1].split(":")[1].trim(),manualAPN:a(s[3].response,s[4].response),wanIP:i(s[5].response),cellSignal:o(s[6].response),modemTemp:d(s[7].response),netReject:c(s[8].response),rejectCauses:m(s[8].response)};return r(t),t}catch(e){throw console.error("Error running diagnostics:",e),e}finally{s(!1)}}}};var eE=t(80159),eT=t(12607),eR=t(25262),eP=t(8782),eM=t(10964),eD=t(89463),ez=t(90304),eL=t(622),eU=t(20633),eG=t(7778),eB=t(99312),e_=t(91994),eF=t(92823),eO=t(71834);let eq=e=>{if(null==e)return"N/A";let s=["B","KB","MB","GB"],t=e,r=0;for(;t>=1024&&r{if(null==e)return"N/A";let s=["bps","Kbps","Mbps","Gbps"],t=8*e,r=0;for(;t>=1e3&&r{var e,s,t,i;let{toast:d}=(0,n.dj)(),[c,m]=(0,l.useState)(null),[u,x]=(0,l.useState)(null),[h,p]=(0,l.useState)(null),[f,g]=(0,l.useState)(!1),[v,j]=(0,l.useState)(!1),[N,w]=(0,l.useState)(!1),[b,y]=(0,l.useState)(0),[S,A]=(0,l.useState)(!1),[C,I]=(0,l.useState)(!1),k=(0,l.useRef)(null),E=(0,l.useRef)(null),T=(0,l.useCallback)(()=>{m(null),x(null),p(null),g(!1),j(!1),w(!1),y(0),E.current=null,k.current&&(clearInterval(k.current),k.current=null)},[]);(0,l.useEffect)(()=>{let e=sessionStorage.getItem("speedtestData");if(e&&m(JSON.parse(e)),f&&!v){A(!0);let e=setTimeout(()=>{A(!1)},1e4);return()=>clearTimeout(e)}},[f,v]),(0,l.useEffect)(()=>()=>{k.current&&clearInterval(k.current)},[]);let R=(0,l.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/speedtest/speedtest_status.sh");if(!e.ok)throw Error("Failed to fetch status: ".concat(e.status));let s=await e.json();if("not_running"===s.status){v&&(p("Test ended unexpectedly"),j(!1)),k.current&&(clearInterval(k.current),k.current=null);return}if(s.type)try{switch(s.type){case"ping":x("ping"),s.ping&&"number"==typeof s.ping.progress&&y(s.ping.progress);break;case"download":case"upload":"ping"!==u&&x(s.type);break;case"result":if(s.download&&s.upload&&s.ping){E.current=s,m(s),g(!0),j(!1),sessionStorage.setItem("speedtestData",JSON.stringify(s)),k.current&&(clearInterval(k.current),k.current=null);return}console.warn("Incomplete result data received:",s)}}catch(e){console.error("Error processing speedtest data:",e)}(s.type&&(s.download||s.upload||s.ping)||s.isp)&&(E.current=s,m(s))}catch(e){console.error("Error polling speedtest status:",e),v&&(p("Failed to get speedtest status"),j(!1),k.current&&(clearInterval(k.current),k.current=null))}},[u,v]),P=(0,l.useCallback)(async()=>{if(!S)try{if(T(),w(!0),j(!0),I(!0),!(await fetch("/cgi-bin/quecmanager/home/speedtest/start_speedtest.sh",{method:"GET"})).ok)throw Error("Failed to start speedtest");k.current=setInterval(R,300),w(!1)}catch(e){console.error("Speedtest start error:",e),p(e instanceof Error?"Failed to start speedtest: ".concat(e.message):"Failed to start speedtest"),w(!1),j(!1)}},[S,T,R]);return(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsx)(a.ZB,{children:"Network Speedtest"})}),(0,r.jsxs)(a.Wu,{className:"flex flex-col gap-6 p-4 items-center justify-center",children:[(0,r.jsxs)(z.lG,{open:C,onOpenChange:I,children:[(0,r.jsx)(z.zM,{asChild:!0,children:(0,r.jsxs)("div",{className:"relative flex flex-col items-center justify-center",children:[(0,r.jsx)(eO.A,{color:"#5420ab",size:192,className:"-top-8 -left-8 absolute",style:{zIndex:1}}),(0,r.jsx)(B.A,{className:"size-32 z-10 text-primary cursor-pointer hover:text-primary/80 transition-colors duration-300",onClick:e=>{S||(e.preventDefault(),P())}})]})}),(0,r.jsxs)(z.Cf,{className:"sm:max-w-[800px] max-w-xs mx-auto",children:[(0,r.jsx)(z.c7,{children:(0,r.jsxs)(z.L3,{className:"flex items-center",children:[(0,r.jsx)(eM.A,{className:"mr-2"})," Network Speedtest",f&&(0,r.jsx)(o.E,{variant:"outline",className:"ml-2",children:"Complete"}),v&&!f&&(0,r.jsx)(o.E,{variant:"outline",className:"ml-2 bg-primary/10",children:"Running..."})]})}),(0,r.jsx)("div",{className:"lg:max-w-full max-w-sm mx-auto min-w-sm py-6",children:(()=>{var e,s,t,l,n,i,o,d,m,x,p,g,j,w,y,S,A,C,I,k,E,R,M,D,z,L;if(h)return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eT.A,{className:"text-rose-600 lg:size-48 size-16 animate-pulse"}),(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Network Speedtest Failed"}),(0,r.jsxs)("p",{className:"text-sm text-gray-500",children:["Something went wrong while running the speedtest.",(0,r.jsx)("span",{className:"underline cursor-pointer ml-2",onClick:()=>{T(),P()},children:"Please try again."})]})]});if(N||v&&!c)return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eR.A,{className:"text-primary lg:size-48 size-16 animate-pulse"}),(0,r.jsx)("h3",{className:"md:text-xl text-lg font-semibold",children:"Initiating Network Speedtest"}),(0,r.jsx)("p",{className:"text-sm text-gray-500 text-center",children:"Locating and establishing a connection to a server. Please wait..."})]});if("ping"===u)return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eP.A,{className:"text-gray-600 size-16 animate-pulse"}),(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Calculating Ping Latency"}),(0,r.jsx)("div",{className:"w-full bg-gray-200 rounded-full h-2.5",children:(0,r.jsx)("div",{className:"bg-blue-600 h-2.5 rounded-full",style:{width:"".concat(100*(b||0),"%")}})}),(0,r.jsx)("p",{className:"text-sm text-gray-500",children:(null==c?void 0:c.ping)?"Latency: ".concat(c.ping.latency.toFixed(2)," ms, \n Jitter: ").concat(c.ping.jitter.toFixed(2)," ms"):"Measuring network responsiveness..."})]});if(f)return c&&c.download&&c.upload&&c.ping?(0,r.jsxs)("div",{className:"grid gap-4 w-full min-w-sm",children:[(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsxs)(a.ZB,{className:"flex items-center",children:[(0,r.jsx)(eM.A,{className:"mr-4 text-violet-600"})," Speedtest Result"]})}),(0,r.jsx)(a.Wu,{className:"lg:py-12 py-6 min-w-sm w-full",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4 lg:gap-y-0 gap-y-8 gap-x-8",children:[(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(eD.A,{className:"text-green-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"font-semibold",children:"Download"})]}),(0,r.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:eZ(null===(t=c.download)||void 0===t?void 0:t.bandwidth)}),(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(ez.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(R=null===(i=c.download)||void 0===i?void 0:null===(n=i.latency)||void 0===n?void 0:null===(l=n.iqm)||void 0===l?void 0:l.toFixed(2))&&void 0!==R?R:"N/A"," ","ms"]})]})]}),(0,r.jsxs)("div",{className:"grid gap-1.5 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(eL.A,{className:"text-violet-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"font-semibold",children:"Upload"})]}),(0,r.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:eZ(null===(o=c.upload)||void 0===o?void 0:o.bandwidth)}),(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(ez.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(M=null===(x=c.upload)||void 0===x?void 0:null===(m=x.latency)||void 0===m?void 0:null===(d=m.iqm)||void 0===d?void 0:d.toFixed(2))&&void 0!==M?M:"N/A"," ","ms"]})]})]})]})}),(0,r.jsxs)(a.wL,{className:"flex items-center justify-between mx-auto",children:[(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(eP.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Ping"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(D=null===(g=c.ping)||void 0===g?void 0:null===(p=g.latency)||void 0===p?void 0:p.toFixed(2))&&void 0!==D?D:"N/A"," ms"]})]}),(0,r.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,r.jsx)(eU.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,r.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Jitter"})]}),(0,r.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(z=null===(w=c.ping)||void 0===w?void 0:null===(j=w.jitter)||void 0===j?void 0:j.toFixed(2))&&void 0!==z?z:"N/A"," ms"]})]})]})]}),(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.aR,{children:(0,r.jsxs)(a.ZB,{className:"flex items-center",children:[(0,r.jsx)(eG.A,{className:"mr-4 text-blue-600"})," Connection & Server Details"]})}),(0,r.jsx)(a.Wu,{children:(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"ISP:"}),(0,r.jsx)("p",{children:c.isp||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Internal IP:"}),(0,r.jsx)("p",{children:(null===(y=c.interface)||void 0===y?void 0:y.internalIp)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"External IP:"}),(0,r.jsx)("p",{children:(null===(S=c.interface)||void 0===S?void 0:S.externalIp)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Server Name:"}),(0,r.jsx)("p",{children:(null===(A=c.server)||void 0===A?void 0:A.name)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Location:"}),(0,r.jsx)("p",{children:(null===(C=c.server)||void 0===C?void 0:C.location)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Country:"}),(0,r.jsx)("p",{children:(null===(I=c.server)||void 0===I?void 0:I.country)||"N/A"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,r.jsx)("p",{className:"font-medium",children:"Server IP:"}),(0,r.jsx)("p",{children:(null===(k=c.server)||void 0===k?void 0:k.host)||"N/A"})]}),(null===(E=c.result)||void 0===E?void 0:E.url)&&(0,r.jsxs)("div",{className:"flex items-center gap-x-2 mt-4",children:[(0,r.jsx)(eB.A,{className:"text-blue-600 size-4"}),(0,r.jsx)("a",{href:c.result.url,target:"_blank",rel:"noopener noreferrer",className:"font-medium text-blue-600 hover:underline",children:"View Full Result Online"})]})]})})]})]}):(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(eT.A,{className:"text-amber-500 lg:size-16 size-8"}),(0,r.jsx)("h3",{className:"text-xl font-semibold",children:"Incomplete Test Results"}),(0,r.jsxs)("p",{className:"text-sm text-gray-500 text-center",children:["The test didn't complete properly. Some data may be missing.",(0,r.jsx)("span",{className:"underline cursor-pointer ml-2 block",onClick:()=>{T(),P()},children:"Run the test again"})]})]});if(!u||!c)return null;if(!c[u])return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,r.jsx)(e_.A,{className:"text-primary lg:size-16 size-8 animate-spin"}),(0,r.jsx)("h3",{className:"text-lg font-semibold",children:"Loading test data..."})]});let U=c[u],G="download"===u;return(0,r.jsxs)(a.Zp,{className:"p-4 w-full",children:[(0,r.jsx)(a.aR,{children:(0,r.jsxs)(a.ZB,{className:"flex items-center",children:[G?(0,r.jsx)(eD.A,{className:"text-green-500 lg:size-6 size-4 mr-1"}):(0,r.jsx)(eL.A,{className:"text-violet-500 lg:size-6 size-4 mr-1"}),(0,r.jsxs)("p",{className:"ml-2",children:["Testing ",G?"Download":"Upload"," Speed"]})]})}),(0,r.jsx)(a.Wu,{children:(0,r.jsx)("div",{className:"grid place-items-center max-w-sm lg:max-w-full mx-auto w-full",children:(0,r.jsx)("h1",{className:"lg:text-[4rem] text-[3rem] font-semibold text-center",children:eZ(U.bandwidth)})})}),(0,r.jsx)(a.wL,{children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eF.A,{className:"mr-2 text-yellow-600"}),"Bytes Transferred"]}),(0,r.jsx)("p",{className:"lg:text-md text-base text-muted font-semibold",children:eq(U.bytes)})]}),(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eM.A,{className:"mr-2 text-purple-600"}),"Elapsed Time"]}),(0,r.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[(U.elapsed/1e3).toFixed(2)," sec"]})]}),(0,r.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(eP.A,{className:"mr-2 text-gray-600"}),"Latency (IQM)"]}),(0,r.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[null!==(L=null===(s=U.latency)||void 0===s?void 0:null===(e=s.iqm)||void 0===e?void 0:e.toFixed(2))&&void 0!==L?L:"N/A"," ms"]})]})]})})]})})()}),(0,r.jsx)(z.Es,{className:"flex justify-between items-center",children:f?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:(0,r.jsxs)(D.$,{onClick:()=>{S?d({title:"Please wait",description:"Cooldown period active"}):(T(),P())},variant:"outline",disabled:S,children:[(0,r.jsx)(e_.A,{className:"h-4 w-4"}),"Run Again"]})}),(0,r.jsx)(D.$,{onClick:()=>I(!1),children:"Close"})]}):(0,r.jsx)(r.Fragment,{children:v?(0,r.jsx)(D.$,{onClick:()=>{T(),I(!1)},variant:"destructive",children:"Cancel Test"}):(0,r.jsx)(D.$,{onClick:()=>I(!1),children:"Close"})})})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.BT,{className:"relative flex flex-col items-center justify-center",children:S?"Please wait 10 seconds before starting another test.":v?"Test in progress...":"Run a speed test to check your internet connection."}),c?(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)("div",{className:"relative flex flex-col items-center justify-center",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-1 grid-flow-row",children:[(0,r.jsxs)("div",{className:"flex items-center mx-2",children:[(0,r.jsx)(eD.A,{className:"text-green-500 lg:size-4 size-4 mr-1"}),(null==c?void 0:c.download)?"".concat(eZ(null==c?void 0:null===(e=c.download)||void 0===e?void 0:e.bandwidth)):"N/A"]}),(0,r.jsxs)("div",{className:"flex items-center mx-2",children:[(0,r.jsx)(eL.A,{className:"text-violet-500 lg:size-4 size-4 mr-1"}),(null==c?void 0:c.upload)?"".concat(eZ(null==c?void 0:null===(s=c.upload)||void 0===s?void 0:s.bandwidth)):"N/A"]}),(0,r.jsxs)("div",{className:"flex items-center mx-2",children:[(0,r.jsx)(eP.A,{className:"text-gray-600 lg:size-4 mr-1"}),(null==c?void 0:c.ping)?"".concat(null==c?void 0:null===(i=c.ping)||void 0===i?void 0:null===(t=i.latency)||void 0===t?void 0:t.toFixed(2)," ms"):"N/A"]})]})})}):v?(0,r.jsx)("p",{className:"text-sm text-gray-500 text-center",children:'"Test in progress..."'}):(0,r.jsx)("p",{className:"text-sm text-gray-500 text-center",children:'"Previous data not available."'})]})]})]})};var eH=t(88926);let eW=e=>{let{data:s,isLoading:t,isPublicIPLoading:l=!1,hideSensitiveData:n}=e;return(0,r.jsx)(a.Zp,{className:"md:py-6 md:px-6 py-6 px-4 ",children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-5 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Public IPv4 Address"}),t||l?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):n?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.publicIPv4})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Cellular IPv4 Address"}),(0,r.jsx)("div",{className:"flex items-center gap-x-2",children:t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):n?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.cellularIPv4})})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Cellular IPv6 Address"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):n?(0,r.jsx)("div",{className:"border-none bg-gray-600 rounded-md h-5 md:w-36 w-24"}):(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.cellularIPv6})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Carrier Primary DNS"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{children:null==s?void 0:s.networkAddressing.carrierPrimaryDNS}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.rawCarrierPrimaryDNS})})]})})]}),(0,r.jsxs)("div",{className:"grid place-items-center gap-1.5",children:[(0,r.jsx)("h2",{className:"font-semibold",children:"Carrier Secondary DNS"}),t?(0,r.jsx)(i.E,{className:"h-4 w-[100px]"}):(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{children:null==s?void 0:s.networkAddressing.carrierSecondaryDNS}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)("p",{children:null==s?void 0:s.networkAddressing.rawCarrierSecondaryDNS})})]})})]})]})})};var e$=t(99015),eK=t(13624);let eV=e=>{let{lteTimeAdvance:s="0",nrTimeAdvance:t="0",isLoading:n=!1,networkType:o="Unknown"}=e,[d,c]=(0,l.useState)("km"),[m,u]=(0,l.useState)(!0);(0,l.useEffect)(()=>{(async()=>{try{u(!0);let e=await fetch("/cgi-bin/quecmanager/settings/measurement_units.sh"),s=await e.json();"success"===s.status&&s.data&&c(s.data.unit)}catch(e){console.error("Error fetching measurement unit:",e),c("km")}finally{u(!1)}})()},[]);let x=s&&"Unknown"!==s&&"-"!==s&&parseInt(s,10)||0,h=t&&"Unknown"!==t&&"-"!==t&&parseInt(t,10)||0,p=x>0?(e=>((e<0||e>1282)&&(console.warn("Invalid LTE TA value: ".concat(e,", using 0 instead")),e=0),1/3072e4*(16*e)*3e8/2/1e3))(x):0,g=h>0?(e=>(e<0&&(console.warn("Invalid negative NTA value: ".concat(e,", using 0 instead")),e=0),3e8*e*(1/196608e4)/2/1e3))(h):0,v=e=>.621371*e,j=e=>{if(0===e)return"-";if("mi"===d){let s=v(e);if(s<1){let e=5280*s;return"".concat(e.toFixed(0)," ft")}return"".concat(s.toFixed(2)," mi")}return e<1?"".concat((1e3*e).toFixed(0)," m"):"".concat(e.toFixed(2)," km")};return(0,r.jsxs)(a.Zp,{className:"overflow-hidden",children:[(0,r.jsx)(a.aR,{children:(0,r.jsx)(a.ZB,{children:"Distance to Cell Tower"})}),(0,r.jsx)(a.Wu,{children:n||m?(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(e$.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"LTE"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eK.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"})})]})})]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(e$.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"NR5G"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eK.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsx)(i.E,{className:"h-4 w-16 mr-2"})})]})})]})]})]}):(0,r.jsxs)("div",{className:"space-y-3",children:[x>0&&(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(e$.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"LTE"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("p",{className:"mr-2",children:j(p)}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eK.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsxs)("p",{className:"max-w-xs text-xs mr-2",children:["LTE TA ",x]})})]})})]})]}),h>0&&(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(e$.A,{className:"h-4 w-4 mr-1.5"}),(0,r.jsx)("span",{className:"text-sm font-medium",children:"NR5G"})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("p",{className:"mr-2",children:j(g)}),(0,r.jsx)(f.TooltipProvider,{children:(0,r.jsxs)(f.m_,{children:[(0,r.jsx)(f.k$,{asChild:!0,children:(0,r.jsx)(eK.A,{className:"h-4 w-4 text-muted-foreground"})}),(0,r.jsx)(f.ZI,{children:(0,r.jsxs)("p",{className:"max-w-xs text-xs mr-2",children:["NTA ",h]})})]})})]})]}),!x&&!h&&(0,r.jsx)("div",{className:"h-16 flex items-center justify-center",children:(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"No timing advance data available"})})]})})]})},eJ=()=>{var e,s,t;let{toast:a}=(0,n.dj)(),[i,o]=(0,l.useState)(!1),[c,m]=(0,l.useState)(!1),{data:u,isLoading:x,refresh:f,isPublicIPLoading:v}=ew(),{dataConnectionState:j,isStateLoading:N,refresh:w}=eb(),{isRunningDiagnostics:b,runDiagnosticsData:y,startDiagnostics:S}=ek(),{bytesSent:A,bytesReceived:I,refresh:k}=eS(),E=async()=>{try{var e,s;let t=await (0,eH.a)("AT+QUIMSLOT?"),r=null===(e=t.response)||void 0===e?void 0:e.raw_output.split("\n")[1].split(":")[1].trim(),l=await (0,eH.a)("1"===r?"AT+QUIMSLOT=2":"AT+QUIMSLOT=1");if("error"===l.status||(null===(s=l.response)||void 0===s?void 0:s.status)==="error")throw Error("Failed to change SIM slot");a({title:"SIM Slot Changed",description:"The SIM slot has been changed successfully"}),setTimeout(async()=>{await (0,eH.a)("AT+COPS=2"),setTimeout(async()=>{let e=await (0,eH.a)("AT+COPS=0");if("error"===e.status)throw Error("Failed to reconnect to the network");a({title:"Network Reconnected",description:"The device has been reconnected to the network"})},2e3)},3e3),setTimeout(R,3e3)}catch(e){console.error("Error changing SIM slot:",e),a({variant:"destructive",title:"SIM Slot Change Failed",description:e instanceof Error?e.message:"Failed to change the SIM slot"})}},R=(0,l.useCallback)(async()=>{try{await Promise.all([f(),w(),k()])}catch(e){console.error("Error refreshing data:",e),a({variant:"destructive",title:"Refresh Failed",description:"Failed to refresh the data"})}},[f,w,k]),[P,O]=(0,l.useState)([]),Z=async()=>{try{await S()}catch(e){a({variant:"destructive",title:"Diagnostics Failed",description:"Failed to run diagnostics"})}};return(0,l.useEffect)(()=>{if(u&&u.currentBands){var e;let s=null===(e=u.currentBands.id)||void 0===e?void 0:e.map((e,s)=>{var t,r,l,n,a,i,o;return{id:e,bandNumber:(null===(t=u.currentBands.bandNumber)||void 0===t?void 0:t[s])||"N/A",earfcn:(null===(r=u.currentBands.earfcn)||void 0===r?void 0:r[s])||"N/A",bandwidth:(null===(l=u.currentBands.bandwidth)||void 0===l?void 0:l[s])||"N/A",pci:(null===(n=u.currentBands.pci)||void 0===n?void 0:n[s])||"N/A",rsrp:(null===(a=u.currentBands.rsrp)||void 0===a?void 0:a[s])||"N/A",rsrq:(null===(i=u.currentBands.rsrq)||void 0===i?void 0:i[s])||"N/A",sinr:(null===(o=u.currentBands.sinr)||void 0===o?void 0:o[s])||"N/A"}});s&&O(s)}},[u]),(0,l.useEffect)(()=>{var e,s;(null==u?void 0:null===(s=u.simCard)||void 0===s?void 0:null===(e=s.state)||void 0===e?void 0:e.toLowerCase().includes("failed"))&&a({title:"SMS_Tool failed to acquire token",description:"The system will attempt to recover automatically. If this issue persists, please logout and log back in or restart the device.",variant:"destructive"}),x||(null==u?void 0:u.simCard.state)!=="Not Inserted"||o(!0)},[u,x]),(0,r.jsxs)("div",{className:"grid xl:gap-y-10 gap-y-8 gap-4",children:[(0,r.jsxs)("div",{className:"grid gap-4",children:[(0,r.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,r.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,r.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Connection Summary"}),(0,r.jsx)(D.$,{variant:"ghost",size:"icon",className:"text-sm",onClick:R,children:(0,r.jsx)(L.A,{className:"xl:size-6 size-5 text-blue-500",strokeWidth:3})})]}),(0,r.jsxs)("div",{className:"flex flex-row items-center gap-x-2",children:[(0,r.jsxs)(D.$,{onClick:()=>m(e=>!e),children:[c?(0,r.jsx)(U.A,{className:"xl:size-6 size-5"}):(0,r.jsx)(G.A,{className:"xl:size-6 size-5"}),(0,r.jsxs)("span",{className:"hidden md:block",children:[c?"Show":"Hide"," Sensitive Data"]})]}),(null==u?void 0:u.simCard.state)==="Not Inserted"&&(0,r.jsxs)(z.lG,{open:i,onOpenChange:o,children:[(0,r.jsx)(z.zM,{asChild:!0,children:(0,r.jsxs)(D.$,{variant:"destructive",children:[(0,r.jsx)(eE.fU4,{className:"xl:size-6 size-5"}),(0,r.jsx)("span",{className:"hidden md:block",children:"No SIM"})]})}),(0,r.jsxs)(z.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,r.jsx)(z.c7,{children:(0,r.jsx)(z.L3,{children:"No SIM Detected"})}),(0,r.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,r.jsx)("div",{className:"flex items-center justify-center",children:(0,r.jsx)(eE.fU4,{className:"xl:size-14 md:size-12 size-6 text-red-500"})}),(0,r.jsx)("p",{className:"text-center",children:"There is no SIM card detected in the device. Please insert a SIM card or change the SIM card slot to use the device."})]}),(0,r.jsxs)("div",{className:"flex justify-end mt-4",children:[(0,r.jsx)(D.$,{onClick:E,className:"mr-2",children:"Change SIM Slot"}),(0,r.jsx)(z.HM,{asChild:!0,children:(0,r.jsx)(D.$,{variant:"secondary",onClick:()=>o(!1),children:"Close"})})]})]})]}),(0,r.jsxs)(z.lG,{children:[(0,r.jsx)(z.zM,{asChild:!0,children:(0,r.jsxs)(D.$,{onClick:Z,children:[(0,r.jsx)(B.A,{className:"xl:size-6 size-5"}),(0,r.jsx)("span",{className:"hidden md:block",children:"Run Diagnostics"})]})}),!b&&(0,r.jsxs)(z.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,r.jsx)(z.c7,{children:(0,r.jsx)(z.L3,{children:"Diagnostics Result"})}),(0,r.jsx)(z.rr,{children:"This is the result of the diagnostic test ran on your device."}),(0,r.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Network Registration "}),(null==y?void 0:y.netRegistration)==="Registered"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"U-SIM State"}),(null==y?void 0:y.simState)==="READY"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Manual APN"}),(null==y?void 0:y.manualAPN)==="Enabled"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"WAN IP"}),(null==y?void 0:y.wanIP)==="Connected"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Cellular Signal"}),(null==y?void 0:y.cellSignal)==="Good"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Modem Temperature"}),(null==y?void 0:y.modemTemp)==="Normal"?(0,r.jsx)(_.A,{className:"text-green-500"}):(0,r.jsx)(F.A,{className:"text-red-500"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between mt-6",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Network Reject Causes"}),(0,r.jsx)("div",{className:"flex flex-col items-end space-y-1",children:(null==y?void 0:y.rejectCauses)?(0,r.jsxs)(r.Fragment,{children:[y.rejectCauses.emm&&(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(F.A,{className:"text-red-500 w-4 h-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["EMM (",y.rejectCauses.emm.code,"):"," ",y.rejectCauses.emm.description]})]}),y.rejectCauses.esm&&(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(F.A,{className:"text-red-500 w-4 h-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["ESM (",y.rejectCauses.esm.code,"):"," ",y.rejectCauses.esm.description]})]}),y.rejectCauses.nrmm&&(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(F.A,{className:"text-red-500 w-4 h-4"}),(0,r.jsxs)("span",{className:"text-sm",children:["NRMM (",y.rejectCauses.nrmm.code,"):"," ",y.rejectCauses.nrmm.description]})]})]}):(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(_.A,{className:"text-green-500"}),(0,r.jsx)("span",{children:"None"})]})})]})]})]}),b&&(0,r.jsxs)(z.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,r.jsx)(z.c7,{children:(0,r.jsx)(z.L3,{children:"Running Diagnostics"})}),(0,r.jsx)("div",{className:"flex items-center justify-center my-4",children:(0,r.jsx)(q(),{color:"#6D28D9"})}),(0,r.jsx)(z.rr,{className:"text-center",children:"Please wait while we run diagnostics on your device."})]})]})]})]}),(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsx)("div",{children:(0,r.jsx)(C,{})}),(0,r.jsxs)("div",{className:"grid gap-2 lg:grid-cols-2 grid-cols-1 grid-flow-row",children:[(0,r.jsx)(eV,{lteTimeAdvance:null==u?void 0:null===(e=u.timeAdvance)||void 0===e?void 0:e.lteTimeAdvance,nrTimeAdvance:null==u?void 0:null===(s=u.timeAdvance)||void 0===s?void 0:s.nrTimeAdvance,isLoading:x,networkType:null==u?void 0:null===(t=u.connection)||void 0===t?void 0:t.networkType}),(0,r.jsx)(T,{}),(0,r.jsx)(eQ,{}),(0,r.jsx)(M,{})]})]}),(0,r.jsxs)("div",{className:"grid 2xl:grid-cols-4 lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,r.jsx)(d,{data:u,isLoading:x,hideSensitiveData:c}),(0,r.jsx)(h,{data:u,isLoading:x,dataConnectionState:j,connectionStateLoading:N}),(0,r.jsx)(p,{data:u,isLoading:x,bytesSent:A,bytesReceived:I}),(0,r.jsx)(g,{data:u,isLoading:x})]})]}),(0,r.jsxs)("div",{className:"grid gap-4 w-full",children:[(0,r.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Active Addresses"}),(0,r.jsx)("div",{children:(0,r.jsx)(eW,{data:u,isLoading:x,isPublicIPLoading:v,hideSensitiveData:c})})]}),(0,r.jsxs)("div",{className:"grid gap-4 w-full",children:[(0,r.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Current Active Bands"}),(0,r.jsx)("div",{children:(0,r.jsx)(X,{bands:P,isLoading:x})})]})]})}},45934:(e,s,t)=>{"use strict";t.d(s,{E:()=>i});var r=t(20475);t(20107);var l=t(29395),n=t(22250);let a=(0,l.F)("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 i(e){let{className:s,variant:t,...l}=e;return(0,r.jsx)("div",{className:(0,n.cn)(a({variant:t}),s),...l})}},42541:(e,s,t)=>{"use strict";t.d(s,{$:()=>d,r:()=>o});var r=t(20475),l=t(20107),n=t(61837),a=t(29395),i=t(22250);let o=(0,a.F)("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=l.forwardRef((e,s)=>{let{className:t,variant:l,size:a,asChild:d=!1,...c}=e,m=d?n.DX:"button";return(0,r.jsx)(m,{className:(0,i.cn)(o({variant:l,size:a,className:t})),ref:s,...c})});d.displayName="Button"},72167:(e,s,t)=>{"use strict";t.d(s,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>a,aR:()=>i,wL:()=>m});var r=t(20475),l=t(20107),n=t(22250);let a=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...l})});a.displayName="Card";let i=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",t),...l})});i.displayName="CardHeader";let o=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("h3",{ref:s,className:(0,n.cn)("font-semibold leading-none tracking-tight",t),...l})});o.displayName="CardTitle";let d=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("p",{ref:s,className:(0,n.cn)("text-sm text-muted-foreground",t),...l})});d.displayName="CardDescription";let c=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("p-6 pt-0",t),...l})});c.displayName="CardContent";let m=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)("div",{ref:s,className:(0,n.cn)("flex items-center p-6 pt-0",t),...l})});m.displayName="CardFooter"},1307:(e,s,t)=>{"use strict";t.d(s,{II:()=>h,Nt:()=>p,at:()=>u});var r=t(20475),l=t(20107),n=t(81155),a=t(58601),i=t(58736),o=t(22250);let d={light:"",dark:".dark"},c=l.createContext(null);function m(){let e=l.useContext(c);if(!e)throw Error("useChart must be used within a ");return e}let u=l.forwardRef((e,s)=>{let{id:t,className:a,children:i,config:d,...m}=e,u=l.useId(),h="chart-".concat(t||u.replace(/:/g,""));return(0,r.jsx)(c.Provider,{value:{config:d},children:(0,r.jsxs)("div",{"data-chart":h,ref:s,className:(0,o.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",a),...m,children:[(0,r.jsx)(x,{id:h,config:d}),(0,r.jsx)(n.u,{children:i})]})})});u.displayName="Chart";let x=e=>{let{id:s,config:t}=e,l=Object.entries(t).filter(e=>{let[s,t]=e;return t.theme||t.color});return l.length?(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(d).map(e=>{let[t,r]=e;return"\n".concat(r," [data-chart=").concat(s,"] {\n").concat(l.map(e=>{var s;let[r,l]=e,n=(null===(s=l.theme)||void 0===s?void 0:s[t])||l.color;return n?" --color-".concat(r,": ").concat(n,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null},h=a.m,p=l.forwardRef((e,s)=>{let{active:t,payload:n,className:a,indicator:i="dot",hideLabel:d=!1,hideIndicator:c=!1,label:u,labelFormatter:x,labelClassName:h,formatter:p,color:g,nameKey:v,labelKey:j}=e,{config:N}=m(),w=l.useMemo(()=>{var e;if(d||!(null==n?void 0:n.length))return null;let[s]=n,t="".concat(j||s.dataKey||s.name||"value"),l=f(N,s,t),a=j||"string"!=typeof u?null==l?void 0:l.label:(null===(e=N[u])||void 0===e?void 0:e.label)||u;return x?(0,r.jsx)("div",{className:(0,o.cn)("font-medium",h),children:x(a,n)}):a?(0,r.jsx)("div",{className:(0,o.cn)("font-medium",h),children:a}):null},[u,x,n,d,h,N,j]);if(!t||!(null==n?void 0:n.length))return null;let b=1===n.length&&"dot"!==i;return(0,r.jsxs)("div",{ref:s,className:(0,o.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",a),children:[b?null:w,(0,r.jsx)("div",{className:"grid gap-1.5",children:n.map((e,s)=>{let t="".concat(v||e.name||e.dataKey||"value"),l=f(N,e,t),n=g||e.payload.fill||e.color;return(0,r.jsx)("div",{className:(0,o.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===i&&"items-center"),children:p&&(null==e?void 0:e.value)!==void 0&&e.name?p(e.value,e.name,e,s,e.payload):(0,r.jsxs)(r.Fragment,{children:[(null==l?void 0:l.icon)?(0,r.jsx)(l.icon,{}):!c&&(0,r.jsx)("div",{className:(0,o.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===i,"w-1":"line"===i,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===i,"my-0.5":b&&"dashed"===i}),style:{"--color-bg":n,"--color-border":n}}),(0,r.jsxs)("div",{className:(0,o.cn)("flex flex-1 justify-between leading-none",b?"items-end":"items-center"),children:[(0,r.jsxs)("div",{className:"grid gap-1.5",children:[b?w:null,(0,r.jsx)("span",{className:"text-muted-foreground",children:(null==l?void 0:l.label)||e.name})]}),e.value&&(0,r.jsx)("span",{className:"font-mono font-medium tabular-nums text-foreground",children:e.value.toLocaleString()})]})]})},e.dataKey)})})]})});function f(e,s,t){if("object"!=typeof s||null===s)return;let r="payload"in s&&"object"==typeof s.payload&&null!==s.payload?s.payload:void 0,l=t;return t in s&&"string"==typeof s[t]?l=s[t]:r&&t in r&&"string"==typeof r[t]&&(l=r[t]),l in e?e[l]:e[t]}p.displayName="ChartTooltip",i.s,l.forwardRef((e,s)=>{let{className:t,hideIcon:l=!1,payload:n,verticalAlign:a="bottom",nameKey:i}=e,{config:d}=m();return(null==n?void 0:n.length)?(0,r.jsx)("div",{ref:s,className:(0,o.cn)("flex items-center justify-center gap-4","top"===a?"pb-3":"pt-3",t),children:n.map(e=>{let s="".concat(i||e.dataKey||"value"),t=f(d,e,s);return(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==t?void 0:t.icon)&&!l?(0,r.jsx)(t.icon,{}):(0,r.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:e.color}}),null==t?void 0:t.label]},e.value)})}):null}).displayName="ChartLegend"},93557:(e,s,t)=>{"use strict";t.d(s,{Cf:()=>x,Es:()=>p,HM:()=>m,L3:()=>f,c7:()=>h,lG:()=>o,rr:()=>g,zM:()=>d});var r=t(20475),l=t(20107),n=t(60241),a=t(7197),i=t(22250);let o=n.bL,d=n.l9,c=n.ZL,m=n.bm,u=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)(n.hJ,{ref:s,className:(0,i.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",t),...l})});u.displayName=n.hJ.displayName;let x=l.forwardRef((e,s)=>{let{className:t,children:l,...o}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(n.UC,{ref:s,className:(0,i.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",t),...o,children:[l,(0,r.jsxs)(n.bm,{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,r.jsx)(a.MKb,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});x.displayName=n.UC.displayName;let h=e=>{let{className:s,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",s),...t})};h.displayName="DialogHeader";let p=e=>{let{className:s,...t}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",s),...t})};p.displayName="DialogFooter";let f=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)(n.hE,{ref:s,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",t),...l})});f.displayName=n.hE.displayName;let g=l.forwardRef((e,s)=>{let{className:t,...l}=e;return(0,r.jsx)(n.VY,{ref:s,className:(0,i.cn)("text-sm text-muted-foreground",t),...l})});g.displayName=n.VY.displayName},36760:(e,s,t)=>{"use strict";t.d(s,{E:()=>n});var r=t(20475),l=t(22250);function n(e){let{className:s,...t}=e;return(0,r.jsx)("div",{className:(0,l.cn)("animate-pulse rounded-md bg-primary/10",s),...t})}},85014:(e,s,t)=>{"use strict";t.d(s,{TooltipProvider:()=>i,ZI:()=>c,k$:()=>d,m_:()=>o});var r=t(20475),l=t(20107),n=t(43048),a=t(22250);let i=n.Kq,o=n.bL,d=n.l9,c=l.forwardRef((e,s)=>{let{className:t,sideOffset:l=4,...i}=e;return(0,r.jsx)(n.UC,{ref:s,sideOffset:l,className:(0,a.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",t),...i})});c.displayName=n.UC.displayName},32857:(e,s,t)=>{"use strict";t.d(s,{dj:()=>u,oR:()=>m});var r=t(20107);let l=0,n=new Map,a=e=>{if(n.has(e))return;let s=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,s)},i=(e,s)=>{switch(s.type){case"ADD_TOAST":return{...e,toasts:[s.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===s.toast.id?{...e,...s.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=s;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===s.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==s.toastId)}}},o=[],d={toasts:[]};function c(e){d=i(d,e),o.forEach(e=>{e(d)})}function m(e){let{...s}=e,t=(l=(l+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:t});return c({type:"ADD_TOAST",toast:{...s,id:t,open:!0,onOpenChange:e=>{e||r()}}}),{id:t,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function u(){let[e,s]=r.useState(d);return r.useEffect(()=>(o.push(s),()=>{let e=o.indexOf(s);e>-1&&o.splice(e,1)}),[e]),{...e,toast:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,s,t)=>{"use strict";t.d(s,{cn:()=>n});var r=t(64901),l=t(868);function n(){for(var e=arguments.length,s=Array(e),t=0;t{"use strict";t.d(s,{a:()=>r});let r=async function(e){let s=!(arguments.length>1)||void 0===arguments[1]||arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var r;let l=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),n=encodeURIComponent(l),a="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(n);s&&(a+="&wait=1&timeout=".concat(t));let i=await fetch(a,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*t+5e3)});if(!i.ok)throw Error("AT command failed with status: ".concat(i.status));let o=await i.json();if(o.error)throw Error("AT queue error: ".concat(o.error));if(s&&(null===(r=o.response)||void 0===r?void 0:r.status)==="timeout")throw Error("AT command timed out after ".concat(t," seconds"));return o}catch(e){throw console.error("AT Command error:",e),e}}}},e=>{var s=s=>e(e.s=s);e.O(0,[9980,9649,7780,8885,3746,9464,241,3048,1074,4608,191,6035,7358],()=>s(98722)),_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/layout-e6a263e9e7db526a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-e6a263e9e7db526a.js deleted file mode 100644 index c761e60..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-e6a263e9e7db526a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1954],{2930:(e,t,a)=>{Promise.resolve().then(a.bind(a,63231))},63231:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>P});var s=a(20475),r=a(9477),o=a.n(r),n=a(19546),i=a(20107),l=a(16118);let d=e=>{let{children:t}=e,a=(0,l.useRouter)(),{isAuthenticated:r,checkAuth:o}=(0,n.A)();return((0,i.useEffect)(()=>{o()||a.push("/login")},[]),r)?(0,s.jsx)(s.Fragment,{children:t}):null};var c=a(99015),u=a(26459),m=a(30058),f=a(44381),h=a(42541),x=a(46052),p=a(88926),g=a(86118),b=a(97818),y=a(53538),v=a(76406),j=a(2609),w=a(92159),N=a(60241),S=a(7197),T=a(29395),A=a(22250);let k=N.bL,C=N.l9,E=N.bm,R=N.ZL,_=i.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(N.hJ,{className:(0,A.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});_.displayName=N.hJ.displayName;let I=(0,T.F)("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"}}),z=i.forwardRef((e,t)=>{let{side:a="right",className:r,children:o,...n}=e;return(0,s.jsxs)(R,{children:[(0,s.jsx)(_,{}),(0,s.jsxs)(N.UC,{ref:t,className:(0,A.cn)(I({side:a}),r),...n,children:[(0,s.jsxs)(N.bm,{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,s.jsx)(S.MKb,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]})});z.displayName=N.UC.displayName,i.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(N.hE,{ref:t,className:(0,A.cn)("text-lg font-semibold text-foreground",a),...r})}).displayName=N.hE.displayName,i.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(N.VY,{ref:t,className:(0,A.cn)("text-sm text-muted-foreground",a),...r})}).displayName=N.VY.displayName;var O=a(32857);let P=e=>{let{children:t}=e,a=(0,l.usePathname)(),{logout:r}=(0,n.A)(),{setTheme:N}=(0,w.D)(),[S,T]=(0,i.useState)(!1),[A,R]=(0,i.useState)(!1),[_,I]=(0,i.useState)(!1),[P,D]=(0,i.useState)(null),[L,U]=(0,i.useState)(!1),q=(0,O.dj)(),F="profile_picture_data",V="profile_picture_metadata",J=()=>{try{let e=localStorage.getItem(F);e&&(D(e),U(!0))}catch(e){console.error("Error loading cached image:",e)}},Z=(e,t)=>{try{localStorage.setItem(F,e),localStorage.setItem(V,JSON.stringify(t))}catch(a){if(console.error("Error updating cache:",a),a instanceof Error&&"QuotaExceededError"===a.name){M();try{localStorage.setItem(F,e),localStorage.setItem(V,JSON.stringify(t))}catch(e){console.error("Failed to cache image even after clearing:",e)}}}},M=()=>{try{localStorage.removeItem(F),localStorage.removeItem(V)}catch(e){console.error("Error clearing cache:",e)}},Q=()=>{try{let e=localStorage.getItem(V);return e?JSON.parse(e):null}catch(e){return console.error("Error getting cached metadata:",e),null}},B=async()=>{try{var e;I(!0);let t=await fetch("/cgi-bin/quecmanager/settings/profile_picture.sh"),a=await t.json();if("success"===a.status&&(null===(e=a.data)||void 0===e?void 0:e.exists)){let e={size:a.data.size,modified:a.data.modified,type:a.data.type},t=Q();t&&t.size===e.size&&t.modified===e.modified&&t.type===e.type?U(!0):a.data.data&&(D(a.data.data),U(!0),Z(a.data.data,e))}else D(null),U(!1),M()}catch(e){console.error("Error fetching profile picture:",e),localStorage.getItem(F)||(D(null),U(!1))}finally{I(!1)}};(0,i.useEffect)(()=>{J(),B()},[]),(0,i.useEffect)(()=>{let e=()=>{J(),B()};window.addEventListener("profilePictureUpdated",e),window.addEventListener("profilePictureDeleted",e);let t=e=>{(e.key===F||e.key===V)&&J()};return window.addEventListener("storage",t),()=>{window.removeEventListener("profilePictureUpdated",e),window.removeEventListener("profilePictureDeleted",e),window.removeEventListener("storage",t)}},[]);let{isServerAlive:H}=(0,x.A)();(0,i.useEffect)(()=>{H||r()},[H,r]);let $=async()=>{try{T(!0),await (0,p.a)("AT+QPOWD=1",!0,60),q.toast({title:"Rebooting device",description:"Please wait for the device to restart. This may take up to ".concat(90," seconds."),duration:9e4}),setTimeout(()=>{q.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),q.toast({title:"Failed to reboot device",description:"Please try again.",variant:"destructive"})}finally{T(!1)}},G=async()=>{try{T(!0),await fetch("/cgi-bin/quecmanager/settings/force-reboot.sh"),q.toast({title:"Rebooting device",description:"Please wait for the device to restart. This may take up to ".concat(90," seconds."),duration:9e4}),setTimeout(()=>{q.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),q.toast({title:"Failed to reboot device",description:"Please try again.",variant:"destructive"})}finally{T(!1)}},Y=async()=>{try{R(!0),await (0,p.a)("AT+COPS=2",!0,30),q.toast({title:"Disconnected from network",description:"Reconnecting in 2 seconds..."}),await new Promise(e=>setTimeout(e,2e3)),await (0,p.a)("AT+COPS=0",!0,60),q.toast({title:"Reconnected to network",description:"The device has been reconnected successfully."}),await new Promise(e=>setTimeout(e,3e3)),window.location.reload()}catch(e){console.error("Reconnect error:",e),q.toast({title:"Failed to reconnect to network",description:"Please try again.",variant:"destructive"})}finally{R(!1)}};return(0,s.jsxs)("div",{className:"flex min-h-screen w-full flex-col",children:[(0,s.jsxs)("header",{className:"sticky top-0 flex h-16 items-center gap-4 border-b bg-background px-4 md:px-6",children:[(0,s.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,s.jsxs)(o(),{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold md:text-xl md:mr-8",children:[(0,s.jsx)(c.A,{className:"h-6 w-6"}),(0,s.jsx)("h1",{children:"QuecManager"})]}),(0,s.jsx)(o(),{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"}),(0,s.jsx)(o(),{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,s.jsx)(o(),{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,s.jsx)(o(),{href:"/dashboard/custom-features/quecwatch",className:"".concat(a.includes("/dashboard/custom-features/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground whitespace-nowrap"),children:"Custom Features"}),(0,s.jsx)(o(),{href:"/dashboard/experimental/network-insights",className:"".concat(a.includes("/dashboard/experimental/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"})]}),(0,s.jsxs)(k,{children:[(0,s.jsx)(C,{asChild:!0,children:(0,s.jsxs)(h.$,{variant:"outline",size:"icon",className:"shrink-0 md:hidden",children:[(0,s.jsx)(u.A,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),(0,s.jsx)(z,{side:"left",children:(0,s.jsxs)("nav",{className:"grid gap-6 text-lg font-medium",children:[(0,s.jsx)(E,{asChild:!0,children:(0,s.jsxs)(o(),{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold",children:[(0,s.jsx)(c.A,{className:"h-6 w-6"}),(0,s.jsx)("span",{children:"QuecManager"})]})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{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,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{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,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/experimental/",className:"".concat("/dashboard/experimental/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/about/",className:"".concat("/dashboard/about/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"About"})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/settings/personalization",className:"".concat(a.includes("/dashboard/settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Settings"})})]})})]}),(0,s.jsxs)("div",{className:"flex w-full items-center gap-4 md:ml-auto md:gap-2 lg:gap-4",children:[(0,s.jsx)("form",{className:"ml-auto flex-1 sm:flex-initial",children:(0,s.jsxs)(g.rI,{children:[(0,s.jsx)(g.ty,{asChild:!0,children:(0,s.jsxs)(h.$,{variant:"outline",size:"icon",children:[(0,s.jsx)(v.A,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,s.jsx)(j.A,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,s.jsxs)(g.SQ,{align:"end",children:[(0,s.jsx)(g._2,{onClick:()=>N("light"),children:"Light"}),(0,s.jsx)(g._2,{onClick:()=>N("dark"),children:"Dark"}),(0,s.jsx)(g._2,{onClick:()=>N("system"),children:"System"})]})]})}),(0,s.jsxs)(g.rI,{children:[(0,s.jsx)(g.ty,{asChild:!0,children:(0,s.jsxs)(h.$,{variant:"secondary",size:"icon",className:"rounded-full",children:[P?(0,s.jsxs)(y.eu,{children:[(0,s.jsx)(y.BK,{src:P,alt:"Profile Picture"}),(0,s.jsx)(y.q5,{children:(0,s.jsx)(m.A,{className:"h-5 w-5"})})]}):(0,s.jsx)(m.A,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle user menu"})]})}),(0,s.jsxs)(g.SQ,{align:"end",children:[(0,s.jsx)(g.lp,{children:"Options"}),(0,s.jsx)(g.mB,{}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/settings/personalization",children:"Settings"})}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsx)("a",{href:"/cgi-bin/luci",target:"_blank",rel:"noreferrer noopener",children:"Luci"})}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsx)("a",{href:"https://github.com/iamromulan/cellular-modem-wiki/discussions/new/choose",target:"_blank",children:"Support"})}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/about",children:"About"})}),(0,s.jsx)(g.mB,{}),(0,s.jsx)(g._2,{onClick:Y,children:A?"Reconnecting...":"Reconnect"}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsxs)(b.Lt,{children:[(0,s.jsx)(b.tv,{asChild:!0,children:(0,s.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,s.jsxs)(b.EO,{children:[(0,s.jsxs)(b.wd,{children:[(0,s.jsx)(b.r7,{children:"Are you sure?"}),(0,s.jsx)(b.$v,{children:"This will reboot your device. The connection will be lost temporarily. Please wait for the page to reload."})]}),(0,s.jsxs)(b.ck,{children:[(0,s.jsx)(b.Zr,{children:"Cancel"}),(0,s.jsxs)(b.Rx,{onClick:$,disabled:S,children:[(0,s.jsx)(f.A,{className:"size-4"}),"Reboot Now"]})]})]})]})}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsxs)(b.Lt,{children:[(0,s.jsx)(b.tv,{asChild:!0,children:(0,s.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:"Force Reboot"})}),(0,s.jsxs)(b.EO,{children:[(0,s.jsxs)(b.wd,{children:[(0,s.jsx)(b.r7,{children:"Are you sure?"}),(0,s.jsx)(b.$v,{children:"This will force reboot your device. The connection will be lost temporarily. Please wait for the page to reload."})]}),(0,s.jsxs)(b.ck,{children:[(0,s.jsx)(b.Zr,{children:"Cancel"}),(0,s.jsxs)(b.Rx,{onClick:G,disabled:S,children:[(0,s.jsx)(f.A,{className:"size-4"}),"Force Reboot Now"]})]})]})]})}),(0,s.jsx)(g.mB,{}),(0,s.jsx)(g._2,{onClick:r,children:"Logout"})]})]})]})]}),(0,s.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,s.jsx)(d,{children:t})})]})}},97818:(e,t,a)=>{"use strict";a.d(t,{$v:()=>p,EO:()=>m,Lt:()=>l,Rx:()=>g,Zr:()=>b,ck:()=>h,r7:()=>x,tv:()=>d,wd:()=>f});var s=a(20475),r=a(20107),o=a(50564),n=a(22250),i=a(42541);let l=o.bL,d=o.l9,c=o.ZL,u=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});u.displayName=o.hJ.displayName;let m=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsxs)(c,{children:[(0,s.jsx)(u,{}),(0,s.jsx)(o.UC,{ref:t,className:(0,n.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),...r})]})});m.displayName=o.UC.displayName;let f=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};f.displayName="AlertDialogHeader";let h=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};h.displayName="AlertDialogFooter";let x=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold",a),...r})});x.displayName=o.hE.displayName;let p=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",a),...r})});p.displayName=o.VY.displayName;let g=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.rc,{ref:t,className:(0,n.cn)((0,i.r)(),a),...r})});g.displayName=o.rc.displayName;let b=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.ZD,{ref:t,className:(0,n.cn)((0,i.r)({variant:"outline"}),"mt-2 sm:mt-0",a),...r})});b.displayName=o.ZD.displayName},53538:(e,t,a)=>{"use strict";a.d(t,{BK:()=>l,eu:()=>i,q5:()=>d});var s=a(20475),r=a(20107),o=a(88601),n=a(22250);let i=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.bL,{ref:t,className:(0,n.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...r})});i.displayName=o.bL.displayName;let l=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o._V,{ref:t,className:(0,n.cn)("aspect-square h-full w-full",a),...r})});l.displayName=o._V.displayName;let d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.H4,{ref:t,className:(0,n.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...r})});d.displayName=o.H4.displayName},42541:(e,t,a)=>{"use strict";a.d(t,{$:()=>d,r:()=>l});var s=a(20475),r=a(20107),o=a(61837),n=a(29395),i=a(22250);let l=(0,n.F)("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=r.forwardRef((e,t)=>{let{className:a,variant:r,size:n,asChild:d=!1,...c}=e,u=d?o.DX:"button";return(0,s.jsx)(u,{className:(0,i.cn)(l({variant:r,size:n,className:a})),ref:t,...c})});d.displayName="Button"},86118:(e,t,a)=>{"use strict";a.d(t,{SQ:()=>c,_2:()=>u,lp:()=>m,mB:()=>f,rI:()=>l,ty:()=>d});var s=a(20475),r=a(20107),o=a(77536),n=a(7197),i=a(22250);let l=o.bL,d=o.l9;o.YJ,o.ZL,o.Pb,o.z6,r.forwardRef((e,t)=>{let{className:a,inset:r,children:l,...d}=e;return(0,s.jsxs)(o.ZP,{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",r&&"pl-8",a),...d,children:[l,(0,s.jsx)(n.vKP,{className:"ml-auto h-4 w-4"})]})}).displayName=o.ZP.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.G5,{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),...r})}).displayName=o.G5.displayName;let c=r.forwardRef((e,t)=>{let{className:a,sideOffset:r=4,...n}=e;return(0,s.jsx)(o.ZL,{children:(0,s.jsx)(o.UC,{ref:t,sideOffset:r,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),...n})})});c.displayName=o.UC.displayName;let u=r.forwardRef((e,t)=>{let{className:a,inset:r,...n}=e;return(0,s.jsx)(o.q7,{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",r&&"pl-8",a),...n})});u.displayName=o.q7.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,checked:l,...d}=e;return(0,s.jsxs)(o.H_,{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,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(o.VF,{children:(0,s.jsx)(n.Srz,{className:"h-4 w-4"})})}),r]})}).displayName=o.H_.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,...l}=e;return(0,s.jsxs)(o.hN,{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,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(o.VF,{children:(0,s.jsx)(n.RiX,{className:"h-4 w-4 fill-current"})})}),r]})}).displayName=o.hN.displayName;let m=r.forwardRef((e,t)=>{let{className:a,inset:r,...n}=e;return(0,s.jsx)(o.JU,{ref:t,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",a),...n})});m.displayName=o.JU.displayName;let f=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.wv,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",a),...r})});f.displayName=o.wv.displayName},19546:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(20107),r=a(16118);function o(){let[e,t]=(0,s.useState)(!1),a=(0,r.useRouter)();function o(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}async function n(){localStorage.removeItem("session"),t(!1),fetch("/cgi-bin/quecmanager/logout.sh",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"".concat(localStorage.getItem("authToken"))}}),localStorage.removeItem("authToken"),a.push("/")}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?(n(),!1):(t-e.lastActivity>3e5&&o(e.token),!0)}();return t(e),e}return(0,s.useEffect)(()=>{i()},[]),{isAuthenticated:e,login:async function(e){let s=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(s)}),r=await e.json();if(console.log(r),"success"!==r.state)return!1;{(null==r?void 0:r.token)&&localStorage.setItem("authToken",r.token);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),a.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:n,checkAuth:i}}},46052:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(20107),r=a(19546);let o=()=>{let[e,t]=(0,s.useState)(!0),{logout:a}=(0,r.A)();async function o(){try{let e=await fetch("/cgi-bin/quecmanager/heartbeat.sh",{method:"GET",headers:{"Cache-Control":"no-cache"}});if(!e.ok){n();return}(await e.json()).alive?t(!0):n()}catch(e){n()}}function n(){t(!1),a()}return(0,s.useEffect)(()=>{let e=setInterval(o,5e3);return()=>{clearInterval(e)}},[]),{isServerAlive:e}}},32857:(e,t,a)=>{"use strict";a.d(t,{dj:()=>m,oR:()=>u});var s=a(20107);let r=0,o=new Map,n=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.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?n(a):e.toasts.forEach(e=>{n(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=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||s()}}}),{id:a,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function m(){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})}}},22250:(e,t,a)=>{"use strict";a.d(t,{cn:()=>o});var s=a(64901),r=a(868);function o(){for(var e=arguments.length,t=Array(e),a=0;a{"use strict";a.d(t,{a:()=>s});let s=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var s;let r=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),o=encodeURIComponent(r),n="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(o);t&&(n+="&wait=1&timeout=".concat(a));let i=await fetch(n,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*a+5e3)});if(!i.ok)throw Error("AT command failed with status: ".concat(i.status));let l=await i.json();if(l.error)throw Error("AT queue error: ".concat(l.error));if(t&&(null===(s=l.response)||void 0===s?void 0:s.status)==="timeout")throw Error("AT command timed out after ".concat(a," seconds"));return l}catch(e){throw console.error("AT Command error:",e),e}}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,1258,4687,3746,9464,1318,564,2682,7536,6223,191,6035,7358],()=>t(2930)),_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/layout-f3bbd2d487cdbc3c.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js new file mode 100644 index 0000000..acc24e6 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1954],{2930:(e,t,a)=>{Promise.resolve().then(a.bind(a,63231))},63231:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>P});var s=a(20475),r=a(9477),o=a.n(r),n=a(19546),i=a(20107),l=a(16118);let d=e=>{let{children:t}=e,a=(0,l.useRouter)(),{isAuthenticated:r,checkAuth:o}=(0,n.A)();return((0,i.useEffect)(()=>{o()||a.push("/login")},[]),r)?(0,s.jsx)(s.Fragment,{children:t}):null};var c=a(99015),u=a(26459),m=a(30058),f=a(44381),h=a(42541),x=a(46052),p=a(88926),g=a(86118),b=a(97818),y=a(53538),v=a(76406),j=a(2609),w=a(92159),N=a(60241),S=a(7197),T=a(29395),A=a(22250);let k=N.bL,C=N.l9,E=N.bm,R=N.ZL,_=i.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(N.hJ,{className:(0,A.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});_.displayName=N.hJ.displayName;let I=(0,T.F)("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"}}),z=i.forwardRef((e,t)=>{let{side:a="right",className:r,children:o,...n}=e;return(0,s.jsxs)(R,{children:[(0,s.jsx)(_,{}),(0,s.jsxs)(N.UC,{ref:t,className:(0,A.cn)(I({side:a}),r),...n,children:[(0,s.jsxs)(N.bm,{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,s.jsx)(S.MKb,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]})});z.displayName=N.UC.displayName,i.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(N.hE,{ref:t,className:(0,A.cn)("text-lg font-semibold text-foreground",a),...r})}).displayName=N.hE.displayName,i.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(N.VY,{ref:t,className:(0,A.cn)("text-sm text-muted-foreground",a),...r})}).displayName=N.VY.displayName;var O=a(32857);let P=e=>{let{children:t}=e,a=(0,l.usePathname)(),{logout:r}=(0,n.A)(),{setTheme:N}=(0,w.D)(),[S,T]=(0,i.useState)(!1),[A,R]=(0,i.useState)(!1),[_,I]=(0,i.useState)(!1),[P,D]=(0,i.useState)(null),[L,U]=(0,i.useState)(!1),F=(0,O.dj)(),q="profile_picture_data",V="profile_picture_metadata",J=()=>{try{let e=localStorage.getItem(q);e&&(D(e),U(!0))}catch(e){console.error("Error loading cached image:",e)}},Z=(e,t)=>{try{localStorage.setItem(q,e),localStorage.setItem(V,JSON.stringify(t))}catch(a){if(console.error("Error updating cache:",a),a instanceof Error&&"QuotaExceededError"===a.name){M();try{localStorage.setItem(q,e),localStorage.setItem(V,JSON.stringify(t))}catch(e){console.error("Failed to cache image even after clearing:",e)}}}},M=()=>{try{localStorage.removeItem(q),localStorage.removeItem(V)}catch(e){console.error("Error clearing cache:",e)}},Q=()=>{try{let e=localStorage.getItem(V);return e?JSON.parse(e):null}catch(e){return console.error("Error getting cached metadata:",e),null}},B=async()=>{try{var e;I(!0);let t=await fetch("/cgi-bin/quecmanager/settings/profile_picture.sh"),a=await t.json();if("success"===a.status&&(null===(e=a.data)||void 0===e?void 0:e.exists)){let e={size:a.data.size,modified:a.data.modified,type:a.data.type},t=Q();t&&t.size===e.size&&t.modified===e.modified&&t.type===e.type?U(!0):a.data.data&&(D(a.data.data),U(!0),Z(a.data.data,e))}else D(null),U(!1),M()}catch(e){console.error("Error fetching profile picture:",e),localStorage.getItem(q)||(D(null),U(!1))}finally{I(!1)}};(0,i.useEffect)(()=>{J(),B()},[]),(0,i.useEffect)(()=>{let e=()=>{J(),B()};window.addEventListener("profilePictureUpdated",e),window.addEventListener("profilePictureDeleted",e);let t=e=>{(e.key===q||e.key===V)&&J()};return window.addEventListener("storage",t),()=>{window.removeEventListener("profilePictureUpdated",e),window.removeEventListener("profilePictureDeleted",e),window.removeEventListener("storage",t)}},[]);let{isServerAlive:H}=(0,x.A)();(0,i.useEffect)(()=>{H||r()},[H,r]);let $=async()=>{try{T(!0),await (0,p.a)("AT+QPOWD=1",!0,60),F.toast({title:"Rebooting device",description:"Please wait for the device to restart. This may take up to ".concat(90," seconds."),duration:9e4}),setTimeout(()=>{F.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),F.toast({title:"Failed to reboot device",description:"Please try again.",variant:"destructive"})}finally{T(!1)}},G=async()=>{try{T(!0),await fetch("/cgi-bin/quecmanager/settings/force-reboot.sh"),F.toast({title:"Rebooting device",description:"Please wait for the device to restart. This may take up to ".concat(90," seconds."),duration:9e4}),setTimeout(()=>{F.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),F.toast({title:"Failed to reboot device",description:"Please try again.",variant:"destructive"})}finally{T(!1)}},Y=async()=>{try{R(!0),await (0,p.a)("AT+COPS=2",!0,30),F.toast({title:"Disconnected from network",description:"Reconnecting in 2 seconds..."}),await new Promise(e=>setTimeout(e,2e3)),await (0,p.a)("AT+COPS=0",!0,60),F.toast({title:"Reconnected to network",description:"The device has been reconnected successfully."}),await new Promise(e=>setTimeout(e,3e3)),window.location.reload()}catch(e){console.error("Reconnect error:",e),F.toast({title:"Failed to reconnect to network",description:"Please try again.",variant:"destructive"})}finally{R(!1)}};return(0,s.jsxs)("div",{className:"flex min-h-screen w-full flex-col",children:[(0,s.jsxs)("header",{className:"sticky top-0 flex h-16 items-center gap-4 border-b bg-background px-4 md:px-6",children:[(0,s.jsxs)("nav",{className:"hidden flex-col gap-6 text-lg font-medium lg:flex lg:flex-row lg:items-center lg:gap-5 lg:text-base xl:gap-6",children:[(0,s.jsxs)(o(),{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold md:text-xl md:mr-8",children:[(0,s.jsx)(c.A,{className:"h-6 w-6"}),(0,s.jsx)("h1",{children:"QuecManager"})]}),(0,s.jsx)(o(),{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"}),(0,s.jsx)(o(),{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,s.jsx)(o(),{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,s.jsx)(o(),{href:"/dashboard/custom-features/quecwatch",className:"".concat(a.includes("/dashboard/custom-features/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground whitespace-nowrap"),children:"Custom Features"}),(0,s.jsx)(o(),{href:"/dashboard/experimental/network-insights",className:"".concat(a.includes("/dashboard/experimental/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"})]}),(0,s.jsxs)(k,{children:[(0,s.jsx)(C,{asChild:!0,children:(0,s.jsxs)(h.$,{variant:"outline",size:"icon",className:"shrink-0 lg:hidden",children:[(0,s.jsx)(u.A,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),(0,s.jsx)(z,{side:"left",children:(0,s.jsxs)("nav",{className:"grid gap-6 text-lg font-medium",children:[(0,s.jsx)(E,{asChild:!0,children:(0,s.jsxs)(o(),{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold",children:[(0,s.jsx)(c.A,{className:"h-6 w-6"}),(0,s.jsx)("span",{children:"QuecManager"})]})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{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,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{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,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/custom-features/",className:"".concat("/dashboard/custom-features/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Custom Features"})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/experimental/",className:"".concat("/dashboard/experimental/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"})}),(0,s.jsx)(E,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/settings/personalization",className:"".concat(a.includes("/dashboard/settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Settings"})})]})})]}),(0,s.jsxs)("div",{className:"flex w-full items-center gap-4 md:ml-auto md:gap-2 lg:gap-4",children:[(0,s.jsx)("form",{className:"ml-auto flex-1 sm:flex-initial",children:(0,s.jsxs)(g.rI,{children:[(0,s.jsx)(g.ty,{asChild:!0,children:(0,s.jsxs)(h.$,{variant:"outline",size:"icon",children:[(0,s.jsx)(v.A,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,s.jsx)(j.A,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,s.jsxs)(g.SQ,{align:"end",children:[(0,s.jsx)(g._2,{onClick:()=>N("light"),children:"Light"}),(0,s.jsx)(g._2,{onClick:()=>N("dark"),children:"Dark"}),(0,s.jsx)(g._2,{onClick:()=>N("system"),children:"System"})]})]})}),(0,s.jsxs)(g.rI,{children:[(0,s.jsx)(g.ty,{asChild:!0,children:(0,s.jsxs)(h.$,{variant:"secondary",size:"icon",className:"rounded-full",children:[P?(0,s.jsxs)(y.eu,{children:[(0,s.jsx)(y.BK,{src:P,alt:"Profile Picture"}),(0,s.jsx)(y.q5,{children:(0,s.jsx)(m.A,{className:"h-5 w-5"})})]}):(0,s.jsx)(m.A,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"sr-only",children:"Toggle user menu"})]})}),(0,s.jsxs)(g.SQ,{align:"end",children:[(0,s.jsx)(g.lp,{children:"Options"}),(0,s.jsx)(g.mB,{}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/settings/personalization",children:"Settings"})}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsx)("a",{href:"/cgi-bin/luci",target:"_blank",rel:"noreferrer noopener",children:"Luci"})}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsx)("a",{href:"https://github.com/iamromulan/cellular-modem-wiki/discussions/new/choose",target:"_blank",children:"Support"})}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsx)(o(),{href:"/dashboard/about",children:"About"})}),(0,s.jsx)(g.mB,{}),(0,s.jsx)(g._2,{onClick:Y,children:A?"Reconnecting...":"Reconnect"}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsxs)(b.Lt,{children:[(0,s.jsx)(b.tv,{asChild:!0,children:(0,s.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,s.jsxs)(b.EO,{children:[(0,s.jsxs)(b.wd,{children:[(0,s.jsx)(b.r7,{children:"Are you sure?"}),(0,s.jsx)(b.$v,{children:"This will reboot your device. The connection will be lost temporarily. Please wait for the page to reload."})]}),(0,s.jsxs)(b.ck,{children:[(0,s.jsx)(b.Zr,{children:"Cancel"}),(0,s.jsxs)(b.Rx,{onClick:$,disabled:S,children:[(0,s.jsx)(f.A,{className:"size-4"}),"Reboot Now"]})]})]})]})}),(0,s.jsx)(g._2,{asChild:!0,children:(0,s.jsxs)(b.Lt,{children:[(0,s.jsx)(b.tv,{asChild:!0,children:(0,s.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:"Force Reboot"})}),(0,s.jsxs)(b.EO,{children:[(0,s.jsxs)(b.wd,{children:[(0,s.jsx)(b.r7,{children:"Are you sure?"}),(0,s.jsx)(b.$v,{children:"This will force reboot your device. The connection will be lost temporarily. Please wait for the page to reload."})]}),(0,s.jsxs)(b.ck,{children:[(0,s.jsx)(b.Zr,{children:"Cancel"}),(0,s.jsxs)(b.Rx,{onClick:G,disabled:S,children:[(0,s.jsx)(f.A,{className:"size-4"}),"Force Reboot Now"]})]})]})]})}),(0,s.jsx)(g.mB,{}),(0,s.jsx)(g._2,{onClick:r,children:"Logout"})]})]})]})]}),(0,s.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,s.jsx)(d,{children:t})})]})}},97818:(e,t,a)=>{"use strict";a.d(t,{$v:()=>p,EO:()=>m,Lt:()=>l,Rx:()=>g,Zr:()=>b,ck:()=>h,r7:()=>x,tv:()=>d,wd:()=>f});var s=a(20475),r=a(20107),o=a(50564),n=a(22250),i=a(42541);let l=o.bL,d=o.l9,c=o.ZL,u=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});u.displayName=o.hJ.displayName;let m=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsxs)(c,{children:[(0,s.jsx)(u,{}),(0,s.jsx)(o.UC,{ref:t,className:(0,n.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),...r})]})});m.displayName=o.UC.displayName;let f=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};f.displayName="AlertDialogHeader";let h=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};h.displayName="AlertDialogFooter";let x=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold",a),...r})});x.displayName=o.hE.displayName;let p=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",a),...r})});p.displayName=o.VY.displayName;let g=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.rc,{ref:t,className:(0,n.cn)((0,i.r)(),a),...r})});g.displayName=o.rc.displayName;let b=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.ZD,{ref:t,className:(0,n.cn)((0,i.r)({variant:"outline"}),"mt-2 sm:mt-0",a),...r})});b.displayName=o.ZD.displayName},53538:(e,t,a)=>{"use strict";a.d(t,{BK:()=>l,eu:()=>i,q5:()=>d});var s=a(20475),r=a(20107),o=a(88601),n=a(22250);let i=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.bL,{ref:t,className:(0,n.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...r})});i.displayName=o.bL.displayName;let l=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o._V,{ref:t,className:(0,n.cn)("aspect-square h-full w-full",a),...r})});l.displayName=o._V.displayName;let d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.H4,{ref:t,className:(0,n.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...r})});d.displayName=o.H4.displayName},42541:(e,t,a)=>{"use strict";a.d(t,{$:()=>d,r:()=>l});var s=a(20475),r=a(20107),o=a(61837),n=a(29395),i=a(22250);let l=(0,n.F)("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=r.forwardRef((e,t)=>{let{className:a,variant:r,size:n,asChild:d=!1,...c}=e,u=d?o.DX:"button";return(0,s.jsx)(u,{className:(0,i.cn)(l({variant:r,size:n,className:a})),ref:t,...c})});d.displayName="Button"},86118:(e,t,a)=>{"use strict";a.d(t,{SQ:()=>c,_2:()=>u,lp:()=>m,mB:()=>f,rI:()=>l,ty:()=>d});var s=a(20475),r=a(20107),o=a(77536),n=a(7197),i=a(22250);let l=o.bL,d=o.l9;o.YJ,o.ZL,o.Pb,o.z6,r.forwardRef((e,t)=>{let{className:a,inset:r,children:l,...d}=e;return(0,s.jsxs)(o.ZP,{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",r&&"pl-8",a),...d,children:[l,(0,s.jsx)(n.vKP,{className:"ml-auto h-4 w-4"})]})}).displayName=o.ZP.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.G5,{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),...r})}).displayName=o.G5.displayName;let c=r.forwardRef((e,t)=>{let{className:a,sideOffset:r=4,...n}=e;return(0,s.jsx)(o.ZL,{children:(0,s.jsx)(o.UC,{ref:t,sideOffset:r,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),...n})})});c.displayName=o.UC.displayName;let u=r.forwardRef((e,t)=>{let{className:a,inset:r,...n}=e;return(0,s.jsx)(o.q7,{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",r&&"pl-8",a),...n})});u.displayName=o.q7.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,checked:l,...d}=e;return(0,s.jsxs)(o.H_,{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,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(o.VF,{children:(0,s.jsx)(n.Srz,{className:"h-4 w-4"})})}),r]})}).displayName=o.H_.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,...l}=e;return(0,s.jsxs)(o.hN,{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,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(o.VF,{children:(0,s.jsx)(n.RiX,{className:"h-4 w-4 fill-current"})})}),r]})}).displayName=o.hN.displayName;let m=r.forwardRef((e,t)=>{let{className:a,inset:r,...n}=e;return(0,s.jsx)(o.JU,{ref:t,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",a),...n})});m.displayName=o.JU.displayName;let f=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.wv,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",a),...r})});f.displayName=o.wv.displayName},19546:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(20107),r=a(16118);function o(){let[e,t]=(0,s.useState)(!1),a=(0,r.useRouter)();function o(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}async function n(){localStorage.removeItem("session"),t(!1),fetch("/cgi-bin/quecmanager/logout.sh",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"".concat(localStorage.getItem("authToken"))}}),localStorage.removeItem("authToken"),a.push("/")}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?(n(),!1):(t-e.lastActivity>3e5&&o(e.token),!0)}();return t(e),e}return(0,s.useEffect)(()=>{i()},[]),{isAuthenticated:e,login:async function(e){let s=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(s)}),r=await e.json();if(console.log(r),"success"!==r.state)return!1;{(null==r?void 0:r.token)&&localStorage.setItem("authToken",r.token);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),a.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:n,checkAuth:i}}},46052:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(20107),r=a(19546);let o=()=>{let[e,t]=(0,s.useState)(!0),{logout:a}=(0,r.A)();async function o(){try{let e=await fetch("/cgi-bin/quecmanager/heartbeat.sh",{method:"GET",headers:{"Cache-Control":"no-cache"}});if(!e.ok){n();return}(await e.json()).alive?t(!0):n()}catch(e){n()}}function n(){t(!1),a()}return(0,s.useEffect)(()=>{let e=setInterval(o,5e3);return()=>{clearInterval(e)}},[]),{isServerAlive:e}}},32857:(e,t,a)=>{"use strict";a.d(t,{dj:()=>m,oR:()=>u});var s=a(20107);let r=0,o=new Map,n=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.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?n(a):e.toasts.forEach(e=>{n(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=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||s()}}}),{id:a,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function m(){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})}}},22250:(e,t,a)=>{"use strict";a.d(t,{cn:()=>o});var s=a(64901),r=a(868);function o(){for(var e=arguments.length,t=Array(e),a=0;a{"use strict";a.d(t,{a:()=>s});let s=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;try{var s;let r=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),o=encodeURIComponent(r),n="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(o);t&&(n+="&wait=1&timeout=".concat(a));let i=await fetch(n,{method:"GET",headers:{Accept:"application/json",Authorization:"".concat(localStorage.getItem("authToken"))},signal:AbortSignal.timeout(1e3*a+5e3)});if(!i.ok)throw Error("AT command failed with status: ".concat(i.status));let l=await i.json();if(l.error)throw Error("AT queue error: ".concat(l.error));if(t&&(null===(s=l.response)||void 0===s?void 0:s.status)==="timeout")throw Error("AT command timed out after ".concat(a," seconds"));return l}catch(e){throw console.error("AT Command error:",e),e}}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,8885,3746,9464,9477,241,2682,9873,2670,191,6035,7358],()=>t(2930)),_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/layout-3bcd1d2cd2bb9cb9.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/layout-3bcd1d2cd2bb9cb9.js new file mode 100644 index 0000000..6e66d24 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/layout-3bcd1d2cd2bb9cb9.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5680],{89797:(e,s,t)=>{Promise.resolve().then(t.bind(t,36994))},36994:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>d});var a=t(20475);t(20107);var r=t(16118),n=t(9477),i=t.n(n);let d=e=>{let{children:s}=e,t=(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)(i(),{href:"/dashboard/settings/personalization",className:"".concat("/dashboard/settings/personalization/"===t?"font-semibold text-primary":"text-sm"),children:"Personalization"}),(0,a.jsx)(i(),{href:"/dashboard/settings/security",className:"".concat("/dashboard/settings/security/"===t?"font-semibold text-primary":"text-sm"),children:"Security"})]}),s]})]})}},16118:(e,s,t)=>{"use strict";var a=t(65834);t.o(a,"usePathname")&&t.d(s,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(s,{useRouter:function(){return a.useRouter}})}},e=>{var s=s=>e(e.s=s);e.O(0,[9477,191,6035,7358],()=>s(89797)),_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/layout-d7b60013f28e2b0e.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/layout-d7b60013f28e2b0e.js deleted file mode 100644 index 459224c..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/layout-d7b60013f28e2b0e.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5680],{89797:(s,e,a)=>{Promise.resolve().then(a.bind(a,36994))},36994:(s,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var t=a(20475);a(20107);var r=a(16118),i=a(9477),l=a.n(i);let n=s=>{let{children:e}=s,a=(0,r.usePathname)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,t.jsx)("h1",{className:"text-3xl font-semibold",children:"Settings"})}),(0,t.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,t.jsxs)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:[(0,t.jsx)(l(),{href:"/dashboard/settings/personalization",className:"".concat("/dashboard/settings/personalization/"===a?"font-semibold text-primary":"text-sm"),children:"Personalization"}),(0,t.jsx)(l(),{href:"/dashboard/settings/security",className:"".concat("/dashboard/settings/security/"===a?"font-semibold text-primary":"text-sm"),children:"Security"})]}),e]})]})}}},s=>{var e=e=>s(s.s=e);s.O(0,[1318,191,6035,7358],()=>e(89797)),_N_E=s.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/page-5fad63ba929c0b6b.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/page-d048cb7a26fc96f3.js similarity index 63% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/page-5fad63ba929c0b6b.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/page-d048cb7a26fc96f3.js index c9c95ec..96462b1 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/page-5fad63ba929c0b6b.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/page-d048cb7a26fc96f3.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4631],{71087:(e,r,t)=>{Promise.resolve().then(t.bind(t,16212))},16212:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>c});var s=t(20475),a=t(20107),o=t(72167),n=t(42541),d=t(64219),i=t(32857);let c=()=>{let{toast:e}=(0,i.dj)(),[r,t]=(0,a.useState)(!1),[c,l]=(0,a.useState)({oldPassword:"",newPassword:"",confirmPassword:""}),u=async e=>{try{let r;let t=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"".concat(localStorage.getItem("authToken")||"")},body:"password=".concat(encodeURIComponent(e))});if(!t.ok)throw Error("HTTP error! status: ".concat(t.status));let s=await t.text();try{r=JSON.parse(s)}catch(e){throw console.error("Failed to parse JSON:",s),Error("Invalid response format")}return"success"===r.state}catch(e){return console.error("Password verification failed:",e),!1}},f=async r=>{r.preventDefault(),t(!0);try{let r;if(!c.oldPassword||!c.newPassword||!c.confirmPassword)throw Error("All fields are required");if(c.newPassword!==c.confirmPassword)throw Error("New passwords don't match");if(c.newPassword.length<8)throw Error("New password must be at least 8 characters long");if(!await u(c.oldPassword))throw Error("Current password is incorrect");let t=await fetch("/cgi-bin/quecmanager/settings/change-password.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"".concat(localStorage.getItem("authToken")||"")},body:"oldPassword=".concat(encodeURIComponent(c.oldPassword),"&newPassword=").concat(encodeURIComponent(c.newPassword))});if(!t.ok)throw Error("HTTP error! status: ".concat(t.status));let s=await t.text();try{r=JSON.parse(s)}catch(e){throw console.error("Failed to parse JSON:",s),Error("Invalid response format")}if("success"===r.state)e({title:"Success",description:r.message||"Password changed successfully!"}),l({oldPassword:"",newPassword:"",confirmPassword:""});else throw Error(r.message||"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;l(e=>({...e,[r]:t}))};return(0,s.jsxs)(o.Zp,{children:[(0,s.jsxs)(o.aR,{children:[(0,s.jsx)(o.ZB,{children:"Change Device Password"}),(0,s.jsx)(o.BT,{children:"This changes the password for the web interface and terminal access."})]}),(0,s.jsx)(o.Wu,{children:(0,s.jsxs)("form",{onSubmit:f,className:"space-y-4",children:[(0,s.jsx)(d.p,{placeholder:"Old Password",type:"password",name:"oldPassword",value:c.oldPassword,onChange:p,"aria-label":"Old Password"}),(0,s.jsx)(d.p,{placeholder:"New Password",type:"password",name:"newPassword",value:c.newPassword,onChange:p,"aria-label":"New Password"}),(0,s.jsx)(d.p,{placeholder:"Confirm New Password",type:"password",name:"confirmPassword",value:c.confirmPassword,onChange:p,"aria-label":"Confirm New Password"})]})}),(0,s.jsx)(o.wL,{className:"border-t px-6 py-4",children:(0,s.jsx)(n.$,{type:"submit",onClick:e=>f(e),disabled:r,children:r?"Saving...":"Save"})})]})}},42541:(e,r,t)=>{"use strict";t.d(r,{$:()=>c,r:()=>i});var s=t(20475),a=t(20107),o=t(61837),n=t(29395),d=t(22250);let i=(0,n.F)("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=a.forwardRef((e,r)=>{let{className:t,variant:a,size:n,asChild:c=!1,...l}=e,u=c?o.DX:"button";return(0,s.jsx)(u,{className:(0,d.cn)(i({variant:a,size:n,className:t})),ref:r,...l})});c.displayName="Button"},72167:(e,r,t)=>{"use strict";t.d(r,{BT:()=>c,Wu:()=>l,ZB:()=>i,Zp:()=>n,aR:()=>d,wL:()=>u});var s=t(20475),a=t(20107),o=t(22250);let n=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...a})});n.displayName="Card";let d=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",t),...a})});d.displayName="CardHeader";let i=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("h3",{ref:r,className:(0,o.cn)("font-semibold leading-none tracking-tight",t),...a})});i.displayName="CardTitle";let c=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("p",{ref:r,className:(0,o.cn)("text-sm text-muted-foreground",t),...a})});c.displayName="CardDescription";let l=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("p-6 pt-0",t),...a})});l.displayName="CardContent";let u=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("flex items-center p-6 pt-0",t),...a})});u.displayName="CardFooter"},64219:(e,r,t)=>{"use strict";t.d(r,{p:()=>n});var s=t(20475),a=t(20107),o=t(22250);let n=a.forwardRef((e,r)=>{let{className:t,type:a,...n}=e;return(0,s.jsx)("input",{type:a,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,...n})});n.displayName="Input"},32857:(e,r,t)=>{"use strict";t.d(r,{dj:()=>f,oR:()=>u});var s=t(20107);let a=0,o=new Map,n=e=>{if(o.has(e))return;let r=setTimeout(()=>{o.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,r)},d=(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?n(t):e.toasts.forEach(e=>{n(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)}}},i=[],c={toasts:[]};function l(e){c=d(c,e),i.forEach(e=>{e(c)})}function u(e){let{...r}=e,t=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>l({type:"DISMISS_TOAST",toastId:t});return l({type:"ADD_TOAST",toast:{...r,id:t,open:!0,onOpenChange:e=>{e||s()}}}),{id:t,dismiss:s,update:e=>l({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function f(){let[e,r]=s.useState(c);return s.useEffect(()=>(i.push(r),()=>{let e=i.indexOf(r);e>-1&&i.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,r,t)=>{"use strict";t.d(r,{cn:()=>o});var s=t(64901),a=t(868);function o(){for(var e=arguments.length,r=Array(e),t=0;t{var r=r=>e(e.s=r);e.O(0,[1258,191,6035,7358],()=>r(71087)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4631],{71087:(e,r,t)=>{Promise.resolve().then(t.bind(t,16212))},16212:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>l});var s=t(20475),a=t(20107),o=t(72167),n=t(42541),d=t(64219),i=t(32857);let l=()=>{let{toast:e}=(0,i.dj)(),[r,t]=(0,a.useState)(!1),[l,c]=(0,a.useState)({oldPassword:"",newPassword:"",confirmPassword:""}),u=async e=>{try{let r;let t=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"".concat(localStorage.getItem("authToken")||"")},body:"password=".concat(encodeURIComponent(e))});if(!t.ok)throw Error("HTTP error! status: ".concat(t.status));let s=await t.text();try{r=JSON.parse(s)}catch(e){throw console.error("Failed to parse JSON:",s),Error("Invalid response format")}return"success"===r.state}catch(e){return console.error("Password verification failed:",e),!1}},f=async r=>{r.preventDefault(),t(!0);try{let r;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 t=await fetch("/cgi-bin/quecmanager/settings/change-password.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"".concat(localStorage.getItem("authToken")||"")},body:"oldPassword=".concat(encodeURIComponent(l.oldPassword),"&newPassword=").concat(encodeURIComponent(l.newPassword))});if(!t.ok)throw Error("HTTP error! status: ".concat(t.status));let s=await t.text();try{r=JSON.parse(s)}catch(e){throw console.error("Failed to parse JSON:",s),Error("Invalid response format")}if("success"===r.state)e({title:"Success",description:r.message||"Password changed successfully!"}),c({oldPassword:"",newPassword:"",confirmPassword:""});else throw Error(r.message||"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.Zp,{children:[(0,s.jsxs)(o.aR,{children:[(0,s.jsx)(o.ZB,{children:"Change Device Password"}),(0,s.jsx)(o.BT,{children:"This changes the password for the web interface and terminal access."})]}),(0,s.jsx)(o.Wu,{children:(0,s.jsxs)("form",{onSubmit:f,className:"space-y-4",children:[(0,s.jsx)(d.p,{placeholder:"Old Password",type:"password",name:"oldPassword",value:l.oldPassword,onChange:p,"aria-label":"Old Password"}),(0,s.jsx)(d.p,{placeholder:"New Password",type:"password",name:"newPassword",value:l.newPassword,onChange:p,"aria-label":"New Password"}),(0,s.jsx)(d.p,{placeholder:"Confirm New Password",type:"password",name:"confirmPassword",value:l.confirmPassword,onChange:p,"aria-label":"Confirm New Password"})]})}),(0,s.jsx)(o.wL,{className:"border-t px-6 py-4",children:(0,s.jsx)(n.$,{type:"submit",onClick:e=>f(e),disabled:r,children:r?"Saving...":"Save"})})]})}},42541:(e,r,t)=>{"use strict";t.d(r,{$:()=>l,r:()=>i});var s=t(20475),a=t(20107),o=t(61837),n=t(29395),d=t(22250);let i=(0,n.F)("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=a.forwardRef((e,r)=>{let{className:t,variant:a,size:n,asChild:l=!1,...c}=e,u=l?o.DX:"button";return(0,s.jsx)(u,{className:(0,d.cn)(i({variant:a,size:n,className:t})),ref:r,...c})});l.displayName="Button"},72167:(e,r,t)=>{"use strict";t.d(r,{BT:()=>l,Wu:()=>c,ZB:()=>i,Zp:()=>n,aR:()=>d,wL:()=>u});var s=t(20475),a=t(20107),o=t(22250);let n=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...a})});n.displayName="Card";let d=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",t),...a})});d.displayName="CardHeader";let i=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("h3",{ref:r,className:(0,o.cn)("font-semibold leading-none tracking-tight",t),...a})});i.displayName="CardTitle";let l=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("p",{ref:r,className:(0,o.cn)("text-sm text-muted-foreground",t),...a})});l.displayName="CardDescription";let c=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("p-6 pt-0",t),...a})});c.displayName="CardContent";let u=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("flex items-center p-6 pt-0",t),...a})});u.displayName="CardFooter"},64219:(e,r,t)=>{"use strict";t.d(r,{p:()=>n});var s=t(20475),a=t(20107),o=t(22250);let n=a.forwardRef((e,r)=>{let{className:t,type:a,...n}=e;return(0,s.jsx)("input",{type:a,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,...n})});n.displayName="Input"},32857:(e,r,t)=>{"use strict";t.d(r,{dj:()=>f,oR:()=>u});var s=t(20107);let a=0,o=new Map,n=e=>{if(o.has(e))return;let r=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,r)},d=(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?n(t):e.toasts.forEach(e=>{n(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)}}},i=[],l={toasts:[]};function c(e){l=d(l,e),i.forEach(e=>{e(l)})}function u(e){let{...r}=e,t=(a=(a+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(()=>(i.push(r),()=>{let e=i.indexOf(r);e>-1&&i.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,r,t)=>{"use strict";t.d(r,{cn:()=>o});var s=t(64901),a=t(868);function o(){for(var e=arguments.length,r=Array(e),t=0;t{"use strict";t.d(r,{F:()=>o});let s=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,a=function(){for(var e,r,t=0,s="";tt=>{var o;if((null==r?void 0:r.variants)==null)return a(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:n,defaultVariants:d}=r,i=Object.keys(n).map(e=>{let r=null==t?void 0:t[e],a=null==d?void 0:d[e];if(null===r)return null;let o=s(r)||s(a);return n[e][o]}),l=t&&Object.entries(t).reduce((e,r)=>{let[t,s]=r;return void 0===s||(e[t]=s),e},{});return a(e,i,null==r?void 0:null===(o=r.compoundVariants)||void 0===o?void 0:o.reduce((e,r)=>{let{class:t,className:s,...a}=r;return Object.entries(a).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...d,...l}[r]):({...d,...l})[r]===t})?[...e,t,s]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}}},e=>{var r=r=>e(e.s=r);e.O(0,[7780,191,6035,7358],()=>r(71087)),_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/personalization/page-a53f752dd1428d2a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/personalization/page-a53f752dd1428d2a.js deleted file mode 100644 index 35822e2..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/personalization/page-a53f752dd1428d2a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2824],{18508:(e,t,a)=>{Promise.resolve().then(a.bind(a,39898))},39898:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>w});var r=a(20475),s=a(20107),i=a(72167),n=a(35601),l=a(42541),o=a(64219),d=a(49153),c=a(53538),u=a(32857),m=a(66715),f=a(23615),p=a(59166),g=a(42841),h=a(51873),x=a(37369),v=a(76554),y=a(36760);let w=()=>{let{toast:e}=(0,u.dj)(),[t,a]=(0,s.useState)(!1),[w,b]=(0,s.useState)(!1),[j,N]=(0,s.useState)(!1),[E,S]=(0,s.useState)(null),[T,P]=(0,s.useState)(!1),[R,_]=(0,s.useState)("km"),[F,k]=(0,s.useState)(!1),[C,I]=(0,s.useState)(!0),[A,D]=(0,s.useState)(!0),[U,O]=(0,s.useState)(!1),z=(0,s.useRef)(null),q="profile_picture_data",M="profile_picture_metadata";(0,s.useEffect)(()=>{J(),G(),Q(),et()},[]);let J=()=>{try{let e=localStorage.getItem(q);e&&(S(e),P(!0))}catch(e){console.error("Error loading cached image:",e)}},B=(e,t)=>{try{localStorage.setItem(q,e),localStorage.setItem(M,JSON.stringify(t))}catch(a){if(console.error("Error updating cache:",a),a instanceof Error&&"QuotaExceededError"===a.name){L();try{localStorage.setItem(q,e),localStorage.setItem(M,JSON.stringify(t))}catch(e){console.error("Failed to cache image even after clearing:",e)}}}},L=()=>{try{localStorage.removeItem(q),localStorage.removeItem(M)}catch(e){console.error("Error clearing cache:",e)}},V=()=>{try{let e=localStorage.getItem(M);return e?JSON.parse(e):null}catch(e){return console.error("Error getting cached metadata:",e),null}},G=async()=>{try{var e;a(!0);let t=await fetch("/cgi-bin/quecmanager/settings/profile_picture.sh"),r=await t.json();if("success"===r.status&&(null===(e=r.data)||void 0===e?void 0:e.exists)){let e={size:r.data.size,modified:r.data.modified,type:r.data.type},t=V();t&&t.size===e.size&&t.modified===e.modified&&t.type===e.type?P(!0):r.data.data&&(S(r.data.data),P(!0),B(r.data.data,e))}else S(null),P(!1),L()}catch(e){console.error("Error fetching profile picture:",e),localStorage.getItem(q)||(S(null),P(!1))}finally{a(!1)}},W=e=>{if(!["image/jpeg","image/jpg","image/png","image/gif","image/webp","image/pjpeg","image/x-png"].includes(e.type)){let t=e.name.toLowerCase();if(![".jpg",".jpeg",".png",".gif",".webp"].some(e=>t.endsWith(e)))return{valid:!1,error:"Invalid file type: ".concat(e.type,". Please select a JPEG, PNG, GIF, or WebP image.")}}return e.size>3145728?{valid:!1,error:"File too large. Please select an image smaller than 3MB."}:e.size<1024?{valid:!1,error:"File too small. Please select a valid image file (minimum 1KB)."}:{valid:!0}},$=e=>new Promise(t=>{let a=new FileReader;a.onload=e=>{var a;let r=null===(a=e.target)||void 0===a?void 0:a.result;if(!r){t({valid:!1,error:"Could not read file content"});return}let s=new Uint8Array(r);if(s.length<4){t({valid:!1,error:"File too small to be a valid image"});return}if(255===s[0]&&216===s[1]||s.length>=8&&137===s[0]&&80===s[1]&&78===s[2]&&71===s[3]||s.length>=6&&71===s[0]&&73===s[1]&&70===s[2]&&56===s[3]){t({valid:!0});return}if(s.length>=12){let e=82===s[0]&&73===s[1]&&70===s[2]&&70===s[3],a=87===s[8]&&69===s[9]&&66===s[10]&&80===s[11];if(e&&a){t({valid:!0});return}}t({valid:!1,error:"File does not appear to be a valid image format"})},a.onerror=()=>{t({valid:!1,error:"Error reading file content"})},a.readAsArrayBuffer(e.slice(0,16))}),K=async t=>{var a;let r=null===(a=t.target.files)||void 0===a?void 0:a[0];if(!r)return;let s=W(r);if(!s.valid){e({title:"Invalid File",description:s.error,variant:"destructive"});return}let i=await $(r);if(!i.valid){e({title:"Invalid Image File",description:i.error||"The selected file does not appear to be a valid image.",variant:"destructive"});return}Z(r)},Z=async t=>{b(!0);try{let a=await fetch("/cgi-bin/quecmanager/settings/profile_picture.sh",{method:"POST",body:t});if(!a.ok)throw Error("HTTP error! status: ".concat(a.status));let r=await a.json();if("success"===r.status)e({title:"Profile Picture Updated",description:"Your profile picture has been updated successfully."}),await G(),window.dispatchEvent(new CustomEvent("profilePictureUpdated"));else throw Error(r.message||"Failed to upload profile picture")}catch(t){console.error("Error uploading profile picture:",t),e({title:"Upload Failed",description:t instanceof Error?t.message:"Failed to upload profile picture.",variant:"destructive"})}finally{b(!1),z.current&&(z.current.value="")}},H=async()=>{N(!0);try{let t=await fetch("/cgi-bin/quecmanager/settings/profile_picture.sh",{method:"DELETE"}),a=await t.json();if("success"===a.status)e({title:"Profile Picture Deleted",description:"Your profile picture has been removed successfully."}),S(null),P(!1),L(),window.dispatchEvent(new CustomEvent("profilePictureDeleted"));else throw Error(a.message||"Failed to delete profile picture")}catch(t){console.error("Error deleting profile picture:",t),e({title:"Delete Failed",description:t instanceof Error?t.message:"Failed to delete profile picture.",variant:"destructive"})}finally{N(!1)}},Y=()=>{var e;null===(e=z.current)||void 0===e||e.click()},Q=async()=>{try{k(!0);let e=await fetch("/cgi-bin/quecmanager/settings/measurement_units.sh"),t=await e.json();"success"===t.status&&t.data&&(_(t.data.unit),I(t.data.isDefault))}catch(t){console.error("Error fetching measurement unit:",t),e({title:"Error",description:"Failed to load measurement unit preferences.",variant:"destructive"})}finally{k(!1)}},X=async t=>{try{k(!0);let a=await fetch("/cgi-bin/quecmanager/settings/measurement_units.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({unit:t})}),r=await a.json();if("success"===r.status)_(t),I(!1),e({title:"Preference Updated",description:"Measurement unit set to ".concat("km"===t?"kilometers":"miles",".")});else throw Error(r.message||"Failed to update measurement unit")}catch(t){console.error("Error updating measurement unit:",t),e({title:"Update Failed",description:t instanceof Error?t.message:"Unknown error",variant:"destructive"})}finally{k(!1)}},ee=async()=>{try{k(!0);let t=await fetch("/cgi-bin/quecmanager/settings/measurement_units.sh",{method:"DELETE"}),a=await t.json();if("success"===a.status&&a.data)_(a.data.unit),I(!0),e({title:"Preference Reset",description:"Measurement unit reset to system default (".concat("km"===a.data.unit?"kilometers":"miles",").")});else throw Error(a.message||"Failed to reset measurement unit")}catch(t){console.error("Error resetting measurement unit:",t),e({title:"Reset Failed",description:t instanceof Error?t.message:"Unknown error",variant:"destructive"})}finally{k(!1)}},et=async()=>{try{O(!0);let e=await fetch("/cgi-bin/quecmanager/settings/ping_settings.sh"),t=await e.json();"success"===t.status&&t.data&&D(t.data.enabled)}catch(t){console.error("Error fetching ping settings:",t),e({title:"Error",description:"Failed to load ping settings.",variant:"destructive"})}finally{O(!1)}},ea=async t=>{try{O(!0);let a=await fetch("/cgi-bin/quecmanager/settings/ping_settings.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:t})}),r=await a.json();if("success"===r.status)D(t),e({title:"Ping Settings Updated",description:"Ping functionality ".concat(t?"enabled":"disabled",".")}),window.dispatchEvent(new CustomEvent("pingSettingsUpdated"));else throw Error(r.message||"Failed to update ping settings")}catch(t){console.error("Error updating ping settings:",t),e({title:"Update Failed",description:t instanceof Error?t.message:"Unknown error",variant:"destructive"})}finally{O(!1)}},er=async()=>{try{O(!0);let t=await fetch("/cgi-bin/quecmanager/settings/ping_settings.sh",{method:"DELETE"}),a=await t.json();if("success"===a.status&&a.data)D(a.data.enabled),e({title:"Ping Settings Reset",description:"Ping settings reset to system default (".concat(a.data.enabled?"enabled":"disabled",").")}),window.dispatchEvent(new CustomEvent("pingSettingsUpdated"));else throw Error(a.message||"Failed to reset ping settings")}catch(t){console.error("Error resetting ping settings:",t),e({title:"Reset Failed",description:t instanceof Error?t.message:"Unknown error",variant:"destructive"})}finally{O(!1)}};return(0,r.jsxs)(i.Zp,{children:[(0,r.jsxs)(i.aR,{children:[(0,r.jsx)(i.ZB,{children:"Personalization Settings"}),(0,r.jsx)(i.BT,{children:"Customize your profile and preferences."})]}),(0,r.jsx)(i.Wu,{children:(0,r.jsxs)("div",{className:"grid gap-6",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,r.jsx)("div",{className:"grid gap-6"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(c.eu,{className:"lg:h-48 lg:w-48 h-32 w-32 border-4 border-dashed border-gray-300 hover:border-gray-400 transition-colors",children:E?(0,r.jsx)(c.BK,{src:E,alt:"Profile Picture"}):(0,r.jsx)(c.q5,{className:"bg-gray-100",children:(0,r.jsx)(m.A,{className:"h-12 w-12 text-gray-400"})})}),(0,r.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black bg-opacity-50 rounded-full opacity-0 hover:opacity-100 transition-opacity cursor-pointer",onClick:Y,children:(0,r.jsx)(f.A,{className:"h-8 w-8 text-white"})})]}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm italic",children:"Supported formats: JPEG, PNG, GIF, WebP (max 3MB)."}),(0,r.jsxs)("div",{className:"flex space-x-2",children:[(0,r.jsxs)(l.$,{variant:"outline",size:"sm",onClick:Y,disabled:w||t||j,children:[w?(0,r.jsx)(p.A,{className:"h-4 w-4 animate-spin"}):(0,r.jsx)(g.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:w?"Uploading...":"Upload"})]}),T&&(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(l.$,{variant:"destructive",size:"sm",onClick:H,disabled:t||j||w||!T,children:[j?(0,r.jsx)(p.A,{className:"h-4 w-4 animate-spin"}):(0,r.jsx)(h.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:j?"Deleting...":"Delete"})]})})]}),(0,r.jsx)(o.p,{ref:z,type:"file",accept:"image/jpeg,image/jpg,image/png,image/gif,image/webp",onChange:K,className:"hidden"})]}),(0,r.jsx)(v.w,{className:"w-full my-2"}),(0,r.jsxs)("div",{className:"grid gap-6",children:[(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(d.J,{htmlFor:"MeasurementUnits",children:"Distance Measurement Unit"}),F?(0,r.jsx)(y.E,{className:"h-8"}):(0,r.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,r.jsxs)(n.l6,{disabled:F,value:R,onValueChange:e=>X(e),children:[(0,r.jsx)(n.bq,{className:"w-full",children:(0,r.jsx)(n.yv,{children:"km"===R?"Kilometers (km)":"Miles (mi)"})}),(0,r.jsx)(n.gC,{children:(0,r.jsxs)(n.s3,{children:[(0,r.jsx)(n.TR,{children:"Distance Unit"}),(0,r.jsx)(n.eb,{value:"km",children:"Kilometers (km)"}),(0,r.jsx)(n.eb,{value:"mi",children:"Miles (mi)"})]})})]}),(0,r.jsx)(l.$,{variant:"outline",size:"icon",disabled:F||C,onClick:ee,children:(0,r.jsx)(x.A,{className:"h-4 w-4"})})]}),C?(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"This is the default unit based on your system settings."}):(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:"This is a custom unit setting."})]}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(d.J,{htmlFor:"PingSettings",children:"Network Latency Testing"}),U?(0,r.jsx)(y.E,{className:"h-8"}):(0,r.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,r.jsxs)(n.l6,{disabled:U,value:A?"enabled":"disabled",onValueChange:e=>ea("enabled"===e),children:[(0,r.jsx)(n.bq,{className:"w-full",children:(0,r.jsx)(n.yv,{children:A?"Enabled":"Disabled"})}),(0,r.jsx)(n.gC,{children:(0,r.jsxs)(n.s3,{children:[(0,r.jsx)(n.TR,{children:"Latency Testing"}),(0,r.jsx)(n.eb,{value:"enabled",children:"Enable latency testing"}),(0,r.jsx)(n.eb,{value:"disabled",children:"Disable latency testing"})]})})]}),(0,r.jsx)(l.$,{variant:"outline",size:"icon",disabled:U,onClick:er,children:(0,r.jsx)(x.A,{className:"h-4 w-4"})})]})]})]})]})})]})}},53538:(e,t,a)=>{"use strict";a.d(t,{BK:()=>o,eu:()=>l,q5:()=>d});var r=a(20475),s=a(20107),i=a(88601),n=a(22250);let l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.bL,{ref:t,className:(0,n.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...s})});l.displayName=i.bL.displayName;let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i._V,{ref:t,className:(0,n.cn)("aspect-square h-full w-full",a),...s})});o.displayName=i._V.displayName;let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.H4,{ref:t,className:(0,n.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...s})});d.displayName=i.H4.displayName},42541:(e,t,a)=>{"use strict";a.d(t,{$:()=>d,r:()=>o});var r=a(20475),s=a(20107),i=a(61837),n=a(29395),l=a(22250);let o=(0,n.F)("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:n,asChild:d=!1,...c}=e,u=d?i.DX:"button";return(0,r.jsx)(u,{className:(0,l.cn)(o({variant:s,size:n,className:a})),ref:t,...c})});d.displayName="Button"},72167:(e,t,a)=>{"use strict";a.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>n,aR:()=>l,wL:()=>u});var r=a(20475),s=a(20107),i=a(22250);let n=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",a),...s})});n.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",a),...s})});l.displayName="CardHeader";let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("h3",{ref:t,className:(0,i.cn)("font-semibold leading-none tracking-tight",a),...s})});o.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",a),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",a),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",a),...s})});u.displayName="CardFooter"},64219:(e,t,a)=>{"use strict";a.d(t,{p:()=>n});var r=a(20475),s=a(20107),i=a(22250);let n=s.forwardRef((e,t)=>{let{className:a,type:s,...n}=e;return(0,r.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",a),ref:t,...n})});n.displayName="Input"},49153:(e,t,a)=>{"use strict";a.d(t,{J:()=>d});var r=a(20475),s=a(20107),i=a(21840),n=a(29395),l=a(22250);let o=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.b,{ref:t,className:(0,l.cn)(o(),a),...s})});d.displayName=i.b.displayName},35601:(e,t,a)=>{"use strict";a.d(t,{TR:()=>g,bq:()=>u,eb:()=>h,gC:()=>p,l6:()=>o,s3:()=>d,yv:()=>c});var r=a(20475),s=a(20107),i=a(7197),n=a(95257),l=a(22250);let o=n.bL,d=n.YJ,c=n.WT,u=s.forwardRef((e,t)=>{let{className:a,children:s,...o}=e;return(0,r.jsxs)(n.l9,{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",a),...o,children:[s,(0,r.jsx)(n.In,{asChild:!0,children:(0,r.jsx)(i.TBE,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=n.l9.displayName;let m=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.PP,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",a),...s,children:(0,r.jsx)(i.Mtm,{})})});m.displayName=n.PP.displayName;let f=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.wn,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",a),...s,children:(0,r.jsx)(i.D3D,{})})});f.displayName=n.wn.displayName;let p=s.forwardRef((e,t)=>{let{className:a,children:s,position:i="popper",...o}=e;return(0,r.jsx)(n.ZL,{children:(0,r.jsxs)(n.UC,{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"===i&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:i,...o,children:[(0,r.jsx)(m,{}),(0,r.jsx)(n.LM,{className:(0,l.cn)("p-1","popper"===i&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s}),(0,r.jsx)(f,{})]})})});p.displayName=n.UC.displayName;let g=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.JU,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",a),...s})});g.displayName=n.JU.displayName;let h=s.forwardRef((e,t)=>{let{className:a,children:s,...o}=e;return(0,r.jsxs)(n.q7,{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",a),...o,children:[(0,r.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(n.VF,{children:(0,r.jsx)(i.Srz,{className:"h-4 w-4"})})}),(0,r.jsx)(n.p4,{children:s})]})});h.displayName=n.q7.displayName,s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.wv,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",a),...s})}).displayName=n.wv.displayName},76554:(e,t,a)=>{"use strict";a.d(t,{w:()=>l});var r=a(20475),s=a(20107),i=a(88853),n=a(22250);let l=s.forwardRef((e,t)=>{let{className:a,orientation:s="horizontal",decorative:l=!0,...o}=e;return(0,r.jsx)(i.b,{ref:t,decorative:l,orientation:s,className:(0,n.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",a),...o})});l.displayName=i.b.displayName},36760:(e,t,a)=>{"use strict";a.d(t,{E:()=>i});var r=a(20475),s=a(22250);function i(e){let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-primary/10",t),...a})}},32857:(e,t,a)=>{"use strict";a.d(t,{dj:()=>m,oR:()=>u});var r=a(20107);let s=0,i=new Map,n=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);i.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:a}=t;return a?n(a):e.toasts.forEach(e=>{n(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)}}},o=[],d={toasts:[]};function c(e){d=l(d,e),o.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 m(){let[e,t]=r.useState(d);return r.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,a)=>{"use strict";a.d(t,{cn:()=>i});var r=a(64901),s=a(868);function i(){for(var e=arguments.length,t=Array(e),a=0;a{var t=t=>e(e.s=t);e.O(0,[9980,1258,4687,3746,9464,3494,940,191,6035,7358],()=>t(18508)),_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/personalization/page-ab9fa733339f0739.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/personalization/page-ab9fa733339f0739.js new file mode 100644 index 0000000..f154f0b --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/personalization/page-ab9fa733339f0739.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2824],{18508:(e,t,s)=>{Promise.resolve().then(s.bind(s,39898))},39898:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>j});var a=s(20475),r=s(20107),i=s(72167),n=s(35601),l=s(42541),o=s(64219),d=s(49153),c=s(53538),m=s(32857),u=s(66715),p=s(23615),f=s(59166),g=s(42841),h=s(51873),x=s(37369),v=s(76554),y=s(36760);let j=()=>{let{toast:e}=(0,m.dj)(),[t,s]=(0,r.useState)(!1),[j,b]=(0,r.useState)(!1),[w,N]=(0,r.useState)(!1),[E,S]=(0,r.useState)(null),[T,C]=(0,r.useState)(!1),[R,P]=(0,r.useState)("km"),[F,k]=(0,r.useState)(!1),[_,U]=(0,r.useState)(!0),[A,I]=(0,r.useState)(!0),[D,M]=(0,r.useState)(5),[O,z]=(0,r.useState)(!1),[q,J]=(0,r.useState)(!0),[L,B]=(0,r.useState)(1),[V,$]=(0,r.useState)(!1),[G,W]=(0,r.useState)(!0),K=(0,r.useRef)(null),Z="profile_picture_data",H="profile_picture_metadata";(0,r.useEffect)(()=>{Y(),et(),eo(),em(),ef()},[]);let Y=()=>{try{let e=localStorage.getItem(Z);e&&(S(e),C(!0))}catch(e){console.error("Error loading cached image:",e)}},Q=(e,t)=>{try{localStorage.setItem(Z,e),localStorage.setItem(H,JSON.stringify(t))}catch(s){if(console.error("Error updating cache:",s),s instanceof Error&&"QuotaExceededError"===s.name){X();try{localStorage.setItem(Z,e),localStorage.setItem(H,JSON.stringify(t))}catch(e){console.error("Failed to cache image even after clearing:",e)}}}},X=()=>{try{localStorage.removeItem(Z),localStorage.removeItem(H)}catch(e){console.error("Error clearing cache:",e)}},ee=()=>{try{let e=localStorage.getItem(H);return e?JSON.parse(e):null}catch(e){return console.error("Error getting cached metadata:",e),null}},et=async()=>{try{var e;s(!0);let t=await fetch("/cgi-bin/quecmanager/settings/profile_picture.sh"),a=await t.json();if("success"===a.status&&(null===(e=a.data)||void 0===e?void 0:e.exists)){let e={size:a.data.size,modified:a.data.modified,type:a.data.type},t=ee();t&&t.size===e.size&&t.modified===e.modified&&t.type===e.type?C(!0):a.data.data&&(S(a.data.data),C(!0),Q(a.data.data,e))}else S(null),C(!1),X()}catch(e){console.error("Error fetching profile picture:",e),localStorage.getItem(Z)||(S(null),C(!1))}finally{s(!1)}},es=e=>{if(!["image/jpeg","image/jpg","image/png","image/gif","image/webp","image/pjpeg","image/x-png"].includes(e.type)){let t=e.name.toLowerCase();if(![".jpg",".jpeg",".png",".gif",".webp"].some(e=>t.endsWith(e)))return{valid:!1,error:"Invalid file type: ".concat(e.type,". Please select a JPEG, PNG, GIF, or WebP image.")}}return e.size>3145728?{valid:!1,error:"File too large. Please select an image smaller than 3MB."}:e.size<1024?{valid:!1,error:"File too small. Please select a valid image file (minimum 1KB)."}:{valid:!0}},ea=e=>new Promise(t=>{let s=new FileReader;s.onload=e=>{var s;let a=null===(s=e.target)||void 0===s?void 0:s.result;if(!a){t({valid:!1,error:"Could not read file content"});return}let r=new Uint8Array(a);if(r.length<4){t({valid:!1,error:"File too small to be a valid image"});return}if(255===r[0]&&216===r[1]||r.length>=8&&137===r[0]&&80===r[1]&&78===r[2]&&71===r[3]||r.length>=6&&71===r[0]&&73===r[1]&&70===r[2]&&56===r[3]){t({valid:!0});return}if(r.length>=12){let e=82===r[0]&&73===r[1]&&70===r[2]&&70===r[3],s=87===r[8]&&69===r[9]&&66===r[10]&&80===r[11];if(e&&s){t({valid:!0});return}}t({valid:!1,error:"File does not appear to be a valid image format"})},s.onerror=()=>{t({valid:!1,error:"Error reading file content"})},s.readAsArrayBuffer(e.slice(0,16))}),er=async t=>{var s;let a=null===(s=t.target.files)||void 0===s?void 0:s[0];if(!a)return;let r=es(a);if(!r.valid){e({title:"Invalid File",description:r.error,variant:"destructive"});return}let i=await ea(a);if(!i.valid){e({title:"Invalid Image File",description:i.error||"The selected file does not appear to be a valid image.",variant:"destructive"});return}ei(a)},ei=async t=>{b(!0);try{let s=await fetch("/cgi-bin/quecmanager/settings/profile_picture.sh",{method:"POST",body:t});if(!s.ok)throw Error("HTTP error! status: ".concat(s.status));let a=await s.json();if("success"===a.status)e({title:"Profile Picture Updated",description:"Your profile picture has been updated successfully."}),await et(),window.dispatchEvent(new CustomEvent("profilePictureUpdated"));else throw Error(a.message||"Failed to upload profile picture")}catch(t){console.error("Error uploading profile picture:",t),e({title:"Upload Failed",description:t instanceof Error?t.message:"Failed to upload profile picture.",variant:"destructive"})}finally{b(!1),K.current&&(K.current.value="")}},en=async()=>{N(!0);try{let t=await fetch("/cgi-bin/quecmanager/settings/profile_picture.sh",{method:"DELETE"}),s=await t.json();if("success"===s.status)e({title:"Profile Picture Deleted",description:"Your profile picture has been removed successfully."}),S(null),C(!1),X(),window.dispatchEvent(new CustomEvent("profilePictureDeleted"));else throw Error(s.message||"Failed to delete profile picture")}catch(t){console.error("Error deleting profile picture:",t),e({title:"Delete Failed",description:t instanceof Error?t.message:"Failed to delete profile picture.",variant:"destructive"})}finally{N(!1)}},el=()=>{var e;null===(e=K.current)||void 0===e||e.click()},eo=async()=>{try{k(!0);let e=await fetch("/cgi-bin/quecmanager/settings/measurement_units.sh"),t=await e.json();"success"===t.status&&t.data&&(P(t.data.unit),U(t.data.isDefault))}catch(t){console.error("Error fetching measurement unit:",t),e({title:"Error",description:"Failed to load measurement unit preferences.",variant:"destructive"})}finally{k(!1)}},ed=async t=>{try{k(!0);let s=await fetch("/cgi-bin/quecmanager/settings/measurement_units.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({unit:t})}),a=await s.json();if("success"===a.status)P(t),U(!1),e({title:"Preference Updated",description:"Measurement unit set to ".concat("km"===t?"kilometers":"miles",".")});else throw Error(a.message||"Failed to update measurement unit")}catch(t){console.error("Error updating measurement unit:",t),e({title:"Update Failed",description:t instanceof Error?t.message:"Unknown error",variant:"destructive"})}finally{k(!1)}},ec=async()=>{try{k(!0);let t=await fetch("/cgi-bin/quecmanager/settings/measurement_units.sh",{method:"DELETE"}),s=await t.json();if("success"===s.status&&s.data)P(s.data.unit),U(!0),e({title:"Preference Reset",description:"Measurement unit reset to system default (".concat("km"===s.data.unit?"kilometers":"miles",").")});else throw Error(s.message||"Failed to reset measurement unit")}catch(t){console.error("Error resetting measurement unit:",t),e({title:"Reset Failed",description:t instanceof Error?t.message:"Unknown error",variant:"destructive"})}finally{k(!1)}},em=async()=>{try{z(!0);let e=await fetch("/cgi-bin/quecmanager/settings/ping_settings.sh"),t=await e.json();"success"===t.status&&t.data&&(I(t.data.enabled),"number"==typeof t.data.interval&&M(t.data.interval))}catch(t){console.error("Error fetching ping settings:",t),e({title:"Error",description:"Failed to load ping settings.",variant:"destructive"})}finally{z(!1)}},eu=async(t,s)=>{try{z(!0);let i=null!=s?s:D,n=await fetch("/cgi-bin/quecmanager/settings/ping_settings.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:t,interval:i})}),l=await n.json();if("success"===l.status){var a,r;I(t),"number"==typeof(null===(a=l.data)||void 0===a?void 0:a.interval)&&M(l.data.interval);let s="number"==typeof(null===(r=l.data)||void 0===r?void 0:r.interval)?l.data.interval:i;t!==A&&e({title:"Ping Status Updated",description:"Ping has been ".concat(t?"enabled":"disabled",".")}),s!==D&&e({title:"Polling Rate Updated",description:"Now measuring every ".concat(s," second").concat(1===s?"":"s",".")}),window.dispatchEvent(new CustomEvent("pingSettingsUpdated"))}else throw Error(l.message||"Failed to update ping settings")}catch(t){console.error("Error updating ping settings:",t),e({title:"Update Failed",description:t instanceof Error?t.message:"Unknown error",variant:"destructive"})}finally{z(!1)}},ep=async()=>{try{z(!0);let t=await fetch("/cgi-bin/quecmanager/settings/ping_settings.sh",{method:"DELETE"}),s=await t.json();if("success"===s.status&&s.data)I(s.data.enabled),"number"==typeof s.data.interval?M(s.data.interval):M(5),e({title:"Ping Settings Reset",description:"Ping settings reset to system default (".concat(s.data.enabled?"enabled":"disabled",").")}),window.dispatchEvent(new CustomEvent("pingSettingsUpdated"));else throw Error(s.message||"Failed to reset ping settings")}catch(t){console.error("Error resetting ping settings:",t),e({title:"Reset Failed",description:t instanceof Error?t.message:"Unknown error",variant:"destructive"})}finally{z(!1)}},ef=async()=>{try{$(!0);let e=await fetch("/cgi-bin/quecmanager/home/memory/memory_service.sh"),t=await e.json();"success"===t.status&&t.data&&(J(t.data.enabled),"number"==typeof t.data.interval&&B(t.data.interval),W(!t.data.enabled))}catch(t){console.error("Error fetching memory settings:",t),e({title:"Error",description:"Failed to load memory monitoring settings.",variant:"destructive"})}finally{$(!1)}},eg=async(t,s)=>{try{$(!0);let i=null!=s?s:L,n=await fetch("/cgi-bin/quecmanager/settings/memory_settings.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:t,interval:i})}),l=await n.json();if("success"===l.status){var a,r;J(t),"number"==typeof(null===(a=l.data)||void 0===a?void 0:a.interval)?B(l.data.interval):B(i),W(!t);let s="number"==typeof(null===(r=l.data)||void 0===r?void 0:r.interval)?l.data.interval:i;t!==q&&e({title:"Memory Monitoring Updated",description:"Memory monitoring has been ".concat(t?"enabled":"disabled",".")}),s!==L&&e({title:"Update Rate Changed",description:"Memory now updates every ".concat(s," second").concat(1===s?"":"s",".")}),window.dispatchEvent(new CustomEvent("memorySettingsUpdated"))}else throw Error(l.message||"Failed to update memory settings")}catch(t){console.error("Error updating memory settings:",t),e({title:"Update Failed",description:t instanceof Error?t.message:"Unknown error",variant:"destructive"})}finally{$(!1)}},eh=async()=>{try{$(!0);let t=await fetch("/cgi-bin/quecmanager/settings/memory_settings.sh",{method:"DELETE"}),s=await t.json();if("success"===s.status)J(!1),B(1),W(!0),e({title:"Memory Settings Reset",description:"Memory monitoring reset to system default (disabled)."}),window.dispatchEvent(new CustomEvent("memorySettingsUpdated"));else throw Error(s.message||"Failed to reset memory settings")}catch(t){console.error("Error resetting memory settings:",t),e({title:"Reset Failed",description:t instanceof Error?t.message:"Unknown error",variant:"destructive"})}finally{$(!1)}};return(0,a.jsxs)(i.Zp,{children:[(0,a.jsxs)(i.aR,{children:[(0,a.jsx)(i.ZB,{children:"Personalization Settings"}),(0,a.jsx)(i.BT,{children:"Customize your profile and preferences."})]}),(0,a.jsx)(i.Wu,{children:(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,a.jsx)("div",{className:"grid gap-6"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(c.eu,{className:"lg:h-48 lg:w-48 h-32 w-32 border-4 border-dashed border-gray-300 hover:border-gray-400 transition-colors",children:E?(0,a.jsx)(c.BK,{src:E,alt:"Profile Picture"}):(0,a.jsx)(c.q5,{className:"bg-gray-100",children:(0,a.jsx)(u.A,{className:"h-12 w-12 text-gray-400"})})}),(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black bg-opacity-50 rounded-full opacity-0 hover:opacity-100 transition-opacity cursor-pointer",onClick:el,children:(0,a.jsx)(p.A,{className:"h-8 w-8 text-white"})})]}),(0,a.jsx)("p",{className:"text-muted-foreground text-sm italic",children:"Supported formats: JPEG, PNG, GIF, WebP (max 3MB)."}),(0,a.jsxs)("div",{className:"flex space-x-2",children:[(0,a.jsxs)(l.$,{variant:"outline",size:"sm",onClick:el,disabled:j||t||w,children:[j?(0,a.jsx)(f.A,{className:"h-4 w-4 animate-spin"}):(0,a.jsx)(g.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:j?"Uploading...":"Upload"})]}),T&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(l.$,{variant:"destructive",size:"sm",onClick:en,disabled:t||w||j||!T,children:[w?(0,a.jsx)(f.A,{className:"h-4 w-4 animate-spin"}):(0,a.jsx)(h.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:w?"Deleting...":"Delete"})]})})]}),(0,a.jsx)(o.p,{ref:K,type:"file",accept:"image/jpeg,image/jpg,image/png,image/gif,image/webp",onChange:er,className:"hidden"})]}),(0,a.jsx)(v.Separator,{className:"w-full my-2"}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 grid-flow-row gap-4",children:[(0,a.jsx)("div",{className:"lg:col-span-2 col-span-1",children:(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"MeasurementUnits",children:"Distance Measurement Unit"}),F?(0,a.jsx)(y.E,{className:"h-8"}):(0,a.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,a.jsxs)(n.l6,{disabled:F,value:R,onValueChange:e=>ed(e),children:[(0,a.jsx)(n.bq,{className:"w-full",children:(0,a.jsx)(n.yv,{children:"km"===R?"Kilometers (km)":"Miles (mi)"})}),(0,a.jsx)(n.gC,{children:(0,a.jsxs)(n.s3,{children:[(0,a.jsx)(n.TR,{children:"Distance Unit"}),(0,a.jsx)(n.eb,{value:"km",children:"Kilometers (km)"}),(0,a.jsx)(n.eb,{value:"mi",children:"Miles (mi)"})]})})]}),(0,a.jsx)(l.$,{variant:"outline",size:"icon",disabled:F||_,onClick:ec,children:(0,a.jsx)(x.A,{className:"h-4 w-4"})})]}),_?(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"This is the default unit based on your system settings."}):(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"This is a custom unit setting."})]})}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PingSettings",children:"Network Latency Testing"}),O?(0,a.jsx)(y.E,{className:"h-8"}):(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,a.jsxs)(n.l6,{disabled:O,value:A?"enabled":"disabled",onValueChange:e=>eu("enabled"===e),children:[(0,a.jsx)(n.bq,{className:"w-full",children:(0,a.jsx)(n.yv,{children:A?"Enabled":"Disabled"})}),(0,a.jsx)(n.gC,{children:(0,a.jsxs)(n.s3,{children:[(0,a.jsx)(n.TR,{children:"Latency Testing"}),(0,a.jsx)(n.eb,{value:"enabled",children:"Enable latency testing"}),(0,a.jsx)(n.eb,{value:"disabled",children:"Disable latency testing"})]})})]}),(0,a.jsx)(l.$,{variant:"outline",size:"icon",disabled:O,onClick:ep,children:(0,a.jsx)(x.A,{className:"h-4 w-4"})})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Controls whether the device measures network latency."})]})]}),(0,a.jsx)("div",{className:"grid w-full max-w-sm items-center gap-2",children:O?(0,a.jsx)(y.E,{className:"h-8"}):(0,a.jsxs)("div",{className:"grid w-full items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"PingPolling",children:"Polling Rate"}),(0,a.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,a.jsxs)(n.l6,{disabled:O||!A,value:String(D),onValueChange:e=>{let t=parseInt(e,10);M(t),eu(A,t)},children:[(0,a.jsx)(n.bq,{className:"w-full",children:(0,a.jsxs)(n.yv,{children:[D," seconds"]})}),(0,a.jsx)(n.gC,{children:(0,a.jsxs)(n.s3,{children:[(0,a.jsx)(n.TR,{children:"Polling Rate"}),(0,a.jsx)(n.eb,{value:"2",children:"Every 2 seconds"}),(0,a.jsx)(n.eb,{value:"5",children:"Every 5 seconds"}),(0,a.jsx)(n.eb,{value:"10",children:"Every 10 seconds"}),(0,a.jsx)(n.eb,{value:"15",children:"Every 15 seconds"}),(0,a.jsx)(n.eb,{value:"30",children:"Every 30 seconds"}),(0,a.jsx)(n.eb,{value:"60",children:"Every 60 seconds"})]})})]}),(0,a.jsx)(l.$,{variant:"outline",size:"icon",disabled:O||5===D,onClick:()=>eu(A,5),children:(0,a.jsx)(x.A,{className:"h-4 w-4"})})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Controls how often the device measures latency."})]})}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"MemorySettings",children:"Memory Monitoring"}),V?(0,a.jsx)(y.E,{className:"h-8"}):(0,a.jsx)("div",{className:"flex flex-col gap-2",children:(0,a.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,a.jsxs)(n.l6,{disabled:V,value:q?"enabled":"disabled",onValueChange:e=>eg("enabled"===e),children:[(0,a.jsx)(n.bq,{className:"w-full",children:(0,a.jsx)(n.yv,{children:q?"Enabled":"Disabled"})}),(0,a.jsx)(n.gC,{children:(0,a.jsxs)(n.s3,{children:[(0,a.jsx)(n.TR,{children:"Memory Monitoring"}),(0,a.jsx)(n.eb,{value:"enabled",children:"Enable memory monitoring"}),(0,a.jsx)(n.eb,{value:"disabled",children:"Disable memory monitoring"})]})})]}),(0,a.jsx)(l.$,{variant:"outline",size:"icon",disabled:V||G,onClick:eh,children:(0,a.jsx)(x.A,{className:"h-4 w-4"})})]})}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Controls whether the device measures memory usage."})]}),(0,a.jsx)("div",{className:"grid w-full max-w-sm items-center gap-2",children:V?(0,a.jsx)(y.E,{className:"h-8"}):(0,a.jsxs)("div",{className:"grid w-full items-center gap-2",children:[(0,a.jsx)(d.J,{htmlFor:"MemoryUpdateRate",children:"Update Rate"}),(0,a.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,a.jsxs)(n.l6,{disabled:V||!q,value:String(L),onValueChange:e=>{let t=parseInt(e,10);B(t),eg(q,t)},children:[(0,a.jsx)(n.bq,{className:"w-full",children:(0,a.jsxs)(n.yv,{children:[L," second",1===L?"":"s"]})}),(0,a.jsx)(n.gC,{children:(0,a.jsxs)(n.s3,{children:[(0,a.jsx)(n.TR,{children:"Update Rate"}),(0,a.jsx)(n.eb,{value:"1",children:"Every 1 second"}),(0,a.jsx)(n.eb,{value:"2",children:"Every 2 seconds"}),(0,a.jsx)(n.eb,{value:"3",children:"Every 3 seconds"}),(0,a.jsx)(n.eb,{value:"5",children:"Every 5 seconds"}),(0,a.jsx)(n.eb,{value:"10",children:"Every 10 seconds"})]})})]}),(0,a.jsx)(l.$,{variant:"outline",size:"icon",disabled:V||1===L||G,onClick:()=>eg(q,1),children:(0,a.jsx)(x.A,{className:"h-4 w-4"})})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Controls how often memory usage is updated."})]})})]})]})})]})}},53538:(e,t,s)=>{"use strict";s.d(t,{BK:()=>o,eu:()=>l,q5:()=>d});var a=s(20475),r=s(20107),i=s(88601),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(i.bL,{ref:t,className:(0,n.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",s),...r})});l.displayName=i.bL.displayName;let o=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(i._V,{ref:t,className:(0,n.cn)("aspect-square h-full w-full",s),...r})});o.displayName=i._V.displayName;let d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(i.H4,{ref:t,className:(0,n.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",s),...r})});d.displayName=i.H4.displayName},42541:(e,t,s)=>{"use strict";s.d(t,{$:()=>d,r:()=>o});var a=s(20475),r=s(20107),i=s(61837),n=s(29395),l=s(22250);let o=(0,n.F)("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=r.forwardRef((e,t)=>{let{className:s,variant:r,size:n,asChild:d=!1,...c}=e,m=d?i.DX:"button";return(0,a.jsx)(m,{className:(0,l.cn)(o({variant:r,size:n,className:s})),ref:t,...c})});d.displayName="Button"},72167:(e,t,s)=>{"use strict";s.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>n,aR:()=>l,wL:()=>m});var a=s(20475),r=s(20107),i=s(22250);let n=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",s),...r})});n.displayName="Card";let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",s),...r})});l.displayName="CardHeader";let o=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("h3",{ref:t,className:(0,i.cn)("font-semibold leading-none tracking-tight",s),...r})});o.displayName="CardTitle";let d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",s),...r})});d.displayName="CardDescription";let c=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",s),...r})});c.displayName="CardContent";let m=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",s),...r})});m.displayName="CardFooter"},64219:(e,t,s)=>{"use strict";s.d(t,{p:()=>n});var a=s(20475),r=s(20107),i=s(22250);let n=r.forwardRef((e,t)=>{let{className:s,type:r,...n}=e;return(0,a.jsx)("input",{type:r,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",s),ref:t,...n})});n.displayName="Input"},49153:(e,t,s)=>{"use strict";s.d(t,{J:()=>d});var a=s(20475),r=s(20107),i=s(21840),n=s(29395),l=s(22250);let o=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(i.b,{ref:t,className:(0,l.cn)(o(),s),...r})});d.displayName=i.b.displayName},35601:(e,t,s)=>{"use strict";s.d(t,{TR:()=>g,bq:()=>m,eb:()=>h,gC:()=>f,l6:()=>o,s3:()=>d,yv:()=>c});var a=s(20475),r=s(20107),i=s(7197),n=s(95257),l=s(22250);let o=n.bL,d=n.YJ,c=n.WT,m=r.forwardRef((e,t)=>{let{className:s,children:r,...o}=e;return(0,a.jsxs)(n.l9,{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",s),...o,children:[r,(0,a.jsx)(n.In,{asChild:!0,children:(0,a.jsx)(i.TBE,{className:"h-4 w-4 opacity-50"})})]})});m.displayName=n.l9.displayName;let u=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.PP,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",s),...r,children:(0,a.jsx)(i.Mtm,{})})});u.displayName=n.PP.displayName;let p=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.wn,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",s),...r,children:(0,a.jsx)(i.D3D,{})})});p.displayName=n.wn.displayName;let f=r.forwardRef((e,t)=>{let{className:s,children:r,position:i="popper",...o}=e;return(0,a.jsx)(n.ZL,{children:(0,a.jsxs)(n.UC,{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"===i&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",s),position:i,...o,children:[(0,a.jsx)(u,{}),(0,a.jsx)(n.LM,{className:(0,l.cn)("p-1","popper"===i&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r}),(0,a.jsx)(p,{})]})})});f.displayName=n.UC.displayName;let g=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.JU,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",s),...r})});g.displayName=n.JU.displayName;let h=r.forwardRef((e,t)=>{let{className:s,children:r,...o}=e;return(0,a.jsxs)(n.q7,{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",s),...o,children:[(0,a.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(n.VF,{children:(0,a.jsx)(i.Srz,{className:"h-4 w-4"})})}),(0,a.jsx)(n.p4,{children:r})]})});h.displayName=n.q7.displayName,r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.wv,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",s),...r})}).displayName=n.wv.displayName},76554:(e,t,s)=>{"use strict";s.d(t,{Separator:()=>l});var a=s(20475),r=s(20107),i=s(88853),n=s(22250);let l=r.forwardRef((e,t)=>{let{className:s,orientation:r="horizontal",decorative:l=!0,...o}=e;return(0,a.jsx)(i.b,{ref:t,decorative:l,orientation:r,className:(0,n.cn)("shrink-0 bg-border","horizontal"===r?"h-[1px] w-full":"h-full w-[1px]",s),...o})});l.displayName=i.b.displayName},36760:(e,t,s)=>{"use strict";s.d(t,{E:()=>i});var a=s(20475),r=s(22250);function i(e){let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,r.cn)("animate-pulse rounded-md bg-primary/10",t),...s})}},32857:(e,t,s)=>{"use strict";s.d(t,{dj:()=>u,oR:()=>m});var a=s(20107);let r=0,i=new Map,n=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);i.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:s}=t;return s?n(s):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},o=[],d={toasts:[]};function c(e){d=l(d,e),o.forEach(e=>{e(d)})}function m(e){let{...t}=e,s=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:s});return c({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||a()}}}),{id:s,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function u(){let[e,t]=a.useState(d);return a.useEffect(()=>(o.push(t),()=>{let e=o.indexOf(t);e>-1&&o.splice(e,1)}),[e]),{...e,toast:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,s)=>{"use strict";s.d(t,{cn:()=>i});var a=s(64901),r=s(868);function i(){for(var e=arguments.length,t=Array(e),s=0;s{var t=t=>e(e.s=t);e.O(0,[9980,7780,8885,3746,9464,3494,940,191,6035,7358],()=>t(18508)),_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-d14d7f38ee68c94f.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/security/page-37882e34773bbe1d.js similarity index 63% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/security/page-d14d7f38ee68c94f.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/security/page-37882e34773bbe1d.js index 1f87812..d8df6bd 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/security/page-d14d7f38ee68c94f.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/security/page-37882e34773bbe1d.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2162],{19600:(e,r,t)=>{Promise.resolve().then(t.bind(t,16212))},16212:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>c});var s=t(20475),a=t(20107),o=t(72167),n=t(42541),d=t(64219),i=t(32857);let c=()=>{let{toast:e}=(0,i.dj)(),[r,t]=(0,a.useState)(!1),[c,l]=(0,a.useState)({oldPassword:"",newPassword:"",confirmPassword:""}),u=async e=>{try{let r;let t=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"".concat(localStorage.getItem("authToken")||"")},body:"password=".concat(encodeURIComponent(e))});if(!t.ok)throw Error("HTTP error! status: ".concat(t.status));let s=await t.text();try{r=JSON.parse(s)}catch(e){throw console.error("Failed to parse JSON:",s),Error("Invalid response format")}return"success"===r.state}catch(e){return console.error("Password verification failed:",e),!1}},f=async r=>{r.preventDefault(),t(!0);try{let r;if(!c.oldPassword||!c.newPassword||!c.confirmPassword)throw Error("All fields are required");if(c.newPassword!==c.confirmPassword)throw Error("New passwords don't match");if(c.newPassword.length<8)throw Error("New password must be at least 8 characters long");if(!await u(c.oldPassword))throw Error("Current password is incorrect");let t=await fetch("/cgi-bin/quecmanager/settings/change-password.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"".concat(localStorage.getItem("authToken")||"")},body:"oldPassword=".concat(encodeURIComponent(c.oldPassword),"&newPassword=").concat(encodeURIComponent(c.newPassword))});if(!t.ok)throw Error("HTTP error! status: ".concat(t.status));let s=await t.text();try{r=JSON.parse(s)}catch(e){throw console.error("Failed to parse JSON:",s),Error("Invalid response format")}if("success"===r.state)e({title:"Success",description:r.message||"Password changed successfully!"}),l({oldPassword:"",newPassword:"",confirmPassword:""});else throw Error(r.message||"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;l(e=>({...e,[r]:t}))};return(0,s.jsxs)(o.Zp,{children:[(0,s.jsxs)(o.aR,{children:[(0,s.jsx)(o.ZB,{children:"Change Device Password"}),(0,s.jsx)(o.BT,{children:"This changes the password for the web interface and terminal access."})]}),(0,s.jsx)(o.Wu,{children:(0,s.jsxs)("form",{onSubmit:f,className:"space-y-4",children:[(0,s.jsx)(d.p,{placeholder:"Old Password",type:"password",name:"oldPassword",value:c.oldPassword,onChange:p,"aria-label":"Old Password"}),(0,s.jsx)(d.p,{placeholder:"New Password",type:"password",name:"newPassword",value:c.newPassword,onChange:p,"aria-label":"New Password"}),(0,s.jsx)(d.p,{placeholder:"Confirm New Password",type:"password",name:"confirmPassword",value:c.confirmPassword,onChange:p,"aria-label":"Confirm New Password"})]})}),(0,s.jsx)(o.wL,{className:"border-t px-6 py-4",children:(0,s.jsx)(n.$,{type:"submit",onClick:e=>f(e),disabled:r,children:r?"Saving...":"Save"})})]})}},42541:(e,r,t)=>{"use strict";t.d(r,{$:()=>c,r:()=>i});var s=t(20475),a=t(20107),o=t(61837),n=t(29395),d=t(22250);let i=(0,n.F)("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=a.forwardRef((e,r)=>{let{className:t,variant:a,size:n,asChild:c=!1,...l}=e,u=c?o.DX:"button";return(0,s.jsx)(u,{className:(0,d.cn)(i({variant:a,size:n,className:t})),ref:r,...l})});c.displayName="Button"},72167:(e,r,t)=>{"use strict";t.d(r,{BT:()=>c,Wu:()=>l,ZB:()=>i,Zp:()=>n,aR:()=>d,wL:()=>u});var s=t(20475),a=t(20107),o=t(22250);let n=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...a})});n.displayName="Card";let d=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",t),...a})});d.displayName="CardHeader";let i=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("h3",{ref:r,className:(0,o.cn)("font-semibold leading-none tracking-tight",t),...a})});i.displayName="CardTitle";let c=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("p",{ref:r,className:(0,o.cn)("text-sm text-muted-foreground",t),...a})});c.displayName="CardDescription";let l=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("p-6 pt-0",t),...a})});l.displayName="CardContent";let u=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("flex items-center p-6 pt-0",t),...a})});u.displayName="CardFooter"},64219:(e,r,t)=>{"use strict";t.d(r,{p:()=>n});var s=t(20475),a=t(20107),o=t(22250);let n=a.forwardRef((e,r)=>{let{className:t,type:a,...n}=e;return(0,s.jsx)("input",{type:a,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,...n})});n.displayName="Input"},32857:(e,r,t)=>{"use strict";t.d(r,{dj:()=>f,oR:()=>u});var s=t(20107);let a=0,o=new Map,n=e=>{if(o.has(e))return;let r=setTimeout(()=>{o.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,r)},d=(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?n(t):e.toasts.forEach(e=>{n(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)}}},i=[],c={toasts:[]};function l(e){c=d(c,e),i.forEach(e=>{e(c)})}function u(e){let{...r}=e,t=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>l({type:"DISMISS_TOAST",toastId:t});return l({type:"ADD_TOAST",toast:{...r,id:t,open:!0,onOpenChange:e=>{e||s()}}}),{id:t,dismiss:s,update:e=>l({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function f(){let[e,r]=s.useState(c);return s.useEffect(()=>(i.push(r),()=>{let e=i.indexOf(r);e>-1&&i.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,r,t)=>{"use strict";t.d(r,{cn:()=>o});var s=t(64901),a=t(868);function o(){for(var e=arguments.length,r=Array(e),t=0;t{var r=r=>e(e.s=r);e.O(0,[1258,191,6035,7358],()=>r(19600)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2162],{19600:(e,r,t)=>{Promise.resolve().then(t.bind(t,16212))},16212:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>l});var s=t(20475),a=t(20107),o=t(72167),n=t(42541),d=t(64219),i=t(32857);let l=()=>{let{toast:e}=(0,i.dj)(),[r,t]=(0,a.useState)(!1),[l,c]=(0,a.useState)({oldPassword:"",newPassword:"",confirmPassword:""}),u=async e=>{try{let r;let t=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"".concat(localStorage.getItem("authToken")||"")},body:"password=".concat(encodeURIComponent(e))});if(!t.ok)throw Error("HTTP error! status: ".concat(t.status));let s=await t.text();try{r=JSON.parse(s)}catch(e){throw console.error("Failed to parse JSON:",s),Error("Invalid response format")}return"success"===r.state}catch(e){return console.error("Password verification failed:",e),!1}},f=async r=>{r.preventDefault(),t(!0);try{let r;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 t=await fetch("/cgi-bin/quecmanager/settings/change-password.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"".concat(localStorage.getItem("authToken")||"")},body:"oldPassword=".concat(encodeURIComponent(l.oldPassword),"&newPassword=").concat(encodeURIComponent(l.newPassword))});if(!t.ok)throw Error("HTTP error! status: ".concat(t.status));let s=await t.text();try{r=JSON.parse(s)}catch(e){throw console.error("Failed to parse JSON:",s),Error("Invalid response format")}if("success"===r.state)e({title:"Success",description:r.message||"Password changed successfully!"}),c({oldPassword:"",newPassword:"",confirmPassword:""});else throw Error(r.message||"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.Zp,{children:[(0,s.jsxs)(o.aR,{children:[(0,s.jsx)(o.ZB,{children:"Change Device Password"}),(0,s.jsx)(o.BT,{children:"This changes the password for the web interface and terminal access."})]}),(0,s.jsx)(o.Wu,{children:(0,s.jsxs)("form",{onSubmit:f,className:"space-y-4",children:[(0,s.jsx)(d.p,{placeholder:"Old Password",type:"password",name:"oldPassword",value:l.oldPassword,onChange:p,"aria-label":"Old Password"}),(0,s.jsx)(d.p,{placeholder:"New Password",type:"password",name:"newPassword",value:l.newPassword,onChange:p,"aria-label":"New Password"}),(0,s.jsx)(d.p,{placeholder:"Confirm New Password",type:"password",name:"confirmPassword",value:l.confirmPassword,onChange:p,"aria-label":"Confirm New Password"})]})}),(0,s.jsx)(o.wL,{className:"border-t px-6 py-4",children:(0,s.jsx)(n.$,{type:"submit",onClick:e=>f(e),disabled:r,children:r?"Saving...":"Save"})})]})}},42541:(e,r,t)=>{"use strict";t.d(r,{$:()=>l,r:()=>i});var s=t(20475),a=t(20107),o=t(61837),n=t(29395),d=t(22250);let i=(0,n.F)("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=a.forwardRef((e,r)=>{let{className:t,variant:a,size:n,asChild:l=!1,...c}=e,u=l?o.DX:"button";return(0,s.jsx)(u,{className:(0,d.cn)(i({variant:a,size:n,className:t})),ref:r,...c})});l.displayName="Button"},72167:(e,r,t)=>{"use strict";t.d(r,{BT:()=>l,Wu:()=>c,ZB:()=>i,Zp:()=>n,aR:()=>d,wL:()=>u});var s=t(20475),a=t(20107),o=t(22250);let n=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...a})});n.displayName="Card";let d=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",t),...a})});d.displayName="CardHeader";let i=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("h3",{ref:r,className:(0,o.cn)("font-semibold leading-none tracking-tight",t),...a})});i.displayName="CardTitle";let l=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("p",{ref:r,className:(0,o.cn)("text-sm text-muted-foreground",t),...a})});l.displayName="CardDescription";let c=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("p-6 pt-0",t),...a})});c.displayName="CardContent";let u=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("flex items-center p-6 pt-0",t),...a})});u.displayName="CardFooter"},64219:(e,r,t)=>{"use strict";t.d(r,{p:()=>n});var s=t(20475),a=t(20107),o=t(22250);let n=a.forwardRef((e,r)=>{let{className:t,type:a,...n}=e;return(0,s.jsx)("input",{type:a,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,...n})});n.displayName="Input"},32857:(e,r,t)=>{"use strict";t.d(r,{dj:()=>f,oR:()=>u});var s=t(20107);let a=0,o=new Map,n=e=>{if(o.has(e))return;let r=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,r)},d=(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?n(t):e.toasts.forEach(e=>{n(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)}}},i=[],l={toasts:[]};function c(e){l=d(l,e),i.forEach(e=>{e(l)})}function u(e){let{...r}=e,t=(a=(a+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(()=>(i.push(r),()=>{let e=i.indexOf(r);e>-1&&i.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,r,t)=>{"use strict";t.d(r,{cn:()=>o});var s=t(64901),a=t(868);function o(){for(var e=arguments.length,r=Array(e),t=0;t{"use strict";t.d(r,{F:()=>o});let s=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,a=function(){for(var e,r,t=0,s="";tt=>{var o;if((null==r?void 0:r.variants)==null)return a(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:n,defaultVariants:d}=r,i=Object.keys(n).map(e=>{let r=null==t?void 0:t[e],a=null==d?void 0:d[e];if(null===r)return null;let o=s(r)||s(a);return n[e][o]}),l=t&&Object.entries(t).reduce((e,r)=>{let[t,s]=r;return void 0===s||(e[t]=s),e},{});return a(e,i,null==r?void 0:null===(o=r.compoundVariants)||void 0===o?void 0:o.reduce((e,r)=>{let{class:t,className:s,...a}=r;return Object.entries(a).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...d,...l}[r]):({...d,...l})[r]===t})?[...e,t,s]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}}},e=>{var r=r=>e(e.s=r);e.O(0,[7780,191,6035,7358],()=>r(19600)),_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-ea531924681188d0.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-081a46a6e8aa48bc.js similarity index 56% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-ea531924681188d0.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-081a46a6e8aa48bc.js index d2c059a..7a51c07 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-ea531924681188d0.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-081a46a6e8aa48bc.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{14630:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,22670,23)),Promise.resolve().then(r.bind(r,74347)),Promise.resolve().then(r.bind(r,62825)),Promise.resolve().then(r.bind(r,85014)),Promise.resolve().then(r.t.bind(r,25804,23))},74347:(e,t,r)=>{"use strict";r.d(t,{ThemeProvider:()=>s});var n=r(20475);r(20107);var o=r(92159);function s(e){let{children:t,...r}=e;return(0,n.jsx)(o.N,{...r,children:t})}},62825:(e,t,r)=>{"use strict";r.d(t,{Toaster:()=>ea});var n=r(20475),o=r(32857),s=r(20107),a=r(7197),i=r(25642),d=r(94521),l=r(64236),u=r(32474),c=r(45170),p=r(55302),f=r(41913),v=r(54245),m=r(34544),w=r(46774),x=r(13061),y=r(54122),h=r(91475),g="ToastProvider",[E,T,b]=(0,u.N)("Toast"),[N,P]=(0,c.A)("Toast",[b]),[R,j]=N(g),C=e=>{let{__scopeToast:t,label:r="Notification",duration:o=5e3,swipeDirection:a="right",swipeThreshold:i=50,children:d}=e,[l,u]=s.useState(null),[c,p]=s.useState(0),f=s.useRef(!1),v=s.useRef(!1);return r.trim()||console.error("Invalid prop `label` supplied to `".concat(g,"`. Expected non-empty `string`.")),(0,n.jsx)(E.Provider,{scope:t,children:(0,n.jsx)(R,{scope:t,label:r,duration:o,swipeDirection:a,swipeThreshold:i,toastCount:c,viewport:l,onViewportChange:u,onToastAdd:s.useCallback(()=>p(e=>e+1),[]),onToastRemove:s.useCallback(()=>p(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:v,children:d})})};C.displayName=g;var S="ToastViewport",A=["F8"],D="toast.viewportPause",I="toast.viewportResume",L=s.forwardRef((e,t)=>{let{__scopeToast:r,hotkey:o=A,label:a="Notifications ({hotkey})",...i}=e,d=j(S,r),u=T(r),c=s.useRef(null),f=s.useRef(null),v=s.useRef(null),w=s.useRef(null),x=(0,l.s)(t,w,d.onViewportChange),y=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),h=d.toastCount>0;s.useEffect(()=>{let e=e=>{var t;0!==o.length&&o.every(t=>e[t]||e.code===t)&&(null===(t=w.current)||void 0===t||t.focus())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[o]),s.useEffect(()=>{let e=c.current,t=w.current;if(h&&e&&t){let r=()=>{if(!d.isClosePausedRef.current){let e=new CustomEvent(D);t.dispatchEvent(e),d.isClosePausedRef.current=!0}},n=()=>{if(d.isClosePausedRef.current){let e=new CustomEvent(I);t.dispatchEvent(e),d.isClosePausedRef.current=!1}},o=t=>{e.contains(t.relatedTarget)||n()},s=()=>{e.contains(document.activeElement)||n()};return e.addEventListener("focusin",r),e.addEventListener("focusout",o),e.addEventListener("pointermove",r),e.addEventListener("pointerleave",s),window.addEventListener("blur",r),window.addEventListener("focus",n),()=>{e.removeEventListener("focusin",r),e.removeEventListener("focusout",o),e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",s),window.removeEventListener("blur",r),window.removeEventListener("focus",n)}}},[h,d.isClosePausedRef]);let g=s.useCallback(e=>{let{tabbingDirection:t}=e,r=u().map(e=>{let r=e.ref.current,n=[r,...function(e){let t=[],r=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(;r.nextNode();)t.push(r.currentNode);return t}(r)];return"forwards"===t?n:n.reverse()});return("forwards"===t?r.reverse():r).flat()},[u]);return s.useEffect(()=>{let e=w.current;if(e){let t=t=>{let r=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!r){var n,o,s;let r=document.activeElement,a=t.shiftKey;if(t.target===e&&a){null===(n=f.current)||void 0===n||n.focus();return}let i=g({tabbingDirection:a?"backwards":"forwards"}),d=i.findIndex(e=>e===r);Q(i.slice(d+1))?t.preventDefault():a?null===(o=f.current)||void 0===o||o.focus():null===(s=v.current)||void 0===s||s.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[u,g]),(0,n.jsxs)(p.lg,{ref:c,role:"region","aria-label":a.replace("{hotkey}",y),tabIndex:-1,style:{pointerEvents:h?void 0:"none"},children:[h&&(0,n.jsx)(_,{ref:f,onFocusFromOutsideViewport:()=>{Q(g({tabbingDirection:"forwards"}))}}),(0,n.jsx)(E.Slot,{scope:r,children:(0,n.jsx)(m.sG.ol,{tabIndex:-1,...i,ref:x})}),h&&(0,n.jsx)(_,{ref:v,onFocusFromOutsideViewport:()=>{Q(g({tabbingDirection:"backwards"}))}})]})});L.displayName=S;var F="ToastFocusProxy",_=s.forwardRef((e,t)=>{let{__scopeToast:r,onFocusFromOutsideViewport:o,...s}=e,a=j(F,r);return(0,n.jsx)(h.s,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:e=>{var t;let r=e.relatedTarget;(null===(t=a.viewport)||void 0===t?void 0:t.contains(r))||o()}})});_.displayName=F;var k="Toast",M=s.forwardRef((e,t)=>{let{forceMount:r,open:o,defaultOpen:s,onOpenChange:a,...i}=e,[l=!0,u]=(0,x.i)({prop:o,defaultProp:s,onChange:a});return(0,n.jsx)(v.C,{present:r||l,children:(0,n.jsx)(V,{open:l,...i,ref:t,onClose:()=>u(!1),onPause:(0,w.c)(e.onPause),onResume:(0,w.c)(e.onResume),onSwipeStart:(0,d.m)(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:(0,d.m)(e.onSwipeMove,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x","".concat(t,"px")),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y","".concat(r,"px"))}),onSwipeCancel:(0,d.m)(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:(0,d.m)(e.onSwipeEnd,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x","".concat(t,"px")),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y","".concat(r,"px")),u(!1)})})})});M.displayName=k;var[O,K]=N(k,{onClose(){}}),V=s.forwardRef((e,t)=>{let{__scopeToast:r,type:o="foreground",duration:a,open:u,onClose:c,onEscapeKeyDown:f,onPause:v,onResume:x,onSwipeStart:y,onSwipeMove:h,onSwipeCancel:g,onSwipeEnd:T,...b}=e,N=j(k,r),[P,R]=s.useState(null),C=(0,l.s)(t,e=>R(e)),S=s.useRef(null),A=s.useRef(null),L=a||N.duration,F=s.useRef(0),_=s.useRef(L),M=s.useRef(0),{onToastAdd:K,onToastRemove:V}=N,U=(0,w.c)(()=>{var e;(null==P?void 0:P.contains(document.activeElement))&&(null===(e=N.viewport)||void 0===e||e.focus()),c()}),z=s.useCallback(e=>{e&&e!==1/0&&(window.clearTimeout(M.current),F.current=new Date().getTime(),M.current=window.setTimeout(U,e))},[U]);s.useEffect(()=>{let e=N.viewport;if(e){let t=()=>{z(_.current),null==x||x()},r=()=>{let e=new Date().getTime()-F.current;_.current=_.current-e,window.clearTimeout(M.current),null==v||v()};return e.addEventListener(D,r),e.addEventListener(I,t),()=>{e.removeEventListener(D,r),e.removeEventListener(I,t)}}},[N.viewport,L,v,x,z]),s.useEffect(()=>{u&&!N.isClosePausedRef.current&&z(L)},[u,L,N.isClosePausedRef,z]),s.useEffect(()=>(K(),()=>V()),[K,V]);let X=s.useMemo(()=>P?function e(t){let r=[];return Array.from(t.childNodes).forEach(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent&&r.push(t.textContent),t.nodeType===t.ELEMENT_NODE){let n=t.ariaHidden||t.hidden||"none"===t.style.display,o=""===t.dataset.radixToastAnnounceExclude;if(!n){if(o){let e=t.dataset.radixToastAnnounceAlt;e&&r.push(e)}else r.push(...e(t))}}}),r}(P):null,[P]);return N.viewport?(0,n.jsxs)(n.Fragment,{children:[X&&(0,n.jsx)(G,{__scopeToast:r,role:"status","aria-live":"foreground"===o?"assertive":"polite","aria-atomic":!0,children:X}),(0,n.jsx)(O,{scope:r,onClose:U,children:i.createPortal((0,n.jsx)(E.ItemSlot,{scope:r,children:(0,n.jsx)(p.bL,{asChild:!0,onEscapeKeyDown:(0,d.m)(f,()=>{N.isFocusedToastEscapeKeyDownRef.current||U(),N.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,n.jsx)(m.sG.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":N.swipeDirection,...b,ref:C,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:(0,d.m)(e.onKeyDown,e=>{"Escape"!==e.key||(null==f||f(e.nativeEvent),e.nativeEvent.defaultPrevented||(N.isFocusedToastEscapeKeyDownRef.current=!0,U()))}),onPointerDown:(0,d.m)(e.onPointerDown,e=>{0===e.button&&(S.current={x:e.clientX,y:e.clientY})}),onPointerMove:(0,d.m)(e.onPointerMove,e=>{if(!S.current)return;let t=e.clientX-S.current.x,r=e.clientY-S.current.y,n=!!A.current,o=["left","right"].includes(N.swipeDirection),s=["left","up"].includes(N.swipeDirection)?Math.min:Math.max,a=o?s(0,t):0,i=o?0:s(0,r),d="touch"===e.pointerType?10:2,l={x:a,y:i},u={originalEvent:e,delta:l};n?(A.current=l,Z("toast.swipeMove",h,u,{discrete:!1})):$(l,N.swipeDirection,d)?(A.current=l,Z("toast.swipeStart",y,u,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>d||Math.abs(r)>d)&&(S.current=null)}),onPointerUp:(0,d.m)(e.onPointerUp,e=>{let t=A.current,r=e.target;if(r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),A.current=null,S.current=null,t){let r=e.currentTarget,n={originalEvent:e,delta:t};$(t,N.swipeDirection,N.swipeThreshold)?Z("toast.swipeEnd",T,n,{discrete:!0}):Z("toast.swipeCancel",g,n,{discrete:!0}),r.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),N.viewport)})]}):null}),G=e=>{let{__scopeToast:t,children:r,...o}=e,a=j(k,t),[i,d]=s.useState(!1),[l,u]=s.useState(!1);return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{},t=(0,w.c)(e);(0,y.N)(()=>{let e=0,r=0;return e=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(r)}},[t])}(()=>d(!0)),s.useEffect(()=>{let e=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(e)},[]),l?null:(0,n.jsx)(f.Z,{asChild:!0,children:(0,n.jsx)(h.s,{...o,children:i&&(0,n.jsxs)(n.Fragment,{children:[a.label," ",r]})})})},U=s.forwardRef((e,t)=>{let{__scopeToast:r,...o}=e;return(0,n.jsx)(m.sG.div,{...o,ref:t})});U.displayName="ToastTitle";var z=s.forwardRef((e,t)=>{let{__scopeToast:r,...o}=e;return(0,n.jsx)(m.sG.div,{...o,ref:t})});z.displayName="ToastDescription";var X="ToastAction",q=s.forwardRef((e,t)=>{let{altText:r,...o}=e;return r.trim()?(0,n.jsx)(Y,{altText:r,asChild:!0,children:(0,n.jsx)(W,{...o,ref:t})}):(console.error("Invalid prop `altText` supplied to `".concat(X,"`. Expected non-empty `string`.")),null)});q.displayName=X;var H="ToastClose",W=s.forwardRef((e,t)=>{let{__scopeToast:r,...o}=e,s=K(H,r);return(0,n.jsx)(Y,{asChild:!0,children:(0,n.jsx)(m.sG.button,{type:"button",...o,ref:t,onClick:(0,d.m)(e.onClick,s.onClose)})})});W.displayName=H;var Y=s.forwardRef((e,t)=>{let{__scopeToast:r,altText:o,...s}=e;return(0,n.jsx)(m.sG.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...s,ref:t})});function Z(e,t,r,n){let{discrete:o}=n,s=r.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),o?(0,m.hO)(s,a):s.dispatchEvent(a)}var $=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=Math.abs(e.x),o=Math.abs(e.y),s=n>o;return"left"===t||"right"===t?s&&n>r:!s&&o>r};function Q(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}var B=r(29395),J=r(22250);let ee=s.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(L,{ref:t,className:(0,J.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),...o})});ee.displayName=L.displayName;let et=(0,B.F)("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"}}),er=s.forwardRef((e,t)=>{let{className:r,variant:o,...s}=e;return(0,n.jsx)(M,{ref:t,className:(0,J.cn)(et({variant:o}),r),...s})});er.displayName=M.displayName,s.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(q,{ref:t,className:(0,J.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),...o})}).displayName=q.displayName;let en=s.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(W,{ref:t,className:(0,J.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":"",...o,children:(0,n.jsx)(a.MKb,{className:"h-4 w-4"})})});en.displayName=W.displayName;let eo=s.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(U,{ref:t,className:(0,J.cn)("text-sm font-semibold [&+div]:text-xs",r),...o})});eo.displayName=U.displayName;let es=s.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(z,{ref:t,className:(0,J.cn)("text-sm opacity-90",r),...o})});function ea(){let{toasts:e}=(0,o.dj)();return(0,n.jsxs)(C,{children:[e.map(function(e){let{id:t,title:r,description:o,action:s,...a}=e;return(0,n.jsxs)(er,{...a,children:[(0,n.jsxs)("div",{className:"grid gap-1",children:[r&&(0,n.jsx)(eo,{children:r}),o&&(0,n.jsx)(es,{children:o})]}),s,(0,n.jsx)(en,{})]},t)}),(0,n.jsx)(ee,{})]})}es.displayName=z.displayName},85014:(e,t,r)=>{"use strict";r.d(t,{TooltipProvider:()=>i,ZI:()=>u,k$:()=>l,m_:()=>d});var n=r(20475),o=r(20107),s=r(43048),a=r(22250);let i=s.Kq,d=s.bL,l=s.l9,u=o.forwardRef((e,t)=>{let{className:r,sideOffset:o=4,...i}=e;return(0,n.jsx)(s.UC,{ref:t,sideOffset:o,className:(0,a.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),...i})});u.displayName=s.UC.displayName},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>p,oR:()=>c});var n=r(20107);let o=0,s=new Map,a=e=>{if(s.has(e))return;let t=setTimeout(()=>{s.delete(e),u({type:"REMOVE_TOAST",toastId:e})},1e6);s.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: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)}}},d=[],l={toasts:[]};function u(e){l=i(l,e),d.forEach(e=>{e(l)})}function c(e){let{...t}=e,r=(o=(o+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>u({type:"DISMISS_TOAST",toastId:r});return u({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>u({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function p(){let[e,t]=n.useState(l);return n.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>u({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>s});var n=r(64901),o=r(868);function s(){for(var e=arguments.length,t=Array(e),r=0;r{},25804:e=>{e.exports={style:{fontFamily:"'euclid', 'euclid Fallback'"},className:"__className_9dae3d"}},91475:(e,t,r)=>{"use strict";r.d(t,{b:()=>i,s:()=>a});var n=r(20107),o=r(34544),s=r(20475),a=n.forwardRef((e,t)=>(0,s.jsx)(o.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));a.displayName="VisuallyHidden";var i=a}},e=>{var t=t=>e(e.s=t);e.O(0,[3752,9980,1258,4687,3746,3048,2682,191,6035,7358],()=>t(14630)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{14630:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,22670,23)),Promise.resolve().then(r.bind(r,74347)),Promise.resolve().then(r.bind(r,62825)),Promise.resolve().then(r.bind(r,85014)),Promise.resolve().then(r.t.bind(r,25804,23))},74347:(e,t,r)=>{"use strict";r.d(t,{ThemeProvider:()=>s});var n=r(20475);r(20107);var o=r(92159);function s(e){let{children:t,...r}=e;return(0,n.jsx)(o.N,{...r,children:t})}},62825:(e,t,r)=>{"use strict";r.d(t,{Toaster:()=>ea});var n=r(20475),o=r(32857),s=r(20107),a=r(7197),i=r(25642),d=r(94521),l=r(64236),u=r(32474),c=r(45170),p=r(55302),f=r(41913),m=r(54245),v=r(34544),w=r(46774),x=r(13061),y=r(54122),g=r(91475),h="ToastProvider",[T,E,N]=(0,u.N)("Toast"),[b,R]=(0,c.A)("Toast",[N]),[P,j]=b(h),C=e=>{let{__scopeToast:t,label:r="Notification",duration:o=5e3,swipeDirection:a="right",swipeThreshold:i=50,children:d}=e,[l,u]=s.useState(null),[c,p]=s.useState(0),f=s.useRef(!1),m=s.useRef(!1);return r.trim()||console.error("Invalid prop `label` supplied to `".concat(h,"`. Expected non-empty `string`.")),(0,n.jsx)(T.Provider,{scope:t,children:(0,n.jsx)(P,{scope:t,label:r,duration:o,swipeDirection:a,swipeThreshold:i,toastCount:c,viewport:l,onViewportChange:u,onToastAdd:s.useCallback(()=>p(e=>e+1),[]),onToastRemove:s.useCallback(()=>p(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:m,children:d})})};C.displayName=h;var S="ToastViewport",A=["F8"],I="toast.viewportPause",D="toast.viewportResume",O=s.forwardRef((e,t)=>{let{__scopeToast:r,hotkey:o=A,label:a="Notifications ({hotkey})",...i}=e,d=j(S,r),u=E(r),c=s.useRef(null),f=s.useRef(null),m=s.useRef(null),w=s.useRef(null),x=(0,l.s)(t,w,d.onViewportChange),y=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),g=d.toastCount>0;s.useEffect(()=>{let e=e=>{var t;0!==o.length&&o.every(t=>e[t]||e.code===t)&&(null===(t=w.current)||void 0===t||t.focus())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[o]),s.useEffect(()=>{let e=c.current,t=w.current;if(g&&e&&t){let r=()=>{if(!d.isClosePausedRef.current){let e=new CustomEvent(I);t.dispatchEvent(e),d.isClosePausedRef.current=!0}},n=()=>{if(d.isClosePausedRef.current){let e=new CustomEvent(D);t.dispatchEvent(e),d.isClosePausedRef.current=!1}},o=t=>{e.contains(t.relatedTarget)||n()},s=()=>{e.contains(document.activeElement)||n()};return e.addEventListener("focusin",r),e.addEventListener("focusout",o),e.addEventListener("pointermove",r),e.addEventListener("pointerleave",s),window.addEventListener("blur",r),window.addEventListener("focus",n),()=>{e.removeEventListener("focusin",r),e.removeEventListener("focusout",o),e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",s),window.removeEventListener("blur",r),window.removeEventListener("focus",n)}}},[g,d.isClosePausedRef]);let h=s.useCallback(e=>{let{tabbingDirection:t}=e,r=u().map(e=>{let r=e.ref.current,n=[r,...function(e){let t=[],r=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(;r.nextNode();)t.push(r.currentNode);return t}(r)];return"forwards"===t?n:n.reverse()});return("forwards"===t?r.reverse():r).flat()},[u]);return s.useEffect(()=>{let e=w.current;if(e){let t=t=>{let r=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!r){var n,o,s;let r=document.activeElement,a=t.shiftKey;if(t.target===e&&a){null===(n=f.current)||void 0===n||n.focus();return}let i=h({tabbingDirection:a?"backwards":"forwards"}),d=i.findIndex(e=>e===r);Q(i.slice(d+1))?t.preventDefault():a?null===(o=f.current)||void 0===o||o.focus():null===(s=m.current)||void 0===s||s.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[u,h]),(0,n.jsxs)(p.lg,{ref:c,role:"region","aria-label":a.replace("{hotkey}",y),tabIndex:-1,style:{pointerEvents:g?void 0:"none"},children:[g&&(0,n.jsx)(L,{ref:f,onFocusFromOutsideViewport:()=>{Q(h({tabbingDirection:"forwards"}))}}),(0,n.jsx)(T.Slot,{scope:r,children:(0,n.jsx)(v.sG.ol,{tabIndex:-1,...i,ref:x})}),g&&(0,n.jsx)(L,{ref:m,onFocusFromOutsideViewport:()=>{Q(h({tabbingDirection:"backwards"}))}})]})});O.displayName=S;var M="ToastFocusProxy",L=s.forwardRef((e,t)=>{let{__scopeToast:r,onFocusFromOutsideViewport:o,...s}=e,a=j(M,r);return(0,n.jsx)(g.s,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:e=>{var t;let r=e.relatedTarget;(null===(t=a.viewport)||void 0===t?void 0:t.contains(r))||o()}})});L.displayName=M;var _="Toast",F=s.forwardRef((e,t)=>{let{forceMount:r,open:o,defaultOpen:s,onOpenChange:a,...i}=e,[l=!0,u]=(0,x.i)({prop:o,defaultProp:s,onChange:a});return(0,n.jsx)(m.C,{present:r||l,children:(0,n.jsx)(K,{open:l,...i,ref:t,onClose:()=>u(!1),onPause:(0,w.c)(e.onPause),onResume:(0,w.c)(e.onResume),onSwipeStart:(0,d.m)(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:(0,d.m)(e.onSwipeMove,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x","".concat(t,"px")),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y","".concat(r,"px"))}),onSwipeCancel:(0,d.m)(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:(0,d.m)(e.onSwipeEnd,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x","".concat(t,"px")),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y","".concat(r,"px")),u(!1)})})})});F.displayName=_;var[k,U]=b(_,{onClose(){}}),K=s.forwardRef((e,t)=>{let{__scopeToast:r,type:o="foreground",duration:a,open:u,onClose:c,onEscapeKeyDown:f,onPause:m,onResume:x,onSwipeStart:y,onSwipeMove:g,onSwipeCancel:h,onSwipeEnd:E,...N}=e,b=j(_,r),[R,P]=s.useState(null),C=(0,l.s)(t,e=>P(e)),S=s.useRef(null),A=s.useRef(null),O=a||b.duration,M=s.useRef(0),L=s.useRef(O),F=s.useRef(0),{onToastAdd:U,onToastRemove:K}=b,G=(0,w.c)(()=>{var e;(null==R?void 0:R.contains(document.activeElement))&&(null===(e=b.viewport)||void 0===e||e.focus()),c()}),W=s.useCallback(e=>{e&&e!==1/0&&(window.clearTimeout(F.current),M.current=new Date().getTime(),F.current=window.setTimeout(G,e))},[G]);s.useEffect(()=>{let e=b.viewport;if(e){let t=()=>{W(L.current),null==x||x()},r=()=>{let e=new Date().getTime()-M.current;L.current=L.current-e,window.clearTimeout(F.current),null==m||m()};return e.addEventListener(I,r),e.addEventListener(D,t),()=>{e.removeEventListener(I,r),e.removeEventListener(D,t)}}},[b.viewport,O,m,x,W]),s.useEffect(()=>{u&&!b.isClosePausedRef.current&&W(O)},[u,O,b.isClosePausedRef,W]),s.useEffect(()=>(U(),()=>K()),[U,K]);let z=s.useMemo(()=>R?function e(t){let r=[];return Array.from(t.childNodes).forEach(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent&&r.push(t.textContent),t.nodeType===t.ELEMENT_NODE){let n=t.ariaHidden||t.hidden||"none"===t.style.display,o=""===t.dataset.radixToastAnnounceExclude;if(!n){if(o){let e=t.dataset.radixToastAnnounceAlt;e&&r.push(e)}else r.push(...e(t))}}}),r}(R):null,[R]);return b.viewport?(0,n.jsxs)(n.Fragment,{children:[z&&(0,n.jsx)(V,{__scopeToast:r,role:"status","aria-live":"foreground"===o?"assertive":"polite","aria-atomic":!0,children:z}),(0,n.jsx)(k,{scope:r,onClose:G,children:i.createPortal((0,n.jsx)(T.ItemSlot,{scope:r,children:(0,n.jsx)(p.bL,{asChild:!0,onEscapeKeyDown:(0,d.m)(f,()=>{b.isFocusedToastEscapeKeyDownRef.current||G(),b.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,n.jsx)(v.sG.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":b.swipeDirection,...N,ref:C,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:(0,d.m)(e.onKeyDown,e=>{"Escape"!==e.key||(null==f||f(e.nativeEvent),e.nativeEvent.defaultPrevented||(b.isFocusedToastEscapeKeyDownRef.current=!0,G()))}),onPointerDown:(0,d.m)(e.onPointerDown,e=>{0===e.button&&(S.current={x:e.clientX,y:e.clientY})}),onPointerMove:(0,d.m)(e.onPointerMove,e=>{if(!S.current)return;let t=e.clientX-S.current.x,r=e.clientY-S.current.y,n=!!A.current,o=["left","right"].includes(b.swipeDirection),s=["left","up"].includes(b.swipeDirection)?Math.min:Math.max,a=o?s(0,t):0,i=o?0:s(0,r),d="touch"===e.pointerType?10:2,l={x:a,y:i},u={originalEvent:e,delta:l};n?(A.current=l,Z("toast.swipeMove",g,u,{discrete:!1})):$(l,b.swipeDirection,d)?(A.current=l,Z("toast.swipeStart",y,u,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>d||Math.abs(r)>d)&&(S.current=null)}),onPointerUp:(0,d.m)(e.onPointerUp,e=>{let t=A.current,r=e.target;if(r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),A.current=null,S.current=null,t){let r=e.currentTarget,n={originalEvent:e,delta:t};$(t,b.swipeDirection,b.swipeThreshold)?Z("toast.swipeEnd",E,n,{discrete:!0}):Z("toast.swipeCancel",h,n,{discrete:!0}),r.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),b.viewport)})]}):null}),V=e=>{let{__scopeToast:t,children:r,...o}=e,a=j(_,t),[i,d]=s.useState(!1),[l,u]=s.useState(!1);return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{},t=(0,w.c)(e);(0,y.N)(()=>{let e=0,r=0;return e=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(r)}},[t])}(()=>d(!0)),s.useEffect(()=>{let e=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(e)},[]),l?null:(0,n.jsx)(f.Z,{asChild:!0,children:(0,n.jsx)(g.s,{...o,children:i&&(0,n.jsxs)(n.Fragment,{children:[a.label," ",r]})})})},G=s.forwardRef((e,t)=>{let{__scopeToast:r,...o}=e;return(0,n.jsx)(v.sG.div,{...o,ref:t})});G.displayName="ToastTitle";var W=s.forwardRef((e,t)=>{let{__scopeToast:r,...o}=e;return(0,n.jsx)(v.sG.div,{...o,ref:t})});W.displayName="ToastDescription";var z="ToastAction",X=s.forwardRef((e,t)=>{let{altText:r,...o}=e;return r.trim()?(0,n.jsx)(Y,{altText:r,asChild:!0,children:(0,n.jsx)(H,{...o,ref:t})}):(console.error("Invalid prop `altText` supplied to `".concat(z,"`. Expected non-empty `string`.")),null)});X.displayName=z;var q="ToastClose",H=s.forwardRef((e,t)=>{let{__scopeToast:r,...o}=e,s=U(q,r);return(0,n.jsx)(Y,{asChild:!0,children:(0,n.jsx)(v.sG.button,{type:"button",...o,ref:t,onClick:(0,d.m)(e.onClick,s.onClose)})})});H.displayName=q;var Y=s.forwardRef((e,t)=>{let{__scopeToast:r,altText:o,...s}=e;return(0,n.jsx)(v.sG.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...s,ref:t})});function Z(e,t,r,n){let{discrete:o}=n,s=r.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),o?(0,v.hO)(s,a):s.dispatchEvent(a)}var $=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=Math.abs(e.x),o=Math.abs(e.y),s=n>o;return"left"===t||"right"===t?s&&n>r:!s&&o>r};function Q(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}var B=r(29395),J=r(22250);let ee=s.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(O,{ref:t,className:(0,J.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),...o})});ee.displayName=O.displayName;let et=(0,B.F)("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"}}),er=s.forwardRef((e,t)=>{let{className:r,variant:o,...s}=e;return(0,n.jsx)(F,{ref:t,className:(0,J.cn)(et({variant:o}),r),...s})});er.displayName=F.displayName,s.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(X,{ref:t,className:(0,J.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),...o})}).displayName=X.displayName;let en=s.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(H,{ref:t,className:(0,J.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":"",...o,children:(0,n.jsx)(a.MKb,{className:"h-4 w-4"})})});en.displayName=H.displayName;let eo=s.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(G,{ref:t,className:(0,J.cn)("text-sm font-semibold [&+div]:text-xs",r),...o})});eo.displayName=G.displayName;let es=s.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(W,{ref:t,className:(0,J.cn)("text-sm opacity-90",r),...o})});function ea(){let{toasts:e}=(0,o.dj)();return(0,n.jsxs)(C,{children:[e.map(function(e){let{id:t,title:r,description:o,action:s,...a}=e;return(0,n.jsxs)(er,{...a,children:[(0,n.jsxs)("div",{className:"grid gap-1",children:[r&&(0,n.jsx)(eo,{children:r}),o&&(0,n.jsx)(es,{children:o})]}),s,(0,n.jsx)(en,{})]},t)}),(0,n.jsx)(ee,{})]})}es.displayName=W.displayName},85014:(e,t,r)=>{"use strict";r.d(t,{TooltipProvider:()=>i,ZI:()=>u,k$:()=>l,m_:()=>d});var n=r(20475),o=r(20107),s=r(43048),a=r(22250);let i=s.Kq,d=s.bL,l=s.l9,u=o.forwardRef((e,t)=>{let{className:r,sideOffset:o=4,...i}=e;return(0,n.jsx)(s.UC,{ref:t,sideOffset:o,className:(0,a.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),...i})});u.displayName=s.UC.displayName},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>p,oR:()=>c});var n=r(20107);let o=0,s=new Map,a=e=>{if(s.has(e))return;let t=setTimeout(()=>{s.delete(e),u({type:"REMOVE_TOAST",toastId:e})},1e6);s.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: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)}}},d=[],l={toasts:[]};function u(e){l=i(l,e),d.forEach(e=>{e(l)})}function c(e){let{...t}=e,r=(o=(o+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>u({type:"DISMISS_TOAST",toastId:r});return u({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>u({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function p(){let[e,t]=n.useState(l);return n.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>u({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>s});var n=r(64901),o=r(868);function s(){for(var e=arguments.length,t=Array(e),r=0;r{},25804:e=>{e.exports={style:{fontFamily:"'euclid', 'euclid Fallback'"},className:"__className_9dae3d"}},54245:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});var n=r(20107),o=r(64236),s=r(54122),a=e=>{let{present:t,children:r}=e,a=function(e){var t,r;let[o,a]=n.useState(),d=n.useRef({}),l=n.useRef(e),u=n.useRef("none"),[c,p]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=i(d.current);u.current="mounted"===c?e:"none"},[c]),(0,s.N)(()=>{let t=d.current,r=l.current;if(r!==e){let n=u.current,o=i(t);e?p("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):r&&n!==o?p("ANIMATION_OUT"):p("UNMOUNT"),l.current=e}},[e,p]),(0,s.N)(()=>{if(o){var e;let t;let r=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,n=e=>{let n=i(d.current).includes(e.animationName);if(e.target===o&&n&&(p("ANIMATION_END"),!l.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},s=e=>{e.target===o&&(u.current=i(d.current))};return o.addEventListener("animationstart",s),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{r.clearTimeout(t),o.removeEventListener("animationstart",s),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:n.useCallback(e=>{e&&(d.current=getComputedStyle(e)),a(e)},[])}}(t),d="function"==typeof r?r({present:a.isPresent}):n.Children.only(r),l=(0,o.s)(a.ref,function(e){var t,r;let n=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?e.ref:(o=(n=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(d));return"function"==typeof r||a.isPresent?n.cloneElement(d,{ref:l}):null};function i(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},91475:(e,t,r)=>{"use strict";r.d(t,{b:()=>i,s:()=>a});var n=r(20107),o=r(34544),s=r(20475),a=n.forwardRef((e,t)=>(0,s.jsx)(o.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));a.displayName="VisuallyHidden";var i=a}},e=>{var t=t=>e(e.s=t);e.O(0,[3752,9980,7780,8885,3746,3048,2682,191,6035,7358],()=>t(14630)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/legal/privacy/page-07fc14117865d470.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/legal/privacy/page-07fc14117865d470.js new file mode 100644 index 0000000..b0cc21a --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/legal/privacy/page-07fc14117865d470.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[161,3567],{97372:(r,e,a)=>{Promise.resolve().then(a.bind(a,76554)),Promise.resolve().then(a.t.bind(a,9477,23))},76554:(r,e,a)=>{"use strict";a.d(e,{Separator:()=>l});var t=a(20475),i=a(20107),n=a(88853),o=a(22250);let l=i.forwardRef((r,e)=>{let{className:a,orientation:i="horizontal",decorative:l=!0,...s}=r;return(0,t.jsx)(n.b,{ref:e,decorative:l,orientation:i,className:(0,o.cn)("shrink-0 bg-border","horizontal"===i?"h-[1px] w-full":"h-full w-[1px]",a),...s})});l.displayName=n.b.displayName},22250:(r,e,a)=>{"use strict";a.d(e,{cn:()=>n});var t=a(64901),i=a(868);function n(){for(var r=arguments.length,e=Array(r),a=0;a{"use strict";a.d(e,{hO:()=>s,sG:()=>l});var t=a(20107),i=a(25642),n=a(61837),o=a(20475),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((r,e)=>{let a=t.forwardRef((r,a)=>{let{asChild:t,...i}=r,l=t?n.DX:e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(l,{...i,ref:a})});return a.displayName=`Primitive.${e}`,{...r,[e]:a}},{});function s(r,e){r&&i.flushSync(()=>r.dispatchEvent(e))}},88853:(r,e,a)=>{"use strict";a.d(e,{b:()=>d});var t=a(20107),i=a(34544),n=a(20475),o="horizontal",l=["horizontal","vertical"],s=t.forwardRef((r,e)=>{let{decorative:a,orientation:t=o,...s}=r,d=l.includes(t)?t:o;return(0,n.jsx)(i.sG.div,{"data-orientation":d,...a?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...s,ref:e})});s.displayName="Separator";var d=s}},r=>{var e=e=>r(r.s=e);r.O(0,[7780,9477,191,6035,7358],()=>e(97372)),_N_E=r.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/legal/tos/page-8094189e5304dc77.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/legal/tos/page-8094189e5304dc77.js new file mode 100644 index 0000000..b0cc21a --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/legal/tos/page-8094189e5304dc77.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[161,3567],{97372:(r,e,a)=>{Promise.resolve().then(a.bind(a,76554)),Promise.resolve().then(a.t.bind(a,9477,23))},76554:(r,e,a)=>{"use strict";a.d(e,{Separator:()=>l});var t=a(20475),i=a(20107),n=a(88853),o=a(22250);let l=i.forwardRef((r,e)=>{let{className:a,orientation:i="horizontal",decorative:l=!0,...s}=r;return(0,t.jsx)(n.b,{ref:e,decorative:l,orientation:i,className:(0,o.cn)("shrink-0 bg-border","horizontal"===i?"h-[1px] w-full":"h-full w-[1px]",a),...s})});l.displayName=n.b.displayName},22250:(r,e,a)=>{"use strict";a.d(e,{cn:()=>n});var t=a(64901),i=a(868);function n(){for(var r=arguments.length,e=Array(r),a=0;a{"use strict";a.d(e,{hO:()=>s,sG:()=>l});var t=a(20107),i=a(25642),n=a(61837),o=a(20475),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((r,e)=>{let a=t.forwardRef((r,a)=>{let{asChild:t,...i}=r,l=t?n.DX:e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(l,{...i,ref:a})});return a.displayName=`Primitive.${e}`,{...r,[e]:a}},{});function s(r,e){r&&i.flushSync(()=>r.dispatchEvent(e))}},88853:(r,e,a)=>{"use strict";a.d(e,{b:()=>d});var t=a(20107),i=a(34544),n=a(20475),o="horizontal",l=["horizontal","vertical"],s=t.forwardRef((r,e)=>{let{decorative:a,orientation:t=o,...s}=r,d=l.includes(t)?t:o;return(0,n.jsx)(i.sG.div,{"data-orientation":d,...a?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...s,ref:e})});s.displayName="Separator";var d=s}},r=>{var e=e=>r(r.s=e);r.O(0,[7780,9477,191,6035,7358],()=>e(97372)),_N_E=r.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/login/page-0a8c0a357c794cc3.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/login/page-0a8c0a357c794cc3.js new file mode 100644 index 0000000..3a5fb32 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/login/page-0a8c0a357c794cc3.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4520],{74674:(e,t,r)=>{Promise.resolve().then(r.bind(r,56960))},56960:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var s=r(20475),n=r(20107),a=r(19546),o=r(16118),i=r(32857),l=r(114),c=r(46052),u=r(42541),d=r(64219),f=r(49153),m=r(9477),h=r.n(m);let p=(0,r(39997).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),v=()=>{let{toast:e}=(0,i.dj)(),[t,r]=(0,n.useState)(""),[m,v]=(0,n.useState)(""),{login:g,logout:x}=(0,a.A)(),{luciLogin:y}=((0,o.useRouter)(),{luciLogin:async function(e){let t=encodeURIComponent(e);try{return window.location.href="/cgi-bin/luci?luci_username=root&luci_password="+t,!0}catch(e){return console.error("Login error:",e),!1}}}),{isServerAlive:b}=(0,c.A)();(0,n.useEffect)(()=>{b||x()},[b,x]);let w=async e=>{e.preventDefault(),await g(t)||v("Invalid password")};return(0,s.jsx)("div",{className:"bg-background flex min-h-svh flex-col items-center justify-center gap-6 p-6 md:p-10",children:(0,s.jsx)("div",{className:"w-full max-w-sm",children:(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,s.jsx)("a",{href:"/",className:"flex flex-col items-center gap-2 font-medium",children:(0,s.jsx)("img",{src:"/login-logo.svg",alt:"QuecManager Logo",className:"size-36 aspect-square object-cover"})}),(0,s.jsx)("h1",{className:"text-xl font-bold",children:"Welcome to QuecManager"}),(0,s.jsxs)("div",{className:"text-center text-sm",children:["Forgot your password?"," ",(0,s.jsx)(u.$,{variant:"link",type:"button",className:"p-0 underline",onClick:()=>{e({variant:"destructive",title:"Forgot your password?",description:"Use the toolkit script to create a new password.",action:(0,s.jsx)(l.A,{})})},children:"Reset it"})]})]}),(0,s.jsx)("form",{onSubmit:w,children:(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"grid gap-3",children:[(0,s.jsx)(f.J,{htmlFor:"email",children:"Password"}),(0,s.jsx)(d.p,{id:"password",type:"password",required:!0,value:t,onChange:e=>r(e.target.value)})]}),(0,s.jsxs)("div",{className:"grid gap-2",children:[(0,s.jsx)(u.$,{type:"submit",className:"w-full",children:"Login"}),(0,s.jsxs)(h(),{href:"/",className:"flex items-center",children:[(0,s.jsx)(p,{className:"size-4 gap-x-1 text-muted-foreground"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground underline underline-offset-4",children:"Go Back"})]})]}),m&&(0,s.jsx)("div",{className:"bg-rose-500 p-1 rounded-md flex text-center justify-center items-center",children:(0,s.jsx)("p",{children:m})})]})})]}),(0,s.jsxs)("div",{className:"text-muted-foreground *:[a]:hover:text-primary text-center text-xs text-balance *:[a]:underline *:[a]:underline-offset-4",children:["By clicking continue, you agree to our"," ",(0,s.jsx)(h(),{href:"/legal/tos",className:"text-primary underline underline-offset-4",children:"Terms of Service"})," ","and"," ",(0,s.jsx)(h(),{href:"/legal/privacy",className:"text-primary underline underline-offset-4",children:"Privacy Policy"}),"."]})]})})})}},114:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s=r(20475),n=r(42541),a=r(7197);let o=()=>(0,s.jsx)(n.$,{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)(a.ERf,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>c,r:()=>l});var s=r(20475),n=r(20107),a=r(61837),o=r(29395),i=r(22250);let l=(0,o.F)("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:o,asChild:c=!1,...u}=e,d=c?a.DX:"button";return(0,s.jsx)(d,{className:(0,i.cn)(l({variant:n,size:o,className:r})),ref:t,...u})});c.displayName="Button"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>o});var s=r(20475),n=r(20107),a=r(22250);let o=n.forwardRef((e,t)=>{let{className:r,type:n,...o}=e;return(0,s.jsx)("input",{type:n,className:(0,a.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"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>c});var s=r(20475),n=r(20107),a=r(21840),o=r(29395),i=r(22250);let l=(0,o.F)("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)(a.b,{ref:t,className:(0,i.cn)(l(),r),...n})});c.displayName=a.b.displayName},19546:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(20107),n=r(16118);function a(){let[e,t]=(0,s.useState)(!1),r=(0,n.useRouter)();function a(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}async function o(){localStorage.removeItem("session"),t(!1),fetch("/cgi-bin/quecmanager/logout.sh",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"".concat(localStorage.getItem("authToken"))}}),localStorage.removeItem("authToken"),r.push("/")}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&&a(e.token),!0)}();return t(e),e}return(0,s.useEffect)(()=>{i()},[]),{isAuthenticated:e,login:async function(e){let s=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/quecmanager/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;{(null==n?void 0:n.token)&&localStorage.setItem("authToken",n.token);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 a(e),t(!0),r.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:o,checkAuth:i}}},46052:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(20107),n=r(19546);let a=()=>{let[e,t]=(0,s.useState)(!0),{logout:r}=(0,n.A)();async function a(){try{let e=await fetch("/cgi-bin/quecmanager/heartbeat.sh",{method:"GET",headers:{"Cache-Control":"no-cache"}});if(!e.ok){o();return}(await e.json()).alive?t(!0):o()}catch(e){o()}}function o(){t(!1),r()}return(0,s.useEffect)(()=>{let e=setInterval(a,5e3);return()=>{clearInterval(e)}},[]),{isServerAlive:e}}},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>f,oR:()=>d});var s=r(20107);let n=0,a=new Map,o=e=>{if(a.has(e))return;let t=setTimeout(()=>{a.delete(e),u({type:"REMOVE_TOAST",toastId:e})},1e6);a.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: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)}}},l=[],c={toasts:[]};function u(e){c=i(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})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>a});var s=r(64901),n=r(868);function a(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{A:()=>l});var s=r(20107);let n=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.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,s.forwardRef)((e,t)=>{let{color:r="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:c="",children:u,iconNode:d,...f}=e;return(0,s.createElement)("svg",{ref:t,...o,width:n,height:n,stroke:r,strokeWidth:l?24*Number(i)/Number(n):i,className:a("lucide",c),...f},[...d.map(e=>{let[t,r]=e;return(0,s.createElement)(t,r)}),...Array.isArray(u)?u:[u]])}),l=(e,t)=>{let r=(0,s.forwardRef)((r,o)=>{let{className:l,...c}=r;return(0,s.createElement)(i,{ref:o,iconNode:t,className:a("lucide-".concat(n(e)),l),...c})});return r.displayName="".concat(e),r}},16118:(e,t,r)=>{"use strict";var s=r(65834);r.o(s,"usePathname")&&r.d(t,{usePathname:function(){return s.usePathname}}),r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}})},21840:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});var s=r(20107),n=r(34544),a=r(20475),o=s.forwardRef((e,t)=>(0,a.jsx)(n.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var i=o},34544:(e,t,r)=>{"use strict";r.d(t,{hO:()=>l,sG:()=>i});var s=r(20107),n=r(25642),a=r(61837),o=r(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=s.forwardRef((e,r)=>{let{asChild:s,...n}=e,i=s?a.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i,{...n,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}},29395:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});let s=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,t,r=0,s="";rr=>{var a;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:o,defaultVariants:i}=t,l=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],n=null==i?void 0:i[e];if(null===t)return null;let a=s(t)||s(n);return o[e][a]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return n(e,l,null==t?void 0:null===(a=t.compoundVariants)||void 0===a?void 0:a.reduce((e,t)=>{let{class:r,className:s,...n}=t;return Object.entries(n).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...c}[t]):({...i,...c})[t]===r})?[...e,r,s]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,9477,191,6035,7358],()=>t(74674)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/login/page-241a01e6125b9e54.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/login/page-241a01e6125b9e54.js deleted file mode 100644 index 2d950fa..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/login/page-241a01e6125b9e54.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4520],{74674:(e,t,r)=>{Promise.resolve().then(r.bind(r,25274))},25274:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var s=r(20475),a=r(20107),n=r(19546),o=r(32857),i=r(114),l=r(46052),c=r(42541),u=r(64219),d=r(49153);let f=()=>{let{toast:e}=(0,o.dj)(),[t,r]=(0,a.useState)(""),[f,m]=(0,a.useState)(""),{login:h,logout:p}=(0,n.A)(),{isServerAlive:g}=(0,l.A)();(0,a.useEffect)(()=>{g||p()},[g,p]);let v=async e=>{e.preventDefault(),await h(t)||m("Invalid password")};return(0,s.jsx)("div",{className:"bg-background flex min-h-svh flex-col items-center justify-center gap-6 p-6 md:p-10",children:(0,s.jsx)("div",{className:"w-full max-w-sm",children:(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,s.jsx)("a",{href:"/",className:"flex flex-col items-center gap-2 font-medium",children:(0,s.jsx)("img",{src:"/login-logo.svg",alt:"QuecManager Logo",className:"size-36 aspect-square object-cover"})}),(0,s.jsx)("h1",{className:"text-xl font-bold",children:"Welcome to QuecManager"}),(0,s.jsxs)("div",{className:"text-center text-sm",children:["Forgot your password?"," ",(0,s.jsx)(c.$,{variant:"link",type:"button",className:"p-0 underline",onClick:()=>{e({variant:"destructive",title:"Forgot your password?",description:"Use the toolkit script to create a new password.",action:(0,s.jsx)(i.A,{})})},children:"Reset it"})]})]}),(0,s.jsx)("form",{onSubmit:v,children:(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"grid gap-3",children:[(0,s.jsx)(d.J,{htmlFor:"email",children:"Password"}),(0,s.jsx)(u.p,{id:"password",type:"password",required:!0,value:t,onChange:e=>r(e.target.value)})]}),(0,s.jsx)(c.$,{type:"submit",className:"w-full",children:"Login"}),f&&(0,s.jsx)("div",{className:"bg-rose-500 p-1 rounded-md flex text-center justify-center items-center",children:(0,s.jsx)("p",{children:f})})]})})]}),(0,s.jsxs)("div",{className:"text-muted-foreground *:[a]:hover:text-primary text-center text-xs text-balance *:[a]:underline *:[a]:underline-offset-4",children:["By clicking continue, you agree to our"," ",(0,s.jsx)("a",{href:"#",children:"Terms of Service"})," and ",(0,s.jsx)("a",{href:"#",children:"Privacy Policy"}),"."]})]})})})}},114:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s=r(20475),a=r(42541),n=r(7197);let o=()=>(0,s.jsx)(a.$,{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.ERf,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>c,r:()=>l});var s=r(20475),a=r(20107),n=r(61837),o=r(29395),i=r(22250);let l=(0,o.F)("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=a.forwardRef((e,t)=>{let{className:r,variant:a,size:o,asChild:c=!1,...u}=e,d=c?n.DX:"button";return(0,s.jsx)(d,{className:(0,i.cn)(l({variant:a,size:o,className:r})),ref:t,...u})});c.displayName="Button"},64219:(e,t,r)=>{"use strict";r.d(t,{p:()=>o});var s=r(20475),a=r(20107),n=r(22250);let o=a.forwardRef((e,t)=>{let{className:r,type:a,...o}=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,...o})});o.displayName="Input"},49153:(e,t,r)=>{"use strict";r.d(t,{J:()=>c});var s=r(20475),a=r(20107),n=r(21840),o=r(29395),i=r(22250);let l=(0,o.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.b,{ref:t,className:(0,i.cn)(l(),r),...a})});c.displayName=n.b.displayName},19546:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(20107),a=r(16118);function n(){let[e,t]=(0,s.useState)(!1),r=(0,a.useRouter)();function n(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}async function o(){localStorage.removeItem("session"),t(!1),fetch("/cgi-bin/quecmanager/logout.sh",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"".concat(localStorage.getItem("authToken"))}}),localStorage.removeItem("authToken"),r.push("/")}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,s.useEffect)(()=>{i()},[]),{isAuthenticated:e,login:async function(e){let s=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(s)}),a=await e.json();if(console.log(a),"success"!==a.state)return!1;{(null==a?void 0:a.token)&&localStorage.setItem("authToken",a.token);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),r.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:o,checkAuth:i}}},46052:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(20107),a=r(19546);let n=()=>{let[e,t]=(0,s.useState)(!0),{logout:r}=(0,a.A)();async function n(){try{let e=await fetch("/cgi-bin/quecmanager/heartbeat.sh",{method:"GET",headers:{"Cache-Control":"no-cache"}});if(!e.ok){o();return}(await e.json()).alive?t(!0):o()}catch(e){o()}}function o(){t(!1),r()}return(0,s.useEffect)(()=>{let e=setInterval(n,5e3);return()=>{clearInterval(e)}},[]),{isServerAlive:e}}},32857:(e,t,r)=>{"use strict";r.d(t,{dj:()=>f,oR:()=>d});var s=r(20107);let a=0,n=new Map,o=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),u({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: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)}}},l=[],c={toasts:[]};function u(e){c=i(c,e),l.forEach(e=>{e(c)})}function d(e){let{...t}=e,r=(a=(a+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})}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>n});var s=r(64901),a=r(868);function n(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";var s=r(65834);r.o(s,"usePathname")&&r.d(t,{usePathname:function(){return s.usePathname}}),r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}})},21840:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});var s=r(20107),a=r(34544),n=r(20475),o=s.forwardRef((e,t)=>(0,n.jsx)(a.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var i=o},34544:(e,t,r)=>{"use strict";r.d(t,{hO:()=>l,sG:()=>i});var s=r(20107),a=r(25642),n=r(61837),o=r(20475),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=s.forwardRef((e,r)=>{let{asChild:s,...a}=e,i=s?n.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&a.flushSync(()=>e.dispatchEvent(t))}}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,1258,191,6035,7358],()=>t(74674)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/page-326b7ebc65edd149.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/page-326b7ebc65edd149.js new file mode 100644 index 0000000..fb156f3 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/page-326b7ebc65edd149.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{80827:(e,t,r)=>{Promise.resolve().then(r.bind(r,69363))},69363:(e,t,r)=>{"use strict";r.d(t,{default:()=>T});var a=r(20475),n=r(20107),s=r(90805),l=r(17255),o=r(4538),i=r(41797),d=r(98456),c=(0,s.gu)({chartName:"BarChart",GraphicalChild:l.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:o.W},{axisType:"yAxis",AxisComp:i.h}],formatAxisMap:d.pr}),u=r(72167),m=r(36760),f=r(42541),p=r(9477),x=r.n(p),h=r(1307),v=r(76554),g=r(7197),N=r(92159),y=r(86118);function b(){let{setTheme:e}=(0,N.D)();return(0,a.jsxs)(y.rI,{children:[(0,a.jsx)(y.ty,{asChild:!0,children:(0,a.jsxs)(f.$,{variant:"outline",size:"icon",children:[(0,a.jsx)(g.gLX,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,a.jsx)(g.rRK,{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)(y.SQ,{align:"end",children:[(0,a.jsx)(y._2,{onClick:()=>e("light"),children:"Light"}),(0,a.jsx)(y._2,{onClick:()=>e("dark"),children:"Dark"}),(0,a.jsx)(y._2,{onClick:()=>e("system"),children:"System"})]})]})}let j={rsrp:{min:-140,max:-70},rsrq:{min:-20,max:-10},sinr:{min:0,max:20}},w=(e,t)=>{let r=j[e];return Math.min(Math.max(Math.round(10*((Math.max(Math.min(t,r.max),r.min)-r.min)/(r.max-r.min)*100))/10,0),100)};var k=r(19546),R=r(46052);let S=e=>{if(!e)return null;let t=e.map(Number).filter(e=>-32768!==e&&5!==e&&-140!==e);return 0===t.length?null:Math.round(t.reduce((e,t)=>e+t,0)/t.length)};function T(){var e,t,r;let[s,d]=(0,n.useState)({rsrp:null,rsrq:null,sinr:null,networkType:"",bands:null,networkName:""}),[p,N]=(0,n.useState)(!0),y=(0,n.useRef)(null),{logout:j}=(0,k.A)(),{isServerAlive:T}=(0,R.A)();(0,n.useEffect)(()=>{T||j();let e=setInterval(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=5"),t=await e.json();if(console.log(t),t){let e={rsrp:S(t[0].response.match(/-?\d+/g)),rsrq:S(t[1].response.match(/-?\d+/g)),sinr:S(t[2].response.match(/-?\d+/g)),networkType:"",bands:null,networkName:""};console.log(e);let r=t[3].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g),a=null==r?void 0:r.some(e=>e.includes("LTE")),n=null==r?void 0:r.some(e=>e.includes("NR5G"));e.networkType=a&&n?"NR5G-NSA":a?"LTE":n?"NR5G-SA":"No Signal";let s=null==r?void 0:r.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(e.split(" ")[2].replace(/"/g,"").trim()):void 0);e.bands=s?s.join(", "):"No Signal",e.networkName=t[4].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim()||"No Signal",d(e),y.current=e}}catch(e){console.error("Error fetching stats:",e)}finally{p&&N(!1)}},2e3);return()=>clearInterval(e)},[p,T,j]);let C=[{activity:"rsrp",value:null!==s.rsrp?w("rsrp",s.rsrp):0,label:null!==s.rsrp?"".concat(s.rsrp.toFixed(1)," dBm"):"No Signal",fill:"hsl(var(--chart-1))"},{activity:"rsrq",value:null!==s.rsrq?w("rsrq",s.rsrq):0,label:null!==s.rsrq?"".concat(s.rsrq.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-2))"},{activity:"sinr",value:null!==s.sinr?w("sinr",s.sinr):0,label:null!==s.sinr?"".concat(s.sinr.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-3))"}];return(0,a.jsxs)(u.Zp,{className:"xl:max-w-xl xl:w-[800px] max-w-sm",children:[(0,a.jsx)(u.aR,{children:(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,a.jsx)(u.ZB,{children:"QuecManager Quick Stats"}),(0,a.jsx)(b,{})]})}),(0,a.jsxs)(u.Wu,{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:[p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:s.networkName}),(0,a.jsx)(v.Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:s.networkType}),(0,a.jsx)(v.Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),p?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:s.bands})]}),(0,a.jsx)("div",{className:"flex gap-4 xl:p-4 p-2 pb-2",children:p?(0,a.jsx)(m.E,{className:"h-[140px] w-full"}):(0,a.jsx)(h.at,{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)(c,{margin:{left:0,right:0,top:0,bottom:10},data:C,layout:"vertical",barSize:32,barGap:2,children:[(0,a.jsx)(o.W,{type:"number",dataKey:"value",hide:!0}),(0,a.jsx)(i.h,{dataKey:"activity",type:"category",tickLine:!1,tickMargin:4,axisLine:!1,className:"uppercase"}),(0,a.jsx)(l.y,{dataKey:"value",radius:5})]})})})]}),(0,a.jsxs)(u.wL,{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"}),p?(0,a.jsx)(m.E,{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=s.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)(v.Separator,{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"}),p?(0,a.jsx)(m.E,{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=s.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)(v.Separator,{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"}),p?(0,a.jsx)(m.E,{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=s.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.jsxs)("div",{className:"grid lg:grid-cols-2 grid-flow-row gap-4",children:[(0,a.jsx)(f.$,{asChild:!0,children:(0,a.jsxs)(x(),{href:"/login",children:["Login to QuecManager",(0,a.jsx)(g.flY,{className:"w-4 h-4"})]})}),(0,a.jsx)(f.$,{variant:"secondary",asChild:!0,children:(0,a.jsxs)("a",{href:"/cgi-bin/luci",children:["Login to Luci Interface",(0,a.jsx)(g.flY,{className:"w-4 h-4"})]})})]})]})]})}},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>i});var a=r(20475),n=r(20107),s=r(61837),l=r(29395),o=r(22250);let i=(0,l.F)("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.DX:"button";return(0,a.jsx)(u,{className:(0,o.cn)(i({variant:n,size:l,className:r})),ref:t,...c})});d.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>l,aR:()=>o,wL:()=>u});var a=r(20475),n=r(20107),s=r(22250);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"},1307:(e,t,r)=>{"use strict";r.d(t,{II:()=>p,Nt:()=>x,at:()=>m});var a=r(20475),n=r(20107),s=r(81155),l=r(58601),o=r(58736),i=r(22250);let d={light:"",dark:".dark"},c=n.createContext(null);function u(){let e=n.useContext(c);if(!e)throw Error("useChart must be used within a ");return e}let m=n.forwardRef((e,t)=>{let{id:r,className:l,children:o,config:d,...u}=e,m=n.useId(),p="chart-".concat(r||m.replace(/:/g,""));return(0,a.jsx)(c.Provider,{value:{config:d},children:(0,a.jsxs)("div",{"data-chart":p,ref:t,className:(0,i.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",l),...u,children:[(0,a.jsx)(f,{id:p,config:d}),(0,a.jsx)(s.u,{children:o})]})})});m.displayName="Chart";let f=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(d).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},p=l.m,x=n.forwardRef((e,t)=>{let{active:r,payload:s,className:l,indicator:o="dot",hideLabel:d=!1,hideIndicator:c=!1,label:m,labelFormatter:f,labelClassName:p,formatter:x,color:v,nameKey:g,labelKey:N}=e,{config:y}=u(),b=n.useMemo(()=>{var e;if(d||!(null==s?void 0:s.length))return null;let[t]=s,r="".concat(N||t.dataKey||t.name||"value"),n=h(y,t,r),l=N||"string"!=typeof m?null==n?void 0:n.label:(null===(e=y[m])||void 0===e?void 0:e.label)||m;return f?(0,a.jsx)("div",{className:(0,i.cn)("font-medium",p),children:f(l,s)}):l?(0,a.jsx)("div",{className:(0,i.cn)("font-medium",p),children:l}):null},[m,f,s,d,p,y,N]);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,i.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(g||e.name||e.dataKey||"value"),n=h(y,e,r),s=v||e.payload.fill||e.color;return(0,a.jsx)("div",{className:(0,i.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:x&&(null==e?void 0:e.value)!==void 0&&e.name?x(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,{}):!c&&(0,a.jsx)("div",{className:(0,i.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,i.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)})})]})});function h(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.displayName="ChartTooltip",o.s,n.forwardRef((e,t)=>{let{className:r,hideIcon:n=!1,payload:s,verticalAlign:l="bottom",nameKey:o}=e,{config:d}=u();return(null==s?void 0:s.length)?(0,a.jsx)("div",{ref:t,className:(0,i.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=h(d,e,t);return(0,a.jsxs)("div",{className:(0,i.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"},86118:(e,t,r)=>{"use strict";r.d(t,{SQ:()=>c,_2:()=>u,lp:()=>m,mB:()=>f,rI:()=>i,ty:()=>d});var a=r(20475),n=r(20107),s=r(77536),l=r(7197),o=r(22250);let i=s.bL,d=s.l9;s.YJ,s.ZL,s.Pb,s.z6,n.forwardRef((e,t)=>{let{className:r,inset:n,children:i,...d}=e;return(0,a.jsxs)(s.ZP,{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.vKP,{className:"ml-auto h-4 w-4"})]})}).displayName=s.ZP.displayName,n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.G5,{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.G5.displayName;let c=n.forwardRef((e,t)=>{let{className:r,sideOffset:n=4,...l}=e;return(0,a.jsx)(s.ZL,{children:(0,a.jsx)(s.UC,{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.UC.displayName;let u=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.q7,{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.q7.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,checked:i,...d}=e;return(0,a.jsxs)(s.H_,{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.VF,{children:(0,a.jsx)(l.Srz,{className:"h-4 w-4"})})}),n]})}).displayName=s.H_.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,...i}=e;return(0,a.jsxs)(s.hN,{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.VF,{children:(0,a.jsx)(l.RiX,{className:"h-4 w-4 fill-current"})})}),n]})}).displayName=s.hN.displayName;let m=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.JU,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",r),...l})});m.displayName=s.JU.displayName;let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.wv,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...n})});f.displayName=s.wv.displayName},76554:(e,t,r)=>{"use strict";r.d(t,{Separator:()=>o});var a=r(20475),n=r(20107),s=r(88853),l=r(22250);let o=n.forwardRef((e,t)=>{let{className:r,orientation:n="horizontal",decorative:o=!0,...i}=e;return(0,a.jsx)(s.b,{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.b.displayName},36760:(e,t,r)=>{"use strict";r.d(t,{E:()=>s});var a=r(20475),n=r(22250);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})}},19546:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(20107),n=r(16118);function s(){let[e,t]=(0,a.useState)(!1),r=(0,n.useRouter)();function s(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}async function l(){localStorage.removeItem("session"),t(!1),fetch("/cgi-bin/quecmanager/logout.sh",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"".concat(localStorage.getItem("authToken"))}}),localStorage.removeItem("authToken"),r.push("/")}function o(){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?(l(),!1):(t-e.lastActivity>3e5&&s(e.token),!0)}();return t(e),e}return(0,a.useEffect)(()=>{o()},[]),{isAuthenticated:e,login:async function(e){let a=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(a)}),n=await e.json();if(console.log(n),"success"!==n.state)return!1;{(null==n?void 0:n.token)&&localStorage.setItem("authToken",n.token);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 s(e),t(!0),r.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:l,checkAuth:o}}},46052:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(20107),n=r(19546);let s=()=>{let[e,t]=(0,a.useState)(!0),{logout:r}=(0,n.A)();async function s(){try{let e=await fetch("/cgi-bin/quecmanager/heartbeat.sh",{method:"GET",headers:{"Cache-Control":"no-cache"}});if(!e.ok){l();return}(await e.json()).alive?t(!0):l()}catch(e){l()}}function l(){t(!1),r()}return(0,a.useEffect)(()=>{let e=setInterval(s,5e3);return()=>{clearInterval(e)}},[]),{isServerAlive:e}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>s});var a=r(64901),n=r(868);function s(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{C:()=>l});var a=r(20107),n=r(64236),s=r(54122),l=e=>{let{present:t,children:r}=e,l=function(e){var t,r;let[n,l]=a.useState(),i=a.useRef({}),d=a.useRef(e),c=a.useRef("none"),[u,m]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},a.useReducer((e,t)=>{let a=r[e][t];return null!=a?a:e},t));return a.useEffect(()=>{let e=o(i.current);c.current="mounted"===u?e:"none"},[u]),(0,s.N)(()=>{let t=i.current,r=d.current;if(r!==e){let a=c.current,n=o(t);e?m("MOUNT"):"none"===n||(null==t?void 0:t.display)==="none"?m("UNMOUNT"):r&&a!==n?m("ANIMATION_OUT"):m("UNMOUNT"),d.current=e}},[e,m]),(0,s.N)(()=>{if(n){var e;let t;let r=null!==(e=n.ownerDocument.defaultView)&&void 0!==e?e:window,a=e=>{let a=o(i.current).includes(e.animationName);if(e.target===n&&a&&(m("ANIMATION_END"),!d.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},s=e=>{e.target===n&&(c.current=o(i.current))};return n.addEventListener("animationstart",s),n.addEventListener("animationcancel",a),n.addEventListener("animationend",a),()=>{r.clearTimeout(t),n.removeEventListener("animationstart",s),n.removeEventListener("animationcancel",a),n.removeEventListener("animationend",a)}}m("ANIMATION_END")},[n,m]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:a.useCallback(e=>{e&&(i.current=getComputedStyle(e)),l(e)},[])}}(t),i="function"==typeof r?r({present:l.isPresent}):a.Children.only(r),d=(0,n.s)(l.ref,function(e){var t,r;let a=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,n=a&&"isReactWarning"in a&&a.isReactWarning;return n?e.ref:(n=(a=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in a&&a.isReactWarning)?e.props.ref:e.props.ref||e.ref}(i));return"function"==typeof r||l.isPresent?a.cloneElement(i,{ref:d}):null};function o(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},88853:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var a=r(20107),n=r(34544),s=r(20475),l="horizontal",o=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=l,...i}=e,d=o.includes(a)?a:l;return(0,s.jsx)(n.sG.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}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,7780,8885,3746,9464,9477,2682,1074,9873,191,6035,7358],()=>t(80827)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/page-bd8d82f4aadb46b5.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/page-bd8d82f4aadb46b5.js deleted file mode 100644 index 391fde5..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/page-bd8d82f4aadb46b5.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{80827:(e,t,r)=>{Promise.resolve().then(r.bind(r,69363))},69363:(e,t,r)=>{"use strict";r.d(t,{default:()=>C});var a=r(20475),n=r(20107),s=r(90805),l=r(17255),o=r(4538),i=r(41797),d=r(98456),c=(0,s.gu)({chartName:"BarChart",GraphicalChild:l.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:o.W},{axisType:"yAxis",AxisComp:i.h}],formatAxisMap:d.pr}),u=r(72167),m=r(36760),f=r(42541),x=r(9477),p=r.n(x),h=r(1307),v=r(76554),g=r(7197),N=r(92159),y=r(86118);function b(){let{setTheme:e}=(0,N.D)();return(0,a.jsxs)(y.rI,{children:[(0,a.jsx)(y.ty,{asChild:!0,children:(0,a.jsxs)(f.$,{variant:"outline",size:"icon",children:[(0,a.jsx)(g.gLX,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,a.jsx)(g.rRK,{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)(y.SQ,{align:"end",children:[(0,a.jsx)(y._2,{onClick:()=>e("light"),children:"Light"}),(0,a.jsx)(y._2,{onClick:()=>e("dark"),children:"Dark"}),(0,a.jsx)(y._2,{onClick:()=>e("system"),children:"System"})]})]})}let j={rsrp:{min:-140,max:-70},rsrq:{min:-20,max:-10},sinr:{min:0,max:20}},w=(e,t)=>{let r=j[e];return Math.min(Math.max(Math.round(10*((Math.max(Math.min(t,r.max),r.min)-r.min)/(r.max-r.min)*100))/10,0),100)};var k=r(19546),R=r(46052);let T=e=>{if(!e)return null;let t=e.map(Number).filter(e=>-32768!==e&&5!==e&&-140!==e);return 0===t.length?null:Math.round(t.reduce((e,t)=>e+t,0)/t.length)};function C(){var e,t,r;let[s,d]=(0,n.useState)({rsrp:null,rsrq:null,sinr:null,networkType:"",bands:null,networkName:""}),[x,N]=(0,n.useState)(!0),y=(0,n.useRef)(null),{logout:j}=(0,k.A)(),{isServerAlive:C}=(0,R.A)();(0,n.useEffect)(()=>{C||j();let e=setInterval(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=5"),t=await e.json();if(console.log(t),t){let e={rsrp:T(t[0].response.match(/-?\d+/g)),rsrq:T(t[1].response.match(/-?\d+/g)),sinr:T(t[2].response.match(/-?\d+/g)),networkType:"",bands:null,networkName:""};console.log(e);let r=t[3].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g),a=null==r?void 0:r.some(e=>e.includes("LTE")),n=null==r?void 0:r.some(e=>e.includes("NR5G"));e.networkType=a&&n?"NR5G-NSA":a?"LTE":n?"NR5G-SA":"No Signal";let s=null==r?void 0:r.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(e.split(" ")[2].replace(/"/g,"").trim()):void 0);e.bands=s?s.join(", "):"No Signal",e.networkName=t[4].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim()||"No Signal",d(e),y.current=e}}catch(e){console.error("Error fetching stats:",e)}finally{x&&N(!1)}},2e3);return()=>clearInterval(e)},[x,C,j]);let S=[{activity:"rsrp",value:null!==s.rsrp?w("rsrp",s.rsrp):0,label:null!==s.rsrp?"".concat(s.rsrp.toFixed(1)," dBm"):"No Signal",fill:"hsl(var(--chart-1))"},{activity:"rsrq",value:null!==s.rsrq?w("rsrq",s.rsrq):0,label:null!==s.rsrq?"".concat(s.rsrq.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-2))"},{activity:"sinr",value:null!==s.sinr?w("sinr",s.sinr):0,label:null!==s.sinr?"".concat(s.sinr.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-3))"}];return(0,a.jsxs)(u.Zp,{className:"xl:max-w-xl xl:w-[800px] max-w-sm",children:[(0,a.jsx)(u.aR,{children:(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,a.jsx)(u.ZB,{children:"QuecManager Quick Stats"}),(0,a.jsx)(b,{})]})}),(0,a.jsxs)(u.Wu,{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:[x?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:s.networkName}),(0,a.jsx)(v.w,{orientation:"vertical",className:"mx-2 h-10 w-px"}),x?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:s.networkType}),(0,a.jsx)(v.w,{orientation:"vertical",className:"mx-2 h-10 w-px"}),x?(0,a.jsx)(m.E,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:s.bands})]}),(0,a.jsx)("div",{className:"flex gap-4 xl:p-4 p-2 pb-2",children:x?(0,a.jsx)(m.E,{className:"h-[140px] w-full"}):(0,a.jsx)(h.at,{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)(c,{margin:{left:0,right:0,top:0,bottom:10},data:S,layout:"vertical",barSize:32,barGap:2,children:[(0,a.jsx)(o.W,{type:"number",dataKey:"value",hide:!0}),(0,a.jsx)(i.h,{dataKey:"activity",type:"category",tickLine:!1,tickMargin:4,axisLine:!1,className:"uppercase"}),(0,a.jsx)(l.y,{dataKey:"value",radius:5})]})})})]}),(0,a.jsxs)(u.wL,{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"}),x?(0,a.jsx)(m.E,{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=s.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)(v.w,{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"}),x?(0,a.jsx)(m.E,{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=s.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)(v.w,{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"}),x?(0,a.jsx)(m.E,{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=s.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)(f.$,{asChild:!0,children:(0,a.jsxs)(p(),{href:"/login",children:["Login to QuecManager",(0,a.jsx)(g.flY,{className:"w-4 h-4"})]})})]})]})}},42541:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>i});var a=r(20475),n=r(20107),s=r(61837),l=r(29395),o=r(22250);let i=(0,l.F)("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.DX:"button";return(0,a.jsx)(u,{className:(0,o.cn)(i({variant:n,size:l,className:r})),ref:t,...c})});d.displayName="Button"},72167:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>l,aR:()=>o,wL:()=>u});var a=r(20475),n=r(20107),s=r(22250);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"},1307:(e,t,r)=>{"use strict";r.d(t,{II:()=>x,Nt:()=>p,at:()=>m});var a=r(20475),n=r(20107),s=r(81155),l=r(58601),o=r(58736),i=r(22250);let d={light:"",dark:".dark"},c=n.createContext(null);function u(){let e=n.useContext(c);if(!e)throw Error("useChart must be used within a ");return e}let m=n.forwardRef((e,t)=>{let{id:r,className:l,children:o,config:d,...u}=e,m=n.useId(),x="chart-".concat(r||m.replace(/:/g,""));return(0,a.jsx)(c.Provider,{value:{config:d},children:(0,a.jsxs)("div",{"data-chart":x,ref:t,className:(0,i.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",l),...u,children:[(0,a.jsx)(f,{id:x,config:d}),(0,a.jsx)(s.u,{children:o})]})})});m.displayName="Chart";let f=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(d).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},x=l.m,p=n.forwardRef((e,t)=>{let{active:r,payload:s,className:l,indicator:o="dot",hideLabel:d=!1,hideIndicator:c=!1,label:m,labelFormatter:f,labelClassName:x,formatter:p,color:v,nameKey:g,labelKey:N}=e,{config:y}=u(),b=n.useMemo(()=>{var e;if(d||!(null==s?void 0:s.length))return null;let[t]=s,r="".concat(N||t.dataKey||t.name||"value"),n=h(y,t,r),l=N||"string"!=typeof m?null==n?void 0:n.label:(null===(e=y[m])||void 0===e?void 0:e.label)||m;return f?(0,a.jsx)("div",{className:(0,i.cn)("font-medium",x),children:f(l,s)}):l?(0,a.jsx)("div",{className:(0,i.cn)("font-medium",x),children:l}):null},[m,f,s,d,x,y,N]);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,i.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(g||e.name||e.dataKey||"value"),n=h(y,e,r),s=v||e.payload.fill||e.color;return(0,a.jsx)("div",{className:(0,i.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:p&&(null==e?void 0:e.value)!==void 0&&e.name?p(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,{}):!c&&(0,a.jsx)("div",{className:(0,i.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,i.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)})})]})});function h(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]}p.displayName="ChartTooltip",o.s,n.forwardRef((e,t)=>{let{className:r,hideIcon:n=!1,payload:s,verticalAlign:l="bottom",nameKey:o}=e,{config:d}=u();return(null==s?void 0:s.length)?(0,a.jsx)("div",{ref:t,className:(0,i.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=h(d,e,t);return(0,a.jsxs)("div",{className:(0,i.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"},86118:(e,t,r)=>{"use strict";r.d(t,{SQ:()=>c,_2:()=>u,lp:()=>m,mB:()=>f,rI:()=>i,ty:()=>d});var a=r(20475),n=r(20107),s=r(77536),l=r(7197),o=r(22250);let i=s.bL,d=s.l9;s.YJ,s.ZL,s.Pb,s.z6,n.forwardRef((e,t)=>{let{className:r,inset:n,children:i,...d}=e;return(0,a.jsxs)(s.ZP,{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.vKP,{className:"ml-auto h-4 w-4"})]})}).displayName=s.ZP.displayName,n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.G5,{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.G5.displayName;let c=n.forwardRef((e,t)=>{let{className:r,sideOffset:n=4,...l}=e;return(0,a.jsx)(s.ZL,{children:(0,a.jsx)(s.UC,{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.UC.displayName;let u=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.q7,{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.q7.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,checked:i,...d}=e;return(0,a.jsxs)(s.H_,{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.VF,{children:(0,a.jsx)(l.Srz,{className:"h-4 w-4"})})}),n]})}).displayName=s.H_.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,...i}=e;return(0,a.jsxs)(s.hN,{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.VF,{children:(0,a.jsx)(l.RiX,{className:"h-4 w-4 fill-current"})})}),n]})}).displayName=s.hN.displayName;let m=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.JU,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",r),...l})});m.displayName=s.JU.displayName;let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.wv,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...n})});f.displayName=s.wv.displayName},76554:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var a=r(20475),n=r(20107),s=r(88853),l=r(22250);let o=n.forwardRef((e,t)=>{let{className:r,orientation:n="horizontal",decorative:o=!0,...i}=e;return(0,a.jsx)(s.b,{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.b.displayName},36760:(e,t,r)=>{"use strict";r.d(t,{E:()=>s});var a=r(20475),n=r(22250);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})}},19546:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(20107),n=r(16118);function s(){let[e,t]=(0,a.useState)(!1),r=(0,n.useRouter)();function s(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}async function l(){localStorage.removeItem("session"),t(!1),fetch("/cgi-bin/quecmanager/logout.sh",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"".concat(localStorage.getItem("authToken"))}}),localStorage.removeItem("authToken"),r.push("/")}function o(){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?(l(),!1):(t-e.lastActivity>3e5&&s(e.token),!0)}();return t(e),e}return(0,a.useEffect)(()=>{o()},[]),{isAuthenticated:e,login:async function(e){let a=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/quecmanager/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(a)}),n=await e.json();if(console.log(n),"success"!==n.state)return!1;{(null==n?void 0:n.token)&&localStorage.setItem("authToken",n.token);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 s(e),t(!0),r.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:l,checkAuth:o}}},46052:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(20107),n=r(19546);let s=()=>{let[e,t]=(0,a.useState)(!0),{logout:r}=(0,n.A)();async function s(){try{let e=await fetch("/cgi-bin/quecmanager/heartbeat.sh",{method:"GET",headers:{"Cache-Control":"no-cache"}});if(!e.ok){l();return}(await e.json()).alive?t(!0):l()}catch(e){l()}}function l(){t(!1),r()}return(0,a.useEffect)(()=>{let e=setInterval(s,5e3);return()=>{clearInterval(e)}},[]),{isServerAlive:e}}},22250:(e,t,r)=>{"use strict";r.d(t,{cn:()=>s});var a=r(64901),n=r(868);function s(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";r.d(t,{C:()=>l});var a=r(20107),n=r(64236),s=r(54122),l=e=>{let{present:t,children:r}=e,l=function(e){var t,r;let[n,l]=a.useState(),i=a.useRef({}),d=a.useRef(e),c=a.useRef("none"),[u,m]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},a.useReducer((e,t)=>{let a=r[e][t];return null!=a?a:e},t));return a.useEffect(()=>{let e=o(i.current);c.current="mounted"===u?e:"none"},[u]),(0,s.N)(()=>{let t=i.current,r=d.current;if(r!==e){let a=c.current,n=o(t);e?m("MOUNT"):"none"===n||(null==t?void 0:t.display)==="none"?m("UNMOUNT"):r&&a!==n?m("ANIMATION_OUT"):m("UNMOUNT"),d.current=e}},[e,m]),(0,s.N)(()=>{if(n){var e;let t;let r=null!==(e=n.ownerDocument.defaultView)&&void 0!==e?e:window,a=e=>{let a=o(i.current).includes(e.animationName);if(e.target===n&&a&&(m("ANIMATION_END"),!d.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},s=e=>{e.target===n&&(c.current=o(i.current))};return n.addEventListener("animationstart",s),n.addEventListener("animationcancel",a),n.addEventListener("animationend",a),()=>{r.clearTimeout(t),n.removeEventListener("animationstart",s),n.removeEventListener("animationcancel",a),n.removeEventListener("animationend",a)}}m("ANIMATION_END")},[n,m]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:a.useCallback(e=>{e&&(i.current=getComputedStyle(e)),l(e)},[])}}(t),i="function"==typeof r?r({present:l.isPresent}):a.Children.only(r),d=(0,n.s)(l.ref,function(e){var t,r;let a=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,n=a&&"isReactWarning"in a&&a.isReactWarning;return n?e.ref:(n=(a=null===(r=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in a&&a.isReactWarning)?e.props.ref:e.props.ref||e.ref}(i));return"function"==typeof r||l.isPresent?a.cloneElement(i,{ref:d}):null};function o(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},88853:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var a=r(20107),n=r(34544),s=r(20475),l="horizontal",o=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=l,...i}=e,d=o.includes(a)?a:l;return(0,s.jsx)(n.sG.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}},e=>{var t=t=>e(e.s=t);e.O(0,[9980,1258,4687,3746,9464,1318,2682,1074,7536,191,6035,7358],()=>t(80827)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/b1b46485-5c61721f784038c7.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/b1b46485-5c61721f784038c7.js deleted file mode 100644 index 2842373..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/b1b46485-5c61721f784038c7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2101],{38741:(t,h,a)=>{a.d(h,{G7Q:()=>i,NJ4:()=>r,sRp:()=>n,z_q:()=>z,ztD:()=>c});var v=a(45930);function r(t){return(0,v.k5)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M3 16h2v5H3z"},child:[]}]})(t)}function i(t){return(0,v.k5)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M3 16h2v5H3zm4-3h2v8H7z"},child:[]}]})(t)}function c(t){return(0,v.k5)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M3 16h2v5H3zm4-3h2v8H7zm4-3h2v11h-2z"},child:[]}]})(t)}function n(t){return(0,v.k5)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M3 16h2v5H3zm4-3h2v8H7zm4-3h2v11h-2zm4-3h2v14h-2z"},child:[]}]})(t)}function z(t){return(0,v.k5)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M3 16h2v5H3zm4-3h2v8H7zm4-3h2v11h-2zm4-3h2v14h-2zm4-3h2v17h-2z"},child:[]}]})(t)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/42cb6b63b4b8c16d.css b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/42cb6b63b4b8c16d.css deleted file mode 100644 index cf2e735..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/42cb6b63b4b8c16d.css +++ /dev/null @@ -1,3 +0,0 @@ -*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/* -! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com -*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background:0 0% 100%;--foreground:224 71.4% 4.1%;--card:0 0% 100%;--card-foreground:224 71.4% 4.1%;--popover:0 0% 100%;--popover-foreground:224 71.4% 4.1%;--primary:262.1 83.3% 57.8%;--primary-foreground:210 20% 98%;--secondary:220 14.3% 95.9%;--secondary-foreground:220.9 39.3% 11%;--muted:220 14.3% 95.9%;--muted-foreground:220 8.9% 46.1%;--accent:220 14.3% 95.9%;--accent-foreground:220.9 39.3% 11%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 20% 98%;--border:220 13% 91%;--input:220 13% 91%;--ring:262.1 83.3% 57.8%;--radius:0.5rem;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%}.dark{--background:224 71.4% 4.1%;--foreground:210 20% 98%;--card:224 71.4% 4.1%;--card-foreground:210 20% 98%;--popover:224 71.4% 4.1%;--popover-foreground:210 20% 98%;--primary:263.4 70% 50.4%;--primary-foreground:210 20% 98%;--secondary:215 27.9% 16.9%;--secondary-foreground:210 20% 98%;--muted:215 27.9% 16.9%;--muted-foreground:217.9 10.6% 64.9%;--accent:215 27.9% 16.9%;--accent-foreground:210 20% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:210 20% 98%;--border:215 27.9% 16.9%;--input:215 27.9% 16.9%;--ring:263.4 70% 50.4%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-12{bottom:-3rem}.-left-12{left:-3rem}.-left-8{left:-2rem}.-right-12{right:-3rem}.-top-12{top:-3rem}.-top-8{top:-2rem}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.top-\[50\%\]{top:50%}.top-full{top:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\[100\]{z-index:100}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-8{grid-column:span 8/span 8}.row-start-2{grid-row-start:2}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-4{margin-left:-1rem}.-mr-2{margin-right:-.5rem}.-mt-4{margin-top:-1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-auto{aspect-ratio:auto}.aspect-square{aspect-ratio:1/1}.aspect-video{aspect-ratio:16/9}.size-16{width:4rem;height:4rem}.size-32{width:8rem;height:8rem}.size-36{width:9rem;height:9rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-full{width:100%;height:100%}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-44{height:11rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-72{height:18rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[140px\]{height:140px}.h-\[18px\]{height:18px}.h-\[1px\]{height:1px}.h-\[200px\]{height:200px}.h-\[250px\]{height:250px}.h-\[400px\]{height:400px}.h-\[50\%\]{height:50%}.h-\[500px\]{height:500px}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-96{max-height:24rem}.max-h-\[200px\]{max-height:200px}.max-h-\[300px\]{max-height:300px}.max-h-screen{max-height:100vh}.min-h-\[300px\]{min-height:300px}.min-h-\[60px\]{min-height:60px}.min-h-\[calc\(100vh_-_theme\(spacing\.16\)\)\]{min-height:calc(100vh - 4rem)}.min-h-screen{min-height:100vh}.min-h-svh{min-height:100svh}.w-0{width:0}.w-1{width:.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[140px\]{width:140px}.w-\[180px\]{width:180px}.w-\[18px\]{width:18px}.w-\[1px\]{width:1px}.w-\[200px\]{width:200px}.w-\[300px\]{width:300px}.w-\[350px\]{width:350px}.w-\[40\%\]{width:40%}.w-\[50px\]{width:50px}.w-\[80px\]{width:80px}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.min-w-10{min-width:2.5rem}.min-w-8{min-width:2rem}.min-w-9{min-width:2.25rem}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-10{max-width:2.5rem}.max-w-2xl{max-width:42rem}.max-w-32{max-width:8rem}.max-w-6{max-width:1.5rem}.max-w-6xl{max-width:72rem}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-x-\[-50\%\],.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{user-select:none}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.grid-flow-row{grid-auto-flow:row}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\[20px_1fr_20px\]{grid-template-rows:20px 1fr 20px}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-12{gap:3rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-px{gap:1px}.gap-x-1{column-gap:.25rem}.gap-x-2{column-gap:.5rem}.gap-x-4{column-gap:1rem}.gap-x-8{column-gap:2rem}.gap-y-1{row-gap:.25rem}.gap-y-2{row-gap:.5rem}.gap-y-5{row-gap:1.25rem}.gap-y-6{row-gap:1.5rem}.gap-y-8{row-gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-1\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.375rem * var(--tw-space-x-reverse));margin-left:calc(.375rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-e-lg{border-start-end-radius:var(--radius);border-end-end-radius:var(--radius)}.rounded-e-none{border-start-end-radius:0;border-end-end-radius:0}.rounded-s-lg{border-start-start-radius:var(--radius);border-end-start-radius:var(--radius)}.rounded-s-none{border-start-start-radius:0;border-end-start-radius:0}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-\[1\.5px\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-r-0{border-right-width:0}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-\[--color-border\]{border-color:var(--color-border)}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-border\/50{border-color:hsl(var(--border)/.5)}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive)/.5)}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-green-200{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-orange-200{--tw-border-opacity:1;border-color:rgb(254 215 170/var(--tw-border-opacity))}.border-primary{border-color:hsl(var(--primary))}.border-purple-200{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity))}.border-red-200{--tw-border-opacity:1;border-color:rgb(254 202 202/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-\[--color-bg\]{background-color:var(--color-bg)}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-emerald-500{--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity))}.bg-emerald-600{--tw-bg-opacity:1;background-color:rgb(5 150 105/var(--tw-bg-opacity))}.bg-foreground\/20{background-color:hsl(var(--foreground)/.2)}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted)/.3)}.bg-muted\/40{background-color:hsl(var(--muted)/.4)}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-orange-500{--tw-bg-opacity:1;background-color:rgb(249 115 22/var(--tw-bg-opacity))}.bg-orange-600{--tw-bg-opacity:1;background-color:rgb(234 88 12/var(--tw-bg-opacity))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary)/.1)}.bg-primary\/20{background-color:hsl(var(--primary)/.2)}.bg-purple-100{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.bg-rose-500{--tw-bg-opacity:1;background-color:rgb(244 63 94/var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(234 179 8/var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity:0.5}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[9px\]{padding-top:9px;padding-bottom:9px}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[3rem\]{font-size:3rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-widest{letter-spacing:.1em}.text-amber-500{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-emerald-500{--tw-text-opacity:1;color:rgb(16 185 129/var(--tw-text-opacity))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground)/.5)}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-green-400{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.text-muted{color:hsl(var(--muted))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-orange-500{--tw-text-opacity:1;color:rgb(249 115 22/var(--tw-text-opacity))}.text-orange-800{--tw-text-opacity:1;color:rgb(154 52 18/var(--tw-text-opacity))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-purple-500{--tw-text-opacity:1;color:rgb(168 85 247/var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity:1;color:rgb(147 51 234/var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity:1;color:rgb(244 63 94/var(--tw-text-opacity))}.text-rose-600{--tw-text-opacity:1;color:rgb(225 29 72/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-violet-500{--tw-text-opacity:1;color:rgb(139 92 246/var(--tw-text-opacity))}.text-violet-600{--tw-text-opacity:1;color:rgb(124 58 237/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in-0{--tw-enter-opacity:0}.zoom-in-95{--tw-enter-scale:.95}.duration-100{animation-duration:.1s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.paused{animation-play-state:paused}.text-balance{text-wrap:balance}.\[appearance\:textfield\]{appearance:textfield}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.first\:border-t-0:first-child{border-top-width:0}.first\:pt-0:first-child{padding-top:0}.even\:border-l:nth-child(2n){border-left-width:1px}.hover\:border-gray-400:hover{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-accent\/50:hover{background-color:hsl(var(--accent)/.5)}.hover\:bg-blue-800:hover{--tw-bg-opacity:1;background-color:rgb(30 64 175/var(--tw-bg-opacity))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-emerald-700:hover{--tw-bg-opacity:1;background-color:rgb(4 120 87/var(--tw-bg-opacity))}.hover\:bg-emerald-800:hover{--tw-bg-opacity:1;background-color:rgb(6 95 70/var(--tw-bg-opacity))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-orange-600:hover{--tw-bg-opacity:1;background-color:rgb(234 88 12/var(--tw-bg-opacity))}.hover\:bg-orange-800:hover{--tw-bg-opacity:1;background-color:rgb(154 52 18/var(--tw-bg-opacity))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-rose-800:hover{--tw-bg-opacity:1;background-color:rgb(159 18 57/var(--tw-bg-opacity))}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-primary\/80:hover{color:hsl(var(--primary)/.8)}.hover\:text-purple-300:hover{--tw-text-opacity:1;color:rgb(216 180 254/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:z-10:focus{z-index:10}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-1:focus,.focus\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted)/.4)}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive)/.3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity:1;color:rgb(254 242 242/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(248 113 113/var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color:#dc2626}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true],.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.data-\[side\=left\]\:-translate-x-1[data-side=left]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:-0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right],.data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x:1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x:var(--radix-toast-swipe-end-x)}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end],.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x:var(--radix-toast-swipe-move-x)}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[active\=true\]\:bg-muted\/50[data-active=true]{background-color:hsl(var(--muted)/.5)}.data-\[selected\=true\]\:bg-accent[data-selected=true]{background-color:hsl(var(--accent))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[selected\=true\]\:text-accent-foreground[data-selected=true]{color:hsl(var(--accent-foreground))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\=true\]\:opacity-50[data-disabled=true],.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity:0.8}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.dark\:-rotate-90:is(.dark *){--tw-rotate:-90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:rotate-0:is(.dark *){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-0:is(.dark *){--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-100:is(.dark *){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:border-blue-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(30 64 175/var(--tw-border-opacity))}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}.dark\:border-gray-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity))}.dark\:border-green-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(22 101 52/var(--tw-border-opacity))}.dark\:border-orange-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(154 52 18/var(--tw-border-opacity))}.dark\:border-purple-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(107 33 168/var(--tw-border-opacity))}.dark\:border-red-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity))}.dark\:bg-blue-900\/20:is(.dark *){background-color:rgba(30,58,138,.2)}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.dark\:bg-gray-900\/20:is(.dark *){background-color:rgba(17,24,39,.2)}.dark\:bg-green-900\/20:is(.dark *){background-color:rgba(20,83,45,.2)}.dark\:bg-orange-900\/20:is(.dark *){background-color:rgba(124,45,18,.2)}.dark\:bg-purple-900\/20:is(.dark *){background-color:rgba(88,28,135,.2)}.dark\:bg-red-900\/20:is(.dark *){background-color:rgba(127,29,29,.2)}.dark\:bg-slate-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity))}.dark\:text-blue-300:is(.dark *){--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.dark\:text-green-300:is(.dark *){--tw-text-opacity:1;color:rgb(134 239 172/var(--tw-text-opacity))}.dark\:text-orange-300:is(.dark *){--tw-text-opacity:1;color:rgb(253 186 116/var(--tw-text-opacity))}.dark\:text-purple-300:is(.dark *){--tw-text-opacity:1;color:rgb(216 180 254/var(--tw-text-opacity))}.dark\:text-red-300:is(.dark *){--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.dark\:hover\:bg-slate-900:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity))}@media (min-width:640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:mt-0{margin-top:0}.sm\:max-w-\[800px\]{max-width:800px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-initial{flex:0 1 auto}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:items-start{align-items:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:gap-2\.5{gap:.625rem}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:border-l{border-left-width:1px}.sm\:border-t-0{border-top-width:0}.sm\:p-20{padding:5rem}.sm\:p-6{padding:1.5rem}.sm\:px-8{padding-left:2rem;padding-right:2rem}.sm\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sm\:text-left{text-align:left}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y:100%}}@media (min-width:768px){.md\:ml-auto{margin-left:auto}.md\:mr-8{margin-right:2rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:size-12{width:3rem;height:3rem}.md\:w-36{width:9rem}.md\:max-w-\[420px\]{max-width:420px}.md\:max-w-full{max-width:100%}.md\:max-w-lg{max-width:32rem}.md\:max-w-md{max-width:28rem}.md\:basis-1\/2{flex-basis:50%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\:grid-cols-\[180px_1fr\]{grid-template-columns:180px 1fr}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-2{gap:.5rem}.md\:gap-5{gap:1.25rem}.md\:gap-8{gap:2rem}.md\:p-10{padding:2.5rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1024px){.lg\:col-span-2{grid-column:span 2/span 2}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:size-16{width:4rem;height:4rem}.lg\:size-4{width:1rem;height:1rem}.lg\:size-48{width:12rem;height:12rem}.lg\:size-6{width:1.5rem;height:1.5rem}.lg\:h-10{height:2.5rem}.lg\:h-48{height:12rem}.lg\:min-h-\[600px\]{min-height:600px}.lg\:w-48{width:12rem}.lg\:max-w-full{max-width:100%}.lg\:basis-1\/3{flex-basis:33.333333%}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.lg\:grid-cols-\[250px_1fr\]{grid-template-columns:250px 1fr}.lg\:items-center{align-items:center}.lg\:gap-4{gap:1rem}.lg\:gap-6{gap:1.5rem}.lg\:gap-y-0{row-gap:0}.lg\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.lg\:p-6{padding:1.5rem}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:py-12{padding-top:3rem;padding-bottom:3rem}.lg\:text-\[4rem\]{font-size:4rem}}@media (min-width:1280px){.xl\:size-14{width:3.5rem;height:3.5rem}.xl\:size-6{width:1.5rem;height:1.5rem}.xl\:min-h-\[800px\]{min-height:800px}.xl\:w-\[800px\]{width:800px}.xl\:max-w-xl{max-width:36rem}.xl\:gap-y-10{row-gap:2.5rem}.xl\:p-4{padding:1rem}.xl\:text-2xl{font-size:1.5rem;line-height:2rem}.xl\:text-3xl{font-size:1.875rem;line-height:2.25rem}.xl\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1536px){.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\+div\]\:text-xs+div{font-size:.75rem;line-height:1rem}.\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button,.\[\&\:\:-webkit-outer-spin-button\]\:appearance-none::-webkit-outer-spin-button{appearance:none}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:size-3\.5>svg{width:.875rem;height:.875rem}.\[\&\>svg\]\:h-2\.5>svg{height:.625rem}.\[\&\>svg\]\:h-3>svg{height:.75rem}.\[\&\>svg\]\:w-2\.5>svg{width:.625rem}.\[\&\>svg\]\:w-3>svg{width:.75rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\]\:text-muted-foreground>svg{color:hsl(var(--muted-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:hsl(var(--muted-foreground))}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--border)/.5)}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--border))}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer{outline:2px solid transparent;outline-offset:2px}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--muted))}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-sector\]\:outline-none .recharts-sector,.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{outline:2px solid transparent;outline-offset:2px}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:size-full svg{width:100%;height:100%}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}@font-face{font-family:euclid;src:url(/_next/static/media/72399823edb708a6-s.p.woff2) format("woff2");font-display:swap;font-weight:300;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/a41b42e1a9703195-s.p.woff2) format("woff2");font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/243b6dfb2e48e7ed-s.p.woff2) format("woff2");font-display:swap;font-weight:500;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/70a526c127b6fc39-s.p.woff2) format("woff2");font-display:swap;font-weight:600;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/0aa2ebf4cf06f243-s.p.woff2) format("woff2");font-display:swap;font-weight:700;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/cf37f781bdc22339-s.p.woff2) format("woff2");font-display:swap;font-weight:400;font-style:italic}@font-face{font-family:euclid Fallback;src:local("Arial");ascent-override:93.47%;descent-override:25.05%;line-gap-override:0.00%;size-adjust:106.98%}.__className_9dae3d{font-family:euclid,euclid Fallback} \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/d6a91fa40275d73c.css b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/d6a91fa40275d73c.css new file mode 100644 index 0000000..22ca656 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/d6a91fa40275d73c.css @@ -0,0 +1,3 @@ +*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/* +! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com +*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background:0 0% 100%;--foreground:224 71.4% 4.1%;--card:0 0% 100%;--card-foreground:224 71.4% 4.1%;--popover:0 0% 100%;--popover-foreground:224 71.4% 4.1%;--primary:262.1 83.3% 57.8%;--primary-foreground:210 20% 98%;--secondary:220 14.3% 95.9%;--secondary-foreground:220.9 39.3% 11%;--muted:220 14.3% 95.9%;--muted-foreground:220 8.9% 46.1%;--accent:220 14.3% 95.9%;--accent-foreground:220.9 39.3% 11%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 20% 98%;--border:220 13% 91%;--input:220 13% 91%;--ring:262.1 83.3% 57.8%;--radius:0.5rem;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%}.dark{--background:224 71.4% 4.1%;--foreground:210 20% 98%;--card:224 71.4% 4.1%;--card-foreground:210 20% 98%;--popover:224 71.4% 4.1%;--popover-foreground:210 20% 98%;--primary:263.4 70% 50.4%;--primary-foreground:210 20% 98%;--secondary:215 27.9% 16.9%;--secondary-foreground:210 20% 98%;--muted:215 27.9% 16.9%;--muted-foreground:217.9 10.6% 64.9%;--accent:215 27.9% 16.9%;--accent-foreground:210 20% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:210 20% 98%;--border:215 27.9% 16.9%;--input:215 27.9% 16.9%;--ring:263.4 70% 50.4%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-12{bottom:-3rem}.-left-12{left:-3rem}.-left-8{left:-2rem}.-right-12{right:-3rem}.-top-12{top:-3rem}.-top-8{top:-2rem}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.top-\[50\%\]{top:50%}.top-full{top:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\[100\]{z-index:100}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-8{grid-column:span 8/span 8}.row-start-2{grid-row-start:2}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-4{margin-left:-1rem}.-mr-2{margin-right:-.5rem}.-mt-4{margin-top:-1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-auto{aspect-ratio:auto}.aspect-square{aspect-ratio:1/1}.aspect-video{aspect-ratio:16/9}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-32{width:8rem;height:8rem}.size-36{width:9rem;height:9rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-full{width:100%;height:100%}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-44{height:11rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-72{height:18rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[140px\]{height:140px}.h-\[18px\]{height:18px}.h-\[1px\]{height:1px}.h-\[200px\]{height:200px}.h-\[250px\]{height:250px}.h-\[400px\]{height:400px}.h-\[500px\]{height:500px}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-96{max-height:24rem}.max-h-\[200px\]{max-height:200px}.max-h-\[300px\]{max-height:300px}.max-h-screen{max-height:100vh}.min-h-\[300px\]{min-height:300px}.min-h-\[60px\]{min-height:60px}.min-h-\[calc\(100vh_-_theme\(spacing\.16\)\)\]{min-height:calc(100vh - 4rem)}.min-h-screen{min-height:100vh}.min-h-svh{min-height:100svh}.w-0{width:0}.w-1{width:.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[140px\]{width:140px}.w-\[180px\]{width:180px}.w-\[18px\]{width:18px}.w-\[1px\]{width:1px}.w-\[200px\]{width:200px}.w-\[300px\]{width:300px}.w-\[50px\]{width:50px}.w-\[80px\]{width:80px}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.min-w-10{min-width:2.5rem}.min-w-8{min-width:2rem}.min-w-9{min-width:2.25rem}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-10{max-width:2.5rem}.max-w-2xl{max-width:42rem}.max-w-32{max-width:8rem}.max-w-4xl{max-width:56rem}.max-w-6{max-width:1.5rem}.max-w-6xl{max-width:72rem}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-x-\[-50\%\],.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{user-select:none}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-flow-row{grid-auto-flow:row}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\[20px_1fr_20px\]{grid-template-rows:20px 1fr 20px}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-px{gap:1px}.gap-x-1{column-gap:.25rem}.gap-x-2{column-gap:.5rem}.gap-x-4{column-gap:1rem}.gap-x-8{column-gap:2rem}.gap-y-1{row-gap:.25rem}.gap-y-2{row-gap:.5rem}.gap-y-5{row-gap:1.25rem}.gap-y-6{row-gap:1.5rem}.gap-y-8{row-gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-1\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.375rem * var(--tw-space-x-reverse));margin-left:calc(.375rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-e-lg{border-start-end-radius:var(--radius);border-end-end-radius:var(--radius)}.rounded-e-none{border-start-end-radius:0;border-end-end-radius:0}.rounded-s-lg{border-start-start-radius:var(--radius);border-end-start-radius:var(--radius)}.rounded-s-none{border-start-start-radius:0;border-end-start-radius:0}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-\[1\.5px\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-r-0{border-right-width:0}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-\[--color-border\]{border-color:var(--color-border)}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-border\/50{border-color:hsl(var(--border)/.5)}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive)/.5)}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-green-200{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-orange-200{--tw-border-opacity:1;border-color:rgb(254 215 170/var(--tw-border-opacity))}.border-primary{border-color:hsl(var(--primary))}.border-purple-200{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity))}.border-red-200{--tw-border-opacity:1;border-color:rgb(254 202 202/var(--tw-border-opacity))}.border-teal-200{--tw-border-opacity:1;border-color:rgb(153 246 228/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-200{--tw-border-opacity:1;border-color:rgb(254 240 138/var(--tw-border-opacity))}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-\[--color-bg\]{background-color:var(--color-bg)}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-emerald-500{--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity))}.bg-emerald-600{--tw-bg-opacity:1;background-color:rgb(5 150 105/var(--tw-bg-opacity))}.bg-foreground\/20{background-color:hsl(var(--foreground)/.2)}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted)/.3)}.bg-muted\/40{background-color:hsl(var(--muted)/.4)}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-orange-500{--tw-bg-opacity:1;background-color:rgb(249 115 22/var(--tw-bg-opacity))}.bg-orange-600{--tw-bg-opacity:1;background-color:rgb(234 88 12/var(--tw-bg-opacity))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary)/.1)}.bg-primary\/20{background-color:hsl(var(--primary)/.2)}.bg-purple-100{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.bg-rose-500{--tw-bg-opacity:1;background-color:rgb(244 63 94/var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.bg-teal-100{--tw-bg-opacity:1;background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(234 179 8/var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity:0.5}.fill-current{fill:currentColor}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[9px\]{padding-top:9px;padding-bottom:9px}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[3rem\]{font-size:3rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-widest{letter-spacing:.1em}.text-amber-500{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-emerald-500{--tw-text-opacity:1;color:rgb(16 185 129/var(--tw-text-opacity))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground)/.5)}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-green-400{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.text-muted{color:hsl(var(--muted))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-orange-500{--tw-text-opacity:1;color:rgb(249 115 22/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-orange-800{--tw-text-opacity:1;color:rgb(154 52 18/var(--tw-text-opacity))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-purple-600{--tw-text-opacity:1;color:rgb(147 51 234/var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity:1;color:rgb(244 63 94/var(--tw-text-opacity))}.text-rose-600{--tw-text-opacity:1;color:rgb(225 29 72/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-teal-500{--tw-text-opacity:1;color:rgb(20 184 166/var(--tw-text-opacity))}.text-teal-800{--tw-text-opacity:1;color:rgb(17 94 89/var(--tw-text-opacity))}.text-violet-500{--tw-text-opacity:1;color:rgb(139 92 246/var(--tw-text-opacity))}.text-violet-600{--tw-text-opacity:1;color:rgb(124 58 237/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity:1;color:rgb(133 77 14/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in-0{--tw-enter-opacity:0}.zoom-in-95{--tw-enter-scale:.95}.duration-100{animation-duration:.1s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.paused{animation-play-state:paused}.text-balance{text-wrap:balance}.\[appearance\:textfield\]{appearance:textfield}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.first\:border-t-0:first-child{border-top-width:0}.first\:pt-0:first-child{padding-top:0}.even\:border-l:nth-child(2n){border-left-width:1px}.hover\:border-gray-400:hover{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-accent\/50:hover{background-color:hsl(var(--accent)/.5)}.hover\:bg-blue-800:hover{--tw-bg-opacity:1;background-color:rgb(30 64 175/var(--tw-bg-opacity))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-emerald-700:hover{--tw-bg-opacity:1;background-color:rgb(4 120 87/var(--tw-bg-opacity))}.hover\:bg-emerald-800:hover{--tw-bg-opacity:1;background-color:rgb(6 95 70/var(--tw-bg-opacity))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-orange-600:hover{--tw-bg-opacity:1;background-color:rgb(234 88 12/var(--tw-bg-opacity))}.hover\:bg-orange-800:hover{--tw-bg-opacity:1;background-color:rgb(154 52 18/var(--tw-bg-opacity))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-rose-800:hover{--tw-bg-opacity:1;background-color:rgb(159 18 57/var(--tw-bg-opacity))}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-primary\/80:hover{color:hsl(var(--primary)/.8)}.hover\:text-purple-300:hover{--tw-text-opacity:1;color:rgb(216 180 254/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:z-10:focus{z-index:10}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-1:focus,.focus\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted)/.4)}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive)/.3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity:1;color:rgb(254 242 242/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(248 113 113/var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color:#dc2626}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true],.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.data-\[side\=left\]\:-translate-x-1[data-side=left]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:-0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right],.data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x:1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x:var(--radix-toast-swipe-end-x)}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end],.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x:var(--radix-toast-swipe-move-x)}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[active\=true\]\:bg-muted\/50[data-active=true]{background-color:hsl(var(--muted)/.5)}.data-\[selected\=true\]\:bg-accent[data-selected=true]{background-color:hsl(var(--accent))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[selected\=true\]\:text-accent-foreground[data-selected=true]{color:hsl(var(--accent-foreground))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\=true\]\:opacity-50[data-disabled=true],.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity:0.8}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.dark\:-rotate-90:is(.dark *){--tw-rotate:-90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:rotate-0:is(.dark *){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-0:is(.dark *){--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-100:is(.dark *){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:border-blue-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(30 64 175/var(--tw-border-opacity))}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity))}.dark\:border-gray-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity))}.dark\:border-green-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(22 101 52/var(--tw-border-opacity))}.dark\:border-orange-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(154 52 18/var(--tw-border-opacity))}.dark\:border-purple-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(107 33 168/var(--tw-border-opacity))}.dark\:border-red-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity))}.dark\:border-teal-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(17 94 89/var(--tw-border-opacity))}.dark\:border-yellow-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(133 77 14/var(--tw-border-opacity))}.dark\:bg-blue-900\/20:is(.dark *){background-color:rgba(30,58,138,.2)}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.dark\:bg-gray-800\/50:is(.dark *){background-color:rgba(31,41,55,.5)}.dark\:bg-gray-900\/20:is(.dark *){background-color:rgba(17,24,39,.2)}.dark\:bg-green-900\/20:is(.dark *){background-color:rgba(20,83,45,.2)}.dark\:bg-orange-900\/20:is(.dark *){background-color:rgba(124,45,18,.2)}.dark\:bg-purple-900\/20:is(.dark *){background-color:rgba(88,28,135,.2)}.dark\:bg-red-900\/20:is(.dark *){background-color:rgba(127,29,29,.2)}.dark\:bg-slate-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity))}.dark\:bg-teal-900\/20:is(.dark *){background-color:rgba(19,78,74,.2)}.dark\:bg-yellow-900\/20:is(.dark *){background-color:rgba(113,63,18,.2)}.dark\:text-blue-200:is(.dark *){--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity))}.dark\:text-blue-300:is(.dark *){--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.dark\:text-gray-100:is(.dark *){--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.dark\:text-green-200:is(.dark *){--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.dark\:text-green-300:is(.dark *){--tw-text-opacity:1;color:rgb(134 239 172/var(--tw-text-opacity))}.dark\:text-green-400:is(.dark *){--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.dark\:text-orange-300:is(.dark *){--tw-text-opacity:1;color:rgb(253 186 116/var(--tw-text-opacity))}.dark\:text-orange-400:is(.dark *){--tw-text-opacity:1;color:rgb(251 146 60/var(--tw-text-opacity))}.dark\:text-purple-300:is(.dark *){--tw-text-opacity:1;color:rgb(216 180 254/var(--tw-text-opacity))}.dark\:text-purple-400:is(.dark *){--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.dark\:text-red-200:is(.dark *){--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.dark\:text-red-300:is(.dark *){--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.dark\:text-red-400:is(.dark *){--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.dark\:text-teal-300:is(.dark *){--tw-text-opacity:1;color:rgb(94 234 212/var(--tw-text-opacity))}.dark\:text-yellow-200:is(.dark *){--tw-text-opacity:1;color:rgb(254 240 138/var(--tw-text-opacity))}.dark\:hover\:bg-slate-900:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity))}@media (min-width:640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:mt-0{margin-top:0}.sm\:max-w-\[800px\]{max-width:800px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-initial{flex:0 1 auto}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:items-start{align-items:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:gap-2\.5{gap:.625rem}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:border-l{border-left-width:1px}.sm\:border-t-0{border-top-width:0}.sm\:p-20{padding:5rem}.sm\:p-6{padding:1.5rem}.sm\:px-8{padding-left:2rem;padding-right:2rem}.sm\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sm\:text-left{text-align:left}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y:100%}}@media (min-width:768px){.md\:ml-auto{margin-left:auto}.md\:mr-8{margin-right:2rem}.md\:block{display:block}.md\:size-12{width:3rem;height:3rem}.md\:w-36{width:9rem}.md\:max-w-\[420px\]{max-width:420px}.md\:max-w-full{max-width:100%}.md\:max-w-lg{max-width:32rem}.md\:max-w-md{max-width:28rem}.md\:basis-1\/2{flex-basis:50%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\:grid-cols-\[180px_1fr\]{grid-template-columns:180px 1fr}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-2{gap:.5rem}.md\:gap-8{gap:2rem}.md\:p-10{padding:2.5rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1024px){.lg\:col-span-2{grid-column:span 2/span 2}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:size-16{width:4rem;height:4rem}.lg\:size-4{width:1rem;height:1rem}.lg\:size-48{width:12rem;height:12rem}.lg\:size-6{width:1.5rem;height:1.5rem}.lg\:h-10{height:2.5rem}.lg\:h-48{height:12rem}.lg\:w-48{width:12rem}.lg\:max-w-full{max-width:100%}.lg\:basis-1\/3{flex-basis:33.333333%}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.lg\:grid-cols-\[250px_1fr\]{grid-template-columns:250px 1fr}.lg\:flex-row{flex-direction:row}.lg\:items-center{align-items:center}.lg\:gap-4{gap:1rem}.lg\:gap-5{gap:1.25rem}.lg\:gap-y-0{row-gap:0}.lg\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.lg\:p-6{padding:1.5rem}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:py-12{padding-top:3rem;padding-bottom:3rem}.lg\:text-\[4rem\]{font-size:4rem}.lg\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width:1280px){.xl\:size-14{width:3.5rem;height:3.5rem}.xl\:size-6{width:1.5rem;height:1.5rem}.xl\:w-\[800px\]{width:800px}.xl\:max-w-xl{max-width:36rem}.xl\:gap-6{gap:1.5rem}.xl\:gap-y-10{row-gap:2.5rem}.xl\:p-4{padding:1rem}.xl\:text-2xl{font-size:1.5rem;line-height:2rem}.xl\:text-3xl{font-size:1.875rem;line-height:2.25rem}.xl\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1536px){.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\+div\]\:text-xs+div{font-size:.75rem;line-height:1rem}.\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button,.\[\&\:\:-webkit-outer-spin-button\]\:appearance-none::-webkit-outer-spin-button{appearance:none}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:size-3\.5>svg{width:.875rem;height:.875rem}.\[\&\>svg\]\:h-2\.5>svg{height:.625rem}.\[\&\>svg\]\:h-3>svg{height:.75rem}.\[\&\>svg\]\:w-2\.5>svg{width:.625rem}.\[\&\>svg\]\:w-3>svg{width:.75rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\]\:text-muted-foreground>svg{color:hsl(var(--muted-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:hsl(var(--muted-foreground))}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--border)/.5)}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--border))}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer{outline:2px solid transparent;outline-offset:2px}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--muted))}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-sector\]\:outline-none .recharts-sector,.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{outline:2px solid transparent;outline-offset:2px}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:size-full svg{width:100%;height:100%}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}@font-face{font-family:euclid;src:url(/_next/static/media/72399823edb708a6-s.p.woff2) format("woff2");font-display:swap;font-weight:300;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/a41b42e1a9703195-s.p.woff2) format("woff2");font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/243b6dfb2e48e7ed-s.p.woff2) format("woff2");font-display:swap;font-weight:500;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/70a526c127b6fc39-s.p.woff2) format("woff2");font-display:swap;font-weight:600;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/0aa2ebf4cf06f243-s.p.woff2) format("woff2");font-display:swap;font-weight:700;font-style:normal}@font-face{font-family:euclid;src:url(/_next/static/media/cf37f781bdc22339-s.p.woff2) format("woff2");font-display:swap;font-weight:400;font-style:italic}@font-face{font-family:euclid Fallback;src:local("Arial");ascent-override:93.47%;descent-override:25.05%;line-gap-override:0.00%;size-adjust:106.98%}.__className_9dae3d{font-family:euclid,euclid Fallback} \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_hw_details.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_hw_details.sh index 103cade..df9695f 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_hw_details.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_hw_details.sh @@ -1,5 +1,8 @@ #!/bin/sh +# Ethernet Hardware Details Fetch Script +# Provides ethernet interface information using ethtool + # Set common headers echo "Content-Type: application/json" echo "Access-Control-Allow-Origin: *" @@ -57,13 +60,6 @@ cleanup() { # Set trap for cleanup trap cleanup EXIT INT TERM -# Function to get memory information -get_memory_info() { - free_output=$(free -b) - memory_info=$(echo "$free_output" | awk '/Mem:/ {print "{\"total\": " $2 ", \"used\": " $3 ", \"available\": " $7 "}"}') - echo "$memory_info" -} - # Function to get ethernet information get_ethernet_info() { interface=${1:-eth0} @@ -93,27 +89,13 @@ get_ethernet_info() { # Acquire lock before proceeding acquire_lock -# Parse query string for type and interface -type=$(echo "$QUERY_STRING" | sed -n 's/.*type=\([^&]*\).*/\1/p') +# Parse query string for interface parameter interface=$(echo "$QUERY_STRING" | sed -n 's/.*interface=\([^&]*\).*/\1/p') # Default interface if not specified [ -z "$interface" ] && interface="eth0" -# Convert type to lowercase using tr -type=$(echo "$type" | tr '[:upper:]' '[:lower:]') - -# Check type parameter and call appropriate function -case "$type" in - "memory") - get_memory_info - ;; - "eth") - get_ethernet_info "$interface" - ;; - *) - error_response "Invalid type. Use 'memory' or 'eth'" - ;; -esac +# Get ethernet information for the specified interface +get_ethernet_info "$interface" # Lock will be automatically released by the cleanup trap \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_public_ip.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_public_ip.sh index d20d275..b9ecc36 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_public_ip.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_public_ip.sh @@ -6,6 +6,15 @@ echo "Content-Type: application/json" echo "" +# Check for internet connectivity by pinging 8.8.8.8 twice +ping -c 2 8.8.8.8 >/dev/null 2>&1 + +# If ping fails, return error immediately +if [ $? -ne 0 ]; then + echo '{"error": "Failed to fetch public IP"}' + exit 1 +fi + # Fetch public IP using multiple fallback methods PUBLIC_IP=$( curl -s https://api.ipify.org 2>/dev/null || \ diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/memory/fetch_memory.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/memory/fetch_memory.sh new file mode 100755 index 0000000..e566ba6 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/memory/fetch_memory.sh @@ -0,0 +1,66 @@ +#!/bin/sh + +# Memory Data Fetch Script - Simple OpenWrt/BusyBox compliant version + +# Handle OPTIONS request +if [ "${REQUEST_METHOD:-GET}" = "OPTIONS" ]; then + echo "Content-Type: text/plain" + echo "Access-Control-Allow-Origin: *" + echo "Access-Control-Allow-Methods: GET, OPTIONS" + echo "Access-Control-Allow-Headers: Content-Type" + echo "Access-Control-Max-Age: 86400" + echo "" + exit 0 +fi + +# Set CORS headers +echo "Content-Type: application/json" +echo "Access-Control-Allow-Origin: *" +echo "" + +# Only handle GET requests +if [ "${REQUEST_METHOD:-GET}" != "GET" ]; then + echo "{\"status\":\"error\",\"message\":\"Only GET method supported\"}" + exit 1 +fi + +# Configuration and data paths +MEMORY_JSON="/tmp/quecmanager/memory.json" +CONFIG_FILE="/etc/quecmanager/settings/memory_settings.conf" + +# Check if memory data file exists and read it +if [ -f "$MEMORY_JSON" ]; then + memory_data=$(cat "$MEMORY_JSON" 2>/dev/null) + + # Simple validation - check if it has the basic structure + if echo "$memory_data" | grep -q '"total"' && echo "$memory_data" | grep -q '"used"'; then + # Extract values using awk (more reliable in BusyBox) + total=$(echo "$memory_data" | awk -F'"total"[[:space:]]*:[[:space:]]*' '{print $2}' | awk -F'[,}]' '{print $1}') + used=$(echo "$memory_data" | awk -F'"used"[[:space:]]*:[[:space:]]*' '{print $2}' | awk -F'[,}]' '{print $1}') + available=$(echo "$memory_data" | awk -F'"available"[[:space:]]*:[[:space:]]*' '{print $2}' | awk -F'[,}]' '{print $1}') + + # Basic validation + if [ -n "$total" ] && [ "$total" -gt 0 ] 2>/dev/null; then + echo "{\"status\":\"success\",\"data\":{\"total\":$total,\"used\":$used,\"available\":$available}}" + else + echo "{\"status\":\"error\",\"message\":\"Invalid memory data\"}" + fi + else + echo "{\"status\":\"error\",\"message\":\"Memory data file corrupted\"}" + fi +else + # No memory file - check if memory monitoring is enabled + if [ -f "$CONFIG_FILE" ]; then + enabled=$(awk -F'=' '/^MEMORY_ENABLED=/ {print $2}' "$CONFIG_FILE" 2>/dev/null | tr -d '"') + case "$enabled" in + true|1|on|yes|enabled) + echo "{\"status\":\"error\",\"message\":\"Memory daemon starting up, please wait...\"}" + ;; + *) + echo "{\"status\":\"error\",\"message\":\"Memory monitoring disabled\"}" + ;; + esac + else + echo "{\"status\":\"error\",\"message\":\"Memory monitoring not configured\"}" + fi +fi diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/memory/memory_service.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/memory/memory_service.sh new file mode 100755 index 0000000..ca0f46a --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/memory/memory_service.sh @@ -0,0 +1,78 @@ +#!/bin/sh + +# Memory Service Fetch Script +# Returns current memory configuration and status + +# Handle OPTIONS request first +if [ "${REQUEST_METHOD:-GET}" = "OPTIONS" ]; then + echo "Content-Type: text/plain" + echo "Access-Control-Allow-Origin: *" + echo "Access-Control-Allow-Methods: GET, OPTIONS" + echo "Access-Control-Allow-Headers: Content-Type" + echo "Access-Control-Max-Age: 86400" + echo "" + exit 0 +fi + +# Set content type and CORS headers +echo "Content-Type: application/json" +echo "Access-Control-Allow-Origin: *" +echo "Access-Control-Allow-Methods: GET, OPTIONS" +echo "Access-Control-Allow-Headers: Content-Type" +echo "" + +# Configuration paths +CONFIG_FILE="/etc/quecmanager/settings/memory_settings.conf" +FALLBACK_CONFIG_FILE="/tmp/quecmanager/settings/memory_settings.conf" + +# Get current configuration +get_config() { + # Defaults + ENABLED="false" + INTERVAL="1" + + # Try primary config first, then fallback + local config_to_read="" + if [ -f "$CONFIG_FILE" ]; then + config_to_read="$CONFIG_FILE" + elif [ -f "$FALLBACK_CONFIG_FILE" ]; then + config_to_read="$FALLBACK_CONFIG_FILE" + fi + + if [ -n "$config_to_read" ]; then + local enabled_val=$(grep "^MEMORY_ENABLED=" "$config_to_read" 2>/dev/null | tail -n1 | cut -d'=' -f2 | tr -d '"') + local interval_val=$(grep "^MEMORY_INTERVAL=" "$config_to_read" 2>/dev/null | tail -n1 | cut -d'=' -f2) + + case "$enabled_val" in + true|1|on|yes|enabled) ENABLED="true" ;; + *) ENABLED="false" ;; + esac + + if echo "$interval_val" | grep -qE '^[0-9]+$' && [ "$interval_val" -ge 1 ] && [ "$interval_val" -le 10 ]; then + INTERVAL="$interval_val" + fi + fi +} + +# Check if memory daemon is running +is_memory_daemon_running() { + pgrep -f "memory_daemon.sh" >/dev/null 2>&1 +} + +# Handle GET request only +if [ "${REQUEST_METHOD:-GET}" != "GET" ]; then + echo "{\"status\":\"error\",\"code\":\"METHOD_NOT_ALLOWED\",\"message\":\"Only GET method is supported\"}" + exit 1 +fi + +# Get current configuration +get_config + +# Check daemon status +running="false" +if is_memory_daemon_running; then + running="true" +fi + +# Return configuration and status +echo "{\"status\":\"success\",\"data\":{\"enabled\":$ENABLED,\"interval\":$INTERVAL,\"running\":$running}}" \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/ping/fetch_ping.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/ping/fetch_ping.sh new file mode 100755 index 0000000..694afef --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/ping/fetch_ping.sh @@ -0,0 +1,86 @@ +#!/bin/sh + +# Fetch Ping Result (relocated under /home/ping) +# OpenWrt/BusyBox compatible version + +# Handle OPTIONS first +if [ "${REQUEST_METHOD:-GET}" = "OPTIONS" ]; then + echo "Content-Type: application/json" + echo "Access-Control-Allow-Origin: *" + echo "Access-Control-Allow-Methods: GET, OPTIONS" + echo "Access-Control-Allow-Headers: Content-Type" + echo "" + exit 0 +fi + +# Set headers for other requests +echo "Content-Type: application/json" +echo "Access-Control-Allow-Origin: *" +echo "Access-Control-Allow-Methods: GET, OPTIONS" +echo "Access-Control-Allow-Headers: Content-Type" +echo "" + +# Configuration +OUT_JSON="/tmp/quecmanager/ping_latency.json" +CONFIG_FILE="/etc/quecmanager/settings/ping_settings.conf" +[ -f "$CONFIG_FILE" ] || CONFIG_FILE="/tmp/quecmanager/settings/ping_settings.conf" + +# Get enabled setting +get_enabled() { + local enabled="true" + if [ -f "$CONFIG_FILE" ]; then + val=$(grep -E "^PING_ENABLED=" "$CONFIG_FILE" 2>/dev/null | tail -n1 | cut -d'=' -f2 | tr -d '\r' || echo "") + case "${val:-}" in + true|1|on|yes|enabled) enabled="true" ;; + false|0|off|no|disabled) enabled="false" ;; + esac + fi + echo "$enabled" +} + +# Get interval setting +get_interval() { + local interval="5" + if [ -f "$CONFIG_FILE" ]; then + val=$(grep -E "^PING_INTERVAL=" "$CONFIG_FILE" 2>/dev/null | tail -n1 | cut -d'=' -f2 | tr -d '\r' || echo "") + if [ -n "$val" ] && echo "$val" | grep -qE '^[0-9]+$'; then + interval="$val" + fi + fi + echo "$interval" +} + +# Get host setting +get_host() { + local host="8.8.8.8" + if [ -f "$CONFIG_FILE" ]; then + val=$(grep -E "^PING_HOST=" "$CONFIG_FILE" 2>/dev/null | tail -n1 | cut -d'=' -f2 | tr -d '\r' || echo "") + if [ -n "$val" ]; then + host="$val" + fi + fi + echo "$host" +} + +# Get config values +ENABLED=$(get_enabled) +INTERVAL=$(get_interval) +HOST=$(get_host) + +# Check if daemon JSON exists and is readable +if [ -f "$OUT_JSON" ] && [ -r "$OUT_JSON" ]; then + # Read the daemon output + PING_DATA=$(cat "$OUT_JSON" 2>/dev/null || echo "") + + if [ -n "$PING_DATA" ]; then + # Simple approach: just wrap the daemon data with our response format + echo "{\"status\":\"success\",\"data\":$PING_DATA,\"config\":{\"enabled\":$ENABLED,\"interval\":$INTERVAL,\"host\":\"$HOST\"}}" + else + # JSON file exists but is empty/unreadable + echo "{\"status\":\"error\",\"message\":\"Ping data file exists but is empty or unreadable\"}" + fi +else + # Fallback: return default structure when daemon file doesn't exist + TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ" 2>/dev/null || date +"%Y-%m-%dT%H:%M:%SZ") + echo "{\"status\":\"success\",\"data\":{\"timestamp\":\"$TIMESTAMP\",\"host\":\"$HOST\",\"latency\":null,\"ok\":false},\"config\":{\"enabled\":$ENABLED,\"interval\":$INTERVAL,\"host\":\"$HOST\"}}" +fi diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/check_status.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/check_status.sh index 409b011..41299ef 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/check_status.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/check_status.sh @@ -35,15 +35,15 @@ if [ -f "$STATUS_FILE" ]; then if [ -s "$STATUS_FILE" ]; then # Cat the entire file content (more reliable than grep) status_content=$(cat "$STATUS_FILE") - + # Log content for debugging log_message "Status file content: $status_content" "debug" - + # Check if it looks like valid JSON if echo "$status_content" | grep -q "status"; then # Output the status file content cat "$STATUS_FILE" - + # Extract status for logging only status=$(echo "$status_content" | sed -n 's/.*"status":"\([^"]*\)".*/\1/p') log_message "Status from file: $status" "info" @@ -63,7 +63,7 @@ if [ -f "$TRACK_FILE" ]; then status=$(echo "$status_info" | cut -d':' -f1) profile=$(echo "$status_info" | cut -d':' -f2) progress=$(echo "$status_info" | cut -d':' -f3) - + # Make sure the message reflects the actual status if [ "$status" = "success" ]; then message="Profile successfully applied" @@ -76,7 +76,7 @@ if [ -f "$TRACK_FILE" ]; then else message="Profile operation status: $status" fi - + # Output JSON based on track file cat <>/tmp/list_profiles_error.log - + if [ -z "$indices" ]; then log_message "No profile indices found" "warn" echo "{\"status\":\"success\",\"profiles\":[]}" return 0 fi - + # Process each profile for idx in $indices; do log_message "Processing profile index: $idx" - + # Try different UCI get approaches local name name=$(uci -q get "quecprofiles.$idx.name" 2>/dev/null) @@ -72,7 +72,7 @@ get_profiles() { section=${section%]} name=$(uci -q get "quecprofiles.@profile[$section].name" 2>/dev/null) fi - + # Get profile details local iccid=$(uci -q get "quecprofiles.$idx.iccid" 2>/dev/null) local imei=$(uci -q get "quecprofiles.$idx.imei" 2>/dev/null) @@ -83,8 +83,9 @@ get_profiles() { local nsa_nr5g_bands=$(uci -q get "quecprofiles.$idx.nsa_nr5g_bands" 2>/dev/null) local network_type=$(uci -q get "quecprofiles.$idx.network_type" 2>/dev/null) local ttl=$(uci -q get "quecprofiles.$idx.ttl" 2>/dev/null) + local mobile_provider=$(uci -q get "quecprofiles.$idx.mobile_provider" 2>/dev/null) local paused=$(uci -q get "quecprofiles.$idx.paused" 2>/dev/null) - + # Debug output log_message "Retrieved for $idx: name=$name, iccid=$iccid, apn=$apn, paused=$paused" @@ -93,7 +94,7 @@ get_profiles() { log_message "Skipping invalid profile: $idx (missing required fields)" "warn" continue fi - + # Sanitize all values to ensure valid JSON name=$(sanitize_for_json "$name") iccid=$(sanitize_for_json "$iccid") @@ -105,8 +106,9 @@ get_profiles() { nsa_nr5g_bands=$(sanitize_for_json "${nsa_nr5g_bands:-""}") network_type=$(sanitize_for_json "${network_type:-"LTE"}") ttl=$(sanitize_for_json "${ttl:-0}") + mobile_provider=$(sanitize_for_json "${mobile_provider:-""}") paused=$(sanitize_for_json "${paused:-0}") - + # Create profile JSON local profile_json="{" profile_json="${profile_json}\"name\":\"${name}\"," @@ -119,27 +121,28 @@ get_profiles() { profile_json="${profile_json}\"nsa_nr5g_bands\":\"${nsa_nr5g_bands}\"," profile_json="${profile_json}\"network_type\":\"${network_type}\"," profile_json="${profile_json}\"ttl\":\"${ttl}\"," + profile_json="${profile_json}\"mobile_provider\":\"${mobile_provider}\"," profile_json="${profile_json}\"paused\":\"${paused}\"" profile_json="${profile_json}}" - + # Add comma if not first if [ $first -eq 0 ]; then json_output="${json_output}," else first=0 fi - + # Add profile to output json_output="${json_output}${profile_json}" count=$((count+1)) done - + # Complete the JSON response local response="{\"status\":\"success\",\"profiles\":[${json_output}]}" - + # Save the response for debugging echo "$response" > /tmp/list_profiles_response.json - + echo "$response" log_message "Found and returned $count profiles" return 0 diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_create.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_create.sh index 76a420b..826531e 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_create.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_create.sh @@ -136,6 +136,7 @@ create_profile() { local nsa_nr5g_bands="$8" local network_type="$9" local ttl="${10}" + local mobile_provider="${11}" # Generate a unique ID for the profile local profile_id="profile_$(date +%s)_$(head -c 4 /dev/urandom | hexdump -e '"%x"')" @@ -154,6 +155,7 @@ set quecprofiles.@profile[-1].nsa_nr5g_bands='$nsa_nr5g_bands' set quecprofiles.@profile[-1].network_type='$network_type' set quecprofiles.@profile[-1].ttl='$ttl' set quecprofiles.@profile[-1].paused='0' +set quecprofiles.@profile[-1].mobile_provider='$mobile_provider' commit quecprofiles EOF @@ -206,6 +208,7 @@ if [ "$REQUEST_METHOD" = "POST" ]; then nsa_nr5g_bands=$(echo "$POST_DATA" | jsonfilter -e '@.nsa_nr5g_bands' 2>/dev/null) network_type=$(echo "$POST_DATA" | jsonfilter -e '@.network_type' 2>/dev/null) ttl=$(echo "$POST_DATA" | jsonfilter -e '@.ttl' 2>/dev/null) + mobile_provider=$(echo "$POST_DATA" | jsonfilter -e '@.mobile_provider' 2>/dev/null) log_message "Parsed JSON data for profile: $name" "debug" else @@ -221,6 +224,7 @@ if [ "$REQUEST_METHOD" = "POST" ]; then nsa_nr5g_bands=$(echo "$POST_DATA" | grep -o '"nsa_nr5g_bands":"[^"]*"' | head -1 | cut -d':' -f2 | tr -d '"') network_type=$(echo "$POST_DATA" | grep -o '"network_type":"[^"]*"' | head -1 | cut -d':' -f2 | tr -d '"') ttl=$(echo "$POST_DATA" | grep -o '"ttl":"[^"]*"' | head -1 | cut -d':' -f2 | tr -d '"') + mobile_provider=$(echo "$POST_DATA" | grep -o '"mobile_provider":"[^"]*"' | head -1 | cut -d':' -f2 | tr -d '"') log_message "Basic parsing for profile: $name" "warn" fi @@ -240,6 +244,7 @@ else nsa_nr5g_bands=$(echo "$QUERY_STRING" | grep -o 'nsa_nr5g_bands=[^&]*' | cut -d'=' -f2) network_type=$(echo "$QUERY_STRING" | grep -o 'network_type=[^&]*' | cut -d'=' -f2) ttl=$(echo "$QUERY_STRING" | grep -o 'ttl=[^&]*' | cut -d'=' -f2) + mobile_provider=$(echo "$QUERY_STRING" | grep -o 'mobile_provider=[^&]*' | cut -d'=' -f2) # URL decode values name=$(echo "$name" | sed 's/+/ /g;s/%\(..\)/\\x\1/g;' | xargs -0 printf "%b") @@ -252,6 +257,7 @@ else nsa_nr5g_bands=$(echo "$nsa_nr5g_bands" | sed 's/+/ /g;s/%\(..\)/\\x\1/g;' | xargs -0 printf "%b") network_type=$(echo "$network_type" | sed 's/+/ /g;s/%\(..\)/\\x\1/g;' | xargs -0 printf "%b") ttl=$(echo "$ttl" | sed 's/+/ /g;s/%\(..\)/\\x\1/g;' | xargs -0 printf "%b") + mobile_provider=$(echo "$mobile_provider" | sed 's/+/ /g;s/%\(..\)/\\x\1/g;' | xargs -0 printf "%b") log_message "Using URL parameters" "warn" fi @@ -267,6 +273,7 @@ sa_nr5g_bands=$(sanitize "${sa_nr5g_bands:-}") nsa_nr5g_bands=$(sanitize "${nsa_nr5g_bands:-}") network_type=$(sanitize "${network_type:-LTE}") ttl=$(sanitize "${ttl:-0}") # Default to 0 (disabled) +mobile_provider=$(sanitize "${mobile_provider:-Other}") # Output debug info log_message "Creating profile: $name, ICCID: $iccid, IMEI: $imei, APN: $apn" "debug" @@ -340,14 +347,14 @@ elif [ $dup_status -eq 2 ]; then fi # Create the profile -if create_profile "$name" "$iccid" "$imei" "$apn" "$pdp_type" "$lte_bands" "$sa_nr5g_bands" "$nsa_nr5g_bands" "$network_type" "$ttl"; then +if create_profile "$name" "$iccid" "$imei" "$apn" "$pdp_type" "$lte_bands" "$sa_nr5g_bands" "$nsa_nr5g_bands" "$network_type" "$ttl" "$mobile_provider"; then # Trigger immediate profile application touch "/tmp/quecprofiles_check" chmod 644 "/tmp/quecprofiles_check" log_message "Triggered immediate profile check after creation" "info" - + # Create profile data JSON for return - WITHOUT outer curly braces - profile_data="\"name\":\"$name\",\"iccid\":\"$iccid\",\"imei\":\"$imei\",\"apn\":\"$apn\",\"pdp_type\":\"$pdp_type\",\"lte_bands\":\"$lte_bands\",\"sa_nr5g_bands\":\"$sa_nr5g_bands\",\"nsa_nr5g_bands\":\"$nsa_nr5g_bands\",\"network_type\":\"$network_type\",\"ttl\":\"$ttl\"" + profile_data="\"name\":\"$name\",\"iccid\":\"$iccid\",\"imei\":\"$imei\",\"apn\":\"$apn\",\"pdp_type\":\"$pdp_type\",\"lte_bands\":\"$lte_bands\",\"sa_nr5g_bands\":\"$sa_nr5g_bands\",\"nsa_nr5g_bands\":\"$nsa_nr5g_bands\",\"network_type\":\"$network_type\",\"ttl\":\"$ttl\",\"mobile_provider\":\"$mobile_provider\"" # Wrap the data field in curly braces inside output_json output_json "success" "Profile created successfully" "{$profile_data}" diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_delete.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_delete.sh index 95c6e6c..fe48a73 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_delete.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_delete.sh @@ -17,7 +17,7 @@ output_json() { local status="$1" local message="$2" local data="${3:-{}}" - + printf '{"status":"%s","message":"%s","data":%s}\n' "$status" "$message" "$data" exit 0 } @@ -32,7 +32,7 @@ find_profile_by_iccid() { local iccid="$1" # Get all profile indices local profile_indices=$(uci show quecprofiles | grep -o '@profile\[[0-9]\+\]' | sort -u) - + for profile_index in $profile_indices; do local current_iccid=$(uci -q get quecprofiles.$profile_index.iccid) if [ "$current_iccid" = "$iccid" ]; then @@ -40,7 +40,7 @@ find_profile_by_iccid() { return 0 fi done - + return 1 } @@ -48,13 +48,13 @@ find_profile_by_iccid() { delete_profile() { local profile_index="$1" local profile_name=$(uci -q get quecprofiles.$profile_index.name) - + # Delete the profile from UCI config uci -q batch </dev/null) - + # Debug log log_message "Received POST data: $POST_DATA" "debug" - + # Parse JSON with jsonfilter if available if command -v jsonfilter >/dev/null 2>&1; then iccid=$(echo "$POST_DATA" | jsonfilter -e '@.iccid' 2>/dev/null) @@ -102,10 +102,10 @@ if [ "$REQUEST_METHOD" = "POST" ]; then elif [ -n "$QUERY_STRING" ]; then # URL parameters for GET or DELETE requests iccid=$(echo "$QUERY_STRING" | grep -o 'iccid=[^&]*' | cut -d'=' -f2) - + # URL decode value iccid=$(echo "$iccid" | sed 's/+/ /g;s/%\(..\)/\\x\1/g;' | xargs -0 printf "%b") - + log_message "Using URL parameter: iccid=$iccid" "debug" fi diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_edit.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_edit.sh index c56b85f..2c0eb79 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_edit.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_edit.sh @@ -171,6 +171,7 @@ update_profile() { local nsa_nr5g_bands="$8" local network_type="$9" local ttl="${10}" + local mobile_provider="${11}" # Update the profile in UCI config uci -q batch </dev/null) network_type=$(echo "$POST_DATA" | jsonfilter -e '@.network_type' 2>/dev/null) ttl=$(echo "$POST_DATA" | jsonfilter -e '@.ttl' 2>/dev/null) + mobile_provider=$(echo "$POST_DATA" | jsonfilter -e '@.mobile_provider' 2>/dev/null) log_message "Parsed JSON data for profile: $name" "debug" else @@ -252,6 +255,7 @@ if [ "$REQUEST_METHOD" = "POST" ]; then nsa_nr5g_bands=$(echo "$POST_DATA" | grep -o '"nsa_nr5g_bands":"[^"]*"' | head -1 | cut -d':' -f2 | tr -d '"') network_type=$(echo "$POST_DATA" | grep -o '"network_type":"[^"]*"' | head -1 | cut -d':' -f2 | tr -d '"') ttl=$(echo "$POST_DATA" | grep -o '"ttl":"[^"]*"' | head -1 | cut -d':' -f2 | tr -d '"') + mobile_provider=$(echo "$POST_DATA" | grep -o '"mobile_provider":"[^"]*"' | head -1 | cut -d':' -f2 | tr -d '"') log_message "Basic parsing for profile: $name" "warn" fi @@ -271,6 +275,7 @@ else nsa_nr5g_bands=$(echo "$QUERY_STRING" | grep -o 'nsa_nr5g_bands=[^&]*' | cut -d'=' -f2) network_type=$(echo "$QUERY_STRING" | grep -o 'network_type=[^&]*' | cut -d'=' -f2) ttl=$(echo "$QUERY_STRING" | grep -o 'ttl=[^&]*' | cut -d'=' -f2) + mobile_provider=$(echo "$QUERY_STRING" | grep -o 'mobile_provider=[^&]*' | cut -d'=' -f2) # URL decode values iccid=$(echo "$iccid" | sed 's/+/ /g;s/%\(..\)/\\x\1/g;' | xargs -0 printf "%b") @@ -283,6 +288,7 @@ else nsa_nr5g_bands=$(echo "$nsa_nr5g_bands" | sed 's/+/ /g;s/%\(..\)/\\x\1/g;' | xargs -0 printf "%b") network_type=$(echo "$network_type" | sed 's/+/ /g;s/%\(..\)/\\x\1/g;' | xargs -0 printf "%b") ttl=$(echo "$ttl" | sed 's/+/ /g;s/%\(..\)/\\x\1/g;' | xargs -0 printf "%b") + mobile_provider=$(echo "$mobile_provider" | sed 's/+/ /g;s/%\(..\)/\\x\1/g;' | xargs -0 printf "%b") log_message "Using URL parameters" "warn" fi @@ -298,6 +304,7 @@ sa_nr5g_bands=$(sanitize "${sa_nr5g_bands:-}") nsa_nr5g_bands=$(sanitize "${nsa_nr5g_bands:-}") network_type=$(sanitize "${network_type:-LTE}") ttl=$(sanitize "${ttl:-0}") # Default to 0 (disabled) +mobile_provider=$(sanitize "${mobile_provider:-Other}") # Output debug info log_message "Editing profile: $name, ICCID: $iccid, IMEI: $imei, APN: $apn" "debug" @@ -373,18 +380,18 @@ if check_duplicate_name "$name" "$iccid"; then fi # Update profile -if update_profile "$profile_index" "$name" "$imei" "$apn" "$pdp_type" "$lte_bands" "$nr5g_bands" "$network_type"; then +if update_profile "$profile_index" "$name" "$imei" "$apn" "$pdp_type" "$lte_bands" "$sa_nr5g_bands" "$nsa_nr5g_bands" "$network_type" "$ttl" "$mobile_provider"; then # Trigger immediate profile application touch "/tmp/quecprofiles_check" chmod 644 "/tmp/quecprofiles_check" log_message "Triggered immediate profile check after update" "info" - + # Create a clean JSON response with properly escaped quotes printf '{"status":"success","message":"Profile updated successfully","data":{"name":"%s","iccid":"%s","imei":"%s","apn":"%s","pdp_type":"%s","lte_bands":"%s","nr5g_bands":"%s","network_type":"%s"}}' \ "$name" "$iccid" "$imei" "$apn" "$pdp_type" "$lte_bands" "$nr5g_bands" "$network_type" - + log_message "Profile updated successfully: $name" "info" - + # Note: The conditional trigger is replaced with the direct trigger above else printf '{"status":"error","message":"Failed to update profile. Please check system logs."}' diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/toggle_pause.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/toggle_pause.sh index 8ae0845..26e8f32 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/toggle_pause.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/toggle_pause.sh @@ -145,10 +145,10 @@ elif [ -n "$QUERY_STRING" ]; then # URL parameters for GET requests (for testing) iccid=$(echo "$QUERY_STRING" | grep -o 'iccid=[^&]*' | cut -d'=' -f2) paused=$(echo "$QUERY_STRING" | grep -o 'paused=[^&]*' | cut -d'=' -f2) - + # URL decode values iccid=$(echo "$iccid" | sed 's/+/ /g;s/%\(..\)/\\x\1/g;' | xargs -0 printf "%b") - + log_message "Using URL parameters: iccid=$iccid, paused=$paused" "debug" fi diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/memory_settings.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/memory_settings.sh new file mode 100755 index 0000000..4b4b3bd --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/memory_settings.sh @@ -0,0 +1,301 @@ +#!/bin/sh + +# Memory Settings Configuration Script +# Manages memory service (enable/disable) and daemon settings with dynamic service management + +# Handle OPTIONS request first +if [ "${REQUEST_METHOD:-GET}" = "OPTIONS" ]; then + echo "Content-Type: text/plain" + echo "Access-Control-Allow-Origin: *" + echo "Access-Control-Allow-Methods: GET, POST, DELETE, OPTIONS" + echo "Access-Control-Allow-Headers: Content-Type" + echo "Access-Control-Max-Age: 86400" + echo "" + exit 0 +fi + +# Set content type and CORS headers +echo "Content-Type: application/json" +echo "Access-Control-Allow-Origin: *" +echo "Access-Control-Allow-Methods: GET, POST, DELETE, OPTIONS" +echo "Access-Control-Allow-Headers: Content-Type" +echo "" + +# Configuration paths +CONFIG_DIR="/etc/quecmanager/settings" +CONFIG_FILE="$CONFIG_DIR/memory_settings.conf" +FALLBACK_CONFIG_DIR="/tmp/quecmanager/settings" +FALLBACK_CONFIG_FILE="$FALLBACK_CONFIG_DIR/memory_settings.conf" +LOG_FILE="/tmp/memory_settings.log" +SERVICES_INIT="/etc/init.d/quecmanager_services" + +# Logging function +log_message() { + echo "$(date '+%Y-%m-%d %H:%M:%S') - $1" >> "$LOG_FILE" +} + +# Error response function +send_error() { + local error_code="$1" + local error_message="$2" + log_message "ERROR: $error_message" + echo "{\"status\":\"error\",\"code\":\"$error_code\",\"message\":\"$error_message\"}" + exit 1 +} + +# Success response function +send_success() { + local message="$1" + local data="$2" + log_message "SUCCESS: $message" + if [ -n "$data" ]; then + echo "{\"status\":\"success\",\"message\":\"$message\",\"data\":$data}" + else + echo "{\"status\":\"success\",\"message\":\"$message\"}" + fi +} + +# Get current configuration +get_config() { + # Defaults + ENABLED="false" + INTERVAL="1" + + # Try primary config first, then fallback + local config_to_read="" + if [ -f "$CONFIG_FILE" ]; then + config_to_read="$CONFIG_FILE" + elif [ -f "$FALLBACK_CONFIG_FILE" ]; then + config_to_read="$FALLBACK_CONFIG_FILE" + fi + + if [ -n "$config_to_read" ]; then + local enabled_val=$(grep "^MEMORY_ENABLED=" "$config_to_read" 2>/dev/null | tail -n1 | cut -d'=' -f2) + local interval_val=$(grep "^MEMORY_INTERVAL=" "$config_to_read" 2>/dev/null | tail -n1 | cut -d'=' -f2) + + case "$enabled_val" in + true|1|on|yes|enabled) ENABLED="true" ;; + *) ENABLED="false" ;; + esac + + if echo "$interval_val" | grep -qE '^[0-9]+$' && [ "$interval_val" -ge 1 ] && [ "$interval_val" -le 10 ]; then + INTERVAL="$interval_val" + fi + fi +} + +# Save configuration +save_config() { + local enabled="$1" + local interval="$2" + + # Try primary location first + if mkdir -p "$CONFIG_DIR" 2>/dev/null && [ -w "$CONFIG_DIR" ]; then + { + echo "MEMORY_ENABLED=$enabled" + echo "MEMORY_INTERVAL=$interval" + } > "$CONFIG_FILE" && chmod 644 "$CONFIG_FILE" 2>/dev/null + log_message "Saved config to primary location: enabled=$enabled, interval=$interval" + return 0 + fi + + # Fallback to tmp + mkdir -p "$FALLBACK_CONFIG_DIR" 2>/dev/null + { + echo "MEMORY_ENABLED=$enabled" + echo "MEMORY_INTERVAL=$interval" + } > "$FALLBACK_CONFIG_FILE" && chmod 644 "$FALLBACK_CONFIG_FILE" 2>/dev/null + log_message "Saved config to fallback location: enabled=$enabled, interval=$interval" +} + +# Add memory daemon to services init script +add_memory_daemon_to_services() { + if [ ! -f "$SERVICES_INIT" ]; then + log_message "Services init file not found: $SERVICES_INIT" + return 1 + fi + + # Check if memory daemon is already present + if grep -q "memory_daemon.sh" "$SERVICES_INIT" 2>/dev/null; then + log_message "Memory daemon already present in services" + return 0 + fi + + # Create a temporary file with the memory daemon block + local temp_file="/tmp/services_temp_$$" + + # Find the line before "echo \"All QuecManager services Started\"" and insert memory daemon + awk ' + /echo "All QuecManager services Started"/ { + print " # Start memory daemon" + print " echo \"Starting Memory Daemon...\"" + print " procd_open_instance" + print " procd_set_param command /www/cgi-bin/services/memory_daemon.sh" + print " procd_set_param respawn" + print " procd_set_param stdout 1" + print " procd_set_param stderr 1" + print " procd_close_instance" + print " echo \"Memory Daemon started\"" + print "" + } + { print } + ' "$SERVICES_INIT" > "$temp_file" + + if [ -s "$temp_file" ]; then + mv "$temp_file" "$SERVICES_INIT" + chmod +x "$SERVICES_INIT" + log_message "Added memory daemon to services init script" + return 0 + else + rm -f "$temp_file" + log_message "Failed to add memory daemon to services" + return 1 + fi +} + +# Remove memory daemon from services init script +remove_memory_daemon_from_services() { + if [ ! -f "$SERVICES_INIT" ]; then + log_message "Services init file not found: $SERVICES_INIT" + return 1 + fi + + # Check if memory daemon is present + if ! grep -q "memory_daemon.sh" "$SERVICES_INIT" 2>/dev/null; then + log_message "Memory daemon not present in services" + return 0 + fi + + # Remove the memory daemon block (from "# Start memory daemon" to the empty line after) + local temp_file="/tmp/services_temp_$$" + + awk ' + /# Start memory daemon/ { skip=1; next } + skip && /^$/ { skip=0; next } + !skip { print } + ' "$SERVICES_INIT" > "$temp_file" + + if [ -s "$temp_file" ]; then + mv "$temp_file" "$SERVICES_INIT" + chmod +x "$SERVICES_INIT" + log_message "Removed memory daemon from services init script" + return 0 + else + rm -f "$temp_file" + log_message "Failed to remove memory daemon from services" + return 1 + fi +} + +# Restart QuecManager services +restart_services() { + log_message "Restarting QuecManager services..." + + # Stop services + if [ -x "$SERVICES_INIT" ]; then + "$SERVICES_INIT" stop >/dev/null 2>&1 + sleep 2 + "$SERVICES_INIT" start >/dev/null 2>&1 + log_message "Services restarted successfully" + return 0 + else + log_message "Cannot restart services - init script not found or not executable" + return 1 + fi +} + +# Check if memory daemon is running +is_memory_daemon_running() { + pgrep -f "memory_daemon.sh" >/dev/null 2>&1 +} + +# Handle POST request - Update memory setting +handle_post() { + log_message "POST request received" + + local content_length=${CONTENT_LENGTH:-0} + if [ "$content_length" -eq 0 ]; then + send_error "NO_DATA" "No data provided" + fi + + # Read POST data + local post_data=$(dd bs=$content_length count=1 2>/dev/null) + log_message "Received POST data: $post_data" + + # Parse enabled and interval from JSON + local enabled=$(echo "$post_data" | sed -n 's/.*"enabled"[[:space:]]*:[[:space:]]*\([^,}]*\).*/\1/p' | tr -d ' "') + local interval=$(echo "$post_data" | sed -n 's/.*"interval"[[:space:]]*:[[:space:]]*\([0-9][0-9]*\).*/\1/p') + + # Set defaults if not provided + [ -z "$enabled" ] && enabled="false" + [ -z "$interval" ] && interval="1" + + # Validate input + case "$enabled" in + true|false) ;; + *) send_error "INVALID_SETTING" "Invalid enabled value. Must be true or false." ;; + esac + + if ! echo "$interval" | grep -qE '^[0-9]+$' || [ "$interval" -lt 1 ] || [ "$interval" -gt 10 ]; then + send_error "INVALID_INTERVAL" "Interval must be a number between 1 and 10 seconds." + fi + + # Get current config to compare + get_config + local prev_enabled="$ENABLED" + local prev_interval="$INTERVAL" + + # Save new configuration + save_config "$enabled" "$interval" + + # Handle service changes + if [ "$enabled" = "true" ]; then + # Enable memory daemon + add_memory_daemon_to_services + if [ "$prev_enabled" != "true" ] || [ "$prev_interval" != "$interval" ]; then + restart_services + fi + else + # Disable memory daemon + remove_memory_daemon_from_services + restart_services + fi + + # Return current status + sleep 1 # Give services time to start/stop + local running="false" + if is_memory_daemon_running; then + running="true" + fi + + send_success "Memory setting updated successfully" "{\"enabled\":$enabled,\"interval\":$interval,\"running\":$running}" +} + +# Handle DELETE request - Reset to default +handle_delete() { + log_message "DELETE request received" + + # Remove memory daemon from services and restart + remove_memory_daemon_from_services + restart_services + + # Remove config files + rm -f "$CONFIG_FILE" "$FALLBACK_CONFIG_FILE" 2>/dev/null + + send_success "Memory setting reset to default (disabled)" "{\"enabled\":false,\"interval\":1,\"running\":false,\"isDefault\":true}" +} + +# Main execution +log_message "Memory settings script called with method: ${REQUEST_METHOD:-GET}" + +case "${REQUEST_METHOD:-GET}" in + POST) + handle_post + ;; + DELETE) + handle_delete + ;; + *) + send_error "METHOD_NOT_ALLOWED" "HTTP method ${REQUEST_METHOD} not supported." + ;; +esac diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/ping_settings.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/ping_settings.sh index d3ed465..c53a168 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/ping_settings.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/ping_settings.sh @@ -1,11 +1,22 @@ #!/bin/sh # Ping Settings Configuration Script -# Manages ping enable/disable preferences +# Manages ping service (enable/disable) and daemon settings # Author: dr-dolomite # Date: 2025-08-04 -# Set content type and CORS headers +# Handle OPTIONS request first (before any headers) +if [ "${REQUEST_METHOD:-GET}" = "OPTIONS" ]; then + echo "Content-Type: text/plain" + echo "Access-Control-Allow-Origin: *" + echo "Access-Control-Allow-Methods: GET, POST, DELETE, OPTIONS" + echo "Access-Control-Allow-Headers: Content-Type" + echo "Access-Control-Max-Age: 86400" + echo "" + exit 0 +fi + +# Set content type and CORS headers for other requests echo "Content-Type: application/json" echo "Access-Control-Allow-Origin: *" echo "Access-Control-Allow-Methods: GET, POST, DELETE, OPTIONS" @@ -15,7 +26,12 @@ echo "" # Configuration CONFIG_DIR="/etc/quecmanager/settings" CONFIG_FILE="$CONFIG_DIR/ping_settings.conf" +FALLBACK_CONFIG_DIR="/tmp/quecmanager/settings" +FALLBACK_CONFIG_FILE="$FALLBACK_CONFIG_DIR/ping_settings.conf" LOG_FILE="/tmp/ping_settings.log" +PID_FILE="/tmp/quecmanager/ping_daemon.pid" +# Prefer the new services location, fall back to the legacy path for compatibility +DAEMON_RELATIVE_PATHS="/cgi-bin/services/ping_daemon.sh" # Logging function log_message() { @@ -43,99 +59,176 @@ send_success() { fi } -# Ensure configuration directory exists -ensure_config_directory() { - if [ ! -d "$CONFIG_DIR" ]; then - log_message "Creating directory: $CONFIG_DIR" - mkdir -p "$CONFIG_DIR" - if [ $? -ne 0 ]; then - # Try to use a fallback location in /tmp - CONFIG_DIR="/tmp/quecmanager/settings" - CONFIG_FILE="$CONFIG_DIR/ping_settings.conf" - log_message "Fallback to alternative location: $CONFIG_DIR" - mkdir -p "$CONFIG_DIR" - if [ $? -ne 0 ]; then - send_error "DIRECTORY_ERROR" "Failed to create configuration directory" - fi - fi - chmod 755 "$CONFIG_DIR" - log_message "Created configuration directory: $CONFIG_DIR" +# Resolve config file for reading: prefer primary, then fallback +resolve_config_for_read() { + if [ -f "$CONFIG_FILE" ]; then + return 0 + elif [ -f "$FALLBACK_CONFIG_FILE" ]; then + CONFIG_FILE="$FALLBACK_CONFIG_FILE" + CONFIG_DIR="$FALLBACK_CONFIG_DIR" + return 0 fi + # Default to primary path if none exist + return 0 +} + +# Determine daemon path (absolute) based on typical web root layouts +resolve_daemon_path() { + # Common locations where CGI/WWW is mounted + for rel in $DAEMON_RELATIVE_PATHS; do + for base in \ + /www \ + /; do + if [ -x "$base$rel" ]; then + echo "$base$rel" + return 0 + fi + done + # Also try as-is if busybox httpd cwd matches web root + if [ -x "$rel" ]; then + echo "$rel" + return 0 + fi + done + # Nothing found; return first candidate as a best-effort path + set -- $DAEMON_RELATIVE_PATHS + echo "$1" +} + +daemon_running() { + if [ -f "$PID_FILE" ]; then + pid="$(cat "$PID_FILE" 2>/dev/null || true)" + if [ -n "${pid:-}" ] && kill -0 "$pid" 2>/dev/null; then + return 0 + fi + fi + return 1 +} + +start_daemon() { + # Ensure /tmp/quecmanager exists for PID + [ -d "/tmp/quecmanager" ] || mkdir -p "/tmp/quecmanager" + + if daemon_running; then + log_message "Daemon already running" + return 0 + fi + + local daemon_path + daemon_path="$(resolve_daemon_path)" + if [ ! -x "$daemon_path" ]; then + # Try to make it executable if present + if [ -f "$daemon_path" ]; then + chmod +x "$daemon_path" 2>/dev/null || true + fi + fi + + if [ -x "$daemon_path" ]; then + nohup "$daemon_path" >/dev/null 2>&1 & + log_message "Started ping daemon: $daemon_path (pid $!)" + return 0 + else + log_message "Daemon script not found or not executable: $daemon_path" + return 1 + fi +} + +stop_daemon() { + if daemon_running; then + pid="$(cat "$PID_FILE" 2>/dev/null || true)" + if [ -n "${pid:-}" ]; then + kill "$pid" 2>/dev/null || true + sleep 0.2 + kill -9 "$pid" 2>/dev/null || true + fi + fi + rm -f "$PID_FILE" 2>/dev/null || true } # Get current ping setting -get_ping_setting() { - # If config file exists, read from it +get_config_values() { + # defaults + ENABLED="true" + HOST="8.8.8.8" + INTERVAL="5" + + resolve_config_for_read if [ -f "$CONFIG_FILE" ]; then - ping_enabled=$(grep "^PING_ENABLED=" "$CONFIG_FILE" | cut -d'=' -f2) - if [ -n "$ping_enabled" ]; then - if [ "$ping_enabled" = "true" ] || [ "$ping_enabled" = "1" ] || [ "$ping_enabled" = "on" ]; then - echo "true" - else - echo "false" - fi - return + val=$(grep -E "^PING_ENABLED=" "$CONFIG_FILE" | tail -n1 | cut -d'=' -f2) + if [ -n "${val:-}" ]; then + case "$val" in + true|1|on|yes|enabled) ENABLED="true" ;; + *) ENABLED="false" ;; + esac + fi + val=$(grep -E "^PING_HOST=" "$CONFIG_FILE" | tail -n1 | cut -d'=' -f2) + [ -n "${val:-}" ] && HOST="$val" + val=$(grep -E "^PING_INTERVAL=" "$CONFIG_FILE" | tail -n1 | cut -d'=' -f2) + if echo "${val:-}" | grep -qE '^[0-9]+$'; then + INTERVAL="$val" fi fi - - # Default to enabled if no config exists - echo "true" } # Save ping setting to config file -save_ping_setting() { +save_config() { local enabled="$1" - ensure_config_directory - - # Create or update config file - if [ -f "$CONFIG_FILE" ]; then - # Update existing file - sed -i "s/^PING_ENABLED=.*$/PING_ENABLED=$enabled/" "$CONFIG_FILE" - if [ $? -ne 0 ]; then - # If sed fails (e.g., no match), append the setting - echo "PING_ENABLED=$enabled" >> "$CONFIG_FILE" + local host="$2" + local interval="$3" + + # Try primary directory first + if mkdir -p "$CONFIG_DIR" 2>/dev/null; then + local tmp="$CONFIG_FILE.tmp.$$" + echo "PING_ENABLED=$enabled" > "$tmp" || rm -f "$tmp" || return 1 + echo "PING_HOST=$host" >> "$tmp" || rm -f "$tmp" || return 1 + echo "PING_INTERVAL=$interval" >> "$tmp" || rm -f "$tmp" || return 1 + if mv -f "$tmp" "$CONFIG_FILE" 2>/dev/null; then + chmod 644 "$CONFIG_FILE" 2>/dev/null || true + log_message "Saved ping config (primary): enabled=$enabled host=$host interval=$interval" + return 0 fi - else - # Create new file - echo "PING_ENABLED=$enabled" > "$CONFIG_FILE" fi - - chmod 644 "$CONFIG_FILE" - log_message "Saved ping setting: $enabled" + + # Fallback to /tmp + mkdir -p "$FALLBACK_CONFIG_DIR" 2>/dev/null || true + local tmp2="$FALLBACK_CONFIG_FILE.tmp.$$" + echo "PING_ENABLED=$enabled" > "$tmp2" || rm -f "$tmp2" || return 1 + echo "PING_HOST=$host" >> "$tmp2" || rm -f "$tmp2" || return 1 + echo "PING_INTERVAL=$interval" >> "$tmp2" || rm -f "$tmp2" || return 1 + mv -f "$tmp2" "$FALLBACK_CONFIG_FILE" 2>/dev/null || return 1 + chmod 644 "$FALLBACK_CONFIG_FILE" 2>/dev/null || true + # Point CONFIG_FILE to fallback for subsequent reads in this request + CONFIG_FILE="$FALLBACK_CONFIG_FILE"; CONFIG_DIR="$FALLBACK_CONFIG_DIR" + log_message "Saved ping config (fallback): enabled=$enabled host=$host interval=$interval" } # Delete ping configuration (reset to default) delete_ping_setting() { - if [ -f "$CONFIG_FILE" ]; then - # Remove the PING_ENABLED line - sed -i '/^PING_ENABLED=/d' "$CONFIG_FILE" - log_message "Deleted ping configuration" - - # If file is empty after deletion, remove it - if [ ! -s "$CONFIG_FILE" ]; then - rm -f "$CONFIG_FILE" - log_message "Removed empty config file" + local removed=1 + for f in "$CONFIG_FILE" "$FALLBACK_CONFIG_FILE"; do + if [ -f "$f" ]; then + sed -i '/^PING_ENABLED=/d' "$f" 2>/dev/null || true + sed -i '/^PING_HOST=/d' "$f" 2>/dev/null || true + sed -i '/^PING_INTERVAL=/d' "$f" 2>/dev/null || true + log_message "Deleted ping configuration entries in $f" + [ -s "$f" ] || { rm -f "$f" 2>/dev/null || true; log_message "Removed empty config file $f"; } + removed=0 fi - return 0 - else - return 1 - fi + done + return $removed } # Handle GET request - Retrieve ping setting handle_get() { log_message "GET request received" - - # Get current setting (from config or default) - local enabled=$(get_ping_setting) - - # Check if it's from config or default + get_config_values + local running=false + if daemon_running; then running=true; fi local is_default=true if [ -f "$CONFIG_FILE" ] && grep -q "^PING_ENABLED=" "$CONFIG_FILE"; then is_default=false fi - - send_success "Ping setting retrieved" "{\"enabled\":$enabled,\"isDefault\":$is_default}" + send_success "Ping configuration retrieved" "{\"enabled\":$ENABLED,\"host\":\"$HOST\",\"interval\":$INTERVAL,\"running\":$running,\"isDefault\":$is_default}" } # Handle POST request - Update ping setting @@ -148,38 +241,58 @@ handle_post() { local post_data=$(dd bs=$content_length count=1 2>/dev/null) log_message "Received POST data: $post_data" - # Parse JSON to extract enabled value - local enabled="" - - # Approach 1: Simple regex extraction for boolean - enabled=$(echo "$post_data" | sed -n 's/.*"enabled"[[:space:]]*:[[:space:]]*\([^,}]*\).*/\1/p' | tr -d ' ') - - # Approach 2: grep + cut extraction - if [ -z "$enabled" ]; then - enabled=$(echo "$post_data" | grep -o '"enabled":[^,}]*' | cut -d':' -f2 | tr -d ' ') + # Parse fields + local enabled host interval + enabled=$(echo "$post_data" | sed -n 's/.*"enabled"[[:space:]]*:[[:space:]]*\([^,}]*\).*/\1/p' | tr -d ' ' | sed 's/"//g') + host=$(echo "$post_data" | sed -n 's/.*"host"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p') + interval=$(echo "$post_data" | sed -n 's/.*"interval"[[:space:]]*:[[:space:]]*\([0-9][0-9]*\).*/\1/p') + + # Defaults when missing + [ -z "$enabled" ] && enabled="true" + [ -z "$host" ] && host="8.8.8.8" + [ -z "$interval" ] && interval="5" + + # Validate + case "$enabled" in + true|false) : ;; + *) send_error "INVALID_SETTING" "Invalid enabled value. Must be true or false." ;; + esac + if ! echo "$interval" | grep -qE '^[0-9]+$'; then + send_error "INVALID_INTERVAL" "Interval must be a number (seconds)." fi - - # Approach 3: Look for true/false in the payload - if [ -z "$enabled" ]; then - if echo "$post_data" | grep -q '"enabled"[[:space:]]*:[[:space:]]*true'; then - enabled="true" - elif echo "$post_data" | grep -q '"enabled"[[:space:]]*:[[:space:]]*false'; then - enabled="false" + if [ "$interval" -lt 1 ] || [ "$interval" -gt 3600 ]; then + send_error "INVALID_INTERVAL" "Interval must be between 1 and 3600 seconds." + fi + + # Capture previous values to decide on restart + get_config_values + local prev_enabled="$ENABLED" + local prev_host="$HOST" + local prev_interval="$INTERVAL" + + save_config "$enabled" "$host" "$interval" || send_error "WRITE_FAILED" "Failed to save configuration" + + if [ "$enabled" = "true" ]; then + if daemon_running; then + # Restart only if effective parameters changed + if [ "$prev_host" != "$host" ] || [ "$prev_interval" != "$interval" ] || [ "$prev_enabled" != "$enabled" ]; then + log_message "Config change detected (host/interval/enabled). Restarting daemon." + stop_daemon + start_daemon || log_message "Failed to restart daemon" + else + log_message "No change requiring restart; daemon remains running" + fi + else + start_daemon || log_message "Failed to start daemon" fi - fi - - # Clean up the value (remove quotes if present) - enabled=$(echo "$enabled" | sed 's/"//g') - - log_message "Received enabled: $enabled" - - # Validate setting - if [ "$enabled" = "true" ] || [ "$enabled" = "false" ]; then - save_ping_setting "$enabled" - send_success "Ping setting updated successfully" "{\"enabled\":$enabled}" else - send_error "INVALID_SETTING" "Invalid setting provided. Must be 'true' or 'false'." + stop_daemon fi + + get_config_values + local running=false + if daemon_running; then running=true; fi + send_success "Ping setting updated successfully" "{\"enabled\":$ENABLED,\"host\":\"$HOST\",\"interval\":$INTERVAL,\"running\":$running}" else send_error "NO_DATA" "No data provided" fi @@ -188,24 +301,15 @@ handle_post() { # Handle DELETE request - Reset to default (delete configuration) handle_delete() { log_message "DELETE request received" - + stop_daemon if delete_ping_setting; then # Default is enabled - send_success "Ping setting reset to default" "{\"enabled\":true,\"isDefault\":true}" + send_success "Ping setting reset to default" "{\"enabled\":true,\"isDefault\":true,\"running\":false}" else send_error "NOT_FOUND" "Ping setting configuration not found" fi } -# Handle OPTIONS request for CORS preflight -handle_options() { - log_message "OPTIONS request received" - echo "Access-Control-Allow-Methods: GET, POST, DELETE, OPTIONS" - echo "Access-Control-Allow-Headers: Content-Type" - echo "Access-Control-Max-Age: 86400" - exit 0 -} - # Main execution log_message "Ping settings script called with method: ${REQUEST_METHOD:-GET}" @@ -220,10 +324,7 @@ case "${REQUEST_METHOD:-GET}" in DELETE) handle_delete ;; - OPTIONS) - handle_options - ;; *) send_error "METHOD_NOT_ALLOWED" "HTTP method ${REQUEST_METHOD} not supported" ;; -esac +esac diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/memory_daemon.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/memory_daemon.sh new file mode 100755 index 0000000..25ccfb5 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/memory_daemon.sh @@ -0,0 +1,198 @@ +#!/bin/sh + +# Memory Daemon - Monitors system memory usage and writes to JSON file +# This daemon only runs when memory monitoring is enabled via settings + +set -eu + +# Ensure PATH for OpenWrt/BusyBox +export PATH="/usr/sbin:/usr/bin:/sbin:/bin:$PATH" + +# Configuration +TMP_DIR="/tmp/quecmanager" +OUT_JSON="$TMP_DIR/memory.json" +PID_FILE="$TMP_DIR/memory_daemon.pid" +LOG_FILE="$TMP_DIR/memory_daemon.log" +CONFIG_FILE="/etc/quecmanager/settings/memory_settings.conf" +[ -f "$CONFIG_FILE" ] || CONFIG_FILE="/tmp/quecmanager/settings/memory_settings.conf" +DEFAULT_INTERVAL=1 + +# Ensure temp directory exists +ensure_tmp_dir() { + [ -d "$TMP_DIR" ] || mkdir -p "$TMP_DIR" || exit 1 +} + +# Logging function +log() { + printf '%s - %s\n' "$(date '+%Y-%m-%d %H:%M:%S')" "$1" >> "$LOG_FILE" 2>/dev/null || true +} + +# Check if this daemon instance is already running +daemon_is_running() { + if [ -f "$PID_FILE" ]; then + pid="$(cat "$PID_FILE" 2>/dev/null || true)" + if [ -n "${pid:-}" ] && kill -0 "$pid" 2>/dev/null; then + # Verify it's actually our daemon by checking process cmdline + if [ -r "/proc/$pid/cmdline" ] && grep -q "memory_daemon.sh" "/proc/$pid/cmdline" 2>/dev/null; then + return 0 + else + # PID file is stale, remove it + rm -f "$PID_FILE" 2>/dev/null || true + fi + fi + fi + return 1 +} + +# Write our PID to file +write_pid() { + echo "$$" > "$PID_FILE" +} + +# Cleanup function +cleanup() { + rm -f "$PID_FILE" 2>/dev/null || true + log "Memory daemon stopped" +} + +# Create default config if none exists +create_default_config() { + local primary_config="/etc/quecmanager/settings/memory_settings.conf" + local fallback_config="/tmp/quecmanager/settings/memory_settings.conf" + + if [ ! -f "$primary_config" ] && [ ! -f "$fallback_config" ]; then + log "No config file found, creating default configuration" + + # Try primary location first + if mkdir -p "/etc/quecmanager/settings" 2>/dev/null; then + { + echo "MEMORY_ENABLED=false" + echo "MEMORY_INTERVAL=1" + } > "$primary_config" 2>/dev/null && { + chmod 644 "$primary_config" 2>/dev/null || true + CONFIG_FILE="$primary_config" + log "Created default config at $primary_config" + return 0 + } + fi + + # Fallback to tmp location + mkdir -p "/tmp/quecmanager/settings" 2>/dev/null || true + { + echo "MEMORY_ENABLED=false" + echo "MEMORY_INTERVAL=1" + } > "$fallback_config" && { + chmod 644 "$fallback_config" 2>/dev/null || true + CONFIG_FILE="$fallback_config" + log "Created default config at $fallback_config" + return 0 + } + + log "Failed to create default config file" + return 1 + fi +} + +# Read configuration from file +read_config() { + ENABLED="false" + INTERVAL="$DEFAULT_INTERVAL" + + if [ -f "$CONFIG_FILE" ]; then + MEMORY_ENABLED=$(grep -E "^MEMORY_ENABLED=" "$CONFIG_FILE" 2>/dev/null | tail -n1 | cut -d'=' -f2 | tr -d '\r' | tr -d '"') + MEMORY_INTERVAL=$(grep -E "^MEMORY_INTERVAL=" "$CONFIG_FILE" 2>/dev/null | tail -n1 | cut -d'=' -f2 | tr -d '\r') + + case "${MEMORY_ENABLED:-}" in + true|1|on|yes|enabled) ENABLED="true" ;; + *) ENABLED="false" ;; + esac + + if echo "${MEMORY_INTERVAL:-}" | grep -qE '^[0-9]+$'; then + if [ "$MEMORY_INTERVAL" -ge 1 ] && [ "$MEMORY_INTERVAL" -le 10 ]; then + INTERVAL="$MEMORY_INTERVAL" + fi + fi + fi +} + +# Write JSON data atomically +write_json_atomic() { + local json_data="$1" + local tmpfile="$(mktemp "$TMP_DIR/memory.XXXXXX" 2>/dev/null || echo "$TMP_DIR/memory.tmp.$$")" + + if [ -n "$tmpfile" ] && printf '%s' "$json_data" > "$tmpfile" 2>/dev/null; then + mv "$tmpfile" "$OUT_JSON" 2>/dev/null || { + # Fallback if move fails + printf '%s' "$json_data" > "$OUT_JSON" 2>/dev/null || true + rm -f "$tmpfile" 2>/dev/null || true + } + else + # Direct write fallback + printf '%s' "$json_data" > "$OUT_JSON" 2>/dev/null || true + rm -f "$tmpfile" 2>/dev/null || true + fi +} + +# Main execution starts here +ensure_tmp_dir +log "Starting memory daemon (PID: $$)" + +# Check if already running +if daemon_is_running; then + log "Memory daemon already running, exiting" + exit 0 +fi + +# Create default config if needed +create_default_config + +# Set up signal handlers +trap cleanup EXIT INT TERM +write_pid + +# Main monitoring loop +while true; do + read_config + + # Exit if disabled + if [ "$ENABLED" != "true" ]; then + log "Memory monitoring disabled in config, exiting" + exit 0 + fi + + # Get current timestamp + ts="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" + + # Get memory information using /proc/meminfo (most reliable method) + if [ -r "/proc/meminfo" ]; then + # Extract values from /proc/meminfo (values are in kB) + TOTAL_KB=$(grep "^MemTotal:" /proc/meminfo 2>/dev/null | awk '{print $2}' || echo "0") + AVAIL_KB=$(grep "^MemAvailable:" /proc/meminfo 2>/dev/null | awk '{print $2}' || echo "0") + FREE_KB=$(grep "^MemFree:" /proc/meminfo 2>/dev/null | awk '{print $2}' || echo "0") + + # If MemAvailable is not available (older kernels), estimate it + if [ "$AVAIL_KB" = "0" ]; then + CACHED_KB=$(grep "^Cached:" /proc/meminfo 2>/dev/null | awk '{print $2}' || echo "0") + BUFFERS_KB=$(grep "^Buffers:" /proc/meminfo 2>/dev/null | awk '{print $2}' || echo "0") + AVAIL_KB=$((FREE_KB + CACHED_KB + BUFFERS_KB)) + fi + + # Convert to bytes (multiply by 1024) + TOTAL_BYTES=$((TOTAL_KB * 1024)) + AVAIL_BYTES=$((AVAIL_KB * 1024)) + USED_BYTES=$((TOTAL_BYTES - AVAIL_BYTES)) + + json="{\"total\": $TOTAL_BYTES, \"used\": $USED_BYTES, \"available\": $AVAIL_BYTES, \"timestamp\": \"$ts\"}" + else + # Fallback if /proc/meminfo is not available + log "Warning: /proc/meminfo not readable, using error response" + json="{\"total\": 0, \"used\": 0, \"available\": 0, \"timestamp\": \"$ts\", \"error\": \"meminfo_unavailable\"}" + fi + + # Write the JSON data + write_json_atomic "$json" + log "Updated memory data: total=${TOTAL_KB:-0}KB, used=${USED_BYTES:-0}B, available=${AVAIL_KB:-0}KB" + + # Sleep for the configured interval + sleep "$INTERVAL" +done \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/network_insights_interpreter.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/network_insights_interpreter.sh new file mode 100755 index 0000000..2ddd6e6 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/network_insights_interpreter.sh @@ -0,0 +1,372 @@ +#!/bin/sh +# Network Insights Interpreter Service +# Monitors qcainfo.json and generates network event interpretations +# OpenWrt/BusyBox compatible version + +# Configuration +QCAINFO_FILE="/www/signal_graphs/qcainfo.json" +INTERPRETED_FILE="/tmp/interpreted_result.json" +LAST_ENTRY_FILE="/tmp/last_qcainfo_entry.json" +LOCKFILE="/tmp/network_interpreter.lock" +MAX_INTERPRETATIONS=50 + +# Logging function (OpenWrt compatible) +log_message() { + if command -v logger >/dev/null 2>&1; then + logger -t network_interpreter -p daemon.info "$1" + else + # Use simpler date format for BusyBox + echo "$(date) [network_interpreter] $1" >&2 + fi +} + +# Convert datetime to timestamp (OpenWrt/BusyBox compatible) +datetime_to_timestamp() { + local datetime="$1" + # Try GNU date first, fallback to string comparison for BusyBox + if date -d "$datetime" +%s >/dev/null 2>&1; then + date -d "$datetime" +%s + else + # For BusyBox, just return the datetime string for string comparison + # This is less precise but works for sequential comparison + echo "$datetime" + fi +} + +# Compare timestamps/datetime strings (OpenWrt compatible) +is_datetime_newer() { + local datetime1="$1" + local datetime2="$2" + + local ts1=$(datetime_to_timestamp "$datetime1") + local ts2=$(datetime_to_timestamp "$datetime2") + + # If we got numeric timestamps, compare numerically + if [ "$ts1" -eq "$ts1" ] 2>/dev/null && [ "$ts2" -eq "$ts2" ] 2>/dev/null; then + [ "$ts1" -gt "$ts2" ] + else + # Fall back to string comparison (works for ISO format) + [ "$datetime1" \> "$datetime2" ] + fi +} + +# Parse QCAINFO output to extract band information +parse_qcainfo_bands() { + local output="$1" + + # Clean up the output - remove escape sequences and extra characters + local clean_output=$(echo "$output" | tr -d '\r' | sed 's/\\r//g; s/\\n/\n/g') + + # Extract all band information from QCAINFO lines + echo "$clean_output" | grep "+QCAINFO:" | while IFS= read -r line; do + if echo "$line" | grep -q "LTE BAND"; then + band=$(echo "$line" | sed -n 's/.*"LTE BAND \([0-9][0-9]*\)".*/B\1/p') + if [ -n "$band" ]; then + echo "LTE:$band" + fi + elif echo "$line" | grep -q "NR5G BAND"; then + band=$(echo "$line" | sed -n 's/.*"NR5G BAND \([0-9][0-9]*\)".*/N\1/p') + if [ -n "$band" ]; then + echo "NR5G:$band" + fi + fi + done +} + +# Get network mode from bands +get_network_mode() { + local bands="$1" + local has_lte=false + local has_nr5g=false + + if echo "$bands" | grep -q "LTE:"; then + has_lte=true + fi + if echo "$bands" | grep -q "NR5G:"; then + has_nr5g=true + fi + + if [ "$has_lte" = true ] && [ "$has_nr5g" = true ]; then + echo "NSA" + elif [ "$has_lte" = true ]; then + echo "LTE" + elif [ "$has_nr5g" = true ]; then + echo "SA" + else + echo "NO_SIGNAL" + fi +} + +# Get band list from parsed bands +get_band_list() { + local bands="$1" + if [ -z "$bands" ]; then + echo "" + return + fi + echo "$bands" | sed 's/LTE://g; s/NR5G://g' | sort -u | tr '\n' ',' | sed 's/,$//' +} + +# Get carrier count +get_carrier_count() { + local bands="$1" + if [ -z "$bands" ]; then + echo "0" + return + fi + echo "$bands" | wc -l +} + +# Compare two band configurations and generate interpretation +compare_configurations() { + local base_output="$1" + local new_output="$2" + local base_datetime="$3" + local new_datetime="$4" + + # Parse both configurations + local base_bands=$(parse_qcainfo_bands "$base_output") + local new_bands=$(parse_qcainfo_bands "$new_output") + + local base_mode=$(get_network_mode "$base_bands") + local new_mode=$(get_network_mode "$new_bands") + + local base_band_list=$(get_band_list "$base_bands") + local new_band_list=$(get_band_list "$new_bands") + + local base_carrier_count=$(get_carrier_count "$base_bands") + local new_carrier_count=$(get_carrier_count "$new_bands") + + local interpretations="" + + # Check for no signal condition + if [ "$new_mode" = "NO_SIGNAL" ]; then + if [ "$base_mode" != "NO_SIGNAL" ]; then + interpretations="Signal lost - No cellular connection detected" + fi + # Check if signal was restored + elif [ "$base_mode" = "NO_SIGNAL" ] && [ "$new_mode" != "NO_SIGNAL" ]; then + interpretations="Signal restored - Connected to $new_mode network" + if [ -n "$new_band_list" ]; then + interpretations="$interpretations ($new_band_list)" + fi + # Check if CA was activated immediately upon signal restoration + if [ "$new_carrier_count" -gt 1 ]; then + interpretations="$interpretations; Carrier Aggregation activated - Now using $new_carrier_count carriers" + fi + else + # Network mode changes + if [ "$base_mode" != "$new_mode" ]; then + case "$new_mode" in + "LTE") + if [ "$base_mode" = "NSA" ]; then + interpretations="Network mode changed from NSA to LTE-only" + elif [ "$base_mode" = "SA" ]; then + interpretations="Network mode changed from 5G SA to LTE" + fi + ;; + "SA") + if [ "$base_mode" = "LTE" ]; then + interpretations="Network mode changed from LTE to 5G SA" + elif [ "$base_mode" = "NSA" ]; then + interpretations="Network mode changed from NSA to 5G SA" + fi + ;; + "NSA") + if [ "$base_mode" = "LTE" ]; then + interpretations="Network mode changed from LTE to NSA" + elif [ "$base_mode" = "SA" ]; then + interpretations="Network mode changed from 5G SA to NSA" + fi + ;; + esac + fi + + # Band changes + if [ "$base_band_list" != "$new_band_list" ]; then + if [ -n "$interpretations" ]; then + interpretations="$interpretations; " + fi + + # Find added and removed bands + local added_bands="" + local removed_bands="" + + # Check for new bands + for band in $(echo "$new_band_list" | tr ',' ' '); do + if [ -n "$band" ] && ! echo "$base_band_list" | grep -q "$band"; then + if [ -n "$added_bands" ]; then + added_bands="$added_bands, $band" + else + added_bands="$band" + fi + fi + done + + # Check for removed bands + for band in $(echo "$base_band_list" | tr ',' ' '); do + if [ -n "$band" ] && ! echo "$new_band_list" | grep -q "$band"; then + if [ -n "$removed_bands" ]; then + removed_bands="$removed_bands, $band" + else + removed_bands="$band" + fi + fi + done + + if [ -n "$added_bands" ] && [ -n "$removed_bands" ]; then + interpretations="${interpretations}Band configuration changed - Added: $added_bands, Removed: $removed_bands" + elif [ -n "$added_bands" ]; then + interpretations="${interpretations}New bands added: $added_bands" + elif [ -n "$removed_bands" ]; then + interpretations="${interpretations}Bands removed: $removed_bands" + else + interpretations="${interpretations}Band sequence changed from ($base_band_list) to ($new_band_list)" + fi + fi + + # Carrier Aggregation changes + if [ "$base_carrier_count" != "$new_carrier_count" ]; then + if [ -n "$interpretations" ]; then + interpretations="$interpretations; " + fi + + if [ "$new_carrier_count" -gt 1 ] && [ "$base_carrier_count" -le 1 ]; then + interpretations="${interpretations}Carrier Aggregation activated - Now using $new_carrier_count carriers" + elif [ "$new_carrier_count" -le 1 ] && [ "$base_carrier_count" -gt 1 ]; then + interpretations="${interpretations}Carrier Aggregation deactivated - Single carrier mode" + elif [ "$new_carrier_count" -gt "$base_carrier_count" ]; then + interpretations="${interpretations}Additional carriers aggregated - Carriers increased from $base_carrier_count to $new_carrier_count" + elif [ "$new_carrier_count" -lt "$base_carrier_count" ]; then + interpretations="${interpretations}Carriers reduced from $base_carrier_count to $new_carrier_count" + fi + fi + fi + + # Return interpretation if any changes detected + if [ -n "$interpretations" ]; then + echo "$interpretations" + fi +} + +# Add interpretation to JSON file +add_interpretation() { + local datetime="$1" + local interpretation="$2" + + # Initialize file if it doesn't exist + if [ ! -f "$INTERPRETED_FILE" ]; then + echo "[]" > "$INTERPRETED_FILE" + fi + + # Add new interpretation using jq + local temp_file="${INTERPRETED_FILE}.tmp.$$" + jq --arg dt "$datetime" \ + --arg interp "$interpretation" \ + '. + [{"datetime": $dt, "interpretation": $interp}] | .[-'"$MAX_INTERPRETATIONS"':]' \ + "$INTERPRETED_FILE" > "$temp_file" 2>/dev/null && mv "$temp_file" "$INTERPRETED_FILE" + + chmod 644 "$INTERPRETED_FILE" + log_message "Added interpretation: $interpretation" +} + +# Process QCAINFO entries and generate interpretations +process_qcainfo_data() { + if [ ! -f "$QCAINFO_FILE" ]; then + log_message "QCAINFO file not found: $QCAINFO_FILE" + return 1 + fi + + # Get total number of entries + local total_entries=$(jq 'length' "$QCAINFO_FILE" 2>/dev/null || echo "0") + + if [ "$total_entries" -lt 2 ]; then + log_message "Not enough entries to compare ($total_entries)" + return 0 + fi + + # Get the last processed entry timestamp + local last_processed="" + if [ -f "$LAST_ENTRY_FILE" ]; then + last_processed=$(cat "$LAST_ENTRY_FILE" 2>/dev/null) + fi + + # Process entries sequentially + local i=0 + while [ "$i" -lt $((total_entries - 1)) ]; do + local base_entry=$(jq -r ".[$i]" "$QCAINFO_FILE" 2>/dev/null) + local next_entry=$(jq -r ".[$(($i + 1))]" "$QCAINFO_FILE" 2>/dev/null) + + local base_datetime=$(echo "$base_entry" | jq -r '.datetime' 2>/dev/null) + local next_datetime=$(echo "$next_entry" | jq -r '.datetime' 2>/dev/null) + local base_output=$(echo "$base_entry" | jq -r '.output' 2>/dev/null) + local next_output=$(echo "$next_entry" | jq -r '.output' 2>/dev/null) + + # Skip if this entry was already processed + if [ -n "$last_processed" ] && [ "$next_datetime" = "$last_processed" ]; then + i=$((i + 1)) + continue + fi + + # Only process entries after the last processed one + if [ -n "$last_processed" ]; then + if ! is_datetime_newer "$next_datetime" "$last_processed"; then + i=$((i + 1)) + continue + fi + fi + + # Compare configurations and generate interpretation + local interpretation=$(compare_configurations "$base_output" "$next_output" "$base_datetime" "$next_datetime") + + if [ -n "$interpretation" ]; then + add_interpretation "$next_datetime" "$interpretation" + fi + + i=$((i + 1)) + done + + # Update last processed entry + if [ "$total_entries" -gt 0 ]; then + local last_datetime=$(jq -r '.[-1].datetime' "$QCAINFO_FILE" 2>/dev/null) + echo "$last_datetime" > "$LAST_ENTRY_FILE" + fi +} + +# Check for new entries every 61 seconds +monitor_qcainfo() { + log_message "Starting network insights interpreter monitoring" + + while true; do + # Acquire lock (OpenWrt compatible) + if (set -C; echo $$ > "$LOCKFILE") 2>/dev/null; then + trap 'rm -f "$LOCKFILE"; exit' INT TERM EXIT + + process_qcainfo_data + + # Release lock + rm -f "$LOCKFILE" + trap - INT TERM EXIT + else + log_message "Another instance is running, skipping this cycle" + fi + + sleep 61 + done +} + +# Main execution +case "${1:-monitor}" in + "monitor") + monitor_qcainfo + ;; + "process") + process_qcainfo_data + ;; + *) + echo "Usage: $0 {monitor|process}" + echo " monitor - Run continuous monitoring (default)" + echo " process - Process current data once" + exit 1 + ;; +esac diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/ping_daemon.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/ping_daemon.sh new file mode 100755 index 0000000..ec69f87 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/ping_daemon.sh @@ -0,0 +1,134 @@ +#!/bin/sh + +set -eu + +# Ensure PATH for OpenWrt/BusyBox +export PATH="/usr/sbin:/usr/bin:/sbin:/bin:$PATH" + +TMP_DIR="/tmp/quecmanager" +OUT_JSON="$TMP_DIR/ping_latency.json" +PID_FILE="$TMP_DIR/ping_daemon.pid" +LOG_FILE="$TMP_DIR/ping_daemon.log" +CONFIG_FILE="/etc/quecmanager/settings/ping_settings.conf" +[ -f "$CONFIG_FILE" ] || CONFIG_FILE="/tmp/quecmanager/settings/ping_settings.conf" +DEFAULT_HOST="8.8.8.8" +DEFAULT_INTERVAL=5 + +ensure_tmp_dir() { [ -d "$TMP_DIR" ] || mkdir -p "$TMP_DIR" || exit 1; } + +log() { + printf '%s - %s\n' "$(date '+%Y-%m-%d %H:%M:%S')" "$1" >> "$LOG_FILE" 2>/dev/null || true +} + +daemon_is_running() { + if [ -f "$PID_FILE" ]; then + pid="$(cat "$PID_FILE" 2>/dev/null || true)" + if [ -n "${pid:-}" ] && kill -0 "$pid" 2>/dev/null; then + # Avoid false positive if PID reused + if [ -r "/proc/$pid/cmdline" ] && grep -q "ping_daemon.sh" "/proc/$pid/cmdline" 2>/dev/null; then + return 0 + else + rm -f "$PID_FILE" 2>/dev/null || true + fi + fi + fi + return 1 +} + +write_pid() { echo "$$" > "$PID_FILE"; } + +cleanup() { rm -f "$PID_FILE" 2>/dev/null || true; } + +read_config() { + ENABLED="true"; HOST="$DEFAULT_HOST"; INTERVAL="$DEFAULT_INTERVAL" + if [ -f "$CONFIG_FILE" ]; then + PING_ENABLED=$(grep -E "^PING_ENABLED=" "$CONFIG_FILE" | tail -n1 | cut -d'=' -f2 | tr -d '\r') || true + PING_HOST=$(grep -E "^PING_HOST=" "$CONFIG_FILE" | tail -n1 | cut -d'=' -f2 | tr -d '\r') || true + PING_INTERVAL=$(grep -E "^PING_INTERVAL=" "$CONFIG_FILE" | tail -n1 | cut -d'=' -f2 | tr -d '\r') || true + case "${PING_ENABLED:-}" in true|1|on|yes|enabled) ENABLED=true ;; *) ENABLED=false ;; esac + [ -n "${PING_HOST:-}" ] && HOST="$PING_HOST" + if echo "${PING_INTERVAL:-}" | grep -qE '^[0-9]+$'; then + if [ "$PING_INTERVAL" -ge 1 ] && [ "$PING_INTERVAL" -le 3600 ]; then + INTERVAL="$PING_INTERVAL" + fi + fi + fi +} + +# Create default config if none exists +create_default_config() { + local primary_config="/etc/quecmanager/settings/ping_settings.conf" + local fallback_config="/tmp/quecmanager/settings/ping_settings.conf" + + # Check if either config exists + if [ -f "$primary_config" ] || [ -f "$fallback_config" ]; then + return 0 + fi + + # Try to create in primary location first + if mkdir -p "/etc/quecmanager/settings" 2>/dev/null; then + { + echo "PING_ENABLED=true" + echo "PING_HOST=$DEFAULT_HOST" + echo "PING_INTERVAL=$DEFAULT_INTERVAL" + } > "$primary_config" 2>/dev/null && { + chmod 644 "$primary_config" 2>/dev/null || true + CONFIG_FILE="$primary_config" + log "Created default config at $primary_config" + return 0 + } + fi + + # Fallback to tmp location + mkdir -p "/tmp/quecmanager/settings" 2>/dev/null || true + { + echo "PING_ENABLED=true" + echo "PING_HOST=$DEFAULT_HOST" + echo "PING_INTERVAL=$DEFAULT_INTERVAL" + } > "$fallback_config" && { + chmod 644 "$fallback_config" 2>/dev/null || true + CONFIG_FILE="$fallback_config" + log "Created default config at $fallback_config" + return 0 + } + + log "Failed to create default config file" + return 1 +} + +write_json_atomic() { + tmpfile="$(mktemp "$TMP_DIR/ping_latency.XXXXXX" 2>/dev/null || true)" + if [ -n "${tmpfile:-}" ] && [ -w "$TMP_DIR" ]; then + printf '%s' "$1" > "$tmpfile" 2>/dev/null || true + mv -f "$tmpfile" "$OUT_JSON" 2>/dev/null || printf '%s' "$1" > "$OUT_JSON" + else + printf '%s' "$1" > "$OUT_JSON" + fi +} + +ensure_tmp_dir +log "Starting ping daemon" +if daemon_is_running; then log "Already running"; exit 0; fi + +# Create default config if none exists +create_default_config + +trap cleanup EXIT INT TERM +write_pid + +while true; do + read_config + if [ "$ENABLED" != "true" ]; then log "Disabled in config"; exit 0; fi + ts="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" + PING_BIN="$(command -v ping || echo /bin/ping)" + output="$("$PING_BIN" -c 1 -w 2 "$HOST" 2>/dev/null || true)" + if echo "$output" | grep -q "time="; then + latency_ms="$(echo "$output" | grep -o 'time=[0-9.]*' | head -n1 | cut -d'=' -f2 | cut -d'.' -f1)"; [ -z "$latency_ms" ] && latency_ms=0 + json="{\"timestamp\":\"$ts\",\"host\":\"$HOST\",\"latency\":$latency_ms,\"ok\":true}" + else + json="{\"timestamp\":\"$ts\",\"host\":\"$HOST\",\"latency\":null,\"ok\":false}" + fi + write_json_atomic "$json" + log "Wrote: $json" + sleep "$INTERVAL" +done diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.sh index bb6e69b..fcd6a23 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.sh @@ -607,6 +607,7 @@ apply_profile_settings() { local current_nsa_nr5g_bands="${14}" local current_imei="${15}" local iccid="${16}" + local mobile_provider="${17}" # Set TTL to 0 (disabled) if not specified ttl="${ttl:-0}" @@ -619,6 +620,7 @@ apply_profile_settings() { log_message "- APN: $apn ($pdp_type)" "info" log_message "- IMEI: $imei" "info" log_message "- TTL: $ttl" "info" + log_message "- Mobile Provider: $mobile_provider" "info" # Check if any changes are needed using improved comparison local needs_apn_change=0 @@ -630,6 +632,7 @@ apply_profile_settings() { local needs_ttl_change=0 local changes_needed=0 local requires_reboot=0 + local change_for_reboot="" # Use normalized comparison compare_values "$current_apn" "$apn" "apn" && needs_apn_change=1 && changes_needed=1 @@ -804,6 +807,7 @@ apply_profile_settings() { if [ $? -eq 0 ]; then changes_made=1 requires_reboot=1 + change_for_reboot="IMEI" log_message "IMEI changed successfully to $imei (device will reboot)" "info" update_track "rebooting" "IMEI changed, device will reboot" "$profile_name" "95" else @@ -813,9 +817,56 @@ apply_profile_settings() { fi fi + # Apply unique rule setup for Verizon, but also handle "Other" Mobile Providers because of MPDN_rule shenanigans + # Probably requires reboot + output_check=$(execute_at_command "AT+QMAP=\"mpdn_rule\"") + sleep 1 # Short delay to ensure command is processed + qmap_rule0=$(echo "$output_check" | grep '+QMAP: "MPDN_rule",0,') + qmap_ippt_rule0=$(echo "$qmap_rule0" | cut -d',' -f5) + if [ $apply_success -eq 1 ] && [ -n "$mobile_provider" ]; then + if [ "$mobile_provider" = "Verizon" ]; then + # If Verizon, data call should be set to rule 3, AT+QMAP="mpdn_rule",0,3,0,0,1 + if echo "$qmap_rule0" | awk -F',' '{exit !($2==0 && $3==3 && $6==1)}'; then + log_message "Verizon rule already set correctly, no changes needed" "info" + else + log_message "Setting Verizon data call mpdn_rule to 3" "info" + update_track "applying" "Setting Verizon data call rule to 3" "$profile_name" "100" + verizon_cmd="AT+QMAP=\"mpdn_rule\",0,3,0,$qmap_ippt_rule0,1" + execute_at_command "$verizon_cmd" 10 "$token_id" >/dev/null + sleep 1 # Short delay to ensure command is processed + fi + elif [ "$mobile_provider" = "Other" ]; then + # Check if MPDN_rule 0 is already set to all zeros + if echo "$qmap_rule0" | awk -F',' '{exit !($2==0 && $3==0 && $6==0)}'; then + log_message "Default rule already set correctly, no changes needed" "info" + else + log_message "Setting to default mpdn_rule and releasing" "info" + update_track "applying" "Setting Default data call mpdn_rule to 0" "$profile_name" "100" + def_cmd1="AT+QMAP=\"mpdn_rule\",0" + execute_at_command "$def_cmd1" 10 "$token_id" + sleep 1 # Short delay to ensure command is processed + def_cmd2="AT+QMAP=\"mpdn_rule\",0,1,0,$qmap_ippt_rule0,1" + execute_at_command "$def_cmd2" 10 "$token_id" + sleep 1 # Short delay to ensure command is processed + if [ "$qmap_ippt_rule0" = "0" ]; then + log_message "IPPT is disabled for rule, release the MPDN_rule" "info" + def_cmd3="AT+QMAP=\"mpdn_rule\",0" + execute_at_command "$def_cmd3" 10 "$token_id" + sleep 1 # Short delay to ensure command is processed + if [ "$(cat /sys/devices/soc0/machine)" = "SDXPINN" ]; then + requires_reboot=1 + change_for_reboot="MPDN_rule" + update_track "rebooting" "MPDN_rule released, device will reboot" "$profile_name" "105" + fi + else + log_message "IPPT is enabled for rule0 not releasing MPDN_rule, no reboot needed: IPPT Value $qmap_ippt_rule0" "info" + fi + fi + fi + fi + # Release token release_token "$token_id" - # Mark profile as applied if changes were made if [ $changes_made -eq 1 ]; then mark_profile_applied "$iccid" "$profile_name" @@ -824,7 +875,7 @@ apply_profile_settings() { # If IMEI was changed, need to reboot if [ $requires_reboot -eq 1 ]; then log_message "IMEI change requires reboot, scheduling reboot..." "info" - update_track "rebooting" "Device is rebooting to apply IMEI change" "$profile_name" "100" + update_track "rebooting" "Device is rebooting to apply $change_for_reboot change" "$profile_name" "100" sleep 2 reboot & return 0 @@ -913,11 +964,12 @@ check_profile() { local pdp_type=$(uci -q get quecprofiles.$profile_index.pdp_type) local imei=$(uci -q get quecprofiles.$profile_index.imei) local ttl=$(uci -q get quecprofiles.$profile_index.ttl) - + local mobile_provider=$(uci -q get quecprofiles.$profile_index.mobile_provider) + # Check if profile is paused local paused=$(uci -q get quecprofiles.$profile_index.paused) paused="${paused:-0}" # Default to not paused if not set - + # Skip applying paused profiles if [ "$paused" = "1" ]; then log_message "Profile '$profile_name' is paused, skipping application" "info" @@ -982,7 +1034,7 @@ check_profile() { # Apply profile settings with the new parameters apply_profile_settings "$profile_name" "$network_type" "$lte_bands" "$sa_nr5g_bands" "$nsa_nr5g_bands" \ "$apn" "$pdp_type" "$imei" "$ttl" "$current_apn" "$current_mode" "$current_lte_bands" \ - "$current_sa_nr5g_bands" "$current_nsa_nr5g_bands" "$current_imei" "$current_iccid" + "$current_sa_nr5g_bands" "$current_nsa_nr5g_bands" "$current_imei" "$current_iccid" "$mobile_provider" return $? else log_message "Automatic profile switching is disabled, not applying profile" "info" @@ -1038,7 +1090,7 @@ main() { while [ $sleep_counter -lt $check_interval ]; do sleep 5 sleep_counter=$((sleep_counter + 5)) - + # Check for manual trigger during sleep if [ -f "$CHECK_TRIGGER" ]; then log_message "Manual check triggered during sleep" "info" diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.html index 7bb13b1..64614bf 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.html @@ -1 +1 @@ -QuecManager
            \ No newline at end of file +QuecManager
              \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.txt index 537fede..b93a93c 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] a:I[5329,[],"ClientPageRoot"] -b:I[51228,["1258","static/chunks/1258-d8581095ee7eff72.js","467","static/chunks/467-150cb05a6a0d0e15.js","6655","static/chunks/app/dashboard/about/page-e020f586172ca1f4.js"],"default"] +b:I[51228,["7780","static/chunks/7780-f325b2d7864a75f9.js","467","static/chunks/467-150cb05a6a0d0e15.js","6655","static/chunks/app/dashboard/about/page-e3585b7a2d76b411.js"],"default"] e:I[99165,[],"OutletBoundary"] 10:I[99165,[],"MetadataBoundary"] 12:I[99165,[],"ViewportBoundary"] 14:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","about",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["about",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["about",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","about","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@c","$@d"]}],null,["$","$Le",null,{"children":"$Lf"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","_r5o_KuozOC2p_owZG1S0",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","about",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["about",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["about",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","about","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@c","$@d"]}],null,["$","$Le",null,{"children":"$Lf"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","6erj2FSyQAVC3Pu1m1yXK",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} 9:{} c:{} d:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.html index e332209..aab4d76 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.html @@ -1 +1 @@ -QuecManager
                \ No newline at end of file +QuecManager
                  \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.txt index 887b6bf..c86034e 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[74627,["1318","static/chunks/1318-767d278b8ca60a2b.js","4277","static/chunks/app/dashboard/advanced-settings/layout-acf9549d02163872.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[74627,["9477","static/chunks/9477-4478381adb29cdff.js","4277","static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[30233,["1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","9464","static/chunks/9464-54895f8e78c474f0.js","467","static/chunks/467-150cb05a6a0d0e15.js","564","static/chunks/564-bce78b0f1af68d0a.js","8757","static/chunks/app/dashboard/advanced-settings/at-terminal/page-f034a452a8e8f506.js"],"default"] +d:I[30745,["7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","9464","static/chunks/9464-54895f8e78c474f0.js","241","static/chunks/241-87951836d46a7543.js","467","static/chunks/467-150cb05a6a0d0e15.js","8757","static/chunks/app/dashboard/advanced-settings/at-terminal/page-9a15dfee98875435.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","advanced-settings","at-terminal",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["at-terminal",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["at-terminal",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","at-terminal","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","v8S-fo3KAtj4D5iEfVeqK",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","advanced-settings","at-terminal",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["at-terminal",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["at-terminal",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","at-terminal","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","cCgPeNhIkfqe-lpjEdl69",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.html index 2c07409..baa6cd5 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.html @@ -1 +1 @@ -QuecManager
                    \ No newline at end of file +QuecManager
                      \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.txt index 31e3e5e..5acfef5 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[74627,["1318","static/chunks/1318-767d278b8ca60a2b.js","4277","static/chunks/app/dashboard/advanced-settings/layout-acf9549d02163872.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[74627,["9477","static/chunks/9477-4478381adb29cdff.js","4277","static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[76592,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","564","static/chunks/564-bce78b0f1af68d0a.js","6592","static/chunks/6592-ed8803c28c183efa.js","9548","static/chunks/app/dashboard/advanced-settings/connectivity/page-6152b94dd5abd007.js"],"default"] +d:I[76592,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","241","static/chunks/241-87951836d46a7543.js","6592","static/chunks/6592-2fbbabf10d7fd40e.js","9548","static/chunks/app/dashboard/advanced-settings/connectivity/page-46f11d8d8e8a8e93.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","advanced-settings","connectivity",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["connectivity",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["connectivity",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","connectivity","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","rl9A_CaBwADdM0cfYpmi_",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","advanced-settings","connectivity",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["connectivity",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["connectivity",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","connectivity","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","ySrD5KZhpN5X4qYQR94CZ",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.html index 37bef53..8bfe098 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.html @@ -1 +1 @@ -QuecManager
                        \ No newline at end of file +QuecManager
                          \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.txt index b4f6666..397198e 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[74627,["1318","static/chunks/1318-767d278b8ca60a2b.js","4277","static/chunks/app/dashboard/advanced-settings/layout-acf9549d02163872.js"],"default"] -c:I[76592,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","564","static/chunks/564-bce78b0f1af68d0a.js","6592","static/chunks/6592-ed8803c28c183efa.js","5226","static/chunks/app/dashboard/advanced-settings/page-e190ad25d1c1595e.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[74627,["9477","static/chunks/9477-4478381adb29cdff.js","4277","static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js"],"default"] +c:I[76592,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","241","static/chunks/241-87951836d46a7543.js","6592","static/chunks/6592-2fbbabf10d7fd40e.js","5226","static/chunks/app/dashboard/advanced-settings/page-e6b9797379c47dca.js"],"default"] d:I[99165,[],"OutletBoundary"] f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","advanced-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","_0UcqQ7U3hsa5KVaN0aaX",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","advanced-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","ZkcPwJYaV-FPnMLTnweIM",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 9:{} b:{} 12:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.html index a0d7b8e..d54504d 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.html @@ -1 +1 @@ -QuecManager
                            \ No newline at end of file +QuecManager
                              \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.txt index 3487b1d..28e8085 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/mtu/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[74627,["1318","static/chunks/1318-767d278b8ca60a2b.js","4277","static/chunks/app/dashboard/advanced-settings/layout-acf9549d02163872.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[74627,["9477","static/chunks/9477-4478381adb29cdff.js","4277","static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[34819,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","3669","static/chunks/app/dashboard/advanced-settings/mtu/page-a8423a9f1ce4ded0.js"],"default"] +d:I[34819,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","3669","static/chunks/app/dashboard/advanced-settings/mtu/page-3582caed75129147.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","advanced-settings","mtu",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["mtu",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["mtu",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","mtu","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","QKswO-mWkSZLaTU-uC_9-",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","advanced-settings","mtu",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["mtu",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["mtu",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","mtu","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","j8OdO6BEjO_J7gc8KFrSX",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.html index 1b824d5..a49d9fb 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.html @@ -1 +1 @@ -QuecManager
                                \ No newline at end of file +QuecManager
                                  \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.txt index 99282ff..8816f26 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[74627,["1318","static/chunks/1318-767d278b8ca60a2b.js","4277","static/chunks/app/dashboard/advanced-settings/layout-acf9549d02163872.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[74627,["9477","static/chunks/9477-4478381adb29cdff.js","4277","static/chunks/app/dashboard/advanced-settings/layout-072beb7f889526aa.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[83143,["1258","static/chunks/1258-d8581095ee7eff72.js","4481","static/chunks/app/dashboard/advanced-settings/ttl-settings/page-13557d5ae878081d.js"],"default"] +d:I[83143,["7780","static/chunks/7780-f325b2d7864a75f9.js","1630","static/chunks/1630-ef39e3282b1968a7.js","4481","static/chunks/app/dashboard/advanced-settings/ttl-settings/page-5948794cbc9303d4.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","advanced-settings","ttl-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["ttl-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["ttl-settings",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","ttl-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","wlgJpZVqJ62xGuPFZPfv5",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","advanced-settings","ttl-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["ttl-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["advanced-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["ttl-settings",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","advanced-settings","children","ttl-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","5Z8GAXjfLnVGx-pAEj3sc",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.html index cc6bedc..7744fd8 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.html @@ -1 +1 @@ -QuecManager
                                    \ No newline at end of file +QuecManager
                                      \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.txt index 2cae8d9..e84ef79 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[83593,["1318","static/chunks/1318-767d278b8ca60a2b.js","347","static/chunks/app/dashboard/cell-settings/layout-323e08222f44529c.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[83593,["9477","static/chunks/9477-4478381adb29cdff.js","347","static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[75808,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","6820","static/chunks/6820-652e25be0dbab81e.js","1942","static/chunks/app/dashboard/cell-settings/band-locking/page-b95b68f977650464.js"],"default"] +d:I[75808,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","2494","static/chunks/2494-1b55b4db233d7e31.js","1942","static/chunks/app/dashboard/cell-settings/band-locking/page-5ce71e90ddd3ae1a.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","cell-settings","band-locking",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["band-locking",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["band-locking",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","band-locking","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","U24BSCTsAHTHNOB4ggWsO",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","cell-settings","band-locking",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["band-locking",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["band-locking",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","band-locking","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","YYqeb92QfrvOpkGDvFXdT",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.html index b2eccdc..ab5e2d4 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.html @@ -1 +1 @@ -QuecManager
                                        \ No newline at end of file +QuecManager
                                          \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.txt index 0c0c12a..f3a1afc 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[83593,["1318","static/chunks/1318-767d278b8ca60a2b.js","347","static/chunks/app/dashboard/cell-settings/layout-323e08222f44529c.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[83593,["9477","static/chunks/9477-4478381adb29cdff.js","347","static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[15469,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2545","static/chunks/app/dashboard/cell-settings/basic-settings/page-941a337aa16d51e3.js"],"default"] +d:I[15469,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","3048","static/chunks/3048-32a239af56de58c8.js","2545","static/chunks/app/dashboard/cell-settings/basic-settings/page-579666fe70d67ec0.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","cell-settings","basic-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["basic-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["basic-settings",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","basic-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","18ePYkdqBcBbrVX58NIoo",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","cell-settings","basic-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["basic-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["basic-settings",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","basic-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","ECVd5af5uwPa73fzOXWqu",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.html index 3c8d426..e15f57a 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.html @@ -1 +1 @@ -QuecManager
                                            \ No newline at end of file +QuecManager
                                              \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.txt index 7e17887..a18905c 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[83593,["1318","static/chunks/1318-767d278b8ca60a2b.js","347","static/chunks/app/dashboard/cell-settings/layout-323e08222f44529c.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[83593,["9477","static/chunks/9477-4478381adb29cdff.js","347","static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[87133,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","2487","static/chunks/2487-81648b53e2cd11f8.js","1209","static/chunks/1209-435bd73520aca6bb.js","5665","static/chunks/app/dashboard/cell-settings/cell-locking/page-ed1576c1f10227b7.js"],"default"] +d:I[87133,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","2487","static/chunks/2487-2291b9526b271231.js","1209","static/chunks/1209-6d7edd4420dc865e.js","5665","static/chunks/app/dashboard/cell-settings/cell-locking/page-8ef19f2a1c7eec6b.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","cell-settings","cell-locking",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["cell-locking",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["cell-locking",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","cell-locking","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","78d1x2hKZXjJl_obDX2u9",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","cell-settings","cell-locking",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["cell-locking",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["cell-locking",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","cell-locking","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","MNDVMxpf4SmrgCXqzt7nZ",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.html index c9a1e7a..77370e1 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.html @@ -1 +1 @@ -QuecManager
                                                \ No newline at end of file +QuecManager
                                                  \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.txt index 6d54d8a..4781c12 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[83593,["1318","static/chunks/1318-767d278b8ca60a2b.js","347","static/chunks/app/dashboard/cell-settings/layout-323e08222f44529c.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[83593,["9477","static/chunks/9477-4478381adb29cdff.js","347","static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[70231,["1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","8112","static/chunks/8112-8c3d22fe142f8630.js","9065","static/chunks/app/dashboard/cell-settings/imei-mangling/page-be80b5e78521f439.js"],"default"] +d:I[70231,["7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","4586","static/chunks/4586-32ae9fc956058d79.js","9065","static/chunks/app/dashboard/cell-settings/imei-mangling/page-f6c20dac1f1dc8a9.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","cell-settings","imei-mangling",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["imei-mangling",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["imei-mangling",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","imei-mangling","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","dmLG3C3N-1HTwepkJvqKe",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","cell-settings","imei-mangling",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["imei-mangling",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["imei-mangling",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","imei-mangling","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","YJ-eZVaQjQ5LwRQgTG-SM",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.html index 8430af9..0ce8205 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.html @@ -1 +1 @@ -QuecManager
                                                    \ No newline at end of file +QuecManager
                                                      \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.txt index d6a89f6..c00a252 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[83593,["1318","static/chunks/1318-767d278b8ca60a2b.js","347","static/chunks/app/dashboard/cell-settings/layout-323e08222f44529c.js"],"default"] -c:I[87133,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","2487","static/chunks/2487-81648b53e2cd11f8.js","1209","static/chunks/1209-435bd73520aca6bb.js","4808","static/chunks/app/dashboard/cell-settings/page-d86d5209e2dbec1d.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[83593,["9477","static/chunks/9477-4478381adb29cdff.js","347","static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js"],"default"] +c:I[87133,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","2487","static/chunks/2487-2291b9526b271231.js","1209","static/chunks/1209-6d7edd4420dc865e.js","4808","static/chunks/app/dashboard/cell-settings/page-63a656aeea715dfb.js"],"default"] d:I[99165,[],"OutletBoundary"] f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","cell-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","_RvgVHh1mHoWi2yY1MVwt",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","cell-settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","DIxsmjSFTMRAbfenqo9os",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 9:{} b:{} 12:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.html index de1a9ed..25a3bcc 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.html @@ -1 +1 @@ -QuecManager
                                                        \ No newline at end of file +QuecManager
                                                          \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.txt index 118f09d..c3c8055 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[83593,["1318","static/chunks/1318-767d278b8ca60a2b.js","347","static/chunks/app/dashboard/cell-settings/layout-323e08222f44529c.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[83593,["9477","static/chunks/9477-4478381adb29cdff.js","347","static/chunks/app/dashboard/cell-settings/layout-3f8340fe1040b17c.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[91557,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1217","static/chunks/0d696766-f8433f3082fb824f.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","467","static/chunks/467-150cb05a6a0d0e15.js","7510","static/chunks/7510-b5c5a53e21a04c67.js","9951","static/chunks/9951-9fd38181d65049b0.js","3358","static/chunks/app/dashboard/cell-settings/sms/page-67f5880a241b8d62.js"],"default"] +d:I[91557,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1217","static/chunks/0d696766-f8433f3082fb824f.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","241","static/chunks/241-87951836d46a7543.js","467","static/chunks/467-150cb05a6a0d0e15.js","4736","static/chunks/4736-a2a6c92b170301c7.js","9951","static/chunks/9951-9fd38181d65049b0.js","3358","static/chunks/app/dashboard/cell-settings/sms/page-4278a494fde275f3.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","cell-settings","sms",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["sms",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["sms",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","sms","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","ArdH4Yq5CS3ypR8JwNA9-",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","cell-settings","sms",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["sms",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["cell-settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["sms",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","cell-settings","children","sms","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","d6iJroj5UD5kpBb--CnA1",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.html deleted file mode 100644 index c53caf4..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.html +++ /dev/null @@ -1 +0,0 @@ -QuecManager
                                                            \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.txt deleted file mode 100644 index 4eca856..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/cell-scanner/index.txt +++ /dev/null @@ -1,24 +0,0 @@ -1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] -4:I[24900,[],""] -5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] -7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[14938,["1318","static/chunks/1318-767d278b8ca60a2b.js","8248","static/chunks/app/dashboard/custom-features/layout-35e194524adc3363.js"],"default"] -c:I[5329,[],"ClientPageRoot"] -d:I[12005,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","2101","static/chunks/b1b46485-5c61721f784038c7.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","467","static/chunks/467-150cb05a6a0d0e15.js","3095","static/chunks/3095-9939ca94522133b1.js","3453","static/chunks/3453-1e7922659f5b386a.js","5668","static/chunks/5668-55d6f43ee8c71ac2.js","8627","static/chunks/app/dashboard/custom-features/cell-scanner/page-4d2f504080f8873c.js"],"default"] -10:I[99165,[],"OutletBoundary"] -12:I[99165,[],"MetadataBoundary"] -14:I[99165,[],"ViewportBoundary"] -16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","custom-features","cell-scanner",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["cell-scanner",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["cell-scanner",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","cell-scanner","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","zbm08yDAIflYhxaLNWJWo",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} -9:{} -b:{} -e:{} -f:{} -15:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -13:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"QuecManager"}],["$","meta","2",{"name":"description","content":"Simpleadmin but better!"}],["$","link","3",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] -11:null diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.html index 73cace7..b7c73e7 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.html @@ -1 +1 @@ -QuecManager
                                                              \ No newline at end of file +QuecManager
                                                                \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.txt index 88e73f3..c046cdb 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/frequency-calculator/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[14938,["1318","static/chunks/1318-767d278b8ca60a2b.js","8248","static/chunks/app/dashboard/custom-features/layout-35e194524adc3363.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[42503,["1258","static/chunks/1258-d8581095ee7eff72.js","3453","static/chunks/3453-1e7922659f5b386a.js","5033","static/chunks/5033-c73098653b2085c3.js","6617","static/chunks/app/dashboard/custom-features/frequency-calculator/page-38ed2927c94f35c2.js"],"default"] +d:I[94478,["7780","static/chunks/7780-f325b2d7864a75f9.js","9007","static/chunks/9007-8bc34a88f57a3346.js","6617","static/chunks/app/dashboard/custom-features/frequency-calculator/page-b0c5cb1e85f813d4.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","custom-features","frequency-calculator",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["frequency-calculator",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["frequency-calculator",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","frequency-calculator","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","Uh7trRib2XcNeVxZiuEja",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","custom-features","frequency-calculator",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["frequency-calculator",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["frequency-calculator",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","frequency-calculator","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","cM7woG_buoQQ7YsL1puo7",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.html index de6ddcd..4c27d6e 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.html @@ -1 +1 @@ -QuecManager
                                                                  \ No newline at end of file +QuecManager
                                                                    \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.txt index c379033..0aa5c7e 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[14938,["1318","static/chunks/1318-767d278b8ca60a2b.js","8248","static/chunks/app/dashboard/custom-features/layout-35e194524adc3363.js"],"default"] -c:I[31917,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","3048","static/chunks/3048-9766c902a7fac6d2.js","1917","static/chunks/1917-492469897920cd7a.js","2687","static/chunks/app/dashboard/custom-features/page-97fe2c69a10d3b73.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js"],"default"] +c:I[31917,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","3048","static/chunks/3048-32a239af56de58c8.js","4409","static/chunks/4409-1561b680f56c1034.js","2687","static/chunks/app/dashboard/custom-features/page-d44d732f4f322468.js"],"default"] d:I[99165,[],"OutletBoundary"] f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","custom-features",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","7Pv1gp3wHVUXqsutVbOBz",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","custom-features",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","REq9YLfXmTm7QFnNb3Ye2",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 9:{} b:{} 12:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.html index b14087c..4302020 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.html @@ -1 +1 @@ -QuecManager
                                                                      \ No newline at end of file +QuecManager
                                                                        \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.txt index eb612aa..b797900 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecprofiles/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[14938,["1318","static/chunks/1318-767d278b8ca60a2b.js","8248","static/chunks/app/dashboard/custom-features/layout-35e194524adc3363.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[70687,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","7510","static/chunks/7510-b5c5a53e21a04c67.js","2487","static/chunks/2487-81648b53e2cd11f8.js","4840","static/chunks/app/dashboard/custom-features/quecprofiles/page-5788b89ed3198a15.js"],"default"] +d:I[70687,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","241","static/chunks/241-87951836d46a7543.js","4736","static/chunks/4736-a2a6c92b170301c7.js","2487","static/chunks/2487-2291b9526b271231.js","4840","static/chunks/app/dashboard/custom-features/quecprofiles/page-8b5f486f2ff15c90.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","custom-features","quecprofiles",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["quecprofiles",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["quecprofiles",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","quecprofiles","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","Kzvy4J8jSSSSZa0UCLDqk",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","custom-features","quecprofiles",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["quecprofiles",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["quecprofiles",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","quecprofiles","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","YaCAucIc_z-PFfqmHkIej",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.html index 6ca488d..f0c4bef 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.html @@ -1 +1 @@ -QuecManager
                                                                          \ No newline at end of file +QuecManager
                                                                            \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.txt index 86c6ee9..5788096 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/custom-features/quecwatch/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[14938,["1318","static/chunks/1318-767d278b8ca60a2b.js","8248","static/chunks/app/dashboard/custom-features/layout-35e194524adc3363.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[14938,["9477","static/chunks/9477-4478381adb29cdff.js","8248","static/chunks/app/dashboard/custom-features/layout-8acecbbd9a820475.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[31917,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","3048","static/chunks/3048-9766c902a7fac6d2.js","1917","static/chunks/1917-492469897920cd7a.js","8321","static/chunks/app/dashboard/custom-features/quecwatch/page-00f3e849a02621a8.js"],"default"] +d:I[31917,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","3048","static/chunks/3048-32a239af56de58c8.js","4409","static/chunks/4409-1561b680f56c1034.js","8321","static/chunks/app/dashboard/custom-features/quecwatch/page-9a95d155176e28a3.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","custom-features","quecwatch",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["quecwatch",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["quecwatch",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","quecwatch","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","q5VVTn-6b6AzbsioqGWsI",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","custom-features","quecwatch",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["custom-features",{"children":["quecwatch",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["custom-features",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["quecwatch",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","custom-features","children","quecwatch","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","NJE3fZQi0BBhMNnU5bbrL",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.html index f78630a..9519072 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.html @@ -1 +1 @@ -QuecManager
                                                                              \ No newline at end of file +QuecManager
                                                                                \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.txt index 72e5ad5..5a57262 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[31753,["1318","static/chunks/1318-767d278b8ca60a2b.js","3075","static/chunks/app/dashboard/experimental/layout-abf85d53875077ee.js"],"default"] -c:I[13099,["1258","static/chunks/1258-d8581095ee7eff72.js","3099","static/chunks/3099-b5f6236b89e0d3cd.js","7040","static/chunks/app/dashboard/experimental/page-562b1aca273e607c.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js"],"default"] +c:I[78171,["7780","static/chunks/7780-f325b2d7864a75f9.js","8171","static/chunks/8171-3864f38194afa137.js","7040","static/chunks/app/dashboard/experimental/page-445534e2f7ee6367.js"],"default"] d:I[99165,[],"OutletBoundary"] f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","experimental",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","gO1O8JIjDmvuBdjqcDd2E",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","experimental",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","LyQKDnAkH1FfNetn1NywM",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 9:{} b:{} 12:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.html index e6a1b8c..5b46e43 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.html @@ -1 +1 @@ -QuecManager
                                                                                  \ No newline at end of file +QuecManager
                                                                                    \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.txt index 6d2c954..1ed59a2 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/keep-alive/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[31753,["1318","static/chunks/1318-767d278b8ca60a2b.js","3075","static/chunks/app/dashboard/experimental/layout-abf85d53875077ee.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[4546,["7116","static/chunks/c556396d-fd1d753158c38164.js","1258","static/chunks/1258-d8581095ee7eff72.js","1150","static/chunks/1150-fcb6ad96b6a9e5da.js","3376","static/chunks/app/dashboard/experimental/keep-alive/page-e899ccb8db391db5.js"],"default"] +d:I[4546,["7116","static/chunks/c556396d-fd1d753158c38164.js","7780","static/chunks/7780-f325b2d7864a75f9.js","6380","static/chunks/6380-1df122c20870c723.js","3376","static/chunks/app/dashboard/experimental/keep-alive/page-809f1943703cc601.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","experimental","keep-alive",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["keep-alive",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["keep-alive",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","keep-alive","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","MlXyDfN8QBFcnUQAPiZki",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","experimental","keep-alive",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["keep-alive",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["keep-alive",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","keep-alive","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","79xulxR8-BGgfZF5KtKiC",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.html index 838b71a..2ccf51a 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.html @@ -1 +1 @@ -QuecManager
                                                                                      \ No newline at end of file +QuecManager
                                                                                        \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.txt index 1e69bc8..b8195b9 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/network-insights/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[31753,["1318","static/chunks/1318-767d278b8ca60a2b.js","3075","static/chunks/app/dashboard/experimental/layout-abf85d53875077ee.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[13099,["1258","static/chunks/1258-d8581095ee7eff72.js","3099","static/chunks/3099-b5f6236b89e0d3cd.js","7417","static/chunks/app/dashboard/experimental/network-insights/page-fb9efb970527b5b8.js"],"default"] +d:I[78171,["7780","static/chunks/7780-f325b2d7864a75f9.js","8171","static/chunks/8171-3864f38194afa137.js","7417","static/chunks/app/dashboard/experimental/network-insights/page-aa6fca266d42378a.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","experimental","network-insights",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["network-insights",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["network-insights",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","network-insights","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","H_z_S_15VI-p_KKRVQIBu",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","experimental","network-insights",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["network-insights",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["network-insights",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","network-insights","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","ksuPGOTb1kdfwLZCEVvvZ",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.html index 203c1e0..6712192 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.html @@ -1 +1 @@ -QuecManager
                                                                                          \ No newline at end of file +QuecManager
                                                                                            \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.txt index bf1b258..7a45935 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/scheduled-reboot/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[31753,["1318","static/chunks/1318-767d278b8ca60a2b.js","3075","static/chunks/app/dashboard/experimental/layout-abf85d53875077ee.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[31753,["9477","static/chunks/9477-4478381adb29cdff.js","3075","static/chunks/app/dashboard/experimental/layout-8e15d627987cc9e6.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[58674,["1258","static/chunks/1258-d8581095ee7eff72.js","2114","static/chunks/2114-92d0d24d59f5a958.js","5914","static/chunks/app/dashboard/experimental/scheduled-reboot/page-0d8356b12e63ea87.js"],"default"] +d:I[58674,["7780","static/chunks/7780-f325b2d7864a75f9.js","8704","static/chunks/8704-236b9f074b4600d3.js","5914","static/chunks/app/dashboard/experimental/scheduled-reboot/page-73854145a3a5c144.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","experimental","scheduled-reboot",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["scheduled-reboot",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["scheduled-reboot",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","scheduled-reboot","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","OkVSlXZDMuhSkCHQcmV_i",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","experimental","scheduled-reboot",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["scheduled-reboot",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["experimental",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["scheduled-reboot",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","scheduled-reboot","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","2lPwYc-PMXS745IcvWhAn",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.html index c1ff6fd..ab6ef30 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.html @@ -1 +1 @@ -QuecManager
                                                                                              \ No newline at end of file +QuecManager
                                                                                                \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.txt index bc751db..33e4d22 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] a:I[5329,[],"ClientPageRoot"] -b:I[42988,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","9649","static/chunks/47820753-41ce4d8e11c7c32d.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3048","static/chunks/3048-9766c902a7fac6d2.js","1074","static/chunks/1074-d79f1d7c29de56fa.js","3095","static/chunks/3095-9939ca94522133b1.js","8363","static/chunks/8363-7957017618190b59.js","6665","static/chunks/app/dashboard/home/page-1b3d349f475c354b.js"],"default"] +b:I[39600,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","9649","static/chunks/47820753-41ce4d8e11c7c32d.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","241","static/chunks/241-87951836d46a7543.js","3048","static/chunks/3048-32a239af56de58c8.js","1074","static/chunks/1074-d79f1d7c29de56fa.js","4608","static/chunks/4608-0cb8f9de412dea9d.js","6665","static/chunks/app/dashboard/home/page-68f0d44223e3942b.js"],"default"] e:I[99165,[],"OutletBoundary"] 10:I[99165,[],"MetadataBoundary"] 12:I[99165,[],"ViewportBoundary"] 14:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","home",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["home",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["home",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","home","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@c","$@d"]}],null,["$","$Le",null,{"children":"$Lf"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","SZoH-EnpdYSPkj9sIU_D3",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","home",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["home",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["home",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","home","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@c","$@d"]}],null,["$","$Le",null,{"children":"$Lf"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","jnYpe7C9QoJ5u3lQm_pzq",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} 9:{} c:{} d:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.html index a0f6465..ed28d03 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.html @@ -1 +1 @@ -QuecManager
                                                                                                  \ No newline at end of file +QuecManager
                                                                                                    \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.txt index 763e0cb..ad9bfd9 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[36994,["1318","static/chunks/1318-767d278b8ca60a2b.js","5680","static/chunks/app/dashboard/settings/layout-d7b60013f28e2b0e.js"],"default"] -c:I[16212,["1258","static/chunks/1258-d8581095ee7eff72.js","4631","static/chunks/app/dashboard/settings/page-5fad63ba929c0b6b.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[36994,["9477","static/chunks/9477-4478381adb29cdff.js","5680","static/chunks/app/dashboard/settings/layout-3bcd1d2cd2bb9cb9.js"],"default"] +c:I[16212,["7780","static/chunks/7780-f325b2d7864a75f9.js","4631","static/chunks/app/dashboard/settings/page-d048cb7a26fc96f3.js"],"default"] d:I[99165,[],"OutletBoundary"] f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","TmRkSmPr85uBp6fr6zZ7C",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","settings",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":"$Le"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","uII0MaorXDGWGdOoJEszy",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 9:{} b:{} 12:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.html index 9e8f866..3633f38 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.html @@ -1 +1 @@ -QuecManager
                                                                                                      \ No newline at end of file +QuecManager
                                                                                                        \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.txt index f7c564b..13d4002 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/personalization/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[36994,["1318","static/chunks/1318-767d278b8ca60a2b.js","5680","static/chunks/app/dashboard/settings/layout-d7b60013f28e2b0e.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[36994,["9477","static/chunks/9477-4478381adb29cdff.js","5680","static/chunks/app/dashboard/settings/layout-3bcd1d2cd2bb9cb9.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[39898,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","940","static/chunks/940-09f21923885a1d0a.js","2824","static/chunks/app/dashboard/settings/personalization/page-a53f752dd1428d2a.js"],"default"] +d:I[39898,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","3494","static/chunks/3494-d763154adf622bee.js","940","static/chunks/940-09f21923885a1d0a.js","2824","static/chunks/app/dashboard/settings/personalization/page-ab9fa733339f0739.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","settings","personalization",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["settings",{"children":["personalization",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["personalization",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children","personalization","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","T3ZYioiFG13KUzMnEM2U5",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","settings","personalization",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["settings",{"children":["personalization",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["personalization",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children","personalization","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","SY2ka8GkJ5M9n8LCc0SI5",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.html index aa21721..4605ff6 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.html @@ -1 +1 @@ -QuecManager
                                                                                                          \ No newline at end of file +QuecManager
                                                                                                            \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.txt index 540e11c..5aad059 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[92907,[],"ClientSegmentRoot"] -8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","564","static/chunks/564-bce78b0f1af68d0a.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7536","static/chunks/7536-99552f97cdce7493.js","6223","static/chunks/6223-985db5887dec3c8a.js","1954","static/chunks/app/dashboard/layout-e6a263e9e7db526a.js"],"default"] -a:I[36994,["1318","static/chunks/1318-767d278b8ca60a2b.js","5680","static/chunks/app/dashboard/settings/layout-d7b60013f28e2b0e.js"],"default"] +8:I[63231,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","241","static/chunks/241-87951836d46a7543.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","2670","static/chunks/2670-a408894951858159.js","1954","static/chunks/app/dashboard/layout-f3bbd2d487cdbc3c.js"],"default"] +a:I[36994,["9477","static/chunks/9477-4478381adb29cdff.js","5680","static/chunks/app/dashboard/settings/layout-3bcd1d2cd2bb9cb9.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[16212,["1258","static/chunks/1258-d8581095ee7eff72.js","2162","static/chunks/app/dashboard/settings/security/page-d14d7f38ee68c94f.js"],"default"] +d:I[16212,["7780","static/chunks/7780-f325b2d7864a75f9.js","2162","static/chunks/app/dashboard/settings/security/page-37882e34773bbe1d.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","dashboard","settings","security",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["settings",{"children":["security",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["security",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children","security","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","JKiJsUHVx6Zx8hNNFaJdF",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","dashboard","settings","security",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["settings",{"children":["security",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$8","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@9"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L7",null,{"Component":"$a","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promise":"$@b"}]]}],{"children":["security",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children","security","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$d","searchParams":{},"params":"$0:f:0:1:2:children:1:props:children:1:props:params","promises":["$@e","$@f"]}],null,["$","$L10",null,{"children":"$L11"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","rDOxwfr6P9sS_VGAY1p91",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} 9:{} b:{} e:{} diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt index 87ef312..fddacef 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt @@ -1,16 +1,16 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] -7:I[69363,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","1318","static/chunks/1318-767d278b8ca60a2b.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","1074","static/chunks/1074-d79f1d7c29de56fa.js","7536","static/chunks/7536-99552f97cdce7493.js","8974","static/chunks/app/page-bd8d82f4aadb46b5.js"],"default"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] +7:I[69363,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","9464","static/chunks/9464-54895f8e78c474f0.js","9477","static/chunks/9477-4478381adb29cdff.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","1074","static/chunks/1074-d79f1d7c29de56fa.js","9873","static/chunks/9873-1f9f7420ad1929d8.js","8974","static/chunks/app/page-326b7ebc65edd149.js"],"default"] 8:I[99165,[],"OutletBoundary"] a:I[99165,[],"MetadataBoundary"] c:I[99165,[],"ViewportBoundary"] e:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20","children":["$","main",null,{"className":"flex flex-col gap-8 row-start-2 items-center sm:items-start","children":["$","$L7",null,{}]}]}],null,["$","$L8",null,{"children":"$L9"}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","KOwx6m1K_XuAISfQd9YUS",{"children":[["$","$La",null,{"children":"$Lb"}],["$","$Lc",null,{"children":"$Ld"}],null]}]]}],false]],"m":"$undefined","G":["$e","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20","children":["$","main",null,{"className":"flex flex-col gap-8 row-start-2 items-center sm:items-start","children":["$","$L7",null,{}]}]}],null,["$","$L8",null,{"children":"$L9"}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","Ej36bhkFsn-lvzAL6FNlc",{"children":[["$","$La",null,{"children":"$Lb"}],["$","$Lc",null,{"children":"$Ld"}],null]}]]}],false]],"m":"$undefined","G":["$e","$undefined"],"s":false,"S":true} d:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] b:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"QuecManager"}],["$","meta","2",{"name":"description","content":"Simpleadmin but better!"}],["$","link","3",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 9:null diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.html new file mode 100644 index 0000000..97056d3 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.html @@ -0,0 +1 @@ +QuecManager

                                                                                                            QuecManager Privacy Policy

                                                                                                            Your privacy is important to us. This Privacy Policy explains how QuecManager handles your information when you use our cellular modem management software.

                                                                                                            1. Privacy Overview

                                                                                                            QuecManager is designed with privacy as a core principle. As a local network management tool for Quectel cellular modems and routers, QuecManager operates primarily on your local network and devices, minimizing data collection and external communications.

                                                                                                            Key Privacy Principles:

                                                                                                            • Local-first processing - your data stays on your network
                                                                                                            • Minimal data collection - we only collect what's necessary
                                                                                                            • No remote tracking - no analytics sent to external servers
                                                                                                            • User control - you decide what data to share and when
                                                                                                            • Transparency - clear information about any data handling

                                                                                                            2. Third-Party Disclaimer

                                                                                                            Important Notice: QuecManager is an independent, third-party software application and is not affiliated with, endorsed by, or sponsored by Quectel Wireless Solutions Co., Ltd. or any of its subsidiaries or affiliates. This privacy policy applies solely to QuecManager and not to Quectel's own services or products.

                                                                                                            2.1 Independent Privacy Practices: This privacy policy governs only how QuecManager handles your information. Quectel has its own privacy policies and data handling practices that are separate from ours.

                                                                                                            2.2 Device Data Interaction: While QuecManager interacts with Quectel devices to provide management functionality, we do not share your data with Quectel, and Quectel does not have access to information processed by QuecManager unless you separately share it with them.

                                                                                                            2.3 Support and Responsibility: Quectel is not responsible for QuecManager's privacy practices or data handling. All privacy-related inquiries about QuecManager should be directed to the QuecManager development team.

                                                                                                            3. Information We Collect

                                                                                                            3.1 Device Configuration Data (Local Only)

                                                                                                            QuecManager accesses and displays information from your cellular modems and routers to provide management functionality. This includes:

                                                                                                            • Device model, firmware version, and hardware identifiers
                                                                                                            • Network configuration settings (APN, carrier settings, IP addresses)
                                                                                                            • Signal strength, connection status, and performance metrics
                                                                                                            • Data usage statistics and connection logs
                                                                                                            • Device temperature, memory usage, and system status
                                                                                                            • Custom configuration profiles and user-defined settings

                                                                                                            Important: This data is processed locally on your network and is not transmitted to external servers unless you explicitly enable specific features that require it.

                                                                                                            3.2 User-Provided Information

                                                                                                            Information you voluntarily provide when using QuecManager:

                                                                                                            • Custom device names and labels
                                                                                                            • Network configuration preferences
                                                                                                            • User profiles and access credentials (stored locally)
                                                                                                            • Custom scripts and automation rules
                                                                                                            • Backup and export data

                                                                                                            4. How We Use Your Information

                                                                                                            4.1 Primary Functions

                                                                                                            • Device Management: Display and configure your cellular modem settings
                                                                                                            • Network Monitoring: Show real-time connection status and performance data
                                                                                                            • Troubleshooting: Provide diagnostic tools and error analysis
                                                                                                            • Performance Optimization: Help optimize your network configuration

                                                                                                            We Do NOT Use Your Information For:

                                                                                                            • Advertising or marketing purposes
                                                                                                            • Selling or sharing with third parties
                                                                                                            • Creating user profiles for commercial purposes
                                                                                                            • Tracking your internet usage or browsing habits
                                                                                                            • Monitoring your cellular data consumption for business intelligence

                                                                                                            5. Data Storage and Security

                                                                                                            5.1 Local Storage

                                                                                                            The majority of your data is stored locally on your devices and network:

                                                                                                            • Browser Storage: Application settings and preferences in local browser storage
                                                                                                            • Device Memory: Configuration data stored on your cellular modems and routers
                                                                                                            • Local Database: Historical data and logs stored on your local network
                                                                                                            • Configuration Files: Backup files and profiles stored locally

                                                                                                            5.2 Security Measures

                                                                                                            Technical Security

                                                                                                            • Secure authentication protocols
                                                                                                            • Input validation and sanitization
                                                                                                            • Regular security updates

                                                                                                            Access Control

                                                                                                            • User authentication requirements
                                                                                                            • Role-based access permissions
                                                                                                            • Session management and timeouts
                                                                                                            • Device-level security integration

                                                                                                            5.3 Data Retention

                                                                                                            • Local Data: Retained until you delete it or uninstall QuecManager
                                                                                                            • Error Logs: Crash reports retained for up to 6 months for debugging

                                                                                                            6. Information Sharing and Disclosure

                                                                                                            We Do Not Sell, Rent, or Share Your Personal Information

                                                                                                            QuecManager does not sell, rent, lease, or otherwise provide your personal information or device data to third parties for commercial purposes.

                                                                                                            6.1 Limited Sharing Scenarios

                                                                                                            We may share information only in these specific circumstances:

                                                                                                            • With Your Consent: When you explicitly authorize sharing with specific services
                                                                                                            • Service Providers: Anonymous data with trusted partners who help improve the software
                                                                                                            • Legal Requirements: When required by law, regulation, or court order
                                                                                                            • Security Incidents: To protect against fraud, abuse, or security threats
                                                                                                            • Business Transfers: In the event of a merger, acquisition, or asset sale

                                                                                                            6.2 Third-Party Integrations

                                                                                                            QuecManager may offer optional integrations with third-party services:

                                                                                                            • Optional secure VPN services (such as Tailscale) that you explicitly configure and authorize, with all data remaining encrypted and under your control
                                                                                                            • Device manufacturer update services (for firmware updates)

                                                                                                            Your Control: All third-party integrations are optional and require your explicit consent.

                                                                                                            7. Your Privacy Rights and Choices

                                                                                                            7.1 Access and Control

                                                                                                            You have the right to:

                                                                                                            • Access Your Data: View all information stored by QuecManager
                                                                                                            • Modify Settings: Change configuration and privacy preferences
                                                                                                            • Export Data: Download your device configurations and settings
                                                                                                            • Delete Data: Remove stored information and user profiles
                                                                                                            • Disable Analytics: Turn off usage data collection
                                                                                                            • Opt-out: Decline optional data sharing and integrations

                                                                                                            7.2 Account Deletion

                                                                                                            To completely remove your data:

                                                                                                            1. Access your device's administration interface (LuCI)
                                                                                                            2. Go to "System" → "Software" in the navigation menu
                                                                                                            3. Locate and uninstall the QuecManager package
                                                                                                            4. Clear all stored data:
                                                                                                              • Clear browser cache and local storage
                                                                                                              • Delete any saved configurations
                                                                                                              • Remove custom settings and profiles
                                                                                                            5. Optional: Perform a factory reset on your device for complete data removal
                                                                                                            6. Contact support if you need confirmation of data deletion

                                                                                                            8. Children's Privacy

                                                                                                            QuecManager is designed for professional and technical use in managing cellular network equipment. Our service is not intended for children under the age of 13, and we do not knowingly collect personal information from children under 13.

                                                                                                            For users between 13 and 18 years of age, we recommend parental guidance when using QuecManager, as it involves managing network equipment that may affect internet connectivity and data usage.

                                                                                                            9. International Data Transfers

                                                                                                            QuecManager is designed to operate locally on your network, minimizing international data transfers. However, in limited circumstances, data may be transferred internationally:

                                                                                                            • Software Updates: Update checks and downloads from our servers

                                                                                                            When international transfers occur, we ensure appropriate safeguards are in place to protect your information in accordance with applicable data protection laws, including GDPR, CCPA, and other regional privacy regulations.

                                                                                                            10. Changes to This Privacy Policy

                                                                                                            We may update this Privacy Policy from time to time to reflect changes in our practices, technology, or legal requirements. When we make changes:

                                                                                                            • We will update the "Last Updated" date at the top of this policy
                                                                                                            • Significant changes will be highlighted in the application
                                                                                                            • We may provide additional notice through the software interface
                                                                                                            • Continued use of QuecManager after changes constitutes acceptance

                                                                                                            We encourage you to review this Privacy Policy periodically to stay informed about how we protect your information.

                                                                                                            11. Contact Us

                                                                                                            If you have questions, concerns, or requests regarding this Privacy Policy or how we handle your information, please contact us through:

                                                                                                            General Inquiries

                                                                                                            • GitHub repository issues and discussions
                                                                                                            • Official documentation and FAQ
                                                                                                            • Community forums and support channels

                                                                                                            Privacy-Specific Requests

                                                                                                            • Privacy concerns and questions
                                                                                                            • GDPR and CCPA related inquiries
                                                                                                            QuecManager Logo

                                                                                                            QuecManager Privacy Policy - Version 1.0

                                                                                                            Last Updated: August 18, 2025

                                                                                                            This Privacy Policy describes how QuecManager handles your information. By using our software, you acknowledge that you have read and understood this policy. We are committed to protecting your privacy and providing transparent information about our data practices.

                                                                                                              \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.txt new file mode 100644 index 0000000..8ee9a16 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/privacy/index.txt @@ -0,0 +1,17 @@ +1:"$Sreact.fragment" +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] +4:I[24900,[],""] +5:I[81570,[],""] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] +7:I[9477,["7780","static/chunks/7780-f325b2d7864a75f9.js","9477","static/chunks/9477-4478381adb29cdff.js","3567","static/chunks/app/legal/privacy/page-07fc14117865d470.js"],""] +8:I[76554,["7780","static/chunks/7780-f325b2d7864a75f9.js","9477","static/chunks/9477-4478381adb29cdff.js","3567","static/chunks/app/legal/privacy/page-07fc14117865d470.js"],"Separator"] +9:I[99165,[],"OutletBoundary"] +b:I[99165,[],"MetadataBoundary"] +d:I[99165,[],"ViewportBoundary"] +f:I[25339,[],""] +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","legal","privacy",""],"i":false,"f":[[["",{"children":["legal",{"children":["privacy",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["legal",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","legal","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["privacy",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","legal","children","privacy","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"max-w-4xl mx-auto p-6 space-y-6","children":["$","div",null,{"ref":"$undefined","className":"rounded-xl border bg-card text-card-foreground shadow","children":[["$","div",null,{"ref":"$undefined","className":"flex flex-col space-y-1.5 p-6 text-center","children":[["$","div",null,{"className":"flex justify-center mb-4","children":["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-shield h-12 w-12 text-blue-600 dark:text-blue-400","children":[["$","path","oel41y",{"d":"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"}],"$undefined"]}]}],["$","h3",null,{"ref":"$undefined","className":"tracking-tight text-3xl font-bold text-gray-900 dark:text-gray-100","children":"QuecManager Privacy Policy"}],["$","div",null,{"className":"flex justify-center items-center gap-4 mt-4","children":["$","$L7",null,{"href":"/login","children":["$","button",null,{"className":"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 text-primary underline-offset-4 hover:underline h-9 px-4 py-2","ref":"$undefined","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-arrow-left size-4","children":[["$","path","1l729n",{"d":"m12 19-7-7 7-7"}],["$","path","x3x0zl",{"d":"M19 12H5"}],"$undefined"]}],"Go Back"]}]}]}],["$","p",null,{"className":"text-gray-600 dark:text-gray-400 mt-4 max-w-2xl mx-auto","children":"Your privacy is important to us. This Privacy Policy explains how QuecManager handles your information when you use our cellular modem management software."}]]}],["$","div",null,{"ref":"$undefined","className":"p-6 pt-0 space-y-8","children":[["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-eye h-6 w-6 text-blue-600 dark:text-blue-400","children":[["$","path","1nclc0",{"d":"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"}],["$","circle","1v7zrd",{"cx":"12","cy":"12","r":"3"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"1. Privacy Overview"}]]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"className":"leading-relaxed","children":"QuecManager is designed with privacy as a core principle. As a local network management tool for Quectel cellular modems and routers, QuecManager operates primarily on your local network and devices, minimizing data collection and external communications."}],["$","div",null,{"className":"bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-green-800 dark:text-green-200 mb-2","children":"Key Privacy Principles:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-green-700 dark:text-green-300","children":[["$","li",null,{"children":"Local-first processing - your data stays on your network"}],["$","li",null,{"children":"Minimal data collection - we only collect what's necessary"}],["$","li",null,{"children":"No remote tracking - no analytics sent to external servers"}],["$","li",null,{"children":"User control - you decide what data to share and when"}],["$","li",null,{"children":"Transparency - clear information about any data handling"}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-triangle-alert h-6 w-6 text-orange-600 dark:text-orange-400","children":[["$","path","wmoenq",{"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"}],["$","path","juzpu7",{"d":"M12 9v4"}],["$","path","p32p05",{"d":"M12 17h.01"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"2. Third-Party Disclaimer"}]]}],["$","div",null,{"className":"bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4 mb-4","children":["$","p",null,{"className":"text-gray-700 dark:text-gray-300 leading-relaxed","children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"Important Notice:"}]," ","QuecManager is an independent, third-party software application and is ",["$","strong",null,{"children":"not affiliated with, endorsed by, or sponsored by Quectel Wireless Solutions Co., Ltd."}]," or any of its subsidiaries or affiliates. This privacy policy applies solely to QuecManager and not to Quectel's own services or products."]}]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"2.1 Independent Privacy Practices:"}]," ","This privacy policy governs only how QuecManager handles your information. Quectel has its own privacy policies and data handling practices that are separate from ours."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"2.2 Device Data Interaction:"}]," ","While QuecManager interacts with Quectel devices to provide management functionality, we do not share your data with Quectel, and Quectel does not have access to information processed by QuecManager unless you separately share it with them."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"2.3 Support and Responsibility:"}]," ","Quectel is not responsible for QuecManager's privacy practices or data handling. All privacy-related inquiries about QuecManager should be directed to the QuecManager development team."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-database h-6 w-6 text-purple-600 dark:text-purple-400","children":[["$","ellipse","msslwz",{"cx":"12","cy":"5","rx":"9","ry":"3"}],["$","path","1wlel7",{"d":"M3 5V19A9 3 0 0 0 21 19V5"}],["$","path","mv7ke4",{"d":"M3 12A9 3 0 0 0 21 12"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"3. Information We Collect"}]]}],["$","div",null,{"className":"space-y-6 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"3.1 Device Configuration Data (Local Only)"}],["$","p",null,{"className":"mb-3","children":"QuecManager accesses and displays information from your cellular modems and routers to provide management functionality. This includes:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Device model, firmware version, and hardware identifiers"}],["$","li",null,{"children":"Network configuration settings (APN, carrier settings, IP addresses)"}],["$","li",null,{"children":"Signal strength, connection status, and performance metrics"}],["$","li",null,{"children":"Data usage statistics and connection logs"}],["$","li",null,{"children":"Device temperature, memory usage, and system status"}],["$","li",null,{"children":"Custom configuration profiles and user-defined settings"}]]}],["$","div",null,{"className":"mt-3 p-3 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded","children":["$","p",null,{"className":"text-blue-800 dark:text-blue-200 text-sm","children":[["$","strong",null,{"children":"Important:"}]," This data is processed locally on your network and is not transmitted to external servers unless you explicitly enable specific features that require it."]}]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"3.2 User-Provided Information"}],["$","p",null,{"className":"mb-3","children":"Information you voluntarily provide when using QuecManager:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Custom device names and labels"}],["$","li",null,{"children":"Network configuration preferences"}],["$","li",null,{"children":"User profiles and access credentials (stored locally)"}],["$","li",null,{"children":"Custom scripts and automation rules"}],["$","li",null,{"children":"Backup and export data"}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-globe h-6 w-6 text-green-600 dark:text-green-400","children":[["$","circle","1mglay",{"cx":"12","cy":"12","r":"10"}],["$","path","13o1zl",{"d":"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}],["$","path","9i4pu4",{"d":"M2 12h20"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"4. How We Use Your Information"}]]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"4.1 Primary Functions"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"Device Management:"}]," Display and configure your cellular modem settings"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Network Monitoring:"}]," Show real-time connection status and performance data"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Troubleshooting:"}]," Provide diagnostic tools and error analysis"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Performance Optimization:"}]," Help optimize your network configuration"]}]]}]]}],["$","div",null,{"className":"bg-gray-50 dark:bg-gray-800/50 border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"We Do NOT Use Your Information For:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-gray-600 dark:text-gray-400","children":[["$","li",null,{"children":"Advertising or marketing purposes"}],["$","li",null,{"children":"Selling or sharing with third parties"}],["$","li",null,{"children":"Creating user profiles for commercial purposes"}],["$","li",null,{"children":"Tracking your internet usage or browsing habits"}],["$","li",null,{"children":"Monitoring your cellular data consumption for business intelligence"}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-lock h-6 w-6 text-red-600 dark:text-red-400","children":[["$","rect","1w4ew1",{"width":"18","height":"11","x":"3","y":"11","rx":"2","ry":"2"}],["$","path","fwvmzm",{"d":"M7 11V7a5 5 0 0 1 10 0v4"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"5. Data Storage and Security"}]]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"5.1 Local Storage"}],["$","p",null,{"className":"mb-3","children":"The majority of your data is stored locally on your devices and network:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"Browser Storage:"}]," Application settings and preferences in local browser storage"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Device Memory:"}]," Configuration data stored on your cellular modems and routers"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Local Database:"}]," Historical data and logs stored on your local network"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Configuration Files:"}]," Backup files and profiles stored locally"]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"5.2 Security Measures"}],["$","div",null,{"className":"grid md:grid-cols-2 gap-4","children":[["$","div",null,{"className":"border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h4",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"Technical Security"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-sm","children":[["$","li",null,{"children":"Secure authentication protocols"}],["$","li",null,{"children":"Input validation and sanitization"}],["$","li",null,{"children":"Regular security updates"}]]}]]}],["$","div",null,{"className":"border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h4",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"Access Control"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-sm","children":[["$","li",null,{"children":"User authentication requirements"}],["$","li",null,{"children":"Role-based access permissions"}],["$","li",null,{"children":"Session management and timeouts"}],["$","li",null,{"children":"Device-level security integration"}]]}]]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"5.3 Data Retention"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"Local Data:"}]," Retained until you delete it or uninstall QuecManager"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Error Logs:"}]," Crash reports retained for up to 6 months for debugging"]}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","div",null,{"className":"flex items-center gap-3 mb-4","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-triangle-alert h-6 w-6 text-orange-600 dark:text-orange-400","children":[["$","path","wmoenq",{"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"}],["$","path","juzpu7",{"d":"M12 9v4"}],["$","path","p32p05",{"d":"M12 17h.01"}],"$undefined"]}],["$","h2",null,{"className":"text-2xl font-semibold text-gray-800 dark:text-gray-200","children":"6. Information Sharing and Disclosure"}]]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"className":"bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-red-800 dark:text-red-200 mb-2","children":"We Do Not Sell, Rent, or Share Your Personal Information"}],["$","p",null,{"className":"text-red-700 dark:text-red-300","children":"QuecManager does not sell, rent, lease, or otherwise provide your personal information or device data to third parties for commercial purposes."}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"6.1 Limited Sharing Scenarios"}],["$","p",null,{"className":"mb-3","children":"We may share information only in these specific circumstances:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"With Your Consent:"}]," When you explicitly authorize sharing with specific services"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Service Providers:"}]," Anonymous data with trusted partners who help improve the software"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Legal Requirements:"}]," When required by law, regulation, or court order"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Security Incidents:"}]," To protect against fraud, abuse, or security threats"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Business Transfers:"}]," In the event of a merger, acquisition, or asset sale"]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"6.2 Third-Party Integrations"}],["$","p",null,{"className":"mb-3","children":"QuecManager may offer optional integrations with third-party services:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Optional secure VPN services (such as Tailscale) that you explicitly configure and authorize, with all data remaining encrypted and under your control"}],["$","li",null,{"children":"Device manufacturer update services (for firmware updates)"}]]}],["$","div",null,{"className":"mt-3 p-3 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded","children":["$","p",null,{"className":"text-blue-800 dark:text-blue-200 text-sm","children":[["$","strong",null,{"children":"Your Control:"}]," All third-party integrations are optional and require your explicit consent."]}]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"7. Your Privacy Rights and Choices"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"7.1 Access and Control"}],["$","p",null,{"className":"mb-3","children":"You have the right to:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":[["$","strong",null,{"children":"Access Your Data:"}]," View all information stored by QuecManager"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Modify Settings:"}]," Change configuration and privacy preferences"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Export Data:"}]," Download your device configurations and settings"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Delete Data:"}]," Remove stored information and user profiles"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Disable Analytics:"}]," Turn off usage data collection"]}],["$","li",null,{"children":[["$","strong",null,{"children":"Opt-out:"}]," Decline optional data sharing and integrations"]}]]}]]}],["$","div",null,{"children":[["$","h3",null,{"className":"text-lg font-semibold text-gray-800 dark:text-gray-200 mb-3","children":"7.2 Account Deletion"}],["$","p",null,{"className":"mb-3","children":"To completely remove your data:"}],["$","ol",null,{"className":"list-decimal list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Access your device's administration interface (LuCI)"}],["$","li",null,{"children":"Go to \"System\" → \"Software\" in the navigation menu"}],["$","li",null,{"children":"Locate and uninstall the QuecManager package"}],["$","li",null,{"children":["Clear all stored data:",["$","ul",null,{"className":"list-disc list-inside ml-6 mt-1 text-sm","children":[["$","li",null,{"children":"Clear browser cache and local storage"}],["$","li",null,{"children":"Delete any saved configurations"}],["$","li",null,{"children":"Remove custom settings and profiles"}]]}]]}],["$","li",null,{"children":"Optional: Perform a factory reset on your device for complete data removal"}],["$","li",null,{"children":"Contact support if you need confirmation of data deletion"}]]}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"8. Children's Privacy"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"QuecManager is designed for professional and technical use in managing cellular network equipment. Our service is not intended for children under the age of 13, and we do not knowingly collect personal information from children under 13."}],["$","p",null,{"children":"For users between 13 and 18 years of age, we recommend parental guidance when using QuecManager, as it involves managing network equipment that may affect internet connectivity and data usage."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"9. International Data Transfers"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"QuecManager is designed to operate locally on your network, minimizing international data transfers. However, in limited circumstances, data may be transferred internationally:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":["$","li",null,{"children":[["$","strong",null,{"children":"Software Updates:"}]," Update checks and downloads from our servers"]}]}],["$","p",null,{"className":"mt-4","children":"When international transfers occur, we ensure appropriate safeguards are in place to protect your information in accordance with applicable data protection laws, including GDPR, CCPA, and other regional privacy regulations."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"10. Changes to This Privacy Policy"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"We may update this Privacy Policy from time to time to reflect changes in our practices, technology, or legal requirements. When we make changes:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":"We will update the \"Last Updated\" date at the top of this policy"}],["$","li",null,{"children":"Significant changes will be highlighted in the application"}],["$","li",null,{"children":"We may provide additional notice through the software interface"}],["$","li",null,{"children":"Continued use of QuecManager after changes constitutes acceptance"}]]}],["$","p",null,{"className":"mt-4","children":"We encourage you to review this Privacy Policy periodically to stay informed about how we protect your information."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"11. Contact Us"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"If you have questions, concerns, or requests regarding this Privacy Policy or how we handle your information, please contact us through:"}],["$","div",null,{"className":"grid md:grid-cols-2 gap-4 mt-4","children":[["$","div",null,{"className":"border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"General Inquiries"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-sm","children":[["$","li",null,{"children":"GitHub repository issues and discussions"}],["$","li",null,{"children":"Official documentation and FAQ"}],["$","li",null,{"children":"Community forums and support channels"}]]}]]}],["$","div",null,{"className":"border border-gray-200 dark:border-gray-700 rounded-lg p-4","children":[["$","h3",null,{"className":"font-semibold text-gray-800 dark:text-gray-200 mb-2","children":"Privacy-Specific Requests"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 text-sm","children":[["$","li",null,{"children":"Privacy concerns and questions"}],["$","li",null,{"children":"GDPR and CCPA related inquiries"}]]}]]}]]}]]}]]}],["$","div",null,{"className":"mt-12 pt-8 border-t border-gray-200 dark:border-gray-700","children":["$","div",null,{"className":"text-center space-y-2","children":[["$","div",null,{"className":"flex justify-center","children":["$","img",null,{"src":"/login-logo.svg","alt":"QuecManager Logo","className":"lg:size-16 size-12 object-cover"}]}],["$","div",null,{"className":"space-y-2","children":[["$","p",null,{"className":"text-sm text-gray-600 dark:text-gray-400","children":["QuecManager Privacy Policy - Version ","1.0"]}],["$","p",null,{"className":"text-sm text-gray-600 dark:text-gray-400","children":["Last Updated: ","August 18, 2025"]}]]}],["$","div",null,{"className":"max-w-2xl mx-auto","children":["$","p",null,{"className":"text-xs text-gray-500 dark:text-gray-500","children":"This Privacy Policy describes how QuecManager handles your information. By using our software, you acknowledge that you have read and understood this policy. We are committed to protecting your privacy and providing transparent information about our data practices."}]}]]}]}]]}]]}]}],null,["$","$L9",null,{"children":"$La"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","cyOEDmAPE6vyzUwId1RGA",{"children":[["$","$Lb",null,{"children":"$Lc"}],["$","$Ld",null,{"children":"$Le"}],null]}]]}],false]],"m":"$undefined","G":["$f","$undefined"],"s":false,"S":true} +e:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +c:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"QuecManager"}],["$","meta","2",{"name":"description","content":"Simpleadmin but better!"}],["$","link","3",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] +a:null diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.html new file mode 100644 index 0000000..2b055c1 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.html @@ -0,0 +1 @@ +QuecManager

                                                                                                              QuecManager Terms of Service

                                                                                                              1. Acceptance of Terms

                                                                                                              By accessing, installing, or using QuecManager ("the Software"), you acknowledge that you have read, understood, and agree to be bound by these Terms of Service ("Terms"). If you do not agree to these Terms, you must not use the Software. These Terms constitute a legally binding agreement between you ("User" or "you") and the QuecManager development team ("we," "us," or "our").

                                                                                                              2. Description of Service

                                                                                                              QuecManager is a web-based management interface designed for Quectel cellular modems and routers. The Software provides:

                                                                                                              • Real-time monitoring of cellular connectivity and network status
                                                                                                              • Configuration management for network settings and cellular parameters
                                                                                                              • Diagnostic tools for troubleshooting connectivity issues
                                                                                                              • Performance metrics and usage analytics
                                                                                                              • Remote management capabilities for supported devices
                                                                                                              • Firmware update management and device administration

                                                                                                              3. Third-Party Disclaimer

                                                                                                              Important Notice: QuecManager is an independent, third-party software application and is not affiliated with, endorsed by, or sponsored by Quectel Wireless Solutions Co., Ltd. or any of its subsidiaries or affiliates. QuecManager is developed and maintained independently by the QuecManager development team.

                                                                                                              3.1 Independent Development: This software has been created independently to provide management capabilities for Quectel devices. Any trademarks, service marks, or product names mentioned in relation to Quectel are the property of Quectel Wireless Solutions Co., Ltd.

                                                                                                              3.2 No Official Support: Quectel does not provide support, warranty, or endorsement for QuecManager. All support and inquiries regarding QuecManager should be directed to the QuecManager development team through official channels.

                                                                                                              3.3 Device Compatibility: While QuecManager is designed to work with Quectel devices, we cannot guarantee compatibility with all device models or firmware versions. Use of QuecManager with Quectel devices is at your own discretion and risk.

                                                                                                              4. License and Usage Rights

                                                                                                              4.1 Grant of License: Subject to these Terms, we grant you a limited, non-exclusive, non-transferable, revocable license to use QuecManager solely for managing your Quectel devices in accordance with these Terms.

                                                                                                              4.2 Restrictions: You may not:

                                                                                                              • Modify, reverse engineer, decompile, or disassemble the Software
                                                                                                              • Distribute, sublicense, or transfer the Software to third parties
                                                                                                              • Use the Software for any illegal or unauthorized purpose
                                                                                                              • Remove or alter any proprietary notices or labels
                                                                                                              • Use the Software to damage, disable, or impair any networks or systems

                                                                                                              5. Device Compatibility and Requirements

                                                                                                              5.1 Compatibility: QuecManager is designed for use with Quectel cellular modems and routers. Compatibility is not guaranteed for all device models or firmware versions.

                                                                                                              5.2 System Requirements: You are responsible for ensuring your system meets the minimum requirements for running QuecManager, including compatible web browsers, network connectivity, and device firmware.

                                                                                                              5.3 Device Access: You must have legitimate ownership or authorization to manage any devices you connect to QuecManager.

                                                                                                              6. User Responsibilities

                                                                                                              You agree to:

                                                                                                              • Use QuecManager only for lawful purposes and in compliance with all applicable laws and regulations
                                                                                                              • Maintain the security and confidentiality of your device access credentials
                                                                                                              • Regularly backup important device configurations and data
                                                                                                              • Keep your devices and QuecManager installation updated with the latest security patches
                                                                                                              • Monitor your device usage to ensure compliance with your carrier's terms of service
                                                                                                              • Report any security vulnerabilities or bugs to the development team
                                                                                                              • Not use the Software to interfere with or disrupt networks, servers, or other users

                                                                                                              7. Privacy and Data Collection

                                                                                                              7.1 Local Processing: QuecManager operates primarily as a local management interface. Device data and configurations are processed locally on your device and network.

                                                                                                              7.2 No Remote Data Collection: We do not collect, store, or transmit your device data, configurations, or usage information to remote servers unless explicitly enabled by you for specific features.

                                                                                                              7.3 Analytics: QuecManager may collect anonymous usage statistics to improve the software. This data does not include personal information or device-specific details.

                                                                                                              7.4 Third-Party Services: If you choose to integrate with third-party services, those services' privacy policies will apply to data shared with them.

                                                                                                              8. Security Considerations

                                                                                                              8.1 Network Security: You are responsible for securing your network and devices when using QuecManager. This includes using strong passwords, enabling encryption, and implementing appropriate firewall rules.

                                                                                                              8.2 Access Control: Limit access to QuecManager to authorized personnel only. Implement proper user authentication and access controls.

                                                                                                              8.3 Regular Updates: Keep QuecManager and your device firmware updated to protect against security vulnerabilities.

                                                                                                              9. Disclaimers and Limitations

                                                                                                              9.1 "AS IS" Basis: QuecManager is provided "as is" without any warranties, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.

                                                                                                              9.2 No Guarantee of Availability: We do not guarantee that QuecManager will be available at all times or free from errors, bugs, or interruptions.

                                                                                                              9.3 Device Damage: Use of QuecManager is at your own risk. We are not responsible for any damage to your devices, data loss, or network disruption resulting from the use of the Software.

                                                                                                              9.4 Carrier Compliance: You are responsible for ensuring your use of QuecManager complies with your cellular carrier's terms of service and data usage policies.

                                                                                                              10. Limitation of Liability

                                                                                                              To the maximum extent permitted by applicable law, we shall not be liable for any indirect, incidental, special, consequential, or punitive damages, including but not limited to:

                                                                                                              • Loss of profits, data, or business opportunities
                                                                                                              • Device damage or malfunction
                                                                                                              • Network downtime or service interruption
                                                                                                              • Security breaches or unauthorized access
                                                                                                              • Carrier charges or fees resulting from software use

                                                                                                              Our total liability for any claims arising from or related to QuecManager shall not exceed the amount you paid for the Software, if any.

                                                                                                              11. Updates and Modifications

                                                                                                              11.1 Software Updates: We may release updates, patches, or new versions of QuecManager. You are encouraged to install updates to maintain security and functionality.

                                                                                                              11.2 Terms Updates: We reserve the right to modify these Terms at any time. Updated Terms will be effective immediately upon posting. Continued use of QuecManager after changes constitutes acceptance of the new Terms.

                                                                                                              11.3 Feature Changes: We may add, modify, or remove features from QuecManager without prior notice.

                                                                                                              12. Open Source and Third-Party Components

                                                                                                              QuecManager may include open source software components and third-party libraries. These components are governed by their respective licenses, which are included in the software distribution. You agree to comply with all applicable open source licenses.

                                                                                                              A complete list of third-party components and their licenses is available in the software documentation and source code repository.

                                                                                                              13. Termination

                                                                                                              13.1 Termination by You: You may stop using QuecManager at any time by uninstalling the Software from your devices.

                                                                                                              13.2 Termination by Us: We may terminate your right to use QuecManager if you violate these Terms or engage in prohibited activities.

                                                                                                              13.3 Effect of Termination: Upon termination, your right to use QuecManager ceases immediately. You must uninstall the Software and destroy all copies in your possession.

                                                                                                              14. Governing Law and Disputes

                                                                                                              14.1 Governing Law: These Terms shall be governed by and construed in accordance with the laws of your jurisdiction, without regard to conflict of law principles.

                                                                                                              14.2 Dispute Resolution: Any disputes arising from these Terms or your use of QuecManager should first be addressed through good faith negotiation. If resolution cannot be reached, disputes may be subject to binding arbitration or court proceedings as determined by applicable law.

                                                                                                              15. Contact Information

                                                                                                              If you have questions about these Terms or QuecManager, please contact us through:

                                                                                                              • GitHub repository issues and discussions
                                                                                                              • Official documentation and support channels
                                                                                                              • Community forums and support resources

                                                                                                              For security-related issues, please follow responsible disclosure practices as outlined in our security policy.

                                                                                                              16. Miscellaneous

                                                                                                              16.1 Entire Agreement: These Terms constitute the entire agreement between you and us regarding QuecManager and supersede all prior agreements.

                                                                                                              16.2 Severability: If any provision of these Terms is found to be unenforceable, the remaining provisions shall remain in full force and effect.

                                                                                                              16.3 Waiver: Our failure to enforce any provision of these Terms shall not constitute a waiver of that provision.

                                                                                                              16.4 Assignment: You may not assign or transfer your rights under these Terms without our prior written consent.

                                                                                                              QuecManager Logo

                                                                                                              QuecManager Terms of Service - Version 1.0

                                                                                                              Last Updated: August 18, 2025

                                                                                                              By using QuecManager, you acknowledge that you have read and understood these Terms of Service and agree to be bound by them.

                                                                                                                \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.txt new file mode 100644 index 0000000..add95b6 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/legal/tos/index.txt @@ -0,0 +1,17 @@ +1:"$Sreact.fragment" +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] +4:I[24900,[],""] +5:I[81570,[],""] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] +7:I[9477,["7780","static/chunks/7780-f325b2d7864a75f9.js","9477","static/chunks/9477-4478381adb29cdff.js","161","static/chunks/app/legal/tos/page-8094189e5304dc77.js"],""] +8:I[76554,["7780","static/chunks/7780-f325b2d7864a75f9.js","9477","static/chunks/9477-4478381adb29cdff.js","161","static/chunks/app/legal/tos/page-8094189e5304dc77.js"],"Separator"] +9:I[99165,[],"OutletBoundary"] +b:I[99165,[],"MetadataBoundary"] +d:I[99165,[],"ViewportBoundary"] +f:I[25339,[],""] +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","legal","tos",""],"i":false,"f":[[["",{"children":["legal",{"children":["tos",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["legal",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","legal","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["tos",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","legal","children","tos","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"max-w-4xl mx-auto p-6 space-y-6","children":["$","div",null,{"ref":"$undefined","className":"rounded-xl border bg-card text-card-foreground shadow","children":[["$","div",null,{"ref":"$undefined","className":"flex flex-col space-y-1.5 p-6 text-center","children":[["$","h3",null,{"ref":"$undefined","className":"tracking-tight text-3xl font-bold text-gray-900 dark:text-gray-100","children":"QuecManager Terms of Service"}],["$","$L7",null,{"href":"/login","children":["$","button",null,{"className":"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 text-primary underline-offset-4 hover:underline h-9 px-4 py-2","ref":"$undefined","children":[["$","svg",null,{"ref":"$undefined","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","className":"lucide lucide-arrow-left size-4","children":[["$","path","1l729n",{"d":"m12 19-7-7 7-7"}],["$","path","x3x0zl",{"d":"M19 12H5"}],"$undefined"]}],"Go Back"]}]}]]}],["$","div",null,{"ref":"$undefined","className":"p-6 pt-0 space-y-8","children":[["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"1. Acceptance of Terms"}],["$","p",null,{"className":"text-gray-700 dark:text-gray-300 leading-relaxed","children":"By accessing, installing, or using QuecManager (\"the Software\"), you acknowledge that you have read, understood, and agree to be bound by these Terms of Service (\"Terms\"). If you do not agree to these Terms, you must not use the Software. These Terms constitute a legally binding agreement between you (\"User\" or \"you\") and the QuecManager development team (\"we,\" \"us,\" or \"our\")."}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"2. Description of Service"}],["$","p",null,{"className":"text-gray-700 dark:text-gray-300 leading-relaxed mb-4","children":"QuecManager is a web-based management interface designed for Quectel cellular modems and routers. The Software provides:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 text-gray-700 dark:text-gray-300 ml-4","children":[["$","li",null,{"children":"Real-time monitoring of cellular connectivity and network status"}],["$","li",null,{"children":"Configuration management for network settings and cellular parameters"}],["$","li",null,{"children":"Diagnostic tools for troubleshooting connectivity issues"}],["$","li",null,{"children":"Performance metrics and usage analytics"}],["$","li",null,{"children":"Remote management capabilities for supported devices"}],["$","li",null,{"children":"Firmware update management and device administration"}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"3. Third-Party Disclaimer"}],["$","div",null,{"className":"bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4 mb-4","children":["$","p",null,{"className":"text-gray-700 dark:text-gray-300 leading-relaxed","children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"Important Notice:"}]," ","QuecManager is an independent, third-party software application and is"," ",["$","strong",null,{"children":"not affiliated with, endorsed by, or sponsored by Quectel Wireless Solutions Co., Ltd."}]," ","or any of its subsidiaries or affiliates. QuecManager is developed and maintained independently by the QuecManager development team."]}]}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"3.1 Independent Development:"}]," ","This software has been created independently to provide management capabilities for Quectel devices. Any trademarks, service marks, or product names mentioned in relation to Quectel are the property of Quectel Wireless Solutions Co., Ltd."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"3.2 No Official Support:"}]," ","Quectel does not provide support, warranty, or endorsement for QuecManager. All support and inquiries regarding QuecManager should be directed to the QuecManager development team through official channels."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"3.3 Device Compatibility:"}]," ","While QuecManager is designed to work with Quectel devices, we cannot guarantee compatibility with all device models or firmware versions. Use of QuecManager with Quectel devices is at your own discretion and risk."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"4. License and Usage Rights"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"4.1 Grant of License:"}]," ","Subject to these Terms, we grant you a limited, non-exclusive, non-transferable, revocable license to use QuecManager solely for managing your Quectel devices in accordance with these Terms."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"4.2 Restrictions:"}]," ","You may not:"]}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-6","children":[["$","li",null,{"children":"Modify, reverse engineer, decompile, or disassemble the Software"}],["$","li",null,{"children":"Distribute, sublicense, or transfer the Software to third parties"}],["$","li",null,{"children":"Use the Software for any illegal or unauthorized purpose"}],["$","li",null,{"children":"Remove or alter any proprietary notices or labels"}],["$","li",null,{"children":"Use the Software to damage, disable, or impair any networks or systems"}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"5. Device Compatibility and Requirements"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"5.1 Compatibility:"}]," ","QuecManager is designed for use with Quectel cellular modems and routers. Compatibility is not guaranteed for all device models or firmware versions."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"5.2 System Requirements:"}]," ","You are responsible for ensuring your system meets the minimum requirements for running QuecManager, including compatible web browsers, network connectivity, and device firmware."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"5.3 Device Access:"}]," ","You must have legitimate ownership or authorization to manage any devices you connect to QuecManager."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"6. User Responsibilities"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"You agree to:"}],["$","ul",null,{"className":"list-disc list-inside space-y-2 ml-4","children":[["$","li",null,{"children":"Use QuecManager only for lawful purposes and in compliance with all applicable laws and regulations"}],["$","li",null,{"children":"Maintain the security and confidentiality of your device access credentials"}],["$","li",null,{"children":"Regularly backup important device configurations and data"}],["$","li",null,{"children":"Keep your devices and QuecManager installation updated with the latest security patches"}],["$","li",null,{"children":"Monitor your device usage to ensure compliance with your carrier's terms of service"}],["$","li",null,{"children":"Report any security vulnerabilities or bugs to the development team"}],["$","li",null,{"children":"Not use the Software to interfere with or disrupt networks, servers, or other users"}]]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"7. Privacy and Data Collection"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"7.1 Local Processing:"}]," ","QuecManager operates primarily as a local management interface. Device data and configurations are processed locally on your device and network."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"7.2 No Remote Data Collection:"}]," ","We do not collect, store, or transmit your device data, configurations, or usage information to remote servers unless explicitly enabled by you for specific features."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"7.3 Analytics:"}]," ","QuecManager may collect anonymous usage statistics to improve the software. This data does not include personal information or device-specific details."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"7.4 Third-Party Services:"}]," ","If you choose to integrate with third-party services, those services' privacy policies will apply to data shared with them."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"8. Security Considerations"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"8.1 Network Security:"}]," ","You are responsible for securing your network and devices when using QuecManager. This includes using strong passwords, enabling encryption, and implementing appropriate firewall rules."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"8.2 Access Control:"}]," ","Limit access to QuecManager to authorized personnel only. Implement proper user authentication and access controls."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"8.3 Regular Updates:"}]," ","Keep QuecManager and your device firmware updated to protect against security vulnerabilities."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"9. Disclaimers and Limitations"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"9.1 \"AS IS\" Basis:"}]," ","QuecManager is provided \"as is\" without any warranties, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"9.2 No Guarantee of Availability:"}]," ","We do not guarantee that QuecManager will be available at all times or free from errors, bugs, or interruptions."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"9.3 Device Damage:"}]," ","Use of QuecManager is at your own risk. We are not responsible for any damage to your devices, data loss, or network disruption resulting from the use of the Software."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"9.4 Carrier Compliance:"}]," ","You are responsible for ensuring your use of QuecManager complies with your cellular carrier's terms of service and data usage policies."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"10. Limitation of Liability"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"To the maximum extent permitted by applicable law, we shall not be liable for any indirect, incidental, special, consequential, or punitive damages, including but not limited to:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"Loss of profits, data, or business opportunities"}],["$","li",null,{"children":"Device damage or malfunction"}],["$","li",null,{"children":"Network downtime or service interruption"}],["$","li",null,{"children":"Security breaches or unauthorized access"}],["$","li",null,{"children":"Carrier charges or fees resulting from software use"}]]}],["$","p",null,{"className":"mt-4","children":"Our total liability for any claims arising from or related to QuecManager shall not exceed the amount you paid for the Software, if any."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"11. Updates and Modifications"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"11.1 Software Updates:"}]," ","We may release updates, patches, or new versions of QuecManager. You are encouraged to install updates to maintain security and functionality."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"11.2 Terms Updates:"}]," ","We reserve the right to modify these Terms at any time. Updated Terms will be effective immediately upon posting. Continued use of QuecManager after changes constitutes acceptance of the new Terms."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"11.3 Feature Changes:"}]," ","We may add, modify, or remove features from QuecManager without prior notice."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"12. Open Source and Third-Party Components"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"QuecManager may include open source software components and third-party libraries. These components are governed by their respective licenses, which are included in the software distribution. You agree to comply with all applicable open source licenses."}],["$","p",null,{"children":"A complete list of third-party components and their licenses is available in the software documentation and source code repository."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"13. Termination"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"13.1 Termination by You:"}]," ","You may stop using QuecManager at any time by uninstalling the Software from your devices."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"13.2 Termination by Us:"}]," ","We may terminate your right to use QuecManager if you violate these Terms or engage in prohibited activities."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"13.3 Effect of Termination:"}]," ","Upon termination, your right to use QuecManager ceases immediately. You must uninstall the Software and destroy all copies in your possession."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"14. Governing Law and Disputes"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"14.1 Governing Law:"}]," ","These Terms shall be governed by and construed in accordance with the laws of your jurisdiction, without regard to conflict of law principles."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"14.2 Dispute Resolution:"}]," ","Any disputes arising from these Terms or your use of QuecManager should first be addressed through good faith negotiation. If resolution cannot be reached, disputes may be subject to binding arbitration or court proceedings as determined by applicable law."]}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"15. Contact Information"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":"If you have questions about these Terms or QuecManager, please contact us through:"}],["$","ul",null,{"className":"list-disc list-inside space-y-1 ml-4","children":[["$","li",null,{"children":"GitHub repository issues and discussions"}],["$","li",null,{"children":"Official documentation and support channels"}],["$","li",null,{"children":"Community forums and support resources"}]]}],["$","p",null,{"className":"mt-4","children":"For security-related issues, please follow responsible disclosure practices as outlined in our security policy."}]]}]]}],["$","$L8",null,{}],["$","section",null,{"children":[["$","h2",null,{"className":"text-2xl font-semibold mb-4 text-gray-800 dark:text-gray-200","children":"16. Miscellaneous"}],["$","div",null,{"className":"space-y-4 text-gray-700 dark:text-gray-300","children":[["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"16.1 Entire Agreement:"}]," ","These Terms constitute the entire agreement between you and us regarding QuecManager and supersede all prior agreements."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"16.2 Severability:"}]," ","If any provision of these Terms is found to be unenforceable, the remaining provisions shall remain in full force and effect."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"16.3 Waiver:"}]," ","Our failure to enforce any provision of these Terms shall not constitute a waiver of that provision."]}],["$","p",null,{"children":[["$","strong",null,{"className":"text-gray-900 dark:text-gray-100","children":"16.4 Assignment:"}]," ","You may not assign or transfer your rights under these Terms without our prior written consent."]}]]}]]}],["$","div",null,{"className":"mt-12 pt-8 border-t border-gray-200 dark:border-gray-700","children":["$","div",null,{"className":"text-center space-y-2","children":[["$","div",null,{"className":"flex justify-center","children":["$","img",null,{"src":"/login-logo.svg","alt":"QuecManager Logo","className":"lg:size-16 size-12 object-cover"}]}],["$","p",null,{"className":"text-sm text-gray-600 dark:text-gray-400","children":["QuecManager Terms of Service - Version ","1.0"]}],["$","p",null,{"className":"text-sm text-gray-600 dark:text-gray-400","children":["Last Updated: ","August 18, 2025"]}],["$","p",null,{"className":"text-xs text-gray-500 dark:text-gray-500 mt-4","children":"By using QuecManager, you acknowledge that you have read and understood these Terms of Service and agree to be bound by them."}]]}]}]]}]]}]}],null,["$","$L9",null,{"children":"$La"}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","2ex3rAOKH-l6Pg1oDvYVS",{"children":[["$","$Lb",null,{"children":"$Lc"}],["$","$Ld",null,{"children":"$Le"}],null]}]]}],false]],"m":"$undefined","G":["$f","$undefined"],"s":false,"S":true} +e:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +c:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"QuecManager"}],["$","meta","2",{"name":"description","content":"Simpleadmin but better!"}],["$","link","3",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] +a:null diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/login.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/login.html index 19689db..05be1f7 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/login.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/login.html @@ -1 +1 @@ -QuecManager

                                                                                                                QuecManager Quick Stats

                                                                                                                  \ No newline at end of file +QuecManager

                                                                                                                  QuecManager Quick Stats

                                                                                                                    \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.html index c4801ee..1068326 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.html @@ -1 +1 @@ -QuecManager
                                                                                                                    QuecManager Logo

                                                                                                                    Welcome to QuecManager

                                                                                                                    Forgot your password?
                                                                                                                    By clicking continue, you agree to our Terms of Service and Privacy Policy.
                                                                                                                      \ No newline at end of file +QuecManager
                                                                                                                      QuecManager Logo

                                                                                                                      Welcome to QuecManager

                                                                                                                      Forgot your password?

                                                                                                                      Go Back

                                                                                                                      By clicking continue, you agree to our Terms of Service and Privacy Policy.
                                                                                                                        \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.txt index 16ae8a0..3f84dde 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.txt @@ -1,17 +1,17 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[5329,[],"ClientPageRoot"] -8:I[25274,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4520","static/chunks/app/login/page-241a01e6125b9e54.js"],"default"] +8:I[56960,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","9477","static/chunks/9477-4478381adb29cdff.js","4520","static/chunks/app/login/page-0a8c0a357c794cc3.js"],"default"] b:I[99165,[],"OutletBoundary"] d:I[99165,[],"MetadataBoundary"] f:I[99165,[],"ViewportBoundary"] 11:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","login",""],"i":false,"f":[[["",{"children":["login",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["login",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","login","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":"$Lc"}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","3h1vzl6tyEEZjKHdl0RgD",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","$Lf",null,{"children":"$L10"}],null]}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","login",""],"i":false,"f":[[["",{"children":["login",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["login",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","login","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":"$Lc"}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","FPmJd0ikvT-xZo6CO_4BG",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","$Lf",null,{"children":"$L10"}],null]}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 9:{} a:{} 10:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.html index 24facf0..171c0e5 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.html @@ -1 +1 @@ -QuecManager
                                                                                                                        Score: 0
                                                                                                                        High Score: 0
                                                                                                                        Speed: 1x

                                                                                                                        Controls:

                                                                                                                        ← → : Move

                                                                                                                        ↑ : Rotate

                                                                                                                        ↓ : Soft Drop

                                                                                                                        Space : Hard Drop

                                                                                                                        Ctrl+R : Restart

                                                                                                                          \ No newline at end of file +QuecManager
                                                                                                                          Score: 0
                                                                                                                          High Score: 0
                                                                                                                          Speed: 1x

                                                                                                                          Controls:

                                                                                                                          ← → : Move

                                                                                                                          ↑ : Rotate

                                                                                                                          ↓ : Soft Drop

                                                                                                                          Space : Hard Drop

                                                                                                                          Ctrl+R : Restart

                                                                                                                            \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.txt index acd2db2..d65f353 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/index.txt @@ -1,17 +1,17 @@ 1:"$Sreact.fragment" -2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"ThemeProvider"] -3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"TooltipProvider"] +2:I[74347,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"ThemeProvider"] +3:I[85014,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"TooltipProvider"] 4:I[24900,[],""] 5:I[81570,[],""] -6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","1258","static/chunks/1258-d8581095ee7eff72.js","4687","static/chunks/4687-e0eed5cfe3a696d9.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-9766c902a7fac6d2.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-ea531924681188d0.js"],"Toaster"] +6:I[62825,["9980","static/chunks/7b0cf0b7-b5dde770929b7ab9.js","7780","static/chunks/7780-f325b2d7864a75f9.js","8885","static/chunks/8885-ae45735eaa57e8dd.js","3746","static/chunks/3746-654c7d406af2e140.js","3048","static/chunks/3048-32a239af56de58c8.js","2682","static/chunks/2682-7f9e5e2a8bb2f859.js","7177","static/chunks/app/layout-081a46a6e8aa48bc.js"],"Toaster"] 7:I[5329,[],"ClientPageRoot"] 8:I[55049,["5395","static/chunks/app/utils/dsMDh6647ZGkOLyv60QE/OGwW8ufEw6nWPQSaliNX/games/tetris/page-310e7c3b7a9d8547.js"],"default"] b:I[99165,[],"OutletBoundary"] d:I[99165,[],"MetadataBoundary"] f:I[99165,[],"ViewportBoundary"] 11:I[25339,[],""] -:HL["/_next/static/css/42cb6b63b4b8c16d.css","style"] -0:{"P":null,"b":"UNoHHimC1xZOO6l4nPvt9","p":"","c":["","utils","dsMDh6647ZGkOLyv60QE","OGwW8ufEw6nWPQSaliNX","games","tetris",""],"i":false,"f":[[["",{"children":["utils",{"children":["dsMDh6647ZGkOLyv60QE",{"children":["OGwW8ufEw6nWPQSaliNX",{"children":["games",{"children":["tetris",{"children":["__PAGE__",{}]}]}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/42cb6b63b4b8c16d.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["utils",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["dsMDh6647ZGkOLyv60QE",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["OGwW8ufEw6nWPQSaliNX",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children","OGwW8ufEw6nWPQSaliNX","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["games",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children","OGwW8ufEw6nWPQSaliNX","children","games","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["tetris",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children","OGwW8ufEw6nWPQSaliNX","children","games","children","tetris","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":"$Lc"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","zA-0CRH0WRDYhXwZOohC5",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","$Lf",null,{"children":"$L10"}],null]}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +:HL["/_next/static/css/d6a91fa40275d73c.css","style"] +0:{"P":null,"b":"5Uag14M-HdBMG-DytwMof","p":"","c":["","utils","dsMDh6647ZGkOLyv60QE","OGwW8ufEw6nWPQSaliNX","games","tetris",""],"i":false,"f":[[["",{"children":["utils",{"children":["dsMDh6647ZGkOLyv60QE",{"children":["OGwW8ufEw6nWPQSaliNX",{"children":["games",{"children":["tetris",{"children":["__PAGE__",{}]}]}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d6a91fa40275d73c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"antialiased __className_9dae3d","children":[["$","$L2",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[],[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}],["$","$L6",null,{}]]}]}]]}],{"children":["utils",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["dsMDh6647ZGkOLyv60QE",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["OGwW8ufEw6nWPQSaliNX",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children","OGwW8ufEw6nWPQSaliNX","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["games",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children","OGwW8ufEw6nWPQSaliNX","children","games","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["tetris",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","utils","children","dsMDh6647ZGkOLyv60QE","children","OGwW8ufEw6nWPQSaliNX","children","games","children","tetris","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":"$Lc"}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","Jwo0_2iDXmHUhiRy2STMu",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","$Lf",null,{"children":"$L10"}],null]}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} 9:{} a:{} 10:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] diff --git a/opkg-feed/Packages b/opkg-feed/Packages index eabee66..b1dbffd 100644 --- a/opkg-feed/Packages +++ b/opkg-feed/Packages @@ -206,15 +206,15 @@ License: GPLv3 Package: sdxpinn-quecmanager-beta -Version: 2.2.7 +Version: 2.2.8 Depends: sdxpinn-mount-fix, sdxpinn-patch (>= 2.5), libc, inotifywait, coreutils-timeout, uhttpd, sms-tool (>= 2025.1.19-APmod-iamromulan), jq, ookla-speedtest Conflicts: sdxpinn-quecmanager Section: admin Architecture: aarch64_cortex-a53 Maintainer: Russel Yasol Cameron Thompson -MD5Sum: 3341374dbc94154676c960bd86b170a1 -Size: 1118841 -Filename: sdxpinn-quecmanager-beta_2.2.7_aarch64_cortex-a53.ipk +MD5Sum: 3ef88e054f4a7d3f789a2bd2a9d33095 +Size: 1159120 +Filename: sdxpinn-quecmanager-beta_2.2.8_aarch64_cortex-a53.ipk Source: github/iamromulan Description: BETA: A custom web UI desgined to run alongside luci for Quectel RM55x modems License: GPLv3 diff --git a/opkg-feed/Packages.gz b/opkg-feed/Packages.gz index a428633..800fc8c 100644 Binary files a/opkg-feed/Packages.gz and b/opkg-feed/Packages.gz differ diff --git a/opkg-feed/Packages.log b/opkg-feed/Packages.log index 22d5e09..7fe2c6f 100644 --- a/opkg-feed/Packages.log +++ b/opkg-feed/Packages.log @@ -1,4 +1,4 @@ -Starting package analysis - Wed Aug 13 09:32:01 PM EDT 2025 +Starting package analysis - Sun Aug 24 04:06:44 PM EDT 2025 No update needed for atinout (version 0.9.1, MD5: 444eb87488bad1927b6ed069dedf7393, size: 4323) No update needed for kmod-wireguard (version 1, MD5: 98e77b68c2f1b5ff46ef7713b4f63a94, size: 789) No update needed for libucode20230711 (version 2024.07.22~b610860d-r3, MD5: c38bd45a6aa14a969b7e92f051481d7e, size: 79358) @@ -14,7 +14,7 @@ No update needed for sdxpinn-mount-fix (version 1.3.2, MD5: 004d4f1c792efc2d32c2 No update needed for sdxpinn-patch (version 2.5, MD5: 0ec65238142dad95de1666b01a6f09c6, size: 3054) No update needed for sdxpinn-quecmanager (version 2.2.3, MD5: e84d70a73cbf372cc9ed611ee0daa625, size: 2060884) Updating package info for sdxpinn-quecmanager-beta... -Updated sdxpinn-quecmanager-beta to version 2.2.7 with MD5: 3341374dbc94154676c960bd86b170a1 and size: 1118841 +Updated sdxpinn-quecmanager-beta to version 2.2.8 with MD5: 3ef88e054f4a7d3f789a2bd2a9d33095 and size: 1159120 No update needed for sms-tool (version 2025.1.19-APmod-iamromulan, MD5: 83dc8bfd2d4ac8d8952a2a95b2be943f, size: 13687) No update needed for socat-at-bridge (version 1.2.0, MD5: eccb5b567c5fd7969ebedbef3c6fdebb, size: 1445) No update needed for tailscale (version 1.86.2, MD5: 4164fbd218c720bf9138d5b7b5f146c8, size: 10768011) @@ -23,4 +23,4 @@ No update needed for ucode-mod-lua (version 1, MD5: cd83c6848867112332d1155b4c4f No update needed for warp (version 1.0, MD5: ea95658bf84f619cabe5dd62280fe787, size: 2698) No update needed for wgcf (version 2.2.24, MD5: b2ba181f9181c2bd8f37933c60c0713f, size: 3677883) Package file and signature updated successfully. -Package analysis completed - Wed Aug 13 09:32:02 PM EDT 2025 +Package analysis completed - Sun Aug 24 04:06:44 PM EDT 2025 diff --git a/opkg-feed/Packages.sig b/opkg-feed/Packages.sig index 623103e..575bcb2 100644 --- a/opkg-feed/Packages.sig +++ b/opkg-feed/Packages.sig @@ -1,2 +1,2 @@ untrusted comment: signed by key 6262698f038d1226 -RWRiYmmPA40SJowF556dFE8vV12a2FMWw/3rV2cjtxukJv5r8Ol/so0PCLozUhs8EreSGiOgpYtBrL6Oc1iLxBaG6mlDJKIsHAI= +RWRiYmmPA40SJkhEbRlfEH0filrxN6JQxAPAIKlAm+5U0ht790GtDh6Z1nio7cHBvW9XFRsZcUnYV+kfwCmwfZg2mLwpSmrLpAw= diff --git a/opkg-feed/sdxpinn-quecmanager-beta_2.2.7_aarch64_cortex-a53.ipk b/opkg-feed/sdxpinn-quecmanager-beta_2.2.7_aarch64_cortex-a53.ipk deleted file mode 100644 index c89e1f0..0000000 Binary files a/opkg-feed/sdxpinn-quecmanager-beta_2.2.7_aarch64_cortex-a53.ipk and /dev/null differ diff --git a/opkg-feed/sdxpinn-quecmanager-beta_2.2.8_aarch64_cortex-a53.ipk b/opkg-feed/sdxpinn-quecmanager-beta_2.2.8_aarch64_cortex-a53.ipk new file mode 100644 index 0000000..211b30e Binary files /dev/null and b/opkg-feed/sdxpinn-quecmanager-beta_2.2.8_aarch64_cortex-a53.ipk differ