diff --git a/ipk-source/sdxpinn-quecmanager-beta/CONTROL/control b/ipk-source/sdxpinn-quecmanager-beta/CONTROL/control index 545b0f0..c5f5701 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.1.4 +Version: 2.1.5 Architecture: aarch64_cortex-a53 Maintainer: Russel Yasol dr-dolomite@github.com Cameron Thompson iamromulan@github.com Source: github.com/iamromulan diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_cell_locking b/ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_cell_locking index 464a02a..9273858 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_cell_locking +++ b/ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_cell_locking @@ -1,49 +1,65 @@ #!/bin/sh /etc/rc.common -START=95 +START=99 STOP=10 -USE_PROCD=1 -DAEMON="/www/cgi-bin/services/scheduled_cell_locking.sh" +SCRIPTS_DIR="/www/cgi-bin/quecmanager/cell-locking" +BOOT_SCRIPT="$SCRIPTS_DIR/boot_check.sh" +UPDATE_SCRIPT="$SCRIPTS_DIR/update_crontab.sh" UCI_CONFIG="quecmanager" -PID_FILE="/var/run/cell_lock_scheduler.pid" LOG_DIR="/tmp/log/cell_lock" +LOG_FILE="$LOG_DIR/cell_lock.log" -start_service() { - # Check if the daemon script exists - if [ ! -x "$DAEMON" ]; then - logger -t cell_lock -p daemon.error "Daemon script not found or not executable: $DAEMON" - return 1 - fi +# Function to log messages +log_message() { + local message="$1" + local level="${2:-info}" + local component="init_script" + local timestamp=$(date "+%Y-%m-%d %H:%M:%S") + + # Ensure log directory exists + mkdir -p "$LOG_DIR" + + # Format: [timestamp] [level] [component] message + echo "[$timestamp] [$level] [$component] $message" >> "$LOG_FILE" + + # Also log to system log + logger -t "cell_lock_$component" -p "daemon.$level" "$message" +} - # Check if service is enabled in UCI +start() { + # Make scripts executable + chmod +x "$SCRIPTS_DIR"/*.sh + chmod +x /www/cgi-bin/quecmanager/cell-locking/handle_scheduled_locking.sh + + # Check if enabled local enabled config_load "$UCI_CONFIG" config_get_bool enabled cell_lock enabled 0 - if [ "$enabled" -ne 1 ]; then - logger -t cell_lock -p daemon.info "Cell lock scheduler is disabled in config" - return 0 + if [ "$enabled" -eq 1 ]; then + # Update crontab entries + "$UPDATE_SCRIPT" + + # Run boot check + "$BOOT_SCRIPT" + + log_message "Cell lock scheduler service started" "info" + else + log_message "Cell lock scheduler is disabled in config" "info" fi - - # Create log directory - mkdir -p "$LOG_DIR" - - # Start the service via procd - logger -t cell_lock -p daemon.info "Starting cell lock scheduler daemon" - procd_open_instance "cell_lock_scheduler" - procd_set_param command "$DAEMON" - procd_set_param respawn 3600 5 5 # Retry every hour, 5 times max - procd_set_param stdout 1 - procd_set_param stderr 1 - procd_set_param pidfile "$PID_FILE" - procd_close_instance } -service_triggers() { - procd_add_reload_trigger "$UCI_CONFIG" +stop() { + # Remove crontab entries + crontab -l | grep -v "$SCRIPTS_DIR/" | crontab - + + log_message "Cell lock scheduler service stopped" "info" } -reload_service() { - restart +reload() { + # Update crontab entries based on current config + "$UPDATE_SCRIPT" + + log_message "Cell lock scheduler service reloaded" "info" } \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/404.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/404.html index 44a7b59..21bd0e0 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 44a7b59..21bd0e0 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/28DYBuOMA5NUDDqpqBIcr/_buildManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/28DYBuOMA5NUDDqpqBIcr/_buildManifest.js new file mode 100644 index 0000000..64643be --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/28DYBuOMA5NUDDqpqBIcr/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(r,e,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:26,errorRate:1e-4,numBits:499,numHashes:14,bitArray:[1,0,1,1,r,r,r,0,r,r,r,0,r,e,r,e,r,r,e,r,r,e,e,e,r,e,e,e,r,r,e,e,e,r,r,r,r,r,e,r,r,e,r,r,e,e,r,r,r,e,r,e,r,r,r,r,e,e,e,e,r,r,e,e,r,e,r,e,r,r,e,r,e,e,r,e,e,r,r,e,r,r,e,e,r,e,e,r,e,e,e,e,e,r,e,e,r,r,e,e,e,r,r,r,e,r,e,r,e,r,e,r,r,e,r,e,r,r,e,r,r,r,e,e,r,e,r,e,r,r,e,e,r,r,r,e,e,r,e,e,r,e,r,e,r,e,r,r,e,r,r,e,e,r,r,e,r,r,e,r,e,e,e,e,e,e,r,e,e,e,e,r,r,r,r,r,r,e,e,e,e,r,r,r,e,e,e,e,e,r,e,e,r,e,r,e,e,e,r,e,e,r,e,e,r,e,r,r,r,r,r,e,r,e,r,r,r,r,e,e,r,e,e,r,r,e,r,r,r,e,r,e,e,e,e,e,r,r,r,e,r,e,r,r,r,r,r,r,r,e,e,r,e,e,r,e,r,r,r,r,e,r,r,r,r,r,e,r,r,r,e,e,r,r,r,r,e,e,e,e,r,e,e,e,r,e,r,e,r,r,e,e,e,e,r,r,e,e,r,e,r,r,r,r,r,r,e,e,r,e,r,r,e,r,r,e,r,e,e,e,e,r,e,e,e,r,r,e,e,e,e,r,e,e,e,e,r,e,r,e,r,r,e,e,e,e,r,e,e,r,e,e,r,r,r,r,r,r,r,e,r,r,r,e,e,e,e,e,e,r,e,e,e,e,e,r,e,r,e,r,e,e,e,r,e,e,r,r,e,e,e,e,e,r,r,r,e,r,e,e,r,e,e,r,r,r,e,r,r,e,e,r,r,r,e,r,r,e,e,e,r,r,r,e,e,r,r,r,r,r,r,r,e,e,r,r,e,r,e,r,e,e,e,r,r,r,r,e,r,e,e,r,r,e,e,e,e,e,e,r,e,r,r,e,r,e,r,e,e,r,r,r,r,r,e,e,r,e,e,r,e,r,r,e,r,r,e,e,r,e,e,e,r,r,e,r,r,e,e]},__routerFilterDynamic:{numItems:e,errorRate:1e-4,numBits:e,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-f347b70a71a8047b.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/28DYBuOMA5NUDDqpqBIcr/_ssgManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/28DYBuOMA5NUDDqpqBIcr/_ssgManifest.js new file mode 100644 index 0000000..5b3ff59 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/28DYBuOMA5NUDDqpqBIcr/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/37qqgHQHJq3PEiY10zXw4/_buildManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/37qqgHQHJq3PEiY10zXw4/_buildManifest.js new file mode 100644 index 0000000..64643be --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/37qqgHQHJq3PEiY10zXw4/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(r,e,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:26,errorRate:1e-4,numBits:499,numHashes:14,bitArray:[1,0,1,1,r,r,r,0,r,r,r,0,r,e,r,e,r,r,e,r,r,e,e,e,r,e,e,e,r,r,e,e,e,r,r,r,r,r,e,r,r,e,r,r,e,e,r,r,r,e,r,e,r,r,r,r,e,e,e,e,r,r,e,e,r,e,r,e,r,r,e,r,e,e,r,e,e,r,r,e,r,r,e,e,r,e,e,r,e,e,e,e,e,r,e,e,r,r,e,e,e,r,r,r,e,r,e,r,e,r,e,r,r,e,r,e,r,r,e,r,r,r,e,e,r,e,r,e,r,r,e,e,r,r,r,e,e,r,e,e,r,e,r,e,r,e,r,r,e,r,r,e,e,r,r,e,r,r,e,r,e,e,e,e,e,e,r,e,e,e,e,r,r,r,r,r,r,e,e,e,e,r,r,r,e,e,e,e,e,r,e,e,r,e,r,e,e,e,r,e,e,r,e,e,r,e,r,r,r,r,r,e,r,e,r,r,r,r,e,e,r,e,e,r,r,e,r,r,r,e,r,e,e,e,e,e,r,r,r,e,r,e,r,r,r,r,r,r,r,e,e,r,e,e,r,e,r,r,r,r,e,r,r,r,r,r,e,r,r,r,e,e,r,r,r,r,e,e,e,e,r,e,e,e,r,e,r,e,r,r,e,e,e,e,r,r,e,e,r,e,r,r,r,r,r,r,e,e,r,e,r,r,e,r,r,e,r,e,e,e,e,r,e,e,e,r,r,e,e,e,e,r,e,e,e,e,r,e,r,e,r,r,e,e,e,e,r,e,e,r,e,e,r,r,r,r,r,r,r,e,r,r,r,e,e,e,e,e,e,r,e,e,e,e,e,r,e,r,e,r,e,e,e,r,e,e,r,r,e,e,e,e,e,r,r,r,e,r,e,e,r,e,e,r,r,r,e,r,r,e,e,r,r,r,e,r,r,e,e,e,r,r,r,e,e,r,r,r,r,r,r,r,e,e,r,r,e,r,e,r,e,e,e,r,r,r,r,e,r,e,e,r,r,e,e,e,e,e,e,r,e,r,r,e,r,e,r,e,e,r,r,r,r,r,e,e,r,e,e,r,e,r,r,e,r,r,e,e,r,e,e,e,r,r,e,r,r,e,e]},__routerFilterDynamic:{numItems:e,errorRate:1e-4,numBits:e,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-f347b70a71a8047b.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/37qqgHQHJq3PEiY10zXw4/_ssgManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/37qqgHQHJq3PEiY10zXw4/_ssgManifest.js new file mode 100644 index 0000000..5b3ff59 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/37qqgHQHJq3PEiY10zXw4/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/aQYSX0Otqpuch2NG2x3cp/_buildManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/aQYSX0Otqpuch2NG2x3cp/_buildManifest.js new file mode 100644 index 0000000..64643be --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/aQYSX0Otqpuch2NG2x3cp/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(r,e,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:26,errorRate:1e-4,numBits:499,numHashes:14,bitArray:[1,0,1,1,r,r,r,0,r,r,r,0,r,e,r,e,r,r,e,r,r,e,e,e,r,e,e,e,r,r,e,e,e,r,r,r,r,r,e,r,r,e,r,r,e,e,r,r,r,e,r,e,r,r,r,r,e,e,e,e,r,r,e,e,r,e,r,e,r,r,e,r,e,e,r,e,e,r,r,e,r,r,e,e,r,e,e,r,e,e,e,e,e,r,e,e,r,r,e,e,e,r,r,r,e,r,e,r,e,r,e,r,r,e,r,e,r,r,e,r,r,r,e,e,r,e,r,e,r,r,e,e,r,r,r,e,e,r,e,e,r,e,r,e,r,e,r,r,e,r,r,e,e,r,r,e,r,r,e,r,e,e,e,e,e,e,r,e,e,e,e,r,r,r,r,r,r,e,e,e,e,r,r,r,e,e,e,e,e,r,e,e,r,e,r,e,e,e,r,e,e,r,e,e,r,e,r,r,r,r,r,e,r,e,r,r,r,r,e,e,r,e,e,r,r,e,r,r,r,e,r,e,e,e,e,e,r,r,r,e,r,e,r,r,r,r,r,r,r,e,e,r,e,e,r,e,r,r,r,r,e,r,r,r,r,r,e,r,r,r,e,e,r,r,r,r,e,e,e,e,r,e,e,e,r,e,r,e,r,r,e,e,e,e,r,r,e,e,r,e,r,r,r,r,r,r,e,e,r,e,r,r,e,r,r,e,r,e,e,e,e,r,e,e,e,r,r,e,e,e,e,r,e,e,e,e,r,e,r,e,r,r,e,e,e,e,r,e,e,r,e,e,r,r,r,r,r,r,r,e,r,r,r,e,e,e,e,e,e,r,e,e,e,e,e,r,e,r,e,r,e,e,e,r,e,e,r,r,e,e,e,e,e,r,r,r,e,r,e,e,r,e,e,r,r,r,e,r,r,e,e,r,r,r,e,r,r,e,e,e,r,r,r,e,e,r,r,r,r,r,r,r,e,e,r,r,e,r,e,r,e,e,e,r,r,r,r,e,r,e,e,r,r,e,e,e,e,e,e,r,e,r,r,e,r,e,r,e,e,r,r,r,r,r,e,e,r,e,e,r,e,r,r,e,r,r,e,e,r,e,e,e,r,r,e,r,r,e,e]},__routerFilterDynamic:{numItems:e,errorRate:1e-4,numBits:e,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-f347b70a71a8047b.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/aQYSX0Otqpuch2NG2x3cp/_ssgManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/aQYSX0Otqpuch2NG2x3cp/_ssgManifest.js new file mode 100644 index 0000000..5b3ff59 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/aQYSX0Otqpuch2NG2x3cp/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/7133-b33ba7c188c9e71d.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/7133-b33ba7c188c9e71d.js new file mode 100644 index 0000000..7018f52 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/7133-b33ba7c188c9e71d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7133],{87133:(e,t,a)=>{a.r(t),a.d(t,{default:()=>A});var s=a(20475),r=a(20107),l=a(72167),i=a(35601),o=a(42541),n=a(76554),d=a(64219),c=a(49153),u=a(21906),m=a(45934),p=a(29475),h=a(39997);let f=(0,h.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=a(52161),v=a(97801),x=a(32857),w=a(49573);let N=(0,h.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 b=a(98969);let y=(0,h.A)("Clock1",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 14.5 8",key:"12zbmj"}]]),C=(0,h.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"}]]),j=e=>{let{loading:t,scheduleData:a,onStartTimeChange:i,onEndTimeChange:n,onSchedulingToggle:u}=e,[m,h]=(0,r.useState)({text:"Disabled",color:"text-red-600",icon:N}),f=()=>{if(!a.enabled){h({text:"Disabled",color:"text-red-600",icon:N});return}let e=new Date,t=60*e.getHours()+e.getMinutes(),[s,r]=a.startTime.split(":").map(Number),[l,i]=a.endTime.split(":").map(Number),o=60*s+r,n=60*l+i;o<=n?t>=o&&t<=n?h({text:"Active",color:"text-green-600",icon:b.A}):h({text:"Inactive",color:"text-yellow-500",icon:y}):t>=o||t<=n?h({text:"Active",color:"text-green-600",icon:b.A}):h({text:"Inactive",color:"text-yellow-500",icon:y})},g=()=>{a.active?h({text:"Active",color:"text-green-600",icon:b.A}):a.enabled&&!a.active?h({text:"Inactive",color:"text-yellow-500",icon:y}):h({text:"Disabled",color:"text-red-600",icon:N})};(0,r.useEffect)(()=>{g();let e=setInterval(f,6e4);return()=>{clearInterval(e)}},[a]);let v=m.icon;return(0,s.jsxs)(l.Zp,{children:[(0,s.jsxs)(l.aR,{children:[(0,s.jsxs)(l.ZB,{className:"flex items-center justify-between",children:[(0,s.jsx)("div",{children:(0,s.jsx)("span",{children:"Cell Locking Scheduler"})}),(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)(v,{className:"h-4 w-4 mr-1 ".concat(m.color)}),(0,s.jsx)("div",{className:"text-sm text-gray-500",children:m.text})]})]}),(0,s.jsx)(l.BT,{children:"Schedule the device to lock to specific cells at certain times."})]}),(0,s.jsxs)(l.Wu,{children:[a.enabled&&(0,s.jsxs)(w.Fc,{className:"mb-6",children:[(0,s.jsx)(p.A,{className:"h-4 w-4",color:"orange"}),(0,s.jsx)(w.XL,{children:"Scheduled Cell Locking Active"}),(0,s.jsx)(w.TN,{children:"Cell locking is currently being managed by the scheduler. Manual changes to cell locks may be overridden during scheduled hours."})]}),(0,s.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"start-time",children:"Start Time"}),(0,s.jsx)(d.p,{type:"time",id:"start-time",value:a.startTime,onChange:e=>i(e.target.value),disabled:t||a.enabled,placeholder:"START TIME"})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"end-time",children:"End Time"}),(0,s.jsx)(d.p,{type:"time",id:"end-time",value:a.endTime,onChange:e=>n(e.target.value),disabled:t||a.enabled,placeholder:"END TIME"})]}),(0,s.jsx)("div",{className:"lg:col-span-2 col-span-1",children:(0,s.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,s.jsx)(l.wL,{className:"border-t py-4",children:(0,s.jsxs)(o.$,{onClick:()=>u(!a.enabled),disabled:t||!a.locked&&!a.enabled,children:[(0,s.jsx)(C,{className:"h-4 w-4"}),a.enabled?"Disable Scheduler":"Enable Scheduler"]})})]})};var R=a(88926);let A=()=>{let{toast:e}=(0,x.dj)(),[t,a]=(0,r.useState)(!1),[h,w]=(0,r.useState)(!1),[N,b]=(0,r.useState)(!1),[y,C]=(0,r.useState)(!1),[A,E]=(0,r.useState)({enabled:!1,startTime:"",endTime:"",active:!1,status:"",message:"",locked:!1}),[T,k]=(0,r.useState)({EARFCN1:"",PCI1:"",EARFCN2:"",PCI2:"",EARFCN3:"",PCI3:""}),[F,S]=(0,r.useState)({NRARFCN:"",NRPCI:"",SCS:"",NRBAND:""}),P=e=>{let t=e.match(/\+QNWLOCK:\s*(.+?)\n/);return t?t[1].replace(/"/g,"").split(",").map(e=>e.trim()):null},I=async()=>{try{a(!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 s=P(t[2].response);console.log("Persist status:",s),s&&s.length>=2&&(b("1"===s[1]),C("1"===s[2]));let r=P(t[0].response);if(console.log("Current LTE lock status:",r),r){let e={EARFCN1:r[2],PCI1:r[3],EARFCN2:r[4],PCI2:r[5],EARFCN3:r[6],PCI3:r[7]};k(e),console.log("New LTE state:",e),parseInt(r[1])>0&&w(!0)}let l=P(t[1].response);if(console.log("Current NR5G lock status:",l),l&&l.length>=5){let e={NRPCI:l[1],NRARFCN:l[2],SCS:l[3],NRBAND:l[4]};S(e),console.log("New NR5G state:",e),parseInt(l[1])>0&&w(!0)}}catch(t){console.error("Error fetching current status:",t),e({title:"Error",description:"Failed to fetch current cell locking status",variant:"destructive"})}finally{a(!1)}},L=async t=>{try{let s;if(a(!0),t&&(!A.startTime||!A.endTime))throw Error("Please set both start and end times");let r=t?{enabled:!0,startTime:A.startTime,endTime:A.endTime}:{enabled:!1},l=await fetch("/cgi-bin/quecmanager/cell-locking/handle_scheduled_locking.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}),i=await l.text();if(!l.ok)throw Error("Server responded with status: ".concat(l.status));try{s=JSON.parse(i)}catch(e){throw Error("Failed to parse response: ".concat(i))}if("success"===s.status)E(e=>({...e,enabled:t})),e({title:"Success",description:t?"Cell locking schedule enabled":"Cell locking schedule disabled"});else throw Error(s.message||"Failed to update scheduling")}catch(e){}finally{a(!1),await I()}},_=async()=>{try{var t,s,r,l;a(!0);let i=[];if(T.EARFCN1&&T.PCI1&&i.push([T.EARFCN1,T.PCI1]),T.EARFCN2&&T.PCI2&&i.push([T.EARFCN2,T.PCI2]),T.EARFCN3&&T.PCI3&&i.push([T.EARFCN3,T.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,a]=e;o+=",".concat(t,",").concat(a)});let n=await (0,R.a)(o,!0);if((null===(t=n.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(r=n.response)||void 0===r?void 0:r.raw_output)||"Failed to lock LTE cells");await new Promise(e=>setTimeout(e,1e3));let d=await (0,R.a)('AT+QNWLOCK="save_ctrl",1,0',!0);if((null===(s=d.response)||void 0===s?void 0:s.status)!=="success")throw Error((null===(l=d.response)||void 0===l?void 0:l.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){a(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock LTE cells",variant:"destructive"})}},D=async()=>{try{var t,s,r,l;if(a(!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,R.a)(i,!0);if((null===(t=o.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(r=o.response)||void 0===r?void 0:r.raw_output)||"Failed to lock NR5G cell");await new Promise(e=>setTimeout(e,1e3));let n=await (0,R.a)('AT+QNWLOCK="save_ctrl",0,1',!0);if((null===(s=n.response)||void 0===s?void 0:s.status)!=="success")throw Error((null===(l=n.response)||void 0===l?void 0:l.raw_output)||"Failed to save NR5G lock configuration");await I(),e({title:"Success",description:"NR5G cell locked successfully"})}catch(t){a(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock NR5G cell",variant:"destructive"})}},O=async()=>{try{var t,s,r,l,i,o,n,d;a(!0);let c=await (0,R.a)('AT+QNWLOCK="common/4g",0',!0);if((null===(t=c.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(i=c.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,R.a)('AT+QNWLOCK="save_ctrl",0,0',!0);if((null===(s=u.response)||void 0===s?void 0:s.status)!=="success")throw Error((null===(o=u.response)||void 0===o?void 0:o.raw_output)||"Failed to save LTE reset configuration");let m=await (0,R.a)("AT+COPS=2",!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 disconnect from network");await new Promise(e=>setTimeout(e,2e3));let p=await (0,R.a)("AT+COPS=0",!0);if((null===(l=p.response)||void 0===l?void 0:l.status)!=="success")throw Error((null===(d=p.response)||void 0===d?void 0:d.raw_output)||"Failed to reconnect to network");await I(),e({title:"Success",description:"LTE cell locking reset to default"})}catch(t){a(!1),e({title:"Error",description:"Failed to reset LTE cell locking",variant:"destructive"})}},M=async()=>{try{var t,s,r,l,i,o,n,d;a(!0);let c=await (0,R.a)('AT+QNWLOCK="common/5g",0',!0);if((null===(t=c.response)||void 0===t?void 0:t.status)!=="success")throw Error((null===(i=c.response)||void 0===i?void 0:i.raw_output)||"Failed to reset NR5G lock");let u=await (0,R.a)('AT+QNWLOCK="save_ctrl",0,0',!0);if((null===(s=u.response)||void 0===s?void 0:s.status)!=="success")throw Error((null===(o=u.response)||void 0===o?void 0:o.raw_output)||"Failed to save NR5G reset configuration");let m=await (0,R.a)("AT+COPS=2",!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 disconnect from network");await new Promise(e=>setTimeout(e,2e3));let p=await (0,R.a)("AT+COPS=0",!0);if((null===(l=p.response)||void 0===l?void 0:l.status)!=="success")throw Error((null===(d=p.response)||void 0===d?void 0:d.raw_output)||"Failed to reconnect to network");await I(),e({title:"Success",description:"NR5G cell locking reset to default"})}catch(t){a(!1),e({title:"Error",description:"Failed to reset NR5G cell locking",variant:"destructive"})}},z=async t=>{try{var s,r;a(!0);let l=await (0,R.a)('AT+QNWLOCK="save_ctrl",'.concat(t?"1":"0",",").concat(y?"1":"0"),!0);if((null===(s=l.response)||void 0===s?void 0:s.status)!=="success")throw Error((null===(r=l.response)||void 0===r?void 0:r.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{a(!1)}},G=async t=>{try{var s,r;a(!0);let l=await (0,R.a)('AT+QNWLOCK="save_ctrl",'.concat(N?"1":"0",",").concat(t?"1":"0"),!0);if((null===(s=l.response)||void 0===s?void 0:s.status)!=="success")throw Error((null===(r=l.response)||void 0===r?void 0:r.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{a(!1)}};return(0,r.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}),w(t.locked),b("1"===t.ltePersist),C("1"===t.nr5gPersist),await I()})()},[]),(0,r.useEffect)(()=>{E(e=>({...e,locked:h}))},[h]),(0,s.jsxs)("div",{className:"grid gap-6",children:[(0,s.jsxs)(l.Zp,{children:[(0,s.jsxs)(l.aR,{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)(l.ZB,{children:"4G LTE Cellular Locking"}),(0,s.jsx)(m.E,{children:h?(0,s.jsxs)("p",{className:"flex items-center gap-x-1",children:[(0,s.jsx)(p.A,{className:"h-3 w-3"}),"Locked"]}):(0,s.jsxs)("p",{className:"flex items-center gap-x-1",children:[(0,s.jsx)(f,{className:"h-3 w-3"}),"Unlocked"]})})]}),(0,s.jsx)(l.BT,{children:"Lock the device to specific LTE Physical Cell IDs."})]}),(0,s.jsx)(l.Wu,{children:(0,s.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-6",children:[(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"EARFCN1",children:"EARFCN 1"}),(0,s.jsx)(d.p,{type:"text",id:"EARFCN1",placeholder:"EARFCN 1",value:T.EARFCN1,onChange:e=>k(t=>({...t,EARFCN1:e.target.value})),disabled:t||A.enabled&&h})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"PCI1",children:"PCI 1"}),(0,s.jsx)(d.p,{type:"text",id:"PCI1",placeholder:"PCI 1",value:T.PCI1,onChange:e=>k(t=>({...t,PCI1:e.target.value})),disabled:t||A.enabled&&h})]}),(0,s.jsx)(n.w,{className:"my-1 col-span-2 w-full"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"EARFCN2",children:"EARFCN 2"}),(0,s.jsx)(d.p,{type:"text",id:"EARFCN2",placeholder:"EARFCN 2",value:T.EARFCN2,onChange:e=>k(t=>({...t,EARFCN2:e.target.value})),disabled:t||A.enabled&&h})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"PCI2",children:"PCI 2"}),(0,s.jsx)(d.p,{type:"text",id:"PCI2",placeholder:"PCI 2",value:T.PCI2,onChange:e=>k(t=>({...t,PCI2:e.target.value})),disabled:t||A.enabled&&h})]}),(0,s.jsx)(n.w,{className:"my-1 col-span-2 w-full"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"EARFCN3",children:"EARFCN 3"}),(0,s.jsx)(d.p,{type:"text",id:"EARFCN3",placeholder:"EARFCN 3",value:T.EARFCN3,onChange:e=>k(t=>({...t,EARFCN3:e.target.value})),disabled:t||A.enabled&&h})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"PCI3",children:"PCI 3"}),(0,s.jsx)(d.p,{type:"text",id:"PCI3",placeholder:"PCI 3",value:T.PCI3,onChange:e=>k(t=>({...t,PCI3:e.target.value})),disabled:t||A.enabled&&h})]})]})}),(0,s.jsxs)(l.wL,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,s.jsxs)(o.$,{onClick:_,disabled:t||A.enabled,children:[(0,s.jsx)(p.A,{className:"h-4 w-4"}),"Lock LTE Cells"]}),(0,s.jsxs)(u.l,{pressed:N,onPressedChange:z,disabled:t||A.enabled,children:[(0,s.jsx)(g.A,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,s.jsxs)(o.$,{variant:"secondary",onClick:O,disabled:t||A.enabled,children:[(0,s.jsx)(v.A,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,s.jsxs)(l.Zp,{children:[(0,s.jsxs)(l.aR,{children:[(0,s.jsx)(l.ZB,{children:"NR5G-SA Cellular Locking"}),(0,s.jsx)(l.BT,{children:"Lock the device to a specific NR5G-SA Physical Cell ID."})]}),(0,s.jsx)(l.Wu,{children:(0,s.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-6",children:[(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"NR-ARFCN",children:"NR ARFCN"}),(0,s.jsx)(d.p,{type:"text",id:"NR-ARFCN",placeholder:"NR ARFCN",value:F.NRARFCN,onChange:e=>S(t=>({...t,NRARFCN:e.target.value})),disabled:t||A.enabled&&h})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"NR-PCI",children:"NR PCI"}),(0,s.jsx)(d.p,{type:"text",id:"NR-PCI",placeholder:"NR PCI",value:F.NRPCI,onChange:e=>S(t=>({...t,NRPCI:e.target.value})),disabled:t||A.enabled&&h})]}),(0,s.jsx)(n.w,{className:"my-0.5 col-span-2 w-full"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"SCS",children:"SCS"}),(0,s.jsxs)(i.l6,{value:F.SCS,onValueChange:e=>S(t=>({...t,SCS:e})),disabled:t||A.enabled&&h,children:[(0,s.jsx)(i.bq,{id:"SCS",children:(0,s.jsx)(i.yv,{placeholder:"SCS"})}),(0,s.jsx)(i.gC,{children:(0,s.jsxs)(i.s3,{children:[(0,s.jsx)(i.TR,{children:"SCS"}),(0,s.jsx)(i.eb,{value:"15",children:"15 kHz"}),(0,s.jsx)(i.eb,{value:"30",children:"30 kHz"}),(0,s.jsx)(i.eb,{value:"60",children:"60 kHz"}),(0,s.jsx)(i.eb,{value:"120",children:"120 kHz"}),(0,s.jsx)(i.eb,{value:"240",children:"240 kHz"})]})})]})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(c.J,{htmlFor:"NRBAND",children:"NR Band"}),(0,s.jsx)(d.p,{type:"text",id:"NRBAND",placeholder:"NR BAND",value:F.NRBAND,onChange:e=>S(t=>({...t,NRBAND:e.target.value})),disabled:t||A.enabled&&h})]})]})}),(0,s.jsxs)(l.wL,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,s.jsxs)(o.$,{onClick:D,disabled:t||A.enabled,children:[(0,s.jsx)(p.A,{className:"h-4 w-4"}),"Lock NR5G-SA Cell"]}),(0,s.jsxs)(u.l,{pressed:y,onPressedChange:G,disabled:t||A.enabled,children:[(0,s.jsx)(g.A,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,s.jsxs)(o.$,{variant:"secondary",onClick:M,disabled:t||A.enabled,children:[(0,s.jsx)(v.A,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,s.jsx)(j,{loading:t,scheduleData:A,onStartTimeChange:e=>{E(t=>({...t,startTime:e}))},onEndTimeChange:e=>{E(t=>({...t,endTime:e}))},onSchedulingToggle:L})]})}},49573:(e,t,a)=>{a.d(t,{Fc:()=>n,TN:()=>c,XL:()=>d});var s=a(20475),r=a(20107),l=a(29395),i=a(22250);let o=(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"}}),n=r.forwardRef((e,t)=>{let{className:a,variant:r,...l}=e;return(0,s.jsx)("div",{ref:t,role:"alert",className:(0,i.cn)(o({variant:r}),a),...l})});n.displayName="Alert";let d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("h5",{ref:t,className:(0,i.cn)("mb-1 font-medium leading-none tracking-tight",a),...r})});d.displayName="AlertTitle";let c=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("text-sm [&_p]:leading-relaxed",a),...r})});c.displayName="AlertDescription"},45934:(e,t,a)=>{a.d(t,{E:()=>o});var s=a(20475);a(20107);var r=a(29395),l=a(22250);let i=(0,r.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:a,...r}=e;return(0,s.jsx)("div",{className:(0,l.cn)(i({variant:a}),t),...r})}},42541:(e,t,a)=>{a.d(t,{$:()=>d,r:()=>n});var s=a(20475),r=a(20107),l=a(61837),i=a(29395),o=a(22250);let n=(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=r.forwardRef((e,t)=>{let{className:a,variant:r,size:i,asChild:d=!1,...c}=e,u=d?l.DX:"button";return(0,s.jsx)(u,{className:(0,o.cn)(n({variant:r,size:i,className:a})),ref:t,...c})});d.displayName="Button"},72167:(e,t,a)=>{a.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>n,Zp:()=>i,aR:()=>o,wL:()=>u});var s=a(20475),r=a(20107),l=a(22250);let i=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})});i.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 n=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})});n.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"},64219:(e,t,a)=>{a.d(t,{p:()=>i});var s=a(20475),r=a(20107),l=a(22250);let i=r.forwardRef((e,t)=>{let{className:a,type:r,...i}=e;return(0,s.jsx)("input",{type:r,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",a),ref:t,...i})});i.displayName="Input"},49153:(e,t,a)=>{a.d(t,{J:()=>d});var s=a(20475),r=a(20107),l=a(21840),i=a(29395),o=a(22250);let n=(0,i.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)(n(),a),...r})});d.displayName=l.b.displayName},35601:(e,t,a)=>{a.d(t,{TR:()=>f,bq:()=>u,eb:()=>g,gC:()=>h,l6:()=>n,s3:()=>d,yv:()=>c});var s=a(20475),r=a(20107),l=a(7197),i=a(95257),o=a(22250);let n=i.bL,d=i.YJ,c=i.WT,u=r.forwardRef((e,t)=>{let{className:a,children:r,...n}=e;return(0,s.jsxs)(i.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),...n,children:[r,(0,s.jsx)(i.In,{asChild:!0,children:(0,s.jsx)(l.TBE,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=i.l9.displayName;let m=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(i.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=i.PP.displayName;let p=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(i.wn,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",a),...r,children:(0,s.jsx)(l.D3D,{})})});p.displayName=i.wn.displayName;let h=r.forwardRef((e,t)=>{let{className:a,children:r,position:l="popper",...n}=e;return(0,s.jsx)(i.ZL,{children:(0,s.jsxs)(i.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,...n,children:[(0,s.jsx)(m,{}),(0,s.jsx)(i.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)(p,{})]})})});h.displayName=i.UC.displayName;let f=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(i.JU,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",a),...r})});f.displayName=i.JU.displayName;let g=r.forwardRef((e,t)=>{let{className:a,children:r,...n}=e;return(0,s.jsxs)(i.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),...n,children:[(0,s.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(i.VF,{children:(0,s.jsx)(l.Srz,{className:"h-4 w-4"})})}),(0,s.jsx)(i.p4,{children:r})]})});g.displayName=i.q7.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(i.wv,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",a),...r})}).displayName=i.wv.displayName},76554:(e,t,a)=>{a.d(t,{w:()=>o});var s=a(20475),r=a(20107),l=a(88853),i=a(22250);let o=r.forwardRef((e,t)=>{let{className:a,orientation:r="horizontal",decorative:o=!0,...n}=e;return(0,s.jsx)(l.b,{ref:t,decorative:o,orientation:r,className:(0,i.cn)("shrink-0 bg-border","horizontal"===r?"h-[1px] w-full":"h-full w-[1px]",a),...n})});o.displayName=l.b.displayName},21906:(e,t,a)=>{a.d(t,{l:()=>m});var s=a(20475),r=a(20107),l=a(94521),i=a(13061),o=a(34544),n=r.forwardRef((e,t)=>{let{pressed:a,defaultPressed:r=!1,onPressedChange:n,...d}=e,[c=!1,u]=(0,i.i)({prop:a,onChange:n,defaultProp:r});return(0,s.jsx)(o.sG.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...d,ref:t,onClick:(0,l.m)(e.onClick,()=>{e.disabled||u(!c)})})});n.displayName="Toggle";var d=a(29395),c=a(22250);let u=(0,d.F)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),m=r.forwardRef((e,t)=>{let{className:a,variant:r,size:l,...i}=e;return(0,s.jsx)(n,{ref:t,className:(0,c.cn)(u({variant:r,size:l,className:a})),...i})});m.displayName=n.displayName},32857:(e,t,a)=>{a.d(t,{dj:()=>m,oR:()=>u});var s=a(20107);let r=0,l=new Map,i=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?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)}}},n=[],d={toasts:[]};function c(e){d=o(d,e),n.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(()=>(n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.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)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},29475:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(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"}]])},97801:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(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,a)=>{a.d(t,{A:()=>s});let s=(0,a(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"}]])},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),i="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(l);t&&(i+="&wait=1&timeout=".concat(a));let o=await fetch(i,{method:"GET",headers:{Accept:"application/json"},signal:AbortSignal.timeout(1e3*a+5e3)});if(!o.ok)throw Error("AT command failed with status: ".concat(o.status));let n=await o.json();if(n.error)throw Error("AT queue error: ".concat(n.error));if(t&&(null===(s=n.response)||void 0===s?void 0:s.status)==="timeout")throw Error("AT command timed out after ".concat(a," seconds"));return n}catch(e){throw console.error("AT Command error:",e),e}}},88853:(e,t,a)=>{a.d(t,{b:()=>d});var s=a(20107),r=a(34544),l=a(20475),i="horizontal",o=["horizontal","vertical"],n=s.forwardRef((e,t)=>{let{decorative:a,orientation:s=i,...n}=e,d=o.includes(s)?s:i;return(0,l.jsx)(r.sG.div,{"data-orientation":d,...a?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...n,ref:t})});n.displayName="Separator";var d=n}}]); \ 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-0e4bfed198cb0889.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-0e4bfed198cb0889.js new file mode 100644 index 0000000..e4603f4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-0e4bfed198cb0889.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8757],{80631:(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),i=r(42541),l=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),g=r(83086),v=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)([]),[A,C]=(0,s.useState)([]),[T,E]=(0,s.useState)([]),[R,S]=(0,s.useState)(!1),[k,_]=(0,s.useState)([]),[O,D]=(0,s.useState)(!0),[I,F]=(0,s.useState)(-1),L=(0,s.useRef)(null),z=(0,s.useRef)(null);(0,s.useEffect)(()=>{let e=e=>{z.current&&!z.current.contains(e.target)&&(C([]),F(-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{D(!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)(()=>{T.length>0&&window.localStorage.setItem("atCommands",JSON.stringify(T))},[T]);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)}),S(!0),r("> ".concat(t,"\nExecuting command, please wait...")),(async()=>{try{let a=encodeURIComponent(t),s=await fetch("/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(a,"&wait=1")),o=await s.json(),n="> ".concat(t,"\n");o.response.raw_output&&(n+=o.response.raw_output),r(n);let i={command:t,response:o.response.raw_output||"No output",timestamp:o.command.timestamp,status:o.response.status,duration:o.response.duration_ms,commandId:o.command.id};N(e=>[i,...e]),("error"===o.response.status||"timeout"===o.response.status)&&e({title:"Command ".concat("timeout"===o.response.status?"Timeout":"Error"),description:o.response.raw_output||"Command execution ".concat(o.response.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{S(!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}S(!0),b(""),r("> ".concat(t,"\nExecuting command, please wait..."));try{let a=encodeURIComponent(t),s=await fetch("/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(a,"&wait=1")),o=await s.json(),n="> ".concat(t,"\n");o.response.raw_output&&(n+=o.response.raw_output),r(n);let i={command:t,response:o.response.raw_output||"No output",timestamp:o.command.timestamp,status:o.response.status,duration:o.response.duration_ms,commandId:o.command.id};N(e=>[i,...e]),"success"!==o.response.status||T.includes(t)||E(e=>[...e,t]),("error"===o.response.status||"timeout"===o.response.status)&&e({title:"Command ".concat("timeout"===o.response.status?"Timeout":"Error"),description:o.response.raw_output||"Command execution ".concat(o.response.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{S(!1)}},M=e=>{N(t=>{let r=[...t];return r.splice(e,1),0===r.length&&window.localStorage.removeItem("atCommandHistory"),r})},$=e=>{E(t=>{let r=t.filter(t=>t!==e);return window.localStorage.setItem("atCommands",JSON.stringify(r)),r}),C(t=>t.filter(t=>t!==e))},B=async t=>{try{if(navigator.clipboard&&window.isSecureContext)await navigator.clipboard.writeText(t);else{let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.left="-999999px",e.style.top="-999999px",document.body.appendChild(e),e.focus(),e.select();try{document.execCommand("copy")}catch(e){throw console.error("Fallback: Oops, unable to copy",e),Error("Copy failed")}finally{e.remove()}}e({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)(l.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)(l.J,{children:"Command History"}),(0,a.jsxs)(g.Lt,{children:[(0,a.jsx)(g.tv,{asChild:!0,children:(0,a.jsxs)(i.$,{variant:"outline",size:"sm",children:[(0,a.jsx)(m.A,{className:"h-4 w-4 text-rose-500"}),"Clear All"]})}),(0,a.jsxs)(g.EO,{children:[(0,a.jsxs)(g.wd,{children:[(0,a.jsx)(g.r7,{children:"Clear Command History"}),(0,a.jsx)(g.$v,{children:"This action cannot be undone. This will permanently delete your command history."})]}),(0,a.jsxs)(g.ck,{children:[(0,a.jsx)(g.Zr,{children:"Cancel"}),(0,a.jsx)(g.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:()=>B(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)(i.$,{variant:"ghost",size:"icon",className:"absolute right-2 top-2 h-4 w-4",onClick:e=>{e.stopPropagation(),M(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)(l.J,{htmlFor:"ATInput",children:"AT Command Input"}),(0,a.jsx)(c.p,{ref:L,value:w,onChange:e=>{let t=e.target.value;b(t),F(-1),requestAnimationFrame(()=>{t.trim()?C(T.filter(e=>e.toLowerCase().includes(t.toLowerCase())).slice(0,5)):C([])})},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),H())},placeholder:"ATI",id:"ATInput",disabled:R,autoComplete:"off"}),A.length>0&&(0,a.jsx)("div",{ref:z,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:A.map((e,t)=>(0,a.jsxs)("div",{className:"p-2 cursor-pointer flex items-center justify-between group transition-colors ".concat(t===I?"bg-accent":"hover:bg-accent/50"),onClick:()=>{var t;b(e),C([]),F(-1),null===(t=L.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)(i.$,{variant:"ghost",size:"icon",className:"h-4 w-4 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>{t.stopPropagation(),$(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)(i.$,{onClick:H,disabled:R,children:[(0,a.jsx)(p.A,{className:"mr-2"}),R?"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)(v.XI,{children:[(0,a.jsx)(v.r6,{children:"AT Command List"}),(0,a.jsx)(v.A0,{children:(0,a.jsxs)(v.Hj,{children:[(0,a.jsx)(v.nd,{children:"AT Command"}),(0,a.jsx)(v.nd,{className:"text-right",children:"Description"})]})}),(0,a.jsx)(v.BF,{children:O?(0,a.jsx)(v.Hj,{children:(0,a.jsx)(v.nA,{colSpan:3,className:"text-center",children:"Loading commands..."})}):0===k.length?(0,a.jsx)(v.Hj,{children:(0,a.jsx)(v.nA,{colSpan:3,className:"text-center",children:"No commands available"})}):k.map((e,t)=>(0,a.jsxs)(v.Hj,{children:[(0,a.jsxs)(v.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:()=>B(e.command)})]}),(0,a.jsx)(v.nA,{className:"text-right max-w-10 md:max-w-lg",children:e.description})]},t))})]})})]})]})}},83086:(e,t,r)=>{"use strict";r.d(t,{Lt:()=>O,Rx:()=>$,Zr:()=>B,EO:()=>F,$v:()=>M,ck:()=>z,wd:()=>L,r7:()=>H,tv:()=>D});var a=r(20475),s=r(20107),o=r(45170),n=r(64236),i=r(60241),l=r(94521),d=r(61837),c="AlertDialog",[m,u]=(0,o.A)(c,[i.Hs]),p=(0,i.Hs)(),f=e=>{let{__scopeAlertDialog:t,...r}=e,s=p(t);return(0,a.jsx)(i.bL,{...s,...r,modal:!0})};f.displayName=c;var x=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,o=p(r);return(0,a.jsx)(i.l9,{...o,...s,ref:t})});x.displayName="AlertDialogTrigger";var h=e=>{let{__scopeAlertDialog:t,...r}=e,s=p(t);return(0,a.jsx)(i.ZL,{...s,...r})};h.displayName="AlertDialogPortal";var g=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,o=p(r);return(0,a.jsx)(i.hJ,{...o,...s,ref:t})});g.displayName="AlertDialogOverlay";var v="AlertDialogContent",[y,w]=m(v),b=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:o,...c}=e,m=p(r),u=s.useRef(null),f=(0,n.s)(t,u),x=s.useRef(null);return(0,a.jsx)(i.G$,{contentName:v,titleName:j,docsSlug:"alert-dialog",children:(0,a.jsx)(y,{scope:r,cancelRef:x,children:(0,a.jsxs)(i.UC,{role:"alertdialog",...m,...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,a.jsx)(d.xV,{children:o}),(0,a.jsx)(S,{contentRef:u})]})})})});b.displayName=v;var j="AlertDialogTitle",N=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,o=p(r);return(0,a.jsx)(i.hE,{...o,...s,ref:t})});N.displayName=j;var A="AlertDialogDescription",C=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,o=p(r);return(0,a.jsx)(i.VY,{...o,...s,ref:t})});C.displayName=A;var T=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,o=p(r);return(0,a.jsx)(i.bm,{...o,...s,ref:t})});T.displayName="AlertDialogAction";var E="AlertDialogCancel",R=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,{cancelRef:o}=w(E,r),l=p(r),d=(0,n.s)(t,o);return(0,a.jsx)(i.bm,{...l,...s,ref:d})});R.displayName=E;var S=e=>{let{contentRef:t}=e,r="`".concat(v,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(v,"` by passing a `").concat(A,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(v,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return s.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(r)},[r,t]),null},k=r(22250),_=r(42541);let O=f,D=x,I=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(g,{className:(0,k.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})});I.displayName=g.displayName;let F=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsxs)(h,{children:[(0,a.jsx)(I,{}),(0,a.jsx)(b,{ref:t,className:(0,k.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})]})});F.displayName=b.displayName;let L=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,k.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};L.displayName="AlertDialogHeader";let z=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,k.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};z.displayName="AlertDialogFooter";let H=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(N,{ref:t,className:(0,k.cn)("text-lg font-semibold",r),...s})});H.displayName=N.displayName;let M=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(C,{ref:t,className:(0,k.cn)("text-sm text-muted-foreground",r),...s})});M.displayName=C.displayName;let $=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(T,{ref:t,className:(0,k.cn)((0,_.r)(),r),...s})});$.displayName=T.displayName;let B=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(R,{ref:t,className:(0,k.cn)((0,_.r)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});B.displayName=R.displayName},45934:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});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 i(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:()=>l});var a=r(20475),s=r(20107),o=r(61837),n=r(29395),i=r(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=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,i.cn)(l({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:()=>l,Zp:()=>n,aR:()=>i,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 i=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})});i.displayName="CardHeader";let l=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})});l.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),i=r(22250);let l=(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,i.cn)(l(),r),...s})});d.displayName=o.b.displayName},36824:(e,t,r)=>{"use strict";r.d(t,{$:()=>l,F:()=>i});var a=r(20475),s=r(20107),o=r(89679),n=r(22250);let i=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(o.bL,{ref:t,className:(0,n.cn)("relative overflow-hidden",r),...i,children:[(0,a.jsx)(o.LM,{className:"h-full w-full rounded-[inherit]",children:s}),(0,a.jsx)(l,{}),(0,a.jsx)(o.OK,{})]})});i.displayName=o.bL.displayName;let l=s.forwardRef((e,t)=>{let{className:r,orientation:s="vertical",...i}=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),...i,children:(0,a.jsx)(o.lr,{className:"relative flex-1 rounded-full bg-border"})})});l.displayName=o.VM.displayName},76554:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var a=r(20475),s=r(20107),o=r(88853),n=r(22250);let i=s.forwardRef((e,t)=>{let{className:r,orientation:s="horizontal",decorative:i=!0,...l}=e;return(0,a.jsx)(o.b,{ref:t,decorative:i,orientation:s,className:(0,n.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",r),...l})});i.displayName=o.b.displayName},51303:(e,t,r)=>{"use strict";r.d(t,{A0:()=>i,BF:()=>l,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 i=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})});i.displayName="TableHeader";let l=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})});l.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)},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?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)}}},l=[],d={toasts:[]};function c(e){d=i(d,e),l.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(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.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:()=>l});var a=r(20107);let s=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 n={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,t)=>{let{color:r="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:d="",children:c,iconNode:m,...u}=e;return(0,a.createElement)("svg",{ref:t,...n,width:s,height:s,stroke:r,strokeWidth:l?24*Number(i)/Number(s):i,className:o("lucide",d),...u},[...m.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),l=(e,t)=>{let r=(0,a.forwardRef)((r,n)=>{let{className:l,...d}=r;return(0,a.createElement)(i,{ref:n,iconNode:t,className:o("lucide-".concat(s(e)),l),...d})});return r.displayName="".concat(e),r}},66698:(e,t,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:()=>i});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 i=n},88853:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var a=r(20107),s=r(34544),o=r(20475),n="horizontal",i=["horizontal","vertical"],l=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=n,...l}=e,d=i.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"},...l,ref:t})});l.displayName="Separator";var d=l}},e=>{var t=t=>e(e.s=t);e.O(0,[7780,8885,9464,241,9679,191,6035,7358],()=>t(80631)),_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-ded11e84e70593c1.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-ded11e84e70593c1.js new file mode 100644 index 0000000..caad5b8 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-ded11e84e70593c1.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8757],{80631:(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),i=r(42541),l=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),g=r(83086),v=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)([]),[A,C]=(0,s.useState)([]),[T,E]=(0,s.useState)([]),[R,S]=(0,s.useState)(!1),[k,_]=(0,s.useState)([]),[O,D]=(0,s.useState)(!0),[I,F]=(0,s.useState)(-1),L=(0,s.useRef)(null),z=(0,s.useRef)(null);(0,s.useEffect)(()=>{let e=e=>{z.current&&!z.current.contains(e.target)&&(C([]),F(-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{D(!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)(()=>{T.length>0&&window.localStorage.setItem("atCommands",JSON.stringify(T))},[T]);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)}),S(!0),r("> ".concat(t,"\nExecuting command, please wait...")),(async()=>{try{let a=encodeURIComponent(t),s=await fetch("/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(a,"&wait=1")),o=await s.json(),n="> ".concat(t,"\n");o.response.raw_output&&(n+=o.response.raw_output),r(n);let i={command:t,response:o.response.raw_output||"No output",timestamp:o.command.timestamp,status:o.response.status,duration:o.response.duration_ms,commandId:o.command.id};N(e=>[i,...e]),("error"===o.response.status||"timeout"===o.response.status)&&e({title:"Command ".concat("timeout"===o.response.status?"Timeout":"Error"),description:o.response.raw_output||"Command execution ".concat(o.response.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{S(!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}S(!0),b(""),r("> ".concat(t,"\nExecuting command, please wait..."));try{let a=encodeURIComponent(t),s=await fetch("/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(a,"&wait=1")),o=await s.json(),n="> ".concat(t,"\n");o.response.raw_output&&(n+=o.response.raw_output),r(n);let i={command:t,response:o.response.raw_output||"No output",timestamp:o.command.timestamp,status:o.response.status,duration:o.response.duration_ms,commandId:o.command.id};N(e=>[i,...e]),"success"!==o.response.status||T.includes(t)||E(e=>[...e,t]),("error"===o.response.status||"timeout"===o.response.status)&&e({title:"Command ".concat("timeout"===o.response.status?"Timeout":"Error"),description:o.response.raw_output||"Command execution ".concat(o.response.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{S(!1)}},M=e=>{N(t=>{let r=[...t];return r.splice(e,1),0===r.length&&window.localStorage.removeItem("atCommandHistory"),r})},$=e=>{E(t=>{let r=t.filter(t=>t!==e);return window.localStorage.setItem("atCommands",JSON.stringify(r)),r}),C(t=>t.filter(t=>t!==e))},B=async t=>{try{if(navigator.clipboard&&window.isSecureContext)await navigator.clipboard.writeText(t);else{let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.left="-999999px",e.style.top="-999999px",document.body.appendChild(e),e.focus(),e.select();try{document.execCommand("copy")}catch(e){throw console.error("Fallback: Oops, unable to copy",e),Error("Copy failed")}finally{e.remove()}}e({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)(l.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)(l.J,{children:"Command History"}),(0,a.jsxs)(g.Lt,{children:[(0,a.jsx)(g.tv,{asChild:!0,children:(0,a.jsxs)(i.$,{variant:"outline",size:"sm",children:[(0,a.jsx)(m.A,{className:"h-4 w-4 text-rose-500"}),"Clear All"]})}),(0,a.jsxs)(g.EO,{children:[(0,a.jsxs)(g.wd,{children:[(0,a.jsx)(g.r7,{children:"Clear Command History"}),(0,a.jsx)(g.$v,{children:"This action cannot be undone. This will permanently delete your command history."})]}),(0,a.jsxs)(g.ck,{children:[(0,a.jsx)(g.Zr,{children:"Cancel"}),(0,a.jsx)(g.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:()=>B(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)(i.$,{variant:"ghost",size:"icon",className:"absolute right-2 top-2 h-4 w-4",onClick:e=>{e.stopPropagation(),M(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)(l.J,{htmlFor:"ATInput",children:"AT Command Input"}),(0,a.jsx)(c.p,{ref:L,value:w,onChange:e=>{let t=e.target.value;b(t),F(-1),requestAnimationFrame(()=>{t.trim()?C(T.filter(e=>e.toLowerCase().includes(t.toLowerCase())).slice(0,5)):C([])})},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),H())},placeholder:"ATI",id:"ATInput",disabled:R,autoComplete:"off"}),A.length>0&&(0,a.jsx)("div",{ref:z,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:A.map((e,t)=>(0,a.jsxs)("div",{className:"p-2 cursor-pointer flex items-center justify-between group transition-colors ".concat(t===I?"bg-accent":"hover:bg-accent/50"),onClick:()=>{var t;b(e),C([]),F(-1),null===(t=L.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)(i.$,{variant:"ghost",size:"icon",className:"h-4 w-4 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>{t.stopPropagation(),$(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)(i.$,{onClick:H,disabled:R,children:[(0,a.jsx)(p.A,{className:"mr-2"}),R?"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)(v.XI,{children:[(0,a.jsx)(v.r6,{children:"AT Command List"}),(0,a.jsx)(v.A0,{children:(0,a.jsxs)(v.Hj,{children:[(0,a.jsx)(v.nd,{children:"AT Command"}),(0,a.jsx)(v.nd,{className:"text-right",children:"Description"})]})}),(0,a.jsx)(v.BF,{children:O?(0,a.jsx)(v.Hj,{children:(0,a.jsx)(v.nA,{colSpan:3,className:"text-center",children:"Loading commands..."})}):0===k.length?(0,a.jsx)(v.Hj,{children:(0,a.jsx)(v.nA,{colSpan:3,className:"text-center",children:"No commands available"})}):k.map((e,t)=>(0,a.jsxs)(v.Hj,{children:[(0,a.jsxs)(v.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:()=>B(e.command)})]}),(0,a.jsx)(v.nA,{className:"text-right max-w-10 md:max-w-lg",children:e.description})]},t))})]})})]})]})}},83086:(e,t,r)=>{"use strict";r.d(t,{Lt:()=>O,Rx:()=>$,Zr:()=>B,EO:()=>F,$v:()=>M,ck:()=>z,wd:()=>L,r7:()=>H,tv:()=>D});var a=r(20475),s=r(20107),o=r(45170),n=r(64236),i=r(60241),l=r(94521),d=r(61837),c="AlertDialog",[m,u]=(0,o.A)(c,[i.Hs]),p=(0,i.Hs)(),f=e=>{let{__scopeAlertDialog:t,...r}=e,s=p(t);return(0,a.jsx)(i.bL,{...s,...r,modal:!0})};f.displayName=c;var x=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,o=p(r);return(0,a.jsx)(i.l9,{...o,...s,ref:t})});x.displayName="AlertDialogTrigger";var h=e=>{let{__scopeAlertDialog:t,...r}=e,s=p(t);return(0,a.jsx)(i.ZL,{...s,...r})};h.displayName="AlertDialogPortal";var g=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,o=p(r);return(0,a.jsx)(i.hJ,{...o,...s,ref:t})});g.displayName="AlertDialogOverlay";var v="AlertDialogContent",[y,w]=m(v),b=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:o,...c}=e,m=p(r),u=s.useRef(null),f=(0,n.s)(t,u),x=s.useRef(null);return(0,a.jsx)(i.G$,{contentName:v,titleName:j,docsSlug:"alert-dialog",children:(0,a.jsx)(y,{scope:r,cancelRef:x,children:(0,a.jsxs)(i.UC,{role:"alertdialog",...m,...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,a.jsx)(d.xV,{children:o}),(0,a.jsx)(S,{contentRef:u})]})})})});b.displayName=v;var j="AlertDialogTitle",N=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,o=p(r);return(0,a.jsx)(i.hE,{...o,...s,ref:t})});N.displayName=j;var A="AlertDialogDescription",C=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,o=p(r);return(0,a.jsx)(i.VY,{...o,...s,ref:t})});C.displayName=A;var T=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,o=p(r);return(0,a.jsx)(i.bm,{...o,...s,ref:t})});T.displayName="AlertDialogAction";var E="AlertDialogCancel",R=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,{cancelRef:o}=w(E,r),l=p(r),d=(0,n.s)(t,o);return(0,a.jsx)(i.bm,{...l,...s,ref:d})});R.displayName=E;var S=e=>{let{contentRef:t}=e,r="`".concat(v,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(v,"` by passing a `").concat(A,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(v,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return s.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(r)},[r,t]),null},k=r(22250),_=r(42541);let O=f,D=x,I=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(g,{className:(0,k.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})});I.displayName=g.displayName;let F=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsxs)(h,{children:[(0,a.jsx)(I,{}),(0,a.jsx)(b,{ref:t,className:(0,k.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})]})});F.displayName=b.displayName;let L=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,k.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};L.displayName="AlertDialogHeader";let z=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,k.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};z.displayName="AlertDialogFooter";let H=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(N,{ref:t,className:(0,k.cn)("text-lg font-semibold",r),...s})});H.displayName=N.displayName;let M=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(C,{ref:t,className:(0,k.cn)("text-sm text-muted-foreground",r),...s})});M.displayName=C.displayName;let $=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(T,{ref:t,className:(0,k.cn)((0,_.r)(),r),...s})});$.displayName=T.displayName;let B=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(R,{ref:t,className:(0,k.cn)((0,_.r)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});B.displayName=R.displayName},45934:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});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 i(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:()=>l});var a=r(20475),s=r(20107),o=r(61837),n=r(29395),i=r(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=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,i.cn)(l({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:()=>l,Zp:()=>n,aR:()=>i,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 i=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})});i.displayName="CardHeader";let l=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})});l.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),i=r(22250);let l=(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,i.cn)(l(),r),...s})});d.displayName=o.b.displayName},36824:(e,t,r)=>{"use strict";r.d(t,{$:()=>l,F:()=>i});var a=r(20475),s=r(20107),o=r(89679),n=r(22250);let i=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(o.bL,{ref:t,className:(0,n.cn)("relative overflow-hidden",r),...i,children:[(0,a.jsx)(o.LM,{className:"h-full w-full rounded-[inherit]",children:s}),(0,a.jsx)(l,{}),(0,a.jsx)(o.OK,{})]})});i.displayName=o.bL.displayName;let l=s.forwardRef((e,t)=>{let{className:r,orientation:s="vertical",...i}=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),...i,children:(0,a.jsx)(o.lr,{className:"relative flex-1 rounded-full bg-border"})})});l.displayName=o.VM.displayName},76554:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var a=r(20475),s=r(20107),o=r(88853),n=r(22250);let i=s.forwardRef((e,t)=>{let{className:r,orientation:s="horizontal",decorative:i=!0,...l}=e;return(0,a.jsx)(o.b,{ref:t,decorative:i,orientation:s,className:(0,n.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",r),...l})});i.displayName=o.b.displayName},51303:(e,t,r)=>{"use strict";r.d(t,{A0:()=>i,BF:()=>l,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 i=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})});i.displayName="TableHeader";let l=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})});l.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)},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?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)}}},l=[],d={toasts:[]};function c(e){d=i(d,e),l.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(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.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:()=>l});var a=r(20107);let s=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 n={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,t)=>{let{color:r="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:d="",children:c,iconNode:m,...u}=e;return(0,a.createElement)("svg",{ref:t,...n,width:s,height:s,stroke:r,strokeWidth:l?24*Number(i)/Number(s):i,className:o("lucide",d),...u},[...m.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),l=(e,t)=>{let r=(0,a.forwardRef)((r,n)=>{let{className:l,...d}=r;return(0,a.createElement)(i,{ref:n,iconNode:t,className:o("lucide-".concat(s(e)),l),...d})});return r.displayName="".concat(e),r}},66698:(e,t,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:()=>i});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 i=n},88853:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var a=r(20107),s=r(34544),o=r(20475),n="horizontal",i=["horizontal","vertical"],l=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=n,...l}=e,d=i.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"},...l,ref:t})});l.displayName="Separator";var d=l}},e=>{var t=t=>e(e.s=t);e.O(0,[7780,8885,9464,241,9679,191,6035,7358],()=>t(80631)),_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/quecprofiles/page-3fe35599356ee15c.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/quecprofiles/page-3fe35599356ee15c.js new file mode 100644 index 0000000..e3244d1 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/quecprofiles/page-3fe35599356ee15c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9473],{61437:(e,s,t)=>{Promise.resolve().then(t.bind(t,22256))},22256:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>D});var a=t(20475),r=t(20107),n=t(32857),i=t(72167),d=t(48547),l=t(22250);let c=d.bL,o=d.l9;d.Mz;let m=r.forwardRef((e,s)=>{let{className:t,align:r="center",sideOffset:n=4,...i}=e;return(0,a.jsx)(d.ZL,{children:(0,a.jsx)(d.UC,{ref:s,align:r,sideOffset:n,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",t),...i})})});m.displayName=d.UC.displayName;var p=t(93557),u=t(35601),f=t(42541),x=t(17799),h=t(61003),g=t(59166),N=t(97801),j=t(98969),y=t(10528),b=t(52161),v=t(46361),w=t(26780),_=t(32024),P=t(25262),T=t(57718),A=t(1870),C=t(51873),E=t(14389),I=t(49153),S=t(64219),k=t(36760),R=t(45934),F=t(49573),L=t(76554);let D=()=>{let{toast:e}=(0,n.dj)(),[s,t]=(0,r.useState)([]),[d,l]=(0,r.useState)(!0),[D,O]=(0,r.useState)(!1),[M,J]=(0,r.useState)("grid"),[z,V]=(0,r.useState)(!1),[q,B]=(0,r.useState)("create"),[G,U]=(0,r.useState)(null),[$,Z]=(0,r.useState)(null),[X,H]=(0,r.useState)(""),[W,Y]=(0,r.useState)({name:"",iccid:"",imei:"",apn:"",pdp_type:"IPV4V6",lte_bands:"",sa_nr5g_bands:"",nsa_nr5g_bands:"",network_type:"LTE",ttl:"0",paused:"0"}),[Q,K]=(0,r.useState)(null);(0,r.useEffect)(()=>{ee(),es();let e=setInterval(es,5e3);return()=>clearInterval(e)},[]);let ee=async()=>{l(!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{l(!1)}},es=async()=>{try{let s=await fetch("/cgi-bin/quecmanager/profiles/check_status.sh");if(s.ok){let t=await s.json();Z(t),"idle"===t.status||t.status===X||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"}),H(t.status))}}catch(e){}},et=e=>{let{id:s,value:t}=e.target;if("ttl"===s){let e=parseInt(t);if(""===t||isNaN(e)||e<0){Y({...W,ttl:"0"});return}if(e>255){Y({...W,ttl:"255"});return}}Y({...W,[s]:t})},ea=(e,s)=>{Y({...W,[e]:s})},er=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{O(!0),K(null);try{let s;if(!W.name||!W.iccid||!W.apn){K("Profile name, ICCID, and APN are required"),O(!1);return}if(W.ttl&&(0>parseInt(W.ttl)||parseInt(W.ttl)>255)){K("TTL must be between 0 and 255"),O(!1);return}let t={name:W.name,iccid:W.iccid,imei:W.imei||"",apn:W.apn,pdp_type:W.pdp_type,lte_bands:W.lte_bands,sa_nr5g_bands:W.sa_nr5g_bands||"",nsa_nr5g_bands:W.nsa_nr5g_bands||"",network_type:W.network_type,ttl:W.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=er(r)}catch(e){K("Invalid response format from server"),O(!1);return}"success"===s.status?(V(!1),Y({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 ee(),await es()):K(s.message||"Failed to create profile")}catch(e){K("An unexpected error occurred")}finally{O(!1)}},ei=async()=>{O(!0),K(null);try{let s;if(!W.name||!W.iccid||!W.apn){K("Profile name, ICCID, and APN are required"),O(!1);return}if(W.ttl&&(0>parseInt(W.ttl)||parseInt(W.ttl)>255)){K("TTL must be between 0 and 255"),O(!1);return}let t={name:W.name,iccid:W.iccid,imei:W.imei||"",apn:W.apn,pdp_type:W.pdp_type,lte_bands:W.lte_bands,sa_nr5g_bands:W.sa_nr5g_bands||"",nsa_nr5g_bands:W.nsa_nr5g_bands||"",network_type:W.network_type,ttl:W.ttl||"0",paused:W.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=er(r)}catch(e){K("Invalid response format from server"),O(!1);return}"success"===s.status?(V(!1),Y({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 ee()):K(s.message||"Failed to update profile")}catch(e){K("An unexpected error occurred")}finally{O(!1)}},ed=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=er(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 ee(),await es()):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"})}},el=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=er(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 ee(),await es()):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"})}},ec=e=>{B("edit"),Y({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"}),U(e),K(null),V(!0)},eo=e=>{switch(e){case"AUTO":return"AUTO";case"LTE":return"4G LTE";case"NR5G":return"5G SA";case"LTE:NR5G":return"NR5G-NSA";default:return e}};return(0,a.jsx)("div",{children:(0,a.jsxs)(i.Zp,{children:[(0,a.jsxs)(i.aR,{children:[(0,a.jsx)(i.ZB,{children:"QuecProfiles"}),(0,a.jsx)(i.BT,{children:"Configure personalized profiles for your SIM cards to manage connectivity settings and network preferences."})]}),(0,a.jsxs)(i.Wu,{className:"grid gap-y-8",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)(p.lG,{open:z,onOpenChange:V,children:[(0,a.jsx)(p.zM,{asChild:!0,children:(0,a.jsxs)(f.$,{onClick:()=>{B("create"),K(null),Y({name:"",iccid:"",imei:"",apn:"",pdp_type:"IPV4V6",lte_bands:"",sa_nr5g_bands:"",nsa_nr5g_bands:"",network_type:"LTE",ttl:"0",paused:"0"})},children:[(0,a.jsx)(y.A,{className:"w-4 h-4"}),"Add New Profile"]})}),(0,a.jsxs)(p.Cf,{children:[(0,a.jsxs)(p.c7,{children:[(0,a.jsx)(p.L3,{children:"create"===q?"Add New Profile":"Edit Profile"}),(0,a.jsx)(p.rr,{children:"create"===q?"Create a new profile for your SIM card to manage connectivity settings and network preferences.":"Update the settings for this profile."})]}),Q&&(0,a.jsxs)(F.Fc,{variant:"destructive",className:"my-2",children:[(0,a.jsx)(x.A,{className:"h-4 w-4"}),(0,a.jsx)(F.XL,{children:"Error"}),(0,a.jsx)(F.TN,{children:Q})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-y-5 gap-x-4 py-4",children:[(0,a.jsxs)("div",{className:"col-span-2 grid gap-1.5",children:[(0,a.jsx)(I.J,{htmlFor:"name",children:"Profile Name"}),(0,a.jsx)(S.p,{id:"name",placeholder:"My Network Profile",value:W.name,onChange:et,required:!0})]}),(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(I.J,{htmlFor:"iccid",children:"ICCID"}),(0,a.jsx)(S.p,{id:"iccid",placeholder:"SIM ICCID",value:W.iccid,onChange:et,disabled:"edit"===q,required:!0})]}),(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(I.J,{htmlFor:"imei",children:"IMEI"}),(0,a.jsx)(S.p,{id:"imei",placeholder:"Preferred IMEI",value:W.imei,onChange:et})]}),(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(I.J,{htmlFor:"apn",children:"APN"}),(0,a.jsx)(S.p,{id:"apn",placeholder:"internet",value:W.apn,onChange:et,required:!0})]}),(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(I.J,{htmlFor:"pdp_type",children:"APN PDP Type"}),(0,a.jsxs)(u.l6,{value:W.pdp_type,onValueChange:e=>ea("pdp_type",e),children:[(0,a.jsx)(u.bq,{children:(0,a.jsx)(u.yv,{placeholder:"PDP Type"})}),(0,a.jsxs)(u.gC,{children:[(0,a.jsx)(u.eb,{value:"IP",children:"IPV4"}),(0,a.jsx)(u.eb,{value:"IPV6",children:"IPV6"}),(0,a.jsx)(u.eb,{value:"IPV4V6",children:"IPV4 & IPV6"})]})]})]}),(0,a.jsxs)("div",{className:"col-span-2 grid gap-1.5",children:[(0,a.jsx)(I.J,{htmlFor:"lte_bands",children:"LTE Bands"}),(0,a.jsxs)("div",{className:"grid gap-0.5",children:[(0,a.jsx)(S.p,{id:"lte_bands",placeholder:"1,3,7,20",value:W.lte_bands,onChange:et}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground italic",children:"Comma-separated list of LTE bands."})]})]}),(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(I.J,{htmlFor:"nsa_nr5g_bands",children:"NR5G-NSA Bands"}),(0,a.jsxs)("div",{className:"grid gap-0.5",children:[(0,a.jsx)(S.p,{id:"nsa_nr5g_bands",placeholder:"41,78",value:W.nsa_nr5g_bands,onChange:et}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground italic",children:"Comma-separated list of NSA bands."})]})]}),(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(I.J,{htmlFor:"sa_nr5g_bands",children:"NR5G-SA Bands"}),(0,a.jsxs)("div",{className:"grid gap-0.5",children:[(0,a.jsx)(S.p,{id:"sa_nr5g_bands",placeholder:"41,78",value:W.sa_nr5g_bands,onChange:et}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground italic",children:"Comma-separated list of SA bands."})]})]}),(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(I.J,{htmlFor:"network_type",children:"Network Type"}),(0,a.jsxs)(u.l6,{value:W.network_type,onValueChange:e=>ea("network_type",e),children:[(0,a.jsx)(u.bq,{children:(0,a.jsx)(u.yv,{placeholder:"Network Type"})}),(0,a.jsxs)(u.gC,{children:[(0,a.jsx)(u.eb,{value:"LTE",children:"LTE Only"}),(0,a.jsx)(u.eb,{value:"NR5G",children:"NR5G Only"}),(0,a.jsx)(u.eb,{value:"LTE:NR5G",children:"NR5G-NSA w/ LTE"})]})]})]}),(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(I.J,{htmlFor:"ttl",children:"TTL Value"}),(0,a.jsx)("div",{className:"grid gap-0.5",children:(0,a.jsx)(S.p,{id:"ttl",type:"number",min:"0",max:"255",placeholder:"0 (disabled)",value:W.ttl,onChange:et})})]})]}),(0,a.jsx)(p.Es,{children:(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)(f.$,{variant:"secondary",onClick:()=>V(!1),disabled:D,children:"Cancel"}),(0,a.jsx)(f.$,{onClick:"create"===q?en:ei,disabled:D,children:D?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g.A,{className:"h-4 w-4 animate-spin"}),"create"===q?"Creating...":"Updating..."]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b.A,{className:"h-4 w-4"}),"create"===q?"Save Profile":"Update Profile"]})})]})})]})]}),(0,a.jsxs)("div",{className:"flex bg-gray-100 dark:bg-gray-800 rounded-md p-1",children:[(0,a.jsx)("button",{className:"p-1 rounded ".concat("grid"===M?"bg-white dark:bg-gray-700 shadow-sm":""),onClick:()=>J("grid"),children:(0,a.jsx)(v.A,{size:18})}),(0,a.jsx)("button",{className:"p-1 rounded ".concat("list"===M?"bg-white dark:bg-gray-700 shadow-sm":""),onClick:()=>J("list"),children:(0,a.jsx)(w.A,{size:18})})]})]}),"grid"===M&&(0,a.jsx)("div",{className:"grid gap-4",children:d?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"border rounded-lg p-4",children:(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)(k.E,{className:"h-5 w-40"}),(0,a.jsx)(k.E,{className:"h-4 w-20"}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4 pt-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(k.E,{className:"h-3 w-20"}),(0,a.jsx)(k.E,{className:"h-4 w-32"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(k.E,{className:"h-3 w-20"}),(0,a.jsx)(k.E,{className:"h-4 w-32"})]})]})]})})}):s&&s.length>0?s.map((e,s)=>(0,a.jsxs)(i.Zp,{children:[(0,a.jsxs)(i.aR,{children:[(0,a.jsxs)("div",{className:"flex items-start justify-between",children:[(0,a.jsx)(i.ZB,{className:"xl:text-xl font-bold tracking-wide",children:e.name}),(0,a.jsxs)(c,{children:[(0,a.jsx)(o,{children:(0,a.jsx)(_.A,{className:"h-4 w-4"})}),(0,a.jsxs)(m,{className:"grid gap-2 max-w-[180px]",children:[(0,a.jsx)(f.$,{size:"sm",variant:"outline",className:"p-1",onClick:()=>el(e.iccid,e.name,e.paused||"0"),children:"1"===e.paused?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(P.A,{className:"w-4 h-4 text-emerald-500"}),"Resume Profile"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(T.A,{className:"w-4 h-4 text-orange-500"}),"Pause Profile"]})}),(0,a.jsxs)(f.$,{size:"sm",onClick:()=>ec(e),variant:"outline",children:[(0,a.jsx)(A.A,{className:"w-4 h-4"}),"Edit Profile"]}),(0,a.jsx)(L.w,{className:"w-full my-2"}),(0,a.jsxs)(f.$,{size:"sm",variant:"destructive",onClick:()=>ed(e.iccid,e.name),children:[(0,a.jsx)(C.A,{className:"w-4 h-4"}),"Delete Profile"]})]})]})]}),(0,a.jsx)(i.BT,{className:"flex items-center",children:(0,a.jsx)(R.E,{variant:"secondary",className:"text-xs",children:eo(e.network_type)})})]}),(0,a.jsx)(i.Wu,{children:(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"grid gap-0.5",children:[(0,a.jsx)(I.J,{htmlFor:"ICCID-".concat(s),className:"text-sm text-muted-foreground",children:"SIM ICCID"}),(0,a.jsx)("p",{id:"ICCID-".concat(s),className:"font-semibold",children:e.iccid})]}),(0,a.jsxs)("div",{className:"grid gap-0.5",children:[(0,a.jsx)(I.J,{htmlFor:"IMEI-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred IMEI"}),(0,a.jsx)("p",{id:"IMEI-".concat(s),className:"font-semibold",children:e.imei||"-"})]}),(0,a.jsxs)("div",{className:"grid gap-0.5",children:[(0,a.jsx)(I.J,{htmlFor:"APN-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred APN"}),(0,a.jsx)("p",{id:"APN-".concat(s),className:"font-semibold",children:e.apn})]}),(0,a.jsxs)("div",{className:"grid gap-0.5",children:[(0,a.jsx)(I.J,{htmlFor:"PDP-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred APN PDP Type"}),(0,a.jsx)("p",{id:"PDP-".concat(s),className:"font-semibold",children:e.pdp_type})]}),(0,a.jsxs)("div",{className:"grid gap-0.5",children:[(0,a.jsx)(I.J,{htmlFor:"prefTTl-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred TTL"}),(0,a.jsx)("p",{id:"prefTTL-".concat(s),className:"font-semibold",children:e.ttl||"0"})]}),(0,a.jsxs)("div",{className:"grid gap-0.5",children:[(0,a.jsx)(I.J,{htmlFor:"prefLTEBands-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred LTE Bands"}),(0,a.jsx)("p",{id:"prefLTEBands-".concat(s),className:"font-semibold",children:e.lte_bands||"-"})]}),(0,a.jsxs)("div",{className:"grid gap-0.5",children:[(0,a.jsx)(I.J,{htmlFor:"prefNRNSABands-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred NR5G-NSA Bands"}),(0,a.jsx)("p",{id:"prefNRNSABands-".concat(s),className:"font-semibold",children:e.nsa_nr5g_bands||"-"})]}),(0,a.jsxs)("div",{className:"grid gap-0.5",children:[(0,a.jsx)(I.J,{htmlFor:"prefNRSABands-".concat(s),className:"text-sm text-muted-foreground",children:"Preferred NR5G-SA Bands"}),(0,a.jsx)("p",{id:"prefNRSABands-".concat(s),className:"font-semibold",children:e.sa_nr5g_bands||"-"})]})]})})]},s)):(0,a.jsxs)("div",{className:"text-center py-8 border rounded-lg",children:[(0,a.jsx)("div",{className:"mx-auto w-12 h-12 rounded-full bg-muted flex items-center justify-center mb-4",children:(0,a.jsx)(y.A,{className:"h-6 w-6 text-muted-foreground"})}),(0,a.jsx)("h3",{className:"font-medium text-lg mb-1",children:"No Profiles Found"}),(0,a.jsx)("p",{className:"text-muted-foreground mb-4",children:"Simplify network management with profiles that automatically apply your preferred settings."})]})}),"list"===M&&(0,a.jsx)("div",{className:"border rounded-md overflow-x-auto",children:(0,a.jsxs)("table",{className:"w-full",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{className:"bg-muted/50",children:[(0,a.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"Profile Name"}),(0,a.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"ICCID"}),(0,a.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"APN (PDP Type)"}),(0,a.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"Network Type"}),(0,a.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"TTL"}),(0,a.jsx)("th",{className:"h-10 px-4 text-left align-middle font-medium text-muted-foreground",children:"Actions"})]})}),(0,a.jsx)("tbody",{children:d?(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("tr",{className:"border-t",children:[(0,a.jsxs)("td",{className:"p-4",children:[(0,a.jsx)(k.E,{className:"h-5 w-32"}),(0,a.jsx)(k.E,{className:"h-3 w-24 mt-1"})]}),(0,a.jsx)("td",{className:"p-4",children:(0,a.jsx)(k.E,{className:"h-5 w-40"})}),(0,a.jsx)("td",{className:"p-4",children:(0,a.jsx)(k.E,{className:"h-5 w-28"})}),(0,a.jsx)("td",{className:"p-4",children:(0,a.jsx)(k.E,{className:"h-5 w-20"})}),(0,a.jsx)("td",{className:"p-4",children:(0,a.jsx)(k.E,{className:"h-5 w-10"})}),(0,a.jsx)("td",{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(k.E,{className:"h-8 w-8 rounded-md"}),(0,a.jsx)(k.E,{className:"h-8 w-8 rounded-md"})]})})]})}):s&&s.length>0?s.map((e,s)=>(0,a.jsxs)("tr",{className:"border-t hover:bg-muted/50 transition-colors",children:[(0,a.jsxs)("td",{className:"p-4",children:[(0,a.jsxs)("div",{className:"font-medium",children:[e.name,"1"===e.paused&&(0,a.jsx)(R.E,{variant:"outline",className:"ml-2 text-xs bg-amber-100 text-amber-700 border-amber-300",children:"Paused"})]}),(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:["IMEI: ",e.imei||"Not specified"]})]}),(0,a.jsx)("td",{className:"p-4 font-mono text-sm",children:e.iccid}),(0,a.jsxs)("td",{className:"p-4",children:[e.apn," ",(0,a.jsxs)("span",{className:"text-muted-foreground text-xs",children:["(",e.pdp_type,")"]})]}),(0,a.jsx)("td",{className:"p-4",children:(0,a.jsx)(R.E,{variant:"secondary",className:"text-xs",children:eo(e.network_type)})}),(0,a.jsx)("td",{className:"p-4",children:e.ttl&&parseInt(e.ttl)>0?(0,a.jsx)(R.E,{variant:"outline",className:"text-xs",children:e.ttl}):(0,a.jsx)("span",{className:"text-muted-foreground text-sm",children:"Off"})}),(0,a.jsx)("td",{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(f.$,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:()=>ec(e),children:[(0,a.jsx)(A.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Edit"})]}),(0,a.jsxs)(f.$,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:()=>el(e.iccid,e.name,e.paused||"0"),title:"1"===e.paused?"Resume Profile":"Pause Profile",children:["1"===e.paused?(0,a.jsx)(E.A,{className:"h-4 w-4 text-green-600"}):(0,a.jsx)(h.A,{className:"h-4 w-4 text-amber-600"}),(0,a.jsx)("span",{className:"sr-only",children:"1"===e.paused?"Resume":"Pause"})]}),(0,a.jsxs)(f.$,{variant:"ghost",size:"icon",className:"h-8 w-8 text-destructive",onClick:()=>ed(e.iccid,e.name),children:[(0,a.jsx)(C.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Delete"})]})]})})]},s)):(0,a.jsx)("tr",{className:"border-t",children:(0,a.jsx)("td",{colSpan:6,className:"p-8 text-center text-muted-foreground",children:"No profiles found. Create one to get started."})})})]})}),(()=>{if(!$||"idle"===$.status)return $&&$.message&&$.message.includes("No profile exists")?(0,a.jsxs)(F.Fc,{className:"mb-1",variant:"default",children:[(0,a.jsx)(x.A,{className:"h-4 w-4",color:"orange"}),(0,a.jsx)(F.XL,{children:"No Profile Found"}),(0,a.jsx)(F.TN,{className:"flex justify-between items-center",children:(0,a.jsx)("span",{children:"No profile exists for the current SIM card. Create a profile to configure your network settings."})})]}):null;if("paused"===$.status)return(0,a.jsxs)(F.Fc,{className:"mb-1",variant:"default",children:[(0,a.jsx)(h.A,{className:"h-4 w-4",color:"orange"}),(0,a.jsx)(F.XL,{children:"Profile Paused"}),(0,a.jsx)(F.TN,{className:"flex justify-between items-center",children:(0,a.jsx)("span",{children:$.message||'Profile "'.concat($.profile,'" is currently paused. Resume to apply settings.')})})]});let e=$.message,s="";return"error"===$.status?(s="Profile Issue",$.message.includes("missing the required APN setting")?(s="Missing APN Setting",e='Please edit profile "'.concat($.profile,'" and add an APN to enable network connectivity.')):$.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."):$.message.includes("Could not communicate with modem")&&(s="Modem Communication Error",e="Having trouble connecting to the cellular modem. Please check your device.")):"success"===$.status&&($.message.includes("already applied")||$.message.includes("Profile already correctly applied"))?(s="Profile Active",e='Profile "'.concat($.profile,'" is active and correctly applied')):"applying"===$.status?s="Applying Profile":"rebooting"===$.status?(s="Device Rebooting",e="Your device is restarting to apply configuration changes."):s="Success",(0,a.jsxs)(F.Fc,{className:"mb-1",variant:"error"===$.status?"destructive":"default",children:["applying"===$.status?(0,a.jsx)(g.A,{className:"h-4 w-4 animate-spin"}):"error"===$.status?(0,a.jsx)(x.A,{className:"h-4 w-4",color:"orange"}):"rebooting"===$.status?(0,a.jsx)(N.A,{className:"h-4 w-4 animate-spin"}):(0,a.jsx)(j.A,{className:"h-4 w-4",color:"green"}),(0,a.jsx)(F.XL,{children:s}),(0,a.jsxs)(F.TN,{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{children:e}),"applying"===$.status&&(0,a.jsxs)("span",{className:"font-semibold",children:[$.progress,"%"]})]})]})})()]})]})})}},49573:(e,s,t)=>{"use strict";t.d(s,{Fc:()=>l,TN:()=>o,XL:()=>c});var a=t(20475),r=t(20107),n=t(29395),i=t(22250);let d=(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=r.forwardRef((e,s)=>{let{className:t,variant:r,...n}=e;return(0,a.jsx)("div",{ref:s,role:"alert",className:(0,i.cn)(d({variant:r}),t),...n})});l.displayName="Alert";let c=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("h5",{ref:s,className:(0,i.cn)("mb-1 font-medium leading-none tracking-tight",t),...r})});c.displayName="AlertTitle";let o=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("div",{ref:s,className:(0,i.cn)("text-sm [&_p]:leading-relaxed",t),...r})});o.displayName="AlertDescription"},45934:(e,s,t)=>{"use strict";t.d(s,{E:()=>d});var a=t(20475);t(20107);var r=t(29395),n=t(22250);let i=(0,r.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 d(e){let{className:s,variant:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)(i({variant:t}),s),...r})}},42541:(e,s,t)=>{"use strict";t.d(s,{$:()=>c,r:()=>l});var a=t(20475),r=t(20107),n=t(61837),i=t(29395),d=t(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=r.forwardRef((e,s)=>{let{className:t,variant:r,size:i,asChild:c=!1,...o}=e,m=c?n.DX:"button";return(0,a.jsx)(m,{className:(0,d.cn)(l({variant:r,size:i,className:t})),ref:s,...o})});c.displayName="Button"},72167:(e,s,t)=>{"use strict";t.d(s,{BT:()=>c,Wu:()=>o,ZB:()=>l,Zp:()=>i,aR:()=>d,wL:()=>m});var a=t(20475),r=t(20107),n=t(22250);let i=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("div",{ref:s,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...r})});i.displayName="Card";let d=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("div",{ref:s,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",t),...r})});d.displayName="CardHeader";let l=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("h3",{ref:s,className:(0,n.cn)("font-semibold leading-none tracking-tight",t),...r})});l.displayName="CardTitle";let c=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("p",{ref:s,className:(0,n.cn)("text-sm text-muted-foreground",t),...r})});c.displayName="CardDescription";let o=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("div",{ref:s,className:(0,n.cn)("p-6 pt-0",t),...r})});o.displayName="CardContent";let m=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("div",{ref:s,className:(0,n.cn)("flex items-center p-6 pt-0",t),...r})});m.displayName="CardFooter"},93557:(e,s,t)=>{"use strict";t.d(s,{Cf:()=>u,Es:()=>x,HM:()=>m,L3:()=>h,c7:()=>f,lG:()=>l,rr:()=>g,zM:()=>c});var a=t(20475),r=t(20107),n=t(60241),i=t(7197),d=t(22250);let l=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,d.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...r})});p.displayName=n.hJ.displayName;let u=r.forwardRef((e,s)=>{let{className:t,children:r,...l}=e;return(0,a.jsxs)(o,{children:[(0,a.jsx)(p,{}),(0,a.jsxs)(n.UC,{ref:s,className:(0,d.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...l,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 f=e=>{let{className:s,...t}=e;return(0,a.jsx)("div",{className:(0,d.cn)("flex flex-col space-y-1.5 text-center sm:text-left",s),...t})};f.displayName="DialogHeader";let x=e=>{let{className:s,...t}=e;return(0,a.jsx)("div",{className:(0,d.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",s),...t})};x.displayName="DialogFooter";let h=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(n.hE,{ref:s,className:(0,d.cn)("text-lg font-semibold leading-none tracking-tight",t),...r})});h.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,d.cn)("text-sm text-muted-foreground",t),...r})});g.displayName=n.VY.displayName},64219:(e,s,t)=>{"use strict";t.d(s,{p:()=>i});var a=t(20475),r=t(20107),n=t(22250);let i=r.forwardRef((e,s)=>{let{className:t,type:r,...i}=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",t),ref:s,...i})});i.displayName="Input"},49153:(e,s,t)=>{"use strict";t.d(s,{J:()=>c});var a=t(20475),r=t(20107),n=t(21840),i=t(29395),d=t(22250);let l=(0,i.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(n.b,{ref:s,className:(0,d.cn)(l(),t),...r})});c.displayName=n.b.displayName},35601:(e,s,t)=>{"use strict";t.d(s,{TR:()=>x,bq:()=>m,eb:()=>h,gC:()=>f,l6:()=>l,s3:()=>c,yv:()=>o});var a=t(20475),r=t(20107),n=t(7197),i=t(95257),d=t(22250);let l=i.bL,c=i.YJ,o=i.WT,m=r.forwardRef((e,s)=>{let{className:t,children:r,...l}=e;return(0,a.jsxs)(i.l9,{ref:s,className:(0,d.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",t),...l,children:[r,(0,a.jsx)(i.In,{asChild:!0,children:(0,a.jsx)(n.TBE,{className:"h-4 w-4 opacity-50"})})]})});m.displayName=i.l9.displayName;let p=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(i.PP,{ref:s,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t),...r,children:(0,a.jsx)(n.Mtm,{})})});p.displayName=i.PP.displayName;let u=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(i.wn,{ref:s,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t),...r,children:(0,a.jsx)(n.D3D,{})})});u.displayName=i.wn.displayName;let f=r.forwardRef((e,s)=>{let{className:t,children:r,position:n="popper",...l}=e;return(0,a.jsx)(i.ZL,{children:(0,a.jsxs)(i.UC,{ref:s,className:(0,d.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",t),position:n,...l,children:[(0,a.jsx)(p,{}),(0,a.jsx)(i.LM,{className:(0,d.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r}),(0,a.jsx)(u,{})]})})});f.displayName=i.UC.displayName;let x=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(i.JU,{ref:s,className:(0,d.cn)("px-2 py-1.5 text-sm font-semibold",t),...r})});x.displayName=i.JU.displayName;let h=r.forwardRef((e,s)=>{let{className:t,children:r,...l}=e;return(0,a.jsxs)(i.q7,{ref:s,className:(0,d.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",t),...l,children:[(0,a.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(i.VF,{children:(0,a.jsx)(n.Srz,{className:"h-4 w-4"})})}),(0,a.jsx)(i.p4,{children:r})]})});h.displayName=i.q7.displayName,r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(i.wv,{ref:s,className:(0,d.cn)("-mx-1 my-1 h-px bg-muted",t),...r})}).displayName=i.wv.displayName},76554:(e,s,t)=>{"use strict";t.d(s,{w:()=>d});var a=t(20475),r=t(20107),n=t(88853),i=t(22250);let d=r.forwardRef((e,s)=>{let{className:t,orientation:r="horizontal",decorative:d=!0,...l}=e;return(0,a.jsx)(n.b,{ref:s,decorative:d,orientation:r,className:(0,i.cn)("shrink-0 bg-border","horizontal"===r?"h-[1px] w-full":"h-full w-[1px]",t),...l})});d.displayName=n.b.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})}},32857:(e,s,t)=>{"use strict";t.d(s,{dj:()=>p,oR:()=>m});var a=t(20107);let r=0,n=new Map,i=e=>{if(n.has(e))return;let s=setTimeout(()=>{n.delete(e),o({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,s)},d=(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?i(t):e.toasts.forEach(e=>{i(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)}}},l=[],c={toasts:[]};function o(e){c=d(c,e),l.forEach(e=>{e(c)})}function m(e){let{...s}=e,t=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>o({type:"DISMISS_TOAST",toastId:t});return o({type:"ADD_TOAST",toast:{...s,id:t,open:!0,onOpenChange:e=>{e||a()}}}),{id:t,dismiss:a,update:e=>o({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function p(){let[e,s]=a.useState(c);return a.useEffect(()=>(l.push(s),()=>{let e=l.indexOf(s);e>-1&&l.splice(e,1)}),[e]),{...e,toast:m,dismiss:e=>o({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,s,t)=>{"use strict";t.d(s,{cn:()=>n});var a=t(64901),r=t(868);function n(){for(var e=arguments.length,s=Array(e),t=0;t{var s=s=>e(e.s=s);e.O(0,[9980,7780,8885,7563,9464,3494,241,5766,191,6035,7358],()=>s(61437)),_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-4ff1af92bcccebab.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-4ff1af92bcccebab.js new file mode 100644 index 0000000..eadb4f4 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-4ff1af92bcccebab.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6665],{31710:(e,s,t)=>{Promise.resolve().then(t.bind(t,88954))},88954:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>eV});var l=t(20475),n=t(20107),r=t(32857),i=t(72167),a=t(36760),o=t(45934);let d=e=>{let{data:s,isLoading:t}=e;return(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Sim Card"}),(0,l.jsx)(i.BT,{children:"Sim card information"})]}),(0,l.jsxs)(i.Wu,{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Sim Card Slot in Use"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[50px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.slot})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Sim Card State"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Provider"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.provider})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Phone Number"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[140px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.phoneNumber})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"IMSI"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[140px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imsi})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"ICCID"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[140px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.iccid})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"IMEI"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[140px]"}):(0,l.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"},u={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"},m={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=>m[e]||"Unknown",p=e=>{let{data:s,isLoading:t,dataConnectionState:n,connectionStateLoading:r}=e;return(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Connection"}),(0,l.jsx)(i.BT,{children:"Connection information"})]}),(0,l.jsxs)(i.Wu,{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"APN"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.apn})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Operator State"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Functionality State"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Data Connection State"}),r?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.jsx)(o.E,{className:"font-bold ".concat("Connected"===n?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:n})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Network Type"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.networkType})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Modem Temperature"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.modemTemperature})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Access Technology"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:(null==s?void 0:s.connection.accessTechnology)?x(s.connection.accessTechnology):"Unknown"})]})]})]})},h=e=>{let{data:s,isLoading:t,bytesSent:n,bytesReceived:r}=e;return(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Data Transmission"}),(0,l.jsx)(i.BT,{children:"Data transmission information"})]}),(0,l.jsxs)(i.Wu,{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Carrier Aggregation"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Bandwidth"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.bandwidth})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Connected Bands"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.connectedBands})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Signal Strength"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"MIMO Layers"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.mimoLayers})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Bytes Sent"}),(0,l.jsx)("p",{className:"font-bold",children:n})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Bytes Received"}),(0,l.jsx)("p",{className:"font-bold",children:r})]})]})]})},f=e=>{let{data:s,isLoading:t}=e;return(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Cellular Information"}),(0,l.jsx)(i.BT,{children:"Cellular network information"})]}),(0,l.jsxs)(i.Wu,{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Cell ID"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.cellId})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"TAC"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.trackingAreaCode})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Physical Cell IDs"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.physicalCellId})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"E/ARFCN"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.earfcn})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Mobile Country Code"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mcc})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Mobile Network Code"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mnc})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Antenna Signal Quality"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[80px]"}):(0,l.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 g=t(1307),v=t(53134),j=t(94005),N=t(4538),w=t(41797),b=t(79492);let y={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))"}},k=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 l=t.filter(e=>-140!==e&&-32768!==e);return 0===l.length?0:Math.round(l.reduce((e,s)=>e+s,0)/l.length)},S=()=>{let[e,s]=(0,n.useState)([]),[t,r]=(0,n.useState)("rsrp"),[o,d]=(0,n.useState)(!0),[c,u]=(0,n.useState)(null),m=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_signal_metrics.sh");if(!e.ok)throw Error("Failed to fetch signal metrics");let t=await e.json(),l=Math.min(t.rsrp.length,t.rsrq.length,t.sinr.length),n=Array.from({length:l},(e,s)=>({time:t.rsrp[s].datetime,rsrp:k(t.rsrp[s].output),rsrq:k(t.rsrq[s].output),sinr:k(t.sinr[s].output)}));s(n),u(null)}catch(e){console.error("Error fetching metrics:",e),u(e instanceof Error?e.message:"An unknown error occurred"),s([])}finally{d(!1)}},[]);(0,n.useEffect)(()=>{m();let e=setInterval(m,15e3);return()=>clearInterval(e)},[m]);let x=e.length>0?e[e.length-1]:{rsrp:0,rsrq:0,sinr:0};return c?(0,l.jsx)(i.Zp,{children:(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Error Loading Signal Metrics"}),(0,l.jsx)(i.BT,{children:c})]})}):(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{className:"flex flex-col items-stretch space-y-0 border-b p-0 sm:flex-row",children:[(0,l.jsxs)("div",{className:"flex flex-1 flex-col justify-center gap-1 px-6 py-5 sm:py-6",children:[(0,l.jsx)(i.ZB,{children:"Antenna Port Signal Metrics"}),(0,l.jsx)(i.BT,{children:"Per-port signal values averaged across all active ports"})]}),(0,l.jsx)("div",{className:"flex",children:["rsrp","rsrq","sinr"].map(e=>(0,l.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:()=>r(e),children:[(0,l.jsx)("span",{className:"text-xs text-muted-foreground",children:y[e].label}),o?(0,l.jsx)(a.E,{className:"lg:h-10 h-6 w-full"}):(0,l.jsx)("span",{className:"text-base font-bold leading-none sm:text-3xl",children:x[e].toFixed(0)})]},e))})]}),(0,l.jsx)(i.Wu,{className:"px-2 sm:p-6",children:(0,l.jsx)(g.at,{config:y,className:"aspect-auto h-[250px] w-full",children:(0,l.jsxs)(v.Q,{accessibilityLayer:!0,data:e,margin:{left:12,right:12},children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"fillRsrp",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrp)",stopOpacity:.8}),(0,l.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrp)",stopOpacity:.1})]}),(0,l.jsxs)("linearGradient",{id:"fillRsrq",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrq)",stopOpacity:.8}),(0,l.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrq)",stopOpacity:.1})]}),(0,l.jsxs)("linearGradient",{id:"fillSinr",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"5%",stopColor:"var(--color-sinr)",stopOpacity:.8}),(0,l.jsx)("stop",{offset:"95%",stopColor:"var(--color-sinr)",stopOpacity:.1})]})]}),(0,l.jsx)(j.d,{vertical:!1}),(0,l.jsx)(N.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,l.jsx)(w.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,l.jsx)(g.II,{content:(0,l.jsx)(g.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,l.jsx)(b.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,l.jsxs)(i.wL,{className:"flex-col items-start gap-2 text-sm",children:[(0,l.jsx)("div",{className:"flex gap-2 font-medium leading-none",children:"These metrics show the aggregate antenna port measurements, not the per-band values."}),(0,l.jsx)("div",{className:"leading-none text-muted-foreground italic",children:"Higher values indicate better signal quality."})]})]})},E=e=>{if("Unknown!"===e)return"-";let s=e.match(/(\d+)/);if(!s)return e;let t=parseInt(s[1],10);return t>=1e3?"".concat(t/1e3).concat((e.includes("Gb"),"Gb/s")):"".concat(t).concat((e.includes("Mb"),"Mb/s"))},A=()=>{let[e,s]=(0,n.useState)({link_status:"Loading...",link_speed:"Loading...",auto_negotiation:"Loading..."}),[t,r]=(0,n.useState)(!0),[o,d]=(0,n.useState)(null);return((0,n.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 t=await e.json();s(t),r(!1)}catch(e){d("Failed to fetch Ethernet information"),r(!1)}})()},[]),o)?(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsx)(i.ZB,{children:"Ethernet"})}),(0,l.jsx)(i.Wu,{className:"flex items-center justify-center",children:(0,l.jsx)("div",{className:"text-red-500",children:o})})]}):(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsx)(i.ZB,{children:"Ethernet"})}),(0,l.jsx)(i.Wu,{children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Link Status"}),(0,l.jsx)("span",{className:"text-base font-bold",children:t?(0,l.jsx)(a.E,{className:"h-8 w-full"}):"yes"===e.link_status?"Active":"Inactive"})]}),(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Link Speed"}),(0,l.jsx)("span",{className:"text-base font-bold",children:t?(0,l.jsx)(a.E,{className:"h-8 w-full"}):E(e.link_speed)})]}),(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Auto-negotiation"}),(0,l.jsx)("span",{className:"text-base font-bold",children:t?(0,l.jsx)(a.E,{className:"h-8 w-full"}):"on"===e.auto_negotiation?"Active":"Inactive"})]})]})})]})},C=e=>"".concat(Math.round(e/1048576)," MB"),R=()=>{let[e,s]=(0,n.useState)({total:0,used:0,available:0}),[t,r]=(0,n.useState)(!0);return(0,n.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 l=await e.json();s(l),t&&r(!1)}catch(e){console.error("Failed to fetch memory information"),t&&r(!1)}};e();let l=setInterval(e,2e3);return()=>clearInterval(l)},[t]),(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsx)(i.ZB,{children:"Memory"})}),(0,l.jsx)(i.Wu,{children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Total"}),t?(0,l.jsx)(a.E,{className:"h-6 w-24"}):(0,l.jsx)("span",{className:"text-base font-bold",children:C(e.total)})]}),(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Used"}),t?(0,l.jsx)(a.E,{className:"h-6 w-24"}):(0,l.jsx)("span",{className:"text-base font-bold",children:C(e.used)})]}),(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Available"}),t?(0,l.jsx)(a.E,{className:"h-6 w-24"}):(0,l.jsx)("span",{className:"text-base font-bold",children:C(e.available)})]})]})})]})},T={ms:{label:"ms",color:"hsl(var(--chart-4))"}},I=()=>new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"}),U=()=>{let[e,s]=(0,n.useState)(()=>{let e=localStorage.getItem("pingData");return e?JSON.parse(e):[]}),t=(0,n.useRef)(e);(0,n.useEffect)(()=>{t.current=e},[e]);let[r,d]=(0,n.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,u]=(0,n.useState)(()=>{let e=localStorage.getItem("pingData");return!e||0===JSON.parse(e).length}),[m,x]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let l=async()=>{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 l=await e.json();d(e=>null===e||m?l.latency:(n(e,l.latency,e=>d(e)),e));let r=I(),i=t.current,a={time:r,ms:l.latency,index:i.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?r:I()}));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&&u(!1)}catch(s){console.error("Failed to fetch ping latency",s),c&&e.length>0&&u(!1)}},n=(e,s,t)=>{let l=performance.now(),n=s-e,r=s=>{let i=Math.min((s-l)/1500,1);t(Math.round(e+n*(i<.5?4*i*i*i:1-Math.pow(-2*i+2,3)/2))),i<1&&requestAnimationFrame(r)};requestAnimationFrame(r)};l();let r=setInterval(l,5e3);return()=>clearInterval(r)},[]),(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,l.jsx)(i.ZB,{children:"Ping Latency"}),null!==r&&(0,l.jsxs)(o.E,{className:"text-normal font-bold transition-opacity duration-200 ".concat(m?"":"opacity-70"),children:[r," ms ",!m&&"(cached)"]})]}),(0,l.jsx)(i.Wu,{children:c?(0,l.jsx)(a.E,{className:"h-[200px] w-full"}):(0,l.jsx)(g.at,{config:T,children:(0,l.jsxs)(v.Q,{accessibilityLayer:!0,data:e,margin:{top:5,right:10,left:0,bottom:5},children:[(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:"fillPing",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"5%",stopColor:"var(--color-ms)",stopOpacity:.8}),(0,l.jsx)("stop",{offset:"95%",stopColor:"var(--color-ms)",stopOpacity:.1})]})}),(0,l.jsx)(j.d,{vertical:!1,stroke:"var(--border)",strokeOpacity:.2}),(0,l.jsx)(N.W,{dataKey:"index",tickLine:!1,axisLine:!1,tickMargin:5,tick:{fontSize:9},ticks:[1,2,3,4,5]}),(0,l.jsx)(w.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,l.jsx)(g.II,{cursor:!1,content:(0,l.jsx)(g.Nt,{labelFormatter:(s,t)=>{let l=e.find(e=>e.index===s);return l?"".concat(l.time):s},formatter:(e,s)=>["".concat(e," ms"),"Latency"]})}),(0,l.jsx)(b.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),B=t(93557),D=t(97801),L=t(14389),z=t(98969),G=t(17799),_=t(92776),P=t.n(_),F=t(7197),O=t(74043),q=t(22250);let Z=n.createContext(null);function H(){let e=n.useContext(Z);if(!e)throw Error("useCarousel must be used within a ");return e}let Q=n.forwardRef((e,s)=>{let{orientation:t="horizontal",opts:r,setApi:i,plugins:a,className:o,children:d,...c}=e,[u,m]=(0,O.A)({...r,axis:"horizontal"===t?"x":"y"},a),[x,p]=n.useState(!1),[h,f]=n.useState(!1),g=n.useCallback(e=>{e&&(p(e.canScrollPrev()),f(e.canScrollNext()))},[]),v=n.useCallback(()=>{null==m||m.scrollPrev()},[m]),j=n.useCallback(()=>{null==m||m.scrollNext()},[m]),N=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),j())},[v,j]);return n.useEffect(()=>{m&&i&&i(m)},[m,i]),n.useEffect(()=>{if(m)return g(m),m.on("reInit",g),m.on("select",g),()=>{null==m||m.off("select",g)}},[m,g]),(0,l.jsx)(Z.Provider,{value:{carouselRef:u,api:m,opts:r,orientation:t||((null==r?void 0:r.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:j,canScrollPrev:x,canScrollNext:h},children:(0,l.jsx)("div",{ref:s,onKeyDownCapture:N,className:(0,q.cn)("relative",o),role:"region","aria-roledescription":"carousel",...c,children:d})})});Q.displayName="Carousel";let W=n.forwardRef((e,s)=>{let{className:t,...n}=e,{carouselRef:r,orientation:i}=H();return(0,l.jsx)("div",{ref:r,className:"overflow-hidden",children:(0,l.jsx)("div",{ref:s,className:(0,q.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",t),...n})})});W.displayName="CarouselContent";let K=n.forwardRef((e,s)=>{let{className:t,...n}=e,{orientation:r}=H();return(0,l.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,q.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",t),...n})});K.displayName="CarouselItem";let J=n.forwardRef((e,s)=>{let{className:t,variant:n="outline",size:r="icon",...i}=e,{orientation:a,scrollPrev:o,canScrollPrev:d}=H();return(0,l.jsxs)(M.$,{ref:s,variant:n,size:r,className:(0,q.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...i,children:[(0,l.jsx)(F.A60,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});J.displayName="CarouselPrevious";let V=n.forwardRef((e,s)=>{let{className:t,variant:n="outline",size:r="icon",...i}=e,{orientation:a,scrollNext:o,canScrollNext:d}=H();return(0,l.jsxs)(M.$,{ref:s,variant:n,size:r,className:(0,q.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...i,children:[(0,l.jsx)(F.flY,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Next slide"})]})});V.displayName="CarouselNext";let $=e=>{let{id:s,bandNumber:t,earfcn:n,bandwidth:r,pci:a,rsrp:d,rsrq:c,sinr:u}=e;return(0,l.jsx)(i.Zp,{className:"p-8",children:(0,l.jsxs)("div",{className:"flex flex-row items-center gap-6 justify-between",children:[(0,l.jsxs)("div",{className:"grid gap-2 w-[180px]",children:[(0,l.jsx)("h2",{className:"text-md font-bold",children:"Band"}),(0,l.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[t.replace("LTE BAND ","B").replace("NR5G BAND ","N"),t.includes("NR5G")&&(0,l.jsx)(o.E,{className:"text-xs bg-blue-600 hover:bg-blue-800",children:"NR 5G"})]})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"E/ARFCN"}),(0,l.jsx)("p",{children:n})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"Bandwidth"}),(0,l.jsx)("p",{children:r})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"Physical Cell ID"}),(0,l.jsx)("p",{children:a})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"RSRP"}),(0,l.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,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"RSRQ"}),(0,l.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,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"SINR"}),(0,l.jsxs)(o.E,{className:parseInt(u)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(u)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[u," dB"]})]})]})})},Y=e=>{let{bands:s,isLoading:t}=e;return t?(0,l.jsxs)("div",{className:"flex items-center justify-center",children:[(0,l.jsx)("div",{className:"hidden lg:block w-full",children:(0,l.jsxs)(i.Zp,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,l.jsx)($,{...e},e.id)),(0,l.jsx)(i.wL,{className:"w-full p-6 flex items-center justify-center",children:(0,l.jsx)(i.BT,{className:"text-md",children:"Currently bands connected."})})]})}),(0,l.jsx)(Q,{className:"lg:hidden w-full max-w-xs",children:(0,l.jsx)(W,{children:(0,l.jsx)(K,{children:(0,l.jsx)("div",{className:"p-1",children:(0,l.jsx)(i.Zp,{children:(0,l.jsxs)(i.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"Band"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-16 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"E/ARFCN"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-16 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"Bandwidth"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-16 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"PCI"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-16 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRP"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-32 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRQ"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-32 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"SINR"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-32 h-4"})})]})]})})})})})})]}):(0,l.jsxs)("div",{className:"flex items-center justify-center",children:[(0,l.jsx)("div",{className:"hidden lg:block w-full",children:(0,l.jsxs)(i.Zp,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,l.jsx)($,{...e},e.id)),(0,l.jsx)(i.wL,{className:"w-full p-6 flex items-center justify-center",children:(0,l.jsx)(i.BT,{className:"text-md",children:"Current bands connected."})})]})}),(0,l.jsxs)(Q,{className:"lg:hidden w-full max-w-xs",children:[(0,l.jsx)(W,{children:null==s?void 0:s.map(e=>(0,l.jsx)(K,{className:"md:basis-1/2 lg:basis-1/3",children:(0,l.jsx)("div",{className:"p-1",children:(0,l.jsx)(i.Zp,{children:(0,l.jsxs)(i.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"Band"}),(0,l.jsx)("p",{children:e.bandNumber})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"E/ARFCN"}),(0,l.jsx)("p",{children:e.earfcn})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"Bandwidth"}),(0,l.jsx)("p",{children:e.bandwidth})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"PCI"}),(0,l.jsx)("p",{children:e.pci})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRP"}),(0,l.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,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRQ"}),(0,l.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,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"SINR"}),(0,l.jsxs)(o.E,{className:parseInt(e.sinr)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.sinr)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.sinr," dB"]})]})]})})})},e.id))}),(0,l.jsx)(J,{}),(0,l.jsx)(V,{})]})]})},X=e=>{try{var s,t;return(null==e?void 0:null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[2].replace(/"/g,"").trim())||"Unknown"}catch(e){return"-"}},ee=e=>{try{var s,t;return(null==e?void 0:null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[3].trim())||"Unknown"}catch(e){return"-"}},es=(e,s)=>{var t,l,n,r;switch((null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[1].trim())||(null===(r=s.split("\n")[1])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim())){case"1":return"Registered";case"2":return"Searching";case"3":return"Denied";case"4":return"Unknown";case"5":return"Roaming";default:return"Not Registered"}},et=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g),t=null==s?void 0:s.some(e=>e.includes("LTE")),l=null==s?void 0:s.some(e=>e.includes("NR5G"));return t&&l?"NR5G-NSA":t?"LTE":l?"NR5G-SA":"No Signal"},el=e=>{let s=["cpuss-0","cpuss-1","cpuss-2","cpuss-3"].map(s=>{var t;let l=e.split("\n").find(e=>e.includes(s));return parseInt(null==l?void 0:null===(t=l.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")},en=(e,s)=>{var t;let l=e.split("\n").find(e=>e.includes("PCC"));l=null==l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[2].trim();let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));n=n.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2].trim()});let r=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));if(r=r.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2].trim()}),"LTE"===s)return!n.length&&l?c[l]||"Unknown":[l?c[l]:"",...n.map(e=>c[e])].join(", ");if("NR5G-SA"===s&&l)return r.length?[u[l],...r.map(e=>u[e])].join(", "):u[l]||"Unknown";if("NR5G-NSA"===s&&l)return n.length||r.length?n.length&&!r.length?[c[l],...n.map(e=>c[e])].join(", "):[c[l],...n.map(e=>c[e]),...r.map(e=>u[e])].join(", "):c[l]||"Unknown";return"Unknown"},er=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g);return(null==s?void 0:s.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(null==e?void 0:e.split(" ")[2].replace(/"/g,"").trim()):void 0).join(", "))||"Unknown"},ei=e=>{var s,t;let l=e.split("\n").find(e=>e.includes("LTE")),n=e.split("\n").find(e=>e.includes("NR5G")),r=[],i=[];if(l&&(r=null==l?void 0:null===(s=l.split(":")[1])||void 0===s?void 0:s.split(",").slice(0,4).map(e=>parseInt(e.trim()))),n&&(i=null==n?void 0:null===(t=n.split(":")[1])||void 0===t?void 0:t.split(",").slice(0,4).map(e=>parseInt(e.trim()))),r=r.filter(e=>-140!==e&&-37625!==e&&-32768!==e),i=i.filter(e=>-140!==e&&-37625!==e&&-32768!==e),r.length){if(i.length){let e=r.reduce((e,s)=>e+s,0)/r.length,s=i.reduce((e,s)=>e+s,0)/i.length,t=Math.max(0,Math.min(100,(e+125)/50*100)),l=Math.max(0,Math.min(100,(s+125)/50*100));return"".concat(Math.round((t+l)/2),"%")}{let e=Math.max(0,Math.min(100,(r.reduce((e,s)=>e+s,0)/r.length+125)/50*100));return"".concat(Math.round(e),"%")}}if(!i.length)return"Unknown%";{let e=Math.max(0,Math.min(100,(i.reduce((e,s)=>e+s,0)/i.length+125)/50*100));return"".concat(Math.round(e),"%")}},ea=(e,s)=>{var t,l,n,r;return"NR5G-SA"===s||"LTE"===s?null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[6].trim():"NR5G-NSA"===s?null===(r=e.split("\n")[2])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[4].trim():"Unknown"},eo=(e,s)=>{var t,l,n,r,i,a;return"NR5G-SA"===s?null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[8].trim():"NR5G-NSA"===s?null===(r=e.split("\n")[2])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[10].trim():"LTE"===s?null===(a=e.split("\n")[1])||void 0===a?void 0:null===(i=a.split(":")[1])||void 0===i?void 0:i.split(",")[12].trim():"Unknown"},ed=(e,s)=>{var t,l;if("LTE"===s||"NR5G-NSA"===s){let l=e.split("\n").find(e=>e.includes("PCC"));l=null==l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[5].trim();let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));n=n.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5].trim()});let r=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(r=r.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[4].trim()}),n.length||r.length)?"LTE"===s?[l,...n].join(", "):[l,...n,...r].join(", "):l}if("NR5G-SA"===s){let s=e.split("\n").find(e=>e.includes("PCC"));s=null==s?void 0:null===(l=s.split(":")[1])||void 0===l?void 0:l.split(",")[4].trim();let t=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(t=t.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5].trim()})).length?[s,...t].join(", "):s}},ec=e=>{var s;let t=e.split("\n").find(e=>e.includes("PCC"));t=null==t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim();let l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));l=l.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim()});let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(n=n.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim()}),!t||l.length||n.length)?t&&l.length&&!n.length?[t,...l].join(", "):t&&!l.length&&n.length?[t,...n].join(", "):t&&l.length&&n.length?[t,...l,...n].join(", "):"Unknown":t},eu=(e,s)=>{var t,l,n,r;return"LTE"===s||"NR5G-SA"===s?null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[4].trim():"NR5G-NSA"===s?null===(r=e.split("\n")[2])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[2].trim():"Unknown"},em=(e,s)=>{var t,l,n,r;return"LTE"===s||"NR5G-SA"===s?null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[5].trim():"NR5G-NSA"===s?null===(r=e.split("\n")[2])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[3].trim():void 0},ex=e=>{let s=e.split("\n"),t=s.find(e=>e.includes("LTE")),l=s.find(e=>e.includes("NR5G")),n=e=>{var s;return e?null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>-140!==e&&-32768!==e):[]},r=e=>e.length?Math.max(0,Math.min(100,(e.reduce((e,s)=>e+s,0)/e.length- -10)/40*100)):0,i=n(t),a=n(l),o=r(i),d=r(a);return i.length&&a.length?"".concat(Math.round((o+d)/2),"%"):i.length?"".concat(Math.round(o),"%"):a.length?"".concat(Math.round(d),"%"):"Unknown%"},ep=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),t=e.split("\n").filter(e=>e.includes("NR5G BAND"));return s.length&&t.length?[...s,...t].map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[3].replace(/"/g,"")}):s.length?s.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[3].replace(/"/g,"")}):t.length?t.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[3].replace(/"/g,"")}):["Unknown"]},eh=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),t=e.split("\n").filter(e=>e.includes("NR5G BAND"));return s.length&&t.length?[...s,...t].map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1]}):s.length?s.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1]}):t.length?t.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1]}):["Unknown"]},ef=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),t=e.split("\n").filter(e=>e.includes("NR5G BAND")),l=s.map(e=>{var s;return c[null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2]]}),n=t.map(e=>{var s;return u[null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2]]});return l.length&&n.length?[...l,...n]:l.length?l:n.length?n:["Unknown"]},eg=(e,s)=>{if("NR5G-SA"===s){let s=e.split("\n"),t=[],l=s.find(e=>e.includes("PCC"));if(l){let e=l.split(":")[1].split(",")[4].trim();t.push(e||"Unknown")}for(let e of s.filter(e=>e.includes("SCC"))){let s=e.split(":")[1].split(",");t.push(s.length>5?s[5].trim():"Unknown")}return t.length>0?t:["Unknown"]}if("LTE"===s){var t;let s=e.split("\n").find(e=>e.includes("PCC"));s=s?null==s?void 0:null===(t=s.split(":")[1])||void 0===t?void 0:t.split(",")[4].trim():"Unknown";let l=e.split("\n").filter(e=>e.includes("LTE BAND"));return l.length?[s,...l.map(e=>{var s;return(null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5])||"Unknown"})]:[s]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")),t=e.split("\n").filter(e=>e.includes("NR5G BAND"));return[...s.map(e=>{var s;return(null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5])||"Unknown"}),...t.map(e=>{var s;return(null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[4])||"Unknown"})]}return["Unknown"]},ev=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[6]});if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[6]}),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[4]});return s.length&&l.length?[...s,...l]:s.length?s:l.length?l:["Unknown"]}if("NR5G-SA"===s){let e=t.split("\n").find(e=>e.includes("NR5G-SA"));if(e){var l;return[null==e?void 0:null===(l=e.split(":")[1])||void 0===l?void 0:l.split(",")[12]]}}return["Unknown"]},ej=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[7]});if("NR5G-SA"===s){var l;let e=t.split("\n").find(e=>e.includes("NR5G-SA"));return e?[null==e?void 0:null===(l=e.split(":")[1])||void 0===l?void 0:l.split(",")[13]]:["Unknown"]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[7]}),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[6]});if(s.length&&l.length)return[...s,...l];if(s.length)return s;if(l.length)return l}return["Unknown"]},eN=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[9]});if("NR5G-SA"===s){var l;let e=t.split("\n").find(e=>e.includes("NR5G-SA"));return e?[null==e?void 0:null===(l=e.split(":")[1])||void 0===l?void 0:l.split(",")[14]]:["Unknown"]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[9]}),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5]});if(s.length&&l.length)return[...s,...l];if(s.length)return s;if(l.length)return l}return["Unknown"]},ew=e=>{var s,t;let l=[-32768,-140],n=e.split("\n").find(e=>e.includes("LTE")),r=e.split("\n").find(e=>e.includes("NR5G")),i=[],a=[];return(n&&(i=null==n?void 0:null===(s=n.split(":")[1])||void 0===s?void 0:s.split(",").slice(0,4).map(e=>parseInt(e.trim()))),r&&(a=null==r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",").slice(0,4).map(e=>parseInt(e.trim()))),i=i.filter(e=>!l.includes(e)),a=a.filter(e=>!l.includes(e)),i.length)?a.length?"LTE ".concat(i.length.toString()," / NR ").concat(a.length.toString()):"LTE ".concat(i.length.toString()):a.length?"NR ".concat(a.length.toString()):"Unknown"},eb=()=>{let[e,s]=(0,n.useState)(null),[t,l]=(0,n.useState)(!0),[r,i]=(0,n.useState)(null),a=(0,n.useCallback)(async()=>{try{var e,t,l,n,r,a,o,d,c,u,m,x;let i=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=1"),p=await i.json();console.log(p);let h={simCard:{slot:(null===(e=p[0].response.split("\n")[1])||void 0===e?void 0:e.split(":")[1].trim())||"Unknown",state:p[6].response.match("READY")?"Inserted":"Not Inserted",provider:X(p[2].response)||"Unknown",phoneNumber:(null===(l=p[1].response.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[1].replace(/"/g,"").trim())||"Unknown",imsi:p[3].response.split("\n")[1].trim()||"Unknown",iccid:(null===(n=p[4].response.split("\n")[1])||void 0===n?void 0:n.split(":")[1].trim())||"Unknown",imei:p[5].response.split("\n")[1].trim()||"Unknown"},connection:{apn:(null===(a=p[7].response.split("\n")[1])||void 0===a?void 0:null===(r=a.split(":")[1])||void 0===r?void 0:r.split(",")[2].replace(/"/g,"").trim())||(null===(d=p[12].response.split("\n")[1])||void 0===d?void 0:null===(o=d.split(":")[1])||void 0===o?void 0:o.split(",")[2].replace(/"/g,"").trim())||"Unknown",operatorState:es(p[8].response,p[16].response)||"Unknown",functionalityState:(null===(c=p[9].response.split("\n")[1])||void 0===c?void 0:c.split(":")[1].trim())==="1"?"Enabled":"Disabled",networkType:et(p[13].response)||"No Signal",modemTemperature:el(p[11].response)||"Unknown",accessTechnology:ee(p[2].response)||"Unknown"},dataTransmission:{carrierAggregation:(null===(u=p[13].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g))||void 0===u?void 0:u.length)>1?"Multi":"Inactive",bandwidth:en(p[13].response,et(p[13].response))||"Unknown",connectedBands:er(p[13].response)||"Unknown",signalStrength:ei(p[14].response)||"Unknown",mimoLayers:ew(p[14].response)||"Unknown"},cellularInfo:{cellId:ea(p[10].response,et(p[13].response))||"Unknown",trackingAreaCode:eo(p[10].response,et(p[13].response))||"Unknown",physicalCellId:ed(p[13].response,et(p[13].response)),earfcn:ec(p[13].response),mcc:eu(p[10].response,et(p[13].response))||"Unknown",mnc:em(p[10].response,et(p[13].response))||"Unknown",signalQuality:ex(p[19].response)||"Unknown"},currentBands:{id:Array.from({length:null!==(x=null===(m=ep(p[13].response))||void 0===m?void 0:m.length)&&void 0!==x?x:0},(e,s)=>s+1)||[1],bandNumber:ep(p[13].response)||["Unknown"],earfcn:eh(p[13].response),bandwidth:ef(p[13].response)||["Unknown"],pci:eg(p[13].response,et(p[13].response))||["Unknown"],rsrp:ev(p[13].response,et(p[13].response),p[10].response),rsrq:ej(p[13].response,et(p[13].response),p[10].response)||["Unknown"],sinr:eN(p[13].response,et(p[13].response),p[10].response)||["Unknown"]}};s(h),console.log("Processed home data:",h)}catch(e){console.error("Error fetching home data:",e),s({simCard:{slot:"Unknown",state:"Not Inserted",provider:"Unknown",phoneNumber:"Unknown",imsi:"Unknown",iccid:"Unknown",imei:"Unknown"},connection:{apn:"Unknown",operatorState:"Unknown",functionalityState:"Disabled",networkType:"No Signal",modemTemperature:"Unknown",accessTechnology:"Unknown"},dataTransmission:{carrierAggregation:"Inactive",connectedBands:"Unknown",signalStrength:"Unknown",mimoLayers:"Unknown"},cellularInfo:{cellId:"Unknown",trackingAreaCode:"Unknown",physicalCellId:"Unknown",earfcn:"Unknown",mnc:"Unknown",signalQuality:"Unknown"},currentBands:{id:[1],bandNumber:["Unknown"],earfcn:["Unknown"],bandwidth:["Unknown"],pci:["Unknown"],rsrp:["Unknown"],rsrq:["Unknown"],sinr:["Unknown"]}}),i(null)}},[]);return(0,n.useEffect)(()=>{let e,s=!0;return(async()=>{if(s)try{await a()}finally{s&&l(!1)}})(),e=setInterval(()=>{a()},15e3),()=>{s=!1,clearInterval(e)}},[a]),{data:e,isLoading:t,error:r,refresh:(0,n.useCallback)(async()=>{l(!0),await a(),l(!1)},[a])}},ey=()=>{let[e,s]=(0,n.useState)("Unknown"),[t,l]=(0,n.useState)(!0),r=(0,n.useCallback)(async()=>{try{l(!0);let e=await fetch("/cgi-bin/quecmanager/home/check_net.sh"),t=await e.json();s("ACTIVE"===t.connection?"Connected":"Disconnected"),l(!1)}catch(e){console.error("Error fetching data connection state:",e),s("Unknown"),l(!1)}},[]);return(0,n.useEffect)(()=>{r();let e=setInterval(r,3e4);return()=>clearInterval(e)},[r]),{dataConnectionState:e,refresh:(0,n.useCallback)(()=>{r()},[r]),isStateLoading:t}},ek=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,n.useState)("0 Bytes"),[t,l]=(0,n.useState)("0 Bytes"),[r,i]=(0,n.useState)(""),a=e=>{var t,n;let r=Array.isArray(e)?e[e.length-1]:e;if(!r)return;i(r.datetime);let a=r.output.replace(/\r\\n/g,"\n").trim().split("\n").filter(e=>e.trim()),o=null===(t=a.find(e=>e.includes("+QGDCNT:")))||void 0===t?void 0:t.trim(),d=null===(n=a.find(e=>e.includes("+QGDNRCNT:")))||void 0===n?void 0:n.trim();if(!o||!d){console.error("Missing required data in response");return}let[c,u]=o.replace("+QGDCNT:","").split(",").map(e=>parseInt(e.trim())),[m,x]=d.replace("+QGDNRCNT:","").split(",").map(e=>parseInt(e.trim()));s(ek((u||0)+(m||0))),l(ek((c||0)+(x||0)))},o=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_data_usage.sh"),s=await e.json();a(s)}catch(e){console.error("Error fetching traffic stats:",e)}},[]);return(0,n.useEffect)(()=>{o();let e=setInterval(o,12e3);return()=>clearInterval(e)},[o]),{bytesSent:e,bytesReceived:t,lastUpdateTime:r,refresh:(0,n.useCallback)(()=>{o()},[o])}},eE=()=>{let[e,s]=(0,n.useState)(!1),[t,l]=(0,n.useState)(null),r=(e,s)=>{var t,l,n,r;let i=null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[1].trim(),a=null===(r=s.split("\n")[1])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim();return"1"===i||"1"===a?"Registered":"Not Registered"},i=(e,s)=>{var t,l,n,r;return(null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[2].replace(/"/g,"").trim())===(null===(r=s.split("\n")[1])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[2].replace(/"/g,"").trim())?"Enabled":"Disabled"},a=e=>{var s,t,l,n;let r=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(),i=null===(n=e.split("\n")[2])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[1].trim();return r&&"1"===r||i&&"1"===i?"Connected":"Disconnected"},o=e=>{try{var s,t,l,n;let r=e.trim().split("\n").map(e=>e.trim()),i=r.find(e=>e.includes("+QRSRP:")&&e.includes("LTE")),a=r.find(e=>e.includes("+QRSRP:")&&e.includes("NR5G")),o=[];i&&(o=null==i?void 0:null===(t=i.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(a&&(d=null==a?void 0:null===(n=a.split(":")[1])||void 0===n?void 0:null===(l=n.split(","))||void 0===l?void 0:l.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,l,n,r,i;let a=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===(n=e.split("\n")[2])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[1].trim(),d=null===(i=e.split("\n")[3])||void 0===i?void 0:null===(r=i.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim(),c=["0"!==a?"".concat(a):null,"0"!==o?"".concat(o):null,"0"!==d?"".concat(d):null].filter(Boolean);return c.length>0?c.join(", "):"None"};return{isRunningDiagnostics:e,runDiagnosticsData:t,startDiagnostics:async()=>{s(!0);try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=6"),s=await e.json();console.log("Diagnostics data:",s);let t={netRegistration:r(s[0].response,s[1].response),simState:s[2].response.split("\n")[1].split(":")[1].trim(),manualAPN:i(s[3].response,s[4].response),wanIP:a(s[5].response),cellSignal:o(s[6].response),modemTemp:d(s[7].response),netReject:c(s[8].response)};return l(t),t}catch(e){throw console.error("Error running diagnostics:",e),e}finally{s(!1)}}}};var eA=t(80159),eC=t(71602);let eR=e=>{let{shouldScaleBackground:s=!0,...t}=e;return(0,l.jsx)(eC._s.Root,{shouldScaleBackground:s,...t})};eR.displayName="Drawer";let eT=eC._s.Trigger,eI=eC._s.Portal;eC._s.Close;let eU=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(eC._s.Overlay,{ref:s,className:(0,q.cn)("fixed inset-0 z-50 bg-black/80",t),...n})});eU.displayName=eC._s.Overlay.displayName;let eM=n.forwardRef((e,s)=>{let{className:t,children:n,...r}=e;return(0,l.jsxs)(eI,{children:[(0,l.jsx)(eU,{}),(0,l.jsxs)(eC._s.Content,{ref:s,className:(0,q.cn)("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",t),...r,children:[(0,l.jsx)("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),n]})]})});eM.displayName="DrawerContent",n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(eC._s.Title,{ref:s,className:(0,q.cn)("text-lg font-semibold leading-none tracking-tight",t),...n})}).displayName=eC._s.Title.displayName,n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(eC._s.Description,{ref:s,className:(0,q.cn)("text-sm text-muted-foreground",t),...n})}).displayName=eC._s.Description.displayName;var eB=t(12607),eD=t(25262),eL=t(8782),ez=t(10964),eG=t(89463),e_=t(90304),eP=t(622),eF=t(20633),eO=t(7778),eq=t(99312),eZ=t(92823),eH=t(71834);let eQ=e=>{if(null==e)return"N/A";let s=["B","KB","MB","GB"],t=e,l=0;for(;t>=1024&&l{if(null==e)return"N/A";let s=["bps","Kbps","Mbps","Gbps"],t=8*e,l=0;for(;t>=1e3&&l{let[e,s]=(0,n.useState)(null),[t,r]=(0,n.useState)(null),[a,o]=(0,n.useState)(!1),[d,c]=(0,n.useState)(null),[u,m]=(0,n.useState)(!1),[x,p]=(0,n.useState)(!1),[h,f]=(0,n.useState)(!1),[g,v]=(0,n.useState)(0),[j,N]=(0,n.useState)(!1),[w,b]=(0,n.useState)(!1),y=(0,n.useRef)(null),k=(0,n.useRef)(null),S=(0,n.useCallback)(()=>{s(null),r(null),c(null),m(!1),p(!1),f(!1),v(0),y.current=null},[]),E=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/keep_alive.sh?status=true"),s=await e.json();if(s.enabled){let e=new Date,t=60*e.getHours()+e.getMinutes(),[l,n]=s.start_time.split(":").map(Number),[r,i]=s.end_time.split(":").map(Number);b(t>=60*l+n&&t<=60*r+i)}else b(!1)}catch(e){console.error("Failed to check keep-alive schedule:",e),b(!1)}},[]);(0,n.useEffect)(()=>{E();let e=setInterval(E,6e4);return()=>clearInterval(e)},[E]),(0,n.useEffect)(()=>{if(u&&!x){N(!0);let e=setTimeout(()=>{N(!1)},1e4);return()=>clearTimeout(e)}},[u,x]),(0,n.useEffect)(()=>()=>{k.current&&k.current.abort()},[]);let A=(0,n.useCallback)(async()=>{if(!j&&!w)try{if(S(),f(!0),k.current&&k.current.abort(),!(await fetch("/cgi-bin/quecmanager/home/speedtest/start_speedtest.sh",{method:"GET"})).ok)throw Error("Failed to start speedtest");C()}catch(e){console.error("Speedtest start error:",e),c(e instanceof Error?"Failed to start speedtest: ".concat(e.message):"Failed to start speedtest"),f(!1)}},[j,w,S]),C=(0,n.useCallback)(()=>{k.current=new AbortController,o(!1),p(!0),f(!1);try{fetch("/cgi-bin/quecmanager/home/speedtest/speedtest_stream.sh",{method:"GET",signal:k.current.signal}).then(async e=>{var l;if(!e.ok)throw Error("Network response was not ok");o(!0);let n=null===(l=e.body)||void 0===l?void 0:l.getReader(),i=new TextDecoder;if(!n)throw Error("Unable to get reader from response body");let a="";for(;;){let{done:e,value:l}=await n.read();if(e)break;let o=i.decode(l,{stream:!0}),d=(a+=o).split("\n\n");for(let e of(a=d.pop()||"",d))if(e.startsWith("data: "))try{let l=JSON.parse(e.replace("data: ","").trim());switch(l.type){case"ping":r("ping"),v(l.ping.progress);break;case"download":case"upload":"ping"!==t&&r(l.type);break;case"result":m(!0),p(!1),n.cancel()}y.current=l,s(l)}catch(e){console.error("Parsing error:",e)}}}).catch(e=>{"AbortError"!==e.name&&(console.error("Fetch error:",e),c("Connection failed: ".concat(e instanceof Error?e.message:String(e))),p(!1))})}catch(e){console.error("Failed to initialize fetch:",e),c("Failed to connect to speedtest stream"),p(!1)}},[t]);return(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsx)(i.ZB,{children:"Network Speedtest"})}),(0,l.jsxs)(i.Wu,{className:"flex flex-col gap-6 p-4 items-center justify-center",children:[(0,l.jsxs)(eR,{children:[(0,l.jsx)(eT,{asChild:!0,children:(0,l.jsxs)("div",{className:"relative flex flex-col items-center justify-center",children:[(0,l.jsx)(eH.A,{color:"#5420ab",size:192,className:"-top-8 -left-8 absolute",style:{zIndex:1}}),(0,l.jsx)(L.A,{className:"size-32 ".concat(w?"text-gray-400 cursor-not-allowed":"text-primary cursor-pointer"," z-10"),onClick:A})]})}),(0,l.jsx)(eM,{children:(0,l.jsx)("div",{className:"lg:max-w-full max-w-sm mx-auto min-w-sm p-6 py-12",children:(()=>{var s,n,r,a,o,c,m,x,p,f,v;if(d)return(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,l.jsx)(eB.A,{className:"text-rose-600 lg:size-48 size-16 animate-pulse"}),(0,l.jsx)("h3",{className:"text-xl font-semibold",children:"Network Speedtest Failed"}),(0,l.jsxs)("p",{className:"text-sm text-gray-500",children:["Something went wrong while running the speedtest.",(0,l.jsx)("p",{className:"underline cursor-pointer ml-2",onClick:A,children:"Please try again."})]})]});if(h)return(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,l.jsx)(eD.A,{className:"text-primary lg:size-48 size-16 animate-pulse"}),(0,l.jsx)("h3",{className:"text-xl font-semibold",children:"Initiating Network Speedtest"}),(0,l.jsx)("p",{className:"text-sm text-gray-500 text-center",children:"Locating and establishing a connection to a server. Please wait..."})]});if("ping"===t)return(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,l.jsx)(eL.A,{className:"text-gray-600 size-16 animate-pulse"}),(0,l.jsx)("h3",{className:"text-xl font-semibold",children:"Calculating Ping Latency"}),(0,l.jsx)("div",{className:"w-full bg-gray-200 rounded-full h-2.5",children:(0,l.jsx)("div",{className:"bg-blue-600 h-2.5 rounded-full",style:{width:"".concat(100*(g||0),"%")}})}),(0,l.jsx)("p",{className:"text-sm text-gray-500",children:(null==e?void 0:e.ping)?"Latency: ".concat(e.ping.latency.toFixed(2)," ms, \n Jitter: ").concat(e.ping.jitter.toFixed(2)," ms"):"Measuring network responsiveness..."})]});if(u)return(0,l.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4 w-full min-w-sm",children:[(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsxs)(i.ZB,{className:"flex items-center",children:[(0,l.jsx)(ez.A,{className:"mr-4 text-violet-600"})," Speedtest Result"]})}),(0,l.jsx)(i.Wu,{className:"lg:py-12 py-6 min-w-sm w-full",children:(0,l.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,l.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(eG.A,{className:"text-green-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"font-semibold",children:"Download"})]}),(0,l.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:eW(null==e?void 0:e.download.bandwidth)}),(0,l.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,l.jsx)(e_.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,l.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(m=null==e?void 0:null===(a=e.download.latency)||void 0===a?void 0:null===(r=a.iqm)||void 0===r?void 0:r.toFixed(2))&&void 0!==m?m:"N/A"," ","ms"]})]})]}),(0,l.jsxs)("div",{className:"grid gap-1.5 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(eP.A,{className:"text-violet-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"font-semibold",children:"Upload"})]}),(0,l.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:eW(null==e?void 0:e.upload.bandwidth)}),(0,l.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,l.jsx)(e_.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,l.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(x=null==e?void 0:null===(c=e.upload.latency)||void 0===c?void 0:null===(o=c.iqm)||void 0===o?void 0:o.toFixed(2))&&void 0!==x?x:"N/A"," ","ms"]})]})]})]})}),(0,l.jsxs)(i.wL,{className:"mt-4 grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,l.jsx)(eL.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Ping"})]}),(0,l.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(p=null==e?void 0:e.ping.latency.toFixed(2))&&void 0!==p?p:"N/A"," ms"]})]}),(0,l.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,l.jsx)(eF.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Jitter"})]}),(0,l.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(f=null==e?void 0:e.ping.jitter.toFixed(2))&&void 0!==f?f:"N/A"," ms"]})]})]})]}),(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsxs)(i.ZB,{className:"flex items-center",children:[(0,l.jsx)(eO.A,{className:"mr-4 text-blue-600"})," Connection & Server Details"]})}),(0,l.jsx)(i.Wu,{children:(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"ISP:"}),(0,l.jsx)("p",{children:null==e?void 0:e.isp})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Internal IP:"}),(0,l.jsx)("p",{children:null==e?void 0:e.interface.internalIp})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"External IP:"}),(0,l.jsx)("p",{children:null==e?void 0:e.interface.externalIp})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Server Name:"}),(0,l.jsx)("p",{children:null==e?void 0:e.server.name})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Location:"}),(0,l.jsx)("p",{children:null==e?void 0:e.server.location})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Country:"}),(0,l.jsx)("p",{children:null==e?void 0:e.server.country})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Server IP:"}),(0,l.jsx)("p",{children:null==e?void 0:e.server.host})]}),(null==e?void 0:e.result.url)&&(0,l.jsxs)("div",{className:"flex items-center gap-x-2 mt-4",children:[(0,l.jsx)(eq.A,{className:"text-blue-600 size-4"}),(0,l.jsx)("a",{href:e.result.url,target:"_blank",rel:"noopener noreferrer",className:"font-medium text-blue-600 hover:underline",children:"View Full Result Online"})]})]})})]})]});if(!t||!e)return null;let j=e[t],N="download"===t;return(0,l.jsxs)(i.Zp,{className:"p-4 w-full",children:[(0,l.jsx)(i.aR,{children:(0,l.jsxs)(i.ZB,{className:"flex items-center",children:[N?(0,l.jsx)(eG.A,{className:"text-green-500 lg:size-6 size-4 mr-1"}):(0,l.jsx)(eP.A,{className:"text-violet-500 lg:size-6 size-4 mr-1"}),(0,l.jsxs)("p",{className:"ml-2",children:["Testing ",N?"Download":"Upload"," Speed"]})]})}),(0,l.jsx)(i.Wu,{children:(0,l.jsx)("div",{className:"grid place-items-center max-w-sm lg:max-w-full mx-auto w-full",children:(0,l.jsx)("h1",{className:"lg:text-[4rem] text-[3rem] font-semibold text-center",children:eW(j.bandwidth)})})}),(0,l.jsx)(i.wL,{children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-1 grid-flow-row gap-4",children:[(0,l.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(eZ.A,{className:"mr-2 text-yellow-600"}),"Bytes Transferred"]}),(0,l.jsx)("p",{className:"lg:text-md text-base text-muted font-semibold",children:eQ(j.bytes)})]}),(0,l.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(ez.A,{className:"mr-2 text-purple-600"}),"Elapsed Time"]}),(0,l.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[(j.elapsed/1e3).toFixed(2)," sec"]})]}),(0,l.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(eL.A,{className:"mr-2 text-gray-600"}),"Latency (IQM)"]}),(0,l.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[null!==(v=null===(n=j.latency)||void 0===n?void 0:null===(s=n.iqm)||void 0===s?void 0:s.toFixed(2))&&void 0!==v?v:"N/A"," ms"]})]})]})})]})})()})})]}),(0,l.jsx)(i.BT,{children:w?"Speedtest is disabled during keep-alive schedule.":j?"Please wait 10 seconds before starting another test.":"Run a speed test to check your internet connection."})]})]})};var eJ=t(88926);let eV=()=>{let{toast:e}=(0,r.dj)(),[s,t]=(0,n.useState)(!1),{data:i,isLoading:a,refresh:o}=eb(),{dataConnectionState:c,isStateLoading:u,refresh:m}=ey(),{isRunningDiagnostics:x,runDiagnosticsData:g,startDiagnostics:v}=eE(),{bytesSent:j,bytesReceived:N,refresh:w}=eS(),b=async()=>{try{var s,t;let l=await (0,eJ.a)("AT+QUIMSLOT?"),n=null===(s=l.response)||void 0===s?void 0:s.raw_output.split("\n")[1].split(":")[1].trim(),r=await (0,eJ.a)("1"===n?"AT+QUIMSLOT=2":"AT+QUIMSLOT=1");if("error"===r.status||(null===(t=r.response)||void 0===t?void 0:t.status)==="error")throw Error("Failed to change SIM slot");e({title:"SIM Slot Changed",description:"The SIM slot has been changed successfully"}),setTimeout(async()=>{await (0,eJ.a)("AT+COPS=2"),setTimeout(async()=>{let s=await (0,eJ.a)("AT+COPS=0");if("error"===s.status)throw Error("Failed to reconnect to the network");e({title:"Network Reconnected",description:"The device has been reconnected to the network"})},2e3)},3e3),setTimeout(y,3e3)}catch(s){console.error("Error changing SIM slot:",s),e({variant:"destructive",title:"SIM Slot Change Failed",description:s instanceof Error?s.message:"Failed to change the SIM slot"})}},y=(0,n.useCallback)(async()=>{try{await Promise.all([o(),m(),w()])}catch(s){console.error("Error refreshing data:",s),e({variant:"destructive",title:"Refresh Failed",description:"Failed to refresh the data"})}},[o,m,w]),[k,E]=(0,n.useState)([]),C=async()=>{try{await v()}catch(e){console.error("Error running diagnostics:",e)}};return(0,n.useEffect)(()=>{g&&console.log("Diagnostics data updated:",g)},[g]),(0,n.useEffect)(()=>{if(i&&i.currentBands){var e;let s=null===(e=i.currentBands.id)||void 0===e?void 0:e.map((e,s)=>{var t,l,n,r,a,o,d;return{id:e,bandNumber:(null===(t=i.currentBands.bandNumber)||void 0===t?void 0:t[s])||"N/A",earfcn:(null===(l=i.currentBands.earfcn)||void 0===l?void 0:l[s])||"N/A",bandwidth:(null===(n=i.currentBands.bandwidth)||void 0===n?void 0:n[s])||"N/A",pci:(null===(r=i.currentBands.pci)||void 0===r?void 0:r[s])||"N/A",rsrp:(null===(a=i.currentBands.rsrp)||void 0===a?void 0:a[s])||"N/A",rsrq:(null===(o=i.currentBands.rsrq)||void 0===o?void 0:o[s])||"N/A",sinr:(null===(d=i.currentBands.sinr)||void 0===d?void 0:d[s])||"N/A"}});s&&E(s)}},[i]),(0,n.useEffect)(()=>{a||(null==i?void 0:i.simCard.state)!=="Not Inserted"||t(!0)},[i,a]),(0,l.jsxs)("div",{className:"grid xl:gap-y-12 gap-y-8 gap-4",children:[(0,l.jsxs)("div",{className:"grid gap-4",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,l.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,l.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Connection Summary"}),(0,l.jsx)(M.$,{variant:"ghost",size:"icon",className:"text-sm",onClick:y,children:(0,l.jsx)(D.A,{className:"xl:size-6 size-5 text-blue-500",strokeWidth:3})})]}),(0,l.jsxs)("div",{className:"flex flex-row items-center gap-x-2",children:[(null==i?void 0:i.simCard.state)==="Not Inserted"&&(0,l.jsxs)(B.lG,{open:s,onOpenChange:t,children:[(0,l.jsx)(B.zM,{asChild:!0,children:(0,l.jsxs)(M.$,{variant:"destructive",children:[(0,l.jsx)(eA.fU4,{className:"xl:size-6 size-5"}),(0,l.jsx)("span",{className:"hidden md:block",children:"No SIM"})]})}),(0,l.jsxs)(B.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(B.c7,{children:(0,l.jsx)(B.L3,{children:"No SIM Detected"})}),(0,l.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,l.jsx)("div",{className:"flex items-center justify-center",children:(0,l.jsx)(eA.fU4,{className:"xl:size-14 md:size-12 size-6 text-red-500"})}),(0,l.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,l.jsxs)("div",{className:"flex justify-end mt-4",children:[(0,l.jsx)(M.$,{onClick:b,className:"mr-2",children:"Change SIM Slot"}),(0,l.jsx)(B.HM,{asChild:!0,children:(0,l.jsx)(M.$,{variant:"secondary",onClick:()=>t(!1),children:"Close"})})]})]})]}),(0,l.jsxs)(B.lG,{children:[(0,l.jsx)(B.zM,{children:(0,l.jsxs)(M.$,{variant:"secondary",onClick:C,children:[(0,l.jsx)(L.A,{className:"xl:size-6 size-5"}),(0,l.jsx)("span",{className:"hidden md:block",children:"Run Diagnostics"})]})}),!x&&(0,l.jsxs)(B.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(B.c7,{children:(0,l.jsx)(B.L3,{children:"Diagnostics Result"})}),(0,l.jsx)(B.rr,{children:"This is the result of the diagnostic test ran on your device."}),(0,l.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Network Registration "}),(null==g?void 0:g.netRegistration)==="Registered"?(0,l.jsx)(z.A,{className:"text-green-500"}):(0,l.jsx)(G.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"U-SIM State"}),(null==g?void 0:g.simState)==="READY"?(0,l.jsx)(z.A,{className:"text-green-500"}):(0,l.jsx)(G.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Manual APN"}),(null==g?void 0:g.manualAPN)==="Enabled"?(0,l.jsx)(z.A,{className:"text-green-500"}):(0,l.jsx)(G.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"WAN IP"}),(null==g?void 0:g.wanIP)==="Connected"?(0,l.jsx)(z.A,{className:"text-green-500"}):(0,l.jsx)(G.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Cellular Signal"}),(null==g?void 0:g.cellSignal)==="Good"?(0,l.jsx)(z.A,{className:"text-green-500"}):(0,l.jsx)(G.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Modem Temperature"}),(null==g?void 0:g.modemTemp)==="Normal"?(0,l.jsx)(z.A,{className:"text-green-500"}):(0,l.jsx)(G.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between mt-6",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Net Reject Cause"}),(null==g?void 0:g.netReject)==="None"?(0,l.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,l.jsx)(z.A,{className:"text-green-500"}),(0,l.jsx)("span",{children:"None"})]}):(0,l.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,l.jsx)(G.A,{className:"text-red-500"}),(0,l.jsx)("span",{children:null==g?void 0:g.netReject})]})]})]})]}),x&&(0,l.jsxs)(B.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(B.c7,{children:(0,l.jsx)(B.L3,{children:"Running Diagnostics"})}),(0,l.jsx)("div",{className:"flex items-center justify-center my-4",children:(0,l.jsx)(P(),{color:"#6D28D9"})}),(0,l.jsx)(B.rr,{className:"text-center",children:"Please wait while we run diagnostics on your device."})]})]})]})]}),(0,l.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,l.jsx)("div",{children:(0,l.jsx)(S,{})}),(0,l.jsxs)("div",{className:"grid gap-2 lg:grid-cols-2 grid-cols-1 grid-flow-row",children:[(0,l.jsx)(A,{}),(0,l.jsx)(R,{}),(0,l.jsx)(eK,{}),(0,l.jsx)(U,{})]})]}),(0,l.jsxs)("div",{className:"grid 2xl:grid-cols-4 lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,l.jsx)(d,{data:i,isLoading:a}),(0,l.jsx)(p,{data:i,isLoading:a,dataConnectionState:c,connectionStateLoading:u}),(0,l.jsx)(h,{data:i,isLoading:a,bytesSent:j,bytesReceived:N}),(0,l.jsx)(f,{data:i,isLoading:a})]})]}),(0,l.jsxs)("div",{className:"grid xl:gap-6 gap-4",children:[(0,l.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Current Active Bands"}),(0,l.jsx)(Y,{bands:k,isLoading:a})]})]})}},45934:(e,s,t)=>{"use strict";t.d(s,{E:()=>a});var l=t(20475);t(20107);var n=t(29395),r=t(22250);let i=(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 a(e){let{className:s,variant:t,...n}=e;return(0,l.jsx)("div",{className:(0,r.cn)(i({variant:t}),s),...n})}},42541:(e,s,t)=>{"use strict";t.d(s,{$:()=>d,r:()=>o});var l=t(20475),n=t(20107),r=t(61837),i=t(29395),a=t(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=n.forwardRef((e,s)=>{let{className:t,variant:n,size:i,asChild:d=!1,...c}=e,u=d?r.DX:"button";return(0,l.jsx)(u,{className:(0,a.cn)(o({variant:n,size:i,className:t})),ref:s,...c})});d.displayName="Button"},72167:(e,s,t)=>{"use strict";t.d(s,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>i,aR:()=>a,wL:()=>u});var l=t(20475),n=t(20107),r=t(22250);let i=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...n})});i.displayName="Card";let a=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("flex flex-col space-y-1.5 p-6",t),...n})});a.displayName="CardHeader";let o=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("h3",{ref:s,className:(0,r.cn)("font-semibold leading-none tracking-tight",t),...n})});o.displayName="CardTitle";let d=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("p",{ref:s,className:(0,r.cn)("text-sm text-muted-foreground",t),...n})});d.displayName="CardDescription";let c=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("p-6 pt-0",t),...n})});c.displayName="CardContent";let u=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("flex items-center p-6 pt-0",t),...n})});u.displayName="CardFooter"},1307:(e,s,t)=>{"use strict";t.d(s,{II:()=>p,Nt:()=>h,at:()=>m});var l=t(20475),n=t(20107),r=t(81155),i=t(58601),a=t(58736),o=t(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,s)=>{let{id:t,className:i,children:a,config:d,...u}=e,m=n.useId(),p="chart-".concat(t||m.replace(/:/g,""));return(0,l.jsx)(c.Provider,{value:{config:d},children:(0,l.jsxs)("div",{"data-chart":p,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",i),...u,children:[(0,l.jsx)(x,{id:p,config:d}),(0,l.jsx)(r.u,{children:a})]})})});m.displayName="Chart";let x=e=>{let{id:s,config:t}=e,n=Object.entries(t).filter(e=>{let[s,t]=e;return t.theme||t.color});return n.length?(0,l.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(d).map(e=>{let[t,l]=e;return"\n".concat(l," [data-chart=").concat(s,"] {\n").concat(n.map(e=>{var s;let[l,n]=e,r=(null===(s=n.theme)||void 0===s?void 0:s[t])||n.color;return r?" --color-".concat(l,": ").concat(r,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null},p=i.m,h=n.forwardRef((e,s)=>{let{active:t,payload:r,className:i,indicator:a="dot",hideLabel:d=!1,hideIndicator:c=!1,label:m,labelFormatter:x,labelClassName:p,formatter:h,color:g,nameKey:v,labelKey:j}=e,{config:N}=u(),w=n.useMemo(()=>{var e;if(d||!(null==r?void 0:r.length))return null;let[s]=r,t="".concat(j||s.dataKey||s.name||"value"),n=f(N,s,t),i=j||"string"!=typeof m?null==n?void 0:n.label:(null===(e=N[m])||void 0===e?void 0:e.label)||m;return x?(0,l.jsx)("div",{className:(0,o.cn)("font-medium",p),children:x(i,r)}):i?(0,l.jsx)("div",{className:(0,o.cn)("font-medium",p),children:i}):null},[m,x,r,d,p,N,j]);if(!t||!(null==r?void 0:r.length))return null;let b=1===r.length&&"dot"!==a;return(0,l.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",i),children:[b?null:w,(0,l.jsx)("div",{className:"grid gap-1.5",children:r.map((e,s)=>{let t="".concat(v||e.name||e.dataKey||"value"),n=f(N,e,t),r=g||e.payload.fill||e.color;return(0,l.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"===a&&"items-center"),children:h&&(null==e?void 0:e.value)!==void 0&&e.name?h(e.value,e.name,e,s,e.payload):(0,l.jsxs)(l.Fragment,{children:[(null==n?void 0:n.icon)?(0,l.jsx)(n.icon,{}):!c&&(0,l.jsx)("div",{className:(0,o.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===a,"w-1":"line"===a,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===a,"my-0.5":b&&"dashed"===a}),style:{"--color-bg":r,"--color-border":r}}),(0,l.jsxs)("div",{className:(0,o.cn)("flex flex-1 justify-between leading-none",b?"items-end":"items-center"),children:[(0,l.jsxs)("div",{className:"grid gap-1.5",children:[b?w:null,(0,l.jsx)("span",{className:"text-muted-foreground",children:(null==n?void 0:n.label)||e.name})]}),e.value&&(0,l.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 l="payload"in s&&"object"==typeof s.payload&&null!==s.payload?s.payload:void 0,n=t;return t in s&&"string"==typeof s[t]?n=s[t]:l&&t in l&&"string"==typeof l[t]&&(n=l[t]),n in e?e[n]:e[t]}h.displayName="ChartTooltip",a.s,n.forwardRef((e,s)=>{let{className:t,hideIcon:n=!1,payload:r,verticalAlign:i="bottom",nameKey:a}=e,{config:d}=u();return(null==r?void 0:r.length)?(0,l.jsx)("div",{ref:s,className:(0,o.cn)("flex items-center justify-center gap-4","top"===i?"pb-3":"pt-3",t),children:r.map(e=>{let s="".concat(a||e.dataKey||"value"),t=f(d,e,s);return(0,l.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)&&!n?(0,l.jsx)(t.icon,{}):(0,l.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:()=>h,HM:()=>u,L3:()=>f,c7:()=>p,lG:()=>o,rr:()=>g,zM:()=>d});var l=t(20475),n=t(20107),r=t(60241),i=t(7197),a=t(22250);let o=r.bL,d=r.l9,c=r.ZL,u=r.bm,m=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(r.hJ,{ref:s,className:(0,a.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...n})});m.displayName=r.hJ.displayName;let x=n.forwardRef((e,s)=>{let{className:t,children:n,...o}=e;return(0,l.jsxs)(c,{children:[(0,l.jsx)(m,{}),(0,l.jsxs)(r.UC,{ref:s,className:(0,a.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[n,(0,l.jsxs)(r.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,l.jsx)(i.MKb,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});x.displayName=r.UC.displayName;let p=e=>{let{className:s,...t}=e;return(0,l.jsx)("div",{className:(0,a.cn)("flex flex-col space-y-1.5 text-center sm:text-left",s),...t})};p.displayName="DialogHeader";let h=e=>{let{className:s,...t}=e;return(0,l.jsx)("div",{className:(0,a.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",s),...t})};h.displayName="DialogFooter";let f=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(r.hE,{ref:s,className:(0,a.cn)("text-lg font-semibold leading-none tracking-tight",t),...n})});f.displayName=r.hE.displayName;let g=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(r.VY,{ref:s,className:(0,a.cn)("text-sm text-muted-foreground",t),...n})});g.displayName=r.VY.displayName},36760:(e,s,t)=>{"use strict";t.d(s,{E:()=>r});var l=t(20475),n=t(22250);function r(e){let{className:s,...t}=e;return(0,l.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",s),...t})}},32857:(e,s,t)=>{"use strict";t.d(s,{dj:()=>m,oR:()=>u});var l=t(20107);let n=0,r=new Map,i=e=>{if(r.has(e))return;let s=setTimeout(()=>{r.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);r.set(e,s)},a=(e,s)=>{switch(s.type){case"ADD_TOAST":return{...e,toasts:[s.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===s.toast.id?{...e,...s.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=s;return t?i(t):e.toasts.forEach(e=>{i(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=a(d,e),o.forEach(e=>{e(d)})}function u(e){let{...s}=e,t=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),l=()=>c({type:"DISMISS_TOAST",toastId:t});return c({type:"ADD_TOAST",toast:{...s,id:t,open:!0,onOpenChange:e=>{e||l()}}}),{id:t,dismiss:l,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function m(){let[e,s]=l.useState(d);return l.useEffect(()=>(o.push(s),()=>{let e=o.indexOf(s);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,s,t)=>{"use strict";t.d(s,{cn:()=>r});var l=t(64901),n=t(868);function r(){for(var e=arguments.length,s=Array(e),t=0;t{"use strict";t.d(s,{a:()=>l});let l=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 l;let n=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),r=encodeURIComponent(n),i="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(r);s&&(i+="&wait=1&timeout=".concat(t));let a=await fetch(i,{method:"GET",headers:{Accept:"application/json"},signal:AbortSignal.timeout(1e3*t+5e3)});if(!a.ok)throw Error("AT command failed with status: ".concat(a.status));let o=await a.json();if(o.error)throw Error("AT queue error: ".concat(o.error));if(s&&(null===(l=o.response)||void 0===l?void 0:l.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,9464,241,1074,4458,191,6035,7358],()=>s(31710)),_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-b9ee668896a1fb0f.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-b9ee668896a1fb0f.js new file mode 100644 index 0000000..b40465d --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-b9ee668896a1fb0f.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6665],{31710:(e,s,t)=>{Promise.resolve().then(t.bind(t,88954))},88954:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>eV});var l=t(20475),n=t(20107),r=t(32857),i=t(72167),a=t(36760),o=t(45934);let d=e=>{let{data:s,isLoading:t}=e;return(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Sim Card"}),(0,l.jsx)(i.BT,{children:"Sim card information"})]}),(0,l.jsxs)(i.Wu,{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Sim Card Slot in Use"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[50px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.slot})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Sim Card State"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Provider"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.provider})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Phone Number"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[140px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.phoneNumber})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"IMSI"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[140px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imsi})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"ICCID"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[140px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.iccid})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"IMEI"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[140px]"}):(0,l.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"},u={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"},m={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=>m[e]||"Unknown",p=e=>{let{data:s,isLoading:t,dataConnectionState:n,connectionStateLoading:r}=e;return(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Connection"}),(0,l.jsx)(i.BT,{children:"Connection information"})]}),(0,l.jsxs)(i.Wu,{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"APN"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.apn})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Operator State"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Functionality State"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Data Connection State"}),r?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.jsx)(o.E,{className:"font-bold ".concat("Connected"===n?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:n})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Network Type"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.networkType})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Modem Temperature"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.modemTemperature})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Access Technology"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:(null==s?void 0:s.connection.accessTechnology)?x(s.connection.accessTechnology):"Unknown"})]})]})]})},h=e=>{let{data:s,isLoading:t,bytesSent:n,bytesReceived:r}=e;return(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Data Transmission"}),(0,l.jsx)(i.BT,{children:"Data transmission information"})]}),(0,l.jsxs)(i.Wu,{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Carrier Aggregation"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Bandwidth"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.bandwidth})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Connected Bands"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.connectedBands})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Signal Strength"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"MIMO Layers"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.mimoLayers})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Bytes Sent"}),(0,l.jsx)("p",{className:"font-bold",children:n})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Bytes Received"}),(0,l.jsx)("p",{className:"font-bold",children:r})]})]})]})},f=e=>{let{data:s,isLoading:t}=e;return(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Cellular Information"}),(0,l.jsx)(i.BT,{children:"Cellular network information"})]}),(0,l.jsxs)(i.Wu,{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Cell ID"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.cellId})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"TAC"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.trackingAreaCode})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Physical Cell IDs"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.physicalCellId})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"E/ARFCN"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.earfcn})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Mobile Country Code"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mcc})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Mobile Network Code"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mnc})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Antenna Signal Quality"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[80px]"}):(0,l.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 g=t(1307),v=t(53134),j=t(94005),N=t(4538),w=t(41797),b=t(79492);let y={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))"}},S=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 l=t.filter(e=>-140!==e&&-32768!==e);return 0===l.length?0:Math.round(l.reduce((e,s)=>e+s,0)/l.length)},k=()=>{let[e,s]=(0,n.useState)([]),[t,r]=(0,n.useState)("rsrp"),[o,d]=(0,n.useState)(!0),[c,u]=(0,n.useState)(null),m=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_signal_metrics.sh");if(!e.ok)throw Error("Failed to fetch signal metrics");let t=await e.json(),l=Math.min(t.rsrp.length,t.rsrq.length,t.sinr.length),n=Array.from({length:l},(e,s)=>({time:t.rsrp[s].datetime,rsrp:S(t.rsrp[s].output),rsrq:S(t.rsrq[s].output),sinr:S(t.sinr[s].output)}));s(n),u(null)}catch(e){console.error("Error fetching metrics:",e),u(e instanceof Error?e.message:"An unknown error occurred"),s([])}finally{d(!1)}},[]);(0,n.useEffect)(()=>{m();let e=setInterval(m,15e3);return()=>clearInterval(e)},[m]);let x=e.length>0?e[e.length-1]:{rsrp:0,rsrq:0,sinr:0};return c?(0,l.jsx)(i.Zp,{children:(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Error Loading Signal Metrics"}),(0,l.jsx)(i.BT,{children:c})]})}):(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{className:"flex flex-col items-stretch space-y-0 border-b p-0 sm:flex-row",children:[(0,l.jsxs)("div",{className:"flex flex-1 flex-col justify-center gap-1 px-6 py-5 sm:py-6",children:[(0,l.jsx)(i.ZB,{children:"Antenna Port Signal Metrics"}),(0,l.jsx)(i.BT,{children:"Per-port signal values averaged across all active ports"})]}),(0,l.jsx)("div",{className:"flex",children:["rsrp","rsrq","sinr"].map(e=>(0,l.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:()=>r(e),children:[(0,l.jsx)("span",{className:"text-xs text-muted-foreground",children:y[e].label}),o?(0,l.jsx)(a.E,{className:"lg:h-10 h-6 w-full"}):(0,l.jsx)("span",{className:"text-base font-bold leading-none sm:text-3xl",children:x[e].toFixed(0)})]},e))})]}),(0,l.jsx)(i.Wu,{className:"px-2 sm:p-6",children:(0,l.jsx)(g.at,{config:y,className:"aspect-auto h-[250px] w-full",children:(0,l.jsxs)(v.Q,{accessibilityLayer:!0,data:e,margin:{left:12,right:12},children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"fillRsrp",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrp)",stopOpacity:.8}),(0,l.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrp)",stopOpacity:.1})]}),(0,l.jsxs)("linearGradient",{id:"fillRsrq",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrq)",stopOpacity:.8}),(0,l.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrq)",stopOpacity:.1})]}),(0,l.jsxs)("linearGradient",{id:"fillSinr",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"5%",stopColor:"var(--color-sinr)",stopOpacity:.8}),(0,l.jsx)("stop",{offset:"95%",stopColor:"var(--color-sinr)",stopOpacity:.1})]})]}),(0,l.jsx)(j.d,{vertical:!1}),(0,l.jsx)(N.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,l.jsx)(w.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,l.jsx)(g.II,{content:(0,l.jsx)(g.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,l.jsx)(b.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,l.jsxs)(i.wL,{className:"flex-col items-start gap-2 text-sm",children:[(0,l.jsx)("div",{className:"flex gap-2 font-medium leading-none",children:"These metrics show the aggregate antenna port measurements, not the per-band values."}),(0,l.jsx)("div",{className:"leading-none text-muted-foreground italic",children:"Higher values indicate better signal quality."})]})]})},A=e=>{if("Unknown!"===e)return"-";let s=e.match(/(\d+)/);if(!s)return e;let t=parseInt(s[1],10);return t>=1e3?"".concat(t/1e3).concat((e.includes("Gb"),"Gb/s")):"".concat(t).concat((e.includes("Mb"),"Mb/s"))},E=()=>{let[e,s]=(0,n.useState)({link_status:"Loading...",link_speed:"Loading...",auto_negotiation:"Loading..."}),[t,r]=(0,n.useState)(!0),[o,d]=(0,n.useState)(null);return((0,n.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 t=await e.json();s(t),r(!1)}catch(e){d("Failed to fetch Ethernet information"),r(!1)}})()},[]),o)?(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsx)(i.ZB,{children:"Ethernet"})}),(0,l.jsx)(i.Wu,{className:"flex items-center justify-center",children:(0,l.jsx)("div",{className:"text-red-500",children:o})})]}):(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsx)(i.ZB,{children:"Ethernet"})}),(0,l.jsx)(i.Wu,{children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Link Status"}),(0,l.jsx)("span",{className:"text-base font-bold",children:t?(0,l.jsx)(a.E,{className:"h-8 w-full"}):"yes"===e.link_status?"Active":"Inactive"})]}),(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Link Speed"}),(0,l.jsx)("span",{className:"text-base font-bold",children:t?(0,l.jsx)(a.E,{className:"h-8 w-full"}):A(e.link_speed)})]}),(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Auto-negotiation"}),(0,l.jsx)("span",{className:"text-base font-bold",children:t?(0,l.jsx)(a.E,{className:"h-8 w-full"}):"on"===e.auto_negotiation?"Active":"Inactive"})]})]})})]})},C=e=>"".concat(Math.round(e/1048576)," MB"),R=()=>{let[e,s]=(0,n.useState)({total:0,used:0,available:0}),[t,r]=(0,n.useState)(!0);return(0,n.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 l=await e.json();s(l),t&&r(!1)}catch(e){console.error("Failed to fetch memory information"),t&&r(!1)}};e();let l=setInterval(e,2e3);return()=>clearInterval(l)},[t]),(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsx)(i.ZB,{children:"Memory"})}),(0,l.jsx)(i.Wu,{children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Total"}),t?(0,l.jsx)(a.E,{className:"h-6 w-24"}):(0,l.jsx)("span",{className:"text-base font-bold",children:C(e.total)})]}),(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Used"}),t?(0,l.jsx)(a.E,{className:"h-6 w-24"}):(0,l.jsx)("span",{className:"text-base font-bold",children:C(e.used)})]}),(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Available"}),t?(0,l.jsx)(a.E,{className:"h-6 w-24"}):(0,l.jsx)("span",{className:"text-base font-bold",children:C(e.available)})]})]})})]})},T={ms:{label:"ms",color:"hsl(var(--chart-4))"}},I=()=>new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"}),U=()=>{let[e,s]=(0,n.useState)(()=>{let e=localStorage.getItem("pingData");return e?JSON.parse(e):[]}),t=(0,n.useRef)(e);(0,n.useEffect)(()=>{t.current=e},[e]);let[r,d]=(0,n.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,u]=(0,n.useState)(()=>{let e=localStorage.getItem("pingData");return!e||0===JSON.parse(e).length}),[m,x]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let l=async()=>{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 l=await e.json();d(e=>null===e||m?l.latency:(n(e,l.latency,e=>d(e)),e));let r=I(),i=t.current,a={time:r,ms:l.latency,index:i.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?r:I()}));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&&u(!1)}catch(s){console.error("Failed to fetch ping latency",s),c&&e.length>0&&u(!1)}},n=(e,s,t)=>{let l=performance.now(),n=s-e,r=s=>{let i=Math.min((s-l)/1500,1);t(Math.round(e+n*(i<.5?4*i*i*i:1-Math.pow(-2*i+2,3)/2))),i<1&&requestAnimationFrame(r)};requestAnimationFrame(r)};l();let r=setInterval(l,5e3);return()=>clearInterval(r)},[]),(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,l.jsx)(i.ZB,{children:"Ping Latency"}),null!==r&&(0,l.jsxs)(o.E,{className:"text-normal font-bold transition-opacity duration-200 ".concat(m?"":"opacity-70"),children:[r," ms ",!m&&"(cached)"]})]}),(0,l.jsx)(i.Wu,{children:c?(0,l.jsx)(a.E,{className:"h-[200px] w-full"}):(0,l.jsx)(g.at,{config:T,children:(0,l.jsxs)(v.Q,{accessibilityLayer:!0,data:e,margin:{top:5,right:10,left:0,bottom:5},children:[(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:"fillPing",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"5%",stopColor:"var(--color-ms)",stopOpacity:.8}),(0,l.jsx)("stop",{offset:"95%",stopColor:"var(--color-ms)",stopOpacity:.1})]})}),(0,l.jsx)(j.d,{vertical:!1,stroke:"var(--border)",strokeOpacity:.2}),(0,l.jsx)(N.W,{dataKey:"index",tickLine:!1,axisLine:!1,tickMargin:5,tick:{fontSize:9},ticks:[1,2,3,4,5]}),(0,l.jsx)(w.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,l.jsx)(g.II,{cursor:!1,content:(0,l.jsx)(g.Nt,{labelFormatter:(s,t)=>{let l=e.find(e=>e.index===s);return l?"".concat(l.time):s},formatter:(e,s)=>["".concat(e," ms"),"Latency"]})}),(0,l.jsx)(b.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),B=t(93557),D=t(97801),L=t(14389),G=t(98969),z=t(17799),_=t(92776),P=t.n(_),F=t(7197),q=t(74043),O=t(22250);let Z=n.createContext(null);function H(){let e=n.useContext(Z);if(!e)throw Error("useCarousel must be used within a ");return e}let W=n.forwardRef((e,s)=>{let{orientation:t="horizontal",opts:r,setApi:i,plugins:a,className:o,children:d,...c}=e,[u,m]=(0,q.A)({...r,axis:"horizontal"===t?"x":"y"},a),[x,p]=n.useState(!1),[h,f]=n.useState(!1),g=n.useCallback(e=>{e&&(p(e.canScrollPrev()),f(e.canScrollNext()))},[]),v=n.useCallback(()=>{null==m||m.scrollPrev()},[m]),j=n.useCallback(()=>{null==m||m.scrollNext()},[m]),N=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),j())},[v,j]);return n.useEffect(()=>{m&&i&&i(m)},[m,i]),n.useEffect(()=>{if(m)return g(m),m.on("reInit",g),m.on("select",g),()=>{null==m||m.off("select",g)}},[m,g]),(0,l.jsx)(Z.Provider,{value:{carouselRef:u,api:m,opts:r,orientation:t||((null==r?void 0:r.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:j,canScrollPrev:x,canScrollNext:h},children:(0,l.jsx)("div",{ref:s,onKeyDownCapture:N,className:(0,O.cn)("relative",o),role:"region","aria-roledescription":"carousel",...c,children:d})})});W.displayName="Carousel";let Q=n.forwardRef((e,s)=>{let{className:t,...n}=e,{carouselRef:r,orientation:i}=H();return(0,l.jsx)("div",{ref:r,className:"overflow-hidden",children:(0,l.jsx)("div",{ref:s,className:(0,O.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",t),...n})})});Q.displayName="CarouselContent";let K=n.forwardRef((e,s)=>{let{className:t,...n}=e,{orientation:r}=H();return(0,l.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,O.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",t),...n})});K.displayName="CarouselItem";let J=n.forwardRef((e,s)=>{let{className:t,variant:n="outline",size:r="icon",...i}=e,{orientation:a,scrollPrev:o,canScrollPrev:d}=H();return(0,l.jsxs)(M.$,{ref:s,variant:n,size:r,className:(0,O.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...i,children:[(0,l.jsx)(F.A60,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});J.displayName="CarouselPrevious";let V=n.forwardRef((e,s)=>{let{className:t,variant:n="outline",size:r="icon",...i}=e,{orientation:a,scrollNext:o,canScrollNext:d}=H();return(0,l.jsxs)(M.$,{ref:s,variant:n,size:r,className:(0,O.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...i,children:[(0,l.jsx)(F.flY,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Next slide"})]})});V.displayName="CarouselNext";let $=e=>{let{id:s,bandNumber:t,earfcn:n,bandwidth:r,pci:a,rsrp:d,rsrq:c,sinr:u}=e;return(0,l.jsx)(i.Zp,{className:"p-8",children:(0,l.jsxs)("div",{className:"flex flex-row items-center gap-6 justify-between",children:[(0,l.jsxs)("div",{className:"grid gap-2 w-[180px]",children:[(0,l.jsx)("h2",{className:"text-md font-bold",children:"Band"}),(0,l.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[t.replace("LTE BAND ","B").replace("NR5G BAND ","N"),t.includes("NR5G")&&(0,l.jsx)(o.E,{className:"text-xs bg-blue-600 hover:bg-blue-800",children:"NR 5G"})]})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"E/ARFCN"}),(0,l.jsx)("p",{children:n})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"Bandwidth"}),(0,l.jsx)("p",{children:r})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"Physical Cell ID"}),(0,l.jsx)("p",{children:a})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"RSRP"}),(0,l.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,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"RSRQ"}),(0,l.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,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"SINR"}),(0,l.jsxs)(o.E,{className:parseInt(u)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(u)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[u," dB"]})]})]})})},Y=e=>{let{bands:s,isLoading:t}=e;return t?(0,l.jsxs)("div",{className:"flex items-center justify-center",children:[(0,l.jsx)("div",{className:"hidden lg:block w-full",children:(0,l.jsxs)(i.Zp,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,l.jsx)($,{...e},e.id)),(0,l.jsx)(i.wL,{className:"w-full p-6 flex items-center justify-center",children:(0,l.jsx)(i.BT,{className:"text-md",children:"Currently bands connected."})})]})}),(0,l.jsx)(W,{className:"lg:hidden w-full max-w-xs",children:(0,l.jsx)(Q,{children:(0,l.jsx)(K,{children:(0,l.jsx)("div",{className:"p-1",children:(0,l.jsx)(i.Zp,{children:(0,l.jsxs)(i.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"Band"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-16 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"E/ARFCN"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-16 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"Bandwidth"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-16 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"PCI"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-16 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRP"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-32 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRQ"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-32 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"SINR"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-32 h-4"})})]})]})})})})})})]}):(0,l.jsxs)("div",{className:"flex items-center justify-center",children:[(0,l.jsx)("div",{className:"hidden lg:block w-full",children:(0,l.jsxs)(i.Zp,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,l.jsx)($,{...e},e.id)),(0,l.jsx)(i.wL,{className:"w-full p-6 flex items-center justify-center",children:(0,l.jsx)(i.BT,{className:"text-md",children:"Current bands connected."})})]})}),(0,l.jsxs)(W,{className:"lg:hidden w-full max-w-xs",children:[(0,l.jsx)(Q,{children:null==s?void 0:s.map(e=>(0,l.jsx)(K,{className:"md:basis-1/2 lg:basis-1/3",children:(0,l.jsx)("div",{className:"p-1",children:(0,l.jsx)(i.Zp,{children:(0,l.jsxs)(i.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"Band"}),(0,l.jsx)("p",{children:e.bandNumber})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"E/ARFCN"}),(0,l.jsx)("p",{children:e.earfcn})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"Bandwidth"}),(0,l.jsx)("p",{children:e.bandwidth})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"PCI"}),(0,l.jsx)("p",{children:e.pci})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRP"}),(0,l.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,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRQ"}),(0,l.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,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"SINR"}),(0,l.jsxs)(o.E,{className:parseInt(e.sinr)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.sinr)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.sinr," dB"]})]})]})})})},e.id))}),(0,l.jsx)(J,{}),(0,l.jsx)(V,{})]})]})},X=e=>{try{var s,t;return(null==e?void 0:null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[2].replace(/"/g,"").trim())||"Unknown"}catch(e){return"-"}},ee=e=>{try{var s,t;return(null==e?void 0:null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[3].trim())||"Unknown"}catch(e){return"-"}},es=(e,s)=>{var t,l,n,r;switch((null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[1].trim())||(null===(r=s.split("\n")[1])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim())){case"1":return"Registered";case"2":return"Searching";case"3":return"Denied";case"4":return"Unknown";case"5":return"Roaming";default:return"Not Registered"}},et=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g),t=null==s?void 0:s.some(e=>e.includes("LTE")),l=null==s?void 0:s.some(e=>e.includes("NR5G"));return t&&l?"NR5G-NSA":t?"LTE":l?"NR5G-SA":"No Signal"},el=e=>{let s=["cpuss-0","cpuss-1","cpuss-2","cpuss-3"].map(s=>{var t;let l=e.split("\n").find(e=>e.includes(s));return parseInt(null==l?void 0:null===(t=l.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")},en=(e,s)=>{var t;let l=e.split("\n").find(e=>e.includes("PCC"));l=null==l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[2].trim();let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));n=n.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2].trim()});let r=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));if(r=r.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2].trim()}),"LTE"===s)return!n.length&&l?c[l]||"Unknown":[l?c[l]:"",...n.map(e=>c[e])].join(", ");if("NR5G-SA"===s&&l)return r.length?[u[l],...r.map(e=>u[e])].join(", "):u[l]||"Unknown";if("NR5G-NSA"===s&&l)return n.length||r.length?n.length&&!r.length?[c[l],...n.map(e=>c[e])].join(", "):[c[l],...n.map(e=>c[e]),...r.map(e=>u[e])].join(", "):c[l]||"Unknown";return"Unknown"},er=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g);return(null==s?void 0:s.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(null==e?void 0:e.split(" ")[2].replace(/"/g,"").trim()):void 0).join(", "))||"Unknown"},ei=e=>{var s,t;let l=e.split("\n").find(e=>e.includes("LTE")),n=e.split("\n").find(e=>e.includes("NR5G")),r=[],i=[];if(l&&(r=null==l?void 0:null===(s=l.split(":")[1])||void 0===s?void 0:s.split(",").slice(0,4).map(e=>parseInt(e.trim()))),n&&(i=null==n?void 0:null===(t=n.split(":")[1])||void 0===t?void 0:t.split(",").slice(0,4).map(e=>parseInt(e.trim()))),r=r.filter(e=>-140!==e&&-37625!==e),i=i.filter(e=>-140!==e&&-37625!==e),r.length){if(i.length){let e=r.reduce((e,s)=>e+s,0)/r.length,s=i.reduce((e,s)=>e+s,0)/i.length,t=Math.max(0,Math.min(100,(e+125)/50*100)),l=Math.max(0,Math.min(100,(s+125)/50*100));return"".concat(Math.round((t+l)/2),"%")}{let e=Math.max(0,Math.min(100,(r.reduce((e,s)=>e+s,0)/r.length+125)/50*100));return"".concat(Math.round(e),"%")}}if(!i.length)return"Unknown%";{let e=Math.max(0,Math.min(100,(i.reduce((e,s)=>e+s,0)/i.length+125)/50*100));return"".concat(Math.round(e),"%")}},ea=(e,s)=>{var t,l,n,r;return"NR5G-SA"===s||"LTE"===s?null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[6].trim():"NR5G-NSA"===s?null===(r=e.split("\n")[2])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[4].trim():"Unknown"},eo=(e,s)=>{var t,l,n,r,i,a;return"NR5G-SA"===s?null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[8].trim():"NR5G-NSA"===s?null===(r=e.split("\n")[2])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[10].trim():"LTE"===s?null===(a=e.split("\n")[1])||void 0===a?void 0:null===(i=a.split(":")[1])||void 0===i?void 0:i.split(",")[12].trim():"Unknown"},ed=(e,s)=>{var t,l;if("LTE"===s||"NR5G-NSA"===s){let l=e.split("\n").find(e=>e.includes("PCC"));l=null==l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[5].trim();let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));n=n.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5].trim()});let r=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(r=r.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[4].trim()}),n.length||r.length)?"LTE"===s?[l,...n].join(", "):[l,...n,...r].join(", "):l}if("NR5G-SA"===s){let s=e.split("\n").find(e=>e.includes("PCC"));s=null==s?void 0:null===(l=s.split(":")[1])||void 0===l?void 0:l.split(",")[4].trim();let t=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(t=t.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5].trim()})).length?[s,...t].join(", "):s}},ec=e=>{var s;let t=e.split("\n").find(e=>e.includes("PCC"));t=null==t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim();let l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));l=l.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim()});let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(n=n.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim()}),!t||l.length||n.length)?t&&l.length&&!n.length?[t,...l].join(", "):t&&!l.length&&n.length?[t,...n].join(", "):t&&l.length&&n.length?[t,...l,...n].join(", "):"Unknown":t},eu=(e,s)=>{var t,l,n,r;return"LTE"===s||"NR5G-SA"===s?null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[4].trim():"NR5G-NSA"===s?null===(r=e.split("\n")[2])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[2].trim():"Unknown"},em=(e,s)=>{var t,l,n,r;return"LTE"===s||"NR5G-SA"===s?null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[5].trim():"NR5G-NSA"===s?null===(r=e.split("\n")[2])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[3].trim():void 0},ex=e=>{let s=e.split("\n"),t=s.find(e=>e.includes("LTE")),l=s.find(e=>e.includes("NR5G")),n=e=>{var s;return e?null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>-140!==e&&-32768!==e):[]},r=e=>e.length?Math.max(0,Math.min(100,(e.reduce((e,s)=>e+s,0)/e.length- -10)/40*100)):0,i=n(t),a=n(l);console.log("LTE SINR Array:",i),console.log("NR5G SINR Array:",a);let o=r(i),d=r(a);return i.length&&a.length?"".concat(Math.round((o+d)/2),"%"):i.length?"".concat(Math.round(o),"%"):a.length?"".concat(Math.round(d),"%"):"Unknown%"},ep=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),t=e.split("\n").filter(e=>e.includes("NR5G BAND"));return s.length&&t.length?[...s,...t].map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[3].replace(/"/g,"")}):s.length?s.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[3].replace(/"/g,"")}):t.length?t.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[3].replace(/"/g,"")}):["Unknown"]},eh=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),t=e.split("\n").filter(e=>e.includes("NR5G BAND"));return s.length&&t.length?[...s,...t].map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1]}):s.length?s.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1]}):t.length?t.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1]}):["Unknown"]},ef=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),t=e.split("\n").filter(e=>e.includes("NR5G BAND")),l=s.map(e=>{var s;return c[null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2]]}),n=t.map(e=>{var s;return u[null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2]]});return l.length&&n.length?[...l,...n]:l.length?l:n.length?n:["Unknown"]},eg=(e,s)=>{if("NR5G-SA"===s){let s=e.split("\n"),t=[],l=s.find(e=>e.includes("PCC"));if(l){let e=l.split(":")[1].split(",")[4].trim();t.push(e||"Unknown")}for(let e of s.filter(e=>e.includes("SCC"))){let s=e.split(":")[1].split(",");t.push(s.length>5?s[5].trim():"Unknown")}return t.length>0?t:["Unknown"]}if("LTE"===s){var t;let s=e.split("\n").find(e=>e.includes("PCC"));s=s?null==s?void 0:null===(t=s.split(":")[1])||void 0===t?void 0:t.split(",")[4].trim():"Unknown";let l=e.split("\n").filter(e=>e.includes("LTE BAND"));return l.length?[s,...l.map(e=>{var s;return(null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5])||"Unknown"})]:[s]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")),t=e.split("\n").filter(e=>e.includes("NR5G BAND"));return[...s.map(e=>{var s;return(null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5])||"Unknown"}),...t.map(e=>{var s;return(null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[4])||"Unknown"})]}return["Unknown"]},ev=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[6]});if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[6]}),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[4]});return s.length&&l.length?[...s,...l]:s.length?s:l.length?l:["Unknown"]}if("NR5G-SA"===s){let e=t.split("\n").find(e=>e.includes("NR5G-SA"));if(e){var l;return[null==e?void 0:null===(l=e.split(":")[1])||void 0===l?void 0:l.split(",")[12]]}}return["Unknown"]},ej=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[7]});if("NR5G-SA"===s){var l;let e=t.split("\n").find(e=>e.includes("NR5G-SA"));return e?[null==e?void 0:null===(l=e.split(":")[1])||void 0===l?void 0:l.split(",")[13]]:["Unknown"]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[7]}),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[6]});if(s.length&&l.length)return[...s,...l];if(s.length)return s;if(l.length)return l}return["Unknown"]},eN=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[9]});if("NR5G-SA"===s){var l;let e=t.split("\n").find(e=>e.includes("NR5G-SA"));return e?[null==e?void 0:null===(l=e.split(":")[1])||void 0===l?void 0:l.split(",")[14]]:["Unknown"]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[9]}),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5]});if(s.length&&l.length)return[...s,...l];if(s.length)return s;if(l.length)return l}return["Unknown"]},ew=e=>{var s,t;let l=[-32768,-140],n=e.split("\n").find(e=>e.includes("LTE")),r=e.split("\n").find(e=>e.includes("NR5G")),i=[],a=[];return(n&&(i=null==n?void 0:null===(s=n.split(":")[1])||void 0===s?void 0:s.split(",").slice(0,4).map(e=>parseInt(e.trim()))),r&&(a=null==r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",").slice(0,4).map(e=>parseInt(e.trim()))),i=i.filter(e=>!l.includes(e)),a=a.filter(e=>!l.includes(e)),i.length)?a.length?"LTE ".concat(i.length.toString()," / NR ").concat(a.length.toString()):"LTE ".concat(i.length.toString()):a.length?"NR ".concat(a.length.toString()):"Unknown"},eb=()=>{let[e,s]=(0,n.useState)(null),[t,l]=(0,n.useState)(!0),[r,i]=(0,n.useState)(null),a=(0,n.useCallback)(async()=>{try{var e,t,l,n,r,a,o,d,c,u,m,x;let i=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=1"),p=await i.json();console.log(p);let h={simCard:{slot:(null===(e=p[0].response.split("\n")[1])||void 0===e?void 0:e.split(":")[1].trim())||"Unknown",state:p[6].response.match("READY")?"Inserted":"Not Inserted",provider:X(p[2].response)||"Unknown",phoneNumber:(null===(l=p[1].response.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[1].replace(/"/g,"").trim())||"Unknown",imsi:p[3].response.split("\n")[1].trim()||"Unknown",iccid:(null===(n=p[4].response.split("\n")[1])||void 0===n?void 0:n.split(":")[1].trim())||"Unknown",imei:p[5].response.split("\n")[1].trim()||"Unknown"},connection:{apn:(null===(a=p[7].response.split("\n")[1])||void 0===a?void 0:null===(r=a.split(":")[1])||void 0===r?void 0:r.split(",")[2].replace(/"/g,"").trim())||(null===(d=p[12].response.split("\n")[1])||void 0===d?void 0:null===(o=d.split(":")[1])||void 0===o?void 0:o.split(",")[2].replace(/"/g,"").trim())||"Unknown",operatorState:es(p[8].response,p[16].response)||"Unknown",functionalityState:(null===(c=p[9].response.split("\n")[1])||void 0===c?void 0:c.split(":")[1].trim())==="1"?"Enabled":"Disabled",networkType:et(p[13].response)||"No Signal",modemTemperature:el(p[11].response)||"Unknown",accessTechnology:ee(p[2].response)||"Unknown"},dataTransmission:{carrierAggregation:(null===(u=p[13].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g))||void 0===u?void 0:u.length)>1?"Multi":"Inactive",bandwidth:en(p[13].response,et(p[13].response))||"Unknown",connectedBands:er(p[13].response)||"Unknown",signalStrength:ei(p[14].response)||"Unknown",mimoLayers:ew(p[14].response)||"Unknown"},cellularInfo:{cellId:ea(p[10].response,et(p[13].response))||"Unknown",trackingAreaCode:eo(p[10].response,et(p[13].response))||"Unknown",physicalCellId:ed(p[13].response,et(p[13].response)),earfcn:ec(p[13].response),mcc:eu(p[10].response,et(p[13].response))||"Unknown",mnc:em(p[10].response,et(p[13].response))||"Unknown",signalQuality:ex(p[19].response)||"Unknown"},currentBands:{id:Array.from({length:null!==(x=null===(m=ep(p[13].response))||void 0===m?void 0:m.length)&&void 0!==x?x:0},(e,s)=>s+1)||[1],bandNumber:ep(p[13].response)||["Unknown"],earfcn:eh(p[13].response),bandwidth:ef(p[13].response)||["Unknown"],pci:eg(p[13].response,et(p[13].response))||["Unknown"],rsrp:ev(p[13].response,et(p[13].response),p[10].response),rsrq:ej(p[13].response,et(p[13].response),p[10].response)||["Unknown"],sinr:eN(p[13].response,et(p[13].response),p[10].response)||["Unknown"]}};s(h),console.log("Processed home data:",h)}catch(e){console.error("Error fetching home data:",e),s({simCard:{slot:"Unknown",state:"Not Inserted",provider:"Unknown",phoneNumber:"Unknown",imsi:"Unknown",iccid:"Unknown",imei:"Unknown"},connection:{apn:"Unknown",operatorState:"Unknown",functionalityState:"Disabled",networkType:"No Signal",modemTemperature:"Unknown",accessTechnology:"Unknown"},dataTransmission:{carrierAggregation:"Inactive",connectedBands:"Unknown",signalStrength:"Unknown",mimoLayers:"Unknown"},cellularInfo:{cellId:"Unknown",trackingAreaCode:"Unknown",physicalCellId:"Unknown",earfcn:"Unknown",mnc:"Unknown",signalQuality:"Unknown"},currentBands:{id:[1],bandNumber:["Unknown"],earfcn:["Unknown"],bandwidth:["Unknown"],pci:["Unknown"],rsrp:["Unknown"],rsrq:["Unknown"],sinr:["Unknown"]}}),i(null)}},[]);return(0,n.useEffect)(()=>{let e,s=!0;return(async()=>{if(s)try{await a()}finally{s&&l(!1)}})(),e=setInterval(()=>{a()},15e3),()=>{s=!1,clearInterval(e)}},[a]),{data:e,isLoading:t,error:r,refresh:(0,n.useCallback)(async()=>{l(!0),await a(),l(!1)},[a])}},ey=()=>{let[e,s]=(0,n.useState)("Unknown"),[t,l]=(0,n.useState)(!0),r=(0,n.useCallback)(async()=>{try{l(!0);let e=await fetch("/cgi-bin/quecmanager/home/check_net.sh"),t=await e.json();s("ACTIVE"===t.connection?"Connected":"Disconnected"),l(!1)}catch(e){console.error("Error fetching data connection state:",e),s("Unknown"),l(!1)}},[]);return(0,n.useEffect)(()=>{r();let e=setInterval(r,3e4);return()=>clearInterval(e)},[r]),{dataConnectionState:e,refresh:(0,n.useCallback)(()=>{r()},[r]),isStateLoading:t}},eS=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]},ek=()=>{let[e,s]=(0,n.useState)("0 Bytes"),[t,l]=(0,n.useState)("0 Bytes"),[r,i]=(0,n.useState)(""),a=e=>{var t,n;let r=Array.isArray(e)?e[e.length-1]:e;if(!r)return;i(r.datetime);let a=r.output.replace(/\r\\n/g,"\n").trim().split("\n").filter(e=>e.trim()),o=null===(t=a.find(e=>e.includes("+QGDCNT:")))||void 0===t?void 0:t.trim(),d=null===(n=a.find(e=>e.includes("+QGDNRCNT:")))||void 0===n?void 0:n.trim();if(!o||!d){console.error("Missing required data in response");return}let[c,u]=o.replace("+QGDCNT:","").split(",").map(e=>parseInt(e.trim())),[m,x]=d.replace("+QGDNRCNT:","").split(",").map(e=>parseInt(e.trim()));s(eS((u||0)+(m||0))),l(eS((c||0)+(x||0)))},o=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_data_usage.sh"),s=await e.json();a(s)}catch(e){console.error("Error fetching traffic stats:",e)}},[]);return(0,n.useEffect)(()=>{o();let e=setInterval(o,12e3);return()=>clearInterval(e)},[o]),{bytesSent:e,bytesReceived:t,lastUpdateTime:r,refresh:(0,n.useCallback)(()=>{o()},[o])}},eA=()=>{let[e,s]=(0,n.useState)(!1),[t,l]=(0,n.useState)(null),r=(e,s)=>{var t,l,n,r;let i=null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[1].trim(),a=null===(r=s.split("\n")[1])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim();return"1"===i||"1"===a?"Registered":"Not Registered"},i=(e,s)=>{var t,l,n,r;return(null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[2].replace(/"/g,"").trim())===(null===(r=s.split("\n")[1])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[2].replace(/"/g,"").trim())?"Enabled":"Disabled"},a=e=>{var s,t,l,n;let r=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(),i=null===(n=e.split("\n")[2])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[1].trim();return r&&"1"===r||i&&"1"===i?"Connected":"Disconnected"},o=e=>{try{var s,t,l,n;let r=e.trim().split("\n").map(e=>e.trim()),i=r.find(e=>e.includes("+QRSRP:")&&e.includes("LTE")),a=r.find(e=>e.includes("+QRSRP:")&&e.includes("NR5G")),o=[];i&&(o=null==i?void 0:null===(t=i.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(a&&(d=null==a?void 0:null===(n=a.split(":")[1])||void 0===n?void 0:null===(l=n.split(","))||void 0===l?void 0:l.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,l,n,r,i;let a=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===(n=e.split("\n")[2])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[1].trim(),d=null===(i=e.split("\n")[3])||void 0===i?void 0:null===(r=i.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim(),c=["0"!==a?"".concat(a):null,"0"!==o?"".concat(o):null,"0"!==d?"".concat(d):null].filter(Boolean);return c.length>0?c.join(", "):"None"};return{isRunningDiagnostics:e,runDiagnosticsData:t,startDiagnostics:async()=>{s(!0);try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=6"),s=await e.json();console.log("Diagnostics data:",s);let t={netRegistration:r(s[0].response,s[1].response),simState:s[2].response.split("\n")[1].split(":")[1].trim(),manualAPN:i(s[3].response,s[4].response),wanIP:a(s[5].response),cellSignal:o(s[6].response),modemTemp:d(s[7].response),netReject:c(s[8].response)};return l(t),t}catch(e){throw console.error("Error running diagnostics:",e),e}finally{s(!1)}}}};var eE=t(80159),eC=t(71602);let eR=e=>{let{shouldScaleBackground:s=!0,...t}=e;return(0,l.jsx)(eC._s.Root,{shouldScaleBackground:s,...t})};eR.displayName="Drawer";let eT=eC._s.Trigger,eI=eC._s.Portal;eC._s.Close;let eU=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(eC._s.Overlay,{ref:s,className:(0,O.cn)("fixed inset-0 z-50 bg-black/80",t),...n})});eU.displayName=eC._s.Overlay.displayName;let eM=n.forwardRef((e,s)=>{let{className:t,children:n,...r}=e;return(0,l.jsxs)(eI,{children:[(0,l.jsx)(eU,{}),(0,l.jsxs)(eC._s.Content,{ref:s,className:(0,O.cn)("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",t),...r,children:[(0,l.jsx)("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),n]})]})});eM.displayName="DrawerContent",n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(eC._s.Title,{ref:s,className:(0,O.cn)("text-lg font-semibold leading-none tracking-tight",t),...n})}).displayName=eC._s.Title.displayName,n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(eC._s.Description,{ref:s,className:(0,O.cn)("text-sm text-muted-foreground",t),...n})}).displayName=eC._s.Description.displayName;var eB=t(12607),eD=t(25262),eL=t(8782),eG=t(10964),ez=t(89463),e_=t(90304),eP=t(622),eF=t(20633),eq=t(7778),eO=t(99312),eZ=t(92823),eH=t(71834);let eW=e=>{if(null==e)return"N/A";let s=["B","KB","MB","GB"],t=e,l=0;for(;t>=1024&&l{if(null==e)return"N/A";let s=["bps","Kbps","Mbps","Gbps"],t=8*e,l=0;for(;t>=1e3&&l{let[e,s]=(0,n.useState)(null),[t,r]=(0,n.useState)(null),[a,o]=(0,n.useState)(!1),[d,c]=(0,n.useState)(null),[u,m]=(0,n.useState)(!1),[x,p]=(0,n.useState)(!1),[h,f]=(0,n.useState)(!1),[g,v]=(0,n.useState)(0),[j,N]=(0,n.useState)(!1),[w,b]=(0,n.useState)(!1),y=(0,n.useRef)(null),S=(0,n.useRef)(null),k=(0,n.useCallback)(()=>{s(null),r(null),c(null),m(!1),p(!1),f(!1),v(0),y.current=null},[]),A=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/keep_alive.sh?status=true"),s=await e.json();if(s.enabled){let e=new Date,t=60*e.getHours()+e.getMinutes(),[l,n]=s.start_time.split(":").map(Number),[r,i]=s.end_time.split(":").map(Number);b(t>=60*l+n&&t<=60*r+i)}else b(!1)}catch(e){console.error("Failed to check keep-alive schedule:",e),b(!1)}},[]);(0,n.useEffect)(()=>{A();let e=setInterval(A,6e4);return()=>clearInterval(e)},[A]),(0,n.useEffect)(()=>{if(u&&!x){N(!0);let e=setTimeout(()=>{N(!1)},1e4);return()=>clearTimeout(e)}},[u,x]),(0,n.useEffect)(()=>()=>{S.current&&S.current.abort()},[]);let E=(0,n.useCallback)(async()=>{if(!j&&!w)try{if(k(),f(!0),S.current&&S.current.abort(),!(await fetch("/cgi-bin/quecmanager/home/speedtest/start_speedtest.sh",{method:"GET"})).ok)throw Error("Failed to start speedtest");C()}catch(e){console.error("Speedtest start error:",e),c(e instanceof Error?"Failed to start speedtest: ".concat(e.message):"Failed to start speedtest"),f(!1)}},[j,w,k]),C=(0,n.useCallback)(()=>{S.current=new AbortController,o(!1),p(!0),f(!1);try{fetch("/cgi-bin/quecmanager/home/speedtest/speedtest_stream.sh",{method:"GET",signal:S.current.signal}).then(async e=>{var l;if(!e.ok)throw Error("Network response was not ok");o(!0);let n=null===(l=e.body)||void 0===l?void 0:l.getReader(),i=new TextDecoder;if(!n)throw Error("Unable to get reader from response body");let a="";for(;;){let{done:e,value:l}=await n.read();if(e)break;let o=i.decode(l,{stream:!0}),d=(a+=o).split("\n\n");for(let e of(a=d.pop()||"",d))if(e.startsWith("data: "))try{let l=JSON.parse(e.replace("data: ","").trim());switch(l.type){case"ping":r("ping"),v(l.ping.progress);break;case"download":case"upload":"ping"!==t&&r(l.type);break;case"result":m(!0),p(!1),n.cancel()}y.current=l,s(l)}catch(e){console.error("Parsing error:",e)}}}).catch(e=>{"AbortError"!==e.name&&(console.error("Fetch error:",e),c("Connection failed: ".concat(e instanceof Error?e.message:String(e))),p(!1))})}catch(e){console.error("Failed to initialize fetch:",e),c("Failed to connect to speedtest stream"),p(!1)}},[t]);return(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsx)(i.ZB,{children:"Network Speedtest"})}),(0,l.jsxs)(i.Wu,{className:"flex flex-col gap-6 p-4 items-center justify-center",children:[(0,l.jsxs)(eR,{children:[(0,l.jsx)(eT,{asChild:!0,children:(0,l.jsxs)("div",{className:"relative flex flex-col items-center justify-center",children:[(0,l.jsx)(eH.A,{color:"#5420ab",size:192,className:"-top-8 -left-8 absolute",style:{zIndex:1}}),(0,l.jsx)(L.A,{className:"size-32 ".concat(w?"text-gray-400 cursor-not-allowed":"text-primary cursor-pointer"," z-10"),onClick:E})]})}),(0,l.jsx)(eM,{children:(0,l.jsx)("div",{className:"lg:max-w-full max-w-sm mx-auto min-w-sm p-6 py-12",children:(()=>{var s,n,r,a,o,c,m,x,p,f,v;if(d)return(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,l.jsx)(eB.A,{className:"text-rose-600 lg:size-48 size-16 animate-pulse"}),(0,l.jsx)("h3",{className:"text-xl font-semibold",children:"Network Speedtest Failed"}),(0,l.jsxs)("p",{className:"text-sm text-gray-500",children:["Something went wrong while running the speedtest.",(0,l.jsx)("p",{className:"underline cursor-pointer ml-2",onClick:E,children:"Please try again."})]})]});if(h)return(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,l.jsx)(eD.A,{className:"text-primary lg:size-48 size-16 animate-pulse"}),(0,l.jsx)("h3",{className:"text-xl font-semibold",children:"Initiating Network Speedtest"}),(0,l.jsx)("p",{className:"text-sm text-gray-500 text-center",children:"Locating and establishing a connection to a server. Please wait..."})]});if("ping"===t)return(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,l.jsx)(eL.A,{className:"text-gray-600 size-16 animate-pulse"}),(0,l.jsx)("h3",{className:"text-xl font-semibold",children:"Calculating Ping Latency"}),(0,l.jsx)("div",{className:"w-full bg-gray-200 rounded-full h-2.5",children:(0,l.jsx)("div",{className:"bg-blue-600 h-2.5 rounded-full",style:{width:"".concat(100*(g||0),"%")}})}),(0,l.jsx)("p",{className:"text-sm text-gray-500",children:(null==e?void 0:e.ping)?"Latency: ".concat(e.ping.latency.toFixed(2)," ms, \n Jitter: ").concat(e.ping.jitter.toFixed(2)," ms"):"Measuring network responsiveness..."})]});if(u)return(0,l.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4 w-full min-w-sm",children:[(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsxs)(i.ZB,{className:"flex items-center",children:[(0,l.jsx)(eG.A,{className:"mr-4 text-violet-600"})," Speedtest Result"]})}),(0,l.jsx)(i.Wu,{className:"lg:py-12 py-6 min-w-sm w-full",children:(0,l.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,l.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(ez.A,{className:"text-green-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"font-semibold",children:"Download"})]}),(0,l.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:eQ(null==e?void 0:e.download.bandwidth)}),(0,l.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,l.jsx)(e_.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,l.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(m=null==e?void 0:null===(a=e.download.latency)||void 0===a?void 0:null===(r=a.iqm)||void 0===r?void 0:r.toFixed(2))&&void 0!==m?m:"N/A"," ","ms"]})]})]}),(0,l.jsxs)("div",{className:"grid gap-1.5 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(eP.A,{className:"text-violet-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"font-semibold",children:"Upload"})]}),(0,l.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:eQ(null==e?void 0:e.upload.bandwidth)}),(0,l.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,l.jsx)(e_.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,l.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(x=null==e?void 0:null===(c=e.upload.latency)||void 0===c?void 0:null===(o=c.iqm)||void 0===o?void 0:o.toFixed(2))&&void 0!==x?x:"N/A"," ","ms"]})]})]})]})}),(0,l.jsxs)(i.wL,{className:"mt-4 grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,l.jsx)(eL.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Ping"})]}),(0,l.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(p=null==e?void 0:e.ping.latency.toFixed(2))&&void 0!==p?p:"N/A"," ms"]})]}),(0,l.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,l.jsx)(eF.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Jitter"})]}),(0,l.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(f=null==e?void 0:e.ping.jitter.toFixed(2))&&void 0!==f?f:"N/A"," ms"]})]})]})]}),(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsxs)(i.ZB,{className:"flex items-center",children:[(0,l.jsx)(eq.A,{className:"mr-4 text-blue-600"})," Connection & Server Details"]})}),(0,l.jsx)(i.Wu,{children:(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"ISP:"}),(0,l.jsx)("p",{children:null==e?void 0:e.isp})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Internal IP:"}),(0,l.jsx)("p",{children:null==e?void 0:e.interface.internalIp})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"External IP:"}),(0,l.jsx)("p",{children:null==e?void 0:e.interface.externalIp})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Server Name:"}),(0,l.jsx)("p",{children:null==e?void 0:e.server.name})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Location:"}),(0,l.jsx)("p",{children:null==e?void 0:e.server.location})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Country:"}),(0,l.jsx)("p",{children:null==e?void 0:e.server.country})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Server IP:"}),(0,l.jsx)("p",{children:null==e?void 0:e.server.host})]}),(null==e?void 0:e.result.url)&&(0,l.jsxs)("div",{className:"flex items-center gap-x-2 mt-4",children:[(0,l.jsx)(eO.A,{className:"text-blue-600 size-4"}),(0,l.jsx)("a",{href:e.result.url,target:"_blank",rel:"noopener noreferrer",className:"font-medium text-blue-600 hover:underline",children:"View Full Result Online"})]})]})})]})]});if(!t||!e)return null;let j=e[t],N="download"===t;return(0,l.jsxs)(i.Zp,{className:"p-4 w-full",children:[(0,l.jsx)(i.aR,{children:(0,l.jsxs)(i.ZB,{className:"flex items-center",children:[N?(0,l.jsx)(ez.A,{className:"text-green-500 lg:size-6 size-4 mr-1"}):(0,l.jsx)(eP.A,{className:"text-violet-500 lg:size-6 size-4 mr-1"}),(0,l.jsxs)("p",{className:"ml-2",children:["Testing ",N?"Download":"Upload"," Speed"]})]})}),(0,l.jsx)(i.Wu,{children:(0,l.jsx)("div",{className:"grid place-items-center max-w-sm lg:max-w-full mx-auto w-full",children:(0,l.jsx)("h1",{className:"lg:text-[4rem] text-[3rem] font-semibold text-center",children:eQ(j.bandwidth)})})}),(0,l.jsx)(i.wL,{children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-1 grid-flow-row gap-4",children:[(0,l.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(eZ.A,{className:"mr-2 text-yellow-600"}),"Bytes Transferred"]}),(0,l.jsx)("p",{className:"lg:text-md text-base text-muted font-semibold",children:eW(j.bytes)})]}),(0,l.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(eG.A,{className:"mr-2 text-purple-600"}),"Elapsed Time"]}),(0,l.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[(j.elapsed/1e3).toFixed(2)," sec"]})]}),(0,l.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(eL.A,{className:"mr-2 text-gray-600"}),"Latency (IQM)"]}),(0,l.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[null!==(v=null===(n=j.latency)||void 0===n?void 0:null===(s=n.iqm)||void 0===s?void 0:s.toFixed(2))&&void 0!==v?v:"N/A"," ms"]})]})]})})]})})()})})]}),(0,l.jsx)(i.BT,{children:w?"Speedtest is disabled during keep-alive schedule.":j?"Please wait 10 seconds before starting another test.":"Run a speed test to check your internet connection."})]})]})};var eJ=t(88926);let eV=()=>{let{toast:e}=(0,r.dj)(),{data:s,isLoading:t,refresh:i}=eb(),{dataConnectionState:a,isStateLoading:o,refresh:c}=ey(),{isRunningDiagnostics:u,runDiagnosticsData:m,startDiagnostics:x}=eA(),{bytesSent:g,bytesReceived:v,refresh:j}=ek(),N=async()=>{try{var t,l;let n=null==s?void 0:null===(t=s.simCard)||void 0===t?void 0:t.slot,r=await (0,eJ.a)("Slot 1"===n?"AT+QUIMSLOT=1":"AT+QUIMSLOT=2");if("error"===r.status||(null===(l=r.response)||void 0===l?void 0:l.status)==="error")throw Error("Failed to change SIM slot");e({title:"SIM Slot Changed",description:"The SIM slot has been changed successfully"}),setTimeout(async()=>{await (0,eJ.a)("AT+COPS=0"),setTimeout(async()=>{let s=await (0,eJ.a)("AT+COPS=2");if("error"===s.status)throw Error("Failed to reconnect to the network");e({title:"Network Reconnected",description:"The device has been reconnected to the network"})},2e3)},3e3),setTimeout(w,3e3)}catch(s){console.error("Error changing SIM slot:",s),e({variant:"destructive",title:"SIM Slot Change Failed",description:s instanceof Error?s.message:"Failed to change the SIM slot"})}},w=(0,n.useCallback)(async()=>{try{await Promise.all([i(),c(),j()])}catch(s){console.error("Error refreshing data:",s),e({variant:"destructive",title:"Refresh Failed",description:"Failed to refresh the data"})}},[i,c,j]),[b,y]=(0,n.useState)([]),S=async()=>{try{await x()}catch(e){console.error("Error running diagnostics:",e)}};return(0,n.useEffect)(()=>{m&&console.log("Diagnostics data updated:",m)},[m]),(0,n.useEffect)(()=>{if(s&&s.currentBands){var e;let t=null===(e=s.currentBands.id)||void 0===e?void 0:e.map((e,t)=>{var l,n,r,i,a,o,d;return{id:e,bandNumber:(null===(l=s.currentBands.bandNumber)||void 0===l?void 0:l[t])||"N/A",earfcn:(null===(n=s.currentBands.earfcn)||void 0===n?void 0:n[t])||"N/A",bandwidth:(null===(r=s.currentBands.bandwidth)||void 0===r?void 0:r[t])||"N/A",pci:(null===(i=s.currentBands.pci)||void 0===i?void 0:i[t])||"N/A",rsrp:(null===(a=s.currentBands.rsrp)||void 0===a?void 0:a[t])||"N/A",rsrq:(null===(o=s.currentBands.rsrq)||void 0===o?void 0:o[t])||"N/A",sinr:(null===(d=s.currentBands.sinr)||void 0===d?void 0:d[t])||"N/A"}});t&&y(t)}},[s]),(0,l.jsxs)("div",{className:"grid xl:gap-y-12 gap-y-8 gap-4",children:[(0,l.jsxs)("div",{className:"grid gap-4",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,l.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,l.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Connection Summary"}),(0,l.jsx)(M.$,{variant:"ghost",size:"icon",className:"text-sm",onClick:w,children:(0,l.jsx)(D.A,{className:"xl:size-6 size-5 text-blue-500",strokeWidth:3})})]}),(0,l.jsxs)("div",{className:"flex flex-row items-center gap-x-2",children:[(null==s?void 0:s.simCard.state)==="Not Inserted"&&(0,l.jsxs)(B.lG,{children:[(0,l.jsx)(B.zM,{children:(0,l.jsxs)(M.$,{variant:"destructive",children:[(0,l.jsx)(eE.fU4,{className:"xl:size-6 size-5"}),(0,l.jsx)("span",{className:"hidden md:block",children:"No SIM"})]})}),(0,l.jsxs)(B.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(B.c7,{children:(0,l.jsx)(B.L3,{children:"No SIM Detected"})}),(0,l.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,l.jsx)("div",{className:"flex items-center justify-center",children:(0,l.jsx)(eE.fU4,{className:"xl:size-14 md:size-12 size-6 text-red-500"})}),(0,l.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,l.jsxs)("div",{className:"flex justify-end mt-4",children:[(0,l.jsx)(M.$,{variant:"secondary",onClick:N,className:"mr-2",children:"Change SIM Slot"}),(0,l.jsx)(B.HM,{asChild:!0,children:(0,l.jsx)(M.$,{children:"Close"})})]})]})]}),(0,l.jsxs)(B.lG,{children:[(0,l.jsx)(B.zM,{children:(0,l.jsxs)(M.$,{variant:"secondary",onClick:S,children:[(0,l.jsx)(L.A,{className:"xl:size-6 size-5"}),(0,l.jsx)("span",{className:"hidden md:block",children:"Run Diagnostics"})]})}),!u&&(0,l.jsxs)(B.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(B.c7,{children:(0,l.jsx)(B.L3,{children:"Diagnostics Result"})}),(0,l.jsx)(B.rr,{children:"This is the result of the diagnostic test ran on your device."}),(0,l.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Network Registration "}),(null==m?void 0:m.netRegistration)==="Registered"?(0,l.jsx)(G.A,{className:"text-green-500"}):(0,l.jsx)(z.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"U-SIM State"}),(null==m?void 0:m.simState)==="READY"?(0,l.jsx)(G.A,{className:"text-green-500"}):(0,l.jsx)(z.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Manual APN"}),(null==m?void 0:m.manualAPN)==="Enabled"?(0,l.jsx)(G.A,{className:"text-green-500"}):(0,l.jsx)(z.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"WAN IP"}),(null==m?void 0:m.wanIP)==="Connected"?(0,l.jsx)(G.A,{className:"text-green-500"}):(0,l.jsx)(z.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Cellular Signal"}),(null==m?void 0:m.cellSignal)==="Good"?(0,l.jsx)(G.A,{className:"text-green-500"}):(0,l.jsx)(z.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Modem Temperature"}),(null==m?void 0:m.modemTemp)==="Normal"?(0,l.jsx)(G.A,{className:"text-green-500"}):(0,l.jsx)(z.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between mt-6",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Net Reject Cause"}),(null==m?void 0:m.netReject)==="None"?(0,l.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,l.jsx)(G.A,{className:"text-green-500"}),(0,l.jsx)("span",{children:"None"})]}):(0,l.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,l.jsx)(z.A,{className:"text-red-500"}),(0,l.jsx)("span",{children:null==m?void 0:m.netReject})]})]})]})]}),u&&(0,l.jsxs)(B.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(B.c7,{children:(0,l.jsx)(B.L3,{children:"Running Diagnostics"})}),(0,l.jsx)("div",{className:"flex items-center justify-center my-4",children:(0,l.jsx)(P(),{color:"#6D28D9"})}),(0,l.jsx)(B.rr,{className:"text-center",children:"Please wait while we run diagnostics on your device."})]})]})]})]}),(0,l.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,l.jsx)("div",{children:(0,l.jsx)(k,{})}),(0,l.jsxs)("div",{className:"grid gap-2 lg:grid-cols-2 grid-cols-1 grid-flow-row",children:[(0,l.jsx)(E,{}),(0,l.jsx)(R,{}),(0,l.jsx)(eK,{}),(0,l.jsx)(U,{})]})]}),(0,l.jsxs)("div",{className:"grid 2xl:grid-cols-4 lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,l.jsx)(d,{data:s,isLoading:t}),(0,l.jsx)(p,{data:s,isLoading:t,dataConnectionState:a,connectionStateLoading:o}),(0,l.jsx)(h,{data:s,isLoading:t,bytesSent:g,bytesReceived:v}),(0,l.jsx)(f,{data:s,isLoading:t})]})]}),(0,l.jsxs)("div",{className:"grid xl:gap-6 gap-4",children:[(0,l.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Current Active Bands"}),(0,l.jsx)(Y,{bands:b,isLoading:t})]})]})}},45934:(e,s,t)=>{"use strict";t.d(s,{E:()=>a});var l=t(20475);t(20107);var n=t(29395),r=t(22250);let i=(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 a(e){let{className:s,variant:t,...n}=e;return(0,l.jsx)("div",{className:(0,r.cn)(i({variant:t}),s),...n})}},42541:(e,s,t)=>{"use strict";t.d(s,{$:()=>d,r:()=>o});var l=t(20475),n=t(20107),r=t(61837),i=t(29395),a=t(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=n.forwardRef((e,s)=>{let{className:t,variant:n,size:i,asChild:d=!1,...c}=e,u=d?r.DX:"button";return(0,l.jsx)(u,{className:(0,a.cn)(o({variant:n,size:i,className:t})),ref:s,...c})});d.displayName="Button"},72167:(e,s,t)=>{"use strict";t.d(s,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>i,aR:()=>a,wL:()=>u});var l=t(20475),n=t(20107),r=t(22250);let i=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...n})});i.displayName="Card";let a=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("flex flex-col space-y-1.5 p-6",t),...n})});a.displayName="CardHeader";let o=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("h3",{ref:s,className:(0,r.cn)("font-semibold leading-none tracking-tight",t),...n})});o.displayName="CardTitle";let d=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("p",{ref:s,className:(0,r.cn)("text-sm text-muted-foreground",t),...n})});d.displayName="CardDescription";let c=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("p-6 pt-0",t),...n})});c.displayName="CardContent";let u=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("flex items-center p-6 pt-0",t),...n})});u.displayName="CardFooter"},1307:(e,s,t)=>{"use strict";t.d(s,{II:()=>p,Nt:()=>h,at:()=>m});var l=t(20475),n=t(20107),r=t(81155),i=t(58601),a=t(58736),o=t(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,s)=>{let{id:t,className:i,children:a,config:d,...u}=e,m=n.useId(),p="chart-".concat(t||m.replace(/:/g,""));return(0,l.jsx)(c.Provider,{value:{config:d},children:(0,l.jsxs)("div",{"data-chart":p,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",i),...u,children:[(0,l.jsx)(x,{id:p,config:d}),(0,l.jsx)(r.u,{children:a})]})})});m.displayName="Chart";let x=e=>{let{id:s,config:t}=e,n=Object.entries(t).filter(e=>{let[s,t]=e;return t.theme||t.color});return n.length?(0,l.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(d).map(e=>{let[t,l]=e;return"\n".concat(l," [data-chart=").concat(s,"] {\n").concat(n.map(e=>{var s;let[l,n]=e,r=(null===(s=n.theme)||void 0===s?void 0:s[t])||n.color;return r?" --color-".concat(l,": ").concat(r,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null},p=i.m,h=n.forwardRef((e,s)=>{let{active:t,payload:r,className:i,indicator:a="dot",hideLabel:d=!1,hideIndicator:c=!1,label:m,labelFormatter:x,labelClassName:p,formatter:h,color:g,nameKey:v,labelKey:j}=e,{config:N}=u(),w=n.useMemo(()=>{var e;if(d||!(null==r?void 0:r.length))return null;let[s]=r,t="".concat(j||s.dataKey||s.name||"value"),n=f(N,s,t),i=j||"string"!=typeof m?null==n?void 0:n.label:(null===(e=N[m])||void 0===e?void 0:e.label)||m;return x?(0,l.jsx)("div",{className:(0,o.cn)("font-medium",p),children:x(i,r)}):i?(0,l.jsx)("div",{className:(0,o.cn)("font-medium",p),children:i}):null},[m,x,r,d,p,N,j]);if(!t||!(null==r?void 0:r.length))return null;let b=1===r.length&&"dot"!==a;return(0,l.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",i),children:[b?null:w,(0,l.jsx)("div",{className:"grid gap-1.5",children:r.map((e,s)=>{let t="".concat(v||e.name||e.dataKey||"value"),n=f(N,e,t),r=g||e.payload.fill||e.color;return(0,l.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"===a&&"items-center"),children:h&&(null==e?void 0:e.value)!==void 0&&e.name?h(e.value,e.name,e,s,e.payload):(0,l.jsxs)(l.Fragment,{children:[(null==n?void 0:n.icon)?(0,l.jsx)(n.icon,{}):!c&&(0,l.jsx)("div",{className:(0,o.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===a,"w-1":"line"===a,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===a,"my-0.5":b&&"dashed"===a}),style:{"--color-bg":r,"--color-border":r}}),(0,l.jsxs)("div",{className:(0,o.cn)("flex flex-1 justify-between leading-none",b?"items-end":"items-center"),children:[(0,l.jsxs)("div",{className:"grid gap-1.5",children:[b?w:null,(0,l.jsx)("span",{className:"text-muted-foreground",children:(null==n?void 0:n.label)||e.name})]}),e.value&&(0,l.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 l="payload"in s&&"object"==typeof s.payload&&null!==s.payload?s.payload:void 0,n=t;return t in s&&"string"==typeof s[t]?n=s[t]:l&&t in l&&"string"==typeof l[t]&&(n=l[t]),n in e?e[n]:e[t]}h.displayName="ChartTooltip",a.s,n.forwardRef((e,s)=>{let{className:t,hideIcon:n=!1,payload:r,verticalAlign:i="bottom",nameKey:a}=e,{config:d}=u();return(null==r?void 0:r.length)?(0,l.jsx)("div",{ref:s,className:(0,o.cn)("flex items-center justify-center gap-4","top"===i?"pb-3":"pt-3",t),children:r.map(e=>{let s="".concat(a||e.dataKey||"value"),t=f(d,e,s);return(0,l.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)&&!n?(0,l.jsx)(t.icon,{}):(0,l.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:()=>h,HM:()=>u,L3:()=>f,c7:()=>p,lG:()=>o,rr:()=>g,zM:()=>d});var l=t(20475),n=t(20107),r=t(60241),i=t(7197),a=t(22250);let o=r.bL,d=r.l9,c=r.ZL,u=r.bm,m=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(r.hJ,{ref:s,className:(0,a.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...n})});m.displayName=r.hJ.displayName;let x=n.forwardRef((e,s)=>{let{className:t,children:n,...o}=e;return(0,l.jsxs)(c,{children:[(0,l.jsx)(m,{}),(0,l.jsxs)(r.UC,{ref:s,className:(0,a.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[n,(0,l.jsxs)(r.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,l.jsx)(i.MKb,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});x.displayName=r.UC.displayName;let p=e=>{let{className:s,...t}=e;return(0,l.jsx)("div",{className:(0,a.cn)("flex flex-col space-y-1.5 text-center sm:text-left",s),...t})};p.displayName="DialogHeader";let h=e=>{let{className:s,...t}=e;return(0,l.jsx)("div",{className:(0,a.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",s),...t})};h.displayName="DialogFooter";let f=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(r.hE,{ref:s,className:(0,a.cn)("text-lg font-semibold leading-none tracking-tight",t),...n})});f.displayName=r.hE.displayName;let g=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(r.VY,{ref:s,className:(0,a.cn)("text-sm text-muted-foreground",t),...n})});g.displayName=r.VY.displayName},36760:(e,s,t)=>{"use strict";t.d(s,{E:()=>r});var l=t(20475),n=t(22250);function r(e){let{className:s,...t}=e;return(0,l.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",s),...t})}},32857:(e,s,t)=>{"use strict";t.d(s,{dj:()=>m,oR:()=>u});var l=t(20107);let n=0,r=new Map,i=e=>{if(r.has(e))return;let s=setTimeout(()=>{r.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);r.set(e,s)},a=(e,s)=>{switch(s.type){case"ADD_TOAST":return{...e,toasts:[s.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===s.toast.id?{...e,...s.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=s;return t?i(t):e.toasts.forEach(e=>{i(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=a(d,e),o.forEach(e=>{e(d)})}function u(e){let{...s}=e,t=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),l=()=>c({type:"DISMISS_TOAST",toastId:t});return c({type:"ADD_TOAST",toast:{...s,id:t,open:!0,onOpenChange:e=>{e||l()}}}),{id:t,dismiss:l,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function m(){let[e,s]=l.useState(d);return l.useEffect(()=>(o.push(s),()=>{let e=o.indexOf(s);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,s,t)=>{"use strict";t.d(s,{cn:()=>r});var l=t(64901),n=t(868);function r(){for(var e=arguments.length,s=Array(e),t=0;t{"use strict";t.d(s,{a:()=>l});let l=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 l;let n=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),r=encodeURIComponent(n),i="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(r);s&&(i+="&wait=1&timeout=".concat(t));let a=await fetch(i,{method:"GET",headers:{Accept:"application/json"},signal:AbortSignal.timeout(1e3*t+5e3)});if(!a.ok)throw Error("AT command failed with status: ".concat(a.status));let o=await a.json();if(o.error)throw Error("AT queue error: ".concat(o.error));if(s&&(null===(l=o.response)||void 0===l?void 0:l.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,9464,241,1074,4458,191,6035,7358],()=>s(31710)),_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-d0648dbb90fe7bbf.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-d0648dbb90fe7bbf.js new file mode 100644 index 0000000..81d4d72 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/home/page-d0648dbb90fe7bbf.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6665],{31710:(e,s,t)=>{Promise.resolve().then(t.bind(t,88954))},88954:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>eV});var l=t(20475),n=t(20107),r=t(32857),i=t(72167),a=t(36760),o=t(45934);let d=e=>{let{data:s,isLoading:t}=e;return(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Sim Card"}),(0,l.jsx)(i.BT,{children:"Sim card information"})]}),(0,l.jsxs)(i.Wu,{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Sim Card Slot in Use"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[50px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.slot})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Sim Card State"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Provider"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.provider})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Phone Number"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[140px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.phoneNumber})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"IMSI"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[140px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imsi})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"ICCID"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[140px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.iccid})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"IMEI"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[140px]"}):(0,l.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"},u={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"},m={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=>m[e]||"Unknown",p=e=>{let{data:s,isLoading:t,dataConnectionState:n,connectionStateLoading:r}=e;return(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Connection"}),(0,l.jsx)(i.BT,{children:"Connection information"})]}),(0,l.jsxs)(i.Wu,{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"APN"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.apn})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Operator State"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Functionality State"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Data Connection State"}),r?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.jsx)(o.E,{className:"font-bold ".concat("Connected"===n?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:n})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Network Type"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.networkType})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Modem Temperature"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:null==s?void 0:s.connection.modemTemperature})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Access Technology"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:(null==s?void 0:s.connection.accessTechnology)?x(s.connection.accessTechnology):"Unknown"})]})]})]})},h=e=>{let{data:s,isLoading:t,bytesSent:n,bytesReceived:r}=e;return(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Data Transmission"}),(0,l.jsx)(i.BT,{children:"Data transmission information"})]}),(0,l.jsxs)(i.Wu,{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Carrier Aggregation"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Bandwidth"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.bandwidth})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Connected Bands"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.connectedBands})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Signal Strength"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[100px]"}):(0,l.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,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"MIMO Layers"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[100px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.dataTransmission.mimoLayers})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Bytes Sent"}),(0,l.jsx)("p",{className:"font-bold",children:n})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Bytes Received"}),(0,l.jsx)("p",{className:"font-bold",children:r})]})]})]})},f=e=>{let{data:s,isLoading:t}=e;return(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Cellular Information"}),(0,l.jsx)(i.BT,{children:"Cellular network information"})]}),(0,l.jsxs)(i.Wu,{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Cell ID"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.cellId})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"TAC"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.trackingAreaCode})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Physical Cell IDs"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.physicalCellId})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"E/ARFCN"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.earfcn})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Mobile Country Code"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mcc})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Mobile Network Code"}),t?(0,l.jsx)(a.E,{className:"h-4 w-[80px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.cellularInfo.mnc})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Antenna Signal Quality"}),t?(0,l.jsx)(a.E,{className:"h-6 w-[80px]"}):(0,l.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 g=t(1307),v=t(53134),j=t(94005),N=t(4538),w=t(41797),b=t(79492);let y={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))"}},S=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 l=t.filter(e=>-140!==e&&-32768!==e);return 0===l.length?0:Math.round(l.reduce((e,s)=>e+s,0)/l.length)},k=()=>{let[e,s]=(0,n.useState)([]),[t,r]=(0,n.useState)("rsrp"),[o,d]=(0,n.useState)(!0),[c,u]=(0,n.useState)(null),m=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_signal_metrics.sh");if(!e.ok)throw Error("Failed to fetch signal metrics");let t=await e.json(),l=Math.min(t.rsrp.length,t.rsrq.length,t.sinr.length),n=Array.from({length:l},(e,s)=>({time:t.rsrp[s].datetime,rsrp:S(t.rsrp[s].output),rsrq:S(t.rsrq[s].output),sinr:S(t.sinr[s].output)}));s(n),u(null)}catch(e){console.error("Error fetching metrics:",e),u(e instanceof Error?e.message:"An unknown error occurred"),s([])}finally{d(!1)}},[]);(0,n.useEffect)(()=>{m();let e=setInterval(m,15e3);return()=>clearInterval(e)},[m]);let x=e.length>0?e[e.length-1]:{rsrp:0,rsrq:0,sinr:0};return c?(0,l.jsx)(i.Zp,{children:(0,l.jsxs)(i.aR,{children:[(0,l.jsx)(i.ZB,{children:"Error Loading Signal Metrics"}),(0,l.jsx)(i.BT,{children:c})]})}):(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{className:"flex flex-col items-stretch space-y-0 border-b p-0 sm:flex-row",children:[(0,l.jsxs)("div",{className:"flex flex-1 flex-col justify-center gap-1 px-6 py-5 sm:py-6",children:[(0,l.jsx)(i.ZB,{children:"Antenna Port Signal Metrics"}),(0,l.jsx)(i.BT,{children:"Per-port signal values averaged across all active ports"})]}),(0,l.jsx)("div",{className:"flex",children:["rsrp","rsrq","sinr"].map(e=>(0,l.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:()=>r(e),children:[(0,l.jsx)("span",{className:"text-xs text-muted-foreground",children:y[e].label}),o?(0,l.jsx)(a.E,{className:"lg:h-10 h-6 w-full"}):(0,l.jsx)("span",{className:"text-base font-bold leading-none sm:text-3xl",children:x[e].toFixed(0)})]},e))})]}),(0,l.jsx)(i.Wu,{className:"px-2 sm:p-6",children:(0,l.jsx)(g.at,{config:y,className:"aspect-auto h-[250px] w-full",children:(0,l.jsxs)(v.Q,{accessibilityLayer:!0,data:e,margin:{left:12,right:12},children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"fillRsrp",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrp)",stopOpacity:.8}),(0,l.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrp)",stopOpacity:.1})]}),(0,l.jsxs)("linearGradient",{id:"fillRsrq",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"5%",stopColor:"var(--color-rsrq)",stopOpacity:.8}),(0,l.jsx)("stop",{offset:"95%",stopColor:"var(--color-rsrq)",stopOpacity:.1})]}),(0,l.jsxs)("linearGradient",{id:"fillSinr",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"5%",stopColor:"var(--color-sinr)",stopOpacity:.8}),(0,l.jsx)("stop",{offset:"95%",stopColor:"var(--color-sinr)",stopOpacity:.1})]})]}),(0,l.jsx)(j.d,{vertical:!1}),(0,l.jsx)(N.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,l.jsx)(w.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,l.jsx)(g.II,{content:(0,l.jsx)(g.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,l.jsx)(b.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,l.jsxs)(i.wL,{className:"flex-col items-start gap-2 text-sm",children:[(0,l.jsx)("div",{className:"flex gap-2 font-medium leading-none",children:"These metrics show the aggregate antenna port measurements, not the per-band values."}),(0,l.jsx)("div",{className:"leading-none text-muted-foreground italic",children:"Higher values indicate better signal quality."})]})]})},A=e=>{if("Unknown!"===e)return"-";let s=e.match(/(\d+)/);if(!s)return e;let t=parseInt(s[1],10);return t>=1e3?"".concat(t/1e3).concat((e.includes("Gb"),"Gb/s")):"".concat(t).concat((e.includes("Mb"),"Mb/s"))},E=()=>{let[e,s]=(0,n.useState)({link_status:"Loading...",link_speed:"Loading...",auto_negotiation:"Loading..."}),[t,r]=(0,n.useState)(!0),[o,d]=(0,n.useState)(null);return((0,n.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 t=await e.json();s(t),r(!1)}catch(e){d("Failed to fetch Ethernet information"),r(!1)}})()},[]),o)?(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsx)(i.ZB,{children:"Ethernet"})}),(0,l.jsx)(i.Wu,{className:"flex items-center justify-center",children:(0,l.jsx)("div",{className:"text-red-500",children:o})})]}):(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsx)(i.ZB,{children:"Ethernet"})}),(0,l.jsx)(i.Wu,{children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Link Status"}),(0,l.jsx)("span",{className:"text-base font-bold",children:t?(0,l.jsx)(a.E,{className:"h-8 w-full"}):"yes"===e.link_status?"Active":"Inactive"})]}),(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Link Speed"}),(0,l.jsx)("span",{className:"text-base font-bold",children:t?(0,l.jsx)(a.E,{className:"h-8 w-full"}):A(e.link_speed)})]}),(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Auto-negotiation"}),(0,l.jsx)("span",{className:"text-base font-bold",children:t?(0,l.jsx)(a.E,{className:"h-8 w-full"}):"on"===e.auto_negotiation?"Active":"Inactive"})]})]})})]})},C=e=>"".concat(Math.round(e/1048576)," MB"),R=()=>{let[e,s]=(0,n.useState)({total:0,used:0,available:0}),[t,r]=(0,n.useState)(!0);return(0,n.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 l=await e.json();s(l),t&&r(!1)}catch(e){console.error("Failed to fetch memory information"),t&&r(!1)}};e();let l=setInterval(e,2e3);return()=>clearInterval(l)},[t]),(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsx)(i.ZB,{children:"Memory"})}),(0,l.jsx)(i.Wu,{children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-2 grid-flow-row gap-4 col-span-3",children:[(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Total"}),t?(0,l.jsx)(a.E,{className:"h-6 w-24"}):(0,l.jsx)("span",{className:"text-base font-bold",children:C(e.total)})]}),(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Used"}),t?(0,l.jsx)(a.E,{className:"h-6 w-24"}):(0,l.jsx)("span",{className:"text-base font-bold",children:C(e.used)})]}),(0,l.jsxs)("div",{className:"grid gap-1",children:[(0,l.jsx)("span",{className:"text-sm text-muted-foreground",children:"Available"}),t?(0,l.jsx)(a.E,{className:"h-6 w-24"}):(0,l.jsx)("span",{className:"text-base font-bold",children:C(e.available)})]})]})})]})},T={ms:{label:"ms",color:"hsl(var(--chart-4))"}},I=()=>new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"}),U=()=>{let[e,s]=(0,n.useState)(()=>{let e=localStorage.getItem("pingData");return e?JSON.parse(e):[]}),t=(0,n.useRef)(e);(0,n.useEffect)(()=>{t.current=e},[e]);let[r,d]=(0,n.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,u]=(0,n.useState)(()=>{let e=localStorage.getItem("pingData");return!e||0===JSON.parse(e).length}),[m,x]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let l=async()=>{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 l=await e.json();d(e=>null===e||m?l.latency:(n(e,l.latency,e=>d(e)),e));let r=I(),i=t.current,a={time:r,ms:l.latency,index:i.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?r:I()}));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&&u(!1)}catch(s){console.error("Failed to fetch ping latency",s),c&&e.length>0&&u(!1)}},n=(e,s,t)=>{let l=performance.now(),n=s-e,r=s=>{let i=Math.min((s-l)/1500,1);t(Math.round(e+n*(i<.5?4*i*i*i:1-Math.pow(-2*i+2,3)/2))),i<1&&requestAnimationFrame(r)};requestAnimationFrame(r)};l();let r=setInterval(l,5e3);return()=>clearInterval(r)},[]),(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)(i.aR,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,l.jsx)(i.ZB,{children:"Ping Latency"}),null!==r&&(0,l.jsxs)(o.E,{className:"text-normal font-bold transition-opacity duration-200 ".concat(m?"":"opacity-70"),children:[r," ms ",!m&&"(cached)"]})]}),(0,l.jsx)(i.Wu,{children:c?(0,l.jsx)(a.E,{className:"h-[200px] w-full"}):(0,l.jsx)(g.at,{config:T,children:(0,l.jsxs)(v.Q,{accessibilityLayer:!0,data:e,margin:{top:5,right:10,left:0,bottom:5},children:[(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:"fillPing",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,l.jsx)("stop",{offset:"5%",stopColor:"var(--color-ms)",stopOpacity:.8}),(0,l.jsx)("stop",{offset:"95%",stopColor:"var(--color-ms)",stopOpacity:.1})]})}),(0,l.jsx)(j.d,{vertical:!1,stroke:"var(--border)",strokeOpacity:.2}),(0,l.jsx)(N.W,{dataKey:"index",tickLine:!1,axisLine:!1,tickMargin:5,tick:{fontSize:9},ticks:[1,2,3,4,5]}),(0,l.jsx)(w.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,l.jsx)(g.II,{cursor:!1,content:(0,l.jsx)(g.Nt,{labelFormatter:(s,t)=>{let l=e.find(e=>e.index===s);return l?"".concat(l.time):s},formatter:(e,s)=>["".concat(e," ms"),"Latency"]})}),(0,l.jsx)(b.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),B=t(93557),D=t(97801),L=t(14389),G=t(98969),z=t(17799),_=t(92776),P=t.n(_),F=t(7197),q=t(74043),O=t(22250);let Z=n.createContext(null);function H(){let e=n.useContext(Z);if(!e)throw Error("useCarousel must be used within a ");return e}let W=n.forwardRef((e,s)=>{let{orientation:t="horizontal",opts:r,setApi:i,plugins:a,className:o,children:d,...c}=e,[u,m]=(0,q.A)({...r,axis:"horizontal"===t?"x":"y"},a),[x,p]=n.useState(!1),[h,f]=n.useState(!1),g=n.useCallback(e=>{e&&(p(e.canScrollPrev()),f(e.canScrollNext()))},[]),v=n.useCallback(()=>{null==m||m.scrollPrev()},[m]),j=n.useCallback(()=>{null==m||m.scrollNext()},[m]),N=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),j())},[v,j]);return n.useEffect(()=>{m&&i&&i(m)},[m,i]),n.useEffect(()=>{if(m)return g(m),m.on("reInit",g),m.on("select",g),()=>{null==m||m.off("select",g)}},[m,g]),(0,l.jsx)(Z.Provider,{value:{carouselRef:u,api:m,opts:r,orientation:t||((null==r?void 0:r.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:j,canScrollPrev:x,canScrollNext:h},children:(0,l.jsx)("div",{ref:s,onKeyDownCapture:N,className:(0,O.cn)("relative",o),role:"region","aria-roledescription":"carousel",...c,children:d})})});W.displayName="Carousel";let Q=n.forwardRef((e,s)=>{let{className:t,...n}=e,{carouselRef:r,orientation:i}=H();return(0,l.jsx)("div",{ref:r,className:"overflow-hidden",children:(0,l.jsx)("div",{ref:s,className:(0,O.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",t),...n})})});Q.displayName="CarouselContent";let K=n.forwardRef((e,s)=>{let{className:t,...n}=e,{orientation:r}=H();return(0,l.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,O.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",t),...n})});K.displayName="CarouselItem";let J=n.forwardRef((e,s)=>{let{className:t,variant:n="outline",size:r="icon",...i}=e,{orientation:a,scrollPrev:o,canScrollPrev:d}=H();return(0,l.jsxs)(M.$,{ref:s,variant:n,size:r,className:(0,O.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...i,children:[(0,l.jsx)(F.A60,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});J.displayName="CarouselPrevious";let V=n.forwardRef((e,s)=>{let{className:t,variant:n="outline",size:r="icon",...i}=e,{orientation:a,scrollNext:o,canScrollNext:d}=H();return(0,l.jsxs)(M.$,{ref:s,variant:n,size:r,className:(0,O.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...i,children:[(0,l.jsx)(F.flY,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Next slide"})]})});V.displayName="CarouselNext";let $=e=>{let{id:s,bandNumber:t,earfcn:n,bandwidth:r,pci:a,rsrp:d,rsrq:c,sinr:u}=e;return(0,l.jsx)(i.Zp,{className:"p-8",children:(0,l.jsxs)("div",{className:"flex flex-row items-center gap-6 justify-between",children:[(0,l.jsxs)("div",{className:"grid gap-2 w-[180px]",children:[(0,l.jsx)("h2",{className:"text-md font-bold",children:"Band"}),(0,l.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[t.replace("LTE BAND ","B").replace("NR5G BAND ","N"),t.includes("NR5G")&&(0,l.jsx)(o.E,{className:"text-xs bg-blue-600 hover:bg-blue-800",children:"NR 5G"})]})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"E/ARFCN"}),(0,l.jsx)("p",{children:n})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"Bandwidth"}),(0,l.jsx)("p",{children:r})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"Physical Cell ID"}),(0,l.jsx)("p",{children:a})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"RSRP"}),(0,l.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,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"RSRQ"}),(0,l.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,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"SINR"}),(0,l.jsxs)(o.E,{className:parseInt(u)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(u)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[u," dB"]})]})]})})},Y=e=>{let{bands:s,isLoading:t}=e;return t?(0,l.jsxs)("div",{className:"flex items-center justify-center",children:[(0,l.jsx)("div",{className:"hidden lg:block w-full",children:(0,l.jsxs)(i.Zp,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,l.jsx)($,{...e},e.id)),(0,l.jsx)(i.wL,{className:"w-full p-6 flex items-center justify-center",children:(0,l.jsx)(i.BT,{className:"text-md",children:"Currently bands connected."})})]})}),(0,l.jsx)(W,{className:"lg:hidden w-full max-w-xs",children:(0,l.jsx)(Q,{children:(0,l.jsx)(K,{children:(0,l.jsx)("div",{className:"p-1",children:(0,l.jsx)(i.Zp,{children:(0,l.jsxs)(i.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"Band"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-16 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"E/ARFCN"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-16 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"Bandwidth"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-16 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"PCI"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-16 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRP"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-32 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRQ"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-32 h-4"})})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"SINR"}),(0,l.jsx)("div",{children:(0,l.jsx)(a.E,{className:"w-32 h-4"})})]})]})})})})})})]}):(0,l.jsxs)("div",{className:"flex items-center justify-center",children:[(0,l.jsx)("div",{className:"hidden lg:block w-full",children:(0,l.jsxs)(i.Zp,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,l.jsx)($,{...e},e.id)),(0,l.jsx)(i.wL,{className:"w-full p-6 flex items-center justify-center",children:(0,l.jsx)(i.BT,{className:"text-md",children:"Current bands connected."})})]})}),(0,l.jsxs)(W,{className:"lg:hidden w-full max-w-xs",children:[(0,l.jsx)(Q,{children:null==s?void 0:s.map(e=>(0,l.jsx)(K,{className:"md:basis-1/2 lg:basis-1/3",children:(0,l.jsx)("div",{className:"p-1",children:(0,l.jsx)(i.Zp,{children:(0,l.jsxs)(i.Wu,{className:"aspect-square p-4 gap-4 flex flex-col items-center justify-center flex-grow",children:[(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"Band"}),(0,l.jsx)("p",{children:e.bandNumber})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"E/ARFCN"}),(0,l.jsx)("p",{children:e.earfcn})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"Bandwidth"}),(0,l.jsx)("p",{children:e.bandwidth})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"PCI"}),(0,l.jsx)("p",{children:e.pci})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRP"}),(0,l.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,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRQ"}),(0,l.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,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"SINR"}),(0,l.jsxs)(o.E,{className:parseInt(e.sinr)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.sinr)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.sinr," dB"]})]})]})})})},e.id))}),(0,l.jsx)(J,{}),(0,l.jsx)(V,{})]})]})},X=e=>{try{var s,t;return(null==e?void 0:null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[2].replace(/"/g,"").trim())||"Unknown"}catch(e){return"-"}},ee=e=>{try{var s,t;return(null==e?void 0:null===(t=e.split("\n")[1])||void 0===t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[3].trim())||"Unknown"}catch(e){return"-"}},es=(e,s)=>{var t,l,n,r;switch((null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[1].trim())||(null===(r=s.split("\n")[1])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim())){case"1":return"Registered";case"2":return"Searching";case"3":return"Denied";case"4":return"Unknown";case"5":return"Roaming";default:return"Not Registered"}},et=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g),t=null==s?void 0:s.some(e=>e.includes("LTE")),l=null==s?void 0:s.some(e=>e.includes("NR5G"));return t&&l?"NR5G-NSA":t?"LTE":l?"NR5G-SA":"No Signal"},el=e=>{let s=["cpuss-0","cpuss-1","cpuss-2","cpuss-3"].map(s=>{var t;let l=e.split("\n").find(e=>e.includes(s));return parseInt(null==l?void 0:null===(t=l.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")},en=(e,s)=>{var t;let l=e.split("\n").find(e=>e.includes("PCC"));l=null==l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[2].trim();let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));n=n.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2].trim()});let r=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));if(r=r.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2].trim()}),"LTE"===s)return!n.length&&l?c[l]||"Unknown":[l?c[l]:"",...n.map(e=>c[e])].join(", ");if("NR5G-SA"===s&&l)return r.length?[u[l],...r.map(e=>u[e])].join(", "):u[l]||"Unknown";if("NR5G-NSA"===s&&l)return n.length||r.length?n.length&&!r.length?[c[l],...n.map(e=>c[e])].join(", "):[c[l],...n.map(e=>c[e]),...r.map(e=>u[e])].join(", "):c[l]||"Unknown";return"Unknown"},er=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g);return(null==s?void 0:s.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(null==e?void 0:e.split(" ")[2].replace(/"/g,"").trim()):void 0).join(", "))||"Unknown"},ei=e=>{var s,t;let l=e.split("\n").find(e=>e.includes("LTE")),n=e.split("\n").find(e=>e.includes("NR5G")),r=[],i=[];if(l&&(r=null==l?void 0:null===(s=l.split(":")[1])||void 0===s?void 0:s.split(",").slice(0,4).map(e=>parseInt(e.trim()))),n&&(i=null==n?void 0:null===(t=n.split(":")[1])||void 0===t?void 0:t.split(",").slice(0,4).map(e=>parseInt(e.trim()))),r=r.filter(e=>-140!==e&&-37625!==e&&-32768!==e),i=i.filter(e=>-140!==e&&-37625!==e&&-32768!==e),r.length){if(i.length){let e=r.reduce((e,s)=>e+s,0)/r.length,s=i.reduce((e,s)=>e+s,0)/i.length,t=Math.max(0,Math.min(100,(e+125)/50*100)),l=Math.max(0,Math.min(100,(s+125)/50*100));return"".concat(Math.round((t+l)/2),"%")}{let e=Math.max(0,Math.min(100,(r.reduce((e,s)=>e+s,0)/r.length+125)/50*100));return"".concat(Math.round(e),"%")}}if(!i.length)return"Unknown%";{let e=Math.max(0,Math.min(100,(i.reduce((e,s)=>e+s,0)/i.length+125)/50*100));return"".concat(Math.round(e),"%")}},ea=(e,s)=>{var t,l,n,r;return"NR5G-SA"===s||"LTE"===s?null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[6].trim():"NR5G-NSA"===s?null===(r=e.split("\n")[2])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[4].trim():"Unknown"},eo=(e,s)=>{var t,l,n,r,i,a;return"NR5G-SA"===s?null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[8].trim():"NR5G-NSA"===s?null===(r=e.split("\n")[2])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[10].trim():"LTE"===s?null===(a=e.split("\n")[1])||void 0===a?void 0:null===(i=a.split(":")[1])||void 0===i?void 0:i.split(",")[12].trim():"Unknown"},ed=(e,s)=>{var t,l;if("LTE"===s||"NR5G-NSA"===s){let l=e.split("\n").find(e=>e.includes("PCC"));l=null==l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[5].trim();let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));n=n.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5].trim()});let r=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(r=r.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[4].trim()}),n.length||r.length)?"LTE"===s?[l,...n].join(", "):[l,...n,...r].join(", "):l}if("NR5G-SA"===s){let s=e.split("\n").find(e=>e.includes("PCC"));s=null==s?void 0:null===(l=s.split(":")[1])||void 0===l?void 0:l.split(",")[4].trim();let t=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(t=t.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5].trim()})).length?[s,...t].join(", "):s}},ec=e=>{var s;let t=e.split("\n").find(e=>e.includes("PCC"));t=null==t?void 0:null===(s=t.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim();let l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));l=l.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim()});let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(n=n.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1].trim()}),!t||l.length||n.length)?t&&l.length&&!n.length?[t,...l].join(", "):t&&!l.length&&n.length?[t,...n].join(", "):t&&l.length&&n.length?[t,...l,...n].join(", "):"Unknown":t},eu=(e,s)=>{var t,l,n,r;return"LTE"===s||"NR5G-SA"===s?null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[4].trim():"NR5G-NSA"===s?null===(r=e.split("\n")[2])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[2].trim():"Unknown"},em=(e,s)=>{var t,l,n,r;return"LTE"===s||"NR5G-SA"===s?null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[5].trim():"NR5G-NSA"===s?null===(r=e.split("\n")[2])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[3].trim():void 0},ex=e=>{let s=e.split("\n"),t=s.find(e=>e.includes("LTE")),l=s.find(e=>e.includes("NR5G")),n=e=>{var s;return e?null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",").slice(0,4).map(e=>parseInt(e.trim())).filter(e=>-140!==e&&-32768!==e):[]},r=e=>e.length?Math.max(0,Math.min(100,(e.reduce((e,s)=>e+s,0)/e.length- -10)/40*100)):0,i=n(t),a=n(l);console.log("LTE SINR Array:",i),console.log("NR5G SINR Array:",a);let o=r(i),d=r(a);return i.length&&a.length?"".concat(Math.round((o+d)/2),"%"):i.length?"".concat(Math.round(o),"%"):a.length?"".concat(Math.round(d),"%"):"Unknown%"},ep=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),t=e.split("\n").filter(e=>e.includes("NR5G BAND"));return s.length&&t.length?[...s,...t].map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[3].replace(/"/g,"")}):s.length?s.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[3].replace(/"/g,"")}):t.length?t.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[3].replace(/"/g,"")}):["Unknown"]},eh=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),t=e.split("\n").filter(e=>e.includes("NR5G BAND"));return s.length&&t.length?[...s,...t].map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1]}):s.length?s.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1]}):t.length?t.map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[1]}):["Unknown"]},ef=e=>{let s=e.split("\n").filter(e=>e.includes("LTE BAND")),t=e.split("\n").filter(e=>e.includes("NR5G BAND")),l=s.map(e=>{var s;return c[null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2]]}),n=t.map(e=>{var s;return u[null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[2]]});return l.length&&n.length?[...l,...n]:l.length?l:n.length?n:["Unknown"]},eg=(e,s)=>{if("NR5G-SA"===s){let s=e.split("\n"),t=[],l=s.find(e=>e.includes("PCC"));if(l){let e=l.split(":")[1].split(",")[4].trim();t.push(e||"Unknown")}for(let e of s.filter(e=>e.includes("SCC"))){let s=e.split(":")[1].split(",");t.push(s.length>5?s[5].trim():"Unknown")}return t.length>0?t:["Unknown"]}if("LTE"===s){var t;let s=e.split("\n").find(e=>e.includes("PCC"));s=s?null==s?void 0:null===(t=s.split(":")[1])||void 0===t?void 0:t.split(",")[4].trim():"Unknown";let l=e.split("\n").filter(e=>e.includes("LTE BAND"));return l.length?[s,...l.map(e=>{var s;return(null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5])||"Unknown"})]:[s]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")),t=e.split("\n").filter(e=>e.includes("NR5G BAND"));return[...s.map(e=>{var s;return(null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5])||"Unknown"}),...t.map(e=>{var s;return(null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[4])||"Unknown"})]}return["Unknown"]},ev=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[6]});if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[6]}),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[4]});return s.length&&l.length?[...s,...l]:s.length?s:l.length?l:["Unknown"]}if("NR5G-SA"===s){let e=t.split("\n").find(e=>e.includes("NR5G-SA"));if(e){var l;return[null==e?void 0:null===(l=e.split(":")[1])||void 0===l?void 0:l.split(",")[12]]}}return["Unknown"]},ej=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[7]});if("NR5G-SA"===s){var l;let e=t.split("\n").find(e=>e.includes("NR5G-SA"));return e?[null==e?void 0:null===(l=e.split(":")[1])||void 0===l?void 0:l.split(",")[13]]:["Unknown"]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[7]}),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[6]});if(s.length&&l.length)return[...s,...l];if(s.length)return s;if(l.length)return l}return["Unknown"]},eN=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[9]});if("NR5G-SA"===s){var l;let e=t.split("\n").find(e=>e.includes("NR5G-SA"));return e?[null==e?void 0:null===(l=e.split(":")[1])||void 0===l?void 0:l.split(",")[14]]:["Unknown"]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[9]}),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>{var s;return null==e?void 0:null===(s=e.split(":")[1])||void 0===s?void 0:s.split(",")[5]});if(s.length&&l.length)return[...s,...l];if(s.length)return s;if(l.length)return l}return["Unknown"]},ew=e=>{var s,t;let l=[-32768,-140],n=e.split("\n").find(e=>e.includes("LTE")),r=e.split("\n").find(e=>e.includes("NR5G")),i=[],a=[];return(n&&(i=null==n?void 0:null===(s=n.split(":")[1])||void 0===s?void 0:s.split(",").slice(0,4).map(e=>parseInt(e.trim()))),r&&(a=null==r?void 0:null===(t=r.split(":")[1])||void 0===t?void 0:t.split(",").slice(0,4).map(e=>parseInt(e.trim()))),i=i.filter(e=>!l.includes(e)),a=a.filter(e=>!l.includes(e)),i.length)?a.length?"LTE ".concat(i.length.toString()," / NR ").concat(a.length.toString()):"LTE ".concat(i.length.toString()):a.length?"NR ".concat(a.length.toString()):"Unknown"},eb=()=>{let[e,s]=(0,n.useState)(null),[t,l]=(0,n.useState)(!0),[r,i]=(0,n.useState)(null),a=(0,n.useCallback)(async()=>{try{var e,t,l,n,r,a,o,d,c,u,m,x;let i=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=1"),p=await i.json();console.log(p);let h={simCard:{slot:(null===(e=p[0].response.split("\n")[1])||void 0===e?void 0:e.split(":")[1].trim())||"Unknown",state:p[6].response.match("READY")?"Inserted":"Not Inserted",provider:X(p[2].response)||"Unknown",phoneNumber:(null===(l=p[1].response.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[1].replace(/"/g,"").trim())||"Unknown",imsi:p[3].response.split("\n")[1].trim()||"Unknown",iccid:(null===(n=p[4].response.split("\n")[1])||void 0===n?void 0:n.split(":")[1].trim())||"Unknown",imei:p[5].response.split("\n")[1].trim()||"Unknown"},connection:{apn:(null===(a=p[7].response.split("\n")[1])||void 0===a?void 0:null===(r=a.split(":")[1])||void 0===r?void 0:r.split(",")[2].replace(/"/g,"").trim())||(null===(d=p[12].response.split("\n")[1])||void 0===d?void 0:null===(o=d.split(":")[1])||void 0===o?void 0:o.split(",")[2].replace(/"/g,"").trim())||"Unknown",operatorState:es(p[8].response,p[16].response)||"Unknown",functionalityState:(null===(c=p[9].response.split("\n")[1])||void 0===c?void 0:c.split(":")[1].trim())==="1"?"Enabled":"Disabled",networkType:et(p[13].response)||"No Signal",modemTemperature:el(p[11].response)||"Unknown",accessTechnology:ee(p[2].response)||"Unknown"},dataTransmission:{carrierAggregation:(null===(u=p[13].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g))||void 0===u?void 0:u.length)>1?"Multi":"Inactive",bandwidth:en(p[13].response,et(p[13].response))||"Unknown",connectedBands:er(p[13].response)||"Unknown",signalStrength:ei(p[14].response)||"Unknown",mimoLayers:ew(p[14].response)||"Unknown"},cellularInfo:{cellId:ea(p[10].response,et(p[13].response))||"Unknown",trackingAreaCode:eo(p[10].response,et(p[13].response))||"Unknown",physicalCellId:ed(p[13].response,et(p[13].response)),earfcn:ec(p[13].response),mcc:eu(p[10].response,et(p[13].response))||"Unknown",mnc:em(p[10].response,et(p[13].response))||"Unknown",signalQuality:ex(p[19].response)||"Unknown"},currentBands:{id:Array.from({length:null!==(x=null===(m=ep(p[13].response))||void 0===m?void 0:m.length)&&void 0!==x?x:0},(e,s)=>s+1)||[1],bandNumber:ep(p[13].response)||["Unknown"],earfcn:eh(p[13].response),bandwidth:ef(p[13].response)||["Unknown"],pci:eg(p[13].response,et(p[13].response))||["Unknown"],rsrp:ev(p[13].response,et(p[13].response),p[10].response),rsrq:ej(p[13].response,et(p[13].response),p[10].response)||["Unknown"],sinr:eN(p[13].response,et(p[13].response),p[10].response)||["Unknown"]}};s(h),console.log("Processed home data:",h)}catch(e){console.error("Error fetching home data:",e),s({simCard:{slot:"Unknown",state:"Not Inserted",provider:"Unknown",phoneNumber:"Unknown",imsi:"Unknown",iccid:"Unknown",imei:"Unknown"},connection:{apn:"Unknown",operatorState:"Unknown",functionalityState:"Disabled",networkType:"No Signal",modemTemperature:"Unknown",accessTechnology:"Unknown"},dataTransmission:{carrierAggregation:"Inactive",connectedBands:"Unknown",signalStrength:"Unknown",mimoLayers:"Unknown"},cellularInfo:{cellId:"Unknown",trackingAreaCode:"Unknown",physicalCellId:"Unknown",earfcn:"Unknown",mnc:"Unknown",signalQuality:"Unknown"},currentBands:{id:[1],bandNumber:["Unknown"],earfcn:["Unknown"],bandwidth:["Unknown"],pci:["Unknown"],rsrp:["Unknown"],rsrq:["Unknown"],sinr:["Unknown"]}}),i(null)}},[]);return(0,n.useEffect)(()=>{let e,s=!0;return(async()=>{if(s)try{await a()}finally{s&&l(!1)}})(),e=setInterval(()=>{a()},15e3),()=>{s=!1,clearInterval(e)}},[a]),{data:e,isLoading:t,error:r,refresh:(0,n.useCallback)(async()=>{l(!0),await a(),l(!1)},[a])}},ey=()=>{let[e,s]=(0,n.useState)("Unknown"),[t,l]=(0,n.useState)(!0),r=(0,n.useCallback)(async()=>{try{l(!0);let e=await fetch("/cgi-bin/quecmanager/home/check_net.sh"),t=await e.json();s("ACTIVE"===t.connection?"Connected":"Disconnected"),l(!1)}catch(e){console.error("Error fetching data connection state:",e),s("Unknown"),l(!1)}},[]);return(0,n.useEffect)(()=>{r();let e=setInterval(r,3e4);return()=>clearInterval(e)},[r]),{dataConnectionState:e,refresh:(0,n.useCallback)(()=>{r()},[r]),isStateLoading:t}},eS=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]},ek=()=>{let[e,s]=(0,n.useState)("0 Bytes"),[t,l]=(0,n.useState)("0 Bytes"),[r,i]=(0,n.useState)(""),a=e=>{var t,n;let r=Array.isArray(e)?e[e.length-1]:e;if(!r)return;i(r.datetime);let a=r.output.replace(/\r\\n/g,"\n").trim().split("\n").filter(e=>e.trim()),o=null===(t=a.find(e=>e.includes("+QGDCNT:")))||void 0===t?void 0:t.trim(),d=null===(n=a.find(e=>e.includes("+QGDNRCNT:")))||void 0===n?void 0:n.trim();if(!o||!d){console.error("Missing required data in response");return}let[c,u]=o.replace("+QGDCNT:","").split(",").map(e=>parseInt(e.trim())),[m,x]=d.replace("+QGDNRCNT:","").split(",").map(e=>parseInt(e.trim()));s(eS((u||0)+(m||0))),l(eS((c||0)+(x||0)))},o=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/home/fetch_data_usage.sh"),s=await e.json();a(s)}catch(e){console.error("Error fetching traffic stats:",e)}},[]);return(0,n.useEffect)(()=>{o();let e=setInterval(o,12e3);return()=>clearInterval(e)},[o]),{bytesSent:e,bytesReceived:t,lastUpdateTime:r,refresh:(0,n.useCallback)(()=>{o()},[o])}},eA=()=>{let[e,s]=(0,n.useState)(!1),[t,l]=(0,n.useState)(null),r=(e,s)=>{var t,l,n,r;let i=null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[1].trim(),a=null===(r=s.split("\n")[1])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[1].trim();return"1"===i||"1"===a?"Registered":"Not Registered"},i=(e,s)=>{var t,l,n,r;return(null===(l=e.split("\n")[1])||void 0===l?void 0:null===(t=l.split(":")[1])||void 0===t?void 0:t.split(",")[2].replace(/"/g,"").trim())===(null===(r=s.split("\n")[1])||void 0===r?void 0:null===(n=r.split(":")[1])||void 0===n?void 0:n.split(",")[2].replace(/"/g,"").trim())?"Enabled":"Disabled"},a=e=>{var s,t,l,n;let r=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(),i=null===(n=e.split("\n")[2])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[1].trim();return r&&"1"===r||i&&"1"===i?"Connected":"Disconnected"},o=e=>{try{var s,t,l,n;let r=e.trim().split("\n").map(e=>e.trim()),i=r.find(e=>e.includes("+QRSRP:")&&e.includes("LTE")),a=r.find(e=>e.includes("+QRSRP:")&&e.includes("NR5G")),o=[];i&&(o=null==i?void 0:null===(t=i.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(a&&(d=null==a?void 0:null===(n=a.split(":")[1])||void 0===n?void 0:null===(l=n.split(","))||void 0===l?void 0:l.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,l,n,r,i;let a=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===(n=e.split("\n")[2])||void 0===n?void 0:null===(l=n.split(":")[1])||void 0===l?void 0:l.split(",")[1].trim(),d=null===(i=e.split("\n")[3])||void 0===i?void 0:null===(r=i.split(":")[1])||void 0===r?void 0:r.split(",")[1].trim(),c=["0"!==a?"".concat(a):null,"0"!==o?"".concat(o):null,"0"!==d?"".concat(d):null].filter(Boolean);return c.length>0?c.join(", "):"None"};return{isRunningDiagnostics:e,runDiagnosticsData:t,startDiagnostics:async()=>{s(!0);try{let e=await fetch("/cgi-bin/quecmanager/at_cmd/fetch_data.sh?set=6"),s=await e.json();console.log("Diagnostics data:",s);let t={netRegistration:r(s[0].response,s[1].response),simState:s[2].response.split("\n")[1].split(":")[1].trim(),manualAPN:i(s[3].response,s[4].response),wanIP:a(s[5].response),cellSignal:o(s[6].response),modemTemp:d(s[7].response),netReject:c(s[8].response)};return l(t),t}catch(e){throw console.error("Error running diagnostics:",e),e}finally{s(!1)}}}};var eE=t(80159),eC=t(71602);let eR=e=>{let{shouldScaleBackground:s=!0,...t}=e;return(0,l.jsx)(eC._s.Root,{shouldScaleBackground:s,...t})};eR.displayName="Drawer";let eT=eC._s.Trigger,eI=eC._s.Portal;eC._s.Close;let eU=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(eC._s.Overlay,{ref:s,className:(0,O.cn)("fixed inset-0 z-50 bg-black/80",t),...n})});eU.displayName=eC._s.Overlay.displayName;let eM=n.forwardRef((e,s)=>{let{className:t,children:n,...r}=e;return(0,l.jsxs)(eI,{children:[(0,l.jsx)(eU,{}),(0,l.jsxs)(eC._s.Content,{ref:s,className:(0,O.cn)("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",t),...r,children:[(0,l.jsx)("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),n]})]})});eM.displayName="DrawerContent",n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(eC._s.Title,{ref:s,className:(0,O.cn)("text-lg font-semibold leading-none tracking-tight",t),...n})}).displayName=eC._s.Title.displayName,n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(eC._s.Description,{ref:s,className:(0,O.cn)("text-sm text-muted-foreground",t),...n})}).displayName=eC._s.Description.displayName;var eB=t(12607),eD=t(25262),eL=t(8782),eG=t(10964),ez=t(89463),e_=t(90304),eP=t(622),eF=t(20633),eq=t(7778),eO=t(99312),eZ=t(92823),eH=t(71834);let eW=e=>{if(null==e)return"N/A";let s=["B","KB","MB","GB"],t=e,l=0;for(;t>=1024&&l{if(null==e)return"N/A";let s=["bps","Kbps","Mbps","Gbps"],t=8*e,l=0;for(;t>=1e3&&l{let[e,s]=(0,n.useState)(null),[t,r]=(0,n.useState)(null),[a,o]=(0,n.useState)(!1),[d,c]=(0,n.useState)(null),[u,m]=(0,n.useState)(!1),[x,p]=(0,n.useState)(!1),[h,f]=(0,n.useState)(!1),[g,v]=(0,n.useState)(0),[j,N]=(0,n.useState)(!1),[w,b]=(0,n.useState)(!1),y=(0,n.useRef)(null),S=(0,n.useRef)(null),k=(0,n.useCallback)(()=>{s(null),r(null),c(null),m(!1),p(!1),f(!1),v(0),y.current=null},[]),A=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/quecmanager/experimental/keep_alive.sh?status=true"),s=await e.json();if(s.enabled){let e=new Date,t=60*e.getHours()+e.getMinutes(),[l,n]=s.start_time.split(":").map(Number),[r,i]=s.end_time.split(":").map(Number);b(t>=60*l+n&&t<=60*r+i)}else b(!1)}catch(e){console.error("Failed to check keep-alive schedule:",e),b(!1)}},[]);(0,n.useEffect)(()=>{A();let e=setInterval(A,6e4);return()=>clearInterval(e)},[A]),(0,n.useEffect)(()=>{if(u&&!x){N(!0);let e=setTimeout(()=>{N(!1)},1e4);return()=>clearTimeout(e)}},[u,x]),(0,n.useEffect)(()=>()=>{S.current&&S.current.abort()},[]);let E=(0,n.useCallback)(async()=>{if(!j&&!w)try{if(k(),f(!0),S.current&&S.current.abort(),!(await fetch("/cgi-bin/quecmanager/home/speedtest/start_speedtest.sh",{method:"GET"})).ok)throw Error("Failed to start speedtest");C()}catch(e){console.error("Speedtest start error:",e),c(e instanceof Error?"Failed to start speedtest: ".concat(e.message):"Failed to start speedtest"),f(!1)}},[j,w,k]),C=(0,n.useCallback)(()=>{S.current=new AbortController,o(!1),p(!0),f(!1);try{fetch("/cgi-bin/quecmanager/home/speedtest/speedtest_stream.sh",{method:"GET",signal:S.current.signal}).then(async e=>{var l;if(!e.ok)throw Error("Network response was not ok");o(!0);let n=null===(l=e.body)||void 0===l?void 0:l.getReader(),i=new TextDecoder;if(!n)throw Error("Unable to get reader from response body");let a="";for(;;){let{done:e,value:l}=await n.read();if(e)break;let o=i.decode(l,{stream:!0}),d=(a+=o).split("\n\n");for(let e of(a=d.pop()||"",d))if(e.startsWith("data: "))try{let l=JSON.parse(e.replace("data: ","").trim());switch(l.type){case"ping":r("ping"),v(l.ping.progress);break;case"download":case"upload":"ping"!==t&&r(l.type);break;case"result":m(!0),p(!1),n.cancel()}y.current=l,s(l)}catch(e){console.error("Parsing error:",e)}}}).catch(e=>{"AbortError"!==e.name&&(console.error("Fetch error:",e),c("Connection failed: ".concat(e instanceof Error?e.message:String(e))),p(!1))})}catch(e){console.error("Failed to initialize fetch:",e),c("Failed to connect to speedtest stream"),p(!1)}},[t]);return(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsx)(i.ZB,{children:"Network Speedtest"})}),(0,l.jsxs)(i.Wu,{className:"flex flex-col gap-6 p-4 items-center justify-center",children:[(0,l.jsxs)(eR,{children:[(0,l.jsx)(eT,{asChild:!0,children:(0,l.jsxs)("div",{className:"relative flex flex-col items-center justify-center",children:[(0,l.jsx)(eH.A,{color:"#5420ab",size:192,className:"-top-8 -left-8 absolute",style:{zIndex:1}}),(0,l.jsx)(L.A,{className:"size-32 ".concat(w?"text-gray-400 cursor-not-allowed":"text-primary cursor-pointer"," z-10"),onClick:E})]})}),(0,l.jsx)(eM,{children:(0,l.jsx)("div",{className:"lg:max-w-full max-w-sm mx-auto min-w-sm p-6 py-12",children:(()=>{var s,n,r,a,o,c,m,x,p,f,v;if(d)return(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,l.jsx)(eB.A,{className:"text-rose-600 lg:size-48 size-16 animate-pulse"}),(0,l.jsx)("h3",{className:"text-xl font-semibold",children:"Network Speedtest Failed"}),(0,l.jsxs)("p",{className:"text-sm text-gray-500",children:["Something went wrong while running the speedtest.",(0,l.jsx)("p",{className:"underline cursor-pointer ml-2",onClick:E,children:"Please try again."})]})]});if(h)return(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,l.jsx)(eD.A,{className:"text-primary lg:size-48 size-16 animate-pulse"}),(0,l.jsx)("h3",{className:"text-xl font-semibold",children:"Initiating Network Speedtest"}),(0,l.jsx)("p",{className:"text-sm text-gray-500 text-center",children:"Locating and establishing a connection to a server. Please wait..."})]});if("ping"===t)return(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-4",children:[(0,l.jsx)(eL.A,{className:"text-gray-600 size-16 animate-pulse"}),(0,l.jsx)("h3",{className:"text-xl font-semibold",children:"Calculating Ping Latency"}),(0,l.jsx)("div",{className:"w-full bg-gray-200 rounded-full h-2.5",children:(0,l.jsx)("div",{className:"bg-blue-600 h-2.5 rounded-full",style:{width:"".concat(100*(g||0),"%")}})}),(0,l.jsx)("p",{className:"text-sm text-gray-500",children:(null==e?void 0:e.ping)?"Latency: ".concat(e.ping.latency.toFixed(2)," ms, \n Jitter: ").concat(e.ping.jitter.toFixed(2)," ms"):"Measuring network responsiveness..."})]});if(u)return(0,l.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4 w-full min-w-sm",children:[(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsxs)(i.ZB,{className:"flex items-center",children:[(0,l.jsx)(eG.A,{className:"mr-4 text-violet-600"})," Speedtest Result"]})}),(0,l.jsx)(i.Wu,{className:"lg:py-12 py-6 min-w-sm w-full",children:(0,l.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,l.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(ez.A,{className:"text-green-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"font-semibold",children:"Download"})]}),(0,l.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:eQ(null==e?void 0:e.download.bandwidth)}),(0,l.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,l.jsx)(e_.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,l.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(m=null==e?void 0:null===(a=e.download.latency)||void 0===a?void 0:null===(r=a.iqm)||void 0===r?void 0:r.toFixed(2))&&void 0!==m?m:"N/A"," ","ms"]})]})]}),(0,l.jsxs)("div",{className:"grid gap-1.5 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(eP.A,{className:"text-violet-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"font-semibold",children:"Upload"})]}),(0,l.jsx)("h1",{className:"text-[3rem] font-semibold text-center antialiased leading-tight",children:eQ(null==e?void 0:e.upload.bandwidth)}),(0,l.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,l.jsx)(e_.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Latency"})]}),(0,l.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(x=null==e?void 0:null===(c=e.upload.latency)||void 0===c?void 0:null===(o=c.iqm)||void 0===o?void 0:o.toFixed(2))&&void 0!==x?x:"N/A"," ","ms"]})]})]})]})}),(0,l.jsxs)(i.wL,{className:"mt-4 grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,l.jsx)(eL.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Ping"})]}),(0,l.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(p=null==e?void 0:e.ping.latency.toFixed(2))&&void 0!==p?p:"N/A"," ms"]})]}),(0,l.jsxs)("div",{className:"grid gap-0.5 lg:flex lg:items-center lg:space-x-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-x-2",children:[(0,l.jsx)(eF.A,{className:"text-gray-600 lg:size-6 size-4"}),(0,l.jsx)("p",{className:"text-foreground-muted text-sm text-center",children:"Jitter"})]}),(0,l.jsxs)("p",{className:"text-foreground-muted text-sm text-center",children:[null!==(f=null==e?void 0:e.ping.jitter.toFixed(2))&&void 0!==f?f:"N/A"," ms"]})]})]})]}),(0,l.jsxs)(i.Zp,{children:[(0,l.jsx)(i.aR,{children:(0,l.jsxs)(i.ZB,{className:"flex items-center",children:[(0,l.jsx)(eq.A,{className:"mr-4 text-blue-600"})," Connection & Server Details"]})}),(0,l.jsx)(i.Wu,{children:(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"ISP:"}),(0,l.jsx)("p",{children:null==e?void 0:e.isp})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Internal IP:"}),(0,l.jsx)("p",{children:null==e?void 0:e.interface.internalIp})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"External IP:"}),(0,l.jsx)("p",{children:null==e?void 0:e.interface.externalIp})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Server Name:"}),(0,l.jsx)("p",{children:null==e?void 0:e.server.name})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Location:"}),(0,l.jsx)("p",{children:null==e?void 0:e.server.location})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Country:"}),(0,l.jsx)("p",{children:null==e?void 0:e.server.country})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 grid-flow-row gap-2 truncate",children:[(0,l.jsx)("p",{className:"font-medium",children:"Server IP:"}),(0,l.jsx)("p",{children:null==e?void 0:e.server.host})]}),(null==e?void 0:e.result.url)&&(0,l.jsxs)("div",{className:"flex items-center gap-x-2 mt-4",children:[(0,l.jsx)(eO.A,{className:"text-blue-600 size-4"}),(0,l.jsx)("a",{href:e.result.url,target:"_blank",rel:"noopener noreferrer",className:"font-medium text-blue-600 hover:underline",children:"View Full Result Online"})]})]})})]})]});if(!t||!e)return null;let j=e[t],N="download"===t;return(0,l.jsxs)(i.Zp,{className:"p-4 w-full",children:[(0,l.jsx)(i.aR,{children:(0,l.jsxs)(i.ZB,{className:"flex items-center",children:[N?(0,l.jsx)(ez.A,{className:"text-green-500 lg:size-6 size-4 mr-1"}):(0,l.jsx)(eP.A,{className:"text-violet-500 lg:size-6 size-4 mr-1"}),(0,l.jsxs)("p",{className:"ml-2",children:["Testing ",N?"Download":"Upload"," Speed"]})]})}),(0,l.jsx)(i.Wu,{children:(0,l.jsx)("div",{className:"grid place-items-center max-w-sm lg:max-w-full mx-auto w-full",children:(0,l.jsx)("h1",{className:"lg:text-[4rem] text-[3rem] font-semibold text-center",children:eQ(j.bandwidth)})})}),(0,l.jsx)(i.wL,{children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-3 grid-cols-1 grid-flow-row gap-4",children:[(0,l.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(eZ.A,{className:"mr-2 text-yellow-600"}),"Bytes Transferred"]}),(0,l.jsx)("p",{className:"lg:text-md text-base text-muted font-semibold",children:eW(j.bytes)})]}),(0,l.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(eG.A,{className:"mr-2 text-purple-600"}),"Elapsed Time"]}),(0,l.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[(j.elapsed/1e3).toFixed(2)," sec"]})]}),(0,l.jsxs)("div",{className:"grid gap-1 place-items-center",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(eL.A,{className:"mr-2 text-gray-600"}),"Latency (IQM)"]}),(0,l.jsxs)("p",{className:"lg:text-md text-base text-muted font-semibold",children:[null!==(v=null===(n=j.latency)||void 0===n?void 0:null===(s=n.iqm)||void 0===s?void 0:s.toFixed(2))&&void 0!==v?v:"N/A"," ms"]})]})]})})]})})()})})]}),(0,l.jsx)(i.BT,{children:w?"Speedtest is disabled during keep-alive schedule.":j?"Please wait 10 seconds before starting another test.":"Run a speed test to check your internet connection."})]})]})};var eJ=t(88926);let eV=()=>{let{toast:e}=(0,r.dj)(),{data:s,isLoading:t,refresh:i}=eb(),{dataConnectionState:a,isStateLoading:o,refresh:c}=ey(),{isRunningDiagnostics:u,runDiagnosticsData:m,startDiagnostics:x}=eA(),{bytesSent:g,bytesReceived:v,refresh:j}=ek(),N=async()=>{try{var t,l;let n=null==s?void 0:null===(t=s.simCard)||void 0===t?void 0:t.slot,r=await (0,eJ.a)("Slot 1"===n?"AT+QUIMSLOT=1":"AT+QUIMSLOT=2");if("error"===r.status||(null===(l=r.response)||void 0===l?void 0:l.status)==="error")throw Error("Failed to change SIM slot");e({title:"SIM Slot Changed",description:"The SIM slot has been changed successfully"}),setTimeout(async()=>{await (0,eJ.a)("AT+COPS=0"),setTimeout(async()=>{let s=await (0,eJ.a)("AT+COPS=2");if("error"===s.status)throw Error("Failed to reconnect to the network");e({title:"Network Reconnected",description:"The device has been reconnected to the network"})},2e3)},3e3),setTimeout(w,3e3)}catch(s){console.error("Error changing SIM slot:",s),e({variant:"destructive",title:"SIM Slot Change Failed",description:s instanceof Error?s.message:"Failed to change the SIM slot"})}},w=(0,n.useCallback)(async()=>{try{await Promise.all([i(),c(),j()])}catch(s){console.error("Error refreshing data:",s),e({variant:"destructive",title:"Refresh Failed",description:"Failed to refresh the data"})}},[i,c,j]),[b,y]=(0,n.useState)([]),S=async()=>{try{await x()}catch(e){console.error("Error running diagnostics:",e)}};return(0,n.useEffect)(()=>{m&&console.log("Diagnostics data updated:",m)},[m]),(0,n.useEffect)(()=>{if(s&&s.currentBands){var e;let t=null===(e=s.currentBands.id)||void 0===e?void 0:e.map((e,t)=>{var l,n,r,i,a,o,d;return{id:e,bandNumber:(null===(l=s.currentBands.bandNumber)||void 0===l?void 0:l[t])||"N/A",earfcn:(null===(n=s.currentBands.earfcn)||void 0===n?void 0:n[t])||"N/A",bandwidth:(null===(r=s.currentBands.bandwidth)||void 0===r?void 0:r[t])||"N/A",pci:(null===(i=s.currentBands.pci)||void 0===i?void 0:i[t])||"N/A",rsrp:(null===(a=s.currentBands.rsrp)||void 0===a?void 0:a[t])||"N/A",rsrq:(null===(o=s.currentBands.rsrq)||void 0===o?void 0:o[t])||"N/A",sinr:(null===(d=s.currentBands.sinr)||void 0===d?void 0:d[t])||"N/A"}});t&&y(t)}},[s]),(0,l.jsxs)("div",{className:"grid xl:gap-y-12 gap-y-8 gap-4",children:[(0,l.jsxs)("div",{className:"grid gap-4",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,l.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,l.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Connection Summary"}),(0,l.jsx)(M.$,{variant:"ghost",size:"icon",className:"text-sm",onClick:w,children:(0,l.jsx)(D.A,{className:"xl:size-6 size-5 text-blue-500",strokeWidth:3})})]}),(0,l.jsxs)("div",{className:"flex flex-row items-center gap-x-2",children:[(null==s?void 0:s.simCard.state)==="Not Inserted"&&(0,l.jsxs)(B.lG,{children:[(0,l.jsx)(B.zM,{children:(0,l.jsxs)(M.$,{variant:"destructive",children:[(0,l.jsx)(eE.fU4,{className:"xl:size-6 size-5"}),(0,l.jsx)("span",{className:"hidden md:block",children:"No SIM"})]})}),(0,l.jsxs)(B.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(B.c7,{children:(0,l.jsx)(B.L3,{children:"No SIM Detected"})}),(0,l.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,l.jsx)("div",{className:"flex items-center justify-center",children:(0,l.jsx)(eE.fU4,{className:"xl:size-14 md:size-12 size-6 text-red-500"})}),(0,l.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,l.jsxs)("div",{className:"flex justify-end mt-4",children:[(0,l.jsx)(M.$,{variant:"secondary",onClick:N,className:"mr-2",children:"Change SIM Slot"}),(0,l.jsx)(B.HM,{asChild:!0,children:(0,l.jsx)(M.$,{children:"Close"})})]})]})]}),(0,l.jsxs)(B.lG,{children:[(0,l.jsx)(B.zM,{children:(0,l.jsxs)(M.$,{variant:"secondary",onClick:S,children:[(0,l.jsx)(L.A,{className:"xl:size-6 size-5"}),(0,l.jsx)("span",{className:"hidden md:block",children:"Run Diagnostics"})]})}),!u&&(0,l.jsxs)(B.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(B.c7,{children:(0,l.jsx)(B.L3,{children:"Diagnostics Result"})}),(0,l.jsx)(B.rr,{children:"This is the result of the diagnostic test ran on your device."}),(0,l.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Network Registration "}),(null==m?void 0:m.netRegistration)==="Registered"?(0,l.jsx)(G.A,{className:"text-green-500"}):(0,l.jsx)(z.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"U-SIM State"}),(null==m?void 0:m.simState)==="READY"?(0,l.jsx)(G.A,{className:"text-green-500"}):(0,l.jsx)(z.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Manual APN"}),(null==m?void 0:m.manualAPN)==="Enabled"?(0,l.jsx)(G.A,{className:"text-green-500"}):(0,l.jsx)(z.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"WAN IP"}),(null==m?void 0:m.wanIP)==="Connected"?(0,l.jsx)(G.A,{className:"text-green-500"}):(0,l.jsx)(z.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Cellular Signal"}),(null==m?void 0:m.cellSignal)==="Good"?(0,l.jsx)(G.A,{className:"text-green-500"}):(0,l.jsx)(z.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Modem Temperature"}),(null==m?void 0:m.modemTemp)==="Normal"?(0,l.jsx)(G.A,{className:"text-green-500"}):(0,l.jsx)(z.A,{className:"text-red-500"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between mt-6",children:[(0,l.jsx)("h3",{className:"font-semibold",children:"Net Reject Cause"}),(null==m?void 0:m.netReject)==="None"?(0,l.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,l.jsx)(G.A,{className:"text-green-500"}),(0,l.jsx)("span",{children:"None"})]}):(0,l.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,l.jsx)(z.A,{className:"text-red-500"}),(0,l.jsx)("span",{children:null==m?void 0:m.netReject})]})]})]})]}),u&&(0,l.jsxs)(B.Cf,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(B.c7,{children:(0,l.jsx)(B.L3,{children:"Running Diagnostics"})}),(0,l.jsx)("div",{className:"flex items-center justify-center my-4",children:(0,l.jsx)(P(),{color:"#6D28D9"})}),(0,l.jsx)(B.rr,{className:"text-center",children:"Please wait while we run diagnostics on your device."})]})]})]})]}),(0,l.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,l.jsx)("div",{children:(0,l.jsx)(k,{})}),(0,l.jsxs)("div",{className:"grid gap-2 lg:grid-cols-2 grid-cols-1 grid-flow-row",children:[(0,l.jsx)(E,{}),(0,l.jsx)(R,{}),(0,l.jsx)(eK,{}),(0,l.jsx)(U,{})]})]}),(0,l.jsxs)("div",{className:"grid 2xl:grid-cols-4 lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,l.jsx)(d,{data:s,isLoading:t}),(0,l.jsx)(p,{data:s,isLoading:t,dataConnectionState:a,connectionStateLoading:o}),(0,l.jsx)(h,{data:s,isLoading:t,bytesSent:g,bytesReceived:v}),(0,l.jsx)(f,{data:s,isLoading:t})]})]}),(0,l.jsxs)("div",{className:"grid xl:gap-6 gap-4",children:[(0,l.jsx)("h1",{className:"xl:text-3xl text-base font-bold",children:"Current Active Bands"}),(0,l.jsx)(Y,{bands:b,isLoading:t})]})]})}},45934:(e,s,t)=>{"use strict";t.d(s,{E:()=>a});var l=t(20475);t(20107);var n=t(29395),r=t(22250);let i=(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 a(e){let{className:s,variant:t,...n}=e;return(0,l.jsx)("div",{className:(0,r.cn)(i({variant:t}),s),...n})}},42541:(e,s,t)=>{"use strict";t.d(s,{$:()=>d,r:()=>o});var l=t(20475),n=t(20107),r=t(61837),i=t(29395),a=t(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=n.forwardRef((e,s)=>{let{className:t,variant:n,size:i,asChild:d=!1,...c}=e,u=d?r.DX:"button";return(0,l.jsx)(u,{className:(0,a.cn)(o({variant:n,size:i,className:t})),ref:s,...c})});d.displayName="Button"},72167:(e,s,t)=>{"use strict";t.d(s,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>i,aR:()=>a,wL:()=>u});var l=t(20475),n=t(20107),r=t(22250);let i=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...n})});i.displayName="Card";let a=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("flex flex-col space-y-1.5 p-6",t),...n})});a.displayName="CardHeader";let o=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("h3",{ref:s,className:(0,r.cn)("font-semibold leading-none tracking-tight",t),...n})});o.displayName="CardTitle";let d=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("p",{ref:s,className:(0,r.cn)("text-sm text-muted-foreground",t),...n})});d.displayName="CardDescription";let c=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("p-6 pt-0",t),...n})});c.displayName="CardContent";let u=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,r.cn)("flex items-center p-6 pt-0",t),...n})});u.displayName="CardFooter"},1307:(e,s,t)=>{"use strict";t.d(s,{II:()=>p,Nt:()=>h,at:()=>m});var l=t(20475),n=t(20107),r=t(81155),i=t(58601),a=t(58736),o=t(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,s)=>{let{id:t,className:i,children:a,config:d,...u}=e,m=n.useId(),p="chart-".concat(t||m.replace(/:/g,""));return(0,l.jsx)(c.Provider,{value:{config:d},children:(0,l.jsxs)("div",{"data-chart":p,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",i),...u,children:[(0,l.jsx)(x,{id:p,config:d}),(0,l.jsx)(r.u,{children:a})]})})});m.displayName="Chart";let x=e=>{let{id:s,config:t}=e,n=Object.entries(t).filter(e=>{let[s,t]=e;return t.theme||t.color});return n.length?(0,l.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(d).map(e=>{let[t,l]=e;return"\n".concat(l," [data-chart=").concat(s,"] {\n").concat(n.map(e=>{var s;let[l,n]=e,r=(null===(s=n.theme)||void 0===s?void 0:s[t])||n.color;return r?" --color-".concat(l,": ").concat(r,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null},p=i.m,h=n.forwardRef((e,s)=>{let{active:t,payload:r,className:i,indicator:a="dot",hideLabel:d=!1,hideIndicator:c=!1,label:m,labelFormatter:x,labelClassName:p,formatter:h,color:g,nameKey:v,labelKey:j}=e,{config:N}=u(),w=n.useMemo(()=>{var e;if(d||!(null==r?void 0:r.length))return null;let[s]=r,t="".concat(j||s.dataKey||s.name||"value"),n=f(N,s,t),i=j||"string"!=typeof m?null==n?void 0:n.label:(null===(e=N[m])||void 0===e?void 0:e.label)||m;return x?(0,l.jsx)("div",{className:(0,o.cn)("font-medium",p),children:x(i,r)}):i?(0,l.jsx)("div",{className:(0,o.cn)("font-medium",p),children:i}):null},[m,x,r,d,p,N,j]);if(!t||!(null==r?void 0:r.length))return null;let b=1===r.length&&"dot"!==a;return(0,l.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",i),children:[b?null:w,(0,l.jsx)("div",{className:"grid gap-1.5",children:r.map((e,s)=>{let t="".concat(v||e.name||e.dataKey||"value"),n=f(N,e,t),r=g||e.payload.fill||e.color;return(0,l.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"===a&&"items-center"),children:h&&(null==e?void 0:e.value)!==void 0&&e.name?h(e.value,e.name,e,s,e.payload):(0,l.jsxs)(l.Fragment,{children:[(null==n?void 0:n.icon)?(0,l.jsx)(n.icon,{}):!c&&(0,l.jsx)("div",{className:(0,o.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===a,"w-1":"line"===a,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===a,"my-0.5":b&&"dashed"===a}),style:{"--color-bg":r,"--color-border":r}}),(0,l.jsxs)("div",{className:(0,o.cn)("flex flex-1 justify-between leading-none",b?"items-end":"items-center"),children:[(0,l.jsxs)("div",{className:"grid gap-1.5",children:[b?w:null,(0,l.jsx)("span",{className:"text-muted-foreground",children:(null==n?void 0:n.label)||e.name})]}),e.value&&(0,l.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 l="payload"in s&&"object"==typeof s.payload&&null!==s.payload?s.payload:void 0,n=t;return t in s&&"string"==typeof s[t]?n=s[t]:l&&t in l&&"string"==typeof l[t]&&(n=l[t]),n in e?e[n]:e[t]}h.displayName="ChartTooltip",a.s,n.forwardRef((e,s)=>{let{className:t,hideIcon:n=!1,payload:r,verticalAlign:i="bottom",nameKey:a}=e,{config:d}=u();return(null==r?void 0:r.length)?(0,l.jsx)("div",{ref:s,className:(0,o.cn)("flex items-center justify-center gap-4","top"===i?"pb-3":"pt-3",t),children:r.map(e=>{let s="".concat(a||e.dataKey||"value"),t=f(d,e,s);return(0,l.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)&&!n?(0,l.jsx)(t.icon,{}):(0,l.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:()=>h,HM:()=>u,L3:()=>f,c7:()=>p,lG:()=>o,rr:()=>g,zM:()=>d});var l=t(20475),n=t(20107),r=t(60241),i=t(7197),a=t(22250);let o=r.bL,d=r.l9,c=r.ZL,u=r.bm,m=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(r.hJ,{ref:s,className:(0,a.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...n})});m.displayName=r.hJ.displayName;let x=n.forwardRef((e,s)=>{let{className:t,children:n,...o}=e;return(0,l.jsxs)(c,{children:[(0,l.jsx)(m,{}),(0,l.jsxs)(r.UC,{ref:s,className:(0,a.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[n,(0,l.jsxs)(r.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,l.jsx)(i.MKb,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});x.displayName=r.UC.displayName;let p=e=>{let{className:s,...t}=e;return(0,l.jsx)("div",{className:(0,a.cn)("flex flex-col space-y-1.5 text-center sm:text-left",s),...t})};p.displayName="DialogHeader";let h=e=>{let{className:s,...t}=e;return(0,l.jsx)("div",{className:(0,a.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",s),...t})};h.displayName="DialogFooter";let f=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(r.hE,{ref:s,className:(0,a.cn)("text-lg font-semibold leading-none tracking-tight",t),...n})});f.displayName=r.hE.displayName;let g=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(r.VY,{ref:s,className:(0,a.cn)("text-sm text-muted-foreground",t),...n})});g.displayName=r.VY.displayName},36760:(e,s,t)=>{"use strict";t.d(s,{E:()=>r});var l=t(20475),n=t(22250);function r(e){let{className:s,...t}=e;return(0,l.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",s),...t})}},32857:(e,s,t)=>{"use strict";t.d(s,{dj:()=>m,oR:()=>u});var l=t(20107);let n=0,r=new Map,i=e=>{if(r.has(e))return;let s=setTimeout(()=>{r.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);r.set(e,s)},a=(e,s)=>{switch(s.type){case"ADD_TOAST":return{...e,toasts:[s.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===s.toast.id?{...e,...s.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=s;return t?i(t):e.toasts.forEach(e=>{i(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=a(d,e),o.forEach(e=>{e(d)})}function u(e){let{...s}=e,t=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),l=()=>c({type:"DISMISS_TOAST",toastId:t});return c({type:"ADD_TOAST",toast:{...s,id:t,open:!0,onOpenChange:e=>{e||l()}}}),{id:t,dismiss:l,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function m(){let[e,s]=l.useState(d);return l.useEffect(()=>(o.push(s),()=>{let e=o.indexOf(s);e>-1&&o.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},22250:(e,s,t)=>{"use strict";t.d(s,{cn:()=>r});var l=t(64901),n=t(868);function r(){for(var e=arguments.length,s=Array(e),t=0;t{"use strict";t.d(s,{a:()=>l});let l=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 l;let n=e.trim().toUpperCase().startsWith("AT")?e.trim():"AT".concat(e.trim()),r=encodeURIComponent(n),i="/cgi-bin/quecmanager/at_cmd/at_queue_client.sh?command=".concat(r);s&&(i+="&wait=1&timeout=".concat(t));let a=await fetch(i,{method:"GET",headers:{Accept:"application/json"},signal:AbortSignal.timeout(1e3*t+5e3)});if(!a.ok)throw Error("AT command failed with status: ".concat(a.status));let o=await a.json();if(o.error)throw Error("AT queue error: ".concat(o.error));if(s&&(null===(l=o.response)||void 0===l?void 0:l.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,9464,241,1074,4458,191,6035,7358],()=>s(31710)),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/mbguaWesdL7rDrYOklhNk/_buildManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/mbguaWesdL7rDrYOklhNk/_buildManifest.js new file mode 100644 index 0000000..64643be --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/mbguaWesdL7rDrYOklhNk/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(r,e,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:26,errorRate:1e-4,numBits:499,numHashes:14,bitArray:[1,0,1,1,r,r,r,0,r,r,r,0,r,e,r,e,r,r,e,r,r,e,e,e,r,e,e,e,r,r,e,e,e,r,r,r,r,r,e,r,r,e,r,r,e,e,r,r,r,e,r,e,r,r,r,r,e,e,e,e,r,r,e,e,r,e,r,e,r,r,e,r,e,e,r,e,e,r,r,e,r,r,e,e,r,e,e,r,e,e,e,e,e,r,e,e,r,r,e,e,e,r,r,r,e,r,e,r,e,r,e,r,r,e,r,e,r,r,e,r,r,r,e,e,r,e,r,e,r,r,e,e,r,r,r,e,e,r,e,e,r,e,r,e,r,e,r,r,e,r,r,e,e,r,r,e,r,r,e,r,e,e,e,e,e,e,r,e,e,e,e,r,r,r,r,r,r,e,e,e,e,r,r,r,e,e,e,e,e,r,e,e,r,e,r,e,e,e,r,e,e,r,e,e,r,e,r,r,r,r,r,e,r,e,r,r,r,r,e,e,r,e,e,r,r,e,r,r,r,e,r,e,e,e,e,e,r,r,r,e,r,e,r,r,r,r,r,r,r,e,e,r,e,e,r,e,r,r,r,r,e,r,r,r,r,r,e,r,r,r,e,e,r,r,r,r,e,e,e,e,r,e,e,e,r,e,r,e,r,r,e,e,e,e,r,r,e,e,r,e,r,r,r,r,r,r,e,e,r,e,r,r,e,r,r,e,r,e,e,e,e,r,e,e,e,r,r,e,e,e,e,r,e,e,e,e,r,e,r,e,r,r,e,e,e,e,r,e,e,r,e,e,r,r,r,r,r,r,r,e,r,r,r,e,e,e,e,e,e,r,e,e,e,e,e,r,e,r,e,r,e,e,e,r,e,e,r,r,e,e,e,e,e,r,r,r,e,r,e,e,r,e,e,r,r,r,e,r,r,e,e,r,r,r,e,r,r,e,e,e,r,r,r,e,e,r,r,r,r,r,r,r,e,e,r,r,e,r,e,r,e,e,e,r,r,r,r,e,r,e,e,r,r,e,e,e,e,e,e,r,e,r,r,e,r,e,r,e,e,r,r,r,r,r,e,e,r,e,e,r,e,r,r,e,r,r,e,e,r,e,e,e,r,r,e,r,r,e,e]},__routerFilterDynamic:{numItems:e,errorRate:1e-4,numBits:e,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-f347b70a71a8047b.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/mbguaWesdL7rDrYOklhNk/_ssgManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/mbguaWesdL7rDrYOklhNk/_ssgManifest.js new file mode 100644 index 0000000..5b3ff59 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/mbguaWesdL7rDrYOklhNk/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/pWQhJlQuhV__YIe6iMkuR/_buildManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/pWQhJlQuhV__YIe6iMkuR/_buildManifest.js new file mode 100644 index 0000000..64643be --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/pWQhJlQuhV__YIe6iMkuR/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(r,e,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:26,errorRate:1e-4,numBits:499,numHashes:14,bitArray:[1,0,1,1,r,r,r,0,r,r,r,0,r,e,r,e,r,r,e,r,r,e,e,e,r,e,e,e,r,r,e,e,e,r,r,r,r,r,e,r,r,e,r,r,e,e,r,r,r,e,r,e,r,r,r,r,e,e,e,e,r,r,e,e,r,e,r,e,r,r,e,r,e,e,r,e,e,r,r,e,r,r,e,e,r,e,e,r,e,e,e,e,e,r,e,e,r,r,e,e,e,r,r,r,e,r,e,r,e,r,e,r,r,e,r,e,r,r,e,r,r,r,e,e,r,e,r,e,r,r,e,e,r,r,r,e,e,r,e,e,r,e,r,e,r,e,r,r,e,r,r,e,e,r,r,e,r,r,e,r,e,e,e,e,e,e,r,e,e,e,e,r,r,r,r,r,r,e,e,e,e,r,r,r,e,e,e,e,e,r,e,e,r,e,r,e,e,e,r,e,e,r,e,e,r,e,r,r,r,r,r,e,r,e,r,r,r,r,e,e,r,e,e,r,r,e,r,r,r,e,r,e,e,e,e,e,r,r,r,e,r,e,r,r,r,r,r,r,r,e,e,r,e,e,r,e,r,r,r,r,e,r,r,r,r,r,e,r,r,r,e,e,r,r,r,r,e,e,e,e,r,e,e,e,r,e,r,e,r,r,e,e,e,e,r,r,e,e,r,e,r,r,r,r,r,r,e,e,r,e,r,r,e,r,r,e,r,e,e,e,e,r,e,e,e,r,r,e,e,e,e,r,e,e,e,e,r,e,r,e,r,r,e,e,e,e,r,e,e,r,e,e,r,r,r,r,r,r,r,e,r,r,r,e,e,e,e,e,e,r,e,e,e,e,e,r,e,r,e,r,e,e,e,r,e,e,r,r,e,e,e,e,e,r,r,r,e,r,e,e,r,e,e,r,r,r,e,r,r,e,e,r,r,r,e,r,r,e,e,e,r,r,r,e,e,r,r,r,r,r,r,r,e,e,r,r,e,r,e,r,e,e,e,r,r,r,r,e,r,e,e,r,r,e,e,e,e,e,e,r,e,r,r,e,r,e,r,e,e,r,r,r,r,r,e,e,r,e,e,r,e,r,r,e,r,r,e,e,r,e,e,e,r,r,e,r,r,e,e]},__routerFilterDynamic:{numItems:e,errorRate:1e-4,numBits:e,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-f347b70a71a8047b.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/pWQhJlQuhV__YIe6iMkuR/_ssgManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/pWQhJlQuhV__YIe6iMkuR/_ssgManifest.js new file mode 100644 index 0000000..5b3ff59 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/pWQhJlQuhV__YIe6iMkuR/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/boot_check.sh b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/boot_check.sh index e362597..f8c126e 100755 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/boot_check.sh +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/boot_check.sh @@ -11,7 +11,7 @@ QUEUE_DIR="/tmp/at_queue" TOKEN_FILE="$QUEUE_DIR/token" MAX_TOKEN_WAIT=15 TOKEN_PRIORITY=5 -ROTATE_SIZE=500 # KB before log rotation +ROTATE_SIZE=500 # KB before log rotation # Ensure log directory exists mkdir -p "$LOG_DIR" @@ -23,26 +23,26 @@ log_message() { local component="boot_check" local timestamp=$(date "+%Y-%m-%d %H:%M:%S") local pid=$$ - + # Check if log file is too large (>500KB) and rotate if needed if [ -f "$LOG_FILE" ] && [ $(du -k "$LOG_FILE" | cut -f1) -gt $ROTATE_SIZE ]; then mv "$LOG_FILE" "$LOG_FILE.old" touch "$LOG_FILE" chmod 644 "$LOG_FILE" fi - + # Format: [timestamp] [level] [component] [pid] message - echo "[$timestamp] [$level] [$component] [$pid] $message" >> "$LOG_FILE" - + echo "[$timestamp] [$level] [$component] [$pid] $message" >>"$LOG_FILE" + # Also log to system log with appropriate priority case "$level" in - debug) logger -t "cell_lock_$component" -p daemon.debug "$message" ;; - info) logger -t "cell_lock_$component" -p daemon.info "$message" ;; - notice) logger -t "cell_lock_$component" -p daemon.notice "$message" ;; - warn) logger -t "cell_lock_$component" -p daemon.warning "$message" ;; - error) logger -t "cell_lock_$component" -p daemon.err "$message" ;; - crit) logger -t "cell_lock_$component" -p daemon.crit "$message" ;; - *) logger -t "cell_lock_$component" -p daemon.info "$message" ;; + debug) logger -t "cell_lock_$component" -p daemon.debug "$message" ;; + info) logger -t "cell_lock_$component" -p daemon.info "$message" ;; + notice) logger -t "cell_lock_$component" -p daemon.notice "$message" ;; + warn) logger -t "cell_lock_$component" -p daemon.warning "$message" ;; + error) logger -t "cell_lock_$component" -p daemon.err "$message" ;; + crit) logger -t "cell_lock_$component" -p daemon.crit "$message" ;; + *) logger -t "cell_lock_$component" -p daemon.info "$message" ;; esac } @@ -52,9 +52,9 @@ update_status() { local message="$2" local active="${3:-0}" local locked="${4:-0}" - + # Create JSON status - cat > "$STATUS_FILE" <"$STATUS_FILE" </dev/null) local timestamp=$(cat "$TOKEN_FILE" | jsonfilter -e '@.timestamp' 2>/dev/null) local current_time=$(date +%s) - + # Check for expired token (> 30 seconds old) if [ $((current_time - timestamp)) -gt 30 ] || [ -z "$current_holder" ]; then # Remove expired token @@ -101,11 +101,11 @@ acquire_token() { continue fi fi - + # Try to create token file - echo "{\"id\":\"$requestor_id\",\"priority\":$priority,\"timestamp\":$(date +%s)}" > "$TOKEN_FILE" 2>/dev/null + echo "{\"id\":\"$requestor_id\",\"priority\":$priority,\"timestamp\":$(date +%s)}" >"$TOKEN_FILE" 2>/dev/null chmod 644 "$TOKEN_FILE" 2>/dev/null - + # Verify we got the token local holder=$(cat "$TOKEN_FILE" 2>/dev/null | jsonfilter -e '@.id' 2>/dev/null) if [ "$holder" = "$requestor_id" ]; then @@ -113,11 +113,11 @@ acquire_token() { echo "$requestor_id" return 0 fi - + sleep 0.5 attempt=$((attempt + 1)) done - + log_message "Failed to acquire token after $max_attempts attempts" "error" return 1 } @@ -125,7 +125,7 @@ acquire_token() { # Function to release token release_token() { local requestor_id="$1" - + if [ -f "$TOKEN_FILE" ]; then local current_holder=$(cat "$TOKEN_FILE" | jsonfilter -e '@.id' 2>/dev/null) if [ "$current_holder" = "$requestor_id" ]; then @@ -145,38 +145,55 @@ execute_at_command() { local cmd="$1" local timeout="${2:-10}" local token_id="$3" - + if [ -z "$token_id" ]; then log_message "No valid token provided for command: $cmd" "error" return 1 fi - + log_message "Executing AT command: $cmd (timeout: ${timeout}s)" "debug" - + # Execute the command with proper timeout local output local status=1 - + output=$(sms_tool at "$cmd" -t "$timeout" 2>&1) status=$? - + if [ $status -ne 0 ]; then log_message "AT command failed: $cmd (exit code: $status)" "error" return 1 fi - + log_message "AT command executed successfully: $cmd" "debug" echo "$output" return 0 } -# Function to convert HH:MM to minutes +# Function to convert HH:MM to minutes with better error handling time_to_minutes() { local time="$1" + + # Check if time is empty or malformed + if [ -z "$time" ] || ! echo "$time" | grep -q '^[0-9]\{1,2\}:[0-9]\{2\}$'; then + log_message "Invalid time format: '$time'" "error" + echo "0" + return 1 + fi + local hours=$(echo "$time" | cut -d':' -f1) local minutes=$(echo "$time" | cut -d':' -f2) - + + # Remove leading zeros which can cause issues in arithmetic + hours=$(echo "$hours" | sed 's/^0*//') + minutes=$(echo "$minutes" | sed 's/^0*//') + + # Default to 0 if empty after removing zeros + [ -z "$hours" ] && hours=0 + [ -z "$minutes" ] && minutes=0 + echo $((hours * 60 + minutes)) + return 0 } # Function to check if current time is within scheduled window @@ -184,25 +201,33 @@ is_time_in_range() { local current_minutes="$1" local start_minutes="$2" local end_minutes="$3" - + + # Make sure all values are numeric + if ! [[ "$current_minutes" =~ ^[0-9]+$ ]] || + ! [[ "$start_minutes" =~ ^[0-9]+$ ]] || + ! [[ "$end_minutes" =~ ^[0-9]+$ ]]; then + log_message "Non-numeric values in time comparison: current=$current_minutes, start=$start_minutes, end=$end_minutes" "error" + return 1 # Not in range + fi + # Handle case where end time is on the next day if [ "$end_minutes" -lt "$start_minutes" ]; then if [ "$current_minutes" -ge "$start_minutes" ] || [ "$current_minutes" -lt "$end_minutes" ]; then - return 0 # In range + return 0 # In range fi else if [ "$current_minutes" -ge "$start_minutes" ] && [ "$current_minutes" -lt "$end_minutes" ]; then - return 0 # In range + return 0 # In range fi fi - - return 1 # Not in range + + return 1 # Not in range } # Main function to check at boot time boot_check() { log_message "Performing boot-time cell lock check" "info" - + # Check if scheduling is enabled local enabled=$(uci -q get "$UCI_CONFIG.cell_lock.enabled") if [ "$enabled" != "1" ]; then @@ -210,27 +235,27 @@ boot_check() { update_status "disabled" "Cell lock scheduling is disabled" 0 0 return 0 fi - + # Get schedule from UCI local start_time=$(uci -q get "$UCI_CONFIG.cell_lock.start_time") local end_time=$(uci -q get "$UCI_CONFIG.cell_lock.end_time") - + if [ -z "$start_time" ] || [ -z "$end_time" ]; then log_message "Missing start or end time in configuration" "error" update_status "error" "Missing schedule configuration" 0 0 return 1 fi - + # Get current time local current_time=$(date "+%H:%M") - + log_message "Current time: $current_time, Start: $start_time, End: $end_time" "info" - + # Convert times to minutes for comparison local current_minutes=$(time_to_minutes "$current_time") local start_minutes=$(time_to_minutes "$start_time") local end_minutes=$(time_to_minutes "$end_time") - + # Get token for AT commands local token_id=$(acquire_token) if [ -z "$token_id" ]; then @@ -238,18 +263,18 @@ boot_check() { update_status "error" "Failed to acquire token for boot check" 0 0 return 1 fi - + # Check if current time is in the scheduled range if is_time_in_range "$current_minutes" "$start_minutes" "$end_minutes"; then log_message "Current time IS within scheduled window" "info" - + # Get lock parameters from UCI local lte_lock_params=$(uci -q get "$UCI_CONFIG.cell_lock.lte_lock") local nr5g_lock_params=$(uci -q get "$UCI_CONFIG.cell_lock.nr5g_lock") - + # Apply locks if parameters exist local success=0 - + if [ -n "$lte_lock_params" ]; then log_message "Applying LTE lock at boot: $lte_lock_params" "info" local lte_cmd="AT+QNWLOCK=\"common/4g\",$lte_lock_params" @@ -261,7 +286,7 @@ boot_check() { log_message "Failed to apply LTE lock at boot" "error" fi fi - + if [ -n "$nr5g_lock_params" ]; then log_message "Applying NR5G lock at boot: $nr5g_lock_params" "info" local nr5g_cmd="AT+QNWLOCK=\"common/5g\",$nr5g_lock_params" @@ -273,63 +298,62 @@ boot_check() { log_message "Failed to apply NR5G lock at boot" "error" fi fi - + # Apply persist settings local lte_persist=$(uci -q get "$UCI_CONFIG.cell_lock.lte_persist") local nr5g_persist=$(uci -q get "$UCI_CONFIG.cell_lock.nr5g_persist") - + # Default to 0 if not set lte_persist="${lte_persist:-0}" nr5g_persist="${nr5g_persist:-0}" - + log_message "Setting persistence at boot: LTE=$lte_persist, NR5G=$nr5g_persist" "info" local persist_cmd="AT+QNWLOCK=\"save_ctrl\",$lte_persist,$nr5g_persist" execute_at_command "$persist_cmd" 10 "$token_id" - + # Reset network to apply changes log_message "Resetting network connection to apply changes" "info" execute_at_command "AT+COPS=2" 5 "$token_id" sleep 2 execute_at_command "AT+COPS=0" 5 "$token_id" - + # Mark as active uci set "$UCI_CONFIG.cell_lock.active=1" uci commit "$UCI_CONFIG" update_status "active" "Cell lock scheduler is active - applied at boot" 1 1 - else { + else log_message "Current time is NOT within scheduled window" "info" - + # Remove any existing locks log_message "Removing LTE lock at boot" "info" execute_at_command 'AT+QNWLOCK="common/4g",0' 10 "$token_id" - + log_message "Removing NR5G lock at boot" "info" execute_at_command 'AT+QNWLOCK="common/5g",0' 10 "$token_id" - + # Disable persistence log_message "Disabling lock persistence at boot" "info" execute_at_command 'AT+QNWLOCK="save_ctrl",0,0' 10 "$token_id" - + # Reset network to apply changes log_message "Resetting network connection to apply changes" "info" execute_at_command "AT+COPS=2" 5 "$token_id" sleep 2 execute_at_command "AT+COPS=0" 5 "$token_id" - + # Mark as inactive uci set "$UCI_CONFIG.cell_lock.active=0" uci commit "$UCI_CONFIG" update_status "inactive" "Cell lock scheduler is inactive - outside scheduled hours" 0 0 - } fi - + # Release token release_token "$token_id" - + return 0 } # Execute main function log_message "====== STARTING BOOT-TIME CELL LOCK CHECK ======" "notice" boot_check -log_message "====== COMPLETED BOOT-TIME CELL LOCK CHECK ======" "notice" \ No newline at end of file +log_message "====== COMPLETED BOOT-TIME CELL LOCK CHECK ======" "notice" 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 1c0579b..2ae8a63 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 1955241..e771e12 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 @@ -13,7 +13,7 @@ e:I[99165,[],"OutletBoundary"] 12:I[99165,[],"ViewportBoundary"] 14:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","PngLOH7301YSy89zHX5Uh",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","1WLg152vsDmcnKR_FneLu",{"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 ee598f6..dca5377 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 b30297f..4d14188 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 @@ -8,13 +8,13 @@ 8:I[96609,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","7563","static/chunks/7563-33b7de2a93dcbe27.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","241","static/chunks/241-3bdc85b73bf85c52.js","9477","static/chunks/9477-215fa25b7251af44.js","7414","static/chunks/7414-d6480d4dfb8a2ef8.js","4767","static/chunks/4767-88886265e4e59e78.js","1954","static/chunks/app/dashboard/layout-7c989927b7a29d5d.js"],"default"] a:I[74627,["9477","static/chunks/9477-215fa25b7251af44.js","4277","static/chunks/app/dashboard/advanced-settings/layout-e0d745ff6aef0894.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[30233,["7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","241","static/chunks/241-3bdc85b73bf85c52.js","9679","static/chunks/9679-e42f7aaecc29c6da.js","8757","static/chunks/app/dashboard/advanced-settings/at-terminal/page-89240f3e7f4062a3.js"],"default"] +d:I[30233,["7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","241","static/chunks/241-3bdc85b73bf85c52.js","9679","static/chunks/9679-e42f7aaecc29c6da.js","8757","static/chunks/app/dashboard/advanced-settings/at-terminal/page-ded11e84e70593c1.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","xnZ6tJdLulHeIoQwv91UY",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","l7JmUdXp6XOPxyPJk5-PL",{"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 a9851c8..85509b1 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 0079ac9..f0be629 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 @@ -14,7 +14,7 @@ d:I[39966,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/ch 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","1Jgz51pXGeU4D5kYptfld",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","aP8yGSEJYkBWpJHJIHTIA",{"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 58d560b..31464e7 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 348d7fc..3ec20b1 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 @@ -13,7 +13,7 @@ f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","yQ4HtY4aUVH1Y318cCccQ",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","IqwsA8D9Esi_HkGdJrZEh",{"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 f48a3c3..fa16d83 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 e6ce6af..9569450 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 @@ -14,7 +14,7 @@ d:I[34819,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/ch 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","VTFoYHMPFvYm5skVUF0Nu",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","RynLsdsXjl7fkHxy90dpU",{"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 9407241..a38b212 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 5fbc87f..4ef601a 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 @@ -14,7 +14,7 @@ d:I[83143,["7780","static/chunks/7780-d44d1f6d676771d4.js","1630","static/chunks 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","xEEvhHyrMI4mCahjYX1My",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","9lLrolifRogtHEKENHhTw",{"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 48af1fe..95f0e9c 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 234ef6b..5e76d0c 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 @@ -14,7 +14,7 @@ d:I[75808,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/ch 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","uqOGdVkvxxT2tC7FefSJ2",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","GHY7X4yuNT87WsoUQ3D3i",{"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 926e4a1..8d1fae0 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 84a6f12..355eb32 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 @@ -14,7 +14,7 @@ d:I[46142,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/ch 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","B1hFHdfupXHWSyTfmhdT4",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","tjRDC8HWdpX-5mhiRmGme",{"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 99d49ff..849d032 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 194779c..7ef266c 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 @@ -8,13 +8,13 @@ 8:I[96609,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","7563","static/chunks/7563-33b7de2a93dcbe27.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","241","static/chunks/241-3bdc85b73bf85c52.js","9477","static/chunks/9477-215fa25b7251af44.js","7414","static/chunks/7414-d6480d4dfb8a2ef8.js","4767","static/chunks/4767-88886265e4e59e78.js","1954","static/chunks/app/dashboard/layout-7c989927b7a29d5d.js"],"default"] a:I[83593,["9477","static/chunks/9477-215fa25b7251af44.js","347","static/chunks/app/dashboard/cell-settings/layout-81a19da0f530d3d8.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[87133,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","7563","static/chunks/7563-33b7de2a93dcbe27.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","3494","static/chunks/3494-8f1a6a2a7daec1ca.js","7133","static/chunks/7133-702ff49dc7ecf6c2.js","5665","static/chunks/app/dashboard/cell-settings/cell-locking/page-177937aa4101948c.js"],"default"] +d:I[87133,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","7563","static/chunks/7563-33b7de2a93dcbe27.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","3494","static/chunks/3494-8f1a6a2a7daec1ca.js","7133","static/chunks/7133-b33ba7c188c9e71d.js","5665","static/chunks/app/dashboard/cell-settings/cell-locking/page-177937aa4101948c.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","Ew46K-ak6xWKab_xU1zUx",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","NnOo1WeO5TWBxi2xnuJAY",{"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 6875761..2bc24fa 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 97118bc..1c37b79 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 @@ -14,7 +14,7 @@ d:I[70231,["7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","YezvzOFH46CP0w7RJH6UE",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","sS-z3GFurRAXkyzYPHYPa",{"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 e95eca0..be7431a 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 3816668..b889c16 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 @@ -7,13 +7,13 @@ 7:I[92907,[],"ClientSegmentRoot"] 8:I[96609,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","7563","static/chunks/7563-33b7de2a93dcbe27.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","241","static/chunks/241-3bdc85b73bf85c52.js","9477","static/chunks/9477-215fa25b7251af44.js","7414","static/chunks/7414-d6480d4dfb8a2ef8.js","4767","static/chunks/4767-88886265e4e59e78.js","1954","static/chunks/app/dashboard/layout-7c989927b7a29d5d.js"],"default"] a:I[83593,["9477","static/chunks/9477-215fa25b7251af44.js","347","static/chunks/app/dashboard/cell-settings/layout-81a19da0f530d3d8.js"],"default"] -c:I[87133,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","7563","static/chunks/7563-33b7de2a93dcbe27.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","3494","static/chunks/3494-8f1a6a2a7daec1ca.js","7133","static/chunks/7133-702ff49dc7ecf6c2.js","4808","static/chunks/app/dashboard/cell-settings/page-13fdbb8126fb40d4.js"],"default"] +c:I[87133,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","7563","static/chunks/7563-33b7de2a93dcbe27.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","3494","static/chunks/3494-8f1a6a2a7daec1ca.js","7133","static/chunks/7133-b33ba7c188c9e71d.js","4808","static/chunks/app/dashboard/cell-settings/page-13fdbb8126fb40d4.js"],"default"] d:I[99165,[],"OutletBoundary"] f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","ouLIZdkpMqrg7Y-ELzsCG",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","JBZCtQlSdxxhrpBWH6Slq",{"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 bc307af..c4547ce 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 0d52ebe..17bd0a2 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 @@ -14,7 +14,7 @@ d:I[33776,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/ch 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","bk90oCIl3BIfXFwN_tCXz",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","MWQZ2ElCzoLkU6QL_1P8h",{"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/cell-scanner/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/cell-scanner/index.html index ebb1886..14e3c59 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/cell-scanner/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/cell-scanner/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/cell-scanner/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/cell-scanner/index.txt index 62c4f5c..61e0c7d 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/cell-scanner/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/cell-scanner/index.txt @@ -14,7 +14,7 @@ d:I[88388,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","2101","static/ch 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","p":"","c":["","dashboard","experimental","cell-scanner",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["cell-scanner",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc1199d1641b7c0d.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":["cell-scanner",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","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","_e511dObWRJ4IcWgUK_az",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","p":"","c":["","dashboard","experimental","cell-scanner",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["cell-scanner",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc1199d1641b7c0d.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":["cell-scanner",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","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","Uw_lQ3RpdqOmRxiHRFCHp",{"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/freq-calculator/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/freq-calculator/index.html index 775d456..bb1552b 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/freq-calculator/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/freq-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/experimental/freq-calculator/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/freq-calculator/index.txt index 6ef8b53..a2c0f3f 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/freq-calculator/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/freq-calculator/index.txt @@ -14,7 +14,7 @@ d:I[14332,["7780","static/chunks/7780-d44d1f6d676771d4.js","3453","static/chunks 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","p":"","c":["","dashboard","experimental","freq-calculator",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["freq-calculator",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc1199d1641b7c0d.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":["freq-calculator",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","freq-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","vA-Mm_F55FwVUZO21VdSv",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","p":"","c":["","dashboard","experimental","freq-calculator",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["freq-calculator",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc1199d1641b7c0d.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":["freq-calculator",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","freq-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","NxlGXRb-kZeiibuRfxF3T",{"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 c5cec94..5ad1e0c 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 50fc56b..db34662 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 @@ -13,7 +13,7 @@ f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","umS19kViG5MuB9tCpnAd9",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","LaETSuoWhhj2Z8qH9pK-0",{"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 04456d6..976f324 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 2dccd7b..9a6d4e9 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 @@ -14,7 +14,7 @@ d:I[53302,["7780","static/chunks/7780-d44d1f6d676771d4.js","3376","static/chunks 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","4PKVA08q8LHgzpwqke8b8",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","bENGR0ccL7olcwIvCLQpp",{"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/quecprofiles/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/quecprofiles/index.html index 22dedde..8e69224 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/quecprofiles/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/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/experimental/quecprofiles/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/quecprofiles/index.txt index e88aad5..90373d5 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/quecprofiles/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/quecprofiles/index.txt @@ -8,13 +8,13 @@ 8:I[96609,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","7563","static/chunks/7563-33b7de2a93dcbe27.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","241","static/chunks/241-3bdc85b73bf85c52.js","9477","static/chunks/9477-215fa25b7251af44.js","7414","static/chunks/7414-d6480d4dfb8a2ef8.js","4767","static/chunks/4767-88886265e4e59e78.js","1954","static/chunks/app/dashboard/layout-7c989927b7a29d5d.js"],"default"] a:I[31753,["9477","static/chunks/9477-215fa25b7251af44.js","3075","static/chunks/app/dashboard/experimental/layout-6508e2a223029fa4.js"],"default"] c:I[5329,[],"ClientPageRoot"] -d:I[22256,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","7563","static/chunks/7563-33b7de2a93dcbe27.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","3494","static/chunks/3494-8f1a6a2a7daec1ca.js","241","static/chunks/241-3bdc85b73bf85c52.js","5766","static/chunks/5766-fa21e9c5f53d641e.js","9473","static/chunks/app/dashboard/experimental/quecprofiles/page-70f54a2449254011.js"],"default"] +d:I[22256,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","7563","static/chunks/7563-33b7de2a93dcbe27.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","3494","static/chunks/3494-8f1a6a2a7daec1ca.js","241","static/chunks/241-3bdc85b73bf85c52.js","5766","static/chunks/5766-fa21e9c5f53d641e.js","9473","static/chunks/app/dashboard/experimental/quecprofiles/page-3fe35599356ee15c.js"],"default"] 10:I[99165,[],"OutletBoundary"] 12:I[99165,[],"MetadataBoundary"] 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","p":"","c":["","dashboard","experimental","quecprofiles",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["quecprofiles",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc1199d1641b7c0d.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":["quecprofiles",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","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","jZeWdSyU53XqafDcVdkqO",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","p":"","c":["","dashboard","experimental","quecprofiles",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["quecprofiles",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc1199d1641b7c0d.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":["quecprofiles",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","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","u3gDnjmES5R4vlAF6mezE",{"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/quecwatch/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/quecwatch/index.html index 1818081..b31efb8 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/quecwatch/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/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/experimental/quecwatch/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/quecwatch/index.txt index 1763a7e..79c7950 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/quecwatch/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/quecwatch/index.txt @@ -14,7 +14,7 @@ d:I[79824,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/ch 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","p":"","c":["","dashboard","experimental","quecwatch",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["quecwatch",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc1199d1641b7c0d.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":["quecwatch",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","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","fgKNQMTd5qdoeEU844IpH",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","p":"","c":["","dashboard","experimental","quecwatch",""],"i":false,"f":[[["",{"children":["dashboard",{"children":["experimental",{"children":["quecwatch",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc1199d1641b7c0d.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":["quecwatch",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","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","ol1K45IOwA2AC9nw7iVnn",{"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 ad900b2..e6fc5f6 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 1be464e..e1026b8 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 @@ -7,13 +7,13 @@ 7:I[92907,[],"ClientSegmentRoot"] 8:I[96609,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","7563","static/chunks/7563-33b7de2a93dcbe27.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","241","static/chunks/241-3bdc85b73bf85c52.js","9477","static/chunks/9477-215fa25b7251af44.js","7414","static/chunks/7414-d6480d4dfb8a2ef8.js","4767","static/chunks/4767-88886265e4e59e78.js","1954","static/chunks/app/dashboard/layout-7c989927b7a29d5d.js"],"default"] a:I[5329,[],"ClientPageRoot"] -b:I[88954,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","9649","static/chunks/47820753-41ce4d8e11c7c32d.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","241","static/chunks/241-3bdc85b73bf85c52.js","1074","static/chunks/1074-a3cc46aa8592f7b2.js","4458","static/chunks/4458-2bc9e37a444e4472.js","6665","static/chunks/app/dashboard/home/page-3544159e39f4ea7a.js"],"default"] +b:I[88954,["9980","static/chunks/7b0cf0b7-aa73cc75e53c5793.js","9649","static/chunks/47820753-41ce4d8e11c7c32d.js","7780","static/chunks/7780-d44d1f6d676771d4.js","8885","static/chunks/8885-1b9ab3cbb10cf437.js","9464","static/chunks/9464-f5c3c85ad60907ac.js","241","static/chunks/241-3bdc85b73bf85c52.js","1074","static/chunks/1074-a3cc46aa8592f7b2.js","4458","static/chunks/4458-2bc9e37a444e4472.js","6665","static/chunks/app/dashboard/home/page-4ff1af92bcccebab.js"],"default"] e:I[99165,[],"OutletBoundary"] 10:I[99165,[],"MetadataBoundary"] 12:I[99165,[],"ViewportBoundary"] 14:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","RZuYuOfCkUGaXf8AS1zRy",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","zZxA7V4pwBZemKcwLcJHk",{"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 193750b..8f8e3db 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 8a61469..c663886 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 @@ -13,7 +13,7 @@ f:I[99165,[],"MetadataBoundary"] 11:I[99165,[],"ViewportBoundary"] 13:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","94dJsnIK6Awl9ZKAiRWdA",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}],false]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","So-pqz6zQ-1UoNVB_Bw5R",{"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/security/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.html index 079c940..89bf86a 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 58dfe36..3b17b2b 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 @@ -14,7 +14,7 @@ d:I[16212,["7780","static/chunks/7780-d44d1f6d676771d4.js","2162","static/chunks 14:I[99165,[],"ViewportBoundary"] 16:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","IWHiJy0iflqQ4B70CWpCH",{"children":[["$","$L12",null,{"children":"$L13"}],["$","$L14",null,{"children":"$L15"}],null]}]]}],false]],"m":"$undefined","G":["$16","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","PBhxVkAdSSwCxyCylyM81",{"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 c6545d9..0f1d0f2 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt @@ -10,7 +10,7 @@ a:I[99165,[],"MetadataBoundary"] c:I[99165,[],"ViewportBoundary"] e:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc1199d1641b7c0d.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","xwJ2QKh2YquAL5_D-ryJe",{"children":[["$","$La",null,{"children":"$Lb"}],["$","$Lc",null,{"children":"$Ld"}],null]}]]}],false]],"m":"$undefined","G":["$e","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc1199d1641b7c0d.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","n-D2273iJvJ1t61f99vtX",{"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/login.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/login.html index 867f4ce..fbee10d 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 8974598..f9e22f6 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

                                                                                                  Login to QuecManager

                                                                                                  Enter your password to login

                                                                                                    \ No newline at end of file +QuecManager

                                                                                                    Login to QuecManager

                                                                                                    Enter your password to login

                                                                                                      \ 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 b2b2b0f..e59b372 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.txt @@ -11,7 +11,7 @@ d:I[99165,[],"MetadataBoundary"] f:I[99165,[],"ViewportBoundary"] 11:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","p":"","c":["","login",""],"i":false,"f":[[["",{"children":["login",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc1199d1641b7c0d.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","RFbRTDluHTLodq_Is_mhl",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","$Lf",null,{"children":"$L10"}],null]}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","p":"","c":["","login",""],"i":false,"f":[[["",{"children":["login",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc1199d1641b7c0d.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","3bpVuxQxH2C2RoIN0WHFs",{"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 7bc07d6..9e44f42 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 7928066..51e4647 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 @@ -11,7 +11,7 @@ d:I[99165,[],"MetadataBoundary"] f:I[99165,[],"ViewportBoundary"] 11:I[25339,[],""] :HL["/_next/static/css/cc1199d1641b7c0d.css","style"] -0:{"P":null,"b":"QxgjYoAMhByZwLHIeWqva","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/cc1199d1641b7c0d.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","qxxosGL8Bz6R2wAaaihPN",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","$Lf",null,{"children":"$L10"}],null]}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"28DYBuOMA5NUDDqpqBIcr","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/cc1199d1641b7c0d.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","ZZYJr6HszrFsDqz43PCgh",{"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 933d515..8fb4950 100644 --- a/opkg-feed/Packages +++ b/opkg-feed/Packages @@ -206,15 +206,15 @@ License: GPLv3 Package: sdxpinn-quecmanager-beta -Version: 2.1.4 +Version: 2.1.5 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: 0ce37b229855b8f2ba5d67ed40a60555 -Size: 1186792 -Filename: sdxpinn-quecmanager-beta_2.1.4_aarch64_cortex-a53.ipk +MD5Sum: ac49e0926f669f9ddbb1ee16c58b9cfe +Size: 1256197 +Filename: sdxpinn-quecmanager-beta_2.1.5_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 bac5e9a..5981664 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 3887a99..314b3ec 100644 --- a/opkg-feed/Packages.log +++ b/opkg-feed/Packages.log @@ -1,4 +1,4 @@ -Starting package analysis - Tue Mar 18 01:22:01 PM EDT 2025 +Starting package analysis - Thu Mar 20 04:01:14 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) @@ -16,7 +16,7 @@ No update needed for sdxpinn-quecmanager (version 1.0.1, MD5: cb96c5ec96c2166f39 Updating package info for sdxpinn-quecmanager-beta... Updated sdxpinn-quecmanager-beta to version 1.1.1-4 with MD5: d2ae2650904d171db9259ba671737d63 and size: 904238 Updating package info for sdxpinn-quecmanager-beta... -Updated sdxpinn-quecmanager-beta to version 2.1.4 with MD5: 0ce37b229855b8f2ba5d67ed40a60555 and size: 1186792 +Updated sdxpinn-quecmanager-beta to version 2.1.5 with MD5: ac49e0926f669f9ddbb1ee16c58b9cfe and size: 1256197 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.1.1, MD5: a5f4c4c371426fbe12bf2345938af195, size: 1795) No update needed for tailscale (version 1.78.1-2, MD5: baa4d97ba49aa42ef104accba2dc2fd8, size: 9882856) @@ -25,4 +25,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 - Tue Mar 18 01:22:02 PM EDT 2025 +Package analysis completed - Thu Mar 20 04:01:14 PM EDT 2025 diff --git a/opkg-feed/Packages.sig b/opkg-feed/Packages.sig index c8ed813..2bb9951 100644 --- a/opkg-feed/Packages.sig +++ b/opkg-feed/Packages.sig @@ -1,2 +1,2 @@ untrusted comment: signed by key 6262698f038d1226 -RWRiYmmPA40SJu7sTsVYtfP9M90QM1faDDmeDVWTsWRV8KzIHgjxuFrvhAW0+S+R2CszWGgEAiBx/pcFmSkFwjI9aAhtqHio8Q8= +RWRiYmmPA40SJhKBQorfTqcO/UH2j07A22jdzjgqMOGn7ZH/MNEu18W2L9gepVbcWocWK17TOw0BQ8jVT+FXyxV4j+LquQh4xAA= diff --git a/opkg-feed/sdxpinn-quecmanager-beta_2.1.4_aarch64_cortex-a53.ipk b/opkg-feed/sdxpinn-quecmanager-beta_2.1.4_aarch64_cortex-a53.ipk deleted file mode 100644 index 48ef00c..0000000 Binary files a/opkg-feed/sdxpinn-quecmanager-beta_2.1.4_aarch64_cortex-a53.ipk and /dev/null differ diff --git a/opkg-feed/sdxpinn-quecmanager-beta_2.1.5_aarch64_cortex-a53.ipk b/opkg-feed/sdxpinn-quecmanager-beta_2.1.5_aarch64_cortex-a53.ipk new file mode 100644 index 0000000..365e533 Binary files /dev/null and b/opkg-feed/sdxpinn-quecmanager-beta_2.1.5_aarch64_cortex-a53.ipk differ