@enhance-eng/sandbox 0.3.21-beta.0fac791 → 0.3.21-beta.a1057ef

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- const _0x42261c=_0x1b08;(function(_0x14e522,_0x2a1a7c){const _0x3a555b=_0x1b08,_0x294296=_0x14e522();while(!![]){try{const _0x199a68=-parseInt(_0x3a555b(0x23e))/0x1+-parseInt(_0x3a555b(0x284))/0x2+parseInt(_0x3a555b(0x24b))/0x3+parseInt(_0x3a555b(0x2b7))/0x4+-parseInt(_0x3a555b(0x29e))/0x5+-parseInt(_0x3a555b(0x294))/0x6*(-parseInt(_0x3a555b(0x279))/0x7)+parseInt(_0x3a555b(0x2b1))/0x8;if(_0x199a68===_0x2a1a7c)break;else _0x294296['push'](_0x294296['shift']());}catch(_0x5d9a9f){_0x294296['push'](_0x294296['shift']());}}}(_0x565c,0x57f39));var DEFAULT_OVERLAY_PATH=!![]?_0x42261c(0x2b5):_0x42261c(0x2b5),DEFAULT_BACKEND_URL=!![]?'https://api.enhancelabs.ai':_0x42261c(0x2a9),DEFAULT_OVERLAY_HMR=!![]?![]:![];console[_0x42261c(0x2c3)](_0x42261c(0x272),{'overlayPath':DEFAULT_OVERLAY_PATH,'backendUrl':DEFAULT_BACKEND_URL,'overlayHmr':DEFAULT_OVERLAY_HMR});function normalizeOptions(_0x4b62c1){const _0x11abcc=_0x42261c;if(!_0x4b62c1['publishableKey'])throw new Error(_0x11abcc(0x232));const _0x35d4d8=_0x4b62c1['__development']??{};return{'publishableKey':_0x4b62c1[_0x11abcc(0x281)],'callbackBypass':_0x4b62c1['callbackBypass']??[],'overlay':{'enabled':!![],'position':'bottom-right','enableViteHmr':_0x35d4d8[_0x11abcc(0x1f6)]??DEFAULT_OVERLAY_HMR},'logLevel':_0x11abcc(0x2c0),'swPath':_0x11abcc(0x261),'overlayPath':_0x35d4d8[_0x11abcc(0x26d)]??DEFAULT_OVERLAY_PATH,'runtimeScriptPath':_0x11abcc(0x273),'security':_0x35d4d8[_0x11abcc(0x203)]??_0x11abcc(0x271),'backendUrl':_0x35d4d8[_0x11abcc(0x23a)]??DEFAULT_BACKEND_URL};}var state={'enabled':![],'controlled':![],'appError':null};function getEnhancementId(){const _0x3dcc61=_0x42261c;try{const _0x135c82=new URLSearchParams(window['location']['search']);return _0x135c82[_0x3dcc61(0x2b9)](_0x3dcc61(0x2af))?.[_0x3dcc61(0x246)]()||'';}catch{return'';}}var LOG_PREFIX=_0x42261c(0x289),overlayController=null,overlayLoadPromise=null,toggleHandler=null,currentOptions=null;async function loadOverlay(_0x2fd03e){const _0x2d151f=_0x42261c;console[_0x2d151f(0x2c3)](LOG_PREFIX+_0x2d151f(0x2be)),console['log'](LOG_PREFIX+_0x2d151f(0x258)+_0x2fd03e[_0x2d151f(0x26d)]),console[_0x2d151f(0x2c3)](LOG_PREFIX+'\x20enableViteHmr:\x20'+_0x2fd03e['enableViteHmr']),currentOptions=_0x2fd03e[_0x2d151f(0x242)],toggleHandler=_0x2fd03e['onToggle'];if(overlayController){console[_0x2d151f(0x2c3)](LOG_PREFIX+_0x2d151f(0x2a2)),updateOverlay();return;}if(overlayLoadPromise)return console['log'](LOG_PREFIX+_0x2d151f(0x229)),overlayLoadPromise;console[_0x2d151f(0x2c3)](LOG_PREFIX+'\x20Starting\x20fresh\x20overlay\x20load...'),overlayLoadPromise=doLoadOverlay(_0x2fd03e);try{await overlayLoadPromise,console[_0x2d151f(0x2c3)](LOG_PREFIX+_0x2d151f(0x23f));}catch(_0x1bb22f){console[_0x2d151f(0x1fa)](LOG_PREFIX+_0x2d151f(0x202),_0x1bb22f);}finally{overlayLoadPromise=null;}}async function doLoadOverlay(_0x23c69e){const _0x390ec1=_0x42261c;console[_0x390ec1(0x2c3)](LOG_PREFIX+'\x20doLoadOverlay()\x20starting...');if(typeof window==='undefined'){console['log'](LOG_PREFIX+_0x390ec1(0x276));return;}if(window[_0x390ec1(0x2ad)]){console['log'](LOG_PREFIX+_0x390ec1(0x268)),overlayController=window[_0x390ec1(0x2ad)];return;}console[_0x390ec1(0x2c3)](LOG_PREFIX+_0x390ec1(0x21f));try{_0x23c69e['enableViteHmr']&&(console[_0x390ec1(0x2c3)](LOG_PREFIX+_0x390ec1(0x21a)),await setupRemoteHMR(_0x23c69e[_0x390ec1(0x26d)]));console['log'](LOG_PREFIX+_0x390ec1(0x2ae)+_0x23c69e[_0x390ec1(0x26d)]);const _0x2ecc98=Date['now'](),_0x35ab88=await import(_0x23c69e[_0x390ec1(0x26d)]);console[_0x390ec1(0x2c3)](LOG_PREFIX+_0x390ec1(0x206)+(Date[_0x390ec1(0x2bd)]()-_0x2ecc98)+'ms'),console[_0x390ec1(0x2c3)](LOG_PREFIX+_0x390ec1(0x22f),Object[_0x390ec1(0x25c)](_0x35ab88));if(typeof _0x35ab88?.[_0x390ec1(0x293)]!=='function'){console['error'](LOG_PREFIX+_0x390ec1(0x28f)),console['error'](LOG_PREFIX+_0x390ec1(0x25b),Object[_0x390ec1(0x25c)](_0x35ab88));return;}console['log'](LOG_PREFIX+_0x390ec1(0x288));const _0x54732a=_0x35ab88[_0x390ec1(0x293)]();console[_0x390ec1(0x2c3)](LOG_PREFIX+'\x20Controller\x20created:',_0x54732a),overlayController=_0x54732a,window[_0x390ec1(0x2ad)]=_0x54732a,_0x54732a[_0x390ec1(0x259)](_0x23c69e[_0x390ec1(0x259)]),console[_0x390ec1(0x2c3)](LOG_PREFIX+_0x390ec1(0x22c)),console['log'](LOG_PREFIX+_0x390ec1(0x1f9)),updateOverlay();}catch(_0x12d7fb){console[_0x390ec1(0x1fa)](LOG_PREFIX+_0x390ec1(0x2aa),_0x12d7fb);}}function updateOverlay(){const _0x51b2c0=_0x42261c;console['log'](LOG_PREFIX+'\x20updateOverlay()\x20called'),console['log'](LOG_PREFIX+_0x51b2c0(0x241)+!!overlayController),console[_0x51b2c0(0x2c3)](LOG_PREFIX+_0x51b2c0(0x2c1)+!!currentOptions);if(!overlayController||!currentOptions){console[_0x51b2c0(0x2c3)](LOG_PREFIX+'\x20Missing\x20controller\x20or\x20options\x20-\x20skipping\x20update');return;}const _0x4152c7=composeOverlayState(currentOptions);console[_0x51b2c0(0x2c3)](LOG_PREFIX+'\x20Updating\x20overlay\x20with\x20state:',JSON[_0x51b2c0(0x240)](_0x4152c7,null,0x2)),overlayController[_0x51b2c0(0x24e)](_0x4152c7),console[_0x51b2c0(0x2c3)](LOG_PREFIX+_0x51b2c0(0x1ff));}function composeOverlayState(_0x508773){const _0x45b75e=_0x42261c,_0x53382e=getEnhancementId();return console[_0x45b75e(0x2c3)](LOG_PREFIX+_0x45b75e(0x28e)+_0x53382e),console[_0x45b75e(0x2c3)](LOG_PREFIX+'\x20composeOverlayState\x20-\x20state.enabled:\x20'+state[_0x45b75e(0x228)]),console[_0x45b75e(0x2c3)](LOG_PREFIX+_0x45b75e(0x239)+state['controlled']),{'enhancementId':_0x53382e,'enabled':state[_0x45b75e(0x228)],'controlled':state[_0x45b75e(0x244)],'overlayPosition':_0x508773[_0x45b75e(0x233)][_0x45b75e(0x262)],'securityMode':_0x508773[_0x45b75e(0x203)],'backendBaseUrl':_0x508773['backendUrl'],'appError':state[_0x45b75e(0x205)]};}async function setupRemoteHMR(_0x51dd60){const _0x2f3c5c=_0x42261c;console[_0x2f3c5c(0x2c3)](LOG_PREFIX+_0x2f3c5c(0x27a)+_0x51dd60);if(typeof window===_0x2f3c5c(0x231))return;try{const _0x297237=new URL(_0x51dd60,window[_0x2f3c5c(0x25e)][_0x2f3c5c(0x28b)]),_0x59d41b=_0x297237[_0x2f3c5c(0x28b)];console[_0x2f3c5c(0x2c3)](LOG_PREFIX+_0x2f3c5c(0x297)+_0x59d41b+_0x2f3c5c(0x20a)+window[_0x2f3c5c(0x25e)]['origin']);if(_0x59d41b===window['location']['origin']){console[_0x2f3c5c(0x2c3)](LOG_PREFIX+'\x20Same\x20origin\x20-\x20skipping\x20HMR\x20setup');return;}console[_0x2f3c5c(0x2c3)](LOG_PREFIX+'\x20Cross-origin\x20overlay\x20-\x20setting\x20up\x20HMR...'),await ensureReactRefreshPreamble(_0x59d41b),await ensureViteClient(_0x59d41b),console[_0x2f3c5c(0x2c3)](LOG_PREFIX+_0x2f3c5c(0x248));}catch(_0x4873cc){console[_0x2f3c5c(0x2b3)](LOG_PREFIX+_0x2f3c5c(0x27e),_0x4873cc);}}function _0x1b08(_0x2cc384,_0x38fc82){_0x2cc384=_0x2cc384-0x1ec;const _0x565c98=_0x565c();let _0x1b0804=_0x565c98[_0x2cc384];return _0x1b0804;}async function ensureReactRefreshPreamble(_0x21daf8){const _0xccbea7=_0x42261c;window[_0xccbea7(0x2ab)]??(window['__enhanceReactRefreshInstalledOrigins']=new Set());if(window[_0xccbea7(0x2ab)][_0xccbea7(0x295)](_0x21daf8)){console['log'](LOG_PREFIX+'\x20React\x20Refresh\x20already\x20installed\x20for\x20'+_0x21daf8);return;}console['log'](LOG_PREFIX+_0xccbea7(0x25f)+_0x21daf8+_0xccbea7(0x257));const _0x376a87=await import(_0x21daf8+_0xccbea7(0x22d)),_0x20b883=_0x376a87&&typeof _0x376a87===_0xccbea7(0x26c)&&_0xccbea7(0x23d)in _0x376a87?_0x376a87[_0xccbea7(0x23d)]:_0x376a87;if(!isRefreshRuntime(_0x20b883)){console['warn'](LOG_PREFIX+_0xccbea7(0x1f3));return;}_0x20b883[_0xccbea7(0x200)](window),window[_0xccbea7(0x24d)]=()=>{},window[_0xccbea7(0x214)]=()=>_0x70fbf4=>_0x70fbf4,window['__vite_plugin_react_preamble_installed__']=!![],window['__enhanceReactRefreshInstalledOrigins'][_0xccbea7(0x280)](_0x21daf8),console[_0xccbea7(0x2c3)](LOG_PREFIX+_0xccbea7(0x253)+_0x21daf8);}async function ensureViteClient(_0x3b9715){const _0x11998c=_0x42261c;window[_0x11998c(0x22e)]??(window['__viteHMRLoaded']=new Set());if(window[_0x11998c(0x22e)]['has'](_0x3b9715)){console[_0x11998c(0x2c3)](LOG_PREFIX+_0x11998c(0x285)+_0x3b9715);return;}console['log'](LOG_PREFIX+_0x11998c(0x2bf)+_0x3b9715+'...'),await import(_0x3b9715+'/@vite/client'),window[_0x11998c(0x22e)][_0x11998c(0x280)](_0x3b9715),console['log'](LOG_PREFIX+_0x11998c(0x225)+_0x3b9715);}function isRefreshRuntime(_0x5a7a8d){const _0x117fcc=_0x42261c;return typeof _0x5a7a8d==='object'&&_0x5a7a8d!==null&&_0x117fcc(0x200)in _0x5a7a8d&&typeof _0x5a7a8d[_0x117fcc(0x200)]===_0x117fcc(0x2b4);}var WORKER_MESSAGE_CONFIG=_0x42261c(0x236),WORKER_MESSAGE_DISABLE=_0x42261c(0x21b),LOG_PREFIX2=_0x42261c(0x29a),registration=null,currentOptions2=null;async function registerServiceWorker(_0x26b078){const _0x55d6d4=_0x42261c;console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x2a5)),console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x256)+_0x26b078[_0x55d6d4(0x27f)]);if(!(_0x55d6d4(0x204)in navigator)){console['warn'](LOG_PREFIX2+_0x55d6d4(0x22a));return;}console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x2c4));const _0x171f21=navigator[_0x55d6d4(0x204)]['controller'];console[_0x55d6d4(0x2c3)](LOG_PREFIX2+'\x20Current\x20controller:',_0x171f21?.[_0x55d6d4(0x260)]??_0x55d6d4(0x226)),console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x215),_0x171f21?.[_0x55d6d4(0x245)]??_0x55d6d4(0x20e));const _0x442b54=!!_0x171f21;currentOptions2=_0x26b078,console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x227));const _0x54bbd2=await detectBlockingServiceWorker(_0x26b078['swPath']);if(_0x54bbd2){console[_0x55d6d4(0x1fa)](LOG_PREFIX2+_0x55d6d4(0x1ee)+_0x54bbd2),console['error'](LOG_PREFIX2+_0x55d6d4(0x24c));return;}console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x275));try{console[_0x55d6d4(0x2c3)](LOG_PREFIX2+'\x20Registering\x20SW\x20at\x20'+_0x26b078[_0x55d6d4(0x27f)]+_0x55d6d4(0x265)),registration=await navigator[_0x55d6d4(0x204)][_0x55d6d4(0x220)](_0x26b078['swPath'],{'scope':'/'}),console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x221),{'scope':registration[_0x55d6d4(0x20f)],'active':registration[_0x55d6d4(0x277)]?.[_0x55d6d4(0x260)],'waiting':registration[_0x55d6d4(0x1fb)]?.[_0x55d6d4(0x260)],'installing':registration[_0x55d6d4(0x29c)]?.['scriptURL']}),console[_0x55d6d4(0x2c3)](LOG_PREFIX2+'\x20Waiting\x20for\x20navigator.serviceWorker.ready...');const _0x42f9bd=await navigator[_0x55d6d4(0x204)][_0x55d6d4(0x210)];console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x235),_0x42f9bd['active']?.[_0x55d6d4(0x260)]);const _0x329b5e=ownsCurrentController(_0x26b078['swPath']);state['controlled']=_0x329b5e,console[_0x55d6d4(0x2c3)](LOG_PREFIX2+'\x20Page\x20controlled\x20by\x20our\x20SW:\x20'+_0x329b5e),console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x238),navigator[_0x55d6d4(0x204)][_0x55d6d4(0x2b0)]?.[_0x55d6d4(0x260)]??_0x55d6d4(0x226));if(!_0x442b54&&!navigator['serviceWorker'][_0x55d6d4(0x2b0)]){console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x1f7)),window['location'][_0x55d6d4(0x22b)]();return;}console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x292)),await sendConfiguration();if(state[_0x55d6d4(0x228)]){const _0x35f7a3=document['querySelector'](_0x55d6d4(0x23b))!==null;console['log'](LOG_PREFIX2+_0x55d6d4(0x223)+_0x35f7a3);if(!_0x35f7a3){console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x213)),window[_0x55d6d4(0x25e)][_0x55d6d4(0x22b)]();return;}}console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x218)),updateOverlay(),console[_0x55d6d4(0x2c3)](LOG_PREFIX2+_0x55d6d4(0x27b));}catch(_0x31d3f7){console[_0x55d6d4(0x1fa)](LOG_PREFIX2+'\x20Failed\x20to\x20register\x20service\x20worker:',_0x31d3f7);}}async function sendConfiguration(){const _0x2ff978=_0x42261c;console[_0x2ff978(0x2c3)](LOG_PREFIX2+_0x2ff978(0x27d)),console[_0x2ff978(0x2c3)](LOG_PREFIX2+_0x2ff978(0x201)+state[_0x2ff978(0x228)]+',\x20currentOptions:\x20'+!!currentOptions2);if(!state[_0x2ff978(0x228)]||!currentOptions2){console[_0x2ff978(0x2c3)](LOG_PREFIX2+_0x2ff978(0x264));return;}const _0xfdaad4=await resolveWorker();if(!_0xfdaad4){console[_0x2ff978(0x2b3)](LOG_PREFIX2+_0x2ff978(0x20c));return;}const _0x154d59={'publishableKey':currentOptions2[_0x2ff978(0x281)],'callbackBypass':currentOptions2[_0x2ff978(0x222)],'securityMode':currentOptions2['security']};console['log'](LOG_PREFIX2+'\x20Sending\x20customer\x20config\x20to\x20SW:',JSON[_0x2ff978(0x240)](_0x154d59,null,0x2)),_0xfdaad4[_0x2ff978(0x2ac)]({'type':WORKER_MESSAGE_CONFIG,'config':_0x154d59}),console[_0x2ff978(0x2c3)](LOG_PREFIX2+_0x2ff978(0x2ba));}async function unregisterServiceWorker(_0x1deded){const _0x460174=_0x42261c;console['log'](LOG_PREFIX2+_0x460174(0x2bc));if(!(_0x460174(0x204)in navigator)){console[_0x460174(0x2c3)](LOG_PREFIX2+'\x20No\x20serviceWorker\x20support\x20-\x20nothing\x20to\x20unregister');return;}try{const _0x59edbb=registration??await navigator[_0x460174(0x204)][_0x460174(0x250)]('/');if(!_0x59edbb){console[_0x460174(0x2c3)](LOG_PREFIX2+_0x460174(0x255));return;}console['log'](LOG_PREFIX2+_0x460174(0x20d),{'scope':_0x59edbb[_0x460174(0x20f)],'active':_0x59edbb[_0x460174(0x277)]?.[_0x460174(0x260)],'waiting':_0x59edbb[_0x460174(0x1fb)]?.[_0x460174(0x260)],'installing':_0x59edbb[_0x460174(0x29c)]?.['scriptURL']});const _0x433d6a=[_0x59edbb[_0x460174(0x277)]?.[_0x460174(0x260)],_0x59edbb[_0x460174(0x1fb)]?.[_0x460174(0x260)],_0x59edbb[_0x460174(0x29c)]?.[_0x460174(0x260)]],_0x46653c=_0x433d6a[_0x460174(0x2a6)](_0x568319=>_0x568319&&ownsServiceWorker(_0x568319,_0x1deded));if(!_0x46653c){console[_0x460174(0x2c3)](LOG_PREFIX2+_0x460174(0x1ed));return;}_0x59edbb[_0x460174(0x277)]&&(console[_0x460174(0x2c3)](LOG_PREFIX2+_0x460174(0x26f)),_0x59edbb[_0x460174(0x277)][_0x460174(0x2ac)]({'type':WORKER_MESSAGE_DISABLE})),console[_0x460174(0x2c3)](LOG_PREFIX2+_0x460174(0x1f2)),await _0x59edbb[_0x460174(0x28c)](),registration=null,currentOptions2=null,console[_0x460174(0x2c3)](LOG_PREFIX2+_0x460174(0x1f8));}catch(_0x3cef77){console[_0x460174(0x1fa)](LOG_PREFIX2+_0x460174(0x29f),_0x3cef77);}}function _0x565c(){const _0x2c4015=['scope','ready','ENHANCE_OVERLAY_PATH=https://assets-dev.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20OBFUSCATE=1\x20RELEASE=1\x20tsup','public','\x20Page\x20not\x20enhanced\x20by\x20SW\x20-\x20reloading\x20to\x20apply\x20enhancement','$RefreshSig$','\x20Controller\x20state:','delete','searchParams','\x20Updating\x20overlay...','startsWith','\x20Setting\x20up\x20remote\x20HMR...','enhance:disable','title','version','http://','\x20No\x20cached\x20controller\x20-\x20will\x20import\x20module','register','\x20Registration\x20returned:','callbackBypass','\x20Enhancement\x20detection:\x20wasEnhanced=','\x20Raw\x20options:','\x20Vite\x20HMR\x20client\x20loaded\x20for\x20','none','\x20Checking\x20for\x20blocking\x20service\x20worker...','enabled','\x20Load\x20already\x20in\x20progress\x20-\x20waiting...','\x20Service\x20workers\x20NOT\x20supported\x20in\x20this\x20browser','reload','\x20Overlay\x20controller\x20initialized\x20and\x20cached','/@react-refresh','__viteHMRLoaded','\x20Module\x20exports:','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://overlay.localhost:8099\x20tsup','undefined','[Enhance]\x20publishableKey\x20is\x20required\x20in\x20Enhance.init()','overlay','enhance','\x20SW\x20ready!\x20Active:','enhance:configure','href','\x20Current\x20controller\x20after\x20ready:','\x20composeOverlayState\x20-\x20state.controlled:\x20','backendUrl','[data-enhance-runtime-bootstrap]','./dev/index.d.ts','default','605519DuzmZh','\x20loadOverlay()\x20complete','stringify','\x20overlayController\x20exists:\x20','options','ENHANCE_OVERLAY_PATH=https://assets.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://api.enhancelabs.ai\x20tsup','controlled','state','trim','\x20No\x20current\x20controller','\x20HMR\x20setup\x20complete','^11.1.0','vite:beforeUpdate','236499TkityX','\x20Enhancement\x20features\x20will\x20NOT\x20work\x20until\x20it\x20is\x20unregistered','$RefreshReg$','update','\x20init()\x20called\x20at\x20','getRegistration','replaceState','\x20URL\x20params\x20parsed:','\x20React\x20Refresh\x20runtime\x20installed\x20for\x20','\x20Normal\x20mode\x20-\x20no\x20enhancement\x20params','\x20No\x20registration\x20found\x20-\x20nothing\x20to\x20unregister','\x20swPath:\x20','...','\x20overlayPath:\x20','onToggle','\x20Unregistering\x20any\x20existing\x20SW...','\x20Available\x20exports:','keys','sw-enhance','location','\x20Installing\x20React\x20Refresh\x20runtime\x20from\x20','scriptURL','/sw-enhance.js','position','\x20resolveWorker:','\x20Skipping\x20-\x20not\x20enabled\x20or\x20no\x20options','\x20with\x20scope\x20\x27/\x27...','\x20init()\x20complete\x20-\x20normal\x20mode','\x20enhancementId:\x20','\x20Found\x20cached\x20overlay\x20controller\x20on\x20window.__enhanceOverlay\x20-\x20skipping\x20reinit','^24.10.1','./dev/vite/index.d.ts','dev/','object','overlayPath','Enhance\x20preview\x20bootstrap\x20and\x20tooling\x20package.','\x20Sending\x20DISABLE\x20message\x20to\x20SW...','\x20Vite\x20update\x20pending\x20-\x20clearing\x20error','permissive','[Enhance\x20Config]\x20Build-time\x20defaults:','/assets/enhance-runtime.js','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://overlay.localhost:8099\x20tsup\x20--watch','\x20No\x20blocking\x20SW\x20found','\x20No\x20window\x20object\x20-\x20skipping','active','\x20enhancementUrl:\x20','13349XfzGDc','\x20setupRemoteHMR()\x20for\x20','\x20registerServiceWorker()\x20complete','toLowerCase','\x20sendConfiguration()\x20called','\x20Failed\x20to\x20prepare\x20remote\x20HMR\x20(non-fatal):','swPath','add','publishableKey','tsc\x20--noEmit','string','900276LfQyWb','\x20Vite\x20client\x20already\x20loaded\x20for\x20','\x20detectBlocking\x20-\x20existing\x20registration:','runtimeURL','\x20Calling\x20createOverlay()...','[Enhance\x20Overlay]','\x20init()\x20complete\x20-\x20enhancement\x20mode','origin','unregister','false','\x20composeOverlayState\x20-\x20enhancementId:\x20','\x20Module\x20missing\x20createOverlay\x20export!','\x20Explicit\x20disable\x20via\x20URL\x20param\x20-\x20exiting','explicitDisable','\x20Sending\x20customer\x20configuration...','createOverlay','1866MFjJlO','has','\x20Starting\x20overlay\x20load\x20(async)...','\x20Overlay\x20origin:\x20','disable','0.3.21','[Enhance\x20SW-Client]',',\x20owns=','installing','./dev/cli.js','970085kfVTjc','\x20Failed\x20to\x20unregister\x20service\x20worker:','^7.2.4','enhancementUrl','\x20Controller\x20already\x20exists\x20-\x20updating\x20overlay','enableViteHmr','init','\x20registerServiceWorker()\x20called','some','0.0.0','@enhance-eng/sandbox','https://api.enhancelabs.ai','\x20Failed\x20to\x20import/create\x20overlay:','__enhanceReactRefreshInstalledOrigins','postMessage','__enhanceOverlay','\x20Importing\x20overlay\x20module\x20from:\x20','enhancement','controller','4170904FKhIHy','\x20Vite\x20error\x20detected:','warn','function','https://assets.enhancelabs.ai/overlay.js','enhancementId','1666600hFFafS','^3.22.4','get','\x20Config\x20sent\x20to\x20SW','__enhanceOptions','\x20unregisterServiceWorker()\x20called','now','\x20loadOverlay()\x20called','\x20Loading\x20Vite\x20HMR\x20client\x20from\x20','info','\x20currentOptions\x20exists:\x20','__enhanceController','log','\x20Service\x20workers\x20supported','./dev/vite/index.js','\x20Registration\x20is\x20not\x20ours\x20-\x20not\x20unregistering','\x20BLOCKING\x20SW\x20detected:\x20','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20tsup\x20--watch','history','serviceWorkerURL','\x20Unregistering\x20SW...','\x20Invalid\x20React\x20Refresh\x20runtime','\x20detectBlocking\x20error:','\x20Enhancement\x20mode\x20ENABLED','enableOverlayHmr','\x20Page\x20was\x20not\x20controlled\x20-\x20SW\x20just\x20activated.\x20Reloading\x20to\x20enable\x20enhancement...','\x20SW\x20unregistered\x20successfully','\x20Calling\x20updateOverlay()...','error','waiting','\x20Document\x20readyState:\x20','^8.5.1',',\x20expected=','\x20Overlay\x20update\x20complete','injectIntoGlobalHook','\x20state.enabled:\x20','\x20loadOverlay()\x20failed:','security','serviceWorker','appError','\x20Module\x20imported\x20in\x20','err','enable','./dev/index.js',',\x20page\x20origin:\x20','toString','\x20No\x20service\x20worker\x20active\x20to\x20configure','\x20Found\x20registration:','N/A'];_0x565c=function(){return _0x2c4015;};return _0x565c();}function ownsServiceWorker(_0x3db785,_0x3849a7){const _0x3e6839=_0x42261c,_0x24ab3d=typeof window!=='undefined'?window[_0x3e6839(0x25e)][_0x3e6839(0x28b)]:'',_0x2c8149=new URL(_0x3849a7,_0x24ab3d||void 0x0)[_0x3e6839(0x237)],_0x7511f6=_0x3db785===_0x2c8149||_0x3db785['includes'](_0x3e6839(0x25d));return console[_0x3e6839(0x2c3)](LOG_PREFIX2+'\x20ownsServiceWorker?\x20scriptURL='+_0x3db785+_0x3e6839(0x1fe)+_0x2c8149+_0x3e6839(0x29b)+_0x7511f6),_0x7511f6;}function ownsCurrentController(_0x1ff622){const _0x2d5472=_0x42261c;if(typeof navigator===_0x2d5472(0x231))return![];const _0xf6e6=navigator[_0x2d5472(0x204)]?.['controller'];if(!_0xf6e6)return console['log'](LOG_PREFIX2+_0x2d5472(0x247)),![];return ownsServiceWorker(_0xf6e6[_0x2d5472(0x260)],_0x1ff622);}async function detectBlockingServiceWorker(_0x5c8a1a){const _0x26985e=_0x42261c;if(!navigator[_0x26985e(0x204)])return null;try{const _0x25570a=await navigator[_0x26985e(0x204)][_0x26985e(0x250)]('/');console[_0x26985e(0x2c3)](LOG_PREFIX2+_0x26985e(0x286),_0x25570a?.[_0x26985e(0x277)]?.[_0x26985e(0x260)]??_0x26985e(0x226));const _0x301453=_0x25570a?.['active']?.[_0x26985e(0x260)];if(!_0x301453)return null;if(ownsServiceWorker(_0x301453,_0x5c8a1a))return null;return _0x301453;}catch(_0x4167a4){return console['error'](LOG_PREFIX2+_0x26985e(0x1f4),_0x4167a4),null;}}async function resolveWorker(){const _0x1ea16f=_0x42261c,_0x2f2d77=registration??await navigator[_0x1ea16f(0x204)]?.[_0x1ea16f(0x250)]('/'),_0x32d080=_0x2f2d77?.[_0x1ea16f(0x277)]??_0x2f2d77?.[_0x1ea16f(0x1fb)]??_0x2f2d77?.[_0x1ea16f(0x29c)]??null;return console[_0x1ea16f(0x2c3)](LOG_PREFIX2+_0x1ea16f(0x263),_0x32d080?.['scriptURL']??_0x1ea16f(0x226),'state:\x20'+(_0x32d080?.['state']??_0x1ea16f(0x20e))),_0x32d080;}var LOG_PREFIX3='[Enhance\x20Runtime]';function isInitialized(){const _0x45f7e7=_0x42261c;return typeof window!==_0x45f7e7(0x231)&&window['__enhanceInitialized']===!![];}function setInitialized(_0x1244dc){typeof window!=='undefined'&&(window['__enhanceInitialized']=_0x1244dc);}function getOptions(){const _0xd26f57=_0x42261c;return typeof window!==_0xd26f57(0x231)?window['__enhanceOptions']??null:null;}function setOptions(_0x1e05b7){const _0x2efd79=_0x42261c;typeof window!==_0x2efd79(0x231)&&(window[_0x2efd79(0x2bb)]=_0x1e05b7);}var Enhance={'init'(_0x37e44b){const _0x531897=_0x42261c,_0x41ae4b=Date['now']();console[_0x531897(0x2c3)](LOG_PREFIX3+_0x531897(0x24f)+_0x41ae4b),console[_0x531897(0x2c3)](LOG_PREFIX3+'\x20Current\x20URL:\x20'+window[_0x531897(0x25e)][_0x531897(0x237)]),console[_0x531897(0x2c3)](LOG_PREFIX3+_0x531897(0x1fc)+document['readyState']),console[_0x531897(0x2c3)](LOG_PREFIX3+_0x531897(0x224),JSON[_0x531897(0x240)](_0x37e44b,null,0x2));if(isInitialized())return console['warn'](LOG_PREFIX3+'\x20Already\x20initialized\x20(window.__enhanceInitialized=true)\x20-\x20returning\x20existing\x20controller'),window['__enhanceController']??createController();setInitialized(!![]),console[_0x531897(0x2c3)](LOG_PREFIX3+'\x20First\x20initialization');const _0x19e441=normalizeOptions(_0x37e44b);setOptions(_0x19e441),console[_0x531897(0x2c3)](LOG_PREFIX3+'\x20Normalized\x20options:',JSON[_0x531897(0x240)](_0x19e441,null,0x2));const _0x4b0e51=parseUrlParams();console[_0x531897(0x2c3)](LOG_PREFIX3+_0x531897(0x252),JSON[_0x531897(0x240)](_0x4b0e51,null,0x2));if(_0x4b0e51[_0x531897(0x291)])return cleanUrlParam(_0x531897(0x234)),console[_0x531897(0x2c3)](LOG_PREFIX3+_0x531897(0x290)),createController();if(_0x4b0e51['hasEnhancement'])return console['log'](LOG_PREFIX3+_0x531897(0x1f5)),console[_0x531897(0x2c3)](LOG_PREFIX3+_0x531897(0x278)+_0x4b0e51[_0x531897(0x2a1)]),console[_0x531897(0x2c3)](LOG_PREFIX3+_0x531897(0x267)+_0x4b0e51[_0x531897(0x2b6)]),state[_0x531897(0x228)]=!![],console[_0x531897(0x2c3)](LOG_PREFIX3+_0x531897(0x296)),void loadOverlay({'overlayPath':_0x19e441[_0x531897(0x26d)],'enableViteHmr':_0x19e441['overlay'][_0x531897(0x2a3)],'options':_0x19e441,'onToggle':handleToggle}),console['log'](LOG_PREFIX3+'\x20Starting\x20SW\x20registration\x20(async)...'),void registerServiceWorker(_0x19e441),console[_0x531897(0x2c3)](LOG_PREFIX3+_0x531897(0x28a)),createController();return console[_0x531897(0x2c3)](LOG_PREFIX3+_0x531897(0x254)),console[_0x531897(0x2c3)](LOG_PREFIX3+_0x531897(0x25a)),void unregisterServiceWorker(_0x19e441['swPath']),console[_0x531897(0x2c3)](LOG_PREFIX3+_0x531897(0x266)),import.meta.hot&&(console['log'](LOG_PREFIX3+'\x20Setting\x20up\x20Vite\x20HMR\x20error\x20listeners'),import.meta.hot['on']('vite:error',_0x57596b=>{const _0x25b86f=_0x531897;console[_0x25b86f(0x2c3)](LOG_PREFIX3+_0x25b86f(0x2b2),_0x57596b),state[_0x25b86f(0x205)]={'message':_0x57596b[_0x25b86f(0x207)]['message']},updateOverlay();}),import.meta.hot['on'](_0x531897(0x24a),()=>{const _0x1ff5af=_0x531897;state[_0x1ff5af(0x205)]&&(console[_0x1ff5af(0x2c3)](LOG_PREFIX3+_0x1ff5af(0x270)),state[_0x1ff5af(0x205)]=null,updateOverlay());})),createController();}};function createController(){const _0x372696=_0x42261c,_0xbfb662={'enable'(){const _0x3cc36a=_0x1b08,_0x3730c2=getOptions();if(!_0x3730c2)return;state[_0x3cc36a(0x228)]=!![],void loadOverlay({'overlayPath':_0x3730c2[_0x3cc36a(0x26d)],'enableViteHmr':_0x3730c2[_0x3cc36a(0x233)][_0x3cc36a(0x2a3)],'options':_0x3730c2,'onToggle':handleToggle}),void registerServiceWorker(_0x3730c2),void sendConfiguration(),updateOverlay();},'disable'(){const _0x3a1589=_0x1b08,_0x39ec21=getOptions();if(!_0x39ec21)return;state[_0x3a1589(0x228)]=![],state[_0x3a1589(0x244)]=![],updateOverlay(),void unregisterServiceWorker(_0x39ec21[_0x3a1589(0x27f)]);},'status'(){const _0x3619b2=_0x1b08;return{'enabled':state[_0x3619b2(0x228)],'controlled':state[_0x3619b2(0x244)]};}};return typeof window!=='undefined'&&(window[_0x372696(0x2c2)]=_0xbfb662),_0xbfb662;}function handleToggle(){const _0x1c954c=_0x42261c,_0x32be10=createController();state[_0x1c954c(0x228)]?_0x32be10[_0x1c954c(0x298)]():_0x32be10[_0x1c954c(0x208)]();}function parseUrlParams(){const _0x522b2f=_0x42261c,_0x51d4b1=new URL(window[_0x522b2f(0x25e)][_0x522b2f(0x237)]),_0x223385=_0x51d4b1[_0x522b2f(0x217)][_0x522b2f(0x2b9)]('enhance')?.[_0x522b2f(0x27c)](),_0x2fb8f6=_0x51d4b1[_0x522b2f(0x217)][_0x522b2f(0x2b9)](_0x522b2f(0x2a1)),_0x4d6d9b=_0x51d4b1[_0x522b2f(0x217)][_0x522b2f(0x2b9)](_0x522b2f(0x2af));return{'hasEnhancement':Boolean(_0x2fb8f6||_0x4d6d9b),'explicitDisable':_0x223385==='0'||_0x223385===_0x522b2f(0x28d)||_0x223385==='off','enhancementUrl':_0x2fb8f6,'enhancementId':_0x4d6d9b};}function cleanUrlParam(_0x5e6f06){const _0x414b89=_0x42261c,_0x1e18b6=new URL(window[_0x414b89(0x25e)][_0x414b89(0x237)]);_0x1e18b6[_0x414b89(0x217)][_0x414b89(0x295)](_0x5e6f06)&&(_0x1e18b6['searchParams'][_0x414b89(0x216)](_0x5e6f06),window[_0x414b89(0x1f0)][_0x414b89(0x251)](null,document[_0x414b89(0x21c)],_0x1e18b6[_0x414b89(0x20b)]()));}var package_default={'name':_0x42261c(0x2a8),'version':_0x42261c(0x299),'type':'module','description':_0x42261c(0x26e),'license':'MIT','main':_0x42261c(0x209),'module':_0x42261c(0x209),'types':_0x42261c(0x23c),'exports':{'.':{'types':'./dev/index.d.ts','import':_0x42261c(0x209)},'./vite':{'types':_0x42261c(0x26a),'import':_0x42261c(0x1ec)}},'files':[_0x42261c(0x26b)],'bin':{'enhance-sandbox':_0x42261c(0x29d)},'scripts':{'typecheck':_0x42261c(0x282),'dev':_0x42261c(0x274),'dev:build':_0x42261c(0x230),'dev:staging':_0x42261c(0x1ef),'dev:staging:build':'ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20tsup','build':_0x42261c(0x243),'build:release':'ENHANCE_OVERLAY_PATH=https://assets.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://api.enhancelabs.ai\x20OBFUSCATE=1\x20RELEASE=1\x20tsup','build:release:dev':_0x42261c(0x211),'version':'bun\x20version\x20patch\x20--no-git-tag-version'},'dependencies':{'commander':_0x42261c(0x249),'zod':_0x42261c(0x2b8)},'devDependencies':{'@types/node':_0x42261c(0x269),'javascript-obfuscator':'^4.1.1','tsup':_0x42261c(0x1fd),'vite':_0x42261c(0x2a0)},'publishConfig':{'access':_0x42261c(0x212)}},DEFAULT_SERVICE_WORKER_PATH=_0x42261c(0x261),DEFAULT_RUNTIME_PATH=_0x42261c(0x273),PACKAGE_VERSION=typeof package_default['version']===_0x42261c(0x283)?package_default[_0x42261c(0x21d)]:_0x42261c(0x2a7);function normalizeAssetPath(_0x216542){const _0x200f19=_0x42261c;if(!_0x216542)return _0x216542;if(_0x216542[_0x200f19(0x219)](_0x200f19(0x21e))||_0x216542['startsWith']('https://'))return _0x216542;const _0x2a620f=_0x216542['replace'](/^\.\//,'');return _0x2a620f[_0x200f19(0x219)]('/')?_0x2a620f:'/'+_0x2a620f;}var defaultSwPath=normalizeAssetPath(DEFAULT_SERVICE_WORKER_PATH),defaultRuntimePath=normalizeAssetPath(DEFAULT_RUNTIME_PATH),Enhance2={'init'(_0x4f6959){const _0x527402=_0x42261c;return Enhance[_0x527402(0x2a4)](_0x4f6959);},'serviceWorkerURL'(){return defaultSwPath;},'runtimeURL'(){return defaultRuntimePath;},'assetManifest'(){return getAssetManifest();}};function getAssetManifest(){return{'version':PACKAGE_VERSION,'serviceWorker':serviceWorkerURL(),'runtime':runtimeURL(),'serviceWorkerDigest':null,'runtimeDigest':null};}function resolveServiceWorkerPath(){return serviceWorkerURL();}function serviceWorkerURL(){const _0x185f55=_0x42261c;return Enhance2[_0x185f55(0x1f1)]();}function runtimeURL(){const _0x4b4ba7=_0x42261c;return Enhance2[_0x4b4ba7(0x287)]();}export{Enhance2 as Enhance,getAssetManifest,resolveServiceWorkerPath,runtimeURL,serviceWorkerURL};
1
+ const _0x2d96e4=_0x16ac;(function(_0x3b6916,_0x5b86a5){const _0x3cd9dd=_0x16ac,_0x3e7e71=_0x3b6916();while(!![]){try{const _0x208feb=-parseInt(_0x3cd9dd(0x9d))/0x1+parseInt(_0x3cd9dd(0xbc))/0x2+-parseInt(_0x3cd9dd(0xff))/0x3+parseInt(_0x3cd9dd(0xfe))/0x4+-parseInt(_0x3cd9dd(0xa6))/0x5*(-parseInt(_0x3cd9dd(0xe1))/0x6)+parseInt(_0x3cd9dd(0x10f))/0x7*(-parseInt(_0x3cd9dd(0xee))/0x8)+-parseInt(_0x3cd9dd(0x91))/0x9*(-parseInt(_0x3cd9dd(0x128))/0xa);if(_0x208feb===_0x5b86a5)break;else _0x3e7e71['push'](_0x3e7e71['shift']());}catch(_0x128da9){_0x3e7e71['push'](_0x3e7e71['shift']());}}}(_0x5845,0x58dbd));var DEFAULT_OVERLAY_PATH=!![]?_0x2d96e4(0x99):_0x2d96e4(0x99),DEFAULT_BACKEND_URL=!![]?_0x2d96e4(0xd3):_0x2d96e4(0xd3),DEFAULT_OVERLAY_HMR=!![]?![]:![];console[_0x2d96e4(0x10c)](_0x2d96e4(0x79),{'overlayPath':DEFAULT_OVERLAY_PATH,'backendUrl':DEFAULT_BACKEND_URL,'overlayHmr':DEFAULT_OVERLAY_HMR});function normalizeOptions(_0x8900b6){const _0x2cc32e=_0x2d96e4;if(!_0x8900b6['publishableKey'])throw new Error(_0x2cc32e(0xe7));const _0x2aa07e=_0x8900b6[_0x2cc32e(0x118)]??{};return{'publishableKey':_0x8900b6[_0x2cc32e(0x86)],'callbackBypass':_0x8900b6[_0x2cc32e(0xab)]??[],'overlay':{'enabled':!![],'position':_0x2cc32e(0xa0),'enableViteHmr':_0x2aa07e[_0x2cc32e(0xfc)]??DEFAULT_OVERLAY_HMR},'logLevel':_0x2cc32e(0xe2),'swPath':'/sw-enhance.js','overlayPath':_0x2aa07e[_0x2cc32e(0xcd)]??DEFAULT_OVERLAY_PATH,'runtimeScriptPath':_0x2cc32e(0xb3),'security':_0x2aa07e['security']??_0x2cc32e(0x119),'backendUrl':_0x2aa07e['backendUrl']??DEFAULT_BACKEND_URL};}var state={'enabled':![],'controlled':![],'appError':null};function getEnhancementId(){const _0x1be307=_0x2d96e4;try{const _0x44b034=new URLSearchParams(window['location'][_0x1be307(0xe6)]);return _0x44b034[_0x1be307(0x116)](_0x1be307(0x10b))?.[_0x1be307(0xea)]()||'';}catch{return'';}}var LOG_PREFIX='[Enhance\x20Overlay]',overlayController=null,overlayLoadPromise=null,toggleHandler=null,currentOptions=null;async function loadOverlay(_0x586863){const _0x3397d3=_0x2d96e4;console[_0x3397d3(0x10c)](LOG_PREFIX+_0x3397d3(0xbb)),console[_0x3397d3(0x10c)](LOG_PREFIX+_0x3397d3(0xce)+_0x586863[_0x3397d3(0xcd)]),console['log'](LOG_PREFIX+_0x3397d3(0xa7)+_0x586863[_0x3397d3(0xd9)]),currentOptions=_0x586863[_0x3397d3(0xfd)],toggleHandler=_0x586863[_0x3397d3(0xc4)];if(overlayController){console[_0x3397d3(0x10c)](LOG_PREFIX+_0x3397d3(0xde)),updateOverlay();return;}if(overlayLoadPromise)return console[_0x3397d3(0x10c)](LOG_PREFIX+_0x3397d3(0x7a)),overlayLoadPromise;console[_0x3397d3(0x10c)](LOG_PREFIX+_0x3397d3(0x101)),overlayLoadPromise=doLoadOverlay(_0x586863);try{await overlayLoadPromise,console[_0x3397d3(0x10c)](LOG_PREFIX+'\x20loadOverlay()\x20complete');}catch(_0x503918){console[_0x3397d3(0xa4)](LOG_PREFIX+_0x3397d3(0x9e),_0x503918);}finally{overlayLoadPromise=null;}}async function doLoadOverlay(_0x55af9b){const _0x1d68b8=_0x2d96e4;console[_0x1d68b8(0x10c)](LOG_PREFIX+_0x1d68b8(0x77));if(typeof window===_0x1d68b8(0x94)){console[_0x1d68b8(0x10c)](LOG_PREFIX+_0x1d68b8(0x125));return;}if(window['__enhanceOverlay']){console[_0x1d68b8(0x10c)](LOG_PREFIX+_0x1d68b8(0xdc)),overlayController=window['__enhanceOverlay'];return;}console[_0x1d68b8(0x10c)](LOG_PREFIX+_0x1d68b8(0x113));try{_0x55af9b[_0x1d68b8(0xd9)]&&(console['log'](LOG_PREFIX+_0x1d68b8(0x7f)),await setupRemoteHMR(_0x55af9b['overlayPath']));console['log'](LOG_PREFIX+_0x1d68b8(0xc7)+_0x55af9b[_0x1d68b8(0xcd)]);const _0x4d3b7b=Date[_0x1d68b8(0xf5)](),_0x354179=await import(_0x55af9b['overlayPath']);console[_0x1d68b8(0x10c)](LOG_PREFIX+_0x1d68b8(0x111)+(Date[_0x1d68b8(0xf5)]()-_0x4d3b7b)+'ms'),console['log'](LOG_PREFIX+_0x1d68b8(0x107),Object['keys'](_0x354179));if(typeof _0x354179?.['createOverlay']!==_0x1d68b8(0x83)){console[_0x1d68b8(0xa4)](LOG_PREFIX+_0x1d68b8(0x104)),console[_0x1d68b8(0xa4)](LOG_PREFIX+_0x1d68b8(0x127),Object[_0x1d68b8(0xb2)](_0x354179));return;}console[_0x1d68b8(0x10c)](LOG_PREFIX+'\x20Calling\x20createOverlay()...');const _0x5b099a=_0x354179['createOverlay']();console[_0x1d68b8(0x10c)](LOG_PREFIX+_0x1d68b8(0xeb),_0x5b099a),overlayController=_0x5b099a,window[_0x1d68b8(0x11c)]=_0x5b099a,_0x5b099a[_0x1d68b8(0xc4)](_0x55af9b[_0x1d68b8(0xc4)]),console[_0x1d68b8(0x10c)](LOG_PREFIX+_0x1d68b8(0xb5)),console[_0x1d68b8(0x10c)](LOG_PREFIX+_0x1d68b8(0xec)),updateOverlay();}catch(_0x1578c0){console[_0x1d68b8(0xa4)](LOG_PREFIX+_0x1d68b8(0x76),_0x1578c0);}}function updateOverlay(){const _0x20ebbb=_0x2d96e4;console[_0x20ebbb(0x10c)](LOG_PREFIX+'\x20updateOverlay()\x20called'),console[_0x20ebbb(0x10c)](LOG_PREFIX+_0x20ebbb(0x132)+!!overlayController),console[_0x20ebbb(0x10c)](LOG_PREFIX+_0x20ebbb(0x12e)+!!currentOptions);if(!overlayController||!currentOptions){console[_0x20ebbb(0x10c)](LOG_PREFIX+_0x20ebbb(0xd1));return;}const _0x56b048=composeOverlayState(currentOptions);console['log'](LOG_PREFIX+'\x20Updating\x20overlay\x20with\x20state:',JSON[_0x20ebbb(0xc0)](_0x56b048,null,0x2)),overlayController['update'](_0x56b048),console[_0x20ebbb(0x10c)](LOG_PREFIX+_0x20ebbb(0x117));}function composeOverlayState(_0x587028){const _0x26bd49=_0x2d96e4,_0x9a52bd=getEnhancementId();return console[_0x26bd49(0x10c)](LOG_PREFIX+_0x26bd49(0x84)+_0x9a52bd),console[_0x26bd49(0x10c)](LOG_PREFIX+_0x26bd49(0x10d)+state[_0x26bd49(0xc5)]),console[_0x26bd49(0x10c)](LOG_PREFIX+_0x26bd49(0x12c)+state['controlled']),{'enhancementId':_0x9a52bd,'enabled':state[_0x26bd49(0xc5)],'controlled':state[_0x26bd49(0x8b)],'overlayPosition':_0x587028[_0x26bd49(0x72)][_0x26bd49(0xf9)],'securityMode':_0x587028[_0x26bd49(0x8a)],'backendBaseUrl':_0x587028[_0x26bd49(0x123)],'appError':state[_0x26bd49(0x105)]};}async function setupRemoteHMR(_0x307b87){const _0x46680c=_0x2d96e4;console[_0x46680c(0x10c)](LOG_PREFIX+_0x46680c(0xef)+_0x307b87);if(typeof window===_0x46680c(0x94))return;try{const _0x4a8382=new URL(_0x307b87,window[_0x46680c(0x9a)][_0x46680c(0xc6)]),_0x20f2d4=_0x4a8382['origin'];console[_0x46680c(0x10c)](LOG_PREFIX+'\x20Overlay\x20origin:\x20'+_0x20f2d4+',\x20page\x20origin:\x20'+window[_0x46680c(0x9a)][_0x46680c(0xc6)]);if(_0x20f2d4===window[_0x46680c(0x9a)][_0x46680c(0xc6)]){console[_0x46680c(0x10c)](LOG_PREFIX+_0x46680c(0xd5));return;}console[_0x46680c(0x10c)](LOG_PREFIX+'\x20Cross-origin\x20overlay\x20-\x20setting\x20up\x20HMR...'),await ensureReactRefreshPreamble(_0x20f2d4),await ensureViteClient(_0x20f2d4),console['log'](LOG_PREFIX+_0x46680c(0xb6));}catch(_0x4e7a99){console[_0x46680c(0xba)](LOG_PREFIX+'\x20Failed\x20to\x20prepare\x20remote\x20HMR\x20(non-fatal):',_0x4e7a99);}}async function ensureReactRefreshPreamble(_0x5bbb17){const _0x516918=_0x2d96e4;window[_0x516918(0xe9)]??(window[_0x516918(0xe9)]=new Set());if(window['__enhanceReactRefreshInstalledOrigins']['has'](_0x5bbb17)){console[_0x516918(0x10c)](LOG_PREFIX+'\x20React\x20Refresh\x20already\x20installed\x20for\x20'+_0x5bbb17);return;}console[_0x516918(0x10c)](LOG_PREFIX+'\x20Installing\x20React\x20Refresh\x20runtime\x20from\x20'+_0x5bbb17+_0x516918(0xe0));const _0xdfd3f8=await import(_0x5bbb17+'/@react-refresh'),_0x3a21f2=_0xdfd3f8&&typeof _0xdfd3f8===_0x516918(0xbf)&&_0x516918(0x120)in _0xdfd3f8?_0xdfd3f8[_0x516918(0x120)]:_0xdfd3f8;if(!isRefreshRuntime(_0x3a21f2)){console[_0x516918(0xba)](LOG_PREFIX+_0x516918(0xa2));return;}_0x3a21f2[_0x516918(0x93)](window),window[_0x516918(0xbd)]=()=>{},window[_0x516918(0xf2)]=()=>_0x46170b=>_0x46170b,window[_0x516918(0x11f)]=!![],window[_0x516918(0xe9)][_0x516918(0x114)](_0x5bbb17),console[_0x516918(0x10c)](LOG_PREFIX+'\x20React\x20Refresh\x20runtime\x20installed\x20for\x20'+_0x5bbb17);}async function ensureViteClient(_0x3761d3){const _0x5369c1=_0x2d96e4;window[_0x5369c1(0xf4)]??(window[_0x5369c1(0xf4)]=new Set());if(window['__viteHMRLoaded'][_0x5369c1(0xb0)](_0x3761d3)){console['log'](LOG_PREFIX+_0x5369c1(0xaa)+_0x3761d3);return;}console[_0x5369c1(0x10c)](LOG_PREFIX+_0x5369c1(0x122)+_0x3761d3+_0x5369c1(0xe0)),await import(_0x3761d3+'/@vite/client'),window['__viteHMRLoaded']['add'](_0x3761d3),console['log'](LOG_PREFIX+_0x5369c1(0xe5)+_0x3761d3);}function isRefreshRuntime(_0x43dfe9){const _0x5ab6b7=_0x2d96e4;return typeof _0x43dfe9===_0x5ab6b7(0xbf)&&_0x43dfe9!==null&&_0x5ab6b7(0x93)in _0x43dfe9&&typeof _0x43dfe9[_0x5ab6b7(0x93)]===_0x5ab6b7(0x83);}var WORKER_MESSAGE_CONFIG=_0x2d96e4(0x103),WORKER_MESSAGE_DISABLE=_0x2d96e4(0xb4),LOG_PREFIX2=_0x2d96e4(0xa5),registration=null,currentOptions2=null;async function registerServiceWorker(_0x3acae9){const _0x431fa0=_0x2d96e4;console[_0x431fa0(0x10c)](LOG_PREFIX2+_0x431fa0(0xdb));if(!(_0x431fa0(0xa8)in navigator)){console[_0x431fa0(0xba)](LOG_PREFIX2+_0x431fa0(0xd2));return;}const _0x9652e0=!!navigator[_0x431fa0(0xa8)][_0x431fa0(0x102)];currentOptions2=_0x3acae9;const _0xdf4d7d=await detectBlockingServiceWorker(_0x3acae9['swPath']);if(_0xdf4d7d){console[_0x431fa0(0xa4)](LOG_PREFIX2+'\x20BLOCKING\x20SW\x20detected:\x20'+_0xdf4d7d);return;}try{console[_0x431fa0(0x10c)](LOG_PREFIX2+_0x431fa0(0xc2)+_0x3acae9[_0x431fa0(0x112)]+'...'),registration=await navigator[_0x431fa0(0xa8)][_0x431fa0(0x82)](_0x3acae9[_0x431fa0(0x112)],{'scope':'/'}),console['log'](LOG_PREFIX2+_0x431fa0(0xf0)),await navigator[_0x431fa0(0xa8)][_0x431fa0(0x135)],console['log'](LOG_PREFIX2+'\x20SW\x20ready'),state[_0x431fa0(0x8b)]=ownsCurrentController(_0x3acae9[_0x431fa0(0x112)]);if(!_0x9652e0&&!navigator[_0x431fa0(0xa8)][_0x431fa0(0x102)]){console[_0x431fa0(0x10c)](LOG_PREFIX2+_0x431fa0(0xc9)),window[_0x431fa0(0x9a)][_0x431fa0(0x106)]();return;}console[_0x431fa0(0x10c)](LOG_PREFIX2+_0x431fa0(0xcf)),await sendConfiguration();if(state[_0x431fa0(0xc5)]){const _0x1ba187=document[_0x431fa0(0x97)](_0x431fa0(0xac))!==null;if(!_0x1ba187){console[_0x431fa0(0x10c)](LOG_PREFIX2+'\x20Page\x20not\x20enhanced\x20-\x20reloading'),window[_0x431fa0(0x9a)][_0x431fa0(0x106)]();return;}}updateOverlay(),console[_0x431fa0(0x10c)](LOG_PREFIX2+'\x20registerServiceWorker()\x20complete');}catch(_0x343aa5){console['error'](LOG_PREFIX2+_0x431fa0(0x98),_0x343aa5);}}async function sendConfiguration(){const _0x435417=_0x2d96e4;if(!state['enabled']||!currentOptions2)return;const _0x3f3086=await resolveWorker();if(!_0x3f3086){console['warn'](LOG_PREFIX2+_0x435417(0x81));return;}const _0x4ba507=window['__enhanceResolvedUrl']??null,_0x128d6e={'publishableKey':currentOptions2['publishableKey'],'callbackBypass':currentOptions2[_0x435417(0xab)],'securityMode':currentOptions2[_0x435417(0x8a)],'enhancementUrl':_0x4ba507??void 0x0};console[_0x435417(0x10c)](LOG_PREFIX2+_0x435417(0x136),JSON[_0x435417(0xc0)](_0x128d6e,null,0x2)),_0x3f3086[_0x435417(0xf1)]({'type':WORKER_MESSAGE_CONFIG,'config':_0x128d6e});}async function unregisterServiceWorker(_0x2379ae){const _0x34c847=_0x2d96e4;console['log'](LOG_PREFIX2+_0x34c847(0x95));if(!(_0x34c847(0xa8)in navigator))return;try{const _0x2594a2=registration??await navigator['serviceWorker']['getRegistration']('/');if(!_0x2594a2)return;const _0x20346f=[_0x2594a2[_0x34c847(0xb8)]?.[_0x34c847(0xc3)],_0x2594a2[_0x34c847(0xe4)]?.['scriptURL'],_0x2594a2[_0x34c847(0x126)]?.['scriptURL']],_0x1b347b=_0x20346f[_0x34c847(0x12d)](_0x774ddc=>_0x774ddc&&ownsServiceWorker(_0x774ddc,_0x2379ae));if(!_0x1b347b)return;_0x2594a2[_0x34c847(0xb8)]&&_0x2594a2[_0x34c847(0xb8)][_0x34c847(0xf1)]({'type':WORKER_MESSAGE_DISABLE}),await _0x2594a2['unregister'](),registration=null,currentOptions2=null,console['log'](LOG_PREFIX2+_0x34c847(0x8d));}catch(_0x526762){console['error'](LOG_PREFIX2+'\x20Failed\x20to\x20unregister\x20service\x20worker:',_0x526762);}}function ownsServiceWorker(_0x2de9d9,_0x29f3c7){const _0x523e49=_0x2d96e4,_0x3565ed=typeof window!==_0x523e49(0x94)?window[_0x523e49(0x9a)][_0x523e49(0xc6)]:'',_0x549563=new URL(_0x29f3c7,_0x3565ed||void 0x0)[_0x523e49(0x115)];return _0x2de9d9===_0x549563||_0x2de9d9['includes'](_0x523e49(0xca));}function ownsCurrentController(_0x295659){const _0x2c3b11=_0x2d96e4,_0x486ab9=navigator[_0x2c3b11(0xa8)]?.['controller'];if(!_0x486ab9)return![];return ownsServiceWorker(_0x486ab9[_0x2c3b11(0xc3)],_0x295659);}async function detectBlockingServiceWorker(_0x2d6bc2){const _0xaf3efa=_0x2d96e4;if(!navigator['serviceWorker'])return null;try{const _0x1a568d=await navigator[_0xaf3efa(0xa8)][_0xaf3efa(0xaf)]('/'),_0x5e39b3=_0x1a568d?.[_0xaf3efa(0xb8)]?.['scriptURL'];if(!_0x5e39b3)return null;if(ownsServiceWorker(_0x5e39b3,_0x2d6bc2))return null;return _0x5e39b3;}catch{return null;}}async function resolveWorker(){const _0x46d12c=_0x2d96e4,_0x531c15=registration??await navigator[_0x46d12c(0xa8)]?.['getRegistration']('/');return _0x531c15?.[_0x46d12c(0xb8)]??_0x531c15?.['waiting']??_0x531c15?.[_0x46d12c(0x126)]??null;}var LOG_PREFIX3=_0x2d96e4(0xc8),STORAGE_KEY_ENHANCEMENT_ID='enhance.enhancementId',STORAGE_KEY_ENHANCEMENT_URL=_0x2d96e4(0xed);function isInitialized(){const _0x3b8eb8=_0x2d96e4;return typeof window!==_0x3b8eb8(0x94)&&window[_0x3b8eb8(0x75)]===!![];}function setInitialized(_0x4114cd){const _0x94ed50=_0x2d96e4;typeof window!=='undefined'&&(window[_0x94ed50(0x75)]=_0x4114cd);}function getOptions(){const _0x59a7cd=_0x2d96e4;return typeof window!==_0x59a7cd(0x94)?window[_0x59a7cd(0xda)]??null:null;}function setOptions(_0x2fd1b3){const _0x10e7e7=_0x2d96e4;typeof window!==_0x10e7e7(0x94)&&(window[_0x10e7e7(0xda)]=_0x2fd1b3);}var Enhance={'init'(_0x1aa5e3){const _0xb5e559=_0x2d96e4,_0x2888a8=Date['now']();console[_0xb5e559(0x10c)](LOG_PREFIX3+_0xb5e559(0x121)+_0x2888a8),console[_0xb5e559(0x10c)](LOG_PREFIX3+_0xb5e559(0x9f)+window[_0xb5e559(0x9a)]['href']),console['log'](LOG_PREFIX3+_0xb5e559(0x78)+document[_0xb5e559(0xd7)]);if(isInitialized())return console[_0xb5e559(0xba)](LOG_PREFIX3+_0xb5e559(0x100)),window[_0xb5e559(0x12f)]??createController();setInitialized(!![]);const _0x17ed52=normalizeOptions(_0x1aa5e3);setOptions(_0x17ed52);const _0x19b26c=parseEnhancementParams();console[_0xb5e559(0x10c)](LOG_PREFIX3+_0xb5e559(0x7d),JSON[_0xb5e559(0xc0)](_0x19b26c,null,0x2));if(_0x19b26c[_0xb5e559(0x88)])return cleanUrlParam(_0xb5e559(0x9b)),clearPersistedEnhancement(),console[_0xb5e559(0x10c)](LOG_PREFIX3+_0xb5e559(0x92)),createController();if(!_0x19b26c[_0xb5e559(0xdf)])return console[_0xb5e559(0x10c)](LOG_PREFIX3+_0xb5e559(0x7b)),void unregisterServiceWorker(_0x17ed52['swPath']),setupViteErrorListeners(),createController();return console['log'](LOG_PREFIX3+_0xb5e559(0xae)+_0x19b26c[_0xb5e559(0xdf)]),state[_0xb5e559(0xc5)]=!![],void initializeEnhancement(_0x17ed52,_0x19b26c['enhancementId'],_0x19b26c['cachedUrl']),createController();}};async function initializeEnhancement(_0x332886,_0x5654a1,_0x4c81f9){const _0x50dd12=_0x2d96e4;let _0x3f4575=_0x4c81f9;if(!_0x3f4575){console['log'](LOG_PREFIX3+_0x50dd12(0xcb)+_0x5654a1),_0x3f4575=await resolveEnhancementUrl(_0x332886,_0x5654a1);if(!_0x3f4575){console[_0x50dd12(0xa4)](LOG_PREFIX3+'\x20Failed\x20to\x20resolve\x20enhancement\x20-\x20aborting'),state[_0x50dd12(0xc5)]=![];return;}}else console[_0x50dd12(0x10c)](LOG_PREFIX3+'\x20Using\x20cached\x20enhancement\x20URL:\x20'+_0x3f4575);persistEnhancement(_0x5654a1,_0x3f4575),window['__enhanceResolvedUrl']=_0x3f4575,console[_0x50dd12(0x10c)](LOG_PREFIX3+_0x50dd12(0x85)),await registerServiceWorker(_0x332886),console[_0x50dd12(0x10c)](LOG_PREFIX3+_0x50dd12(0x10e)),await loadOverlay({'overlayPath':_0x332886['overlayPath'],'enableViteHmr':_0x332886[_0x50dd12(0x72)]['enableViteHmr'],'options':_0x332886,'onToggle':handleToggle}),console[_0x50dd12(0x10c)](LOG_PREFIX3+_0x50dd12(0xd6));}async function resolveEnhancementUrl(_0x360df6,_0x2d1127){const _0x43fc7d=_0x2d96e4,_0x283c76=_0x360df6[_0x43fc7d(0x123)]+'/public/enhancements/'+_0x2d1127+_0x43fc7d(0xfa);console[_0x43fc7d(0x10c)](LOG_PREFIX3+_0x43fc7d(0x80)+_0x283c76);try{const _0x417f54=await fetch(_0x283c76,{'headers':{'X-Enhance-Publishable-Key':_0x360df6[_0x43fc7d(0x86)]}});if(!_0x417f54['ok']){const _0x4efff0=await _0x417f54['text']();return console[_0x43fc7d(0xa4)](LOG_PREFIX3+_0x43fc7d(0xb9)+_0x417f54[_0x43fc7d(0x89)]+'\x20'+_0x4efff0),null;}const _0x39c9a1=await _0x417f54['json'](),_0x1b397e=''+_0x360df6[_0x43fc7d(0x123)]+_0x39c9a1['operatingPath'];return console[_0x43fc7d(0x10c)](LOG_PREFIX3+'\x20Resolved\x20to:\x20'+_0x1b397e),_0x1b397e;}catch(_0x162f34){return console[_0x43fc7d(0xa4)](LOG_PREFIX3+'\x20Resolution\x20error:',_0x162f34),null;}}function parseEnhancementParams(){const _0x148d29=_0x2d96e4,_0x3da37a=new URL(window[_0x148d29(0x9a)][_0x148d29(0x115)]),_0x2bd889=_0x3da37a['searchParams']['get']('enhance')?.[_0x148d29(0x9c)](),_0x1fce0a=_0x2bd889==='0'||_0x2bd889===_0x148d29(0xcc)||_0x2bd889===_0x148d29(0xe3);let _0x54d6cc=_0x3da37a[_0x148d29(0xf6)][_0x148d29(0x116)]('enhancement'),_0x88aca7=null;if(_0x54d6cc)try{const _0x4a17ba=sessionStorage[_0x148d29(0x108)](STORAGE_KEY_ENHANCEMENT_ID),_0x51536d=sessionStorage[_0x148d29(0x108)](STORAGE_KEY_ENHANCEMENT_URL);_0x4a17ba===_0x54d6cc&&_0x51536d&&(_0x88aca7=_0x51536d,console[_0x148d29(0x10c)](LOG_PREFIX3+'\x20Found\x20cached\x20URL\x20for\x20enhancement\x20ID'));}catch{}else try{const _0x9d2ecc=sessionStorage[_0x148d29(0x108)](STORAGE_KEY_ENHANCEMENT_ID),_0x947a09=sessionStorage[_0x148d29(0x108)](STORAGE_KEY_ENHANCEMENT_URL);_0x9d2ecc&&_0x947a09&&(_0x54d6cc=_0x9d2ecc,_0x88aca7=_0x947a09,console[_0x148d29(0x10c)](LOG_PREFIX3+_0x148d29(0xdd)),_0x3da37a['searchParams'][_0x148d29(0x8f)]('enhancement',_0x54d6cc),window[_0x148d29(0xa1)]['replaceState'](null,document[_0x148d29(0x11e)],_0x3da37a[_0x148d29(0x130)]()));}catch{}return{'enhancementId':_0x54d6cc,'cachedUrl':_0x88aca7,'explicitDisable':_0x1fce0a};}function persistEnhancement(_0x2a832b,_0x469c2e){const _0x253226=_0x2d96e4;try{sessionStorage[_0x253226(0xc1)](STORAGE_KEY_ENHANCEMENT_ID,_0x2a832b),sessionStorage[_0x253226(0xc1)](STORAGE_KEY_ENHANCEMENT_URL,_0x469c2e),console['log'](LOG_PREFIX3+'\x20Persisted\x20enhancement\x20to\x20sessionStorage');}catch{}}function _0x16ac(_0x4861ef,_0x5aa3d3){_0x4861ef=_0x4861ef-0x72;const _0x58457=_0x5845();let _0x16ac2d=_0x58457[_0x4861ef];return _0x16ac2d;}function clearPersistedEnhancement(){const _0x2f3289=_0x2d96e4;try{sessionStorage[_0x2f3289(0x8c)](STORAGE_KEY_ENHANCEMENT_ID),sessionStorage[_0x2f3289(0x8c)](STORAGE_KEY_ENHANCEMENT_URL),console[_0x2f3289(0x10c)](LOG_PREFIX3+_0x2f3289(0xf7));}catch{}}function createController(){const _0x11c825=_0x2d96e4,_0x4f882e={'enable'(){const _0x7ed24b=getOptions();if(!_0x7ed24b)return;state['enabled']=!![],void registerServiceWorker(_0x7ed24b),void sendConfiguration(),updateOverlay();},'disable'(){const _0x1c641f=_0x16ac,_0x25d76d=getOptions();if(!_0x25d76d)return;state['enabled']=![],state[_0x1c641f(0x8b)]=![],clearPersistedEnhancement(),updateOverlay(),void unregisterServiceWorker(_0x25d76d[_0x1c641f(0x112)]);},'status'(){const _0x3dd844=_0x16ac;return{'enabled':state[_0x3dd844(0xc5)],'controlled':state[_0x3dd844(0x8b)]};}};return typeof window!==_0x11c825(0x94)&&(window[_0x11c825(0x12f)]=_0x4f882e),_0x4f882e;}function handleToggle(){const _0xc97fbc=_0x2d96e4,_0x1a1bc2=createController();state[_0xc97fbc(0xc5)]?_0x1a1bc2[_0xc97fbc(0xf8)]():_0x1a1bc2[_0xc97fbc(0x7c)]();}function cleanUrlParam(_0x140010){const _0x2d3115=_0x2d96e4,_0x4798f1=new URL(window[_0x2d3115(0x9a)]['href']);_0x4798f1['searchParams'][_0x2d3115(0xb0)](_0x140010)&&(_0x4798f1['searchParams'][_0x2d3115(0x131)](_0x140010),window[_0x2d3115(0xa1)][_0x2d3115(0xd4)](null,document[_0x2d3115(0x11e)],_0x4798f1[_0x2d3115(0x130)]()));}function setupViteErrorListeners(){const _0x3cffc6=_0x2d96e4;import.meta.hot&&(import.meta.hot['on'](_0x3cffc6(0xfb),_0x3ed5c2=>{const _0xd17e62=_0x3cffc6;state[_0xd17e62(0x105)]={'message':_0x3ed5c2[_0xd17e62(0xad)]['message']},updateOverlay();}),import.meta.hot['on']('vite:beforeUpdate',()=>{state['appError']&&(state['appError']=null,updateOverlay());}));}var package_default={'name':'@enhance-eng/sandbox','version':_0x2d96e4(0xa9),'type':_0x2d96e4(0x109),'description':_0x2d96e4(0x134),'license':_0x2d96e4(0x12b),'main':_0x2d96e4(0x8e),'module':'./dev/index.js','types':_0x2d96e4(0x11d),'exports':{'.':{'types':_0x2d96e4(0x11d),'import':'./dev/index.js'},'./vite':{'types':_0x2d96e4(0x7e),'import':_0x2d96e4(0x96)}},'files':[_0x2d96e4(0x11b)],'bin':{'enhance-sandbox':_0x2d96e4(0xf3)},'scripts':{'typecheck':_0x2d96e4(0x129),'dev':'ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://overlay.localhost:8099\x20tsup\x20--watch','dev:build':_0x2d96e4(0x87),'dev:staging':'ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20tsup\x20--watch','dev:staging:build':_0x2d96e4(0x11a),'build':'ENHANCE_OVERLAY_PATH=https://assets.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://api.enhancelabs.ai\x20tsup','build:release':_0x2d96e4(0xb7),'build:release:dev':_0x2d96e4(0x110),'version':_0x2d96e4(0xbe)},'dependencies':{'commander':_0x2d96e4(0xd0),'zod':_0x2d96e4(0x133)},'devDependencies':{'@types/node':'^24.10.1','javascript-obfuscator':_0x2d96e4(0x74),'tsup':'^8.5.1','vite':_0x2d96e4(0xa3)},'publishConfig':{'access':_0x2d96e4(0x124)}},DEFAULT_SERVICE_WORKER_PATH='/sw-enhance.js',DEFAULT_RUNTIME_PATH=_0x2d96e4(0xb3),PACKAGE_VERSION=typeof package_default[_0x2d96e4(0x12a)]===_0x2d96e4(0x90)?package_default['version']:'0.0.0';function normalizeAssetPath(_0x3d407c){const _0x137833=_0x2d96e4;if(!_0x3d407c)return _0x3d407c;if(_0x3d407c['startsWith'](_0x137833(0xd8))||_0x3d407c['startsWith']('https://'))return _0x3d407c;const _0x41800a=_0x3d407c[_0x137833(0x10a)](/^\.\//,'');return _0x41800a[_0x137833(0x73)]('/')?_0x41800a:'/'+_0x41800a;}var defaultSwPath=normalizeAssetPath(DEFAULT_SERVICE_WORKER_PATH),defaultRuntimePath=normalizeAssetPath(DEFAULT_RUNTIME_PATH),Enhance2={'init'(_0x5174c4){const _0x2abd78=_0x2d96e4;return Enhance[_0x2abd78(0xb1)](_0x5174c4);},'serviceWorkerURL'(){return defaultSwPath;},'runtimeURL'(){return defaultRuntimePath;},'assetManifest'(){return getAssetManifest();}};function getAssetManifest(){return{'version':PACKAGE_VERSION,'serviceWorker':serviceWorkerURL(),'runtime':runtimeURL(),'serviceWorkerDigest':null,'runtimeDigest':null};}function _0x5845(){const _0x40017d=['\x20enableViteHmr:\x20','serviceWorker','0.3.21','\x20Vite\x20client\x20already\x20loaded\x20for\x20','callbackBypass','[data-enhance-runtime-bootstrap]','err','\x20Enhancement\x20mode\x20-\x20ID:\x20','getRegistration','has','init','keys','/assets/enhance-runtime.js','enhance:disable','\x20Overlay\x20controller\x20initialized\x20and\x20cached','\x20HMR\x20setup\x20complete','ENHANCE_OVERLAY_PATH=https://assets.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://api.enhancelabs.ai\x20OBFUSCATE=1\x20RELEASE=1\x20tsup','active','\x20Resolution\x20failed:\x20','warn','\x20loadOverlay()\x20called','432292zWslZa','$RefreshReg$','bun\x20version\x20patch\x20--no-git-tag-version','object','stringify','setItem','\x20Registering\x20SW\x20at\x20','scriptURL','onToggle','enabled','origin','\x20Importing\x20overlay\x20module\x20from:\x20','[Enhance\x20Runtime]','\x20SW\x20just\x20activated\x20-\x20reloading\x20to\x20enable\x20enhancement','sw-enhance','\x20Resolving\x20enhancement\x20ID:\x20','false','overlayPath','\x20overlayPath:\x20','\x20Sending\x20configuration\x20to\x20SW...','^11.1.0','\x20Missing\x20controller\x20or\x20options\x20-\x20skipping\x20update','\x20Service\x20workers\x20NOT\x20supported','https://api.enhancelabs.ai','replaceState','\x20Same\x20origin\x20-\x20skipping\x20HMR\x20setup','\x20Enhancement\x20initialization\x20complete','readyState','http://','enableViteHmr','__enhanceOptions','\x20registerServiceWorker()\x20called','\x20Found\x20cached\x20overlay\x20controller\x20on\x20window.__enhanceOverlay\x20-\x20skipping\x20reinit','\x20Restored\x20enhancement\x20from\x20sessionStorage','\x20Controller\x20already\x20exists\x20-\x20updating\x20overlay','enhancementId','...','186cNdOum','info','off','waiting','\x20Vite\x20HMR\x20client\x20loaded\x20for\x20','search','[Enhance]\x20publishableKey\x20is\x20required\x20in\x20Enhance.init()','serviceWorkerURL','__enhanceReactRefreshInstalledOrigins','trim','\x20Controller\x20created:','\x20Calling\x20updateOverlay()...','enhance.enhancementUrl','152ywFysJ','\x20setupRemoteHMR()\x20for\x20','\x20Waiting\x20for\x20SW\x20ready...','postMessage','$RefreshSig$','./dev/cli.js','__viteHMRLoaded','now','searchParams','\x20Cleared\x20persisted\x20enhancement','disable','position','/resolve','vite:error','enableOverlayHmr','options','2121060JpcUWF','459162uysblu','\x20Already\x20initialized\x20-\x20returning\x20existing\x20controller','\x20Starting\x20fresh\x20overlay\x20load...','controller','enhance:configure','\x20Module\x20missing\x20createOverlay\x20export!','appError','reload','\x20Module\x20exports:','getItem','module','replace','enhancement','log','\x20composeOverlayState\x20-\x20state.enabled:\x20','\x20Loading\x20overlay...','240989rFXHNb','ENHANCE_OVERLAY_PATH=https://assets-dev.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20OBFUSCATE=1\x20RELEASE=1\x20tsup','\x20Module\x20imported\x20in\x20','swPath','\x20No\x20cached\x20controller\x20-\x20will\x20import\x20module','add','href','get','\x20Overlay\x20update\x20complete','__development','permissive','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20tsup','dev/','__enhanceOverlay','./dev/index.d.ts','title','__vite_plugin_react_preamble_installed__','default','\x20init()\x20called\x20at\x20','\x20Loading\x20Vite\x20HMR\x20client\x20from\x20','backendUrl','public','\x20No\x20window\x20object\x20-\x20skipping','installing','\x20Available\x20exports:','1810YxWLTW','tsc\x20--noEmit','version','MIT','\x20composeOverlayState\x20-\x20state.controlled:\x20','some','\x20currentOptions\x20exists:\x20','__enhanceController','toString','delete','\x20overlayController\x20exists:\x20','^3.22.4','Enhance\x20preview\x20bootstrap\x20and\x20tooling\x20package.','ready','\x20Sending\x20config\x20to\x20SW:','overlay','startsWith','^4.1.1','__enhanceInitialized','\x20Failed\x20to\x20import/create\x20overlay:','\x20doLoadOverlay()\x20starting...','\x20Document\x20readyState:\x20','[Enhance\x20Config]\x20Build-time\x20defaults:','\x20Load\x20already\x20in\x20progress\x20-\x20waiting...','\x20Normal\x20mode\x20-\x20no\x20enhancement','enable','\x20Enhancement\x20params:','./dev/vite/index.d.ts','\x20Setting\x20up\x20remote\x20HMR...','\x20Calling:\x20','\x20No\x20service\x20worker\x20active\x20to\x20configure','register','function','\x20composeOverlayState\x20-\x20enhancementId:\x20','\x20Registering\x20SW\x20with\x20enhancement\x20URL...','publishableKey','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://overlay.localhost:8099\x20tsup','explicitDisable','status','security','controlled','removeItem','\x20SW\x20unregistered','./dev/index.js','set','string','19737ObXQwL','\x20Explicit\x20disable\x20-\x20exiting','injectIntoGlobalHook','undefined','\x20unregisterServiceWorker()\x20called','./dev/vite/index.js','querySelector','\x20Failed\x20to\x20register\x20service\x20worker:','https://assets.enhancelabs.ai/overlay.js','location','enhance','toLowerCase','111681WMmEzf','\x20loadOverlay()\x20failed:','\x20Current\x20URL:\x20','bottom-right','history','\x20Invalid\x20React\x20Refresh\x20runtime','^7.2.4','error','[Enhance\x20SW-Client]','22495LpoQPU'];_0x5845=function(){return _0x40017d;};return _0x5845();}function resolveServiceWorkerPath(){return serviceWorkerURL();}function serviceWorkerURL(){const _0xa081c1=_0x2d96e4;return Enhance2[_0xa081c1(0xe8)]();}function runtimeURL(){return Enhance2['runtimeURL']();}export{Enhance2 as Enhance,getAssetManifest,resolveServiceWorkerPath,runtimeURL,serviceWorkerURL};
package/dist/cli.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const _0x24bed1=_0x441d;(function(_0x841b07,_0x5312c6){const _0x5cbc1f=_0x441d,_0x522102=_0x841b07();while(!![]){try{const _0x2ad405=-parseInt(_0x5cbc1f(0x295))/0x1+parseInt(_0x5cbc1f(0x1f6))/0x2+parseInt(_0x5cbc1f(0x209))/0x3+-parseInt(_0x5cbc1f(0x1e9))/0x4*(parseInt(_0x5cbc1f(0x26c))/0x5)+-parseInt(_0x5cbc1f(0x249))/0x6*(-parseInt(_0x5cbc1f(0x25a))/0x7)+-parseInt(_0x5cbc1f(0x284))/0x8+parseInt(_0x5cbc1f(0x242))/0x9*(-parseInt(_0x5cbc1f(0x1f7))/0xa);if(_0x2ad405===_0x5312c6)break;else _0x522102['push'](_0x522102['shift']());}catch(_0x1a3068){_0x522102['push'](_0x522102['shift']());}}}(_0x5553,0x8361b));import{Command}from'commander';import{resolve,relative}from'path';var DEFAULT_OVERLAY_PATH=typeof __ENHANCE_DEFAULT_OVERLAY_PATH__!==_0x24bed1(0x1b8)?__ENHANCE_DEFAULT_OVERLAY_PATH__:_0x24bed1(0x264),DEFAULT_BACKEND_URL=typeof __ENHANCE_DEFAULT_BACKEND_URL__!=='undefined'?__ENHANCE_DEFAULT_BACKEND_URL__:_0x24bed1(0x1e8),DEFAULT_OVERLAY_HMR=typeof __ENHANCE_OVERLAY_ENABLE_HMR__!=='undefined'?__ENHANCE_OVERLAY_ENABLE_HMR__:![];console[_0x24bed1(0x275)](_0x24bed1(0x2b4),{'overlayPath':DEFAULT_OVERLAY_PATH,'backendUrl':DEFAULT_BACKEND_URL,'overlayHmr':DEFAULT_OVERLAY_HMR});function normalizeOptions(_0x5b5922){const _0x491d13=_0x24bed1;if(!_0x5b5922[_0x491d13(0x1bb)])throw new Error('[Enhance]\x20publishableKey\x20is\x20required\x20in\x20Enhance.init()');const _0x4b4105=_0x5b5922[_0x491d13(0x236)]??{};return{'publishableKey':_0x5b5922[_0x491d13(0x1bb)],'callbackBypass':_0x5b5922[_0x491d13(0x1e0)]??[],'overlay':{'enabled':!![],'position':'bottom-right','enableViteHmr':_0x4b4105[_0x491d13(0x20d)]??DEFAULT_OVERLAY_HMR},'logLevel':_0x491d13(0x21f),'swPath':_0x491d13(0x27d),'overlayPath':_0x4b4105[_0x491d13(0x24b)]??DEFAULT_OVERLAY_PATH,'runtimeScriptPath':_0x491d13(0x237),'security':_0x4b4105[_0x491d13(0x2a5)]??_0x491d13(0x207),'backendUrl':_0x4b4105[_0x491d13(0x21b)]??DEFAULT_BACKEND_URL};}var state={'enabled':![],'controlled':![],'appError':null};function getEnhancementId(){const _0xdbc590=_0x24bed1;try{const _0x1ce1d2=new URLSearchParams(window[_0xdbc590(0x24c)][_0xdbc590(0x2a8)]);return _0x1ce1d2[_0xdbc590(0x1da)]('enhancement')?.['trim']()||'';}catch{return'';}}function _0x5553(){const _0x17b247=['\x20Failed\x20to\x20register\x20service\x20worker:','\x20Already\x20initialized\x20(window.__enhanceInitialized=true)\x20-\x20returning\x20existing\x20controller','__enhanceOverlay','0.0.0','\x20swPath:\x20','\x20sendConfiguration()\x20called','get','\x20Controller\x20state:','\x20Current\x20URL:\x20','../dist/index.js','[data-enhance-runtime-bootstrap]','Copy\x20the\x20service\x20worker\x20and\x20overlay\x20bundle\x20into\x20a\x20public\x20directory','callbackBypass','\x20Normal\x20mode\x20-\x20no\x20enhancement\x20params','skipped','err','\x20Unregistering\x20any\x20existing\x20SW...','\x20No\x20blocking\x20SW\x20found','\x20setupRemoteHMR()\x20for\x20','Print\x20the\x20current\x20asset\x20manifest','https://api.enhancelabs.ai','1672444Rwvtqp','function','explicitDisable','\x20Overlay\x20origin:\x20','version','\x20Available\x20exports:','options','./dev/cli.js','\x20loadOverlay()\x20failed:','\x20Setting\x20up\x20remote\x20HMR...','enhancementUrl','destinationPath','module','2031610RExYUD','2057980LhnZtW','\x20Registering\x20SW\x20at\x20','swPath','\x20Checking\x20for\x20blocking\x20service\x20worker...','\x20HMR\x20setup\x20complete','none','Directory\x20to\x20copy\x20the\x20service\x20worker\x20into','push','serviceWorker','\x20Sending\x20customer\x20config\x20to\x20SW:','Enhance\x20sandbox\x20utility\x20CLI','\x20state.enabled:\x20','overlay','startsWith','\x20Page\x20was\x20not\x20controlled\x20-\x20SW\x20just\x20activated.\x20Reloading\x20to\x20enable\x20enhancement...','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://overlay.localhost:8099\x20tsup\x20--watch','permissive','sha256','2737584SdQlGz','keys','enhance-sandbox','Override\x20the\x20service\x20worker\x20output\x20filename\x20(defaults\x20to\x20sw-enhance.js)','enableOverlayHmr','publicDir','./dev/index.js','\x20overlayController\x20exists:\x20','https://','manifest','position','__vite_plugin_react_preamble_installed__','\x20Starting\x20fresh\x20overlay\x20load...','enabled','\x20Cross-origin\x20overlay\x20-\x20setting\x20up\x20HMR...','\x20enhancementUrl:\x20','now','update','backendUrl','message','bun\x20version\x20patch\x20--no-git-tag-version','error','info','[Enhance\x20Runtime]','filename','override','code','write','add','digest','active','base64','\x20Registration\x20is\x20not\x20ours\x20-\x20not\x20unregistering','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://overlay.localhost:8099\x20tsup','\x20Sending\x20DISABLE\x20message\x20to\x20SW...','\x20with\x20scope\x20\x27/\x27...','public','ready','\x20Calling\x20updateOverlay()...','\x20Registration\x20returned:','\x20Updating\x20overlay...','controller','./dev/vite/index.d.ts','\x20No\x20cached\x20controller\x20-\x20will\x20import\x20module','origin','__development','/assets/enhance-runtime.js','name','enhance:disable','cwd',',\x20currentOptions:\x20','vite:beforeUpdate','prepare-sw','\x20Unregistering\x20SW...','copyFile','state','\x20loadOverlay()\x20called','36JSAEiz','replaceState','enhancementId','Copied\x20','\x20No\x20registration\x20found\x20-\x20nothing\x20to\x20unregister','\x20enableViteHmr:\x20','\x20composeOverlayState\x20-\x20state.controlled:\x20','6jbugxi','assets/enhance-runtime.js','overlayPath','location','@enhance-eng/sandbox','\x20Overlay\x20controller\x20initialized\x20and\x20cached','\x20doLoadOverlay()\x20starting...','copied','\x20Importing\x20overlay\x20module\x20from:\x20','\x20React\x20Refresh\x20runtime\x20installed\x20for\x20','__enhanceInitialized','enable','createOverlay','\x20init()\x20called\x20at\x20','sourcePath','\x20Module\x20imported\x20in\x20','...','4973612RwuKiT',',\x20expected=','command','\x20currentOptions\x20exists:\x20','getRegistration','readyState','__enhanceOptions','\x20SW\x20unregistered\x20successfully','onToggle','waiting','https://assets.enhancelabs.ai/overlay.js','\x20composeOverlayState\x20-\x20state.enabled:\x20','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20tsup\x20--watch','\x20Vite\x20HMR\x20client\x20loaded\x20for\x20','\x20First\x20initialization','\x20Controller\x20already\x20exists\x20-\x20updating\x20overlay','reload','\x20React\x20Refresh\x20already\x20installed\x20for\x20','5mRMQQi','\x20Enhancement\x20features\x20will\x20NOT\x20work\x20until\x20it\x20is\x20unregistered','mkdir','\x20registerServiceWorker()\x20complete','ENOENT','controlled','\x20Calling\x20createOverlay()...','\x20Enhancement\x20detection:\x20wasEnhanced=','scope','log','enhance:configure','hasEnhancement','installing','scriptURL','/@vite/client','[Enhance\x20SW-Client]','runtimeURL','/sw-enhance.js','stdout','\x20Failed\x20to\x20prepare\x20remote\x20HMR\x20(non-fatal):','MIT','\x20Module\x20exports:','\x20composeOverlayState\x20-\x20enhancementId:\x20','\x20Page\x20controlled\x20by\x20our\x20SW:\x20','2487984wFxRej','enableViteHmr','^11.1.0','appError','\x20Sending\x20customer\x20configuration...','__viteHMRLoaded','\x20No\x20window\x20object\x20-\x20skipping','href','unregister','__enhanceController','./dev/index.d.ts','^8.5.1','default','0.3.21','$RefreshReg$','N/A','Skipped\x20','548409nNJukS','\x20Failed\x20to\x20unregister\x20service\x20worker:','\x20Invalid\x20React\x20Refresh\x20runtime','\x20resolveWorker:','postMessage','^24.10.1','__enhanceReactRefreshInstalledOrigins','querySelector','\x20Normalized\x20options:','sw-enhance','\x20loadOverlay()\x20complete','\x20detectBlocking\x20error:','\x20No\x20service\x20worker\x20active\x20to\x20configure','parseAsync','sw-enhance.js','\x20Same\x20origin\x20-\x20skipping\x20HMR\x20setup','security','\x20init()\x20complete\x20-\x20normal\x20mode','ENHANCE_OVERLAY_PATH=https://assets.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://api.enhancelabs.ai\x20OBFUSCATE=1\x20RELEASE=1\x20tsup','search','\x20Starting\x20overlay\x20load\x20(async)...','\x20ownsServiceWorker?\x20scriptURL=','searchParams','delete','\x20Found\x20registration:','./dev/vite/index.js','action','swFilename','\x20No\x20current\x20controller','enhance','warn','[Enhance\x20Config]\x20Build-time\x20defaults:','\x20Raw\x20options:','\x20(already\x20current)\x20[','\x20unregisterServiceWorker()\x20called','undefined','history','^7.2.4','publishableKey','http://','\x20Skipping\x20-\x20not\x20enabled\x20or\x20no\x20options','serviceWorkerURL','object','\x20Loading\x20Vite\x20HMR\x20client\x20from\x20','\x20Config\x20sent\x20to\x20SW','\x20Service\x20workers\x20NOT\x20supported\x20in\x20this\x20browser','\x20updateOverlay()\x20called','\x20overlayPath:\x20','\x20detectBlocking\x20-\x20existing\x20registration:','\x20BLOCKING\x20SW\x20detected:\x20','injectIntoGlobalHook','\x20Controller\x20created:','\x20Installing\x20React\x20Refresh\x20runtime\x20from\x20','\x20Current\x20controller:','\x20Vite\x20update\x20pending\x20-\x20clearing\x20error','stringify','description','dev/','\x20Overlay\x20update\x20complete','\x20Service\x20workers\x20supported','replace','has','toString'];_0x5553=function(){return _0x17b247;};return _0x5553();}var LOG_PREFIX='[Enhance\x20Overlay]',overlayController=null,overlayLoadPromise=null,toggleHandler=null,currentOptions=null;async function loadOverlay(_0x9db4a7){const _0x14eaef=_0x24bed1;console[_0x14eaef(0x275)](LOG_PREFIX+_0x14eaef(0x241)),console['log'](LOG_PREFIX+_0x14eaef(0x1c4)+_0x9db4a7[_0x14eaef(0x24b)]),console[_0x14eaef(0x275)](LOG_PREFIX+_0x14eaef(0x247)+_0x9db4a7[_0x14eaef(0x285)]),currentOptions=_0x9db4a7[_0x14eaef(0x1ef)],toggleHandler=_0x9db4a7['onToggle'];if(overlayController){console['log'](LOG_PREFIX+_0x14eaef(0x269)),updateOverlay();return;}if(overlayLoadPromise)return console[_0x14eaef(0x275)](LOG_PREFIX+'\x20Load\x20already\x20in\x20progress\x20-\x20waiting...'),overlayLoadPromise;console['log'](LOG_PREFIX+_0x14eaef(0x215)),overlayLoadPromise=doLoadOverlay(_0x9db4a7);try{await overlayLoadPromise,console[_0x14eaef(0x275)](LOG_PREFIX+_0x14eaef(0x29f));}catch(_0x4fc6e4){console[_0x14eaef(0x21e)](LOG_PREFIX+_0x14eaef(0x1f1),_0x4fc6e4);}finally{overlayLoadPromise=null;}}async function doLoadOverlay(_0x33f59f){const _0x1cae9b=_0x24bed1;console[_0x1cae9b(0x275)](LOG_PREFIX+_0x1cae9b(0x24f));if(typeof window==='undefined'){console[_0x1cae9b(0x275)](LOG_PREFIX+_0x1cae9b(0x28a));return;}if(window[_0x1cae9b(0x1d6)]){console[_0x1cae9b(0x275)](LOG_PREFIX+'\x20Found\x20cached\x20overlay\x20controller\x20on\x20window.__enhanceOverlay\x20-\x20skipping\x20reinit'),overlayController=window[_0x1cae9b(0x1d6)];return;}console[_0x1cae9b(0x275)](LOG_PREFIX+_0x1cae9b(0x234));try{_0x33f59f[_0x1cae9b(0x285)]&&(console[_0x1cae9b(0x275)](LOG_PREFIX+_0x1cae9b(0x1f2)),await setupRemoteHMR(_0x33f59f[_0x1cae9b(0x24b)]));console['log'](LOG_PREFIX+_0x1cae9b(0x251)+_0x33f59f[_0x1cae9b(0x24b)]);const _0x42d26a=Date[_0x1cae9b(0x219)](),_0x284858=await import(_0x33f59f[_0x1cae9b(0x24b)]);console[_0x1cae9b(0x275)](LOG_PREFIX+_0x1cae9b(0x258)+(Date[_0x1cae9b(0x219)]()-_0x42d26a)+'ms'),console[_0x1cae9b(0x275)](LOG_PREFIX+_0x1cae9b(0x281),Object[_0x1cae9b(0x20a)](_0x284858));if(typeof _0x284858?.[_0x1cae9b(0x255)]!==_0x1cae9b(0x1ea)){console[_0x1cae9b(0x21e)](LOG_PREFIX+'\x20Module\x20missing\x20createOverlay\x20export!'),console[_0x1cae9b(0x21e)](LOG_PREFIX+_0x1cae9b(0x1ee),Object[_0x1cae9b(0x20a)](_0x284858));return;}console[_0x1cae9b(0x275)](LOG_PREFIX+_0x1cae9b(0x272));const _0x3d4754=_0x284858[_0x1cae9b(0x255)]();console[_0x1cae9b(0x275)](LOG_PREFIX+_0x1cae9b(0x1c8),_0x3d4754),overlayController=_0x3d4754,window[_0x1cae9b(0x1d6)]=_0x3d4754,_0x3d4754[_0x1cae9b(0x262)](_0x33f59f[_0x1cae9b(0x262)]),console['log'](LOG_PREFIX+_0x1cae9b(0x24e)),console['log'](LOG_PREFIX+_0x1cae9b(0x22f)),updateOverlay();}catch(_0x3929ce){console[_0x1cae9b(0x21e)](LOG_PREFIX+'\x20Failed\x20to\x20import/create\x20overlay:',_0x3929ce);}}function updateOverlay(){const _0x1677be=_0x24bed1;console['log'](LOG_PREFIX+_0x1677be(0x1c3)),console[_0x1677be(0x275)](LOG_PREFIX+_0x1677be(0x210)+!!overlayController),console[_0x1677be(0x275)](LOG_PREFIX+_0x1677be(0x25d)+!!currentOptions);if(!overlayController||!currentOptions){console[_0x1677be(0x275)](LOG_PREFIX+'\x20Missing\x20controller\x20or\x20options\x20-\x20skipping\x20update');return;}const _0x51fe60=composeOverlayState(currentOptions);console[_0x1677be(0x275)](LOG_PREFIX+'\x20Updating\x20overlay\x20with\x20state:',JSON[_0x1677be(0x1cc)](_0x51fe60,null,0x2)),overlayController[_0x1677be(0x21a)](_0x51fe60),console[_0x1677be(0x275)](LOG_PREFIX+_0x1677be(0x1cf));}function composeOverlayState(_0x4a9089){const _0x25b36c=_0x24bed1,_0x42b16e=getEnhancementId();return console[_0x25b36c(0x275)](LOG_PREFIX+_0x25b36c(0x282)+_0x42b16e),console[_0x25b36c(0x275)](LOG_PREFIX+_0x25b36c(0x265)+state[_0x25b36c(0x216)]),console[_0x25b36c(0x275)](LOG_PREFIX+_0x25b36c(0x248)+state['controlled']),{'enhancementId':_0x42b16e,'enabled':state['enabled'],'controlled':state[_0x25b36c(0x271)],'overlayPosition':_0x4a9089[_0x25b36c(0x203)][_0x25b36c(0x213)],'securityMode':_0x4a9089['security'],'backendBaseUrl':_0x4a9089['backendUrl'],'appError':state[_0x25b36c(0x287)]};}async function setupRemoteHMR(_0x37c86f){const _0x21a474=_0x24bed1;console['log'](LOG_PREFIX+_0x21a474(0x1e6)+_0x37c86f);if(typeof window===_0x21a474(0x1b8))return;try{const _0x2d63ab=new URL(_0x37c86f,window[_0x21a474(0x24c)][_0x21a474(0x235)]),_0x5b3c99=_0x2d63ab[_0x21a474(0x235)];console[_0x21a474(0x275)](LOG_PREFIX+_0x21a474(0x1ec)+_0x5b3c99+',\x20page\x20origin:\x20'+window[_0x21a474(0x24c)]['origin']);if(_0x5b3c99===window[_0x21a474(0x24c)]['origin']){console[_0x21a474(0x275)](LOG_PREFIX+_0x21a474(0x2a4));return;}console[_0x21a474(0x275)](LOG_PREFIX+_0x21a474(0x217)),await ensureReactRefreshPreamble(_0x5b3c99),await ensureViteClient(_0x5b3c99),console[_0x21a474(0x275)](LOG_PREFIX+_0x21a474(0x1fb));}catch(_0x36c929){console['warn'](LOG_PREFIX+_0x21a474(0x27f),_0x36c929);}}async function ensureReactRefreshPreamble(_0x435f1c){const _0x5ceb55=_0x24bed1;window[_0x5ceb55(0x29b)]??=new Set();if(window[_0x5ceb55(0x29b)][_0x5ceb55(0x1d2)](_0x435f1c)){console[_0x5ceb55(0x275)](LOG_PREFIX+_0x5ceb55(0x26b)+_0x435f1c);return;}console[_0x5ceb55(0x275)](LOG_PREFIX+_0x5ceb55(0x1c9)+_0x435f1c+_0x5ceb55(0x259));const _0x14ba05=await import(_0x435f1c+'/@react-refresh'),_0x25f98f=_0x14ba05&&typeof _0x14ba05===_0x5ceb55(0x1bf)&&'default'in _0x14ba05?_0x14ba05[_0x5ceb55(0x290)]:_0x14ba05;if(!isRefreshRuntime(_0x25f98f)){console[_0x5ceb55(0x2b3)](LOG_PREFIX+_0x5ceb55(0x297));return;}_0x25f98f[_0x5ceb55(0x1c7)](window),window[_0x5ceb55(0x292)]=()=>{},window['$RefreshSig$']=()=>_0x567371=>_0x567371,window[_0x5ceb55(0x214)]=!![],window[_0x5ceb55(0x29b)][_0x5ceb55(0x225)](_0x435f1c),console[_0x5ceb55(0x275)](LOG_PREFIX+_0x5ceb55(0x252)+_0x435f1c);}async function ensureViteClient(_0x4e8336){const _0x28a468=_0x24bed1;window[_0x28a468(0x289)]??=new Set();if(window[_0x28a468(0x289)]['has'](_0x4e8336)){console[_0x28a468(0x275)](LOG_PREFIX+'\x20Vite\x20client\x20already\x20loaded\x20for\x20'+_0x4e8336);return;}console['log'](LOG_PREFIX+_0x28a468(0x1c0)+_0x4e8336+_0x28a468(0x259)),await import(_0x4e8336+_0x28a468(0x27a)),window[_0x28a468(0x289)][_0x28a468(0x225)](_0x4e8336),console[_0x28a468(0x275)](LOG_PREFIX+_0x28a468(0x267)+_0x4e8336);}function isRefreshRuntime(_0x3d1efc){const _0x19d747=_0x24bed1;return typeof _0x3d1efc===_0x19d747(0x1bf)&&_0x3d1efc!==null&&_0x19d747(0x1c7)in _0x3d1efc&&typeof _0x3d1efc[_0x19d747(0x1c7)]===_0x19d747(0x1ea);}var WORKER_MESSAGE_CONFIG=_0x24bed1(0x276),WORKER_MESSAGE_DISABLE=_0x24bed1(0x239),LOG_PREFIX2=_0x24bed1(0x27b),registration=null,currentOptions2=null;async function registerServiceWorker(_0x10975a){const _0x509812=_0x24bed1;console['log'](LOG_PREFIX2+'\x20registerServiceWorker()\x20called'),console[_0x509812(0x275)](LOG_PREFIX2+_0x509812(0x1d8)+_0x10975a[_0x509812(0x1f9)]);if(!(_0x509812(0x1ff)in navigator)){console['warn'](LOG_PREFIX2+_0x509812(0x1c2));return;}console[_0x509812(0x275)](LOG_PREFIX2+_0x509812(0x1d0));const _0x23e024=navigator[_0x509812(0x1ff)][_0x509812(0x232)];console['log'](LOG_PREFIX2+_0x509812(0x1ca),_0x23e024?.[_0x509812(0x279)]??_0x509812(0x1fc)),console[_0x509812(0x275)](LOG_PREFIX2+_0x509812(0x1db),_0x23e024?.[_0x509812(0x240)]??'N/A');const _0xbb6de2=!!_0x23e024;currentOptions2=_0x10975a,console[_0x509812(0x275)](LOG_PREFIX2+_0x509812(0x1fa));const _0x18cf8f=await detectBlockingServiceWorker(_0x10975a['swPath']);if(_0x18cf8f){console['error'](LOG_PREFIX2+_0x509812(0x1c6)+_0x18cf8f),console['error'](LOG_PREFIX2+_0x509812(0x26d));return;}console[_0x509812(0x275)](LOG_PREFIX2+_0x509812(0x1e5));try{console['log'](LOG_PREFIX2+_0x509812(0x1f8)+_0x10975a[_0x509812(0x1f9)]+_0x509812(0x22c)),registration=await navigator[_0x509812(0x1ff)]['register'](_0x10975a[_0x509812(0x1f9)],{'scope':'/'}),console[_0x509812(0x275)](LOG_PREFIX2+_0x509812(0x230),{'scope':registration[_0x509812(0x274)],'active':registration['active']?.[_0x509812(0x279)],'waiting':registration[_0x509812(0x263)]?.[_0x509812(0x279)],'installing':registration[_0x509812(0x278)]?.[_0x509812(0x279)]}),console[_0x509812(0x275)](LOG_PREFIX2+'\x20Waiting\x20for\x20navigator.serviceWorker.ready...');const _0x24ea90=await navigator[_0x509812(0x1ff)][_0x509812(0x22e)];console[_0x509812(0x275)](LOG_PREFIX2+'\x20SW\x20ready!\x20Active:',_0x24ea90[_0x509812(0x227)]?.[_0x509812(0x279)]);const _0x164136=ownsCurrentController(_0x10975a[_0x509812(0x1f9)]);state[_0x509812(0x271)]=_0x164136,console[_0x509812(0x275)](LOG_PREFIX2+_0x509812(0x283)+_0x164136),console['log'](LOG_PREFIX2+'\x20Current\x20controller\x20after\x20ready:',navigator[_0x509812(0x1ff)][_0x509812(0x232)]?.['scriptURL']??_0x509812(0x1fc));if(!_0xbb6de2&&!navigator[_0x509812(0x1ff)][_0x509812(0x232)]){console[_0x509812(0x275)](LOG_PREFIX2+_0x509812(0x205)),window[_0x509812(0x24c)][_0x509812(0x26a)]();return;}console['log'](LOG_PREFIX2+_0x509812(0x288)),await sendConfiguration();if(state[_0x509812(0x216)]){const _0x2bae4f=document[_0x509812(0x29c)](_0x509812(0x1de))!==null;console[_0x509812(0x275)](LOG_PREFIX2+_0x509812(0x273)+_0x2bae4f);if(!_0x2bae4f){console[_0x509812(0x275)](LOG_PREFIX2+'\x20Page\x20not\x20enhanced\x20by\x20SW\x20-\x20reloading\x20to\x20apply\x20enhancement'),window[_0x509812(0x24c)][_0x509812(0x26a)]();return;}}console[_0x509812(0x275)](LOG_PREFIX2+_0x509812(0x231)),updateOverlay(),console[_0x509812(0x275)](LOG_PREFIX2+_0x509812(0x26f));}catch(_0x396414){console['error'](LOG_PREFIX2+_0x509812(0x1d4),_0x396414);}}async function sendConfiguration(){const _0xf86b12=_0x24bed1;console['log'](LOG_PREFIX2+_0xf86b12(0x1d9)),console[_0xf86b12(0x275)](LOG_PREFIX2+_0xf86b12(0x202)+state[_0xf86b12(0x216)]+_0xf86b12(0x23b)+!!currentOptions2);if(!state['enabled']||!currentOptions2){console['log'](LOG_PREFIX2+_0xf86b12(0x1bd));return;}const _0x4ba2f8=await resolveWorker();if(!_0x4ba2f8){console['warn'](LOG_PREFIX2+_0xf86b12(0x2a1));return;}const _0x229d1c={'publishableKey':currentOptions2[_0xf86b12(0x1bb)],'callbackBypass':currentOptions2[_0xf86b12(0x1e0)],'securityMode':currentOptions2[_0xf86b12(0x2a5)]};console[_0xf86b12(0x275)](LOG_PREFIX2+_0xf86b12(0x200),JSON[_0xf86b12(0x1cc)](_0x229d1c,null,0x2)),_0x4ba2f8['postMessage']({'type':WORKER_MESSAGE_CONFIG,'config':_0x229d1c}),console[_0xf86b12(0x275)](LOG_PREFIX2+_0xf86b12(0x1c1));}async function unregisterServiceWorker(_0x99269d){const _0x15df3f=_0x24bed1;console[_0x15df3f(0x275)](LOG_PREFIX2+_0x15df3f(0x1b7));if(!('serviceWorker'in navigator)){console[_0x15df3f(0x275)](LOG_PREFIX2+'\x20No\x20serviceWorker\x20support\x20-\x20nothing\x20to\x20unregister');return;}try{const _0x1aae1a=registration??await navigator[_0x15df3f(0x1ff)]['getRegistration']('/');if(!_0x1aae1a){console[_0x15df3f(0x275)](LOG_PREFIX2+_0x15df3f(0x246));return;}console[_0x15df3f(0x275)](LOG_PREFIX2+_0x15df3f(0x2ad),{'scope':_0x1aae1a[_0x15df3f(0x274)],'active':_0x1aae1a[_0x15df3f(0x227)]?.[_0x15df3f(0x279)],'waiting':_0x1aae1a[_0x15df3f(0x263)]?.[_0x15df3f(0x279)],'installing':_0x1aae1a['installing']?.[_0x15df3f(0x279)]});const _0x359510=[_0x1aae1a['active']?.['scriptURL'],_0x1aae1a[_0x15df3f(0x263)]?.['scriptURL'],_0x1aae1a[_0x15df3f(0x278)]?.['scriptURL']],_0x335984=_0x359510['some'](_0xe6fc62=>_0xe6fc62&&ownsServiceWorker(_0xe6fc62,_0x99269d));if(!_0x335984){console[_0x15df3f(0x275)](LOG_PREFIX2+_0x15df3f(0x229));return;}_0x1aae1a[_0x15df3f(0x227)]&&(console[_0x15df3f(0x275)](LOG_PREFIX2+_0x15df3f(0x22b)),_0x1aae1a[_0x15df3f(0x227)][_0x15df3f(0x299)]({'type':WORKER_MESSAGE_DISABLE})),console[_0x15df3f(0x275)](LOG_PREFIX2+_0x15df3f(0x23e)),await _0x1aae1a[_0x15df3f(0x28c)](),registration=null,currentOptions2=null,console['log'](LOG_PREFIX2+_0x15df3f(0x261));}catch(_0x59c10b){console[_0x15df3f(0x21e)](LOG_PREFIX2+_0x15df3f(0x296),_0x59c10b);}}function ownsServiceWorker(_0x3c6c6,_0x5a4843){const _0x3da81f=_0x24bed1,_0x30274a=typeof window!==_0x3da81f(0x1b8)?window['location'][_0x3da81f(0x235)]:'',_0x5e7e0d=new URL(_0x5a4843,_0x30274a||void 0x0)['href'],_0x166c54=_0x3c6c6===_0x5e7e0d||_0x3c6c6['includes'](_0x3da81f(0x29e));return console[_0x3da81f(0x275)](LOG_PREFIX2+_0x3da81f(0x2aa)+_0x3c6c6+_0x3da81f(0x25b)+_0x5e7e0d+',\x20owns='+_0x166c54),_0x166c54;}function ownsCurrentController(_0x48ea79){const _0x2236ab=_0x24bed1;if(typeof navigator===_0x2236ab(0x1b8))return![];const _0x9df050=navigator[_0x2236ab(0x1ff)]?.[_0x2236ab(0x232)];if(!_0x9df050)return console['log'](LOG_PREFIX2+_0x2236ab(0x2b1)),![];return ownsServiceWorker(_0x9df050[_0x2236ab(0x279)],_0x48ea79);}async function detectBlockingServiceWorker(_0x2f43c1){const _0x405acc=_0x24bed1;if(!navigator[_0x405acc(0x1ff)])return null;try{const _0x232761=await navigator[_0x405acc(0x1ff)][_0x405acc(0x25e)]('/');console[_0x405acc(0x275)](LOG_PREFIX2+_0x405acc(0x1c5),_0x232761?.[_0x405acc(0x227)]?.[_0x405acc(0x279)]??_0x405acc(0x1fc));const _0x5ad826=_0x232761?.[_0x405acc(0x227)]?.[_0x405acc(0x279)];if(!_0x5ad826)return null;if(ownsServiceWorker(_0x5ad826,_0x2f43c1))return null;return _0x5ad826;}catch(_0x34fc64){return console[_0x405acc(0x21e)](LOG_PREFIX2+_0x405acc(0x2a0),_0x34fc64),null;}}async function resolveWorker(){const _0x237c41=_0x24bed1,_0x49b3b4=registration??await navigator[_0x237c41(0x1ff)]?.['getRegistration']('/'),_0x59b08a=_0x49b3b4?.[_0x237c41(0x227)]??_0x49b3b4?.[_0x237c41(0x263)]??_0x49b3b4?.['installing']??null;return console[_0x237c41(0x275)](LOG_PREFIX2+_0x237c41(0x298),_0x59b08a?.[_0x237c41(0x279)]??_0x237c41(0x1fc),'state:\x20'+(_0x59b08a?.['state']??_0x237c41(0x293))),_0x59b08a;}var LOG_PREFIX3=_0x24bed1(0x220);function isInitialized(){const _0x41bf99=_0x24bed1;return typeof window!=='undefined'&&window[_0x41bf99(0x253)]===!![];}function setInitialized(_0x8ff1f6){const _0x4e2184=_0x24bed1;typeof window!==_0x4e2184(0x1b8)&&(window[_0x4e2184(0x253)]=_0x8ff1f6);}function getOptions(){const _0x4b4197=_0x24bed1;return typeof window!==_0x4b4197(0x1b8)?window[_0x4b4197(0x260)]??null:null;}function setOptions(_0x41eb5b){const _0x1ff22e=_0x24bed1;typeof window!==_0x1ff22e(0x1b8)&&(window['__enhanceOptions']=_0x41eb5b);}var Enhance={'init'(_0x41d833){const _0x19e9e7=_0x24bed1,_0x7b3286=Date['now']();console['log'](LOG_PREFIX3+_0x19e9e7(0x256)+_0x7b3286),console['log'](LOG_PREFIX3+_0x19e9e7(0x1dc)+window['location'][_0x19e9e7(0x28b)]),console[_0x19e9e7(0x275)](LOG_PREFIX3+'\x20Document\x20readyState:\x20'+document[_0x19e9e7(0x25f)]),console[_0x19e9e7(0x275)](LOG_PREFIX3+_0x19e9e7(0x2b5),JSON['stringify'](_0x41d833,null,0x2));if(isInitialized())return console['warn'](LOG_PREFIX3+_0x19e9e7(0x1d5)),window[_0x19e9e7(0x28d)]??createController();setInitialized(!![]),console['log'](LOG_PREFIX3+_0x19e9e7(0x268));const _0x316705=normalizeOptions(_0x41d833);setOptions(_0x316705),console[_0x19e9e7(0x275)](LOG_PREFIX3+_0x19e9e7(0x29d),JSON[_0x19e9e7(0x1cc)](_0x316705,null,0x2));const _0x334ec1=parseUrlParams();console[_0x19e9e7(0x275)](LOG_PREFIX3+'\x20URL\x20params\x20parsed:',JSON['stringify'](_0x334ec1,null,0x2));if(_0x334ec1[_0x19e9e7(0x1eb)])return cleanUrlParam('enhance'),console[_0x19e9e7(0x275)](LOG_PREFIX3+'\x20Explicit\x20disable\x20via\x20URL\x20param\x20-\x20exiting'),createController();if(_0x334ec1[_0x19e9e7(0x277)])return console[_0x19e9e7(0x275)](LOG_PREFIX3+'\x20Enhancement\x20mode\x20ENABLED'),console[_0x19e9e7(0x275)](LOG_PREFIX3+_0x19e9e7(0x218)+_0x334ec1[_0x19e9e7(0x1f3)]),console[_0x19e9e7(0x275)](LOG_PREFIX3+'\x20enhancementId:\x20'+_0x334ec1[_0x19e9e7(0x244)]),state['enabled']=!![],console[_0x19e9e7(0x275)](LOG_PREFIX3+_0x19e9e7(0x2a9)),void loadOverlay({'overlayPath':_0x316705[_0x19e9e7(0x24b)],'enableViteHmr':_0x316705[_0x19e9e7(0x203)][_0x19e9e7(0x285)],'options':_0x316705,'onToggle':handleToggle}),console[_0x19e9e7(0x275)](LOG_PREFIX3+'\x20Starting\x20SW\x20registration\x20(async)...'),void registerServiceWorker(_0x316705),console['log'](LOG_PREFIX3+'\x20init()\x20complete\x20-\x20enhancement\x20mode'),createController();return console[_0x19e9e7(0x275)](LOG_PREFIX3+_0x19e9e7(0x1e1)),console['log'](LOG_PREFIX3+_0x19e9e7(0x1e4)),void unregisterServiceWorker(_0x316705[_0x19e9e7(0x1f9)]),console[_0x19e9e7(0x275)](LOG_PREFIX3+_0x19e9e7(0x2a6)),import.meta.hot&&(console[_0x19e9e7(0x275)](LOG_PREFIX3+'\x20Setting\x20up\x20Vite\x20HMR\x20error\x20listeners'),import.meta.hot['on']('vite:error',_0x46afc0=>{const _0x12309b=_0x19e9e7;console[_0x12309b(0x275)](LOG_PREFIX3+'\x20Vite\x20error\x20detected:',_0x46afc0),state['appError']={'message':_0x46afc0[_0x12309b(0x1e3)][_0x12309b(0x21c)]},updateOverlay();}),import.meta.hot['on'](_0x19e9e7(0x23c),()=>{const _0x245ead=_0x19e9e7;state[_0x245ead(0x287)]&&(console[_0x245ead(0x275)](LOG_PREFIX3+_0x245ead(0x1cb)),state['appError']=null,updateOverlay());})),createController();}};function createController(){const _0x1ed425=_0x24bed1,_0xed86ba={'enable'(){const _0x87388=_0x441d,_0x178ce0=getOptions();if(!_0x178ce0)return;state[_0x87388(0x216)]=!![],void loadOverlay({'overlayPath':_0x178ce0[_0x87388(0x24b)],'enableViteHmr':_0x178ce0[_0x87388(0x203)][_0x87388(0x285)],'options':_0x178ce0,'onToggle':handleToggle}),void registerServiceWorker(_0x178ce0),void sendConfiguration(),updateOverlay();},'disable'(){const _0x598c79=_0x441d,_0x4e9e37=getOptions();if(!_0x4e9e37)return;state['enabled']=![],state[_0x598c79(0x271)]=![],updateOverlay(),void unregisterServiceWorker(_0x4e9e37[_0x598c79(0x1f9)]);},'status'(){const _0x390178=_0x441d;return{'enabled':state[_0x390178(0x216)],'controlled':state[_0x390178(0x271)]};}};return typeof window!==_0x1ed425(0x1b8)&&(window['__enhanceController']=_0xed86ba),_0xed86ba;}function _0x441d(_0x25ca99,_0x1ef03a){_0x25ca99=_0x25ca99-0x1b7;const _0x555387=_0x5553();let _0x441d94=_0x555387[_0x25ca99];return _0x441d94;}function handleToggle(){const _0x39284d=_0x24bed1,_0x5aea8f=createController();state['enabled']?_0x5aea8f['disable']():_0x5aea8f[_0x39284d(0x254)]();}function parseUrlParams(){const _0x37637b=_0x24bed1,_0x24160e=new URL(window[_0x37637b(0x24c)]['href']),_0x3f37c2=_0x24160e[_0x37637b(0x2ab)][_0x37637b(0x1da)](_0x37637b(0x2b2))?.['toLowerCase'](),_0xf6bd42=_0x24160e[_0x37637b(0x2ab)][_0x37637b(0x1da)]('enhancementUrl'),_0x308235=_0x24160e['searchParams']['get']('enhancement');return{'hasEnhancement':Boolean(_0xf6bd42||_0x308235),'explicitDisable':_0x3f37c2==='0'||_0x3f37c2==='false'||_0x3f37c2==='off','enhancementUrl':_0xf6bd42,'enhancementId':_0x308235};}function cleanUrlParam(_0x4ab447){const _0x351e51=_0x24bed1,_0x5cd74a=new URL(window[_0x351e51(0x24c)]['href']);_0x5cd74a[_0x351e51(0x2ab)][_0x351e51(0x1d2)](_0x4ab447)&&(_0x5cd74a[_0x351e51(0x2ab)][_0x351e51(0x2ac)](_0x4ab447),window[_0x351e51(0x1b9)][_0x351e51(0x243)](null,document['title'],_0x5cd74a[_0x351e51(0x1d3)]()));}var package_default={'name':_0x24bed1(0x24d),'version':_0x24bed1(0x291),'type':_0x24bed1(0x1f5),'description':'Enhance\x20preview\x20bootstrap\x20and\x20tooling\x20package.','license':_0x24bed1(0x280),'main':_0x24bed1(0x20f),'module':_0x24bed1(0x20f),'types':_0x24bed1(0x28e),'exports':{'.':{'types':_0x24bed1(0x28e),'import':'./dev/index.js'},'./vite':{'types':_0x24bed1(0x233),'import':_0x24bed1(0x2ae)}},'files':[_0x24bed1(0x1ce)],'bin':{'enhance-sandbox':_0x24bed1(0x1f0)},'scripts':{'typecheck':'tsc\x20--noEmit','dev':_0x24bed1(0x206),'dev:build':_0x24bed1(0x22a),'dev:staging':_0x24bed1(0x266),'dev:staging:build':'ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20tsup','build':'ENHANCE_OVERLAY_PATH=https://assets.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://api.enhancelabs.ai\x20tsup','build:release':_0x24bed1(0x2a7),'build:release:dev':'ENHANCE_OVERLAY_PATH=https://assets-dev.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20OBFUSCATE=1\x20RELEASE=1\x20tsup','version':_0x24bed1(0x21d)},'dependencies':{'commander':_0x24bed1(0x286),'zod':'^3.22.4'},'devDependencies':{'@types/node':_0x24bed1(0x29a),'javascript-obfuscator':'^4.1.1','tsup':_0x24bed1(0x28f),'vite':_0x24bed1(0x1ba)},'publishConfig':{'access':_0x24bed1(0x22d)}},DEFAULT_SERVICE_WORKER_PATH=_0x24bed1(0x27d),DEFAULT_RUNTIME_PATH=_0x24bed1(0x237),DIST_SERVICE_WORKER_PATH=_0x24bed1(0x2a3),DIST_RUNTIME_PATH=_0x24bed1(0x24a),PACKAGE_VERSION=typeof package_default[_0x24bed1(0x1ed)]==='string'?package_default[_0x24bed1(0x1ed)]:_0x24bed1(0x1d7);function normalizeAssetPath(_0x3c54e5){const _0x57dc0b=_0x24bed1;if(!_0x3c54e5)return _0x3c54e5;if(_0x3c54e5['startsWith'](_0x57dc0b(0x1bc))||_0x3c54e5[_0x57dc0b(0x204)](_0x57dc0b(0x211)))return _0x3c54e5;const _0x174b8a=_0x3c54e5[_0x57dc0b(0x1d1)](/^\.\//,'');return _0x174b8a[_0x57dc0b(0x204)]('/')?_0x174b8a:'/'+_0x174b8a;}var defaultSwPath=normalizeAssetPath(DEFAULT_SERVICE_WORKER_PATH),defaultRuntimePath=normalizeAssetPath(DEFAULT_RUNTIME_PATH),Enhance2={'init'(_0x5acbcf){return Enhance['init'](_0x5acbcf);},'serviceWorkerURL'(){return defaultSwPath;},'runtimeURL'(){return defaultRuntimePath;},'assetManifest'(){return getAssetManifest();}};function getAssetManifest(){return{'version':PACKAGE_VERSION,'serviceWorker':serviceWorkerURL(),'runtime':runtimeURL(),'serviceWorkerDigest':null,'runtimeDigest':null};}function serviceWorkerURL(){const _0x8f93c8=_0x24bed1;return Enhance2[_0x8f93c8(0x1be)]();}function runtimeURL(){const _0x4fc90b=_0x24bed1;return Enhance2[_0x4fc90b(0x27c)]();}import{promises as _0x270411}from'fs';import{createHash}from'crypto';import{dirname,join}from'path';import{fileURLToPath}from'url';var distDir=dirname(fileURLToPath(new URL(_0x24bed1(0x1dd),import.meta.url)));async function syncAssets(_0x49e990){const _0x2f733e=_0x24bed1,_0xa5f732=[{'sourcePath':DIST_SERVICE_WORKER_PATH,'manifestPath':normalizeAssetPath(DEFAULT_SERVICE_WORKER_PATH),'override':_0x49e990[_0x2f733e(0x2b0)]?'./'+_0x49e990[_0x2f733e(0x2b0)]:void 0x0},{'sourcePath':DIST_RUNTIME_PATH,'manifestPath':normalizeAssetPath(DEFAULT_RUNTIME_PATH)}],_0xe8c57d=[];for(const _0x366a35 of _0xa5f732){const _0x24a701=cleanRelativePath(_0x366a35[_0x2f733e(0x222)]??_0x366a35['manifestPath']),_0x31d564=join(distDir,cleanRelativePath(_0x366a35[_0x2f733e(0x257)])),_0x4700fc=join(_0x49e990[_0x2f733e(0x20e)],_0x24a701),[_0x1d6a20,_0x38d9ae]=await Promise['all']([readDigest(_0x31d564),readDigest(_0x4700fc)]);if(_0x1d6a20&&_0x38d9ae&&_0x1d6a20===_0x38d9ae){_0xe8c57d[_0x2f733e(0x1fe)]({'sourcePath':_0x31d564,'destinationPath':_0x4700fc,'relativeDestination':_0x24a701,'status':_0x2f733e(0x1e2)});continue;}await _0x270411[_0x2f733e(0x26e)](dirname(_0x4700fc),{'recursive':!![]}),await _0x270411[_0x2f733e(0x23f)](_0x31d564,_0x4700fc),_0xe8c57d[_0x2f733e(0x1fe)]({'sourcePath':_0x31d564,'destinationPath':_0x4700fc,'relativeDestination':_0x24a701,'status':_0x2f733e(0x250)});}return _0xe8c57d;}function cleanRelativePath(_0x2b8d64){const _0x4fe46f=_0x24bed1;return _0x2b8d64[_0x4fe46f(0x1d1)](/^[./]+/,'');}async function readDigest(_0x48bd4d){const _0x28050a=_0x24bed1;try{const _0x37606b=await _0x270411['readFile'](_0x48bd4d);return createHash(_0x28050a(0x208))[_0x28050a(0x21a)](_0x37606b)[_0x28050a(0x226)](_0x28050a(0x228));}catch(_0x5061ed){if(_0x5061ed[_0x28050a(0x223)]===_0x28050a(0x270))return null;throw _0x5061ed;}}var program=new Command();program[_0x24bed1(0x238)](_0x24bed1(0x20b))[_0x24bed1(0x1cd)](_0x24bed1(0x201))[_0x24bed1(0x1ed)](_0x24bed1(0x1d7)),program[_0x24bed1(0x25c)](_0x24bed1(0x212))[_0x24bed1(0x1cd)](_0x24bed1(0x1e7))[_0x24bed1(0x2af)](()=>{const _0x2ecfa2=_0x24bed1,_0x185b30=getAssetManifest();process[_0x2ecfa2(0x27e)][_0x2ecfa2(0x224)](JSON[_0x2ecfa2(0x1cc)](_0x185b30,null,0x2)+'\x0a');}),program[_0x24bed1(0x25c)](_0x24bed1(0x23d))[_0x24bed1(0x1cd)](_0x24bed1(0x1df))['requiredOption']('--public-dir\x20<path>',_0x24bed1(0x1fd))['option']('--filename\x20<name>',_0x24bed1(0x20c))['action'](async _0xaac7f7=>{const _0x15d746=_0x24bed1,_0x520752=resolve(process[_0x15d746(0x23a)](),_0xaac7f7[_0x15d746(0x20e)]),_0x2ba69d=await syncAssets({'publicDir':_0x520752,'swFilename':_0xaac7f7[_0x15d746(0x221)]});for(const _0x148117 of _0x2ba69d){const _0x453815=relative(process[_0x15d746(0x23a)](),_0x148117[_0x15d746(0x1f4)]);_0x148117['status']===_0x15d746(0x1e2)?process[_0x15d746(0x27e)][_0x15d746(0x224)](_0x15d746(0x294)+_0x148117['relativeDestination']+_0x15d746(0x2b6)+_0x453815+']\x0a'):process[_0x15d746(0x27e)][_0x15d746(0x224)](_0x15d746(0x245)+_0x148117['relativeDestination']+'\x20→\x20'+_0x453815+'\x0a');}}),program[_0x24bed1(0x2a2)]();
3
+ const _0x48fec9=_0xf62a;(function(_0x3d6c72,_0x4be075){const _0x18f3d4=_0xf62a,_0x31b068=_0x3d6c72();while(!![]){try{const _0xc9cbda=parseInt(_0x18f3d4(0x9f))/0x1*(-parseInt(_0x18f3d4(0xe0))/0x2)+parseInt(_0x18f3d4(0xf2))/0x3+-parseInt(_0x18f3d4(0x8f))/0x4+-parseInt(_0x18f3d4(0x119))/0x5+-parseInt(_0x18f3d4(0x83))/0x6*(parseInt(_0x18f3d4(0x11f))/0x7)+parseInt(_0x18f3d4(0x122))/0x8+-parseInt(_0x18f3d4(0xd1))/0x9*(-parseInt(_0x18f3d4(0x128))/0xa);if(_0xc9cbda===_0x4be075)break;else _0x31b068['push'](_0x31b068['shift']());}catch(_0x20f2d8){_0x31b068['push'](_0x31b068['shift']());}}}(_0x10c0,0xc3072));import{Command}from'commander';import{resolve,relative}from'path';var DEFAULT_OVERLAY_PATH=typeof __ENHANCE_DEFAULT_OVERLAY_PATH__!==_0x48fec9(0xf6)?__ENHANCE_DEFAULT_OVERLAY_PATH__:_0x48fec9(0x109),DEFAULT_BACKEND_URL=typeof __ENHANCE_DEFAULT_BACKEND_URL__!==_0x48fec9(0xf6)?__ENHANCE_DEFAULT_BACKEND_URL__:_0x48fec9(0xff),DEFAULT_OVERLAY_HMR=typeof __ENHANCE_OVERLAY_ENABLE_HMR__!=='undefined'?__ENHANCE_OVERLAY_ENABLE_HMR__:![];console[_0x48fec9(0x10c)]('[Enhance\x20Config]\x20Build-time\x20defaults:',{'overlayPath':DEFAULT_OVERLAY_PATH,'backendUrl':DEFAULT_BACKEND_URL,'overlayHmr':DEFAULT_OVERLAY_HMR});function normalizeOptions(_0x56ab3f){const _0x3d28bf=_0x48fec9;if(!_0x56ab3f['publishableKey'])throw new Error('[Enhance]\x20publishableKey\x20is\x20required\x20in\x20Enhance.init()');const _0x38175f=_0x56ab3f['__development']??{};return{'publishableKey':_0x56ab3f[_0x3d28bf(0xd4)],'callbackBypass':_0x56ab3f[_0x3d28bf(0xd8)]??[],'overlay':{'enabled':!![],'position':_0x3d28bf(0x9d),'enableViteHmr':_0x38175f['enableOverlayHmr']??DEFAULT_OVERLAY_HMR},'logLevel':_0x3d28bf(0x158),'swPath':_0x3d28bf(0x107),'overlayPath':_0x38175f[_0x3d28bf(0xcb)]??DEFAULT_OVERLAY_PATH,'runtimeScriptPath':_0x3d28bf(0x160),'security':_0x38175f[_0x3d28bf(0xe1)]??_0x3d28bf(0xce),'backendUrl':_0x38175f[_0x3d28bf(0xba)]??DEFAULT_BACKEND_URL};}var state={'enabled':![],'controlled':![],'appError':null};function getEnhancementId(){const _0x487e03=_0x48fec9;try{const _0x259cbc=new URLSearchParams(window[_0x487e03(0xd7)][_0x487e03(0xa5)]);return _0x259cbc[_0x487e03(0x14b)](_0x487e03(0xd2))?.[_0x487e03(0xae)]()||'';}catch{return'';}}function _0xf62a(_0x353e8a,_0x5eadad){_0x353e8a=_0x353e8a-0x7b;const _0x10c066=_0x10c0();let _0xf62a31=_0x10c066[_0x353e8a];return _0xf62a31;}var LOG_PREFIX=_0x48fec9(0x134),overlayController=null,overlayLoadPromise=null,toggleHandler=null,currentOptions=null;async function loadOverlay(_0x36d06e){const _0x4d5fbd=_0x48fec9;console['log'](LOG_PREFIX+_0x4d5fbd(0x90)),console[_0x4d5fbd(0x10c)](LOG_PREFIX+_0x4d5fbd(0xc3)+_0x36d06e[_0x4d5fbd(0xcb)]),console[_0x4d5fbd(0x10c)](LOG_PREFIX+_0x4d5fbd(0x11e)+_0x36d06e[_0x4d5fbd(0x124)]),currentOptions=_0x36d06e[_0x4d5fbd(0x14d)],toggleHandler=_0x36d06e[_0x4d5fbd(0xf0)];if(overlayController){console['log'](LOG_PREFIX+'\x20Controller\x20already\x20exists\x20-\x20updating\x20overlay'),updateOverlay();return;}if(overlayLoadPromise)return console[_0x4d5fbd(0x10c)](LOG_PREFIX+_0x4d5fbd(0x120)),overlayLoadPromise;console[_0x4d5fbd(0x10c)](LOG_PREFIX+_0x4d5fbd(0xd6)),overlayLoadPromise=doLoadOverlay(_0x36d06e);try{await overlayLoadPromise,console['log'](LOG_PREFIX+_0x4d5fbd(0x101));}catch(_0x4dd7a9){console[_0x4d5fbd(0xb0)](LOG_PREFIX+'\x20loadOverlay()\x20failed:',_0x4dd7a9);}finally{overlayLoadPromise=null;}}async function doLoadOverlay(_0x6a7a7a){const _0x181127=_0x48fec9;console[_0x181127(0x10c)](LOG_PREFIX+_0x181127(0x133));if(typeof window===_0x181127(0xf6)){console['log'](LOG_PREFIX+_0x181127(0x135));return;}if(window[_0x181127(0xc2)]){console[_0x181127(0x10c)](LOG_PREFIX+'\x20Found\x20cached\x20overlay\x20controller\x20on\x20window.__enhanceOverlay\x20-\x20skipping\x20reinit'),overlayController=window['__enhanceOverlay'];return;}console['log'](LOG_PREFIX+_0x181127(0x159));try{_0x6a7a7a[_0x181127(0x124)]&&(console[_0x181127(0x10c)](LOG_PREFIX+_0x181127(0xe4)),await setupRemoteHMR(_0x6a7a7a['overlayPath']));console['log'](LOG_PREFIX+'\x20Importing\x20overlay\x20module\x20from:\x20'+_0x6a7a7a[_0x181127(0xcb)]);const _0x2ca66b=Date[_0x181127(0x102)](),_0x19e485=await import(_0x6a7a7a[_0x181127(0xcb)]);console[_0x181127(0x10c)](LOG_PREFIX+_0x181127(0xb9)+(Date[_0x181127(0x102)]()-_0x2ca66b)+'ms'),console[_0x181127(0x10c)](LOG_PREFIX+_0x181127(0x8b),Object[_0x181127(0xa6)](_0x19e485));if(typeof _0x19e485?.[_0x181127(0x106)]!==_0x181127(0xbc)){console[_0x181127(0xb0)](LOG_PREFIX+_0x181127(0x157)),console[_0x181127(0xb0)](LOG_PREFIX+_0x181127(0x144),Object['keys'](_0x19e485));return;}console[_0x181127(0x10c)](LOG_PREFIX+_0x181127(0x11b));const _0x2080d4=_0x19e485[_0x181127(0x106)]();console[_0x181127(0x10c)](LOG_PREFIX+_0x181127(0xea),_0x2080d4),overlayController=_0x2080d4,window[_0x181127(0xc2)]=_0x2080d4,_0x2080d4['onToggle'](_0x6a7a7a[_0x181127(0xf0)]),console[_0x181127(0x10c)](LOG_PREFIX+_0x181127(0x11c)),console[_0x181127(0x10c)](LOG_PREFIX+_0x181127(0x13d)),updateOverlay();}catch(_0xc27856){console['error'](LOG_PREFIX+_0x181127(0xef),_0xc27856);}}function updateOverlay(){const _0x305078=_0x48fec9;console[_0x305078(0x10c)](LOG_PREFIX+_0x305078(0x86)),console[_0x305078(0x10c)](LOG_PREFIX+_0x305078(0x88)+!!overlayController),console['log'](LOG_PREFIX+_0x305078(0x12b)+!!currentOptions);if(!overlayController||!currentOptions){console[_0x305078(0x10c)](LOG_PREFIX+_0x305078(0x12f));return;}const _0x1ebfbc=composeOverlayState(currentOptions);console[_0x305078(0x10c)](LOG_PREFIX+'\x20Updating\x20overlay\x20with\x20state:',JSON['stringify'](_0x1ebfbc,null,0x2)),overlayController['update'](_0x1ebfbc),console[_0x305078(0x10c)](LOG_PREFIX+_0x305078(0x148));}function composeOverlayState(_0x7406c5){const _0x349171=_0x48fec9,_0x106e61=getEnhancementId();return console[_0x349171(0x10c)](LOG_PREFIX+'\x20composeOverlayState\x20-\x20enhancementId:\x20'+_0x106e61),console[_0x349171(0x10c)](LOG_PREFIX+_0x349171(0xb5)+state[_0x349171(0x14c)]),console[_0x349171(0x10c)](LOG_PREFIX+_0x349171(0xc5)+state['controlled']),{'enhancementId':_0x106e61,'enabled':state[_0x349171(0x14c)],'controlled':state[_0x349171(0x162)],'overlayPosition':_0x7406c5['overlay'][_0x349171(0xb8)],'securityMode':_0x7406c5[_0x349171(0xe1)],'backendBaseUrl':_0x7406c5[_0x349171(0xba)],'appError':state[_0x349171(0xdc)]};}async function setupRemoteHMR(_0xda3e8f){const _0x47a228=_0x48fec9;console[_0x47a228(0x10c)](LOG_PREFIX+_0x47a228(0xa0)+_0xda3e8f);if(typeof window===_0x47a228(0xf6))return;try{const _0x3cfbf8=new URL(_0xda3e8f,window[_0x47a228(0xd7)]['origin']),_0x3ecda1=_0x3cfbf8[_0x47a228(0x92)];console[_0x47a228(0x10c)](LOG_PREFIX+_0x47a228(0x94)+_0x3ecda1+_0x47a228(0xcf)+window[_0x47a228(0xd7)][_0x47a228(0x92)]);if(_0x3ecda1===window[_0x47a228(0xd7)][_0x47a228(0x92)]){console[_0x47a228(0x10c)](LOG_PREFIX+_0x47a228(0xb4));return;}console[_0x47a228(0x10c)](LOG_PREFIX+_0x47a228(0x130)),await ensureReactRefreshPreamble(_0x3ecda1),await ensureViteClient(_0x3ecda1),console['log'](LOG_PREFIX+_0x47a228(0x125));}catch(_0x57b9d5){console[_0x47a228(0x8e)](LOG_PREFIX+_0x47a228(0x126),_0x57b9d5);}}async function ensureReactRefreshPreamble(_0x5a2ef4){const _0x2e40b1=_0x48fec9;window['__enhanceReactRefreshInstalledOrigins']??=new Set();if(window['__enhanceReactRefreshInstalledOrigins']['has'](_0x5a2ef4)){console[_0x2e40b1(0x10c)](LOG_PREFIX+'\x20React\x20Refresh\x20already\x20installed\x20for\x20'+_0x5a2ef4);return;}console[_0x2e40b1(0x10c)](LOG_PREFIX+_0x2e40b1(0x117)+_0x5a2ef4+'...');const _0x28c4d6=await import(_0x5a2ef4+_0x2e40b1(0xd5)),_0x242fcb=_0x28c4d6&&typeof _0x28c4d6===_0x2e40b1(0xaa)&&_0x2e40b1(0x93)in _0x28c4d6?_0x28c4d6[_0x2e40b1(0x93)]:_0x28c4d6;if(!isRefreshRuntime(_0x242fcb)){console['warn'](LOG_PREFIX+_0x2e40b1(0x97));return;}_0x242fcb[_0x2e40b1(0xf7)](window),window[_0x2e40b1(0x113)]=()=>{},window['$RefreshSig$']=()=>_0x28fb68=>_0x28fb68,window[_0x2e40b1(0x104)]=!![],window['__enhanceReactRefreshInstalledOrigins'][_0x2e40b1(0x136)](_0x5a2ef4),console[_0x2e40b1(0x10c)](LOG_PREFIX+_0x2e40b1(0x10e)+_0x5a2ef4);}async function ensureViteClient(_0x2c4dc4){const _0x6f95cb=_0x48fec9;window[_0x6f95cb(0xbe)]??=new Set();if(window[_0x6f95cb(0xbe)]['has'](_0x2c4dc4)){console[_0x6f95cb(0x10c)](LOG_PREFIX+_0x6f95cb(0x118)+_0x2c4dc4);return;}console[_0x6f95cb(0x10c)](LOG_PREFIX+_0x6f95cb(0x95)+_0x2c4dc4+_0x6f95cb(0xe5)),await import(_0x2c4dc4+_0x6f95cb(0x121)),window[_0x6f95cb(0xbe)][_0x6f95cb(0x136)](_0x2c4dc4),console[_0x6f95cb(0x10c)](LOG_PREFIX+_0x6f95cb(0xbd)+_0x2c4dc4);}function isRefreshRuntime(_0x53609e){const _0x433724=_0x48fec9;return typeof _0x53609e==='object'&&_0x53609e!==null&&_0x433724(0xf7)in _0x53609e&&typeof _0x53609e[_0x433724(0xf7)]===_0x433724(0xbc);}var WORKER_MESSAGE_CONFIG='enhance:configure',WORKER_MESSAGE_DISABLE=_0x48fec9(0x167),LOG_PREFIX2=_0x48fec9(0x114),registration=null,currentOptions2=null;async function registerServiceWorker(_0x2cf96a){const _0x5844a7=_0x48fec9;console[_0x5844a7(0x10c)](LOG_PREFIX2+'\x20registerServiceWorker()\x20called');if(!(_0x5844a7(0x80)in navigator)){console['warn'](LOG_PREFIX2+'\x20Service\x20workers\x20NOT\x20supported');return;}const _0x1bf166=!!navigator[_0x5844a7(0x80)][_0x5844a7(0x7b)];currentOptions2=_0x2cf96a;const _0x26faa8=await detectBlockingServiceWorker(_0x2cf96a[_0x5844a7(0xe7)]);if(_0x26faa8){console[_0x5844a7(0xb0)](LOG_PREFIX2+_0x5844a7(0xde)+_0x26faa8);return;}try{console[_0x5844a7(0x10c)](LOG_PREFIX2+_0x5844a7(0x9e)+_0x2cf96a[_0x5844a7(0xe7)]+_0x5844a7(0xe5)),registration=await navigator[_0x5844a7(0x80)][_0x5844a7(0xe3)](_0x2cf96a[_0x5844a7(0xe7)],{'scope':'/'}),console[_0x5844a7(0x10c)](LOG_PREFIX2+_0x5844a7(0xec)),await navigator['serviceWorker'][_0x5844a7(0x12c)],console['log'](LOG_PREFIX2+_0x5844a7(0xa2)),state[_0x5844a7(0x162)]=ownsCurrentController(_0x2cf96a['swPath']);if(!_0x1bf166&&!navigator['serviceWorker']['controller']){console[_0x5844a7(0x10c)](LOG_PREFIX2+_0x5844a7(0x116)),window[_0x5844a7(0xd7)][_0x5844a7(0x89)]();return;}console['log'](LOG_PREFIX2+_0x5844a7(0xab)),await sendConfiguration();if(state['enabled']){const _0x306d85=document['querySelector'](_0x5844a7(0x7d))!==null;if(!_0x306d85){console['log'](LOG_PREFIX2+_0x5844a7(0x15e)),window[_0x5844a7(0xd7)][_0x5844a7(0x89)]();return;}}updateOverlay(),console[_0x5844a7(0x10c)](LOG_PREFIX2+_0x5844a7(0xda));}catch(_0x766656){console[_0x5844a7(0xb0)](LOG_PREFIX2+_0x5844a7(0x10b),_0x766656);}}async function sendConfiguration(){const _0xb2a0=_0x48fec9;if(!state[_0xb2a0(0x14c)]||!currentOptions2)return;const _0x4b01b6=await resolveWorker();if(!_0x4b01b6){console[_0xb2a0(0x8e)](LOG_PREFIX2+_0xb2a0(0xb7));return;}const _0x3066f9=window[_0xb2a0(0x13e)]??null,_0x2658a1={'publishableKey':currentOptions2[_0xb2a0(0xd4)],'callbackBypass':currentOptions2[_0xb2a0(0xd8)],'securityMode':currentOptions2[_0xb2a0(0xe1)],'enhancementUrl':_0x3066f9??void 0x0};console[_0xb2a0(0x10c)](LOG_PREFIX2+_0xb2a0(0x161),JSON[_0xb2a0(0xe2)](_0x2658a1,null,0x2)),_0x4b01b6['postMessage']({'type':WORKER_MESSAGE_CONFIG,'config':_0x2658a1});}async function unregisterServiceWorker(_0x2d2104){const _0xae26ff=_0x48fec9;console[_0xae26ff(0x10c)](LOG_PREFIX2+_0xae26ff(0x138));if(!(_0xae26ff(0x80)in navigator))return;try{const _0x29ceee=registration??await navigator['serviceWorker'][_0xae26ff(0xbf)]('/');if(!_0x29ceee)return;const _0x485100=[_0x29ceee[_0xae26ff(0xd3)]?.[_0xae26ff(0xf4)],_0x29ceee[_0xae26ff(0xc0)]?.[_0xae26ff(0xf4)],_0x29ceee[_0xae26ff(0xfa)]?.['scriptURL']],_0xd8a29a=_0x485100[_0xae26ff(0xcd)](_0x29a1c5=>_0x29a1c5&&ownsServiceWorker(_0x29a1c5,_0x2d2104));if(!_0xd8a29a)return;_0x29ceee[_0xae26ff(0xd3)]&&_0x29ceee['active'][_0xae26ff(0x127)]({'type':WORKER_MESSAGE_DISABLE}),await _0x29ceee[_0xae26ff(0x123)](),registration=null,currentOptions2=null,console['log'](LOG_PREFIX2+_0xae26ff(0xc1));}catch(_0x2fc6d2){console[_0xae26ff(0xb0)](LOG_PREFIX2+_0xae26ff(0x13f),_0x2fc6d2);}}function ownsServiceWorker(_0x320f98,_0x1e7156){const _0x4a016e=_0x48fec9,_0x484a9f=typeof window!==_0x4a016e(0xf6)?window[_0x4a016e(0xd7)]['origin']:'',_0x313a80=new URL(_0x1e7156,_0x484a9f||void 0x0)[_0x4a016e(0x112)];return _0x320f98===_0x313a80||_0x320f98['includes']('sw-enhance');}function ownsCurrentController(_0x28d57e){const _0x7517a9=_0x48fec9,_0x3f3345=navigator['serviceWorker']?.[_0x7517a9(0x7b)];if(!_0x3f3345)return![];return ownsServiceWorker(_0x3f3345[_0x7517a9(0xf4)],_0x28d57e);}async function detectBlockingServiceWorker(_0x3f2e97){const _0x3c6d13=_0x48fec9;if(!navigator[_0x3c6d13(0x80)])return null;try{const _0x2d3a21=await navigator[_0x3c6d13(0x80)]['getRegistration']('/'),_0x467709=_0x2d3a21?.[_0x3c6d13(0xd3)]?.['scriptURL'];if(!_0x467709)return null;if(ownsServiceWorker(_0x467709,_0x3f2e97))return null;return _0x467709;}catch{return null;}}async function resolveWorker(){const _0x1110ec=_0x48fec9,_0x4fd506=registration??await navigator['serviceWorker']?.['getRegistration']('/');return _0x4fd506?.[_0x1110ec(0xd3)]??_0x4fd506?.[_0x1110ec(0xc0)]??_0x4fd506?.['installing']??null;}var LOG_PREFIX3='[Enhance\x20Runtime]',STORAGE_KEY_ENHANCEMENT_ID=_0x48fec9(0xa8),STORAGE_KEY_ENHANCEMENT_URL=_0x48fec9(0x16a);function isInitialized(){const _0x3f2fb1=_0x48fec9;return typeof window!==_0x3f2fb1(0xf6)&&window['__enhanceInitialized']===!![];}function setInitialized(_0x118577){const _0x460b67=_0x48fec9;typeof window!==_0x460b67(0xf6)&&(window[_0x460b67(0x137)]=_0x118577);}function getOptions(){const _0x3262b3=_0x48fec9;return typeof window!==_0x3262b3(0xf6)?window[_0x3262b3(0x14a)]??null:null;}function setOptions(_0x2bdef6){const _0xe826e2=_0x48fec9;typeof window!==_0xe826e2(0xf6)&&(window[_0xe826e2(0x14a)]=_0x2bdef6);}var Enhance={'init'(_0x52210d){const _0xe829cc=_0x48fec9,_0xc9bcab=Date[_0xe829cc(0x102)]();console[_0xe829cc(0x10c)](LOG_PREFIX3+_0xe829cc(0x169)+_0xc9bcab),console['log'](LOG_PREFIX3+_0xe829cc(0x99)+window['location'][_0xe829cc(0x112)]),console[_0xe829cc(0x10c)](LOG_PREFIX3+_0xe829cc(0x91)+document['readyState']);if(isInitialized())return console[_0xe829cc(0x8e)](LOG_PREFIX3+_0xe829cc(0xf5)),window[_0xe829cc(0x87)]??createController();setInitialized(!![]);const _0x5d946e=normalizeOptions(_0x52210d);setOptions(_0x5d946e);const _0x8591e3=parseEnhancementParams();console['log'](LOG_PREFIX3+_0xe829cc(0xb1),JSON['stringify'](_0x8591e3,null,0x2));if(_0x8591e3['explicitDisable'])return cleanUrlParam(_0xe829cc(0xfb)),clearPersistedEnhancement(),console['log'](LOG_PREFIX3+_0xe829cc(0x110)),createController();if(!_0x8591e3[_0xe829cc(0xee)])return console[_0xe829cc(0x10c)](LOG_PREFIX3+_0xe829cc(0x103)),void unregisterServiceWorker(_0x5d946e[_0xe829cc(0xe7)]),setupViteErrorListeners(),createController();return console[_0xe829cc(0x10c)](LOG_PREFIX3+'\x20Enhancement\x20mode\x20-\x20ID:\x20'+_0x8591e3['enhancementId']),state['enabled']=!![],void initializeEnhancement(_0x5d946e,_0x8591e3[_0xe829cc(0xee)],_0x8591e3[_0xe829cc(0xc7)]),createController();}};async function initializeEnhancement(_0x3b1a29,_0x134346,_0x49a3a0){const _0x47def0=_0x48fec9;let _0x553305=_0x49a3a0;if(!_0x553305){console[_0x47def0(0x10c)](LOG_PREFIX3+'\x20Resolving\x20enhancement\x20ID:\x20'+_0x134346),_0x553305=await resolveEnhancementUrl(_0x3b1a29,_0x134346);if(!_0x553305){console[_0x47def0(0xb0)](LOG_PREFIX3+_0x47def0(0xe8)),state[_0x47def0(0x14c)]=![];return;}}else console[_0x47def0(0x10c)](LOG_PREFIX3+'\x20Using\x20cached\x20enhancement\x20URL:\x20'+_0x553305);persistEnhancement(_0x134346,_0x553305),window[_0x47def0(0x13e)]=_0x553305,console[_0x47def0(0x10c)](LOG_PREFIX3+_0x47def0(0xed)),await registerServiceWorker(_0x3b1a29),console[_0x47def0(0x10c)](LOG_PREFIX3+_0x47def0(0x15a)),await loadOverlay({'overlayPath':_0x3b1a29['overlayPath'],'enableViteHmr':_0x3b1a29['overlay'][_0x47def0(0x124)],'options':_0x3b1a29,'onToggle':handleToggle}),console['log'](LOG_PREFIX3+'\x20Enhancement\x20initialization\x20complete');}async function resolveEnhancementUrl(_0x395fb9,_0x2bd551){const _0x222b6d=_0x48fec9,_0x4cd64b=_0x395fb9['backendUrl']+_0x222b6d(0x153)+_0x2bd551+_0x222b6d(0x13b);console[_0x222b6d(0x10c)](LOG_PREFIX3+_0x222b6d(0x15b)+_0x4cd64b);try{const _0x59cea7=await fetch(_0x4cd64b,{'headers':{'X-Enhance-Publishable-Key':_0x395fb9[_0x222b6d(0xd4)]}});if(!_0x59cea7['ok']){const _0x239d16=await _0x59cea7[_0x222b6d(0x13c)]();return console[_0x222b6d(0xb0)](LOG_PREFIX3+_0x222b6d(0x150)+_0x59cea7['status']+'\x20'+_0x239d16),null;}const _0x176ee3=await _0x59cea7[_0x222b6d(0x9c)](),_0x538b59=''+_0x395fb9[_0x222b6d(0xba)]+_0x176ee3[_0x222b6d(0x115)];return console[_0x222b6d(0x10c)](LOG_PREFIX3+_0x222b6d(0x11d)+_0x538b59),_0x538b59;}catch(_0x1dee80){return console[_0x222b6d(0xb0)](LOG_PREFIX3+_0x222b6d(0xc9),_0x1dee80),null;}}function parseEnhancementParams(){const _0x397dc5=_0x48fec9,_0x5c46cd=new URL(window[_0x397dc5(0xd7)]['href']),_0x16beab=_0x5c46cd[_0x397dc5(0x15f)][_0x397dc5(0x14b)]('enhance')?.[_0x397dc5(0xa3)](),_0x5525ef=_0x16beab==='0'||_0x16beab==='false'||_0x16beab===_0x397dc5(0xc8);let _0x3e978b=_0x5c46cd[_0x397dc5(0x15f)][_0x397dc5(0x14b)](_0x397dc5(0xd2)),_0x5e4e02=null;if(_0x3e978b)try{const _0x54b1a6=sessionStorage[_0x397dc5(0x141)](STORAGE_KEY_ENHANCEMENT_ID),_0x1f161a=sessionStorage[_0x397dc5(0x141)](STORAGE_KEY_ENHANCEMENT_URL);_0x54b1a6===_0x3e978b&&_0x1f161a&&(_0x5e4e02=_0x1f161a,console[_0x397dc5(0x10c)](LOG_PREFIX3+'\x20Found\x20cached\x20URL\x20for\x20enhancement\x20ID'));}catch{}else try{const _0x540fb7=sessionStorage[_0x397dc5(0x141)](STORAGE_KEY_ENHANCEMENT_ID),_0x5f4a5b=sessionStorage[_0x397dc5(0x141)](STORAGE_KEY_ENHANCEMENT_URL);_0x540fb7&&_0x5f4a5b&&(_0x3e978b=_0x540fb7,_0x5e4e02=_0x5f4a5b,console[_0x397dc5(0x10c)](LOG_PREFIX3+'\x20Restored\x20enhancement\x20from\x20sessionStorage'),_0x5c46cd[_0x397dc5(0x15f)][_0x397dc5(0x12a)](_0x397dc5(0xd2),_0x3e978b),window[_0x397dc5(0x143)][_0x397dc5(0x139)](null,document['title'],_0x5c46cd[_0x397dc5(0xfe)]()));}catch{}return{'enhancementId':_0x3e978b,'cachedUrl':_0x5e4e02,'explicitDisable':_0x5525ef};}function persistEnhancement(_0x56bdc6,_0x211178){const _0x41737c=_0x48fec9;try{sessionStorage[_0x41737c(0xc6)](STORAGE_KEY_ENHANCEMENT_ID,_0x56bdc6),sessionStorage[_0x41737c(0xc6)](STORAGE_KEY_ENHANCEMENT_URL,_0x211178),console[_0x41737c(0x10c)](LOG_PREFIX3+'\x20Persisted\x20enhancement\x20to\x20sessionStorage');}catch{}}function clearPersistedEnhancement(){const _0x2ec11b=_0x48fec9;try{sessionStorage[_0x2ec11b(0x11a)](STORAGE_KEY_ENHANCEMENT_ID),sessionStorage[_0x2ec11b(0x11a)](STORAGE_KEY_ENHANCEMENT_URL),console[_0x2ec11b(0x10c)](LOG_PREFIX3+_0x2ec11b(0xdb));}catch{}}function createController(){const _0x8b4b3e=_0x48fec9,_0x2e725b={'enable'(){const _0x49c3d4=_0xf62a,_0x34dc78=getOptions();if(!_0x34dc78)return;state[_0x49c3d4(0x14c)]=!![],void registerServiceWorker(_0x34dc78),void sendConfiguration(),updateOverlay();},'disable'(){const _0xbaca6e=_0xf62a,_0x18da1e=getOptions();if(!_0x18da1e)return;state[_0xbaca6e(0x14c)]=![],state['controlled']=![],clearPersistedEnhancement(),updateOverlay(),void unregisterServiceWorker(_0x18da1e[_0xbaca6e(0xe7)]);},'status'(){const _0x1e1722=_0xf62a;return{'enabled':state['enabled'],'controlled':state[_0x1e1722(0x162)]};}};return typeof window!==_0x8b4b3e(0xf6)&&(window['__enhanceController']=_0x2e725b),_0x2e725b;}function handleToggle(){const _0x2fd619=_0x48fec9,_0x39094b=createController();state[_0x2fd619(0x14c)]?_0x39094b[_0x2fd619(0x96)]():_0x39094b['enable']();}function _0x10c0(){const _0x5c20bb=['override','\x20BLOCKING\x20SW\x20detected:\x20','ENHANCE_OVERLAY_PATH=https://assets.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://api.enhancelabs.ai\x20tsup','11282WNTiET','security','stringify','register','\x20Setting\x20up\x20remote\x20HMR...','...','push','swPath','\x20Failed\x20to\x20resolve\x20enhancement\x20-\x20aborting','./dev/vite/index.d.ts','\x20Controller\x20created:','public','\x20Waiting\x20for\x20SW\x20ready...','\x20Registering\x20SW\x20with\x20enhancement\x20URL...','enhancementId','\x20Failed\x20to\x20import/create\x20overlay:','onToggle','--filename\x20<name>','2208189MpkWwh','destinationPath','scriptURL','\x20Already\x20initialized\x20-\x20returning\x20existing\x20controller','undefined','injectIntoGlobalHook','requiredOption','all','installing','enhance','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20tsup','\x20(already\x20current)\x20[','toString','https://api.enhancelabs.ai','sw-enhance.js','\x20loadOverlay()\x20complete','now','\x20Normal\x20mode\x20-\x20no\x20enhancement','__vite_plugin_react_preamble_installed__','relativeDestination','createOverlay','/sw-enhance.js','https://','https://assets.enhancelabs.ai/overlay.js','action','\x20Failed\x20to\x20register\x20service\x20worker:','log','title','\x20React\x20Refresh\x20runtime\x20installed\x20for\x20','option','\x20Explicit\x20disable\x20-\x20exiting','sourcePath','href','$RefreshReg$','[Enhance\x20SW-Client]','operatingPath','\x20SW\x20just\x20activated\x20-\x20reloading\x20to\x20enable\x20enhancement','\x20Installing\x20React\x20Refresh\x20runtime\x20from\x20','\x20Vite\x20client\x20already\x20loaded\x20for\x20','4466335gKqyVB','removeItem','\x20Calling\x20createOverlay()...','\x20Overlay\x20controller\x20initialized\x20and\x20cached','\x20Resolved\x20to:\x20','\x20enableViteHmr:\x20','21CBAnMx','\x20Load\x20already\x20in\x20progress\x20-\x20waiting...','/@vite/client','10250936dRFBmC','unregister','enableViteHmr','\x20HMR\x20setup\x20complete','\x20Failed\x20to\x20prepare\x20remote\x20HMR\x20(non-fatal):','postMessage','4377700lrmhRT','update','set','\x20currentOptions\x20exists:\x20','ready','Enhance\x20sandbox\x20utility\x20CLI','cwd','\x20Missing\x20controller\x20or\x20options\x20-\x20skipping\x20update','\x20Cross-origin\x20overlay\x20-\x20setting\x20up\x20HMR...','write','\x20→\x20','\x20doLoadOverlay()\x20starting...','[Enhance\x20Overlay]','\x20No\x20window\x20object\x20-\x20skipping','add','__enhanceInitialized','\x20unregisterServiceWorker()\x20called','replaceState','runtimeURL','/resolve','text','\x20Calling\x20updateOverlay()...','__enhanceResolvedUrl','\x20Failed\x20to\x20unregister\x20service\x20worker:','sha256','getItem','0.0.0','history','\x20Available\x20exports:','./dev/vite/index.js','Copied\x20','mkdir','\x20Overlay\x20update\x20complete','skipped','__enhanceOptions','get','enabled','options','filename','./dev/index.d.ts','\x20Resolution\x20failed:\x20','http://','module','/public/enhancements/','assets/enhance-runtime.js','dev/','name','\x20Module\x20missing\x20createOverlay\x20export!','info','\x20No\x20cached\x20controller\x20-\x20will\x20import\x20module','\x20Loading\x20overlay...','\x20Calling:\x20','replace','description','\x20Page\x20not\x20enhanced\x20-\x20reloading','searchParams','/assets/enhance-runtime.js','\x20Sending\x20config\x20to\x20SW:','controlled','code','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://overlay.localhost:8099\x20tsup\x20--watch','Print\x20the\x20current\x20asset\x20manifest','delete','enhance:disable','err','\x20init()\x20called\x20at\x20','enhance.enhancementUrl','controller','readFile','[data-enhance-runtime-bootstrap]','bun\x20version\x20patch\x20--no-git-tag-version','./dev/cli.js','serviceWorker','Directory\x20to\x20copy\x20the\x20service\x20worker\x20into','@enhance-eng/sandbox','3142446eAUSAz','--public-dir\x20<path>','../dist/index.js','\x20updateOverlay()\x20called','__enhanceController','\x20overlayController\x20exists:\x20','reload','^8.5.1','\x20Module\x20exports:','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20tsup\x20--watch','Skipped\x20','warn','6046616fYENxK','\x20loadOverlay()\x20called','\x20Document\x20readyState:\x20','origin','default','\x20Overlay\x20origin:\x20','\x20Loading\x20Vite\x20HMR\x20client\x20from\x20','disable','\x20Invalid\x20React\x20Refresh\x20runtime','swFilename','\x20Current\x20URL:\x20','prepare-sw','Override\x20the\x20service\x20worker\x20output\x20filename\x20(defaults\x20to\x20sw-enhance.js)','json','bottom-right','\x20Registering\x20SW\x20at\x20','132jiorfU','\x20setupRemoteHMR()\x20for\x20','0.3.21','\x20SW\x20ready','toLowerCase','Enhance\x20preview\x20bootstrap\x20and\x20tooling\x20package.','search','keys','manifest','enhance.enhancementId','enhance-sandbox','object','\x20Sending\x20configuration\x20to\x20SW...','stdout','publicDir','trim','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://overlay.localhost:8099\x20tsup','error','\x20Enhancement\x20params:','./dev/index.js','digest','\x20Same\x20origin\x20-\x20skipping\x20HMR\x20setup','\x20composeOverlayState\x20-\x20state.enabled:\x20','MIT','\x20No\x20service\x20worker\x20active\x20to\x20configure','position','\x20Module\x20imported\x20in\x20','backendUrl','^7.2.4','function','\x20Vite\x20HMR\x20client\x20loaded\x20for\x20','__viteHMRLoaded','getRegistration','waiting','\x20SW\x20unregistered','__enhanceOverlay','\x20overlayPath:\x20','version','\x20composeOverlayState\x20-\x20state.controlled:\x20','setItem','cachedUrl','off','\x20Resolution\x20error:','message','overlayPath','serviceWorkerURL','some','permissive',',\x20page\x20origin:\x20','ENOENT','72CTcfYv','enhancement','active','publishableKey','/@react-refresh','\x20Starting\x20fresh\x20overlay\x20load...','location','callbackBypass','startsWith','\x20registerServiceWorker()\x20complete','\x20Cleared\x20persisted\x20enhancement','appError'];_0x10c0=function(){return _0x5c20bb;};return _0x10c0();}function cleanUrlParam(_0x34b9e2){const _0x59eabc=_0x48fec9,_0xa2a1b2=new URL(window['location'][_0x59eabc(0x112)]);_0xa2a1b2[_0x59eabc(0x15f)]['has'](_0x34b9e2)&&(_0xa2a1b2[_0x59eabc(0x15f)][_0x59eabc(0x166)](_0x34b9e2),window['history'][_0x59eabc(0x139)](null,document[_0x59eabc(0x10d)],_0xa2a1b2['toString']()));}function setupViteErrorListeners(){import.meta.hot&&(import.meta.hot['on']('vite:error',_0x405700=>{const _0x269b13=_0xf62a;state[_0x269b13(0xdc)]={'message':_0x405700[_0x269b13(0x168)][_0x269b13(0xca)]},updateOverlay();}),import.meta.hot['on']('vite:beforeUpdate',()=>{const _0x4e05bf=_0xf62a;state[_0x4e05bf(0xdc)]&&(state['appError']=null,updateOverlay());}));}var package_default={'name':_0x48fec9(0x82),'version':_0x48fec9(0xa1),'type':_0x48fec9(0x152),'description':_0x48fec9(0xa4),'license':_0x48fec9(0xb6),'main':_0x48fec9(0xb2),'module':_0x48fec9(0xb2),'types':'./dev/index.d.ts','exports':{'.':{'types':_0x48fec9(0x14f),'import':_0x48fec9(0xb2)},'./vite':{'types':_0x48fec9(0xe9),'import':_0x48fec9(0x145)}},'files':[_0x48fec9(0x155)],'bin':{'enhance-sandbox':_0x48fec9(0x7f)},'scripts':{'typecheck':'tsc\x20--noEmit','dev':_0x48fec9(0x164),'dev:build':_0x48fec9(0xaf),'dev:staging':_0x48fec9(0x8c),'dev:staging:build':_0x48fec9(0xfc),'build':_0x48fec9(0xdf),'build:release':'ENHANCE_OVERLAY_PATH=https://assets.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://api.enhancelabs.ai\x20OBFUSCATE=1\x20RELEASE=1\x20tsup','build:release:dev':'ENHANCE_OVERLAY_PATH=https://assets-dev.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20OBFUSCATE=1\x20RELEASE=1\x20tsup','version':_0x48fec9(0x7e)},'dependencies':{'commander':'^11.1.0','zod':'^3.22.4'},'devDependencies':{'@types/node':'^24.10.1','javascript-obfuscator':'^4.1.1','tsup':_0x48fec9(0x8a),'vite':_0x48fec9(0xbb)},'publishConfig':{'access':_0x48fec9(0xeb)}},DEFAULT_SERVICE_WORKER_PATH='/sw-enhance.js',DEFAULT_RUNTIME_PATH='/assets/enhance-runtime.js',DIST_SERVICE_WORKER_PATH=_0x48fec9(0x100),DIST_RUNTIME_PATH=_0x48fec9(0x154),PACKAGE_VERSION=typeof package_default[_0x48fec9(0xc4)]==='string'?package_default[_0x48fec9(0xc4)]:_0x48fec9(0x142);function normalizeAssetPath(_0x131ae7){const _0x11d800=_0x48fec9;if(!_0x131ae7)return _0x131ae7;if(_0x131ae7[_0x11d800(0xd9)](_0x11d800(0x151))||_0x131ae7['startsWith'](_0x11d800(0x108)))return _0x131ae7;const _0x35912a=_0x131ae7[_0x11d800(0x15c)](/^\.\//,'');return _0x35912a['startsWith']('/')?_0x35912a:'/'+_0x35912a;}var defaultSwPath=normalizeAssetPath(DEFAULT_SERVICE_WORKER_PATH),defaultRuntimePath=normalizeAssetPath(DEFAULT_RUNTIME_PATH),Enhance2={'init'(_0x23ac8e){return Enhance['init'](_0x23ac8e);},'serviceWorkerURL'(){return defaultSwPath;},'runtimeURL'(){return defaultRuntimePath;},'assetManifest'(){return getAssetManifest();}};function getAssetManifest(){return{'version':PACKAGE_VERSION,'serviceWorker':serviceWorkerURL(),'runtime':runtimeURL(),'serviceWorkerDigest':null,'runtimeDigest':null};}function serviceWorkerURL(){const _0x5ae88c=_0x48fec9;return Enhance2[_0x5ae88c(0xcc)]();}function runtimeURL(){const _0x41374f=_0x48fec9;return Enhance2[_0x41374f(0x13a)]();}import{promises as _0x1e0e1f}from'fs';import{createHash}from'crypto';import{dirname,join}from'path';import{fileURLToPath}from'url';var distDir=dirname(fileURLToPath(new URL(_0x48fec9(0x85),import.meta.url)));async function syncAssets(_0x5dab46){const _0xc51b6c=_0x48fec9,_0x1f9191=[{'sourcePath':DIST_SERVICE_WORKER_PATH,'manifestPath':normalizeAssetPath(DEFAULT_SERVICE_WORKER_PATH),'override':_0x5dab46[_0xc51b6c(0x98)]?'./'+_0x5dab46[_0xc51b6c(0x98)]:void 0x0},{'sourcePath':DIST_RUNTIME_PATH,'manifestPath':normalizeAssetPath(DEFAULT_RUNTIME_PATH)}],_0x5712af=[];for(const _0x2d99c0 of _0x1f9191){const _0x2134f0=cleanRelativePath(_0x2d99c0[_0xc51b6c(0xdd)]??_0x2d99c0['manifestPath']),_0x37052a=join(distDir,cleanRelativePath(_0x2d99c0[_0xc51b6c(0x111)])),_0x481130=join(_0x5dab46['publicDir'],_0x2134f0),[_0x5649ff,_0x21afbf]=await Promise[_0xc51b6c(0xf9)]([readDigest(_0x37052a),readDigest(_0x481130)]);if(_0x5649ff&&_0x21afbf&&_0x5649ff===_0x21afbf){_0x5712af['push']({'sourcePath':_0x37052a,'destinationPath':_0x481130,'relativeDestination':_0x2134f0,'status':_0xc51b6c(0x149)});continue;}await _0x1e0e1f[_0xc51b6c(0x147)](dirname(_0x481130),{'recursive':!![]}),await _0x1e0e1f['copyFile'](_0x37052a,_0x481130),_0x5712af[_0xc51b6c(0xe6)]({'sourcePath':_0x37052a,'destinationPath':_0x481130,'relativeDestination':_0x2134f0,'status':'copied'});}return _0x5712af;}function cleanRelativePath(_0x3b1051){const _0x16ea82=_0x48fec9;return _0x3b1051[_0x16ea82(0x15c)](/^[./]+/,'');}async function readDigest(_0x342ba2){const _0x4cf3fe=_0x48fec9;try{const _0x410ea5=await _0x1e0e1f[_0x4cf3fe(0x7c)](_0x342ba2);return createHash(_0x4cf3fe(0x140))[_0x4cf3fe(0x129)](_0x410ea5)[_0x4cf3fe(0xb3)]('base64');}catch(_0x4a551d){if(_0x4a551d[_0x4cf3fe(0x163)]===_0x4cf3fe(0xd0))return null;throw _0x4a551d;}}var program=new Command();program[_0x48fec9(0x156)](_0x48fec9(0xa9))[_0x48fec9(0x15d)](_0x48fec9(0x12d))[_0x48fec9(0xc4)]('0.0.0'),program['command'](_0x48fec9(0xa7))[_0x48fec9(0x15d)](_0x48fec9(0x165))['action'](()=>{const _0x335969=_0x48fec9,_0x14c4a9=getAssetManifest();process[_0x335969(0xac)][_0x335969(0x131)](JSON[_0x335969(0xe2)](_0x14c4a9,null,0x2)+'\x0a');}),program['command'](_0x48fec9(0x9a))[_0x48fec9(0x15d)]('Copy\x20the\x20service\x20worker\x20and\x20overlay\x20bundle\x20into\x20a\x20public\x20directory')[_0x48fec9(0xf8)](_0x48fec9(0x84),_0x48fec9(0x81))[_0x48fec9(0x10f)](_0x48fec9(0xf1),_0x48fec9(0x9b))[_0x48fec9(0x10a)](async _0xbb8701=>{const _0x42a50b=_0x48fec9,_0x2a8bb1=resolve(process[_0x42a50b(0x12e)](),_0xbb8701[_0x42a50b(0xad)]),_0xf3fc9e=await syncAssets({'publicDir':_0x2a8bb1,'swFilename':_0xbb8701[_0x42a50b(0x14e)]});for(const _0x394d71 of _0xf3fc9e){const _0x8d242d=relative(process['cwd'](),_0x394d71[_0x42a50b(0xf3)]);_0x394d71['status']===_0x42a50b(0x149)?process['stdout']['write'](_0x42a50b(0x8d)+_0x394d71[_0x42a50b(0x105)]+_0x42a50b(0xfd)+_0x8d242d+']\x0a'):process[_0x42a50b(0xac)][_0x42a50b(0x131)](_0x42a50b(0x146)+_0x394d71['relativeDestination']+_0x42a50b(0x132)+_0x8d242d+'\x0a');}}),program['parseAsync']();
package/dist/index.d.ts CHANGED
@@ -75,11 +75,9 @@ declare global {
75
75
  __enhanceInitialized?: boolean;
76
76
  __enhanceOptions?: NormalizedOptions;
77
77
  __enhanceController?: EnhanceController;
78
+ __enhanceResolvedUrl?: string;
78
79
  }
79
80
  }
80
- /**
81
- * Main entry point - the only public API.
82
- */
83
81
  declare const Enhance$1: {
84
82
  init(rawOptions: RawOptions): EnhanceController;
85
83
  };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1506a0=_0x1df7;(function(_0x24f4b7,_0x2f556f){const _0x5822a5=_0x1df7,_0x222e04=_0x24f4b7();while(!![]){try{const _0x1d7f56=parseInt(_0x5822a5(0x11d))/0x1*(parseInt(_0x5822a5(0x158))/0x2)+-parseInt(_0x5822a5(0x162))/0x3*(-parseInt(_0x5822a5(0xc6))/0x4)+-parseInt(_0x5822a5(0xa6))/0x5+-parseInt(_0x5822a5(0x160))/0x6+-parseInt(_0x5822a5(0xb4))/0x7+-parseInt(_0x5822a5(0x151))/0x8+parseInt(_0x5822a5(0xf7))/0x9*(parseInt(_0x5822a5(0xe6))/0xa);if(_0x1d7f56===_0x2f556f)break;else _0x222e04['push'](_0x222e04['shift']());}catch(_0x32605f){_0x222e04['push'](_0x222e04['shift']());}}}(_0x39eb,0xabc8e));var DEFAULT_OVERLAY_PATH=typeof __ENHANCE_DEFAULT_OVERLAY_PATH__!==_0x1506a0(0x9d)?__ENHANCE_DEFAULT_OVERLAY_PATH__:_0x1506a0(0x168),DEFAULT_BACKEND_URL=typeof __ENHANCE_DEFAULT_BACKEND_URL__!=='undefined'?__ENHANCE_DEFAULT_BACKEND_URL__:_0x1506a0(0xc8),DEFAULT_OVERLAY_HMR=typeof __ENHANCE_OVERLAY_ENABLE_HMR__!==_0x1506a0(0x9d)?__ENHANCE_OVERLAY_ENABLE_HMR__:![];console[_0x1506a0(0x10e)]('[Enhance\x20Config]\x20Build-time\x20defaults:',{'overlayPath':DEFAULT_OVERLAY_PATH,'backendUrl':DEFAULT_BACKEND_URL,'overlayHmr':DEFAULT_OVERLAY_HMR});function normalizeOptions(_0x2c8629){const _0x407107=_0x1506a0;if(!_0x2c8629[_0x407107(0xb5)])throw new Error('[Enhance]\x20publishableKey\x20is\x20required\x20in\x20Enhance.init()');const _0x1c2b7d=_0x2c8629['__development']??{};return{'publishableKey':_0x2c8629[_0x407107(0xb5)],'callbackBypass':_0x2c8629[_0x407107(0x136)]??[],'overlay':{'enabled':!![],'position':_0x407107(0x10d),'enableViteHmr':_0x1c2b7d[_0x407107(0xcf)]??DEFAULT_OVERLAY_HMR},'logLevel':_0x407107(0xa4),'swPath':_0x407107(0x153),'overlayPath':_0x1c2b7d['overlayPath']??DEFAULT_OVERLAY_PATH,'runtimeScriptPath':'/assets/enhance-runtime.js','security':_0x1c2b7d[_0x407107(0x146)]??_0x407107(0x10c),'backendUrl':_0x1c2b7d[_0x407107(0x11a)]??DEFAULT_BACKEND_URL};}var state={'enabled':![],'controlled':![],'appError':null};function getEnhancementId(){const _0x4ed90d=_0x1506a0;try{const _0x3e131e=new URLSearchParams(window[_0x4ed90d(0xae)]['search']);return _0x3e131e[_0x4ed90d(0xd5)](_0x4ed90d(0xfc))?.[_0x4ed90d(0x9f)]()||'';}catch{return'';}}var LOG_PREFIX=_0x1506a0(0x14f),overlayController=null,overlayLoadPromise=null,toggleHandler=null,currentOptions=null;async function loadOverlay(_0x9170f5){const _0x304506=_0x1506a0;console['log'](LOG_PREFIX+_0x304506(0xe8)),console[_0x304506(0x10e)](LOG_PREFIX+_0x304506(0xf5)+_0x9170f5[_0x304506(0xaf)]),console[_0x304506(0x10e)](LOG_PREFIX+_0x304506(0xda)+_0x9170f5[_0x304506(0x9e)]),currentOptions=_0x9170f5['options'],toggleHandler=_0x9170f5[_0x304506(0xb6)];if(overlayController){console[_0x304506(0x10e)](LOG_PREFIX+_0x304506(0x147)),updateOverlay();return;}if(overlayLoadPromise)return console[_0x304506(0x10e)](LOG_PREFIX+'\x20Load\x20already\x20in\x20progress\x20-\x20waiting...'),overlayLoadPromise;console[_0x304506(0x10e)](LOG_PREFIX+_0x304506(0xc4)),overlayLoadPromise=doLoadOverlay(_0x9170f5);try{await overlayLoadPromise,console['log'](LOG_PREFIX+_0x304506(0x157));}catch(_0x35d928){console[_0x304506(0x15e)](LOG_PREFIX+_0x304506(0x98),_0x35d928);}finally{overlayLoadPromise=null;}}async function doLoadOverlay(_0x366c81){const _0x56998f=_0x1506a0;console[_0x56998f(0x10e)](LOG_PREFIX+_0x56998f(0x159));if(typeof window===_0x56998f(0x9d)){console[_0x56998f(0x10e)](LOG_PREFIX+'\x20No\x20window\x20object\x20-\x20skipping');return;}if(window[_0x56998f(0xdf)]){console[_0x56998f(0x10e)](LOG_PREFIX+_0x56998f(0x107)),overlayController=window[_0x56998f(0xdf)];return;}console[_0x56998f(0x10e)](LOG_PREFIX+_0x56998f(0x131));try{_0x366c81[_0x56998f(0x9e)]&&(console[_0x56998f(0x10e)](LOG_PREFIX+_0x56998f(0xf2)),await setupRemoteHMR(_0x366c81['overlayPath']));console['log'](LOG_PREFIX+_0x56998f(0x103)+_0x366c81[_0x56998f(0xaf)]);const _0xfc779c=Date[_0x56998f(0x139)](),_0x257169=await import(_0x366c81[_0x56998f(0xaf)]);console[_0x56998f(0x10e)](LOG_PREFIX+'\x20Module\x20imported\x20in\x20'+(Date['now']()-_0xfc779c)+'ms'),console[_0x56998f(0x10e)](LOG_PREFIX+_0x56998f(0xd1),Object[_0x56998f(0xcd)](_0x257169));if(typeof _0x257169?.[_0x56998f(0x106)]!==_0x56998f(0x15a)){console[_0x56998f(0x15e)](LOG_PREFIX+_0x56998f(0xa8)),console[_0x56998f(0x15e)](LOG_PREFIX+_0x56998f(0x165),Object['keys'](_0x257169));return;}console[_0x56998f(0x10e)](LOG_PREFIX+_0x56998f(0xf8));const _0x58fccb=_0x257169['createOverlay']();console[_0x56998f(0x10e)](LOG_PREFIX+'\x20Controller\x20created:',_0x58fccb),overlayController=_0x58fccb,window[_0x56998f(0xdf)]=_0x58fccb,_0x58fccb[_0x56998f(0xb6)](_0x366c81[_0x56998f(0xb6)]),console[_0x56998f(0x10e)](LOG_PREFIX+_0x56998f(0xa3)),console[_0x56998f(0x10e)](LOG_PREFIX+'\x20Calling\x20updateOverlay()...'),updateOverlay();}catch(_0x10d3e1){console[_0x56998f(0x15e)](LOG_PREFIX+_0x56998f(0x12b),_0x10d3e1);}}function updateOverlay(){const _0x1ea79f=_0x1506a0;console[_0x1ea79f(0x10e)](LOG_PREFIX+_0x1ea79f(0x138)),console[_0x1ea79f(0x10e)](LOG_PREFIX+_0x1ea79f(0xec)+!!overlayController),console[_0x1ea79f(0x10e)](LOG_PREFIX+'\x20currentOptions\x20exists:\x20'+!!currentOptions);if(!overlayController||!currentOptions){console[_0x1ea79f(0x10e)](LOG_PREFIX+_0x1ea79f(0x13d));return;}const _0xedface=composeOverlayState(currentOptions);console[_0x1ea79f(0x10e)](LOG_PREFIX+_0x1ea79f(0x132),JSON[_0x1ea79f(0xb7)](_0xedface,null,0x2)),overlayController[_0x1ea79f(0xb0)](_0xedface),console[_0x1ea79f(0x10e)](LOG_PREFIX+_0x1ea79f(0x111));}function composeOverlayState(_0x2aee5f){const _0x4a4f9b=_0x1506a0,_0x507072=getEnhancementId();return console[_0x4a4f9b(0x10e)](LOG_PREFIX+'\x20composeOverlayState\x20-\x20enhancementId:\x20'+_0x507072),console[_0x4a4f9b(0x10e)](LOG_PREFIX+_0x4a4f9b(0x14a)+state[_0x4a4f9b(0x125)]),console['log'](LOG_PREFIX+_0x4a4f9b(0x167)+state[_0x4a4f9b(0x14c)]),{'enhancementId':_0x507072,'enabled':state[_0x4a4f9b(0x125)],'controlled':state[_0x4a4f9b(0x14c)],'overlayPosition':_0x2aee5f[_0x4a4f9b(0x126)][_0x4a4f9b(0xbd)],'securityMode':_0x2aee5f[_0x4a4f9b(0x146)],'backendBaseUrl':_0x2aee5f['backendUrl'],'appError':state['appError']};}async function setupRemoteHMR(_0x24d2c8){const _0x381c90=_0x1506a0;console[_0x381c90(0x10e)](LOG_PREFIX+_0x381c90(0x155)+_0x24d2c8);if(typeof window===_0x381c90(0x9d))return;try{const _0x289261=new URL(_0x24d2c8,window[_0x381c90(0xae)][_0x381c90(0x11b)]),_0x36c1f1=_0x289261['origin'];console['log'](LOG_PREFIX+_0x381c90(0x12d)+_0x36c1f1+_0x381c90(0x13c)+window[_0x381c90(0xae)]['origin']);if(_0x36c1f1===window[_0x381c90(0xae)][_0x381c90(0x11b)]){console[_0x381c90(0x10e)](LOG_PREFIX+_0x381c90(0xd8));return;}console[_0x381c90(0x10e)](LOG_PREFIX+'\x20Cross-origin\x20overlay\x20-\x20setting\x20up\x20HMR...'),await ensureReactRefreshPreamble(_0x36c1f1),await ensureViteClient(_0x36c1f1),console[_0x381c90(0x10e)](LOG_PREFIX+_0x381c90(0xab));}catch(_0x377bb7){console['warn'](LOG_PREFIX+_0x381c90(0x156),_0x377bb7);}}async function ensureReactRefreshPreamble(_0x50fab3){const _0x37d3f9=_0x1506a0;window[_0x37d3f9(0xa5)]??=new Set();if(window[_0x37d3f9(0xa5)][_0x37d3f9(0x114)](_0x50fab3)){console[_0x37d3f9(0x10e)](LOG_PREFIX+_0x37d3f9(0x144)+_0x50fab3);return;}console['log'](LOG_PREFIX+_0x37d3f9(0xfd)+_0x50fab3+_0x37d3f9(0xd2));const _0x1f2e1f=await import(_0x50fab3+_0x37d3f9(0xf4)),_0x136eaa=_0x1f2e1f&&typeof _0x1f2e1f===_0x37d3f9(0xbe)&&'default'in _0x1f2e1f?_0x1f2e1f[_0x37d3f9(0x95)]:_0x1f2e1f;if(!isRefreshRuntime(_0x136eaa)){console[_0x37d3f9(0xb1)](LOG_PREFIX+_0x37d3f9(0xd4));return;}_0x136eaa[_0x37d3f9(0x15b)](window),window[_0x37d3f9(0x108)]=()=>{},window['$RefreshSig$']=()=>_0x3d647f=>_0x3d647f,window['__vite_plugin_react_preamble_installed__']=!![],window[_0x37d3f9(0xa5)][_0x37d3f9(0xe2)](_0x50fab3),console['log'](LOG_PREFIX+_0x37d3f9(0xe0)+_0x50fab3);}async function ensureViteClient(_0xec5c58){const _0x298ecf=_0x1506a0;window[_0x298ecf(0xc2)]??=new Set();if(window[_0x298ecf(0xc2)][_0x298ecf(0x114)](_0xec5c58)){console[_0x298ecf(0x10e)](LOG_PREFIX+_0x298ecf(0x101)+_0xec5c58);return;}console[_0x298ecf(0x10e)](LOG_PREFIX+_0x298ecf(0xd6)+_0xec5c58+'...'),await import(_0xec5c58+'/@vite/client'),window[_0x298ecf(0xc2)][_0x298ecf(0xe2)](_0xec5c58),console[_0x298ecf(0x10e)](LOG_PREFIX+_0x298ecf(0x11f)+_0xec5c58);}function isRefreshRuntime(_0x3b1f4c){const _0x3d6b7e=_0x1506a0;return typeof _0x3b1f4c===_0x3d6b7e(0xbe)&&_0x3b1f4c!==null&&'injectIntoGlobalHook'in _0x3b1f4c&&typeof _0x3b1f4c['injectIntoGlobalHook']===_0x3d6b7e(0x15a);}function _0x39eb(){const _0x3590aa=['toLowerCase','23319eexjvA','\x20Calling\x20createOverlay()...','\x20Page\x20not\x20enhanced\x20by\x20SW\x20-\x20reloading\x20to\x20apply\x20enhancement','appError','\x20registerServiceWorker()\x20complete','enhancement','\x20Installing\x20React\x20Refresh\x20runtime\x20from\x20','\x20Vite\x20error\x20detected:','dev/','\x20Unregistering\x20any\x20existing\x20SW...','\x20Vite\x20client\x20already\x20loaded\x20for\x20','\x20Raw\x20options:','\x20Importing\x20overlay\x20module\x20from:\x20','\x20unregisterServiceWorker()\x20called','delete','createOverlay','\x20Found\x20cached\x20overlay\x20controller\x20on\x20window.__enhanceOverlay\x20-\x20skipping\x20reinit','$RefreshReg$','\x20Setting\x20up\x20Vite\x20HMR\x20error\x20listeners','\x20Skipping\x20-\x20not\x20enabled\x20or\x20no\x20options','\x20Starting\x20overlay\x20load\x20(async)...','permissive','bottom-right','log','\x20Normalized\x20options:','enhance','\x20Overlay\x20update\x20complete','\x20sendConfiguration()\x20called','\x20Sending\x20DISABLE\x20message\x20to\x20SW...','has','\x20enhancementId:\x20','\x20Config\x20sent\x20to\x20SW','ENHANCE_OVERLAY_PATH=https://assets.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://api.enhancelabs.ai\x20tsup','scriptURL','vite:beforeUpdate','backendUrl','origin','disable','60289BFsoCC','\x20No\x20current\x20controller','\x20Vite\x20HMR\x20client\x20loaded\x20for\x20','./dev/index.d.ts','\x20detectBlocking\x20-\x20existing\x20registration:','[data-enhance-runtime-bootstrap]','false','\x20Page\x20was\x20not\x20controlled\x20-\x20SW\x20just\x20activated.\x20Reloading\x20to\x20enable\x20enhancement...','enabled','overlay','\x20enhancementUrl:\x20','./dev/cli.js','installing',',\x20currentOptions:\x20','\x20Failed\x20to\x20import/create\x20overlay:','querySelector','\x20Overlay\x20origin:\x20',',\x20expected=','controller','state','\x20No\x20cached\x20controller\x20-\x20will\x20import\x20module','\x20Updating\x20overlay\x20with\x20state:','active','init','sw-enhance','callbackBypass','__enhanceController','\x20updateOverlay()\x20called','now','unregister','\x20Starting\x20SW\x20registration\x20(async)...',',\x20page\x20origin:\x20','\x20Missing\x20controller\x20or\x20options\x20-\x20skipping\x20update','waiting','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://overlay.localhost:8099\x20tsup','^24.10.1','0.3.21','\x20Sending\x20customer\x20configuration...','/assets/enhance-runtime.js','\x20React\x20Refresh\x20already\x20installed\x20for\x20','serviceWorker','security','\x20Controller\x20already\x20exists\x20-\x20updating\x20overlay','swPath','enhancementId','\x20composeOverlayState\x20-\x20state.enabled:\x20','\x20Vite\x20update\x20pending\x20-\x20clearing\x20error','controlled','replaceState','MIT','[Enhance\x20Overlay]','\x20init()\x20complete\x20-\x20enhancement\x20mode','7450792aRGpkD','state:\x20','/sw-enhance.js','title','\x20setupRemoteHMR()\x20for\x20','\x20Failed\x20to\x20prepare\x20remote\x20HMR\x20(non-fatal):','\x20loadOverlay()\x20complete','4qhgCJi','\x20doLoadOverlay()\x20starting...','function','injectIntoGlobalHook','vite:error','serviceWorkerURL','error','startsWith','7917966ISUkqv','enhance:configure','54rRtmPX','href','https://','\x20Available\x20exports:','enhancementUrl','\x20composeOverlayState\x20-\x20state.controlled:\x20','https://assets.enhancelabs.ai/overlay.js','\x20registerServiceWorker()\x20called','none','\x20Registering\x20SW\x20at\x20','default','scope','\x20Updating\x20overlay...','\x20loadOverlay()\x20failed:','\x20URL\x20params\x20parsed:','[Enhance\x20Runtime]','^11.1.0','history','undefined','enableViteHmr','trim','\x20No\x20registration\x20found\x20-\x20nothing\x20to\x20unregister','searchParams','\x20Controller\x20state:','\x20Overlay\x20controller\x20initialized\x20and\x20cached','info','__enhanceReactRefreshInstalledOrigins','2760820CwEpRx','\x20Current\x20controller:','\x20Module\x20missing\x20createOverlay\x20export!','bun\x20version\x20patch\x20--no-git-tag-version','version','\x20HMR\x20setup\x20complete','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20tsup','Enhance\x20preview\x20bootstrap\x20and\x20tooling\x20package.','location','overlayPath','update','warn','^4.1.1','message','4109518bNtHUS','publishableKey','onToggle','stringify','^3.22.4','register','http://','\x20First\x20initialization','ENHANCE_OVERLAY_PATH=https://assets-dev.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20OBFUSCATE=1\x20RELEASE=1\x20tsup','position','object','\x20Page\x20controlled\x20by\x20our\x20SW:\x20','module','\x20Failed\x20to\x20register\x20service\x20worker:','__viteHMRLoaded','includes','\x20Starting\x20fresh\x20overlay\x20load...','\x20Enhancement\x20detection:\x20wasEnhanced=','52684AycjZD','postMessage','https://api.enhancelabs.ai','runtimeURL','\x20Registration\x20returned:','enhance:disable','\x20Registration\x20is\x20not\x20ours\x20-\x20not\x20unregistering','keys','readyState','enableOverlayHmr','\x20Normal\x20mode\x20-\x20no\x20enhancement\x20params','\x20Module\x20exports:','...','reload','\x20Invalid\x20React\x20Refresh\x20runtime','get','\x20Loading\x20Vite\x20HMR\x20client\x20from\x20','some','\x20Same\x20origin\x20-\x20skipping\x20HMR\x20setup','getRegistration','\x20enableViteHmr:\x20','\x20with\x20scope\x20\x27/\x27...','\x20ownsServiceWorker?\x20scriptURL=','hasEnhancement','off','__enhanceOverlay','\x20React\x20Refresh\x20runtime\x20installed\x20for\x20','\x20Found\x20registration:','add','N/A','string','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://overlay.localhost:8099\x20tsup\x20--watch','14420tjjnHA','\x20No\x20serviceWorker\x20support\x20-\x20nothing\x20to\x20unregister','\x20loadOverlay()\x20called','\x20Service\x20workers\x20NOT\x20supported\x20in\x20this\x20browser','__enhanceOptions','[Enhance\x20SW-Client]','\x20overlayController\x20exists:\x20','err','\x20Enhancement\x20features\x20will\x20NOT\x20work\x20until\x20it\x20is\x20unregistered','public','\x20Checking\x20for\x20blocking\x20service\x20worker...','ENHANCE_OVERLAY_PATH=https://assets.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://api.enhancelabs.ai\x20OBFUSCATE=1\x20RELEASE=1\x20tsup','\x20Setting\x20up\x20remote\x20HMR...','__enhanceInitialized','/@react-refresh','\x20overlayPath:\x20'];_0x39eb=function(){return _0x3590aa;};return _0x39eb();}var WORKER_MESSAGE_CONFIG=_0x1506a0(0x161),WORKER_MESSAGE_DISABLE=_0x1506a0(0xcb),LOG_PREFIX2=_0x1506a0(0xeb),registration=null,currentOptions2=null;function _0x1df7(_0x431fb4,_0xf1324a){_0x431fb4=_0x431fb4-0x92;const _0x39ebc5=_0x39eb();let _0x1df7ec=_0x39ebc5[_0x431fb4];return _0x1df7ec;}async function registerServiceWorker(_0x5d3bcc){const _0x2541fd=_0x1506a0;console['log'](LOG_PREFIX2+_0x2541fd(0x92)),console[_0x2541fd(0x10e)](LOG_PREFIX2+'\x20swPath:\x20'+_0x5d3bcc[_0x2541fd(0x148)]);if(!(_0x2541fd(0x145)in navigator)){console[_0x2541fd(0xb1)](LOG_PREFIX2+_0x2541fd(0xe9));return;}console[_0x2541fd(0x10e)](LOG_PREFIX2+'\x20Service\x20workers\x20supported');const _0x47d7f3=navigator[_0x2541fd(0x145)][_0x2541fd(0x12f)];console['log'](LOG_PREFIX2+_0x2541fd(0xa7),_0x47d7f3?.['scriptURL']??_0x2541fd(0x93)),console['log'](LOG_PREFIX2+_0x2541fd(0xa2),_0x47d7f3?.[_0x2541fd(0x130)]??_0x2541fd(0xe3));const _0x464ef8=!!_0x47d7f3;currentOptions2=_0x5d3bcc,console[_0x2541fd(0x10e)](LOG_PREFIX2+_0x2541fd(0xf0));const _0x1d98b1=await detectBlockingServiceWorker(_0x5d3bcc[_0x2541fd(0x148)]);if(_0x1d98b1){console[_0x2541fd(0x15e)](LOG_PREFIX2+'\x20BLOCKING\x20SW\x20detected:\x20'+_0x1d98b1),console[_0x2541fd(0x15e)](LOG_PREFIX2+_0x2541fd(0xee));return;}console['log'](LOG_PREFIX2+'\x20No\x20blocking\x20SW\x20found');try{console[_0x2541fd(0x10e)](LOG_PREFIX2+_0x2541fd(0x94)+_0x5d3bcc['swPath']+_0x2541fd(0xdb)),registration=await navigator[_0x2541fd(0x145)][_0x2541fd(0xb9)](_0x5d3bcc[_0x2541fd(0x148)],{'scope':'/'}),console[_0x2541fd(0x10e)](LOG_PREFIX2+_0x2541fd(0xca),{'scope':registration[_0x2541fd(0x96)],'active':registration['active']?.[_0x2541fd(0x118)],'waiting':registration[_0x2541fd(0x13e)]?.[_0x2541fd(0x118)],'installing':registration[_0x2541fd(0x129)]?.[_0x2541fd(0x118)]}),console['log'](LOG_PREFIX2+'\x20Waiting\x20for\x20navigator.serviceWorker.ready...');const _0x92ac17=await navigator[_0x2541fd(0x145)]['ready'];console[_0x2541fd(0x10e)](LOG_PREFIX2+'\x20SW\x20ready!\x20Active:',_0x92ac17[_0x2541fd(0x133)]?.[_0x2541fd(0x118)]);const _0x6c3837=ownsCurrentController(_0x5d3bcc[_0x2541fd(0x148)]);state[_0x2541fd(0x14c)]=_0x6c3837,console[_0x2541fd(0x10e)](LOG_PREFIX2+_0x2541fd(0xbf)+_0x6c3837),console[_0x2541fd(0x10e)](LOG_PREFIX2+'\x20Current\x20controller\x20after\x20ready:',navigator[_0x2541fd(0x145)][_0x2541fd(0x12f)]?.[_0x2541fd(0x118)]??'none');if(!_0x464ef8&&!navigator['serviceWorker'][_0x2541fd(0x12f)]){console[_0x2541fd(0x10e)](LOG_PREFIX2+_0x2541fd(0x124)),window[_0x2541fd(0xae)]['reload']();return;}console[_0x2541fd(0x10e)](LOG_PREFIX2+_0x2541fd(0x142)),await sendConfiguration();if(state['enabled']){const _0x5bd628=document[_0x2541fd(0x12c)](_0x2541fd(0x122))!==null;console[_0x2541fd(0x10e)](LOG_PREFIX2+_0x2541fd(0xc5)+_0x5bd628);if(!_0x5bd628){console['log'](LOG_PREFIX2+_0x2541fd(0xf9)),window['location'][_0x2541fd(0xd3)]();return;}}console['log'](LOG_PREFIX2+_0x2541fd(0x97)),updateOverlay(),console[_0x2541fd(0x10e)](LOG_PREFIX2+_0x2541fd(0xfb));}catch(_0x2f5953){console[_0x2541fd(0x15e)](LOG_PREFIX2+_0x2541fd(0xc1),_0x2f5953);}}async function sendConfiguration(){const _0x259b20=_0x1506a0;console['log'](LOG_PREFIX2+_0x259b20(0x112)),console['log'](LOG_PREFIX2+'\x20state.enabled:\x20'+state[_0x259b20(0x125)]+_0x259b20(0x12a)+!!currentOptions2);if(!state[_0x259b20(0x125)]||!currentOptions2){console[_0x259b20(0x10e)](LOG_PREFIX2+_0x259b20(0x10a));return;}const _0x26896e=await resolveWorker();if(!_0x26896e){console[_0x259b20(0xb1)](LOG_PREFIX2+'\x20No\x20service\x20worker\x20active\x20to\x20configure');return;}const _0xa7d126={'publishableKey':currentOptions2['publishableKey'],'callbackBypass':currentOptions2[_0x259b20(0x136)],'securityMode':currentOptions2[_0x259b20(0x146)]};console['log'](LOG_PREFIX2+'\x20Sending\x20customer\x20config\x20to\x20SW:',JSON[_0x259b20(0xb7)](_0xa7d126,null,0x2)),_0x26896e[_0x259b20(0xc7)]({'type':WORKER_MESSAGE_CONFIG,'config':_0xa7d126}),console[_0x259b20(0x10e)](LOG_PREFIX2+_0x259b20(0x116));}async function unregisterServiceWorker(_0x24eae4){const _0x2fe2fe=_0x1506a0;console['log'](LOG_PREFIX2+_0x2fe2fe(0x104));if(!(_0x2fe2fe(0x145)in navigator)){console['log'](LOG_PREFIX2+_0x2fe2fe(0xe7));return;}try{const _0x4b11b8=registration??await navigator[_0x2fe2fe(0x145)]['getRegistration']('/');if(!_0x4b11b8){console[_0x2fe2fe(0x10e)](LOG_PREFIX2+_0x2fe2fe(0xa0));return;}console[_0x2fe2fe(0x10e)](LOG_PREFIX2+_0x2fe2fe(0xe1),{'scope':_0x4b11b8['scope'],'active':_0x4b11b8[_0x2fe2fe(0x133)]?.[_0x2fe2fe(0x118)],'waiting':_0x4b11b8[_0x2fe2fe(0x13e)]?.[_0x2fe2fe(0x118)],'installing':_0x4b11b8[_0x2fe2fe(0x129)]?.[_0x2fe2fe(0x118)]});const _0xad33be=[_0x4b11b8['active']?.[_0x2fe2fe(0x118)],_0x4b11b8['waiting']?.[_0x2fe2fe(0x118)],_0x4b11b8[_0x2fe2fe(0x129)]?.['scriptURL']],_0x2b0953=_0xad33be[_0x2fe2fe(0xd7)](_0x57973f=>_0x57973f&&ownsServiceWorker(_0x57973f,_0x24eae4));if(!_0x2b0953){console[_0x2fe2fe(0x10e)](LOG_PREFIX2+_0x2fe2fe(0xcc));return;}_0x4b11b8[_0x2fe2fe(0x133)]&&(console['log'](LOG_PREFIX2+_0x2fe2fe(0x113)),_0x4b11b8[_0x2fe2fe(0x133)][_0x2fe2fe(0xc7)]({'type':WORKER_MESSAGE_DISABLE})),console[_0x2fe2fe(0x10e)](LOG_PREFIX2+'\x20Unregistering\x20SW...'),await _0x4b11b8[_0x2fe2fe(0x13a)](),registration=null,currentOptions2=null,console['log'](LOG_PREFIX2+'\x20SW\x20unregistered\x20successfully');}catch(_0x1b6c7c){console[_0x2fe2fe(0x15e)](LOG_PREFIX2+'\x20Failed\x20to\x20unregister\x20service\x20worker:',_0x1b6c7c);}}function ownsServiceWorker(_0x126255,_0x40ff03){const _0x28d5c0=_0x1506a0,_0x15993f=typeof window!==_0x28d5c0(0x9d)?window['location'][_0x28d5c0(0x11b)]:'',_0x44b235=new URL(_0x40ff03,_0x15993f||void 0x0)[_0x28d5c0(0x163)],_0x9334f7=_0x126255===_0x44b235||_0x126255[_0x28d5c0(0xc3)](_0x28d5c0(0x135));return console['log'](LOG_PREFIX2+_0x28d5c0(0xdc)+_0x126255+_0x28d5c0(0x12e)+_0x44b235+',\x20owns='+_0x9334f7),_0x9334f7;}function ownsCurrentController(_0x12ff21){const _0x3867eb=_0x1506a0;if(typeof navigator==='undefined')return![];const _0x397ad1=navigator[_0x3867eb(0x145)]?.[_0x3867eb(0x12f)];if(!_0x397ad1)return console[_0x3867eb(0x10e)](LOG_PREFIX2+_0x3867eb(0x11e)),![];return ownsServiceWorker(_0x397ad1[_0x3867eb(0x118)],_0x12ff21);}async function detectBlockingServiceWorker(_0xdebccb){const _0x4a0ac6=_0x1506a0;if(!navigator[_0x4a0ac6(0x145)])return null;try{const _0x30067e=await navigator[_0x4a0ac6(0x145)][_0x4a0ac6(0xd9)]('/');console[_0x4a0ac6(0x10e)](LOG_PREFIX2+_0x4a0ac6(0x121),_0x30067e?.[_0x4a0ac6(0x133)]?.[_0x4a0ac6(0x118)]??_0x4a0ac6(0x93));const _0x100b97=_0x30067e?.[_0x4a0ac6(0x133)]?.[_0x4a0ac6(0x118)];if(!_0x100b97)return null;if(ownsServiceWorker(_0x100b97,_0xdebccb))return null;return _0x100b97;}catch(_0x5e3522){return console[_0x4a0ac6(0x15e)](LOG_PREFIX2+'\x20detectBlocking\x20error:',_0x5e3522),null;}}async function resolveWorker(){const _0x1a545c=_0x1506a0,_0xc414c9=registration??await navigator['serviceWorker']?.['getRegistration']('/'),_0x39ceac=_0xc414c9?.[_0x1a545c(0x133)]??_0xc414c9?.[_0x1a545c(0x13e)]??_0xc414c9?.[_0x1a545c(0x129)]??null;return console[_0x1a545c(0x10e)](LOG_PREFIX2+'\x20resolveWorker:',_0x39ceac?.[_0x1a545c(0x118)]??_0x1a545c(0x93),_0x1a545c(0x152)+(_0x39ceac?.[_0x1a545c(0x130)]??_0x1a545c(0xe3))),_0x39ceac;}var LOG_PREFIX3=_0x1506a0(0x9a);function isInitialized(){const _0x4f6cf9=_0x1506a0;return typeof window!=='undefined'&&window[_0x4f6cf9(0xf3)]===!![];}function setInitialized(_0xf40828){const _0x425e1f=_0x1506a0;typeof window!==_0x425e1f(0x9d)&&(window[_0x425e1f(0xf3)]=_0xf40828);}function getOptions(){const _0x42541c=_0x1506a0;return typeof window!==_0x42541c(0x9d)?window[_0x42541c(0xea)]??null:null;}function setOptions(_0x31359d){const _0xb45aeb=_0x1506a0;typeof window!==_0xb45aeb(0x9d)&&(window[_0xb45aeb(0xea)]=_0x31359d);}var Enhance={'init'(_0xe0f678){const _0x108ad7=_0x1506a0,_0xf9bb72=Date[_0x108ad7(0x139)]();console[_0x108ad7(0x10e)](LOG_PREFIX3+'\x20init()\x20called\x20at\x20'+_0xf9bb72),console['log'](LOG_PREFIX3+'\x20Current\x20URL:\x20'+window[_0x108ad7(0xae)][_0x108ad7(0x163)]),console['log'](LOG_PREFIX3+'\x20Document\x20readyState:\x20'+document[_0x108ad7(0xce)]),console['log'](LOG_PREFIX3+_0x108ad7(0x102),JSON[_0x108ad7(0xb7)](_0xe0f678,null,0x2));if(isInitialized())return console[_0x108ad7(0xb1)](LOG_PREFIX3+'\x20Already\x20initialized\x20(window.__enhanceInitialized=true)\x20-\x20returning\x20existing\x20controller'),window[_0x108ad7(0x137)]??createController();setInitialized(!![]),console['log'](LOG_PREFIX3+_0x108ad7(0xbb));const _0x1cecad=normalizeOptions(_0xe0f678);setOptions(_0x1cecad),console['log'](LOG_PREFIX3+_0x108ad7(0x10f),JSON[_0x108ad7(0xb7)](_0x1cecad,null,0x2));const _0x848838=parseUrlParams();console[_0x108ad7(0x10e)](LOG_PREFIX3+_0x108ad7(0x99),JSON['stringify'](_0x848838,null,0x2));if(_0x848838['explicitDisable'])return cleanUrlParam(_0x108ad7(0x110)),console[_0x108ad7(0x10e)](LOG_PREFIX3+'\x20Explicit\x20disable\x20via\x20URL\x20param\x20-\x20exiting'),createController();if(_0x848838[_0x108ad7(0xdd)])return console['log'](LOG_PREFIX3+'\x20Enhancement\x20mode\x20ENABLED'),console[_0x108ad7(0x10e)](LOG_PREFIX3+_0x108ad7(0x127)+_0x848838[_0x108ad7(0x166)]),console['log'](LOG_PREFIX3+_0x108ad7(0x115)+_0x848838[_0x108ad7(0x149)]),state[_0x108ad7(0x125)]=!![],console['log'](LOG_PREFIX3+_0x108ad7(0x10b)),void loadOverlay({'overlayPath':_0x1cecad[_0x108ad7(0xaf)],'enableViteHmr':_0x1cecad['overlay'][_0x108ad7(0x9e)],'options':_0x1cecad,'onToggle':handleToggle}),console['log'](LOG_PREFIX3+_0x108ad7(0x13b)),void registerServiceWorker(_0x1cecad),console['log'](LOG_PREFIX3+_0x108ad7(0x150)),createController();return console[_0x108ad7(0x10e)](LOG_PREFIX3+_0x108ad7(0xd0)),console[_0x108ad7(0x10e)](LOG_PREFIX3+_0x108ad7(0x100)),void unregisterServiceWorker(_0x1cecad[_0x108ad7(0x148)]),console['log'](LOG_PREFIX3+'\x20init()\x20complete\x20-\x20normal\x20mode'),import.meta.hot&&(console[_0x108ad7(0x10e)](LOG_PREFIX3+_0x108ad7(0x109)),import.meta.hot['on'](_0x108ad7(0x15c),_0x1abd62=>{const _0x23f1e1=_0x108ad7;console['log'](LOG_PREFIX3+_0x23f1e1(0xfe),_0x1abd62),state[_0x23f1e1(0xfa)]={'message':_0x1abd62[_0x23f1e1(0xed)][_0x23f1e1(0xb3)]},updateOverlay();}),import.meta.hot['on'](_0x108ad7(0x119),()=>{const _0x49301d=_0x108ad7;state['appError']&&(console[_0x49301d(0x10e)](LOG_PREFIX3+_0x49301d(0x14b)),state['appError']=null,updateOverlay());})),createController();}};function createController(){const _0x3c9443=_0x1506a0,_0x539069={'enable'(){const _0x3cfe55=_0x1df7,_0x1dcc08=getOptions();if(!_0x1dcc08)return;state['enabled']=!![],void loadOverlay({'overlayPath':_0x1dcc08[_0x3cfe55(0xaf)],'enableViteHmr':_0x1dcc08[_0x3cfe55(0x126)]['enableViteHmr'],'options':_0x1dcc08,'onToggle':handleToggle}),void registerServiceWorker(_0x1dcc08),void sendConfiguration(),updateOverlay();},'disable'(){const _0x5473f9=_0x1df7,_0xa5583b=getOptions();if(!_0xa5583b)return;state[_0x5473f9(0x125)]=![],state[_0x5473f9(0x14c)]=![],updateOverlay(),void unregisterServiceWorker(_0xa5583b['swPath']);},'status'(){const _0xd0b7bf=_0x1df7;return{'enabled':state[_0xd0b7bf(0x125)],'controlled':state[_0xd0b7bf(0x14c)]};}};return typeof window!==_0x3c9443(0x9d)&&(window[_0x3c9443(0x137)]=_0x539069),_0x539069;}function handleToggle(){const _0x4868b7=_0x1506a0,_0x42f708=createController();state['enabled']?_0x42f708[_0x4868b7(0x11c)]():_0x42f708['enable']();}function parseUrlParams(){const _0x4f881f=_0x1506a0,_0x1b7b21=new URL(window[_0x4f881f(0xae)][_0x4f881f(0x163)]),_0x699db=_0x1b7b21[_0x4f881f(0xa1)][_0x4f881f(0xd5)](_0x4f881f(0x110))?.[_0x4f881f(0xf6)](),_0x5aaa5b=_0x1b7b21[_0x4f881f(0xa1)][_0x4f881f(0xd5)](_0x4f881f(0x166)),_0x33a2cc=_0x1b7b21[_0x4f881f(0xa1)][_0x4f881f(0xd5)](_0x4f881f(0xfc));return{'hasEnhancement':Boolean(_0x5aaa5b||_0x33a2cc),'explicitDisable':_0x699db==='0'||_0x699db===_0x4f881f(0x123)||_0x699db===_0x4f881f(0xde),'enhancementUrl':_0x5aaa5b,'enhancementId':_0x33a2cc};}function cleanUrlParam(_0x19fabf){const _0x4a602d=_0x1506a0,_0x3a3be4=new URL(window['location']['href']);_0x3a3be4[_0x4a602d(0xa1)]['has'](_0x19fabf)&&(_0x3a3be4['searchParams'][_0x4a602d(0x105)](_0x19fabf),window[_0x4a602d(0x9c)][_0x4a602d(0x14d)](null,document[_0x4a602d(0x154)],_0x3a3be4['toString']()));}var package_default={'name':'@enhance-eng/sandbox','version':_0x1506a0(0x141),'type':_0x1506a0(0xc0),'description':_0x1506a0(0xad),'license':_0x1506a0(0x14e),'main':'./dev/index.js','module':'./dev/index.js','types':_0x1506a0(0x120),'exports':{'.':{'types':_0x1506a0(0x120),'import':'./dev/index.js'},'./vite':{'types':'./dev/vite/index.d.ts','import':'./dev/vite/index.js'}},'files':[_0x1506a0(0xff)],'bin':{'enhance-sandbox':_0x1506a0(0x128)},'scripts':{'typecheck':'tsc\x20--noEmit','dev':_0x1506a0(0xe5),'dev:build':_0x1506a0(0x13f),'dev:staging':'ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20tsup\x20--watch','dev:staging:build':_0x1506a0(0xac),'build':_0x1506a0(0x117),'build:release':_0x1506a0(0xf1),'build:release:dev':_0x1506a0(0xbc),'version':_0x1506a0(0xa9)},'dependencies':{'commander':_0x1506a0(0x9b),'zod':_0x1506a0(0xb8)},'devDependencies':{'@types/node':_0x1506a0(0x140),'javascript-obfuscator':_0x1506a0(0xb2),'tsup':'^8.5.1','vite':'^7.2.4'},'publishConfig':{'access':_0x1506a0(0xef)}},DEFAULT_SERVICE_WORKER_PATH=_0x1506a0(0x153),DEFAULT_RUNTIME_PATH=_0x1506a0(0x143),PACKAGE_VERSION=typeof package_default[_0x1506a0(0xaa)]===_0x1506a0(0xe4)?package_default['version']:'0.0.0';function normalizeAssetPath(_0x25ad8d){const _0x1ab789=_0x1506a0;if(!_0x25ad8d)return _0x25ad8d;if(_0x25ad8d[_0x1ab789(0x15f)](_0x1ab789(0xba))||_0x25ad8d[_0x1ab789(0x15f)](_0x1ab789(0x164)))return _0x25ad8d;const _0x2e3d49=_0x25ad8d['replace'](/^\.\//,'');return _0x2e3d49[_0x1ab789(0x15f)]('/')?_0x2e3d49:'/'+_0x2e3d49;}var defaultSwPath=normalizeAssetPath(DEFAULT_SERVICE_WORKER_PATH),defaultRuntimePath=normalizeAssetPath(DEFAULT_RUNTIME_PATH),Enhance2={'init'(_0x329795){const _0x2b02cb=_0x1506a0;return Enhance[_0x2b02cb(0x134)](_0x329795);},'serviceWorkerURL'(){return defaultSwPath;},'runtimeURL'(){return defaultRuntimePath;},'assetManifest'(){return getAssetManifest();}};function getAssetManifest(){return{'version':PACKAGE_VERSION,'serviceWorker':serviceWorkerURL(),'runtime':runtimeURL(),'serviceWorkerDigest':null,'runtimeDigest':null};}function resolveServiceWorkerPath(){return serviceWorkerURL();}function serviceWorkerURL(){const _0x4c3727=_0x1506a0;return Enhance2[_0x4c3727(0x15d)]();}function runtimeURL(){const _0x330749=_0x1506a0;return Enhance2[_0x330749(0xc9)]();}export{Enhance2 as Enhance,getAssetManifest,resolveServiceWorkerPath,runtimeURL,serviceWorkerURL};
1
+ const _0x4645d4=_0xabe9;(function(_0x50df86,_0x213411){const _0x49f9c2=_0xabe9,_0x37de9f=_0x50df86();while(!![]){try{const _0x35b608=-parseInt(_0x49f9c2(0x117))/0x1+-parseInt(_0x49f9c2(0x94))/0x2*(parseInt(_0x49f9c2(0xc9))/0x3)+parseInt(_0x49f9c2(0x122))/0x4+-parseInt(_0x49f9c2(0x6b))/0x5*(-parseInt(_0x49f9c2(0x10e))/0x6)+-parseInt(_0x49f9c2(0x6d))/0x7+-parseInt(_0x49f9c2(0xa3))/0x8*(-parseInt(_0x49f9c2(0x93))/0x9)+parseInt(_0x49f9c2(0xb9))/0xa*(parseInt(_0x49f9c2(0x124))/0xb);if(_0x35b608===_0x213411)break;else _0x37de9f['push'](_0x37de9f['shift']());}catch(_0x5cb276){_0x37de9f['push'](_0x37de9f['shift']());}}}(_0x13de,0x407e4));var DEFAULT_OVERLAY_PATH=typeof __ENHANCE_DEFAULT_OVERLAY_PATH__!==_0x4645d4(0xa8)?__ENHANCE_DEFAULT_OVERLAY_PATH__:_0x4645d4(0x6e),DEFAULT_BACKEND_URL=typeof __ENHANCE_DEFAULT_BACKEND_URL__!=='undefined'?__ENHANCE_DEFAULT_BACKEND_URL__:_0x4645d4(0xe0),DEFAULT_OVERLAY_HMR=typeof __ENHANCE_OVERLAY_ENABLE_HMR__!==_0x4645d4(0xa8)?__ENHANCE_OVERLAY_ENABLE_HMR__:![];console[_0x4645d4(0xb0)](_0x4645d4(0x8a),{'overlayPath':DEFAULT_OVERLAY_PATH,'backendUrl':DEFAULT_BACKEND_URL,'overlayHmr':DEFAULT_OVERLAY_HMR});function normalizeOptions(_0xc90472){const _0x434f3a=_0x4645d4;if(!_0xc90472[_0x434f3a(0x126)])throw new Error(_0x434f3a(0x103));const _0x39e737=_0xc90472['__development']??{};return{'publishableKey':_0xc90472[_0x434f3a(0x126)],'callbackBypass':_0xc90472[_0x434f3a(0xfa)]??[],'overlay':{'enabled':!![],'position':'bottom-right','enableViteHmr':_0x39e737[_0x434f3a(0xfc)]??DEFAULT_OVERLAY_HMR},'logLevel':_0x434f3a(0x102),'swPath':_0x434f3a(0x108),'overlayPath':_0x39e737[_0x434f3a(0x116)]??DEFAULT_OVERLAY_PATH,'runtimeScriptPath':_0x434f3a(0xe3),'security':_0x39e737[_0x434f3a(0x106)]??_0x434f3a(0xb3),'backendUrl':_0x39e737[_0x434f3a(0x91)]??DEFAULT_BACKEND_URL};}var state={'enabled':![],'controlled':![],'appError':null};function getEnhancementId(){const _0x13d876=_0x4645d4;try{const _0x56eb3b=new URLSearchParams(window[_0x13d876(0x11d)][_0x13d876(0xca)]);return _0x56eb3b[_0x13d876(0xe2)]('enhancement')?.[_0x13d876(0xab)]()||'';}catch{return'';}}var LOG_PREFIX='[Enhance\x20Overlay]',overlayController=null,overlayLoadPromise=null,toggleHandler=null,currentOptions=null;async function loadOverlay(_0x538f60){const _0x144822=_0x4645d4;console[_0x144822(0xb0)](LOG_PREFIX+'\x20loadOverlay()\x20called'),console[_0x144822(0xb0)](LOG_PREFIX+_0x144822(0xef)+_0x538f60[_0x144822(0x116)]),console[_0x144822(0xb0)](LOG_PREFIX+_0x144822(0xfe)+_0x538f60['enableViteHmr']),currentOptions=_0x538f60[_0x144822(0x110)],toggleHandler=_0x538f60[_0x144822(0x101)];if(overlayController){console[_0x144822(0xb0)](LOG_PREFIX+_0x144822(0x95)),updateOverlay();return;}if(overlayLoadPromise)return console['log'](LOG_PREFIX+_0x144822(0xba)),overlayLoadPromise;console[_0x144822(0xb0)](LOG_PREFIX+_0x144822(0xb1)),overlayLoadPromise=doLoadOverlay(_0x538f60);try{await overlayLoadPromise,console[_0x144822(0xb0)](LOG_PREFIX+'\x20loadOverlay()\x20complete');}catch(_0x1349b4){console['error'](LOG_PREFIX+_0x144822(0x123),_0x1349b4);}finally{overlayLoadPromise=null;}}async function doLoadOverlay(_0x4dd126){const _0x251993=_0x4645d4;console[_0x251993(0xb0)](LOG_PREFIX+_0x251993(0x80));if(typeof window===_0x251993(0xa8)){console[_0x251993(0xb0)](LOG_PREFIX+_0x251993(0xa1));return;}if(window[_0x251993(0xa9)]){console['log'](LOG_PREFIX+'\x20Found\x20cached\x20overlay\x20controller\x20on\x20window.__enhanceOverlay\x20-\x20skipping\x20reinit'),overlayController=window[_0x251993(0xa9)];return;}console[_0x251993(0xb0)](LOG_PREFIX+_0x251993(0x6f));try{_0x4dd126[_0x251993(0xe4)]&&(console['log'](LOG_PREFIX+_0x251993(0x10b)),await setupRemoteHMR(_0x4dd126[_0x251993(0x116)]));console[_0x251993(0xb0)](LOG_PREFIX+'\x20Importing\x20overlay\x20module\x20from:\x20'+_0x4dd126[_0x251993(0x116)]);const _0x1ec30b=Date[_0x251993(0x8b)](),_0x4e1cc8=await import(_0x4dd126[_0x251993(0x116)]);console[_0x251993(0xb0)](LOG_PREFIX+_0x251993(0xae)+(Date[_0x251993(0x8b)]()-_0x1ec30b)+'ms'),console[_0x251993(0xb0)](LOG_PREFIX+_0x251993(0xb7),Object[_0x251993(0x119)](_0x4e1cc8));if(typeof _0x4e1cc8?.[_0x251993(0x69)]!==_0x251993(0xda)){console['error'](LOG_PREFIX+_0x251993(0x9e)),console[_0x251993(0x87)](LOG_PREFIX+_0x251993(0x73),Object['keys'](_0x4e1cc8));return;}console[_0x251993(0xb0)](LOG_PREFIX+_0x251993(0xe1));const _0x4823c6=_0x4e1cc8[_0x251993(0x69)]();console['log'](LOG_PREFIX+_0x251993(0x9c),_0x4823c6),overlayController=_0x4823c6,window['__enhanceOverlay']=_0x4823c6,_0x4823c6[_0x251993(0x101)](_0x4dd126[_0x251993(0x101)]),console['log'](LOG_PREFIX+_0x251993(0xc4)),console['log'](LOG_PREFIX+_0x251993(0xfd)),updateOverlay();}catch(_0x3a69a2){console[_0x251993(0x87)](LOG_PREFIX+_0x251993(0x114),_0x3a69a2);}}function updateOverlay(){const _0x20b71c=_0x4645d4;console[_0x20b71c(0xb0)](LOG_PREFIX+_0x20b71c(0x10d)),console[_0x20b71c(0xb0)](LOG_PREFIX+_0x20b71c(0x99)+!!overlayController),console[_0x20b71c(0xb0)](LOG_PREFIX+'\x20currentOptions\x20exists:\x20'+!!currentOptions);if(!overlayController||!currentOptions){console['log'](LOG_PREFIX+_0x20b71c(0x7c));return;}const _0x810136=composeOverlayState(currentOptions);console[_0x20b71c(0xb0)](LOG_PREFIX+'\x20Updating\x20overlay\x20with\x20state:',JSON[_0x20b71c(0x90)](_0x810136,null,0x2)),overlayController[_0x20b71c(0x88)](_0x810136),console[_0x20b71c(0xb0)](LOG_PREFIX+'\x20Overlay\x20update\x20complete');}function composeOverlayState(_0x5b4517){const _0x302fb4=_0x4645d4,_0x2054b0=getEnhancementId();return console[_0x302fb4(0xb0)](LOG_PREFIX+_0x302fb4(0xaa)+_0x2054b0),console[_0x302fb4(0xb0)](LOG_PREFIX+_0x302fb4(0x86)+state[_0x302fb4(0x78)]),console[_0x302fb4(0xb0)](LOG_PREFIX+'\x20composeOverlayState\x20-\x20state.controlled:\x20'+state[_0x302fb4(0xaf)]),{'enhancementId':_0x2054b0,'enabled':state[_0x302fb4(0x78)],'controlled':state[_0x302fb4(0xaf)],'overlayPosition':_0x5b4517[_0x302fb4(0x10a)][_0x302fb4(0xdd)],'securityMode':_0x5b4517['security'],'backendBaseUrl':_0x5b4517['backendUrl'],'appError':state[_0x302fb4(0xbe)]};}async function setupRemoteHMR(_0x2e7684){const _0x113489=_0x4645d4;console[_0x113489(0xb0)](LOG_PREFIX+_0x113489(0xd3)+_0x2e7684);if(typeof window==='undefined')return;try{const _0x293de3=new URL(_0x2e7684,window[_0x113489(0x11d)][_0x113489(0xe6)]),_0x3adc96=_0x293de3[_0x113489(0xe6)];console[_0x113489(0xb0)](LOG_PREFIX+_0x113489(0xd4)+_0x3adc96+',\x20page\x20origin:\x20'+window[_0x113489(0x11d)]['origin']);if(_0x3adc96===window[_0x113489(0x11d)]['origin']){console[_0x113489(0xb0)](LOG_PREFIX+_0x113489(0x8e));return;}console['log'](LOG_PREFIX+_0x113489(0xa7)),await ensureReactRefreshPreamble(_0x3adc96),await ensureViteClient(_0x3adc96),console[_0x113489(0xb0)](LOG_PREFIX+'\x20HMR\x20setup\x20complete');}catch(_0x317144){console[_0x113489(0x10c)](LOG_PREFIX+'\x20Failed\x20to\x20prepare\x20remote\x20HMR\x20(non-fatal):',_0x317144);}}async function ensureReactRefreshPreamble(_0x3a3dda){const _0xb8b515=_0x4645d4;window[_0xb8b515(0x9f)]??=new Set();if(window[_0xb8b515(0x9f)][_0xb8b515(0xa6)](_0x3a3dda)){console[_0xb8b515(0xb0)](LOG_PREFIX+'\x20React\x20Refresh\x20already\x20installed\x20for\x20'+_0x3a3dda);return;}console['log'](LOG_PREFIX+_0xb8b515(0xe8)+_0x3a3dda+_0xb8b515(0x70));const _0x1af89a=await import(_0x3a3dda+_0xb8b515(0xac)),_0x96f67f=_0x1af89a&&typeof _0x1af89a===_0xb8b515(0x11a)&&_0xb8b515(0xb6)in _0x1af89a?_0x1af89a[_0xb8b515(0xb6)]:_0x1af89a;if(!isRefreshRuntime(_0x96f67f)){console[_0xb8b515(0x10c)](LOG_PREFIX+_0xb8b515(0xb8));return;}_0x96f67f[_0xb8b515(0xfb)](window),window['$RefreshReg$']=()=>{},window['$RefreshSig$']=()=>_0x33a9ee=>_0x33a9ee,window['__vite_plugin_react_preamble_installed__']=!![],window[_0xb8b515(0x9f)][_0xb8b515(0xa0)](_0x3a3dda),console[_0xb8b515(0xb0)](LOG_PREFIX+_0xb8b515(0xdf)+_0x3a3dda);}async function ensureViteClient(_0x35b487){const _0x502f58=_0x4645d4;window['__viteHMRLoaded']??=new Set();if(window[_0x502f58(0xf1)][_0x502f58(0xa6)](_0x35b487)){console[_0x502f58(0xb0)](LOG_PREFIX+'\x20Vite\x20client\x20already\x20loaded\x20for\x20'+_0x35b487);return;}console[_0x502f58(0xb0)](LOG_PREFIX+_0x502f58(0x113)+_0x35b487+_0x502f58(0x70)),await import(_0x35b487+_0x502f58(0x11c)),window[_0x502f58(0xf1)][_0x502f58(0xa0)](_0x35b487),console[_0x502f58(0xb0)](LOG_PREFIX+_0x502f58(0x11b)+_0x35b487);}function isRefreshRuntime(_0x1013b7){const _0x272489=_0x4645d4;return typeof _0x1013b7==='object'&&_0x1013b7!==null&&_0x272489(0xfb)in _0x1013b7&&typeof _0x1013b7[_0x272489(0xfb)]===_0x272489(0xda);}var WORKER_MESSAGE_CONFIG=_0x4645d4(0xec),WORKER_MESSAGE_DISABLE='enhance:disable',LOG_PREFIX2=_0x4645d4(0x82),registration=null,currentOptions2=null;async function registerServiceWorker(_0x5e4312){const _0x4e684d=_0x4645d4;console[_0x4e684d(0xb0)](LOG_PREFIX2+_0x4e684d(0xa2));if(!(_0x4e684d(0xd9)in navigator)){console[_0x4e684d(0x10c)](LOG_PREFIX2+_0x4e684d(0xc6));return;}const _0x222f8c=!!navigator[_0x4e684d(0xd9)][_0x4e684d(0xbd)];currentOptions2=_0x5e4312;const _0x5c5d2e=await detectBlockingServiceWorker(_0x5e4312[_0x4e684d(0xe7)]);if(_0x5c5d2e){console[_0x4e684d(0x87)](LOG_PREFIX2+'\x20BLOCKING\x20SW\x20detected:\x20'+_0x5c5d2e);return;}try{console[_0x4e684d(0xb0)](LOG_PREFIX2+_0x4e684d(0x12b)+_0x5e4312[_0x4e684d(0xe7)]+_0x4e684d(0x70)),registration=await navigator[_0x4e684d(0xd9)][_0x4e684d(0xb2)](_0x5e4312[_0x4e684d(0xe7)],{'scope':'/'}),console[_0x4e684d(0xb0)](LOG_PREFIX2+'\x20Waiting\x20for\x20SW\x20ready...'),await navigator[_0x4e684d(0xd9)][_0x4e684d(0x9d)],console[_0x4e684d(0xb0)](LOG_PREFIX2+'\x20SW\x20ready'),state[_0x4e684d(0xaf)]=ownsCurrentController(_0x5e4312[_0x4e684d(0xe7)]);if(!_0x222f8c&&!navigator['serviceWorker'][_0x4e684d(0xbd)]){console[_0x4e684d(0xb0)](LOG_PREFIX2+_0x4e684d(0xad)),window[_0x4e684d(0x11d)][_0x4e684d(0xe9)]();return;}console['log'](LOG_PREFIX2+_0x4e684d(0xd6)),await sendConfiguration();if(state['enabled']){const _0x13d2af=document[_0x4e684d(0xed)](_0x4e684d(0x77))!==null;if(!_0x13d2af){console['log'](LOG_PREFIX2+'\x20Page\x20not\x20enhanced\x20-\x20reloading'),window[_0x4e684d(0x11d)][_0x4e684d(0xe9)]();return;}}updateOverlay(),console[_0x4e684d(0xb0)](LOG_PREFIX2+_0x4e684d(0x83));}catch(_0x341a43){console['error'](LOG_PREFIX2+_0x4e684d(0x7a),_0x341a43);}}async function sendConfiguration(){const _0x250b10=_0x4645d4;if(!state[_0x250b10(0x78)]||!currentOptions2)return;const _0x459220=await resolveWorker();if(!_0x459220){console['warn'](LOG_PREFIX2+_0x250b10(0xf8));return;}const _0x464994=window[_0x250b10(0x128)]??null,_0x295d45={'publishableKey':currentOptions2['publishableKey'],'callbackBypass':currentOptions2[_0x250b10(0xfa)],'securityMode':currentOptions2[_0x250b10(0x106)],'enhancementUrl':_0x464994??void 0x0};console[_0x250b10(0xb0)](LOG_PREFIX2+'\x20Sending\x20config\x20to\x20SW:',JSON['stringify'](_0x295d45,null,0x2)),_0x459220[_0x250b10(0xcb)]({'type':WORKER_MESSAGE_CONFIG,'config':_0x295d45});}async function unregisterServiceWorker(_0x41ff1c){const _0x10ec3f=_0x4645d4;console[_0x10ec3f(0xb0)](LOG_PREFIX2+_0x10ec3f(0x115));if(!(_0x10ec3f(0xd9)in navigator))return;try{const _0x4b2cb3=registration??await navigator[_0x10ec3f(0xd9)][_0x10ec3f(0xcd)]('/');if(!_0x4b2cb3)return;const _0x1187b8=[_0x4b2cb3[_0x10ec3f(0x100)]?.[_0x10ec3f(0x125)],_0x4b2cb3[_0x10ec3f(0xf7)]?.[_0x10ec3f(0x125)],_0x4b2cb3[_0x10ec3f(0x7f)]?.[_0x10ec3f(0x125)]],_0x165253=_0x1187b8['some'](_0x1accf1=>_0x1accf1&&ownsServiceWorker(_0x1accf1,_0x41ff1c));if(!_0x165253)return;_0x4b2cb3['active']&&_0x4b2cb3[_0x10ec3f(0x100)]['postMessage']({'type':WORKER_MESSAGE_DISABLE}),await _0x4b2cb3[_0x10ec3f(0x107)](),registration=null,currentOptions2=null,console[_0x10ec3f(0xb0)](LOG_PREFIX2+'\x20SW\x20unregistered');}catch(_0x3ce114){console['error'](LOG_PREFIX2+_0x10ec3f(0x12a),_0x3ce114);}}function ownsServiceWorker(_0x555eba,_0x21323f){const _0x4830b2=_0x4645d4,_0x5561fc=typeof window!==_0x4830b2(0xa8)?window[_0x4830b2(0x11d)][_0x4830b2(0xe6)]:'',_0x3d8663=new URL(_0x21323f,_0x5561fc||void 0x0)[_0x4830b2(0x12c)];return _0x555eba===_0x3d8663||_0x555eba['includes'](_0x4830b2(0xff));}function ownsCurrentController(_0x2bd86e){const _0x3be1d3=_0x4645d4,_0x22060f=navigator[_0x3be1d3(0xd9)]?.['controller'];if(!_0x22060f)return![];return ownsServiceWorker(_0x22060f['scriptURL'],_0x2bd86e);}async function detectBlockingServiceWorker(_0x671b8c){const _0x2f298f=_0x4645d4;if(!navigator[_0x2f298f(0xd9)])return null;try{const _0x1088f9=await navigator['serviceWorker'][_0x2f298f(0xcd)]('/'),_0x355d4c=_0x1088f9?.[_0x2f298f(0x100)]?.[_0x2f298f(0x125)];if(!_0x355d4c)return null;if(ownsServiceWorker(_0x355d4c,_0x671b8c))return null;return _0x355d4c;}catch{return null;}}async function resolveWorker(){const _0x2dc144=_0x4645d4,_0x579945=registration??await navigator['serviceWorker']?.['getRegistration']('/');return _0x579945?.['active']??_0x579945?.['waiting']??_0x579945?.[_0x2dc144(0x7f)]??null;}var LOG_PREFIX3=_0x4645d4(0x81),STORAGE_KEY_ENHANCEMENT_ID=_0x4645d4(0x92),STORAGE_KEY_ENHANCEMENT_URL='enhance.enhancementUrl';function isInitialized(){const _0x1c3035=_0x4645d4;return typeof window!=='undefined'&&window[_0x1c3035(0xf2)]===!![];}function setInitialized(_0x4c250c){const _0x417de0=_0x4645d4;typeof window!==_0x417de0(0xa8)&&(window[_0x417de0(0xf2)]=_0x4c250c);}function getOptions(){const _0x142eda=_0x4645d4;return typeof window!==_0x142eda(0xa8)?window[_0x142eda(0x89)]??null:null;}function _0x13de(){const _0x47f41e=['overlay','\x20Setting\x20up\x20remote\x20HMR...','warn','\x20updateOverlay()\x20called','19884NCsxfQ','message','options','ENHANCE_OVERLAY_PATH=https://assets.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://api.enhancelabs.ai\x20tsup','\x20Enhancement\x20mode\x20-\x20ID:\x20','\x20Loading\x20Vite\x20HMR\x20client\x20from\x20','\x20Failed\x20to\x20import/create\x20overlay:','\x20unregisterServiceWorker()\x20called','overlayPath','508042ajJebZ','\x20Current\x20URL:\x20','keys','object','\x20Vite\x20HMR\x20client\x20loaded\x20for\x20','/@vite/client','location','Enhance\x20preview\x20bootstrap\x20and\x20tooling\x20package.','init','^3.22.4','toLowerCase','895568jIntpe','\x20loadOverlay()\x20failed:','362945pxEkgA','scriptURL','publishableKey','\x20Explicit\x20disable\x20-\x20exiting','__enhanceResolvedUrl','serviceWorkerURL','\x20Failed\x20to\x20unregister\x20service\x20worker:','\x20Registering\x20SW\x20at\x20','href','enhancementId','createOverlay','\x20Using\x20cached\x20enhancement\x20URL:\x20','15mcPAim','@enhance-eng/sandbox','2588411sWUWsz','https://assets.enhancelabs.ai/overlay.js','\x20No\x20cached\x20controller\x20-\x20will\x20import\x20module','...','/resolve','replace','\x20Available\x20exports:','\x20Normal\x20mode\x20-\x20no\x20enhancement','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://overlay.localhost:8099\x20tsup','replaceState','[data-enhance-runtime-bootstrap]','enabled','./dev/cli.js','\x20Failed\x20to\x20register\x20service\x20worker:','\x20Restored\x20enhancement\x20from\x20sessionStorage','\x20Missing\x20controller\x20or\x20options\x20-\x20skipping\x20update','\x20Resolution\x20error:','explicitDisable','installing','\x20doLoadOverlay()\x20starting...','[Enhance\x20Runtime]','[Enhance\x20SW-Client]','\x20registerServiceWorker()\x20complete','enhancement','dev/','\x20composeOverlayState\x20-\x20state.enabled:\x20','error','update','__enhanceOptions','[Enhance\x20Config]\x20Build-time\x20defaults:','now','\x20Enhancement\x20params:','history','\x20Same\x20origin\x20-\x20skipping\x20HMR\x20setup','runtimeURL','stringify','backendUrl','enhance.enhancementId','1658142rvxdbj','570412bSzxKQ','\x20Controller\x20already\x20exists\x20-\x20updating\x20overlay','\x20Resolution\x20failed:\x20','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://overlay.localhost:8099\x20tsup\x20--watch','cachedUrl','\x20overlayController\x20exists:\x20','./dev/index.d.ts','\x20Resolved\x20to:\x20','\x20Controller\x20created:','ready','\x20Module\x20missing\x20createOverlay\x20export!','__enhanceReactRefreshInstalledOrigins','add','\x20No\x20window\x20object\x20-\x20skipping','\x20registerServiceWorker()\x20called','16GmeJZE','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20tsup\x20--watch','0.0.0','has','\x20Cross-origin\x20overlay\x20-\x20setting\x20up\x20HMR...','undefined','__enhanceOverlay','\x20composeOverlayState\x20-\x20enhancementId:\x20','trim','/@react-refresh','\x20SW\x20just\x20activated\x20-\x20reloading\x20to\x20enable\x20enhancement','\x20Module\x20imported\x20in\x20','controlled','log','\x20Starting\x20fresh\x20overlay\x20load...','register','permissive','\x20Document\x20readyState:\x20','enhance','default','\x20Module\x20exports:','\x20Invalid\x20React\x20Refresh\x20runtime','250dBIguC','\x20Load\x20already\x20in\x20progress\x20-\x20waiting...','searchParams','disable','controller','appError','tsc\x20--noEmit','json','removeItem','toString','startsWith','\x20Overlay\x20controller\x20initialized\x20and\x20cached','./dev/index.js','\x20Service\x20workers\x20NOT\x20supported','enable','\x20Cleared\x20persisted\x20enhancement','3OpFdIE','search','postMessage','^4.1.1','getRegistration','set','ENHANCE_OVERLAY_PATH=https://assets-dev.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20OBFUSCATE=1\x20RELEASE=1\x20tsup','^24.10.1','module','^8.5.1','\x20setupRemoteHMR()\x20for\x20','\x20Overlay\x20origin:\x20','\x20Loading\x20overlay...','\x20Sending\x20configuration\x20to\x20SW...','^11.1.0','\x20Registering\x20SW\x20with\x20enhancement\x20URL...','serviceWorker','function','setItem','getItem','position','\x20Already\x20initialized\x20-\x20returning\x20existing\x20controller','\x20React\x20Refresh\x20runtime\x20installed\x20for\x20','https://api.enhancelabs.ai','\x20Calling\x20createOverlay()...','get','/assets/enhance-runtime.js','enableViteHmr','title','origin','swPath','\x20Installing\x20React\x20Refresh\x20runtime\x20from\x20','reload','ENHANCE_OVERLAY_PATH=https://overlay.localhost:8099/src/index.tsx\x20ENHANCE_BACKEND_URL=https://enhance-api-dev.enhancelabs.workers.dev\x20tsup','\x20Resolving\x20enhancement\x20ID:\x20','enhance:configure','querySelector','false','\x20overlayPath:\x20','err','__viteHMRLoaded','__enhanceInitialized','version','text','vite:error','ENHANCE_OVERLAY_PATH=https://assets.enhancelabs.ai/overlay.js\x20ENHANCE_BACKEND_URL=https://api.enhancelabs.ai\x20OBFUSCATE=1\x20RELEASE=1\x20tsup','waiting','\x20No\x20service\x20worker\x20active\x20to\x20configure','\x20Persisted\x20enhancement\x20to\x20sessionStorage','callbackBypass','injectIntoGlobalHook','enableOverlayHmr','\x20Calling\x20updateOverlay()...','\x20enableViteHmr:\x20','sw-enhance','active','onToggle','info','[Enhance]\x20publishableKey\x20is\x20required\x20in\x20Enhance.init()','0.3.21','MIT','security','unregister','/sw-enhance.js','public'];_0x13de=function(){return _0x47f41e;};return _0x13de();}function setOptions(_0x1c20ee){const _0x240aa9=_0x4645d4;typeof window!==_0x240aa9(0xa8)&&(window[_0x240aa9(0x89)]=_0x1c20ee);}var Enhance={'init'(_0x5723e3){const _0x1aa192=_0x4645d4,_0x53548a=Date[_0x1aa192(0x8b)]();console[_0x1aa192(0xb0)](LOG_PREFIX3+'\x20init()\x20called\x20at\x20'+_0x53548a),console[_0x1aa192(0xb0)](LOG_PREFIX3+_0x1aa192(0x118)+window[_0x1aa192(0x11d)][_0x1aa192(0x12c)]),console['log'](LOG_PREFIX3+_0x1aa192(0xb4)+document['readyState']);if(isInitialized())return console[_0x1aa192(0x10c)](LOG_PREFIX3+_0x1aa192(0xde)),window['__enhanceController']??createController();setInitialized(!![]);const _0x3ea172=normalizeOptions(_0x5723e3);setOptions(_0x3ea172);const _0x146244=parseEnhancementParams();console[_0x1aa192(0xb0)](LOG_PREFIX3+_0x1aa192(0x8c),JSON[_0x1aa192(0x90)](_0x146244,null,0x2));if(_0x146244[_0x1aa192(0x7e)])return cleanUrlParam(_0x1aa192(0xb5)),clearPersistedEnhancement(),console['log'](LOG_PREFIX3+_0x1aa192(0x127)),createController();if(!_0x146244['enhancementId'])return console['log'](LOG_PREFIX3+_0x1aa192(0x74)),void unregisterServiceWorker(_0x3ea172[_0x1aa192(0xe7)]),setupViteErrorListeners(),createController();return console[_0x1aa192(0xb0)](LOG_PREFIX3+_0x1aa192(0x112)+_0x146244[_0x1aa192(0x12d)]),state[_0x1aa192(0x78)]=!![],void initializeEnhancement(_0x3ea172,_0x146244[_0x1aa192(0x12d)],_0x146244[_0x1aa192(0x98)]),createController();}};async function initializeEnhancement(_0x40f06a,_0x23bfb8,_0x59ecba){const _0x663ca=_0x4645d4;let _0x310028=_0x59ecba;if(!_0x310028){console[_0x663ca(0xb0)](LOG_PREFIX3+_0x663ca(0xeb)+_0x23bfb8),_0x310028=await resolveEnhancementUrl(_0x40f06a,_0x23bfb8);if(!_0x310028){console[_0x663ca(0x87)](LOG_PREFIX3+'\x20Failed\x20to\x20resolve\x20enhancement\x20-\x20aborting'),state[_0x663ca(0x78)]=![];return;}}else console['log'](LOG_PREFIX3+_0x663ca(0x6a)+_0x310028);persistEnhancement(_0x23bfb8,_0x310028),window['__enhanceResolvedUrl']=_0x310028,console[_0x663ca(0xb0)](LOG_PREFIX3+_0x663ca(0xd8)),await registerServiceWorker(_0x40f06a),console['log'](LOG_PREFIX3+_0x663ca(0xd5)),await loadOverlay({'overlayPath':_0x40f06a[_0x663ca(0x116)],'enableViteHmr':_0x40f06a[_0x663ca(0x10a)][_0x663ca(0xe4)],'options':_0x40f06a,'onToggle':handleToggle}),console[_0x663ca(0xb0)](LOG_PREFIX3+'\x20Enhancement\x20initialization\x20complete');}async function resolveEnhancementUrl(_0x28f2b1,_0x4fe363){const _0x492fbf=_0x4645d4,_0x1c0c48=_0x28f2b1[_0x492fbf(0x91)]+'/public/enhancements/'+_0x4fe363+_0x492fbf(0x71);console[_0x492fbf(0xb0)](LOG_PREFIX3+'\x20Calling:\x20'+_0x1c0c48);try{const _0x414b02=await fetch(_0x1c0c48,{'headers':{'X-Enhance-Publishable-Key':_0x28f2b1[_0x492fbf(0x126)]}});if(!_0x414b02['ok']){const _0x4115b8=await _0x414b02[_0x492fbf(0xf4)]();return console['error'](LOG_PREFIX3+_0x492fbf(0x96)+_0x414b02['status']+'\x20'+_0x4115b8),null;}const _0x36865e=await _0x414b02[_0x492fbf(0xc0)](),_0x2618f6=''+_0x28f2b1[_0x492fbf(0x91)]+_0x36865e['operatingPath'];return console[_0x492fbf(0xb0)](LOG_PREFIX3+_0x492fbf(0x9b)+_0x2618f6),_0x2618f6;}catch(_0xb7ac86){return console[_0x492fbf(0x87)](LOG_PREFIX3+_0x492fbf(0x7d),_0xb7ac86),null;}}function parseEnhancementParams(){const _0x5e28cf=_0x4645d4,_0x2b5f67=new URL(window[_0x5e28cf(0x11d)][_0x5e28cf(0x12c)]),_0x29d80d=_0x2b5f67[_0x5e28cf(0xbb)][_0x5e28cf(0xe2)](_0x5e28cf(0xb5))?.[_0x5e28cf(0x121)](),_0x348e6e=_0x29d80d==='0'||_0x29d80d===_0x5e28cf(0xee)||_0x29d80d==='off';let _0x1219b7=_0x2b5f67['searchParams']['get'](_0x5e28cf(0x84)),_0x1d553c=null;if(_0x1219b7)try{const _0x2e6441=sessionStorage['getItem'](STORAGE_KEY_ENHANCEMENT_ID),_0x942118=sessionStorage[_0x5e28cf(0xdc)](STORAGE_KEY_ENHANCEMENT_URL);_0x2e6441===_0x1219b7&&_0x942118&&(_0x1d553c=_0x942118,console[_0x5e28cf(0xb0)](LOG_PREFIX3+'\x20Found\x20cached\x20URL\x20for\x20enhancement\x20ID'));}catch{}else try{const _0x271852=sessionStorage[_0x5e28cf(0xdc)](STORAGE_KEY_ENHANCEMENT_ID),_0x2b7d41=sessionStorage[_0x5e28cf(0xdc)](STORAGE_KEY_ENHANCEMENT_URL);_0x271852&&_0x2b7d41&&(_0x1219b7=_0x271852,_0x1d553c=_0x2b7d41,console[_0x5e28cf(0xb0)](LOG_PREFIX3+_0x5e28cf(0x7b)),_0x2b5f67[_0x5e28cf(0xbb)][_0x5e28cf(0xce)]('enhancement',_0x1219b7),window['history'][_0x5e28cf(0x76)](null,document['title'],_0x2b5f67[_0x5e28cf(0xc2)]()));}catch{}return{'enhancementId':_0x1219b7,'cachedUrl':_0x1d553c,'explicitDisable':_0x348e6e};}function persistEnhancement(_0x48cb02,_0xbace7c){const _0xe7d08f=_0x4645d4;try{sessionStorage[_0xe7d08f(0xdb)](STORAGE_KEY_ENHANCEMENT_ID,_0x48cb02),sessionStorage[_0xe7d08f(0xdb)](STORAGE_KEY_ENHANCEMENT_URL,_0xbace7c),console[_0xe7d08f(0xb0)](LOG_PREFIX3+_0xe7d08f(0xf9));}catch{}}function clearPersistedEnhancement(){const _0x2fb65b=_0x4645d4;try{sessionStorage['removeItem'](STORAGE_KEY_ENHANCEMENT_ID),sessionStorage[_0x2fb65b(0xc1)](STORAGE_KEY_ENHANCEMENT_URL),console[_0x2fb65b(0xb0)](LOG_PREFIX3+_0x2fb65b(0xc8));}catch{}}function createController(){const _0x487f51=_0x4645d4,_0x5f374d={'enable'(){const _0x3043f1=getOptions();if(!_0x3043f1)return;state['enabled']=!![],void registerServiceWorker(_0x3043f1),void sendConfiguration(),updateOverlay();},'disable'(){const _0x570d11=_0xabe9,_0x3492af=getOptions();if(!_0x3492af)return;state[_0x570d11(0x78)]=![],state[_0x570d11(0xaf)]=![],clearPersistedEnhancement(),updateOverlay(),void unregisterServiceWorker(_0x3492af[_0x570d11(0xe7)]);},'status'(){const _0x5ccb28=_0xabe9;return{'enabled':state[_0x5ccb28(0x78)],'controlled':state[_0x5ccb28(0xaf)]};}};return typeof window!==_0x487f51(0xa8)&&(window['__enhanceController']=_0x5f374d),_0x5f374d;}function handleToggle(){const _0xa59bf7=_0x4645d4,_0x470839=createController();state['enabled']?_0x470839[_0xa59bf7(0xbc)]():_0x470839[_0xa59bf7(0xc7)]();}function cleanUrlParam(_0x1c8cc5){const _0x1931da=_0x4645d4,_0xd3fb01=new URL(window[_0x1931da(0x11d)]['href']);_0xd3fb01['searchParams'][_0x1931da(0xa6)](_0x1c8cc5)&&(_0xd3fb01[_0x1931da(0xbb)]['delete'](_0x1c8cc5),window[_0x1931da(0x8d)]['replaceState'](null,document[_0x1931da(0xe5)],_0xd3fb01[_0x1931da(0xc2)]()));}function setupViteErrorListeners(){const _0x4a0e7b=_0x4645d4;import.meta.hot&&(import.meta.hot['on'](_0x4a0e7b(0xf5),_0x595094=>{const _0x17095f=_0x4a0e7b;state[_0x17095f(0xbe)]={'message':_0x595094[_0x17095f(0xf0)][_0x17095f(0x10f)]},updateOverlay();}),import.meta.hot['on']('vite:beforeUpdate',()=>{state['appError']&&(state['appError']=null,updateOverlay());}));}function _0xabe9(_0x2acb36,_0x323be7){_0x2acb36=_0x2acb36-0x69;const _0x13de36=_0x13de();let _0xabe991=_0x13de36[_0x2acb36];return _0xabe991;}var package_default={'name':_0x4645d4(0x6c),'version':_0x4645d4(0x104),'type':_0x4645d4(0xd1),'description':_0x4645d4(0x11e),'license':_0x4645d4(0x105),'main':_0x4645d4(0xc5),'module':_0x4645d4(0xc5),'types':_0x4645d4(0x9a),'exports':{'.':{'types':_0x4645d4(0x9a),'import':_0x4645d4(0xc5)},'./vite':{'types':'./dev/vite/index.d.ts','import':'./dev/vite/index.js'}},'files':[_0x4645d4(0x85)],'bin':{'enhance-sandbox':_0x4645d4(0x79)},'scripts':{'typecheck':_0x4645d4(0xbf),'dev':_0x4645d4(0x97),'dev:build':_0x4645d4(0x75),'dev:staging':_0x4645d4(0xa4),'dev:staging:build':_0x4645d4(0xea),'build':_0x4645d4(0x111),'build:release':_0x4645d4(0xf6),'build:release:dev':_0x4645d4(0xcf),'version':'bun\x20version\x20patch\x20--no-git-tag-version'},'dependencies':{'commander':_0x4645d4(0xd7),'zod':_0x4645d4(0x120)},'devDependencies':{'@types/node':_0x4645d4(0xd0),'javascript-obfuscator':_0x4645d4(0xcc),'tsup':_0x4645d4(0xd2),'vite':'^7.2.4'},'publishConfig':{'access':_0x4645d4(0x109)}},DEFAULT_SERVICE_WORKER_PATH=_0x4645d4(0x108),DEFAULT_RUNTIME_PATH=_0x4645d4(0xe3),PACKAGE_VERSION=typeof package_default[_0x4645d4(0xf3)]==='string'?package_default[_0x4645d4(0xf3)]:_0x4645d4(0xa5);function normalizeAssetPath(_0x54cb1f){const _0x28a5cb=_0x4645d4;if(!_0x54cb1f)return _0x54cb1f;if(_0x54cb1f[_0x28a5cb(0xc3)]('http://')||_0x54cb1f[_0x28a5cb(0xc3)]('https://'))return _0x54cb1f;const _0x4adb25=_0x54cb1f[_0x28a5cb(0x72)](/^\.\//,'');return _0x4adb25[_0x28a5cb(0xc3)]('/')?_0x4adb25:'/'+_0x4adb25;}var defaultSwPath=normalizeAssetPath(DEFAULT_SERVICE_WORKER_PATH),defaultRuntimePath=normalizeAssetPath(DEFAULT_RUNTIME_PATH),Enhance2={'init'(_0xaa83f0){const _0x3ff72b=_0x4645d4;return Enhance[_0x3ff72b(0x11f)](_0xaa83f0);},'serviceWorkerURL'(){return defaultSwPath;},'runtimeURL'(){return defaultRuntimePath;},'assetManifest'(){return getAssetManifest();}};function getAssetManifest(){return{'version':PACKAGE_VERSION,'serviceWorker':serviceWorkerURL(),'runtime':runtimeURL(),'serviceWorkerDigest':null,'runtimeDigest':null};}function resolveServiceWorkerPath(){return serviceWorkerURL();}function serviceWorkerURL(){const _0x328352=_0x4645d4;return Enhance2[_0x328352(0x129)]();}function runtimeURL(){const _0x4d269c=_0x4645d4;return Enhance2[_0x4d269c(0x8f)]();}export{Enhance2 as Enhance,getAssetManifest,resolveServiceWorkerPath,runtimeURL,serviceWorkerURL};
@@ -1 +1 @@
1
- 'use strict';(function(_0x36d47d,_0x23d20d){const _0xb17933=_0x20fb,_0x578ed5=_0x36d47d();while(!![]){try{const _0x58a635=-parseInt(_0xb17933(0x230))/0x1*(-parseInt(_0xb17933(0x2e3))/0x2)+parseInt(_0xb17933(0x281))/0x3*(-parseInt(_0xb17933(0x23c))/0x4)+parseInt(_0xb17933(0x1e5))/0x5+-parseInt(_0xb17933(0x285))/0x6+-parseInt(_0xb17933(0x24f))/0x7+parseInt(_0xb17933(0x254))/0x8*(parseInt(_0xb17933(0x27d))/0x9)+parseInt(_0xb17933(0x265))/0xa*(parseInt(_0xb17933(0x1fe))/0xb);if(_0x58a635===_0x23d20d)break;else _0x578ed5['push'](_0x578ed5['shift']());}catch(_0x41168f){_0x578ed5['push'](_0x578ed5['shift']());}}}(_0x15df,0xd7615));function _0x20fb(_0x207f69,_0x2077d7){_0x207f69=_0x207f69-0x1b3;const _0x15df09=_0x15df();let _0x20fb39=_0x15df09[_0x207f69];return _0x20fb39;}var EnhanceSW=((()=>{const _0x45fbbe=_0x20fb;var _0x584e6e=Object['defineProperty'],_0x139d38=Object[_0x45fbbe(0x21d)],_0x1f3cb2=Object['getOwnPropertyNames'],_0x3d2903=Object[_0x45fbbe(0x218)][_0x45fbbe(0x1ea)],_0x43c485=(_0x44af95,_0x3922c0)=>{for(var _0x5f388b in _0x3922c0)_0x584e6e(_0x44af95,_0x5f388b,{'get':_0x3922c0[_0x5f388b],'enumerable':!![]});},_0x35ae13=(_0x36ec52,_0x40ee5b,_0x197364,_0x1cb36e)=>{const _0x32a666=_0x45fbbe;if(_0x40ee5b&&typeof _0x40ee5b===_0x32a666(0x28e)||typeof _0x40ee5b===_0x32a666(0x237)){for(let _0x150597 of _0x1f3cb2(_0x40ee5b))if(!_0x3d2903[_0x32a666(0x2c5)](_0x36ec52,_0x150597)&&_0x150597!==_0x197364)_0x584e6e(_0x36ec52,_0x150597,{'get':()=>_0x40ee5b[_0x150597],'enumerable':!(_0x1cb36e=_0x139d38(_0x40ee5b,_0x150597))||_0x1cb36e[_0x32a666(0x226)]});}return _0x36ec52;},_0x3f0b1e=_0x3d093c=>_0x35ae13(_0x584e6e({},'__esModule',{'value':!![]}),_0x3d093c),_0x1c12b1={};_0x43c485(_0x1c12b1,{'log':()=>_0x377f8a});var _0x43b6a6=_0x45fbbe(0x298),_0x269505='enhance:disable';function _0x2ba1c8(_0x402693){const _0x3cdd16=_0x45fbbe;if(!_0x402693[_0x3cdd16(0x27a)]('/'))return'/'+_0x402693;return _0x402693;}function _0x40a582(_0x1c4f58,_0x4ebe52){const _0x5591b2=_0x45fbbe,_0x3e720f=new URL(_0x1c4f58[_0x5591b2(0x2ae)]()),_0x1e63c0=_0x3e720f[_0x5591b2(0x2c9)][_0x5591b2(0x2e4)]('/')?_0x3e720f[_0x5591b2(0x2c9)]['slice'](0x0,-0x1):_0x3e720f[_0x5591b2(0x2c9)],_0x2ebee9=_0x4ebe52[_0x5591b2(0x2c9)]['startsWith']('/')?_0x4ebe52[_0x5591b2(0x2c9)]:'/'+_0x4ebe52[_0x5591b2(0x2c9)];return _0x3e720f[_0x5591b2(0x2c9)]=(''+_0x1e63c0+_0x2ebee9)[_0x5591b2(0x1d9)](/\/+/g,'/'),_0x3e720f[_0x5591b2(0x275)]=_0x4ebe52['search'],_0x3e720f['hash']='',_0x3e720f;}var _0x4d44e3=_0x45fbbe(0x1eb),_0x98afd4=_0x45fbbe(0x204),_0x2fcc0b=new Set([_0x45fbbe(0x1fa),'style',_0x45fbbe(0x219),_0x45fbbe(0x225),'worker',_0x45fbbe(0x206),_0x45fbbe(0x239)]);function _0xc689d0(_0x5ddf93){const _0x431233=_0x45fbbe,_0x373751=_0x5ddf93[_0x431233(0x2c8)]==='GET'||_0x5ddf93['method']==='HEAD';return _0x373751;}function _0x4afc8c(_0xb7e6ef,_0x3b79eb){const _0x24c01d=_0x45fbbe,_0x14654f=_0x2ba1c8(_0x3b79eb),_0x41a554=_0xb7e6ef[_0x24c01d(0x1d1)]['some'](_0x1ff419=>_0x14654f[_0x24c01d(0x27a)](_0x1ff419));return _0x41a554;}function _0x470591(_0x1bec79,_0x184584,_0x38bc31){const _0x40bdf4=_0x45fbbe,_0x2dd700=_0x184584['destination'];if(!_0x2dd700||!_0x2fcc0b[_0x40bdf4(0x1f0)](_0x2dd700))return![];if(_0x6aa1f6(_0x1bec79,_0x38bc31))return console['log'](_0x4d44e3+'\x20shouldRouteAsset:\x20'+_0x38bc31[_0x40bdf4(0x2c9)]+_0x40bdf4(0x28c)),![];if(_0x263af0(_0x1bec79,_0x38bc31))return console['log'](_0x4d44e3+_0x40bdf4(0x23d)+_0x38bc31['pathname']+_0x40bdf4(0x2af)),![];if(_0x38bc31[_0x40bdf4(0x20f)]!==self['location']['origin'])return![];return!![];}async function _0x43892f(_0x10d7fd,_0x1ea97a,_0x4b2b19){const _0x2f8c84=_0x45fbbe;console[_0x2f8c84(0x1c3)](_0x4d44e3+_0x2f8c84(0x202)+_0x4b2b19[_0x2f8c84(0x2c9)]);if(!_0x10d7fd['enhancementBase'])return console[_0x2f8c84(0x1c3)](_0x4d44e3+_0x2f8c84(0x21e)),null;const _0x42ec9c=_0x192522(_0x10d7fd,_0x4b2b19);console[_0x2f8c84(0x1c3)](_0x4d44e3+_0x2f8c84(0x2d8)+_0x42ec9c[_0x2f8c84(0x2ae)]());const _0x304841=new Headers(_0x1ea97a['headers']);_0x304841[_0x2f8c84(0x23b)](_0x2f8c84(0x1cc),_0x2f8c84(0x1f7)),_0x304841[_0x2f8c84(0x2b1)](_0x2f8c84(0x25a));_0x10d7fd[_0x2f8c84(0x246)]&&_0x304841[_0x2f8c84(0x23b)](_0x98afd4,_0x10d7fd[_0x2f8c84(0x246)]);const _0x3f234e=new Request(_0x42ec9c[_0x2f8c84(0x2ae)](),{'method':_0x1ea97a['method'],'headers':_0x304841,'credentials':_0x2f8c84(0x24b),'redirect':_0x1ea97a[_0x2f8c84(0x1d3)],'cache':_0x2f8c84(0x1c7),'mode':_0x2f8c84(0x1c2)});try{console[_0x2f8c84(0x1c3)](_0x4d44e3+_0x2f8c84(0x2c6));const _0x41f81c=await fetch(_0x3f234e);console['log'](_0x4d44e3+_0x2f8c84(0x1e1)+_0x41f81c['status']+'\x20'+_0x41f81c[_0x2f8c84(0x270)]+_0x2f8c84(0x1df)+_0x41f81c[_0x2f8c84(0x252)]);if(_0x41f81c[_0x2f8c84(0x252)]===_0x2f8c84(0x2bb))return console['log'](_0x4d44e3+_0x2f8c84(0x224)),_0x377f8a(_0x2f8c84(0x290),_0x2f8c84(0x29f),_0x42ec9c[_0x2f8c84(0x2ae)]()),null;if(!_0x41f81c['ok'])return console[_0x2f8c84(0x1c3)](_0x4d44e3+_0x2f8c84(0x1ec)+_0x41f81c[_0x2f8c84(0x2d7)]+_0x2f8c84(0x255)),_0x377f8a('debug','Enhancement\x20miss\x20'+_0x41f81c[_0x2f8c84(0x2d7)]+_0x2f8c84(0x26d)+_0x42ec9c['pathname']),null;return console[_0x2f8c84(0x1c3)](_0x4d44e3+_0x2f8c84(0x2b2)),_0x52e29e(_0x41f81c,_0x1ea97a[_0x2f8c84(0x2c8)]);}catch(_0xdceeb5){return console[_0x2f8c84(0x273)](_0x4d44e3+_0x2f8c84(0x280),_0xdceeb5),_0x377f8a(_0x2f8c84(0x290),_0x2f8c84(0x2b4),_0xdceeb5),null;}}async function _0x3d0a70(_0x612181,_0x2b8b21){const _0x1f7b69=_0x45fbbe,_0x134c4d=new URL(_0x2b8b21[_0x1f7b69(0x23a)]);console[_0x1f7b69(0x1c3)](_0x4d44e3+_0x1f7b69(0x1d7)+_0x134c4d[_0x1f7b69(0x2c9)]+_0x134c4d[_0x1f7b69(0x275)]);if(!_0x612181[_0x1f7b69(0x2b9)])return console[_0x1f7b69(0x1c3)](_0x4d44e3+_0x1f7b69(0x201)),null;const _0x5ee6a8=_0x192522(_0x612181,_0x134c4d);console[_0x1f7b69(0x1c3)](_0x4d44e3+_0x1f7b69(0x1e7)+_0x5ee6a8[_0x1f7b69(0x2ae)]());const _0x4292af=new Headers(_0x2b8b21[_0x1f7b69(0x2dd)]);_0x4292af[_0x1f7b69(0x23b)](_0x1f7b69(0x1cc),'enhancement-document'),_0x4292af[_0x1f7b69(0x2b1)](_0x1f7b69(0x25a)),_0x4292af['delete'](_0x1f7b69(0x27b));_0x612181[_0x1f7b69(0x246)]&&_0x4292af[_0x1f7b69(0x23b)](_0x98afd4,_0x612181[_0x1f7b69(0x246)]);const _0x526fb2=new Request(_0x5ee6a8[_0x1f7b69(0x2ae)](),{'method':_0x1f7b69(0x295),'headers':_0x4292af,'credentials':'include','redirect':'follow','cache':'default','mode':_0x1f7b69(0x1c2)});try{console[_0x1f7b69(0x1c3)](_0x4d44e3+_0x1f7b69(0x221));const _0x3d0a9c=await fetch(_0x526fb2);console['log'](_0x4d44e3+_0x1f7b69(0x1e1)+_0x3d0a9c[_0x1f7b69(0x2d7)]+'\x20'+_0x3d0a9c['statusText']+_0x1f7b69(0x1df)+_0x3d0a9c[_0x1f7b69(0x252)]),console[_0x1f7b69(0x1c3)](_0x4d44e3+_0x1f7b69(0x1de)+_0x3d0a9c[_0x1f7b69(0x2dd)][_0x1f7b69(0x236)](_0x1f7b69(0x2eb)));if(_0x3d0a9c['type']===_0x1f7b69(0x2bb))return console[_0x1f7b69(0x1c3)](_0x4d44e3+_0x1f7b69(0x224)),_0x377f8a(_0x1f7b69(0x290),_0x1f7b69(0x1d8),_0x5ee6a8[_0x1f7b69(0x2ae)]()),null;if(!_0x3d0a9c['ok'])return console['log'](_0x4d44e3+_0x1f7b69(0x1ec)+_0x3d0a9c[_0x1f7b69(0x2d7)]+_0x1f7b69(0x255)),_0x377f8a(_0x1f7b69(0x294),'Enhancement\x20document\x20miss\x20'+_0x3d0a9c[_0x1f7b69(0x2d7)]+_0x1f7b69(0x26d)+_0x5ee6a8[_0x1f7b69(0x2c9)]),null;if(!_0x31240a(_0x3d0a9c))return console['log'](_0x4d44e3+_0x1f7b69(0x1f6)),null;return console[_0x1f7b69(0x1c3)](_0x4d44e3+_0x1f7b69(0x292)),_0x52e29e(_0x3d0a9c,_0x1f7b69(0x295));}catch(_0x27c69c){return console[_0x1f7b69(0x273)](_0x4d44e3+_0x1f7b69(0x234),_0x27c69c),_0x377f8a(_0x1f7b69(0x290),_0x1f7b69(0x2dc),_0x27c69c),null;}}function _0x192522(_0x25c953,_0x5e08cb){const _0xa5f7e9=_0x45fbbe;if(!_0x25c953[_0xa5f7e9(0x2b9)])throw new Error(_0xa5f7e9(0x2db));return _0x40a582(_0x25c953['enhancementBase'],_0x5e08cb);}function _0x52e29e(_0x2b4c49,_0x67a1b5){const _0x454544=_0x45fbbe,_0x21d67c=_0x2b4c49[_0x454544(0x212)](),_0xb1b51e=new Headers(_0x21d67c[_0x454544(0x2dd)]);_0xb1b51e[_0x454544(0x2b1)]('access-control-allow-origin'),_0xb1b51e[_0x454544(0x2b1)](_0x454544(0x299)),_0xb1b51e[_0x454544(0x2b1)]('access-control-expose-headers'),_0xb1b51e[_0x454544(0x23b)](_0x454544(0x26c),_0x454544(0x231)),_0x4d195e(_0xb1b51e);const _0xe46f34=_0x67a1b5===_0x454544(0x267)?null:_0x21d67c[_0x454544(0x2e1)];return new Response(_0xe46f34,{'status':_0x21d67c[_0x454544(0x2d7)],'statusText':_0x21d67c[_0x454544(0x270)],'headers':_0xb1b51e});}function _0x31240a(_0x216c76){const _0x47d7d4=_0x45fbbe,_0x283036=_0x216c76[_0x47d7d4(0x2dd)][_0x47d7d4(0x236)](_0x47d7d4(0x2eb));return _0x283036!=null&&_0x283036['includes']('text/html');}function _0x6aa1f6(_0x1f7590,_0x1c8496){const _0x4cfb1c=_0x45fbbe;return _0x5d27d8(_0x1c8496,_0x1f7590[_0x4cfb1c(0x21f)]);}function _0x263af0(_0x3be766,_0x5061bd){return _0x2d1bc0(_0x5061bd,_0x3be766['runtimeScriptPath']);}function _0x5d27d8(_0x1325c9,_0x997f75){const _0x187507=_0x45fbbe;if(!_0x997f75)return![];if(_0x997f75[_0x187507(0x27a)]('http://')||_0x997f75[_0x187507(0x27a)](_0x187507(0x2d9)))return _0x1325c9[_0x187507(0x289)]===_0x997f75;const _0x1b259f=_0xe1ce88(_0x997f75);if(!_0x1b259f)return![];const _0x11a9d7=''+_0x1325c9[_0x187507(0x2c9)]+_0x1325c9[_0x187507(0x275)];if(_0x11a9d7===_0x1b259f)return!![];if(_0x1325c9[_0x187507(0x275)]===_0x187507(0x1b3))return _0x1325c9[_0x187507(0x2c9)]===_0x1b259f;return![];}function _0x2d1bc0(_0x14b9b6,_0x289c39){const _0x5511fc=_0x45fbbe;if(!_0x289c39)return![];if(_0x289c39['startsWith'](_0x5511fc(0x2aa))||_0x289c39[_0x5511fc(0x27a)]('https://'))return _0x14b9b6['href']===_0x289c39;const _0x48a7da=_0xe1ce88(_0x289c39);if(!_0x48a7da)return![];const _0x1993dd=''+_0x14b9b6[_0x5511fc(0x2c9)]+_0x14b9b6[_0x5511fc(0x275)];return _0x1993dd===_0x48a7da;}function _0xe1ce88(_0x281226){const _0x3281a9=_0x45fbbe;if(!_0x281226)return _0x281226;if(_0x281226[_0x3281a9(0x27a)](_0x3281a9(0x2aa))||_0x281226[_0x3281a9(0x27a)]('https://'))return _0x281226;const _0x433fce=_0x281226[_0x3281a9(0x1d9)](/^\.\//,'');if(_0x433fce[_0x3281a9(0x27a)]('/'))return _0x433fce;return'/'+_0x433fce;}function _0x4d195e(_0x42354f){const _0x1b49ec=_0x45fbbe;_0x42354f[_0x1b49ec(0x2b1)](_0x1b49ec(0x1ff)),_0x42354f[_0x1b49ec(0x2b1)](_0x1b49ec(0x20d));}function _0x5da0f2(_0x59b38c){const _0x3c79f4=_0x45fbbe,_0x5392fa=[_0x3c79f4(0x2bc),_0x3c79f4(0x1b4),_0x3c79f4(0x203),_0x3c79f4(0x1ed),_0x3c79f4(0x240),_0x3c79f4(0x2c2),_0x3c79f4(0x260),_0x3c79f4(0x28b),_0x3c79f4(0x1b9)],_0x13009b=_0x515b75(_0x59b38c);return _0x13009b&&_0x5392fa[_0x3c79f4(0x2cc)](_0x13009b),_0x5392fa[_0x3c79f4(0x1b6)](';\x20');}function _0x5c2af3(_0x244b19){const _0x507f3b=_0x45fbbe;_0x244b19[_0x507f3b(0x2b1)](_0x507f3b(0x1ff)),_0x244b19[_0x507f3b(0x2b1)]('set-cookie2');}function _0x515b75(_0xeffeba){const _0x433390=_0x45fbbe;if(!_0xeffeba)return null;const _0x1bd1cf=_0xeffeba['match'](/frame-ancestors\s+([^;]+)/i);if(!_0x1bd1cf)return null;return _0x433390(0x1b7)+_0x1bd1cf[0x1][_0x433390(0x1e6)]();}function _0x4f269a(_0x276f46,_0x10f933){const _0x51e4c5=_0x45fbbe;if(/<head[^>]*>/i[_0x51e4c5(0x2c1)](_0x276f46)){const _0x2470e4=_0x276f46[_0x51e4c5(0x26f)](/<head[^>]*>/i);if(_0x2470e4){const _0x1f9bec=_0x2470e4[0x0];return _0x276f46[_0x51e4c5(0x1d9)](_0x1f9bec,_0x1f9bec+'\x0a'+_0x10f933);}}if(/<\/head>/i[_0x51e4c5(0x2c1)](_0x276f46))return _0x276f46[_0x51e4c5(0x1d9)](/<\/head>/i,_0x10f933+_0x51e4c5(0x228));if(/<body\b[^>]*>/i[_0x51e4c5(0x2c1)](_0x276f46))return _0x276f46[_0x51e4c5(0x1d9)](/<body\b[^>]*>/i,_0x51e4c5(0x200)+_0x10f933);if(/<\/body>/i[_0x51e4c5(0x2c1)](_0x276f46))return _0x276f46['replace'](/<\/body>/i,_0x10f933+_0x51e4c5(0x22c));return _0x10f933+'\x0a'+_0x276f46;}var _0x38f90e=['vite-hmr'],_0x56d045=[_0x45fbbe(0x1e2),_0x45fbbe(0x1c1),_0x45fbbe(0x2ac),_0x45fbbe(0x2e7),_0x45fbbe(0x1e3),_0x45fbbe(0x2ce),_0x45fbbe(0x276),_0x45fbbe(0x2d0),_0x45fbbe(0x1c4),_0x45fbbe(0x2a1),_0x45fbbe(0x1ca),'/parcel-hmr','/__parcel_hmr',_0x45fbbe(0x1f9),'/snowpack/hmr'];function _0x306dde(_0x3db04a,_0x40dfd1){const _0x567f27=_0x5bcf29(_0x3db04a);if(!_0x567f27)return _0x40dfd1;return _0x4f269a(_0x40dfd1,_0x567f27);}function _0x5bcf29(_0x59433d){const _0x36c644=_0x45fbbe;if(!_0x59433d[_0x36c644(0x2b9)])return null;const _0x2ae633=_0x59433d[_0x36c644(0x2b9)]['toString'](),_0x2166e4=_0xabbc8b(_0x38f90e),_0x2fb0ef=_0xabbc8b(_0x56d045),_0x3fab5c=[_0x36c644(0x259),_0x36c644(0x1fb),'\x20\x20try\x20{','\x20\x20\x20\x20var\x20enhancementBase\x20=\x20new\x20URL('+JSON[_0x36c644(0x24e)](_0x2ae633)+');',_0x36c644(0x2cf),_0x36c644(0x1cd),_0x36c644(0x1dd),_0x36c644(0x27c),_0x36c644(0x2c4)+JSON['stringify'](_0x2166e4)+');',_0x36c644(0x268)+JSON[_0x36c644(0x24e)](_0x2fb0ef)+';',_0x36c644(0x2b0),_0x36c644(0x227),_0x36c644(0x2a8),_0x36c644(0x209),'\x20\x20\x20\x20};',_0x36c644(0x1d5),_0x36c644(0x213),_0x36c644(0x1ce),_0x36c644(0x2b3),'\x20\x20\x20\x20\x20\x20var\x20isAppHost\x20=\x20url.host\x20===\x20window.location.host;','\x20\x20\x20\x20\x20\x20',_0x36c644(0x25e),_0x36c644(0x284),_0x36c644(0x214),_0x36c644(0x242),_0x36c644(0x1f8),_0x36c644(0x2bd),_0x36c644(0x25c),_0x36c644(0x253),_0x36c644(0x29e),_0x36c644(0x241),_0x36c644(0x215),_0x36c644(0x1e0),_0x36c644(0x2bd),_0x36c644(0x24c),'\x20\x20\x20\x20\x20\x20for\x20(var\x20j\x20=\x200;\x20j\x20<\x20knownPathHints.length;\x20j++)\x20{','\x20\x20\x20\x20\x20\x20\x20\x20if\x20(loweredPath.indexOf(knownPathHints[j])\x20!==\x20-1)\x20{',_0x36c644(0x215),_0x36c644(0x1e0),_0x36c644(0x2bd),'\x20\x20\x20\x20\x20\x20return\x20false;',_0x36c644(0x288),_0x36c644(0x286),_0x36c644(0x211),'\x20\x20\x20\x20\x20\x20var\x20proxied\x20=\x20new\x20URL(enhancementBase);',_0x36c644(0x264),'\x20\x20\x20\x20\x20\x20proxied.hash\x20=\x20\x22\x22;',_0x36c644(0x293),_0x36c644(0x288),'\x20\x20\x20\x20var\x20EnhancedWebSocket\x20=\x20function(url,\x20protocols)\x20{',_0x36c644(0x22e),_0x36c644(0x26e),_0x36c644(0x266),'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20rewritten\x20=\x20buildProxiedUrl(resolved);',_0x36c644(0x1d0),_0x36c644(0x1e0),_0x36c644(0x244),_0x36c644(0x1c8),'\x20\x20\x20\x20\x20\x20}',_0x36c644(0x1ba),_0x36c644(0x288),'\x20\x20\x20\x20Object.assign(EnhancedWebSocket,\x20originalWebSocket);',_0x36c644(0x20b),_0x36c644(0x2be),_0x36c644(0x2c3),'\x20\x20\x20\x20\x20\x20Object.defineProperty(EnhancedWebSocket.prototype,\x20\x22constructor\x22,\x20{\x20value:\x20EnhancedWebSocket\x20});','\x20\x20\x20\x20}\x20catch\x20(error)\x20{','\x20\x20\x20\x20\x20\x20//\x20ignore\x20if\x20unable\x20to\x20redefine',_0x36c644(0x27c),_0x36c644(0x262),_0x36c644(0x24d),'\x20\x20}\x20catch\x20(error)\x20{',_0x36c644(0x1e9),'\x20\x20}',_0x36c644(0x274),'</script>'];return _0x3fab5c[_0x36c644(0x1b6)]('\x0a');}function _0xabbc8b(_0x57918b){const _0x1646df=_0x45fbbe,_0x428725=new Set(),_0x3ecca4=[];for(const _0x2de683 of _0x57918b){const _0x5c65d4=_0x2de683[_0x1646df(0x1cb)]();if(_0x428725[_0x1646df(0x1f0)](_0x5c65d4))continue;_0x428725[_0x1646df(0x2d5)](_0x5c65d4),_0x3ecca4[_0x1646df(0x2cc)](_0x5c65d4);}return _0x3ecca4;}var _0x258491=_0x45fbbe(0x229);function _0x32f07e(_0x3320ce,_0x54ea8f){const _0x526fa6=_0x45fbbe;console['log'](_0x258491+_0x526fa6(0x2b7)),console['log'](_0x258491+_0x526fa6(0x1be)+_0x3320ce[_0x526fa6(0x2a9)]),console['log'](_0x258491+'\x20\x20\x20overlayPath:\x20'+_0x3320ce[_0x526fa6(0x21f)]);if(_0x54ea8f['includes']('data-enhance-runtime-bootstrap'))return console[_0x526fa6(0x1c3)](_0x258491+_0x526fa6(0x217)),_0x54ea8f;const _0x39fe17=_0x3563ea(_0x3320ce);if(!_0x39fe17)return console[_0x526fa6(0x1c3)](_0x258491+_0x526fa6(0x2ab)),_0x54ea8f;console[_0x526fa6(0x1c3)](_0x258491+'\x20\x20\x20No\x20existing\x20bootstrap\x20-\x20injecting\x20new\x20one\x20('+_0x39fe17['length']+_0x526fa6(0x2e5));const _0x417ace=_0x4f269a(_0x54ea8f,_0x39fe17);return console[_0x526fa6(0x1c3)](_0x258491+_0x526fa6(0x29d)),_0x417ace;}function _0x3563ea(_0xf8634f){const _0x22cacd=_0x45fbbe,_0x55b670=_0xf8634f[_0x22cacd(0x2a9)];if(!_0x55b670)return console['log'](_0x258491+_0x22cacd(0x2d2)),null;const _0x5e0ef0=_0x3c897b(_0xf8634f);console[_0x22cacd(0x1c3)](_0x258491+'\x20Bootstrap\x20options:',JSON['stringify'](_0x5e0ef0,null,0x2));const _0x2e0a85=_0x145ddc(_0x5e0ef0),_0x403548=JSON[_0x22cacd(0x24e)](_0x55b670),_0xb71f28=[_0x22cacd(0x2b8),'(async\x20()\x20=>\x20{',_0x22cacd(0x296),'\x20\x20\x20\x20const\x20runtimePath\x20=\x20'+_0x403548+';',_0x22cacd(0x26a),'\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Runtime\x20path:\x22,\x20runtimePath);',_0x22cacd(0x2d3),_0x22cacd(0x1fd),_0x22cacd(0x235),'\x20\x20\x20\x20const\x20Enhance\x20=\x20runtimeModule?.Enhance\x20??\x20runtimeModule?.default?.Enhance\x20??\x20runtimeModule?.default;','\x20\x20\x20\x20if\x20(!Enhance\x20||\x20typeof\x20Enhance.init\x20!==\x20\x22function\x22)\x20{',_0x22cacd(0x272),_0x22cacd(0x1dd),'\x20\x20\x20\x20}',_0x22cacd(0x2e6)+_0x2e0a85+_0x22cacd(0x26b),'\x20\x20\x20\x20const\x20controller\x20=\x20Enhance.init('+_0x2e0a85+');',_0x22cacd(0x282),_0x22cacd(0x238),_0x22cacd(0x2d1),_0x22cacd(0x210),'\x20\x20\x20\x20\x20\x20//\x20Mark\x20as\x20initialized\x20globally\x20so\x20other\x20module\x20instances\x20(e.g.\x20enhanced\x20app\x27s\x20bundled\x20copy)\x20skip\x20re-init',_0x22cacd(0x208),_0x22cacd(0x1da),_0x22cacd(0x28a),'\x20\x20\x20\x20}',_0x22cacd(0x1e8),_0x22cacd(0x21b),_0x22cacd(0x2de),_0x22cacd(0x29c),_0x22cacd(0x274),_0x22cacd(0x2a5)];return _0xb71f28['join']('\x0a');}function _0x3c897b(_0x4df736){const _0x1d7606=_0x45fbbe,_0x460d68={'publishableKey':_0x4df736[_0x1d7606(0x246)],'callbackBypass':_0x4df736[_0x1d7606(0x2ca)],'__development':{'enableOverlayHmr':_0x4df736[_0x1d7606(0x1d4)],'overlayPath':_0x4df736[_0x1d7606(0x21f)],'security':_0x4df736[_0x1d7606(0x1dc)],'backendUrl':_0x4df736[_0x1d7606(0x207)]}};return _0x460d68;}function _0x145ddc(_0x36fa49){const _0x47523d=_0x45fbbe;return JSON[_0x47523d(0x24e)](_0x36fa49)['replace'](/</g,'\x5cu003c')[_0x47523d(0x1d9)](/>/g,_0x47523d(0x249));}function _0x5734b6(_0x3b0028,_0x374797){const _0x27c322=_0x45fbbe,_0x59cd58=_0x333f65=>_0x15d318(_0x3b0028,_0x333f65),_0x137270=_0x15a28e=>_0x398475(_0x3b0028,_0x15a28e);return _0x374797[_0x27c322(0x1d9)](/<script\b[^>]*>/gi,_0x59cd58)[_0x27c322(0x1d9)](/<link\b[^>]*>/gi,_0x137270);}function _0x5b32bb(_0xe1961b){return _0xe1961b['replace'](/\s+integrity\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi,'');}function _0x15d318(_0x3ba4f8,_0x4de784){const _0x53b458=_0x45fbbe,_0x3e702a=_0x3f5049(_0x4de784,_0x53b458(0x1c0));if(!_0x3e702a)return _0x4de784;const _0x3b4e46=_0x1aafc6(_0x3ba4f8,_0x3e702a['value']);if(!_0x3b4e46||_0x3b4e46===_0x3e702a['value'])return _0x4de784;const _0x406e7d=_0x3e702a['full'][_0x53b458(0x1d9)](_0x3e702a[_0x53b458(0x220)],_0x3b4e46);return _0x4de784['replace'](_0x3e702a[_0x53b458(0x248)],_0x406e7d);}function _0x398475(_0x132d2c,_0x3f2283){const _0x47a011=_0x45fbbe,_0xa25489=_0x3f2283[_0x47a011(0x26f)](/\brel\s*=\s*(['"])([^"']+)\1/i);if(!_0xa25489)return _0x3f2283;const _0x557225=_0xa25489[0x2][_0x47a011(0x1cb)]();if(_0x557225!==_0x47a011(0x1d6)&&_0x557225!==_0x47a011(0x239))return _0x3f2283;const _0x45657b=_0x3f5049(_0x3f2283,_0x47a011(0x289));if(!_0x45657b)return _0x3f2283;const _0xa939e4=_0x1aafc6(_0x132d2c,_0x45657b['value']);if(!_0xa939e4||_0xa939e4===_0x45657b[_0x47a011(0x220)])return _0x3f2283;const _0x529c14=_0x45657b[_0x47a011(0x248)][_0x47a011(0x1d9)](_0x45657b['value'],_0xa939e4);return _0x3f2283['replace'](_0x45657b[_0x47a011(0x248)],_0x529c14);}function _0x3f5049(_0x36bd3c,_0x3bda77){const _0xaea6c2=_0x45fbbe,_0x1850c4=new RegExp(_0x3bda77+_0xaea6c2(0x1f2),'i'),_0xbe78df=_0x36bd3c[_0xaea6c2(0x26f)](_0x1850c4);if(!_0xbe78df)return null;return{'full':_0xbe78df[0x0],'value':_0xbe78df[0x2]};}function _0x1aafc6(_0xdacf54,_0x3bfa06){const _0x1f3741=_0x45fbbe,_0x48e1b7=_0x44abdd(_0x3bfa06);if(!_0x48e1b7)return null;if(_0x48e1b7['origin']===self['location'][_0x1f3741(0x20f)])return''+_0x48e1b7[_0x1f3741(0x2c9)]+_0x48e1b7['search'];return null;}function _0x44abdd(_0x2134ee){try{return new URL(_0x2134ee,self['location']['origin']);}catch{return null;}}var _0x1de277=_0x45fbbe(0x24a);async function _0xf60584(_0x1fd338,_0x37f22c,_0x3d6337,_0x5dfdfd=!![]){const _0x10de97=_0x45fbbe;console[_0x10de97(0x1c3)](_0x1de277+_0x10de97(0x1f5)),console[_0x10de97(0x1c3)](_0x1de277+_0x10de97(0x2e8)+_0x3d6337),console['log'](_0x1de277+_0x10de97(0x22f)+_0x5dfdfd),console[_0x10de97(0x1c3)](_0x1de277+'\x20\x20\x20securityMode:\x20'+_0x1fd338[_0x10de97(0x1dc)]);const _0xda9d0e=_0x37f22c[_0x10de97(0x212)](),_0x9a0a8f=await _0xda9d0e['text']();console[_0x10de97(0x1c3)](_0x1de277+_0x10de97(0x1c6)+_0x9a0a8f['length']+_0x10de97(0x1d2)),console[_0x10de97(0x1c3)](_0x1de277+'\x20\x20\x20Stripping\x20SRI\x20attributes...');const _0x463790=_0x5b32bb(_0x9a0a8f);console[_0x10de97(0x1c3)](_0x1de277+_0x10de97(0x29a));let _0x1da5ac=_0x5734b6(_0x1fd338,_0x463790);_0x3d6337===_0x10de97(0x1f7)?(console['log'](_0x1de277+'\x20\x20\x20Injecting\x20HMR\x20bridge\x20(enhancement\x20source)...'),_0x1da5ac=_0x306dde(_0x1fd338,_0x1da5ac)):console[_0x10de97(0x1c3)](_0x1de277+_0x10de97(0x1ef));_0x5dfdfd?(console[_0x10de97(0x1c3)](_0x1de277+'\x20\x20\x20Injecting\x20runtime\x20bootstrap...'),_0x1da5ac=_0x32f07e(_0x1fd338,_0x1da5ac)):console[_0x10de97(0x1c3)](_0x1de277+'\x20\x20\x20Skipping\x20runtime\x20bootstrap\x20injection');console['log'](_0x1de277+_0x10de97(0x2ea)+_0x1da5ac['length']+_0x10de97(0x1d2));const _0x5c29f2=new Headers(_0xda9d0e[_0x10de97(0x2dd)]);_0x5c29f2[_0x10de97(0x23b)](_0x10de97(0x2a6),'no-store'),_0x5c29f2['set']('x-enhance-document',_0x10de97(0x1bc)),_0x5c29f2[_0x10de97(0x23b)](_0x10de97(0x2ba),_0x3d6337),_0x5c2af3(_0x5c29f2);if(_0x1fd338['securityMode']!==_0x10de97(0x1cf)){console['log'](_0x1de277+_0x10de97(0x258));const _0x2c9b3e=_0x5c29f2['get'](_0x10de97(0x27f));_0x5c29f2[_0x10de97(0x23b)](_0x10de97(0x27f),_0x5da0f2(_0x2c9b3e)),_0x5c29f2[_0x10de97(0x2b1)](_0x10de97(0x1f1)),_0x5c29f2[_0x10de97(0x2b1)](_0x10de97(0x22d)),_0x5c29f2[_0x10de97(0x2b1)]('cross-origin-resource-policy');}else console['log'](_0x1de277+_0x10de97(0x2a4));return console[_0x10de97(0x1c3)](_0x1de277+'\x20\x20\x20Document\x20rewrite\x20complete'),new Response(_0x1da5ac,{'status':_0xda9d0e['status'],'statusText':_0xda9d0e[_0x10de97(0x270)],'headers':_0x5c29f2});}var _0x5ee695=_0x45fbbe(0x21a);console[_0x45fbbe(0x1c3)](_0x5ee695+_0x45fbbe(0x263)+new Date()[_0x45fbbe(0x1e4)]());var _0x547ba0={'overlayPath':_0x45fbbe(0x243),'backendUrl':_0x45fbbe(0x2b6),'overlayEnableViteHmr':![],'runtimeScriptPath':'/assets/enhance-runtime.js','swPath':_0x45fbbe(0x2a7)};console['log'](_0x5ee695+_0x45fbbe(0x2e2),JSON[_0x45fbbe(0x24e)](_0x547ba0,null,0x2));var _0x162d41={'publishableKey':'','callbackBypass':[_0x45fbbe(0x247)],'securityMode':_0x45fbbe(0x2bf)},_0x36c666=_0x45fbbe(0x204),_0x4d337c=new Map(),_0x403342=null,_0x201755=null,_0x2ac62a=null;function _0x3d6718(){const _0x26fc0a=_0x45fbbe,_0x4f2760=_0x201755||'',_0x25d2a6=_0x2ac62a;return{..._0x547ba0,..._0x162d41,'enhancementUrl':_0x4f2760,'enhancementBase':_0x25d2a6,'callbackBypassNormalized':_0x162d41[_0x26fc0a(0x2ca)]['map'](_0x3bc81a=>_0x3bc81a['startsWith']('/')?_0x3bc81a:'/'+_0x3bc81a)};}async function _0x414191(_0x5de350,_0x29a9d4){const _0x15b722=_0x45fbbe,_0x5a729d=_0x5de350[_0x15b722(0x1ee)][_0x15b722(0x236)](_0x15b722(0x1f7));if(_0x29a9d4&&_0x5a729d){console[_0x15b722(0x1c3)](_0x5ee695+_0x15b722(0x27e)+_0x5a729d);const _0x24edfa=await _0x5081de(_0x5a729d);if(_0x24edfa){_0x403342=_0x5a729d,_0x201755=_0x24edfa;try{_0x2ac62a=new URL(_0x24edfa);}catch{console[_0x15b722(0x273)](_0x5ee695+_0x15b722(0x20a)+_0x24edfa),_0x2ac62a=null;}}else _0x403342=null,_0x201755=null,_0x2ac62a=null;}return _0x29a9d4&&!_0x5a729d&&(_0x403342&&console[_0x15b722(0x1c3)](_0x5ee695+_0x15b722(0x261)),_0x403342=null,_0x201755=null,_0x2ac62a=null),_0x3d6718();}function _0x377f8a(_0x111282,_0x36fda6,..._0x17d6f3){const _0x29049d=_0x45fbbe;_0x111282==='info'?console[_0x29049d(0x290)](_0x5ee695,_0x36fda6,..._0x17d6f3):console['debug'](_0x5ee695,_0x36fda6,..._0x17d6f3);}async function _0x5081de(_0x232c82){const _0x13e93a=_0x45fbbe,_0x4f574b=_0x4d337c[_0x13e93a(0x236)](_0x232c82);if(_0x4f574b)return console[_0x13e93a(0x1c3)](_0x5ee695+'\x20Enhancement\x20'+_0x232c82+_0x13e93a(0x277)+_0x4f574b),_0x4f574b;if(!_0x162d41[_0x13e93a(0x246)])return console[_0x13e93a(0x273)](_0x5ee695+'\x20Cannot\x20resolve\x20enhancement\x20-\x20no\x20publishable\x20key\x20configured'),null;const _0x552a2c=_0x547ba0[_0x13e93a(0x207)]+'/public/enhancements/'+_0x232c82+_0x13e93a(0x1bb);console[_0x13e93a(0x1c3)](_0x5ee695+'\x20Resolving\x20enhancement\x20'+_0x232c82+'\x20via\x20'+_0x552a2c);try{const _0x4d3a23=await fetch(_0x552a2c,{'headers':{[_0x36c666]:_0x162d41[_0x13e93a(0x246)]}});if(!_0x4d3a23['ok']){let _0xfcf6ee=await _0x4d3a23[_0x13e93a(0x287)]();try{const _0xa984b0=JSON[_0x13e93a(0x2e9)](_0xfcf6ee);_0xa984b0[_0x13e93a(0x273)]&&(_0xfcf6ee=_0xa984b0[_0x13e93a(0x273)]);}catch{}return _0x4d3a23[_0x13e93a(0x2d7)]===0x193?console['error'](_0x5ee695+_0x13e93a(0x28d)+_0xfcf6ee):console[_0x13e93a(0x273)](_0x5ee695+_0x13e93a(0x271)+_0x232c82+':\x20'+_0x4d3a23[_0x13e93a(0x2d7)]+'\x20'+_0xfcf6ee),null;}const _0x1b1aec=await _0x4d3a23[_0x13e93a(0x1b8)](),_0x5bd1f6=''+_0x547ba0[_0x13e93a(0x207)]+_0x1b1aec[_0x13e93a(0x2df)];return console[_0x13e93a(0x1c3)](_0x5ee695+_0x13e93a(0x1fc)+_0x232c82+_0x13e93a(0x279)+_0x5bd1f6),_0x4d337c[_0x13e93a(0x23b)](_0x232c82,_0x5bd1f6),_0x5bd1f6;}catch(_0x1995fd){return console[_0x13e93a(0x273)](_0x5ee695+_0x13e93a(0x297)+_0x232c82+':',_0x1995fd),null;}}self[_0x45fbbe(0x216)](_0x45fbbe(0x2c7),_0x43eec4=>{const _0x24767e=_0x45fbbe;console[_0x24767e(0x1c3)](_0x5ee695+_0x24767e(0x1bf)),_0x43eec4['waitUntil'](((async()=>{const _0x52e3b3=_0x24767e;console[_0x52e3b3(0x1c3)](_0x5ee695+_0x52e3b3(0x278)),await self[_0x52e3b3(0x222)](),console[_0x52e3b3(0x1c3)](_0x5ee695+'\x20skipWaiting()\x20complete');})()));}),self['addEventListener']('activate',_0x7bfdd5=>{console['log'](_0x5ee695+'\x20ACTIVATE\x20event'),_0x7bfdd5['waitUntil'](((async()=>{const _0x5e8924=_0x20fb;console[_0x5e8924(0x1c3)](_0x5ee695+_0x5e8924(0x2a0)),await self['clients'][_0x5e8924(0x25b)](),console['log'](_0x5ee695+_0x5e8924(0x223));})()));}),self[_0x45fbbe(0x216)](_0x45fbbe(0x1b5),_0x339f4e=>{const _0x28cf0e=_0x45fbbe,_0x2ca389=_0x339f4e[_0x28cf0e(0x2cb)];console[_0x28cf0e(0x1c3)](_0x5ee695+_0x28cf0e(0x2a2),_0x2ca389);if(!_0x2ca389||typeof _0x2ca389!==_0x28cf0e(0x28e)){console[_0x28cf0e(0x1c3)](_0x5ee695+_0x28cf0e(0x1c9));return;}switch(_0x2ca389['type']){case _0x43b6a6:{console['log'](_0x5ee695+_0x28cf0e(0x28f));const _0x2ae1d3=_0x2ca389[_0x28cf0e(0x205)];_0x162d41={'publishableKey':_0x2ae1d3[_0x28cf0e(0x246)]??'','callbackBypass':_0x2ae1d3[_0x28cf0e(0x2ca)]??['/auth/callback'],'securityMode':_0x2ae1d3[_0x28cf0e(0x1dc)]??_0x28cf0e(0x2bf)},console[_0x28cf0e(0x1c3)](_0x5ee695+_0x28cf0e(0x21c),JSON[_0x28cf0e(0x24e)](_0x162d41,null,0x2));break;}case _0x269505:console[_0x28cf0e(0x1c3)](_0x5ee695+'\x20DISABLE\x20message\x20-\x20resetting\x20customer\x20config'),_0x162d41={'publishableKey':'','callbackBypass':[_0x28cf0e(0x247)],'securityMode':_0x28cf0e(0x2bf)},_0x403342=null,_0x201755=null,_0x2ac62a=null,_0x4d337c[_0x28cf0e(0x2a3)](),console['log'](_0x5ee695+_0x28cf0e(0x256));break;default:console[_0x28cf0e(0x1c3)](_0x5ee695+_0x28cf0e(0x23e)+_0x2ca389[_0x28cf0e(0x252)]);break;}}),self[_0x45fbbe(0x216)](_0x45fbbe(0x251),_0x17acb8=>{const _0x3b6ebb=_0x45fbbe;_0x17acb8[_0x3b6ebb(0x1c5)](_0x108517(_0x17acb8));});async function _0x108517(_0x447603){const _0x3cab80=_0x45fbbe,{request:_0x341ea2}=_0x447603,_0x1c9f10=new URL(_0x341ea2[_0x3cab80(0x23a)]),_0x27693e=_0x341ea2[_0x3cab80(0x2e0)]===_0x3cab80(0x1bd),_0x4d45b9=_0x27693e||_0x1c9f10[_0x3cab80(0x20f)]===self[_0x3cab80(0x2da)][_0x3cab80(0x20f)];_0x4d45b9&&(console[_0x3cab80(0x1c3)](_0x5ee695+'\x20FETCH:\x20'+_0x341ea2[_0x3cab80(0x2c8)]+'\x20'+_0x1c9f10[_0x3cab80(0x2c9)]+_0x1c9f10[_0x3cab80(0x275)]),console['log'](_0x5ee695+_0x3cab80(0x2b5)+_0x341ea2[_0x3cab80(0x2e0)]+_0x3cab80(0x2ad)+_0x341ea2[_0x3cab80(0x233)]));if(!_0xc689d0(_0x341ea2))return _0x4d45b9&&console[_0x3cab80(0x1c3)](_0x5ee695+_0x3cab80(0x20e)),fetch(_0x341ea2);const _0x30c5d3=_0x27693e?await _0x414191(_0x1c9f10,_0x27693e):_0x3d6718();_0x4d45b9&&console[_0x3cab80(0x1c3)](_0x5ee695+_0x3cab80(0x1f3)+(_0x30c5d3[_0x3cab80(0x245)]||_0x3cab80(0x257)));if(_0x4afc8c(_0x30c5d3,_0x1c9f10[_0x3cab80(0x2c9)]))return _0x4d45b9&&console[_0x3cab80(0x1c3)](_0x5ee695+'\x20\x20\x20BYPASS:\x20'+_0x1c9f10['pathname']+_0x3cab80(0x269)),fetch(_0x341ea2);if(_0x27693e)return console[_0x3cab80(0x1c3)](_0x5ee695+_0x3cab80(0x25f)),_0x21eb90(_0x341ea2,_0x30c5d3);if(!_0x470591(_0x30c5d3,_0x341ea2,_0x1c9f10))return _0x4d45b9&&console[_0x3cab80(0x1c3)](_0x5ee695+_0x3cab80(0x283)),fetch(_0x341ea2);console['log'](_0x5ee695+_0x3cab80(0x25d)+_0x1c9f10['pathname']);const _0x336d44=await _0x43892f(_0x30c5d3,_0x341ea2,_0x1c9f10);if(_0x336d44)return console[_0x3cab80(0x1c3)](_0x5ee695+_0x3cab80(0x2c0)+_0x1c9f10[_0x3cab80(0x2c9)]),_0x336d44;return console[_0x3cab80(0x1c3)](_0x5ee695+_0x3cab80(0x23f)+_0x1c9f10[_0x3cab80(0x2c9)]+_0x3cab80(0x1f4)),fetch(_0x341ea2);}async function _0x21eb90(_0x3dc47a,_0x32dcca){const _0x1f9d1d=_0x45fbbe,_0x28b635=new URL(_0x3dc47a[_0x1f9d1d(0x23a)]);console['log'](_0x5ee695+_0x1f9d1d(0x250)+_0x28b635[_0x1f9d1d(0x2c9)]+_0x28b635['search']),console[_0x1f9d1d(0x1c3)](_0x5ee695+'\x20\x20\x20enhancementUrl\x20in\x20config:\x20'+(_0x32dcca[_0x1f9d1d(0x245)]||_0x1f9d1d(0x257))),console[_0x1f9d1d(0x1c3)](_0x5ee695+_0x1f9d1d(0x22a));const _0x30f2ef=await fetch(_0x3dc47a);console[_0x1f9d1d(0x1c3)](_0x5ee695+_0x1f9d1d(0x2d6)+_0x30f2ef['status']+'\x20'+_0x30f2ef[_0x1f9d1d(0x270)]),console[_0x1f9d1d(0x1c3)](_0x5ee695+'\x20\x20\x20Content-Type:\x20'+_0x30f2ef[_0x1f9d1d(0x2dd)][_0x1f9d1d(0x236)]('content-type'));if(!_0x31240a(_0x30f2ef))return console[_0x1f9d1d(0x1c3)](_0x5ee695+_0x1f9d1d(0x1db)),_0x30f2ef;console[_0x1f9d1d(0x1c3)](_0x5ee695+_0x1f9d1d(0x22b));const _0x50fe34=_0x52e29e(_0x30f2ef,_0x1f9d1d(0x295));console[_0x1f9d1d(0x1c3)](_0x5ee695+_0x1f9d1d(0x2d4));const _0xe4f06f=await _0x3d0a70(_0x32dcca,_0x3dc47a),_0x595856=_0xe4f06f?_0x1f9d1d(0x1f7):_0x1f9d1d(0x2cd);console['log'](_0x5ee695+'\x20\x20\x20Document\x20source:\x20'+_0x595856);const _0x5e860a=_0xe4f06f??_0x50fe34,_0x830087=_0x595856==='enhancement'||_0x28b635['searchParams']['has'](_0x1f9d1d(0x29b))||_0x28b635[_0x1f9d1d(0x1ee)]['has'](_0x1f9d1d(0x1f7));console[_0x1f9d1d(0x1c3)](_0x5ee695+_0x1f9d1d(0x22f)+_0x830087);try{console[_0x1f9d1d(0x1c3)](_0x5ee695+'\x20\x20\x20Rewriting\x20document...');const _0x3fd189=await _0xf60584(_0x32dcca,_0x5e860a,_0x595856,_0x830087);return console[_0x1f9d1d(0x1c3)](_0x5ee695+_0x1f9d1d(0x20c)),_0x3fd189;}catch(_0x2baff0){return console['error'](_0x5ee695+_0x1f9d1d(0x291),_0x2baff0),_0x377f8a(_0x1f9d1d(0x290),_0x1f9d1d(0x232),_0x2baff0),_0x5e860a;}}return _0x3f0b1e(_0x1c12b1);})());function _0x15df(){const _0x4e08c0=['\x20\x20\x20\x20}','306sLwrdJ','\x20Enhancement\x20ID\x20from\x20navigation:\x20','content-security-policy','\x20\x20\x20Fetch\x20error:','71997LkZMMO','\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Enhance\x20controller\x20created:\x22,\x20controller);','\x20\x20\x20Not\x20routing\x20asset\x20(not\x20routable\x20or\x20not\x20same-origin)','\x20\x20\x20\x20\x20\x20','585198HRrxao','\x20\x20\x20\x20var\x20buildProxiedUrl\x20=\x20function(targetUrl)\x20{','text','\x20\x20\x20\x20};','href','\x20\x20\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Set\x20window.__enhanceInitialized\x20=\x20true\x22);','worker-src\x20\x27self\x27\x20blob:','\x20is\x20overlay\x20asset\x20-\x20not\x20routing','\x20❌\x20Publishable\x20key\x20validation\x20failed:\x20','object','\x20CONFIG\x20message\x20-\x20updating\x20customer\x20config','info','\x20\x20\x20Failed\x20to\x20rewrite\x20document:','\x20\x20\x20SUCCESS\x20-\x20returning\x20enhancement\x20document','\x20\x20\x20\x20\x20\x20return\x20proxied;','debug','GET','\x20\x20try\x20{','\x20Error\x20resolving\x20enhancement\x20','enhance:configure','access-control-allow-credentials','\x20\x20\x20Rewriting\x20entry\x20references...','overlay','\x20\x20}','\x20\x20\x20Script\x20inserted\x20into\x20document','\x20\x20\x20\x20\x20\x20\x20\x20var\x20proto\x20=\x20protoList[i];','Enhancement\x20CORS\x20blocked','\x20Calling\x20clients.claim()...','/__webpack_hmr','\x20MESSAGE\x20received:','clear','\x20\x20\x20Custom\x20security\x20mode\x20-\x20preserving\x20original\x20CSP','</script>','cache-control','/sw-enhance.js','\x20\x20\x20\x20\x20\x20if\x20(!value)\x20return\x20[];','runtimeScriptPath','http://','\x20\x20\x20No\x20script\x20generated\x20(missing\x20runtimePath)\x20-\x20returning\x20html\x20unchanged','/vite/client',',\x20destination:\x20','toString','\x20is\x20runtime\x20asset\x20-\x20not\x20routing','\x20\x20\x20\x20var\x20basePrefix\x20=\x20\x22/__sbx__\x22;','delete','\x20\x20\x20SUCCESS\x20-\x20returning\x20enhanced\x20response','\x20\x20\x20\x20\x20\x20var\x20isExternalHost\x20=\x20externalHosts.includes(url.host);','Enhancement\x20fetch\x20failed','\x20\x20\x20mode:\x20','https://api.enhancelabs.ai','\x20injectRuntimeBootstrap()\x20called','<script\x20type=\x22module\x22\x20data-enhance-runtime-bootstrap>','enhancementBase','x-enhance-document-source','opaque','default-src\x20\x27self\x27\x20blob:\x20data:','\x20\x20\x20\x20\x20\x20}','\x20\x20\x20\x20Object.setPrototypeOf(EnhancedWebSocket,\x20originalWebSocket);','permissive','\x20\x20\x20Enhancement\x20HIT\x20for\x20','test','connect-src\x20*','\x20\x20\x20\x20try\x20{','\x20\x20\x20\x20var\x20knownProtocols\x20=\x20new\x20Set(','call','\x20\x20\x20Fetching\x20from\x20enhancement...','install','method','pathname','callbackBypass','data','push','production','/webpack-dev-server','\x20\x20\x20\x20var\x20originalWebSocket\x20=\x20window.WebSocket;','/webpackhotmiddleware','\x20\x20\x20\x20\x20\x20window.enhancePreview\x20=\x20controller;','\x20buildRuntimeBootstrapScript:\x20no\x20runtimePath\x20-\x20returning\x20null','\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Current\x20URL:\x22,\x20window.location.href);','\x20\x20\x20Checking\x20for\x20enhancement\x20document...','add','\x20\x20\x20Production\x20response:\x20','status','\x20\x20\x20Enhancement\x20URL:\x20','https://','location','Cannot\x20build\x20enhancement\x20URL\x20without\x20enhancementBase\x20configured','Enhancement\x20document\x20fetch\x20failed','headers','\x20\x20\x20\x20console.error(\x22[Enhance\x20Bootstrap]\x20Failed\x20to\x20bootstrap\x20runtime:\x22,\x20error);','operatingPath','mode','body','\x20Build\x20config:','14GZrDhr','endsWith','\x20chars)','\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Calling\x20Enhance.init()\x20with\x20options:\x22,\x20JSON.stringify(','/__vite_ping','\x20\x20\x20source:\x20','parse','\x20\x20\x20Rewritten\x20HTML\x20length:\x20','content-type','?import','script-src\x20\x27self\x27\x20\x27unsafe-inline\x27\x20\x27unsafe-eval\x27\x20blob:\x20data:\x20https:\x20http:','message','join','frame-ancestors\x20','json','object-src\x20\x27none\x27','\x20\x20\x20\x20\x20\x20return\x20new\x20originalWebSocket(url,\x20protocols);','/resolve','rewritten','navigate','\x20\x20\x20runtimeScriptPath:\x20','\x20INSTALL\x20event','src','/__vite/client','cors','log','/webpack-hot-middleware','respondWith','\x20\x20\x20Original\x20HTML\x20length:\x20','default','\x20\x20\x20\x20\x20\x20\x20\x20console.debug(\x22[Enhance]\x20websocket\x20bridge\x20fallback\x22,\x20error);','\x20Invalid\x20message\x20data\x20-\x20ignoring','/_next/webpack-hmr','toLowerCase','x-enhance-routing','\x20\x20\x20\x20if\x20(!originalWebSocket\x20||\x20originalWebSocket.__enhancePatched)\x20{','\x20\x20\x20\x20\x20\x20var\x20externalHosts\x20=\x20[\x22app.enhance.localhost:4450\x22,\x20\x22localhost:5173\x22];','custom','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20new\x20originalWebSocket(rewritten.toString(),\x20protocols);','callbackBypassNormalized','\x20chars','redirect','overlayEnableViteHmr','\x20\x20\x20\x20var\x20shouldProxy\x20=\x20function(url,\x20protocols)\x20{','stylesheet','\x20fetchEnhancementDocument:\x20','Enhancement\x20document\x20CORS\x20blocked','replace','\x20\x20\x20\x20\x20\x20window.__enhanceController\x20=\x20controller;','\x20\x20\x20Not\x20HTML\x20-\x20returning\x20production\x20response\x20as-is','securityMode','\x20\x20\x20\x20\x20\x20return;','\x20\x20\x20Content-Type:\x20',',\x20type:\x20','\x20\x20\x20\x20\x20\x20\x20\x20}','\x20\x20\x20Response:\x20','/@vite/client','/sockjs-node','toISOString','5491975lUqHQf','trim','\x20\x20\x20Enhancement\x20document\x20URL:\x20','\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Bootstrap\x20complete\x22);','\x20\x20\x20\x20console.debug(\x22[Enhance]\x20websocket\x20bridge\x20unavailable\x22,\x20error);','hasOwnProperty','[Enhance\x20SW\x20Routing]','\x20\x20\x20Not\x20OK\x20(','img-src\x20*\x20data:\x20blob:','searchParams','\x20\x20\x20Skipping\x20HMR\x20bridge\x20(production\x20source)','has','cross-origin-opener-policy','\x5cs*=\x5cs*([\x27\x22])([^\x22\x27]+)\x5c1','\x20\x20\x20enhancementUrl:\x20','\x20-\x20falling\x20back\x20to\x20production','\x20rewriteDocument()\x20called','\x20\x20\x20Not\x20HTML\x20response\x20-\x20returning\x20null','enhancement','\x20\x20\x20\x20\x20\x20\x20\x20return\x20false;','/__snowpack__','script','(function(){','\x20Enhancement\x20','\x20\x20\x20\x20const\x20runtimeModule\x20=\x20await\x20import(runtimePath);','2293907wkqWXr','set-cookie','$&\x0a','\x20\x20\x20No\x20enhancementBase\x20configured\x20-\x20returning\x20null','\x20fetchFromEnhancement:\x20','style-src\x20\x27self\x27\x20\x27unsafe-inline\x27\x20blob:\x20data:\x20https:\x20http:','X-Enhance-Publishable-Key','config','sharedworker','backendUrl','\x20\x20\x20\x20\x20\x20window.__enhanceInitialized\x20=\x20true;','\x20\x20\x20\x20\x20\x20return\x20Array.isArray(value)\x20?\x20value\x20:\x20[value];','\x20Failed\x20to\x20parse\x20operatingUrl:\x20','\x20\x20\x20\x20EnhancedWebSocket.prototype\x20=\x20originalWebSocket.prototype;','\x20\x20\x20Document\x20rewritten\x20successfully','set-cookie2','\x20\x20\x20Not\x20handling\x20(method\x20not\x20GET/HEAD)','origin','\x20\x20\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Controller\x20attached\x20to\x20window.enhancePreview\x22);','\x20\x20\x20\x20\x20\x20//\x20Always\x20use\x20enhancementBase\x20for\x20HMR\x20WebSocket\x20proxying','clone','\x20\x20\x20\x20\x20\x20//\x20Allow\x20proxying\x20for\x20specific\x20external\x20hosts','\x20\x20\x20\x20\x20\x20var\x20pathname\x20=\x20url.pathname\x20||\x20\x22/\x22;','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20true;','addEventListener','\x20\x20\x20Existing\x20bootstrap\x20found\x20-\x20keeping\x20it','prototype','font','[Enhance\x20SW]','\x20\x20}\x20catch\x20(error)\x20{','\x20Customer\x20config\x20updated:','getOwnPropertyDescriptor','\x20\x20\x20No\x20enhancementBase\x20configured\x20-\x20skipping','overlayPath','value','\x20\x20\x20Fetching\x20enhancement\x20document...','skipWaiting','\x20clients.claim()\x20complete','\x20\x20\x20CORS\x20blocked\x20(opaque\x20response)','image','enumerable','\x20\x20\x20\x20var\x20toArray\x20=\x20function(value)\x20{','\x0a</head>','[Enhance\x20SW\x20Bootstrap]','\x20\x20\x20Fetching\x20production\x20response...','\x20\x20\x20HTML\x20response\x20-\x20processing...','\x0a</body>','cross-origin-embedder-policy','\x20\x20\x20\x20\x20\x20try\x20{','\x20\x20\x20shouldInjectOverlay:\x20','162383kIpgiz','hit','Failed\x20to\x20rewrite\x20document','destination','\x20\x20\x20Document\x20fetch\x20error:','\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Runtime\x20module\x20loaded:\x22,\x20Object.keys(runtimeModule));','get','function','\x20\x20\x20\x20if\x20(typeof\x20window\x20!==\x20\x22undefined\x22)\x20{','modulepreload','url','set','64gjyvhN','\x20shouldRouteAsset:\x20','\x20Unknown\x20message\x20type:\x20','\x20\x20\x20Enhancement\x20MISS\x20for\x20','font-src\x20*\x20data:','\x20\x20\x20\x20\x20\x20\x20\x20if\x20(typeof\x20proto\x20===\x20\x22string\x22\x20&&\x20knownProtocols.has(proto.toLowerCase()))\x20{','\x20\x20\x20\x20\x20\x20if\x20(pathname\x20===\x20basePrefix\x20||\x20pathname.indexOf(basePrefix\x20+\x20\x22/\x22)\x20===\x200)\x20{','https://assets.enhancelabs.ai/overlay.js','\x20\x20\x20\x20\x20\x20}\x20catch\x20(error)\x20{','enhancementUrl','publishableKey','/auth/callback','full','\x5cu003e','[Enhance\x20SW\x20Document]','include','\x20\x20\x20\x20\x20\x20var\x20loweredPath\x20=\x20pathname.toLowerCase();','\x20\x20\x20\x20window.WebSocket\x20=\x20EnhancedWebSocket;','stringify','11540081mCAczE','\x20handleNavigationRequest:\x20','fetch','type','\x20\x20\x20\x20\x20\x20for\x20(var\x20i\x20=\x200;\x20i\x20<\x20protoList.length;\x20i++)\x20{','133808idHgUN',')\x20-\x20returning\x20null','\x20Config\x20reset','none','\x20\x20\x20Applying\x20permissive\x20CSP...','<script\x20data-enhance-hmr-bridge>','host','claim','\x20\x20\x20\x20\x20\x20var\x20protoList\x20=\x20toArray(protocols);','\x20\x20\x20Attempting\x20to\x20fetch\x20from\x20enhancement:\x20','\x20\x20\x20\x20\x20\x20if\x20(!isExternalHost\x20&&\x20!isAppHost)\x20return\x20false;','\x20\x20\x20NAVIGATE\x20request\x20-\x20handling\x20navigation','media-src\x20*\x20data:\x20blob:','\x20Clearing\x20cached\x20enhancement\x20(navigation\x20without\x20param)','\x20\x20\x20\x20Object.defineProperty(EnhancedWebSocket,\x20\x22__enhancePatched\x22,\x20{\x20value:\x20true\x20});','\x20Service\x20Worker\x20script\x20loaded\x20at\x20','\x20\x20\x20\x20\x20\x20proxied.search\x20=\x20targetUrl.search;','10GVwryL','\x20\x20\x20\x20\x20\x20\x20\x20if\x20(shouldProxy(resolved,\x20protocols))\x20{','HEAD','\x20\x20\x20\x20var\x20knownPathHints\x20=\x20','\x20matches\x20callbackBypass','\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Starting\x20runtime\x20bootstrap...\x22);',',\x20null,\x202));','x-enhance-enhancement','\x20for\x20','\x20\x20\x20\x20\x20\x20\x20\x20var\x20resolved\x20=\x20url\x20instanceof\x20URL\x20?\x20url\x20:\x20new\x20URL(String(url),\x20window.location.href);','match','statusText','\x20Failed\x20to\x20resolve\x20enhancement\x20','\x20\x20\x20\x20\x20\x20console.error(\x22[Enhance\x20Bootstrap]\x20No\x20Enhance.init\x20export\x20found!\x22);','error','})();','search','/webpack-hmr','\x20resolved\x20from\x20cache:\x20','\x20Calling\x20skipWaiting()...','\x20resolved\x20to:\x20','startsWith','content-length'];_0x15df=function(){return _0x4e08c0;};return _0x15df();}
1
+ 'use strict';(function(_0x3c531f,_0x3c4d14){const _0xba315d=_0x7848,_0x4451c3=_0x3c531f();while(!![]){try{const _0x2f54f5=-parseInt(_0xba315d(0x87))/0x1+-parseInt(_0xba315d(0x8a))/0x2+-parseInt(_0xba315d(0x154))/0x3*(-parseInt(_0xba315d(0xbd))/0x4)+-parseInt(_0xba315d(0x15a))/0x5*(parseInt(_0xba315d(0x6f))/0x6)+parseInt(_0xba315d(0xd7))/0x7*(-parseInt(_0xba315d(0x171))/0x8)+-parseInt(_0xba315d(0xe5))/0x9*(parseInt(_0xba315d(0xe8))/0xa)+parseInt(_0xba315d(0xca))/0xb;if(_0x2f54f5===_0x3c4d14)break;else _0x4451c3['push'](_0x4451c3['shift']());}catch(_0x17c421){_0x4451c3['push'](_0x4451c3['shift']());}}}(_0x1737,0x8f83c));function _0x1737(){const _0x5d0b2e=['[Enhance\x20SW]','\x20\x20\x20\x20try\x20{','\x20\x20\x20\x20\x20\x20var\x20loweredPath\x20=\x20pathname.toLowerCase();','data','enhancementUrl','url','hit','\x20\x20\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Controller\x20attached\x20to\x20window.enhancePreview\x22);','\x20\x20\x20CORS\x20blocked\x20(opaque\x20response)','Enhancement\x20miss\x20','\x20\x20\x20\x20\x20\x20if\x20(!value)\x20return\x20[];','enhance:disable','font','34252gzTDfg','\x20\x20\x20\x20\x20\x20return;','\x20\x20\x20\x20\x20\x20return\x20false;','text','full','\x5cs*=\x5cs*([\x27\x22])([^\x22\x27]+)\x5c1','cache-control','\x20\x20\x20\x20\x20\x20//\x20Always\x20use\x20enhancementBase\x20for\x20HMR\x20WebSocket\x20proxying','\x20\x20\x20\x20const\x20runtimeModule\x20=\x20await\x20import(runtimePath);','content-length','navigate','\x0a</body>','GET','38706217IdRUzP','\x20\x20\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Set\x20window.__enhanceInitialized\x20=\x20true\x22);','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20new\x20originalWebSocket(rewritten.toString(),\x20protocols);','\x20\x20}\x20catch\x20(error)\x20{','\x20\x20\x20\x20\x20\x20\x20\x20console.debug(\x22[Enhance]\x20websocket\x20bridge\x20fallback\x22,\x20error);','\x20\x20\x20Content-Type:\x20','\x20Config\x20updated:','\x20\x20\x20\x20if\x20(typeof\x20window\x20!==\x20\x22undefined\x22)\x20{','\x20\x20\x20\x20\x20\x20\x20\x20if\x20(loweredPath.indexOf(knownPathHints[j])\x20!==\x20-1)\x20{','[set]','\x20\x20\x20\x20\x20\x20console.error(\x22[Enhance\x20Bootstrap]\x20No\x20Enhance.init\x20export\x20found!\x22);','set-cookie','Enhancement\x20fetch\x20failed','623NlDyrM','info','/sw-enhance.js','\x20\x20\x20No\x20script\x20generated\x20(missing\x20runtimePath)\x20-\x20returning\x20html\x20unchanged','worker-src\x20\x27self\x27\x20blob:','\x20\x20try\x20{','trim','img-src\x20*\x20data:\x20blob:','access-control-allow-origin','\x20\x20\x20\x20\x20\x20Object.defineProperty(EnhancedWebSocket.prototype,\x20\x22constructor\x22,\x20{\x20value:\x20EnhancedWebSocket\x20});','overlayPath','\x20\x20\x20Custom\x20security\x20mode\x20-\x20preserving\x20original\x20CSP','script-src\x20\x27self\x27\x20\x27unsafe-inline\x27\x20\x27unsafe-eval\x27\x20blob:\x20data:\x20https:\x20http:','get','47403jzkDsB','media-src\x20*\x20data:\x20blob:','__esModule','970MTGjUA','/webpack-hot-middleware','src','log','\x20\x20\x20\x20if\x20(!originalWebSocket\x20||\x20originalWebSocket.__enhancePatched)\x20{','status','/webpack-hmr','search','\x20\x20\x20\x20\x20\x20//\x20ignore\x20if\x20unable\x20to\x20redefine','\x20\x20\x20\x20\x20\x20\x20\x20return\x20false;','mode','\x20\x20\x20overlayPath:\x20','\x20\x20\x20\x20\x20\x20return\x20Array.isArray(value)\x20?\x20value\x20:\x20[value];','object','waitUntil','x-enhance-document','follow','\x20\x20\x20\x20\x20\x20\x20\x20if\x20(typeof\x20proto\x20===\x20\x22string\x22\x20&&\x20knownProtocols.has(proto.toLowerCase()))\x20{','\x20\x20\x20Injecting\x20runtime\x20bootstrap...','/@vite/client','permissive','\x20\x20\x20enhancementUrl:\x20','enumerable','\x20\x20\x20\x20Object.assign(EnhancedWebSocket,\x20originalWebSocket);','\x20\x20\x20\x20Object.defineProperty(EnhancedWebSocket,\x20\x22__enhancePatched\x22,\x20{\x20value:\x20true\x20});','\x20\x20\x20Stripping\x20SRI\x20attributes...','stylesheet','\x20is\x20overlay\x20asset\x20-\x20not\x20routing','\x20\x20\x20\x20\x20\x20//\x20Mark\x20as\x20initialized\x20globally\x20so\x20other\x20module\x20instances\x20(e.g.\x20enhanced\x20app\x27s\x20bundled\x20copy)\x20skip\x20re-init','\x20shouldRouteAsset:\x20','(async\x20()\x20=>\x20{','\x20buildRuntimeBootstrapScript:\x20no\x20runtimePath\x20-\x20returning\x20null','redirect','publishableKey','\x20\x20\x20Enhancement\x20MISS:\x20','\x20\x20\x20SUCCESS\x20-\x20returning\x20enhancement\x20document','has','custom','\x20chars','connect-src\x20*','\x20\x20\x20Rewriting\x20entry\x20references...','production','hash','[not\x20set]','\x20\x20\x20\x20var\x20shouldProxy\x20=\x20function(url,\x20protocols)\x20{','type','activate','access-control-allow-credentials','\x20\x20\x20\x20var\x20knownPathHints\x20=\x20','securityMode','x-enhance-document-source','/auth/callback','\x20\x20\x20\x20\x20\x20if\x20(!isExternalHost\x20&&\x20!isAppHost)\x20return\x20false;','message','href','getOwnPropertyDescriptor','pathname','\x20\x20\x20\x20window.WebSocket\x20=\x20EnhancedWebSocket;','\x20\x20}','\x20chars)','set-cookie2',',\x20null,\x202));','/snowpack/hmr','\x20Service\x20Worker\x20loaded','\x20\x20\x20\x20\x20\x20return\x20proxied;','\x20Invalid\x20enhancement\x20URL:\x20','\x20\x20\x20\x20\x20\x20var\x20pathname\x20=\x20url.pathname\x20||\x20\x22/\x22;','\x20\x20\x20\x20\x20\x20if\x20(pathname\x20===\x20basePrefix\x20||\x20pathname.indexOf(basePrefix\x20+\x20\x22/\x22)\x20===\x200)\x20{','\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Calling\x20Enhance.init()\x20with\x20options:\x22,\x20JSON.stringify(','enhancement-document','callbackBypassNormalized','sharedworker','rewritten','\x20\x20\x20Applying\x20permissive\x20CSP...','\x20\x20\x20Script\x20inserted\x20into\x20document','\x20\x20\x20\x20\x20\x20proxied.hash\x20=\x20\x22\x22;','defineProperty','x-enhance-enhancement','startsWith','none',')\x20-\x20returning\x20null','includes','\x20\x20\x20\x20EnhancedWebSocket.prototype\x20=\x20originalWebSocket.prototype;','\x20\x20\x20Injecting\x20HMR\x20bridge\x20(enhancement\x20source)...','\x20\x20\x20SUCCESS\x20-\x20returning\x20enhanced\x20response','\x20\x20\x20\x20}','\x20\x20\x20securityMode:\x20','\x20Bootstrap\x20options:','Enhancement\x20document\x20fetch\x20failed','\x20\x20\x20\x20var\x20knownProtocols\x20=\x20new\x20Set(','delete','\x20\x20\x20source:\x20','\x20\x20\x20\x20\x20\x20}\x20catch\x20(error)\x20{','\x20\x20\x20Skipping\x20runtime\x20bootstrap\x20injection','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20true;','[Enhance\x20SW\x20Bootstrap]','\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Bootstrap\x20complete\x22);','\x20\x20\x20Rewritten\x20HTML\x20length:\x20','body','claim','\x20\x20\x20\x20\x20\x20}',',\x20type:\x20','\x20\x20\x20\x20\x20\x20\x20\x20var\x20resolved\x20=\x20url\x20instanceof\x20URL\x20?\x20url\x20:\x20new\x20URL(String(url),\x20window.location.href);','http://','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20rewritten\x20=\x20buildProxiedUrl(resolved);','some','\x20\x20\x20\x20const\x20Enhance\x20=\x20runtimeModule?.Enhance\x20??\x20runtimeModule?.default?.Enhance\x20??\x20runtimeModule?.default;','debug','9VoKysE','location','destination','\x20for\x20','font-src\x20*\x20data:','/webpackhotmiddleware','5eoWaAX','error','\x20\x20\x20Skipping\x20HMR\x20bridge\x20(production\x20source)','data-enhance-runtime-bootstrap','\x20\x20\x20\x20\x20\x20var\x20proxied\x20=\x20new\x20URL(enhancementBase);','Enhancement\x20document\x20CORS\x20blocked','\x20\x20\x20\x20\x20\x20\x20\x20}','modulepreload','/parcel-hmr','stringify','\x20FETCH:\x20','\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Starting\x20runtime\x20bootstrap...\x22);','statusText','\x20\x20\x20Not\x20OK\x20(','include','\x20\x20\x20\x20\x20\x20for\x20(var\x20j\x20=\x200;\x20j\x20<\x20knownPathHints.length;\x20j++)\x20{','\x20\x20\x20Enhancement\x20URL:\x20','/__vite/client','/vite/client','\x20\x20\x20Original\x20HTML\x20length:\x20','/assets/enhance-runtime.js','\x20is\x20runtime\x20asset\x20-\x20not\x20routing','default-src\x20\x27self\x27\x20blob:\x20data:','94976BNMAva','\x20\x20\x20Not\x20HTML\x20response\x20-\x20returning\x20null','fetch','vite-hmr','hasOwnProperty','\x20\x20\x20\x20if\x20(!Enhance\x20||\x20typeof\x20Enhance.init\x20!==\x20\x22function\x22)\x20{','x-enhance-routing','overlay','text/html','\x20\x20\x20shouldInjectOverlay:\x20','\x20\x20\x20\x20\x20\x20window.__enhanceInitialized\x20=\x20true;','\x20\x20\x20\x20console.debug(\x22[Enhance]\x20websocket\x20bridge\x20unavailable\x22,\x20error);','frame-ancestors\x20','/__vite_ping','test','runtimeScriptPath','\x20\x20\x20No\x20enhancementBase\x20configured\x20-\x20returning\x20null','\x20\x20\x20\x20console.error(\x22[Enhance\x20Bootstrap]\x20Failed\x20to\x20bootstrap\x20runtime:\x22,\x20error);','style','skipWaiting','addEventListener','match','\x0a</head>','object-src\x20\x27none\x27','endsWith','\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Enhance\x20controller\x20created:\x22,\x20controller);','cross-origin-embedder-policy','1386114OsdGBu','opaque','\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Current\x20URL:\x22,\x20window.location.href);','\x20\x20\x20Enhancement\x20HIT:\x20','replace','headers','Cannot\x20build\x20enhancement\x20URL\x20without\x20enhancementBase\x20configured','\x20\x20\x20\x20var\x20EnhancedWebSocket\x20=\x20function(url,\x20protocols)\x20{','[Enhance\x20SW\x20Document]','length','\x20rewriteDocument()\x20called','cross-origin-resource-policy','content-type','\x20\x20\x20Document\x20fetch\x20error:','\x20\x20\x20\x20var\x20enhancementBase\x20=\x20new\x20URL(','/__snowpack__','/__webpack_hmr','\x20\x20\x20\x20var\x20originalWebSocket\x20=\x20window.WebSocket;','\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Runtime\x20module\x20loaded:\x22,\x20Object.keys(runtimeModule));','\x20\x20\x20\x20\x20\x20try\x20{','/__parcel_hmr','\x20\x20\x20\x20\x20\x20','Enhancement\x20document\x20miss\x20','</script>','737473vwHszQ','toString','\x20\x20\x20\x20const\x20runtimePath\x20=\x20','841202VYzWVs','respondWith','X-Enhance-Publishable-Key','https://assets.enhancelabs.ai/overlay.js','overlayEnableViteHmr','clients','callbackBypass','https://','?import','origin','enhance:configure','access-control-expose-headers','(function(){','slice','method','enhancementBase','<script\x20type=\x22module\x22\x20data-enhance-runtime-bootstrap>','<script\x20data-enhance-hmr-bridge>','join','[Enhance\x20SW\x20Routing]','https://api.enhancelabs.ai','\x20fetchEnhancementDocument:\x20','host','})();','content-security-policy','value','\x20\x20\x20Enhancement\x20document\x20URL:\x20','enhancement','$&\x0a','set','push','toLowerCase','\x20\x20\x20Response:\x20','\x20\x20\x20\x20\x20\x20window.enhancePreview\x20=\x20controller;','\x20\x20\x20\x20\x20\x20var\x20isAppHost\x20=\x20url.host\x20===\x20window.location.host;','install','\x20\x20\x20BYPASS:\x20','\x20\x20\x20\x20};'];_0x1737=function(){return _0x5d0b2e;};return _0x1737();}function _0x7848(_0x4f0701,_0x2acbaf){_0x4f0701=_0x4f0701-0x65;const _0x17376f=_0x1737();let _0x7848de=_0x17376f[_0x4f0701];return _0x7848de;}var EnhanceSW=((()=>{const _0x411cce=_0x7848;var _0x1f1385=Object[_0x411cce(0x134)],_0x4403d0=Object[_0x411cce(0x11f)],_0x5c5698=Object['getOwnPropertyNames'],_0x423d27=Object['prototype'][_0x411cce(0x175)],_0x2d602c=(_0x5f549c,_0x1ac7ce)=>{for(var _0x39bbea in _0x1ac7ce)_0x1f1385(_0x5f549c,_0x39bbea,{'get':_0x1ac7ce[_0x39bbea],'enumerable':!![]});},_0x3664ac=(_0x20c603,_0x142eb7,_0x43be55,_0x2f742b)=>{const _0x56435e=_0x411cce;if(_0x142eb7&&typeof _0x142eb7===_0x56435e(0xf5)||typeof _0x142eb7==='function'){for(let _0x4ba2b4 of _0x5c5698(_0x142eb7))if(!_0x423d27['call'](_0x20c603,_0x4ba2b4)&&_0x4ba2b4!==_0x43be55)_0x1f1385(_0x20c603,_0x4ba2b4,{'get':()=>_0x142eb7[_0x4ba2b4],'enumerable':!(_0x2f742b=_0x4403d0(_0x142eb7,_0x4ba2b4))||_0x2f742b[_0x56435e(0xfe)]});}return _0x20c603;},_0x3086df=_0x4a01d7=>_0x3664ac(_0x1f1385({},_0x411cce(0xe7),{'value':!![]}),_0x4a01d7),_0x2110d6={};_0x2d602c(_0x2110d6,{'log':()=>_0x1c8fdd});var _0x476fa2=_0x411cce(0x94),_0x583d18=_0x411cce(0xbb);function _0x3184d5(_0x206387){if(!_0x206387['startsWith']('/'))return'/'+_0x206387;return _0x206387;}function _0x202b6c(_0x176a6b,_0x3698e9){const _0x2fd17e=_0x411cce,_0x35fbdc=new URL(_0x176a6b['toString']()),_0x83c710=_0x35fbdc['pathname'][_0x2fd17e(0x6c)]('/')?_0x35fbdc['pathname'][_0x2fd17e(0x97)](0x0,-0x1):_0x35fbdc[_0x2fd17e(0x120)],_0x46460b=_0x3698e9[_0x2fd17e(0x120)][_0x2fd17e(0x136)]('/')?_0x3698e9[_0x2fd17e(0x120)]:'/'+_0x3698e9[_0x2fd17e(0x120)];return _0x35fbdc[_0x2fd17e(0x120)]=(''+_0x83c710+_0x46460b)[_0x2fd17e(0x73)](/\/+/g,'/'),_0x35fbdc[_0x2fd17e(0xef)]=_0x3698e9[_0x2fd17e(0xef)],_0x35fbdc[_0x2fd17e(0x112)]='',_0x35fbdc;}var _0x49284f=_0x411cce(0x9d),_0x47f744=_0x411cce(0x8c),_0x170eb5=new Set(['script',_0x411cce(0x66),_0x411cce(0xbc),'image','worker',_0x411cce(0x12f),_0x411cce(0x161)]);function _0x249bf5(_0x57764c){const _0x2d5758=_0x411cce,_0x389c3c=_0x57764c[_0x2d5758(0x98)]===_0x2d5758(0xc9)||_0x57764c['method']==='HEAD';return _0x389c3c;}function _0x53dd86(_0x335732,_0x2d5965){const _0x2ae746=_0x411cce,_0x3e146e=_0x3184d5(_0x2d5965),_0x2bc5c3=_0x335732[_0x2ae746(0x12e)][_0x2ae746(0x151)](_0x25a78b=>_0x3e146e[_0x2ae746(0x136)](_0x25a78b));return _0x2bc5c3;}function _0x4c0212(_0x4012e1,_0xc2daf,_0x5a10bc){const _0x5c488b=_0x411cce,_0x50aa2e=_0xc2daf[_0x5c488b(0x156)];if(!_0x50aa2e||!_0x170eb5[_0x5c488b(0x10c)](_0x50aa2e))return![];if(_0x2fe15b(_0x4012e1,_0x5a10bc))return console[_0x5c488b(0xeb)](_0x49284f+_0x5c488b(0x105)+_0x5a10bc['pathname']+_0x5c488b(0x103)),![];if(_0x5a9e28(_0x4012e1,_0x5a10bc))return console[_0x5c488b(0xeb)](_0x49284f+_0x5c488b(0x105)+_0x5a10bc[_0x5c488b(0x120)]+_0x5c488b(0x16f)),![];if(_0x5a10bc['origin']!==self[_0x5c488b(0x155)][_0x5c488b(0x93)])return![];return!![];}async function _0x562a05(_0x220a62,_0x5ca763,_0x32e33d){const _0x1e7a5=_0x411cce;console[_0x1e7a5(0xeb)](_0x49284f+'\x20fetchFromEnhancement:\x20'+_0x32e33d[_0x1e7a5(0x120)]);if(!_0x220a62[_0x1e7a5(0x99)])return console[_0x1e7a5(0xeb)](_0x49284f+'\x20\x20\x20No\x20enhancementBase\x20configured\x20-\x20skipping'),null;const _0x349f5b=_0x2286dd(_0x220a62,_0x32e33d);console[_0x1e7a5(0xeb)](_0x49284f+_0x1e7a5(0x16a)+_0x349f5b[_0x1e7a5(0x88)]());const _0x543bb4=new Headers(_0x5ca763[_0x1e7a5(0x74)]);_0x543bb4[_0x1e7a5(0xa7)](_0x1e7a5(0x177),_0x1e7a5(0xa5)),_0x543bb4['delete'](_0x1e7a5(0xa0));_0x220a62[_0x1e7a5(0x109)]&&_0x543bb4[_0x1e7a5(0xa7)](_0x47f744,_0x220a62['publishableKey']);const _0x588424=new Request(_0x349f5b[_0x1e7a5(0x88)](),{'method':_0x5ca763[_0x1e7a5(0x98)],'headers':_0x543bb4,'credentials':'include','redirect':_0x5ca763[_0x1e7a5(0x108)],'cache':'default','mode':'cors'});try{console['log'](_0x49284f+'\x20\x20\x20Fetching\x20from\x20enhancement...');const _0x510027=await fetch(_0x588424);console[_0x1e7a5(0xeb)](_0x49284f+_0x1e7a5(0xaa)+_0x510027['status']+'\x20'+_0x510027[_0x1e7a5(0x166)]+_0x1e7a5(0x14d)+_0x510027[_0x1e7a5(0x115)]);if(_0x510027[_0x1e7a5(0x115)]===_0x1e7a5(0x70))return console[_0x1e7a5(0xeb)](_0x49284f+_0x1e7a5(0xb8)),_0x1c8fdd(_0x1e7a5(0xd8),'Enhancement\x20CORS\x20blocked',_0x349f5b[_0x1e7a5(0x88)]()),null;if(!_0x510027['ok'])return console[_0x1e7a5(0xeb)](_0x49284f+_0x1e7a5(0x167)+_0x510027['status']+_0x1e7a5(0x138)),_0x1c8fdd(_0x1e7a5(0x153),_0x1e7a5(0xb9)+_0x510027['status']+'\x20for\x20'+_0x349f5b[_0x1e7a5(0x120)]),null;return console[_0x1e7a5(0xeb)](_0x49284f+_0x1e7a5(0x13c)),_0x112377(_0x510027,_0x5ca763[_0x1e7a5(0x98)]);}catch(_0x173f06){return console[_0x1e7a5(0x15b)](_0x49284f+'\x20\x20\x20Fetch\x20error:',_0x173f06),_0x1c8fdd(_0x1e7a5(0xd8),_0x1e7a5(0xd6),_0x173f06),null;}}async function _0x685c7(_0x5173b8,_0x4a12f0){const _0x5e0524=_0x411cce,_0x280fe7=new URL(_0x4a12f0[_0x5e0524(0xb5)]);console['log'](_0x49284f+_0x5e0524(0x9f)+_0x280fe7['pathname']+_0x280fe7['search']);if(!_0x5173b8[_0x5e0524(0x99)])return console[_0x5e0524(0xeb)](_0x49284f+_0x5e0524(0x181)),null;const _0x5e3322=_0x2286dd(_0x5173b8,_0x280fe7);console['log'](_0x49284f+_0x5e0524(0xa4)+_0x5e3322[_0x5e0524(0x88)]());const _0x4a79f2=new Headers(_0x4a12f0[_0x5e0524(0x74)]);_0x4a79f2[_0x5e0524(0xa7)](_0x5e0524(0x177),_0x5e0524(0x12d)),_0x4a79f2['delete']('host'),_0x4a79f2[_0x5e0524(0x142)](_0x5e0524(0xc6));_0x5173b8[_0x5e0524(0x109)]&&_0x4a79f2[_0x5e0524(0xa7)](_0x47f744,_0x5173b8[_0x5e0524(0x109)]);const _0x58ba5f=new Request(_0x5e3322['toString'](),{'method':'GET','headers':_0x4a79f2,'credentials':_0x5e0524(0x168),'redirect':_0x5e0524(0xf8),'cache':'default','mode':'cors'});try{console[_0x5e0524(0xeb)](_0x49284f+'\x20\x20\x20Fetching\x20enhancement\x20document...');const _0x409ea8=await fetch(_0x58ba5f);console[_0x5e0524(0xeb)](_0x49284f+_0x5e0524(0xaa)+_0x409ea8[_0x5e0524(0xed)]+'\x20'+_0x409ea8['statusText']+',\x20type:\x20'+_0x409ea8[_0x5e0524(0x115)]),console[_0x5e0524(0xeb)](_0x49284f+_0x5e0524(0xcf)+_0x409ea8[_0x5e0524(0x74)][_0x5e0524(0xe4)](_0x5e0524(0x7b)));if(_0x409ea8[_0x5e0524(0x115)]===_0x5e0524(0x70))return console[_0x5e0524(0xeb)](_0x49284f+_0x5e0524(0xb8)),_0x1c8fdd('info',_0x5e0524(0x15f),_0x5e3322[_0x5e0524(0x88)]()),null;if(!_0x409ea8['ok'])return console['log'](_0x49284f+_0x5e0524(0x167)+_0x409ea8[_0x5e0524(0xed)]+')\x20-\x20returning\x20null'),_0x1c8fdd(_0x5e0524(0x153),_0x5e0524(0x85)+_0x409ea8[_0x5e0524(0xed)]+_0x5e0524(0x157)+_0x5e3322[_0x5e0524(0x120)]),null;if(!_0x3902ad(_0x409ea8))return console[_0x5e0524(0xeb)](_0x49284f+_0x5e0524(0x172)),null;return console[_0x5e0524(0xeb)](_0x49284f+_0x5e0524(0x10b)),_0x112377(_0x409ea8,'GET');}catch(_0x25be57){return console[_0x5e0524(0x15b)](_0x49284f+_0x5e0524(0x7c),_0x25be57),_0x1c8fdd(_0x5e0524(0xd8),_0x5e0524(0x140),_0x25be57),null;}}function _0x2286dd(_0x309603,_0x4cb00f){const _0x550c0e=_0x411cce;if(!_0x309603[_0x550c0e(0x99)])throw new Error(_0x550c0e(0x75));return _0x202b6c(_0x309603[_0x550c0e(0x99)],_0x4cb00f);}function _0x112377(_0x1331e5,_0xedd9c9){const _0x5ebe19=_0x411cce,_0x2873f4=_0x1331e5['clone'](),_0x429983=new Headers(_0x2873f4[_0x5ebe19(0x74)]);_0x429983[_0x5ebe19(0x142)](_0x5ebe19(0xdf)),_0x429983[_0x5ebe19(0x142)](_0x5ebe19(0x117)),_0x429983[_0x5ebe19(0x142)](_0x5ebe19(0x95)),_0x429983[_0x5ebe19(0xa7)](_0x5ebe19(0x135),_0x5ebe19(0xb6)),_0x2d3726(_0x429983);const _0x4a6e7f=_0xedd9c9==='HEAD'?null:_0x2873f4[_0x5ebe19(0x14a)];return new Response(_0x4a6e7f,{'status':_0x2873f4[_0x5ebe19(0xed)],'statusText':_0x2873f4['statusText'],'headers':_0x429983});}function _0x3902ad(_0x2afa55){const _0x39cdd9=_0x411cce,_0x2c3905=_0x2afa55[_0x39cdd9(0x74)][_0x39cdd9(0xe4)]('content-type');return _0x2c3905!=null&&_0x2c3905[_0x39cdd9(0x139)](_0x39cdd9(0x179));}function _0x2fe15b(_0x32ca95,_0xa3dc33){return _0x2ae685(_0xa3dc33,_0x32ca95['overlayPath']);}function _0x5a9e28(_0x4a1f2a,_0x2621a5){const _0x255d88=_0x411cce;return _0x103a8c(_0x2621a5,_0x4a1f2a[_0x255d88(0x180)]);}function _0x2ae685(_0x5cf0f9,_0x5b4167){const _0x40b295=_0x411cce;if(!_0x5b4167)return![];if(_0x5b4167[_0x40b295(0x136)]('http://')||_0x5b4167['startsWith'](_0x40b295(0x91)))return _0x5cf0f9[_0x40b295(0x11e)]===_0x5b4167;const _0x32d4c1=_0x13399a(_0x5b4167);if(!_0x32d4c1)return![];const _0x55a857=''+_0x5cf0f9['pathname']+_0x5cf0f9[_0x40b295(0xef)];if(_0x55a857===_0x32d4c1)return!![];if(_0x5cf0f9[_0x40b295(0xef)]===_0x40b295(0x92))return _0x5cf0f9[_0x40b295(0x120)]===_0x32d4c1;return![];}function _0x103a8c(_0x48166f,_0x4ed233){const _0x50c8f6=_0x411cce;if(!_0x4ed233)return![];if(_0x4ed233[_0x50c8f6(0x136)](_0x50c8f6(0x14f))||_0x4ed233[_0x50c8f6(0x136)](_0x50c8f6(0x91)))return _0x48166f[_0x50c8f6(0x11e)]===_0x4ed233;const _0x427303=_0x13399a(_0x4ed233);if(!_0x427303)return![];const _0x3265d9=''+_0x48166f['pathname']+_0x48166f[_0x50c8f6(0xef)];return _0x3265d9===_0x427303;}function _0x13399a(_0x2f20eb){const _0x73e9f8=_0x411cce;if(!_0x2f20eb)return _0x2f20eb;if(_0x2f20eb[_0x73e9f8(0x136)](_0x73e9f8(0x14f))||_0x2f20eb[_0x73e9f8(0x136)]('https://'))return _0x2f20eb;const _0x14ae00=_0x2f20eb[_0x73e9f8(0x73)](/^\.\//,'');if(_0x14ae00[_0x73e9f8(0x136)]('/'))return _0x14ae00;return'/'+_0x14ae00;}function _0x2d3726(_0x5c1076){const _0x58d31a=_0x411cce;_0x5c1076['delete'](_0x58d31a(0xd5)),_0x5c1076['delete'](_0x58d31a(0x124));}function _0x5b3321(_0x13c3e6){const _0x20b7dc=_0x411cce,_0xb3d853=[_0x20b7dc(0x170),_0x20b7dc(0xe3),'style-src\x20\x27self\x27\x20\x27unsafe-inline\x27\x20blob:\x20data:\x20https:\x20http:',_0x20b7dc(0xde),_0x20b7dc(0x158),_0x20b7dc(0x10f),_0x20b7dc(0xe6),_0x20b7dc(0xdb),_0x20b7dc(0x6b)],_0x300749=_0x1578d4(_0x13c3e6);return _0x300749&&_0xb3d853[_0x20b7dc(0xa8)](_0x300749),_0xb3d853[_0x20b7dc(0x9c)](';\x20');}function _0x4bbb6a(_0xfd2f2d){const _0x389cbd=_0x411cce;_0xfd2f2d[_0x389cbd(0x142)](_0x389cbd(0xd5)),_0xfd2f2d['delete'](_0x389cbd(0x124));}function _0x1578d4(_0x3be21d){const _0x393dee=_0x411cce;if(!_0x3be21d)return null;const _0x54da07=_0x3be21d[_0x393dee(0x69)](/frame-ancestors\s+([^;]+)/i);if(!_0x54da07)return null;return _0x393dee(0x17d)+_0x54da07[0x1][_0x393dee(0xdd)]();}function _0x586591(_0xa91027,_0x36e718){const _0x5e8db6=_0x411cce;if(/<head[^>]*>/i['test'](_0xa91027)){const _0x53d74b=_0xa91027[_0x5e8db6(0x69)](/<head[^>]*>/i);if(_0x53d74b){const _0x16d5bf=_0x53d74b[0x0];return _0xa91027[_0x5e8db6(0x73)](_0x16d5bf,_0x16d5bf+'\x0a'+_0x36e718);}}if(/<\/head>/i[_0x5e8db6(0x17f)](_0xa91027))return _0xa91027[_0x5e8db6(0x73)](/<\/head>/i,_0x36e718+_0x5e8db6(0x6a));if(/<body\b[^>]*>/i['test'](_0xa91027))return _0xa91027[_0x5e8db6(0x73)](/<body\b[^>]*>/i,_0x5e8db6(0xa6)+_0x36e718);if(/<\/body>/i['test'](_0xa91027))return _0xa91027[_0x5e8db6(0x73)](/<\/body>/i,_0x36e718+_0x5e8db6(0xc8));return _0x36e718+'\x0a'+_0xa91027;}var _0x14dd6e=[_0x411cce(0x174)],_0x2109a5=[_0x411cce(0xfb),_0x411cce(0x16b),_0x411cce(0x16c),_0x411cce(0x17e),'/sockjs-node','/webpack-dev-server',_0x411cce(0xee),_0x411cce(0x159),_0x411cce(0xe9),_0x411cce(0x7f),'/_next/webpack-hmr',_0x411cce(0x162),_0x411cce(0x83),_0x411cce(0x7e),_0x411cce(0x126)];function _0x45f788(_0x212e99,_0x31329f){const _0xfc4ef3=_0xa65508(_0x212e99);if(!_0xfc4ef3)return _0x31329f;return _0x586591(_0x31329f,_0xfc4ef3);}function _0xa65508(_0x5136d3){const _0x564a3c=_0x411cce;if(!_0x5136d3['enhancementBase'])return null;const _0x3d54b3=_0x5136d3[_0x564a3c(0x99)][_0x564a3c(0x88)](),_0x21a79c=_0x443112(_0x14dd6e),_0x7a1924=_0x443112(_0x2109a5),_0x3318b5=[_0x564a3c(0x9b),_0x564a3c(0x96),_0x564a3c(0xdc),_0x564a3c(0x7d)+JSON[_0x564a3c(0x163)](_0x3d54b3)+');',_0x564a3c(0x80),_0x564a3c(0xec),_0x564a3c(0xbe),_0x564a3c(0x13d),_0x564a3c(0x141)+JSON[_0x564a3c(0x163)](_0x21a79c)+');',_0x564a3c(0x118)+JSON[_0x564a3c(0x163)](_0x7a1924)+';','\x20\x20\x20\x20var\x20basePrefix\x20=\x20\x22/__sbx__\x22;','\x20\x20\x20\x20var\x20toArray\x20=\x20function(value)\x20{',_0x564a3c(0xba),_0x564a3c(0xf4),'\x20\x20\x20\x20};',_0x564a3c(0x114),'\x20\x20\x20\x20\x20\x20//\x20Allow\x20proxying\x20for\x20specific\x20external\x20hosts','\x20\x20\x20\x20\x20\x20var\x20externalHosts\x20=\x20[\x22app.enhance.localhost:4450\x22,\x20\x22localhost:5173\x22];','\x20\x20\x20\x20\x20\x20var\x20isExternalHost\x20=\x20externalHosts.includes(url.host);',_0x564a3c(0xac),_0x564a3c(0x84),_0x564a3c(0x11c),_0x564a3c(0x84),_0x564a3c(0x12a),_0x564a3c(0x12b),_0x564a3c(0xf1),_0x564a3c(0x14c),'\x20\x20\x20\x20\x20\x20var\x20protoList\x20=\x20toArray(protocols);','\x20\x20\x20\x20\x20\x20for\x20(var\x20i\x20=\x200;\x20i\x20<\x20protoList.length;\x20i++)\x20{','\x20\x20\x20\x20\x20\x20\x20\x20var\x20proto\x20=\x20protoList[i];',_0x564a3c(0xf9),_0x564a3c(0x146),'\x20\x20\x20\x20\x20\x20\x20\x20}',_0x564a3c(0x14c),_0x564a3c(0xb2),_0x564a3c(0x169),_0x564a3c(0xd2),_0x564a3c(0x146),'\x20\x20\x20\x20\x20\x20\x20\x20}','\x20\x20\x20\x20\x20\x20}',_0x564a3c(0xbf),_0x564a3c(0xaf),'\x20\x20\x20\x20var\x20buildProxiedUrl\x20=\x20function(targetUrl)\x20{',_0x564a3c(0xc4),_0x564a3c(0x15e),'\x20\x20\x20\x20\x20\x20proxied.search\x20=\x20targetUrl.search;',_0x564a3c(0x133),_0x564a3c(0x128),'\x20\x20\x20\x20};',_0x564a3c(0x76),_0x564a3c(0x82),_0x564a3c(0x14e),'\x20\x20\x20\x20\x20\x20\x20\x20if\x20(shouldProxy(resolved,\x20protocols))\x20{',_0x564a3c(0x150),_0x564a3c(0xcc),_0x564a3c(0x160),_0x564a3c(0x144),_0x564a3c(0xce),_0x564a3c(0x14c),'\x20\x20\x20\x20\x20\x20return\x20new\x20originalWebSocket(url,\x20protocols);',_0x564a3c(0xaf),_0x564a3c(0xff),_0x564a3c(0x13a),'\x20\x20\x20\x20Object.setPrototypeOf(EnhancedWebSocket,\x20originalWebSocket);',_0x564a3c(0xb1),_0x564a3c(0xe0),'\x20\x20\x20\x20}\x20catch\x20(error)\x20{',_0x564a3c(0xf0),_0x564a3c(0x13d),_0x564a3c(0x100),_0x564a3c(0x121),_0x564a3c(0xcd),_0x564a3c(0x17c),_0x564a3c(0x122),_0x564a3c(0xa1),_0x564a3c(0x86)];return _0x3318b5[_0x564a3c(0x9c)]('\x0a');}function _0x443112(_0x1b46f1){const _0x3ab909=new Set(),_0x37066a=[];for(const _0x1ad289 of _0x1b46f1){const _0x8de40f=_0x1ad289['toLowerCase']();if(_0x3ab909['has'](_0x8de40f))continue;_0x3ab909['add'](_0x8de40f),_0x37066a['push'](_0x8de40f);}return _0x37066a;}var _0xe82fd6=_0x411cce(0x147);function _0x1c01c4(_0xb5c6e9,_0x50fc78){const _0x510198=_0x411cce;console[_0x510198(0xeb)](_0xe82fd6+'\x20injectRuntimeBootstrap()\x20called'),console[_0x510198(0xeb)](_0xe82fd6+'\x20\x20\x20runtimeScriptPath:\x20'+_0xb5c6e9[_0x510198(0x180)]),console[_0x510198(0xeb)](_0xe82fd6+_0x510198(0xf3)+_0xb5c6e9[_0x510198(0xe1)]);if(_0x50fc78[_0x510198(0x139)](_0x510198(0x15d)))return console['log'](_0xe82fd6+'\x20\x20\x20Existing\x20bootstrap\x20found\x20-\x20keeping\x20it'),_0x50fc78;const _0x18dda5=_0x4fbd59(_0xb5c6e9);if(!_0x18dda5)return console[_0x510198(0xeb)](_0xe82fd6+_0x510198(0xda)),_0x50fc78;console[_0x510198(0xeb)](_0xe82fd6+'\x20\x20\x20No\x20existing\x20bootstrap\x20-\x20injecting\x20new\x20one\x20('+_0x18dda5[_0x510198(0x78)]+_0x510198(0x123));const _0x1e7e37=_0x586591(_0x50fc78,_0x18dda5);return console['log'](_0xe82fd6+_0x510198(0x132)),_0x1e7e37;}function _0x4fbd59(_0x48aa4e){const _0x6e122c=_0x411cce,_0x38837b=_0x48aa4e['runtimeScriptPath'];if(!_0x38837b)return console[_0x6e122c(0xeb)](_0xe82fd6+_0x6e122c(0x107)),null;const _0x2afd84=_0x2690a0(_0x48aa4e);console[_0x6e122c(0xeb)](_0xe82fd6+_0x6e122c(0x13f),JSON[_0x6e122c(0x163)](_0x2afd84,null,0x2));const _0x1ce4e0=_0x3a9dab(_0x2afd84),_0x43134d=JSON[_0x6e122c(0x163)](_0x38837b),_0x327436=[_0x6e122c(0x9a),_0x6e122c(0x106),_0x6e122c(0xdc),_0x6e122c(0x89)+_0x43134d+';',_0x6e122c(0x165),'\x20\x20\x20\x20console.log(\x22[Enhance\x20Bootstrap]\x20Runtime\x20path:\x22,\x20runtimePath);',_0x6e122c(0x71),_0x6e122c(0xc5),_0x6e122c(0x81),_0x6e122c(0x152),_0x6e122c(0x176),_0x6e122c(0xd4),_0x6e122c(0xbe),_0x6e122c(0x13d),_0x6e122c(0x12c)+_0x1ce4e0+_0x6e122c(0x125),'\x20\x20\x20\x20const\x20controller\x20=\x20Enhance.init('+_0x1ce4e0+');',_0x6e122c(0x6d),_0x6e122c(0xd1),_0x6e122c(0xab),_0x6e122c(0xb7),_0x6e122c(0x104),_0x6e122c(0x17b),'\x20\x20\x20\x20\x20\x20window.__enhanceController\x20=\x20controller;',_0x6e122c(0xcb),_0x6e122c(0x13d),_0x6e122c(0x148),'\x20\x20}\x20catch\x20(error)\x20{',_0x6e122c(0x65),'\x20\x20}',_0x6e122c(0xa1),'</script>'];return _0x327436[_0x6e122c(0x9c)]('\x0a');}function _0x2690a0(_0x41e5cd){const _0x26ce8e=_0x411cce,_0x46a684={'publishableKey':_0x41e5cd[_0x26ce8e(0x109)],'callbackBypass':_0x41e5cd[_0x26ce8e(0x90)],'__development':{'enableOverlayHmr':_0x41e5cd[_0x26ce8e(0x8e)],'overlayPath':_0x41e5cd[_0x26ce8e(0xe1)],'security':_0x41e5cd['securityMode'],'backendUrl':_0x41e5cd['backendUrl']}};return _0x46a684;}function _0x3a9dab(_0x5dc1f5){const _0x495c2d=_0x411cce;return JSON[_0x495c2d(0x163)](_0x5dc1f5)[_0x495c2d(0x73)](/</g,'\x5cu003c')[_0x495c2d(0x73)](/>/g,'\x5cu003e');}function _0xf6c8a7(_0x1c2971,_0x946788){const _0x125e67=_0x411cce,_0x425edd=_0x26cd62=>_0x133210(_0x1c2971,_0x26cd62),_0x4b7d68=_0x573720=>_0x237612(_0x1c2971,_0x573720);return _0x946788['replace'](/<script\b[^>]*>/gi,_0x425edd)[_0x125e67(0x73)](/<link\b[^>]*>/gi,_0x4b7d68);}function _0x23c4cf(_0x1b1646){const _0x2b9f1e=_0x411cce;return _0x1b1646[_0x2b9f1e(0x73)](/\s+integrity\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi,'');}function _0x133210(_0x413d3a,_0x275a10){const _0x315baf=_0x411cce,_0x145b2f=_0x119511(_0x275a10,_0x315baf(0xea));if(!_0x145b2f)return _0x275a10;const _0xde4ca9=_0x376e01(_0x413d3a,_0x145b2f[_0x315baf(0xa3)]);if(!_0xde4ca9||_0xde4ca9===_0x145b2f[_0x315baf(0xa3)])return _0x275a10;const _0x4ebf23=_0x145b2f[_0x315baf(0xc1)]['replace'](_0x145b2f[_0x315baf(0xa3)],_0xde4ca9);return _0x275a10[_0x315baf(0x73)](_0x145b2f[_0x315baf(0xc1)],_0x4ebf23);}function _0x237612(_0x22182d,_0x5c919c){const _0x570ab9=_0x411cce,_0xe5bbc3=_0x5c919c[_0x570ab9(0x69)](/\brel\s*=\s*(['"])([^"']+)\1/i);if(!_0xe5bbc3)return _0x5c919c;const _0x216fce=_0xe5bbc3[0x2][_0x570ab9(0xa9)]();if(_0x216fce!==_0x570ab9(0x102)&&_0x216fce!==_0x570ab9(0x161))return _0x5c919c;const _0x396aa9=_0x119511(_0x5c919c,'href');if(!_0x396aa9)return _0x5c919c;const _0x339916=_0x376e01(_0x22182d,_0x396aa9[_0x570ab9(0xa3)]);if(!_0x339916||_0x339916===_0x396aa9['value'])return _0x5c919c;const _0x510811=_0x396aa9[_0x570ab9(0xc1)][_0x570ab9(0x73)](_0x396aa9['value'],_0x339916);return _0x5c919c[_0x570ab9(0x73)](_0x396aa9[_0x570ab9(0xc1)],_0x510811);}function _0x119511(_0x5efae9,_0x530c3f){const _0x42d23c=_0x411cce,_0x31e549=new RegExp(_0x530c3f+_0x42d23c(0xc2),'i'),_0x37b269=_0x5efae9['match'](_0x31e549);if(!_0x37b269)return null;return{'full':_0x37b269[0x0],'value':_0x37b269[0x2]};}function _0x376e01(_0x58361b,_0x21e7ad){const _0x56fee3=_0x411cce,_0x149c27=_0x525fa4(_0x21e7ad);if(!_0x149c27)return null;if(_0x149c27[_0x56fee3(0x93)]===self['location'][_0x56fee3(0x93)])return''+_0x149c27['pathname']+_0x149c27[_0x56fee3(0xef)];return null;}function _0x525fa4(_0x4a1c6e){const _0x1e2f1c=_0x411cce;try{return new URL(_0x4a1c6e,self[_0x1e2f1c(0x155)][_0x1e2f1c(0x93)]);}catch{return null;}}var _0x121bf6=_0x411cce(0x77);async function _0x1fb3c8(_0x1cb48c,_0x27c436,_0x547a0a,_0x5cd1b5=!![]){const _0x24d173=_0x411cce;console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0x79)),console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0x143)+_0x547a0a),console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0x17a)+_0x5cd1b5),console['log'](_0x121bf6+_0x24d173(0x13e)+_0x1cb48c[_0x24d173(0x119)]);const _0x44840d=_0x27c436['clone'](),_0x29f675=await _0x44840d[_0x24d173(0xc0)]();console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0x16d)+_0x29f675[_0x24d173(0x78)]+_0x24d173(0x10e)),console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0x101));const _0x57b748=_0x23c4cf(_0x29f675);console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0x110));let _0x2091b0=_0xf6c8a7(_0x1cb48c,_0x57b748);_0x547a0a===_0x24d173(0xa5)?(console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0x13b)),_0x2091b0=_0x45f788(_0x1cb48c,_0x2091b0)):console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0x15c));_0x5cd1b5?(console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0xfa)),_0x2091b0=_0x1c01c4(_0x1cb48c,_0x2091b0)):console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0x145));console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0x149)+_0x2091b0['length']+_0x24d173(0x10e));const _0x4b44a7=new Headers(_0x44840d[_0x24d173(0x74)]);_0x4b44a7[_0x24d173(0xa7)](_0x24d173(0xc3),'no-store'),_0x4b44a7[_0x24d173(0xa7)](_0x24d173(0xf7),_0x24d173(0x130)),_0x4b44a7[_0x24d173(0xa7)](_0x24d173(0x11a),_0x547a0a),_0x4bbb6a(_0x4b44a7);if(_0x1cb48c[_0x24d173(0x119)]!==_0x24d173(0x10d)){console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0x131));const _0x3bafad=_0x4b44a7['get'](_0x24d173(0xa2));_0x4b44a7[_0x24d173(0xa7)](_0x24d173(0xa2),_0x5b3321(_0x3bafad)),_0x4b44a7[_0x24d173(0x142)]('cross-origin-opener-policy'),_0x4b44a7[_0x24d173(0x142)](_0x24d173(0x6e)),_0x4b44a7['delete'](_0x24d173(0x7a));}else console[_0x24d173(0xeb)](_0x121bf6+_0x24d173(0xe2));return console['log'](_0x121bf6+'\x20\x20\x20Document\x20rewrite\x20complete'),new Response(_0x2091b0,{'status':_0x44840d[_0x24d173(0xed)],'statusText':_0x44840d[_0x24d173(0x166)],'headers':_0x4b44a7});}var _0x3df82e=_0x411cce(0xb0);console[_0x411cce(0xeb)](_0x3df82e+_0x411cce(0x127));var _0x7c0eb5={'overlayPath':_0x411cce(0x8d),'backendUrl':_0x411cce(0x9e),'overlayEnableViteHmr':![],'runtimeScriptPath':_0x411cce(0x16e),'swPath':_0x411cce(0xd9)},_0x6d3fc1={'publishableKey':'','callbackBypass':[_0x411cce(0x11b)],'securityMode':_0x411cce(0xfc),'enhancementUrl':null,'enhancementBase':null};function _0x13448e(){const _0x43516c=_0x411cce;return{..._0x7c0eb5,'publishableKey':_0x6d3fc1['publishableKey'],'enhancementUrl':_0x6d3fc1['enhancementUrl']??'','enhancementBase':_0x6d3fc1[_0x43516c(0x99)],'callbackBypass':_0x6d3fc1[_0x43516c(0x90)],'callbackBypassNormalized':_0x6d3fc1['callbackBypass']['map'](_0x34a29e=>_0x34a29e[_0x43516c(0x136)]('/')?_0x34a29e:'/'+_0x34a29e),'securityMode':_0x6d3fc1[_0x43516c(0x119)]};}function _0x1c8fdd(_0x4e7f0a,_0x4b831b,..._0x3f8291){const _0x10624e=_0x411cce;_0x4e7f0a===_0x10624e(0xd8)?console[_0x10624e(0xd8)](_0x3df82e,_0x4b831b,..._0x3f8291):console['debug'](_0x3df82e,_0x4b831b,..._0x3f8291);}self['addEventListener'](_0x411cce(0xad),_0x582b9=>{const _0x407dfc=_0x411cce;console[_0x407dfc(0xeb)](_0x3df82e+'\x20INSTALL'),_0x582b9[_0x407dfc(0xf6)](self[_0x407dfc(0x67)]());}),self[_0x411cce(0x68)](_0x411cce(0x116),_0x7cb325=>{const _0x40da5b=_0x411cce;console[_0x40da5b(0xeb)](_0x3df82e+'\x20ACTIVATE'),_0x7cb325['waitUntil'](self[_0x40da5b(0x8f)][_0x40da5b(0x14b)]());}),self[_0x411cce(0x68)](_0x411cce(0x11d),_0x2ad262=>{const _0x30a34b=_0x411cce,_0xe9f57=_0x2ad262[_0x30a34b(0xb3)];if(!_0xe9f57||typeof _0xe9f57!==_0x30a34b(0xf5))return;switch(_0xe9f57['type']){case _0x476fa2:{console[_0x30a34b(0xeb)](_0x3df82e+'\x20CONFIG\x20received');const _0x36bb7f=_0xe9f57['config'];_0x6d3fc1[_0x30a34b(0x109)]=_0x36bb7f[_0x30a34b(0x109)]??'',_0x6d3fc1[_0x30a34b(0x90)]=_0x36bb7f[_0x30a34b(0x90)]??['/auth/callback'],_0x6d3fc1[_0x30a34b(0x119)]=_0x36bb7f['securityMode']??_0x30a34b(0xfc);if(_0x36bb7f[_0x30a34b(0xb4)]){_0x6d3fc1[_0x30a34b(0xb4)]=_0x36bb7f['enhancementUrl'];try{_0x6d3fc1[_0x30a34b(0x99)]=new URL(_0x36bb7f[_0x30a34b(0xb4)]);}catch{console[_0x30a34b(0x15b)](_0x3df82e+_0x30a34b(0x129)+_0x36bb7f[_0x30a34b(0xb4)]),_0x6d3fc1[_0x30a34b(0x99)]=null;}}else _0x6d3fc1[_0x30a34b(0xb4)]=null,_0x6d3fc1['enhancementBase']=null;console[_0x30a34b(0xeb)](_0x3df82e+_0x30a34b(0xd0),{'publishableKey':_0x6d3fc1[_0x30a34b(0x109)]?_0x30a34b(0xd3):_0x30a34b(0x113),'enhancementUrl':_0x6d3fc1[_0x30a34b(0xb4)]??_0x30a34b(0x137)});break;}case _0x583d18:console['log'](_0x3df82e+'\x20DISABLE\x20received\x20-\x20resetting\x20config'),_0x6d3fc1={'publishableKey':'','callbackBypass':[_0x30a34b(0x11b)],'securityMode':'permissive','enhancementUrl':null,'enhancementBase':null};break;}}),self['addEventListener'](_0x411cce(0x173),_0x4eece1=>{const _0x1bf366=_0x411cce,_0x57abec=new URL(_0x4eece1['request'][_0x1bf366(0xb5)]);if(_0x57abec['origin']!==self[_0x1bf366(0x155)][_0x1bf366(0x93)])return;_0x4eece1[_0x1bf366(0x8b)](_0x3662f5(_0x4eece1));});async function _0x3662f5(_0x58e7c3){const _0x216bef=_0x411cce,{request:_0x255a85}=_0x58e7c3,_0x3d76e4=new URL(_0x255a85[_0x216bef(0xb5)]),_0x5299f3=_0x255a85[_0x216bef(0xf2)]===_0x216bef(0xc7);console[_0x216bef(0xeb)](_0x3df82e+_0x216bef(0x164)+_0x255a85[_0x216bef(0x98)]+'\x20'+_0x3d76e4['pathname']+_0x3d76e4['search']+'\x20('+_0x255a85[_0x216bef(0xf2)]+')');if(!_0x249bf5(_0x255a85))return fetch(_0x255a85);const _0x566921=_0x13448e();console[_0x216bef(0xeb)](_0x3df82e+_0x216bef(0xfd)+(_0x566921['enhancementUrl']||'none'));if(_0x53dd86(_0x566921,_0x3d76e4[_0x216bef(0x120)]))return console['log'](_0x3df82e+_0x216bef(0xae)+_0x3d76e4[_0x216bef(0x120)]),fetch(_0x255a85);if(_0x5299f3)return _0x5aee2a(_0x255a85,_0x566921);if(!_0x4c0212(_0x566921,_0x255a85,_0x3d76e4))return fetch(_0x255a85);const _0x5c7993=await _0x562a05(_0x566921,_0x255a85,_0x3d76e4);if(_0x5c7993)return console[_0x216bef(0xeb)](_0x3df82e+_0x216bef(0x72)+_0x3d76e4[_0x216bef(0x120)]),_0x5c7993;return console[_0x216bef(0xeb)](_0x3df82e+_0x216bef(0x10a)+_0x3d76e4[_0x216bef(0x120)]),fetch(_0x255a85);}async function _0x5aee2a(_0xc3523f,_0x3ccd76){const _0x2951a9=_0x411cce,_0x543a9c=new URL(_0xc3523f[_0x2951a9(0xb5)]);console[_0x2951a9(0xeb)](_0x3df82e+'\x20Navigation:\x20'+_0x543a9c[_0x2951a9(0x120)]+_0x543a9c[_0x2951a9(0xef)]);const _0x1bcb16=await fetch(_0xc3523f);if(!_0x3902ad(_0x1bcb16))return _0x1bcb16;const _0x2d48d5=_0x112377(_0x1bcb16,_0x2951a9(0xc9)),_0x185a3e=await _0x685c7(_0x3ccd76,_0xc3523f),_0x445fd5=_0x185a3e?_0x2951a9(0xa5):_0x2951a9(0x111),_0x53a899=_0x185a3e??_0x2d48d5,_0x34b8a4=_0x445fd5==='enhancement'||_0x543a9c['searchParams'][_0x2951a9(0x10c)](_0x2951a9(0x178))||_0x543a9c['searchParams'][_0x2951a9(0x10c)]('enhancement');try{return await _0x1fb3c8(_0x3ccd76,_0x53a899,_0x445fd5,_0x34b8a4);}catch(_0x4f335a){return console[_0x2951a9(0x15b)](_0x3df82e+'\x20Document\x20rewrite\x20failed:',_0x4f335a),_0x53a899;}}return _0x3086df(_0x2110d6);})());
@@ -1 +1 @@
1
- var _0x51ad9a=_0x1d9f;(function(_0x1a037a,_0x470afa){var _0x4a2ac2=_0x1d9f,_0xef240b=_0x1a037a();while(!![]){try{var _0x5e752d=parseInt(_0x4a2ac2(0x17e))/0x1+-parseInt(_0x4a2ac2(0x16a))/0x2+-parseInt(_0x4a2ac2(0x16f))/0x3*(-parseInt(_0x4a2ac2(0x169))/0x4)+-parseInt(_0x4a2ac2(0x16b))/0x5*(parseInt(_0x4a2ac2(0x173))/0x6)+-parseInt(_0x4a2ac2(0x174))/0x7*(-parseInt(_0x4a2ac2(0x175))/0x8)+parseInt(_0x4a2ac2(0x184))/0x9*(parseInt(_0x4a2ac2(0x168))/0xa)+-parseInt(_0x4a2ac2(0x170))/0xb;if(_0x5e752d===_0x470afa)break;else _0xef240b['push'](_0xef240b['shift']());}catch(_0x17b9d9){_0xef240b['push'](_0xef240b['shift']());}}}(_0x4d2a,0x8e8f0));import{fileURLToPath}from'url';function _0x4d2a(){var _0x2e4521=['2315028BbIrer','5FaYrut','setHeader',');\x0a</script>','enhance-sandbox','1189299zBlmsy','273812lULihd','<head$1>','assets/enhance-runtime.js','2675886dQdFSL','7iQdIds','8713240wmmgjF','<script\x20type=\x22module\x22\x20data-enhance-runtime-bootstrap>\x0aimport\x20{\x20Enhance\x20}\x20from\x20\x22','publishableKey','asset','/sw-enhance.js','end','url','/assets/enhance-runtime.js','use','177296nzDpkv','utf-8','emitFile','Content-Type','../sw-enhance.js','\x22;\x0aEnhance.init(','688455ueGhPx','callbackBypass','stringify','application/javascript','20nyxcKD','8UycLfZ'];_0x4d2a=function(){return _0x2e4521;};return _0x4d2a();}import{readFile}from'fs/promises';function _0x1d9f(_0x40f874,_0x5b920d){_0x40f874=_0x40f874-0x165;var _0x4d2afb=_0x4d2a();var _0x1d9fca=_0x4d2afb[_0x40f874];return _0x1d9fca;}var runtimePath=fileURLToPath(new URL('../assets/enhance-runtime.js',import.meta.url)),swPath=fileURLToPath(new URL(_0x51ad9a(0x182),import.meta.url)),RUNTIME_URL=_0x51ad9a(0x17c),SW_URL=_0x51ad9a(0x179);function buildInitScript(_0x2c0eb9){var _0x5cc416=_0x51ad9a;const _0x5b0005={'publishableKey':_0x2c0eb9[_0x5cc416(0x177)],'callbackBypass':_0x2c0eb9[_0x5cc416(0x165)],'__development':_0x2c0eb9['__development']},_0x226dbb=JSON[_0x5cc416(0x166)](_0x5b0005);return _0x5cc416(0x176)+RUNTIME_URL+_0x5cc416(0x183)+_0x226dbb+_0x5cc416(0x16d);}var enhance=_0x1ed6c2=>{var _0x25ff55=_0x51ad9a;let _0x3098e3=null,_0x5d0e1f=null;async function _0x36298c(){var _0x3a6f3d=_0x1d9f;!_0x3098e3&&(_0x3098e3=await readFile(runtimePath,_0x3a6f3d(0x17f))),!_0x5d0e1f&&(_0x5d0e1f=await readFile(swPath,_0x3a6f3d(0x17f)));}return{'name':_0x25ff55(0x16e),'configureServer'(_0x221af2){var _0x44d3ca=_0x25ff55;_0x221af2['middlewares'][_0x44d3ca(0x17d)](async(_0x5ef3f1,_0x326bde,_0x2adbda)=>{var _0xd15d8e=_0x44d3ca;if(_0x5ef3f1[_0xd15d8e(0x17b)]===RUNTIME_URL||_0x5ef3f1[_0xd15d8e(0x17b)]===SW_URL){await _0x36298c(),_0x326bde[_0xd15d8e(0x16c)](_0xd15d8e(0x181),_0xd15d8e(0x167)),_0x326bde[_0xd15d8e(0x17a)](_0x5ef3f1[_0xd15d8e(0x17b)]===RUNTIME_URL?_0x3098e3:_0x5d0e1f);return;}_0x2adbda();});},'configurePreviewServer'(_0x3cd559){var _0x154834=_0x25ff55;_0x3cd559['middlewares'][_0x154834(0x17d)](async(_0x349ab5,_0x1c22fa,_0x216d37)=>{var _0x480433=_0x154834;if(_0x349ab5[_0x480433(0x17b)]===RUNTIME_URL||_0x349ab5[_0x480433(0x17b)]===SW_URL){await _0x36298c(),_0x1c22fa[_0x480433(0x16c)]('Content-Type','application/javascript'),_0x1c22fa[_0x480433(0x17a)](_0x349ab5[_0x480433(0x17b)]===RUNTIME_URL?_0x3098e3:_0x5d0e1f);return;}_0x216d37();});},async 'generateBundle'(){var _0x1c1039=_0x25ff55;await _0x36298c(),this[_0x1c1039(0x180)]({'type':_0x1c1039(0x178),'fileName':_0x1c1039(0x172),'source':_0x3098e3}),this[_0x1c1039(0x180)]({'type':_0x1c1039(0x178),'fileName':'sw-enhance.js','source':_0x5d0e1f});},'transformIndexHtml'(_0xa86e21){var _0x134a56=_0x25ff55;const _0x4420ff=buildInitScript(_0x1ed6c2);return _0xa86e21['replace'](/<head([^>]*)>/,_0x134a56(0x171)+_0x4420ff);}};};export{enhance};
1
+ var _0x2b8228=_0x47c2;(function(_0x260337,_0x54d256){var _0x33c68c=_0x47c2,_0x5b6b26=_0x260337();while(!![]){try{var _0x267486=parseInt(_0x33c68c(0x14d))/0x1*(parseInt(_0x33c68c(0x143))/0x2)+-parseInt(_0x33c68c(0x148))/0x3*(-parseInt(_0x33c68c(0x14c))/0x4)+parseInt(_0x33c68c(0x136))/0x5*(-parseInt(_0x33c68c(0x13d))/0x6)+-parseInt(_0x33c68c(0x152))/0x7*(-parseInt(_0x33c68c(0x137))/0x8)+-parseInt(_0x33c68c(0x155))/0x9+parseInt(_0x33c68c(0x150))/0xa*(parseInt(_0x33c68c(0x146))/0xb)+-parseInt(_0x33c68c(0x147))/0xc;if(_0x267486===_0x54d256)break;else _0x5b6b26['push'](_0x5b6b26['shift']());}catch(_0x2cf63d){_0x5b6b26['push'](_0x5b6b26['shift']());}}}(_0xac94,0xb97f8));import{fileURLToPath}from'url';function _0xac94(){var _0x122cd1=['4cBMiSw','application/javascript','use','11DYOmhJ','18233040tHweWZ','3EsGLoJ','utf-8','Content-Type','stringify','1265180vtyEuM','435439qDdlzR','<head$1>','emitFile','9622430StTATQ','callbackBypass','427uqXCOD','end','../assets/enhance-runtime.js','3491820ErYJQk','setHeader','115RAjWfk','180680LTOgrj','middlewares','/sw-enhance.js','assets/enhance-runtime.js','publishableKey','url','224322AZBXIk','enhance-sandbox','replace','asset','/assets/enhance-runtime.js','sw-enhance.js'];_0xac94=function(){return _0x122cd1;};return _0xac94();}import{readFile}from'fs/promises';function _0x47c2(_0x2b18d5,_0x158203){_0x2b18d5=_0x2b18d5-0x136;var _0xac9483=_0xac94();var _0x47c253=_0xac9483[_0x2b18d5];return _0x47c253;}var runtimePath=fileURLToPath(new URL(_0x2b8228(0x154),import.meta.url)),swPath=fileURLToPath(new URL('../sw-enhance.js',import.meta.url)),RUNTIME_URL=_0x2b8228(0x141),SW_URL=_0x2b8228(0x139);function buildInitScript(_0x181c7e){var _0x5771c5=_0x2b8228;const _0x473e82={'publishableKey':_0x181c7e[_0x5771c5(0x13b)],'callbackBypass':_0x181c7e[_0x5771c5(0x151)],'__development':_0x181c7e['__development']},_0x8200de=JSON[_0x5771c5(0x14b)](_0x473e82);return'<script\x20type=\x22module\x22\x20data-enhance-runtime-bootstrap>\x0aimport\x20{\x20Enhance\x20}\x20from\x20\x22'+RUNTIME_URL+'\x22;\x0aEnhance.init('+_0x8200de+');\x0a</script>';}var enhance=_0x39bd97=>{var _0x58dc1c=_0x2b8228;let _0x4fa4a8=null,_0xb29a8f=null;async function _0x12e6cb(){var _0x84d460=_0x47c2;!_0x4fa4a8&&(_0x4fa4a8=await readFile(runtimePath,_0x84d460(0x149))),!_0xb29a8f&&(_0xb29a8f=await readFile(swPath,_0x84d460(0x149)));}return{'name':_0x58dc1c(0x13e),'configureServer'(_0x231777){var _0x5d6f81=_0x58dc1c;_0x231777[_0x5d6f81(0x138)]['use'](async(_0x2ceef9,_0x316ab3,_0x16dae0)=>{var _0x349698=_0x5d6f81;if(_0x2ceef9['url']===RUNTIME_URL||_0x2ceef9[_0x349698(0x13c)]===SW_URL){await _0x12e6cb(),_0x316ab3[_0x349698(0x156)](_0x349698(0x14a),_0x349698(0x144)),_0x316ab3[_0x349698(0x153)](_0x2ceef9[_0x349698(0x13c)]===RUNTIME_URL?_0x4fa4a8:_0xb29a8f);return;}_0x16dae0();});},'configurePreviewServer'(_0xe85632){var _0x506c21=_0x58dc1c;_0xe85632[_0x506c21(0x138)][_0x506c21(0x145)](async(_0x59925d,_0x3e7001,_0x23b279)=>{var _0x2d49ea=_0x506c21;if(_0x59925d[_0x2d49ea(0x13c)]===RUNTIME_URL||_0x59925d[_0x2d49ea(0x13c)]===SW_URL){await _0x12e6cb(),_0x3e7001[_0x2d49ea(0x156)]('Content-Type',_0x2d49ea(0x144)),_0x3e7001[_0x2d49ea(0x153)](_0x59925d['url']===RUNTIME_URL?_0x4fa4a8:_0xb29a8f);return;}_0x23b279();});},async 'generateBundle'(){var _0x46df81=_0x58dc1c;await _0x12e6cb(),this['emitFile']({'type':_0x46df81(0x140),'fileName':_0x46df81(0x13a),'source':_0x4fa4a8}),this[_0x46df81(0x14f)]({'type':_0x46df81(0x140),'fileName':_0x46df81(0x142),'source':_0xb29a8f});},'transformIndexHtml'(_0x4b8e8c){var _0x4fd8f1=_0x58dc1c;const _0x5625db=buildInitScript(_0x39bd97);return _0x4b8e8c[_0x4fd8f1(0x13f)](/<head([^>]*)>/,_0x4fd8f1(0x14e)+_0x5625db);}};};export{enhance};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enhance-eng/sandbox",
3
- "version": "0.3.21-beta.0fac791",
3
+ "version": "0.3.21-beta.a1057ef",
4
4
  "type": "module",
5
5
  "description": "Enhance preview bootstrap and tooling package.",
6
6
  "license": "MIT",