diff --git a/ipk-source/sdxpinn-quecmanager-beta/CONTROL/control b/ipk-source/sdxpinn-quecmanager-beta/CONTROL/control index 32ef7a1..5e6344a 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: 0.0.6 +Version: 0.0.7 Architecture: aarch64_cortex-a53 Maintainer: Russel Yasol dr-dolomite@github.com Cameron Thompson iamromulan@github.com Description: A custom web UI desgined to run alongside luci for Quectel RM55x modems diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/404.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/404.html index 3040c15..aa75702 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 3040c15..aa75702 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/H3ykITR4CREH5n7LHTkgO/_buildManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/EQS-a8VzZnDBwu8l2nNjN/_buildManifest.js similarity index 100% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/H3ykITR4CREH5n7LHTkgO/_buildManifest.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/EQS-a8VzZnDBwu8l2nNjN/_buildManifest.js diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/H3ykITR4CREH5n7LHTkgO/_ssgManifest.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/EQS-a8VzZnDBwu8l2nNjN/_ssgManifest.js similarity index 100% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/H3ykITR4CREH5n7LHTkgO/_ssgManifest.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/EQS-a8VzZnDBwu8l2nNjN/_ssgManifest.js diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/366-0cf24e39eec3559a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/366-0cf24e39eec3559a.js new file mode 100644 index 0000000..e23803a --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/366-0cf24e39eec3559a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[366],{33958:function(e,r,o){function t(){for(var e,r,o=0,t="",n=arguments.length;o{let r=a(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{let o=e.split("-");return""===o[0]&&1!==o.length&&o.shift(),n(o,r)||s(e)},getConflictingClassGroupIds:(e,r)=>{let n=o[e]||[];return r&&t[e]?[...n,...t[e]]:n}}},n=(e,r)=>{if(0===e.length)return r.classGroupId;let o=e[0],t=r.nextPart.get(o),l=t?n(e.slice(1),t):void 0;if(l)return l;if(0===r.validators.length)return;let s=e.join("-");return r.validators.find(({validator:e})=>e(s))?.classGroupId},l=/^\[(.+)\]$/,s=e=>{if(l.test(e)){let r=l.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},a=e=>{let{theme:r,prefix:o}=e,t={nextPart:new Map,validators:[]};return p(Object.entries(e.classGroups),o).forEach(([e,o])=>{i(o,t,e,r)}),t},i=(e,r,o,t)=>{e.forEach(e=>{if("string"==typeof e){(""===e?r:d(r,e)).classGroupId=o;return}if("function"==typeof e){if(c(e)){i(e(t),r,o,t);return}r.validators.push({validator:e,classGroupId:o});return}Object.entries(e).forEach(([e,n])=>{i(n,d(r,e),o,t)})})},d=(e,r)=>{let o=e;return r.split("-").forEach(e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)}),o},c=e=>e.isThemeGetter,p=(e,r)=>r?e.map(([e,o])=>[e,o.map(e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,o])=>[r+e,o])):e)]):e,u=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let r=0,o=new Map,t=new Map,n=(n,l)=>{o.set(n,l),++r>e&&(r=0,t=o,o=new Map)};return{get(e){let r=o.get(e);return void 0!==r?r:void 0!==(r=t.get(e))?(n(e,r),r):void 0},set(e,r){o.has(e)?o.set(e,r):n(e,r)}}},b=e=>{let{separator:r,experimentalParseClassName:o}=e,t=1===r.length,n=r[0],l=r.length,s=e=>{let o;let s=[],a=0,i=0;for(let d=0;di?o-i:void 0}};return o?e=>o({className:e,parseClassName:s}):s},f=e=>{if(e.length<=1)return e;let r=[],o=[];return e.forEach(e=>{"["===e[0]?(r.push(...o.sort(),e),o=[]):o.push(e)}),r.push(...o.sort()),r},m=e=>({cache:u(e.cacheSize),parseClassName:b(e),...t(e)}),g=/\s+/,h=(e,r)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:n}=r,l=[],s=e.trim().split(g),a="";for(let e=s.length-1;e>=0;e-=1){let r=s[e],{modifiers:i,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:p}=o(r),u=!!p,b=t(u?c.substring(0,p):c);if(!b){if(!u||!(b=t(c))){a=r+(a.length>0?" "+a:a);continue}u=!1}let m=f(i).join(":"),g=d?m+"!":m,h=g+b;if(l.includes(h))continue;l.push(h);let x=n(b,u);for(let e=0;e0?" "+a:a)}return a};function x(){let e,r,o=0,t="";for(;o{let r;if("string"==typeof e)return e;let o="";for(let t=0;t{let r=r=>r[e]||[];return r.isThemeGetter=!0,r},v=/^\[(?:([a-z-]+):)?(.+)\]$/i,k=/^\d+\/\d+$/,z=new Set(["px","full","screen"]),j=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,G=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,S=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,P=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>M(e)||z.has(e)||k.test(e),E=e=>F(e,"length",H),M=e=>!!e&&!Number.isNaN(Number(e)),$=e=>F(e,"number",M),I=e=>!!e&&Number.isInteger(Number(e)),_=e=>e.endsWith("%")&&M(e.slice(0,-1)),O=e=>v.test(e),W=e=>j.test(e),R=new Set(["length","size","percentage"]),q=e=>F(e,R,J),A=e=>F(e,"position",J),T=new Set(["image","url"]),Z=e=>F(e,T,L),B=e=>F(e,"",K),D=()=>!0,F=(e,r,o)=>{let t=v.exec(e);return!!t&&(t[1]?"string"==typeof r?t[1]===r:r.has(t[1]):o(t[2]))},H=e=>C.test(e)&&!G.test(e),J=()=>!1,K=e=>S.test(e),L=e=>P.test(e),Q=function(e,...r){let o,t,n;let l=function(a){return t=(o=m(r.reduce((e,r)=>r(e),e()))).cache.get,n=o.cache.set,l=s,s(a)};function s(e){let r=t(e);if(r)return r;let l=h(e,o);return n(e,l),l}return function(){return l(x.apply(null,arguments))}}(()=>{let e=w("colors"),r=w("spacing"),o=w("blur"),t=w("brightness"),n=w("borderColor"),l=w("borderRadius"),s=w("borderSpacing"),a=w("borderWidth"),i=w("contrast"),d=w("grayscale"),c=w("hueRotate"),p=w("invert"),u=w("gap"),b=w("gradientColorStops"),f=w("gradientColorStopPositions"),m=w("inset"),g=w("margin"),h=w("opacity"),x=w("padding"),y=w("saturate"),v=w("scale"),k=w("sepia"),z=w("skew"),j=w("space"),C=w("translate"),G=()=>["auto","contain","none"],S=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",O,r],R=()=>[O,r],T=()=>["",N,E],F=()=>["auto",M,O],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],L=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",O],U=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>[M,O];return{cacheSize:500,separator:":",theme:{colors:[D],spacing:[N,E],blur:["none","",W,O],brightness:V(),borderColor:[e],borderRadius:["none","","full",W,O],borderSpacing:R(),borderWidth:T(),contrast:V(),grayscale:Q(),hueRotate:V(),invert:Q(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[_,E],inset:P(),margin:P(),opacity:V(),padding:R(),saturate:V(),scale:V(),sepia:Q(),skew:V(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[W]}],"break-after":[{"break-after":U()}],"break-before":[{"break-before":U()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...H(),O]}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:G()}],"overscroll-x":[{"overscroll-x":G()}],"overscroll-y":[{"overscroll-y":G()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",I,O]}],basis:[{basis:P()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",I,O]}],"grid-cols":[{"grid-cols":[D]}],"col-start-end":[{col:["auto",{span:["full",I,O]},O]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[D]}],"row-start-end":[{row:["auto",{span:[I,O]},O]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...L()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...L(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...L(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",O,r]}],"min-w":[{"min-w":[O,r,"min","max","fit"]}],"max-w":[{"max-w":[O,r,"none","full","min","max","fit","prose",{screen:[W]},W]}],h:[{h:[O,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[O,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[O,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[O,r,"auto","min","max","fit"]}],"font-size":[{text:["base",W,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[D]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",O]}],"line-clamp":[{"line-clamp":["none",M,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,O]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,E]}],"underline-offset":[{"underline-offset":["auto",N,O]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),A]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",q]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Z]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:J()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[N,O]}],"outline-w":[{outline:[N,E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[N,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",W,B]}],"shadow-color":[{shadow:[D]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[t]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",W,O]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[y]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[t]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[v]}],"scale-x":[{"scale-x":[v]}],"scale-y":[{"scale-y":[v]}],rotate:[{rotate:[I,O]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[z]}],"skew-y":[{"skew-y":[z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,E,$]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/400-3f2b0ef1ad709897.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/400-3f2b0ef1ad709897.js new file mode 100644 index 0000000..cabfc24 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/400-3f2b0ef1ad709897.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[400],{92093:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(64149);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),u=function(){for(var e=arguments.length,t=Array(e),n=0;n!!e&&n.indexOf(e)===t).join(" ")};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:o=24,strokeWidth:l=2,absoluteStrokeWidth:a,className:c="",children:s,iconNode:f,...d}=e;return(0,r.createElement)("svg",{ref:t,...i,width:o,height:o,stroke:n,strokeWidth:a?24*Number(l)/Number(o):l,className:u("lucide",c),...d},[...f.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(s)?s:[s]])}),a=(e,t)=>{let n=(0,r.forwardRef)((n,i)=>{let{className:a,...c}=n;return(0,r.createElement)(l,{ref:i,iconNode:t,className:u("lucide-".concat(o(e)),a),...c})});return n.displayName="".concat(e),n}},5501:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(92093).Z)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},98228:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(92093).Z)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},64433:function(e,t,n){n.d(t,{M:function(){return r}});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},17533:function(e,t,n){n.d(t,{fC:function(){return x},z$:function(){return C}});var r=n(64149),o=n(83954),u=n(74873),i=n(64433),l=n(45306),a=n(32437),c=n(73452),s=n(45485),f=n(79442),d=n(20881),p="Checkbox",[v,m]=(0,u.b)(p),[h,y]=v(p),b=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,name:u,checked:a,defaultChecked:c,required:s,disabled:p,value:v="on",onCheckedChange:m,form:y,...b}=e,[N,w]=r.useState(null),x=(0,o.e)(t,e=>w(e)),C=r.useRef(!1),M=!N||y||!!N.closest("form"),[O=!1,j]=(0,l.T)({prop:a,defaultProp:c,onChange:m}),R=r.useRef(O);return r.useEffect(()=>{let e=null==N?void 0:N.form;if(e){let t=()=>j(R.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[N,j]),(0,d.jsxs)(h,{scope:n,state:O,disabled:p,children:[(0,d.jsx)(f.WV.button,{type:"button",role:"checkbox","aria-checked":E(O)?"mixed":O,"aria-required":s,"data-state":k(O),"data-disabled":p?"":void 0,disabled:p,value:v,...b,ref:x,onKeyDown:(0,i.M)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.M)(e.onClick,e=>{j(e=>!!E(e)||!e),M&&(C.current=e.isPropagationStopped(),C.current||e.stopPropagation())})}),M&&(0,d.jsx)(g,{control:N,bubbles:!C.current,name:u,value:v,checked:O,required:s,disabled:p,form:y,style:{transform:"translateX(-100%)"},defaultChecked:!E(c)&&c})]})});b.displayName=p;var N="CheckboxIndicator",w=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,forceMount:r,...o}=e,u=y(N,n);return(0,d.jsx)(s.z,{present:r||E(u.state)||!0===u.state,children:(0,d.jsx)(f.WV.span,{"data-state":k(u.state),"data-disabled":u.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});w.displayName=N;var g=e=>{let{control:t,checked:n,bubbles:o=!0,defaultChecked:u,...i}=e,l=r.useRef(null),s=(0,a.D)(n),f=(0,c.t)(t);r.useEffect(()=>{let e=l.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(s!==n&&t){let r=new Event("click",{bubbles:o});e.indeterminate=E(n),t.call(e,!E(n)&&n),e.dispatchEvent(r)}},[s,n,o]);let p=r.useRef(!E(n)&&n);return(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=u?u:p.current,...i,tabIndex:-1,ref:l,style:{...e.style,...f,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function E(e){return"indeterminate"===e}function k(e){return E(e)?"indeterminate":e?"checked":"unchecked"}var x=b,C=w},83954:function(e,t,n){n.d(t,{F:function(){return o},e:function(){return u}});var r=n(64149);function o(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function u(...e){return r.useCallback(o(...e),e)}},74873:function(e,t,n){n.d(t,{b:function(){return i},k:function(){return u}});var r=n(64149),o=n(20881);function u(e,t){let n=r.createContext(t),u=e=>{let{children:t,...u}=e,i=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(n.Provider,{value:i,children:t})};return u.displayName=e+"Provider",[u,function(o){let u=r.useContext(n);if(u)return u;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function i(e,t=[]){let n=[],u=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return u.scopeName=e,[function(t,u){let i=r.createContext(u),l=n.length;n=[...n,u];let a=t=>{let{scope:n,children:u,...a}=t,c=n?.[e]?.[l]||i,s=r.useMemo(()=>a,Object.values(a));return(0,o.jsx)(c.Provider,{value:s,children:u})};return a.displayName=t+"Provider",[a,function(n,o){let a=o?.[e]?.[l]||i,c=r.useContext(a);if(c)return c;if(void 0!==u)return u;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(u,...t)]}},45485:function(e,t,n){n.d(t,{z:function(){return i}});var r=n(64149),o=n(83954),u=n(61013),i=e=>{var t,n;let i,a;let{present:c,children:s}=e,f=function(e){var t,n;let[o,i]=r.useState(),a=r.useRef({}),c=r.useRef(e),s=r.useRef("none"),[f,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=l(a.current);s.current="mounted"===f?e:"none"},[f]),(0,u.b)(()=>{let t=a.current,n=c.current;if(n!==e){let r=s.current,o=l(t);e?d("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),c.current=e}},[e,d]),(0,u.b)(()=>{if(o){var e;let t;let n=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(a.current).includes(e.animationName);if(e.target===o&&r&&(d("ANIMATION_END"),!c.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},u=e=>{e.target===o&&(s.current=l(a.current))};return o.addEventListener("animationstart",u),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",u),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:r.useCallback(e=>{e&&(a.current=getComputedStyle(e)),i(e)},[])}}(c),d="function"==typeof s?s({present:f.isPresent}):r.Children.only(s),p=(0,o.e)(f.ref,(i=null===(t=Object.getOwnPropertyDescriptor(d.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in i&&i.isReactWarning?d.ref:(i=null===(n=Object.getOwnPropertyDescriptor(d,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in i&&i.isReactWarning?d.props.ref:d.props.ref||d.ref);return"function"==typeof s||f.isPresent?r.cloneElement(d,{ref:p}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},79442:function(e,t,n){n.d(t,{WV:function(){return l},jH:function(){return a}});var r=n(64149),o=n(50149),u=n(54098),i=n(20881),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...o}=e,l=r?u.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function a(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},54098:function(e,t,n){n.d(t,{A4:function(){return a},g7:function(){return i}});var r=n(64149),o=n(83954),u=n(20881),i=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),a=i.find(c);if(a){let e=a.props.children,n=i.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,u.jsx)(l,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,u.jsx)(l,{...o,ref:t,children:n})});i.displayName="Slot";var l=r.forwardRef((e,t)=>{let{children:n,...u}=e;if(r.isValidElement(n)){let e,i;let l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],u=t[r];/^on[A-Z]/.test(r)?o&&u?n[r]=(...e)=>{u(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...u}:"className"===r&&(n[r]=[o,u].filter(Boolean).join(" "))}return{...e,...n}}(u,n.props),ref:t?(0,o.F)(t,l):l})}return r.Children.count(n)>1?r.Children.only(null):null});l.displayName="SlotClone";var a=({children:e})=>(0,u.jsx)(u.Fragment,{children:e});function c(e){return r.isValidElement(e)&&e.type===a}},2441:function(e,t,n){n.d(t,{W:function(){return o}});var r=n(64149);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},45306:function(e,t,n){n.d(t,{T:function(){return u}});var r=n(64149),o=n(2441);function u({prop:e,defaultProp:t,onChange:n=()=>{}}){let[u,i]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[u]=n,i=r.useRef(u),l=(0,o.W)(t);return r.useEffect(()=>{i.current!==u&&(l(u),i.current=u)},[u,i,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,a=l?e:u,c=(0,o.W)(n);return[a,r.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&c(n)}else i(t)},[l,e,i,c])]}},61013:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(64149),o=globalThis?.document?r.useLayoutEffect:()=>{}},32437:function(e,t,n){n.d(t,{D:function(){return o}});var r=n(64149);function o(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},73452:function(e,t,n){n.d(t,{t:function(){return u}});var r=n(64149),o=n(61013);function u(e){let[t,n]=r.useState(void 0);return(0,o.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let u=t[0];if("borderBoxSize"in u){let e=u.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},20116:function(e,t,n){n.d(t,{j:function(){return u}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,n=0,r="";nn=>{var u;if((null==t?void 0:t.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:l}=t,a=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],o=null==l?void 0:l[e];if(null===t)return null;let u=r(t)||r(o);return i[e][u]}),c=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return o(e,a,null==t?void 0:null===(u=t.compoundVariants)||void 0===u?void 0:u.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...c}[t]):({...l,...c})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/400-dd39a4eacea68279.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/400-dd39a4eacea68279.js deleted file mode 100644 index f3701c9..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/400-dd39a4eacea68279.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[400],{92093:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(64149);let u=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=function(){for(var e=arguments.length,t=Array(e),n=0;n!!e&&n.indexOf(e)===t).join(" ")};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:u=24,strokeWidth:l=2,absoluteStrokeWidth:a,className:c="",children:s,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...i,width:u,height:u,stroke:n,strokeWidth:a?24*Number(l)/Number(u):l,className:o("lucide",c),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(s)?s:[s]])}),a=(e,t)=>{let n=(0,r.forwardRef)((n,i)=>{let{className:a,...c}=n;return(0,r.createElement)(l,{ref:i,iconNode:t,className:o("lucide-".concat(u(e)),a),...c})});return n.displayName="".concat(e),n}},5501:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(92093).Z)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},98228:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(92093).Z)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},64433:function(e,t,n){n.d(t,{M:function(){return r}});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},17533:function(e,t,n){n.d(t,{fC:function(){return x},z$:function(){return M}});var r=n(64149),u=n(83954),o=n(74873),i=n(64433),l=n(45306),a=n(32437),c=n(73452),s=n(45485),d=n(79442),f=n(20881),v="Checkbox",[m,p]=(0,o.b)(v),[h,y]=m(v),b=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,name:o,checked:a,defaultChecked:c,required:s,disabled:v,value:m="on",onCheckedChange:p,form:y,...b}=e,[N,w]=r.useState(null),x=(0,u.e)(t,e=>w(e)),M=r.useRef(!1),O=!N||y||!!N.closest("form"),[C=!1,j]=(0,l.T)({prop:a,defaultProp:c,onChange:p}),A=r.useRef(C);return r.useEffect(()=>{let e=null==N?void 0:N.form;if(e){let t=()=>j(A.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[N,j]),(0,f.jsxs)(h,{scope:n,state:C,disabled:v,children:[(0,f.jsx)(d.WV.button,{type:"button",role:"checkbox","aria-checked":k(C)?"mixed":C,"aria-required":s,"data-state":E(C),"data-disabled":v?"":void 0,disabled:v,value:m,...b,ref:x,onKeyDown:(0,i.M)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.M)(e.onClick,e=>{j(e=>!!k(e)||!e),O&&(M.current=e.isPropagationStopped(),M.current||e.stopPropagation())})}),O&&(0,f.jsx)(g,{control:N,bubbles:!M.current,name:o,value:m,checked:C,required:s,disabled:v,form:y,style:{transform:"translateX(-100%)"},defaultChecked:!k(c)&&c})]})});b.displayName=v;var N="CheckboxIndicator",w=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,forceMount:r,...u}=e,o=y(N,n);return(0,f.jsx)(s.z,{present:r||k(o.state)||!0===o.state,children:(0,f.jsx)(d.WV.span,{"data-state":E(o.state),"data-disabled":o.disabled?"":void 0,...u,ref:t,style:{pointerEvents:"none",...e.style}})})});w.displayName=N;var g=e=>{let{control:t,checked:n,bubbles:u=!0,defaultChecked:o,...i}=e,l=r.useRef(null),s=(0,a.D)(n),d=(0,c.t)(t);r.useEffect(()=>{let e=l.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(s!==n&&t){let r=new Event("click",{bubbles:u});e.indeterminate=k(n),t.call(e,!k(n)&&n),e.dispatchEvent(r)}},[s,n,u]);let v=r.useRef(!k(n)&&n);return(0,f.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=o?o:v.current,...i,tabIndex:-1,ref:l,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function k(e){return"indeterminate"===e}function E(e){return k(e)?"indeterminate":e?"checked":"unchecked"}var x=b,M=w},74873:function(e,t,n){n.d(t,{b:function(){return i},k:function(){return o}});var r=n(64149),u=n(20881);function o(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,i=r.useMemo(()=>o,Object.values(o));return(0,u.jsx)(n.Provider,{value:i,children:t})};return o.displayName=e+"Provider",[o,function(u){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function i(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return o.scopeName=e,[function(t,o){let i=r.createContext(o),l=n.length;n=[...n,o];let a=t=>{let{scope:n,children:o,...a}=t,c=n?.[e]?.[l]||i,s=r.useMemo(()=>a,Object.values(a));return(0,u.jsx)(c.Provider,{value:s,children:o})};return a.displayName=t+"Provider",[a,function(n,u){let a=u?.[e]?.[l]||i,c=r.useContext(a);if(c)return c;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e)[`__scope${r}`];return{...t,...u}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(o,...t)]}},45485:function(e,t,n){n.d(t,{z:function(){return i}});var r=n(64149),u=n(83954),o=n(61013),i=e=>{var t,n;let i,a;let{present:c,children:s}=e,d=function(e){var t,n;let[u,i]=r.useState(),a=r.useRef({}),c=r.useRef(e),s=r.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=l(a.current);s.current="mounted"===d?e:"none"},[d]),(0,o.b)(()=>{let t=a.current,n=c.current;if(n!==e){let r=s.current,u=l(t);e?f("MOUNT"):"none"===u||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==u?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,o.b)(()=>{if(u){var e;let t;let n=null!==(e=u.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(a.current).includes(e.animationName);if(e.target===u&&r&&(f("ANIMATION_END"),!c.current)){let e=u.style.animationFillMode;u.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===u.style.animationFillMode&&(u.style.animationFillMode=e)})}},o=e=>{e.target===u&&(s.current=l(a.current))};return u.addEventListener("animationstart",o),u.addEventListener("animationcancel",r),u.addEventListener("animationend",r),()=>{n.clearTimeout(t),u.removeEventListener("animationstart",o),u.removeEventListener("animationcancel",r),u.removeEventListener("animationend",r)}}f("ANIMATION_END")},[u,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(a.current=getComputedStyle(e)),i(e)},[])}}(c),f="function"==typeof s?s({present:d.isPresent}):r.Children.only(s),v=(0,u.e)(d.ref,(i=null===(t=Object.getOwnPropertyDescriptor(f.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in i&&i.isReactWarning?f.ref:(i=null===(n=Object.getOwnPropertyDescriptor(f,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in i&&i.isReactWarning?f.props.ref:f.props.ref||f.ref);return"function"==typeof s||d.isPresent?r.cloneElement(f,{ref:v}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},79442:function(e,t,n){n.d(t,{WV:function(){return l},jH:function(){return a}});var r=n(64149),u=n(50149),o=n(54098),i=n(20881),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...u}=e,l=r?o.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...u,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function a(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}},2441:function(e,t,n){n.d(t,{W:function(){return u}});var r=n(64149);function u(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},45306:function(e,t,n){n.d(t,{T:function(){return o}});var r=n(64149),u=n(2441);function o({prop:e,defaultProp:t,onChange:n=()=>{}}){let[o,i]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[o]=n,i=r.useRef(o),l=(0,u.W)(t);return r.useEffect(()=>{i.current!==o&&(l(o),i.current=o)},[o,i,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,a=l?e:o,c=(0,u.W)(n);return[a,r.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&c(n)}else i(t)},[l,e,i,c])]}},61013:function(e,t,n){n.d(t,{b:function(){return u}});var r=n(64149),u=globalThis?.document?r.useLayoutEffect:()=>{}},32437:function(e,t,n){n.d(t,{D:function(){return u}});var r=n(64149);function u(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},73452:function(e,t,n){n.d(t,{t:function(){return o}});var r=n(64149),u=n(61013);function o(e){let[t,n]=r.useState(void 0);return(0,u.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,u;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,u=t.blockSize}else r=e.offsetWidth,u=e.offsetHeight;n({width:r,height:u})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},20116:function(e,t,n){n.d(t,{j:function(){return o}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,u=function(){for(var e,t,n=0,r="";nn=>{var o;if((null==t?void 0:t.variants)==null)return u(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:l}=t,a=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],u=null==l?void 0:l[e];if(null===t)return null;let o=r(t)||r(u);return i[e][o]}),c=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return u(e,a,null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...u}=t;return Object.entries(u).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...c}[t]):({...l,...c})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/59-baefa124caadc35a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/59-baefa124caadc35a.js deleted file mode 100644 index 64340c2..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/59-baefa124caadc35a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[59],{83954:function(e,r,o){o.d(r,{F:function(){return n},e:function(){return l}});var t=o(64149);function n(...e){return r=>e.forEach(e=>{"function"==typeof e?e(r):null!=e&&(e.current=r)})}function l(...e){return t.useCallback(n(...e),e)}},54098:function(e,r,o){o.d(r,{A4:function(){return a},g7:function(){return s}});var t=o(64149),n=o(83954),l=o(20881),s=t.forwardRef((e,r)=>{let{children:o,...n}=e,s=t.Children.toArray(o),a=s.find(d);if(a){let e=a.props.children,o=s.map(r=>r!==a?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,l.jsx)(i,{...n,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,o):null})}return(0,l.jsx)(i,{...n,ref:r,children:o})});s.displayName="Slot";var i=t.forwardRef((e,r)=>{let{children:o,...l}=e;if(t.isValidElement(o)){let e,s;let i=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?o.ref:(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?o.props.ref:o.props.ref||o.ref;return t.cloneElement(o,{...function(e,r){let o={...r};for(let t in r){let n=e[t],l=r[t];/^on[A-Z]/.test(t)?n&&l?o[t]=(...e)=>{l(...e),n(...e)}:n&&(o[t]=n):"style"===t?o[t]={...n,...l}:"className"===t&&(o[t]=[n,l].filter(Boolean).join(" "))}return{...e,...o}}(l,o.props),ref:r?(0,n.F)(r,i):i})}return t.Children.count(o)>1?t.Children.only(null):null});i.displayName="SlotClone";var a=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function d(e){return t.isValidElement(e)&&e.type===a}},33958:function(e,r,o){function t(){for(var e,r,o=0,t="",n=arguments.length;o{let r=i(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{let o=e.split("-");return""===o[0]&&1!==o.length&&o.shift(),n(o,r)||s(e)},getConflictingClassGroupIds:(e,r)=>{let n=o[e]||[];return r&&t[e]?[...n,...t[e]]:n}}},n=(e,r)=>{if(0===e.length)return r.classGroupId;let o=e[0],t=r.nextPart.get(o),l=t?n(e.slice(1),t):void 0;if(l)return l;if(0===r.validators.length)return;let s=e.join("-");return r.validators.find(({validator:e})=>e(s))?.classGroupId},l=/^\[(.+)\]$/,s=e=>{if(l.test(e)){let r=l.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},i=e=>{let{theme:r,prefix:o}=e,t={nextPart:new Map,validators:[]};return p(Object.entries(e.classGroups),o).forEach(([e,o])=>{a(o,t,e,r)}),t},a=(e,r,o,t)=>{e.forEach(e=>{if("string"==typeof e){(""===e?r:d(r,e)).classGroupId=o;return}if("function"==typeof e){if(c(e)){a(e(t),r,o,t);return}r.validators.push({validator:e,classGroupId:o});return}Object.entries(e).forEach(([e,n])=>{a(n,d(r,e),o,t)})})},d=(e,r)=>{let o=e;return r.split("-").forEach(e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)}),o},c=e=>e.isThemeGetter,p=(e,r)=>r?e.map(([e,o])=>[e,o.map(e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,o])=>[r+e,o])):e)]):e,u=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let r=0,o=new Map,t=new Map,n=(n,l)=>{o.set(n,l),++r>e&&(r=0,t=o,o=new Map)};return{get(e){let r=o.get(e);return void 0!==r?r:void 0!==(r=t.get(e))?(n(e,r),r):void 0},set(e,r){o.has(e)?o.set(e,r):n(e,r)}}},b=e=>{let{separator:r,experimentalParseClassName:o}=e,t=1===r.length,n=r[0],l=r.length,s=e=>{let o;let s=[],i=0,a=0;for(let d=0;da?o-a:void 0}};return o?e=>o({className:e,parseClassName:s}):s},f=e=>{if(e.length<=1)return e;let r=[],o=[];return e.forEach(e=>{"["===e[0]?(r.push(...o.sort(),e),o=[]):o.push(e)}),r.push(...o.sort()),r},m=e=>({cache:u(e.cacheSize),parseClassName:b(e),...t(e)}),g=/\s+/,h=(e,r)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:n}=r,l=[],s=e.trim().split(g),i="";for(let e=s.length-1;e>=0;e-=1){let r=s[e],{modifiers:a,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:p}=o(r),u=!!p,b=t(u?c.substring(0,p):c);if(!b){if(!u||!(b=t(c))){i=r+(i.length>0?" "+i:i);continue}u=!1}let m=f(a).join(":"),g=d?m+"!":m,h=g+b;if(l.includes(h))continue;l.push(h);let y=n(b,u);for(let e=0;e0?" "+i:i)}return i};function y(){let e,r,o=0,t="";for(;o{let r;if("string"==typeof e)return e;let o="";for(let t=0;t{let r=r=>r[e]||[];return r.isThemeGetter=!0,r},w=/^\[(?:([a-z-]+):)?(.+)\]$/i,k=/^\d+\/\d+$/,z=new Set(["px","full","screen"]),j=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,S=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,N=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>R(e)||z.has(e)||k.test(e),G=e=>Z(e,"length",B),R=e=>!!e&&!Number.isNaN(Number(e)),O=e=>Z(e,"number",R),W=e=>!!e&&Number.isInteger(Number(e)),M=e=>e.endsWith("%")&&R(e.slice(0,-1)),$=e=>w.test(e),I=e=>j.test(e),_=new Set(["length","size","percentage"]),A=e=>Z(e,_,H),V=e=>Z(e,"position",H),F=new Set(["image","url"]),q=e=>Z(e,F,K),D=e=>Z(e,"",J),T=()=>!0,Z=(e,r,o)=>{let t=w.exec(e);return!!t&&(t[1]?"string"==typeof r?t[1]===r:r.has(t[1]):o(t[2]))},B=e=>C.test(e)&&!E.test(e),H=()=>!1,J=e=>S.test(e),K=e=>N.test(e),L=function(e,...r){let o,t,n;let l=function(i){return t=(o=m(r.reduce((e,r)=>r(e),e()))).cache.get,n=o.cache.set,l=s,s(i)};function s(e){let r=t(e);if(r)return r;let l=h(e,o);return n(e,l),l}return function(){return l(y.apply(null,arguments))}}(()=>{let e=v("colors"),r=v("spacing"),o=v("blur"),t=v("brightness"),n=v("borderColor"),l=v("borderRadius"),s=v("borderSpacing"),i=v("borderWidth"),a=v("contrast"),d=v("grayscale"),c=v("hueRotate"),p=v("invert"),u=v("gap"),b=v("gradientColorStops"),f=v("gradientColorStopPositions"),m=v("inset"),g=v("margin"),h=v("opacity"),y=v("padding"),x=v("saturate"),w=v("scale"),k=v("sepia"),z=v("skew"),j=v("space"),C=v("translate"),E=()=>["auto","contain","none"],S=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",$,r],_=()=>[$,r],F=()=>["",P,G],Z=()=>["auto",R,$],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",$],Q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[R,$];return{cacheSize:500,separator:":",theme:{colors:[T],spacing:[P,G],blur:["none","",I,$],brightness:U(),borderColor:[e],borderRadius:["none","","full",I,$],borderSpacing:_(),borderWidth:F(),contrast:U(),grayscale:L(),hueRotate:U(),invert:L(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[M,G],inset:N(),margin:N(),opacity:U(),padding:_(),saturate:U(),scale:U(),sepia:L(),skew:U(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",$]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":Q()}],"break-before":[{"break-before":Q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),$]}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",W,$]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",$]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",W,$]}],"grid-cols":[{"grid-cols":[T]}],"col-start-end":[{col:["auto",{span:["full",W,$]},$]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[T]}],"row-start-end":[{row:["auto",{span:[W,$]},$]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",$]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",$]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",$,r]}],"min-w":[{"min-w":[$,r,"min","max","fit"]}],"max-w":[{"max-w":[$,r,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[$,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[$,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[$,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[$,r,"auto","min","max","fit"]}],"font-size":[{text:["base",I,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",O]}],"font-family":[{font:[T]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",$]}],"line-clamp":[{"line-clamp":["none",R,O]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,$]}],"list-image":[{"list-image":["none",$]}],"list-style-type":[{list:["none","disc","decimal",$]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,G]}],"underline-offset":[{"underline-offset":["auto",P,$]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",$]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),V]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",A]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},q]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...H(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:H()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[P,$]}],"outline-w":[{outline:[P,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:F()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[P,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,D]}],"shadow-color":[{shadow:[T]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...J(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[t]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",I,$]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[x]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[t]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",$]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",$]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",$]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[W,$]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[z]}],"skew-y":[{"skew-y":[z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",$]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",$]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",$]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,G,O]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/598-37a268c60ee2f48f.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/598-d0a7343618c17bca.js similarity index 65% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/598-37a268c60ee2f48f.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/598-d0a7343618c17bca.js index fb84521..5a9ec9b 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/598-37a268c60ee2f48f.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/598-d0a7343618c17bca.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[598],{445:function(e,t,n){n.d(t,{default:function(){return i.a}});var r=n(19666),i=n.n(r)},27525:function(e,t,n){var r=n(39886);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}})},68986:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let r=n(88806),i=n(59994),o=n(20881),l=i._(n(64149)),a=r._(n(50149)),u=r._(n(82193)),s=n(50389),d=n(22682),f=n(20800);n(12303);let c=n(24072),p=r._(n(88650)),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,n,r,i,o,l){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function h(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,l.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:a,width:u,decoding:s,className:d,style:f,fetchPriority:c,placeholder:p,loading:m,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:_,setShowAltText:j,sizesInput:S,onLoad:x,onError:P,...C}=e;return(0,o.jsx)("img",{...C,...h(c),loading:m,width:u,height:a,decoding:s,"data-nimg":y?"fill":"1",className:d,style:f,sizes:i,srcSet:r,src:n,ref:(0,l.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(P&&(e.src=e.src),e.complete&&g(e,p,b,w,_,v,S))},[n,p,b,w,_,P,v,S,t]),onLoad:e=>{g(e.currentTarget,p,b,w,_,v,S)},onError:e=>{j(!0),"empty"!==p&&_(!0),P&&P(e)}})});function y(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...h(n.fetchPriority)};return t&&a.default.preload?(a.default.preload(n.src,r),null):(0,o.jsx)(u.default,{children:(0,o.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let b=(0,l.forwardRef)((e,t)=>{let n=(0,l.useContext)(c.RouterContext),r=(0,l.useContext)(f.ImageConfigContext),i=(0,l.useMemo)(()=>{let e=m||r||d.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:a,onLoadingComplete:u}=e,g=(0,l.useRef)(a);(0,l.useEffect)(()=>{g.current=a},[a]);let h=(0,l.useRef)(u);(0,l.useEffect)(()=>{h.current=u},[u]);let[b,w]=(0,l.useState)(!1),[_,j]=(0,l.useState)(!1),{props:S,meta:x}=(0,s.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:b,showAltText:_});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...S,unoptimized:x.unoptimized,placeholder:x.placeholder,fill:x.fill,onLoadRef:g,onLoadingCompleteRef:h,setBlurComplete:w,setShowAltText:j,sizesInput:e.sizes,ref:t}),x.priority?(0,o.jsx)(y,{isAppRouter:!n,imgAttributes:S}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},20635:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(88806)._(n(64149)).default.createContext({})},10761:function(e,t){function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},50389:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return a}}),n(12303);let r=n(86430),i=n(22682);function o(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function a(e,t){var n;let a,u,s,{src:d,sizes:f,unoptimized:c=!1,priority:p=!1,loading:m,className:g,quality:h,width:v,height:y,fill:b=!1,style:w,overrideSrc:_,onLoad:j,onLoadingComplete:S,placeholder:x="empty",blurDataURL:P,fetchPriority:C,decoding:O="async",layout:M,objectFit:z,objectPosition:E,lazyBoundary:I,lazyRoot:R,...A}=e,{imgConf:k,showAltText:D,blurComplete:N,defaultLoader:L}=t,U=k||i.imageConfigDefault;if("allSizes"in U)a=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t);a={...U,allSizes:e,deviceSizes:t}}if(void 0===L)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let T=A.loader||L;delete A.loader,delete A.srcSet;let F="__next_img_default"in T;if(F){if("custom"===a.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=T;T=t=>{let{config:n,...r}=t;return e(r)}}if(M){"fill"===M&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[M];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[M];t&&!f&&(f=t)}let G="",B=l(v),V=l(y);if("object"==typeof(n=d)&&(o(n)||void 0!==n.src)){let e=o(d)?d.default:d;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(u=e.blurWidth,s=e.blurHeight,P=P||e.blurDataURL,G=e.src,!b){if(B||V){if(B&&!V){let t=B/e.width;V=Math.round(e.height*t)}else if(!B&&V){let t=V/e.height;B=Math.round(e.width*t)}}else B=e.width,V=e.height}}let W=!p&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:G)||d.startsWith("data:")||d.startsWith("blob:"))&&(c=!0,W=!1),a.unoptimized&&(c=!0),F&&d.endsWith(".svg")&&!a.dangerouslyAllowSVG&&(c=!0),p&&(C="high");let H=l(h),$=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:z,objectPosition:E}:{},D?{}:{color:"transparent"},w),q=N||"empty"===x?null:"blur"===x?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:B,heightInt:V,blurWidth:u,blurHeight:s,blurDataURL:P||"",objectFit:$.objectFit})+'")':'url("'+x+'")',J=q?{backgroundSize:$.objectFit||"cover",backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:q}:{},Y=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:o,sizes:l,loader:a}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:u,kind:s}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,l),d=u.length-1;return{sizes:l||"w"!==s?l:"100vw",srcSet:u.map((e,r)=>a({config:t,src:n,quality:o,width:e})+" "+("w"===s?e:r+1)+s).join(", "),src:a({config:t,src:n,quality:o,width:u[d]})}}({config:a,src:d,unoptimized:c,width:B,quality:H,sizes:f,loader:T});return{props:{...A,loading:W?"lazy":m,fetchPriority:C,width:B,height:V,decoding:O,className:g,style:{...$,...J},sizes:Y.sizes,srcSet:Y.srcSet,src:_||Y.src},meta:{unoptimized:c,priority:p,placeholder:x,fill:b}}}},82193:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return g},defaultHead:function(){return f}});let r=n(88806),i=n(59994),o=n(20881),l=i._(n(64149)),a=r._(n(31665)),u=n(20635),s=n(61373),d=n(10761);function f(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function c(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(12303);let p=["name","httpEquiv","charSet","itemProp"];function m(e,t){let{inAmpMode:n}=t;return e.reduce(c,[]).reverse().concat(f(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return i=>{let o=!0,l=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){l=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e{let r=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,l.default.cloneElement(e,t)}return l.default.cloneElement(e,{key:r})})}let g=function(e){let{children:t}=e,n=(0,l.useContext)(u.AmpStateContext),r=(0,l.useContext)(s.HeadManagerContext);return(0,o.jsx)(a.default,{reduceComponentsToState:m,headManager:r,inAmpMode:(0,d.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86430:function(e,t){function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:l}=e,a=r?40*r:t,u=i?40*i:n,s=a&&u?"viewBox='0 0 "+a+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+s+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(s?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},20800:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let r=n(88806)._(n(64149)),i=n(22682),o=r.default.createContext(i.imageConfigDefault)},22682:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return r}});let n=["default","imgix","cloudinary","akamai","custom"],r={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",localPatterns:void 0,remotePatterns:[],unoptimized:!1}},19666:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return u},getImageProps:function(){return a}});let r=n(88806),i=n(50389),o=n(68986),l=r._(n(88650));function a(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let u=o.Image},88650:function(e,t){function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},24072:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=n(88806)._(n(64149)).default.createContext(null)},31665:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(64149),i="undefined"==typeof window,o=i?()=>{}:r.useLayoutEffect,l=i?()=>{}:r.useEffect;function a(e){let{headManager:t,reduceComponentsToState:n}=e;function a(){if(t&&t.mountedInstances){let i=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(i,e))}}if(i){var u;null==t||null==(u=t.mountedInstances)||u.add(e.children),a()}return o(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),l(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},51212:function(e,t,n){n.d(t,{f:function(){return a}});var r=n(64149),i=n(79442),o=n(20881),l=r.forwardRef((e,t)=>(0,o.jsx)(i.WV.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));l.displayName="Label";var a=l},79442:function(e,t,n){n.d(t,{WV:function(){return a},jH:function(){return u}});var r=n(64149),i=n(50149),o=n(54098),l=n(20881),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...i}=e,a=r?o.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(a,{...i,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function u(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},20116:function(e,t,n){n.d(t,{j:function(){return o}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,i=function(){for(var e,t,n=0,r="";nn=>{var o;if((null==t?void 0:t.variants)==null)return i(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:l,defaultVariants:a}=t,u=Object.keys(l).map(e=>{let t=null==n?void 0:n[e],i=null==a?void 0:a[e];if(null===t)return null;let o=r(t)||r(i);return l[e][o]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return i(e,u,null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...s}[t]):({...a,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[598],{445:function(e,t,n){n.d(t,{default:function(){return i.a}});var r=n(19666),i=n.n(r)},27525:function(e,t,n){var r=n(39886);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}})},68986:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let r=n(88806),i=n(59994),o=n(20881),l=i._(n(64149)),a=r._(n(50149)),u=r._(n(82193)),s=n(50389),d=n(22682),f=n(20800);n(12303);let c=n(24072),p=r._(n(88650)),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,n,r,i,o,l){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function h(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,l.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:a,width:u,decoding:s,className:d,style:f,fetchPriority:c,placeholder:p,loading:m,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:_,setShowAltText:j,sizesInput:x,onLoad:S,onError:C,...P}=e;return(0,o.jsx)("img",{...P,...h(c),loading:m,width:u,height:a,decoding:s,"data-nimg":y?"fill":"1",className:d,style:f,sizes:i,srcSet:r,src:n,ref:(0,l.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(C&&(e.src=e.src),e.complete&&g(e,p,b,w,_,v,x))},[n,p,b,w,_,C,v,x,t]),onLoad:e=>{g(e.currentTarget,p,b,w,_,v,x)},onError:e=>{j(!0),"empty"!==p&&_(!0),C&&C(e)}})});function y(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...h(n.fetchPriority)};return t&&a.default.preload?(a.default.preload(n.src,r),null):(0,o.jsx)(u.default,{children:(0,o.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let b=(0,l.forwardRef)((e,t)=>{let n=(0,l.useContext)(c.RouterContext),r=(0,l.useContext)(f.ImageConfigContext),i=(0,l.useMemo)(()=>{let e=m||r||d.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:a,onLoadingComplete:u}=e,g=(0,l.useRef)(a);(0,l.useEffect)(()=>{g.current=a},[a]);let h=(0,l.useRef)(u);(0,l.useEffect)(()=>{h.current=u},[u]);let[b,w]=(0,l.useState)(!1),[_,j]=(0,l.useState)(!1),{props:x,meta:S}=(0,s.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:b,showAltText:_});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...x,unoptimized:S.unoptimized,placeholder:S.placeholder,fill:S.fill,onLoadRef:g,onLoadingCompleteRef:h,setBlurComplete:w,setShowAltText:j,sizesInput:e.sizes,ref:t}),S.priority?(0,o.jsx)(y,{isAppRouter:!n,imgAttributes:x}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},20635:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(88806)._(n(64149)).default.createContext({})},10761:function(e,t){function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},50389:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return a}}),n(12303);let r=n(86430),i=n(22682);function o(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function a(e,t){var n;let a,u,s,{src:d,sizes:f,unoptimized:c=!1,priority:p=!1,loading:m,className:g,quality:h,width:v,height:y,fill:b=!1,style:w,overrideSrc:_,onLoad:j,onLoadingComplete:x,placeholder:S="empty",blurDataURL:C,fetchPriority:P,decoding:O="async",layout:E,objectFit:M,objectPosition:z,lazyBoundary:R,lazyRoot:A,...I}=e,{imgConf:k,showAltText:D,blurComplete:N,defaultLoader:F}=t,L=k||i.imageConfigDefault;if("allSizes"in L)a=L;else{let e=[...L.deviceSizes,...L.imageSizes].sort((e,t)=>e-t),t=L.deviceSizes.sort((e,t)=>e-t);a={...L,allSizes:e,deviceSizes:t}}if(void 0===F)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let V=I.loader||F;delete I.loader,delete I.srcSet;let W="__next_img_default"in V;if(W){if("custom"===a.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=V;V=t=>{let{config:n,...r}=t;return e(r)}}if(E){"fill"===E&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[E];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[E];t&&!f&&(f=t)}let U="",T=l(v),B=l(y);if("object"==typeof(n=d)&&(o(n)||void 0!==n.src)){let e=o(d)?d.default:d;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(u=e.blurWidth,s=e.blurHeight,C=C||e.blurDataURL,U=e.src,!b){if(T||B){if(T&&!B){let t=T/e.width;B=Math.round(e.height*t)}else if(!T&&B){let t=B/e.height;T=Math.round(e.width*t)}}else T=e.width,B=e.height}}let G=!p&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:U)||d.startsWith("data:")||d.startsWith("blob:"))&&(c=!0,G=!1),a.unoptimized&&(c=!0),W&&d.endsWith(".svg")&&!a.dangerouslyAllowSVG&&(c=!0),p&&(P="high");let H=l(h),$=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:z}:{},D?{}:{color:"transparent"},w),q=N||"empty"===S?null:"blur"===S?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:T,heightInt:B,blurWidth:u,blurHeight:s,blurDataURL:C||"",objectFit:$.objectFit})+'")':'url("'+S+'")',J=q?{backgroundSize:$.objectFit||"cover",backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:q}:{},Y=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:o,sizes:l,loader:a}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:u,kind:s}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,l),d=u.length-1;return{sizes:l||"w"!==s?l:"100vw",srcSet:u.map((e,r)=>a({config:t,src:n,quality:o,width:e})+" "+("w"===s?e:r+1)+s).join(", "),src:a({config:t,src:n,quality:o,width:u[d]})}}({config:a,src:d,unoptimized:c,width:T,quality:H,sizes:f,loader:V});return{props:{...I,loading:G?"lazy":m,fetchPriority:P,width:T,height:B,decoding:O,className:g,style:{...$,...J},sizes:Y.sizes,srcSet:Y.srcSet,src:_||Y.src},meta:{unoptimized:c,priority:p,placeholder:S,fill:b}}}},82193:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return g},defaultHead:function(){return f}});let r=n(88806),i=n(59994),o=n(20881),l=i._(n(64149)),a=r._(n(31665)),u=n(20635),s=n(61373),d=n(10761);function f(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function c(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(12303);let p=["name","httpEquiv","charSet","itemProp"];function m(e,t){let{inAmpMode:n}=t;return e.reduce(c,[]).reverse().concat(f(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return i=>{let o=!0,l=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){l=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e{let r=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,l.default.cloneElement(e,t)}return l.default.cloneElement(e,{key:r})})}let g=function(e){let{children:t}=e,n=(0,l.useContext)(u.AmpStateContext),r=(0,l.useContext)(s.HeadManagerContext);return(0,o.jsx)(a.default,{reduceComponentsToState:m,headManager:r,inAmpMode:(0,d.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86430:function(e,t){function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:l}=e,a=r?40*r:t,u=i?40*i:n,s=a&&u?"viewBox='0 0 "+a+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+s+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(s?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},20800:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let r=n(88806)._(n(64149)),i=n(22682),o=r.default.createContext(i.imageConfigDefault)},22682:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return r}});let n=["default","imgix","cloudinary","akamai","custom"],r={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",localPatterns:void 0,remotePatterns:[],unoptimized:!1}},19666:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return u},getImageProps:function(){return a}});let r=n(88806),i=n(50389),o=n(68986),l=r._(n(88650));function a(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let u=o.Image},88650:function(e,t){function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},24072:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=n(88806)._(n(64149)).default.createContext(null)},31665:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(64149),i="undefined"==typeof window,o=i?()=>{}:r.useLayoutEffect,l=i?()=>{}:r.useEffect;function a(e){let{headManager:t,reduceComponentsToState:n}=e;function a(){if(t&&t.mountedInstances){let i=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(i,e))}}if(i){var u;null==t||null==(u=t.mountedInstances)||u.add(e.children),a()}return o(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),l(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},83954:function(e,t,n){n.d(t,{F:function(){return i},e:function(){return o}});var r=n(64149);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function o(...e){return r.useCallback(i(...e),e)}},51212:function(e,t,n){n.d(t,{f:function(){return a}});var r=n(64149),i=n(79442),o=n(20881),l=r.forwardRef((e,t)=>(0,o.jsx)(i.WV.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));l.displayName="Label";var a=l},79442:function(e,t,n){n.d(t,{WV:function(){return a},jH:function(){return u}});var r=n(64149),i=n(50149),o=n(54098),l=n(20881),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...i}=e,a=r?o.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(a,{...i,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function u(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},54098:function(e,t,n){n.d(t,{A4:function(){return u},g7:function(){return l}});var r=n(64149),i=n(83954),o=n(20881),l=r.forwardRef((e,t)=>{let{children:n,...i}=e,l=r.Children.toArray(n),u=l.find(s);if(u){let e=u.props.children,n=l.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(a,{...i,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,o.jsx)(a,{...i,ref:t,children:n})});l.displayName="Slot";var a=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){let e,l;let a=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props),ref:t?(0,i.F)(t,a):a})}return r.Children.count(n)>1?r.Children.only(null):null});a.displayName="SlotClone";var u=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function s(e){return r.isValidElement(e)&&e.type===u}},20116:function(e,t,n){n.d(t,{j:function(){return o}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,i=function(){for(var e,t,n=0,r="";nn=>{var o;if((null==t?void 0:t.variants)==null)return i(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:l,defaultVariants:a}=t,u=Object.keys(l).map(e=>{let t=null==n?void 0:n[e],i=null==a?void 0:a[e];if(null===t)return null;let o=r(t)||r(i);return l[e][o]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return i(e,u,null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...s}[t]):({...a,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/714-f84e9a05035632c8.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/714-f84e9a05035632c8.js deleted file mode 100644 index 2b846a5..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/714-f84e9a05035632c8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[714],{64433:function(e,t,n){n.d(t,{M:function(){return r}});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},74873:function(e,t,n){n.d(t,{b:function(){return o},k:function(){return i}});var r=n(64149),u=n(20881);function i(e,t){let n=r.createContext(t),i=e=>{let{children:t,...i}=e,o=r.useMemo(()=>i,Object.values(i));return(0,u.jsx)(n.Provider,{value:o,children:t})};return i.displayName=e+"Provider",[i,function(u){let i=r.useContext(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function o(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return i.scopeName=e,[function(t,i){let o=r.createContext(i),l=n.length;n=[...n,i];let s=t=>{let{scope:n,children:i,...s}=t,a=n?.[e]?.[l]||o,c=r.useMemo(()=>s,Object.values(s));return(0,u.jsx)(a.Provider,{value:c,children:i})};return s.displayName=t+"Provider",[s,function(n,u){let s=u?.[e]?.[l]||o,a=r.useContext(s);if(a)return a;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e)[`__scope${r}`];return{...t,...u}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(i,...t)]}},72832:function(e,t,n){n.d(t,{I0:function(){return b},XB:function(){return f},fC:function(){return y}});var r,u=n(64149),i=n(64433),o=n(79442),l=n(83954),s=n(2441),a=n(20881),c="dismissableLayer.update",d=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=u.forwardRef((e,t)=>{var n,f;let{disableOutsidePointerEvents:v=!1,onEscapeKeyDown:y,onPointerDownOutside:b,onFocusOutside:E,onInteractOutside:h,onDismiss:w,...C}=e,g=u.useContext(d),[P,L]=u.useState(null),x=null!==(f=null==P?void 0:P.ownerDocument)&&void 0!==f?f:null===(n=globalThis)||void 0===n?void 0:n.document,[,N]=u.useState({}),W=(0,l.e)(t,e=>L(e)),D=Array.from(g.layers),[O]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),j=D.indexOf(O),k=P?D.indexOf(P):-1,R=g.layersWithOutsidePointerEventsDisabled.size>0,S=k>=j,T=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,s.W)(e),i=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,u,{discrete:!0})},u={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=t,n.addEventListener("click",o.current,{once:!0})):t()}else n.removeEventListener("click",o.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...g.branches].some(e=>e.contains(t));!S||n||(null==b||b(e),null==h||h(e),e.defaultPrevented||null==w||w())},x),_=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,s.W)(e),i=u.useRef(!1);return u.useEffect(()=>{let e=e=>{e.target&&!i.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...g.branches].some(e=>e.contains(t))||(null==E||E(e),null==h||h(e),e.defaultPrevented||null==w||w())},x);return!function(e,t=globalThis?.document){let n=(0,s.W)(e);u.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{k!==g.layers.size-1||(null==y||y(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},x),u.useEffect(()=>{if(P)return v&&(0===g.layersWithOutsidePointerEventsDisabled.size&&(r=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(P)),g.layers.add(P),p(),()=>{v&&1===g.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=r)}},[P,x,v,g]),u.useEffect(()=>()=>{P&&(g.layers.delete(P),g.layersWithOutsidePointerEventsDisabled.delete(P),p())},[P,g]),u.useEffect(()=>{let e=()=>N({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,a.jsx)(o.WV.div,{...C,ref:W,style:{pointerEvents:R?S?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,_.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,T.onPointerDownCapture)})});f.displayName="DismissableLayer";var v=u.forwardRef((e,t)=>{let n=u.useContext(d),r=u.useRef(null),i=(0,l.e)(t,r);return u.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,a.jsx)(o.WV.div,{...e,ref:i})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:u}=r,i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),u?(0,o.jH)(i,l):i.dispatchEvent(l)}v.displayName="DismissableLayerBranch";var y=f,b=v},97498:function(e,t,n){n.d(t,{h:function(){return s}});var r=n(64149),u=n(50149),i=n(79442),o=n(61013),l=n(20881),s=r.forwardRef((e,t)=>{var n,s;let{container:a,...c}=e,[d,f]=r.useState(!1);(0,o.b)(()=>f(!0),[]);let v=a||d&&(null===(s=globalThis)||void 0===s?void 0:null===(n=s.document)||void 0===n?void 0:n.body);return v?u.createPortal((0,l.jsx)(i.WV.div,{...c,ref:t}),v):null});s.displayName="Portal"},79442:function(e,t,n){n.d(t,{WV:function(){return l},jH:function(){return s}});var r=n(64149),u=n(50149),i=n(54098),o=n(20881),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...u}=e,l=r?i.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(l,{...u,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function s(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}},2441:function(e,t,n){n.d(t,{W:function(){return u}});var r=n(64149);function u(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},45306:function(e,t,n){n.d(t,{T:function(){return i}});var r=n(64149),u=n(2441);function i({prop:e,defaultProp:t,onChange:n=()=>{}}){let[i,o]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[i]=n,o=r.useRef(i),l=(0,u.W)(t);return r.useEffect(()=>{o.current!==i&&(l(i),o.current=i)},[i,o,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,s=l?e:i,a=(0,u.W)(n);return[s,r.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&a(n)}else o(t)},[l,e,o,a])]}},61013:function(e,t,n){n.d(t,{b:function(){return u}});var r=n(64149),u=globalThis?.document?r.useLayoutEffect:()=>{}},20116:function(e,t,n){n.d(t,{j:function(){return i}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,u=function(){for(var e,t,n=0,r="";nn=>{var i;if((null==t?void 0:t.variants)==null)return u(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:o,defaultVariants:l}=t,s=Object.keys(o).map(e=>{let t=null==n?void 0:n[e],u=null==l?void 0:l[e];if(null===t)return null;let i=r(t)||r(u);return o[e][i]}),a=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return u(e,s,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:n,className:r,...u}=t;return Object.entries(u).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...a}[t]):({...l,...a})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/714-fba2b6e06c84bb99.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/714-fba2b6e06c84bb99.js new file mode 100644 index 0000000..381736e --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/714-fba2b6e06c84bb99.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[714],{64433:function(e,t,n){n.d(t,{M:function(){return r}});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},83954:function(e,t,n){n.d(t,{F:function(){return u},e:function(){return i}});var r=n(64149);function u(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function i(...e){return r.useCallback(u(...e),e)}},74873:function(e,t,n){n.d(t,{b:function(){return o},k:function(){return i}});var r=n(64149),u=n(20881);function i(e,t){let n=r.createContext(t),i=e=>{let{children:t,...i}=e,o=r.useMemo(()=>i,Object.values(i));return(0,u.jsx)(n.Provider,{value:o,children:t})};return i.displayName=e+"Provider",[i,function(u){let i=r.useContext(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function o(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let u=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return i.scopeName=e,[function(t,i){let o=r.createContext(i),l=n.length;n=[...n,i];let s=t=>{let{scope:n,children:i,...s}=t,a=n?.[e]?.[l]||o,c=r.useMemo(()=>s,Object.values(s));return(0,u.jsx)(a.Provider,{value:c,children:i})};return s.displayName=t+"Provider",[s,function(n,u){let s=u?.[e]?.[l]||o,a=r.useContext(s);if(a)return a;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e)[`__scope${r}`];return{...t,...u}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(i,...t)]}},72832:function(e,t,n){n.d(t,{I0:function(){return b},XB:function(){return f},fC:function(){return y}});var r,u=n(64149),i=n(64433),o=n(79442),l=n(83954),s=n(2441),a=n(20881),c="dismissableLayer.update",d=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=u.forwardRef((e,t)=>{var n,f;let{disableOutsidePointerEvents:v=!1,onEscapeKeyDown:y,onPointerDownOutside:b,onFocusOutside:E,onInteractOutside:h,onDismiss:w,...g}=e,C=u.useContext(d),[P,j]=u.useState(null),W=null!==(f=null==P?void 0:P.ownerDocument)&&void 0!==f?f:null===(n=globalThis)||void 0===n?void 0:n.document,[,x]=u.useState({}),N=(0,l.e)(t,e=>j(e)),O=Array.from(C.layers),[L]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),D=O.indexOf(L),R=P?O.indexOf(P):-1,k=C.layersWithOutsidePointerEventsDisabled.size>0,S=R>=D,T=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,s.W)(e),i=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,u,{discrete:!0})},u={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=t,n.addEventListener("click",o.current,{once:!0})):t()}else n.removeEventListener("click",o.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...C.branches].some(e=>e.contains(t));!S||n||(null==b||b(e),null==h||h(e),e.defaultPrevented||null==w||w())},W),_=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,s.W)(e),i=u.useRef(!1);return u.useEffect(()=>{let e=e=>{e.target&&!i.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...C.branches].some(e=>e.contains(t))||(null==E||E(e),null==h||h(e),e.defaultPrevented||null==w||w())},W);return!function(e,t=globalThis?.document){let n=(0,s.W)(e);u.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{R!==C.layers.size-1||(null==y||y(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},W),u.useEffect(()=>{if(P)return v&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(r=W.body.style.pointerEvents,W.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(P)),C.layers.add(P),p(),()=>{v&&1===C.layersWithOutsidePointerEventsDisabled.size&&(W.body.style.pointerEvents=r)}},[P,W,v,C]),u.useEffect(()=>()=>{P&&(C.layers.delete(P),C.layersWithOutsidePointerEventsDisabled.delete(P),p())},[P,C]),u.useEffect(()=>{let e=()=>x({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,a.jsx)(o.WV.div,{...g,ref:N,style:{pointerEvents:k?S?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,_.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,T.onPointerDownCapture)})});f.displayName="DismissableLayer";var v=u.forwardRef((e,t)=>{let n=u.useContext(d),r=u.useRef(null),i=(0,l.e)(t,r);return u.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,a.jsx)(o.WV.div,{...e,ref:i})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:u}=r,i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),u?(0,o.jH)(i,l):i.dispatchEvent(l)}v.displayName="DismissableLayerBranch";var y=f,b=v},97498:function(e,t,n){n.d(t,{h:function(){return s}});var r=n(64149),u=n(50149),i=n(79442),o=n(61013),l=n(20881),s=r.forwardRef((e,t)=>{var n,s;let{container:a,...c}=e,[d,f]=r.useState(!1);(0,o.b)(()=>f(!0),[]);let v=a||d&&(null===(s=globalThis)||void 0===s?void 0:null===(n=s.document)||void 0===n?void 0:n.body);return v?u.createPortal((0,l.jsx)(i.WV.div,{...c,ref:t}),v):null});s.displayName="Portal"},79442:function(e,t,n){n.d(t,{WV:function(){return l},jH:function(){return s}});var r=n(64149),u=n(50149),i=n(54098),o=n(20881),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...u}=e,l=r?i.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(l,{...u,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function s(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}},54098:function(e,t,n){n.d(t,{A4:function(){return s},g7:function(){return o}});var r=n(64149),u=n(83954),i=n(20881),o=r.forwardRef((e,t)=>{let{children:n,...u}=e,o=r.Children.toArray(n),s=o.find(a);if(s){let e=s.props.children,n=o.map(t=>t!==s?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(l,{...u,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,i.jsx)(l,{...u,ref:t,children:n})});o.displayName="Slot";var l=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){let e,o;let l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let u=e[r],i=t[r];/^on[A-Z]/.test(r)?u&&i?n[r]=(...e)=>{i(...e),u(...e)}:u&&(n[r]=u):"style"===r?n[r]={...u,...i}:"className"===r&&(n[r]=[u,i].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props),ref:t?(0,u.F)(t,l):l})}return r.Children.count(n)>1?r.Children.only(null):null});l.displayName="SlotClone";var s=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});function a(e){return r.isValidElement(e)&&e.type===s}},2441:function(e,t,n){n.d(t,{W:function(){return u}});var r=n(64149);function u(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},45306:function(e,t,n){n.d(t,{T:function(){return i}});var r=n(64149),u=n(2441);function i({prop:e,defaultProp:t,onChange:n=()=>{}}){let[i,o]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[i]=n,o=r.useRef(i),l=(0,u.W)(t);return r.useEffect(()=>{o.current!==i&&(l(i),o.current=i)},[i,o,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,s=l?e:i,a=(0,u.W)(n);return[s,r.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&a(n)}else o(t)},[l,e,o,a])]}},61013:function(e,t,n){n.d(t,{b:function(){return u}});var r=n(64149),u=globalThis?.document?r.useLayoutEffect:()=>{}},20116:function(e,t,n){n.d(t,{j:function(){return i}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,u=function(){for(var e,t,n=0,r="";nn=>{var i;if((null==t?void 0:t.variants)==null)return u(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:o,defaultVariants:l}=t,s=Object.keys(o).map(e=>{let t=null==n?void 0:n[e],u=null==l?void 0:l[e];if(null===t)return null;let i=r(t)||r(u);return o[e][i]}),a=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return u(e,s,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:n,className:r,...u}=t;return Object.entries(u).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...a}[t]):({...l,...a})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-0a9ea8c0e45f1583.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-0a9ea8c0e45f1583.js new file mode 100644 index 0000000..4edd8be --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-0a9ea8c0e45f1583.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[878],{26888:function(e,n,t){Promise.resolve().then(t.bind(t,13967))},13967:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return o}});var r=t(20881),s=t(64149),l=t(94920),i=()=>{let[e,n]=(0,s.useState)(null),[t,r]=(0,s.useState)(!0),l=(0,s.useCallback)(async()=>{try{r(!0);let e=await fetch("/cgi-bin/fetch_data.sh?set=3"),t=await e.json();console.log("Fetched about data:",t);let s={manufacturer:t[0].response.split("\n")[1].trim(),model:t[1].response.split("\n")[1].trim(),firmwareVersion:t[2].response.split("\n")[1].trim(),phoneNum:t[3].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim(),imsi:t[4].response.split("\n")[1].trim(),iccid:t[5].response.split("\n")[1].split(":")[1].trim(),imei:t[6].response.split("\n")[1].trim(),currentDeviceIP:t[7].response.split("\n")[1].split(",")[1].replace(/"/g,"").trim(),lanGateway:t[7].response.split("\n")[1].split(":")[1].split(",")[3].replace(/"/g,"").trim(),wwanIPv4:t[8].response.split("\n")[1].split(":")[1].split(",")[4].replace(/"/g,"").trim(),wwanIPv6:t[8].response.split("\n")[2].split(",")[4].replace(/"/g,"").trim(),lteCategory:t[9].response.split("\n")[5].split(":")[2].trim()};n(s),console.log("Processed cell settings data:",s)}catch(e){console.error("Error fetching cell settings data:",e)}r(!1)},[]);return(0,s.useEffect)(()=>{l()},[l]),{data:e,isLoading:t,fetchAboutData:l}},a=t(24004),c=t(88766),o=()=>{let{data:e,isLoading:n}=i();return(0,r.jsxs)(l.Zb,{children:[(0,r.jsxs)(l.Ol,{children:[(0,r.jsx)(l.ll,{children:"QuecManager"}),(0,r.jsx)(l.SZ,{children:"What is QuecManager and how it can help you."})]}),(0,r.jsxs)(l.aY,{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-8",children:[(0,r.jsxs)(l.Zb,{children:[(0,r.jsxs)(l.Ol,{children:[(0,r.jsx)(l.ll,{children:"Device Technical Details"}),(0,r.jsx)(l.SZ,{children:"View technical details of your device."})]}),(0,r.jsx)(l.aY,{children:(0,r.jsxs)(a.x,{className:"w-full",children:[(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Modem Manufacturer"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.manufacturer)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Modem Model"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.model)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Firmware Revision"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.firmwareVersion)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"LTE Category"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsxs)(r.Fragment,{children:["CAT-",(null==e?void 0:e.lteCategory)||"N/A"]})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Active Phone Number"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.phoneNum)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Active IMSI"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.imsi)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Active ICCID"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.iccid)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"IMEI"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.imei)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Current Device IP"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.currentDeviceIP)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"LAN Gateway"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.lanGateway)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"WWAN IPv4"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.wwanIPv4)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"WWAN IPv6"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.wwanIPv6)||"N/A"})})]})]}),(0,r.jsx)(a.B,{orientation:"horizontal"})]})})]}),(0,r.jsxs)(l.Zb,{children:[(0,r.jsxs)(l.Ol,{children:[(0,r.jsx)(l.ll,{children:"About Us"}),(0,r.jsx)(l.SZ,{children:"Who we are and what we do."})]}),(0,r.jsxs)(l.aY,{className:"space-y-6",children:[(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("h1",{className:"text-xl font-bold antialiased",children:"QuecManager"}),(0,r.jsx)("p",{className:"text-md font-medium antialiased",children:"QuecManager began as 'Simple Admin,' a straightforward GUI in the RGMII toolkit. Over time, it’s evolved into a comprehensive dashboard with powerful features for managing cellular modems. While we’ve moved beyond the 'Simple' name, our goal remains the same: providing a clean, easy-to-use interface that makes advanced modem management feel straightforward and accessible."})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-xl font-bold antialiased",children:"Thanks to"}),(0,r.jsxs)("ul",{className:"list-disc list-inside text-md font-medium antialiased",children:[(0,r.jsxs)("li",{children:["RGMII Toolkit and Documentation, and Backend",(0,r.jsx)("a",{href:"https://github.com/iamromulan",target:"_blank",className:"text-primary font-semibold ml-2",children:"iamromulan"})]}),(0,r.jsxs)("li",{children:["Simple Admin 2.0 and QuecManager GUI",(0,r.jsx)("a",{href:"https://github.com/dr-dolomite",target:"_blank",className:"text-primary font-semibold ml-2",children:"dr-dolomite"})]}),(0,r.jsxs)("li",{children:["SMS Feature",(0,r.jsx)("a",{href:"https://github.com/snjzb",target:"_blank",className:"text-primary font-semibold ml-2",children:"snjzb"})]}),(0,r.jsxs)("li",{children:["Original Simple Admin",(0,r.jsx)("a",{href:"https://github.com/aesthernr",target:"_blank",className:"text-primary font-semibold ml-2",children:"aesthernr"})]}),(0,r.jsxs)("li",{children:["Original Socat Bridge",(0,r.jsx)("a",{href:"https://github.com/natecarlson",target:"_blank",className:"text-primary font-semibold ml-2",children:"natecarlson"})]}),(0,r.jsx)("li",{children:"Wutang Clan"})]})]})]})]})]}),(0,r.jsx)(l.eW,{className:"flex justify-center",children:(0,r.jsx)("p",{children:"QuecManager \xa9 2024 - For Personal Use Only. All rights reserved."})})]})}},94920:function(e,n,t){"use strict";t.d(n,{Ol:function(){return a},SZ:function(){return o},Zb:function(){return i},aY:function(){return d},eW:function(){return u},ll:function(){return c}});var r=t(20881),s=t(64149),l=t(90270);let i=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,l.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...s})});i.displayName="Card";let a=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",t),...s})});a.displayName="CardHeader";let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("h3",{ref:n,className:(0,l.cn)("font-semibold leading-none tracking-tight",t),...s})});c.displayName="CardTitle";let o=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("p",{ref:n,className:(0,l.cn)("text-sm text-muted-foreground",t),...s})});o.displayName="CardDescription";let d=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,l.cn)("p-6 pt-0",t),...s})});d.displayName="CardContent";let u=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,l.cn)("flex items-center p-6 pt-0",t),...s})});u.displayName="CardFooter"},24004:function(e,n,t){"use strict";t.d(n,{B:function(){return c},x:function(){return a}});var r=t(20881),s=t(64149),l=t(82310),i=t(90270);let a=s.forwardRef((e,n)=>{let{className:t,children:s,...a}=e;return(0,r.jsxs)(l.fC,{ref:n,className:(0,i.cn)("relative overflow-hidden",t),...a,children:[(0,r.jsx)(l.l_,{className:"h-full w-full rounded-[inherit]",children:s}),(0,r.jsx)(c,{}),(0,r.jsx)(l.Ns,{})]})});a.displayName=l.fC.displayName;let c=s.forwardRef((e,n)=>{let{className:t,orientation:s="vertical",...a}=e;return(0,r.jsx)(l.gb,{ref:n,orientation:s,className:(0,i.cn)("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...a,children:(0,r.jsx)(l.q4,{className:"relative flex-1 rounded-full bg-border"})})});c.displayName=l.gb.displayName},88766:function(e,n,t){"use strict";t.d(n,{O:function(){return l}});var r=t(20881),s=t(90270);function l(e){let{className:n,...t}=e;return(0,r.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-primary/10",n),...t})}},90270:function(e,n,t){"use strict";t.d(n,{cn:function(){return l}});var r=t(33958),s=t(61779);function l(){for(var e=arguments.length,n=Array(e),t=0;te.forEach(e=>{"function"==typeof e?e(n):null!=e&&(e.current=n)})}function l(...e){return r.useCallback(s(...e),e)}},74873:function(e,n,t){"use strict";t.d(n,{b:function(){return i},k:function(){return l}});var r=t(64149),s=t(20881);function l(e,n){let t=r.createContext(n),l=e=>{let{children:n,...l}=e,i=r.useMemo(()=>l,Object.values(l));return(0,s.jsx)(t.Provider,{value:i,children:n})};return l.displayName=e+"Provider",[l,function(s){let l=r.useContext(t);if(l)return l;if(void 0!==n)return n;throw Error(`\`${s}\` must be used within \`${e}\``)}]}function i(e,n=[]){let t=[],l=()=>{let n=t.map(e=>r.createContext(e));return function(t){let s=t?.[e]||n;return r.useMemo(()=>({[`__scope${e}`]:{...t,[e]:s}}),[t,s])}};return l.scopeName=e,[function(n,l){let i=r.createContext(l),a=t.length;t=[...t,l];let c=n=>{let{scope:t,children:l,...c}=n,o=t?.[e]?.[a]||i,d=r.useMemo(()=>c,Object.values(c));return(0,s.jsx)(o.Provider,{value:d,children:l})};return c.displayName=n+"Provider",[c,function(t,s){let c=s?.[e]?.[a]||i,o=r.useContext(c);if(o)return o;if(void 0!==l)return l;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let s=t.reduce((n,{useScope:t,scopeName:r})=>{let s=t(e)[`__scope${r}`];return{...n,...s}},{});return r.useMemo(()=>({[`__scope${n.scopeName}`]:s}),[s])}};return t.scopeName=n.scopeName,t}(l,...n)]}},45485:function(e,n,t){"use strict";t.d(n,{z:function(){return i}});var r=t(64149),s=t(83954),l=t(61013),i=e=>{var n,t;let i,c;let{present:o,children:d}=e,u=function(e){var n,t;let[s,i]=r.useState(),c=r.useRef({}),o=r.useRef(e),d=r.useRef("none"),[u,m]=(n=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},n));return r.useEffect(()=>{let e=a(c.current);d.current="mounted"===u?e:"none"},[u]),(0,l.b)(()=>{let n=c.current,t=o.current;if(t!==e){let r=d.current,s=a(n);e?m("MOUNT"):"none"===s||(null==n?void 0:n.display)==="none"?m("UNMOUNT"):t&&r!==s?m("ANIMATION_OUT"):m("UNMOUNT"),o.current=e}},[e,m]),(0,l.b)(()=>{if(s){var e;let n;let t=null!==(e=s.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=a(c.current).includes(e.animationName);if(e.target===s&&r&&(m("ANIMATION_END"),!o.current)){let e=s.style.animationFillMode;s.style.animationFillMode="forwards",n=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=e)})}},l=e=>{e.target===s&&(d.current=a(c.current))};return s.addEventListener("animationstart",l),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{t.clearTimeout(n),s.removeEventListener("animationstart",l),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}m("ANIMATION_END")},[s,m]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{e&&(c.current=getComputedStyle(e)),i(e)},[])}}(o),m="function"==typeof d?d({present:u.isPresent}):r.Children.only(d),f=(0,s.e)(u.ref,(i=null===(n=Object.getOwnPropertyDescriptor(m.props,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in i&&i.isReactWarning?m.ref:(i=null===(t=Object.getOwnPropertyDescriptor(m,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in i&&i.isReactWarning?m.props.ref:m.props.ref||m.ref);return"function"==typeof d||u.isPresent?r.cloneElement(m,{ref:f}):null};function a(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},79442:function(e,n,t){"use strict";t.d(n,{WV:function(){return a},jH:function(){return c}});var r=t(64149),s=t(50149),l=t(54098),i=t(20881),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{let t=r.forwardRef((e,t)=>{let{asChild:r,...s}=e,a=r?l.g7:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(a,{...s,ref:t})});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function c(e,n){e&&s.flushSync(()=>e.dispatchEvent(n))}},54098:function(e,n,t){"use strict";t.d(n,{A4:function(){return c},g7:function(){return i}});var r=t(64149),s=t(83954),l=t(20881),i=r.forwardRef((e,n)=>{let{children:t,...s}=e,i=r.Children.toArray(t),c=i.find(o);if(c){let e=c.props.children,t=i.map(n=>n!==c?n:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,l.jsx)(a,{...s,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,t):null})}return(0,l.jsx)(a,{...s,ref:n,children:t})});i.displayName="Slot";var a=r.forwardRef((e,n)=>{let{children:t,...l}=e;if(r.isValidElement(t)){let e,i;let a=(e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.props.ref:t.props.ref||t.ref;return r.cloneElement(t,{...function(e,n){let t={...n};for(let r in n){let s=e[r],l=n[r];/^on[A-Z]/.test(r)?s&&l?t[r]=(...e)=>{l(...e),s(...e)}:s&&(t[r]=s):"style"===r?t[r]={...s,...l}:"className"===r&&(t[r]=[s,l].filter(Boolean).join(" "))}return{...e,...t}}(l,t.props),ref:n?(0,s.F)(n,a):a})}return r.Children.count(t)>1?r.Children.only(null):null});a.displayName="SlotClone";var c=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function o(e){return r.isValidElement(e)&&e.type===c}},2441:function(e,n,t){"use strict";t.d(n,{W:function(){return s}});var r=t(64149);function s(e){let n=r.useRef(e);return r.useEffect(()=>{n.current=e}),r.useMemo(()=>(...e)=>n.current?.(...e),[])}},61013:function(e,n,t){"use strict";t.d(n,{b:function(){return s}});var r=t(64149),s=globalThis?.document?r.useLayoutEffect:()=>{}}},function(e){e.O(0,[366,310,985,330,744],function(){return e(e.s=26888)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-6f80570614b72ce6.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-6f80570614b72ce6.js deleted file mode 100644 index a7ab1ae..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/about/page-6f80570614b72ce6.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[878],{26888:function(e,n,t){Promise.resolve().then(t.bind(t,13967))},13967:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return o}});var r=t(20881),s=t(64149),a=t(94920),l=()=>{let[e,n]=(0,s.useState)(null),[t,r]=(0,s.useState)(!0),a=(0,s.useCallback)(async()=>{try{r(!0);let e=await fetch("/cgi-bin/fetch_data.sh?set=3"),t=await e.json();console.log("Fetched about data:",t);let s={manufacturer:t[0].response.split("\n")[1].trim(),model:t[1].response.split("\n")[1].trim(),firmwareVersion:t[2].response.split("\n")[1].trim(),phoneNum:t[3].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim(),imsi:t[4].response.split("\n")[1].trim(),iccid:t[5].response.split("\n")[1].split(":")[1].trim(),imei:t[6].response.split("\n")[1].trim(),currentDeviceIP:t[7].response.split("\n")[1].split(",")[1].replace(/"/g,"").trim(),lanGateway:t[7].response.split("\n")[1].split(":")[1].split(",")[3].replace(/"/g,"").trim(),wwanIPv4:t[8].response.split("\n")[1].split(":")[1].split(",")[4].replace(/"/g,"").trim(),wwanIPv6:t[8].response.split("\n")[2].split(",")[4].replace(/"/g,"").trim(),lteCategory:t[9].response.split("\n")[5].split(":")[2].trim()};n(s),console.log("Processed cell settings data:",s)}catch(e){console.error("Error fetching cell settings data:",e)}r(!1)},[]);return(0,s.useEffect)(()=>{a()},[a]),{data:e,isLoading:t,fetchAboutData:a}},i=t(24004),c=t(88766),o=()=>{let{data:e,isLoading:n}=l();return(0,r.jsxs)(a.Zb,{children:[(0,r.jsxs)(a.Ol,{children:[(0,r.jsx)(a.ll,{children:"QuecManager"}),(0,r.jsx)(a.SZ,{children:"What is QuecManager and how it can help you."})]}),(0,r.jsxs)(a.aY,{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-8",children:[(0,r.jsxs)(a.Zb,{children:[(0,r.jsxs)(a.Ol,{children:[(0,r.jsx)(a.ll,{children:"Device Technical Details"}),(0,r.jsx)(a.SZ,{children:"View technical details of your device."})]}),(0,r.jsx)(a.aY,{children:(0,r.jsxs)(i.x,{className:"w-full",children:[(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Modem Manufacturer"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.manufacturer)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Modem Model"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.model)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Firmware Revision"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.firmwareVersion)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"LTE Category"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsxs)(r.Fragment,{children:["CAT-",(null==e?void 0:e.lteCategory)||"N/A"]})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Active Phone Number"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.phoneNum)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Active IMSI"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.imsi)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Active ICCID"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.iccid)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"IMEI"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.imei)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Current Device IP"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.currentDeviceIP)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"LAN Gateway"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.lanGateway)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"WWAN IPv4"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.wwanIPv4)||"N/A"})})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"WWAN IPv6"}),(0,r.jsx)("span",{className:"font-semibold max-w-32 md:max-w-full truncate",children:n?(0,r.jsx)(c.O,{className:"h-4 w-32"}):(0,r.jsx)(r.Fragment,{children:(null==e?void 0:e.wwanIPv6)||"N/A"})})]})]}),(0,r.jsx)(i.B,{orientation:"horizontal"})]})})]}),(0,r.jsxs)(a.Zb,{children:[(0,r.jsxs)(a.Ol,{children:[(0,r.jsx)(a.ll,{children:"About Us"}),(0,r.jsx)(a.SZ,{children:"Who we are and what we do."})]}),(0,r.jsxs)(a.aY,{className:"space-y-6",children:[(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)("h1",{className:"text-xl font-bold antialiased",children:"QuecManager"}),(0,r.jsx)("p",{className:"text-md font-medium antialiased",children:"QuecManager began as 'Simple Admin,' a straightforward GUI in the RGMII toolkit. Over time, it’s evolved into a comprehensive dashboard with powerful features for managing cellular modems. While we’ve moved beyond the 'Simple' name, our goal remains the same: providing a clean, easy-to-use interface that makes advanced modem management feel straightforward and accessible."})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-xl font-bold antialiased",children:"Thanks to"}),(0,r.jsxs)("ul",{className:"list-disc list-inside text-md font-medium antialiased",children:[(0,r.jsxs)("li",{children:["RGMII Toolkit and Documentation, and Backend",(0,r.jsx)("a",{href:"https://github.com/iamromulan",target:"_blank",className:"text-primary font-semibold ml-2",children:"iamromulan"})]}),(0,r.jsxs)("li",{children:["Simple Admin 2.0 and QuecManager GUI",(0,r.jsx)("a",{href:"https://github.com/dr-dolomite",target:"_blank",className:"text-primary font-semibold ml-2",children:"dr-dolomite"})]}),(0,r.jsxs)("li",{children:["SMS Feature",(0,r.jsx)("a",{href:"https://github.com/snjzb",target:"_blank",className:"text-primary font-semibold ml-2",children:"snjzb"})]}),(0,r.jsxs)("li",{children:["Original Simple Admin",(0,r.jsx)("a",{href:"https://github.com/aesthernr",target:"_blank",className:"text-primary font-semibold ml-2",children:"aesthernr"})]}),(0,r.jsxs)("li",{children:["Original Socat Bridge",(0,r.jsx)("a",{href:"https://github.com/natecarlson",target:"_blank",className:"text-primary font-semibold ml-2",children:"natecarlson"})]}),(0,r.jsx)("li",{children:"Wutang Clan"})]})]})]})]})]}),(0,r.jsx)(a.eW,{className:"flex justify-center",children:(0,r.jsx)("p",{children:"QuecManager \xa9 2024 - For Personal Use Only. All rights reserved."})})]})}},94920:function(e,n,t){"use strict";t.d(n,{Ol:function(){return i},SZ:function(){return o},Zb:function(){return l},aY:function(){return d},eW:function(){return u},ll:function(){return c}});var r=t(20881),s=t(64149),a=t(90270);let l=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...s})});l.displayName="Card";let i=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",t),...s})});i.displayName="CardHeader";let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("h3",{ref:n,className:(0,a.cn)("font-semibold leading-none tracking-tight",t),...s})});c.displayName="CardTitle";let o=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("p",{ref:n,className:(0,a.cn)("text-sm text-muted-foreground",t),...s})});o.displayName="CardDescription";let d=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("p-6 pt-0",t),...s})});d.displayName="CardContent";let u=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("flex items-center p-6 pt-0",t),...s})});u.displayName="CardFooter"},24004:function(e,n,t){"use strict";t.d(n,{B:function(){return c},x:function(){return i}});var r=t(20881),s=t(64149),a=t(82310),l=t(90270);let i=s.forwardRef((e,n)=>{let{className:t,children:s,...i}=e;return(0,r.jsxs)(a.fC,{ref:n,className:(0,l.cn)("relative overflow-hidden",t),...i,children:[(0,r.jsx)(a.l_,{className:"h-full w-full rounded-[inherit]",children:s}),(0,r.jsx)(c,{}),(0,r.jsx)(a.Ns,{})]})});i.displayName=a.fC.displayName;let c=s.forwardRef((e,n)=>{let{className:t,orientation:s="vertical",...i}=e;return(0,r.jsx)(a.gb,{ref:n,orientation:s,className:(0,l.cn)("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...i,children:(0,r.jsx)(a.q4,{className:"relative flex-1 rounded-full bg-border"})})});c.displayName=a.gb.displayName},88766:function(e,n,t){"use strict";t.d(n,{O:function(){return a}});var r=t(20881),s=t(90270);function a(e){let{className:n,...t}=e;return(0,r.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-primary/10",n),...t})}},90270:function(e,n,t){"use strict";t.d(n,{cn:function(){return a}});var r=t(33958),s=t(61779);function a(){for(var e=arguments.length,n=Array(e),t=0;t{let{children:n,...a}=e,l=r.useMemo(()=>a,Object.values(a));return(0,s.jsx)(t.Provider,{value:l,children:n})};return a.displayName=e+"Provider",[a,function(s){let a=r.useContext(t);if(a)return a;if(void 0!==n)return n;throw Error(`\`${s}\` must be used within \`${e}\``)}]}function l(e,n=[]){let t=[],a=()=>{let n=t.map(e=>r.createContext(e));return function(t){let s=t?.[e]||n;return r.useMemo(()=>({[`__scope${e}`]:{...t,[e]:s}}),[t,s])}};return a.scopeName=e,[function(n,a){let l=r.createContext(a),i=t.length;t=[...t,a];let c=n=>{let{scope:t,children:a,...c}=n,o=t?.[e]?.[i]||l,d=r.useMemo(()=>c,Object.values(c));return(0,s.jsx)(o.Provider,{value:d,children:a})};return c.displayName=n+"Provider",[c,function(t,s){let c=s?.[e]?.[i]||l,o=r.useContext(c);if(o)return o;if(void 0!==a)return a;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let s=t.reduce((n,{useScope:t,scopeName:r})=>{let s=t(e)[`__scope${r}`];return{...n,...s}},{});return r.useMemo(()=>({[`__scope${n.scopeName}`]:s}),[s])}};return t.scopeName=n.scopeName,t}(a,...n)]}},45485:function(e,n,t){"use strict";t.d(n,{z:function(){return l}});var r=t(64149),s=t(83954),a=t(61013),l=e=>{var n,t;let l,c;let{present:o,children:d}=e,u=function(e){var n,t;let[s,l]=r.useState(),c=r.useRef({}),o=r.useRef(e),d=r.useRef("none"),[u,m]=(n=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},n));return r.useEffect(()=>{let e=i(c.current);d.current="mounted"===u?e:"none"},[u]),(0,a.b)(()=>{let n=c.current,t=o.current;if(t!==e){let r=d.current,s=i(n);e?m("MOUNT"):"none"===s||(null==n?void 0:n.display)==="none"?m("UNMOUNT"):t&&r!==s?m("ANIMATION_OUT"):m("UNMOUNT"),o.current=e}},[e,m]),(0,a.b)(()=>{if(s){var e;let n;let t=null!==(e=s.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=i(c.current).includes(e.animationName);if(e.target===s&&r&&(m("ANIMATION_END"),!o.current)){let e=s.style.animationFillMode;s.style.animationFillMode="forwards",n=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=e)})}},a=e=>{e.target===s&&(d.current=i(c.current))};return s.addEventListener("animationstart",a),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{t.clearTimeout(n),s.removeEventListener("animationstart",a),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}m("ANIMATION_END")},[s,m]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{e&&(c.current=getComputedStyle(e)),l(e)},[])}}(o),m="function"==typeof d?d({present:u.isPresent}):r.Children.only(d),f=(0,s.e)(u.ref,(l=null===(n=Object.getOwnPropertyDescriptor(m.props,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in l&&l.isReactWarning?m.ref:(l=null===(t=Object.getOwnPropertyDescriptor(m,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in l&&l.isReactWarning?m.props.ref:m.props.ref||m.ref);return"function"==typeof d||u.isPresent?r.cloneElement(m,{ref:f}):null};function i(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},79442:function(e,n,t){"use strict";t.d(n,{WV:function(){return i},jH:function(){return c}});var r=t(64149),s=t(50149),a=t(54098),l=t(20881),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{let t=r.forwardRef((e,t)=>{let{asChild:r,...s}=e,i=r?a.g7:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i,{...s,ref:t})});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function c(e,n){e&&s.flushSync(()=>e.dispatchEvent(n))}},2441:function(e,n,t){"use strict";t.d(n,{W:function(){return s}});var r=t(64149);function s(e){let n=r.useRef(e);return r.useEffect(()=>{n.current=e}),r.useMemo(()=>(...e)=>n.current?.(...e),[])}},61013:function(e,n,t){"use strict";t.d(n,{b:function(){return s}});var r=t(64149),s=globalThis?.document?r.useLayoutEffect:()=>{}}},function(e){e.O(0,[59,310,985,330,744],function(){return e(e.s=26888)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-0080f8f5e0820da5.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-0080f8f5e0820da5.js new file mode 100644 index 0000000..d7b2422 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-0080f8f5e0820da5.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[164],{88276:function(e,t,r){Promise.resolve().then(r.bind(r,21585))},21585:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return A}});var a=r(20881),n=r(64149),s=r(94920),o=r(24004),l=r(78580),i=r(21501),d=r(75577),c=r(33335),u=r(36306),m=r(92093);let f=(0,m.Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var p=r(75526);let x=(0,m.Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);var h=r(47657),y=r(46646),g=r(16236),v=r(90270);let b=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{className:"relative w-full overflow-auto",children:(0,a.jsx)("table",{ref:t,className:(0,v.cn)("w-full caption-bottom text-sm",r),...n})})});b.displayName="Table";let j=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("thead",{ref:t,className:(0,v.cn)("[&_tr]:border-b",r),...n})});j.displayName="TableHeader";let w=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tbody",{ref:t,className:(0,v.cn)("[&_tr:last-child]:border-0",r),...n})});w.displayName="TableBody",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tfoot",{ref:t,className:(0,v.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...n})}).displayName="TableFooter";let N=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tr",{ref:t,className:(0,v.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...n})});N.displayName="TableRow";let C=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("th",{ref:t,className:(0,v.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})});C.displayName="TableHead";let T=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("td",{ref:t,className:(0,v.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})});T.displayName="TableCell";let S=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("caption",{ref:t,className:(0,v.cn)("mt-4 text-sm text-muted-foreground",r),...n})});S.displayName="TableCaption";var A=()=>{let e=(0,y.pm)(),[t,r]=(0,n.useState)(""),[m,v]=(0,n.useState)(""),[A,R]=(0,n.useState)([]),[k,O]=(0,n.useState)([]),[D,E]=(0,n.useState)([]),[_,I]=(0,n.useState)(!1),[z,Z]=(0,n.useState)([]),[F,M]=(0,n.useState)(!0);(0,n.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/advance/fetch_commands.sh"),t=await e.json(),r=Object.entries(t).filter(e=>{let[t]=e;return"error"!==t}).map(e=>{let[t,r]=e;return{description:t,command:r}});if(0===r.length&&t.error)throw Error(t.error);Z(r)}catch(t){console.error("Failed to fetch AT commands:",t),e.toast({title:"Error",description:t instanceof Error?t.message:"Failed to load common AT commands",variant:"destructive"})}finally{M(!1)}})()},[e]),(0,n.useEffect)(()=>{let e=window.localStorage.getItem("atCommandHistory"),t=window.localStorage.getItem("atCommands");if(e)try{let t=JSON.parse(e);R(t)}catch(e){console.error("Failed to parse command history:",e),R([])}if(t)try{let e=JSON.parse(t);E(e)}catch(e){console.error("Failed to parse previous commands:",e),E([])}},[]),(0,n.useEffect)(()=>{A.length>0&&window.localStorage.setItem("atCommandHistory",JSON.stringify(A))},[A]),(0,n.useEffect)(()=>{D.length>0&&window.localStorage.setItem("atCommands",JSON.stringify(D))},[D]);let H=e=>e.trim(),L=e=>{try{return JSON.parse(e).output}catch(t){return e}},V=async()=>{if(m.trim()){I(!0),v(""),r("");try{let e=H(m),t=encodeURIComponent(e),a=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)}),n=await a.text(),s=L(n),o={command:m,response:s,timestamp:new Date().toISOString()};R(e=>[o,...e]),r(e=>"".concat(e).concat(e?"\n":"","> ").concat(m,"\n\n").concat(s)),D.includes(m)||E(e=>[...e,m])}catch(t){let e=t instanceof Error?t.message:"An unknown error occurred";r(t=>"".concat(t).concat(t?"\n":"","Error: ").concat(e))}finally{I(!1)}}},W=e=>{v(e),O([])},Y=e=>{R(t=>{let r=[...t];return r.splice(e,1),0===r.length&&window.localStorage.removeItem("atCommandHistory"),r})},P=e=>{E(t=>{let r=t.filter(t=>t!==e);return window.localStorage.setItem("atCommands",JSON.stringify(r)),r}),O(t=>t.filter(t=>t!==e))},B=async t=>{try{if(navigator.clipboard&&window.isSecureContext)await navigator.clipboard.writeText(t);else{let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.left="-999999px",e.style.top="-999999px",document.body.appendChild(e),e.focus(),e.select();try{document.execCommand("copy")}catch(e){throw console.error("Fallback: Oops, unable to copy",e),Error("Copy failed")}finally{e.remove()}}e.toast({title:"Copied!",description:'Command "'.concat(t,'" copied to clipboard'),duration:2e3})}catch(t){console.error("Failed to copy command:",t),e.toast({title:"Error",description:"Failed to copy command to clipboard",variant:"destructive",duration:3e3})}};return(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(s.Zb,{children:[(0,a.jsxs)(s.Ol,{children:[(0,a.jsx)(s.ll,{children:"AT Terminal"}),(0,a.jsx)(s.SZ,{children:"Send AT commands to your device"})]}),(0,a.jsx)(s.aY,{children:(0,a.jsxs)("div",{className:"grid gap-8 w-full max-w-screen p-4",children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(i._,{htmlFor:"ATOutput",children:"AT Command Output"}),(0,a.jsx)(d.g,{value:t,placeholder:"AT command output will appear here...",readOnly:!0,className:"h-[240px] font-mono",id:"ATOutput"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(h.Z,{className:"mb-2"}),0===A.length?(0,a.jsx)("p",{className:"italic text-sm text-muted-foreground font-medium text-center",children:"Command History is Empty"}):(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,a.jsx)(i._,{children:"Command History"}),(0,a.jsxs)(g.aR,{children:[(0,a.jsx)(g.vW,{asChild:!0,children:(0,a.jsxs)(l.z,{variant:"outline",size:"sm",children:[(0,a.jsx)(u.Z,{className:"h-4 w-4 text-rose-500"}),"Clear All"]})}),(0,a.jsxs)(g._T,{children:[(0,a.jsxs)(g.fY,{children:[(0,a.jsx)(g.f$,{children:"Clear Command History"}),(0,a.jsx)(g.yT,{children:"This action cannot be undone. This will permanently delete your command history."})]}),(0,a.jsxs)(g.xo,{children:[(0,a.jsx)(g.le,{children:"Cancel"}),(0,a.jsx)(g.OL,{onClick:()=>{R([]),window.localStorage.removeItem("atCommandHistory")},children:"Continue"})]})]})]})]}),(0,a.jsx)(o.x,{className:"h-[180px] p-4",children:(0,a.jsx)("div",{className:"grid gap-y-2",children:A.map((e,t)=>(0,a.jsx)(s.Zb,{children:(0,a.jsx)(s.aY,{className:"p-3 relative",children:(0,a.jsxs)(o.x,{className:"max-w-xs md:max-w-full",children:[(0,a.jsx)(l.z,{variant:"ghost",size:"icon",className:"absolute right-2 top-2 h-4 w-4",onClick:()=>Y(t),children:(0,a.jsx)(f,{className:"h-4 w-4"})}),(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:e.command}),(0,a.jsx)("p",{className:"whitespace-pre-wrap font-mono",children:e.response})]}),(0,a.jsx)(o.B,{orientation:"horizontal"})]})})},"".concat(e.timestamp,"-").concat(t)))})})]}),(0,a.jsx)(h.Z,{className:"mt-2"})]}),(0,a.jsxs)("div",{className:"grid gap-1.5 relative",children:[(0,a.jsx)(i._,{htmlFor:"ATInput",children:"AT Command Input"}),(0,a.jsx)(c.I,{value:m,onChange:e=>{let t=e.target.value;v(t),t.trim()?O(D.filter(e=>e.toLowerCase().includes(t.toLowerCase()))):O([])},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),V())},placeholder:"ATI",id:"ATInput",disabled:_,autoComplete:"off"}),k.length>0&&(0,a.jsx)("div",{className:"absolute top-full mt-1 bg-background border rounded-md shadow-lg z-10",children:(0,a.jsx)(o.x,{className:"h-24",children:k.map((e,t)=>(0,a.jsxs)("div",{className:"p-2 hover:bg-accent cursor-pointer flex items-center justify-between group",children:[(0,a.jsx)("p",{className:"text-sm font-medium text-muted-foreground flex-grow",onClick:()=>W(e),children:e}),(0,a.jsx)(l.z,{variant:"ghost",size:"icon",className:"h-4 w-4 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>{t.stopPropagation(),P(e)},children:(0,a.jsx)(f,{className:"h-4 w-4"})})]},t))})}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Your successful commands will be saved for autocomplete."})]})]})}),(0,a.jsx)(s.eW,{className:"grid border-t py-4",children:(0,a.jsxs)(l.z,{onClick:V,disabled:_,children:[(0,a.jsx)(p.Z,{className:"mr-2"}),_?"Sending...":"Send Command"]})})]}),(0,a.jsxs)(s.Zb,{children:[(0,a.jsxs)(s.Ol,{children:[(0,a.jsx)(s.ll,{children:"Common AT Commands List"}),(0,a.jsx)(s.SZ,{children:"Here are some common AT commands you can try:"})]}),(0,a.jsx)(s.aY,{children:(0,a.jsxs)(b,{children:[(0,a.jsx)(S,{children:"AT Command List"}),(0,a.jsx)(j,{children:(0,a.jsxs)(N,{children:[(0,a.jsx)(C,{children:"AT Command"}),(0,a.jsx)(C,{className:"text-right",children:"Description"})]})}),(0,a.jsx)(w,{children:F?(0,a.jsx)(N,{children:(0,a.jsx)(T,{colSpan:3,className:"text-center",children:"Loading commands..."})}):0===z.length?(0,a.jsx)(N,{children:(0,a.jsx)(T,{colSpan:3,className:"text-center",children:"No commands available"})}):z.map((e,t)=>(0,a.jsxs)(N,{children:[(0,a.jsxs)(T,{className:"flex items-center gap-x-2",children:[(0,a.jsx)("p",{className:"font-mono truncate max-w-6 md:max-w-md",children:e.command}),(0,a.jsx)(x,{className:"w-3 h-3 hover:text-purple-300 cursor-pointer",onClick:()=>B(e.command)})]}),(0,a.jsx)(T,{className:"text-right max-w-10 md:max-w-lg",children:e.description})]},t))})]})})]})]})}},16236:function(e,t,r){"use strict";r.d(t,{aR:function(){return E},OL:function(){return L},le:function(){return V},_T:function(){return z},yT:function(){return H},xo:function(){return F},fY:function(){return Z},f$:function(){return M},vW:function(){return _}});var a=r(20881),n=r(64149),s=r(74873),o=r(83954),l=r(14491),i=r(64433),d=r(54098),c="AlertDialog",[u,m]=(0,s.b)(c,[l.p8]),f=(0,l.p8)(),p=e=>{let{__scopeAlertDialog:t,...r}=e,n=f(t);return(0,a.jsx)(l.fC,{...n,...r,modal:!0})};p.displayName=c;var x=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.xz,{...s,...n,ref:t})});x.displayName="AlertDialogTrigger";var h=e=>{let{__scopeAlertDialog:t,...r}=e,n=f(t);return(0,a.jsx)(l.h_,{...n,...r})};h.displayName="AlertDialogPortal";var y=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.aV,{...s,...n,ref:t})});y.displayName="AlertDialogOverlay";var g="AlertDialogContent",[v,b]=u(g),j=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:s,...c}=e,u=f(r),m=n.useRef(null),p=(0,o.e)(t,m),x=n.useRef(null);return(0,a.jsx)(l.jm,{contentName:g,titleName:w,docsSlug:"alert-dialog",children:(0,a.jsx)(v,{scope:r,cancelRef:x,children:(0,a.jsxs)(l.VY,{role:"alertdialog",...u,...c,ref:p,onOpenAutoFocus:(0,i.M)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=x.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,a.jsx)(d.A4,{children:s}),(0,a.jsx)(k,{contentRef:m})]})})})});j.displayName=g;var w="AlertDialogTitle",N=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.Dx,{...s,...n,ref:t})});N.displayName=w;var C="AlertDialogDescription",T=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.dk,{...s,...n,ref:t})});T.displayName=C;var S=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.x8,{...s,...n,ref:t})});S.displayName="AlertDialogAction";var A="AlertDialogCancel",R=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,{cancelRef:s}=b(A,r),i=f(r),d=(0,o.e)(t,s);return(0,a.jsx)(l.x8,{...i,...n,ref:d})});R.displayName=A;var k=e=>{let{contentRef:t}=e,r="`".concat(g,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(g,"` by passing a `").concat(C,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(g,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return n.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(r)},[r,t]),null},O=r(90270),D=r(78580);let E=p,_=x,I=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(y,{className:(0,O.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...n,ref:t})});I.displayName=y.displayName;let z=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsxs)(h,{children:[(0,a.jsx)(I,{}),(0,a.jsx)(j,{ref:t,className:(0,O.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...n})]})});z.displayName=j.displayName;let Z=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,O.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};Z.displayName="AlertDialogHeader";let F=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,O.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};F.displayName="AlertDialogFooter";let M=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(N,{ref:t,className:(0,O.cn)("text-lg font-semibold",r),...n})});M.displayName=N.displayName;let H=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(T,{ref:t,className:(0,O.cn)("text-sm text-muted-foreground",r),...n})});H.displayName=T.displayName;let L=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(S,{ref:t,className:(0,O.cn)((0,D.d)(),r),...n})});L.displayName=S.displayName;let V=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(R,{ref:t,className:(0,O.cn)((0,D.d)({variant:"outline"}),"mt-2 sm:mt-0",r),...n})});V.displayName=R.displayName},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return i},z:function(){return d}});var a=r(20881),n=r(64149),s=r(54098),o=r(20116),l=r(90270);let i=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,t)=>{let{className:r,variant:n,size:o,asChild:d=!1,...c}=e,u=d?s.g7:"button";return(0,a.jsx)(u,{className:(0,l.cn)(i({variant:n,size:o,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},SZ:function(){return d},Zb:function(){return o},aY:function(){return c},eW:function(){return u},ll:function(){return i}});var a=r(20881),n=r(64149),s=r(90270);let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});o.displayName="Card";let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...n})});l.displayName="CardHeader";let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",r),...n})});i.displayName="CardTitle";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...n})});d.displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...n})});u.displayName="CardFooter"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var a=r(20881),n=r(64149),s=r(90270);let o=n.forwardRef((e,t)=>{let{className:r,type:n,...o}=e;return(0,a.jsx)("input",{type:n,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});o.displayName="Input"},21501:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var a=r(20881),n=r(64149),s=r(51212),o=r(20116),l=r(90270);let i=(0,o.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.f,{ref:t,className:(0,l.cn)(i(),r),...n})});d.displayName=s.f.displayName},24004:function(e,t,r){"use strict";r.d(t,{B:function(){return i},x:function(){return l}});var a=r(20881),n=r(64149),s=r(82310),o=r(90270);let l=n.forwardRef((e,t)=>{let{className:r,children:n,...l}=e;return(0,a.jsxs)(s.fC,{ref:t,className:(0,o.cn)("relative overflow-hidden",r),...l,children:[(0,a.jsx)(s.l_,{className:"h-full w-full rounded-[inherit]",children:n}),(0,a.jsx)(i,{}),(0,a.jsx)(s.Ns,{})]})});l.displayName=s.fC.displayName;let i=n.forwardRef((e,t)=>{let{className:r,orientation:n="vertical",...l}=e;return(0,a.jsx)(s.gb,{ref:t,orientation:n,className:(0,o.cn)("flex touch-none select-none transition-colors","vertical"===n&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===n&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...l,children:(0,a.jsx)(s.q4,{className:"relative flex-1 rounded-full bg-border"})})});i.displayName=s.gb.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(20881),n=r(64149),s=r(48897),o=r(90270);let l=n.forwardRef((e,t)=>{let{className:r,orientation:n="horizontal",decorative:l=!0,...i}=e;return(0,a.jsx)(s.f,{ref:t,decorative:l,orientation:n,className:(0,o.cn)("shrink-0 bg-border","horizontal"===n?"h-[1px] w-full":"h-full w-[1px]",r),...i})});l.displayName=s.f.displayName},75577:function(e,t,r){"use strict";r.d(t,{g:function(){return o}});var a=r(20881),n=r(64149),s=r(90270);let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("textarea",{className:(0,s.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:t,...n})});o.displayName="Textarea"},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return m}});var a=r(64149);let n=0,s=new Map,o=e=>{if(s.has(e))return;let t=setTimeout(()=>{s.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);s.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?o(r):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},i=[],d={toasts:[]};function c(e){d=l(d,e),i.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||a()}}}),{id:r,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function m(){let[e,t]=a.useState(d);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var a=r(33958),n=r(61779);function s(){for(var e=arguments.length,t=Array(e),r=0;re.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:n=24,strokeWidth:l=2,absoluteStrokeWidth:i,className:d="",children:c,iconNode:u,...m}=e;return(0,a.createElement)("svg",{ref:t,...o,width:n,height:n,stroke:r,strokeWidth:i?24*Number(l)/Number(n):l,className:s("lucide",d),...m},[...u.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),i=(e,t)=>{let r=(0,a.forwardRef)((r,o)=>{let{className:i,...d}=r;return(0,a.createElement)(l,{ref:o,iconNode:t,className:s("lucide-".concat(n(e)),i),...d})});return r.displayName="".concat(e),r}},75526:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(92093).Z)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},36306:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(92093).Z)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},51212:function(e,t,r){"use strict";r.d(t,{f:function(){return l}});var a=r(64149),n=r(79442),s=r(20881),o=a.forwardRef((e,t)=>(0,s.jsx)(n.WV.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var l=o},48897:function(e,t,r){"use strict";r.d(t,{f:function(){return d}});var a=r(64149),n=r(79442),s=r(20881),o="horizontal",l=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=o,...i}=e,d=l.includes(a)?a:o;return(0,s.jsx)(n.WV.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...i,ref:t})});i.displayName="Separator";var d=i}},function(e){e.O(0,[366,714,217,491,310,985,330,744],function(){return e(e.s=88276)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-8446b0f13e28d35a.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-8446b0f13e28d35a.js deleted file mode 100644 index ccaacf6..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/at-terminal/page-8446b0f13e28d35a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[164],{88276:function(e,t,r){Promise.resolve().then(r.bind(r,21585))},21585:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return A}});var a=r(20881),n=r(64149),s=r(94920),o=r(24004),l=r(78580),i=r(21501),d=r(75577),c=r(33335),u=r(36306),m=r(92093);let f=(0,m.Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var p=r(75526);let x=(0,m.Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);var h=r(47657),y=r(46646),g=r(16236),v=r(90270);let b=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{className:"relative w-full overflow-auto",children:(0,a.jsx)("table",{ref:t,className:(0,v.cn)("w-full caption-bottom text-sm",r),...n})})});b.displayName="Table";let j=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("thead",{ref:t,className:(0,v.cn)("[&_tr]:border-b",r),...n})});j.displayName="TableHeader";let w=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tbody",{ref:t,className:(0,v.cn)("[&_tr:last-child]:border-0",r),...n})});w.displayName="TableBody",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tfoot",{ref:t,className:(0,v.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",r),...n})}).displayName="TableFooter";let N=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("tr",{ref:t,className:(0,v.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...n})});N.displayName="TableRow";let C=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("th",{ref:t,className:(0,v.cn)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})});C.displayName="TableHead";let T=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("td",{ref:t,className:(0,v.cn)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",r),...n})});T.displayName="TableCell";let S=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("caption",{ref:t,className:(0,v.cn)("mt-4 text-sm text-muted-foreground",r),...n})});S.displayName="TableCaption";var A=()=>{let e=(0,y.pm)(),[t,r]=(0,n.useState)(""),[m,v]=(0,n.useState)(""),[A,R]=(0,n.useState)([]),[k,O]=(0,n.useState)([]),[D,E]=(0,n.useState)([]),[_,I]=(0,n.useState)(!1),[z,Z]=(0,n.useState)([]),[F,M]=(0,n.useState)(!0);(0,n.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/advance/fetch_commands.sh"),t=await e.json(),r=Object.entries(t).filter(e=>{let[t]=e;return"error"!==t}).map(e=>{let[t,r]=e;return{description:t,command:r}});if(0===r.length&&t.error)throw Error(t.error);Z(r)}catch(t){console.error("Failed to fetch AT commands:",t),e.toast({title:"Error",description:t instanceof Error?t.message:"Failed to load common AT commands",variant:"destructive"})}finally{M(!1)}})()},[e]),(0,n.useEffect)(()=>{let e=window.localStorage.getItem("atCommandHistory"),t=window.localStorage.getItem("atCommands");if(e)try{let t=JSON.parse(e);R(t)}catch(e){console.error("Failed to parse command history:",e),R([])}if(t)try{let e=JSON.parse(t);E(e)}catch(e){console.error("Failed to parse previous commands:",e),E([])}},[]),(0,n.useEffect)(()=>{A.length>0&&window.localStorage.setItem("atCommandHistory",JSON.stringify(A))},[A]),(0,n.useEffect)(()=>{D.length>0&&window.localStorage.setItem("atCommands",JSON.stringify(D))},[D]);let H=e=>e.trim(),L=e=>{try{return JSON.parse(e).output}catch(t){return e}},V=async()=>{if(m.trim()){I(!0),v(""),r("");try{let e=H(m),t=encodeURIComponent(e),a=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)}),n=await a.text(),s=L(n),o={command:m,response:s,timestamp:new Date().toISOString()};R(e=>[o,...e]),r(e=>"".concat(e).concat(e?"\n":"","> ").concat(m,"\n\n").concat(s)),D.includes(m)||E(e=>[...e,m])}catch(t){let e=t instanceof Error?t.message:"An unknown error occurred";r(t=>"".concat(t).concat(t?"\n":"","Error: ").concat(e))}finally{I(!1)}}},W=e=>{v(e),O([])},Y=e=>{R(t=>{let r=[...t];return r.splice(e,1),0===r.length&&window.localStorage.removeItem("atCommandHistory"),r})},P=e=>{E(t=>{let r=t.filter(t=>t!==e);return window.localStorage.setItem("atCommands",JSON.stringify(r)),r}),O(t=>t.filter(t=>t!==e))},B=async t=>{try{if(navigator.clipboard&&window.isSecureContext)await navigator.clipboard.writeText(t);else{let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.left="-999999px",e.style.top="-999999px",document.body.appendChild(e),e.focus(),e.select();try{document.execCommand("copy")}catch(e){throw console.error("Fallback: Oops, unable to copy",e),Error("Copy failed")}finally{e.remove()}}e.toast({title:"Copied!",description:'Command "'.concat(t,'" copied to clipboard'),duration:2e3})}catch(t){console.error("Failed to copy command:",t),e.toast({title:"Error",description:"Failed to copy command to clipboard",variant:"destructive",duration:3e3})}};return(0,a.jsxs)("div",{className:"grid gap-6",children:[(0,a.jsxs)(s.Zb,{children:[(0,a.jsxs)(s.Ol,{children:[(0,a.jsx)(s.ll,{children:"AT Terminal"}),(0,a.jsx)(s.SZ,{children:"Send AT commands to your device"})]}),(0,a.jsx)(s.aY,{children:(0,a.jsxs)("div",{className:"grid gap-8",children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[(0,a.jsx)(i._,{htmlFor:"ATOutput",children:"AT Command Output"}),(0,a.jsx)(d.g,{value:t,placeholder:"AT command output will appear here...",readOnly:!0,className:"h-[240px] font-mono",id:"ATOutput"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(h.Z,{className:"mb-2"}),0===A.length?(0,a.jsx)("p",{className:"italic text-sm text-muted-foreground font-medium text-center",children:"Command History is Empty"}):(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,a.jsx)(i._,{children:"Command History"}),(0,a.jsxs)(g.aR,{children:[(0,a.jsx)(g.vW,{asChild:!0,children:(0,a.jsxs)(l.z,{variant:"outline",size:"sm",children:[(0,a.jsx)(u.Z,{className:"h-4 w-4 text-rose-500"}),"Clear All"]})}),(0,a.jsxs)(g._T,{children:[(0,a.jsxs)(g.fY,{children:[(0,a.jsx)(g.f$,{children:"Clear Command History"}),(0,a.jsx)(g.yT,{children:"This action cannot be undone. This will permanently delete your command history."})]}),(0,a.jsxs)(g.xo,{children:[(0,a.jsx)(g.le,{children:"Cancel"}),(0,a.jsx)(g.OL,{onClick:()=>{R([]),window.localStorage.removeItem("atCommandHistory")},children:"Continue"})]})]})]})]}),(0,a.jsx)(o.x,{className:"h-[180px] p-4",children:(0,a.jsx)("div",{className:"grid gap-y-2",children:A.map((e,t)=>(0,a.jsx)(s.Zb,{children:(0,a.jsx)(s.aY,{className:"p-3 relative",children:(0,a.jsxs)(o.x,{className:"max-w-xs md:max-w-full",children:[(0,a.jsx)(l.z,{variant:"ghost",size:"icon",className:"absolute right-2 top-2 h-4 w-4",onClick:()=>Y(t),children:(0,a.jsx)(f,{className:"h-4 w-4"})}),(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:e.command}),(0,a.jsx)("p",{className:"whitespace-pre-wrap font-mono",children:e.response})]}),(0,a.jsx)(o.B,{orientation:"horizontal"})]})})},"".concat(e.timestamp,"-").concat(t)))})})]}),(0,a.jsx)(h.Z,{className:"mt-2"})]}),(0,a.jsxs)("div",{className:"grid gap-1.5 relative",children:[(0,a.jsx)(i._,{htmlFor:"ATInput",children:"AT Command Input"}),(0,a.jsx)(c.I,{value:m,onChange:e=>{let t=e.target.value;v(t),t.trim()?O(D.filter(e=>e.toLowerCase().includes(t.toLowerCase()))):O([])},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),V())},placeholder:"ATI",id:"ATInput",disabled:_,autoComplete:"off"}),k.length>0&&(0,a.jsx)("div",{className:"absolute top-full mt-1 bg-background border rounded-md shadow-lg z-10",children:(0,a.jsx)(o.x,{className:"h-24",children:k.map((e,t)=>(0,a.jsxs)("div",{className:"p-2 hover:bg-accent cursor-pointer flex items-center justify-between group",children:[(0,a.jsx)("p",{className:"text-sm font-medium text-muted-foreground flex-grow",onClick:()=>W(e),children:e}),(0,a.jsx)(l.z,{variant:"ghost",size:"icon",className:"h-4 w-4 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>{t.stopPropagation(),P(e)},children:(0,a.jsx)(f,{className:"h-4 w-4"})})]},t))})}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Your successful commands will be saved for autocomplete."})]})]})}),(0,a.jsx)(s.eW,{className:"grid border-t py-4",children:(0,a.jsxs)(l.z,{onClick:V,disabled:_,children:[(0,a.jsx)(p.Z,{className:"mr-2"}),_?"Sending...":"Send Command"]})})]}),(0,a.jsxs)(s.Zb,{children:[(0,a.jsxs)(s.Ol,{children:[(0,a.jsx)(s.ll,{children:"Common AT Commands List"}),(0,a.jsx)(s.SZ,{children:"Here are some common AT commands you can try:"})]}),(0,a.jsx)(s.aY,{children:(0,a.jsxs)(b,{children:[(0,a.jsx)(S,{children:"AT Command List"}),(0,a.jsx)(j,{children:(0,a.jsxs)(N,{children:[(0,a.jsx)(C,{children:"AT Command"}),(0,a.jsx)(C,{className:"text-right",children:"Description"})]})}),(0,a.jsx)(w,{children:F?(0,a.jsx)(N,{children:(0,a.jsx)(T,{colSpan:3,className:"text-center",children:"Loading commands..."})}):0===z.length?(0,a.jsx)(N,{children:(0,a.jsx)(T,{colSpan:3,className:"text-center",children:"No commands available"})}):z.map((e,t)=>(0,a.jsxs)(N,{children:[(0,a.jsxs)(T,{className:"flex items-center gap-x-2",children:[(0,a.jsx)("p",{className:"font-mono truncate max-w-6 md:max-w-md",children:e.command}),(0,a.jsx)(x,{className:"w-3 h-3 hover:text-purple-300 cursor-pointer",onClick:()=>B(e.command)})]}),(0,a.jsx)(T,{className:"text-right max-w-10 md:max-w-lg",children:e.description})]},t))})]})})]})]})}},16236:function(e,t,r){"use strict";r.d(t,{aR:function(){return E},OL:function(){return L},le:function(){return V},_T:function(){return z},yT:function(){return H},xo:function(){return F},fY:function(){return Z},f$:function(){return M},vW:function(){return _}});var a=r(20881),n=r(64149),s=r(74873),o=r(83954),l=r(14491),i=r(64433),d=r(54098),c="AlertDialog",[u,m]=(0,s.b)(c,[l.p8]),f=(0,l.p8)(),p=e=>{let{__scopeAlertDialog:t,...r}=e,n=f(t);return(0,a.jsx)(l.fC,{...n,...r,modal:!0})};p.displayName=c;var x=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.xz,{...s,...n,ref:t})});x.displayName="AlertDialogTrigger";var h=e=>{let{__scopeAlertDialog:t,...r}=e,n=f(t);return(0,a.jsx)(l.h_,{...n,...r})};h.displayName="AlertDialogPortal";var y=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.aV,{...s,...n,ref:t})});y.displayName="AlertDialogOverlay";var g="AlertDialogContent",[v,b]=u(g),j=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:s,...c}=e,u=f(r),m=n.useRef(null),p=(0,o.e)(t,m),x=n.useRef(null);return(0,a.jsx)(l.jm,{contentName:g,titleName:w,docsSlug:"alert-dialog",children:(0,a.jsx)(v,{scope:r,cancelRef:x,children:(0,a.jsxs)(l.VY,{role:"alertdialog",...u,...c,ref:p,onOpenAutoFocus:(0,i.M)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=x.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,a.jsx)(d.A4,{children:s}),(0,a.jsx)(k,{contentRef:m})]})})})});j.displayName=g;var w="AlertDialogTitle",N=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.Dx,{...s,...n,ref:t})});N.displayName=w;var C="AlertDialogDescription",T=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.dk,{...s,...n,ref:t})});T.displayName=C;var S=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=f(r);return(0,a.jsx)(l.x8,{...s,...n,ref:t})});S.displayName="AlertDialogAction";var A="AlertDialogCancel",R=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,{cancelRef:s}=b(A,r),i=f(r),d=(0,o.e)(t,s);return(0,a.jsx)(l.x8,{...i,...n,ref:d})});R.displayName=A;var k=e=>{let{contentRef:t}=e,r="`".concat(g,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(g,"` by passing a `").concat(C,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(g,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return n.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(r)},[r,t]),null},O=r(90270),D=r(78580);let E=p,_=x,I=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(y,{className:(0,O.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...n,ref:t})});I.displayName=y.displayName;let z=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsxs)(h,{children:[(0,a.jsx)(I,{}),(0,a.jsx)(j,{ref:t,className:(0,O.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...n})]})});z.displayName=j.displayName;let Z=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,O.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};Z.displayName="AlertDialogHeader";let F=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,O.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};F.displayName="AlertDialogFooter";let M=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(N,{ref:t,className:(0,O.cn)("text-lg font-semibold",r),...n})});M.displayName=N.displayName;let H=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(T,{ref:t,className:(0,O.cn)("text-sm text-muted-foreground",r),...n})});H.displayName=T.displayName;let L=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(S,{ref:t,className:(0,O.cn)((0,D.d)(),r),...n})});L.displayName=S.displayName;let V=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(R,{ref:t,className:(0,O.cn)((0,D.d)({variant:"outline"}),"mt-2 sm:mt-0",r),...n})});V.displayName=R.displayName},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return i},z:function(){return d}});var a=r(20881),n=r(64149),s=r(54098),o=r(20116),l=r(90270);let i=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,t)=>{let{className:r,variant:n,size:o,asChild:d=!1,...c}=e,u=d?s.g7:"button";return(0,a.jsx)(u,{className:(0,l.cn)(i({variant:n,size:o,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},SZ:function(){return d},Zb:function(){return o},aY:function(){return c},eW:function(){return u},ll:function(){return i}});var a=r(20881),n=r(64149),s=r(90270);let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});o.displayName="Card";let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...n})});l.displayName="CardHeader";let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",r),...n})});i.displayName="CardTitle";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...n})});d.displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...n})});u.displayName="CardFooter"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var a=r(20881),n=r(64149),s=r(90270);let o=n.forwardRef((e,t)=>{let{className:r,type:n,...o}=e;return(0,a.jsx)("input",{type:n,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});o.displayName="Input"},21501:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var a=r(20881),n=r(64149),s=r(51212),o=r(20116),l=r(90270);let i=(0,o.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.f,{ref:t,className:(0,l.cn)(i(),r),...n})});d.displayName=s.f.displayName},24004:function(e,t,r){"use strict";r.d(t,{B:function(){return i},x:function(){return l}});var a=r(20881),n=r(64149),s=r(82310),o=r(90270);let l=n.forwardRef((e,t)=>{let{className:r,children:n,...l}=e;return(0,a.jsxs)(s.fC,{ref:t,className:(0,o.cn)("relative overflow-hidden",r),...l,children:[(0,a.jsx)(s.l_,{className:"h-full w-full rounded-[inherit]",children:n}),(0,a.jsx)(i,{}),(0,a.jsx)(s.Ns,{})]})});l.displayName=s.fC.displayName;let i=n.forwardRef((e,t)=>{let{className:r,orientation:n="vertical",...l}=e;return(0,a.jsx)(s.gb,{ref:t,orientation:n,className:(0,o.cn)("flex touch-none select-none transition-colors","vertical"===n&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===n&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...l,children:(0,a.jsx)(s.q4,{className:"relative flex-1 rounded-full bg-border"})})});i.displayName=s.gb.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(20881),n=r(64149),s=r(48897),o=r(90270);let l=n.forwardRef((e,t)=>{let{className:r,orientation:n="horizontal",decorative:l=!0,...i}=e;return(0,a.jsx)(s.f,{ref:t,decorative:l,orientation:n,className:(0,o.cn)("shrink-0 bg-border","horizontal"===n?"h-[1px] w-full":"h-full w-[1px]",r),...i})});l.displayName=s.f.displayName},75577:function(e,t,r){"use strict";r.d(t,{g:function(){return o}});var a=r(20881),n=r(64149),s=r(90270);let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("textarea",{className:(0,s.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:t,...n})});o.displayName="Textarea"},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return m}});var a=r(64149);let n=0,s=new Map,o=e=>{if(s.has(e))return;let t=setTimeout(()=>{s.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);s.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?o(r):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},i=[],d={toasts:[]};function c(e){d=l(d,e),i.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||a()}}}),{id:r,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function m(){let[e,t]=a.useState(d);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var a=r(33958),n=r(61779);function s(){for(var e=arguments.length,t=Array(e),r=0;re.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:n=24,strokeWidth:l=2,absoluteStrokeWidth:i,className:d="",children:c,iconNode:u,...m}=e;return(0,a.createElement)("svg",{ref:t,...o,width:n,height:n,stroke:r,strokeWidth:i?24*Number(l)/Number(n):l,className:s("lucide",d),...m},[...u.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),i=(e,t)=>{let r=(0,a.forwardRef)((r,o)=>{let{className:i,...d}=r;return(0,a.createElement)(l,{ref:o,iconNode:t,className:s("lucide-".concat(n(e)),i),...d})});return r.displayName="".concat(e),r}},75526:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(92093).Z)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},36306:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(92093).Z)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},51212:function(e,t,r){"use strict";r.d(t,{f:function(){return l}});var a=r(64149),n=r(79442),s=r(20881),o=a.forwardRef((e,t)=>(0,s.jsx)(n.WV.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var l=o},48897:function(e,t,r){"use strict";r.d(t,{f:function(){return d}});var a=r(64149),n=r(79442),s=r(20881),o="horizontal",l=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=o,...i}=e,d=l.includes(a)?a:o;return(0,s.jsx)(n.WV.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...i,ref:t})});i.displayName="Separator";var d=i}},function(e){e.O(0,[59,714,217,491,310,985,330,744],function(){return e(e.s=88276)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-281c60b314d73106.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-f5cdc7f50f7b107d.js similarity index 99% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-281c60b314d73106.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-f5cdc7f50f7b107d.js index 36d4d0f..31a08b5 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-281c60b314d73106.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/connectivity/page-f5cdc7f50f7b107d.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[812],{53830:function(e,t,r){Promise.resolve().then(r.bind(r,8133))},8133:function(e,t,r){"use strict";r.r(t);var a=r(20881),s=r(64149),n=r(94920),o=r(22989),l=r(16236),i=r(46646),d=r(78580),c=r(21501),u=r(88766),f=r(47657),m=r(6120);t.default=()=>{let{toast:e}=(0,i.pm)(),[t,r]=(0,s.useState)(!0),[h,p]=(0,s.useState)([]),[x,g]=(0,s.useState)(!1),[j,v]=(0,s.useState)(""),[y,b]=(0,s.useState)({passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null}),[N,w]=(0,s.useState)({passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null}),P={passthrough:{disabled:'+QMAP="MPDN_rule",0;+QMAPWAC=1;+QPOWD=1',ETH:e=>'+QMAP="MPDN_rule",0,1,0,1,1,"'.concat(e,'";+QPOWD=1'),USB:e=>'+QMAP="MPDN_rule",0,1,0,3,1,"'.concat(e,'";+QPOWD=1')},modemProtocol:{rmnet:'+QCFG="usbnet",0;+QPOWD=1',ecm:'+QCFG="usbnet",1;+QPOWD=1',mbim:'+QCFG="usbnet",2;+QPOWD=1',rndis:'+QCFG="usbnet",3;+QPOWD=1'},dnsProxy:{enabled:'+QMAP="DHCPV4DNS","enable"',disabled:'+QMAP="DHCPV4DNS","disable"'}},D=e=>{let t={passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null};return e.forEach(e=>{let{response:r}=e;if(r.includes("MPDN_rule")){let e=r.split("\n")[1];e.includes('MPDN_rule",0,1,0,1,1')?t.passthrough="ETH":e.includes('MPDN_rule",0,1,0,3,1')?t.passthrough="USB":e.includes('MPDN_rule",0,0,0,0,0')&&(t.passthrough="disabled")}if(r.includes("usbnet")){let e=r.match(/usbnet",(\d)/);e&&(t.modemProtocol=({0:"rmnet",1:"ecm",2:"mbim",3:"rndis"})[e[1]])}r.includes("DHCPV4DNS")&&(r.includes('"enable"')?t.dnsProxy="enabled":r.includes('"disable"')&&(t.dnsProxy="disabled"))}),t},S=()=>{let e=[],t=Object.entries(N).reduce((e,t)=>{let[r,a]=t;return a!==y[r]&&(e[r]=a),e},{});if("passthrough"in t){if("disabled"===t.passthrough)e.push(P.passthrough.disabled.replace(";+QPOWD=1",""));else if(t.passthrough){let e=P.passthrough[t.passthrough](N.selectedMac);return"AT".concat(e.replace(";+QPOWD=1",""))}}if("modemProtocol"in t&&t.modemProtocol){let r=P.modemProtocol[t.modemProtocol];if(1===Object.keys(t).length)return"AT".concat(r.replace(";+QPOWD=1",""));e.push(r.replace(";+QPOWD=1",""))}if("dnsProxy"in t&&t.dnsProxy){let r=P.dnsProxy[t.dnsProxy];if(1===Object.keys(t).length)return"AT".concat(r);e.push(r)}return e.length>0?"AT".concat(e.join(";")):""},A=async()=>{try{let t=encodeURIComponent("AT+QPOWD=1");await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)}),e({title:"Success",description:"Settings saved and device is rebooting..."}),setTimeout(()=>{window.location.reload()},9e4)}catch(t){e({variant:"destructive",title:"Error",description:"Failed to reboot device",action:(0,a.jsx)(m.Z,{})})}},O=async()=>{try{let e=S();v(e),g(!0)}catch(t){e({variant:"destructive",title:"Error",description:"Failed to prepare settings",action:(0,a.jsx)(m.Z,{})})}},R=async()=>{try{let e=encodeURIComponent(j);if(!(await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(e)})).ok)throw Error("Failed to save settings");b({...N}),await A()}catch(t){e({variant:"destructive",title:"Error",description:"Failed to save settings",action:(0,a.jsx)(m.Z,{})})}};return(0,s.useEffect)(()=>{(async()=>{try{let[e,t]=await Promise.all([fetch("/cgi-bin/advance/fetch_macs.sh"),fetch("/cgi-bin/fetch_data.sh?set=4")]),[a,s]=await Promise.all([e.json(),t.json()]);p(a);let n=D(s);b(n),w(n),r(!1)}catch(t){r(!1),e({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Failed to fetch connectivity settings",action:(0,a.jsx)(m.Z,{})})}})()},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n.Zb,{children:[(0,a.jsxs)(n.Ol,{children:[(0,a.jsx)(n.ll,{children:"Connectivity Settings"}),(0,a.jsx)(n.SZ,{children:"Configure your device's connectivity settings."})]}),(0,a.jsx)(n.aY,{children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 grid-flow-row gap-6",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c._,{htmlFor:"passthrough",children:"IP Passthrough Mode"}),t?(0,a.jsx)(u.O,{className:"w-full h-8"}):(0,a.jsxs)(o.Ph,{onValueChange:e=>w(t=>({...t,passthrough:e})),value:N.passthrough||void 0,children:[(0,a.jsx)(o.i4,{children:(0,a.jsx)(o.ki,{placeholder:"Select IP Passthrough Mode"})}),(0,a.jsx)(o.Bw,{children:(0,a.jsxs)(o.DI,{children:[(0,a.jsx)(o.n5,{children:"Passthrough Mode"}),(0,a.jsx)(o.Ql,{value:"disabled",children:"Disabled"}),(0,a.jsx)(o.Ql,{value:"ETH",children:"ETH Passthrough Enabled"}),(0,a.jsx)(o.Ql,{value:"USB",children:"USB Passthrough Enabled"})]})})]})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c._,{htmlFor:"mac",children:"Connected MAC"}),t?(0,a.jsx)(u.O,{className:"w-full h-8"}):(0,a.jsxs)(o.Ph,{onValueChange:e=>w(t=>({...t,selectedMac:e})),value:N.selectedMac||void 0,disabled:!N.passthrough||"disabled"===N.passthrough,children:[(0,a.jsx)(o.i4,{children:(0,a.jsx)(o.ki,{placeholder:"Select Active MAC"})}),(0,a.jsx)(o.Bw,{children:(0,a.jsxs)(o.DI,{children:[(0,a.jsx)(o.n5,{children:"Active MAC"}),h.map(e=>(0,a.jsx)(o.Ql,{value:e.mac,children:"".concat(e.hostname," - ").concat(e.mac)},e.mac))]})})]})]}),(0,a.jsx)(f.Z,{className:"lg:col-span-2 col-span-1 my-2"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c._,{htmlFor:"modemProtocol",children:"USB Modem Protocol"}),t?(0,a.jsx)(u.O,{className:"w-full h-8"}):(0,a.jsxs)(o.Ph,{onValueChange:e=>w(t=>({...t,modemProtocol:e})),value:N.modemProtocol||void 0,children:[(0,a.jsx)(o.i4,{children:(0,a.jsx)(o.ki,{placeholder:"Select USB Modem Protocol"})}),(0,a.jsx)(o.Bw,{children:(0,a.jsxs)(o.DI,{children:[(0,a.jsx)(o.n5,{children:"USB Modem Protocol"}),(0,a.jsx)(o.Ql,{value:"rmnet",children:"RMNET"}),(0,a.jsx)(o.Ql,{value:"ecm",children:"ECM (Recommended)"}),(0,a.jsx)(o.Ql,{value:"mbim",children:"MBIM"}),(0,a.jsx)(o.Ql,{value:"rndis",children:"RNDIS"})]})})]})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c._,{htmlFor:"dnsProxy",children:"Onboard DNS Proxy Mode"}),t?(0,a.jsx)(u.O,{className:"w-full h-8"}):(0,a.jsxs)(o.Ph,{onValueChange:e=>w(t=>({...t,dnsProxy:e})),value:N.dnsProxy||void 0,children:[(0,a.jsx)(o.i4,{children:(0,a.jsx)(o.ki,{placeholder:"Select DNS Proxy Mode"})}),(0,a.jsx)(o.Bw,{children:(0,a.jsxs)(o.DI,{children:[(0,a.jsx)(o.n5,{children:"DNS Proxy Mode"}),(0,a.jsx)(o.Ql,{value:"enabled",children:"Enabled"}),(0,a.jsx)(o.Ql,{value:"disabled",children:"Disabled (Recommended for Passthrough)"})]})})]})]})]})}),(0,a.jsx)(n.eW,{className:"grid border-t py-4",children:(0,a.jsx)(d.z,{onClick:O,disabled:!Object.entries(N).some(e=>{let[t,r]=e;return r!==y[t]})||!(!N.passthrough||"disabled"===N.passthrough||N.selectedMac),children:"Save"})})]}),(0,a.jsx)(l.aR,{open:x,onOpenChange:g,children:(0,a.jsxs)(l._T,{children:[(0,a.jsxs)(l.fY,{children:[(0,a.jsx)(l.f$,{children:"Reboot Required"}),(0,a.jsx)(l.yT,{children:"The changes you made require a device reboot to take effect. Would you like to reboot now?"})]}),(0,a.jsxs)(l.xo,{children:[(0,a.jsx)(l.le,{children:"Later"}),(0,a.jsx)(l.OL,{onClick:R,children:"Save & Reboot Now"})]})]})})]})}},6120:function(e,t,r){"use strict";var a=r(20881),s=r(78580),n=r(35935);t.Z=()=>(0,a.jsx)(s.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,a.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,a.jsx)(n.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},16236:function(e,t,r){"use strict";r.d(t,{aR:function(){return T},OL:function(){return W},le:function(){return B},_T:function(){return E},yT:function(){return F},xo:function(){return I},fY:function(){return k},f$:function(){return z},vW:function(){return C}});var a=r(20881),s=r(64149),n=r(74873),o=r(83954),l=r(14491),i=r(64433),d=r(54098),c="AlertDialog",[u,f]=(0,n.b)(c,[l.p8]),m=(0,l.p8)(),h=e=>{let{__scopeAlertDialog:t,...r}=e,s=m(t);return(0,a.jsx)(l.fC,{...s,...r,modal:!0})};h.displayName=c;var p=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.xz,{...n,...s,ref:t})});p.displayName="AlertDialogTrigger";var x=e=>{let{__scopeAlertDialog:t,...r}=e,s=m(t);return(0,a.jsx)(l.h_,{...s,...r})};x.displayName="AlertDialogPortal";var g=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.aV,{...n,...s,ref:t})});g.displayName="AlertDialogOverlay";var j="AlertDialogContent",[v,y]=u(j),b=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:n,...c}=e,u=m(r),f=s.useRef(null),h=(0,o.e)(t,f),p=s.useRef(null);return(0,a.jsx)(l.jm,{contentName:j,titleName:N,docsSlug:"alert-dialog",children:(0,a.jsx)(v,{scope:r,cancelRef:p,children:(0,a.jsxs)(l.VY,{role:"alertdialog",...u,...c,ref:h,onOpenAutoFocus:(0,i.M)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=p.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,a.jsx)(d.A4,{children:n}),(0,a.jsx)(R,{contentRef:f})]})})})});b.displayName=j;var N="AlertDialogTitle",w=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.Dx,{...n,...s,ref:t})});w.displayName=N;var P="AlertDialogDescription",D=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.dk,{...n,...s,ref:t})});D.displayName=P;var S=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.x8,{...n,...s,ref:t})});S.displayName="AlertDialogAction";var A="AlertDialogCancel",O=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,{cancelRef:n}=y(A,r),i=m(r),d=(0,o.e)(t,n);return(0,a.jsx)(l.x8,{...i,...s,ref:d})});O.displayName=A;var R=e=>{let{contentRef:t}=e,r="`".concat(j,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(j,"` by passing a `").concat(P,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(j,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return s.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(r)},[r,t]),null},_=r(90270),M=r(78580);let T=h,C=p,Q=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(g,{className:(0,_.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...s,ref:t})});Q.displayName=g.displayName;let E=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsxs)(x,{children:[(0,a.jsx)(Q,{}),(0,a.jsx)(b,{ref:t,className:(0,_.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...s})]})});E.displayName=b.displayName;let k=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,_.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};k.displayName="AlertDialogHeader";let I=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,_.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};I.displayName="AlertDialogFooter";let z=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(w,{ref:t,className:(0,_.cn)("text-lg font-semibold",r),...s})});z.displayName=w.displayName;let F=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(D,{ref:t,className:(0,_.cn)("text-sm text-muted-foreground",r),...s})});F.displayName=D.displayName;let W=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(S,{ref:t,className:(0,_.cn)((0,M.d)(),r),...s})});W.displayName=S.displayName;let B=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(O,{ref:t,className:(0,_.cn)((0,M.d)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});B.displayName=O.displayName},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return i},z:function(){return d}});var a=r(20881),s=r(64149),n=r(54098),o=r(20116),l=r(90270);let i=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>{let{className:r,variant:s,size:o,asChild:d=!1,...c}=e,u=d?n.g7:"button";return(0,a.jsx)(u,{className:(0,l.cn)(i({variant:s,size:o,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},SZ:function(){return d},Zb:function(){return o},aY:function(){return c},eW:function(){return u},ll:function(){return i}});var a=r(20881),s=r(64149),n=r(90270);let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});o.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",r),...s})});l.displayName="CardHeader";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",r),...s})});i.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",r),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},21501:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var a=r(20881),s=r(64149),n=r(51212),o=r(20116),l=r(90270);let i=(0,o.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.f,{ref:t,className:(0,l.cn)(i(),r),...s})});d.displayName=n.f.displayName},22989:function(e,t,r){"use strict";r.d(t,{Bw:function(){return h},DI:function(){return d},Ph:function(){return i},Ql:function(){return x},i4:function(){return u},ki:function(){return c},n5:function(){return p}});var a=r(20881),s=r(64149),n=r(35935),o=r(62072),l=r(90270);let i=o.fC,d=o.ZA,c=o.B4,u=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(o.xz,{ref:t,className:(0,l.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),...i,children:[s,(0,a.jsx)(o.JO,{asChild:!0,children:(0,a.jsx)(n.jnn,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=o.xz.displayName;let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.u_,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,a.jsx)(n.g8U,{})})});f.displayName=o.u_.displayName;let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.$G,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,a.jsx)(n.v4q,{})})});m.displayName=o.$G.displayName;let h=s.forwardRef((e,t)=>{let{className:r,children:s,position:n="popper",...i}=e;return(0,a.jsx)(o.h_,{children:(0,a.jsxs)(o.VY,{ref:t,className:(0,l.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:n,...i,children:[(0,a.jsx)(f,{}),(0,a.jsx)(o.l_,{className:(0,l.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s}),(0,a.jsx)(m,{})]})})});h.displayName=o.VY.displayName;let p=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.__,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",r),...s})});p.displayName=o.__.displayName;let x=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(o.ck,{ref:t,className:(0,l.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...i,children:[(0,a.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(o.wU,{children:(0,a.jsx)(n.nQG,{className:"h-4 w-4"})})}),(0,a.jsx)(o.eT,{children:s})]})});x.displayName=o.ck.displayName,s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.Z0,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",r),...s})}).displayName=o.Z0.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(20881),s=r(64149),n=r(48897),o=r(90270);let l=s.forwardRef((e,t)=>{let{className:r,orientation:s="horizontal",decorative:l=!0,...i}=e;return(0,a.jsx)(n.f,{ref:t,decorative:l,orientation:s,className:(0,o.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",r),...i})});l.displayName=n.f.displayName},88766:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});var a=r(20881),s=r(90270);function n(e){let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var a=r(64149);let s=0,n=new Map,o=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?o(r):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},i=[],d={toasts:[]};function c(e){d=l(d,e),i.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||a()}}}),{id:r,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=a.useState(d);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return n}});var a=r(33958),s=r(61779);function n(){for(var e=arguments.length,t=Array(e),r=0;r(0,n.jsx)(s.WV.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var l=o},48897:function(e,t,r){"use strict";r.d(t,{f:function(){return d}});var a=r(64149),s=r(79442),n=r(20881),o="horizontal",l=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=o,...i}=e,d=l.includes(a)?a:o;return(0,n.jsx)(s.WV.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...i,ref:t})});i.displayName="Separator";var d=i}},function(e){e.O(0,[792,59,714,217,420,491,72,985,330,744],function(){return e(e.s=53830)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[812],{53830:function(e,t,r){Promise.resolve().then(r.bind(r,8133))},8133:function(e,t,r){"use strict";r.r(t);var a=r(20881),s=r(64149),n=r(94920),o=r(22989),l=r(16236),i=r(46646),d=r(78580),c=r(21501),u=r(88766),f=r(47657),m=r(6120);t.default=()=>{let{toast:e}=(0,i.pm)(),[t,r]=(0,s.useState)(!0),[h,p]=(0,s.useState)([]),[x,g]=(0,s.useState)(!1),[j,v]=(0,s.useState)(""),[y,b]=(0,s.useState)({passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null}),[N,w]=(0,s.useState)({passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null}),P={passthrough:{disabled:'+QMAP="MPDN_rule",0;+QMAPWAC=1;+QPOWD=1',ETH:e=>'+QMAP="MPDN_rule",0,1,0,1,1,"'.concat(e,'";+QPOWD=1'),USB:e=>'+QMAP="MPDN_rule",0,1,0,3,1,"'.concat(e,'";+QPOWD=1')},modemProtocol:{rmnet:'+QCFG="usbnet",0;+QPOWD=1',ecm:'+QCFG="usbnet",1;+QPOWD=1',mbim:'+QCFG="usbnet",2;+QPOWD=1',rndis:'+QCFG="usbnet",3;+QPOWD=1'},dnsProxy:{enabled:'+QMAP="DHCPV4DNS","enable"',disabled:'+QMAP="DHCPV4DNS","disable"'}},D=e=>{let t={passthrough:null,selectedMac:null,modemProtocol:null,dnsProxy:null};return e.forEach(e=>{let{response:r}=e;if(r.includes("MPDN_rule")){let e=r.split("\n")[1];e.includes('MPDN_rule",0,1,0,1,1')?t.passthrough="ETH":e.includes('MPDN_rule",0,1,0,3,1')?t.passthrough="USB":e.includes('MPDN_rule",0,0,0,0,0')&&(t.passthrough="disabled")}if(r.includes("usbnet")){let e=r.match(/usbnet",(\d)/);e&&(t.modemProtocol=({0:"rmnet",1:"ecm",2:"mbim",3:"rndis"})[e[1]])}r.includes("DHCPV4DNS")&&(r.includes('"enable"')?t.dnsProxy="enabled":r.includes('"disable"')&&(t.dnsProxy="disabled"))}),t},S=()=>{let e=[],t=Object.entries(N).reduce((e,t)=>{let[r,a]=t;return a!==y[r]&&(e[r]=a),e},{});if("passthrough"in t){if("disabled"===t.passthrough)e.push(P.passthrough.disabled.replace(";+QPOWD=1",""));else if(t.passthrough){let e=P.passthrough[t.passthrough](N.selectedMac);return"AT".concat(e.replace(";+QPOWD=1",""))}}if("modemProtocol"in t&&t.modemProtocol){let r=P.modemProtocol[t.modemProtocol];if(1===Object.keys(t).length)return"AT".concat(r.replace(";+QPOWD=1",""));e.push(r.replace(";+QPOWD=1",""))}if("dnsProxy"in t&&t.dnsProxy){let r=P.dnsProxy[t.dnsProxy];if(1===Object.keys(t).length)return"AT".concat(r);e.push(r)}return e.length>0?"AT".concat(e.join(";")):""},A=async()=>{try{let t=encodeURIComponent("AT+QPOWD=1");await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)}),e({title:"Success",description:"Settings saved and device is rebooting..."}),setTimeout(()=>{window.location.reload()},9e4)}catch(t){e({variant:"destructive",title:"Error",description:"Failed to reboot device",action:(0,a.jsx)(m.Z,{})})}},O=async()=>{try{let e=S();v(e),g(!0)}catch(t){e({variant:"destructive",title:"Error",description:"Failed to prepare settings",action:(0,a.jsx)(m.Z,{})})}},R=async()=>{try{let e=encodeURIComponent(j);if(!(await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(e)})).ok)throw Error("Failed to save settings");b({...N}),await A()}catch(t){e({variant:"destructive",title:"Error",description:"Failed to save settings",action:(0,a.jsx)(m.Z,{})})}};return(0,s.useEffect)(()=>{(async()=>{try{let[e,t]=await Promise.all([fetch("/cgi-bin/advance/fetch_macs.sh"),fetch("/cgi-bin/fetch_data.sh?set=4")]),[a,s]=await Promise.all([e.json(),t.json()]);p(a);let n=D(s);b(n),w(n),r(!1)}catch(t){r(!1),e({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Failed to fetch connectivity settings",action:(0,a.jsx)(m.Z,{})})}})()},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n.Zb,{children:[(0,a.jsxs)(n.Ol,{children:[(0,a.jsx)(n.ll,{children:"Connectivity Settings"}),(0,a.jsx)(n.SZ,{children:"Configure your device's connectivity settings."})]}),(0,a.jsx)(n.aY,{children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 grid-flow-row gap-6",children:[(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c._,{htmlFor:"passthrough",children:"IP Passthrough Mode"}),t?(0,a.jsx)(u.O,{className:"w-full h-8"}):(0,a.jsxs)(o.Ph,{onValueChange:e=>w(t=>({...t,passthrough:e})),value:N.passthrough||void 0,children:[(0,a.jsx)(o.i4,{children:(0,a.jsx)(o.ki,{placeholder:"Select IP Passthrough Mode"})}),(0,a.jsx)(o.Bw,{children:(0,a.jsxs)(o.DI,{children:[(0,a.jsx)(o.n5,{children:"Passthrough Mode"}),(0,a.jsx)(o.Ql,{value:"disabled",children:"Disabled"}),(0,a.jsx)(o.Ql,{value:"ETH",children:"ETH Passthrough Enabled"}),(0,a.jsx)(o.Ql,{value:"USB",children:"USB Passthrough Enabled"})]})})]})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c._,{htmlFor:"mac",children:"Connected MAC"}),t?(0,a.jsx)(u.O,{className:"w-full h-8"}):(0,a.jsxs)(o.Ph,{onValueChange:e=>w(t=>({...t,selectedMac:e})),value:N.selectedMac||void 0,disabled:!N.passthrough||"disabled"===N.passthrough,children:[(0,a.jsx)(o.i4,{children:(0,a.jsx)(o.ki,{placeholder:"Select Active MAC"})}),(0,a.jsx)(o.Bw,{children:(0,a.jsxs)(o.DI,{children:[(0,a.jsx)(o.n5,{children:"Active MAC"}),h.map(e=>(0,a.jsx)(o.Ql,{value:e.mac,children:"".concat(e.hostname," - ").concat(e.mac)},e.mac))]})})]})]}),(0,a.jsx)(f.Z,{className:"lg:col-span-2 col-span-1 my-2"}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c._,{htmlFor:"modemProtocol",children:"USB Modem Protocol"}),t?(0,a.jsx)(u.O,{className:"w-full h-8"}):(0,a.jsxs)(o.Ph,{onValueChange:e=>w(t=>({...t,modemProtocol:e})),value:N.modemProtocol||void 0,children:[(0,a.jsx)(o.i4,{children:(0,a.jsx)(o.ki,{placeholder:"Select USB Modem Protocol"})}),(0,a.jsx)(o.Bw,{children:(0,a.jsxs)(o.DI,{children:[(0,a.jsx)(o.n5,{children:"USB Modem Protocol"}),(0,a.jsx)(o.Ql,{value:"rmnet",children:"RMNET"}),(0,a.jsx)(o.Ql,{value:"ecm",children:"ECM (Recommended)"}),(0,a.jsx)(o.Ql,{value:"mbim",children:"MBIM"}),(0,a.jsx)(o.Ql,{value:"rndis",children:"RNDIS"})]})})]})]}),(0,a.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,a.jsx)(c._,{htmlFor:"dnsProxy",children:"Onboard DNS Proxy Mode"}),t?(0,a.jsx)(u.O,{className:"w-full h-8"}):(0,a.jsxs)(o.Ph,{onValueChange:e=>w(t=>({...t,dnsProxy:e})),value:N.dnsProxy||void 0,children:[(0,a.jsx)(o.i4,{children:(0,a.jsx)(o.ki,{placeholder:"Select DNS Proxy Mode"})}),(0,a.jsx)(o.Bw,{children:(0,a.jsxs)(o.DI,{children:[(0,a.jsx)(o.n5,{children:"DNS Proxy Mode"}),(0,a.jsx)(o.Ql,{value:"enabled",children:"Enabled"}),(0,a.jsx)(o.Ql,{value:"disabled",children:"Disabled (Recommended for Passthrough)"})]})})]})]})]})}),(0,a.jsx)(n.eW,{className:"grid border-t py-4",children:(0,a.jsx)(d.z,{onClick:O,disabled:!Object.entries(N).some(e=>{let[t,r]=e;return r!==y[t]})||!(!N.passthrough||"disabled"===N.passthrough||N.selectedMac),children:"Save"})})]}),(0,a.jsx)(l.aR,{open:x,onOpenChange:g,children:(0,a.jsxs)(l._T,{children:[(0,a.jsxs)(l.fY,{children:[(0,a.jsx)(l.f$,{children:"Reboot Required"}),(0,a.jsx)(l.yT,{children:"The changes you made require a device reboot to take effect. Would you like to reboot now?"})]}),(0,a.jsxs)(l.xo,{children:[(0,a.jsx)(l.le,{children:"Later"}),(0,a.jsx)(l.OL,{onClick:R,children:"Save & Reboot Now"})]})]})})]})}},6120:function(e,t,r){"use strict";var a=r(20881),s=r(78580),n=r(35935);t.Z=()=>(0,a.jsx)(s.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,a.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,a.jsx)(n.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},16236:function(e,t,r){"use strict";r.d(t,{aR:function(){return T},OL:function(){return W},le:function(){return B},_T:function(){return E},yT:function(){return F},xo:function(){return I},fY:function(){return k},f$:function(){return z},vW:function(){return C}});var a=r(20881),s=r(64149),n=r(74873),o=r(83954),l=r(14491),i=r(64433),d=r(54098),c="AlertDialog",[u,f]=(0,n.b)(c,[l.p8]),m=(0,l.p8)(),h=e=>{let{__scopeAlertDialog:t,...r}=e,s=m(t);return(0,a.jsx)(l.fC,{...s,...r,modal:!0})};h.displayName=c;var p=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.xz,{...n,...s,ref:t})});p.displayName="AlertDialogTrigger";var x=e=>{let{__scopeAlertDialog:t,...r}=e,s=m(t);return(0,a.jsx)(l.h_,{...s,...r})};x.displayName="AlertDialogPortal";var g=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.aV,{...n,...s,ref:t})});g.displayName="AlertDialogOverlay";var j="AlertDialogContent",[v,y]=u(j),b=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:n,...c}=e,u=m(r),f=s.useRef(null),h=(0,o.e)(t,f),p=s.useRef(null);return(0,a.jsx)(l.jm,{contentName:j,titleName:N,docsSlug:"alert-dialog",children:(0,a.jsx)(v,{scope:r,cancelRef:p,children:(0,a.jsxs)(l.VY,{role:"alertdialog",...u,...c,ref:h,onOpenAutoFocus:(0,i.M)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=p.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,a.jsx)(d.A4,{children:n}),(0,a.jsx)(R,{contentRef:f})]})})})});b.displayName=j;var N="AlertDialogTitle",w=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.Dx,{...n,...s,ref:t})});w.displayName=N;var P="AlertDialogDescription",D=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.dk,{...n,...s,ref:t})});D.displayName=P;var S=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,n=m(r);return(0,a.jsx)(l.x8,{...n,...s,ref:t})});S.displayName="AlertDialogAction";var A="AlertDialogCancel",O=s.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...s}=e,{cancelRef:n}=y(A,r),i=m(r),d=(0,o.e)(t,n);return(0,a.jsx)(l.x8,{...i,...s,ref:d})});O.displayName=A;var R=e=>{let{contentRef:t}=e,r="`".concat(j,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(j,"` by passing a `").concat(P,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(j,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return s.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(r)},[r,t]),null},_=r(90270),M=r(78580);let T=h,C=p,Q=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(g,{className:(0,_.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...s,ref:t})});Q.displayName=g.displayName;let E=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsxs)(x,{children:[(0,a.jsx)(Q,{}),(0,a.jsx)(b,{ref:t,className:(0,_.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...s})]})});E.displayName=b.displayName;let k=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,_.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...r})};k.displayName="AlertDialogHeader";let I=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,_.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r})};I.displayName="AlertDialogFooter";let z=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(w,{ref:t,className:(0,_.cn)("text-lg font-semibold",r),...s})});z.displayName=w.displayName;let F=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(D,{ref:t,className:(0,_.cn)("text-sm text-muted-foreground",r),...s})});F.displayName=D.displayName;let W=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(S,{ref:t,className:(0,_.cn)((0,M.d)(),r),...s})});W.displayName=S.displayName;let B=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(O,{ref:t,className:(0,_.cn)((0,M.d)({variant:"outline"}),"mt-2 sm:mt-0",r),...s})});B.displayName=O.displayName},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return i},z:function(){return d}});var a=r(20881),s=r(64149),n=r(54098),o=r(20116),l=r(90270);let i=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>{let{className:r,variant:s,size:o,asChild:d=!1,...c}=e,u=d?n.g7:"button";return(0,a.jsx)(u,{className:(0,l.cn)(i({variant:s,size:o,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},SZ:function(){return d},Zb:function(){return o},aY:function(){return c},eW:function(){return u},ll:function(){return i}});var a=r(20881),s=r(64149),n=r(90270);let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});o.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",r),...s})});l.displayName="CardHeader";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",r),...s})});i.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",r),...s})});c.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},21501:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var a=r(20881),s=r(64149),n=r(51212),o=r(20116),l=r(90270);let i=(0,o.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.f,{ref:t,className:(0,l.cn)(i(),r),...s})});d.displayName=n.f.displayName},22989:function(e,t,r){"use strict";r.d(t,{Bw:function(){return h},DI:function(){return d},Ph:function(){return i},Ql:function(){return x},i4:function(){return u},ki:function(){return c},n5:function(){return p}});var a=r(20881),s=r(64149),n=r(35935),o=r(62072),l=r(90270);let i=o.fC,d=o.ZA,c=o.B4,u=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(o.xz,{ref:t,className:(0,l.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),...i,children:[s,(0,a.jsx)(o.JO,{asChild:!0,children:(0,a.jsx)(n.jnn,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=o.xz.displayName;let f=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.u_,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,a.jsx)(n.g8U,{})})});f.displayName=o.u_.displayName;let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.$G,{ref:t,className:(0,l.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,a.jsx)(n.v4q,{})})});m.displayName=o.$G.displayName;let h=s.forwardRef((e,t)=>{let{className:r,children:s,position:n="popper",...i}=e;return(0,a.jsx)(o.h_,{children:(0,a.jsxs)(o.VY,{ref:t,className:(0,l.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:n,...i,children:[(0,a.jsx)(f,{}),(0,a.jsx)(o.l_,{className:(0,l.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s}),(0,a.jsx)(m,{})]})})});h.displayName=o.VY.displayName;let p=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.__,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",r),...s})});p.displayName=o.__.displayName;let x=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(o.ck,{ref:t,className:(0,l.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...i,children:[(0,a.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(o.wU,{children:(0,a.jsx)(n.nQG,{className:"h-4 w-4"})})}),(0,a.jsx)(o.eT,{children:s})]})});x.displayName=o.ck.displayName,s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.Z0,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",r),...s})}).displayName=o.Z0.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(20881),s=r(64149),n=r(48897),o=r(90270);let l=s.forwardRef((e,t)=>{let{className:r,orientation:s="horizontal",decorative:l=!0,...i}=e;return(0,a.jsx)(n.f,{ref:t,decorative:l,orientation:s,className:(0,o.cn)("shrink-0 bg-border","horizontal"===s?"h-[1px] w-full":"h-full w-[1px]",r),...i})});l.displayName=n.f.displayName},88766:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});var a=r(20881),s=r(90270);function n(e){let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,s.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var a=r(64149);let s=0,n=new Map,o=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?o(r):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},i=[],d={toasts:[]};function c(e){d=l(d,e),i.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||a()}}}),{id:r,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=a.useState(d);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return n}});var a=r(33958),s=r(61779);function n(){for(var e=arguments.length,t=Array(e),r=0;r(0,n.jsx)(s.WV.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var l=o},48897:function(e,t,r){"use strict";r.d(t,{f:function(){return d}});var a=r(64149),s=r(79442),n=r(20881),o="horizontal",l=["horizontal","vertical"],i=a.forwardRef((e,t)=>{let{decorative:r,orientation:a=o,...i}=e,d=l.includes(a)?a:o;return(0,n.jsx)(s.WV.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...i,ref:t})});i.displayName="Separator";var d=i}},function(e){e.O(0,[792,366,714,217,420,491,72,985,330,744],function(){return e(e.s=53830)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-0673c21a0a6eb380.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-0673c21a0a6eb380.js new file mode 100644 index 0000000..02c70ac --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-0673c21a0a6eb380.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[876],{87168:function(e,t,r){Promise.resolve().then(r.bind(r,79278))},79278:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return O}});var n=r(20881),s=r(64149),i=r(94920),o=r(33335),a=r(64433),u=r(83954),l=r(74873),c=r(45306),d=r(32437),f=r(73452),p=r(79442),m="Switch",[h,v]=(0,l.b)(m),[b,g]=h(m),x=s.forwardRef((e,t)=>{let{__scopeSwitch:r,name:i,checked:o,defaultChecked:l,required:d,disabled:f,value:m="on",onCheckedChange:h,form:v,...g}=e,[x,y]=s.useState(null),w=(0,u.e)(t,e=>y(e)),S=s.useRef(!1),T=!x||v||!!x.closest("form"),[k=!1,E]=(0,c.T)({prop:o,defaultProp:l,onChange:h});return(0,n.jsxs)(b,{scope:r,checked:k,disabled:f,children:[(0,n.jsx)(p.WV.button,{type:"button",role:"switch","aria-checked":k,"aria-required":d,"data-state":N(k),"data-disabled":f?"":void 0,disabled:f,value:m,...g,ref:w,onClick:(0,a.M)(e.onClick,e=>{E(e=>!e),T&&(S.current=e.isPropagationStopped(),S.current||e.stopPropagation())})}),T&&(0,n.jsx)(j,{control:x,bubbles:!S.current,name:i,value:m,checked:k,required:d,disabled:f,form:v,style:{transform:"translateX(-100%)"}})]})});x.displayName=m;var y="SwitchThumb",w=s.forwardRef((e,t)=>{let{__scopeSwitch:r,...s}=e,i=g(y,r);return(0,n.jsx)(p.WV.span,{"data-state":N(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:t})});w.displayName=y;var j=e=>{let{control:t,checked:r,bubbles:i=!0,...o}=e,a=s.useRef(null),u=(0,d.D)(r),l=(0,f.t)(t);return s.useEffect(()=>{let e=a.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(u!==r&&t){let n=new Event("click",{bubbles:i});t.call(e,r),e.dispatchEvent(n)}},[u,r,i]),(0,n.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:a,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function N(e){return e?"checked":"unchecked"}var S=r(90270);let T=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(x,{className:(0,S.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r),...s,ref:t,children:(0,n.jsx)(w,{className:(0,S.cn)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})})});T.displayName=x.displayName;var k=r(78580),E=r(46646),C=r(6120),O=()=>{let[e,t]=(0,s.useState)("0"),[r,a]=(0,s.useState)(!1),[u,l]=(0,s.useState)(!0),[c,d]=(0,s.useState)(""),[f,p]=(0,s.useState)(""),m=(0,E.pm)();(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/advance/ttl.sh"),r=await e.json();a(r.isEnabled),t(r.currentValue.toString()),l(!1)}catch(e){d("Failed to fetch TTL settings"),l(!1),m.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:c,action:(0,n.jsx)(C.Z,{})})}})()},[]);let h=async t=>{t.preventDefault(),d(""),p("");let s=r?e:"0";try{let e=await fetch("/cgi-bin/advance/ttl.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"ttl=".concat(s)}),t=await e.json();!0===t.success?m.toast({title:"Success",description:"Settings saved successfully"}):m.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Failed to save settings",action:(0,n.jsx)(C.Z,{})})}catch(e){d("Failed to save settings")}};return u?(0,n.jsx)(i.Zb,{className:"w-full max-w-2xl mx-auto",children:(0,n.jsx)(i.aY,{className:"p-6",children:(0,n.jsx)("div",{className:"text-center",children:"Loading TTL settings..."})})}):(0,n.jsxs)(i.Zb,{children:[(0,n.jsxs)(i.Ol,{children:[(0,n.jsx)(i.ll,{children:"TTL Settings"}),(0,n.jsx)(i.SZ,{children:"Configure TTL mangling for your connection."})]}),(0,n.jsx)(i.aY,{children:(0,n.jsxs)("form",{onSubmit:h,className:"space-y-8",children:[(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{className:"text-sm font-medium",children:"TTL Value"}),(0,n.jsx)(o.I,{type:"number",min:"0",max:"255",value:e,onChange:e=>t(e.target.value),disabled:!r,className:"mt-1"}),(0,n.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:"Set the TTL value for your connection (0-255)."})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between rounded-lg border p-4",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{className:"text-base font-medium",children:"TTL State"}),(0,n.jsx)("p",{className:"text-sm text-gray-500",children:"Toggle to enable or disable TTL mangling"})]}),(0,n.jsx)(T,{checked:r,onCheckedChange:a})]})]}),(0,n.jsx)(k.z,{type:"submit",className:"w-full",children:"Save Configuration"})]})})]})}},6120:function(e,t,r){"use strict";var n=r(20881),s=r(78580),i=r(35935);t.Z=()=>(0,n.jsx)(s.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,n.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,n.jsx)(i.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return u},z:function(){return l}});var n=r(20881),s=r(64149),i=r(54098),o=r(20116),a=r(90270);let u=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=s.forwardRef((e,t)=>{let{className:r,variant:s,size:o,asChild:l=!1,...c}=e,d=l?i.g7:"button";return(0,n.jsx)(d,{className:(0,a.cn)(u({variant:s,size:o,className:r})),ref:t,...c})});l.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return a},SZ:function(){return l},Zb:function(){return o},aY:function(){return c},eW:function(){return d},ll:function(){return u}});var n=r(20881),s=r(64149),i=r(90270);let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});o.displayName="Card";let a=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",r),...s})});a.displayName="CardHeader";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("h3",{ref:t,className:(0,i.cn)("font-semibold leading-none tracking-tight",r),...s})});u.displayName="CardTitle";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",r),...s})});l.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",r),...s})});c.displayName="CardContent";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",r),...s})});d.displayName="CardFooter"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var n=r(20881),s=r(64149),i=r(90270);let o=s.forwardRef((e,t)=>{let{className:r,type:s,...o}=e;return(0,n.jsx)("input",{type:s,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});o.displayName="Input"},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var n=r(64149);let s=0,i=new Map,o=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);i.set(e,t)},a=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?o(r):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},u=[],l={toasts:[]};function c(e){l=a(l,e),u.forEach(e=>{e(l)})}function d(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=n.useState(l);return n.useEffect(()=>(u.push(t),()=>{let e=u.indexOf(t);e>-1&&u.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return i}});var n=r(33958),s=r(61779);function i(){for(var e=arguments.length,t=Array(e),r=0;re.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function i(...e){return n.useCallback(s(...e),e)}},74873:function(e,t,r){"use strict";r.d(t,{b:function(){return o},k:function(){return i}});var n=r(64149),s=r(20881);function i(e,t){let r=n.createContext(t),i=e=>{let{children:t,...i}=e,o=n.useMemo(()=>i,Object.values(i));return(0,s.jsx)(r.Provider,{value:o,children:t})};return i.displayName=e+"Provider",[i,function(s){let i=n.useContext(r);if(i)return i;if(void 0!==t)return t;throw Error(`\`${s}\` must be used within \`${e}\``)}]}function o(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let s=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:s}}),[r,s])}};return i.scopeName=e,[function(t,i){let o=n.createContext(i),a=r.length;r=[...r,i];let u=t=>{let{scope:r,children:i,...u}=t,l=r?.[e]?.[a]||o,c=n.useMemo(()=>u,Object.values(u));return(0,s.jsx)(l.Provider,{value:c,children:i})};return u.displayName=t+"Provider",[u,function(r,s){let u=s?.[e]?.[a]||o,l=n.useContext(u);if(l)return l;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let s=r.reduce((t,{useScope:r,scopeName:n})=>{let s=r(e)[`__scope${n}`];return{...t,...s}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}(i,...t)]}},79442:function(e,t,r){"use strict";r.d(t,{WV:function(){return a},jH:function(){return u}});var n=r(64149),s=r(50149),i=r(54098),o=r(20881),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=n.forwardRef((e,r)=>{let{asChild:n,...s}=e,a=n?i.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(a,{...s,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function u(e,t){e&&s.flushSync(()=>e.dispatchEvent(t))}},54098:function(e,t,r){"use strict";r.d(t,{A4:function(){return u},g7:function(){return o}});var n=r(64149),s=r(83954),i=r(20881),o=n.forwardRef((e,t)=>{let{children:r,...s}=e,o=n.Children.toArray(r),u=o.find(l);if(u){let e=u.props.children,r=o.map(t=>t!==u?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(a,{...s,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,i.jsx)(a,{...s,ref:t,children:r})});o.displayName="Slot";var a=n.forwardRef((e,t)=>{let{children:r,...i}=e;if(n.isValidElement(r)){let e,o;let a=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref;return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let s=e[n],i=t[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...e)=>{i(...e),s(...e)}:s&&(r[n]=s):"style"===n?r[n]={...s,...i}:"className"===n&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props),ref:t?(0,s.F)(t,a):a})}return n.Children.count(r)>1?n.Children.only(null):null});a.displayName="SlotClone";var u=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});function l(e){return n.isValidElement(e)&&e.type===u}},2441:function(e,t,r){"use strict";r.d(t,{W:function(){return s}});var n=r(64149);function s(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},45306:function(e,t,r){"use strict";r.d(t,{T:function(){return i}});var n=r(64149),s=r(2441);function i({prop:e,defaultProp:t,onChange:r=()=>{}}){let[i,o]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[i]=r,o=n.useRef(i),a=(0,s.W)(t);return n.useEffect(()=>{o.current!==i&&(a(i),o.current=i)},[i,o,a]),r}({defaultProp:t,onChange:r}),a=void 0!==e,u=a?e:i,l=(0,s.W)(r);return[u,n.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&l(r)}else o(t)},[a,e,o,l])]}},61013:function(e,t,r){"use strict";r.d(t,{b:function(){return s}});var n=r(64149),s=globalThis?.document?n.useLayoutEffect:()=>{}},32437:function(e,t,r){"use strict";r.d(t,{D:function(){return s}});var n=r(64149);function s(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},73452:function(e,t,r){"use strict";r.d(t,{t:function(){return i}});var n=r(64149),s=r(61013);function i(e){let[t,r]=n.useState(void 0);return(0,s.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,s;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,s=t.blockSize}else n=e.offsetWidth,s=e.offsetHeight;r({width:n,height:s})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},20116:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,s=function(){for(var e,t,r=0,n="";rr=>{var i;if((null==t?void 0:t.variants)==null)return s(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:a}=t,u=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],s=null==a?void 0:a[e];if(null===t)return null;let i=n(t)||n(s);return o[e][i]}),l=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return s(e,u,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:r,className:n,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...l}[t]):({...a,...l})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},function(e){e.O(0,[792,366,985,330,744],function(){return e(e.s=87168)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-5dcbbb1d9d93caa3.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-5dcbbb1d9d93caa3.js deleted file mode 100644 index dac0e53..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/advanced-settings/ttl-settings/page-5dcbbb1d9d93caa3.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[876],{87168:function(e,t,r){Promise.resolve().then(r.bind(r,79278))},79278:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return O}});var n=r(20881),s=r(64149),i=r(94920),o=r(33335),a=r(64433),u=r(83954),c=r(74873),l=r(45306),d=r(32437),f=r(73452),m=r(79442),p="Switch",[h,v]=(0,c.b)(p),[b,g]=h(p),x=s.forwardRef((e,t)=>{let{__scopeSwitch:r,name:i,checked:o,defaultChecked:c,required:d,disabled:f,value:p="on",onCheckedChange:h,form:v,...g}=e,[x,y]=s.useState(null),w=(0,u.e)(t,e=>y(e)),S=s.useRef(!1),T=!x||v||!!x.closest("form"),[k=!1,E]=(0,l.T)({prop:o,defaultProp:c,onChange:h});return(0,n.jsxs)(b,{scope:r,checked:k,disabled:f,children:[(0,n.jsx)(m.WV.button,{type:"button",role:"switch","aria-checked":k,"aria-required":d,"data-state":N(k),"data-disabled":f?"":void 0,disabled:f,value:p,...g,ref:w,onClick:(0,a.M)(e.onClick,e=>{E(e=>!e),T&&(S.current=e.isPropagationStopped(),S.current||e.stopPropagation())})}),T&&(0,n.jsx)(j,{control:x,bubbles:!S.current,name:i,value:p,checked:k,required:d,disabled:f,form:v,style:{transform:"translateX(-100%)"}})]})});x.displayName=p;var y="SwitchThumb",w=s.forwardRef((e,t)=>{let{__scopeSwitch:r,...s}=e,i=g(y,r);return(0,n.jsx)(m.WV.span,{"data-state":N(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:t})});w.displayName=y;var j=e=>{let{control:t,checked:r,bubbles:i=!0,...o}=e,a=s.useRef(null),u=(0,d.D)(r),c=(0,f.t)(t);return s.useEffect(()=>{let e=a.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(u!==r&&t){let n=new Event("click",{bubbles:i});t.call(e,r),e.dispatchEvent(n)}},[u,r,i]),(0,n.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:a,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function N(e){return e?"checked":"unchecked"}var S=r(90270);let T=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(x,{className:(0,S.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r),...s,ref:t,children:(0,n.jsx)(w,{className:(0,S.cn)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})})});T.displayName=x.displayName;var k=r(78580),E=r(46646),C=r(6120),O=()=>{let[e,t]=(0,s.useState)("0"),[r,a]=(0,s.useState)(!1),[u,c]=(0,s.useState)(!0),[l,d]=(0,s.useState)(""),[f,m]=(0,s.useState)(""),p=(0,E.pm)();(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/advance/ttl.sh"),r=await e.json();a(r.isEnabled),t(r.currentValue.toString()),c(!1)}catch(e){d("Failed to fetch TTL settings"),c(!1),p.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:l,action:(0,n.jsx)(C.Z,{})})}})()},[]);let h=async t=>{t.preventDefault(),d(""),m("");let s=r?e:"0";try{let e=await fetch("/cgi-bin/advance/ttl.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"ttl=".concat(s)}),t=await e.json();!0===t.success?p.toast({title:"Success",description:"Settings saved successfully"}):p.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Failed to save settings",action:(0,n.jsx)(C.Z,{})})}catch(e){d("Failed to save settings")}};return u?(0,n.jsx)(i.Zb,{className:"w-full max-w-2xl mx-auto",children:(0,n.jsx)(i.aY,{className:"p-6",children:(0,n.jsx)("div",{className:"text-center",children:"Loading TTL settings..."})})}):(0,n.jsxs)(i.Zb,{children:[(0,n.jsxs)(i.Ol,{children:[(0,n.jsx)(i.ll,{children:"TTL Settings"}),(0,n.jsx)(i.SZ,{children:"Configure TTL mangling for your connection."})]}),(0,n.jsx)(i.aY,{children:(0,n.jsxs)("form",{onSubmit:h,className:"space-y-8",children:[(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{className:"text-sm font-medium",children:"TTL Value"}),(0,n.jsx)(o.I,{type:"number",min:"0",max:"255",value:e,onChange:e=>t(e.target.value),disabled:!r,className:"mt-1"}),(0,n.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:"Set the TTL value for your connection (0-255)."})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between rounded-lg border p-4",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{className:"text-base font-medium",children:"TTL State"}),(0,n.jsx)("p",{className:"text-sm text-gray-500",children:"Toggle to enable or disable TTL mangling"})]}),(0,n.jsx)(T,{checked:r,onCheckedChange:a})]})]}),(0,n.jsx)(k.z,{type:"submit",className:"w-full",children:"Save Configuration"})]})})]})}},6120:function(e,t,r){"use strict";var n=r(20881),s=r(78580),i=r(35935);t.Z=()=>(0,n.jsx)(s.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,n.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,n.jsx)(i.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return u},z:function(){return c}});var n=r(20881),s=r(64149),i=r(54098),o=r(20116),a=r(90270);let u=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((e,t)=>{let{className:r,variant:s,size:o,asChild:c=!1,...l}=e,d=c?i.g7:"button";return(0,n.jsx)(d,{className:(0,a.cn)(u({variant:s,size:o,className:r})),ref:t,...l})});c.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return a},SZ:function(){return c},Zb:function(){return o},aY:function(){return l},eW:function(){return d},ll:function(){return u}});var n=r(20881),s=r(64149),i=r(90270);let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});o.displayName="Card";let a=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",r),...s})});a.displayName="CardHeader";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("h3",{ref:t,className:(0,i.cn)("font-semibold leading-none tracking-tight",r),...s})});u.displayName="CardTitle";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",r),...s})});c.displayName="CardDescription";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",r),...s})});l.displayName="CardContent";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",r),...s})});d.displayName="CardFooter"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var n=r(20881),s=r(64149),i=r(90270);let o=s.forwardRef((e,t)=>{let{className:r,type:s,...o}=e;return(0,n.jsx)("input",{type:s,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});o.displayName="Input"},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var n=r(64149);let s=0,i=new Map,o=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);i.set(e,t)},a=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?o(r):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},u=[],c={toasts:[]};function l(e){c=a(c,e),u.forEach(e=>{e(c)})}function d(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>l({type:"DISMISS_TOAST",toastId:r});return l({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>l({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=n.useState(c);return n.useEffect(()=>(u.push(t),()=>{let e=u.indexOf(t);e>-1&&u.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return i}});var n=r(33958),s=r(61779);function i(){for(var e=arguments.length,t=Array(e),r=0;r{let{children:t,...i}=e,o=n.useMemo(()=>i,Object.values(i));return(0,s.jsx)(r.Provider,{value:o,children:t})};return i.displayName=e+"Provider",[i,function(s){let i=n.useContext(r);if(i)return i;if(void 0!==t)return t;throw Error(`\`${s}\` must be used within \`${e}\``)}]}function o(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let s=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:s}}),[r,s])}};return i.scopeName=e,[function(t,i){let o=n.createContext(i),a=r.length;r=[...r,i];let u=t=>{let{scope:r,children:i,...u}=t,c=r?.[e]?.[a]||o,l=n.useMemo(()=>u,Object.values(u));return(0,s.jsx)(c.Provider,{value:l,children:i})};return u.displayName=t+"Provider",[u,function(r,s){let u=s?.[e]?.[a]||o,c=n.useContext(u);if(c)return c;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let s=r.reduce((t,{useScope:r,scopeName:n})=>{let s=r(e)[`__scope${n}`];return{...t,...s}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}(i,...t)]}},79442:function(e,t,r){"use strict";r.d(t,{WV:function(){return a},jH:function(){return u}});var n=r(64149),s=r(50149),i=r(54098),o=r(20881),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=n.forwardRef((e,r)=>{let{asChild:n,...s}=e,a=n?i.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(a,{...s,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function u(e,t){e&&s.flushSync(()=>e.dispatchEvent(t))}},2441:function(e,t,r){"use strict";r.d(t,{W:function(){return s}});var n=r(64149);function s(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},45306:function(e,t,r){"use strict";r.d(t,{T:function(){return i}});var n=r(64149),s=r(2441);function i({prop:e,defaultProp:t,onChange:r=()=>{}}){let[i,o]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[i]=r,o=n.useRef(i),a=(0,s.W)(t);return n.useEffect(()=>{o.current!==i&&(a(i),o.current=i)},[i,o,a]),r}({defaultProp:t,onChange:r}),a=void 0!==e,u=a?e:i,c=(0,s.W)(r);return[u,n.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&c(r)}else o(t)},[a,e,o,c])]}},61013:function(e,t,r){"use strict";r.d(t,{b:function(){return s}});var n=r(64149),s=globalThis?.document?n.useLayoutEffect:()=>{}},32437:function(e,t,r){"use strict";r.d(t,{D:function(){return s}});var n=r(64149);function s(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},73452:function(e,t,r){"use strict";r.d(t,{t:function(){return i}});var n=r(64149),s=r(61013);function i(e){let[t,r]=n.useState(void 0);return(0,s.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,s;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,s=t.blockSize}else n=e.offsetWidth,s=e.offsetHeight;r({width:n,height:s})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},20116:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,s=function(){for(var e,t,r=0,n="";rr=>{var i;if((null==t?void 0:t.variants)==null)return s(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:a}=t,u=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],s=null==a?void 0:a[e];if(null===t)return null;let i=n(t)||n(s);return o[e][i]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return s(e,u,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:r,className:n,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...c}[t]):({...a,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},function(e){e.O(0,[792,59,985,330,744],function(){return e(e.s=87168)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-2f99e70b9577f8d5.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-d9c0f4b97e09b504.js similarity index 99% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-2f99e70b9577f8d5.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-d9c0f4b97e09b504.js index 55815cb..3f40e34 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-2f99e70b9577f8d5.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/band-locking/page-d9c0f4b97e09b504.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[932],{7617:function(e,t,r){Promise.resolve().then(r.bind(r,31291))},31291:function(e,t,r){"use strict";r.r(t);var n=r(20881),s=r(64149),a=r(94920),i=r(835),o=r(78580),c=r(46646),d=r(5501),l=r(98228);let u={lte:"lte_band",nsa:"nsa_nr5g_band",sa:"nr5g_band"};t.default=()=>{let{toast:e}=(0,c.pm)(),[t,r]=(0,s.useState)({lte:[],nsa:[],sa:[]}),[f,p]=(0,s.useState)({lte:[],nsa:[],sa:[]}),[h,m]=(0,s.useState)(!0),g=async e=>{try{let t=encodeURIComponent(e),r=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t),signal:AbortSignal.timeout(5e3)});if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));let n=await r.json();if(n.error)throw Error(n.error);return n}catch(e){throw console.error("AT Command error:",e),e}},b=(e,t)=>{for(let r of e.output.split("\n"))if(r.includes(t)){let e=r.match(/"([^"]+)",(.+)/);if(e&&e[2])return e[2].split(":").map(Number)}return[]},v=async()=>{try{let e=(await g('AT+QNWPREFCFG="policy_band"')).output.split("\n"),t={lte:[],nsa:[],sa:[]};e.forEach(e=>{var r,n,s;e.includes('"lte_band"')?t.lte=(null===(r=e.split(",")[1])||void 0===r?void 0:r.split(":").map(Number))||[]:e.includes('"nsa_nr5g_band"')?t.nsa=(null===(n=e.split(",")[1])||void 0===n?void 0:n.split(":").map(Number))||[]:e.includes('"nrdc_nr5g_band"')&&(t.sa=(null===(s=e.split(",")[1])||void 0===s?void 0:s.split(":").map(Number))||[])}),r(t)}catch(t){console.error("Error fetching bands:",t),e({title:"Error",description:"Failed to fetch available bands.",variant:"destructive"})}},x=async()=>{try{let e=await g('AT+QNWPREFCFG="lte_band";+QNWPREFCFG="nsa_nr5g_band";+QNWPREFCFG="nr5g_band"'),t={lte:b(e,"lte_band"),nsa:b(e,'+QNWPREFCFG: "nsa_nr5g_band"'),sa:b(e,'+QNWPREFCFG: "nr5g_band"')};console.log("New Checked Bands: ",t),p(t),m(!1)}catch(t){console.error("Error fetching checked bands:",t),e({title:"Error",description:"Failed to fetch checked bands.",variant:"destructive"}),m(!1)}};(0,s.useEffect)(()=>{(async()=>{await v(),await x()})()},[]);let y=(e,t)=>{p(r=>({...r,[e]:r[e].includes(t)?r[e].filter(e=>e!==t):[...r[e],t].sort((e,t)=>e-t)}))},N=async t=>{try{let r=f[t].join(":");await g('AT+QNWPREFCFG="'.concat(u[t],'",').concat(r)),e({title:"Band Locking",description:"Bands locked successfully."}),await x()}catch(r){console.error("Error locking ".concat(t," bands:"),r),e({title:"Error",description:"Failed to lock ".concat(t.toUpperCase()," bands."),variant:"destructive"})}},w=e=>{p(t=>({...t,[e]:[]}))},_=async r=>{try{let n=t[r].join(":");await g('AT+QNWPREFCFG="'.concat(u[r],'",').concat(n)),e({title:"Reset Successful",description:"".concat(r.toUpperCase()," bands reset to default.")}),await x()}catch(t){console.error("Error resetting ".concat(r," bands:"),t),e({title:"Error",description:"Failed to reset ".concat(r.toUpperCase()," bands."),variant:"destructive"})}},E=e=>{let{title:r,description:s,bandType:c,prefix:u}=e;return(0,n.jsxs)(a.Zb,{children:[(0,n.jsxs)(a.Ol,{children:[(0,n.jsx)(a.ll,{children:r}),(0,n.jsx)(a.SZ,{children:s})]}),(0,n.jsx)(a.aY,{className:"grid lg:grid-cols-8 md:grid-cols-6 sm:grid-cols-4 grid-cols-3 grid-flow-row gap-4",children:h?(0,n.jsx)("div",{className:"col-span-8",children:"Fetching bands..."}):t[c].map(e=>(0,n.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,n.jsx)(i.X,{id:"".concat(c,"-").concat(e),checked:f[c].includes(e),onCheckedChange:()=>y(c,e)}),(0,n.jsxs)("label",{htmlFor:"".concat(c,"-").concat(e),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:[u,e]})]},e))}),(0,n.jsxs)(a.eW,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-3",children:[(0,n.jsxs)(o.z,{onClick:()=>N(c),children:[(0,n.jsx)(d.Z,{className:"h-4 w-4"}),"Lock Selected Bands"]}),(0,n.jsx)(o.z,{variant:"secondary",onClick:()=>w(c),children:"Uncheck All"}),(0,n.jsxs)(o.z,{variant:"secondary",onClick:()=>_(c),children:[(0,n.jsx)(l.Z,{className:"h-4 w-4"}),"Reset to Default"]})]})]})};return(0,n.jsxs)("div",{className:"grid gap-6",children:[(0,n.jsx)(E,{title:"4G LTE Band Locking",description:"Lock the device to specific LTE bands.",bandType:"lte",prefix:"B"}),(0,n.jsx)(E,{title:"NR5G-NSA Band Locking",description:"Lock the device to specific NR5G-NSA bands.",bandType:"nsa",prefix:"N"}),(0,n.jsx)(E,{title:"NR5G-SA Band Locking",description:"Lock the device to specific NR5G-SA bands.",bandType:"sa",prefix:"N"})]})}},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return c},z:function(){return d}});var n=r(20881),s=r(64149),a=r(54098),i=r(20116),o=r(90270);let c=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>{let{className:r,variant:s,size:i,asChild:d=!1,...l}=e,u=d?a.g7:"button";return(0,n.jsx)(u,{className:(0,o.cn)(c({variant:s,size:i,className:r})),ref:t,...l})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},SZ:function(){return d},Zb:function(){return i},aY:function(){return l},eW:function(){return u},ll:function(){return c}});var n=r(20881),s=r(64149),a=r(90270);let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});i.displayName="Card";let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",r),...s})});o.displayName="CardHeader";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("h3",{ref:t,className:(0,a.cn)("font-semibold leading-none tracking-tight",r),...s})});c.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("p",{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",r),...s})});d.displayName="CardDescription";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("p-6 pt-0",r),...s})});l.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},835:function(e,t,r){"use strict";r.d(t,{X:function(){return c}});var n=r(20881),s=r(64149),a=r(17533),i=r(35935),o=r(90270);let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.fC,{ref:t,className:(0,o.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",r),...s,children:(0,n.jsx)(a.z$,{className:(0,o.cn)("flex items-center justify-center text-current"),children:(0,n.jsx)(i.nQG,{className:"h-4 w-4"})})})});c.displayName=a.fC.displayName},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var n=r(64149);let s=0,a=new Map,i=e=>{if(a.has(e))return;let t=setTimeout(()=>{a.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);a.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},c=[],d={toasts:[]};function l(e){d=o(d,e),c.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>l({type:"DISMISS_TOAST",toastId:r});return l({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>l({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=n.useState(d);return n.useEffect(()=>(c.push(t),()=>{let e=c.indexOf(t);e>-1&&c.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return a}});var n=r(33958),s=r(61779);function a(){for(var e=arguments.length,t=Array(e),r=0;r{let{toast:e}=(0,c.pm)(),[t,r]=(0,s.useState)({lte:[],nsa:[],sa:[]}),[f,p]=(0,s.useState)({lte:[],nsa:[],sa:[]}),[h,m]=(0,s.useState)(!0),g=async e=>{try{let t=encodeURIComponent(e),r=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t),signal:AbortSignal.timeout(5e3)});if(!r.ok)throw Error("HTTP error! status: ".concat(r.status));let n=await r.json();if(n.error)throw Error(n.error);return n}catch(e){throw console.error("AT Command error:",e),e}},b=(e,t)=>{for(let r of e.output.split("\n"))if(r.includes(t)){let e=r.match(/"([^"]+)",(.+)/);if(e&&e[2])return e[2].split(":").map(Number)}return[]},v=async()=>{try{let e=(await g('AT+QNWPREFCFG="policy_band"')).output.split("\n"),t={lte:[],nsa:[],sa:[]};e.forEach(e=>{var r,n,s;e.includes('"lte_band"')?t.lte=(null===(r=e.split(",")[1])||void 0===r?void 0:r.split(":").map(Number))||[]:e.includes('"nsa_nr5g_band"')?t.nsa=(null===(n=e.split(",")[1])||void 0===n?void 0:n.split(":").map(Number))||[]:e.includes('"nrdc_nr5g_band"')&&(t.sa=(null===(s=e.split(",")[1])||void 0===s?void 0:s.split(":").map(Number))||[])}),r(t)}catch(t){console.error("Error fetching bands:",t),e({title:"Error",description:"Failed to fetch available bands.",variant:"destructive"})}},x=async()=>{try{let e=await g('AT+QNWPREFCFG="lte_band";+QNWPREFCFG="nsa_nr5g_band";+QNWPREFCFG="nr5g_band"'),t={lte:b(e,"lte_band"),nsa:b(e,'+QNWPREFCFG: "nsa_nr5g_band"'),sa:b(e,'+QNWPREFCFG: "nr5g_band"')};console.log("New Checked Bands: ",t),p(t),m(!1)}catch(t){console.error("Error fetching checked bands:",t),e({title:"Error",description:"Failed to fetch checked bands.",variant:"destructive"}),m(!1)}};(0,s.useEffect)(()=>{(async()=>{await v(),await x()})()},[]);let y=(e,t)=>{p(r=>({...r,[e]:r[e].includes(t)?r[e].filter(e=>e!==t):[...r[e],t].sort((e,t)=>e-t)}))},N=async t=>{try{let r=f[t].join(":");await g('AT+QNWPREFCFG="'.concat(u[t],'",').concat(r)),e({title:"Band Locking",description:"Bands locked successfully."}),await x()}catch(r){console.error("Error locking ".concat(t," bands:"),r),e({title:"Error",description:"Failed to lock ".concat(t.toUpperCase()," bands."),variant:"destructive"})}},w=e=>{p(t=>({...t,[e]:[]}))},_=async r=>{try{let n=t[r].join(":");await g('AT+QNWPREFCFG="'.concat(u[r],'",').concat(n)),e({title:"Reset Successful",description:"".concat(r.toUpperCase()," bands reset to default.")}),await x()}catch(t){console.error("Error resetting ".concat(r," bands:"),t),e({title:"Error",description:"Failed to reset ".concat(r.toUpperCase()," bands."),variant:"destructive"})}},E=e=>{let{title:r,description:s,bandType:c,prefix:u}=e;return(0,n.jsxs)(a.Zb,{children:[(0,n.jsxs)(a.Ol,{children:[(0,n.jsx)(a.ll,{children:r}),(0,n.jsx)(a.SZ,{children:s})]}),(0,n.jsx)(a.aY,{className:"grid lg:grid-cols-8 md:grid-cols-6 sm:grid-cols-4 grid-cols-3 grid-flow-row gap-4",children:h?(0,n.jsx)("div",{className:"col-span-8",children:"Fetching bands..."}):t[c].map(e=>(0,n.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,n.jsx)(i.X,{id:"".concat(c,"-").concat(e),checked:f[c].includes(e),onCheckedChange:()=>y(c,e)}),(0,n.jsxs)("label",{htmlFor:"".concat(c,"-").concat(e),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:[u,e]})]},e))}),(0,n.jsxs)(a.eW,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-3",children:[(0,n.jsxs)(o.z,{onClick:()=>N(c),children:[(0,n.jsx)(d.Z,{className:"h-4 w-4"}),"Lock Selected Bands"]}),(0,n.jsx)(o.z,{variant:"secondary",onClick:()=>w(c),children:"Uncheck All"}),(0,n.jsxs)(o.z,{variant:"secondary",onClick:()=>_(c),children:[(0,n.jsx)(l.Z,{className:"h-4 w-4"}),"Reset to Default"]})]})]})};return(0,n.jsxs)("div",{className:"grid gap-6",children:[(0,n.jsx)(E,{title:"4G LTE Band Locking",description:"Lock the device to specific LTE bands.",bandType:"lte",prefix:"B"}),(0,n.jsx)(E,{title:"NR5G-NSA Band Locking",description:"Lock the device to specific NR5G-NSA bands.",bandType:"nsa",prefix:"N"}),(0,n.jsx)(E,{title:"NR5G-SA Band Locking",description:"Lock the device to specific NR5G-SA bands.",bandType:"sa",prefix:"N"})]})}},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return c},z:function(){return d}});var n=r(20881),s=r(64149),a=r(54098),i=r(20116),o=r(90270);let c=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>{let{className:r,variant:s,size:i,asChild:d=!1,...l}=e,u=d?a.g7:"button";return(0,n.jsx)(u,{className:(0,o.cn)(c({variant:s,size:i,className:r})),ref:t,...l})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},SZ:function(){return d},Zb:function(){return i},aY:function(){return l},eW:function(){return u},ll:function(){return c}});var n=r(20881),s=r(64149),a=r(90270);let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...s})});i.displayName="Card";let o=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",r),...s})});o.displayName="CardHeader";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("h3",{ref:t,className:(0,a.cn)("font-semibold leading-none tracking-tight",r),...s})});c.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("p",{ref:t,className:(0,a.cn)("text-sm text-muted-foreground",r),...s})});d.displayName="CardDescription";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("p-6 pt-0",r),...s})});l.displayName="CardContent";let u=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,a.cn)("flex items-center p-6 pt-0",r),...s})});u.displayName="CardFooter"},835:function(e,t,r){"use strict";r.d(t,{X:function(){return c}});var n=r(20881),s=r(64149),a=r(17533),i=r(35935),o=r(90270);let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,n.jsx)(a.fC,{ref:t,className:(0,o.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",r),...s,children:(0,n.jsx)(a.z$,{className:(0,o.cn)("flex items-center justify-center text-current"),children:(0,n.jsx)(i.nQG,{className:"h-4 w-4"})})})});c.displayName=a.fC.displayName},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var n=r(64149);let s=0,a=new Map,i=e=>{if(a.has(e))return;let t=setTimeout(()=>{a.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);a.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},c=[],d={toasts:[]};function l(e){d=o(d,e),c.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>l({type:"DISMISS_TOAST",toastId:r});return l({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>l({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=n.useState(d);return n.useEffect(()=>(c.push(t),()=>{let e=c.indexOf(t);e>-1&&c.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return a}});var n=r(33958),s=r(61779);function a(){for(var e=arguments.length,t=Array(e),r=0;r{let[e,r]=(0,t.useState)(null),[l,i]=(0,t.useState)(!0),s=(0,t.useCallback)(async()=>{try{i(!0);let e=await fetch("/cgi-bin/fetch_data.sh?set=2"),l=await e.json();console.log("Fetched cell settings data:",l);let t={currentAPN:u(l[0].response,l[1].response),apnPDPType:h(l[0].response),preferredNetworkType:P(l[2].response),nr5gMode:v(l[3].response),simSlot:g(l[4].response)};r(t),console.log("Processed cell settings data:",t)}catch(e){console.error("Error fetching cell settings data:",e)}i(!1)},[]);return(0,t.useEffect)(()=>{s()},[s]),{data:e,isLoading:l,fetchCellSettingsData:s}};let u=(e,r)=>{var l,i;let t=null===(l=e.split("\n").find(e=>e.includes("+CGDCONT: 1")))||void 0===l?void 0:l.split(",")[2].replace(/"/g,"");if(void 0===t||""===t){let e=null===(i=r.split("\n").find(e=>e.includes("+CGCONTRDP:")))||void 0===i?void 0:i.split(",")[2].replace(/"/g,"");return void 0===e||""===e?"No APN found":e}return t},h=e=>{var r;let l=null===(r=e.split("\n").find(e=>e.includes("+CGDCONT: 1")))||void 0===r?void 0:r.split(",")[1].replace(/"/g,"");return void 0===l||""===l?"Error fetching PDP Type":l},P=e=>{var r;let l=null===(r=e.split("\n").find(e=>e.includes('+QNWPREFCFG: "mode_pref"')))||void 0===r?void 0:r.split(",")[1].replace(/"/g,"");return void 0===l||""===l?"Error fetching network type":l},v=e=>{var r;let l=null===(r=e.split("\n").find(e=>e.includes('+QNWPREFCFG: "nr5g_disable_mode"')))||void 0===r?void 0:r.split(",")[1].replace(/"/g,"");return void 0===l||""===l?"Error fetching NR5G mode":l},g=e=>{var r;let l=null===(r=e.split("\n").find(e=>e.includes("+QUIMSLOT:")))||void 0===r?void 0:r.split(":")[1].trim();return void 0===l||""===l?"Error fetching SIM slot":l};var y=l(47657),x=l(24052),m=l(36306);let N={apn:"",pdpType:"",iccid:""},j={profile1:{...N},profile2:{...N}},w=[{value:"IPV4",label:"IPv4 Only"},{value:"IPV6",label:"IPv6 Only"},{value:"IPV4V6",label:"IPv4 and IPv6"},{value:"P2P",label:"P2P Protocol"}];var S=()=>{let{toast:e}=(0,p.pm)(),{profiles:r,isLoading:l,updateAPNProfile:f,deleteAPNProfiles:u}=function(){let[e,r]=(0,t.useState)({}),[l,i]=(0,t.useState)(!0),s=async()=>{try{i(!0);let e=await fetch("/cgi-bin/cell-settings/apn-profiles/fetch-profile.sh",{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded"},signal:AbortSignal.timeout(1e4)});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let l=await e.json();console.log("Fetched APN profiles data:",l),r(l)}catch(e){console.error("Error fetching APN profiles:",e)}finally{i(!1)}};(0,t.useEffect)(()=>{s()},[]);let n=async(l,i)=>{try{var t,s,n,o,a,c;let d=new URLSearchParams;"profile1"===l?(d.append("iccidProfile1",i.iccid),d.append("apnProfile1",i.apn),d.append("pdpType1",i.pdpType)):(d.append("iccidProfile1",(null===(t=e.profile1)||void 0===t?void 0:t.iccid)||""),d.append("apnProfile1",(null===(s=e.profile1)||void 0===s?void 0:s.apn)||""),d.append("pdpType1",(null===(n=e.profile1)||void 0===n?void 0:n.pdpType)||"")),("profile2"===l||e.profile2)&&(d.append("iccidProfile2","profile2"===l?i.iccid:(null===(o=e.profile2)||void 0===o?void 0:o.iccid)||""),d.append("apnProfile2","profile2"===l?i.apn:(null===(a=e.profile2)||void 0===a?void 0:a.apn)||""),d.append("pdpType2","profile2"===l?i.pdpType:(null===(c=e.profile2)||void 0===c?void 0:c.pdpType)||""));let p=await fetch("/cgi-bin/cell-settings/apn-profiles/save-profile.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:d.toString(),signal:AbortSignal.timeout(1e4)});if(!p.ok)throw Error("Failed to update profile");let f=await p.json();if("success"===f.status)return r(e=>({...e,[l]:i})),!0;throw Error(f.message||"Failed to update profile")}catch(e){return console.error("Error updating ".concat(l,":"),e),!1}};return{profiles:e,isLoading:l,updateAPNProfile:n,deleteAPNProfiles:async()=>{try{let e=await fetch("/cgi-bin/cell-settings/apn-profiles/delete-profile.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},signal:AbortSignal.timeout(1e4)});if(!e.ok)throw Error("Failed to delete profiles");let l=await e.json();if("success"===l.status)return r({}),!0;throw Error(l.message||"Failed to delete profiles")}catch(e){return console.error("Error deleting APN profiles:",e),!1}}}}(),[h,P]=(0,t.useState)(!1),[v,g]=(0,t.useState)(!1),[N,S]=(0,t.useState)(j);(0,t.useEffect)(()=>{if(r){var e,l,i,t,s,n;S({profile1:{apn:(null===(e=r.profile1)||void 0===e?void 0:e.apn)||"",pdpType:(null===(l=r.profile1)||void 0===l?void 0:l.pdpType)||"",iccid:(null===(i=r.profile1)||void 0===i?void 0:i.iccid)||""},profile2:{apn:(null===(t=r.profile2)||void 0===t?void 0:t.apn)||"",pdpType:(null===(s=r.profile2)||void 0===s?void 0:s.pdpType)||"",iccid:(null===(n=r.profile2)||void 0===n?void 0:n.iccid)||""}})}},[r]);let T=(e,r,l)=>{S(i=>({...i,[e]:{...i[e],[r]:l}}))},A=()=>N.profile1.apn&&N.profile1.pdpType&&N.profile1.iccid?!Object.values(N.profile2).some(e=>""!==e)||!!N.profile2.apn&&!!N.profile2.pdpType&&!!N.profile2.iccid||(e({variant:"destructive",title:"Invalid Profile 2",description:"All fields for Profile 2 are required if any field is filled"}),!1):(e({variant:"destructive",title:"Invalid Profile 1",description:"All fields for Profile 1 are required"}),!1),I=async r=>{if(r.preventDefault(),A()){P(!0);try{let r=await f("profile1",N.profile1),l=!Object.values(N.profile2).some(e=>""!==e)||await f("profile2",N.profile2);if(r&&l)e({title:"Success",description:"APN profiles have been saved successfully"});else throw Error("Failed to save one or more profiles")}catch(r){e({variant:"destructive",title:"Error",description:"Failed to save APN profiles. Please try again."})}finally{P(!1)}}},C=async()=>{if(confirm("Are you sure you want to delete all APN profiles?")){g(!0);try{if(await u())S(j),e({title:"Success",description:"APN profiles have been deleted successfully"});else throw Error("Failed to delete profiles")}catch(r){e({variant:"destructive",title:"Error",description:"Failed to delete APN profiles. Please try again."})}finally{g(!1)}}},b=(e,r)=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsxs)(c._,{htmlFor:"APNProfile".concat(r),children:["APN Profile ",r]}),l?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsx)(a.I,{type:"text",id:"APNProfile".concat(r),placeholder:"APN for Profile ".concat(r),value:N[e].apn,onChange:r=>T(e,"apn",r.target.value)})]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"PDPType".concat(r),children:"APN PDP Type"}),l?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N[e].pdpType,onValueChange:r=>T(e,"pdpType",r),children:[(0,i.jsx)(n.i4,{id:"PDPType".concat(r),children:(0,i.jsx)(n.ki,{placeholder:"Select PDP Type"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"PDP Type"}),w.map(e=>{let{value:r,label:l}=e;return(0,i.jsx)(n.Ql,{value:r,children:l},r)})]})})]})]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2 col-span-2",children:[(0,i.jsxs)(c._,{htmlFor:"ICCIDProfile".concat(r),children:["ICCID Profile ",r]}),l?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsx)(a.I,{type:"text",id:"ICCIDProfile".concat(r),placeholder:"ICCID for Profile ".concat(r),value:N[e].iccid,onChange:r=>T(e,"iccid",r.target.value)})]})]});return(0,i.jsxs)(s.Zb,{children:[(0,i.jsxs)(s.Ol,{children:[(0,i.jsx)(s.ll,{children:"APN and ICCID Profiles"}),(0,i.jsx)(s.SZ,{children:"Configure APN profiles based on SIM card ICCID. Profile 1 is required."})]}),(0,i.jsx)(s.aY,{children:(0,i.jsxs)("form",{className:"grid grid-cols-1 lg:grid-cols-2 grid-flow-row gap-6",onSubmit:I,children:[b("profile1",1),(0,i.jsx)(y.Z,{className:"col-span-2 w-full my-2"}),b("profile2",2),(0,i.jsx)("div",{className:"col-span-2",children:(0,i.jsxs)(s.eW,{className:"border-t py-4 grid md:grid-cols-2 grid-cols-1 gap-4 px-0",children:[(0,i.jsxs)(o.z,{type:"submit",disabled:h||v,children:[(0,i.jsx)(x.Z,{className:"h-4 w-4"}),h?"Saving...":"Save Profiles"]}),(0,i.jsxs)(o.z,{type:"button",variant:"secondary",onClick:C,disabled:h||v,children:[(0,i.jsx)(m.Z,{className:"h-4 w-4"}),v?"Deleting...":"Delete All Profiles"]})]})})]})})]})},T=()=>{var e,r,l;let{toast:u}=(0,p.pm)(),{data:h,isLoading:P,fetchCellSettingsData:v}=f(),[g,y]=(0,t.useState)(!1),[x,m]=(0,t.useState)(!1),[N,j]=(0,t.useState)({currentAPN:"",apnPDPType:"",preferredNetworkType:"",nr5gMode:"",simSlot:""});(0,t.useEffect)(()=>{h&&!x&&(j({currentAPN:String(h.currentAPN||""),apnPDPType:String(h.apnPDPType||""),preferredNetworkType:String(h.preferredNetworkType||""),nr5gMode:String(h.nr5gMode||""),simSlot:String(h.simSlot||"")}),m(!0))},[h,x]),(0,t.useEffect)(()=>{h||m(!1)},[h]);let w=e=>{let r=[];if(e.currentAPN||e.apnPDPType){let l=e.apnPDPType||N.apnPDPType,i=e.currentAPN||N.currentAPN;r.push('AT+CGDCONT=1,"'.concat(l,'","').concat(i,'"'))}if(e.preferredNetworkType){let l='+QNWPREFCFG="mode_pref",'.concat(e.preferredNetworkType);r.push(0===r.length?"AT".concat(l):l)}if(e.nr5gMode){let l='+QNWPREFCFG="nr5g_disable_mode",'.concat(e.nr5gMode);r.push(0===r.length?"AT".concat(l):l)}if(e.simSlot){let l="+QUIMSLOT=".concat(e.simSlot,";+COPS=2;+COPS=0");r.push(0===r.length?"AT".concat(l):l)}return r.join(";")},T=(e,r)=>{j(l=>({...l,[e]:r}))},A=async()=>{try{let e=await fetch("/cgi-bin/settings/force-rerun.sh"),r=await e.json();if("success"===r.status)u({title:"Scripts Restarted",description:"Scripts have been restarted successfully"});else if("info"===r.status)u({title:"Info",description:"No scripts were found to restart"});else throw Error("Failed to restart scripts")}catch(e){console.error("Error rerunning scripts:",e),u({variant:"destructive",title:"Script Restart Failed",description:"Failed to restart the required scripts"})}},I=async e=>{e.preventDefault(),y(!0);try{let e={};if(Object.keys(N).forEach(r=>{N[r]!==(null==h?void 0:h[r])&&(e[r]=N[r])}),0===Object.keys(e).length){u({title:"No changes detected",description:"Try changing some settings before saving"});return}let r=w(e),l=encodeURIComponent(r);if(!(await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(l)})).ok)throw Error("Failed to save settings");await v(),m(!1),u({title:"Settings saved!",description:"The settings have been saved successfully",duration:3e3}),e.simSlot&&setTimeout(()=>{A()},3100)}catch(e){console.error("Error saving settings:",e),u({variant:"destructive",title:"Failed to save settings!",description:"An error occurred while saving the settings"})}finally{y(!1)}};return(0,i.jsxs)("div",{className:"grid grid-cols-1 grid-flow-row gap-8",children:[(0,i.jsx)(s.Zb,{children:(0,i.jsxs)("form",{onSubmit:I,children:[(0,i.jsxs)(s.Ol,{children:[(0,i.jsx)(s.ll,{children:"Network Settings"}),(0,i.jsx)(s.SZ,{children:"Change the network settings of the device."})]}),(0,i.jsx)(s.aY,{children:(0,i.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 grid-flow-row gap-6",children:[(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"APN",children:"Current APN"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsx)(a.I,{type:"text",id:"APN",placeholder:"Current APN",value:N.currentAPN,onChange:e=>T("currentAPN",e.target.value)})]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"APN",children:"APN PDP Type"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N.apnPDPType,onValueChange:e=>T("apnPDPType",e),children:[(0,i.jsx)(n.i4,{children:(0,i.jsx)(n.ki,{children:N.apnPDPType?({IPV4:"IPv4 Only",IPV6:"IPv6 Only",IPV4V6:"IPv4 and IPv6",P2P:"P2P Protocol"})[e=N.apnPDPType]||e:"Select PDP Type"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"PDP Type"}),(0,i.jsx)(n.Ql,{value:"IPV4",children:"IPv4 Only"}),(0,i.jsx)(n.Ql,{value:"IPV6",children:"IPv6 Only"}),(0,i.jsx)(n.Ql,{value:"IPV4V6",children:"IPv4 and IPv6"}),(0,i.jsx)(n.Ql,{value:"P2P",children:"P2P Protocol"})]})})]},"pdp-type-".concat(N.apnPDPType))]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{children:"Preferred Network Type"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N.preferredNetworkType,onValueChange:e=>T("preferredNetworkType",e),children:[(0,i.jsx)(n.i4,{children:(0,i.jsx)(n.ki,{children:N.preferredNetworkType?({AUTO:"Automatic",LTE:"LTE Only","LTE:NR5G":"NR5G-NSA",NR5G:"NR5G-SA"})[r=N.preferredNetworkType]||r:"Select Network Type"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"Preferred Network Type"}),(0,i.jsx)(n.Ql,{value:"AUTO",children:"Automatic"}),(0,i.jsx)(n.Ql,{value:"LTE",children:"LTE Only"}),(0,i.jsx)(n.Ql,{value:"LTE:NR5G",children:"NR5G-NSA"}),(0,i.jsx)(n.Ql,{value:"NR5G",children:"NR5G-SA"})]})})]},"network-type-".concat(N.preferredNetworkType))]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{children:"NR5G Mode Control"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N.nr5gMode,onValueChange:e=>T("nr5gMode",e),children:[(0,i.jsx)(n.i4,{children:(0,i.jsx)(n.ki,{children:N.nr5gMode?({0:"NR5G-SA and NSA Enabled",1:"NR5G-NSA Only",2:"NR5G-SA Only"})[l=N.nr5gMode]||l:"Select NR5G Mode"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"NR5G Mode"}),(0,i.jsx)(n.Ql,{value:"0",children:"NR5G-SA and NSA Enabled"}),(0,i.jsx)(n.Ql,{value:"1",children:"NR5G-NSA Only"}),(0,i.jsx)(n.Ql,{value:"2",children:"NR5G-SA Only"})]})})]},"nr5g-mode-".concat(N.nr5gMode))]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{children:"U-SIM Slot Configuration"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N.simSlot,onValueChange:e=>T("simSlot",e),children:[(0,i.jsx)(n.i4,{children:(0,i.jsx)(n.ki,{children:N.simSlot?"U-SIM Slot ".concat(N.simSlot):"Select U-SIM Slot"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"U-SIM Slot"}),(0,i.jsx)(n.Ql,{value:"1",children:"U-SIM Slot 1"}),(0,i.jsx)(n.Ql,{value:"2",children:"U-SIM Slot 2"})]})})]},"sim-slot-".concat(N.simSlot))]})]})}),(0,i.jsx)(s.eW,{className:"grid border-t py-4",children:(0,i.jsx)(o.z,{type:"submit",disabled:g,children:g?"Saving...":"Save"})})]})}),(0,i.jsx)(S,{})]})}},88766:function(e,r,l){"use strict";l.d(r,{O:function(){return s}});var i=l(20881),t=l(90270);function s(e){let{className:r,...l}=e;return(0,i.jsx)("div",{className:(0,t.cn)("animate-pulse rounded-md bg-primary/10",r),...l})}},36306:function(e,r,l){"use strict";l.d(r,{Z:function(){return i}});let i=(0,l(92093).Z)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])}},function(e){e.O(0,[792,59,714,217,420,72,247,985,330,744],function(){return e(e.s=51437)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[265],{51437:function(e,r,l){Promise.resolve().then(l.bind(l,80887))},80887:function(e,r,l){"use strict";l.r(r),l.d(r,{default:function(){return T}});var i=l(20881),t=l(64149),s=l(94920),n=l(22989),o=l(78580),a=l(33335),c=l(21501),d=l(88766),p=l(46646),f=()=>{let[e,r]=(0,t.useState)(null),[l,i]=(0,t.useState)(!0),s=(0,t.useCallback)(async()=>{try{i(!0);let e=await fetch("/cgi-bin/fetch_data.sh?set=2"),l=await e.json();console.log("Fetched cell settings data:",l);let t={currentAPN:u(l[0].response,l[1].response),apnPDPType:h(l[0].response),preferredNetworkType:P(l[2].response),nr5gMode:v(l[3].response),simSlot:g(l[4].response)};r(t),console.log("Processed cell settings data:",t)}catch(e){console.error("Error fetching cell settings data:",e)}i(!1)},[]);return(0,t.useEffect)(()=>{s()},[s]),{data:e,isLoading:l,fetchCellSettingsData:s}};let u=(e,r)=>{var l,i;let t=null===(l=e.split("\n").find(e=>e.includes("+CGDCONT: 1")))||void 0===l?void 0:l.split(",")[2].replace(/"/g,"");if(void 0===t||""===t){let e=null===(i=r.split("\n").find(e=>e.includes("+CGCONTRDP:")))||void 0===i?void 0:i.split(",")[2].replace(/"/g,"");return void 0===e||""===e?"No APN found":e}return t},h=e=>{var r;let l=null===(r=e.split("\n").find(e=>e.includes("+CGDCONT: 1")))||void 0===r?void 0:r.split(",")[1].replace(/"/g,"");return void 0===l||""===l?"Error fetching PDP Type":l},P=e=>{var r;let l=null===(r=e.split("\n").find(e=>e.includes('+QNWPREFCFG: "mode_pref"')))||void 0===r?void 0:r.split(",")[1].replace(/"/g,"");return void 0===l||""===l?"Error fetching network type":l},v=e=>{var r;let l=null===(r=e.split("\n").find(e=>e.includes('+QNWPREFCFG: "nr5g_disable_mode"')))||void 0===r?void 0:r.split(",")[1].replace(/"/g,"");return void 0===l||""===l?"Error fetching NR5G mode":l},g=e=>{var r;let l=null===(r=e.split("\n").find(e=>e.includes("+QUIMSLOT:")))||void 0===r?void 0:r.split(":")[1].trim();return void 0===l||""===l?"Error fetching SIM slot":l};var y=l(47657),x=l(24052),m=l(36306);let N={apn:"",pdpType:"",iccid:""},j={profile1:{...N},profile2:{...N}},w=[{value:"IPV4",label:"IPv4 Only"},{value:"IPV6",label:"IPv6 Only"},{value:"IPV4V6",label:"IPv4 and IPv6"},{value:"P2P",label:"P2P Protocol"}];var S=()=>{let{toast:e}=(0,p.pm)(),{profiles:r,isLoading:l,updateAPNProfile:f,deleteAPNProfiles:u}=function(){let[e,r]=(0,t.useState)({}),[l,i]=(0,t.useState)(!0),s=async()=>{try{i(!0);let e=await fetch("/cgi-bin/cell-settings/apn-profiles/fetch-profile.sh",{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded"},signal:AbortSignal.timeout(1e4)});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let l=await e.json();console.log("Fetched APN profiles data:",l),r(l)}catch(e){console.error("Error fetching APN profiles:",e)}finally{i(!1)}};(0,t.useEffect)(()=>{s()},[]);let n=async(l,i)=>{try{var t,s,n,o,a,c;let d=new URLSearchParams;"profile1"===l?(d.append("iccidProfile1",i.iccid),d.append("apnProfile1",i.apn),d.append("pdpType1",i.pdpType)):(d.append("iccidProfile1",(null===(t=e.profile1)||void 0===t?void 0:t.iccid)||""),d.append("apnProfile1",(null===(s=e.profile1)||void 0===s?void 0:s.apn)||""),d.append("pdpType1",(null===(n=e.profile1)||void 0===n?void 0:n.pdpType)||"")),("profile2"===l||e.profile2)&&(d.append("iccidProfile2","profile2"===l?i.iccid:(null===(o=e.profile2)||void 0===o?void 0:o.iccid)||""),d.append("apnProfile2","profile2"===l?i.apn:(null===(a=e.profile2)||void 0===a?void 0:a.apn)||""),d.append("pdpType2","profile2"===l?i.pdpType:(null===(c=e.profile2)||void 0===c?void 0:c.pdpType)||""));let p=await fetch("/cgi-bin/cell-settings/apn-profiles/save-profile.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:d.toString(),signal:AbortSignal.timeout(1e4)});if(!p.ok)throw Error("Failed to update profile");let f=await p.json();if("success"===f.status)return r(e=>({...e,[l]:i})),!0;throw Error(f.message||"Failed to update profile")}catch(e){return console.error("Error updating ".concat(l,":"),e),!1}};return{profiles:e,isLoading:l,updateAPNProfile:n,deleteAPNProfiles:async()=>{try{let e=await fetch("/cgi-bin/cell-settings/apn-profiles/delete-profile.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},signal:AbortSignal.timeout(1e4)});if(!e.ok)throw Error("Failed to delete profiles");let l=await e.json();if("success"===l.status)return r({}),!0;throw Error(l.message||"Failed to delete profiles")}catch(e){return console.error("Error deleting APN profiles:",e),!1}}}}(),[h,P]=(0,t.useState)(!1),[v,g]=(0,t.useState)(!1),[N,S]=(0,t.useState)(j);(0,t.useEffect)(()=>{if(r){var e,l,i,t,s,n;S({profile1:{apn:(null===(e=r.profile1)||void 0===e?void 0:e.apn)||"",pdpType:(null===(l=r.profile1)||void 0===l?void 0:l.pdpType)||"",iccid:(null===(i=r.profile1)||void 0===i?void 0:i.iccid)||""},profile2:{apn:(null===(t=r.profile2)||void 0===t?void 0:t.apn)||"",pdpType:(null===(s=r.profile2)||void 0===s?void 0:s.pdpType)||"",iccid:(null===(n=r.profile2)||void 0===n?void 0:n.iccid)||""}})}},[r]);let T=(e,r,l)=>{S(i=>({...i,[e]:{...i[e],[r]:l}}))},A=()=>N.profile1.apn&&N.profile1.pdpType&&N.profile1.iccid?!Object.values(N.profile2).some(e=>""!==e)||!!N.profile2.apn&&!!N.profile2.pdpType&&!!N.profile2.iccid||(e({variant:"destructive",title:"Invalid Profile 2",description:"All fields for Profile 2 are required if any field is filled"}),!1):(e({variant:"destructive",title:"Invalid Profile 1",description:"All fields for Profile 1 are required"}),!1),I=async r=>{if(r.preventDefault(),A()){P(!0);try{let r=await f("profile1",N.profile1),l=!Object.values(N.profile2).some(e=>""!==e)||await f("profile2",N.profile2);if(r&&l)e({title:"Success",description:"APN profiles have been saved successfully"});else throw Error("Failed to save one or more profiles")}catch(r){e({variant:"destructive",title:"Error",description:"Failed to save APN profiles. Please try again."})}finally{P(!1)}}},C=async()=>{if(confirm("Are you sure you want to delete all APN profiles?")){g(!0);try{if(await u())S(j),e({title:"Success",description:"APN profiles have been deleted successfully"});else throw Error("Failed to delete profiles")}catch(r){e({variant:"destructive",title:"Error",description:"Failed to delete APN profiles. Please try again."})}finally{g(!1)}}},b=(e,r)=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsxs)(c._,{htmlFor:"APNProfile".concat(r),children:["APN Profile ",r]}),l?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsx)(a.I,{type:"text",id:"APNProfile".concat(r),placeholder:"APN for Profile ".concat(r),value:N[e].apn,onChange:r=>T(e,"apn",r.target.value)})]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"PDPType".concat(r),children:"APN PDP Type"}),l?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N[e].pdpType,onValueChange:r=>T(e,"pdpType",r),children:[(0,i.jsx)(n.i4,{id:"PDPType".concat(r),children:(0,i.jsx)(n.ki,{placeholder:"Select PDP Type"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"PDP Type"}),w.map(e=>{let{value:r,label:l}=e;return(0,i.jsx)(n.Ql,{value:r,children:l},r)})]})})]})]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2 col-span-2",children:[(0,i.jsxs)(c._,{htmlFor:"ICCIDProfile".concat(r),children:["ICCID Profile ",r]}),l?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsx)(a.I,{type:"text",id:"ICCIDProfile".concat(r),placeholder:"ICCID for Profile ".concat(r),value:N[e].iccid,onChange:r=>T(e,"iccid",r.target.value)})]})]});return(0,i.jsxs)(s.Zb,{children:[(0,i.jsxs)(s.Ol,{children:[(0,i.jsx)(s.ll,{children:"APN and ICCID Profiles"}),(0,i.jsx)(s.SZ,{children:"Configure APN profiles based on SIM card ICCID. Profile 1 is required."})]}),(0,i.jsx)(s.aY,{children:(0,i.jsxs)("form",{className:"grid grid-cols-1 lg:grid-cols-2 grid-flow-row gap-6",onSubmit:I,children:[b("profile1",1),(0,i.jsx)(y.Z,{className:"col-span-2 w-full my-2"}),b("profile2",2),(0,i.jsx)("div",{className:"col-span-2",children:(0,i.jsxs)(s.eW,{className:"border-t py-4 grid md:grid-cols-2 grid-cols-1 gap-4 px-0",children:[(0,i.jsxs)(o.z,{type:"submit",disabled:h||v,children:[(0,i.jsx)(x.Z,{className:"h-4 w-4"}),h?"Saving...":"Save Profiles"]}),(0,i.jsxs)(o.z,{type:"button",variant:"secondary",onClick:C,disabled:h||v,children:[(0,i.jsx)(m.Z,{className:"h-4 w-4"}),v?"Deleting...":"Delete All Profiles"]})]})})]})})]})},T=()=>{var e,r,l;let{toast:u}=(0,p.pm)(),{data:h,isLoading:P,fetchCellSettingsData:v}=f(),[g,y]=(0,t.useState)(!1),[x,m]=(0,t.useState)(!1),[N,j]=(0,t.useState)({currentAPN:"",apnPDPType:"",preferredNetworkType:"",nr5gMode:"",simSlot:""});(0,t.useEffect)(()=>{h&&!x&&(j({currentAPN:String(h.currentAPN||""),apnPDPType:String(h.apnPDPType||""),preferredNetworkType:String(h.preferredNetworkType||""),nr5gMode:String(h.nr5gMode||""),simSlot:String(h.simSlot||"")}),m(!0))},[h,x]),(0,t.useEffect)(()=>{h||m(!1)},[h]);let w=e=>{let r=[];if(e.currentAPN||e.apnPDPType){let l=e.apnPDPType||N.apnPDPType,i=e.currentAPN||N.currentAPN;r.push('AT+CGDCONT=1,"'.concat(l,'","').concat(i,'"'))}if(e.preferredNetworkType){let l='+QNWPREFCFG="mode_pref",'.concat(e.preferredNetworkType);r.push(0===r.length?"AT".concat(l):l)}if(e.nr5gMode){let l='+QNWPREFCFG="nr5g_disable_mode",'.concat(e.nr5gMode);r.push(0===r.length?"AT".concat(l):l)}if(e.simSlot){let l="+QUIMSLOT=".concat(e.simSlot,";+COPS=2;+COPS=0");r.push(0===r.length?"AT".concat(l):l)}return r.join(";")},T=(e,r)=>{j(l=>({...l,[e]:r}))},A=async()=>{try{let e=await fetch("/cgi-bin/settings/force-rerun.sh"),r=await e.json();if("success"===r.status)u({title:"Scripts Restarted",description:"Scripts have been restarted successfully"});else if("info"===r.status)u({title:"Info",description:"No scripts were found to restart"});else throw Error("Failed to restart scripts")}catch(e){console.error("Error rerunning scripts:",e),u({variant:"destructive",title:"Script Restart Failed",description:"Failed to restart the required scripts"})}},I=async e=>{e.preventDefault(),y(!0);try{let e={};if(Object.keys(N).forEach(r=>{N[r]!==(null==h?void 0:h[r])&&(e[r]=N[r])}),0===Object.keys(e).length){u({title:"No changes detected",description:"Try changing some settings before saving"});return}let r=w(e),l=encodeURIComponent(r);if(!(await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(l)})).ok)throw Error("Failed to save settings");await v(),m(!1),u({title:"Settings saved!",description:"The settings have been saved successfully",duration:3e3}),e.simSlot&&setTimeout(()=>{A()},3100)}catch(e){console.error("Error saving settings:",e),u({variant:"destructive",title:"Failed to save settings!",description:"An error occurred while saving the settings"})}finally{y(!1)}};return(0,i.jsxs)("div",{className:"grid grid-cols-1 grid-flow-row gap-8",children:[(0,i.jsx)(s.Zb,{children:(0,i.jsxs)("form",{onSubmit:I,children:[(0,i.jsxs)(s.Ol,{children:[(0,i.jsx)(s.ll,{children:"Network Settings"}),(0,i.jsx)(s.SZ,{children:"Change the network settings of the device."})]}),(0,i.jsx)(s.aY,{children:(0,i.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 grid-flow-row gap-6",children:[(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"APN",children:"Current APN"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsx)(a.I,{type:"text",id:"APN",placeholder:"Current APN",value:N.currentAPN,onChange:e=>T("currentAPN",e.target.value)})]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{htmlFor:"APN",children:"APN PDP Type"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N.apnPDPType,onValueChange:e=>T("apnPDPType",e),children:[(0,i.jsx)(n.i4,{children:(0,i.jsx)(n.ki,{children:N.apnPDPType?({IPV4:"IPv4 Only",IPV6:"IPv6 Only",IPV4V6:"IPv4 and IPv6",P2P:"P2P Protocol"})[e=N.apnPDPType]||e:"Select PDP Type"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"PDP Type"}),(0,i.jsx)(n.Ql,{value:"IPV4",children:"IPv4 Only"}),(0,i.jsx)(n.Ql,{value:"IPV6",children:"IPv6 Only"}),(0,i.jsx)(n.Ql,{value:"IPV4V6",children:"IPv4 and IPv6"}),(0,i.jsx)(n.Ql,{value:"P2P",children:"P2P Protocol"})]})})]},"pdp-type-".concat(N.apnPDPType))]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{children:"Preferred Network Type"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N.preferredNetworkType,onValueChange:e=>T("preferredNetworkType",e),children:[(0,i.jsx)(n.i4,{children:(0,i.jsx)(n.ki,{children:N.preferredNetworkType?({AUTO:"Automatic",LTE:"LTE Only","LTE:NR5G":"NR5G-NSA",NR5G:"NR5G-SA"})[r=N.preferredNetworkType]||r:"Select Network Type"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"Preferred Network Type"}),(0,i.jsx)(n.Ql,{value:"AUTO",children:"Automatic"}),(0,i.jsx)(n.Ql,{value:"LTE",children:"LTE Only"}),(0,i.jsx)(n.Ql,{value:"LTE:NR5G",children:"NR5G-NSA"}),(0,i.jsx)(n.Ql,{value:"NR5G",children:"NR5G-SA"})]})})]},"network-type-".concat(N.preferredNetworkType))]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{children:"NR5G Mode Control"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N.nr5gMode,onValueChange:e=>T("nr5gMode",e),children:[(0,i.jsx)(n.i4,{children:(0,i.jsx)(n.ki,{children:N.nr5gMode?({0:"NR5G-SA and NSA Enabled",1:"NR5G-NSA Only",2:"NR5G-SA Only"})[l=N.nr5gMode]||l:"Select NR5G Mode"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"NR5G Mode"}),(0,i.jsx)(n.Ql,{value:"0",children:"NR5G-SA and NSA Enabled"}),(0,i.jsx)(n.Ql,{value:"1",children:"NR5G-NSA Only"}),(0,i.jsx)(n.Ql,{value:"2",children:"NR5G-SA Only"})]})})]},"nr5g-mode-".concat(N.nr5gMode))]}),(0,i.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,i.jsx)(c._,{children:"U-SIM Slot Configuration"}),P?(0,i.jsx)(d.O,{className:"h-8"}):(0,i.jsxs)(n.Ph,{value:N.simSlot,onValueChange:e=>T("simSlot",e),children:[(0,i.jsx)(n.i4,{children:(0,i.jsx)(n.ki,{children:N.simSlot?"U-SIM Slot ".concat(N.simSlot):"Select U-SIM Slot"})}),(0,i.jsx)(n.Bw,{children:(0,i.jsxs)(n.DI,{children:[(0,i.jsx)(n.n5,{children:"U-SIM Slot"}),(0,i.jsx)(n.Ql,{value:"1",children:"U-SIM Slot 1"}),(0,i.jsx)(n.Ql,{value:"2",children:"U-SIM Slot 2"})]})})]},"sim-slot-".concat(N.simSlot))]})]})}),(0,i.jsx)(s.eW,{className:"grid border-t py-4",children:(0,i.jsx)(o.z,{type:"submit",disabled:g,children:g?"Saving...":"Save"})})]})}),(0,i.jsx)(S,{})]})}},88766:function(e,r,l){"use strict";l.d(r,{O:function(){return s}});var i=l(20881),t=l(90270);function s(e){let{className:r,...l}=e;return(0,i.jsx)("div",{className:(0,t.cn)("animate-pulse rounded-md bg-primary/10",r),...l})}},36306:function(e,r,l){"use strict";l.d(r,{Z:function(){return i}});let i=(0,l(92093).Z)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])}},function(e){e.O(0,[792,366,714,217,420,72,247,985,330,744],function(){return e(e.s=51437)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-8154deabdb3e9b66.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-18759b6c26dd6e17.js similarity index 99% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-8154deabdb3e9b66.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-18759b6c26dd6e17.js index 1376b2e..cc86840 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-8154deabdb3e9b66.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/cell-locking/page-18759b6c26dd6e17.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81],{63542:function(e,t,a){Promise.resolve().then(a.bind(a,61830))},61830:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return j}});var s=a(20881),l=a(64149),r=a(94920),i=a(22989),c=a(78580),n=a(47657),o=a(33335),d=a(21501),h=a(64433),u=a(45306),C=a(79442),N=l.forwardRef((e,t)=>{let{pressed:a,defaultPressed:l=!1,onPressedChange:r,...i}=e,[c=!1,n]=(0,u.T)({prop:a,onChange:r,defaultProp:l});return(0,s.jsx)(C.WV.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...i,ref:t,onClick:(0,h.M)(e.onClick,()=>{e.disabled||n(!c)})})});N.displayName="Toggle";var m=a(20116),g=a(90270);let p=(0,m.j)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),x=l.forwardRef((e,t)=>{let{className:a,variant:l,size:r,...i}=e;return(0,s.jsx)(N,{ref:t,className:(0,g.cn)(p({variant:l,size:r,className:a})),...i})});x.displayName=N.displayName;var w=a(5501),f=a(24052),R=a(7357),v=a(46646),j=()=>{let{toast:e}=(0,v.pm)(),[t,a]=(0,l.useState)(!1),[h,u]=(0,l.useState)(!1),[C,N]=(0,l.useState)(!1),[m,g]=(0,l.useState)(!1),[p,j]=(0,l.useState)({EARFCN1:"",PCI1:"",EARFCN2:"",PCI2:"",EARFCN3:"",PCI3:""}),[A,P]=(0,l.useState)({NRARFCN:"",NRPCI:"",SCS:"",NRBAND:""}),E=async e=>{let t=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)}),a=await e.json();if(!e.ok)throw Error(a.error||"Failed to execute AT command");return a}catch(e){if(e instanceof Error)throw Error("AT command failed: ".concat(e.message));throw Error("AT command failed with unknown error")}},F=e=>{let t=e.match(/\+QNWLOCK:\s*(.+?)\n/);return t?t[1].replace(/"/g,"").split(",").map(e=>e.trim()):null},y=async()=>{try{let e=await E('AT+QNWLOCK="save_ctrl"');if(e&&e.output){let t=F(e.output);console.log("Persist status:",t),t&&t.length>=2&&(N("1"===t[1]),g("1"===t[2]))}}catch(e){console.error("Error fetching persist status:",e)}},I=async()=>{try{a(!0),await y(),await new Promise(e=>setTimeout(e,1e3));let e=await E('AT+QNWLOCK="common/4g"');if(e&&e.output){let t=F(e.output);if(t){let e=parseInt(t[1]),a={EARFCN1:e>=1?t[2]:"",PCI1:e>=1?t[3]:"",EARFCN2:e>=2?t[4]:"",PCI2:e>=2?t[5]:"",EARFCN3:e>=3?t[6]:"",PCI3:e>=3?t[7]:""};j(a),e>0&&u(!0)}}let t=await E('AT+QNWLOCK="common/5g"');if(console.log("Current NR5G lock status:",t),t&&t.output){let e=F(t.output);if(e&&e.length>=5){let t={NRPCI:e[1],NRARFCN:e[2],SCS:e[3],NRBAND:e[4]};P(t),parseInt(e[1])>0&&u(!0)}}}catch(t){console.error("Error fetching current status:",t),e({title:"Error",description:"Failed to fetch current cell locking status",variant:"destructive"})}finally{a(!1)}};(0,l.useEffect)(()=>{I()},[]);let S=async()=>{try{a(!0);let t=[];if(p.EARFCN1&&p.PCI1&&t.push([p.EARFCN1,p.PCI1]),p.EARFCN2&&p.PCI2&&t.push([p.EARFCN2,p.PCI2]),p.EARFCN3&&p.PCI3&&t.push([p.EARFCN3,p.PCI3]),0===t.length)throw Error("Please fill at least one EARFCN and PCI pair");let s='AT+QNWLOCK="common/4g",'.concat(t.length);t.forEach(e=>{let[t,a]=e;s+=",".concat(t,",").concat(a)}),await E(s),await new Promise(e=>setTimeout(e,1e3)),await E('AT+QNWLOCK="save_ctrl",1,0'),await I(),e({title:"Success",description:"LTE cells locked successfully with ".concat(t.length," pair").concat(t.length>1?"s":"")})}catch(t){a(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock LTE cells",variant:"destructive"})}},b=async()=>{try{if(a(!0),!A.NRPCI||!A.NRARFCN||!A.SCS||!A.NRBAND)throw Error("Please fill all NR5G fields");let t='AT+QNWLOCK="common/5g",'.concat(A.NRPCI,",").concat(A.NRARFCN,",").concat(A.SCS,",").concat(A.NRBAND);await E(t),await new Promise(e=>setTimeout(e,1e3)),await E('AT+QNWLOCK="save_ctrl",0,1'),await I(),e({title:"Success",description:"NR5G cell locked successfully"})}catch(t){a(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock NR5G cell",variant:"destructive"})}},k=async()=>{try{a(!0),await E('AT+QNWLOCK="common/4g",0'),await new Promise(e=>setTimeout(e,1e3)),await E('AT+QNWLOCK="save_ctrl",1,0'),await E("AT+COPS=2"),await new Promise(e=>setTimeout(e,2e3)),await E("AT+COPS=0"),await I(),e({title:"Success",description:"LTE cell locking reset to default"})}catch(t){a(!1),e({title:"Error",description:"Failed to reset LTE cell locking",variant:"destructive"})}},T=async()=>{try{a(!0),await E('AT+QNWLOCK="common/5g",0'),await E('AT+QNWLOCK="save_ctrl",0,1'),await E("AT+COPS=2"),await new Promise(e=>setTimeout(e,2e3)),await E("AT+COPS=0"),await I(),e({title:"Success",description:"NR5G cell locking reset to default"})}catch(t){a(!1),e({title:"Error",description:"Failed to reset NR5G cell locking",variant:"destructive"})}},L=async t=>{try{a(!0),await E('AT+QNWLOCK="save_ctrl",'.concat(t?"1":"0",",").concat(m?"1":"0")),await y(),e({title:"Success",description:"LTE persist on boot ".concat(t?"enabled":"disabled")}),await new Promise(e=>setTimeout(e,2e3)),window.location.reload()}catch(t){e({title:"Error",description:"Failed to update LTE persist setting",variant:"destructive"})}finally{a(!1)}},_=async t=>{try{a(!0),await E('AT+QNWLOCK="save_ctrl",'.concat(C?"1":"0",",").concat(t?"1":"0")),await y(),e({title:"Success",description:"NR5G persist on boot ".concat(t?"enabled":"disabled")}),await new Promise(e=>setTimeout(e,2e3)),window.location.reload()}catch(t){e({title:"Error",description:"Failed to update NR5G persist setting",variant:"destructive"})}finally{a(!1)}};return(0,s.jsxs)("div",{className:"grid gap-6",children:[(0,s.jsxs)(r.Zb,{children:[(0,s.jsxs)(r.Ol,{children:[(0,s.jsx)(r.ll,{children:"4G LTE Cellular Locking"}),(0,s.jsx)(r.SZ,{children:"Lock the device to specific LTE Physical Cell IDs."})]}),(0,s.jsx)(r.aY,{children:(0,s.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-6",children:[(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"EARFCN1",children:"EARFCN 1"}),(0,s.jsx)(o.I,{type:"text",id:"EARFCN1",placeholder:"EARFCN 1",value:p.EARFCN1,onChange:e=>j(t=>({...t,EARFCN1:e.target.value}))})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"PCI1",children:"PCI 1"}),(0,s.jsx)(o.I,{type:"text",id:"PCI1",placeholder:"PCI 1",value:p.PCI1,onChange:e=>j(t=>({...t,PCI1:e.target.value}))})]}),(0,s.jsx)(n.Z,{className:"my-1 col-span-2 w-full"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"EARFCN2",children:"EARFCN 2"}),(0,s.jsx)(o.I,{type:"text",id:"EARFCN2",placeholder:"EARFCN 2",value:p.EARFCN2,onChange:e=>j(t=>({...t,EARFCN2:e.target.value}))})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"PCI2",children:"PCI 2"}),(0,s.jsx)(o.I,{type:"text",id:"PCI2",placeholder:"PCI 2",value:p.PCI2,onChange:e=>j(t=>({...t,PCI2:e.target.value}))})]}),(0,s.jsx)(n.Z,{className:"my-1 col-span-2 w-full"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"EARFCN3",children:"EARFCN 3"}),(0,s.jsx)(o.I,{type:"text",id:"EARFCN3",placeholder:"EARFCN 3",value:p.EARFCN3,onChange:e=>j(t=>({...t,EARFCN3:e.target.value}))})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"PCI3",children:"PCI 3"}),(0,s.jsx)(o.I,{type:"text",id:"PCI3",placeholder:"PCI 3",value:p.PCI3,onChange:e=>j(t=>({...t,PCI3:e.target.value}))})]})]})}),(0,s.jsxs)(r.eW,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,s.jsxs)(c.z,{onClick:S,disabled:t,children:[(0,s.jsx)(w.Z,{className:"h-4 w-4"}),"Lock LTE Cells"]}),(0,s.jsxs)(x,{pressed:C,onPressedChange:L,disabled:t,children:[(0,s.jsx)(f.Z,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,s.jsxs)(c.z,{variant:"secondary",onClick:k,disabled:t||!h,children:[(0,s.jsx)(R.Z,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,s.jsxs)(r.Zb,{children:[(0,s.jsxs)(r.Ol,{children:[(0,s.jsx)(r.ll,{children:"NR5G-SA Cellular Locking"}),(0,s.jsx)(r.SZ,{children:"Lock the device to a specific NR5G-SA Physical Cell ID."})]}),(0,s.jsx)(r.aY,{children:(0,s.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-6",children:[(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"NR-ARFCN",children:"NR ARFCN"}),(0,s.jsx)(o.I,{type:"text",id:"NR-ARFCN",placeholder:"NR ARFCN",value:A.NRARFCN,onChange:e=>P(t=>({...t,NRARFCN:e.target.value}))})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"NR-PCI",children:"NR PCI"}),(0,s.jsx)(o.I,{type:"text",id:"NR-PCI",placeholder:"NR PCI",value:A.NRPCI,onChange:e=>P(t=>({...t,NRPCI:e.target.value}))})]}),(0,s.jsx)(n.Z,{className:"my-0.5 col-span-2 w-full"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"SCS",children:"SCS"}),(0,s.jsxs)(i.Ph,{value:A.SCS,onValueChange:e=>P(t=>({...t,SCS:e})),children:[(0,s.jsx)(i.i4,{id:"SCS",children:(0,s.jsx)(i.ki,{placeholder:"SCS"})}),(0,s.jsx)(i.Bw,{children:(0,s.jsxs)(i.DI,{children:[(0,s.jsx)(i.n5,{children:"SCS"}),(0,s.jsx)(i.Ql,{value:"15",children:"15 kHz"}),(0,s.jsx)(i.Ql,{value:"30",children:"30 kHz"}),(0,s.jsx)(i.Ql,{value:"60",children:"60 kHz"}),(0,s.jsx)(i.Ql,{value:"120",children:"120 kHz"}),(0,s.jsx)(i.Ql,{value:"240",children:"240 kHz"})]})})]})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"NRBAND",children:"NR Band"}),(0,s.jsx)(o.I,{type:"text",id:"NRBAND",placeholder:"NR BAND",value:A.NRBAND,onChange:e=>P(t=>({...t,NRBAND:e.target.value}))})]})]})}),(0,s.jsxs)(r.eW,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,s.jsxs)(c.z,{onClick:b,disabled:t,children:[(0,s.jsx)(w.Z,{className:"h-4 w-4"}),"Lock NR5G-SA Cell"]}),(0,s.jsxs)(x,{pressed:m,onPressedChange:_,disabled:t,children:[(0,s.jsx)(f.Z,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,s.jsxs)(c.z,{variant:"secondary",onClick:T,disabled:t||!h,children:[(0,s.jsx)(R.Z,{className:"h-4 w-4"}),"Reset to Default"]})]})]})]})}},5501:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(92093).Z)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},7357:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(92093).Z)("RefreshCcw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]])}},function(e){e.O(0,[792,59,714,217,420,72,247,985,330,744],function(){return e(e.s=63542)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81],{63542:function(e,t,a){Promise.resolve().then(a.bind(a,61830))},61830:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return j}});var s=a(20881),l=a(64149),r=a(94920),i=a(22989),c=a(78580),n=a(47657),o=a(33335),d=a(21501),h=a(64433),u=a(45306),C=a(79442),N=l.forwardRef((e,t)=>{let{pressed:a,defaultPressed:l=!1,onPressedChange:r,...i}=e,[c=!1,n]=(0,u.T)({prop:a,onChange:r,defaultProp:l});return(0,s.jsx)(C.WV.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...i,ref:t,onClick:(0,h.M)(e.onClick,()=>{e.disabled||n(!c)})})});N.displayName="Toggle";var m=a(20116),g=a(90270);let p=(0,m.j)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),x=l.forwardRef((e,t)=>{let{className:a,variant:l,size:r,...i}=e;return(0,s.jsx)(N,{ref:t,className:(0,g.cn)(p({variant:l,size:r,className:a})),...i})});x.displayName=N.displayName;var w=a(5501),f=a(24052),R=a(7357),v=a(46646),j=()=>{let{toast:e}=(0,v.pm)(),[t,a]=(0,l.useState)(!1),[h,u]=(0,l.useState)(!1),[C,N]=(0,l.useState)(!1),[m,g]=(0,l.useState)(!1),[p,j]=(0,l.useState)({EARFCN1:"",PCI1:"",EARFCN2:"",PCI2:"",EARFCN3:"",PCI3:""}),[A,P]=(0,l.useState)({NRARFCN:"",NRPCI:"",SCS:"",NRBAND:""}),E=async e=>{let t=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)}),a=await e.json();if(!e.ok)throw Error(a.error||"Failed to execute AT command");return a}catch(e){if(e instanceof Error)throw Error("AT command failed: ".concat(e.message));throw Error("AT command failed with unknown error")}},F=e=>{let t=e.match(/\+QNWLOCK:\s*(.+?)\n/);return t?t[1].replace(/"/g,"").split(",").map(e=>e.trim()):null},y=async()=>{try{let e=await E('AT+QNWLOCK="save_ctrl"');if(e&&e.output){let t=F(e.output);console.log("Persist status:",t),t&&t.length>=2&&(N("1"===t[1]),g("1"===t[2]))}}catch(e){console.error("Error fetching persist status:",e)}},I=async()=>{try{a(!0),await y(),await new Promise(e=>setTimeout(e,1e3));let e=await E('AT+QNWLOCK="common/4g"');if(e&&e.output){let t=F(e.output);if(t){let e=parseInt(t[1]),a={EARFCN1:e>=1?t[2]:"",PCI1:e>=1?t[3]:"",EARFCN2:e>=2?t[4]:"",PCI2:e>=2?t[5]:"",EARFCN3:e>=3?t[6]:"",PCI3:e>=3?t[7]:""};j(a),e>0&&u(!0)}}let t=await E('AT+QNWLOCK="common/5g"');if(console.log("Current NR5G lock status:",t),t&&t.output){let e=F(t.output);if(e&&e.length>=5){let t={NRPCI:e[1],NRARFCN:e[2],SCS:e[3],NRBAND:e[4]};P(t),parseInt(e[1])>0&&u(!0)}}}catch(t){console.error("Error fetching current status:",t),e({title:"Error",description:"Failed to fetch current cell locking status",variant:"destructive"})}finally{a(!1)}};(0,l.useEffect)(()=>{I()},[]);let S=async()=>{try{a(!0);let t=[];if(p.EARFCN1&&p.PCI1&&t.push([p.EARFCN1,p.PCI1]),p.EARFCN2&&p.PCI2&&t.push([p.EARFCN2,p.PCI2]),p.EARFCN3&&p.PCI3&&t.push([p.EARFCN3,p.PCI3]),0===t.length)throw Error("Please fill at least one EARFCN and PCI pair");let s='AT+QNWLOCK="common/4g",'.concat(t.length);t.forEach(e=>{let[t,a]=e;s+=",".concat(t,",").concat(a)}),await E(s),await new Promise(e=>setTimeout(e,1e3)),await E('AT+QNWLOCK="save_ctrl",1,0'),await I(),e({title:"Success",description:"LTE cells locked successfully with ".concat(t.length," pair").concat(t.length>1?"s":"")})}catch(t){a(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock LTE cells",variant:"destructive"})}},b=async()=>{try{if(a(!0),!A.NRPCI||!A.NRARFCN||!A.SCS||!A.NRBAND)throw Error("Please fill all NR5G fields");let t='AT+QNWLOCK="common/5g",'.concat(A.NRPCI,",").concat(A.NRARFCN,",").concat(A.SCS,",").concat(A.NRBAND);await E(t),await new Promise(e=>setTimeout(e,1e3)),await E('AT+QNWLOCK="save_ctrl",0,1'),await I(),e({title:"Success",description:"NR5G cell locked successfully"})}catch(t){a(!1),e({title:"Error",description:t instanceof Error?t.message:"Failed to lock NR5G cell",variant:"destructive"})}},k=async()=>{try{a(!0),await E('AT+QNWLOCK="common/4g",0'),await new Promise(e=>setTimeout(e,1e3)),await E('AT+QNWLOCK="save_ctrl",1,0'),await E("AT+COPS=2"),await new Promise(e=>setTimeout(e,2e3)),await E("AT+COPS=0"),await I(),e({title:"Success",description:"LTE cell locking reset to default"})}catch(t){a(!1),e({title:"Error",description:"Failed to reset LTE cell locking",variant:"destructive"})}},T=async()=>{try{a(!0),await E('AT+QNWLOCK="common/5g",0'),await E('AT+QNWLOCK="save_ctrl",0,1'),await E("AT+COPS=2"),await new Promise(e=>setTimeout(e,2e3)),await E("AT+COPS=0"),await I(),e({title:"Success",description:"NR5G cell locking reset to default"})}catch(t){a(!1),e({title:"Error",description:"Failed to reset NR5G cell locking",variant:"destructive"})}},L=async t=>{try{a(!0),await E('AT+QNWLOCK="save_ctrl",'.concat(t?"1":"0",",").concat(m?"1":"0")),await y(),e({title:"Success",description:"LTE persist on boot ".concat(t?"enabled":"disabled")}),await new Promise(e=>setTimeout(e,2e3)),window.location.reload()}catch(t){e({title:"Error",description:"Failed to update LTE persist setting",variant:"destructive"})}finally{a(!1)}},_=async t=>{try{a(!0),await E('AT+QNWLOCK="save_ctrl",'.concat(C?"1":"0",",").concat(t?"1":"0")),await y(),e({title:"Success",description:"NR5G persist on boot ".concat(t?"enabled":"disabled")}),await new Promise(e=>setTimeout(e,2e3)),window.location.reload()}catch(t){e({title:"Error",description:"Failed to update NR5G persist setting",variant:"destructive"})}finally{a(!1)}};return(0,s.jsxs)("div",{className:"grid gap-6",children:[(0,s.jsxs)(r.Zb,{children:[(0,s.jsxs)(r.Ol,{children:[(0,s.jsx)(r.ll,{children:"4G LTE Cellular Locking"}),(0,s.jsx)(r.SZ,{children:"Lock the device to specific LTE Physical Cell IDs."})]}),(0,s.jsx)(r.aY,{children:(0,s.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-6",children:[(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"EARFCN1",children:"EARFCN 1"}),(0,s.jsx)(o.I,{type:"text",id:"EARFCN1",placeholder:"EARFCN 1",value:p.EARFCN1,onChange:e=>j(t=>({...t,EARFCN1:e.target.value}))})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"PCI1",children:"PCI 1"}),(0,s.jsx)(o.I,{type:"text",id:"PCI1",placeholder:"PCI 1",value:p.PCI1,onChange:e=>j(t=>({...t,PCI1:e.target.value}))})]}),(0,s.jsx)(n.Z,{className:"my-1 col-span-2 w-full"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"EARFCN2",children:"EARFCN 2"}),(0,s.jsx)(o.I,{type:"text",id:"EARFCN2",placeholder:"EARFCN 2",value:p.EARFCN2,onChange:e=>j(t=>({...t,EARFCN2:e.target.value}))})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"PCI2",children:"PCI 2"}),(0,s.jsx)(o.I,{type:"text",id:"PCI2",placeholder:"PCI 2",value:p.PCI2,onChange:e=>j(t=>({...t,PCI2:e.target.value}))})]}),(0,s.jsx)(n.Z,{className:"my-1 col-span-2 w-full"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"EARFCN3",children:"EARFCN 3"}),(0,s.jsx)(o.I,{type:"text",id:"EARFCN3",placeholder:"EARFCN 3",value:p.EARFCN3,onChange:e=>j(t=>({...t,EARFCN3:e.target.value}))})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"PCI3",children:"PCI 3"}),(0,s.jsx)(o.I,{type:"text",id:"PCI3",placeholder:"PCI 3",value:p.PCI3,onChange:e=>j(t=>({...t,PCI3:e.target.value}))})]})]})}),(0,s.jsxs)(r.eW,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,s.jsxs)(c.z,{onClick:S,disabled:t,children:[(0,s.jsx)(w.Z,{className:"h-4 w-4"}),"Lock LTE Cells"]}),(0,s.jsxs)(x,{pressed:C,onPressedChange:L,disabled:t,children:[(0,s.jsx)(f.Z,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,s.jsxs)(c.z,{variant:"secondary",onClick:k,disabled:t||!h,children:[(0,s.jsx)(R.Z,{className:"h-4 w-4"}),"Reset to Default"]})]})]}),(0,s.jsxs)(r.Zb,{children:[(0,s.jsxs)(r.Ol,{children:[(0,s.jsx)(r.ll,{children:"NR5G-SA Cellular Locking"}),(0,s.jsx)(r.SZ,{children:"Lock the device to a specific NR5G-SA Physical Cell ID."})]}),(0,s.jsx)(r.aY,{children:(0,s.jsxs)("form",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-6",children:[(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"NR-ARFCN",children:"NR ARFCN"}),(0,s.jsx)(o.I,{type:"text",id:"NR-ARFCN",placeholder:"NR ARFCN",value:A.NRARFCN,onChange:e=>P(t=>({...t,NRARFCN:e.target.value}))})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"NR-PCI",children:"NR PCI"}),(0,s.jsx)(o.I,{type:"text",id:"NR-PCI",placeholder:"NR PCI",value:A.NRPCI,onChange:e=>P(t=>({...t,NRPCI:e.target.value}))})]}),(0,s.jsx)(n.Z,{className:"my-0.5 col-span-2 w-full"}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"SCS",children:"SCS"}),(0,s.jsxs)(i.Ph,{value:A.SCS,onValueChange:e=>P(t=>({...t,SCS:e})),children:[(0,s.jsx)(i.i4,{id:"SCS",children:(0,s.jsx)(i.ki,{placeholder:"SCS"})}),(0,s.jsx)(i.Bw,{children:(0,s.jsxs)(i.DI,{children:[(0,s.jsx)(i.n5,{children:"SCS"}),(0,s.jsx)(i.Ql,{value:"15",children:"15 kHz"}),(0,s.jsx)(i.Ql,{value:"30",children:"30 kHz"}),(0,s.jsx)(i.Ql,{value:"60",children:"60 kHz"}),(0,s.jsx)(i.Ql,{value:"120",children:"120 kHz"}),(0,s.jsx)(i.Ql,{value:"240",children:"240 kHz"})]})})]})]}),(0,s.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,s.jsx)(d._,{htmlFor:"NRBAND",children:"NR Band"}),(0,s.jsx)(o.I,{type:"text",id:"NRBAND",placeholder:"NR BAND",value:A.NRBAND,onChange:e=>P(t=>({...t,NRBAND:e.target.value}))})]})]})}),(0,s.jsxs)(r.eW,{className:"border-t py-4 grid grid-flow-row md:grid-cols-3 grid-cols-1 gap-4",children:[(0,s.jsxs)(c.z,{onClick:b,disabled:t,children:[(0,s.jsx)(w.Z,{className:"h-4 w-4"}),"Lock NR5G-SA Cell"]}),(0,s.jsxs)(x,{pressed:m,onPressedChange:_,disabled:t,children:[(0,s.jsx)(f.Z,{className:"h-4 w-4 mr-2"}),"Persist on Reboot"]}),(0,s.jsxs)(c.z,{variant:"secondary",onClick:T,disabled:t||!h,children:[(0,s.jsx)(R.Z,{className:"h-4 w-4"}),"Reset to Default"]})]})]})]})}},5501:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(92093).Z)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},7357:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(92093).Z)("RefreshCcw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]])}},function(e){e.O(0,[792,366,714,217,420,72,247,985,330,744],function(){return e(e.s=63542)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-4bf7a2253ea3c674.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-6195f6bb2e5a377f.js similarity index 99% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-4bf7a2253ea3c674.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-6195f6bb2e5a377f.js index 5b90a36..7b70258 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-4bf7a2253ea3c674.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/imei-mangling/page-6195f6bb2e5a377f.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[385],{36364:function(e,t,i){Promise.resolve().then(i.bind(i,47410))},47410:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return w}});var r=i(20881),o=i(64149),s=i(94920),a=i(37971),l=i(90270);let n=a.fC,d=a.xz,c=o.forwardRef((e,t)=>{let{className:i,align:o="center",sideOffset:s=4,...n}=e;return(0,r.jsx)(a.VY,{ref:t,align:o,sideOffset:s,className:(0,l.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",i),...n})});c.displayName=a.VY.displayName;var f=i(395),u=i(36306),p=i(78580),m=i(33335),h=i(21501),v=i(88766),I=i(46646),g=i(47657);let x={imei:"",iccid:""},y={profile1:{...x},profile2:{...x}};var w=()=>{let[e,t]=(0,o.useState)(!0),[i,a]=(0,o.useState)(!1),[l,x]=(0,o.useState)(!1),[w,b]=(0,o.useState)(""),[j,E]=(0,o.useState)(""),[N,C]=(0,o.useState)(y),[M,S]=(0,o.useState)(y),{profiles:T,hasActiveProfile:P,updateIMEIProfile:O,deleteIMEIProfiles:D}=function(){let[e,t]=(0,o.useState)({}),[i,r]=(0,o.useState)(!0),[s,a]=(0,o.useState)(!1),l=async()=>{try{r(!0);let e=await fetch("/cgi-bin/cell-settings/imei-profiles/fetch-profile.sh",{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded"},signal:AbortSignal.timeout(1e4)});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let i=await e.json();t(i),(i.profile1||i.profile2)&&a(!0)}catch(e){console.error("Error fetching IMEI profiles:",e)}finally{r(!1)}};(0,o.useEffect)(()=>{l()},[]);let n=async(i,r)=>{try{var o,s,a,l;let n=new URLSearchParams;"profile1"===i?(n.append("iccidProfile1",r.iccid),n.append("imeiProfile1",r.imei)):(n.append("iccidProfile1",(null===(o=e.profile1)||void 0===o?void 0:o.iccid)||""),n.append("imeiProfile1",(null===(s=e.profile1)||void 0===s?void 0:s.imei)||"")),("profile2"===i||e.profile2)&&(n.append("iccidProfile2","profile2"===i?r.iccid:(null===(a=e.profile2)||void 0===a?void 0:a.iccid)||""),n.append("imeiProfile2","profile2"===i?r.imei:(null===(l=e.profile2)||void 0===l?void 0:l.imei)||""));let d=await fetch("/cgi-bin/cell-settings/imei-profiles/save-profile.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n.toString(),signal:AbortSignal.timeout(1e4)});if(!d.ok)throw Error("Failed to update profile");let c=await d.json();if("success"===c.status)return t(e=>({...e,[i]:r})),!0;throw Error(c.message||"Failed to update profile")}catch(e){return console.error("Error updating ".concat(i,":"),e),!1}};return{profiles:e,hasActiveProfile:s,updateIMEIProfile:n,deleteIMEIProfiles:async()=>{try{let e=await fetch("/cgi-bin/cell-settings/imei-profiles/delete-profile.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},signal:AbortSignal.timeout(1e4)});if(!e.ok)throw Error("Failed to delete profiles");let i=await e.json();if("success"===i.status)return t({}),!0;throw Error(i.message||"Failed to delete profiles")}catch(e){return console.error("Error deleting IMEI profiles:",e),!1}}}}(),{toast:_}=(0,I.pm)(),A=(0,o.useCallback)(async()=>{try{t(!0);let e=encodeURIComponent("AT+CGSN"),i=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(e)}),r=(await i.text()).match(/\d{15}/),o=r?r[0]:null;if(o)b(o),E(o);else throw Error("IMEI not found in response")}catch(e){_({title:"Failed to fetch IMEI",description:"Failed to fetch IMEI from the device",variant:"destructive"}),console.error(e)}finally{t(!1)}},[]);(0,o.useEffect)(()=>{if(A(),T){var e,t,i,r,o,s,a,l;S({profile1:{imei:(null===(e=T.profile1)||void 0===e?void 0:e.imei)||"",iccid:(null===(t=T.profile1)||void 0===t?void 0:t.iccid)||""},profile2:{imei:(null===(i=T.profile2)||void 0===i?void 0:i.imei)||"",iccid:(null===(r=T.profile2)||void 0===r?void 0:r.iccid)||""}}),C({profile1:{imei:(null===(o=T.profile1)||void 0===o?void 0:o.imei)||"",iccid:(null===(s=T.profile1)||void 0===s?void 0:s.iccid)||""},profile2:{imei:(null===(a=T.profile2)||void 0===a?void 0:a.imei)||"",iccid:(null===(l=T.profile2)||void 0===l?void 0:l.iccid)||""}})}},[A,T]);let F=async e=>{if(e.preventDefault(),t(!0),15!==j.length||isNaN(Number(j))){_({title:"Invalid IMEI",description:"IMEI must be 15 digits and numbers only",variant:"destructive"}),t(!1);return}try{let e='AT+EGMR=1,7,"'.concat(j,';+QPOWD=1"'),t=encodeURIComponent(e);if(!(await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)})).ok)throw Error("Failed to update IMEI")}catch(e){_({title:"Failed to update IMEI",description:"Failed to update IMEI on the device",variant:"destructive"}),console.error(e)}finally{t(!1)}},R=()=>{if(!M.profile1.imei||!M.profile1.iccid)return _({variant:"destructive",title:"Invalid Profile 1",description:"Both IMEI and ICCID are required for Profile 1"}),!1;if(!/^\d{15}$/.test(M.profile1.imei))return _({variant:"destructive",title:"Invalid IMEI in Profile 1",description:"IMEI must be exactly 15 digits"}),!1;if(Object.values(M.profile2).some(e=>""!==e)){if(!M.profile2.imei||!M.profile2.iccid)return _({variant:"destructive",title:"Invalid Profile 2",description:"Both IMEI and ICCID are required if any Profile 2 field is filled"}),!1;if(!/^\d{15}$/.test(M.profile2.imei))return _({variant:"destructive",title:"Invalid IMEI in Profile 2",description:"IMEI must be exactly 15 digits"}),!1}return!0},k=async e=>{if(e.preventDefault(),R()){a(!0);try{await O("profile1",M.profile1),Object.values(M.profile2).some(e=>""!==e)&&await O("profile2",M.profile2),_({title:"Success",description:"IMEI profiles have been saved successfully. Rebooting...",duration:9e4}),setTimeout(()=>{window.location.reload()},9e4)}catch(e){_({variant:"destructive",title:"Error",description:"Failed to save IMEI profiles. Please try again."})}finally{a(!1)}}},z=async()=>{if(confirm("Are you sure you want to delete all IMEI profiles?")){x(!0);try{if(await D())S(y),_({title:"Success",description:"IMEI profiles have been deleted successfully"});else throw Error("Failed to delete profiles")}catch(e){_({variant:"destructive",title:"Error",description:"Failed to delete IMEI profiles. Please try again."})}finally{setTimeout(()=>{x(!1)},2e3)}}},Z=(e,t,i)=>{S(r=>({...r,[e]:{...r[e],[t]:i}}))};return(0,r.jsxs)("div",{className:"grid gap-8",children:[(0,r.jsx)(s.Zb,{children:(0,r.jsxs)("form",{onSubmit:F,children:[(0,r.jsxs)(s.Ol,{children:[(0,r.jsx)(s.ll,{children:"IMEI Mangling"}),(0,r.jsxs)(s.SZ,{className:"flex items-center justify-between",children:["Change the IMEI of the device.",(0,r.jsxs)("div",{className:"flex items-center text-orange-500",children:[(0,r.jsx)(f.Z,{className:"size-4 mr-1"}),"Do at your own risk!"]})]})]}),(0,r.jsx)(s.aY,{children:(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"IMEI",children:"Change Current IMEI"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsxs)("div",{className:"grid gap-1.5",children:[P?(0,r.jsx)("div",{className:"relative w-full",children:(0,r.jsxs)(n,{children:[(0,r.jsxs)(d,{children:[(0,r.jsx)(m.I,{className:"pr-9",placeholder:w,disabled:!0}),(0,r.jsx)(f.Z,{className:"absolute right-0 top-0 m-2.5 h-4 w-4 text-muted-foreground"})]}),(0,r.jsx)(c,{className:"text-sm",children:"You cannot use this feature while IMEI profiles are active."})]})}):(0,r.jsx)(m.I,{type:"text",id:"IMEI",value:j,onChange:e=>E(e.target.value),placeholder:w}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground font-medium",children:"This will reboot the device."})]})]})}),(0,r.jsx)(s.eW,{className:"grid border-t py-4",children:(0,r.jsx)(p.z,{type:"submit",className:"w-full",disabled:e||j===w,children:e?"Processing...":"Change IMEI"})})]})}),(0,r.jsxs)(s.Zb,{children:[(0,r.jsxs)(s.Ol,{children:[(0,r.jsx)(s.ll,{children:"ICCID Based IMEI Mangling"}),(0,r.jsxs)(s.SZ,{className:"flex items-center justify-between",children:["Change the IMEI of the device based on the ICCID.",(0,r.jsxs)("div",{className:"flex items-center text-orange-500",children:[(0,r.jsx)(f.Z,{className:"size-4 mr-1"}),"Do at your own risk!"]})]})]}),(0,r.jsxs)("form",{onSubmit:k,children:[(0,r.jsx)(s.aY,{children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"IMEI-prof1",children:"IMEI for Profile 1"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsx)(m.I,{type:"text",id:"IMEI-prof1",placeholder:"IMEI for Profile 1",value:M.profile1.imei,onChange:e=>Z("profile1","imei",e.target.value)})]}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"ICCID-prof1",children:"ICCID for Profile 1"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsx)(m.I,{type:"text",id:"ICCID-prof1",placeholder:"ICCID for Profile 1",value:M.profile1.iccid,onChange:e=>Z("profile1","iccid",e.target.value)})]}),(0,r.jsx)(g.Z,{className:"col-span-full my-2"}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"IMEI-prof2",children:"IMEI for Profile 2"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsx)(m.I,{type:"text",id:"IMEI-prof2",placeholder:"IMEI for Profile 2",value:M.profile2.imei,onChange:e=>Z("profile2","imei",e.target.value)})]}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"ICCID-prof2",children:"ICCID for Profile 2"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsx)(m.I,{type:"text",id:"ICCID-prof2",placeholder:"ICCID for Profile 2",value:M.profile2.iccid,onChange:e=>Z("profile2","iccid",e.target.value)})]})]})}),(0,r.jsxs)(s.eW,{className:"grid grid-cols-2 grid-flow-row gap-6 border-t py-4",children:[(0,r.jsx)(p.z,{type:"submit",className:"w-full",disabled:e||i||!(M.profile1.imei!==N.profile1.imei||M.profile1.iccid!==N.profile1.iccid||M.profile2.imei!==N.profile2.imei||M.profile2.iccid!==N.profile2.iccid),children:i?"Saving...":"Save IMEI Profiles"}),(0,r.jsxs)(p.z,{type:"button",variant:"secondary",className:"w-full",onClick:z,disabled:e||l,children:[(0,r.jsx)(u.Z,{className:"h-4 w-4"}),l?"Deleting...":"Delete All Profiles"]})]})]})]})]})}},78580:function(e,t,i){"use strict";i.d(t,{d:function(){return n},z:function(){return d}});var r=i(20881),o=i(64149),s=i(54098),a=i(20116),l=i(90270);let n=(0,a.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=o.forwardRef((e,t)=>{let{className:i,variant:o,size:a,asChild:d=!1,...c}=e,f=d?s.g7:"button";return(0,r.jsx)(f,{className:(0,l.cn)(n({variant:o,size:a,className:i})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,i){"use strict";i.d(t,{Ol:function(){return l},SZ:function(){return d},Zb:function(){return a},aY:function(){return c},eW:function(){return f},ll:function(){return n}});var r=i(20881),o=i(64149),s=i(90270);let a=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",i),...o})});a.displayName="Card";let l=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",i),...o})});l.displayName="CardHeader";let n=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",i),...o})});n.displayName="CardTitle";let d=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",i),...o})});d.displayName="CardDescription";let c=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",i),...o})});c.displayName="CardContent";let f=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",i),...o})});f.displayName="CardFooter"},33335:function(e,t,i){"use strict";i.d(t,{I:function(){return a}});var r=i(20881),o=i(64149),s=i(90270);let a=o.forwardRef((e,t)=>{let{className:i,type:o,...a}=e;return(0,r.jsx)("input",{type:o,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",i),ref:t,...a})});a.displayName="Input"},21501:function(e,t,i){"use strict";i.d(t,{_:function(){return d}});var r=i(20881),o=i(64149),s=i(51212),a=i(20116),l=i(90270);let n=(0,a.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)(s.f,{ref:t,className:(0,l.cn)(n(),i),...o})});d.displayName=s.f.displayName},47657:function(e,t,i){"use strict";i.d(t,{Z:function(){return l}});var r=i(20881),o=i(64149),s=i(48897),a=i(90270);let l=o.forwardRef((e,t)=>{let{className:i,orientation:o="horizontal",decorative:l=!0,...n}=e;return(0,r.jsx)(s.f,{ref:t,decorative:l,orientation:o,className:(0,a.cn)("shrink-0 bg-border","horizontal"===o?"h-[1px] w-full":"h-full w-[1px]",i),...n})});l.displayName=s.f.displayName},88766:function(e,t,i){"use strict";i.d(t,{O:function(){return s}});var r=i(20881),o=i(90270);function s(e){let{className:t,...i}=e;return(0,r.jsx)("div",{className:(0,o.cn)("animate-pulse rounded-md bg-primary/10",t),...i})}},46646:function(e,t,i){"use strict";i.d(t,{pm:function(){return u}});var r=i(64149);let o=0,s=new Map,a=e=>{if(s.has(e))return;let t=setTimeout(()=>{s.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);s.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:i}=t;return i?a(i):e.toasts.forEach(e=>{a(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===i||void 0===i?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},n=[],d={toasts:[]};function c(e){d=l(d,e),n.forEach(e=>{e(d)})}function f(e){let{...t}=e,i=(o=(o+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:i});return c({type:"ADD_TOAST",toast:{...t,id:i,open:!0,onOpenChange:e=>{e||r()}}}),{id:i,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:i}})}}function u(){let[e,t]=r.useState(d);return r.useEffect(()=>(n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1)}),[e]),{...e,toast:f,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,i){"use strict";i.d(t,{cn:function(){return s}});var r=i(33958),o=i(61779);function s(){for(var e=arguments.length,t=Array(e),i=0;i{let{className:i,align:o="center",sideOffset:s=4,...n}=e;return(0,r.jsx)(a.VY,{ref:t,align:o,sideOffset:s,className:(0,l.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",i),...n})});c.displayName=a.VY.displayName;var f=i(395),u=i(36306),p=i(78580),m=i(33335),h=i(21501),v=i(88766),I=i(46646),g=i(47657);let x={imei:"",iccid:""},y={profile1:{...x},profile2:{...x}};var w=()=>{let[e,t]=(0,o.useState)(!0),[i,a]=(0,o.useState)(!1),[l,x]=(0,o.useState)(!1),[w,b]=(0,o.useState)(""),[j,E]=(0,o.useState)(""),[N,C]=(0,o.useState)(y),[M,S]=(0,o.useState)(y),{profiles:T,hasActiveProfile:P,updateIMEIProfile:O,deleteIMEIProfiles:D}=function(){let[e,t]=(0,o.useState)({}),[i,r]=(0,o.useState)(!0),[s,a]=(0,o.useState)(!1),l=async()=>{try{r(!0);let e=await fetch("/cgi-bin/cell-settings/imei-profiles/fetch-profile.sh",{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded"},signal:AbortSignal.timeout(1e4)});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let i=await e.json();t(i),(i.profile1||i.profile2)&&a(!0)}catch(e){console.error("Error fetching IMEI profiles:",e)}finally{r(!1)}};(0,o.useEffect)(()=>{l()},[]);let n=async(i,r)=>{try{var o,s,a,l;let n=new URLSearchParams;"profile1"===i?(n.append("iccidProfile1",r.iccid),n.append("imeiProfile1",r.imei)):(n.append("iccidProfile1",(null===(o=e.profile1)||void 0===o?void 0:o.iccid)||""),n.append("imeiProfile1",(null===(s=e.profile1)||void 0===s?void 0:s.imei)||"")),("profile2"===i||e.profile2)&&(n.append("iccidProfile2","profile2"===i?r.iccid:(null===(a=e.profile2)||void 0===a?void 0:a.iccid)||""),n.append("imeiProfile2","profile2"===i?r.imei:(null===(l=e.profile2)||void 0===l?void 0:l.imei)||""));let d=await fetch("/cgi-bin/cell-settings/imei-profiles/save-profile.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n.toString(),signal:AbortSignal.timeout(1e4)});if(!d.ok)throw Error("Failed to update profile");let c=await d.json();if("success"===c.status)return t(e=>({...e,[i]:r})),!0;throw Error(c.message||"Failed to update profile")}catch(e){return console.error("Error updating ".concat(i,":"),e),!1}};return{profiles:e,hasActiveProfile:s,updateIMEIProfile:n,deleteIMEIProfiles:async()=>{try{let e=await fetch("/cgi-bin/cell-settings/imei-profiles/delete-profile.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},signal:AbortSignal.timeout(1e4)});if(!e.ok)throw Error("Failed to delete profiles");let i=await e.json();if("success"===i.status)return t({}),!0;throw Error(i.message||"Failed to delete profiles")}catch(e){return console.error("Error deleting IMEI profiles:",e),!1}}}}(),{toast:_}=(0,I.pm)(),A=(0,o.useCallback)(async()=>{try{t(!0);let e=encodeURIComponent("AT+CGSN"),i=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(e)}),r=(await i.text()).match(/\d{15}/),o=r?r[0]:null;if(o)b(o),E(o);else throw Error("IMEI not found in response")}catch(e){_({title:"Failed to fetch IMEI",description:"Failed to fetch IMEI from the device",variant:"destructive"}),console.error(e)}finally{t(!1)}},[]);(0,o.useEffect)(()=>{if(A(),T){var e,t,i,r,o,s,a,l;S({profile1:{imei:(null===(e=T.profile1)||void 0===e?void 0:e.imei)||"",iccid:(null===(t=T.profile1)||void 0===t?void 0:t.iccid)||""},profile2:{imei:(null===(i=T.profile2)||void 0===i?void 0:i.imei)||"",iccid:(null===(r=T.profile2)||void 0===r?void 0:r.iccid)||""}}),C({profile1:{imei:(null===(o=T.profile1)||void 0===o?void 0:o.imei)||"",iccid:(null===(s=T.profile1)||void 0===s?void 0:s.iccid)||""},profile2:{imei:(null===(a=T.profile2)||void 0===a?void 0:a.imei)||"",iccid:(null===(l=T.profile2)||void 0===l?void 0:l.iccid)||""}})}},[A,T]);let F=async e=>{if(e.preventDefault(),t(!0),15!==j.length||isNaN(Number(j))){_({title:"Invalid IMEI",description:"IMEI must be 15 digits and numbers only",variant:"destructive"}),t(!1);return}try{let e='AT+EGMR=1,7,"'.concat(j,';+QPOWD=1"'),t=encodeURIComponent(e);if(!(await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)})).ok)throw Error("Failed to update IMEI")}catch(e){_({title:"Failed to update IMEI",description:"Failed to update IMEI on the device",variant:"destructive"}),console.error(e)}finally{t(!1)}},R=()=>{if(!M.profile1.imei||!M.profile1.iccid)return _({variant:"destructive",title:"Invalid Profile 1",description:"Both IMEI and ICCID are required for Profile 1"}),!1;if(!/^\d{15}$/.test(M.profile1.imei))return _({variant:"destructive",title:"Invalid IMEI in Profile 1",description:"IMEI must be exactly 15 digits"}),!1;if(Object.values(M.profile2).some(e=>""!==e)){if(!M.profile2.imei||!M.profile2.iccid)return _({variant:"destructive",title:"Invalid Profile 2",description:"Both IMEI and ICCID are required if any Profile 2 field is filled"}),!1;if(!/^\d{15}$/.test(M.profile2.imei))return _({variant:"destructive",title:"Invalid IMEI in Profile 2",description:"IMEI must be exactly 15 digits"}),!1}return!0},k=async e=>{if(e.preventDefault(),R()){a(!0);try{await O("profile1",M.profile1),Object.values(M.profile2).some(e=>""!==e)&&await O("profile2",M.profile2),_({title:"Success",description:"IMEI profiles have been saved successfully. Rebooting...",duration:9e4}),setTimeout(()=>{window.location.reload()},9e4)}catch(e){_({variant:"destructive",title:"Error",description:"Failed to save IMEI profiles. Please try again."})}finally{a(!1)}}},z=async()=>{if(confirm("Are you sure you want to delete all IMEI profiles?")){x(!0);try{if(await D())S(y),_({title:"Success",description:"IMEI profiles have been deleted successfully"});else throw Error("Failed to delete profiles")}catch(e){_({variant:"destructive",title:"Error",description:"Failed to delete IMEI profiles. Please try again."})}finally{setTimeout(()=>{x(!1)},2e3)}}},Z=(e,t,i)=>{S(r=>({...r,[e]:{...r[e],[t]:i}}))};return(0,r.jsxs)("div",{className:"grid gap-8",children:[(0,r.jsx)(s.Zb,{children:(0,r.jsxs)("form",{onSubmit:F,children:[(0,r.jsxs)(s.Ol,{children:[(0,r.jsx)(s.ll,{children:"IMEI Mangling"}),(0,r.jsxs)(s.SZ,{className:"flex items-center justify-between",children:["Change the IMEI of the device.",(0,r.jsxs)("div",{className:"flex items-center text-orange-500",children:[(0,r.jsx)(f.Z,{className:"size-4 mr-1"}),"Do at your own risk!"]})]})]}),(0,r.jsx)(s.aY,{children:(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"IMEI",children:"Change Current IMEI"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsxs)("div",{className:"grid gap-1.5",children:[P?(0,r.jsx)("div",{className:"relative w-full",children:(0,r.jsxs)(n,{children:[(0,r.jsxs)(d,{children:[(0,r.jsx)(m.I,{className:"pr-9",placeholder:w,disabled:!0}),(0,r.jsx)(f.Z,{className:"absolute right-0 top-0 m-2.5 h-4 w-4 text-muted-foreground"})]}),(0,r.jsx)(c,{className:"text-sm",children:"You cannot use this feature while IMEI profiles are active."})]})}):(0,r.jsx)(m.I,{type:"text",id:"IMEI",value:j,onChange:e=>E(e.target.value),placeholder:w}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground font-medium",children:"This will reboot the device."})]})]})}),(0,r.jsx)(s.eW,{className:"grid border-t py-4",children:(0,r.jsx)(p.z,{type:"submit",className:"w-full",disabled:e||j===w,children:e?"Processing...":"Change IMEI"})})]})}),(0,r.jsxs)(s.Zb,{children:[(0,r.jsxs)(s.Ol,{children:[(0,r.jsx)(s.ll,{children:"ICCID Based IMEI Mangling"}),(0,r.jsxs)(s.SZ,{className:"flex items-center justify-between",children:["Change the IMEI of the device based on the ICCID.",(0,r.jsxs)("div",{className:"flex items-center text-orange-500",children:[(0,r.jsx)(f.Z,{className:"size-4 mr-1"}),"Do at your own risk!"]})]})]}),(0,r.jsxs)("form",{onSubmit:k,children:[(0,r.jsx)(s.aY,{children:(0,r.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 grid-flow-row gap-4",children:[(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"IMEI-prof1",children:"IMEI for Profile 1"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsx)(m.I,{type:"text",id:"IMEI-prof1",placeholder:"IMEI for Profile 1",value:M.profile1.imei,onChange:e=>Z("profile1","imei",e.target.value)})]}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"ICCID-prof1",children:"ICCID for Profile 1"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsx)(m.I,{type:"text",id:"ICCID-prof1",placeholder:"ICCID for Profile 1",value:M.profile1.iccid,onChange:e=>Z("profile1","iccid",e.target.value)})]}),(0,r.jsx)(g.Z,{className:"col-span-full my-2"}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"IMEI-prof2",children:"IMEI for Profile 2"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsx)(m.I,{type:"text",id:"IMEI-prof2",placeholder:"IMEI for Profile 2",value:M.profile2.imei,onChange:e=>Z("profile2","imei",e.target.value)})]}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-2",children:[(0,r.jsx)(h._,{htmlFor:"ICCID-prof2",children:"ICCID for Profile 2"}),e?(0,r.jsx)(v.O,{className:"h-8"}):(0,r.jsx)(m.I,{type:"text",id:"ICCID-prof2",placeholder:"ICCID for Profile 2",value:M.profile2.iccid,onChange:e=>Z("profile2","iccid",e.target.value)})]})]})}),(0,r.jsxs)(s.eW,{className:"grid grid-cols-2 grid-flow-row gap-6 border-t py-4",children:[(0,r.jsx)(p.z,{type:"submit",className:"w-full",disabled:e||i||!(M.profile1.imei!==N.profile1.imei||M.profile1.iccid!==N.profile1.iccid||M.profile2.imei!==N.profile2.imei||M.profile2.iccid!==N.profile2.iccid),children:i?"Saving...":"Save IMEI Profiles"}),(0,r.jsxs)(p.z,{type:"button",variant:"secondary",className:"w-full",onClick:z,disabled:e||l,children:[(0,r.jsx)(u.Z,{className:"h-4 w-4"}),l?"Deleting...":"Delete All Profiles"]})]})]})]})]})}},78580:function(e,t,i){"use strict";i.d(t,{d:function(){return n},z:function(){return d}});var r=i(20881),o=i(64149),s=i(54098),a=i(20116),l=i(90270);let n=(0,a.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=o.forwardRef((e,t)=>{let{className:i,variant:o,size:a,asChild:d=!1,...c}=e,f=d?s.g7:"button";return(0,r.jsx)(f,{className:(0,l.cn)(n({variant:o,size:a,className:i})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,i){"use strict";i.d(t,{Ol:function(){return l},SZ:function(){return d},Zb:function(){return a},aY:function(){return c},eW:function(){return f},ll:function(){return n}});var r=i(20881),o=i(64149),s=i(90270);let a=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",i),...o})});a.displayName="Card";let l=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",i),...o})});l.displayName="CardHeader";let n=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",i),...o})});n.displayName="CardTitle";let d=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",i),...o})});d.displayName="CardDescription";let c=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",i),...o})});c.displayName="CardContent";let f=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",i),...o})});f.displayName="CardFooter"},33335:function(e,t,i){"use strict";i.d(t,{I:function(){return a}});var r=i(20881),o=i(64149),s=i(90270);let a=o.forwardRef((e,t)=>{let{className:i,type:o,...a}=e;return(0,r.jsx)("input",{type:o,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",i),ref:t,...a})});a.displayName="Input"},21501:function(e,t,i){"use strict";i.d(t,{_:function(){return d}});var r=i(20881),o=i(64149),s=i(51212),a=i(20116),l=i(90270);let n=(0,a.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=o.forwardRef((e,t)=>{let{className:i,...o}=e;return(0,r.jsx)(s.f,{ref:t,className:(0,l.cn)(n(),i),...o})});d.displayName=s.f.displayName},47657:function(e,t,i){"use strict";i.d(t,{Z:function(){return l}});var r=i(20881),o=i(64149),s=i(48897),a=i(90270);let l=o.forwardRef((e,t)=>{let{className:i,orientation:o="horizontal",decorative:l=!0,...n}=e;return(0,r.jsx)(s.f,{ref:t,decorative:l,orientation:o,className:(0,a.cn)("shrink-0 bg-border","horizontal"===o?"h-[1px] w-full":"h-full w-[1px]",i),...n})});l.displayName=s.f.displayName},88766:function(e,t,i){"use strict";i.d(t,{O:function(){return s}});var r=i(20881),o=i(90270);function s(e){let{className:t,...i}=e;return(0,r.jsx)("div",{className:(0,o.cn)("animate-pulse rounded-md bg-primary/10",t),...i})}},46646:function(e,t,i){"use strict";i.d(t,{pm:function(){return u}});var r=i(64149);let o=0,s=new Map,a=e=>{if(s.has(e))return;let t=setTimeout(()=>{s.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);s.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:i}=t;return i?a(i):e.toasts.forEach(e=>{a(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===i||void 0===i?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},n=[],d={toasts:[]};function c(e){d=l(d,e),n.forEach(e=>{e(d)})}function f(e){let{...t}=e,i=(o=(o+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:i});return c({type:"ADD_TOAST",toast:{...t,id:i,open:!0,onOpenChange:e=>{e||r()}}}),{id:i,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:i}})}}function u(){let[e,t]=r.useState(d);return r.useEffect(()=>(n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1)}),[e]),{...e,toast:f,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,i){"use strict";i.d(t,{cn:function(){return s}});var r=i(33958),o=i(61779);function s(){for(var e=arguments.length,t=Array(e),i=0;i{let[e,t]=(0,a.useState)([]),[r,s]=(0,a.useState)(!1),[v,b]=(0,a.useState)([]),[y,j]=(0,a.useState)({phoneNumber:"",message:""}),N=async e=>{try{let t=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"command=".concat(encodeURIComponent(e))});return await t.json()}catch(e){throw console.error("AT command failed:",e),e}},w=e=>{let t=[],r=e.split("\n"),n=null;for(let e=0;e{s(!0);try{let e;await N("AT+CMGF=1");let r=await N('AT+CMGL="ALL"');if("string"==typeof r)e=r;else if(null==r?void 0:r.result)e=r.result;else if(null==r?void 0:r.output)e=r.output;else throw Error("No valid data received");let n=w(e);t(n)}catch(e){console.error("Failed to refresh SMS:",e),t([])}finally{s(!1)}},C=e=>{b(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},S=async()=>{if(v.length)try{for(let e of v)await N("AT+CMGD=".concat(e));await k(),b([])}catch(e){console.error("Failed to delete messages:",e)}},R=async()=>{let{phoneNumber:e,message:t}=y;if(!e||!t){alert("Please enter both phone number and message");return}try{await N('AT+CMGS="'.concat(e,'"')),await N("".concat(t,"\x1a")),j({phoneNumber:"",message:""}),await k()}catch(e){console.error("Failed to send SMS:",e)}};return(0,a.useEffect)(()=>{k()},[]),(0,n.jsxs)("div",{className:"grid gap-6 w-full",children:[(0,n.jsxs)(c.Zb,{children:[(0,n.jsxs)(c.Ol,{children:[(0,n.jsx)(c.ll,{children:"SMS Inbox"}),(0,n.jsx)(c.SZ,{children:(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsx)("span",{children:"View and manage SMS messages"}),(0,n.jsxs)("div",{className:"flex items-center space-x-1.5",children:[(0,n.jsx)(m.X,{checked:v.length===e.length,onCheckedChange:t=>{b(t?e.map(e=>e.index):[])}}),(0,n.jsx)("span",{className:"text-sm",children:"Select All"})]})]})})]}),(0,n.jsx)(c.aY,{children:(0,n.jsx)(f.x,{className:"h-[400px]",children:r?(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center py-8",children:[(0,n.jsx)(l,{className:"h-8 w-8 animate-spin"}),(0,n.jsx)("p",{className:"mt-2",children:"Loading messages..."})]}):0===e.length?(0,n.jsx)("p",{className:"text-center py-8 text-muted-foreground",children:"No messages found"}):e.map(e=>(0,n.jsxs)(u.Vq,{children:[(0,n.jsx)(u.hg,{className:"w-full",children:(0,n.jsxs)(c.Zb,{className:"my-2 dark:hover:bg-slate-900 hover:bg-slate-100",children:[(0,n.jsxs)(c.Ol,{children:[(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsx)(c.ll,{children:e.sender}),(0,n.jsxs)("div",{className:"flex items-center space-x-2",onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("p",{className:"text-muted-foreground font-medium text-xs",children:e.index}),(0,n.jsx)(m.X,{checked:v.includes(e.index),onCheckedChange:()=>C(e.index)})]})]}),(0,n.jsxs)(c.SZ,{className:"text-left",children:[e.date," at ",e.time]})]}),(0,n.jsx)(c.aY,{className:"text-left",children:(0,n.jsx)("p",{className:"line-clamp-3",children:e.message})})]})}),(0,n.jsxs)(u.cZ,{className:"lg:max-w-xl md:max-w-md max-w-xs",children:[(0,n.jsxs)(u.fK,{children:[(0,n.jsx)(u.$N,{children:e.sender}),(0,n.jsxs)(u.Be,{children:[e.date," at ",e.time]})]}),(0,n.jsx)("p",{children:e.message}),(0,n.jsx)(x.Z,{className:"my-2"}),(0,n.jsx)(p.g,{placeholder:"Reply to ".concat(e.sender,"..."),className:"h-24",readOnly:!0}),(0,n.jsx)("div",{className:"flex justify-end",children:(0,n.jsxs)(h.z,{onClick:R,disabled:!0,children:[(0,n.jsx)(i.Z,{className:"h-4 w-4 mr-2"}),"Send"]})})]})]},e.index))})}),(0,n.jsx)(c.eW,{className:"border-t py-4",children:(0,n.jsxs)("div",{className:"flex w-full justify-between items-center",children:[(0,n.jsxs)(h.z,{variant:"outline",onClick:k,disabled:r,children:[(0,n.jsx)(o,{className:"h-4 w-4"}),"Refresh"]}),(0,n.jsxs)(h.z,{variant:"destructive",onClick:S,disabled:0===v.length,children:[(0,n.jsx)(d.Z,{className:"h-4 w-4"}),"Delete Selected"]})]})})]}),(0,n.jsxs)(c.Zb,{children:[(0,n.jsxs)(c.Ol,{children:[(0,n.jsx)(c.ll,{children:"Send SMS"}),(0,n.jsx)(c.SZ,{children:"Send a new SMS message"})]}),(0,n.jsx)(c.aY,{children:(0,n.jsxs)("div",{className:"grid gap-6",children:[(0,n.jsx)(g.I,{placeholder:"Recipient Number",value:y.phoneNumber,onChange:e=>j(t=>({...t,phoneNumber:e.target.value})),readOnly:!0}),(0,n.jsx)(p.g,{placeholder:"Sending message is still in development...",className:"h-32",value:y.message,onChange:e=>j(t=>({...t,message:e.target.value})),readOnly:!0}),(0,n.jsx)("div",{className:"flex justify-end",children:(0,n.jsxs)(h.z,{onClick:R,disabled:!0,children:[(0,n.jsx)(i.Z,{className:"h-4 w-4"}),"Send"]})})]})})]})]})}},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return o},z:function(){return d}});var n=r(20881),a=r(64149),s=r(54098),l=r(20116),i=r(90270);let o=(0,l.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=a.forwardRef((e,t)=>{let{className:r,variant:a,size:l,asChild:d=!1,...c}=e,u=d?s.g7:"button";return(0,n.jsx)(u,{className:(0,i.cn)(o({variant:a,size:l,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return i},SZ:function(){return d},Zb:function(){return l},aY:function(){return c},eW:function(){return u},ll:function(){return o}});var n=r(20881),a=r(64149),s=r(90270);let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...a})});l.displayName="Card";let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...a})});i.displayName="CardHeader";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",r),...a})});o.displayName="CardTitle";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...a})});d.displayName="CardDescription";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...a})});c.displayName="CardContent";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},835:function(e,t,r){"use strict";r.d(t,{X:function(){return o}});var n=r(20881),a=r(64149),s=r(17533),l=r(35935),i=r(90270);let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.fC,{ref:t,className:(0,i.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",r),...a,children:(0,n.jsx)(s.z$,{className:(0,i.cn)("flex items-center justify-center text-current"),children:(0,n.jsx)(l.nQG,{className:"h-4 w-4"})})})});o.displayName=s.fC.displayName},30214:function(e,t,r){"use strict";r.d(t,{$N:function(){return h},Be:function(){return x},Vq:function(){return o},cZ:function(){return f},fK:function(){return m},hg:function(){return d}});var n=r(20881),a=r(64149),s=r(14491),l=r(35935),i=r(90270);let o=s.fC,d=s.xz,c=s.h_;s.x8;let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.aV,{ref:t,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...a})});u.displayName=s.aV.displayName;let f=a.forwardRef((e,t)=>{let{className:r,children:a,...o}=e;return(0,n.jsxs)(c,{children:[(0,n.jsx)(u,{}),(0,n.jsxs)(s.VY,{ref:t,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...o,children:[a,(0,n.jsxs)(s.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,n.jsx)(l.Pxu,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});f.displayName=s.VY.displayName;let m=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...r})};m.displayName="DialogHeader";let h=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.Dx,{ref:t,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",r),...a})});h.displayName=s.Dx.displayName;let x=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.dk,{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",r),...a})});x.displayName=s.dk.displayName},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return l}});var n=r(20881),a=r(64149),s=r(90270);let l=a.forwardRef((e,t)=>{let{className:r,type:a,...l}=e;return(0,n.jsx)("input",{type:a,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...l})});l.displayName="Input"},24004:function(e,t,r){"use strict";r.d(t,{B:function(){return o},x:function(){return i}});var n=r(20881),a=r(64149),s=r(82310),l=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,children:a,...i}=e;return(0,n.jsxs)(s.fC,{ref:t,className:(0,l.cn)("relative overflow-hidden",r),...i,children:[(0,n.jsx)(s.l_,{className:"h-full w-full rounded-[inherit]",children:a}),(0,n.jsx)(o,{}),(0,n.jsx)(s.Ns,{})]})});i.displayName=s.fC.displayName;let o=a.forwardRef((e,t)=>{let{className:r,orientation:a="vertical",...i}=e;return(0,n.jsx)(s.gb,{ref:t,orientation:a,className:(0,l.cn)("flex touch-none select-none transition-colors","vertical"===a&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===a&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...i,children:(0,n.jsx)(s.q4,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=s.gb.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(20881),a=r(64149),s=r(48897),l=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,orientation:a="horizontal",decorative:i=!0,...o}=e;return(0,n.jsx)(s.f,{ref:t,decorative:i,orientation:a,className:(0,l.cn)("shrink-0 bg-border","horizontal"===a?"h-[1px] w-full":"h-full w-[1px]",r),...o})});i.displayName=s.f.displayName},75577:function(e,t,r){"use strict";r.d(t,{g:function(){return l}});var n=r(20881),a=r(64149),s=r(90270);let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("textarea",{className:(0,s.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:t,...a})});l.displayName="Textarea"},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var n=r(33958),a=r(61779);function s(){for(var e=arguments.length,t=Array(e),r=0;re.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:d="",children:c,iconNode:u,...f}=e;return(0,n.createElement)("svg",{ref:t,...l,width:a,height:a,stroke:r,strokeWidth:o?24*Number(i)/Number(a):i,className:s("lucide",d),...f},[...u.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),o=(e,t)=>{let r=(0,n.forwardRef)((r,l)=>{let{className:o,...d}=r;return(0,n.createElement)(i,{ref:l,iconNode:t,className:s("lucide-".concat(a(e)),o),...d})});return r.displayName="".concat(e),r}},75526:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(92093).Z)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},36306:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(92093).Z)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},17533:function(e,t,r){"use strict";r.d(t,{fC:function(){return k},z$:function(){return C}});var n=r(64149),a=r(83954),s=r(74873),l=r(64433),i=r(45306),o=r(32437),d=r(73452),c=r(45485),u=r(79442),f=r(20881),m="Checkbox",[h,x]=(0,s.b)(m),[p,g]=h(m),v=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:s,checked:o,defaultChecked:d,required:c,disabled:m,value:h="on",onCheckedChange:x,form:g,...v}=e,[b,y]=n.useState(null),k=(0,a.e)(t,e=>y(e)),C=n.useRef(!1),S=!b||g||!!b.closest("form"),[R=!1,z]=(0,i.T)({prop:o,defaultProp:d,onChange:x}),M=n.useRef(R);return n.useEffect(()=>{let e=null==b?void 0:b.form;if(e){let t=()=>z(M.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[b,z]),(0,f.jsxs)(p,{scope:r,state:R,disabled:m,children:[(0,f.jsx)(u.WV.button,{type:"button",role:"checkbox","aria-checked":N(R)?"mixed":R,"aria-required":c,"data-state":w(R),"data-disabled":m?"":void 0,disabled:m,value:h,...v,ref:k,onKeyDown:(0,l.M)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,l.M)(e.onClick,e=>{z(e=>!!N(e)||!e),S&&(C.current=e.isPropagationStopped(),C.current||e.stopPropagation())})}),S&&(0,f.jsx)(j,{control:b,bubbles:!C.current,name:s,value:h,checked:R,required:c,disabled:m,form:g,style:{transform:"translateX(-100%)"},defaultChecked:!N(d)&&d})]})});v.displayName=m;var b="CheckboxIndicator",y=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:n,...a}=e,s=g(b,r);return(0,f.jsx)(c.z,{present:n||N(s.state)||!0===s.state,children:(0,f.jsx)(u.WV.span,{"data-state":w(s.state),"data-disabled":s.disabled?"":void 0,...a,ref:t,style:{pointerEvents:"none",...e.style}})})});y.displayName=b;var j=e=>{let{control:t,checked:r,bubbles:a=!0,defaultChecked:s,...l}=e,i=n.useRef(null),c=(0,o.D)(r),u=(0,d.t)(t);n.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==r&&t){let n=new Event("click",{bubbles:a});e.indeterminate=N(r),t.call(e,!N(r)&&r),e.dispatchEvent(n)}},[c,r,a]);let m=n.useRef(!N(r)&&r);return(0,f.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=s?s:m.current,...l,tabIndex:-1,ref:i,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function N(e){return"indeterminate"===e}function w(e){return N(e)?"indeterminate":e?"checked":"unchecked"}var k=v,C=y},48897:function(e,t,r){"use strict";r.d(t,{f:function(){return d}});var n=r(64149),a=r(79442),s=r(20881),l="horizontal",i=["horizontal","vertical"],o=n.forwardRef((e,t)=>{let{decorative:r,orientation:n=l,...o}=e,d=i.includes(n)?n:l;return(0,s.jsx)(a.WV.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...o,ref:t})});o.displayName="Separator";var d=o},32437:function(e,t,r){"use strict";r.d(t,{D:function(){return a}});var n=r(64149);function a(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},73452:function(e,t,r){"use strict";r.d(t,{t:function(){return s}});var n=r(64149),a=r(61013);function s(e){let[t,r]=n.useState(void 0);return(0,a.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,a;if(!Array.isArray(t)||!t.length)return;let s=t[0];if("borderBoxSize"in s){let e=s.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,a=t.blockSize}else n=e.offsetWidth,a=e.offsetHeight;r({width:n,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}}},function(e){e.O(0,[792,59,714,217,491,310,985,330,744],function(){return e(e.s=98910)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-ce6a52fe073f6288.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-ce6a52fe073f6288.js new file mode 100644 index 0000000..645786f --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/cell-settings/sms/page-ce6a52fe073f6288.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[959],{98910:function(e,t,r){Promise.resolve().then(r.bind(r,26678))},26678:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return v}});var n=r(20881),a=r(64149),s=r(92093);let i=(0,s.Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);var l=r(75526);let o=(0,s.Z)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);var d=r(36306),c=r(94920),u=r(30214),f=r(24004),m=r(835),h=r(78580),x=r(47657),p=r(75577),g=r(33335),v=()=>{let[e,t]=(0,a.useState)([]),[r,s]=(0,a.useState)(!1),[v,b]=(0,a.useState)([]),[y,j]=(0,a.useState)({phoneNumber:"",message:""}),N=async e=>{try{let t=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"command=".concat(encodeURIComponent(e))});return await t.json()}catch(e){throw console.error("AT command failed:",e),e}},w=e=>{let t=[],r=e.split("\n"),n=null;for(let e=0;e{s(!0);try{let e;await N("AT+CMGF=1");let r=await N('AT+CMGL="ALL"');if("string"==typeof r)e=r;else if(null==r?void 0:r.result)e=r.result;else if(null==r?void 0:r.output)e=r.output;else throw Error("No valid data received");let n=w(e);t(n)}catch(e){console.error("Failed to refresh SMS:",e),t([])}finally{s(!1)}},C=e=>{b(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},S=async()=>{if(v.length)try{for(let e of v)await N("AT+CMGD=".concat(e));await k(),b([])}catch(e){console.error("Failed to delete messages:",e)}},R=async()=>{let{phoneNumber:e,message:t}=y;if(!e||!t){alert("Please enter both phone number and message");return}try{await N('AT+CMGS="'.concat(e,'"')),await N("".concat(t,"\x1a")),j({phoneNumber:"",message:""}),await k()}catch(e){console.error("Failed to send SMS:",e)}};return(0,a.useEffect)(()=>{k()},[]),(0,n.jsxs)("div",{className:"grid gap-6",children:[(0,n.jsxs)(c.Zb,{className:"w-full max-w-screen",children:[(0,n.jsxs)(c.Ol,{children:[(0,n.jsx)(c.ll,{children:"SMS Inbox"}),(0,n.jsx)(c.SZ,{children:(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsx)("span",{children:"View and manage SMS messages"}),(0,n.jsxs)("div",{className:"flex items-center space-x-1.5",children:[(0,n.jsx)(m.X,{checked:v.length===e.length,onCheckedChange:t=>{b(t?e.map(e=>e.index):[])}}),(0,n.jsx)("span",{className:"text-sm",children:"Select All"})]})]})})]}),(0,n.jsx)(c.aY,{children:(0,n.jsx)(f.x,{className:"h-[400px] w-full xs:max-w-xs p-4 grid",children:r?(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center py-8",children:[(0,n.jsx)(i,{className:"h-8 w-8 animate-spin"}),(0,n.jsx)("p",{className:"mt-2",children:"Loading messages..."})]}):0===e.length?(0,n.jsx)("p",{className:"text-center py-8 text-muted-foreground",children:"No messages found"}):e.map(e=>(0,n.jsxs)(u.Vq,{children:[(0,n.jsx)(u.hg,{className:"w-full",children:(0,n.jsxs)(c.Zb,{className:"my-2 dark:hover:bg-slate-900 hover:bg-slate-100",children:[(0,n.jsxs)(c.Ol,{children:[(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsx)(c.ll,{children:e.sender}),(0,n.jsxs)("div",{className:"flex items-center space-x-2",onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("p",{className:"text-muted-foreground font-medium text-xs",children:e.index}),(0,n.jsx)(m.X,{checked:v.includes(e.index),onCheckedChange:()=>C(e.index)})]})]}),(0,n.jsxs)(c.SZ,{className:"text-left",children:[e.date," at ",e.time]})]}),(0,n.jsx)(c.aY,{children:(0,n.jsx)("p",{className:"line-clamp-3",children:e.message})})]})}),(0,n.jsxs)(u.cZ,{children:[(0,n.jsxs)(u.fK,{children:[(0,n.jsx)(u.$N,{children:e.sender}),(0,n.jsxs)(u.Be,{children:[e.date," at ",e.time]})]}),(0,n.jsx)("p",{children:e.message}),(0,n.jsx)(x.Z,{className:"my-2"}),(0,n.jsx)(p.g,{placeholder:"Reply to ".concat(e.sender,"..."),className:"h-24",readOnly:!0}),(0,n.jsx)("div",{className:"flex justify-end",children:(0,n.jsxs)(h.z,{onClick:R,disabled:!0,children:[(0,n.jsx)(l.Z,{className:"h-4 w-4 mr-2"}),"Send"]})})]})]},e.index))})}),(0,n.jsx)(c.eW,{className:"border-t py-4",children:(0,n.jsxs)("div",{className:"flex w-full justify-between items-center",children:[(0,n.jsxs)(h.z,{variant:"outline",onClick:k,disabled:r,children:[(0,n.jsx)(o,{className:"h-4 w-4"}),"Refresh"]}),(0,n.jsxs)(h.z,{variant:"destructive",onClick:S,disabled:0===v.length,children:[(0,n.jsx)(d.Z,{className:"h-4 w-4"}),"Delete Selected"]})]})})]}),(0,n.jsxs)(c.Zb,{children:[(0,n.jsxs)(c.Ol,{children:[(0,n.jsx)(c.ll,{children:"Send SMS"}),(0,n.jsx)(c.SZ,{children:"Send a new SMS message"})]}),(0,n.jsx)(c.aY,{children:(0,n.jsxs)("div",{className:"grid gap-6",children:[(0,n.jsx)(g.I,{placeholder:"Recipient Number",value:y.phoneNumber,onChange:e=>j(t=>({...t,phoneNumber:e.target.value})),readOnly:!0}),(0,n.jsx)(p.g,{placeholder:"Sending message is still in development...",className:"h-32",value:y.message,onChange:e=>j(t=>({...t,message:e.target.value})),readOnly:!0}),(0,n.jsx)("div",{className:"flex justify-end",children:(0,n.jsxs)(h.z,{onClick:R,disabled:!0,children:[(0,n.jsx)(l.Z,{className:"h-4 w-4"}),"Send"]})})]})})]})]})}},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return o},z:function(){return d}});var n=r(20881),a=r(64149),s=r(54098),i=r(20116),l=r(90270);let o=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=a.forwardRef((e,t)=>{let{className:r,variant:a,size:i,asChild:d=!1,...c}=e,u=d?s.g7:"button";return(0,n.jsx)(u,{className:(0,l.cn)(o({variant:a,size:i,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},SZ:function(){return d},Zb:function(){return i},aY:function(){return c},eW:function(){return u},ll:function(){return o}});var n=r(20881),a=r(64149),s=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...a})});i.displayName="Card";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...a})});l.displayName="CardHeader";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",r),...a})});o.displayName="CardTitle";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...a})});d.displayName="CardDescription";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...a})});c.displayName="CardContent";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},835:function(e,t,r){"use strict";r.d(t,{X:function(){return o}});var n=r(20881),a=r(64149),s=r(17533),i=r(35935),l=r(90270);let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.fC,{ref:t,className:(0,l.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",r),...a,children:(0,n.jsx)(s.z$,{className:(0,l.cn)("flex items-center justify-center text-current"),children:(0,n.jsx)(i.nQG,{className:"h-4 w-4"})})})});o.displayName=s.fC.displayName},30214:function(e,t,r){"use strict";r.d(t,{$N:function(){return h},Be:function(){return x},Vq:function(){return o},cZ:function(){return f},fK:function(){return m},hg:function(){return d}});var n=r(20881),a=r(64149),s=r(14491),i=r(35935),l=r(90270);let o=s.fC,d=s.xz,c=s.h_;s.x8;let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.aV,{ref:t,className:(0,l.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",r),...a})});u.displayName=s.aV.displayName;let f=a.forwardRef((e,t)=>{let{className:r,children:a,...o}=e;return(0,n.jsxs)(c,{children:[(0,n.jsx)(u,{}),(0,n.jsxs)(s.VY,{ref:t,className:(0,l.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",r),...o,children:[a,(0,n.jsxs)(s.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,n.jsx)(i.Pxu,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});f.displayName=s.VY.displayName;let m=e=>{let{className:t,...r}=e;return(0,n.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...r})};m.displayName="DialogHeader";let h=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.Dx,{ref:t,className:(0,l.cn)("text-lg font-semibold leading-none tracking-tight",r),...a})});h.displayName=s.Dx.displayName;let x=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(s.dk,{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",r),...a})});x.displayName=s.dk.displayName},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var n=r(20881),a=r(64149),s=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,type:a,...i}=e;return(0,n.jsx)("input",{type:a,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},24004:function(e,t,r){"use strict";r.d(t,{B:function(){return o},x:function(){return l}});var n=r(20881),a=r(64149),s=r(82310),i=r(90270);let l=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return(0,n.jsxs)(s.fC,{ref:t,className:(0,i.cn)("relative overflow-hidden",r),...l,children:[(0,n.jsx)(s.l_,{className:"h-full w-full rounded-[inherit]",children:a}),(0,n.jsx)(o,{}),(0,n.jsx)(s.Ns,{})]})});l.displayName=s.fC.displayName;let o=a.forwardRef((e,t)=>{let{className:r,orientation:a="vertical",...l}=e;return(0,n.jsx)(s.gb,{ref:t,orientation:a,className:(0,i.cn)("flex touch-none select-none transition-colors","vertical"===a&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===a&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...l,children:(0,n.jsx)(s.q4,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=s.gb.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(20881),a=r(64149),s=r(48897),i=r(90270);let l=a.forwardRef((e,t)=>{let{className:r,orientation:a="horizontal",decorative:l=!0,...o}=e;return(0,n.jsx)(s.f,{ref:t,decorative:l,orientation:a,className:(0,i.cn)("shrink-0 bg-border","horizontal"===a?"h-[1px] w-full":"h-full w-[1px]",r),...o})});l.displayName=s.f.displayName},75577:function(e,t,r){"use strict";r.d(t,{g:function(){return i}});var n=r(20881),a=r(64149),s=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("textarea",{className:(0,s.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:t,...a})});i.displayName="Textarea"},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var n=r(33958),a=r(61779);function s(){for(var e=arguments.length,t=Array(e),r=0;re.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:a=24,strokeWidth:l=2,absoluteStrokeWidth:o,className:d="",children:c,iconNode:u,...f}=e;return(0,n.createElement)("svg",{ref:t,...i,width:a,height:a,stroke:r,strokeWidth:o?24*Number(l)/Number(a):l,className:s("lucide",d),...f},[...u.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),o=(e,t)=>{let r=(0,n.forwardRef)((r,i)=>{let{className:o,...d}=r;return(0,n.createElement)(l,{ref:i,iconNode:t,className:s("lucide-".concat(a(e)),o),...d})});return r.displayName="".concat(e),r}},75526:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(92093).Z)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},36306:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(92093).Z)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},17533:function(e,t,r){"use strict";r.d(t,{fC:function(){return k},z$:function(){return C}});var n=r(64149),a=r(83954),s=r(74873),i=r(64433),l=r(45306),o=r(32437),d=r(73452),c=r(45485),u=r(79442),f=r(20881),m="Checkbox",[h,x]=(0,s.b)(m),[p,g]=h(m),v=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:s,checked:o,defaultChecked:d,required:c,disabled:m,value:h="on",onCheckedChange:x,form:g,...v}=e,[b,y]=n.useState(null),k=(0,a.e)(t,e=>y(e)),C=n.useRef(!1),S=!b||g||!!b.closest("form"),[R=!1,z]=(0,l.T)({prop:o,defaultProp:d,onChange:x}),M=n.useRef(R);return n.useEffect(()=>{let e=null==b?void 0:b.form;if(e){let t=()=>z(M.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[b,z]),(0,f.jsxs)(p,{scope:r,state:R,disabled:m,children:[(0,f.jsx)(u.WV.button,{type:"button",role:"checkbox","aria-checked":N(R)?"mixed":R,"aria-required":c,"data-state":w(R),"data-disabled":m?"":void 0,disabled:m,value:h,...v,ref:k,onKeyDown:(0,i.M)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.M)(e.onClick,e=>{z(e=>!!N(e)||!e),S&&(C.current=e.isPropagationStopped(),C.current||e.stopPropagation())})}),S&&(0,f.jsx)(j,{control:b,bubbles:!C.current,name:s,value:h,checked:R,required:c,disabled:m,form:g,style:{transform:"translateX(-100%)"},defaultChecked:!N(d)&&d})]})});v.displayName=m;var b="CheckboxIndicator",y=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:n,...a}=e,s=g(b,r);return(0,f.jsx)(c.z,{present:n||N(s.state)||!0===s.state,children:(0,f.jsx)(u.WV.span,{"data-state":w(s.state),"data-disabled":s.disabled?"":void 0,...a,ref:t,style:{pointerEvents:"none",...e.style}})})});y.displayName=b;var j=e=>{let{control:t,checked:r,bubbles:a=!0,defaultChecked:s,...i}=e,l=n.useRef(null),c=(0,o.D)(r),u=(0,d.t)(t);n.useEffect(()=>{let e=l.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==r&&t){let n=new Event("click",{bubbles:a});e.indeterminate=N(r),t.call(e,!N(r)&&r),e.dispatchEvent(n)}},[c,r,a]);let m=n.useRef(!N(r)&&r);return(0,f.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=s?s:m.current,...i,tabIndex:-1,ref:l,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function N(e){return"indeterminate"===e}function w(e){return N(e)?"indeterminate":e?"checked":"unchecked"}var k=v,C=y},48897:function(e,t,r){"use strict";r.d(t,{f:function(){return d}});var n=r(64149),a=r(79442),s=r(20881),i="horizontal",l=["horizontal","vertical"],o=n.forwardRef((e,t)=>{let{decorative:r,orientation:n=i,...o}=e,d=l.includes(n)?n:i;return(0,s.jsx)(a.WV.div,{"data-orientation":d,...r?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},...o,ref:t})});o.displayName="Separator";var d=o},32437:function(e,t,r){"use strict";r.d(t,{D:function(){return a}});var n=r(64149);function a(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},73452:function(e,t,r){"use strict";r.d(t,{t:function(){return s}});var n=r(64149),a=r(61013);function s(e){let[t,r]=n.useState(void 0);return(0,a.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,a;if(!Array.isArray(t)||!t.length)return;let s=t[0];if("borderBoxSize"in s){let e=s.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,a=t.blockSize}else n=e.offsetWidth,a=e.offsetHeight;r({width:n,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}}},function(e){e.O(0,[792,366,714,217,491,310,985,330,744],function(){return e(e.s=98910)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-b382d24ff5aff11c.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-b382d24ff5aff11c.js new file mode 100644 index 0000000..6310d77 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/layout-b382d24ff5aff11c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[342],{97017:function(e,t,s){Promise.resolve().then(s.bind(s,98496))},98496:function(e,t,s){"use strict";s.r(t);var a=s(20881);s(64149);var r=s(27525),n=s(26509);t.default=e=>{let{children:t}=e,s=(0,r.usePathname)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:(0,a.jsx)("h1",{className:"text-3xl font-semibold",children:"Experimental"})}),(0,a.jsxs)("div",{className:"mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]",children:[(0,a.jsx)("nav",{className:"grid gap-4 text-sm text-muted-foreground","x-chunk":"dashboard-04-chunk-0",children:(0,a.jsx)(n.default,{href:"/dashboard/experimental/speedtest",className:"".concat("/dashboard/experimental/speedtest/"===s?"font-semibold text-primary":"text-sm"),children:"Speedtest"})}),t]})]})}},27525:function(e,t,s){"use strict";var a=s(39886);s.o(a,"usePathname")&&s.d(t,{usePathname:function(){return a.usePathname}}),s.o(a,"useRouter")&&s.d(t,{useRouter:function(){return a.useRouter}})}},function(e){e.O(0,[509,985,330,744],function(){return e(e.s=97017)}),_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/speedtest/page-72625fc676109bab.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/speedtest/page-72625fc676109bab.js new file mode 100644 index 0000000..bf459c7 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/experimental/speedtest/page-72625fc676109bab.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[71],{22431:function(e,r,t){Promise.resolve().then(t.bind(t,14119))},14119:function(e,r,t){"use strict";t.r(r);var n=t(20881),a=t(64149),l=t(94920);r.default=()=>{let[e,r]=(0,a.useState)({server:"",serverId:"",isp:"",idleLatency:0,downloadLatency:0,downloadSpeed:0,downloadDataUsed:0,uploadLatency:0,uploadSpeed:0,uploadDataUsed:0,resultUrl:""}),[t,s]=(0,a.useState)(!1),[d,o]=(0,a.useState)(null);return(0,n.jsxs)(l.Zb,{className:"w-full max-w-4xl",children:[(0,n.jsx)(l.Ol,{children:(0,n.jsx)(l.ll,{children:"Speedtest"})}),(0,n.jsx)(l.aY,{children:"Coming soon..."})]})}},94920:function(e,r,t){"use strict";t.d(r,{Ol:function(){return d},SZ:function(){return u},Zb:function(){return s},aY:function(){return c},eW:function(){return i},ll:function(){return o}});var n=t(20881),a=t(64149),l=t(90270);let s=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,l.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...a})});s.displayName="Card";let d=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",t),...a})});d.displayName="CardHeader";let o=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("h3",{ref:r,className:(0,l.cn)("font-semibold leading-none tracking-tight",t),...a})});o.displayName="CardTitle";let u=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("p",{ref:r,className:(0,l.cn)("text-sm text-muted-foreground",t),...a})});u.displayName="CardDescription";let c=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,l.cn)("p-6 pt-0",t),...a})});c.displayName="CardContent";let i=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,l.cn)("flex items-center p-6 pt-0",t),...a})});i.displayName="CardFooter"},90270:function(e,r,t){"use strict";t.d(r,{cn:function(){return l}});var n=t(33958),a=t(61779);function l(){for(var e=arguments.length,r=Array(e),t=0;t{let{data:s,isLoading:t}=e;return(0,l.jsxs)(r.Zb,{children:[(0,l.jsxs)(r.Ol,{children:[(0,l.jsx)(r.ll,{children:"Sim Card"}),(0,l.jsx)(r.SZ,{children:"Sim card information"})]}),(0,l.jsxs)(r.aY,{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.O,{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.O,{className:"h-4 w-[100px]"}):(0,l.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.simCard.state)==="Inserted"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.simCard.state})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Provider"}),t?(0,l.jsx)(a.O,{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.O,{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.O,{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.O,{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.O,{className:"h-4 w-[140px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imei})]})]})]})};let m={6:"1.4 MHz",15:"3 MHz",25:"5 MHz",50:"10 MHz",75:"15 MHz",100:"20 MHz"},x={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"},h={2:"UTRAN",4:"HSDPA",5:"HSUPA",6:"HSDPA & HSUPA",7:"E-UTRAN",10:"E-UTRAN - 5GCN",11:"NR - 5GCN",12:"NG-RAN",13:"E-UTRAN-NR Dual"},f=e=>h[e]||"Unknown";var g=e=>{let{data:s,isLoading:t,dataConnectionState:n,connectionStateLoading:i}=e;return(0,l.jsxs)(r.Zb,{children:[(0,l.jsxs)(r.Ol,{children:[(0,l.jsx)(r.ll,{children:"Connection"}),(0,l.jsx)(r.SZ,{children:"Connection information"})]}),(0,l.jsxs)(r.aY,{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.O,{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.O,{className:"h-4 w-[100px]"}):(0,l.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.connection.operatorState)==="Unknown"||(null==s?void 0:s.connection.operatorState)==="Denied"?"bg-rose-500 hover:bg-rose-800":"bg-emerald-500 hover:bg-emerald-800"),children:null==s?void 0:s.connection.operatorState})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Functionality State"}),t?(0,l.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,l.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.connection.functionalityState)==="Enabled"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.connection.functionalityState})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Data Connection State"}),i?(0,l.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,l.jsx)(p,{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.O,{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.O,{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.O,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:(null==s?void 0:s.connection.accessTechnology)?f(s.connection.accessTechnology):"Unknown"})]})]})]})},j=e=>{let{data:s,isLoading:t,bytesSent:n,bytesReceived:i}=e;return(0,l.jsxs)(r.Zb,{children:[(0,l.jsxs)(r.Ol,{children:[(0,l.jsx)(r.ll,{children:"Data Transmission"}),(0,l.jsx)(r.SZ,{children:"Data transmission information"})]}),(0,l.jsxs)(r.aY,{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.O,{className:"h-4 w-[100px]"}):(0,l.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.dataTransmission.carrierAggregation)==="Multi"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.dataTransmission.carrierAggregation})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Bandwidth"}),t?(0,l.jsx)(a.O,{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.O,{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.O,{className:"h-4 w-[100px]"}):(0,l.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>80?"bg-emerald-500 hover:bg-emerald-800":(null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>40?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.dataTransmission.signalStrength})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"MIMO Layers"}),t?(0,l.jsx)(a.O,{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:i})]})]})]})},N=e=>{let{data:s,isLoading:t}=e;return(0,l.jsxs)(r.Zb,{children:[(0,l.jsxs)(r.Ol,{children:[(0,l.jsx)(r.ll,{children:"Cellular Information"}),(0,l.jsx)(r.SZ,{children:"Cellular network information"})]}),(0,l.jsxs)(r.aY,{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.O,{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.O,{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.O,{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.O,{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.O,{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.O,{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:"Signal Quality"}),t?(0,l.jsx)(a.O,{className:"h-4 w-[80px]"}):(0,l.jsx)(p,{className:"\n font-bold ".concat((null==s?void 0:s.cellularInfo.signalQuality)&&parseInt(null==s?void 0:s.cellularInfo.signalQuality)>80?"bg-emerald-500 hover:bg-emerald-800":(null==s?void 0:s.cellularInfo.signalQuality)&&parseInt(null==s?void 0:s.cellularInfo.signalQuality)>40?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.cellularInfo.signalQuality})]})]})]})},v=t(78580),b=t(30214),w=t(7357),y=t(7694),S=t(83765),R=t(7410),C=t(55215),A=t.n(C),T=t(35935),I=t(25696);let k=n.createContext(null);function E(){let e=n.useContext(k);if(!e)throw Error("useCarousel must be used within a ");return e}let D=n.forwardRef((e,s)=>{let{orientation:t="horizontal",opts:i,setApi:r,plugins:a,className:d,children:o,...p}=e,[u,m]=(0,I.Z)({...i,axis:"horizontal"===t?"x":"y"},a),[x,h]=n.useState(!1),[f,g]=n.useState(!1),j=n.useCallback(e=>{e&&(h(e.canScrollPrev()),g(e.canScrollNext()))},[]),N=n.useCallback(()=>{null==m||m.scrollPrev()},[m]),v=n.useCallback(()=>{null==m||m.scrollNext()},[m]),b=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),N()):"ArrowRight"===e.key&&(e.preventDefault(),v())},[N,v]);return n.useEffect(()=>{m&&r&&r(m)},[m,r]),n.useEffect(()=>{if(m)return j(m),m.on("reInit",j),m.on("select",j),()=>{null==m||m.off("select",j)}},[m,j]),(0,l.jsx)(k.Provider,{value:{carouselRef:u,api:m,opts:i,orientation:t||((null==i?void 0:i.axis)==="y"?"vertical":"horizontal"),scrollPrev:N,scrollNext:v,canScrollPrev:x,canScrollNext:f},children:(0,l.jsx)("div",{ref:s,onKeyDownCapture:b,className:(0,c.cn)("relative",d),role:"region","aria-roledescription":"carousel",...p,children:o})})});D.displayName="Carousel";let M=n.forwardRef((e,s)=>{let{className:t,...n}=e,{carouselRef:i,orientation:r}=E();return(0,l.jsx)("div",{ref:i,className:"overflow-hidden",children:(0,l.jsx)("div",{ref:s,className:(0,c.cn)("flex","horizontal"===r?"-ml-4":"-mt-4 flex-col",t),...n})})});M.displayName="CarouselContent";let B=n.forwardRef((e,s)=>{let{className:t,...n}=e,{orientation:i}=E();return(0,l.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,c.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===i?"pl-4":"pt-4",t),...n})});B.displayName="CarouselItem";let O=n.forwardRef((e,s)=>{let{className:t,variant:n="outline",size:i="icon",...r}=e,{orientation:a,scrollPrev:d,canScrollPrev:o}=E();return(0,l.jsxs)(v.z,{ref:s,variant:n,size:i,className:(0,c.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!o,onClick:d,...r,children:[(0,l.jsx)(T.Y4O,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});O.displayName="CarouselPrevious";let G=n.forwardRef((e,s)=>{let{className:t,variant:n="outline",size:i="icon",...r}=e,{orientation:a,scrollNext:d,canScrollNext:o}=E();return(0,l.jsxs)(v.z,{ref:s,variant:n,size:i,className:(0,c.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!o,onClick:d,...r,children:[(0,l.jsx)(T.LZ3,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Next slide"})]})});G.displayName="CarouselNext";var z=e=>{let{id:s,bandNumber:t,earfcn:n,bandwidth:i,pci:a,rsrp:d,rsrq:c,sinr:o}=e;return(0,l.jsx)(r.Zb,{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)(p,{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:i})]}),(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)(p,{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)(p,{className:10>=parseInt(c)?"bg-emerald-500 hover:bg-emerald-800":20>=parseInt(c)?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[c," dB"]})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"SINR"}),(0,l.jsxs)(p,{className:parseInt(o)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(o)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[o," dB"]})]})]})})},U=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)(r.Zb,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,l.jsx)(z,{...e},e.id)),(0,l.jsx)(r.eW,{className:"w-full p-6 flex items-center justify-center",children:(0,l.jsx)(r.SZ,{className:"text-md",children:"Currently bands connected."})})]})}),(0,l.jsx)(D,{className:"lg:hidden w-full max-w-xs",children:(0,l.jsx)(M,{children:(0,l.jsx)(B,{children:(0,l.jsx)("div",{className:"p-1",children:(0,l.jsx)(r.Zb,{children:(0,l.jsxs)(r.aY,{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.O,{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.O,{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.O,{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.O,{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.O,{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.O,{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.O,{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)(r.Zb,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,l.jsx)(z,{...e},e.id)),(0,l.jsx)(r.eW,{className:"w-full p-6 flex items-center justify-center",children:(0,l.jsx)(r.SZ,{className:"text-md",children:"Current bands connected."})})]})}),(0,l.jsxs)(D,{className:"lg:hidden w-full max-w-xs",children:[(0,l.jsx)(M,{children:null==s?void 0:s.map(e=>(0,l.jsx)(B,{className:"md:basis-1/2 lg:basis-1/3",children:(0,l.jsx)("div",{className:"p-1",children:(0,l.jsx)(r.Zb,{children:(0,l.jsxs)(r.aY,{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)(p,{className:parseInt(e.rsrp)>=-80?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.rsrp)>=-100?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.rsrp," dBm"]})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRQ"}),(0,l.jsxs)(p,{className:10>=parseInt(e.rsrq)?"bg-emerald-500 hover:bg-emerald-800":20>=parseInt(e.rsrq)?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.rsrq," dB"]})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"SINR"}),(0,l.jsxs)(p,{className:parseInt(e.sinr)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.sinr)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.sinr," dB"]})]})]})})})},e.id))}),(0,l.jsx)(O,{}),(0,l.jsx)(G,{})]})]})};let L=(e,s)=>{switch(e.split("\n")[1].split(":")[1].split(",")[1].trim()||s.split("\n")[1].split(":")[1].split(",")[1].trim()){case"1":return"Registered";case"2":return"Searching";case"3":return"Denied";case"4":return"Unknown";case"5":return"Roaming";default:return"Not Registered"}},P=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"},Z=e=>{let s=["cpuss-0","cpuss-1","cpuss-2","cpuss-3"].map(s=>parseInt(e.split("\n").find(e=>e.includes(s)).split(":")[1].split(",")[1].replace(/"/g,"").trim())),t=s.reduce((e,s)=>e+s,0)/s.length;return"".concat(Math.round(t),"\xb0C")},H=(e,s)=>{let t=e.split("\n").find(e=>e.includes("PCC"));t=null==t?void 0:t.split(":")[1].split(",")[2].trim();let l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));l=l.map(e=>e.split(":")[1].split(",")[2].trim());let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));if(n=n.map(e=>e.split(":")[1].split(",")[2].trim()),"LTE"===s)return!l.length&&t?m[t]||"Unknown":[t?m[t]:"",...l.map(e=>m[e])].join(", ");if("NR5G-SA"===s&&t)return n.length?[x[t],...n.map(e=>x[e])].join(", "):x[t]||"Unknown";if("NR5G-NSA"===s&&t)return l.length||n.length?l.length&&!n.length?[m[t],...l.map(e=>m[e])].join(", "):[m[t],...l.map(e=>m[e]),...n.map(e=>x[e])].join(", "):m[t]||"Unknown"},_=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g);return(null==s?void 0:s.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(e.split(" ")[2].replace(/"/g,"").trim()):void 0).join(", "))||"Unknown"},F=e=>{let s=e.split("\n").find(e=>e.includes("LTE")),t=e.split("\n").find(e=>e.includes("NR5G")),l=[],n=[];if(s&&(l=s.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),t&&(n=t.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),l=l.filter(e=>-140!==e&&-37625!==e),n=n.filter(e=>-140!==e&&-37625!==e),l.length){if(n.length){let e=l.reduce((e,s)=>e+s,0)/l.length,s=n.reduce((e,s)=>e+s,0)/n.length;return"".concat(Math.round((Math.max(0,Math.min(100,(e+125)/50*100))+Math.max(0,Math.min(100,(s+125)/50*100)))/2),"%")}{let e=l.reduce((e,s)=>e+s,0)/l.length;return"".concat(Math.round(Math.max(0,Math.min(100,(e+125)/50*100))),"%")}}if(!n.length)return"Unknown%";{let e=n.reduce((e,s)=>e+s,0)/n.length;return"".concat(Math.round(Math.max(0,Math.min(100,(e+125)/50*100))),"%")}},Q=(e,s)=>"NR5G-SA"===s||"LTE"===s?e.split("\n")[1].split(":")[1].split(",")[6].trim():"NR5G-NSA"===s?e.split("\n")[2].split(":")[1].split(",")[4].trim():"Unknown",Y=(e,s)=>"NR5G-SA"===s?e.split("\n")[1].split(":")[1].split(",")[8].trim():"NR5G-NSA"===s?e.split("\n")[2].split(":")[1].split(",")[9].trim():"LTE"===s?e.split("\n")[1].split(":")[1].split(",")[12].trim():"Unknown",q=(e,s)=>{if("LTE"===s||"NR5G-NSA"===s){let t=e.split("\n").find(e=>e.includes("PCC"));t=null==t?void 0:t.split(":")[1].split(",")[5].trim();let l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));l=l.map(e=>e.split(":")[1].split(",")[5].trim());let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(n=n.map(e=>e.split(":")[1].split(",")[4].trim()),l.length||n.length)?"LTE"===s?[t,...l].join(", "):[t,...l,...n].join(", "):t}if("NR5G-SA"===s){let s=e.split("\n").find(e=>e.includes("PCC"));s=null==s?void 0:s.split(":")[1].split(",")[4].trim();let t=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(t=t.map(e=>e.split(":")[1].split(",")[5].trim())).length?[s,...t].join(", "):s}},V=e=>{let s=e.split("\n").find(e=>e.includes("PCC"));s=null==s?void 0:s.split(":")[1].split(",")[1].trim();let t=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));t=t.map(e=>e.split(":")[1].split(",")[1].trim());let l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(l=l.map(e=>e.split(":")[1].split(",")[1].trim()),!s||t.length||l.length)?s&&t.length&&!l.length?[s,...t].join(", "):s&&!t.length&&l.length?[s,...l].join(", "):s&&t.length&&l.length?[s,...t,...l].join(", "):"Unknown":s},W=(e,s)=>"LTE"===s||"NR5G-SA"===s?e.split("\n")[1].split(":")[1].split(",")[4].trim():"NR5G-NSA"===s?e.split("\n")[2].split(":")[1].split(",")[2].trim():void 0,K=(e,s)=>"LTE"===s||"NR5G-SA"===s?e.split("\n")[1].split(":")[1].split(",")[5].trim():"NR5G-NSA"===s?e.split("\n")[2].split(":")[1].split(",")[3].trim():void 0,$=e=>{let s=e.split("\n").find(e=>e.includes("LTE")),t=e.split("\n").find(e=>e.includes("NR5G")),l=[],n=[];if(s&&(l=s.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),t&&(n=t.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),l=l.filter(e=>-140!==e&&-37625!==e),n=n.filter(e=>-140!==e&&-37625!==e),l.length){if(n.length){let e=l.reduce((e,s)=>e+s,0)/l.length,s=n.reduce((e,s)=>e+s,0)/n.length;return"".concat(Math.round((Math.max(0,Math.min(100,(e+125)/50*100))+Math.max(0,Math.min(100,(s+125)/50*100)))/2),"%")}{let e=l.reduce((e,s)=>e+s,0)/l.length;return"".concat(Math.round(Math.max(0,Math.min(100,(e+125)/50*100))),"%")}}if(!n.length)return"Unknown%";{let e=n.reduce((e,s)=>e+s,0)/n.length;return"".concat(Math.round(Math.max(0,Math.min(100,(e+125)/50*100))),"%")}},X=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=>e.split(":")[1].split(",")[3].replace(/"/g,"")):s.length?s.map(e=>e.split(":")[1].split(",")[3].replace(/"/g,"")):t.length?t.map(e=>e.split(":")[1].split(",")[3].replace(/"/g,"")):["Unknown"]},J=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=>e.split(":")[1].split(",")[1]):s.length?s.map(e=>e.split(":")[1].split(",")[1]):t.length?t.map(e=>e.split(":")[1].split(",")[1]):["Unknown"]},ee=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=>m[e.split(":")[1].split(",")[2]]),n=t.map(e=>x[e.split(":")[1].split(",")[2]]);return l.length&&n.length?[...l,...n]:l.length?l:n.length?n:["Unknown"]},es=(e,s)=>{if("LTE"===s||"NR5G-SA"===s){let s=e.split("\n").find(e=>e.includes("PCC"));s=s?s.split(":")[1].split(",")[4].trim():"Unknown";let t=e.split("\n").filter(e=>e.includes("BAND"));return t.length?[s,...t.map(e=>e.split(":")[1].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=>e.split(":")[1].split(",")[5]||"Unknown"),...t.map(e=>e.split(":")[1].split(",")[4]||"Unknown")]}return["Unknown"]},et=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>e.split(":")[1].split(",")[6]);if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>e.split(":")[1].split(",")[6]),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>e.split(":")[1].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)return[e.split(":")[1].split(",")[12]]}return["Unknown"]},el=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("BAND")).map(e=>e.split(":")[1].split(",")[7]);if("NR5G-SA"===s){let e=t.split("\n").find(e=>e.includes("NR5G-SA"));return e?[e.split(":")[1].split(",")[13]]:["Unknown"]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>e.split(":")[1].split(",")[7]),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>e.split(":")[1].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=>e.split(":")[1].split(",")[9]);if("NR5G-SA"===s){let e=t.split("\n").find(e=>e.includes("NR5G-SA"));return e?[e.split(":")[1].split(",")[14]]:["Unknown"]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>e.split(":")[1].split(",")[9]),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>e.split(":")[1].split(",")[5]);if(s.length&&l.length)return[...s,...l];if(s.length)return s;if(l.length)return l}return["Unknown"]},ei=e=>{let s=[-32768,-140],t=e.split("\n").find(e=>e.includes("LTE")),l=e.split("\n").find(e=>e.includes("NR5G")),n=[],i=[];return(t&&(n=t.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),l&&(i=l.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),n=n.filter(e=>!s.includes(e)),i=i.filter(e=>!s.includes(e)),n.length)?i.length?"LTE ".concat(n.length.toString()," / NR ").concat(i.length.toString()):"LTE ".concat(n.length.toString()):i.length?"NR ".concat(i.length.toString()):"Unknown"};var er=()=>{let[e,s]=(0,n.useState)(null),[t,l]=(0,n.useState)(6e4),[i,r]=(0,n.useState)(!0),[a,d]=(0,n.useState)(!0),c=async()=>{try{let e=await fetch("/cgi-bin/settings/fetch-config.sh"),s=await e.json(),t=Math.max(1e3,parseInt(s.data_refresh_rate));l(t)}catch(e){console.error("Error fetching refresh rate:",e)}},o=(0,n.useCallback)(async()=>{try{var e,t,l;a&&r(!0);let n=await fetch("/cgi-bin/fetch_data.sh?set=1"),i=await n.json();console.log(i),await c();let d={simCard:{slot:i[0].response.split("\n")[1].split(":")[1].trim()||"Unknown",state:i[6].response.match("READY")?"Inserted":"Not Inserted",provider:i[2].response.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()||"Unknown",phoneNumber:i[1].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim()||"Unknown",imsi:i[3].response.split("\n")[1].trim()||"Unknown",iccid:i[4].response.split("\n")[1].split(":")[1].trim()||"Unknown",imei:i[5].response.split("\n")[1].trim()||"Unknown"},connection:{apn:i[7].response.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()||i[12].response.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()||"Unknown",operatorState:L(i[8].response,i[16].response),functionalityState:"1"===i[9].response.split("\n")[1].split(":")[1].trim()?"Enabled":"Disabled",networkType:P(i[13].response),modemTemperature:Z(i[11].response),accessTechnology:i[2].response.split("\n")[1].split(":")[1].split(",")[3].trim()},dataTransmission:{carrierAggregation:(null===(e=i[13].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g))||void 0===e?void 0:e.length)>1?"Multi":"Inactive",bandwidth:H(i[13].response,P(i[13].response)),connectedBands:_(i[13].response),signalStrength:F(i[14].response),mimoLayers:ei(i[14].response)},cellularInfo:{cellId:Q(i[10].response,P(i[13].response)),trackingAreaCode:Y(i[10].response,P(i[13].response)),physicalCellId:q(i[13].response,P(i[13].response)),earfcn:V(i[13].response),mcc:W(i[10].response,P(i[13].response)),mnc:K(i[10].response,P(i[13].response)),signalQuality:$(i[19].response)},currentBands:{id:Array.from({length:null!==(l=null===(t=X(i[13].response))||void 0===t?void 0:t.length)&&void 0!==l?l:0},(e,s)=>s+1),bandNumber:X(i[13].response),earfcn:J(i[13].response),bandwidth:ee(i[13].response),pci:es(i[13].response,P(i[13].response)),rsrp:et(i[13].response,P(i[13].response),i[10].response),rsrq:el(i[13].response,P(i[13].response),i[10].response),sinr:en(i[13].response,P(i[13].response),i[10].response)}};s(d)}catch(e){console.error("Error fetching home data:",e)}finally{a&&setTimeout(()=>{r(!1),d(!1)},300)}},[a]);return(0,n.useEffect)(()=>{o();let e=setInterval(o,t);return()=>clearInterval(e)},[o,t]),{data:e,isLoading:i,refresh:o}},ea=()=>{let[e,s]=(0,n.useState)("Unknown"),[t,l]=(0,n.useState)(!0),i=(0,n.useCallback)(async()=>{try{l(!0);let e=await fetch("/cgi-bin/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)(()=>{i();let e=setInterval(i,3e4);return()=>clearInterval(e)},[i]),{dataConnectionState:e,refresh:(0,n.useCallback)(()=>{i()},[i]),isStateLoading:t}};let ed=e=>{if(0===e)return"0 Bytes";let s=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,s)).toFixed(2))+" "+["Bytes","KB","MB","GB","TB"][s]};var ec=()=>{let[e,s]=(0,n.useState)("0 Bytes"),[t,l]=(0,n.useState)("0 Bytes"),i=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(encodeURIComponent("AT+QGDCNT?"))}),t=await e.json(),n=parseInt(t.output.split("\n")[1].split(":")[1].split(",")[0]),i=parseInt(t.output.split("\n")[1].split(":")[1].split(",")[1]);s(ed(n)),l(ed(i))}catch(e){console.error("Error fetching traffic stats:",e)}},[]);return(0,n.useEffect)(()=>{i();let e=setInterval(i,5e3);return()=>clearInterval(e)},[i]),{bytesSent:e,bytesReceived:t,refresh:(0,n.useCallback)(()=>{i()},[i])}},eo=()=>{let[e,s]=(0,n.useState)(!1),[t,l]=(0,n.useState)(null),i=(e,s)=>{let t=e.split("\n")[1].split(":")[1].split(",")[1].trim(),l=s.split("\n")[1].split(":")[1].split(",")[1].trim();return"1"===t||"1"===l?"Registered":"Not Registered"},r=(e,s)=>e.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()===s.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()?"Enabled":"Disabled",a=e=>{let s=e.split("\n")[1].split(":")[1].split(",")[1].trim(),t=e.split("\n")[2].split(":")[1].split(",")[1].trim();return"1"===s||"1"===t?"Connected":"Disconnected"},d=e=>{let s=e.split("\n")[1].split(":")[1].split(",").slice(0,4).map(e=>e.trim()),t=e.includes("NR5G"),l=null;if(t&&(l=e.split("\n")[2].split(":")[1].split(",").slice(0,4).map(e=>e.trim())),s&&s.length>0){let e=s.reduce((e,s)=>e+parseInt(s),0)/s.length;return t&&l&&l.length>0?(e+l.reduce((e,s)=>e+parseInt(s),0)/l.length)/2<-100?"Poor":"Good":e<-100?"Poor":"Good"}return"N/A"},c=e=>{let s=e.split("\n").filter(e=>e.startsWith("+QTEMP:")).map(e=>parseInt(e.split(":")[1].split(",")[1].replace(/"/g,"").trim())).filter(e=>e>=0&&e<99);return s.reduce((e,s)=>e+s,0)/s.length<50?"Normal":"High"},o=e=>{let s=e.split("\n")[1].split(":")[1].split(",")[1].trim(),t=e.split("\n")[2].split(":")[1].split(",")[1].trim(),l=e.split("\n")[3].split(":")[1].split(",")[1].trim();return"0"===s&&"0"===t&&"0"===l?"None":"0"!==s?s:"0"!==t?t:"0"!==l?l:"Unknown"};return{isRunningDiagnostics:e,runDiagnosticsData:t,startDiagnostics:async()=>{s(!0);try{let e=await fetch("/cgi-bin/fetch_data.sh?set=6"),s=await e.json();console.log("Diagnostics data:",s);let t={netRegistration:i(s[0].response,s[1].response),simState:s[2].response.split("\n")[1].split(":")[1].trim(),manualAPN:r(s[3].response,s[4].response),wanIP:a(s[5].response),cellSignal:d(s[6].response),modemTemp:c(s[7].response),netReject:o(s[8].response)};return l(t),t}catch(e){throw console.error("Error running diagnostics:",e),e}finally{s(!1)}}}},ep=()=>{let{toast:e}=(0,i.pm)(),{data:s,isLoading:t,refresh:r}=er(),{dataConnectionState:a,isStateLoading:d,refresh:c}=ea(),{isRunningDiagnostics:o,runDiagnosticsData:p,startDiagnostics:m}=eo(),{bytesSent:x,bytesReceived:h,refresh:f}=ec(),C=async()=>{try{let s=await fetch("/cgi-bin/settings/force-rerun.sh"),t=await s.json();if("success"===t.status)e({title:"Data Refreshed",description:"Data and scripts has been refreshed successfully"});else if("info"===t.status)e({title:"Data Refreshed",description:"Data refreshed successfully, but no scripts to restart."});else throw Error("Failed to restart scripts")}catch(s){console.error("Error rerunning scripts:",s),e({variant:"destructive",title:"Script Restart Failed",description:"Failed to restart the required scripts"})}},T=(0,n.useCallback)(async()=>{try{await Promise.all([r(),c(),f()]),await C()}catch(s){console.error("Error refreshing data:",s),e({variant:"destructive",title:"Refresh Failed",description:"Failed to refresh the data"})}},[r,c,f,e]),[I,k]=(0,n.useState)([]),E=async()=>{try{await m()}catch(e){console.error("Error running diagnostics:",e)}};return(0,n.useEffect)(()=>{p&&console.log("Diagnostics data updated:",p)},[p]),(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,i,r,a,d,c;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===(i=s.currentBands.bandwidth)||void 0===i?void 0:i[t])||"N/A",pci:(null===(r=s.currentBands.pci)||void 0===r?void 0:r[t])||"N/A",rsrp:(null===(a=s.currentBands.rsrp)||void 0===a?void 0:a[t])||"N/A",rsrq:(null===(d=s.currentBands.rsrq)||void 0===d?void 0:d[t])||"N/A",sinr:(null===(c=s.currentBands.sinr)||void 0===c?void 0:c[t])||"N/A"}});t&&k(t)}},[s]),(0,l.jsxs)("div",{className:"grid xl:gap-y-12 gap-y-8 gap-4",children:[(0,l.jsxs)("div",{className:"grid xl:gap-6 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-lg font-bold",children:"Connection Summary"}),(0,l.jsx)(v.z,{variant:"ghost",size:"icon",className:"text-sm",onClick:T,children:(0,l.jsx)(w.Z,{className:"xl:size-6 size-5 text-blue-500",strokeWidth:3})})]}),(0,l.jsxs)(b.Vq,{children:[(0,l.jsx)(b.hg,{children:(0,l.jsxs)(v.z,{variant:"secondary",onClick:E,children:[(0,l.jsx)(y.Z,{className:"xl:size-6 size-5"}),(0,l.jsx)("span",{className:"hidden md:block",children:"Run Diagnostics"})]})}),!o&&(0,l.jsxs)(b.cZ,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(b.fK,{children:(0,l.jsx)(b.$N,{children:"Diagnostics Result"})}),(0,l.jsx)(b.Be,{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==p?void 0:p.netRegistration)==="Registered"?(0,l.jsx)(S.Z,{className:"text-green-500"}):(0,l.jsx)(R.Z,{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==p?void 0:p.simState)==="READY"?(0,l.jsx)(S.Z,{className:"text-green-500"}):(0,l.jsx)(R.Z,{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==p?void 0:p.manualAPN)==="Enabled"?(0,l.jsx)(S.Z,{className:"text-green-500"}):(0,l.jsx)(R.Z,{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==p?void 0:p.wanIP)==="Connected"?(0,l.jsx)(S.Z,{className:"text-green-500"}):(0,l.jsx)(R.Z,{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==p?void 0:p.cellSignal)==="Good"?(0,l.jsx)(S.Z,{className:"text-green-500"}):(0,l.jsx)(R.Z,{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==p?void 0:p.modemTemp)==="Normal"?(0,l.jsx)(S.Z,{className:"text-green-500"}):(0,l.jsx)(R.Z,{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==p?void 0:p.netReject)==="None"?(0,l.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,l.jsx)(S.Z,{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)(R.Z,{className:"text-red-500"}),(0,l.jsx)("span",{children:null==p?void 0:p.netReject})]})]})]})]}),o&&(0,l.jsxs)(b.cZ,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(b.fK,{children:(0,l.jsx)(b.$N,{children:"Running Diagnostics"})}),(0,l.jsx)("div",{className:"flex items-center justify-center my-4",children:(0,l.jsx)(A(),{color:"#6D28D9"})}),(0,l.jsx)(b.Be,{className:"text-center",children:"Please wait while we run diagnostics on your device."})]})]})]}),(0,l.jsxs)("div",{className:"grid 2xl:grid-cols-4 lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,l.jsx)(u,{data:s,isLoading:t}),(0,l.jsx)(g,{data:s,isLoading:t,dataConnectionState:a,connectionStateLoading:d}),(0,l.jsx)(j,{data:s,isLoading:t,bytesSent:x,bytesReceived:h}),(0,l.jsx)(N,{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-lg font-bold",children:"Current Active Bands"}),(0,l.jsx)(U,{bands:I,isLoading:t})]})]})}},78580:function(e,s,t){"use strict";t.d(s,{d:function(){return d},z:function(){return c}});var l=t(20881),n=t(64149),i=t(54098),r=t(20116),a=t(90270);let d=(0,r.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,s)=>{let{className:t,variant:n,size:r,asChild:c=!1,...o}=e,p=c?i.g7:"button";return(0,l.jsx)(p,{className:(0,a.cn)(d({variant:n,size:r,className:t})),ref:s,...o})});c.displayName="Button"},94920:function(e,s,t){"use strict";t.d(s,{Ol:function(){return a},SZ:function(){return c},Zb:function(){return r},aY:function(){return o},eW:function(){return p},ll:function(){return d}});var l=t(20881),n=t(64149),i=t(90270);let r=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...n})});r.displayName="Card";let a=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",t),...n})});a.displayName="CardHeader";let d=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("h3",{ref:s,className:(0,i.cn)("font-semibold leading-none tracking-tight",t),...n})});d.displayName="CardTitle";let c=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("p",{ref:s,className:(0,i.cn)("text-sm text-muted-foreground",t),...n})});c.displayName="CardDescription";let o=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,i.cn)("p-6 pt-0",t),...n})});o.displayName="CardContent";let p=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,i.cn)("flex items-center p-6 pt-0",t),...n})});p.displayName="CardFooter"},30214:function(e,s,t){"use strict";t.d(s,{$N:function(){return x},Be:function(){return h},Vq:function(){return d},cZ:function(){return u},fK:function(){return m},hg:function(){return c}});var l=t(20881),n=t(64149),i=t(14491),r=t(35935),a=t(90270);let d=i.fC,c=i.xz,o=i.h_;i.x8;let p=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(i.aV,{ref:s,className:(0,a.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...n})});p.displayName=i.aV.displayName;let u=n.forwardRef((e,s)=>{let{className:t,children:n,...d}=e;return(0,l.jsxs)(o,{children:[(0,l.jsx)(p,{}),(0,l.jsxs)(i.VY,{ref:s,className:(0,a.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...d,children:[n,(0,l.jsxs)(i.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,l.jsx)(r.Pxu,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});u.displayName=i.VY.displayName;let m=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})};m.displayName="DialogHeader";let x=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(i.Dx,{ref:s,className:(0,a.cn)("text-lg font-semibold leading-none tracking-tight",t),...n})});x.displayName=i.Dx.displayName;let h=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(i.dk,{ref:s,className:(0,a.cn)("text-sm text-muted-foreground",t),...n})});h.displayName=i.dk.displayName},88766:function(e,s,t){"use strict";t.d(s,{O:function(){return i}});var l=t(20881),n=t(90270);function i(e){let{className:s,...t}=e;return(0,l.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",s),...t})}},46646:function(e,s,t){"use strict";t.d(s,{pm:function(){return u}});var l=t(64149);let n=0,i=new Map,r=e=>{if(i.has(e))return;let s=setTimeout(()=>{i.delete(e),o({type:"REMOVE_TOAST",toastId:e})},1e6);i.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?r(t):e.toasts.forEach(e=>{r(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)}}},d=[],c={toasts:[]};function o(e){c=a(c,e),d.forEach(e=>{e(c)})}function p(e){let{...s}=e,t=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),l=()=>o({type:"DISMISS_TOAST",toastId:t});return o({type:"ADD_TOAST",toast:{...s,id:t,open:!0,onOpenChange:e=>{e||l()}}}),{id:t,dismiss:l,update:e=>o({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function u(){let[e,s]=l.useState(c);return l.useEffect(()=>(d.push(s),()=>{let e=d.indexOf(s);e>-1&&d.splice(e,1)}),[e]),{...e,toast:p,dismiss:e=>o({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,s,t){"use strict";t.d(s,{cn:function(){return i}});var l=t(33958),n=t(61779);function i(){for(var e=arguments.length,s=Array(e),t=0;t{let{data:s,isLoading:t}=e;return(0,l.jsxs)(r.Zb,{children:[(0,l.jsxs)(r.Ol,{children:[(0,l.jsx)(r.ll,{children:"Sim Card"}),(0,l.jsx)(r.SZ,{children:"Sim card information"})]}),(0,l.jsxs)(r.aY,{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.O,{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.O,{className:"h-4 w-[100px]"}):(0,l.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.simCard.state)==="Inserted"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.simCard.state})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Provider"}),t?(0,l.jsx)(a.O,{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.O,{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.O,{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.O,{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.O,{className:"h-4 w-[140px]"}):(0,l.jsx)("p",{className:"font-bold",children:null==s?void 0:s.simCard.imei})]})]})]})};let m={6:"1.4 MHz",15:"3 MHz",25:"5 MHz",50:"10 MHz",75:"15 MHz",100:"20 MHz"},x={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"},h={2:"UTRAN",4:"HSDPA",5:"HSUPA",6:"HSDPA & HSUPA",7:"E-UTRAN",10:"E-UTRAN - 5GCN",11:"NR - 5GCN",12:"NG-RAN",13:"E-UTRAN-NR Dual"},f=e=>h[e]||"Unknown";var g=e=>{let{data:s,isLoading:t,dataConnectionState:n,connectionStateLoading:i}=e;return(0,l.jsxs)(r.Zb,{children:[(0,l.jsxs)(r.Ol,{children:[(0,l.jsx)(r.ll,{children:"Connection"}),(0,l.jsx)(r.SZ,{children:"Connection information"})]}),(0,l.jsxs)(r.aY,{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.O,{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.O,{className:"h-4 w-[100px]"}):(0,l.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.connection.operatorState)==="Unknown"||(null==s?void 0:s.connection.operatorState)==="Denied"?"bg-rose-500 hover:bg-rose-800":"bg-emerald-500 hover:bg-emerald-800"),children:null==s?void 0:s.connection.operatorState})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Functionality State"}),t?(0,l.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,l.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.connection.functionalityState)==="Enabled"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.connection.functionalityState})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("div",{children:"Data Connection State"}),i?(0,l.jsx)(a.O,{className:"h-4 w-[100px]"}):(0,l.jsx)(p,{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.O,{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.O,{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.O,{className:"h-4 w-[100px]"}):(0,l.jsx)("div",{className:"font-bold",children:(null==s?void 0:s.connection.accessTechnology)?f(s.connection.accessTechnology):"Unknown"})]})]})]})},j=e=>{let{data:s,isLoading:t,bytesSent:n,bytesReceived:i}=e;return(0,l.jsxs)(r.Zb,{children:[(0,l.jsxs)(r.Ol,{children:[(0,l.jsx)(r.ll,{children:"Data Transmission"}),(0,l.jsx)(r.SZ,{children:"Data transmission information"})]}),(0,l.jsxs)(r.aY,{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.O,{className:"h-4 w-[100px]"}):(0,l.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.dataTransmission.carrierAggregation)==="Multi"?"bg-emerald-500 hover:bg-emerald-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.dataTransmission.carrierAggregation})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"Bandwidth"}),t?(0,l.jsx)(a.O,{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.O,{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.O,{className:"h-4 w-[100px]"}):(0,l.jsx)(p,{className:"font-bold ".concat((null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>80?"bg-emerald-500 hover:bg-emerald-800":(null==s?void 0:s.dataTransmission.signalStrength)&&parseInt(null==s?void 0:s.dataTransmission.signalStrength)>40?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.dataTransmission.signalStrength})]}),(0,l.jsxs)("div",{className:"flex flex-row justify-between text-md",children:[(0,l.jsx)("p",{children:"MIMO Layers"}),t?(0,l.jsx)(a.O,{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:i})]})]})]})},N=e=>{let{data:s,isLoading:t}=e;return(0,l.jsxs)(r.Zb,{children:[(0,l.jsxs)(r.Ol,{children:[(0,l.jsx)(r.ll,{children:"Cellular Information"}),(0,l.jsx)(r.SZ,{children:"Cellular network information"})]}),(0,l.jsxs)(r.aY,{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.O,{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.O,{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.O,{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.O,{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.O,{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.O,{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:"Signal Quality"}),t?(0,l.jsx)(a.O,{className:"h-4 w-[80px]"}):(0,l.jsx)(p,{className:"\n font-bold ".concat((null==s?void 0:s.cellularInfo.signalQuality)&&parseInt(null==s?void 0:s.cellularInfo.signalQuality)>80?"bg-emerald-500 hover:bg-emerald-800":(null==s?void 0:s.cellularInfo.signalQuality)&&parseInt(null==s?void 0:s.cellularInfo.signalQuality)>40?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800"),children:null==s?void 0:s.cellularInfo.signalQuality})]})]})]})},v=t(78580),b=t(30214),w=t(7357),y=t(7694),S=t(83765),R=t(7410),C=t(55215),A=t.n(C),T=t(35935),I=t(25696);let E=n.createContext(null);function k(){let e=n.useContext(E);if(!e)throw Error("useCarousel must be used within a ");return e}let D=n.forwardRef((e,s)=>{let{orientation:t="horizontal",opts:i,setApi:r,plugins:a,className:c,children:o,...p}=e,[u,m]=(0,I.Z)({...i,axis:"horizontal"===t?"x":"y"},a),[x,h]=n.useState(!1),[f,g]=n.useState(!1),j=n.useCallback(e=>{e&&(h(e.canScrollPrev()),g(e.canScrollNext()))},[]),N=n.useCallback(()=>{null==m||m.scrollPrev()},[m]),v=n.useCallback(()=>{null==m||m.scrollNext()},[m]),b=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),N()):"ArrowRight"===e.key&&(e.preventDefault(),v())},[N,v]);return n.useEffect(()=>{m&&r&&r(m)},[m,r]),n.useEffect(()=>{if(m)return j(m),m.on("reInit",j),m.on("select",j),()=>{null==m||m.off("select",j)}},[m,j]),(0,l.jsx)(E.Provider,{value:{carouselRef:u,api:m,opts:i,orientation:t||((null==i?void 0:i.axis)==="y"?"vertical":"horizontal"),scrollPrev:N,scrollNext:v,canScrollPrev:x,canScrollNext:f},children:(0,l.jsx)("div",{ref:s,onKeyDownCapture:b,className:(0,d.cn)("relative",c),role:"region","aria-roledescription":"carousel",...p,children:o})})});D.displayName="Carousel";let M=n.forwardRef((e,s)=>{let{className:t,...n}=e,{carouselRef:i,orientation:r}=k();return(0,l.jsx)("div",{ref:i,className:"overflow-hidden",children:(0,l.jsx)("div",{ref:s,className:(0,d.cn)("flex","horizontal"===r?"-ml-4":"-mt-4 flex-col",t),...n})})});M.displayName="CarouselContent";let B=n.forwardRef((e,s)=>{let{className:t,...n}=e,{orientation:i}=k();return(0,l.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,d.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===i?"pl-4":"pt-4",t),...n})});B.displayName="CarouselItem";let G=n.forwardRef((e,s)=>{let{className:t,variant:n="outline",size:i="icon",...r}=e,{orientation:a,scrollPrev:c,canScrollPrev:o}=k();return(0,l.jsxs)(v.z,{ref:s,variant:n,size:i,className:(0,d.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!o,onClick:c,...r,children:[(0,l.jsx)(T.Y4O,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});G.displayName="CarouselPrevious";let O=n.forwardRef((e,s)=>{let{className:t,variant:n="outline",size:i="icon",...r}=e,{orientation:a,scrollNext:c,canScrollNext:o}=k();return(0,l.jsxs)(v.z,{ref:s,variant:n,size:i,className:(0,d.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!o,onClick:c,...r,children:[(0,l.jsx)(T.LZ3,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Next slide"})]})});O.displayName="CarouselNext";var z=e=>{let{id:s,bandNumber:t,earfcn:n,bandwidth:i,pci:a,rsrp:c,rsrq:d,sinr:o}=e;return(0,l.jsx)(r.Zb,{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)(p,{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:i})]}),(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)(p,{className:parseInt(c)>=-80?"bg-emerald-500 hover:bg-emerald-800":parseInt(c)>=-100?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[c," dBm"]})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"RSRQ"}),(0,l.jsxs)(p,{className:10>=parseInt(d)?"bg-emerald-500 hover:bg-emerald-800":20>=parseInt(d)?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[d," dB"]})]}),(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-sm font-bold",children:"SINR"}),(0,l.jsxs)(p,{className:parseInt(o)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(o)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[o," dB"]})]})]})})},U=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)(r.Zb,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,l.jsx)(z,{...e},e.id)),(0,l.jsx)(r.eW,{className:"w-full p-6 flex items-center justify-center",children:(0,l.jsx)(r.SZ,{className:"text-md",children:"Currently bands connected."})})]})}),(0,l.jsx)(D,{className:"lg:hidden w-full max-w-xs",children:(0,l.jsx)(M,{children:(0,l.jsx)(B,{children:(0,l.jsx)("div",{className:"p-1",children:(0,l.jsx)(r.Zb,{children:(0,l.jsxs)(r.aY,{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.O,{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.O,{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.O,{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.O,{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.O,{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.O,{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.O,{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)(r.Zb,{className:"p-6 grid gap-4",children:[s&&s.map(e=>(0,l.jsx)(z,{...e},e.id)),(0,l.jsx)(r.eW,{className:"w-full p-6 flex items-center justify-center",children:(0,l.jsx)(r.SZ,{className:"text-md",children:"Current bands connected."})})]})}),(0,l.jsxs)(D,{className:"lg:hidden w-full max-w-xs",children:[(0,l.jsx)(M,{children:null==s?void 0:s.map(e=>(0,l.jsx)(B,{className:"md:basis-1/2 lg:basis-1/3",children:(0,l.jsx)("div",{className:"p-1",children:(0,l.jsx)(r.Zb,{children:(0,l.jsxs)(r.aY,{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)(p,{className:parseInt(e.rsrp)>=-80?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.rsrp)>=-100?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.rsrp," dBm"]})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"RSRQ"}),(0,l.jsxs)(p,{className:10>=parseInt(e.rsrq)?"bg-emerald-500 hover:bg-emerald-800":20>=parseInt(e.rsrq)?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.rsrq," dB"]})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("p",{children:"SINR"}),(0,l.jsxs)(p,{className:parseInt(e.sinr)>=20?"bg-emerald-500 hover:bg-emerald-800":parseInt(e.sinr)>=0?"bg-orange-500 hover:bg-orange-800":"bg-rose-500 hover:bg-rose-800",children:[e.sinr," dB"]})]})]})})})},e.id))}),(0,l.jsx)(G,{}),(0,l.jsx)(O,{})]})]})};let L=(e,s)=>{switch(e.split("\n")[1].split(":")[1].split(",")[1].trim()||s.split("\n")[1].split(":")[1].split(",")[1].trim()){case"1":return"Registered";case"2":return"Searching";case"3":return"Denied";case"4":return"Unknown";case"5":return"Roaming";default:return"Not Registered"}},P=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"},Z=e=>{let s=["cpuss-0","cpuss-1","cpuss-2","cpuss-3"].map(s=>parseInt(e.split("\n").find(e=>e.includes(s)).split(":")[1].split(",")[1].replace(/"/g,"").trim())),t=s.reduce((e,s)=>e+s,0)/s.length;return"".concat(Math.round(t),"\xb0C")},H=(e,s)=>{let t=e.split("\n").find(e=>e.includes("PCC"));t=null==t?void 0:t.split(":")[1].split(",")[2].trim();let l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));l=l.map(e=>e.split(":")[1].split(",")[2].trim());let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));if(n=n.map(e=>e.split(":")[1].split(",")[2].trim()),"LTE"===s)return!l.length&&t?m[t]||"Unknown":[t?m[t]:"",...l.map(e=>m[e])].join(", ");if("NR5G-SA"===s&&t)return n.length?[x[t],...n.map(e=>x[e])].join(", "):x[t]||"Unknown";if("NR5G-NSA"===s&&t)return l.length||n.length?l.length&&!n.length?[m[t],...l.map(e=>m[e])].join(", "):[m[t],...l.map(e=>m[e]),...n.map(e=>x[e])].join(", "):m[t]||"Unknown"},_=e=>{let s=e.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g);return(null==s?void 0:s.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(e.split(" ")[2].replace(/"/g,"").trim()):void 0).join(", "))||"Unknown"},F=e=>{let s=e.split("\n").find(e=>e.includes("LTE")),t=e.split("\n").find(e=>e.includes("NR5G")),l=[],n=[];if(s&&(l=s.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),t&&(n=t.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),l=l.filter(e=>-140!==e&&-37625!==e),n=n.filter(e=>-140!==e&&-37625!==e),l.length){if(n.length){let e=l.reduce((e,s)=>e+s,0)/l.length,s=n.reduce((e,s)=>e+s,0)/n.length;return"".concat(Math.round((Math.max(0,Math.min(100,(e+125)/50*100))+Math.max(0,Math.min(100,(s+125)/50*100)))/2),"%")}{let e=l.reduce((e,s)=>e+s,0)/l.length;return"".concat(Math.round(Math.max(0,Math.min(100,(e+125)/50*100))),"%")}}if(!n.length)return"Unknown%";{let e=n.reduce((e,s)=>e+s,0)/n.length;return"".concat(Math.round(Math.max(0,Math.min(100,(e+125)/50*100))),"%")}},Q=(e,s)=>"NR5G-SA"===s||"LTE"===s?e.split("\n")[1].split(":")[1].split(",")[6].trim():"NR5G-NSA"===s?e.split("\n")[2].split(":")[1].split(",")[4].trim():"Unknown",Y=(e,s)=>"NR5G-SA"===s?e.split("\n")[1].split(":")[1].split(",")[8].trim():"NR5G-NSA"===s?e.split("\n")[2].split(":")[1].split(",")[9].trim():"LTE"===s?e.split("\n")[1].split(":")[1].split(",")[12].trim():"Unknown",q=(e,s)=>{if("LTE"===s||"NR5G-NSA"===s){let t=e.split("\n").find(e=>e.includes("PCC"));t=null==t?void 0:t.split(":")[1].split(",")[5].trim();let l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));l=l.map(e=>e.split(":")[1].split(",")[5].trim());let n=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(n=n.map(e=>e.split(":")[1].split(",")[4].trim()),l.length||n.length)?"LTE"===s?[t,...l].join(", "):[t,...l,...n].join(", "):t}if("NR5G-SA"===s){let s=e.split("\n").find(e=>e.includes("PCC"));s=null==s?void 0:s.split(":")[1].split(",")[4].trim();let t=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(t=t.map(e=>e.split(":")[1].split(",")[5].trim())).length?[s,...t].join(", "):s}},V=e=>{let s=e.split("\n").find(e=>e.includes("PCC"));s=null==s?void 0:s.split(":")[1].split(",")[1].trim();let t=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("LTE"));t=t.map(e=>e.split(":")[1].split(",")[1].trim());let l=e.split("\n").filter(e=>e.includes("SCC")&&e.includes("NR5G"));return(l=l.map(e=>e.split(":")[1].split(",")[1].trim()),!s||t.length||l.length)?s&&t.length&&!l.length?[s,...t].join(", "):s&&!t.length&&l.length?[s,...l].join(", "):s&&t.length&&l.length?[s,...t,...l].join(", "):"Unknown":s},W=(e,s)=>"LTE"===s||"NR5G-SA"===s?e.split("\n")[1].split(":")[1].split(",")[4].trim():"NR5G-NSA"===s?e.split("\n")[2].split(":")[1].split(",")[2].trim():void 0,K=(e,s)=>"LTE"===s||"NR5G-SA"===s?e.split("\n")[1].split(":")[1].split(",")[5].trim():"NR5G-NSA"===s?e.split("\n")[2].split(":")[1].split(",")[3].trim():void 0,$=e=>{let s=e.split("\n").find(e=>e.includes("LTE")),t=e.split("\n").find(e=>e.includes("NR5G")),l=[],n=[];if(s&&(l=s.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),t&&(n=t.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),l=l.filter(e=>-140!==e&&-37625!==e),n=n.filter(e=>-140!==e&&-37625!==e),l.length){if(n.length){let e=l.reduce((e,s)=>e+s,0)/l.length,s=n.reduce((e,s)=>e+s,0)/n.length;return"".concat(Math.round((Math.max(0,Math.min(100,(e+125)/50*100))+Math.max(0,Math.min(100,(s+125)/50*100)))/2),"%")}{let e=l.reduce((e,s)=>e+s,0)/l.length;return"".concat(Math.round(Math.max(0,Math.min(100,(e+125)/50*100))),"%")}}if(!n.length)return"Unknown%";{let e=n.reduce((e,s)=>e+s,0)/n.length;return"".concat(Math.round(Math.max(0,Math.min(100,(e+125)/50*100))),"%")}},X=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=>e.split(":")[1].split(",")[3].replace(/"/g,"")):s.length?s.map(e=>e.split(":")[1].split(",")[3].replace(/"/g,"")):t.length?t.map(e=>e.split(":")[1].split(",")[3].replace(/"/g,"")):["Unknown"]},J=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=>e.split(":")[1].split(",")[1]):s.length?s.map(e=>e.split(":")[1].split(",")[1]):t.length?t.map(e=>e.split(":")[1].split(",")[1]):["Unknown"]},ee=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=>m[e.split(":")[1].split(",")[2]]),n=t.map(e=>x[e.split(":")[1].split(",")[2]]);return l.length&&n.length?[...l,...n]:l.length?l:n.length?n:["Unknown"]},es=(e,s)=>{if("LTE"===s||"NR5G-SA"===s){let s=e.split("\n").find(e=>e.includes("PCC"));s=s?s.split(":")[1].split(",")[4].trim():"Unknown";let t=e.split("\n").filter(e=>e.includes("BAND"));return t.length?[s,...t.map(e=>e.split(":")[1].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=>e.split(":")[1].split(",")[5]||"Unknown"),...t.map(e=>e.split(":")[1].split(",")[4]||"Unknown")]}return["Unknown"]},et=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>e.split(":")[1].split(",")[6]);if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>e.split(":")[1].split(",")[6]),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>e.split(":")[1].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)return[e.split(":")[1].split(",")[12]]}return["Unknown"]},el=(e,s,t)=>{if("LTE"===s)return e.split("\n").filter(e=>e.includes("BAND")).map(e=>e.split(":")[1].split(",")[7]);if("NR5G-SA"===s){let e=t.split("\n").find(e=>e.includes("NR5G-SA"));return e?[e.split(":")[1].split(",")[13]]:["Unknown"]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>e.split(":")[1].split(",")[7]),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>e.split(":")[1].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=>e.split(":")[1].split(",")[9]);if("NR5G-SA"===s){let e=t.split("\n").find(e=>e.includes("NR5G-SA"));return e?[e.split(":")[1].split(",")[14]]:["Unknown"]}if("NR5G-NSA"===s){let s=e.split("\n").filter(e=>e.includes("LTE BAND")).map(e=>e.split(":")[1].split(",")[9]),l=t.split("\n").filter(e=>e.includes("NR5G-NSA")).map(e=>e.split(":")[1].split(",")[5]);if(s.length&&l.length)return[...s,...l];if(s.length)return s;if(l.length)return l}return["Unknown"]},ei=e=>{let s=[-32768,-140],t=e.split("\n").find(e=>e.includes("LTE")),l=e.split("\n").find(e=>e.includes("NR5G")),n=[],i=[];return(t&&(n=t.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),l&&(i=l.split(":")[1].split(",").slice(0,4).map(e=>parseInt(e.trim()))),n=n.filter(e=>!s.includes(e)),i=i.filter(e=>!s.includes(e)),n.length)?i.length?"LTE ".concat(n.length.toString()," / NR ").concat(i.length.toString()):"LTE ".concat(n.length.toString()):i.length?"NR ".concat(i.length.toString()):"Unknown"};var er=()=>{let[e,s]=(0,n.useState)(null),[t,l]=(0,n.useState)(6e4),[i,r]=(0,n.useState)(!0),[a,c]=(0,n.useState)(!0),d=async()=>{try{let e=await fetch("/cgi-bin/settings/fetch-config.sh"),s=await e.json(),t=Math.max(1e3,parseInt(s.data_refresh_rate));l(t)}catch(e){console.error("Error fetching refresh rate:",e)}},o=(0,n.useCallback)(async()=>{try{var e,t,l;a&&r(!0);let n=await fetch("/cgi-bin/fetch_data.sh?set=1"),i=await n.json();console.log(i),await d();let c={simCard:{slot:i[0].response.split("\n")[1].split(":")[1].trim()||"Unknown",state:i[6].response.match("READY")?"Inserted":"Not Inserted",provider:i[2].response.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()||"Unknown",phoneNumber:i[1].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim()||"Unknown",imsi:i[3].response.split("\n")[1].trim()||"Unknown",iccid:i[4].response.split("\n")[1].split(":")[1].trim()||"Unknown",imei:i[5].response.split("\n")[1].trim()||"Unknown"},connection:{apn:i[7].response.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()||i[12].response.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()||"Unknown",operatorState:L(i[8].response,i[16].response),functionalityState:"1"===i[9].response.split("\n")[1].split(":")[1].trim()?"Enabled":"Disabled",networkType:P(i[13].response),modemTemperature:Z(i[11].response),accessTechnology:i[2].response.split("\n")[1].split(":")[1].split(",")[3].trim()},dataTransmission:{carrierAggregation:(null===(e=i[13].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g))||void 0===e?void 0:e.length)>1?"Multi":"Inactive",bandwidth:H(i[13].response,P(i[13].response)),connectedBands:_(i[13].response),signalStrength:F(i[14].response),mimoLayers:ei(i[14].response)},cellularInfo:{cellId:Q(i[10].response,P(i[13].response)),trackingAreaCode:Y(i[10].response,P(i[13].response)),physicalCellId:q(i[13].response,P(i[13].response)),earfcn:V(i[13].response),mcc:W(i[10].response,P(i[13].response)),mnc:K(i[10].response,P(i[13].response)),signalQuality:$(i[19].response)},currentBands:{id:Array.from({length:null!==(l=null===(t=X(i[13].response))||void 0===t?void 0:t.length)&&void 0!==l?l:0},(e,s)=>s+1),bandNumber:X(i[13].response),earfcn:J(i[13].response),bandwidth:ee(i[13].response),pci:es(i[13].response,P(i[13].response)),rsrp:et(i[13].response,P(i[13].response),i[10].response),rsrq:el(i[13].response,P(i[13].response),i[10].response),sinr:en(i[13].response,P(i[13].response),i[10].response)}};s(c)}catch(e){console.error("Error fetching home data:",e)}finally{a&&setTimeout(()=>{r(!1),c(!1)},300)}},[a]);return(0,n.useEffect)(()=>{o();let e=setInterval(o,t);return()=>clearInterval(e)},[o,t]),{data:e,isLoading:i,refresh:o}},ea=()=>{let[e,s]=(0,n.useState)("Unknown"),[t,l]=(0,n.useState)(!0),i=(0,n.useCallback)(async()=>{try{l(!0);let e=await fetch("/cgi-bin/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)(()=>{i();let e=setInterval(i,3e4);return()=>clearInterval(e)},[i]),{dataConnectionState:e,refresh:(0,n.useCallback)(()=>{i()},[i]),isStateLoading:t}};let ec=e=>{if(0===e)return"0 Bytes";let s=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,s)).toFixed(2))+" "+["Bytes","KB","MB","GB","TB"][s]};var ed=()=>{let[e,s]=(0,n.useState)("0 Bytes"),[t,l]=(0,n.useState)("0 Bytes"),i=(0,n.useCallback)(async()=>{try{let e=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(encodeURIComponent("AT+QGDCNT?;+QGDNRCNT?"))}),t=await e.json(),n=parseInt(t.output.split("\n")[1].split(":")[1].split(",")[0]),i=parseInt(t.output.split("\n")[1].split(":")[1].split(",")[1]),r=parseInt(t.output.split("\n")[3].split(":")[1].split(",")[0]),a=parseInt(t.output.split("\n")[3].split(":")[1].split(",")[1]);s(ec(i+r)),l(ec(n+a))}catch(e){console.error("Error fetching traffic stats:",e)}},[]);return(0,n.useEffect)(()=>{i();let e=setInterval(i,2e3);return()=>clearInterval(e)},[i]),{bytesSent:e,bytesReceived:t,refresh:(0,n.useCallback)(()=>{i()},[i])}},eo=()=>{let[e,s]=(0,n.useState)(!1),[t,l]=(0,n.useState)(null),i=(e,s)=>{let t=e.split("\n")[1].split(":")[1].split(",")[1].trim(),l=s.split("\n")[1].split(":")[1].split(",")[1].trim();return"1"===t||"1"===l?"Registered":"Not Registered"},r=(e,s)=>e.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()===s.split("\n")[1].split(":")[1].split(",")[2].replace(/"/g,"").trim()?"Enabled":"Disabled",a=e=>{let s=e.split("\n")[1].split(":")[1].split(",")[1].trim(),t=e.split("\n")[2].split(":")[1].split(",")[1].trim();return s&&"1"===s||t&&"1"===t?"Connected":"Disconnected"},c=e=>{let s=e.split("\n")[1].split(":")[1].split(",").slice(0,4).map(e=>e.trim()),t=e.includes("NR5G"),l=null;if(t&&(l=e.split("\n")[2].split(":")[1].split(",").slice(0,4).map(e=>e.trim())),s&&s.length>0){let e=s.reduce((e,s)=>e+parseInt(s),0)/s.length;return t&&l&&l.length>0?(e+l.reduce((e,s)=>e+parseInt(s),0)/l.length)/2<-100?"Poor":"Good":e<-100?"Poor":"Good"}return"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"},o=e=>{let s=e.split("\n")[1].split(":")[1].split(",")[1].trim(),t=e.split("\n")[2].split(":")[1].split(",")[1].trim(),l=e.split("\n")[3].split(":")[1].split(",")[1].trim(),n=["0"!==s?"".concat(s):null,"0"!==t?"".concat(t):null,"0"!==l?"".concat(l):null].filter(Boolean);return n.length>0?n.join(", "):"None"};return{isRunningDiagnostics:e,runDiagnosticsData:t,startDiagnostics:async()=>{s(!0);try{let e=await fetch("/cgi-bin/fetch_data.sh?set=6"),s=await e.json();console.log("Diagnostics data:",s);let t={netRegistration:i(s[0].response,s[1].response),simState:s[2].response.split("\n")[1].split(":")[1].trim(),manualAPN:r(s[3].response,s[4].response),wanIP:a(s[5].response),cellSignal:c(s[6].response),modemTemp:d(s[7].response),netReject:o(s[8].response)};return l(t),t}catch(e){throw console.error("Error running diagnostics:",e),e}finally{s(!1)}}}},ep=()=>{let{toast:e}=(0,i.pm)(),{data:s,isLoading:t,refresh:r}=er(),{dataConnectionState:a,isStateLoading:c,refresh:d}=ea(),{isRunningDiagnostics:o,runDiagnosticsData:p,startDiagnostics:m}=eo(),{bytesSent:x,bytesReceived:h,refresh:f}=ed(),C=async()=>{try{let s=await fetch("/cgi-bin/settings/force-rerun.sh"),t=await s.json();if("success"===t.status)e({title:"Data Refreshed",description:"Data and scripts has been refreshed successfully"});else if("info"===t.status)e({title:"Data Refreshed",description:"Data refreshed successfully, but no scripts to restart."});else throw Error("Failed to restart scripts")}catch(s){console.error("Error rerunning scripts:",s),e({variant:"destructive",title:"Script Restart Failed",description:"Failed to restart the required scripts"})}},T=(0,n.useCallback)(async()=>{try{await Promise.all([r(),d(),f()]),await C()}catch(s){console.error("Error refreshing data:",s),e({variant:"destructive",title:"Refresh Failed",description:"Failed to refresh the data"})}},[r,d,f,e]),[I,E]=(0,n.useState)([]),k=async()=>{try{await m()}catch(e){console.error("Error running diagnostics:",e)}};return(0,n.useEffect)(()=>{p&&console.log("Diagnostics data updated:",p)},[p]),(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,i,r,a,c,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===(i=s.currentBands.bandwidth)||void 0===i?void 0:i[t])||"N/A",pci:(null===(r=s.currentBands.pci)||void 0===r?void 0:r[t])||"N/A",rsrp:(null===(a=s.currentBands.rsrp)||void 0===a?void 0:a[t])||"N/A",rsrq:(null===(c=s.currentBands.rsrq)||void 0===c?void 0:c[t])||"N/A",sinr:(null===(d=s.currentBands.sinr)||void 0===d?void 0:d[t])||"N/A"}});t&&E(t)}},[s]),(0,l.jsxs)("div",{className:"grid xl:gap-y-12 gap-y-8 gap-4",children:[(0,l.jsxs)("div",{className:"grid xl:gap-6 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-lg font-bold",children:"Connection Summary"}),(0,l.jsx)(v.z,{variant:"ghost",size:"icon",className:"text-sm",onClick:T,children:(0,l.jsx)(w.Z,{className:"xl:size-6 size-5 text-blue-500",strokeWidth:3})})]}),(0,l.jsxs)(b.Vq,{children:[(0,l.jsx)(b.hg,{children:(0,l.jsxs)(v.z,{variant:"secondary",onClick:k,children:[(0,l.jsx)(y.Z,{className:"xl:size-6 size-5"}),(0,l.jsx)("span",{className:"hidden md:block",children:"Run Diagnostics"})]})}),!o&&(0,l.jsxs)(b.cZ,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(b.fK,{children:(0,l.jsx)(b.$N,{children:"Diagnostics Result"})}),(0,l.jsx)(b.Be,{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==p?void 0:p.netRegistration)==="Registered"?(0,l.jsx)(S.Z,{className:"text-green-500"}):(0,l.jsx)(R.Z,{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==p?void 0:p.simState)==="READY"?(0,l.jsx)(S.Z,{className:"text-green-500"}):(0,l.jsx)(R.Z,{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==p?void 0:p.manualAPN)==="Enabled"?(0,l.jsx)(S.Z,{className:"text-green-500"}):(0,l.jsx)(R.Z,{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==p?void 0:p.wanIP)==="Connected"?(0,l.jsx)(S.Z,{className:"text-green-500"}):(0,l.jsx)(R.Z,{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==p?void 0:p.cellSignal)==="Good"?(0,l.jsx)(S.Z,{className:"text-green-500"}):(0,l.jsx)(R.Z,{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==p?void 0:p.modemTemp)==="Normal"?(0,l.jsx)(S.Z,{className:"text-green-500"}):(0,l.jsx)(R.Z,{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==p?void 0:p.netReject)==="None"?(0,l.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,l.jsx)(S.Z,{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)(R.Z,{className:"text-red-500"}),(0,l.jsx)("span",{children:null==p?void 0:p.netReject})]})]})]})]}),o&&(0,l.jsxs)(b.cZ,{className:"max-w-xs md:max-w-lg",children:[(0,l.jsx)(b.fK,{children:(0,l.jsx)(b.$N,{children:"Running Diagnostics"})}),(0,l.jsx)("div",{className:"flex items-center justify-center my-4",children:(0,l.jsx)(A(),{color:"#6D28D9"})}),(0,l.jsx)(b.Be,{className:"text-center",children:"Please wait while we run diagnostics on your device."})]})]})]}),(0,l.jsxs)("div",{className:"grid 2xl:grid-cols-4 lg:grid-cols-2 grid-cols-1 gap-4",children:[(0,l.jsx)(u,{data:s,isLoading:t}),(0,l.jsx)(g,{data:s,isLoading:t,dataConnectionState:a,connectionStateLoading:c}),(0,l.jsx)(j,{data:s,isLoading:t,bytesSent:x,bytesReceived:h}),(0,l.jsx)(N,{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-lg font-bold",children:"Current Active Bands"}),(0,l.jsx)(U,{bands:I,isLoading:t})]})]})}},78580:function(e,s,t){"use strict";t.d(s,{d:function(){return c},z:function(){return d}});var l=t(20881),n=t(64149),i=t(54098),r=t(20116),a=t(90270);let c=(0,r.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,s)=>{let{className:t,variant:n,size:r,asChild:d=!1,...o}=e,p=d?i.g7:"button";return(0,l.jsx)(p,{className:(0,a.cn)(c({variant:n,size:r,className:t})),ref:s,...o})});d.displayName="Button"},94920:function(e,s,t){"use strict";t.d(s,{Ol:function(){return a},SZ:function(){return d},Zb:function(){return r},aY:function(){return o},eW:function(){return p},ll:function(){return c}});var l=t(20881),n=t(64149),i=t(90270);let r=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...n})});r.displayName="Card";let a=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",t),...n})});a.displayName="CardHeader";let c=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("h3",{ref:s,className:(0,i.cn)("font-semibold leading-none tracking-tight",t),...n})});c.displayName="CardTitle";let d=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("p",{ref:s,className:(0,i.cn)("text-sm text-muted-foreground",t),...n})});d.displayName="CardDescription";let o=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,i.cn)("p-6 pt-0",t),...n})});o.displayName="CardContent";let p=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)("div",{ref:s,className:(0,i.cn)("flex items-center p-6 pt-0",t),...n})});p.displayName="CardFooter"},30214:function(e,s,t){"use strict";t.d(s,{$N:function(){return x},Be:function(){return h},Vq:function(){return c},cZ:function(){return u},fK:function(){return m},hg:function(){return d}});var l=t(20881),n=t(64149),i=t(14491),r=t(35935),a=t(90270);let c=i.fC,d=i.xz,o=i.h_;i.x8;let p=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(i.aV,{ref:s,className:(0,a.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...n})});p.displayName=i.aV.displayName;let u=n.forwardRef((e,s)=>{let{className:t,children:n,...c}=e;return(0,l.jsxs)(o,{children:[(0,l.jsx)(p,{}),(0,l.jsxs)(i.VY,{ref:s,className:(0,a.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...c,children:[n,(0,l.jsxs)(i.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,l.jsx)(r.Pxu,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});u.displayName=i.VY.displayName;let m=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})};m.displayName="DialogHeader";let x=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(i.Dx,{ref:s,className:(0,a.cn)("text-lg font-semibold leading-none tracking-tight",t),...n})});x.displayName=i.Dx.displayName;let h=n.forwardRef((e,s)=>{let{className:t,...n}=e;return(0,l.jsx)(i.dk,{ref:s,className:(0,a.cn)("text-sm text-muted-foreground",t),...n})});h.displayName=i.dk.displayName},88766:function(e,s,t){"use strict";t.d(s,{O:function(){return i}});var l=t(20881),n=t(90270);function i(e){let{className:s,...t}=e;return(0,l.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",s),...t})}},46646:function(e,s,t){"use strict";t.d(s,{pm:function(){return u}});var l=t(64149);let n=0,i=new Map,r=e=>{if(i.has(e))return;let s=setTimeout(()=>{i.delete(e),o({type:"REMOVE_TOAST",toastId:e})},1e6);i.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?r(t):e.toasts.forEach(e=>{r(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)}}},c=[],d={toasts:[]};function o(e){d=a(d,e),c.forEach(e=>{e(d)})}function p(e){let{...s}=e,t=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),l=()=>o({type:"DISMISS_TOAST",toastId:t});return o({type:"ADD_TOAST",toast:{...s,id:t,open:!0,onOpenChange:e=>{e||l()}}}),{id:t,dismiss:l,update:e=>o({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function u(){let[e,s]=l.useState(d);return l.useEffect(()=>(c.push(s),()=>{let e=c.indexOf(s);e>-1&&c.splice(e,1)}),[e]),{...e,toast:p,dismiss:e=>o({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,s,t){"use strict";t.d(s,{cn:function(){return i}});var l=t(33958),n=t(61779);function i(){for(var e=arguments.length,s=Array(e),t=0;t{let{children:t}=e,a=(0,i.useRouter)(),{isAuthenticated:s,checkAuth:d}=(0,n.a)();return((0,o.useEffect)(()=>{d()||a.push("/login")},[]),s)?(0,r.jsx)(r.Fragment,{children:t}):null};var l=a(92093);let c=(0,l.Z)("RadioTower",[["path",{d:"M4.9 16.1C1 12.2 1 5.8 4.9 1.9",key:"s0qx1y"}],["path",{d:"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5",key:"1idnkw"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}],["path",{d:"M16.2 4.8c2 2 2.26 5.11.8 7.47",key:"ojru2q"}],["path",{d:"M19.1 1.9a9.96 9.96 0 0 1 0 14.1",key:"rhi7fg"}],["path",{d:"M9.5 18h5",key:"mfy3pd"}],["path",{d:"m8 22 4-11 4 11",key:"25yftu"}]]),u=(0,l.Z)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),f=(0,l.Z)("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]),m=(0,l.Z)("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);var h=a(78580),x=a(71036),p=a(16236);let g=(0,l.Z)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),y=(0,l.Z)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);var b=a(89448),v=a(14491),j=a(35935),w=a(20116),N=a(90270);let k=v.fC,A=v.xz,R=v.x8,T=v.h_,C=o.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(v.aV,{className:(0,N.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s,ref:t})});C.displayName=v.aV.displayName;let S=(0,w.j)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),D=o.forwardRef((e,t)=>{let{side:a="right",className:s,children:n,...o}=e;return(0,r.jsxs)(T,{children:[(0,r.jsx)(C,{}),(0,r.jsxs)(v.VY,{ref:t,className:(0,N.cn)(S({side:a}),s),...o,children:[(0,r.jsxs)(v.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,r.jsx)(j.Pxu,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]}),n]})]})});D.displayName=v.VY.displayName,o.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(v.Dx,{ref:t,className:(0,N.cn)("text-lg font-semibold text-foreground",a),...s})}).displayName=v.Dx.displayName,o.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(v.dk,{ref:t,className:(0,N.cn)("text-sm text-muted-foreground",a),...s})}).displayName=v.dk.displayName;var _=a(46646),O=e=>{let{children:t}=e,a=(0,i.usePathname)(),{logout:l}=(0,n.a)(),{setTheme:v}=(0,b.F)(),[j,w]=(0,o.useState)(!1),[N,T]=(0,o.useState)("192.168.224.1"),C=(0,_.pm)(),S=async e=>{try{let t=encodeURIComponent(e),a=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)});if(!a.ok)throw Error("HTTP error! status: ".concat(a.status));return a}catch(e){throw console.error("AT Command error:",e),e}},O=async()=>{try{w(!0),await S("AT+QPOWD=1"),C.toast({title:"Rebooting device",description:"Please wait for the device to restart."}),setTimeout(()=>{C.toast({title:"Device is now active",description:"The device has been rebooted successfully."})},9e4),setTimeout(()=>{window.location.reload()},92e3)}catch(e){console.error("Reboot error:",e),C.toast({title:"Failed to reboot device",description:"Please try again.",variant:"destructive"})}finally{w(!1)}},z=async()=>{try{await S("AT+COPS=2"),C.toast({title:"Reconnecting to network",description:"Please wait for the device to reconnect."}),await new Promise(e=>setTimeout(e,2e3)),await S("AT+COPS=0"),C.toast({title:"Reconnected to network",description:"The device has been reconnected successfully."}),await new Promise(e=>setTimeout(e,3e3)),window.location.reload()}catch(e){C.toast({title:"Failed to reconnect to network",description:"Please try again.",variant:"destructive"})}(0,o.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/settings/get-ip.sh");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();T(t.br_lan_ip)}catch(e){console.error("Failed to fetch IP address:",e),C.toast({title:"Failed to fetch IP address",description:"Using default IP address",variant:"destructive"})}})()},[])};return(0,r.jsxs)("div",{className:"flex min-h-screen w-full flex-col",children:[(0,r.jsxs)("header",{className:"sticky top-0 flex h-16 items-center gap-4 border-b bg-background px-4 md:px-6",children:[(0,r.jsxs)("nav",{className:"hidden flex-col gap-6 text-lg font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-base lg:gap-6",children:[(0,r.jsxs)(s.default,{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold md:text-xl md:mr-8",children:[(0,r.jsx)(c,{className:"h-6 w-6"}),(0,r.jsx)("h1",{children:"QuecManager"})]}),(0,r.jsx)(s.default,{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"}),(0,r.jsx)(s.default,{href:"/dashboard/cell-settings/basic-settings/",className:"".concat(a.includes("/dashboard/cell-settings/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Cellular"}),(0,r.jsx)(s.default,{href:"/dashboard/advanced-settings/connectivity",className:"".concat(a.includes("/dashboard/advanced-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Advance"}),(0,r.jsx)(s.default,{href:"/dashboard/experimental/",className:"".concat("/dashboard/experimental/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"}),(0,r.jsx)(s.default,{href:"/dashboard/about/",className:"".concat("/dashboard/about/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"About"})]}),(0,r.jsxs)(k,{children:[(0,r.jsx)(A,{asChild:!0,children:(0,r.jsxs)(h.z,{variant:"outline",size:"icon",className:"shrink-0 md:hidden",children:[(0,r.jsx)(u,{className:"h-5 w-5"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),(0,r.jsx)(D,{side:"left",children:(0,r.jsxs)("nav",{className:"grid gap-6 text-lg font-medium",children:[(0,r.jsx)(R,{asChild:!0,children:(0,r.jsxs)(s.default,{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold",children:[(0,r.jsx)(c,{className:"h-6 w-6"}),(0,r.jsx)("span",{children:"QuecManager"})]})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/cell-settings/basic-settings/",className:"".concat(a.includes("/dashboard/cell-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Cellular"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/advanced-settings/connectivity",className:"".concat(a.includes("/dashboard/advanced-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Advance"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/experimental/",className:"".concat("/dashboard/experimental/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/about/",className:"".concat("/dashboard/about/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"About"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/settings/general",className:"".concat(a.includes("/dashboard/settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Settings"})})]})})]}),(0,r.jsxs)("div",{className:"flex w-full items-center gap-4 md:ml-auto md:gap-2 lg:gap-4",children:[(0,r.jsx)("form",{className:"ml-auto flex-1 sm:flex-initial",children:(0,r.jsxs)(x.h_,{children:[(0,r.jsx)(x.$F,{asChild:!0,children:(0,r.jsxs)(h.z,{variant:"outline",size:"icon",children:[(0,r.jsx)(g,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,r.jsx)(y,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,r.jsxs)(x.AW,{align:"end",children:[(0,r.jsx)(x.Xi,{onClick:()=>v("light"),children:"Light"}),(0,r.jsx)(x.Xi,{onClick:()=>v("dark"),children:"Dark"}),(0,r.jsx)(x.Xi,{onClick:()=>v("system"),children:"System"})]})]})}),(0,r.jsxs)(x.h_,{children:[(0,r.jsx)(x.$F,{asChild:!0,children:(0,r.jsxs)(h.z,{variant:"secondary",size:"icon",className:"rounded-full",children:[(0,r.jsx)(f,{className:"h-5 w-5"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle user menu"})]})}),(0,r.jsxs)(x.AW,{align:"end",children:[(0,r.jsx)(x.Ju,{children:"Options"}),(0,r.jsx)(x.VD,{}),(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/settings/general",children:"Settings"})}),(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsx)("a",{href:"http://192.168.224.1/cgi-bin/luci",children:"Luci"})}),(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsx)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/discussions/new/choose",target:"_blank",children:"Support"})}),(0,r.jsx)(x.VD,{}),(0,r.jsx)(x.Xi,{onClick:z,children:"Reconnect"}),(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsxs)(p.aR,{children:[(0,r.jsx)(p.vW,{asChild:!0,children:(0,r.jsx)("button",{className:"relative flex w-full cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent hover:text-accent-foreground",children:"Reboot"})}),(0,r.jsxs)(p._T,{children:[(0,r.jsxs)(p.fY,{children:[(0,r.jsx)(p.f$,{children:"Are you sure?"}),(0,r.jsx)(p.yT,{children:"This will reboot your device. The connection will be lost temporarily. Please wait for the page to reload."})]}),(0,r.jsxs)(p.xo,{children:[(0,r.jsx)(p.le,{children:"Cancel"}),(0,r.jsxs)(p.OL,{onClick:O,disabled:j,children:[(0,r.jsx)(m,{className:"size-4"}),"Reboot Now"]})]})]})]})}),(0,r.jsx)(x.VD,{}),(0,r.jsx)(x.Xi,{onClick:l,children:"Logout"})]})]})]})]}),(0,r.jsx)("main",{className:"flex min-h-[calc(100vh_-_theme(spacing.16))] flex-1 flex-col gap-4 bg-muted/40 p-4 md:gap-8 md:p-10",children:(0,r.jsx)(d,{children:t})})]})}},16236:function(e,t,a){"use strict";a.d(t,{aR:function(){return O},OL:function(){return X},le:function(){return Z},_T:function(){return P},yT:function(){return F},xo:function(){return I},fY:function(){return M},f$:function(){return V},vW:function(){return z}});var r=a(20881),s=a(64149),n=a(74873),o=a(83954),i=a(14491),d=a(64433),l=a(54098),c="AlertDialog",[u,f]=(0,n.b)(c,[i.p8]),m=(0,i.p8)(),h=e=>{let{__scopeAlertDialog:t,...a}=e,s=m(t);return(0,r.jsx)(i.fC,{...s,...a,modal:!0})};h.displayName=c;var x=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.xz,{...n,...s,ref:t})});x.displayName="AlertDialogTrigger";var p=e=>{let{__scopeAlertDialog:t,...a}=e,s=m(t);return(0,r.jsx)(i.h_,{...s,...a})};p.displayName="AlertDialogPortal";var g=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.aV,{...n,...s,ref:t})});g.displayName="AlertDialogOverlay";var y="AlertDialogContent",[b,v]=u(y),j=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,children:n,...c}=e,u=m(a),f=s.useRef(null),h=(0,o.e)(t,f),x=s.useRef(null);return(0,r.jsx)(i.jm,{contentName:y,titleName:w,docsSlug:"alert-dialog",children:(0,r.jsx)(b,{scope:a,cancelRef:x,children:(0,r.jsxs)(i.VY,{role:"alertdialog",...u,...c,ref:h,onOpenAutoFocus:(0,d.M)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=x.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,r.jsx)(l.A4,{children:n}),(0,r.jsx)(S,{contentRef:f})]})})})});j.displayName=y;var w="AlertDialogTitle",N=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.Dx,{...n,...s,ref:t})});N.displayName=w;var k="AlertDialogDescription",A=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.dk,{...n,...s,ref:t})});A.displayName=k;var R=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.x8,{...n,...s,ref:t})});R.displayName="AlertDialogAction";var T="AlertDialogCancel",C=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,{cancelRef:n}=v(T,a),d=m(a),l=(0,o.e)(t,n);return(0,r.jsx)(i.x8,{...d,...s,ref:l})});C.displayName=T;var S=e=>{let{contentRef:t}=e,a="`".concat(y,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(y,"` by passing a `").concat(k,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(y,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return s.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(a)},[a,t]),null},D=a(90270),_=a(78580);let O=h,z=x,E=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(g,{className:(0,D.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s,ref:t})});E.displayName=g.displayName;let P=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsxs)(p,{children:[(0,r.jsx)(E,{}),(0,r.jsx)(j,{ref:t,className:(0,D.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...s})]})});P.displayName=j.displayName;let M=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,D.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};M.displayName="AlertDialogHeader";let I=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,D.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};I.displayName="AlertDialogFooter";let V=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(N,{ref:t,className:(0,D.cn)("text-lg font-semibold",a),...s})});V.displayName=N.displayName;let F=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(A,{ref:t,className:(0,D.cn)("text-sm text-muted-foreground",a),...s})});F.displayName=A.displayName;let X=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(R,{ref:t,className:(0,D.cn)((0,_.d)(),a),...s})});X.displayName=R.displayName;let Z=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(C,{ref:t,className:(0,D.cn)((0,_.d)({variant:"outline"}),"mt-2 sm:mt-0",a),...s})});Z.displayName=C.displayName},78580:function(e,t,a){"use strict";a.d(t,{d:function(){return d},z:function(){return l}});var r=a(20881),s=a(64149),n=a(54098),o=a(20116),i=a(90270);let d=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=s.forwardRef((e,t)=>{let{className:a,variant:s,size:o,asChild:l=!1,...c}=e,u=l?n.g7:"button";return(0,r.jsx)(u,{className:(0,i.cn)(d({variant:s,size:o,className:a})),ref:t,...c})});l.displayName="Button"},71036:function(e,t,a){"use strict";a.d(t,{$F:function(){return l},AW:function(){return c},Ju:function(){return f},VD:function(){return m},Xi:function(){return u},h_:function(){return d}});var r=a(20881),s=a(64149),n=a(67293),o=a(35935),i=a(90270);let d=n.fC,l=n.xz;n.ZA,n.Uv,n.Tr,n.Ee,s.forwardRef((e,t)=>{let{className:a,inset:s,children:d,...l}=e;return(0,r.jsxs)(n.fF,{ref:t,className:(0,i.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",s&&"pl-8",a),...l,children:[d,(0,r.jsx)(o.XCv,{className:"ml-auto h-4 w-4"})]})}).displayName=n.fF.displayName,s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.tu,{ref:t,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...s})}).displayName=n.tu.displayName;let c=s.forwardRef((e,t)=>{let{className:a,sideOffset:s=4,...o}=e;return(0,r.jsx)(n.Uv,{children:(0,r.jsx)(n.VY,{ref:t,sideOffset:s,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...o})})});c.displayName=n.VY.displayName;let u=s.forwardRef((e,t)=>{let{className:a,inset:s,...o}=e;return(0,r.jsx)(n.ck,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",a),...o})});u.displayName=n.ck.displayName,s.forwardRef((e,t)=>{let{className:a,children:s,checked:d,...l}=e;return(0,r.jsxs)(n.oC,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:d,...l,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(n.wU,{children:(0,r.jsx)(o.nQG,{className:"h-4 w-4"})})}),s]})}).displayName=n.oC.displayName,s.forwardRef((e,t)=>{let{className:a,children:s,...d}=e;return(0,r.jsxs)(n.Rk,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...d,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(n.wU,{children:(0,r.jsx)(o.jXb,{className:"h-4 w-4 fill-current"})})}),s]})}).displayName=n.Rk.displayName;let f=s.forwardRef((e,t)=>{let{className:a,inset:s,...o}=e;return(0,r.jsx)(n.__,{ref:t,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",a),...o})});f.displayName=n.__.displayName;let m=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.Z0,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",a),...s})});m.displayName=n.Z0.displayName},45320:function(e,t,a){"use strict";a.d(t,{a:function(){return n}});var r=a(64149),s=a(27525);function n(){let[e,t]=(0,r.useState)(!1),a=(0,s.useRouter)();function n(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}function o(){localStorage.removeItem("session"),t(!1),a.push("/login")}function i(){let e=function(){let e=function(){let e=localStorage.getItem("session");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}();if(!e)return!1;let t=Date.now();return t>e.expiresAt?(o(),!1):(t-e.lastActivity>3e5&&n(e.token),!0)}();return t(e),e}return(0,r.useEffect)(()=>{i()},[]),{isAuthenticated:e,login:async function(e){let r=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(r)}),s=await e.json();if(console.log(s),"success"!==s.state)return!1;{let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";return Array.from(crypto.getRandomValues(new Uint8Array(e))).map(e=>t[e%t.length]).join("")}();return n(e),t(!0),a.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:o,checkAuth:i}}},46646:function(e,t,a){"use strict";a.d(t,{pm:function(){return f}});var r=a(64149);let s=0,n=new Map,o=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?o(a):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},d=[],l={toasts:[]};function c(e){l=i(l,e),d.forEach(e=>{e(l)})}function u(e){let{...t}=e,a=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||r()}}}),{id:a,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function f(){let[e,t]=r.useState(l);return r.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,a){"use strict";a.d(t,{cn:function(){return n}});var r=a(33958),s=a(61779);function n(){for(var e=arguments.length,t=Array(e),a=0;ae.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=function(){for(var e=arguments.length,t=Array(e),a=0;a!!e&&a.indexOf(e)===t).join(" ")};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,r.forwardRef)((e,t)=>{let{color:a="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:d,className:l="",children:c,iconNode:u,...f}=e;return(0,r.createElement)("svg",{ref:t,...o,width:s,height:s,stroke:a,strokeWidth:d?24*Number(i)/Number(s):i,className:n("lucide",l),...f},[...u.map(e=>{let[t,a]=e;return(0,r.createElement)(t,a)}),...Array.isArray(c)?c:[c]])}),d=(e,t)=>{let a=(0,r.forwardRef)((a,o)=>{let{className:d,...l}=a;return(0,r.createElement)(i,{ref:o,iconNode:t,className:n("lucide-".concat(s(e)),d),...l})});return a.displayName="".concat(e),a}},27525:function(e,t,a){"use strict";var r=a(39886);a.o(r,"usePathname")&&a.d(t,{usePathname:function(){return r.usePathname}}),a.o(r,"useRouter")&&a.d(t,{useRouter:function(){return r.useRouter}})}},function(e){e.O(0,[792,59,714,217,420,509,491,136,985,330,744],function(){return e(e.s=14658)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-6ee6624d87d32b72.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-6ee6624d87d32b72.js new file mode 100644 index 0000000..2f75cf0 --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/layout-6ee6624d87d32b72.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[663],{14658:function(e,t,a){Promise.resolve().then(a.bind(a,65213))},65213:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return O}});var r=a(20881),s=a(26509),n=a(45320),o=a(64149),i=a(27525);let d=e=>{let{children:t}=e,a=(0,i.useRouter)(),{isAuthenticated:s,checkAuth:d}=(0,n.a)();return((0,o.useEffect)(()=>{d()||a.push("/login")},[]),s)?(0,r.jsx)(r.Fragment,{children:t}):null};var l=a(92093);let c=(0,l.Z)("RadioTower",[["path",{d:"M4.9 16.1C1 12.2 1 5.8 4.9 1.9",key:"s0qx1y"}],["path",{d:"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5",key:"1idnkw"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}],["path",{d:"M16.2 4.8c2 2 2.26 5.11.8 7.47",key:"ojru2q"}],["path",{d:"M19.1 1.9a9.96 9.96 0 0 1 0 14.1",key:"rhi7fg"}],["path",{d:"M9.5 18h5",key:"mfy3pd"}],["path",{d:"m8 22 4-11 4 11",key:"25yftu"}]]),u=(0,l.Z)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),f=(0,l.Z)("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]),m=(0,l.Z)("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);var h=a(78580),x=a(71036),p=a(16236);let g=(0,l.Z)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),y=(0,l.Z)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);var b=a(89448),v=a(14491),j=a(35935),w=a(20116),N=a(90270);let k=v.fC,A=v.xz,R=v.x8,T=v.h_,C=o.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(v.aV,{className:(0,N.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s,ref:t})});C.displayName=v.aV.displayName;let S=(0,w.j)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),D=o.forwardRef((e,t)=>{let{side:a="right",className:s,children:n,...o}=e;return(0,r.jsxs)(T,{children:[(0,r.jsx)(C,{}),(0,r.jsxs)(v.VY,{ref:t,className:(0,N.cn)(S({side:a}),s),...o,children:[(0,r.jsxs)(v.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,r.jsx)(j.Pxu,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]}),n]})]})});D.displayName=v.VY.displayName,o.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(v.Dx,{ref:t,className:(0,N.cn)("text-lg font-semibold text-foreground",a),...s})}).displayName=v.Dx.displayName,o.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(v.dk,{ref:t,className:(0,N.cn)("text-sm text-muted-foreground",a),...s})}).displayName=v.dk.displayName;var _=a(46646),O=e=>{let{children:t}=e,a=(0,i.usePathname)(),{logout:l}=(0,n.a)(),{setTheme:v}=(0,b.F)(),[j,w]=(0,o.useState)(!1),[N,T]=(0,o.useState)("192.168.224.1"),C=(0,_.pm)(),S=async e=>{try{let t=encodeURIComponent(e),a=await fetch("/cgi-bin/atinout_handler.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"command=".concat(t)});if(!a.ok)throw Error("HTTP error! status: ".concat(a.status));return a}catch(e){throw console.error("AT Command error:",e),e}},O=async()=>{try{w(!0),await S("AT+QPOWD=1"),C.toast({title:"Rebooting device",description:"Please wait for the device to restart."}),setTimeout(()=>{C.toast({title:"Device is now active",description:"The device has been rebooted successfully."})},9e4),setTimeout(()=>{window.location.reload()},92e3)}catch(e){console.error("Reboot error:",e),C.toast({title:"Failed to reboot device",description:"Please try again.",variant:"destructive"})}finally{w(!1)}},z=async()=>{try{await S("AT+COPS=2"),C.toast({title:"Reconnecting to network",description:"Please wait for the device to reconnect."}),await new Promise(e=>setTimeout(e,2e3)),await S("AT+COPS=0"),C.toast({title:"Reconnected to network",description:"The device has been reconnected successfully."}),await new Promise(e=>setTimeout(e,3e3)),window.location.reload()}catch(e){C.toast({title:"Failed to reconnect to network",description:"Please try again.",variant:"destructive"})}(0,o.useEffect)(()=>{(async()=>{try{let e=await fetch("/cgi-bin/settings/get-ip.sh");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();T(t.br_lan_ip)}catch(e){console.error("Failed to fetch IP address:",e),C.toast({title:"Failed to fetch IP address",description:"Using default IP address",variant:"destructive"})}})()},[])};return(0,r.jsxs)("div",{className:"flex min-h-screen w-full flex-col",children:[(0,r.jsxs)("header",{className:"sticky top-0 flex h-16 items-center gap-4 border-b bg-background px-4 md:px-6",children:[(0,r.jsxs)("nav",{className:"hidden flex-col gap-6 text-lg font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-base lg:gap-6",children:[(0,r.jsxs)(s.default,{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold md:text-xl md:mr-8",children:[(0,r.jsx)(c,{className:"h-6 w-6"}),(0,r.jsx)("h1",{children:"QuecManager"})]}),(0,r.jsx)(s.default,{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"}),(0,r.jsx)(s.default,{href:"/dashboard/cell-settings/basic-settings/",className:"".concat(a.includes("/dashboard/cell-settings/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Cellular"}),(0,r.jsx)(s.default,{href:"/dashboard/advanced-settings/connectivity",className:"".concat(a.includes("/dashboard/advanced-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Advance"}),(0,r.jsx)(s.default,{href:"/dashboard/experimental/speedtest",className:"".concat(a.includes("/dashboard/experimental/")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"}),(0,r.jsx)(s.default,{href:"/dashboard/about/",className:"".concat("/dashboard/about/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"About"})]}),(0,r.jsxs)(k,{children:[(0,r.jsx)(A,{asChild:!0,children:(0,r.jsxs)(h.z,{variant:"outline",size:"icon",className:"shrink-0 md:hidden",children:[(0,r.jsx)(u,{className:"h-5 w-5"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),(0,r.jsx)(D,{side:"left",children:(0,r.jsxs)("nav",{className:"grid gap-6 text-lg font-medium",children:[(0,r.jsx)(R,{asChild:!0,children:(0,r.jsxs)(s.default,{href:"/dashboard/home/",className:"flex items-center gap-2 text-lg font-semibold",children:[(0,r.jsx)(c,{className:"h-6 w-6"}),(0,r.jsx)("span",{children:"QuecManager"})]})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/home/",className:"".concat("/dashboard/home/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Home"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/cell-settings/basic-settings/",className:"".concat(a.includes("/dashboard/cell-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Cellular"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/advanced-settings/connectivity",className:"".concat(a.includes("/dashboard/advanced-settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Advance"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/experimental/",className:"".concat("/dashboard/experimental/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Experimental"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/about/",className:"".concat("/dashboard/about/"===a?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"About"})}),(0,r.jsx)(R,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/settings/general",className:"".concat(a.includes("/dashboard/settings")?"text-foreground":"text-muted-foreground"," transition-colors hover:text-foreground"),children:"Settings"})})]})})]}),(0,r.jsxs)("div",{className:"flex w-full items-center gap-4 md:ml-auto md:gap-2 lg:gap-4",children:[(0,r.jsx)("form",{className:"ml-auto flex-1 sm:flex-initial",children:(0,r.jsxs)(x.h_,{children:[(0,r.jsx)(x.$F,{asChild:!0,children:(0,r.jsxs)(h.z,{variant:"outline",size:"icon",children:[(0,r.jsx)(g,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,r.jsx)(y,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,r.jsxs)(x.AW,{align:"end",children:[(0,r.jsx)(x.Xi,{onClick:()=>v("light"),children:"Light"}),(0,r.jsx)(x.Xi,{onClick:()=>v("dark"),children:"Dark"}),(0,r.jsx)(x.Xi,{onClick:()=>v("system"),children:"System"})]})]})}),(0,r.jsxs)(x.h_,{children:[(0,r.jsx)(x.$F,{asChild:!0,children:(0,r.jsxs)(h.z,{variant:"secondary",size:"icon",className:"rounded-full",children:[(0,r.jsx)(f,{className:"h-5 w-5"}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle user menu"})]})}),(0,r.jsxs)(x.AW,{align:"end",children:[(0,r.jsx)(x.Ju,{children:"Options"}),(0,r.jsx)(x.VD,{}),(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsx)(s.default,{href:"/dashboard/settings/general",children:"Settings"})}),(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsx)("a",{href:"/cgi-bin/luci",children:"Luci"})}),(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsx)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/discussions/new/choose",target:"_blank",children:"Support"})}),(0,r.jsx)(x.VD,{}),(0,r.jsx)(x.Xi,{onClick:z,children:"Reconnect"}),(0,r.jsx)(x.Xi,{asChild:!0,children:(0,r.jsxs)(p.aR,{children:[(0,r.jsx)(p.vW,{asChild:!0,children:(0,r.jsx)("button",{className:"relative flex w-full cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent hover:text-accent-foreground",children:"Reboot"})}),(0,r.jsxs)(p._T,{children:[(0,r.jsxs)(p.fY,{children:[(0,r.jsx)(p.f$,{children:"Are you sure?"}),(0,r.jsx)(p.yT,{children:"This will reboot your device. The connection will be lost temporarily. Please wait for the page to reload."})]}),(0,r.jsxs)(p.xo,{children:[(0,r.jsx)(p.le,{children:"Cancel"}),(0,r.jsxs)(p.OL,{onClick:O,disabled:j,children:[(0,r.jsx)(m,{className:"size-4"}),"Reboot Now"]})]})]})]})}),(0,r.jsx)(x.VD,{}),(0,r.jsx)(x.Xi,{onClick:l,children:"Logout"})]})]})]})]}),(0,r.jsx)("main",{className:"flex min-h-[calc(100vh_-_theme(spacing.16))] flex-1 flex-col gap-4 bg-muted/40 p-4 md:gap-8 md:p-10",children:(0,r.jsx)(d,{children:t})})]})}},16236:function(e,t,a){"use strict";a.d(t,{aR:function(){return O},OL:function(){return X},le:function(){return Z},_T:function(){return P},yT:function(){return F},xo:function(){return I},fY:function(){return M},f$:function(){return V},vW:function(){return z}});var r=a(20881),s=a(64149),n=a(74873),o=a(83954),i=a(14491),d=a(64433),l=a(54098),c="AlertDialog",[u,f]=(0,n.b)(c,[i.p8]),m=(0,i.p8)(),h=e=>{let{__scopeAlertDialog:t,...a}=e,s=m(t);return(0,r.jsx)(i.fC,{...s,...a,modal:!0})};h.displayName=c;var x=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.xz,{...n,...s,ref:t})});x.displayName="AlertDialogTrigger";var p=e=>{let{__scopeAlertDialog:t,...a}=e,s=m(t);return(0,r.jsx)(i.h_,{...s,...a})};p.displayName="AlertDialogPortal";var g=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.aV,{...n,...s,ref:t})});g.displayName="AlertDialogOverlay";var y="AlertDialogContent",[b,v]=u(y),j=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,children:n,...c}=e,u=m(a),f=s.useRef(null),h=(0,o.e)(t,f),x=s.useRef(null);return(0,r.jsx)(i.jm,{contentName:y,titleName:w,docsSlug:"alert-dialog",children:(0,r.jsx)(b,{scope:a,cancelRef:x,children:(0,r.jsxs)(i.VY,{role:"alertdialog",...u,...c,ref:h,onOpenAutoFocus:(0,d.M)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=x.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,r.jsx)(l.A4,{children:n}),(0,r.jsx)(S,{contentRef:f})]})})})});j.displayName=y;var w="AlertDialogTitle",N=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.Dx,{...n,...s,ref:t})});N.displayName=w;var k="AlertDialogDescription",A=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.dk,{...n,...s,ref:t})});A.displayName=k;var R=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,n=m(a);return(0,r.jsx)(i.x8,{...n,...s,ref:t})});R.displayName="AlertDialogAction";var T="AlertDialogCancel",C=s.forwardRef((e,t)=>{let{__scopeAlertDialog:a,...s}=e,{cancelRef:n}=v(T,a),d=m(a),l=(0,o.e)(t,n);return(0,r.jsx)(i.x8,{...d,...s,ref:l})});C.displayName=T;var S=e=>{let{contentRef:t}=e,a="`".concat(y,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(y,"` by passing a `").concat(k,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(y,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return s.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(a)},[a,t]),null},D=a(90270),_=a(78580);let O=h,z=x,E=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(g,{className:(0,D.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s,ref:t})});E.displayName=g.displayName;let P=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsxs)(p,{children:[(0,r.jsx)(E,{}),(0,r.jsx)(j,{ref:t,className:(0,D.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...s})]})});P.displayName=j.displayName;let M=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,D.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};M.displayName="AlertDialogHeader";let I=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,D.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};I.displayName="AlertDialogFooter";let V=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(N,{ref:t,className:(0,D.cn)("text-lg font-semibold",a),...s})});V.displayName=N.displayName;let F=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(A,{ref:t,className:(0,D.cn)("text-sm text-muted-foreground",a),...s})});F.displayName=A.displayName;let X=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(R,{ref:t,className:(0,D.cn)((0,_.d)(),a),...s})});X.displayName=R.displayName;let Z=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(C,{ref:t,className:(0,D.cn)((0,_.d)({variant:"outline"}),"mt-2 sm:mt-0",a),...s})});Z.displayName=C.displayName},78580:function(e,t,a){"use strict";a.d(t,{d:function(){return d},z:function(){return l}});var r=a(20881),s=a(64149),n=a(54098),o=a(20116),i=a(90270);let d=(0,o.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=s.forwardRef((e,t)=>{let{className:a,variant:s,size:o,asChild:l=!1,...c}=e,u=l?n.g7:"button";return(0,r.jsx)(u,{className:(0,i.cn)(d({variant:s,size:o,className:a})),ref:t,...c})});l.displayName="Button"},71036:function(e,t,a){"use strict";a.d(t,{$F:function(){return l},AW:function(){return c},Ju:function(){return f},VD:function(){return m},Xi:function(){return u},h_:function(){return d}});var r=a(20881),s=a(64149),n=a(67293),o=a(35935),i=a(90270);let d=n.fC,l=n.xz;n.ZA,n.Uv,n.Tr,n.Ee,s.forwardRef((e,t)=>{let{className:a,inset:s,children:d,...l}=e;return(0,r.jsxs)(n.fF,{ref:t,className:(0,i.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",s&&"pl-8",a),...l,children:[d,(0,r.jsx)(o.XCv,{className:"ml-auto h-4 w-4"})]})}).displayName=n.fF.displayName,s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.tu,{ref:t,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...s})}).displayName=n.tu.displayName;let c=s.forwardRef((e,t)=>{let{className:a,sideOffset:s=4,...o}=e;return(0,r.jsx)(n.Uv,{children:(0,r.jsx)(n.VY,{ref:t,sideOffset:s,className:(0,i.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...o})})});c.displayName=n.VY.displayName;let u=s.forwardRef((e,t)=>{let{className:a,inset:s,...o}=e;return(0,r.jsx)(n.ck,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",a),...o})});u.displayName=n.ck.displayName,s.forwardRef((e,t)=>{let{className:a,children:s,checked:d,...l}=e;return(0,r.jsxs)(n.oC,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:d,...l,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(n.wU,{children:(0,r.jsx)(o.nQG,{className:"h-4 w-4"})})}),s]})}).displayName=n.oC.displayName,s.forwardRef((e,t)=>{let{className:a,children:s,...d}=e;return(0,r.jsxs)(n.Rk,{ref:t,className:(0,i.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...d,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(n.wU,{children:(0,r.jsx)(o.jXb,{className:"h-4 w-4 fill-current"})})}),s]})}).displayName=n.Rk.displayName;let f=s.forwardRef((e,t)=>{let{className:a,inset:s,...o}=e;return(0,r.jsx)(n.__,{ref:t,className:(0,i.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",a),...o})});f.displayName=n.__.displayName;let m=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.Z0,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",a),...s})});m.displayName=n.Z0.displayName},45320:function(e,t,a){"use strict";a.d(t,{a:function(){return n}});var r=a(64149),s=a(27525);function n(){let[e,t]=(0,r.useState)(!1),a=(0,s.useRouter)();function n(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}function o(){localStorage.removeItem("session"),t(!1),a.push("/login")}function i(){let e=function(){let e=function(){let e=localStorage.getItem("session");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}();if(!e)return!1;let t=Date.now();return t>e.expiresAt?(o(),!1):(t-e.lastActivity>3e5&&n(e.token),!0)}();return t(e),e}return(0,r.useEffect)(()=>{i()},[]),{isAuthenticated:e,login:async function(e){let r=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(r)}),s=await e.json();if(console.log(s),"success"!==s.state)return!1;{let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";return Array.from(crypto.getRandomValues(new Uint8Array(e))).map(e=>t[e%t.length]).join("")}();return n(e),t(!0),a.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:o,checkAuth:i}}},46646:function(e,t,a){"use strict";a.d(t,{pm:function(){return f}});var r=a(64149);let s=0,n=new Map,o=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?o(a):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},d=[],l={toasts:[]};function c(e){l=i(l,e),d.forEach(e=>{e(l)})}function u(e){let{...t}=e,a=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||r()}}}),{id:a,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function f(){let[e,t]=r.useState(l);return r.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,a){"use strict";a.d(t,{cn:function(){return n}});var r=a(33958),s=a(61779);function n(){for(var e=arguments.length,t=Array(e),a=0;ae.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=function(){for(var e=arguments.length,t=Array(e),a=0;a!!e&&a.indexOf(e)===t).join(" ")};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,r.forwardRef)((e,t)=>{let{color:a="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:d,className:l="",children:c,iconNode:u,...f}=e;return(0,r.createElement)("svg",{ref:t,...o,width:s,height:s,stroke:a,strokeWidth:d?24*Number(i)/Number(s):i,className:n("lucide",l),...f},[...u.map(e=>{let[t,a]=e;return(0,r.createElement)(t,a)}),...Array.isArray(c)?c:[c]])}),d=(e,t)=>{let a=(0,r.forwardRef)((a,o)=>{let{className:d,...l}=a;return(0,r.createElement)(i,{ref:o,iconNode:t,className:n("lucide-".concat(s(e)),d),...l})});return a.displayName="".concat(e),a}},27525:function(e,t,a){"use strict";var r=a(39886);a.o(r,"usePathname")&&a.d(t,{usePathname:function(){return r.usePathname}}),a.o(r,"useRouter")&&a.d(t,{useRouter:function(){return r.useRouter}})}},function(e){e.O(0,[792,366,714,217,420,509,491,136,985,330,744],function(){return e(e.s=14658)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/general/page-6cab875c8babc0d5.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/general/page-d1faa0903d70e4da.js similarity index 99% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/general/page-6cab875c8babc0d5.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/general/page-d1faa0903d70e4da.js index e42cb1b..487eab0 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/general/page-6cab875c8babc0d5.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/general/page-d1faa0903d70e4da.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[291],{42355:function(e,t,r){Promise.resolve().then(r.bind(r,12825))},12825:function(e,t,r){"use strict";r.r(t);var s=r(20881),a=r(64149),n=r(94920),i=r(22989),o=r(78580),l=r(33335),d=r(46646),c=r(6120),u=r(88766);t.default=()=>{let[e,t]=(0,a.useState)({AT_port:"Unknown",AT_port_custom:"Unknown",data_refresh_rate:"Unknown"}),[r,f]=(0,a.useState)(!0),[p,m]=(0,a.useState)(null),[h,x]=(0,a.useState)(!1),g=(0,d.pm)(),v=async()=>{try{let e=await fetch("/cgi-bin/settings/fetch-config.sh"),r=await e.json();r.error?m(r.error):t(r)}catch(e){m("Failed to fetch configuration"),g.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Please report this issue",action:(0,s.jsx)(c.Z,{})})}finally{f(!1)}};(0,a.useEffect)(()=>{v()},[]);let j=async t=>{try{x(!0);let t=await fetch("/cgi-bin/settings/save-config.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),r=await t.json();if(r.error)throw Error(r.error);g.toast({title:"Success",description:"Configuration saved successfully!"}),await v()}catch(e){g.toast({variant:"destructive",title:"Save failed",description:e instanceof Error?e.message:"Failed to save configuration",action:(0,s.jsx)(c.Z,{})})}finally{x(!1)}},y=Math.floor(parseInt(e.data_refresh_rate)/1e3);return p?(0,s.jsx)("div",{className:"grid gap-6 text-red-500",children:p}):(0,s.jsxs)("div",{className:"grid gap-6",children:[(0,s.jsxs)(n.Zb,{children:[(0,s.jsxs)(n.Ol,{children:[(0,s.jsx)(n.ll,{children:"AT Port Main Interface"}),(0,s.jsx)(n.SZ,{children:"Change the main interface of the AT Port configuration."})]}),(0,s.jsx)(n.aY,{children:(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),j("AT_port")},children:[r&&(0,s.jsx)(u.O,{className:"h-8"}),!r&&(0,s.jsx)(l.I,{placeholder:"Main AT port interface",value:e.AT_port,onChange:e=>t(t=>({...t,AT_port:e.target.value}))})]})}),(0,s.jsx)(n.eW,{className:"border-t px-6 py-4",children:(0,s.jsx)(o.z,{onClick:()=>j("AT_port"),disabled:h,children:h?"Saving...":"Save"})})]}),(0,s.jsxs)(n.Zb,{children:[(0,s.jsxs)(n.Ol,{children:[(0,s.jsx)(n.ll,{children:"AT Port Custom Command Interface"}),(0,s.jsx)(n.SZ,{children:"Change the custom command interface of the AT Port configuration."})]}),(0,s.jsx)(n.aY,{children:(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),j("AT_port_custom")},children:[r&&(0,s.jsx)(u.O,{className:"h-8"}),!r&&(0,s.jsx)(l.I,{placeholder:"Custom AT port interface",value:e.AT_port_custom,onChange:e=>t(t=>({...t,AT_port_custom:e.target.value}))})]})}),(0,s.jsx)(n.eW,{className:"border-t px-6 py-4",children:(0,s.jsx)(o.z,{onClick:()=>j("AT_port_custom"),disabled:h,children:h?"Saving...":"Save"})})]}),(0,s.jsxs)(n.Zb,{children:[(0,s.jsxs)(n.Ol,{children:[(0,s.jsx)(n.ll,{children:"Data Refresh Rate"}),(0,s.jsx)(n.SZ,{children:"Change the frequency of data refresh rate. Slower refresh rate is recommended."})]}),(0,s.jsx)(n.aY,{children:(0,s.jsxs)("form",{className:"grid gap-1.5",onSubmit:e=>{e.preventDefault(),j("data_refresh_rate")},children:[r&&(0,s.jsx)(u.O,{className:"h-8"}),!r&&(0,s.jsxs)(i.Ph,{value:y.toString(),onValueChange:e=>t(t=>({...t,data_refresh_rate:(1e3*parseInt(e)).toString()})),children:[(0,s.jsx)(i.i4,{className:"w-[180px]",children:(0,s.jsx)(i.ki,{placeholder:"Select Refresh Rate"})}),(0,s.jsxs)(i.Bw,{children:[(0,s.jsx)(i.Ql,{value:"5",children:"5 seconds"}),(0,s.jsx)(i.Ql,{value:"10",children:"10 seconds"}),(0,s.jsx)(i.Ql,{value:"15",children:"15 seconds"}),(0,s.jsx)(i.Ql,{value:"20",children:"20 seconds"}),(0,s.jsx)(i.Ql,{value:"30",children:"30 seconds"}),(0,s.jsx)(i.Ql,{value:"60",children:"60 seconds"})]})]})]})}),(0,s.jsx)(n.eW,{className:"border-t px-6 py-4",children:(0,s.jsx)(o.z,{onClick:()=>j("data_refresh_rate"),disabled:h,children:h?"Saving...":"Save"})})]})]})}},6120:function(e,t,r){"use strict";var s=r(20881),a=r(78580),n=r(35935);t.Z=()=>(0,s.jsx)(a.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,s.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,s.jsx)(n.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return l},z:function(){return d}});var s=r(20881),a=r(64149),n=r(54098),i=r(20116),o=r(90270);let l=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=a.forwardRef((e,t)=>{let{className:r,variant:a,size:i,asChild:d=!1,...c}=e,u=d?n.g7:"button";return(0,s.jsx)(u,{className:(0,o.cn)(l({variant:a,size:i,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},SZ:function(){return d},Zb:function(){return i},aY:function(){return c},eW:function(){return u},ll:function(){return l}});var s=r(20881),a=r(64149),n=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...a})});i.displayName="Card";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",r),...a})});o.displayName="CardHeader";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",r),...a})});l.displayName="CardTitle";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...a})});d.displayName="CardDescription";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",r),...a})});c.displayName="CardContent";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var s=r(20881),a=r(64149),n=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,type:a,...i}=e;return(0,s.jsx)("input",{type:a,className:(0,n.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},22989:function(e,t,r){"use strict";r.d(t,{Bw:function(){return m},DI:function(){return d},Ph:function(){return l},Ql:function(){return x},i4:function(){return u},ki:function(){return c},n5:function(){return h}});var s=r(20881),a=r(64149),n=r(35935),i=r(62072),o=r(90270);let l=i.fC,d=i.ZA,c=i.B4,u=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return(0,s.jsxs)(i.xz,{ref:t,className:(0,o.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),...l,children:[a,(0,s.jsx)(i.JO,{asChild:!0,children:(0,s.jsx)(n.jnn,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=i.xz.displayName;let f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.u_,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",r),...a,children:(0,s.jsx)(n.g8U,{})})});f.displayName=i.u_.displayName;let p=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.$G,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",r),...a,children:(0,s.jsx)(n.v4q,{})})});p.displayName=i.$G.displayName;let m=a.forwardRef((e,t)=>{let{className:r,children:a,position:n="popper",...l}=e;return(0,s.jsx)(i.h_,{children:(0,s.jsxs)(i.VY,{ref:t,className:(0,o.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:n,...l,children:[(0,s.jsx)(f,{}),(0,s.jsx)(i.l_,{className:(0,o.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a}),(0,s.jsx)(p,{})]})})});m.displayName=i.VY.displayName;let h=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.__,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",r),...a})});h.displayName=i.__.displayName;let x=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return(0,s.jsxs)(i.ck,{ref:t,className:(0,o.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...l,children:[(0,s.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(i.wU,{children:(0,s.jsx)(n.nQG,{className:"h-4 w-4"})})}),(0,s.jsx)(i.eT,{children:a})]})});x.displayName=i.ck.displayName,a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.Z0,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...a})}).displayName=i.Z0.displayName},88766:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});var s=r(20881),a=r(90270);function n(e){let{className:t,...r}=e;return(0,s.jsx)("div",{className:(0,a.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var s=r(64149);let a=0,n=new Map,i=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],d={toasts:[]};function c(e){d=o(d,e),l.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=s.useState(d);return s.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return n}});var s=r(33958),a=r(61779);function n(){for(var e=arguments.length,t=Array(e),r=0;r{let[e,t]=(0,a.useState)({AT_port:"Unknown",AT_port_custom:"Unknown",data_refresh_rate:"Unknown"}),[r,f]=(0,a.useState)(!0),[p,m]=(0,a.useState)(null),[h,x]=(0,a.useState)(!1),g=(0,d.pm)(),v=async()=>{try{let e=await fetch("/cgi-bin/settings/fetch-config.sh"),r=await e.json();r.error?m(r.error):t(r)}catch(e){m("Failed to fetch configuration"),g.toast({variant:"destructive",title:"Uh oh! Something went wrong.",description:"Please report this issue",action:(0,s.jsx)(c.Z,{})})}finally{f(!1)}};(0,a.useEffect)(()=>{v()},[]);let j=async t=>{try{x(!0);let t=await fetch("/cgi-bin/settings/save-config.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),r=await t.json();if(r.error)throw Error(r.error);g.toast({title:"Success",description:"Configuration saved successfully!"}),await v()}catch(e){g.toast({variant:"destructive",title:"Save failed",description:e instanceof Error?e.message:"Failed to save configuration",action:(0,s.jsx)(c.Z,{})})}finally{x(!1)}},y=Math.floor(parseInt(e.data_refresh_rate)/1e3);return p?(0,s.jsx)("div",{className:"grid gap-6 text-red-500",children:p}):(0,s.jsxs)("div",{className:"grid gap-6",children:[(0,s.jsxs)(n.Zb,{children:[(0,s.jsxs)(n.Ol,{children:[(0,s.jsx)(n.ll,{children:"AT Port Main Interface"}),(0,s.jsx)(n.SZ,{children:"Change the main interface of the AT Port configuration."})]}),(0,s.jsx)(n.aY,{children:(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),j("AT_port")},children:[r&&(0,s.jsx)(u.O,{className:"h-8"}),!r&&(0,s.jsx)(l.I,{placeholder:"Main AT port interface",value:e.AT_port,onChange:e=>t(t=>({...t,AT_port:e.target.value}))})]})}),(0,s.jsx)(n.eW,{className:"border-t px-6 py-4",children:(0,s.jsx)(o.z,{onClick:()=>j("AT_port"),disabled:h,children:h?"Saving...":"Save"})})]}),(0,s.jsxs)(n.Zb,{children:[(0,s.jsxs)(n.Ol,{children:[(0,s.jsx)(n.ll,{children:"AT Port Custom Command Interface"}),(0,s.jsx)(n.SZ,{children:"Change the custom command interface of the AT Port configuration."})]}),(0,s.jsx)(n.aY,{children:(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),j("AT_port_custom")},children:[r&&(0,s.jsx)(u.O,{className:"h-8"}),!r&&(0,s.jsx)(l.I,{placeholder:"Custom AT port interface",value:e.AT_port_custom,onChange:e=>t(t=>({...t,AT_port_custom:e.target.value}))})]})}),(0,s.jsx)(n.eW,{className:"border-t px-6 py-4",children:(0,s.jsx)(o.z,{onClick:()=>j("AT_port_custom"),disabled:h,children:h?"Saving...":"Save"})})]}),(0,s.jsxs)(n.Zb,{children:[(0,s.jsxs)(n.Ol,{children:[(0,s.jsx)(n.ll,{children:"Data Refresh Rate"}),(0,s.jsx)(n.SZ,{children:"Change the frequency of data refresh rate. Slower refresh rate is recommended."})]}),(0,s.jsx)(n.aY,{children:(0,s.jsxs)("form",{className:"grid gap-1.5",onSubmit:e=>{e.preventDefault(),j("data_refresh_rate")},children:[r&&(0,s.jsx)(u.O,{className:"h-8"}),!r&&(0,s.jsxs)(i.Ph,{value:y.toString(),onValueChange:e=>t(t=>({...t,data_refresh_rate:(1e3*parseInt(e)).toString()})),children:[(0,s.jsx)(i.i4,{className:"w-[180px]",children:(0,s.jsx)(i.ki,{placeholder:"Select Refresh Rate"})}),(0,s.jsxs)(i.Bw,{children:[(0,s.jsx)(i.Ql,{value:"5",children:"5 seconds"}),(0,s.jsx)(i.Ql,{value:"10",children:"10 seconds"}),(0,s.jsx)(i.Ql,{value:"15",children:"15 seconds"}),(0,s.jsx)(i.Ql,{value:"20",children:"20 seconds"}),(0,s.jsx)(i.Ql,{value:"30",children:"30 seconds"}),(0,s.jsx)(i.Ql,{value:"60",children:"60 seconds"})]})]})]})}),(0,s.jsx)(n.eW,{className:"border-t px-6 py-4",children:(0,s.jsx)(o.z,{onClick:()=>j("data_refresh_rate"),disabled:h,children:h?"Saving...":"Save"})})]})]})}},6120:function(e,t,r){"use strict";var s=r(20881),a=r(78580),n=r(35935);t.Z=()=>(0,s.jsx)(a.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,s.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,s.jsx)(n.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return l},z:function(){return d}});var s=r(20881),a=r(64149),n=r(54098),i=r(20116),o=r(90270);let l=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=a.forwardRef((e,t)=>{let{className:r,variant:a,size:i,asChild:d=!1,...c}=e,u=d?n.g7:"button";return(0,s.jsx)(u,{className:(0,o.cn)(l({variant:a,size:i,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},SZ:function(){return d},Zb:function(){return i},aY:function(){return c},eW:function(){return u},ll:function(){return l}});var s=r(20881),a=r(64149),n=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...a})});i.displayName="Card";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",r),...a})});o.displayName="CardHeader";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",r),...a})});l.displayName="CardTitle";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...a})});d.displayName="CardDescription";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",r),...a})});c.displayName="CardContent";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var s=r(20881),a=r(64149),n=r(90270);let i=a.forwardRef((e,t)=>{let{className:r,type:a,...i}=e;return(0,s.jsx)("input",{type:a,className:(0,n.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},22989:function(e,t,r){"use strict";r.d(t,{Bw:function(){return m},DI:function(){return d},Ph:function(){return l},Ql:function(){return x},i4:function(){return u},ki:function(){return c},n5:function(){return h}});var s=r(20881),a=r(64149),n=r(35935),i=r(62072),o=r(90270);let l=i.fC,d=i.ZA,c=i.B4,u=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return(0,s.jsxs)(i.xz,{ref:t,className:(0,o.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),...l,children:[a,(0,s.jsx)(i.JO,{asChild:!0,children:(0,s.jsx)(n.jnn,{className:"h-4 w-4 opacity-50"})})]})});u.displayName=i.xz.displayName;let f=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.u_,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",r),...a,children:(0,s.jsx)(n.g8U,{})})});f.displayName=i.u_.displayName;let p=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.$G,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",r),...a,children:(0,s.jsx)(n.v4q,{})})});p.displayName=i.$G.displayName;let m=a.forwardRef((e,t)=>{let{className:r,children:a,position:n="popper",...l}=e;return(0,s.jsx)(i.h_,{children:(0,s.jsxs)(i.VY,{ref:t,className:(0,o.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:n,...l,children:[(0,s.jsx)(f,{}),(0,s.jsx)(i.l_,{className:(0,o.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a}),(0,s.jsx)(p,{})]})})});m.displayName=i.VY.displayName;let h=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.__,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",r),...a})});h.displayName=i.__.displayName;let x=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return(0,s.jsxs)(i.ck,{ref:t,className:(0,o.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...l,children:[(0,s.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(i.wU,{children:(0,s.jsx)(n.nQG,{className:"h-4 w-4"})})}),(0,s.jsx)(i.eT,{children:a})]})});x.displayName=i.ck.displayName,a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(i.Z0,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...a})}).displayName=i.Z0.displayName},88766:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});var s=r(20881),a=r(90270);function n(e){let{className:t,...r}=e;return(0,s.jsx)("div",{className:(0,a.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var s=r(64149);let a=0,n=new Map,i=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],d={toasts:[]};function c(e){d=o(d,e),l.forEach(e=>{e(d)})}function u(e){let{...t}=e,r=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:r});return c({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=s.useState(d);return s.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return n}});var s=r(33958),a=r(61779);function n(){for(var e=arguments.length,t=Array(e),r=0;r{let{toast:e}=(0,l.pm)(),[r,t]=(0,s.useState)(!1),[d,c]=(0,s.useState)({oldPassword:"",newPassword:"",confirmPassword:""}),u=async e=>{try{let r=await fetch("/cgi-bin/auth.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"password=".concat(encodeURIComponent(e))}),t=await r.json();return"success"===t.state}catch(e){return console.error("Password verification failed:",e),!1}},f=async r=>{r.preventDefault(),t(!0);try{if(!d.oldPassword||!d.newPassword||!d.confirmPassword)throw Error("All fields are required");if(d.newPassword!==d.confirmPassword)throw Error("New passwords don't match");if(d.newPassword.length<8)throw Error("New password must be at least 8 characters long");if(!await u(d.oldPassword))throw Error("Current password is incorrect");let r=await fetch("/cgi-bin/settings/change-password.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"oldPassword=".concat(encodeURIComponent(d.oldPassword),"&newPassword=").concat(encodeURIComponent(d.newPassword))}),t=await r.json();if("success"===t.state)e({title:"Success",description:"Password changed successfully!"}),c({oldPassword:"",newPassword:"",confirmPassword:""});else throw Error("Failed to change password")}catch(r){e({title:"Error",description:r instanceof Error?r.message:"An unexpected error occurred",variant:"destructive"}),console.error("Password change failed:",r)}finally{t(!1)}},p=e=>{let{name:r,value:t}=e.target;c(e=>({...e,[r]:t}))};return(0,n.jsxs)(o.Zb,{children:[(0,n.jsxs)(o.Ol,{children:[(0,n.jsx)(o.ll,{children:"Change Device Password"}),(0,n.jsx)(o.SZ,{children:"This changes the password for the web interface and terminal access."})]}),(0,n.jsx)(o.aY,{children:(0,n.jsxs)("form",{onSubmit:f,className:"space-y-4",children:[(0,n.jsx)(i.I,{placeholder:"Old Password",type:"password",name:"oldPassword",value:d.oldPassword,onChange:p,"aria-label":"Old Password"}),(0,n.jsx)(i.I,{placeholder:"New Password",type:"password",name:"newPassword",value:d.newPassword,onChange:p,"aria-label":"New Password"}),(0,n.jsx)(i.I,{placeholder:"Confirm New Password",type:"password",name:"confirmPassword",value:d.confirmPassword,onChange:p,"aria-label":"Confirm New Password"})]})}),(0,n.jsx)(o.eW,{className:"border-t px-6 py-4",children:(0,n.jsx)(a.z,{type:"submit",onClick:e=>f(e),disabled:r,children:r?"Saving...":"Save"})})]})}},78580:function(e,r,t){"use strict";t.d(r,{d:function(){return l},z:function(){return d}});var n=t(20881),s=t(64149),o=t(54098),a=t(20116),i=t(90270);let l=(0,a.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,r)=>{let{className:t,variant:s,size:a,asChild:d=!1,...c}=e,u=d?o.g7:"button";return(0,n.jsx)(u,{className:(0,i.cn)(l({variant:s,size:a,className:t})),ref:r,...c})});d.displayName="Button"},94920:function(e,r,t){"use strict";t.d(r,{Ol:function(){return i},SZ:function(){return d},Zb:function(){return a},aY:function(){return c},eW:function(){return u},ll:function(){return l}});var n=t(20881),s=t(64149),o=t(90270);let a=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("div",{ref:r,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...s})});a.displayName="Card";let i=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("div",{ref:r,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",t),...s})});i.displayName="CardHeader";let l=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("h3",{ref:r,className:(0,o.cn)("font-semibold leading-none tracking-tight",t),...s})});l.displayName="CardTitle";let d=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("p",{ref:r,className:(0,o.cn)("text-sm text-muted-foreground",t),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("div",{ref:r,className:(0,o.cn)("p-6 pt-0",t),...s})});c.displayName="CardContent";let u=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,n.jsx)("div",{ref:r,className:(0,o.cn)("flex items-center p-6 pt-0",t),...s})});u.displayName="CardFooter"},33335:function(e,r,t){"use strict";t.d(r,{I:function(){return a}});var n=t(20881),s=t(64149),o=t(90270);let a=s.forwardRef((e,r)=>{let{className:t,type:s,...a}=e;return(0,n.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",t),ref:r,...a})});a.displayName="Input"},46646:function(e,r,t){"use strict";t.d(r,{pm:function(){return f}});var n=t(64149);let s=0,o=new Map,a=e=>{if(o.has(e))return;let r=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,r)},i=(e,r)=>{switch(r.type){case"ADD_TOAST":return{...e,toasts:[r.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===r.toast.id?{...e,...r.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=r;return t?a(t):e.toasts.forEach(e=>{a(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===r.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==r.toastId)}}},l=[],d={toasts:[]};function c(e){d=i(d,e),l.forEach(e=>{e(d)})}function u(e){let{...r}=e,t=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>c({type:"DISMISS_TOAST",toastId:t});return c({type:"ADD_TOAST",toast:{...r,id:t,open:!0,onOpenChange:e=>{e||n()}}}),{id:t,dismiss:n,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function f(){let[e,r]=n.useState(d);return n.useEffect(()=>(l.push(r),()=>{let e=l.indexOf(r);e>-1&&l.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,r,t){"use strict";t.d(r,{cn:function(){return o}});var n=t(33958),s=t(61779);function o(){for(var e=arguments.length,r=Array(e),t=0;te.forEach(e=>{"function"==typeof e?e(r):null!=e&&(e.current=r)})}function o(...e){return n.useCallback(s(...e),e)}},54098:function(e,r,t){"use strict";t.d(r,{A4:function(){return l},g7:function(){return a}});var n=t(64149),s=t(83954),o=t(20881),a=n.forwardRef((e,r)=>{let{children:t,...s}=e,a=n.Children.toArray(t),l=a.find(d);if(l){let e=l.props.children,t=a.map(r=>r!==l?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(i,{...s,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,o.jsx)(i,{...s,ref:r,children:t})});a.displayName="Slot";var i=n.forwardRef((e,r)=>{let{children:t,...o}=e;if(n.isValidElement(t)){let e,a;let i=(e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.props.ref:t.props.ref||t.ref;return n.cloneElement(t,{...function(e,r){let t={...r};for(let n in r){let s=e[n],o=r[n];/^on[A-Z]/.test(n)?s&&o?t[n]=(...e)=>{o(...e),s(...e)}:s&&(t[n]=s):"style"===n?t[n]={...s,...o}:"className"===n&&(t[n]=[s,o].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props),ref:r?(0,s.F)(r,i):i})}return n.Children.count(t)>1?n.Children.only(null):null});i.displayName="SlotClone";var l=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function d(e){return n.isValidElement(e)&&e.type===l}},20116:function(e,r,t){"use strict";t.d(r,{j:function(){return o}});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,s=function(){for(var e,r,t=0,n="";tt=>{var o;if((null==r?void 0:r.variants)==null)return s(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:a,defaultVariants:i}=r,l=Object.keys(a).map(e=>{let r=null==t?void 0:t[e],s=null==i?void 0:i[e];if(null===r)return null;let o=n(r)||n(s);return a[e][o]}),d=t&&Object.entries(t).reduce((e,r)=>{let[t,n]=r;return void 0===n||(e[t]=n),e},{});return s(e,l,null==r?void 0:null===(o=r.compoundVariants)||void 0===o?void 0:o.reduce((e,r)=>{let{class:t,className:n,...s}=r;return Object.entries(s).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...i,...d}[r]):({...i,...d})[r]===t})?[...e,t,n]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}}},function(e){e.O(0,[366,985,330,744],function(){return e(e.s=2045)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/security/page-f721332948f82878.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/security/page-f721332948f82878.js deleted file mode 100644 index a5ee465..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/dashboard/settings/security/page-f721332948f82878.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[354],{2045:function(e,r,t){Promise.resolve().then(t.bind(t,27537))},27537:function(e,r,t){"use strict";t.r(r);var s=t(20881),n=t(64149),o=t(94920),a=t(78580),i=t(33335),d=t(46646);r.default=()=>{let{toast:e}=(0,d.pm)(),[r,t]=(0,n.useState)(!1),[l,c]=(0,n.useState)({oldPassword:"",newPassword:"",confirmPassword:""}),u=async e=>{try{let r=await fetch("/cgi-bin/auth.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"password=".concat(encodeURIComponent(e))}),t=await r.json();return"success"===t.state}catch(e){return console.error("Password verification failed:",e),!1}},f=async r=>{r.preventDefault(),t(!0);try{if(!l.oldPassword||!l.newPassword||!l.confirmPassword)throw Error("All fields are required");if(l.newPassword!==l.confirmPassword)throw Error("New passwords don't match");if(l.newPassword.length<8)throw Error("New password must be at least 8 characters long");if(!await u(l.oldPassword))throw Error("Current password is incorrect");let r=await fetch("/cgi-bin/settings/change-password.sh",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"oldPassword=".concat(encodeURIComponent(l.oldPassword),"&newPassword=").concat(encodeURIComponent(l.newPassword))}),t=await r.json();if("success"===t.state)e({title:"Success",description:"Password changed successfully!"}),c({oldPassword:"",newPassword:"",confirmPassword:""});else throw Error("Failed to change password")}catch(r){e({title:"Error",description:r instanceof Error?r.message:"An unexpected error occurred",variant:"destructive"}),console.error("Password change failed:",r)}finally{t(!1)}},p=e=>{let{name:r,value:t}=e.target;c(e=>({...e,[r]:t}))};return(0,s.jsxs)(o.Zb,{children:[(0,s.jsxs)(o.Ol,{children:[(0,s.jsx)(o.ll,{children:"Change Device Password"}),(0,s.jsx)(o.SZ,{children:"This changes the password for the web interface and terminal access."})]}),(0,s.jsx)(o.aY,{children:(0,s.jsxs)("form",{onSubmit:f,className:"space-y-4",children:[(0,s.jsx)(i.I,{placeholder:"Old Password",type:"password",name:"oldPassword",value:l.oldPassword,onChange:p,"aria-label":"Old Password"}),(0,s.jsx)(i.I,{placeholder:"New Password",type:"password",name:"newPassword",value:l.newPassword,onChange:p,"aria-label":"New Password"}),(0,s.jsx)(i.I,{placeholder:"Confirm New Password",type:"password",name:"confirmPassword",value:l.confirmPassword,onChange:p,"aria-label":"Confirm New Password"})]})}),(0,s.jsx)(o.eW,{className:"border-t px-6 py-4",children:(0,s.jsx)(a.z,{type:"submit",onClick:e=>f(e),disabled:r,children:r?"Saving...":"Save"})})]})}},78580:function(e,r,t){"use strict";t.d(r,{d:function(){return d},z:function(){return l}});var s=t(20881),n=t(64149),o=t(54098),a=t(20116),i=t(90270);let d=(0,a.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),l=n.forwardRef((e,r)=>{let{className:t,variant:n,size:a,asChild:l=!1,...c}=e,u=l?o.g7:"button";return(0,s.jsx)(u,{className:(0,i.cn)(d({variant:n,size:a,className:t})),ref:r,...c})});l.displayName="Button"},94920:function(e,r,t){"use strict";t.d(r,{Ol:function(){return i},SZ:function(){return l},Zb:function(){return a},aY:function(){return c},eW:function(){return u},ll:function(){return d}});var s=t(20881),n=t(64149),o=t(90270);let a=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...n})});a.displayName="Card";let i=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",t),...n})});i.displayName="CardHeader";let d=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,s.jsx)("h3",{ref:r,className:(0,o.cn)("font-semibold leading-none tracking-tight",t),...n})});d.displayName="CardTitle";let l=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,s.jsx)("p",{ref:r,className:(0,o.cn)("text-sm text-muted-foreground",t),...n})});l.displayName="CardDescription";let c=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("p-6 pt-0",t),...n})});c.displayName="CardContent";let u=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,s.jsx)("div",{ref:r,className:(0,o.cn)("flex items-center p-6 pt-0",t),...n})});u.displayName="CardFooter"},33335:function(e,r,t){"use strict";t.d(r,{I:function(){return a}});var s=t(20881),n=t(64149),o=t(90270);let a=n.forwardRef((e,r)=>{let{className:t,type:n,...a}=e;return(0,s.jsx)("input",{type:n,className:(0,o.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...a})});a.displayName="Input"},46646:function(e,r,t){"use strict";t.d(r,{pm:function(){return f}});var s=t(64149);let n=0,o=new Map,a=e=>{if(o.has(e))return;let r=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,r)},i=(e,r)=>{switch(r.type){case"ADD_TOAST":return{...e,toasts:[r.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===r.toast.id?{...e,...r.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=r;return t?a(t):e.toasts.forEach(e=>{a(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===r.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==r.toastId)}}},d=[],l={toasts:[]};function c(e){l=i(l,e),d.forEach(e=>{e(l)})}function u(e){let{...r}=e,t=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:t});return c({type:"ADD_TOAST",toast:{...r,id:t,open:!0,onOpenChange:e=>{e||s()}}}),{id:t,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function f(){let[e,r]=s.useState(l);return s.useEffect(()=>(d.push(r),()=>{let e=d.indexOf(r);e>-1&&d.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,r,t){"use strict";t.d(r,{cn:function(){return o}});var s=t(33958),n=t(61779);function o(){for(var e=arguments.length,r=Array(e),t=0;t"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,r,t=0,s="";tt=>{var o;if((null==r?void 0:r.variants)==null)return n(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:a,defaultVariants:i}=r,d=Object.keys(a).map(e=>{let r=null==t?void 0:t[e],n=null==i?void 0:i[e];if(null===r)return null;let o=s(r)||s(n);return a[e][o]}),l=t&&Object.entries(t).reduce((e,r)=>{let[t,s]=r;return void 0===s||(e[t]=s),e},{});return n(e,d,null==r?void 0:null===(o=r.compoundVariants)||void 0===o?void 0:o.reduce((e,r)=>{let{class:t,className:s,...n}=r;return Object.entries(n).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...i,...l}[r]):({...i,...l})[r]===t})?[...e,t,s]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}}},function(e){e.O(0,[59,985,330,744],function(){return e(e.s=2045)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-c8e71a60e93169f7.js b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-232a26ba008c45d4.js similarity index 97% rename from ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-c8e71a60e93169f7.js rename to ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-232a26ba008c45d4.js index 1bab1c4..d51afc8 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-c8e71a60e93169f7.js +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/app/layout-232a26ba008c45d4.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{71517:function(e,t,r){Promise.resolve().then(r.t.bind(r,14589,23)),Promise.resolve().then(r.bind(r,40108)),Promise.resolve().then(r.bind(r,62357)),Promise.resolve().then(r.bind(r,78287))},40108:function(e,t,r){"use strict";r.d(t,{ThemeProvider:function(){return o}});var s=r(20881);r(64149);var a=r(89448);function o(e){let{children:t,...r}=e;return(0,s.jsx)(a.f,{...r,children:t})}},62357:function(e,t,r){"use strict";r.d(t,{Toaster:function(){return g}});var s=r(20881),a=r(46646),o=r(64149),i=r(35935),n=r(72919),d=r(20116),u=r(90270);let l=n.zt,c=o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.l_,{ref:t,className:(0,u.cn)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",r),...a})});c.displayName=n.l_.displayName;let f=(0,d.j)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),p=o.forwardRef((e,t)=>{let{className:r,variant:a,...o}=e;return(0,s.jsx)(n.fC,{ref:t,className:(0,u.cn)(f({variant:a}),r),...o})});p.displayName=n.fC.displayName,o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.aU,{ref:t,className:(0,u.cn)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",r),...a})}).displayName=n.aU.displayName;let m=o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.x8,{ref:t,className:(0,u.cn)("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",r),"toast-close":"",...a,children:(0,s.jsx)(i.Pxu,{className:"h-4 w-4"})})});m.displayName=n.x8.displayName;let x=o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.Dx,{ref:t,className:(0,u.cn)("text-sm font-semibold [&+div]:text-xs",r),...a})});x.displayName=n.Dx.displayName;let v=o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.dk,{ref:t,className:(0,u.cn)("text-sm opacity-90",r),...a})});function g(){let{toasts:e}=(0,a.pm)();return(0,s.jsxs)(l,{children:[e.map(function(e){let{id:t,title:r,description:a,action:o,...i}=e;return(0,s.jsxs)(p,{...i,children:[(0,s.jsxs)("div",{className:"grid gap-1",children:[r&&(0,s.jsx)(x,{children:r}),a&&(0,s.jsx)(v,{children:a})]}),o,(0,s.jsx)(m,{})]},t)}),(0,s.jsx)(c,{})]})}v.displayName=n.dk.displayName},78287:function(e,t,r){"use strict";r.d(t,{TooltipProvider:function(){return n}});var s=r(20881),a=r(64149),o=r(37503),i=r(90270);let n=o.zt;o.fC,o.xz,a.forwardRef((e,t)=>{let{className:r,sideOffset:a=4,...n}=e;return(0,s.jsx)(o.VY,{ref:t,sideOffset:a,className:(0,i.cn)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...n})}).displayName=o.VY.displayName},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var s=r(64149);let a=0,o=new Map,i=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,t)},n=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},d=[],u={toasts:[]};function l(e){u=n(u,e),d.forEach(e=>{e(u)})}function c(e){let{...t}=e,r=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>l({type:"DISMISS_TOAST",toastId:r});return l({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>l({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=s.useState(u);return s.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return o}});var s=r(33958),a=r(61779);function o(){for(var e=arguments.length,t=Array(e),r=0;r{let{className:r,...a}=e;return(0,s.jsx)(n.l_,{ref:t,className:(0,u.cn)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",r),...a})});c.displayName=n.l_.displayName;let f=(0,d.j)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),p=o.forwardRef((e,t)=>{let{className:r,variant:a,...o}=e;return(0,s.jsx)(n.fC,{ref:t,className:(0,u.cn)(f({variant:a}),r),...o})});p.displayName=n.fC.displayName,o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.aU,{ref:t,className:(0,u.cn)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",r),...a})}).displayName=n.aU.displayName;let m=o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.x8,{ref:t,className:(0,u.cn)("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",r),"toast-close":"",...a,children:(0,s.jsx)(i.Pxu,{className:"h-4 w-4"})})});m.displayName=n.x8.displayName;let x=o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.Dx,{ref:t,className:(0,u.cn)("text-sm font-semibold [&+div]:text-xs",r),...a})});x.displayName=n.Dx.displayName;let v=o.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.dk,{ref:t,className:(0,u.cn)("text-sm opacity-90",r),...a})});function g(){let{toasts:e}=(0,a.pm)();return(0,s.jsxs)(l,{children:[e.map(function(e){let{id:t,title:r,description:a,action:o,...i}=e;return(0,s.jsxs)(p,{...i,children:[(0,s.jsxs)("div",{className:"grid gap-1",children:[r&&(0,s.jsx)(x,{children:r}),a&&(0,s.jsx)(v,{children:a})]}),o,(0,s.jsx)(m,{})]},t)}),(0,s.jsx)(c,{})]})}v.displayName=n.dk.displayName},78287:function(e,t,r){"use strict";r.d(t,{TooltipProvider:function(){return n}});var s=r(20881),a=r(64149),o=r(37503),i=r(90270);let n=o.zt;o.fC,o.xz,a.forwardRef((e,t)=>{let{className:r,sideOffset:a=4,...n}=e;return(0,s.jsx)(o.VY,{ref:t,sideOffset:a,className:(0,i.cn)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...n})}).displayName=o.VY.displayName},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var s=r(64149);let a=0,o=new Map,i=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),l({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,t)},n=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},d=[],u={toasts:[]};function l(e){u=n(u,e),d.forEach(e=>{e(u)})}function c(e){let{...t}=e,r=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>l({type:"DISMISS_TOAST",toastId:r});return l({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>l({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=s.useState(u);return s.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>l({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return o}});var s=r(33958),a=r(61779);function o(){for(var e=arguments.length,t=Array(e),r=0;r{let{toast:e}=(0,u.pm)(),[t,r]=(0,n.useState)(""),[f,m]=(0,n.useState)(""),{login:p}=(0,o.a)(),h=async e=>{e.preventDefault(),await p(t)||m("Invalid password")};return(0,s.jsxs)("div",{className:"w-full h-screen lg:grid lg:min-h-[600px] lg:grid-cols-2 gap-4 xl:min-h-[800px]",children:[(0,s.jsx)("div",{className:"flex items-center justify-center py-12",children:(0,s.jsxs)("div",{className:"mx-auto grid w-[350px] gap-12",children:[(0,s.jsxs)("div",{className:"grid gap-2 text-center",children:[(0,s.jsx)("h1",{className:"text-3xl font-bold",children:"Login to QuecManager"}),(0,s.jsx)("p",{className:"text-balance text-muted-foreground",children:"Enter your password to login"})]}),(0,s.jsxs)("form",{onSubmit:h,children:[(0,s.jsxs)("div",{className:"grid gap-8",children:[(0,s.jsxs)("div",{className:"grid gap-2",children:[(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)(c._,{htmlFor:"password",children:"Password"})}),(0,s.jsx)(l.I,{id:"password",type:"password",required:!0,value:t,onChange:e=>r(e.target.value)}),(0,s.jsx)(a.z,{variant:"link",type:"button",className:"ml-auto inline-block text-sm underline text-white",onClick:()=>{e({variant:"destructive",title:"Forgot your password?",description:"Use the toolkit script to create a new password.",action:(0,s.jsx)(d.Z,{})})},children:"Forgot your password?"})]}),(0,s.jsx)(a.z,{type:"submit",className:"w-full",children:"Login"})]}),f&&(0,s.jsx)("div",{className:"bg-rose-500 p-1 mt-2 rounded-md flex text-center justify-center items-center",children:(0,s.jsx)("p",{children:f})})]})]})}),(0,s.jsx)("div",{className:"hidden bg-muted lg:block",children:(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center",children:(0,s.jsx)(i.default,{src:"/login-logo.svg",alt:"Image",width:"1000",height:"1000",className:"h-[50%] w-[40%] object-contain"})})})]})}},6120:function(e,t,r){"use strict";var s=r(20881),n=r(78580),o=r(35935);t.Z=()=>(0,s.jsx)(n.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,s.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,s.jsx)(o.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return l},z:function(){return c}});var s=r(20881),n=r(64149),o=r(54098),i=r(20116),a=r(90270);let l=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:i,asChild:c=!1,...u}=e,d=c?o.g7:"button";return(0,s.jsx)(d,{className:(0,a.cn)(l({variant:n,size:i,className:r})),ref:t,...u})});c.displayName="Button"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var s=r(20881),n=r(64149),o=r(90270);let i=n.forwardRef((e,t)=>{let{className:r,type:n,...i}=e;return(0,s.jsx)("input",{type:n,className:(0,o.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},21501:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var s=r(20881),n=r(64149),o=r(51212),i=r(20116),a=r(90270);let l=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)(o.f,{ref:t,className:(0,a.cn)(l(),r),...n})});c.displayName=o.f.displayName},45320:function(e,t,r){"use strict";r.d(t,{a:function(){return o}});var s=r(64149),n=r(27525);function o(){let[e,t]=(0,s.useState)(!1),r=(0,n.useRouter)();function o(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}function i(){localStorage.removeItem("session"),t(!1),r.push("/login")}function a(){let e=function(){let e=function(){let e=localStorage.getItem("session");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}();if(!e)return!1;let t=Date.now();return t>e.expiresAt?(i(),!1):(t-e.lastActivity>3e5&&o(e.token),!0)}();return t(e),e}return(0,s.useEffect)(()=>{a()},[]),{isAuthenticated:e,login:async function(e){let s=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(s)}),n=await e.json();if(console.log(n),"success"!==n.state)return!1;{let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";return Array.from(crypto.getRandomValues(new Uint8Array(e))).map(e=>t[e%t.length]).join("")}();return o(e),t(!0),r.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:i,checkAuth:a}}},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var s=r(64149);let n=0,o=new Map,i=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),u({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,t)},a=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],c={toasts:[]};function u(e){c=a(c,e),l.forEach(e=>{e(c)})}function d(e){let{...t}=e,r=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>u({type:"DISMISS_TOAST",toastId:r});return u({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>u({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=s.useState(c);return s.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>u({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return o}});var s=r(33958),n=r(61779);function o(){for(var e=arguments.length,t=Array(e),r=0;r{let{toast:e}=(0,u.pm)(),[t,r]=(0,n.useState)(""),[f,m]=(0,n.useState)(""),{login:p}=(0,o.a)(),h=async e=>{e.preventDefault(),await p(t)||m("Invalid password")};return(0,s.jsxs)("div",{className:"w-full h-screen lg:grid lg:min-h-[600px] lg:grid-cols-2 gap-4 xl:min-h-[800px]",children:[(0,s.jsx)("div",{className:"flex items-center justify-center py-12",children:(0,s.jsxs)("div",{className:"mx-auto grid w-[350px] gap-12",children:[(0,s.jsxs)("div",{className:"grid gap-2 text-center",children:[(0,s.jsx)("h1",{className:"text-3xl font-bold",children:"Login to QuecManager"}),(0,s.jsx)("p",{className:"text-balance text-muted-foreground",children:"Enter your password to login"})]}),(0,s.jsxs)("form",{onSubmit:h,children:[(0,s.jsxs)("div",{className:"grid gap-8",children:[(0,s.jsxs)("div",{className:"grid gap-2",children:[(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)(c._,{htmlFor:"password",children:"Password"})}),(0,s.jsx)(l.I,{id:"password",type:"password",required:!0,value:t,onChange:e=>r(e.target.value)}),(0,s.jsx)(a.z,{variant:"link",type:"button",className:"ml-auto inline-block text-sm underline text-white",onClick:()=>{e({variant:"destructive",title:"Forgot your password?",description:"Use the toolkit script to create a new password.",action:(0,s.jsx)(d.Z,{})})},children:"Forgot your password?"})]}),(0,s.jsx)(a.z,{type:"submit",className:"w-full",children:"Login"})]}),f&&(0,s.jsx)("div",{className:"bg-rose-500 p-1 mt-2 rounded-md flex text-center justify-center items-center",children:(0,s.jsx)("p",{children:f})})]})]})}),(0,s.jsx)("div",{className:"hidden bg-muted lg:block",children:(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center",children:(0,s.jsx)(i.default,{src:"/login-logo.svg",alt:"Image",width:"1000",height:"1000",className:"h-[50%] w-[40%] object-contain"})})})]})}},6120:function(e,t,r){"use strict";var s=r(20881),n=r(78580),o=r(35935);t.Z=()=>(0,s.jsx)(n.z,{asChild:!0,variant:"outline",className:"ml-2",children:(0,s.jsxs)("a",{href:"https://github.com/iamromulan/quectel-rgmii-toolkit/tree/development-SDXPINN",children:[(0,s.jsx)(o.wGg,{className:"w-4 h-4 mr-2"}),"Get there!"]})})},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return l},z:function(){return c}});var s=r(20881),n=r(64149),o=r(54098),i=r(20116),a=r(90270);let l=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:i,asChild:c=!1,...u}=e,d=c?o.g7:"button";return(0,s.jsx)(d,{className:(0,a.cn)(l({variant:n,size:i,className:r})),ref:t,...u})});c.displayName="Button"},33335:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var s=r(20881),n=r(64149),o=r(90270);let i=n.forwardRef((e,t)=>{let{className:r,type:n,...i}=e;return(0,s.jsx)("input",{type:n,className:(0,o.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});i.displayName="Input"},21501:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var s=r(20881),n=r(64149),o=r(51212),i=r(20116),a=r(90270);let l=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)(o.f,{ref:t,className:(0,a.cn)(l(),r),...n})});c.displayName=o.f.displayName},45320:function(e,t,r){"use strict";r.d(t,{a:function(){return o}});var s=r(64149),n=r(27525);function o(){let[e,t]=(0,s.useState)(!1),r=(0,n.useRouter)();function o(e){let t={token:e,lastActivity:Date.now(),expiresAt:Date.now()+18e5};localStorage.setItem("session",JSON.stringify(t))}function i(){localStorage.removeItem("session"),t(!1),r.push("/login")}function a(){let e=function(){let e=function(){let e=localStorage.getItem("session");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}();if(!e)return!1;let t=Date.now();return t>e.expiresAt?(i(),!1):(t-e.lastActivity>3e5&&o(e.token),!0)}();return t(e),e}return(0,s.useEffect)(()=>{a()},[]),{isAuthenticated:e,login:async function(e){let s=encodeURIComponent(e);try{let e=await fetch("/cgi-bin/auth.sh",{method:"POST",headers:{"Content-Type":"application/json"},body:"password=".concat(s)}),n=await e.json();if(console.log(n),"success"!==n.state)return!1;{let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";return Array.from(crypto.getRandomValues(new Uint8Array(e))).map(e=>t[e%t.length]).join("")}();return o(e),t(!0),r.push("/dashboard/home"),!0}}catch(e){return console.error("Login error:",e),!1}},logout:i,checkAuth:a}}},46646:function(e,t,r){"use strict";r.d(t,{pm:function(){return f}});var s=r(64149);let n=0,o=new Map,i=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),u({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,t)},a=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?i(r):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],c={toasts:[]};function u(e){c=a(c,e),l.forEach(e=>{e(c)})}function d(e){let{...t}=e,r=(n=(n+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>u({type:"DISMISS_TOAST",toastId:r});return u({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||s()}}}),{id:r,dismiss:s,update:e=>u({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=s.useState(c);return s.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>u({type:"DISMISS_TOAST",toastId:e})}}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return o}});var s=r(33958),n=r(61779);function o(){for(var e=arguments.length,t=Array(e),r=0;r");return e}let b=n.forwardRef((e,t)=>{let{id:r,className:s,children:l,config:o,...i}=e,d=n.useId(),c="chart-".concat(r||d.replace(/:/g,""));return(0,a.jsx)(v.Provider,{value:{config:o},children:(0,a.jsxs)("div",{"data-chart":c,ref:t,className:(0,p.cn)("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",s),...i,children:[(0,a.jsx)(j,{id:c,config:o}),(0,a.jsx)(f.h,{children:l})]})})});b.displayName="Chart";let j=e=>{let{id:t,config:r}=e,n=Object.entries(r).filter(e=>{let[t,r]=e;return r.theme||r.color});return n.length?(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(g).map(e=>{let[r,a]=e;return"\n".concat(a," [data-chart=").concat(t,"] {\n").concat(n.map(e=>{var t;let[a,n]=e,s=(null===(t=n.theme)||void 0===t?void 0:t[r])||n.color;return s?" --color-".concat(a,": ").concat(s,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null};function y(e,t,r){if("object"!=typeof t||null===t)return;let a="payload"in t&&"object"==typeof t.payload&&null!==t.payload?t.payload:void 0,n=r;return r in t&&"string"==typeof t[r]?n=t[r]:a&&r in a&&"string"==typeof a[r]&&(n=a[r]),n in e?e[n]:e[r]}x.u,n.forwardRef((e,t)=>{let{active:r,payload:s,className:l,indicator:o="dot",hideLabel:i=!1,hideIndicator:d=!1,label:c,labelFormatter:u,labelClassName:m,formatter:f,color:x,nameKey:h,labelKey:g}=e,{config:v}=N(),b=n.useMemo(()=>{var e;if(i||!(null==s?void 0:s.length))return null;let[t]=s,r="".concat(g||t.dataKey||t.name||"value"),n=y(v,t,r),l=g||"string"!=typeof c?null==n?void 0:n.label:(null===(e=v[c])||void 0===e?void 0:e.label)||c;return u?(0,a.jsx)("div",{className:(0,p.cn)("font-medium",m),children:u(l,s)}):l?(0,a.jsx)("div",{className:(0,p.cn)("font-medium",m),children:l}):null},[c,u,s,i,m,v,g]);if(!r||!(null==s?void 0:s.length))return null;let j=1===s.length&&"dot"!==o;return(0,a.jsxs)("div",{ref:t,className:(0,p.cn)("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",l),children:[j?null:b,(0,a.jsx)("div",{className:"grid gap-1.5",children:s.map((e,t)=>{let r="".concat(h||e.name||e.dataKey||"value"),n=y(v,e,r),s=x||e.payload.fill||e.color;return(0,a.jsx)("div",{className:(0,p.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===o&&"items-center"),children:f&&(null==e?void 0:e.value)!==void 0&&e.name?f(e.value,e.name,e,t,e.payload):(0,a.jsxs)(a.Fragment,{children:[(null==n?void 0:n.icon)?(0,a.jsx)(n.icon,{}):!d&&(0,a.jsx)("div",{className:(0,p.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===o,"w-1":"line"===o,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===o,"my-0.5":j&&"dashed"===o}),style:{"--color-bg":s,"--color-border":s}}),(0,a.jsxs)("div",{className:(0,p.cn)("flex flex-1 justify-between leading-none",j?"items-end":"items-center"),children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[j?b:null,(0,a.jsx)("span",{className:"text-muted-foreground",children:(null==n?void 0:n.label)||e.name})]}),e.value&&(0,a.jsx)("span",{className:"font-mono font-medium tabular-nums text-foreground",children:e.value.toLocaleString()})]})]})},e.dataKey)})})]})}).displayName="ChartTooltip",h.D,n.forwardRef((e,t)=>{let{className:r,hideIcon:n=!1,payload:s,verticalAlign:l="bottom",nameKey:o}=e,{config:i}=N();return(null==s?void 0:s.length)?(0,a.jsx)("div",{ref:t,className:(0,p.cn)("flex items-center justify-center gap-4","top"===l?"pb-3":"pt-3",r),children:s.map(e=>{let t="".concat(o||e.dataKey||"value"),r=y(i,e,t);return(0,a.jsxs)("div",{className:(0,p.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==r?void 0:r.icon)&&!n?(0,a.jsx)(r.icon,{}):(0,a.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:e.color}}),null==r?void 0:r.label]},e.value)})}):null}).displayName="ChartLegend";var w=r(47657),k=r(35935),_=r(89448),R=r(71036);function C(){let{setTheme:e}=(0,_.F)();return(0,a.jsxs)(R.h_,{children:[(0,a.jsx)(R.$F,{asChild:!0,children:(0,a.jsxs)(u.z,{variant:"outline",size:"icon",children:[(0,a.jsx)(k.NWY,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,a.jsx)(k.kLh,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,a.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,a.jsxs)(R.AW,{align:"end",children:[(0,a.jsx)(R.Xi,{onClick:()=>e("light"),children:"Light"}),(0,a.jsx)(R.Xi,{onClick:()=>e("dark"),children:"Dark"}),(0,a.jsx)(R.Xi,{onClick:()=>e("system"),children:"System"})]})]})}let S={rsrp:{min:-140,max:-70},rsrq:{min:-20,max:-10},sinr:{min:0,max:20}},z=(e,t)=>{let r=S[e];return Math.min(Math.max(Math.round((Math.max(Math.min(t,r.max),r.min)-r.min)/(r.max-r.min)*1e3)/10,0),100)},O=e=>{if(!e)return null;let t=e.map(Number).filter(e=>-32768!==e&&5!==e&&-140!==e);return 0===t.length?null:Math.round(t.reduce((e,t)=>e+t,0)/t.length)};function F(){var e,t,r;let[f,x]=(0,n.useState)({rsrp:null,rsrq:null,sinr:null,networkType:"",bands:null,networkName:""}),[h,p]=(0,n.useState)(!0),g=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=async()=>{try{let e=await fetch("/cgi-bin/fetch_data.sh?set=5"),t=await e.json();if(console.log(t),t){let e={rsrp:O(t[0].response.match(/-?\d+/g)),rsrq:O(t[1].response.match(/-?\d+/g)),sinr:O(t[2].response.match(/-?\d+/g)),networkType:"",bands:null,networkName:""};console.log(e);let r=t[3].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g),a=null==r?void 0:r.some(e=>e.includes("LTE")),n=null==r?void 0:r.some(e=>e.includes("NR5G"));e.networkType=a&&n?"NR5G-NSA":a?"LTE":n?"NR5G-SA":"No Signal";let s=null==r?void 0:r.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(e.split(" ")[2].replace(/"/g,"").trim()):void 0);e.bands=s?s.join(", "):"No Signal",e.networkName=t[4].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim()||"No Signal",x(e),g.current=e}}catch(e){console.error("Error fetching stats:",e)}finally{h&&p(!1)}};e();let t=setInterval(e,2e3);return()=>clearInterval(t)},[h]);let v=[{activity:"rsrp",value:null!==f.rsrp?z("rsrp",f.rsrp):0,label:null!==f.rsrp?"".concat(f.rsrp.toFixed(1)," dBm"):"No Signal",fill:"hsl(var(--chart-1))"},{activity:"rsrq",value:null!==f.rsrq?z("rsrq",f.rsrq):0,label:null!==f.rsrq?"".concat(f.rsrq.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-2))"},{activity:"sinr",value:null!==f.sinr?z("sinr",f.sinr):0,label:null!==f.sinr?"".concat(f.sinr.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-3))"}];return(0,a.jsxs)(d.Zb,{className:"xl:max-w-xl xl:w-[800px] max-w-sm",children:[(0,a.jsx)(d.Ol,{children:(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,a.jsx)(d.ll,{children:"QuecManager Quick Stats"}),(0,a.jsx)(C,{})]})}),(0,a.jsxs)(d.aY,{className:"flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-row justify-evenly items-center w-full p-2 border-t border-b",children:[h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:f.networkName}),(0,a.jsx)(w.Z,{orientation:"vertical",className:"mx-2 h-10 w-px"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:f.networkType}),(0,a.jsx)(w.Z,{orientation:"vertical",className:"mx-2 h-10 w-px"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:f.bands})]}),(0,a.jsx)("div",{className:"flex gap-4 xl:p-4 p-2 pb-2",children:h?(0,a.jsx)(c.O,{className:"h-[140px] w-full"}):(0,a.jsx)(b,{config:{sinr:{label:"sinr",color:"hsl(var(--chart-1))"},rsrp:{label:"rsrp",color:"hsl(var(--chart-2))"},rsrq:{label:"rsrq",color:"hsl(var(--chart-3))"}},className:"h-[140px] w-full",children:(0,a.jsxs)(s.v,{margin:{left:0,right:0,top:0,bottom:10},data:v,layout:"vertical",barSize:32,barGap:2,children:[(0,a.jsx)(l.K,{type:"number",dataKey:"value",hide:!0}),(0,a.jsx)(o.B,{dataKey:"activity",type:"category",tickLine:!1,tickMargin:4,axisLine:!1,className:"uppercase"}),(0,a.jsx)(i.$,{dataKey:"value",radius:5})]})})})]}),(0,a.jsxs)(d.eW,{className:"flex flex-col gap-4",children:[(0,a.jsx)("div",{className:"flex flex-row border-t border-b xl:p-4 p-2 w-full",children:(0,a.jsxs)("div",{className:"flex w-full items-center gap-2",children:[(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"RSRP"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(e=f.rsrp)||void 0===e?void 0:e.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dBm"})]})]}),(0,a.jsx)(w.Z,{orientation:"vertical",className:"mx-2 h-10 w-px"}),(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"RSRQ"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(t=f.rsrq)||void 0===t?void 0:t.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dB"})]})]}),(0,a.jsx)(w.Z,{orientation:"vertical",className:"mx-2 h-10 w-px"}),(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"SINR"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(r=f.sinr)||void 0===r?void 0:r.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dB"})]})]})]})}),(0,a.jsx)(u.z,{asChild:!0,children:(0,a.jsxs)(m.default,{href:"/login",children:["Login to QuecManager",(0,a.jsx)(k.LZ3,{className:"w-4 h-4 ml-2"})]})})]})]})}},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return i},z:function(){return d}});var a=r(20881),n=r(64149),s=r(54098),l=r(20116),o=r(90270);let i=(0,l.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,t)=>{let{className:r,variant:n,size:l,asChild:d=!1,...c}=e,u=d?s.g7:"button";return(0,a.jsx)(u,{className:(0,o.cn)(i({variant:n,size:l,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},SZ:function(){return d},Zb:function(){return l},aY:function(){return c},eW:function(){return u},ll:function(){return i}});var a=r(20881),n=r(64149),s=r(90270);let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});l.displayName="Card";let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...n})});o.displayName="CardHeader";let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",r),...n})});i.displayName="CardTitle";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...n})});d.displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...n})});u.displayName="CardFooter"},71036:function(e,t,r){"use strict";r.d(t,{$F:function(){return d},AW:function(){return c},Ju:function(){return m},VD:function(){return f},Xi:function(){return u},h_:function(){return i}});var a=r(20881),n=r(64149),s=r(67293),l=r(35935),o=r(90270);let i=s.fC,d=s.xz;s.ZA,s.Uv,s.Tr,s.Ee,n.forwardRef((e,t)=>{let{className:r,inset:n,children:i,...d}=e;return(0,a.jsxs)(s.fF,{ref:t,className:(0,o.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",n&&"pl-8",r),...d,children:[i,(0,a.jsx)(l.XCv,{className:"ml-auto h-4 w-4"})]})}).displayName=s.fF.displayName,n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.tu,{ref:t,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...n})}).displayName=s.tu.displayName;let c=n.forwardRef((e,t)=>{let{className:r,sideOffset:n=4,...l}=e;return(0,a.jsx)(s.Uv,{children:(0,a.jsx)(s.VY,{ref:t,sideOffset:n,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...l})})});c.displayName=s.VY.displayName;let u=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.ck,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n&&"pl-8",r),...l})});u.displayName=s.ck.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,checked:i,...d}=e;return(0,a.jsxs)(s.oC,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),checked:i,...d,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(s.wU,{children:(0,a.jsx)(l.nQG,{className:"h-4 w-4"})})}),n]})}).displayName=s.oC.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,...i}=e;return(0,a.jsxs)(s.Rk,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...i,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(s.wU,{children:(0,a.jsx)(l.jXb,{className:"h-4 w-4 fill-current"})})}),n]})}).displayName=s.Rk.displayName;let m=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.__,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",r),...l})});m.displayName=s.__.displayName;let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.Z0,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...n})});f.displayName=s.Z0.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var a=r(20881),n=r(64149),s=r(48897),l=r(90270);let o=n.forwardRef((e,t)=>{let{className:r,orientation:n="horizontal",decorative:o=!0,...i}=e;return(0,a.jsx)(s.f,{ref:t,decorative:o,orientation:n,className:(0,l.cn)("shrink-0 bg-border","horizontal"===n?"h-[1px] w-full":"h-full w-[1px]",r),...i})});o.displayName=s.f.displayName},88766:function(e,t,r){"use strict";r.d(t,{O:function(){return s}});var a=r(20881),n=r(90270);function s(e){let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var a=r(33958),n=r(61779);function s(){for(var e=arguments.length,t=Array(e),r=0;r");return e}let b=n.forwardRef((e,t)=>{let{id:r,className:s,children:l,config:o,...i}=e,d=n.useId(),c="chart-".concat(r||d.replace(/:/g,""));return(0,a.jsx)(v.Provider,{value:{config:o},children:(0,a.jsxs)("div",{"data-chart":c,ref:t,className:(0,p.cn)("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",s),...i,children:[(0,a.jsx)(j,{id:c,config:o}),(0,a.jsx)(f.h,{children:l})]})})});b.displayName="Chart";let j=e=>{let{id:t,config:r}=e,n=Object.entries(r).filter(e=>{let[t,r]=e;return r.theme||r.color});return n.length?(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(g).map(e=>{let[r,a]=e;return"\n".concat(a," [data-chart=").concat(t,"] {\n").concat(n.map(e=>{var t;let[a,n]=e,s=(null===(t=n.theme)||void 0===t?void 0:t[r])||n.color;return s?" --color-".concat(a,": ").concat(s,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null};function y(e,t,r){if("object"!=typeof t||null===t)return;let a="payload"in t&&"object"==typeof t.payload&&null!==t.payload?t.payload:void 0,n=r;return r in t&&"string"==typeof t[r]?n=t[r]:a&&r in a&&"string"==typeof a[r]&&(n=a[r]),n in e?e[n]:e[r]}x.u,n.forwardRef((e,t)=>{let{active:r,payload:s,className:l,indicator:o="dot",hideLabel:i=!1,hideIndicator:d=!1,label:c,labelFormatter:u,labelClassName:m,formatter:f,color:x,nameKey:h,labelKey:g}=e,{config:v}=N(),b=n.useMemo(()=>{var e;if(i||!(null==s?void 0:s.length))return null;let[t]=s,r="".concat(g||t.dataKey||t.name||"value"),n=y(v,t,r),l=g||"string"!=typeof c?null==n?void 0:n.label:(null===(e=v[c])||void 0===e?void 0:e.label)||c;return u?(0,a.jsx)("div",{className:(0,p.cn)("font-medium",m),children:u(l,s)}):l?(0,a.jsx)("div",{className:(0,p.cn)("font-medium",m),children:l}):null},[c,u,s,i,m,v,g]);if(!r||!(null==s?void 0:s.length))return null;let j=1===s.length&&"dot"!==o;return(0,a.jsxs)("div",{ref:t,className:(0,p.cn)("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",l),children:[j?null:b,(0,a.jsx)("div",{className:"grid gap-1.5",children:s.map((e,t)=>{let r="".concat(h||e.name||e.dataKey||"value"),n=y(v,e,r),s=x||e.payload.fill||e.color;return(0,a.jsx)("div",{className:(0,p.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===o&&"items-center"),children:f&&(null==e?void 0:e.value)!==void 0&&e.name?f(e.value,e.name,e,t,e.payload):(0,a.jsxs)(a.Fragment,{children:[(null==n?void 0:n.icon)?(0,a.jsx)(n.icon,{}):!d&&(0,a.jsx)("div",{className:(0,p.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===o,"w-1":"line"===o,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===o,"my-0.5":j&&"dashed"===o}),style:{"--color-bg":s,"--color-border":s}}),(0,a.jsxs)("div",{className:(0,p.cn)("flex flex-1 justify-between leading-none",j?"items-end":"items-center"),children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[j?b:null,(0,a.jsx)("span",{className:"text-muted-foreground",children:(null==n?void 0:n.label)||e.name})]}),e.value&&(0,a.jsx)("span",{className:"font-mono font-medium tabular-nums text-foreground",children:e.value.toLocaleString()})]})]})},e.dataKey)})})]})}).displayName="ChartTooltip",h.D,n.forwardRef((e,t)=>{let{className:r,hideIcon:n=!1,payload:s,verticalAlign:l="bottom",nameKey:o}=e,{config:i}=N();return(null==s?void 0:s.length)?(0,a.jsx)("div",{ref:t,className:(0,p.cn)("flex items-center justify-center gap-4","top"===l?"pb-3":"pt-3",r),children:s.map(e=>{let t="".concat(o||e.dataKey||"value"),r=y(i,e,t);return(0,a.jsxs)("div",{className:(0,p.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==r?void 0:r.icon)&&!n?(0,a.jsx)(r.icon,{}):(0,a.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:e.color}}),null==r?void 0:r.label]},e.value)})}):null}).displayName="ChartLegend";var w=r(47657),k=r(35935),_=r(89448),R=r(71036);function C(){let{setTheme:e}=(0,_.F)();return(0,a.jsxs)(R.h_,{children:[(0,a.jsx)(R.$F,{asChild:!0,children:(0,a.jsxs)(u.z,{variant:"outline",size:"icon",children:[(0,a.jsx)(k.NWY,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,a.jsx)(k.kLh,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,a.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,a.jsxs)(R.AW,{align:"end",children:[(0,a.jsx)(R.Xi,{onClick:()=>e("light"),children:"Light"}),(0,a.jsx)(R.Xi,{onClick:()=>e("dark"),children:"Dark"}),(0,a.jsx)(R.Xi,{onClick:()=>e("system"),children:"System"})]})]})}let S={rsrp:{min:-140,max:-70},rsrq:{min:-20,max:-10},sinr:{min:0,max:20}},z=(e,t)=>{let r=S[e];return Math.min(Math.max(Math.round((Math.max(Math.min(t,r.max),r.min)-r.min)/(r.max-r.min)*1e3)/10,0),100)},O=e=>{if(!e)return null;let t=e.map(Number).filter(e=>-32768!==e&&5!==e&&-140!==e);return 0===t.length?null:Math.round(t.reduce((e,t)=>e+t,0)/t.length)};function F(){var e,t,r;let[f,x]=(0,n.useState)({rsrp:null,rsrq:null,sinr:null,networkType:"",bands:null,networkName:""}),[h,p]=(0,n.useState)(!0),g=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=async()=>{try{let e=await fetch("/cgi-bin/fetch_data.sh?set=5"),t=await e.json();if(console.log(t),t){let e={rsrp:O(t[0].response.match(/-?\d+/g)),rsrq:O(t[1].response.match(/-?\d+/g)),sinr:O(t[2].response.match(/-?\d+/g)),networkType:"",bands:null,networkName:""};console.log(e);let r=t[3].response.match(/"LTE BAND \d+"|"NR5G BAND \d+"/g),a=null==r?void 0:r.some(e=>e.includes("LTE")),n=null==r?void 0:r.some(e=>e.includes("NR5G"));e.networkType=a&&n?"NR5G-NSA":a?"LTE":n?"NR5G-SA":"No Signal";let s=null==r?void 0:r.map(e=>e.includes("LTE")?"B".concat(e.match(/\d+/)):e.includes("NR5G")?"N".concat(e.split(" ")[2].replace(/"/g,"").trim()):void 0);e.bands=s?s.join(", "):"No Signal",e.networkName=t[4].response.split("\n")[1].split(":")[1].split(",")[1].replace(/"/g,"").trim()||"No Signal",x(e),g.current=e}}catch(e){console.error("Error fetching stats:",e)}finally{h&&p(!1)}};e();let t=setInterval(e,2e3);return()=>clearInterval(t)},[h]);let v=[{activity:"rsrp",value:null!==f.rsrp?z("rsrp",f.rsrp):0,label:null!==f.rsrp?"".concat(f.rsrp.toFixed(1)," dBm"):"No Signal",fill:"hsl(var(--chart-1))"},{activity:"rsrq",value:null!==f.rsrq?z("rsrq",f.rsrq):0,label:null!==f.rsrq?"".concat(f.rsrq.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-2))"},{activity:"sinr",value:null!==f.sinr?z("sinr",f.sinr):0,label:null!==f.sinr?"".concat(f.sinr.toFixed(1)," dB"):"No Signal",fill:"hsl(var(--chart-3))"}];return(0,a.jsxs)(d.Zb,{className:"xl:max-w-xl xl:w-[800px] max-w-sm",children:[(0,a.jsx)(d.Ol,{children:(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,a.jsx)(d.ll,{children:"QuecManager Quick Stats"}),(0,a.jsx)(C,{})]})}),(0,a.jsxs)(d.aY,{className:"flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-row justify-evenly items-center w-full p-2 border-t border-b",children:[h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:f.networkName}),(0,a.jsx)(w.Z,{orientation:"vertical",className:"mx-2 h-10 w-px"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:f.networkType}),(0,a.jsx)(w.Z,{orientation:"vertical",className:"mx-2 h-10 w-px"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsx)("div",{children:f.bands})]}),(0,a.jsx)("div",{className:"flex gap-4 xl:p-4 p-2 pb-2",children:h?(0,a.jsx)(c.O,{className:"h-[140px] w-full"}):(0,a.jsx)(b,{config:{sinr:{label:"sinr",color:"hsl(var(--chart-1))"},rsrp:{label:"rsrp",color:"hsl(var(--chart-2))"},rsrq:{label:"rsrq",color:"hsl(var(--chart-3))"}},className:"h-[140px] w-full",children:(0,a.jsxs)(s.v,{margin:{left:0,right:0,top:0,bottom:10},data:v,layout:"vertical",barSize:32,barGap:2,children:[(0,a.jsx)(l.K,{type:"number",dataKey:"value",hide:!0}),(0,a.jsx)(o.B,{dataKey:"activity",type:"category",tickLine:!1,tickMargin:4,axisLine:!1,className:"uppercase"}),(0,a.jsx)(i.$,{dataKey:"value",radius:5})]})})})]}),(0,a.jsxs)(d.eW,{className:"flex flex-col gap-4",children:[(0,a.jsx)("div",{className:"flex flex-row border-t border-b xl:p-4 p-2 w-full",children:(0,a.jsxs)("div",{className:"flex w-full items-center gap-2",children:[(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"RSRP"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(e=f.rsrp)||void 0===e?void 0:e.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dBm"})]})]}),(0,a.jsx)(w.Z,{orientation:"vertical",className:"mx-2 h-10 w-px"}),(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"RSRQ"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(t=f.rsrq)||void 0===t?void 0:t.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dB"})]})]}),(0,a.jsx)(w.Z,{orientation:"vertical",className:"mx-2 h-10 w-px"}),(0,a.jsxs)("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"SINR"}),h?(0,a.jsx)(c.O,{className:"h-8 w-24"}):(0,a.jsxs)("div",{className:"flex items-baseline gap-1 xl:text-2xl text-md font-bold tabular-nums leading-none",children:[null===(r=f.sinr)||void 0===r?void 0:r.toFixed(1),(0,a.jsx)("span",{className:"text-sm font-normal text-muted-foreground",children:"dB"})]})]})]})}),(0,a.jsx)(u.z,{asChild:!0,children:(0,a.jsxs)(m.default,{href:"/login",children:["Login to QuecManager",(0,a.jsx)(k.LZ3,{className:"w-4 h-4 ml-2"})]})})]})]})}},78580:function(e,t,r){"use strict";r.d(t,{d:function(){return i},z:function(){return d}});var a=r(20881),n=r(64149),s=r(54098),l=r(20116),o=r(90270);let i=(0,l.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,t)=>{let{className:r,variant:n,size:l,asChild:d=!1,...c}=e,u=d?s.g7:"button";return(0,a.jsx)(u,{className:(0,o.cn)(i({variant:n,size:l,className:r})),ref:t,...c})});d.displayName="Button"},94920:function(e,t,r){"use strict";r.d(t,{Ol:function(){return o},SZ:function(){return d},Zb:function(){return l},aY:function(){return c},eW:function(){return u},ll:function(){return i}});var a=r(20881),n=r(64149),s=r(90270);let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...n})});l.displayName="Card";let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...n})});o.displayName="CardHeader";let i=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("font-semibold leading-none tracking-tight",r),...n})});i.displayName="CardTitle";let d=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-muted-foreground",r),...n})});d.displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...n})});c.displayName="CardContent";let u=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...n})});u.displayName="CardFooter"},71036:function(e,t,r){"use strict";r.d(t,{$F:function(){return d},AW:function(){return c},Ju:function(){return m},VD:function(){return f},Xi:function(){return u},h_:function(){return i}});var a=r(20881),n=r(64149),s=r(67293),l=r(35935),o=r(90270);let i=s.fC,d=s.xz;s.ZA,s.Uv,s.Tr,s.Ee,n.forwardRef((e,t)=>{let{className:r,inset:n,children:i,...d}=e;return(0,a.jsxs)(s.fF,{ref:t,className:(0,o.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",n&&"pl-8",r),...d,children:[i,(0,a.jsx)(l.XCv,{className:"ml-auto h-4 w-4"})]})}).displayName=s.fF.displayName,n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.tu,{ref:t,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...n})}).displayName=s.tu.displayName;let c=n.forwardRef((e,t)=>{let{className:r,sideOffset:n=4,...l}=e;return(0,a.jsx)(s.Uv,{children:(0,a.jsx)(s.VY,{ref:t,sideOffset:n,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...l})})});c.displayName=s.VY.displayName;let u=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.ck,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n&&"pl-8",r),...l})});u.displayName=s.ck.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,checked:i,...d}=e;return(0,a.jsxs)(s.oC,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),checked:i,...d,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(s.wU,{children:(0,a.jsx)(l.nQG,{className:"h-4 w-4"})})}),n]})}).displayName=s.oC.displayName,n.forwardRef((e,t)=>{let{className:r,children:n,...i}=e;return(0,a.jsxs)(s.Rk,{ref:t,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...i,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(s.wU,{children:(0,a.jsx)(l.jXb,{className:"h-4 w-4 fill-current"})})}),n]})}).displayName=s.Rk.displayName;let m=n.forwardRef((e,t)=>{let{className:r,inset:n,...l}=e;return(0,a.jsx)(s.__,{ref:t,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",r),...l})});m.displayName=s.__.displayName;let f=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(s.Z0,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",r),...n})});f.displayName=s.Z0.displayName},47657:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var a=r(20881),n=r(64149),s=r(48897),l=r(90270);let o=n.forwardRef((e,t)=>{let{className:r,orientation:n="horizontal",decorative:o=!0,...i}=e;return(0,a.jsx)(s.f,{ref:t,decorative:o,orientation:n,className:(0,l.cn)("shrink-0 bg-border","horizontal"===n?"h-[1px] w-full":"h-full w-[1px]",r),...i})});o.displayName=s.f.displayName},88766:function(e,t,r){"use strict";r.d(t,{O:function(){return s}});var a=r(20881),n=r(90270);function s(e){let{className:t,...r}=e;return(0,a.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-primary/10",t),...r})}},90270:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var a=r(33958),n=r(61779);function s(){for(var e=arguments.length,t=Array(e),r=0;r1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},39951:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});let n=r(20999),o=r(62419);function a(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39808:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(62419);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n25){window.location.reload();return}clearTimeout(r),r=setTimeout(t,l>5?5e3:1e3)}n&&n.close();let u=(0,o.getSocketUrl)(e.assetPrefix);(n=new window.WebSocket(""+u+e.path)).onopen=function(){l=0,window.console.log("[HMR] connected")},n.onerror=i,n.onclose=i,n.onmessage=function(e){let t=JSON.parse(e.data);for(let e of a)e(t)}}()}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50450:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=function(){for(var e=arguments.length,t=Array(e),r=0;r{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let n=t.title?t.title[0]:null,o="";if(n){let{children:e}=n.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),i=Number(n.content),u=[];for(let t=0,r=n.previousElementSibling;t{for(let t=0,r=u.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),s.forEach(e=>r.insertBefore(e,n)),n.content=(i-u.length+s.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},23659:function(e,t,r){"use strict";let n,o,a,i,u,l,s,c,f,d,p,h;Object.defineProperty(t,"__esModule",{value:!0});let m=r(11778);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{emitter:function(){return z},hydrate:function(){return ef},initialize:function(){return $},router:function(){return n},version:function(){return G}});let _=r(42430),g=r(52676);r(93669);let y=_._(r(75271)),b=_._(r(38751)),P=r(38161),v=_._(r(74083)),E=r(18738),S=r(89291),O=r(73230),j=r(25303),w=r(10209),R=r(98403),T=r(98887),M=_._(r(29731)),x=_._(r(34821)),I=_._(r(83550)),C=r(61947),A=r(26699),L=r(16716),N=r(81795),D=r(91046),k=r(41709),U=r(37193),F=r(66812),B=r(6031),H=_._(r(70588)),W=_._(r(48616)),q=_._(r(48556)),G="14.2.15",z=(0,v.default)(),V=e=>[].slice.call(e),X=!1;class Y extends y.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(o.isFallback||o.nextExport&&((0,O.isDynamicRoute)(n.pathname)||location.search||X)||o.props&&o.props.__N_SSG&&(location.search||X))&&n.replace(n.pathname+"?"+String((0,j.assign)((0,j.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!o.isFallback&&!X}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function $(e){void 0===e&&(e={}),W.default.onSpanEnd(q.default),o=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=o,h=o.defaultLocale;let t=o.assetPrefix||"";if(self.__next_set_public_path__(""+t+"/_next/"),(0,w.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:o.runtimeConfig||{}}),a=(0,R.getURL)(),(0,k.hasBasePath)(a)&&(a=(0,D.removeBasePath)(a)),o.scriptLoader){let{initScriptLoader:e}=r(26981);e(o.scriptLoader)}i=new x.default(o.buildId,t);let s=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>s(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=s,(l=(0,M.default)()).getIsSsr=()=>n.isSsr,u=document.getElementById("__next"),{assetPrefix:t}}function K(e,t){return(0,g.jsx)(e,{...t})}function J(e){var t;let{children:r}=e,o=y.default.useMemo(()=>(0,F.adaptForAppRouterInstance)(n),[]);return(0,g.jsx)(Y,{fn:e=>Z({App:f,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,g.jsx)(U.AppRouterContext.Provider,{value:o,children:(0,g.jsx)(B.SearchParamsContext.Provider,{value:(0,F.adaptForSearchParams)(n),children:(0,g.jsx)(F.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t,children:(0,g.jsx)(B.PathParamsContext.Provider,{value:(0,F.adaptForPathParams)(n),children:(0,g.jsx)(E.RouterContext.Provider,{value:(0,A.makePublicRouterInstance)(n),children:(0,g.jsx)(P.HeadManagerContext.Provider,{value:l,children:(0,g.jsx)(N.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0},children:r})})})})})})})})}let Q=e=>t=>{let r={...t,Component:p,err:o.err,router:n};return(0,g.jsx)(J,{children:K(e,r)})};function Z(e){let{App:t,err:u}=e;return console.error(u),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:o,styleSheets:a}=n;return(null==s?void 0:s.Component)===o?Promise.resolve().then(()=>m._(r(63936))).then(n=>Promise.resolve().then(()=>m._(r(84820))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:o,styleSheets:a}}).then(r=>{var i;let{ErrorComponent:l,styleSheets:s}=r,c=Q(t),f={Component:l,AppTree:c,router:n,ctx:{err:u,pathname:o.page,query:o.query,asPath:a,AppTree:c}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:(0,R.loadGetInitialProps)(t,f)).then(t=>es({...e,err:u,Component:l,styleSheets:s,props:t}))})}function ee(e){let{callback:t}=e;return y.default.useLayoutEffect(()=>t(),[t]),null}let et={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},er={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},en=null,eo=!0;function ea(){[et.beforeRender,et.afterHydrate,et.afterRender,et.routeChange].forEach(e=>performance.clearMarks(e))}function ei(){R.ST&&(performance.mark(et.afterHydrate),performance.getEntriesByName(et.beforeRender,"mark").length&&(performance.measure(er.beforeHydration,et.navigationStart,et.beforeRender),performance.measure(er.hydration,et.beforeRender,et.afterHydrate)),d&&performance.getEntriesByName(er.hydration).forEach(d),ea())}function eu(){if(!R.ST)return;performance.mark(et.afterRender);let e=performance.getEntriesByName(et.routeChange,"mark");e.length&&(performance.getEntriesByName(et.beforeRender,"mark").length&&(performance.measure(er.routeChangeToRender,e[0].name,et.beforeRender),performance.measure(er.render,et.beforeRender,et.afterRender),d&&(performance.getEntriesByName(er.render).forEach(d),performance.getEntriesByName(er.routeChangeToRender).forEach(d))),ea(),[er.routeChangeToRender,er.render].forEach(e=>performance.clearMeasures(e)))}function el(e){let{callbacks:t,children:r}=e;return y.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),y.default.useEffect(()=>{(0,I.default)(d)},[]),r}function es(e){let t,{App:r,Component:o,props:a,err:i}=e,l="initial"in e?void 0:e.styleSheets;o=o||s.Component;let f={...a=a||s.props,Component:o,err:i,router:n};s=f;let d=!1,p=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{d=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function h(){t()}!function(){if(!l)return;let e=new Set(V(document.querySelectorAll("style[data-n-href]")).map(e=>e.getAttribute("data-n-href"))),t=document.querySelector("noscript[data-n-css]"),r=null==t?void 0:t.getAttribute("data-n-css");l.forEach(t=>{let{href:n,text:o}=t;if(!e.has(n)){let e=document.createElement("style");e.setAttribute("data-n-href",n),e.setAttribute("media","x"),r&&e.setAttribute("nonce",r),document.head.appendChild(e),e.appendChild(document.createTextNode(o))}})}();let m=(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(ee,{callback:function(){if(l&&!d){let e=new Set(l.map(e=>e.href)),t=V(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),V(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,S.handleSmoothScroll)(()=>{window.scrollTo(t,r)})}}}),(0,g.jsxs)(J,{children:[K(r,f),(0,g.jsx)(T.Portal,{type:"next-route-announcer",children:(0,g.jsx)(C.RouteAnnouncer,{})})]})]});return!function(e,t){R.ST&&performance.mark(et.beforeRender);let r=t(eo?ei:eu);en?(0,y.default.startTransition)(()=>{en.render(r)}):(en=b.default.hydrateRoot(e,r,{onRecoverableError:H.default}),eo=!1)}(u,e=>(0,g.jsx)(el,{callbacks:[e,h],children:m})),p}async function ec(e){if(e.err&&(void 0===e.Component||!e.isHydratePass)){await Z(e);return}try{await es(e)}catch(r){let t=(0,L.getProperError)(r);if(t.cancelled)throw t;await Z({...e,err:t})}}async function ef(e){let t=o.err;try{let e=await i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;f=t,r&&r.reportWebVitals&&(d=e=>{let t,{id:n,name:o,startTime:a,value:i,duration:u,entryType:l,entries:s,attribution:c}=e,f=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);s&&s.length&&(t=s[0].startTime);let d={id:n||f,name:o,startTime:a||t,value:null==i?u:i,label:"mark"===l||"measure"===l?"custom":"web-vital"};c&&(d.attribution=c),r.reportWebVitals(d)});let n=await i.routeLoader.whenEntrypoint(o.page);if("error"in n)throw n.error;p=n.component}catch(e){t=(0,L.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(o.dynamicIds),n=(0,A.createRouter)(o.page,o.query,a,{initialProps:o.props,pageLoader:i,App:f,Component:p,wrapApp:Q,err:t,isFallback:!!o.isFallback,subscription:(e,t,r)=>ec(Object.assign({},e,{App:t,scroll:r})),locale:o.locale,locales:o.locales,defaultLocale:h,domainLocales:o.domainLocales,isPreview:o.isPreview}),X=await n._initialMatchesMiddlewarePromise;let r={App:f,initial:!0,Component:p,props:o.props,err:t,isHydratePass:!0};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),ec(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38754:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(5197);let n=r(23659);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62419:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let n=r(63650),o=r(81412),a=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:a}=(0,o.parsePath)(e);return/\.[^/]+\/?$/.test(t)?""+(0,n.removeTrailingSlash)(t)+r+a:t.endsWith("/")?""+t+r+a:t+"/"+r+a};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70588:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(1057);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,n.isBailoutToCSRError)(e)||t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34821:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(42430),o=r(39951),a=r(62219),i=n._(r(24436)),u=r(39808),l=r(73230),s=r(5833),c=r(63650),f=r(2281);r(95864);class d{getPageList(){return(0,f.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:f,query:d,search:p}=(0,s.parseRelativeUrl)(r),{pathname:h}=(0,s.parseRelativeUrl)(t),m=(0,c.removeTrailingSlash)(f);if("/"!==m[0])throw Error('Route name should start with a "/", got "'+m+'"');return(e=>{let t=(0,i.default)((0,c.removeTrailingSlash)((0,u.addLocale)(e,n)),".json");return(0,o.addBasePath)("/_next/data/"+this.buildId+t+p,!0)})(e.skipInterpolation?h:(0,l.isDynamicRoute)(m)?(0,a.interpolateAs)(f,h,d).result:m)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,f.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},83550:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let o=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let a=!1;function i(e){n&&n(e)}let u=e=>{if(n=e,!a)for(let e of(a=!0,o))try{let t;t||(t=r(47510)),t["on"+e](i)}catch(t){console.warn("Failed to track "+e+" web-vital",t)}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98887:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return a}});let n=r(75271),o=r(30967),a=e=>{let{children:t,type:r}=e,[a,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),a?(0,o.createPortal)(t,a):null};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91046:function(e,t,r){"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(41709),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12511:function(e,t,r){"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(81412),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66315:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63177:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(25303),o=r(35602),a=r(49052),i=r(98403),u=r(62419),l=r(53949),s=r(40012),c=r(62219);function f(e,t,r){let f;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),p=d.match(/^[a-zA-Z]{1,}:\/\//),h=p?d.slice(p[0].length):d;if((h.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,i.normalizeRepeatedSlashes)(h);d=(p?p[0]:"")+t}if(!(0,l.isLocalURL)(d))return r?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,u.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:u}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,o.formatWithValidation)({pathname:i,hash:e.hash,query:(0,a.omit)(r,u)}))}let i=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[d]:d}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},61947:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return s}});let n=r(42430),o=r(52676),a=n._(r(75271)),i=r(26699),u={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,i.useRouter)(),[t,r]=a.default.useState(""),n=a.default.useRef(e);return a.default.useEffect(()=>{if(n.current!==e){if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1");r((null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent)||e)}}},[e]),(0,o.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:u,children:t})},s=l;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2281:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createRouteLoader:function(){return m},getClientBuildManifest:function(){return p},isAssetError:function(){return s},markAssetError:function(){return l}}),r(42430),r(24436);let n=r(2756),o=r(66315),a=r(35302);function i(e,t,r){let n,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);let a=new Promise(e=>{n=e});return t.set(e,o={resolve:n,future:a}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):a}let u=Symbol("ASSET_LOAD_ERROR");function l(e){return Object.defineProperty(e,u,{})}function s(e){return e&&u in e}let c=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),f=()=>(0,a.getDeploymentIdQueryOrEmptyString)();function d(e,t,r){return new Promise((n,a)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(a),(0,o.requestIdleCallback)(()=>setTimeout(()=>{i||a(r)},t))})}function p(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):d(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,l(Error("Failed to load client build manifest")))}function h(e,t){return p().then(r=>{if(!(t in r))throw l(Error("Failed to lookup route: "+t));let o=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:o.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+f()),css:o.filter(e=>e.endsWith(".css")).map(e=>e+f())}})}function m(e){let t=new Map,r=new Map,n=new Map,a=new Map;function u(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(l(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}function s(e){let t=n.get(e);return t||n.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw l(e)})),t}return{whenEntrypoint:e=>i(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),a.delete(e))})},loadRoute(r,n){return i(r,a,()=>{let o;return d(h(e,r).then(e=>{let{scripts:n,css:o}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(u)),Promise.all(o.map(s))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,l(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==o?void 0:o())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():h(e,t).then(e=>Promise.all(c?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,o)=>{if(document.querySelector('\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]'))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>o(l(Error("Failed to prefetch: "+t))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,o.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},26699:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return a.default},createRouter:function(){return m},default:function(){return p},makePublicRouterInstance:function(){return _},useRouter:function(){return h},withRouter:function(){return l.default}});let n=r(42430),o=n._(r(75271)),a=n._(r(99478)),i=r(18738),u=n._(r(16716)),l=n._(r(57402)),s={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function d(){if(!s.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return s.router}Object.defineProperty(s,"events",{get:()=>a.default.events}),c.forEach(e=>{Object.defineProperty(s,e,{get:()=>d()[e]})}),f.forEach(e=>{s[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{s.ready(()=>{a.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;ne()),s.readyCallbacks=[],s.router}function _(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=a.default.events,f.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o{if(i.default.preinit){e.forEach(e=>{i.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},m=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:o=null,dangerouslySetInnerHTML:a,children:i="",strategy:u="afterInteractive",onError:l,stylesheets:c}=e,m=r||t;if(m&&d.has(m))return;if(f.has(t)){d.add(m),f.get(t).then(n,l);return}let _=()=>{o&&o(),d.add(m)},g=document.createElement("script"),y=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),_()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){l&&l(e)});for(let[r,n]of(a?(g.innerHTML=a.__html||"",_()):i?(g.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",_()):t&&(g.src=t,f.set(t,y)),Object.entries(e))){if(void 0===n||p.includes(r))continue;let e=s.DOMAttributeNames[r]||r.toLowerCase();g.setAttribute(e,n)}"worker"===u&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",u),c&&h(c),document.body.appendChild(g)};function _(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(e))}):m(e)}function g(e){e.forEach(_),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");d.add(t)})}function y(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:o=null,strategy:s="afterInteractive",onError:f,stylesheets:p,...h}=e,{updateScripts:_,scripts:g,getIsSsr:y,appDir:b,nonce:P}=(0,u.useContext)(l.HeadManagerContext),v=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||r;v.current||(o&&e&&d.has(e)&&o(),v.current=!0)},[o,t,r]);let E=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{!E.current&&("afterInteractive"===s?m(e):"lazyOnload"===s&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(e))})),E.current=!0)},[e,s]),("beforeInteractive"===s||"worker"===s)&&(_?(g[s]=(g[s]||[]).concat([{id:t,src:r,onLoad:n,onReady:o,onError:f,...h}]),_(g)):y&&y()?d.add(t||r):y&&!y()&&m(e)),b){if(p&&p.forEach(e=>{i.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)return r?(i.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:P,crossOrigin:h.crossOrigin}:{as:"script",nonce:P,crossOrigin:h.crossOrigin}),(0,a.jsx)("script",{nonce:P,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...h,id:t}])+")"}})):(h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:P,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...h,id:t}])+")"}}));"afterInteractive"===s&&r&&i.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:P,crossOrigin:h.crossOrigin}:{as:"script",nonce:P,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let b=y;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48556:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(21186);function o(e){if("ended"!==e.state.state)throw Error("Expected span to be ended");(0,n.sendMessage)(JSON.stringify({event:"span-end",startTime:e.startTime,endTime:e.state.endTime,spanName:e.name,attributes:e.attributes}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48616:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(42430)._(r(74083));class o{end(e){if("ended"===this.state.state)throw Error("Span has already ended");this.state={state:"ended",endTime:null!=e?e:Date.now()},this.onSpanEnd(this)}constructor(e,t,r){var n,o;this.name=e,this.attributes=null!=(n=t.attributes)?n:{},this.startTime=null!=(o=t.startTime)?o:Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}}class a{startSpan(e,t){return new o(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,n.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}}let i=new a;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2756:function(e,t){"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5197:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(35302),self.__next_set_public_path__=e=>{r.p=e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57402:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}}),r(42430);let n=r(52676);r(75271);let o=r(26699);function a(e){function t(t){return(0,n.jsx)(e,{router:(0,o.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84820:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(42430),o=r(52676),a=n._(r(75271)),i=r(98403);async function u(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,i.loadGetInitialProps)(t,r)}}class l extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,o.jsx)(e,{...t})}}l.origGetInitialProps=u,l.getInitialProps=u,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63936:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(42430),o=r(52676),a=n._(r(75271)),i=n._(r(53564)),u={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let s={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||u[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:s.error,children:[(0,o.jsx)(i.default,{children:(0,o.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:s.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:s.h1,children:e}):null,(0,o.jsx)("div",{style:s.wrap,children:(0,o.jsxs)("h2",{style:s.h2,children:[this.props.title||e?r:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=l,c.origGetInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},11154:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(42430)._(r(75271)).default.createContext({})},11982:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},37193:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return i},LayoutRouterContext:function(){return a},MissingSlotContext:function(){return l},TemplateContext:function(){return u}});let n=r(42430)._(r(75271)),o=n.default.createContext(null),a=n.default.createContext(null),i=n.default.createContext(null),u=n.default.createContext(null),l=n.default.createContext(new Set)},20688:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=1e-4);let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r>>13,t=Math.imul(t,1540483477);return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},95864:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{APP_BUILD_MANIFEST:function(){return y},APP_CLIENT_INTERNALS:function(){return $},APP_PATHS_MANIFEST:function(){return m},APP_PATH_ROUTES_MANIFEST:function(){return _},AUTOMATIC_FONT_OPTIMIZATION_MANIFEST:function(){return C},BARREL_OPTIMIZATION_PREFIX:function(){return H},BLOCKED_PAGES:function(){return D},BUILD_ID_FILE:function(){return N},BUILD_MANIFEST:function(){return g},CLIENT_PUBLIC_FILES_PATH:function(){return k},CLIENT_REFERENCE_MANIFEST:function(){return W},CLIENT_STATIC_FILES_PATH:function(){return U},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return J},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return X},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return Y},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return Z},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return K},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return Q},COMPILER_INDEXES:function(){return a},COMPILER_NAMES:function(){return o},CONFIG_FILES:function(){return L},DEFAULT_RUNTIME_WEBPACK:function(){return et},DEFAULT_SANS_SERIF_FONT:function(){return el},DEFAULT_SERIF_FONT:function(){return eu},DEV_CLIENT_PAGES_MANIFEST:function(){return T},DEV_MIDDLEWARE_MANIFEST:function(){return x},EDGE_RUNTIME_WEBPACK:function(){return er},EDGE_UNSUPPORTED_NODE_APIS:function(){return ep},EXPORT_DETAIL:function(){return S},EXPORT_MARKER:function(){return E},FUNCTIONS_CONFIG_MANIFEST:function(){return b},GOOGLE_FONT_PROVIDER:function(){return ea},IMAGES_MANIFEST:function(){return w},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return V},MIDDLEWARE_BUILD_MANIFEST:function(){return G},MIDDLEWARE_MANIFEST:function(){return M},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return z},MODERN_BROWSERSLIST_TARGET:function(){return n.default},NEXT_BUILTIN_DOCUMENT:function(){return B},NEXT_FONT_MANIFEST:function(){return v},OPTIMIZED_FONT_PROVIDERS:function(){return ei},PAGES_MANIFEST:function(){return h},PHASE_DEVELOPMENT_SERVER:function(){return f},PHASE_EXPORT:function(){return l},PHASE_INFO:function(){return p},PHASE_PRODUCTION_BUILD:function(){return s},PHASE_PRODUCTION_SERVER:function(){return c},PHASE_TEST:function(){return d},PRERENDER_MANIFEST:function(){return O},REACT_LOADABLE_MANIFEST:function(){return I},ROUTES_MANIFEST:function(){return j},RSC_MODULE_TYPES:function(){return ed},SERVER_DIRECTORY:function(){return A},SERVER_FILES_MANIFEST:function(){return R},SERVER_PROPS_ID:function(){return eo},SERVER_REFERENCE_MANIFEST:function(){return q},STATIC_PROPS_ID:function(){return en},STATIC_STATUS_PAGES:function(){return es},STRING_LITERAL_DROP_BUNDLE:function(){return F},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return P},SYSTEM_ENTRYPOINTS:function(){return eh},TRACE_OUTPUT_VERSION:function(){return ec},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ef},UNDERSCORE_NOT_FOUND_ROUTE:function(){return i},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return u}});let n=r(42430)._(r(34028)),o={client:"client",server:"server",edgeServer:"edge-server"},a={[o.client]:0,[o.server]:1,[o.edgeServer]:2},i="/_not-found",u=""+i+"/page",l="phase-export",s="phase-production-build",c="phase-production-server",f="phase-development-server",d="phase-test",p="phase-info",h="pages-manifest.json",m="app-paths-manifest.json",_="app-path-routes-manifest.json",g="build-manifest.json",y="app-build-manifest.json",b="functions-config-manifest.json",P="subresource-integrity-manifest",v="next-font-manifest",E="export-marker.json",S="export-detail.json",O="prerender-manifest.json",j="routes-manifest.json",w="images-manifest.json",R="required-server-files.json",T="_devPagesManifest.json",M="middleware-manifest.json",x="_devMiddlewareManifest.json",I="react-loadable-manifest.json",C="font-manifest.json",A="server",L=["next.config.js","next.config.mjs"],N="BUILD_ID",D=["/_document","/_app","/_error"],k="public",U="static",F="__NEXT_DROP_CLIENT_FILE__",B="__NEXT_BUILTIN_DOCUMENT__",H="__barrel_optimize__",W="client-reference-manifest",q="server-reference-manifest",G="middleware-build-manifest",z="middleware-react-loadable-manifest",V="interception-route-rewrite-manifest",X="main",Y=""+X+"-app",$="app-pages-internals",K="react-refresh",J="amp",Q="webpack",Z="polyfills",ee=Symbol(Z),et="webpack-runtime",er="edge-runtime-webpack",en="__N_SSG",eo="__N_SSP",ea="https://fonts.googleapis.com/",ei=[{url:ea,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],eu={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},el={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},es=["/500"],ec=1,ef=6e3,ed={client:"client",server:"server"},ep=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],eh=new Set([X,K,J,Y]);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79415:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},38161:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(42430)._(r(75271)).default.createContext({})},53564:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return f}});let n=r(42430),o=r(11778),a=r(52676),i=o._(r(75271)),u=n._(r(45555)),l=r(11154),s=r(38161),c=r(11982);function f(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(42605);let p=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let a=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=p.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,i.default.cloneElement(e,t)}return i.default.cloneElement(e,{key:n})})}let m=function(e){let{children:t}=e,r=(0,i.useContext)(l.AmpStateContext),n=(0,i.useContext)(s.HeadManagerContext);return(0,a.jsx)(u.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6031:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathParamsContext:function(){return i},PathnameContext:function(){return a},SearchParamsContext:function(){return o}});let n=r(75271),o=(0,n.createContext)(null),a=(0,n.createContext)(null),i=(0,n.createContext)(null)},9050:function(e,t){"use strict";function r(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},81795:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=r(42430)._(r(75271)),o=r(78273),a=n.default.createContext(o.imageConfigDefault)},78273:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",localPatterns:void 0,remotePatterns:[],unoptimized:!1}},50912:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},1057:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return o}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},74083:function(e,t){"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},34028:function(e){"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},90068:function(e,t){"use strict";function r(e){let t=(null==e?void 0:e.replace(/^\/+|\/+$/g,""))||!1;if(!t)return"";if(URL.canParse(t)){let e=new URL(t).toString();return e.endsWith("/")?e.slice(0,-1):e}return"/"+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizedAssetPrefix",{enumerable:!0,get:function(){return r}})},60826:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return a}});let n=r(40012),o=r(91440);function a(e){let t=(0,o.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},17235:function(e,t){"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},91440:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},18738:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(42430)._(r(75271)).default.createContext(null)},66812:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathnameContextProviderAdapter:function(){return p},adaptForAppRouterInstance:function(){return c},adaptForPathParams:function(){return d},adaptForSearchParams:function(){return f}});let n=r(11778),o=r(52676),a=n._(r(75271)),i=r(6031),u=r(40012),l=r(16300),s=r(35911);function c(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},fastRefresh(){},push(t,r){let{scroll:n}=void 0===r?{}:r;e.push(t,void 0,{scroll:n})},replace(t,r){let{scroll:n}=void 0===r?{}:r;e.replace(t,void 0,{scroll:n})},prefetch(t){e.prefetch(t)}}}function f(e){return e.isReady&&e.query?(0,l.asPathToSearchParams)(e.asPath):new URLSearchParams}function d(e){if(!e.isReady||!e.query)return null;let t={};for(let r of Object.keys((0,s.getRouteRegex)(e.pathname).groups))t[r]=e.query[r];return t}function p(e){let{children:t,router:r,...n}=e,l=(0,a.useRef)(n.isAutoExport),s=(0,a.useMemo)(()=>{let e;let t=l.current;if(t&&(l.current=!1),(0,u.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return(0,o.jsx)(i.PathnameContext.Provider,{value:s,children:t})}},99478:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createKey:function(){return q},default:function(){return V},matchesMiddleware:function(){return N}});let n=r(42430),o=r(11778),a=r(63650),i=r(2281),u=r(26981),l=o._(r(16716)),s=r(60826),c=r(9050),f=n._(r(74083)),d=r(98403),p=r(73230),h=r(5833);r(33534);let m=r(67198),_=r(35911),g=r(35602);r(50450);let y=r(81412),b=r(39808),P=r(12511),v=r(91046),E=r(39951),S=r(41709),O=r(63177),j=r(65712),w=r(65904),R=r(46680),T=r(68168),M=r(53949),x=r(34876),I=r(49052),C=r(62219),A=r(89291);function L(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function N(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,y.parsePath)(e.asPath),n=(0,S.hasBasePath)(r)?(0,v.removeBasePath)(r):r,o=(0,E.addBasePath)((0,b.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(o))}function D(e){let t=(0,d.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function k(e,t,r){let[n,o]=(0,O.resolveHref)(e,t,!0),a=(0,d.getLocationOrigin)(),i=n.startsWith(a),u=o&&o.startsWith(a);n=D(n),o=o?D(o):o;let l=i?n:(0,E.addBasePath)(n),s=r?D((0,O.resolveHref)(e,r)):o||n;return{url:l,as:u?s:(0,E.addBasePath)(s)}}function U(e,t){let r=(0,a.removeTrailingSlash)((0,s.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,p.isDynamicRoute)(t)&&(0,_.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,a.removeTrailingSlash)(e))}async function F(e){if(!await N(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!0},o=t.headers.get("x-nextjs-rewrite"),u=o||t.headers.get("x-nextjs-matched-path"),l=t.headers.get("x-matched-path");if(!l||u||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(u=l),u){if(u.startsWith("/")){let t=(0,h.parseRelativeUrl)(u),l=(0,w.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),s=(0,a.removeTrailingSlash)(l.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,i.getClientBuildManifest)()]).then(a=>{let[i,{__rewrites:u}]=a,f=(0,b.addLocale)(l.pathname,l.locale);if((0,p.isDynamicRoute)(f)||!o&&i.includes((0,c.normalizeLocalePath)((0,v.removeBasePath)(f),r.router.locales).pathname)){let r=(0,w.getNextPathnameInfo)((0,h.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});f=(0,E.addBasePath)(r.pathname),t.pathname=f}if(!i.includes(s)){let e=U(s,i);e!==s&&(s=e)}let d=i.includes(s)?s:U((0,c.normalizeLocalePath)((0,v.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,p.isDynamicRoute)(d)){let e=(0,m.getRouteMatcher)((0,_.getRouteRegex)(d))(f);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:d}})}let t=(0,y.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,R.formatNextPathnameInfo)({...(0,w.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""})+t.query+t.hash})}let s=t.headers.get("x-nextjs-redirect");if(s){if(s.startsWith("/")){let e=(0,y.parsePath)(s),t=(0,R.formatNextPathnameInfo)({...(0,w.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:s})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}let B=Symbol("SSG_DATA_NOT_FOUND");function H(e){try{return JSON.parse(e)}catch(e){return null}}function W(e){let{dataHref:t,inflightCache:r,isPrefetch:n,hasMiddleware:o,isServerRender:a,parseJSON:u,persistCache:l,isBackground:s,unstable_skipClientCache:c}=e,{href:f}=new URL(t,window.location.href),d=e=>{var s;return(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(o=>!o.ok&&r>1&&o.status>=500?e(t,r-1,n):o)})(t,a?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(s=null==e?void 0:e.method)?s:"GET"}).then(r=>r.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:r,text:"",json:{},cacheKey:f}:r.text().then(e=>{if(!r.ok){if(o&&[301,302,307,308].includes(r.status))return{dataHref:t,response:r,text:e,json:{},cacheKey:f};if(404===r.status){var n;if(null==(n=H(e))?void 0:n.notFound)return{dataHref:t,json:{notFound:B},response:r,text:e,cacheKey:f}}let u=Error("Failed to load static props");throw a||(0,i.markAssetError)(u),u}return{dataHref:t,json:u?H(e):null,response:r,text:e,cacheKey:f}})).then(e=>(l&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[f],e)).catch(e=>{throw c||delete r[f],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,i.markAssetError)(e),e})};return c&&l?d({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(r[f]=Promise.resolve(e)),e)):void 0!==r[f]?r[f]:r[f]=d(s?{method:"HEAD"}:{})}function q(){return Math.random().toString(36).slice(2,10)}function G(e){let{url:t,router:r}=e;if(t===(0,E.addBasePath)((0,b.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let z=e=>{let{route:t,router:r}=e,n=!1,o=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}o===r.clc&&(r.clc=null)}};class V{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=k(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=k(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,r,n){{let l=!1,s=!1;for(let c of[e,t])if(c){let t=(0,a.removeTrailingSlash)(new URL(c,"http://n").pathname),f=(0,E.addBasePath)((0,b.addLocale)(t,r||this.locale));if(t!==(0,a.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var o,i,u;for(let e of(l=l||!!(null==(o=this._bfl_s)?void 0:o.contains(t))||!!(null==(i=this._bfl_s)?void 0:i.contains(f)),[t,f])){let t=e.split("/");for(let e=0;!s&&e{})}}}}return!1}async change(e,t,r,n,o){var s,c,f,O,j,w,R,x,A;let D,F;if(!(0,M.isLocalURL)(t))return G({url:t,router:this}),!1;let H=1===n._h;H||n.shallow||await this._bfl(r,void 0,n.locale);let W=H||n._shouldResolveHref||(0,y.parsePath)(t).pathname===(0,y.parsePath)(r).pathname,q={...this.state},z=!0!==this.isReady;this.isReady=!0;let X=this.isSsr;if(H||(this.isSsr=!1),H&&this.clc)return!1;let Y=q.locale;d.ST&&performance.mark("routeChange");let{shallow:$=!1,scroll:K=!0}=n,J={shallow:$};this._inFlightRoute&&this.clc&&(X||V.events.emit("routeChangeError",L(),this._inFlightRoute,J),this.clc(),this.clc=null),r=(0,E.addBasePath)((0,b.addLocale)((0,S.hasBasePath)(r)?(0,v.removeBasePath)(r):r,n.locale,this.defaultLocale));let Q=(0,P.removeLocale)((0,S.hasBasePath)(r)?(0,v.removeBasePath)(r):r,q.locale);this._inFlightRoute=r;let Z=Y!==q.locale;if(!H&&this.onlyAHashChange(Q)&&!Z){q.asPath=Q,V.events.emit("hashChangeStart",r,J),this.changeState(e,t,r,{...n,scroll:!1}),K&&this.scrollToHash(Q);try{await this.set(q,this.components[q.route],null)}catch(e){throw(0,l.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,J),e}return V.events.emit("hashChangeComplete",r,J),!0}let ee=(0,h.parseRelativeUrl)(t),{pathname:et,query:er}=ee;try{[D,{__rewrites:F}]=await Promise.all([this.pageLoader.getPageList(),(0,i.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return G({url:r,router:this}),!1}this.urlIsNew(Q)||Z||(e="replaceState");let en=r;et=et?(0,a.removeTrailingSlash)((0,v.removeBasePath)(et)):et;let eo=(0,a.removeTrailingSlash)(et),ea=r.startsWith("/")&&(0,h.parseRelativeUrl)(r).pathname;if(null==(s=this.components[et])?void 0:s.__appRouter)return G({url:r,router:this}),new Promise(()=>{});let ei=!!(ea&&eo!==ea&&(!(0,p.isDynamicRoute)(eo)||!(0,m.getRouteMatcher)((0,_.getRouteRegex)(eo))(ea))),eu=!n.shallow&&await N({asPath:r,locale:q.locale,router:this});if(H&&eu&&(W=!1),W&&"/_error"!==et&&(n._shouldResolveHref=!0,ee.pathname=U(et,D),ee.pathname===et||(et=ee.pathname,ee.pathname=(0,E.addBasePath)(et),eu||(t=(0,g.formatWithValidation)(ee)))),!(0,M.isLocalURL)(r))return G({url:r,router:this}),!1;en=(0,P.removeLocale)((0,v.removeBasePath)(en),q.locale),eo=(0,a.removeTrailingSlash)(et);let el=!1;if((0,p.isDynamicRoute)(eo)){let e=(0,h.parseRelativeUrl)(en),n=e.pathname,o=(0,_.getRouteRegex)(eo);el=(0,m.getRouteMatcher)(o)(n);let a=eo===n,i=a?(0,C.interpolateAs)(eo,n,er):{};if(el&&(!a||i.result))a?r=(0,g.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,I.omit)(er,i.params)})):Object.assign(er,el);else{let e=Object.keys(o.groups).filter(e=>!er[e]&&!o.groups[e].optional);if(e.length>0&&!eu)throw Error((a?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+eo+"). ")+"Read more: https://nextjs.org/docs/messages/"+(a?"href-interpolation-failed":"incompatible-href-as"))}}H||V.events.emit("routeChangeStart",r,J);let es="/404"===this.pathname||"/_error"===this.pathname;try{let a=await this.getRouteInfo({route:eo,pathname:et,query:er,as:r,resolvedAs:en,routeProps:J,locale:q.locale,isPreview:q.isPreview,hasMiddleware:eu,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:H&&!this.isFallback,isMiddlewareRewrite:ei});if(H||n.shallow||await this._bfl(r,"resolvedAs"in a?a.resolvedAs:void 0,q.locale),"route"in a&&eu){eo=et=a.route||eo,J.shallow||(er=Object.assign({},a.query||{},er));let e=(0,S.hasBasePath)(ee.pathname)?(0,v.removeBasePath)(ee.pathname):ee.pathname;if(el&&et!==e&&Object.keys(el).forEach(e=>{el&&er[e]===el[e]&&delete er[e]}),(0,p.isDynamicRoute)(et)){let e=!J.shallow&&a.resolvedAs?a.resolvedAs:(0,E.addBasePath)((0,b.addLocale)(new URL(r,location.href).pathname,q.locale),!0);(0,S.hasBasePath)(e)&&(e=(0,v.removeBasePath)(e));let t=(0,_.getRouteRegex)(et),n=(0,m.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(er,n)}}if("type"in a){if("redirect-internal"===a.type)return this.change(e,a.newUrl,a.newAs,n);return G({url:a.destination,router:this}),new Promise(()=>{})}let i=a.Component;if(i&&i.unstable_scriptLoader&&[].concat(i.unstable_scriptLoader()).forEach(e=>{(0,u.handleClientScriptLoad)(e.props)}),(a.__N_SSG||a.__N_SSP)&&a.props){if(a.props.pageProps&&a.props.pageProps.__N_REDIRECT){n.locale=!1;let t=a.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==a.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,h.parseRelativeUrl)(t);r.pathname=U(r.pathname,D);let{url:o,as:a}=k(this,t,t);return this.change(e,o,a,n)}return G({url:t,router:this}),new Promise(()=>{})}if(q.isPreview=!!a.props.__N_PREVIEW,a.props.notFound===B){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(a=await this.getRouteInfo({route:e,pathname:e,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isNotFound:!0}),"type"in a)throw Error("Unexpected middleware effect on /404")}}H&&"/_error"===this.pathname&&(null==(f=self.__NEXT_DATA__.props)?void 0:null==(c=f.pageProps)?void 0:c.statusCode)===500&&(null==(O=a.props)?void 0:O.pageProps)&&(a.props.pageProps.statusCode=500);let s=n.shallow&&q.route===(null!=(j=a.route)?j:eo),d=null!=(w=n.scroll)?w:!H&&!s,g=null!=o?o:d?{x:0,y:0}:null,y={...q,route:eo,pathname:et,query:er,asPath:Q,isFallback:!1};if(H&&es){if(a=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isQueryUpdating:H&&!this.isFallback}),"type"in a)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(x=self.__NEXT_DATA__.props)?void 0:null==(R=x.pageProps)?void 0:R.statusCode)===500&&(null==(A=a.props)?void 0:A.pageProps)&&(a.props.pageProps.statusCode=500);try{await this.set(y,a,g)}catch(e){throw(0,l.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,J),e}return!0}if(V.events.emit("beforeHistoryChange",r,J),this.changeState(e,t,r,n),!(H&&!g&&!z&&!Z&&(0,T.compareRouterStates)(y,this.state))){try{await this.set(y,a,g)}catch(e){if(e.cancelled)a.error=a.error||e;else throw e}if(a.error)throw H||V.events.emit("routeChangeError",a.error,Q,J),a.error;H||V.events.emit("routeChangeComplete",r,J),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,l.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,d.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:q()},"",r))}async handleRouteInfoError(e,t,r,n,o,a){if(console.error(e),e.cancelled)throw e;if((0,i.isAssetError)(e)||a)throw V.events.emit("routeChangeError",e,n,o),G({url:n,router:this}),L();try{let n;let{page:o,styleSheets:a}=await this.fetchComponent("/_error"),i={props:n,Component:o,styleSheets:a,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(o,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,l.default)(e)?e:Error(e+""),t,r,n,o,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:o,resolvedAs:i,routeProps:u,locale:s,hasMiddleware:f,isPreview:d,unstable_skipClientCache:p,isQueryUpdating:h,isMiddlewareRewrite:m,isNotFound:_}=e,y=t;try{var b,P,E,S;let e=this.components[y];if(u.shallow&&e&&this.route===y)return e;let t=z({route:y,router:this});f&&(e=void 0);let l=!e||"initial"in e?void 0:e,O={dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:_?"/404":i,locale:s}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p,isBackground:h},w=h&&!m?null:await F({fetchData:()=>W(O),asPath:_?"/404":i,locale:s,router:this}).catch(e=>{if(h)return null;throw e});if(w&&("/_error"===r||"/404"===r)&&(w.effect=void 0),h&&(w?w.json=self.__NEXT_DATA__.props:w={json:self.__NEXT_DATA__.props}),t(),(null==w?void 0:null==(b=w.effect)?void 0:b.type)==="redirect-internal"||(null==w?void 0:null==(P=w.effect)?void 0:P.type)==="redirect-external")return w.effect;if((null==w?void 0:null==(E=w.effect)?void 0:E.type)==="rewrite"){let t=(0,a.removeTrailingSlash)(w.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!h||o.includes(t))&&(y=t,r=w.effect.resolvedHref,n={...n,...w.effect.parsedAs.query},i=(0,v.removeBasePath)((0,c.normalizeLocalePath)(w.effect.parsedAs.pathname,this.locales).pathname),e=this.components[y],u.shallow&&e&&this.route===y&&!f))return{...e,route:y}}if((0,j.isAPIRoute)(y))return G({url:o,router:this}),new Promise(()=>{});let R=l||await this.fetchComponent(y).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),T=null==w?void 0:null==(S=w.response)?void 0:S.headers.get("x-middleware-skip"),M=R.__N_SSG||R.__N_SSP;T&&(null==w?void 0:w.dataHref)&&delete this.sdc[w.dataHref];let{props:x,cacheKey:I}=await this._getData(async()=>{if(M){if((null==w?void 0:w.json)&&!T)return{cacheKey:w.cacheKey,props:w.json};let e=(null==w?void 0:w.dataHref)?w.dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),asPath:i,locale:s}),t=await W({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:T?{}:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(R.Component,{pathname:r,query:n,asPath:o,locale:s,locales:this.locales,defaultLocale:this.defaultLocale})}});return R.__N_SSP&&O.dataHref&&I&&delete this.sdc[I],this.isPreview||!R.__N_SSG||h||W(Object.assign({},O,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),x.pageProps=Object.assign({},x.pageProps),R.props=x,R.route=y,R.query=n,R.resolvedAs=i,this.components[y]=R,R}catch(e){return this.handleRouteInfoError((0,l.getProperError)(e),r,n,o,u)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[n,o]=e.split("#",2);return!!o&&t===n&&r===o||t===n&&r!==o}scrollToHash(e){let[,t=""]=e.split("#",2);(0,A.handleSmoothScroll)(()=>{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),r=document.getElementById(e);if(r){r.scrollIntoView();return}let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,x.isBot)(window.navigator.userAgent))return;let n=(0,h.parseRelativeUrl)(e),o=n.pathname,{pathname:i,query:u}=n,l=i,s=await this.pageLoader.getPageList(),c=t,f=void 0!==r.locale?r.locale||void 0:this.locale,d=await N({asPath:t,locale:f,router:this});n.pathname=U(n.pathname,s),(0,p.isDynamicRoute)(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(u,(0,m.getRouteMatcher)((0,_.getRouteRegex)(n.pathname))((0,y.parsePath)(t).pathname)||{}),d||(e=(0,g.formatWithValidation)(n)));let b=await F({fetchData:()=>W({dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:l,query:u}),skipInterpolation:!0,asPath:c,locale:f}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if((null==b?void 0:b.effect.type)==="rewrite"&&(n.pathname=b.effect.resolvedHref,i=b.effect.resolvedHref,u={...u,...b.effect.parsedAs.query},c=b.effect.parsedAs.pathname,e=(0,g.formatWithValidation)(n)),(null==b?void 0:b.effect.type)==="redirect-external")return;let P=(0,a.removeTrailingSlash)(i);await this._bfl(t,c,r.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(P).then(t=>!!t&&W({dataHref:(null==b?void 0:b.json)?null==b?void 0:b.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](P)])}async fetchComponent(e){let t=z({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return W({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,d.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,n,{initialProps:o,pageLoader:i,App:u,wrapApp:l,Component:s,err:c,subscription:f,isFallback:m,locale:_,locales:y,defaultLocale:b,domainLocales:P,isPreview:v}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=q(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,g.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),(0,d.getURL)());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:o,as:a,options:i,key:u}=n;this._key=u;let{pathname:l}=(0,h.parseRelativeUrl)(o);(!this.isSsr||a!==(0,E.addBasePath)(this.asPath)||l!==(0,E.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",o,a,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let S=(0,a.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[S]={Component:s,initial:!0,props:o,err:c,__N_SSG:o&&o.__N_SSG,__N_SSP:o&&o.__N_SSP}),this.components["/_app"]={Component:u,styleSheets:[]};{let{BloomFilter:e}=r(20688),t={numItems:35,errorRate:1e-4,numBits:671,numHashes:14,bitArray:[0,0,0,1,0,0,0,0,1,1,0,1,1,0,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,1,1,0,1,1,1,1,0,0,0,0,0,1,0,1,1,0,0,1,0,1,0,0,0,1,1,1,0,1,1,0,0,0,1,0,0,0,1,1,0,1,1,1,1,1,1,0,0,1,0,1,0,0,0,1,1,1,1,0,0,1,0,0,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,1,1,1,0,0,1,0,0,1,0,0,0,1,1,1,0,1,1,0,0,0,0,1,0,1,1,1,0,0,0,1,1,0,0,0,1,1,0,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,0,1,0,1,1,0,1,1,0,0,0,1,0,0,1,1,1,1,1,1,0,1,0,0,1,1,1,0,0,0,1,0,0,1,1,1,1,0,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,1,1,1,1,1,0,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,1,1,1,0,0,1,1,1,1,0,1,0,0,1,1,0,1,1,1,0,0,1,1,0,0,1,1,1,0,1,1,0,0,0,1,1,1,1,1,0,1,1,1,1,0,1,0,0,0,0,0,0,1,1,0,0,1,1,1,0,0,0,1,0,0,1,0,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,1,1,0,0,1,0,1,1,1,0,0,1,0,1,0,0,0,0,0,1,1,0,1,0,0,0,0,1,1,1,1,0,0,1,0,1,1,0,0,0,0,1,0,1,0,0,0,0,0,1,1,0,1,0,1,0,0,0,1,0,0,1,0,0,0,0,1,0,0,0,1,1,1,1,1,0,0,0,1,0,1,1,0,1,1,1,1,0,0,1,1,0,0,0,1,1,0,1,1,1,0,0,0,1,0,1,1,1,1,0,0,1,1,1,1,1,1,1,0,1,0,1,0,1,1,0,0,1,0,1,0,0,1,1,0,1,0,0,1,0,0,1,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,0,0,1,1,1,0,0,0,1,0,1,0,1,1,0,1,0,0,0,1,0,0,1,1,0,1,1,0,1,0,0,0,1,1,1,0,1,0,0,0,1,0,0,1,0,0,1,0,1,1,1,0,1,1,1,0,0,0,1,1,0,0,1,1,1,0,1,0,0,0,0,1,1,0,1,0,0,1,1,1,1,1,1,0,1,1,0,1,1,1,1,0,1,0,1,0,0,0,1,1,1,0,0,0,0,0,0,0,1,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,0,1,0,1,1,0,1,0,0,0,0,1,0,1,0,1,1,0,1,0,0,1,0,0,0,0,0,1,0,0,1,1,0,0,0,0,1,1,0,0]},n={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==n?void 0:n.numHashes)&&(this._bfl_d=new e(n.numItems,n.errorRate),this._bfl_d.import(n))}this.events=V.events,this.pageLoader=i;let O=(0,p.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=f,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!O&&!self.location.search),this.state={route:S,pathname:e,query:t,asPath:O?e:n,isPreview:!!v,locale:void 0,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!n.startsWith("//")){let r={locale:_},o=(0,d.getURL)();this._initialMatchesMiddlewarePromise=N({router:this,locale:_,asPath:o}).then(a=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",a?o:(0,g.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),o,r),a))}window.addEventListener("popstate",this.onPopState)}}V.events=(0,f.default)()},59141:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}});let n=r(20999),o=r(63310);function a(e,t,r,a){if(!t||t===r)return e;let i=e.toLowerCase();return!a&&((0,o.pathHasPrefix)(i,"/api")||(0,o.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},20999:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(81412);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+t+r+o+a}},52395:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return o}});let n=r(81412);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+r+t+o+a}},59198:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return i}});let n=r(17235),o=r(27586);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function i(e){return e.replace(/\.rsc($|\?)/,"$1")}},16300:function(e,t){"use strict";function r(e){return new URL(e,"http://n").searchParams}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},68168:function(e,t){"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let o=r[n];if("query"===o){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let o=r[n];if(!t.query.hasOwnProperty(o)||e.query[o]!==t.query[o])return!1}}else if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},46680:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return u}});let n=r(63650),o=r(20999),a=r(52395),i=r(59141);function u(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,a.addPathSuffix)((0,o.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,a.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},35602:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return i}});let n=r(11778)._(r(25303)),o=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",l=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(s+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),u&&"#"!==u[0]&&(u="#"+u),c&&"?"!==c[0]&&(c="?"+c),""+a+s+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+u}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return a(e)}},24436:function(e,t){"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},65904:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(9050),o=r(12414),a=r(63310);function i(e,t){var r,i;let{basePath:u,i18n:l,trailingSlash:s}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};u&&(0,a.pathHasPrefix)(c.pathname,u)&&(c.pathname=(0,o.removePathPrefix)(c.pathname,u),c.basePath=u);let f=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];c.buildId=r,f="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=f)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,l.locales);c.locale=e.detectedLocale,c.pathname=null!=(i=e.pathname)?i:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(f):(0,n.normalizeLocalePath)(f,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},89291:function(e,t){"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},40012:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(8335),o=r(73230)},62219:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let n=r(67198),o=r(35911);function a(e,t,r){let a="",i=(0,o.getRouteRegex)(e),u=i.groups,l=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;a=e;let s=Object.keys(u);return s.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=u[e],o="["+(r?"...":"")+e+"]";return n&&(o=(t?"":"/")+"["+o+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(a=a.replace(o,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:s,result:a}}},34876:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},73230:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a}});let n=r(97250),o=/\/\[[^/]+?\](?=\/|$)/;function a(e){return(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},53949:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(98403),o=r(41709);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},49052:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},81412:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},5833:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return a}});let n=r(98403),o=r(25303);function a(e,t){let r=new URL((0,n.getLocationOrigin)()),a=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:u,search:l,hash:s,href:c,origin:f}=new URL(e,a);if(f!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:i,query:(0,o.searchParamsToUrlQuery)(u),search:l,hash:s,href:c.slice(r.origin.length)}}},63310:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(81412);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},25303:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return a},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},12414:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return o}});let n=r(63310);function o(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},63650:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},67198:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(98403);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let a=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(e=>a(e)):t.repeat?[a(n)]:a(n))}),i}}},35911:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return d},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return l},parseParameter:function(){return i}});let n=r(97250),o=r(79415),a=r(63650);function i(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function u(e){let t=(0,a.removeTrailingSlash)(e).slice(1).split("/"),r={},u=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&a){let{key:e,optional:n,repeat:l}=i(a[1]);return r[e]={pos:u++,repeat:l,optional:n},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!a)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=i(a[1]);return r[e]={pos:u++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function l(e){let{parameterizedRoute:t,groups:r}=u(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function s(e){let{interceptionMarker:t,getSafeRouteKey:r,segment:n,routeKeys:a,keyPrefix:u}=e,{key:l,optional:s,repeat:c}=i(n),f=l.replace(/\W/g,"");u&&(f=""+u+f);let d=!1;(0===f.length||f.length>30)&&(d=!0),isNaN(parseInt(f.slice(0,1)))||(d=!0),d&&(f=r()),u?a[f]=""+u+l:a[f]=l;let p=t?(0,o.escapeStringRegexp)(t):"";return c?s?"(?:/"+p+"(?<"+f+">.+?))?":"/"+p+"(?<"+f+">.+?)":"/"+p+"(?<"+f+">[^/]+?)"}function c(e,t){let r;let i=(0,a.removeTrailingSlash)(e).slice(1).split("/"),u=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),l={};return{namedParameterizedRoute:i.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(r&&a){let[r]=e.split(a[0]);return s({getSafeRouteKey:u,interceptionMarker:r,segment:a[1],routeKeys:l,keyPrefix:t?"nxtI":void 0})}return a?s({getSafeRouteKey:u,segment:a[1],routeKeys:l,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:l}}function f(e,t){let r=c(e,t);return{...l(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function d(e,t){let{parameterizedRoute:r}=u(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},8335:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function a(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');a(this.optionalRestSlugName,r),this.optionalRestSlugName=r,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');a(this.restSlugName,r),this.restSlugName=r,o="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');a(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},10209:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return o}});let n=()=>r;function o(e){r=e}},27586:function(e,t){"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return o},PAGE_SEGMENT_KEY:function(){return n},isGroupSegment:function(){return r}});let n="__PAGE__",o="__DEFAULT__"},45555:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(75271),o=n.useLayoutEffect,a=n.useEffect;function i(e){let{headManager:t,reduceComponentsToState:r}=e;function i(){if(t&&t.mountedInstances){let o=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(o,e))}}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},98403:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return g},NormalizeError:function(){return m},PageNotFoundError:function(){return _},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return i},getURL:function(){return u},isAbsoluteUrl:function(){return a},isResSent:function(){return s},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return b}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),a=0;ao.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function u(){let{href:e}=window.location,t=i();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&s(r))return n;if(!n)throw Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class _ extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},42605:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},47510:function(e){var t,r,n,o,a,i,u,l,s,c,f,d,p,h,m,_,g,y,b,P,v,E,S,O,j,w,R,T,M,x,I,C,A,L,N,D,k,U,F,B,H,W,q,G,z,V;(t={}).d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),r={},t.r(r),t.d(r,{getCLS:function(){return S},getFCP:function(){return P},getFID:function(){return x},getINP:function(){return W},getLCP:function(){return G},getTTFB:function(){return V},onCLS:function(){return S},onFCP:function(){return P},onFID:function(){return x},onINP:function(){return W},onLCP:function(){return G},onTTFB:function(){return V}}),l=-1,s=function(e){addEventListener("pageshow",function(t){t.persisted&&(l=t.timeStamp,e(t))},!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},f=function(){var e=c();return e&&e.activationStart||0},d=function(e,t){var r=c(),n="navigate";return l>=0?n="back-forward-cache":r&&(n=document.prerendering||f()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},p=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},h=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},m=function(e,t,r,n){var o,a;return function(i){var u;t.value>=0&&(i||n)&&((a=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=a,t.rating=(u=t.value)>r[1]?"poor":u>r[0]?"needs-improvement":"good",e(t))}},_=-1,g=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},y=function(){h(function(e){_=e.timeStamp},!0)},b=function(){return _<0&&(_=g(),y(),s(function(){setTimeout(function(){_=g(),y()},0)})),{get firstHiddenTime(){return _}}},P=function(e,t){t=t||{};var r,n=[1800,3e3],o=b(),a=d("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(l&&l.disconnect(),e.startTime-1&&e(t)},a=d("CLS",0),i=0,u=[],l=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=u[0],r=u[u.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,u.push(e)):(i=e.value,u=[e]),i>a.value&&(a.value=i,a.entries=u,n())}})},c=p("layout-shift",l);c&&(n=m(o,a,r,t.reportAllChanges),h(function(){l(c.takeRecords()),n(!0)}),s(function(){i=0,E=-1,n=m(o,a=d("CLS",0),r,t.reportAllChanges)}))},O={passive:!0,capture:!0},j=new Date,w=function(e,t){n||(n=t,o=e,a=new Date,M(removeEventListener),R())},R=function(){if(o>=0&&o1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){w(o,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,O),removeEventListener("pointercancel",r,O)},addEventListener("pointerup",t,O),addEventListener("pointercancel",r,O)):w(o,e)}},M=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,T,O)})},x=function(e,t){t=t||{};var r,a=[100,300],u=b(),l=d("FID"),c=function(e){e.startTimet.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};B[n.id]=n,F.push(n)}F.sort(function(e,t){return t.latency-e.latency}),F.splice(10).forEach(function(e){delete B[e.id]})}},W=function(e,t){t=t||{};var r=[200,500];D();var n,o=d("INP"),a=function(e){e.forEach(function(e){e.interactionId&&H(e),"first-input"!==e.entryType||F.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||H(e)});var t,r=(t=Math.min(F.length-1,Math.floor(U()/50)),F[t]);r&&r.latency!==o.value&&(o.value=r.latency,o.entries=r.entries,n())},i=p("event",a,{durationThreshold:t.durationThreshold||40});n=m(e,o,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),h(function(){a(i.takeRecords()),o.value<0&&U()>0&&(o.value=0,o.entries=[]),n(!0)}),s(function(){F=[],k=N(),n=m(e,o=d("INP"),r,t.reportAllChanges)}))},q={},G=function(e,t){t=t||{};var r,n=[2500,4e3],o=b(),a=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-f();nperformance.now())return;n.entries=[a],o(!0),s(function(){(o=m(e,n=d("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r},65712:function(e,t){"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},16716:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return a}});let n=r(50912);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return o(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},97250:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return i},isInterceptionRouteAppPath:function(){return a}});let n=r(59198),o=["(..)(..)","(.)","(..)","(...)"];function a(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function i(e){let t,r,a;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,a]=e.split(r,2);break}if(!t||!r||!a)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":a="/"===t?`/${a}`:t+"/"+a;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);a=t.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);a=i.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:a}}},33534:function(){},42430:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},11778:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}},function(e){e.O(0,[774],function(){return e(e.s=38754)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{35302:function(e,t){"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},93669:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},39951:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});let n=r(20999),o=r(62419);function a(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39808:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(62419);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n25){window.location.reload();return}clearTimeout(r),r=setTimeout(t,l>5?5e3:1e3)}n&&n.close();let u=(0,o.getSocketUrl)(e.assetPrefix);(n=new window.WebSocket(""+u+e.path)).onopen=function(){l=0,window.console.log("[HMR] connected")},n.onerror=i,n.onclose=i,n.onmessage=function(e){let t=JSON.parse(e.data);for(let e of a)e(t)}}()}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50450:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=function(){for(var e=arguments.length,t=Array(e),r=0;r{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let n=t.title?t.title[0]:null,o="";if(n){let{children:e}=n.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),i=Number(n.content),u=[];for(let t=0,r=n.previousElementSibling;t{for(let t=0,r=u.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),s.forEach(e=>r.insertBefore(e,n)),n.content=(i-u.length+s.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},23659:function(e,t,r){"use strict";let n,o,a,i,u,l,s,c,f,d,p,h;Object.defineProperty(t,"__esModule",{value:!0});let m=r(11778);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{emitter:function(){return z},hydrate:function(){return ef},initialize:function(){return $},router:function(){return n},version:function(){return G}});let _=r(42430),g=r(52676);r(93669);let y=_._(r(75271)),b=_._(r(38751)),P=r(38161),v=_._(r(74083)),E=r(18738),S=r(89291),O=r(73230),j=r(25303),w=r(10209),R=r(98403),T=r(98887),M=_._(r(29731)),x=_._(r(34821)),I=_._(r(83550)),C=r(61947),A=r(26699),L=r(16716),N=r(81795),D=r(91046),k=r(41709),U=r(37193),F=r(66812),B=r(6031),H=_._(r(70588)),W=_._(r(48616)),q=_._(r(48556)),G="14.2.15",z=(0,v.default)(),V=e=>[].slice.call(e),X=!1;class Y extends y.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(o.isFallback||o.nextExport&&((0,O.isDynamicRoute)(n.pathname)||location.search||X)||o.props&&o.props.__N_SSG&&(location.search||X))&&n.replace(n.pathname+"?"+String((0,j.assign)((0,j.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!o.isFallback&&!X}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function $(e){void 0===e&&(e={}),W.default.onSpanEnd(q.default),o=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=o,h=o.defaultLocale;let t=o.assetPrefix||"";if(self.__next_set_public_path__(""+t+"/_next/"),(0,w.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:o.runtimeConfig||{}}),a=(0,R.getURL)(),(0,k.hasBasePath)(a)&&(a=(0,D.removeBasePath)(a)),o.scriptLoader){let{initScriptLoader:e}=r(26981);e(o.scriptLoader)}i=new x.default(o.buildId,t);let s=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>s(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=s,(l=(0,M.default)()).getIsSsr=()=>n.isSsr,u=document.getElementById("__next"),{assetPrefix:t}}function K(e,t){return(0,g.jsx)(e,{...t})}function J(e){var t;let{children:r}=e,o=y.default.useMemo(()=>(0,F.adaptForAppRouterInstance)(n),[]);return(0,g.jsx)(Y,{fn:e=>Z({App:f,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,g.jsx)(U.AppRouterContext.Provider,{value:o,children:(0,g.jsx)(B.SearchParamsContext.Provider,{value:(0,F.adaptForSearchParams)(n),children:(0,g.jsx)(F.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t,children:(0,g.jsx)(B.PathParamsContext.Provider,{value:(0,F.adaptForPathParams)(n),children:(0,g.jsx)(E.RouterContext.Provider,{value:(0,A.makePublicRouterInstance)(n),children:(0,g.jsx)(P.HeadManagerContext.Provider,{value:l,children:(0,g.jsx)(N.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0},children:r})})})})})})})})}let Q=e=>t=>{let r={...t,Component:p,err:o.err,router:n};return(0,g.jsx)(J,{children:K(e,r)})};function Z(e){let{App:t,err:u}=e;return console.error(u),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:o,styleSheets:a}=n;return(null==s?void 0:s.Component)===o?Promise.resolve().then(()=>m._(r(63936))).then(n=>Promise.resolve().then(()=>m._(r(84820))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:o,styleSheets:a}}).then(r=>{var i;let{ErrorComponent:l,styleSheets:s}=r,c=Q(t),f={Component:l,AppTree:c,router:n,ctx:{err:u,pathname:o.page,query:o.query,asPath:a,AppTree:c}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:(0,R.loadGetInitialProps)(t,f)).then(t=>es({...e,err:u,Component:l,styleSheets:s,props:t}))})}function ee(e){let{callback:t}=e;return y.default.useLayoutEffect(()=>t(),[t]),null}let et={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},er={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},en=null,eo=!0;function ea(){[et.beforeRender,et.afterHydrate,et.afterRender,et.routeChange].forEach(e=>performance.clearMarks(e))}function ei(){R.ST&&(performance.mark(et.afterHydrate),performance.getEntriesByName(et.beforeRender,"mark").length&&(performance.measure(er.beforeHydration,et.navigationStart,et.beforeRender),performance.measure(er.hydration,et.beforeRender,et.afterHydrate)),d&&performance.getEntriesByName(er.hydration).forEach(d),ea())}function eu(){if(!R.ST)return;performance.mark(et.afterRender);let e=performance.getEntriesByName(et.routeChange,"mark");e.length&&(performance.getEntriesByName(et.beforeRender,"mark").length&&(performance.measure(er.routeChangeToRender,e[0].name,et.beforeRender),performance.measure(er.render,et.beforeRender,et.afterRender),d&&(performance.getEntriesByName(er.render).forEach(d),performance.getEntriesByName(er.routeChangeToRender).forEach(d))),ea(),[er.routeChangeToRender,er.render].forEach(e=>performance.clearMeasures(e)))}function el(e){let{callbacks:t,children:r}=e;return y.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),y.default.useEffect(()=>{(0,I.default)(d)},[]),r}function es(e){let t,{App:r,Component:o,props:a,err:i}=e,l="initial"in e?void 0:e.styleSheets;o=o||s.Component;let f={...a=a||s.props,Component:o,err:i,router:n};s=f;let d=!1,p=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{d=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function h(){t()}!function(){if(!l)return;let e=new Set(V(document.querySelectorAll("style[data-n-href]")).map(e=>e.getAttribute("data-n-href"))),t=document.querySelector("noscript[data-n-css]"),r=null==t?void 0:t.getAttribute("data-n-css");l.forEach(t=>{let{href:n,text:o}=t;if(!e.has(n)){let e=document.createElement("style");e.setAttribute("data-n-href",n),e.setAttribute("media","x"),r&&e.setAttribute("nonce",r),document.head.appendChild(e),e.appendChild(document.createTextNode(o))}})}();let m=(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(ee,{callback:function(){if(l&&!d){let e=new Set(l.map(e=>e.href)),t=V(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),V(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,S.handleSmoothScroll)(()=>{window.scrollTo(t,r)})}}}),(0,g.jsxs)(J,{children:[K(r,f),(0,g.jsx)(T.Portal,{type:"next-route-announcer",children:(0,g.jsx)(C.RouteAnnouncer,{})})]})]});return!function(e,t){R.ST&&performance.mark(et.beforeRender);let r=t(eo?ei:eu);en?(0,y.default.startTransition)(()=>{en.render(r)}):(en=b.default.hydrateRoot(e,r,{onRecoverableError:H.default}),eo=!1)}(u,e=>(0,g.jsx)(el,{callbacks:[e,h],children:m})),p}async function ec(e){if(e.err&&(void 0===e.Component||!e.isHydratePass)){await Z(e);return}try{await es(e)}catch(r){let t=(0,L.getProperError)(r);if(t.cancelled)throw t;await Z({...e,err:t})}}async function ef(e){let t=o.err;try{let e=await i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;f=t,r&&r.reportWebVitals&&(d=e=>{let t,{id:n,name:o,startTime:a,value:i,duration:u,entryType:l,entries:s,attribution:c}=e,f=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);s&&s.length&&(t=s[0].startTime);let d={id:n||f,name:o,startTime:a||t,value:null==i?u:i,label:"mark"===l||"measure"===l?"custom":"web-vital"};c&&(d.attribution=c),r.reportWebVitals(d)});let n=await i.routeLoader.whenEntrypoint(o.page);if("error"in n)throw n.error;p=n.component}catch(e){t=(0,L.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(o.dynamicIds),n=(0,A.createRouter)(o.page,o.query,a,{initialProps:o.props,pageLoader:i,App:f,Component:p,wrapApp:Q,err:t,isFallback:!!o.isFallback,subscription:(e,t,r)=>ec(Object.assign({},e,{App:t,scroll:r})),locale:o.locale,locales:o.locales,defaultLocale:h,domainLocales:o.domainLocales,isPreview:o.isPreview}),X=await n._initialMatchesMiddlewarePromise;let r={App:f,initial:!0,Component:p,props:o.props,err:t,isHydratePass:!0};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),ec(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38754:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(5197);let n=r(23659);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62419:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let n=r(63650),o=r(81412),a=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:a}=(0,o.parsePath)(e);return/\.[^/]+\/?$/.test(t)?""+(0,n.removeTrailingSlash)(t)+r+a:t.endsWith("/")?""+t+r+a:t+"/"+r+a};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70588:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(1057);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,n.isBailoutToCSRError)(e)||t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34821:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(42430),o=r(39951),a=r(62219),i=n._(r(24436)),u=r(39808),l=r(73230),s=r(5833),c=r(63650),f=r(2281);r(95864);class d{getPageList(){return(0,f.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:f,query:d,search:p}=(0,s.parseRelativeUrl)(r),{pathname:h}=(0,s.parseRelativeUrl)(t),m=(0,c.removeTrailingSlash)(f);if("/"!==m[0])throw Error('Route name should start with a "/", got "'+m+'"');return(e=>{let t=(0,i.default)((0,c.removeTrailingSlash)((0,u.addLocale)(e,n)),".json");return(0,o.addBasePath)("/_next/data/"+this.buildId+t+p,!0)})(e.skipInterpolation?h:(0,l.isDynamicRoute)(m)?(0,a.interpolateAs)(f,h,d).result:m)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,f.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},83550:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let o=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let a=!1;function i(e){n&&n(e)}let u=e=>{if(n=e,!a)for(let e of(a=!0,o))try{let t;t||(t=r(47510)),t["on"+e](i)}catch(t){console.warn("Failed to track "+e+" web-vital",t)}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98887:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return a}});let n=r(75271),o=r(30967),a=e=>{let{children:t,type:r}=e,[a,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),a?(0,o.createPortal)(t,a):null};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91046:function(e,t,r){"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(41709),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12511:function(e,t,r){"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(81412),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66315:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63177:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(25303),o=r(35602),a=r(49052),i=r(98403),u=r(62419),l=r(53949),s=r(40012),c=r(62219);function f(e,t,r){let f;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),p=d.match(/^[a-zA-Z]{1,}:\/\//),h=p?d.slice(p[0].length):d;if((h.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,i.normalizeRepeatedSlashes)(h);d=(p?p[0]:"")+t}if(!(0,l.isLocalURL)(d))return r?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,u.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:u}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,o.formatWithValidation)({pathname:i,hash:e.hash,query:(0,a.omit)(r,u)}))}let i=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[d]:d}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},61947:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return s}});let n=r(42430),o=r(52676),a=n._(r(75271)),i=r(26699),u={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,i.useRouter)(),[t,r]=a.default.useState(""),n=a.default.useRef(e);return a.default.useEffect(()=>{if(n.current!==e){if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1");r((null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent)||e)}}},[e]),(0,o.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:u,children:t})},s=l;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2281:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createRouteLoader:function(){return m},getClientBuildManifest:function(){return p},isAssetError:function(){return s},markAssetError:function(){return l}}),r(42430),r(24436);let n=r(2756),o=r(66315),a=r(35302);function i(e,t,r){let n,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);let a=new Promise(e=>{n=e});return t.set(e,o={resolve:n,future:a}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):a}let u=Symbol("ASSET_LOAD_ERROR");function l(e){return Object.defineProperty(e,u,{})}function s(e){return e&&u in e}let c=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),f=()=>(0,a.getDeploymentIdQueryOrEmptyString)();function d(e,t,r){return new Promise((n,a)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(a),(0,o.requestIdleCallback)(()=>setTimeout(()=>{i||a(r)},t))})}function p(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):d(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,l(Error("Failed to load client build manifest")))}function h(e,t){return p().then(r=>{if(!(t in r))throw l(Error("Failed to lookup route: "+t));let o=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:o.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+f()),css:o.filter(e=>e.endsWith(".css")).map(e=>e+f())}})}function m(e){let t=new Map,r=new Map,n=new Map,a=new Map;function u(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(l(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}function s(e){let t=n.get(e);return t||n.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw l(e)})),t}return{whenEntrypoint:e=>i(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),a.delete(e))})},loadRoute(r,n){return i(r,a,()=>{let o;return d(h(e,r).then(e=>{let{scripts:n,css:o}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(u)),Promise.all(o.map(s))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,l(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==o?void 0:o())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():h(e,t).then(e=>Promise.all(c?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,o)=>{if(document.querySelector('\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]'))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>o(l(Error("Failed to prefetch: "+t))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,o.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},26699:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return a.default},createRouter:function(){return m},default:function(){return p},makePublicRouterInstance:function(){return _},useRouter:function(){return h},withRouter:function(){return l.default}});let n=r(42430),o=n._(r(75271)),a=n._(r(99478)),i=r(18738),u=n._(r(16716)),l=n._(r(57402)),s={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function d(){if(!s.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return s.router}Object.defineProperty(s,"events",{get:()=>a.default.events}),c.forEach(e=>{Object.defineProperty(s,e,{get:()=>d()[e]})}),f.forEach(e=>{s[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{s.ready(()=>{a.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;ne()),s.readyCallbacks=[],s.router}function _(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=a.default.events,f.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o{if(i.default.preinit){e.forEach(e=>{i.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},m=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:o=null,dangerouslySetInnerHTML:a,children:i="",strategy:u="afterInteractive",onError:l,stylesheets:c}=e,m=r||t;if(m&&d.has(m))return;if(f.has(t)){d.add(m),f.get(t).then(n,l);return}let _=()=>{o&&o(),d.add(m)},g=document.createElement("script"),y=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),_()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){l&&l(e)});for(let[r,n]of(a?(g.innerHTML=a.__html||"",_()):i?(g.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",_()):t&&(g.src=t,f.set(t,y)),Object.entries(e))){if(void 0===n||p.includes(r))continue;let e=s.DOMAttributeNames[r]||r.toLowerCase();g.setAttribute(e,n)}"worker"===u&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",u),c&&h(c),document.body.appendChild(g)};function _(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(e))}):m(e)}function g(e){e.forEach(_),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");d.add(t)})}function y(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:o=null,strategy:s="afterInteractive",onError:f,stylesheets:p,...h}=e,{updateScripts:_,scripts:g,getIsSsr:y,appDir:b,nonce:P}=(0,u.useContext)(l.HeadManagerContext),v=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||r;v.current||(o&&e&&d.has(e)&&o(),v.current=!0)},[o,t,r]);let E=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{!E.current&&("afterInteractive"===s?m(e):"lazyOnload"===s&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(e))})),E.current=!0)},[e,s]),("beforeInteractive"===s||"worker"===s)&&(_?(g[s]=(g[s]||[]).concat([{id:t,src:r,onLoad:n,onReady:o,onError:f,...h}]),_(g)):y&&y()?d.add(t||r):y&&!y()&&m(e)),b){if(p&&p.forEach(e=>{i.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)return r?(i.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:P,crossOrigin:h.crossOrigin}:{as:"script",nonce:P,crossOrigin:h.crossOrigin}),(0,a.jsx)("script",{nonce:P,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...h,id:t}])+")"}})):(h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:P,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...h,id:t}])+")"}}));"afterInteractive"===s&&r&&i.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:P,crossOrigin:h.crossOrigin}:{as:"script",nonce:P,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let b=y;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48556:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(21186);function o(e){if("ended"!==e.state.state)throw Error("Expected span to be ended");(0,n.sendMessage)(JSON.stringify({event:"span-end",startTime:e.startTime,endTime:e.state.endTime,spanName:e.name,attributes:e.attributes}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48616:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(42430)._(r(74083));class o{end(e){if("ended"===this.state.state)throw Error("Span has already ended");this.state={state:"ended",endTime:null!=e?e:Date.now()},this.onSpanEnd(this)}constructor(e,t,r){var n,o;this.name=e,this.attributes=null!=(n=t.attributes)?n:{},this.startTime=null!=(o=t.startTime)?o:Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}}class a{startSpan(e,t){return new o(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,n.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}}let i=new a;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2756:function(e,t){"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5197:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(35302),self.__next_set_public_path__=e=>{r.p=e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57402:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}}),r(42430);let n=r(52676);r(75271);let o=r(26699);function a(e){function t(t){return(0,n.jsx)(e,{router:(0,o.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84820:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(42430),o=r(52676),a=n._(r(75271)),i=r(98403);async function u(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,i.loadGetInitialProps)(t,r)}}class l extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,o.jsx)(e,{...t})}}l.origGetInitialProps=u,l.getInitialProps=u,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63936:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(42430),o=r(52676),a=n._(r(75271)),i=n._(r(53564)),u={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let s={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||u[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:s.error,children:[(0,o.jsx)(i.default,{children:(0,o.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:s.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:s.h1,children:e}):null,(0,o.jsx)("div",{style:s.wrap,children:(0,o.jsxs)("h2",{style:s.h2,children:[this.props.title||e?r:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=l,c.origGetInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},11154:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(42430)._(r(75271)).default.createContext({})},11982:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},37193:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return i},LayoutRouterContext:function(){return a},MissingSlotContext:function(){return l},TemplateContext:function(){return u}});let n=r(42430)._(r(75271)),o=n.default.createContext(null),a=n.default.createContext(null),i=n.default.createContext(null),u=n.default.createContext(null),l=n.default.createContext(new Set)},20688:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=1e-4);let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r>>13,t=Math.imul(t,1540483477);return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},95864:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{APP_BUILD_MANIFEST:function(){return y},APP_CLIENT_INTERNALS:function(){return $},APP_PATHS_MANIFEST:function(){return m},APP_PATH_ROUTES_MANIFEST:function(){return _},AUTOMATIC_FONT_OPTIMIZATION_MANIFEST:function(){return C},BARREL_OPTIMIZATION_PREFIX:function(){return H},BLOCKED_PAGES:function(){return D},BUILD_ID_FILE:function(){return N},BUILD_MANIFEST:function(){return g},CLIENT_PUBLIC_FILES_PATH:function(){return k},CLIENT_REFERENCE_MANIFEST:function(){return W},CLIENT_STATIC_FILES_PATH:function(){return U},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return J},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return X},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return Y},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return Z},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return K},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return Q},COMPILER_INDEXES:function(){return a},COMPILER_NAMES:function(){return o},CONFIG_FILES:function(){return L},DEFAULT_RUNTIME_WEBPACK:function(){return et},DEFAULT_SANS_SERIF_FONT:function(){return el},DEFAULT_SERIF_FONT:function(){return eu},DEV_CLIENT_PAGES_MANIFEST:function(){return T},DEV_MIDDLEWARE_MANIFEST:function(){return x},EDGE_RUNTIME_WEBPACK:function(){return er},EDGE_UNSUPPORTED_NODE_APIS:function(){return ep},EXPORT_DETAIL:function(){return S},EXPORT_MARKER:function(){return E},FUNCTIONS_CONFIG_MANIFEST:function(){return b},GOOGLE_FONT_PROVIDER:function(){return ea},IMAGES_MANIFEST:function(){return w},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return V},MIDDLEWARE_BUILD_MANIFEST:function(){return G},MIDDLEWARE_MANIFEST:function(){return M},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return z},MODERN_BROWSERSLIST_TARGET:function(){return n.default},NEXT_BUILTIN_DOCUMENT:function(){return B},NEXT_FONT_MANIFEST:function(){return v},OPTIMIZED_FONT_PROVIDERS:function(){return ei},PAGES_MANIFEST:function(){return h},PHASE_DEVELOPMENT_SERVER:function(){return f},PHASE_EXPORT:function(){return l},PHASE_INFO:function(){return p},PHASE_PRODUCTION_BUILD:function(){return s},PHASE_PRODUCTION_SERVER:function(){return c},PHASE_TEST:function(){return d},PRERENDER_MANIFEST:function(){return O},REACT_LOADABLE_MANIFEST:function(){return I},ROUTES_MANIFEST:function(){return j},RSC_MODULE_TYPES:function(){return ed},SERVER_DIRECTORY:function(){return A},SERVER_FILES_MANIFEST:function(){return R},SERVER_PROPS_ID:function(){return eo},SERVER_REFERENCE_MANIFEST:function(){return q},STATIC_PROPS_ID:function(){return en},STATIC_STATUS_PAGES:function(){return es},STRING_LITERAL_DROP_BUNDLE:function(){return F},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return P},SYSTEM_ENTRYPOINTS:function(){return eh},TRACE_OUTPUT_VERSION:function(){return ec},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ef},UNDERSCORE_NOT_FOUND_ROUTE:function(){return i},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return u}});let n=r(42430)._(r(34028)),o={client:"client",server:"server",edgeServer:"edge-server"},a={[o.client]:0,[o.server]:1,[o.edgeServer]:2},i="/_not-found",u=""+i+"/page",l="phase-export",s="phase-production-build",c="phase-production-server",f="phase-development-server",d="phase-test",p="phase-info",h="pages-manifest.json",m="app-paths-manifest.json",_="app-path-routes-manifest.json",g="build-manifest.json",y="app-build-manifest.json",b="functions-config-manifest.json",P="subresource-integrity-manifest",v="next-font-manifest",E="export-marker.json",S="export-detail.json",O="prerender-manifest.json",j="routes-manifest.json",w="images-manifest.json",R="required-server-files.json",T="_devPagesManifest.json",M="middleware-manifest.json",x="_devMiddlewareManifest.json",I="react-loadable-manifest.json",C="font-manifest.json",A="server",L=["next.config.js","next.config.mjs"],N="BUILD_ID",D=["/_document","/_app","/_error"],k="public",U="static",F="__NEXT_DROP_CLIENT_FILE__",B="__NEXT_BUILTIN_DOCUMENT__",H="__barrel_optimize__",W="client-reference-manifest",q="server-reference-manifest",G="middleware-build-manifest",z="middleware-react-loadable-manifest",V="interception-route-rewrite-manifest",X="main",Y=""+X+"-app",$="app-pages-internals",K="react-refresh",J="amp",Q="webpack",Z="polyfills",ee=Symbol(Z),et="webpack-runtime",er="edge-runtime-webpack",en="__N_SSG",eo="__N_SSP",ea="https://fonts.googleapis.com/",ei=[{url:ea,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],eu={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},el={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},es=["/500"],ec=1,ef=6e3,ed={client:"client",server:"server"},ep=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],eh=new Set([X,K,J,Y]);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79415:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},38161:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(42430)._(r(75271)).default.createContext({})},53564:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return f}});let n=r(42430),o=r(11778),a=r(52676),i=o._(r(75271)),u=n._(r(45555)),l=r(11154),s=r(38161),c=r(11982);function f(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(42605);let p=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let a=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=p.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,i.default.cloneElement(e,t)}return i.default.cloneElement(e,{key:n})})}let m=function(e){let{children:t}=e,r=(0,i.useContext)(l.AmpStateContext),n=(0,i.useContext)(s.HeadManagerContext);return(0,a.jsx)(u.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6031:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathParamsContext:function(){return i},PathnameContext:function(){return a},SearchParamsContext:function(){return o}});let n=r(75271),o=(0,n.createContext)(null),a=(0,n.createContext)(null),i=(0,n.createContext)(null)},9050:function(e,t){"use strict";function r(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},81795:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=r(42430)._(r(75271)),o=r(78273),a=n.default.createContext(o.imageConfigDefault)},78273:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",localPatterns:void 0,remotePatterns:[],unoptimized:!1}},50912:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},1057:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return o}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},74083:function(e,t){"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},34028:function(e){"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},90068:function(e,t){"use strict";function r(e){let t=(null==e?void 0:e.replace(/^\/+|\/+$/g,""))||!1;if(!t)return"";if(URL.canParse(t)){let e=new URL(t).toString();return e.endsWith("/")?e.slice(0,-1):e}return"/"+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizedAssetPrefix",{enumerable:!0,get:function(){return r}})},60826:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return a}});let n=r(40012),o=r(91440);function a(e){let t=(0,o.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},17235:function(e,t){"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},91440:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},18738:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(42430)._(r(75271)).default.createContext(null)},66812:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathnameContextProviderAdapter:function(){return p},adaptForAppRouterInstance:function(){return c},adaptForPathParams:function(){return d},adaptForSearchParams:function(){return f}});let n=r(11778),o=r(52676),a=n._(r(75271)),i=r(6031),u=r(40012),l=r(16300),s=r(35911);function c(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},fastRefresh(){},push(t,r){let{scroll:n}=void 0===r?{}:r;e.push(t,void 0,{scroll:n})},replace(t,r){let{scroll:n}=void 0===r?{}:r;e.replace(t,void 0,{scroll:n})},prefetch(t){e.prefetch(t)}}}function f(e){return e.isReady&&e.query?(0,l.asPathToSearchParams)(e.asPath):new URLSearchParams}function d(e){if(!e.isReady||!e.query)return null;let t={};for(let r of Object.keys((0,s.getRouteRegex)(e.pathname).groups))t[r]=e.query[r];return t}function p(e){let{children:t,router:r,...n}=e,l=(0,a.useRef)(n.isAutoExport),s=(0,a.useMemo)(()=>{let e;let t=l.current;if(t&&(l.current=!1),(0,u.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return(0,o.jsx)(i.PathnameContext.Provider,{value:s,children:t})}},99478:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createKey:function(){return q},default:function(){return V},matchesMiddleware:function(){return N}});let n=r(42430),o=r(11778),a=r(63650),i=r(2281),u=r(26981),l=o._(r(16716)),s=r(60826),c=r(9050),f=n._(r(74083)),d=r(98403),p=r(73230),h=r(5833);r(33534);let m=r(67198),_=r(35911),g=r(35602);r(50450);let y=r(81412),b=r(39808),P=r(12511),v=r(91046),E=r(39951),S=r(41709),O=r(63177),j=r(65712),w=r(65904),R=r(46680),T=r(68168),M=r(53949),x=r(34876),I=r(49052),C=r(62219),A=r(89291);function L(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function N(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,y.parsePath)(e.asPath),n=(0,S.hasBasePath)(r)?(0,v.removeBasePath)(r):r,o=(0,E.addBasePath)((0,b.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(o))}function D(e){let t=(0,d.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function k(e,t,r){let[n,o]=(0,O.resolveHref)(e,t,!0),a=(0,d.getLocationOrigin)(),i=n.startsWith(a),u=o&&o.startsWith(a);n=D(n),o=o?D(o):o;let l=i?n:(0,E.addBasePath)(n),s=r?D((0,O.resolveHref)(e,r)):o||n;return{url:l,as:u?s:(0,E.addBasePath)(s)}}function U(e,t){let r=(0,a.removeTrailingSlash)((0,s.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,p.isDynamicRoute)(t)&&(0,_.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,a.removeTrailingSlash)(e))}async function F(e){if(!await N(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!0},o=t.headers.get("x-nextjs-rewrite"),u=o||t.headers.get("x-nextjs-matched-path"),l=t.headers.get("x-matched-path");if(!l||u||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(u=l),u){if(u.startsWith("/")){let t=(0,h.parseRelativeUrl)(u),l=(0,w.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),s=(0,a.removeTrailingSlash)(l.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,i.getClientBuildManifest)()]).then(a=>{let[i,{__rewrites:u}]=a,f=(0,b.addLocale)(l.pathname,l.locale);if((0,p.isDynamicRoute)(f)||!o&&i.includes((0,c.normalizeLocalePath)((0,v.removeBasePath)(f),r.router.locales).pathname)){let r=(0,w.getNextPathnameInfo)((0,h.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});f=(0,E.addBasePath)(r.pathname),t.pathname=f}if(!i.includes(s)){let e=U(s,i);e!==s&&(s=e)}let d=i.includes(s)?s:U((0,c.normalizeLocalePath)((0,v.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,p.isDynamicRoute)(d)){let e=(0,m.getRouteMatcher)((0,_.getRouteRegex)(d))(f);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:d}})}let t=(0,y.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,R.formatNextPathnameInfo)({...(0,w.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""})+t.query+t.hash})}let s=t.headers.get("x-nextjs-redirect");if(s){if(s.startsWith("/")){let e=(0,y.parsePath)(s),t=(0,R.formatNextPathnameInfo)({...(0,w.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:s})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}let B=Symbol("SSG_DATA_NOT_FOUND");function H(e){try{return JSON.parse(e)}catch(e){return null}}function W(e){let{dataHref:t,inflightCache:r,isPrefetch:n,hasMiddleware:o,isServerRender:a,parseJSON:u,persistCache:l,isBackground:s,unstable_skipClientCache:c}=e,{href:f}=new URL(t,window.location.href),d=e=>{var s;return(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(o=>!o.ok&&r>1&&o.status>=500?e(t,r-1,n):o)})(t,a?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(s=null==e?void 0:e.method)?s:"GET"}).then(r=>r.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:r,text:"",json:{},cacheKey:f}:r.text().then(e=>{if(!r.ok){if(o&&[301,302,307,308].includes(r.status))return{dataHref:t,response:r,text:e,json:{},cacheKey:f};if(404===r.status){var n;if(null==(n=H(e))?void 0:n.notFound)return{dataHref:t,json:{notFound:B},response:r,text:e,cacheKey:f}}let u=Error("Failed to load static props");throw a||(0,i.markAssetError)(u),u}return{dataHref:t,json:u?H(e):null,response:r,text:e,cacheKey:f}})).then(e=>(l&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[f],e)).catch(e=>{throw c||delete r[f],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,i.markAssetError)(e),e})};return c&&l?d({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(r[f]=Promise.resolve(e)),e)):void 0!==r[f]?r[f]:r[f]=d(s?{method:"HEAD"}:{})}function q(){return Math.random().toString(36).slice(2,10)}function G(e){let{url:t,router:r}=e;if(t===(0,E.addBasePath)((0,b.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let z=e=>{let{route:t,router:r}=e,n=!1,o=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}o===r.clc&&(r.clc=null)}};class V{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=k(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=k(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,r,n){{let l=!1,s=!1;for(let c of[e,t])if(c){let t=(0,a.removeTrailingSlash)(new URL(c,"http://n").pathname),f=(0,E.addBasePath)((0,b.addLocale)(t,r||this.locale));if(t!==(0,a.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var o,i,u;for(let e of(l=l||!!(null==(o=this._bfl_s)?void 0:o.contains(t))||!!(null==(i=this._bfl_s)?void 0:i.contains(f)),[t,f])){let t=e.split("/");for(let e=0;!s&&e{})}}}}return!1}async change(e,t,r,n,o){var s,c,f,O,j,w,R,x,A;let D,F;if(!(0,M.isLocalURL)(t))return G({url:t,router:this}),!1;let H=1===n._h;H||n.shallow||await this._bfl(r,void 0,n.locale);let W=H||n._shouldResolveHref||(0,y.parsePath)(t).pathname===(0,y.parsePath)(r).pathname,q={...this.state},z=!0!==this.isReady;this.isReady=!0;let X=this.isSsr;if(H||(this.isSsr=!1),H&&this.clc)return!1;let Y=q.locale;d.ST&&performance.mark("routeChange");let{shallow:$=!1,scroll:K=!0}=n,J={shallow:$};this._inFlightRoute&&this.clc&&(X||V.events.emit("routeChangeError",L(),this._inFlightRoute,J),this.clc(),this.clc=null),r=(0,E.addBasePath)((0,b.addLocale)((0,S.hasBasePath)(r)?(0,v.removeBasePath)(r):r,n.locale,this.defaultLocale));let Q=(0,P.removeLocale)((0,S.hasBasePath)(r)?(0,v.removeBasePath)(r):r,q.locale);this._inFlightRoute=r;let Z=Y!==q.locale;if(!H&&this.onlyAHashChange(Q)&&!Z){q.asPath=Q,V.events.emit("hashChangeStart",r,J),this.changeState(e,t,r,{...n,scroll:!1}),K&&this.scrollToHash(Q);try{await this.set(q,this.components[q.route],null)}catch(e){throw(0,l.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,J),e}return V.events.emit("hashChangeComplete",r,J),!0}let ee=(0,h.parseRelativeUrl)(t),{pathname:et,query:er}=ee;try{[D,{__rewrites:F}]=await Promise.all([this.pageLoader.getPageList(),(0,i.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return G({url:r,router:this}),!1}this.urlIsNew(Q)||Z||(e="replaceState");let en=r;et=et?(0,a.removeTrailingSlash)((0,v.removeBasePath)(et)):et;let eo=(0,a.removeTrailingSlash)(et),ea=r.startsWith("/")&&(0,h.parseRelativeUrl)(r).pathname;if(null==(s=this.components[et])?void 0:s.__appRouter)return G({url:r,router:this}),new Promise(()=>{});let ei=!!(ea&&eo!==ea&&(!(0,p.isDynamicRoute)(eo)||!(0,m.getRouteMatcher)((0,_.getRouteRegex)(eo))(ea))),eu=!n.shallow&&await N({asPath:r,locale:q.locale,router:this});if(H&&eu&&(W=!1),W&&"/_error"!==et&&(n._shouldResolveHref=!0,ee.pathname=U(et,D),ee.pathname===et||(et=ee.pathname,ee.pathname=(0,E.addBasePath)(et),eu||(t=(0,g.formatWithValidation)(ee)))),!(0,M.isLocalURL)(r))return G({url:r,router:this}),!1;en=(0,P.removeLocale)((0,v.removeBasePath)(en),q.locale),eo=(0,a.removeTrailingSlash)(et);let el=!1;if((0,p.isDynamicRoute)(eo)){let e=(0,h.parseRelativeUrl)(en),n=e.pathname,o=(0,_.getRouteRegex)(eo);el=(0,m.getRouteMatcher)(o)(n);let a=eo===n,i=a?(0,C.interpolateAs)(eo,n,er):{};if(el&&(!a||i.result))a?r=(0,g.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,I.omit)(er,i.params)})):Object.assign(er,el);else{let e=Object.keys(o.groups).filter(e=>!er[e]&&!o.groups[e].optional);if(e.length>0&&!eu)throw Error((a?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+eo+"). ")+"Read more: https://nextjs.org/docs/messages/"+(a?"href-interpolation-failed":"incompatible-href-as"))}}H||V.events.emit("routeChangeStart",r,J);let es="/404"===this.pathname||"/_error"===this.pathname;try{let a=await this.getRouteInfo({route:eo,pathname:et,query:er,as:r,resolvedAs:en,routeProps:J,locale:q.locale,isPreview:q.isPreview,hasMiddleware:eu,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:H&&!this.isFallback,isMiddlewareRewrite:ei});if(H||n.shallow||await this._bfl(r,"resolvedAs"in a?a.resolvedAs:void 0,q.locale),"route"in a&&eu){eo=et=a.route||eo,J.shallow||(er=Object.assign({},a.query||{},er));let e=(0,S.hasBasePath)(ee.pathname)?(0,v.removeBasePath)(ee.pathname):ee.pathname;if(el&&et!==e&&Object.keys(el).forEach(e=>{el&&er[e]===el[e]&&delete er[e]}),(0,p.isDynamicRoute)(et)){let e=!J.shallow&&a.resolvedAs?a.resolvedAs:(0,E.addBasePath)((0,b.addLocale)(new URL(r,location.href).pathname,q.locale),!0);(0,S.hasBasePath)(e)&&(e=(0,v.removeBasePath)(e));let t=(0,_.getRouteRegex)(et),n=(0,m.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(er,n)}}if("type"in a){if("redirect-internal"===a.type)return this.change(e,a.newUrl,a.newAs,n);return G({url:a.destination,router:this}),new Promise(()=>{})}let i=a.Component;if(i&&i.unstable_scriptLoader&&[].concat(i.unstable_scriptLoader()).forEach(e=>{(0,u.handleClientScriptLoad)(e.props)}),(a.__N_SSG||a.__N_SSP)&&a.props){if(a.props.pageProps&&a.props.pageProps.__N_REDIRECT){n.locale=!1;let t=a.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==a.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,h.parseRelativeUrl)(t);r.pathname=U(r.pathname,D);let{url:o,as:a}=k(this,t,t);return this.change(e,o,a,n)}return G({url:t,router:this}),new Promise(()=>{})}if(q.isPreview=!!a.props.__N_PREVIEW,a.props.notFound===B){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(a=await this.getRouteInfo({route:e,pathname:e,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isNotFound:!0}),"type"in a)throw Error("Unexpected middleware effect on /404")}}H&&"/_error"===this.pathname&&(null==(f=self.__NEXT_DATA__.props)?void 0:null==(c=f.pageProps)?void 0:c.statusCode)===500&&(null==(O=a.props)?void 0:O.pageProps)&&(a.props.pageProps.statusCode=500);let s=n.shallow&&q.route===(null!=(j=a.route)?j:eo),d=null!=(w=n.scroll)?w:!H&&!s,g=null!=o?o:d?{x:0,y:0}:null,y={...q,route:eo,pathname:et,query:er,asPath:Q,isFallback:!1};if(H&&es){if(a=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isQueryUpdating:H&&!this.isFallback}),"type"in a)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(x=self.__NEXT_DATA__.props)?void 0:null==(R=x.pageProps)?void 0:R.statusCode)===500&&(null==(A=a.props)?void 0:A.pageProps)&&(a.props.pageProps.statusCode=500);try{await this.set(y,a,g)}catch(e){throw(0,l.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,J),e}return!0}if(V.events.emit("beforeHistoryChange",r,J),this.changeState(e,t,r,n),!(H&&!g&&!z&&!Z&&(0,T.compareRouterStates)(y,this.state))){try{await this.set(y,a,g)}catch(e){if(e.cancelled)a.error=a.error||e;else throw e}if(a.error)throw H||V.events.emit("routeChangeError",a.error,Q,J),a.error;H||V.events.emit("routeChangeComplete",r,J),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,l.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,d.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:q()},"",r))}async handleRouteInfoError(e,t,r,n,o,a){if(console.error(e),e.cancelled)throw e;if((0,i.isAssetError)(e)||a)throw V.events.emit("routeChangeError",e,n,o),G({url:n,router:this}),L();try{let n;let{page:o,styleSheets:a}=await this.fetchComponent("/_error"),i={props:n,Component:o,styleSheets:a,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(o,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,l.default)(e)?e:Error(e+""),t,r,n,o,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:o,resolvedAs:i,routeProps:u,locale:s,hasMiddleware:f,isPreview:d,unstable_skipClientCache:p,isQueryUpdating:h,isMiddlewareRewrite:m,isNotFound:_}=e,y=t;try{var b,P,E,S;let e=this.components[y];if(u.shallow&&e&&this.route===y)return e;let t=z({route:y,router:this});f&&(e=void 0);let l=!e||"initial"in e?void 0:e,O={dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:_?"/404":i,locale:s}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p,isBackground:h},w=h&&!m?null:await F({fetchData:()=>W(O),asPath:_?"/404":i,locale:s,router:this}).catch(e=>{if(h)return null;throw e});if(w&&("/_error"===r||"/404"===r)&&(w.effect=void 0),h&&(w?w.json=self.__NEXT_DATA__.props:w={json:self.__NEXT_DATA__.props}),t(),(null==w?void 0:null==(b=w.effect)?void 0:b.type)==="redirect-internal"||(null==w?void 0:null==(P=w.effect)?void 0:P.type)==="redirect-external")return w.effect;if((null==w?void 0:null==(E=w.effect)?void 0:E.type)==="rewrite"){let t=(0,a.removeTrailingSlash)(w.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!h||o.includes(t))&&(y=t,r=w.effect.resolvedHref,n={...n,...w.effect.parsedAs.query},i=(0,v.removeBasePath)((0,c.normalizeLocalePath)(w.effect.parsedAs.pathname,this.locales).pathname),e=this.components[y],u.shallow&&e&&this.route===y&&!f))return{...e,route:y}}if((0,j.isAPIRoute)(y))return G({url:o,router:this}),new Promise(()=>{});let R=l||await this.fetchComponent(y).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),T=null==w?void 0:null==(S=w.response)?void 0:S.headers.get("x-middleware-skip"),M=R.__N_SSG||R.__N_SSP;T&&(null==w?void 0:w.dataHref)&&delete this.sdc[w.dataHref];let{props:x,cacheKey:I}=await this._getData(async()=>{if(M){if((null==w?void 0:w.json)&&!T)return{cacheKey:w.cacheKey,props:w.json};let e=(null==w?void 0:w.dataHref)?w.dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),asPath:i,locale:s}),t=await W({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:T?{}:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(R.Component,{pathname:r,query:n,asPath:o,locale:s,locales:this.locales,defaultLocale:this.defaultLocale})}});return R.__N_SSP&&O.dataHref&&I&&delete this.sdc[I],this.isPreview||!R.__N_SSG||h||W(Object.assign({},O,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),x.pageProps=Object.assign({},x.pageProps),R.props=x,R.route=y,R.query=n,R.resolvedAs=i,this.components[y]=R,R}catch(e){return this.handleRouteInfoError((0,l.getProperError)(e),r,n,o,u)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[n,o]=e.split("#",2);return!!o&&t===n&&r===o||t===n&&r!==o}scrollToHash(e){let[,t=""]=e.split("#",2);(0,A.handleSmoothScroll)(()=>{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),r=document.getElementById(e);if(r){r.scrollIntoView();return}let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,x.isBot)(window.navigator.userAgent))return;let n=(0,h.parseRelativeUrl)(e),o=n.pathname,{pathname:i,query:u}=n,l=i,s=await this.pageLoader.getPageList(),c=t,f=void 0!==r.locale?r.locale||void 0:this.locale,d=await N({asPath:t,locale:f,router:this});n.pathname=U(n.pathname,s),(0,p.isDynamicRoute)(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(u,(0,m.getRouteMatcher)((0,_.getRouteRegex)(n.pathname))((0,y.parsePath)(t).pathname)||{}),d||(e=(0,g.formatWithValidation)(n)));let b=await F({fetchData:()=>W({dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:l,query:u}),skipInterpolation:!0,asPath:c,locale:f}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if((null==b?void 0:b.effect.type)==="rewrite"&&(n.pathname=b.effect.resolvedHref,i=b.effect.resolvedHref,u={...u,...b.effect.parsedAs.query},c=b.effect.parsedAs.pathname,e=(0,g.formatWithValidation)(n)),(null==b?void 0:b.effect.type)==="redirect-external")return;let P=(0,a.removeTrailingSlash)(i);await this._bfl(t,c,r.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(P).then(t=>!!t&&W({dataHref:(null==b?void 0:b.json)?null==b?void 0:b.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](P)])}async fetchComponent(e){let t=z({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return W({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,d.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,n,{initialProps:o,pageLoader:i,App:u,wrapApp:l,Component:s,err:c,subscription:f,isFallback:m,locale:_,locales:y,defaultLocale:b,domainLocales:P,isPreview:v}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=q(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,g.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),(0,d.getURL)());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:o,as:a,options:i,key:u}=n;this._key=u;let{pathname:l}=(0,h.parseRelativeUrl)(o);(!this.isSsr||a!==(0,E.addBasePath)(this.asPath)||l!==(0,E.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",o,a,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let S=(0,a.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[S]={Component:s,initial:!0,props:o,err:c,__N_SSG:o&&o.__N_SSG,__N_SSP:o&&o.__N_SSP}),this.components["/_app"]={Component:u,styleSheets:[]};{let{BloomFilter:e}=r(20688),t={numItems:36,errorRate:1e-4,numBits:691,numHashes:14,bitArray:[0,0,0,0,1,1,0,0,1,1,1,1,0,0,1,0,1,1,1,0,1,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,0,1,1,0,0,0,1,0,0,1,1,0,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,0,0,1,0,0,1,0,0,0,1,0,1,1,0,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,0,1,0,1,0,0,0,1,1,0,0,0,0,0,1,1,1,0,0,0,1,0,0,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0,0,1,0,0,0,1,1,0,0,0,1,0,1,1,0,1,1,0,1,0,1,0,0,1,0,0,1,0,1,1,1,1,1,0,1,0,0,0,1,1,0,1,0,1,0,1,1,0,1,0,0,1,0,1,0,0,0,1,0,1,1,0,0,1,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,1,0,1,0,1,0,1,1,0,1,1,1,1,1,0,0,0,1,0,1,0,0,1,0,1,0,1,0,1,1,1,0,1,0,0,0,1,0,1,0,0,1,0,1,1,0,0,1,0,0,0,1,0,0,1,0,1,0,1,1,0,0,1,1,1,1,0,1,0,1,0,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,0,1,0,1,0,1,0,1,1,0,0,0,1,1,1,0,1,0,0,1,0,0,1,0,0,1,1,1,1,0,1,0,1,0,1,1,1,1,1,1,1,1,0,1,1,0,0,1,1,1,1,1,0,1,0,1,1,0,1,1,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,1,1,1,0,1,1,0,1,0,0,0,0,0,1,1,1,0,0,1,1,1,1,0,0,1,0,0,0,1,0,0,1,0,0,0,0,1,0,1,0,0,1,1,1,0,0,1,1,0,1,0,0,0,1,1,0,1,1,0,1,1,0,0,0,1,1,0,1,1,0,1,0,1,0,0,0,1,1,0,0,0,1,1,0,1,1,1,1,1,1,0,1,0,0,0,1,1,1,0,0,1,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,1,1,0,1,0,1,1,0,0,1,1,0,1,1,0,0,1,0,0,0,1,1,0,0,1,0,1,0,1,0,1,0,0,1,1,1,0,0,0,1,1,1,0,0,1,0,1,0,1,0,1,1,0,1,1,1,0,1,0,0,0,0,1,1,1,1,1,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,0,1,1,1,1,0,1,1,0,1,0,0,0,0,1,1,1,0,1,0,1,0,0,1,0,0,1,1,1,0,1,0,1,0,1,0,0,1,1,0,0,0,1,1,0,1,1,0,1,1,0,1,1,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0,1,0,0,0,0,0,1,0,0,1,1,1,0,0,1,0,1,0,0,0,0,1,1,1,1,1,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,1,1]},n={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==n?void 0:n.numHashes)&&(this._bfl_d=new e(n.numItems,n.errorRate),this._bfl_d.import(n))}this.events=V.events,this.pageLoader=i;let O=(0,p.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=f,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!O&&!self.location.search),this.state={route:S,pathname:e,query:t,asPath:O?e:n,isPreview:!!v,locale:void 0,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!n.startsWith("//")){let r={locale:_},o=(0,d.getURL)();this._initialMatchesMiddlewarePromise=N({router:this,locale:_,asPath:o}).then(a=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",a?o:(0,g.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),o,r),a))}window.addEventListener("popstate",this.onPopState)}}V.events=(0,f.default)()},59141:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}});let n=r(20999),o=r(63310);function a(e,t,r,a){if(!t||t===r)return e;let i=e.toLowerCase();return!a&&((0,o.pathHasPrefix)(i,"/api")||(0,o.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},20999:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(81412);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+t+r+o+a}},52395:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return o}});let n=r(81412);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+r+t+o+a}},59198:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return i}});let n=r(17235),o=r(27586);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function i(e){return e.replace(/\.rsc($|\?)/,"$1")}},16300:function(e,t){"use strict";function r(e){return new URL(e,"http://n").searchParams}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},68168:function(e,t){"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let o=r[n];if("query"===o){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let o=r[n];if(!t.query.hasOwnProperty(o)||e.query[o]!==t.query[o])return!1}}else if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},46680:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return u}});let n=r(63650),o=r(20999),a=r(52395),i=r(59141);function u(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,a.addPathSuffix)((0,o.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,a.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},35602:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return i}});let n=r(11778)._(r(25303)),o=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",l=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(s+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),u&&"#"!==u[0]&&(u="#"+u),c&&"?"!==c[0]&&(c="?"+c),""+a+s+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+u}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return a(e)}},24436:function(e,t){"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},65904:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(9050),o=r(12414),a=r(63310);function i(e,t){var r,i;let{basePath:u,i18n:l,trailingSlash:s}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};u&&(0,a.pathHasPrefix)(c.pathname,u)&&(c.pathname=(0,o.removePathPrefix)(c.pathname,u),c.basePath=u);let f=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];c.buildId=r,f="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=f)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,l.locales);c.locale=e.detectedLocale,c.pathname=null!=(i=e.pathname)?i:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(f):(0,n.normalizeLocalePath)(f,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},89291:function(e,t){"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},40012:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(8335),o=r(73230)},62219:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let n=r(67198),o=r(35911);function a(e,t,r){let a="",i=(0,o.getRouteRegex)(e),u=i.groups,l=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;a=e;let s=Object.keys(u);return s.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=u[e],o="["+(r?"...":"")+e+"]";return n&&(o=(t?"":"/")+"["+o+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(a=a.replace(o,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:s,result:a}}},34876:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},73230:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a}});let n=r(97250),o=/\/\[[^/]+?\](?=\/|$)/;function a(e){return(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},53949:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(98403),o=r(41709);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},49052:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},81412:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},5833:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return a}});let n=r(98403),o=r(25303);function a(e,t){let r=new URL((0,n.getLocationOrigin)()),a=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:u,search:l,hash:s,href:c,origin:f}=new URL(e,a);if(f!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:i,query:(0,o.searchParamsToUrlQuery)(u),search:l,hash:s,href:c.slice(r.origin.length)}}},63310:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(81412);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},25303:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return a},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},12414:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return o}});let n=r(63310);function o(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},63650:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},67198:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(98403);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let a=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(e=>a(e)):t.repeat?[a(n)]:a(n))}),i}}},35911:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return d},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return l},parseParameter:function(){return i}});let n=r(97250),o=r(79415),a=r(63650);function i(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function u(e){let t=(0,a.removeTrailingSlash)(e).slice(1).split("/"),r={},u=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&a){let{key:e,optional:n,repeat:l}=i(a[1]);return r[e]={pos:u++,repeat:l,optional:n},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!a)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=i(a[1]);return r[e]={pos:u++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function l(e){let{parameterizedRoute:t,groups:r}=u(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function s(e){let{interceptionMarker:t,getSafeRouteKey:r,segment:n,routeKeys:a,keyPrefix:u}=e,{key:l,optional:s,repeat:c}=i(n),f=l.replace(/\W/g,"");u&&(f=""+u+f);let d=!1;(0===f.length||f.length>30)&&(d=!0),isNaN(parseInt(f.slice(0,1)))||(d=!0),d&&(f=r()),u?a[f]=""+u+l:a[f]=l;let p=t?(0,o.escapeStringRegexp)(t):"";return c?s?"(?:/"+p+"(?<"+f+">.+?))?":"/"+p+"(?<"+f+">.+?)":"/"+p+"(?<"+f+">[^/]+?)"}function c(e,t){let r;let i=(0,a.removeTrailingSlash)(e).slice(1).split("/"),u=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),l={};return{namedParameterizedRoute:i.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),a=e.match(/\[((?:\[.*\])|.+)\]/);if(r&&a){let[r]=e.split(a[0]);return s({getSafeRouteKey:u,interceptionMarker:r,segment:a[1],routeKeys:l,keyPrefix:t?"nxtI":void 0})}return a?s({getSafeRouteKey:u,segment:a[1],routeKeys:l,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:l}}function f(e,t){let r=c(e,t);return{...l(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function d(e,t){let{parameterizedRoute:r}=u(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},8335:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function a(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');a(this.optionalRestSlugName,r),this.optionalRestSlugName=r,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');a(this.restSlugName,r),this.restSlugName=r,o="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');a(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},10209:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return o}});let n=()=>r;function o(e){r=e}},27586:function(e,t){"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return o},PAGE_SEGMENT_KEY:function(){return n},isGroupSegment:function(){return r}});let n="__PAGE__",o="__DEFAULT__"},45555:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(75271),o=n.useLayoutEffect,a=n.useEffect;function i(e){let{headManager:t,reduceComponentsToState:r}=e;function i(){if(t&&t.mountedInstances){let o=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(o,e))}}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},98403:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return g},NormalizeError:function(){return m},PageNotFoundError:function(){return _},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return i},getURL:function(){return u},isAbsoluteUrl:function(){return a},isResSent:function(){return s},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return b}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),a=0;ao.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function u(){let{href:e}=window.location,t=i();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&s(r))return n;if(!n)throw Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class _ extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},42605:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},47510:function(e){var t,r,n,o,a,i,u,l,s,c,f,d,p,h,m,_,g,y,b,P,v,E,S,O,j,w,R,T,M,x,I,C,A,L,N,D,k,U,F,B,H,W,q,G,z,V;(t={}).d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),r={},t.r(r),t.d(r,{getCLS:function(){return S},getFCP:function(){return P},getFID:function(){return x},getINP:function(){return W},getLCP:function(){return G},getTTFB:function(){return V},onCLS:function(){return S},onFCP:function(){return P},onFID:function(){return x},onINP:function(){return W},onLCP:function(){return G},onTTFB:function(){return V}}),l=-1,s=function(e){addEventListener("pageshow",function(t){t.persisted&&(l=t.timeStamp,e(t))},!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},f=function(){var e=c();return e&&e.activationStart||0},d=function(e,t){var r=c(),n="navigate";return l>=0?n="back-forward-cache":r&&(n=document.prerendering||f()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},p=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},h=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},m=function(e,t,r,n){var o,a;return function(i){var u;t.value>=0&&(i||n)&&((a=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=a,t.rating=(u=t.value)>r[1]?"poor":u>r[0]?"needs-improvement":"good",e(t))}},_=-1,g=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},y=function(){h(function(e){_=e.timeStamp},!0)},b=function(){return _<0&&(_=g(),y(),s(function(){setTimeout(function(){_=g(),y()},0)})),{get firstHiddenTime(){return _}}},P=function(e,t){t=t||{};var r,n=[1800,3e3],o=b(),a=d("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(l&&l.disconnect(),e.startTime-1&&e(t)},a=d("CLS",0),i=0,u=[],l=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=u[0],r=u[u.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,u.push(e)):(i=e.value,u=[e]),i>a.value&&(a.value=i,a.entries=u,n())}})},c=p("layout-shift",l);c&&(n=m(o,a,r,t.reportAllChanges),h(function(){l(c.takeRecords()),n(!0)}),s(function(){i=0,E=-1,n=m(o,a=d("CLS",0),r,t.reportAllChanges)}))},O={passive:!0,capture:!0},j=new Date,w=function(e,t){n||(n=t,o=e,a=new Date,M(removeEventListener),R())},R=function(){if(o>=0&&o1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){w(o,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,O),removeEventListener("pointercancel",r,O)},addEventListener("pointerup",t,O),addEventListener("pointercancel",r,O)):w(o,e)}},M=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,T,O)})},x=function(e,t){t=t||{};var r,a=[100,300],u=b(),l=d("FID"),c=function(e){e.startTimet.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};B[n.id]=n,F.push(n)}F.sort(function(e,t){return t.latency-e.latency}),F.splice(10).forEach(function(e){delete B[e.id]})}},W=function(e,t){t=t||{};var r=[200,500];D();var n,o=d("INP"),a=function(e){e.forEach(function(e){e.interactionId&&H(e),"first-input"!==e.entryType||F.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||H(e)});var t,r=(t=Math.min(F.length-1,Math.floor(U()/50)),F[t]);r&&r.latency!==o.value&&(o.value=r.latency,o.entries=r.entries,n())},i=p("event",a,{durationThreshold:t.durationThreshold||40});n=m(e,o,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),h(function(){a(i.takeRecords()),o.value<0&&U()>0&&(o.value=0,o.entries=[]),n(!0)}),s(function(){F=[],k=N(),n=m(e,o=d("INP"),r,t.reportAllChanges)}))},q={},G=function(e,t){t=t||{};var r,n=[2500,4e3],o=b(),a=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-f();nperformance.now())return;n.entries=[a],o(!0),s(function(){(o=m(e,n=d("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r},65712:function(e,t){"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},16716:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return a}});let n=r(50912);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return o(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},97250:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return i},isInterceptionRouteAppPath:function(){return a}});let n=r(59198),o=["(..)(..)","(.)","(..)","(...)"];function a(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function i(e){let t,r,a;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,a]=e.split(r,2);break}if(!t||!r||!a)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":a="/"===t?`/${a}`:t+"/"+a;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);a=t.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);a=i.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:a}}},33534:function(){},42430:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},11778:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}},function(e){e.O(0,[774],function(){return e(e.s=38754)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/1ddab7fdda6b70de.css b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/1ddab7fdda6b70de.css new file mode 100644 index 0000000..f9c02ae --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/1ddab7fdda6b70de.css @@ -0,0 +1,3 @@ +*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/* +! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com +*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}@font-face{font-family:Euclid-Circular-B;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/EuclidCircularB-Regular.woff2) format("woff2")}@font-face{font-family:Euclid-Circular-B;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/EuclidCircularB-Medium.woff2) format("woff2")}@font-face{font-family:Euclid-Circular-B;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/EuclidCircularB-SemiBold.woff2) format("woff2")}@font-face{font-family:Euclid-Circular-B;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/EuclidCircularB-Bold.woff2) format("woff2")}@font-face{font-family:Euclid-Circular-B;font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/EuclidCircularB-Italic.woff2) format("woff2")}:root{--background:0 0% 100%;--foreground:224 71.4% 4.1%;--card:0 0% 100%;--card-foreground:224 71.4% 4.1%;--popover:0 0% 100%;--popover-foreground:224 71.4% 4.1%;--primary:262.1 83.3% 57.8%;--primary-foreground:210 20% 98%;--secondary:220 14.3% 95.9%;--secondary-foreground:220.9 39.3% 11%;--muted:220 14.3% 95.9%;--muted-foreground:220 8.9% 46.1%;--accent:220 14.3% 95.9%;--accent-foreground:220.9 39.3% 11%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 20% 98%;--border:220 13% 91%;--input:220 13% 91%;--ring:262.1 83.3% 57.8%;--radius:0.5rem;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%}.dark{--background:224 71.4% 4.1%;--foreground:210 20% 98%;--card:224 71.4% 4.1%;--card-foreground:210 20% 98%;--popover:224 71.4% 4.1%;--popover-foreground:210 20% 98%;--primary:263.4 70% 50.4%;--primary-foreground:210 20% 98%;--secondary:215 27.9% 16.9%;--secondary-foreground:210 20% 98%;--muted:215 27.9% 16.9%;--muted-foreground:217.9 10.6% 64.9%;--accent:215 27.9% 16.9%;--accent-foreground:210 20% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:210 20% 98%;--border:215 27.9% 16.9%;--input:215 27.9% 16.9%;--ring:263.4 70% 50.4%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-12{bottom:-3rem}.-left-12{left:-3rem}.-right-12{right:-3rem}.-top-12{top:-3rem}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.top-\[50\%\]{top:50%}.top-full{top:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\[100\]{z-index:100}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-8{grid-column:span 8/span 8}.col-span-full{grid-column:1/-1}.row-start-2{grid-row-start:2}.m-2\.5{margin:.625rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-4{margin-left:-1rem}.-mt-4{margin-top:-1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.aspect-video{aspect-ratio:16/9}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.h-10{height:2.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[140px\]{height:140px}.h-\[180px\]{height:180px}.h-\[1px\]{height:1px}.h-\[240px\]{height:240px}.h-\[400px\]{height:400px}.h-\[50\%\]{height:50%}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-96{max-height:24rem}.max-h-screen{max-height:100vh}.min-h-\[60px\]{min-height:60px}.min-h-\[calc\(100vh_-_theme\(spacing\.16\)\)\]{min-height:calc(100vh - 4rem)}.min-h-screen{min-height:100vh}.w-0{width:0}.w-1{width:.25rem}.w-1\/2{width:50%}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[140px\]{width:140px}.w-\[180px\]{width:180px}.w-\[1px\]{width:1px}.w-\[350px\]{width:350px}.w-\[40\%\]{width:40%}.w-\[50px\]{width:50px}.w-\[80px\]{width:80px}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-10{max-width:2.5rem}.max-w-2xl{max-width:42rem}.max-w-32{max-width:8rem}.max-w-4xl{max-width:56rem}.max-w-6{max-width:1.5rem}.max-w-6xl{max-width:72rem}.max-w-lg{max-width:32rem}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-x-\[-50\%\],.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{user-select:none}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.grid-flow-row{grid-auto-flow:row}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\[20px_1fr_20px\]{grid-template-rows:20px 1fr 20px}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-12{gap:3rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-2{column-gap:.5rem}.gap-y-2{row-gap:.5rem}.gap-y-8{row-gap:2rem}.space-x-1\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.375rem * var(--tw-space-x-reverse));margin-left:calc(.375rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.border{border-width:1px}.border-2{border-width:2px}.border-\[1\.5px\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\[--color-border\]{border-color:var(--color-border)}.border-border\/50{border-color:hsl(var(--border)/.5)}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive)/.5)}.border-input{border-color:hsl(var(--input))}.border-primary{border-color:hsl(var(--primary))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-\[--color-bg\]{background-color:var(--color-bg)}.bg-background{background-color:hsl(var(--background))}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-emerald-500{--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/40{background-color:hsl(var(--muted)/.4)}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-orange-500{--tw-bg-opacity:1;background-color:rgb(249 115 22/var(--tw-bg-opacity))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary)/.1)}.bg-primary\/20{background-color:hsl(var(--primary)/.2)}.bg-rose-500{--tw-bg-opacity:1;background-color:rgb(244 63 94/var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-transparent{background-color:transparent}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-0{padding-left:0;padding-right:0}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pr-9{padding-right:2.25rem}.pt-0{padding-top:0}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-\[family-name\:var\(--font-geist-sans\)\]{font-family:var(--font-geist-sans)}.font-euclid{font-family:Euclid-Circular-B,sans-serif}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[0\.8rem\]{font-size:.8rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground)/.5)}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-orange-500{--tw-text-opacity:1;color:rgb(249 115 22/var(--tw-text-opacity))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity:1;color:rgb(244 63 94/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in-0{--tw-enter-opacity:0}.zoom-in-95{--tw-enter-scale:.95}.duration-200{animation-duration:.2s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.text-balance{text-wrap:balance}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-blue-800:hover{--tw-bg-opacity:1;background-color:rgb(30 64 175/var(--tw-bg-opacity))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-emerald-800:hover{--tw-bg-opacity:1;background-color:rgb(6 95 70/var(--tw-bg-opacity))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-orange-800:hover{--tw-bg-opacity:1;background-color:rgb(154 52 18/var(--tw-bg-opacity))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-rose-800:hover{--tw-bg-opacity:1;background-color:rgb(159 18 57/var(--tw-bg-opacity))}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-purple-300:hover{--tw-text-opacity:1;color:rgb(216 180 254/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-1:focus,.focus\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted)/.4)}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive)/.3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity:1;color:rgb(254 242 242/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(248 113 113/var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color:#dc2626}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.data-\[side\=left\]\:-translate-x-1[data-side=left]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:-0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right],.data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x:1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x:var(--radix-toast-swipe-end-x)}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end],.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x:var(--radix-toast-swipe-move-x)}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity:0.8}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.dark\:-rotate-90:is(.dark *){--tw-rotate:-90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:rotate-0:is(.dark *){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-0:is(.dark *){--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-100:is(.dark *){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}.dark\:hover\:bg-slate-900:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity))}@media (min-width:640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:mt-0{margin-top:0}.sm\:max-w-sm{max-width:24rem}.sm\:flex-initial{flex:0 1 auto}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:items-start{align-items:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:gap-2\.5{gap:.625rem}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:p-20{padding:5rem}.sm\:text-left{text-align:left}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y:100%}}@media (min-width:768px){.md\:ml-auto{margin-left:auto}.md\:mr-8{margin-right:2rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:max-w-\[420px\]{max-width:420px}.md\:max-w-full{max-width:100%}.md\:max-w-lg{max-width:32rem}.md\:max-w-md{max-width:28rem}.md\:basis-1\/2{flex-basis:50%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\:grid-cols-\[180px_1fr\]{grid-template-columns:180px 1fr}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-2{gap:.5rem}.md\:gap-5{gap:1.25rem}.md\:gap-8{gap:2rem}.md\:p-10{padding:2.5rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1024px){.lg\:col-span-2{grid-column:span 2/span 2}.lg\:block{display:block}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:min-h-\[600px\]{min-height:600px}.lg\:basis-1\/3{flex-basis:33.333333%}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.lg\:grid-cols-\[250px_1fr\]{grid-template-columns:250px 1fr}.lg\:gap-4{gap:1rem}.lg\:gap-6{gap:1.5rem}}@media (min-width:1280px){.xl\:size-6{width:1.5rem;height:1.5rem}.xl\:min-h-\[800px\]{min-height:800px}.xl\:w-\[800px\]{width:800px}.xl\:max-w-xl{max-width:36rem}.xl\:gap-6{gap:1.5rem}.xl\:gap-y-12{row-gap:3rem}.xl\:p-4{padding:1rem}.xl\:text-2xl{font-size:1.5rem;line-height:2rem}.xl\:text-3xl{font-size:1.875rem;line-height:2.25rem}}@media (min-width:1536px){.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\+div\]\:text-xs+div{font-size:.75rem;line-height:1rem}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:size-3\.5>svg{width:.875rem;height:.875rem}.\[\&\>svg\]\:h-2\.5>svg{height:.625rem}.\[\&\>svg\]\:h-3>svg{height:.75rem}.\[\&\>svg\]\:w-2\.5>svg{width:.625rem}.\[\&\>svg\]\:w-3>svg{width:.75rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\]\:text-muted-foreground>svg{color:hsl(var(--muted-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:hsl(var(--muted-foreground))}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--border)/.5)}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--border))}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer{outline:2px solid transparent;outline-offset:2px}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--muted))}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-sector\]\:outline-none .recharts-sector,.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{outline:2px solid transparent;outline-offset:2px}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px} \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/cc6659abc844a4d0.css b/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/cc6659abc844a4d0.css deleted file mode 100644 index 5677cce..0000000 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/css/cc6659abc844a4d0.css +++ /dev/null @@ -1,3 +0,0 @@ -*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/* -! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com -*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}@font-face{font-family:Euclid-Circular-B;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/EuclidCircularB-Regular.woff2) format("woff2")}@font-face{font-family:Euclid-Circular-B;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/EuclidCircularB-Medium.woff2) format("woff2")}@font-face{font-family:Euclid-Circular-B;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/EuclidCircularB-SemiBold.woff2) format("woff2")}@font-face{font-family:Euclid-Circular-B;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/EuclidCircularB-Bold.woff2) format("woff2")}@font-face{font-family:Euclid-Circular-B;font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/EuclidCircularB-Italic.woff2) format("woff2")}:root{--background:0 0% 100%;--foreground:224 71.4% 4.1%;--card:0 0% 100%;--card-foreground:224 71.4% 4.1%;--popover:0 0% 100%;--popover-foreground:224 71.4% 4.1%;--primary:262.1 83.3% 57.8%;--primary-foreground:210 20% 98%;--secondary:220 14.3% 95.9%;--secondary-foreground:220.9 39.3% 11%;--muted:220 14.3% 95.9%;--muted-foreground:220 8.9% 46.1%;--accent:220 14.3% 95.9%;--accent-foreground:220.9 39.3% 11%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 20% 98%;--border:220 13% 91%;--input:220 13% 91%;--ring:262.1 83.3% 57.8%;--radius:0.5rem;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%}.dark{--background:224 71.4% 4.1%;--foreground:210 20% 98%;--card:224 71.4% 4.1%;--card-foreground:210 20% 98%;--popover:224 71.4% 4.1%;--popover-foreground:210 20% 98%;--primary:263.4 70% 50.4%;--primary-foreground:210 20% 98%;--secondary:215 27.9% 16.9%;--secondary-foreground:210 20% 98%;--muted:215 27.9% 16.9%;--muted-foreground:217.9 10.6% 64.9%;--accent:215 27.9% 16.9%;--accent-foreground:210 20% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:210 20% 98%;--border:215 27.9% 16.9%;--input:215 27.9% 16.9%;--ring:263.4 70% 50.4%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-12{bottom:-3rem}.-left-12{left:-3rem}.-right-12{right:-3rem}.-top-12{top:-3rem}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-\[50\%\]{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.top-\[50\%\]{top:50%}.top-full{top:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\[100\]{z-index:100}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-8{grid-column:span 8/span 8}.col-span-full{grid-column:1/-1}.row-start-2{grid-row-start:2}.m-2\.5{margin:.625rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-ml-4{margin-left:-1rem}.-mt-4{margin-top:-1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-24{margin-top:6rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.aspect-video{aspect-ratio:16/9}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.h-10{height:2.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[140px\]{height:140px}.h-\[180px\]{height:180px}.h-\[1px\]{height:1px}.h-\[240px\]{height:240px}.h-\[400px\]{height:400px}.h-\[50\%\]{height:50%}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-96{max-height:24rem}.max-h-screen{max-height:100vh}.min-h-\[60px\]{min-height:60px}.min-h-\[calc\(100vh_-_theme\(spacing\.16\)\)\]{min-height:calc(100vh - 4rem)}.min-h-screen{min-height:100vh}.w-0{width:0}.w-1{width:.25rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[1\.2rem\]{width:1.2rem}.w-\[100px\]{width:100px}.w-\[140px\]{width:140px}.w-\[180px\]{width:180px}.w-\[1px\]{width:1px}.w-\[350px\]{width:350px}.w-\[40\%\]{width:40%}.w-\[50px\]{width:50px}.w-\[80px\]{width:80px}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-10{max-width:2.5rem}.max-w-2xl{max-width:42rem}.max-w-32{max-width:8rem}.max-w-6{max-width:1.5rem}.max-w-6xl{max-width:72rem}.max-w-lg{max-width:32rem}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-x-\[-50\%\],.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{user-select:none}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.grid-flow-row{grid-auto-flow:row}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\[20px_1fr_20px\]{grid-template-rows:20px 1fr 20px}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-12{gap:3rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-2{column-gap:.5rem}.gap-y-2{row-gap:.5rem}.gap-y-8{row-gap:2rem}.space-x-1\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.375rem * var(--tw-space-x-reverse));margin-left:calc(.375rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.border{border-width:1px}.border-2{border-width:2px}.border-\[1\.5px\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\[--color-border\]{border-color:var(--color-border)}.border-border\/50{border-color:hsl(var(--border)/.5)}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive)/.5)}.border-input{border-color:hsl(var(--input))}.border-primary{border-color:hsl(var(--primary))}.border-transparent{border-color:transparent}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-\[--color-bg\]{background-color:var(--color-bg)}.bg-background{background-color:hsl(var(--background))}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-emerald-500{--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/40{background-color:hsl(var(--muted)/.4)}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-orange-500{--tw-bg-opacity:1;background-color:rgb(249 115 22/var(--tw-bg-opacity))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary)/.1)}.bg-primary\/20{background-color:hsl(var(--primary)/.2)}.bg-rose-500{--tw-bg-opacity:1;background-color:rgb(244 63 94/var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-transparent{background-color:transparent}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-0{padding-left:0;padding-right:0}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pr-9{padding-right:2.25rem}.pt-0{padding-top:0}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-\[family-name\:var\(--font-geist-sans\)\]{font-family:var(--font-geist-sans)}.font-euclid{font-family:Euclid-Circular-B,sans-serif}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[0\.8rem\]{font-size:.8rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground)/.5)}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-orange-500{--tw-text-opacity:1;color:rgb(249 115 22/var(--tw-text-opacity))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity:1;color:rgb(244 63 94/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in-0{--tw-enter-opacity:0}.zoom-in-95{--tw-enter-scale:.95}.duration-200{animation-duration:.2s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.text-balance{text-wrap:balance}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-blue-800:hover{--tw-bg-opacity:1;background-color:rgb(30 64 175/var(--tw-bg-opacity))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-emerald-800:hover{--tw-bg-opacity:1;background-color:rgb(6 95 70/var(--tw-bg-opacity))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-orange-800:hover{--tw-bg-opacity:1;background-color:rgb(154 52 18/var(--tw-bg-opacity))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-rose-800:hover{--tw-bg-opacity:1;background-color:rgb(159 18 57/var(--tw-bg-opacity))}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-purple-300:hover{--tw-text-opacity:1;color:rgb(216 180 254/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-1:focus,.focus\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted)/.4)}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive)/.3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity:1;color:rgb(254 242 242/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(248 113 113/var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color:#dc2626}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.data-\[side\=left\]\:-translate-x-1[data-side=left]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:-0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right],.data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x:1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x:var(--radix-toast-swipe-end-x)}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end],.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x:var(--radix-toast-swipe-move-x)}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity:0.8}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.dark\:-rotate-90:is(.dark *){--tw-rotate:-90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:rotate-0:is(.dark *){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-0:is(.dark *){--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-100:is(.dark *){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}.dark\:hover\:bg-slate-900:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity))}@media (min-width:640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:mt-0{margin-top:0}.sm\:max-w-sm{max-width:24rem}.sm\:flex-initial{flex:0 1 auto}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:items-start{align-items:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:gap-2\.5{gap:.625rem}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:p-20{padding:5rem}.sm\:text-left{text-align:left}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y:100%}}@media (min-width:768px){.md\:ml-auto{margin-left:auto}.md\:mr-8{margin-right:2rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:max-w-\[420px\]{max-width:420px}.md\:max-w-full{max-width:100%}.md\:max-w-lg{max-width:32rem}.md\:max-w-md{max-width:28rem}.md\:basis-1\/2{flex-basis:50%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\:grid-cols-\[180px_1fr\]{grid-template-columns:180px 1fr}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-2{gap:.5rem}.md\:gap-5{gap:1.25rem}.md\:gap-8{gap:2rem}.md\:p-10{padding:2.5rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1024px){.lg\:col-span-2{grid-column:span 2/span 2}.lg\:block{display:block}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:min-h-\[600px\]{min-height:600px}.lg\:max-w-xl{max-width:36rem}.lg\:basis-1\/3{flex-basis:33.333333%}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.lg\:grid-cols-\[250px_1fr\]{grid-template-columns:250px 1fr}.lg\:gap-4{gap:1rem}.lg\:gap-6{gap:1.5rem}}@media (min-width:1280px){.xl\:size-6{width:1.5rem;height:1.5rem}.xl\:min-h-\[800px\]{min-height:800px}.xl\:w-\[800px\]{width:800px}.xl\:max-w-xl{max-width:36rem}.xl\:gap-6{gap:1.5rem}.xl\:gap-y-12{row-gap:3rem}.xl\:p-4{padding:1rem}.xl\:text-2xl{font-size:1.5rem;line-height:2rem}.xl\:text-3xl{font-size:1.875rem;line-height:2.25rem}}@media (min-width:1536px){.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\+div\]\:text-xs+div{font-size:.75rem;line-height:1rem}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:size-3\.5>svg{width:.875rem;height:.875rem}.\[\&\>svg\]\:h-2\.5>svg{height:.625rem}.\[\&\>svg\]\:h-3>svg{height:.75rem}.\[\&\>svg\]\:w-2\.5>svg{width:.625rem}.\[\&\>svg\]\:w-3>svg{width:.75rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\]\:text-muted-foreground>svg{color:hsl(var(--muted-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:hsl(var(--muted-foreground))}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--border)/.5)}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--border))}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer{outline:2px solid transparent;outline-offset:2px}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--muted))}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-sector\]\:outline-none .recharts-sector,.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{outline:2px solid transparent;outline-offset:2px}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-width:1px} \ No newline at end of file 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 4c134f8..26c4df4 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 35aab5b..9e21110 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/about/index.txt @@ -1,12 +1,12 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[13967,["59","static/chunks/59-baefa124caadc35a.js","310","static/chunks/310-30511f892e84fda6.js","878","static/chunks/app/dashboard/about/page-6f80570614b72ce6.js"],"default",1] +3:I[13967,["366","static/chunks/366-0cf24e39eec3559a.js","310","static/chunks/310-30511f892e84fda6.js","878","static/chunks/app/dashboard/about/page-0a9ea8c0e45f1583.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] -6:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -8:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -9:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -a:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] +6:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +8:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +9:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +a:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] 7:{} -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["about",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["about",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L8",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L9",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$La",null,{}]]}]}]],null],null],["$Lb",null]]]] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["about",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["about",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L8",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L9",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$La",null,{}]]}]}]],null],null],["$Lb",null]]]] b:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null 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 19f6b64..3575a82 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 ea225d9..ccdea10 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/at-terminal/index.txt @@ -1,13 +1,13 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[21585,["59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","491","static/chunks/491-71d567345aaa1076.js","310","static/chunks/310-30511f892e84fda6.js","164","static/chunks/app/dashboard/advanced-settings/at-terminal/page-8446b0f13e28d35a.js"],"default",1] +3:I[21585,["366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","491","static/chunks/491-71d567345aaa1076.js","310","static/chunks/310-30511f892e84fda6.js","164","static/chunks/app/dashboard/advanced-settings/at-terminal/page-0080f8f5e0820da5.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] 6:I[27442,["509","static/chunks/509-5c1794098df9e8cb.js","60","static/chunks/app/dashboard/advanced-settings/layout-570f8537cc94784b.js"],"default",1] -8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] +8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] 7:{} -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["at-terminal",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["advanced-settings",{"children":["at-terminal",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["at-terminal",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["advanced-settings",{"children":["at-terminal",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] c:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null 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 853f11f..053f135 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 52a9c41..3ee5947 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/connectivity/index.txt @@ -1,13 +1,13 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[8133,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","491","static/chunks/491-71d567345aaa1076.js","72","static/chunks/72-6b5cb49de987fb33.js","812","static/chunks/app/dashboard/advanced-settings/connectivity/page-281c60b314d73106.js"],"default",1] +3:I[8133,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","491","static/chunks/491-71d567345aaa1076.js","72","static/chunks/72-6b5cb49de987fb33.js","812","static/chunks/app/dashboard/advanced-settings/connectivity/page-f5cdc7f50f7b107d.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] 6:I[27442,["509","static/chunks/509-5c1794098df9e8cb.js","60","static/chunks/app/dashboard/advanced-settings/layout-570f8537cc94784b.js"],"default",1] -8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] +8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] 7:{} -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["connectivity",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["advanced-settings",{"children":["connectivity",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["connectivity",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["advanced-settings",{"children":["connectivity",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] c:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null 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 e2a87bf..85b8005 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 640bedd..236f894 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/advanced-settings/ttl-settings/index.txt @@ -1,13 +1,13 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[79278,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","876","static/chunks/app/dashboard/advanced-settings/ttl-settings/page-5dcbbb1d9d93caa3.js"],"default",1] +3:I[79278,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","876","static/chunks/app/dashboard/advanced-settings/ttl-settings/page-0673c21a0a6eb380.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] 6:I[27442,["509","static/chunks/509-5c1794098df9e8cb.js","60","static/chunks/app/dashboard/advanced-settings/layout-570f8537cc94784b.js"],"default",1] -8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] +8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] 7:{} -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["ttl-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["advanced-settings",{"children":["ttl-settings",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["advanced-settings",{"children":["ttl-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["advanced-settings",{"children":["ttl-settings",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] c:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null 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 9635a7d..e154a7f 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 64b7983..ee3d175 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/band-locking/index.txt @@ -1,13 +1,13 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[31291,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","400","static/chunks/400-dd39a4eacea68279.js","932","static/chunks/app/dashboard/cell-settings/band-locking/page-2f99e70b9577f8d5.js"],"default",1] +3:I[31291,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","400","static/chunks/400-3f2b0ef1ad709897.js","932","static/chunks/app/dashboard/cell-settings/band-locking/page-d9c0f4b97e09b504.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] 6:I[78700,["509","static/chunks/509-5c1794098df9e8cb.js","159","static/chunks/app/dashboard/cell-settings/layout-013424d5638a36b7.js"],"default",1] -8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] +8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] 7:{} -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["band-locking",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["cell-settings",{"children":["band-locking",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["band-locking",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["cell-settings",{"children":["band-locking",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] c:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null 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 0957366..3522db1 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 e999c0e..ded8a01 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/basic-settings/index.txt @@ -1,13 +1,13 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[80887,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","72","static/chunks/72-6b5cb49de987fb33.js","247","static/chunks/247-5e4920e793cf2e3a.js","265","static/chunks/app/dashboard/cell-settings/basic-settings/page-1c4c1710afe9c38a.js"],"default",1] +3:I[80887,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","72","static/chunks/72-6b5cb49de987fb33.js","247","static/chunks/247-5e4920e793cf2e3a.js","265","static/chunks/app/dashboard/cell-settings/basic-settings/page-a44510fae529aeb3.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] 6:I[78700,["509","static/chunks/509-5c1794098df9e8cb.js","159","static/chunks/app/dashboard/cell-settings/layout-013424d5638a36b7.js"],"default",1] -8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] +8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] 7:{} -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["basic-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["cell-settings",{"children":["basic-settings",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["basic-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["cell-settings",{"children":["basic-settings",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] c:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null 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 f48eb86..db5d68f 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 e563d66..c3849f2 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/cell-locking/index.txt @@ -1,13 +1,13 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[61830,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","72","static/chunks/72-6b5cb49de987fb33.js","247","static/chunks/247-5e4920e793cf2e3a.js","81","static/chunks/app/dashboard/cell-settings/cell-locking/page-8154deabdb3e9b66.js"],"default",1] +3:I[61830,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","72","static/chunks/72-6b5cb49de987fb33.js","247","static/chunks/247-5e4920e793cf2e3a.js","81","static/chunks/app/dashboard/cell-settings/cell-locking/page-18759b6c26dd6e17.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] 6:I[78700,["509","static/chunks/509-5c1794098df9e8cb.js","159","static/chunks/app/dashboard/cell-settings/layout-013424d5638a36b7.js"],"default",1] -8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] +8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] 7:{} -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["cell-locking",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["cell-settings",{"children":["cell-locking",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["cell-locking",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["cell-settings",{"children":["cell-locking",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] c:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null 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 8f84df0..5a46886 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 71b2cee..16b1355 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/imei-mangling/index.txt @@ -1,13 +1,13 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[47410,["59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","829","static/chunks/829-f0aacc5828a765ae.js","385","static/chunks/app/dashboard/cell-settings/imei-mangling/page-4bf7a2253ea3c674.js"],"default",1] +3:I[47410,["366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","829","static/chunks/829-f0aacc5828a765ae.js","385","static/chunks/app/dashboard/cell-settings/imei-mangling/page-6195f6bb2e5a377f.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] 6:I[78700,["509","static/chunks/509-5c1794098df9e8cb.js","159","static/chunks/app/dashboard/cell-settings/layout-013424d5638a36b7.js"],"default",1] -8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] +8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] 7:{} -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["imei-mangling",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["cell-settings",{"children":["imei-mangling",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["imei-mangling",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["cell-settings",{"children":["imei-mangling",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] c:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null 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 f090a65..e578205 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 8a32095..b934389 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/cell-settings/sms/index.txt @@ -1,13 +1,13 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[26678,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","491","static/chunks/491-71d567345aaa1076.js","310","static/chunks/310-30511f892e84fda6.js","959","static/chunks/app/dashboard/cell-settings/sms/page-9a334fe77f2b00e0.js"],"default",1] +3:I[26678,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","491","static/chunks/491-71d567345aaa1076.js","310","static/chunks/310-30511f892e84fda6.js","959","static/chunks/app/dashboard/cell-settings/sms/page-ce6a52fe073f6288.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] 6:I[78700,["509","static/chunks/509-5c1794098df9e8cb.js","159","static/chunks/app/dashboard/cell-settings/layout-013424d5638a36b7.js"],"default",1] -8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] +8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] 7:{} -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["sms",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["cell-settings",{"children":["sms",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["cell-settings",{"children":["sms",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["cell-settings",{"children":["sms",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] c:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null 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 784637d..0cb7e97 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 8748446..611eee3 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/index.txt @@ -1,9 +1,11 @@ -2:I[16102,[],""] -3:I[22609,[],""] -4:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -5:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -6:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -7:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["experimental",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["experimental",{"children":["__PAGE__",{},[["$L1",["$","div",null,{"className":"rounded-xl border bg-card text-card-foreground shadow","children":[["$","div",null,{"className":"flex flex-col space-y-1.5 p-6","children":[["$","h3",null,{"className":"font-semibold leading-none tracking-tight","children":"Experimental"}],["$","p",null,{"className":"text-sm text-muted-foreground","children":"This is an experimental page."}]]}],["$","div",null,{"className":"p-6 pt-0","children":["$","p",null,{"children":"Whoops! Theres nothing here yet..."}]}]]}],null],null],null]},[null,["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L4",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":{}}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L5",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L6",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$L7",null,{}]]}]}]],null],null],["$L8",null]]]] -8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] +2:I[98496,["509","static/chunks/509-5c1794098df9e8cb.js","342","static/chunks/app/dashboard/experimental/layout-b382d24ff5aff11c.js"],"default",1] +3:I[16102,[],""] +4:I[22609,[],""] +5:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +7:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +8:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +9:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] +6:{} +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["experimental",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["experimental",{"children":["__PAGE__",{},[["$L1",["$","div",null,{"className":"rounded-xl border bg-card text-card-foreground shadow","children":[["$","div",null,{"className":"flex flex-col space-y-1.5 p-6","children":[["$","h3",null,{"className":"font-semibold leading-none tracking-tight","children":"Experimental"}],["$","p",null,{"className":"text-sm text-muted-foreground","children":"This is an experimental page."}]]}],["$","div",null,{"className":"p-6 pt-0","children":["$","p",null,{"children":"Whoops! Theres nothing here yet..."}]}]]}],null],null],null]},[[null,["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":{}}]],null],null]},[[null,["$","$L5",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$6"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L8",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$L9",null,{}]]}]}]],null],null],["$La",null]]]] +a:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/speedtest/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/speedtest/index.html new file mode 100644 index 0000000..e0f5ffb --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/speedtest/index.html @@ -0,0 +1 @@ +QuecManager
                                                    \ No newline at end of file diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/speedtest/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/speedtest/index.txt new file mode 100644 index 0000000..21903fd --- /dev/null +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/experimental/speedtest/index.txt @@ -0,0 +1,13 @@ +2:I[78073,[],"ClientPageRoot"] +3:I[14119,["366","static/chunks/366-0cf24e39eec3559a.js","71","static/chunks/app/dashboard/experimental/speedtest/page-72625fc676109bab.js"],"default",1] +4:I[16102,[],""] +5:I[22609,[],""] +6:I[98496,["509","static/chunks/509-5c1794098df9e8cb.js","342","static/chunks/app/dashboard/experimental/layout-b382d24ff5aff11c.js"],"default",1] +8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] +7:{} +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["experimental",{"children":["speedtest",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["experimental",{"children":["speedtest",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","experimental","children","speedtest","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] +c:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] +1:null 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 613bef9..7fe3907 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 4ee4969..6661288 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/home/index.txt @@ -1,12 +1,12 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[96019,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","491","static/chunks/491-71d567345aaa1076.js","362","static/chunks/362-c5c73f4c48ce433f.js","883","static/chunks/app/dashboard/home/page-44d18df25ff5d46b.js"],"default",1] +3:I[96019,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","491","static/chunks/491-71d567345aaa1076.js","362","static/chunks/362-c5c73f4c48ce433f.js","883","static/chunks/app/dashboard/home/page-8076a86721704233.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] -6:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -8:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -9:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -a:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] +6:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +8:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +9:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +a:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] 7:{} -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["home",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["home",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L8",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L9",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$La",null,{}]]}]}]],null],null],["$Lb",null]]]] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["home",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["home",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L8",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L9",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$La",null,{}]]}]}]],null],null],["$Lb",null]]]] b:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/general/index.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/general/index.html index a3abbae..396d2e8 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/general/index.html +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/general/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/general/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/general/index.txt index 62e0677..dc6dab7 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/general/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/general/index.txt @@ -1,13 +1,13 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[12825,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","72","static/chunks/72-6b5cb49de987fb33.js","291","static/chunks/app/dashboard/settings/general/page-6cab875c8babc0d5.js"],"default",1] +3:I[12825,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","72","static/chunks/72-6b5cb49de987fb33.js","291","static/chunks/app/dashboard/settings/general/page-d1faa0903d70e4da.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] 6:I[83746,["509","static/chunks/509-5c1794098df9e8cb.js","813","static/chunks/app/dashboard/settings/layout-95eec09cf12fefcd.js"],"default",1] -8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] +8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] 7:{} -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["settings",{"children":["general",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["settings",{"children":["general",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children","general","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["settings",{"children":["general",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["settings",{"children":["general",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children","settings","children","general","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] c:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null 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 ef5aae0..7238b60 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 2a35943..d094eb3 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/dashboard/settings/security/index.txt @@ -1,13 +1,13 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[27537,["59","static/chunks/59-baefa124caadc35a.js","354","static/chunks/app/dashboard/settings/security/page-f721332948f82878.js"],"default",1] +3:I[27537,["366","static/chunks/366-0cf24e39eec3559a.js","354","static/chunks/app/dashboard/settings/security/page-f306d02601ba9d4a.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] 6:I[83746,["509","static/chunks/509-5c1794098df9e8cb.js","813","static/chunks/app/dashboard/settings/layout-95eec09cf12fefcd.js"],"default",1] -8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-4e036d45c64ee054.js"],"default",1] -9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] +8:I[65213,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","491","static/chunks/491-71d567345aaa1076.js","136","static/chunks/136-3f9b66fad4f436d4.js","663","static/chunks/app/dashboard/layout-6ee6624d87d32b72.js"],"default",1] +9:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +a:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +b:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] 7:{} -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["dashboard",{"children":["settings",{"children":["security",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["settings",{"children":["security",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["dashboard",{"children":["settings",{"children":["security",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["dashboard",{"children":["settings",{"children":["security",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[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","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"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","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[null,["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","dashboard","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L9",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$La",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$Lb",null,{}]]}]}]],null],null],["$Lc",null]]]] c:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt b/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt index 966b42e..2ead407 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/index.txt @@ -1,9 +1,9 @@ -2:I[40449,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","136","static/chunks/136-3f9b66fad4f436d4.js","396","static/chunks/396-1d5fcfccb9fdec47.js","931","static/chunks/app/page-9bf9e7cd4a7dede2.js"],"default"] -3:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -4:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] +2:I[40449,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","217","static/chunks/217-cce5d4a80b177785.js","420","static/chunks/420-26015e1723fa01e0.js","509","static/chunks/509-5c1794098df9e8cb.js","136","static/chunks/136-3f9b66fad4f436d4.js","396","static/chunks/396-1d5fcfccb9fdec47.js","931","static/chunks/app/page-e22d73c19f0919d2.js"],"default"] +3:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +4:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] 5:I[16102,[],""] 6:I[22609,[],""] -7:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","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 font-[family-name:var(--font-geist-sans)]","children":["$","main",null,{"className":"flex flex-col gap-8 row-start-2 items-center sm:items-start","children":["$","$L2",null,{}]}]}],null],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L3",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$L7",null,{}]]}]}]],null],null],["$L8",null]]]] +7:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","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 font-[family-name:var(--font-geist-sans)]","children":["$","main",null,{"className":"flex flex-col gap-8 row-start-2 items-center sm:items-start","children":["$","$L2",null,{}]}]}],null],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L3",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$L7",null,{}]]}]}]],null],null],["$L8",null]]]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null diff --git a/ipk-source/sdxpinn-quecmanager-beta/root/www/login.html b/ipk-source/sdxpinn-quecmanager-beta/root/www/login.html index a0ad8e1..5120962 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 e736251..acde7b1 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 857d923..5624eaf 100644 --- a/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.txt +++ b/ipk-source/sdxpinn-quecmanager-beta/root/www/login/index.txt @@ -1,10 +1,10 @@ 2:I[78073,[],"ClientPageRoot"] -3:I[55114,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","598","static/chunks/598-37a268c60ee2f48f.js","626","static/chunks/app/login/page-1919996b3879088a.js"],"default",1] +3:I[55114,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","598","static/chunks/598-d0a7343618c17bca.js","626","static/chunks/app/login/page-f0cd8b1cef3bf40a.js"],"default",1] 4:I[16102,[],""] 5:I[22609,[],""] -6:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"ThemeProvider"] -7:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"TooltipProvider"] -8:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","59","static/chunks/59-baefa124caadc35a.js","714","static/chunks/714-f84e9a05035632c8.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-c8e71a60e93169f7.js"],"Toaster"] -0:["H3ykITR4CREH5n7LHTkgO",[[["",{"children":["login",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["login",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","login","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc6659abc844a4d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L6",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L7",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$L8",null,{}]]}]}]],null],null],["$L9",null]]]] +6:I[40108,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"ThemeProvider"] +7:I[78287,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"TooltipProvider"] +8:I[62357,["792","static/chunks/84fbfe7f-f4d35e8642f5f806.js","366","static/chunks/366-0cf24e39eec3559a.js","714","static/chunks/714-fba2b6e06c84bb99.js","420","static/chunks/420-26015e1723fa01e0.js","131","static/chunks/131-3a9a87c28b6ddcc9.js","185","static/chunks/app/layout-232a26ba008c45d4.js"],"Toaster"] +0:["EQS-a8VzZnDBwu8l2nNjN",[[["",{"children":["login",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["login",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","login","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1ddab7fdda6b70de.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":" font-euclid antialiased","children":[["$","$L6",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L7",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."}]}]]}]}]],"notFoundStyles":[]}]}]}],["$","$L8",null,{}]]}]}]],null],null],["$L9",null]]]] 9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"QuecManager"}],["$","meta","3",{"name":"description","content":"Simpleadmin but better!"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] 1:null