@solomei-ai/intent 1.11.4 → 1.11.6

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.
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * © 2026 Solomei AI SRL. Proprietary and confidential.
3
3
  */
4
- import t from"html2canvas-pro";import e from"js-cookie";function n(t,e){return t-=368,o()[t]}function o(){const t=["function","reclined","brand","devicePixelRatio","Tilt: ","cookieEnabled"," (UTC","navigation","User agent: ","padStart"," | "," ms","transferSize","toFixed","DeviceOrientationEvent","colorDepth","rttMs","platform","1796HXZEWT","DateTimeFormat","entryType","max","type","innerWidth","enabled","Referrer: ","timeZone","join","referrer","1970448cWCwhi","-bit)","getBattery","doNotTrack","length","rtt","level","PWA: ","getEntriesByType"," cores","Device geolocation: disabled","maxTouchPoints","filter","round","°, γ ",", orientation "," (mobile)","Device geolocation: enabled","hardwareConcurrency","deviceorientation","inferred","1003341izWbfI","13533303VNNCvw","70456gPZZde","encodedBodySize","coarse","language","no SW"," (β ","beta","gamma","isSecureContext","(pointer: fine)","charging","userAgentData","; DNT: ","abs","requestStart","Platform: ","Battery: ","find","connection","Online: ","Network: ","fine","1791093bibqaF","removeEventListener","x (avail ","CookiesEnabled: ","5153244YWTqap"," Mbps","addEventListener","Pointer/Touch: ","yes","startsWith","effectiveType","Languages: ","resolvedOptions","resource","number","TTFB ~","duration","matches","isArray","undefined",", display-mode standalone: ","TTFB","not charging","languages","brands","floor","1395urMUih","Timezone: ","SW-controlled","getTimezoneOffset","downlinkMbps","toString","Viewport: ","(pointer: coarse)","push","setTimeout","flat","map","height","Language: ","isFinite","CPU: ","innerHeight","orientation","685PvZBFf"];return(o=()=>t)()}async function r(){const t=n,e=(new(Intl[t(459)]))[t(407)]()[t(466)],o=(t=>{const e=n,o=t<=0?"+":"-",r=Math[e(386)](t);return""+o+String(Math[e(420)](r/60))[e(449)](2,"0")+":"+String(r%60)[e(449)](2,"0")})((new Date)[t(424)]()),r=[];r[t(429)](t(434)+navigator[t(376)]),navigator[t(418)]?.length&&r[t(429)](t(406)+navigator.languages[t(467)](", ")),r.push(t(448)+navigator.userAgent);const i=function(){const t=n;if(!(t=>{const e=n;return e(384)in t&&typeof t[e(384)]!==e(414)})(navigator))return;const e=navigator.userAgentData,o=Array[t(413)](e[t(419)])?e.brands[t(432)](e=>e[t(442)]+" "+e.version)[t(467)](", "):void 0,r=e[t(457)]?""+e.platform+(e.mobile?t(485):""):void 0;return[o&&"UA brands: "+o,r&&t(388)+r][t(481)](Boolean)[t(467)](t(450))||void 0}();i&&r[t(429)](i),r[t(429)](t(422)+e+t(446)+o+")"),r[t(429)]("Local time: "+(new Date)[t(426)]());const a=window[t(443)]||1;r[t(429)]("Screen: "+screen.width+"x"+screen[t(433)]+" @"+a+t(397)+screen.availWidth+"x"+screen.availHeight+", "+screen[t(455)]+t(470));const s=screen.orientation&&"type"in screen[t(438)]?screen[t(438)][t(462)]:void 0;r[t(429)](t(427)+window[t(463)]+"x"+window[t(437)]+(s?t(484)+s:"")),r[t(429)](t(436)+navigator[t(368)]+t(478));const c=await async function(){const t=n,e=[];let o="browser API";if((t=>{const e=n;return e(391)in t&&void 0!==t[e(391)]})(navigator)){const n=navigator.connection;n?.effectiveType&&e.push(n[t(405)]),"number"==typeof n?.downlink&&e[t(429)]("~"+n.downlink+t(400)),typeof n?.rtt===t(409)&&e[t(429)](n[t(474)]+t(451)),n?.saveData&&e[t(429)]("saveData")}else{const r=((t=20)=>{const e=n,o=performance[e(477)](e(447))[e(390)](t=>t.entryType===e(447)),r=o?Math[e(461)](0,o.responseStart-o[e(387)]):void 0,i=performance[e(477)](e(408))[e(481)](t=>t[e(460)]===e(408));let a=0,s=0;for(const n of i.slice(0,Math[e(461)](0,t))){const t=n[e(374)]>0?n[e(374)]:n[e(452)]>0?n[e(452)]:0,o=n[e(411)];t>0&&o>0&&Number[e(435)](o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:typeof c===e(409)?c/1e3:void 0,rttMs:r}})();typeof r[t(425)]===t(409)&&e[t(429)]("~"+r.downlinkMbps[t(453)](1)+" Mbps"),"number"==typeof r[t(456)]&&e[t(429)](t(410)+Math[t(482)](r[t(456)])+t(451)),o=t(370)}const r=performance[t(477)](t(447))[t(390)](e=>e[t(460)]===t(447));if(r){const n=Math[t(461)](0,r.responseStart-r[t(387)]);!e.some(e=>e[t(404)](t(416)))&&e[t(429)](t(410)+Math.round(n)+" ms")}return e[t(473)]?t(393)+e[t(467)](", ")+" ("+o+")":void 0}();c&&r[t(429)](c),r[t(429)]((()=>{const t=n,e=typeof matchMedia===t(440)&&matchMedia(t(428))[t(412)],o=typeof matchMedia===t(440)&&matchMedia(t(382))[t(412)],r=e?t(375):o?t(394):"unknown",i=navigator[t(480)];return t(402)+r+", maxTouchPoints "+i})());const d=await async function(){const t=n;if((t=>{const e=n;return e(471)in t&&typeof t[e(471)]===e(440)})(navigator))try{const e=await navigator.getBattery(),n=Math[t(482)](100*e[t(475)]),o=[(Number[t(435)](n)?n:0)+"%",e[t(383)]?t(383):t(417)];return t(389)+o[t(467)](", ")}catch{}}();d&&r[t(429)](d),r[t(429)](t(398)+(navigator[t(445)]?t(403):"no")+t(385)+(navigator[t(472)]??"n/a")),r[t(429)](t(392)+(navigator.onLine?"yes":"no")),document[t(468)]&&r[t(429)](t(465)+document[t(468)]),r[t(429)]((()=>{const t=n,e=typeof matchMedia===t(440)&&matchMedia("(display-mode: standalone)")[t(412)],o=Boolean(navigator.serviceWorker?.controller);return t(476)+t(o?423:377)+t(415)+(e?t(403):"no")})());const l=await async function(t=400){const e=n;if(e(454)in window&&window[e(381)])return new Promise(o=>{const r=e;let i=!1;const a=t=>{const e=n,r=typeof t[e(379)]===e(409)?t[e(379)]:void 0,s="number"==typeof t[e(380)]?t[e(380)]:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(396)](e(369),a);const c=((t,e)=>{const o=n,r=Math[o(386)](t),i=Math[o(386)](e);return r<15&&i<15?o(431):r>=60?"upright":o(441)})(r,s);o(e(444)+c+e(378)+Math[e(482)](r)+e(483)+Math[e(482)](s)+"°)")};window[r(430)](()=>{const t=r;i||(i=!0,window[t(396)](t(369),a),o(void 0))},t),window[r(401)](r(369),a,{passive:!0})})}();l&&r[t(429)](l);const u=localStorage.getItem("intent:geo")===t(464);return r[t(429)](t(u?486:479)),r[t(467)](" | ")}(()=>{const t=n,e=o();for(;;)try{if(986493==-parseInt(t(371))/1+-parseInt(t(469))/2+parseInt(t(395))/3+-parseInt(t(458))/4*(parseInt(t(439))/5)+-parseInt(t(399))/6+parseInt(t(372))/7+parseInt(t(373))/8*(parseInt(t(421))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=c;(()=>{const t=c,e=f();for(;;)try{if(635338==parseInt(t(502))/1*(parseInt(t(507))/2)+parseInt(t(500))/3*(parseInt(t(495))/4)+parseInt(t(503))/5+parseInt(t(506))/6*(-parseInt(t(510))/7)+-parseInt(t(504))/8*(parseInt(t(499))/9)+parseInt(t(508))/10*(-parseInt(t(505))/11)+-parseInt(t(498))/12*(-parseInt(t(509))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const a=i(497),s="intent:geo";function c(t,e){return t-=493,f()[t]}const d=i(501),l=i(494),u="intent:data-client-id",p="intent:data-base-url",m=i(493);function f(){const t=["12qDQfwS","6930eYHjhr","3yiHFZE","intent:debug","720376PPtyhg","1828915nFXsNR","3272AIHoeH","3289wINTwU","636TpRTeZ","2uTwLnX","38500RAXTuJ","15001779SBlrpG","31220ItmeEb","intent:data-sid-max-age","intent:debug-panel","1336144bhaRfQ","https://intent.callimacus.ai","intent:consent"];return(f=()=>t)()}const g=i(496),h=v;function b(...t){const e=v;try{"undefined"!=typeof localStorage&&localStorage.getItem(d)===e(441)&&console[e(446)](...t)}catch{}}function v(t,e){return t-=425,x()[t]}(()=>{const t=v,e=x();for(;;)try{if(536209==-parseInt(t(428))/1+-parseInt(t(432))/2*(parseInt(t(438))/3)+parseInt(t(442))/4+-parseInt(t(440))/5*(parseInt(t(458))/6)+-parseInt(t(445))/7+parseInt(t(443))/8+parseInt(t(427))/9*(parseInt(t(426))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const y=Object[h(454)](new Set([h(448),"combobox",h(439)])),w=[h(457),h(461),h(435),h(450),...[...y][h(425)](t=>h(460)+t+'"]')][h(431)](", ");function x(){const t=["innerText","select","has","setTimeout","3Hqgsts","searchbox","10okdjhx","enabled","3969368FnMZrp","480536sARkkx","role","3257765FerNUU","log","&gt;","textbox","replace","[contenteditable]","value","body","parentElement","freeze","now","isContentEditable","input","1318404TkEMTZ","&quot;",'[role="',"textarea","getAttribute","map","54370SHkXZl","1359hRYjXK","157262TUAunn","contenteditable","plaintext-only","join","550124XZkxga","&amp;"];return(x=()=>t)()}function I(t){return t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement}function S(t){const e=h;if(I(t))return!0;if(t instanceof HTMLElement&&t[e(456)])return!0;const n=t[e(462)](e(444))?.toLowerCase();return!(!n||!y[e(436)](n))}function k(t){const e=h;return t[e(449)](/&/g,e(433)).replace(/</g,"&lt;")[e(449)](/>/g,e(447))[e(449)](/"/g,e(459))[e(449)](/'/g,"&#039;")}const T=C;(()=>{const t=C,e=P();for(;;)try{if(384498==-parseInt(t(512))/1*(parseInt(t(519))/2)+parseInt(t(505))/3+-parseInt(t(506))/4+-parseInt(t(498))/5*(parseInt(t(469))/6)+-parseInt(t(465))/7*(-parseInt(t(515))/8)+parseInt(t(476))/9*(parseInt(t(492))/10)+parseInt(t(541))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const E=T(516),M=T(534),L=new Set([T(547),T(542),T(517),T(501),T(533),"username","email",T(487),"organization",T(462),T(510),"address-line1",T(562),T(466),T(472),T(461),"address-level3",T(527),T(484),T(521),"postal-code","cc-name",T(567),"cc-additional-name",T(483),T(482),T(537),T(463),T(561),T(491),T(485),T(530),T(566),T(480),"bday-year",T(473),"webauthn"]);function C(t,e){return t-=460,P()[t]}function A(t){return"<"+(t=>{const e=T,n=(t[e(513)]?.(M)??"")[e(493)]();if(n)return n;const o=t[e(513)]?.(e(523))||"",r=S(t)?o.toLowerCase().trim().split(/\s+/)[e(564)](Boolean):[];if(t instanceof HTMLInputElement&&"password"===t[e(500)])return e(528);for(const t of r){const n=H[e(526)](t);if(n)return n}const i=t.getAttribute?.(E)?.[e(460)]();return e("mask"===i?553:518)})(t)+">"}const H=new Map([[T(547),T(495)],[T(542),T(470)],[T(501),"Last name"],["additional-name",T(548)],[T(533),T(467)],["username",T(497)],[T(560),T(499)],[T(487),"Phone"],[T(510),T(538)],[T(529),"Address line 1"],[T(562),T(536)],[T(466),T(557)],[T(472),T(468)],[T(461),T(531)],[T(502),T(549)],["address-level4",T(543)],["postal-code",T(552)],[T(484),T(565)],[T(521),T(496)],[T(475),T(524)],[T(567),"Cardholder first name"],["cc-family-name",T(504)],[T(488),T(507)],[T(482),T(477)],["cc-exp",T(479)],["cc-exp-month","Expiration month"],[T(561),T(486)],[T(491),T(525)],[T(485),T(503)],["bday","Birthday"],[T(566),T(508)],[T(480),T(540)],[T(544),T(532)],[T(535),T(514)],[T(462),T(522)],[T(473),"Sex"],["webauthn",T(545)]]);function N(t){const e=T;return t[e(539)](e(489))||t.getAttribute(E)?.[e(460)]()===e(556)}function D(t){const e=T,n=t[e(513)](E);return""===n||"mask"===n?.[e(460)]()}function z(t){const e=T;let n=t;for(;n&&n!==document[e(550)];){if(N(n))return!0;n=n[e(471)]??void 0}return!1}function B(t){return!(N(t)||!D(t)&&!(t=>{const e=T;if(t instanceof HTMLInputElement){if(t.type===e(464))return!0;if(t.type===e(554))return!1;const n=t.getAttribute(e(558));if("searchbox"===n?.[e(460)]())return!1;if((t[e(523)]||"")[e(460)]()[e(493)]()[e(509)](/\s+/).filter(Boolean).some(t=>L.has(t)))return!0}if(t instanceof HTMLTextAreaElement&&(t[e(523)]||"")[e(460)]()[e(493)]()[e(509)](/\s+/)[e(564)](Boolean)[e(551)](t=>L[e(474)](t)))return!0;if(t instanceof HTMLSelectElement&&(t[e(523)]||"")[e(460)]().trim()[e(509)](/\s+/).filter(Boolean)[e(551)](t=>L[e(474)](t)))return!0;if(S(t)&&!I(t)){const n=t[e(513)]("role")?.[e(460)]();if("searchbox"===n)return!1;if((t[e(513)](e(523))||"")[e(460)]()[e(493)]()[e(509)](/\s+/)[e(564)](Boolean)[e(551)](t=>L[e(474)](t)))return!0}return!1})(t))}function P(){const t=["258zTeuGo","First name","parentElement","address-level1","sex","has","cc-name","927PMsHjA","Card number","setAttribute","Expiration date","bday-month","textContent","cc-number","cc-family-name","country","cc-type","Expiration year","tel","cc-additional-name","data-html2canvas-ignore","month","cc-csc","26150isXfOq","trim","datetime-local","Name","Country name","Username","86545mUzrfT","Email","type","family-name","address-level3","Card type","Cardholder last name","322818uwHhlt","2209488QYMZJY","Cardholder middle name","Birth day","split","street-address","week","1sLMNXd","getAttribute","Organization","1576EFkvoO","data-intent-redact","additional-name","Sensitive","285518dHEyre","date","country-name","Job title","autocomplete","Cardholder name","Security code","get","address-level4","Password","address-line1","bday","City","Birth year","nickname","data-intent-redact-label","organization","Address line 2","cc-exp","Street address","hasAttribute","Birth month","13623929ehuHUH","given-name","Neighborhood","bday-year","WebAuthn","querySelectorAll","name","Middle name","District","body","some","Postal code","Redacted","search","value","ignore","Address line 3","role","text","email","cc-exp-year","address-line2","time","filter","Country code","bday-day","cc-given-name","toLowerCase","address-level2","organization-title","cc-exp-month","password","7406ItTBUz","address-line3","Nickname","State/Province"];return(P=()=>t)()}function U(t){const e=T;if(!z(t))if(I(t)){if(B(t)){t instanceof HTMLInputElement&&[e(520),e(494),e(490),e(563),e(511)].includes(t[e(500)])&&(t[e(500)]=e(559));const n=A(t);t[e(555)]=n,t[e(478)]("value",n)}}else S(t)?B(t)&&(t[e(481)]=A(t)):t[e(539)](E)&&D(t)&&(t[e(481)]=A(t))}function O(t){const e=T;t instanceof Element&&U(t);const n=t[e(546)](w);for(const t of n)U(t);const o=t[e(546)]("["+E+"]");for(const t of o)U(t)}function j(){const t=["37896CJMPrY","178052xuGKqD","18894807sQEMHU","1852542aJpyxG","number","265wdhfGV","2855116JMhQoM","608538JaQgCN","8BSMSJM","getItem","isFinite","42608GPNdWx","intent_sid","randomUUID","Lax","location","https:"];return(j=()=>t)()}function F(t,e){return t-=118,j()[t]}(()=>{const t=F,e=j();for(;;)try{if(363568==-parseInt(t(119))/1+parseInt(t(129))/2+-parseInt(t(121))/3+-parseInt(t(124))/4+-parseInt(t(123))/5*(parseInt(t(118))/6)+parseInt(t(125))/7+-parseInt(t(126))/8*(-parseInt(t(120))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let R="";function X(){return R}function W(t){return e.get(t)}function q(t,n){const o=F,r=localStorage[o(127)](m),i=null===r?void 0:Number(r),a=typeof n===o(122)&&Number[o(128)](n)?n:"number"==typeof i&&Number.isFinite(i)?i:2592e3,s=window[o(133)].protocol===o(134);e.set(o(130),t,{expires:a/86400,path:"/",sameSite:o(132),...s&&{secure:!0}})}function J(){e.remove(F(130),{path:"/"})}function Y(){const t=F,e=W(t(130));if("granted"!==localStorage[F(127)](a))return e&&J(),void(R="");e?R=e:(R=crypto[t(131)](),q(R))}function Z(t,e){return t-=237,_()[t]}function _(){const t=["7539120jXsPzm","4637206jQZmuG","altitude","onLine","PERMISSION_DENIED","permissions","enabled","96iQmYHf","pointerdown","isSecureContext","UNKNOWN","9452lVOofn","POSITION_UNAVAILABLE","hasFocus","number","geolocation","query","2SkgEPI","keydown","9714612UhoWCZ","canRequest","heading","isFinite","accuracy","24soTUda","17045NidwHc","altitudeAccuracy","visibilityState","deviceGeoSent","latitude","2574bGTkUL","now","geoEnabled","8zvCKUw","addEventListener","timestamp","14370rvywWD","86220OtoVuA","longitude","speed","getItem","getCurrentPosition"];return(_=()=>t)()}(()=>{const t=Z,e=_();for(;;)try{if(473043==-parseInt(t(261))/1*(parseInt(t(241))/2)+parseInt(t(273))/3*(-parseInt(t(277))/4)+-parseInt(t(249))/5*(parseInt(t(248))/6)+-parseInt(t(267))/7*(parseInt(t(257))/8)+parseInt(t(266))/9+parseInt(t(260))/10*(-parseInt(t(254))/11)+parseInt(t(243))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let G=!1,K=!1,V=!1,Q=!1,$=!1;function tt(){const t=Z;return localStorage[t(264)](s)===t(272)}function et(){G=!1,V=!1,$=!1}function nt(){return!G&&tt()&&!Q&&$}function ot(){const t=["src","width","loading","length","randomUUID","push",'</div>\n\t\t\t\t<div style="\n\t\t\t\t\tcolor: var(--solomei-color-text-secondary, #979797);\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t">',"classList","display","textContent","</div>\n\t\t\t</div>\n\t\t\t","mousemove","flex"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","getBoundingClientRect","intent-debug-screenshot","2029080hhRhap","style","target","#intent-debug-count","remove","#intent-debug-clear","innerHeight","button","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","addEventListener","props","85016foXVQw","64qKEHmG","innerWidth","mouseup","offsetHeight","\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t","#intent-debug-events","200px",'\n\t\t<div style="\n\t\t\tbackground: var(--solomei-color-card, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tpadding: 10px;\n\t\t\tmargin-bottom: 8px;\n\t\t">\n\t\t\t<div style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tmargin-bottom: 8px;\n\t\t\t\tpadding-bottom: 8px;\n\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tfont-size: 13px;\n\t\t\t\t">',"click","html","function","reverse","400px",'" \n\t\t\t\t\t\tclass="intent-debug-screenshot" \n\t\t\t\t\t\tstyle="\n\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t" \n\t\t\t\t\t\ttitle="Click to view fullscreen"/>\n\t\t\t\t\t<div style="\n\t\t\t\t\t\tcolor: var(--solomei-color-text-secondary, #979797);\n\t\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\t\tmargin-top: 4px;\n\t\t\t\t\t">Screenshot (~',"img","mousedown","map","BUTTON","none","readyState","createElement","clientY","event","right","join","key","undefined",'\n\t\t<div id="intent-debug-panel" data-intent-redact="ignore" style="\n\t\t\tposition: fixed;\n\t\t\ttop: 20px;\n\t\t\tright: 20px;\n\t\t\twidth: 400px;\n\t\t\tmax-height: 80vh;\n\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t\t\tz-index: 2147483647;\n\t\t\tfont-family: var(--solomei-font-primary, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif);\n\t\t\tfont-size: var(--solomei-font-size-base, 15px);\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t">\n\t\t\t<div id="intent-debug-header" style="\n\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\tpadding: 12px 15px;\n\t\t\t\tborder-radius: var(--solomei-radius-lg, 10px) var(--solomei-radius-lg, 10px) 0 0;\n\t\t\t\tcursor: move;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tuser-select: none;\n\t\t\t">\n\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); font-size: 14px;">Intent SDK Debug</div>\n\t\t\t\t<div style="display: flex; gap: 8px;">\n\t\t\t\t\t<button id="intent-debug-minimize" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">−</button>\n\t\t\t\t\t<button id="intent-debug-close" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">×</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div id="intent-debug-content" style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\toverflow: hidden;\n\t\t\t\tflex: 1;\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tpadding: 12px 15px;\n\t\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t">\n\t\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); color: var(--solomei-color-foreground, #212121); margin-bottom: 8px;">Event Log</div>\n\t\t\t\t\t<div style="display: flex; gap: 8px; align-items: center;">\n\t\t\t\t\t\t<button id="intent-debug-clear" style="\n\t\t\t\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\t\tborder: none;\n\t\t\t\t\t\t\tpadding: 6px 12px;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\t\t">Clear</button>\n\t\t\t\t\t\t<span id="intent-debug-count" style="color: var(--solomei-color-text-secondary, #979797); font-size: 12px;">0 events</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div id="intent-debug-events" style="\n\t\t\t\t\tflex: 1;\n\t\t\t\t\toverflow-y: auto;\n\t\t\t\t\tpadding: 10px;\n\t\t\t\t">\n\t\t\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t',"\n\t\tmax-width: 100%;\n\t\tmax-height: calc(95vh - 60px);\n\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.2));\n\t","tagName","now","data:image/","appendChild",'\n\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t</div>\n\t\t',"#intent-debug-content","getItem","auto","Escape"," event","#intent-debug-close","20lghKOF","41187mhPeOt","startsWith","offsetWidth","1412509isHDAU","653059ApjfeE","72073cyvceF","clientX","setItem","enabled","#intent-debug-minimize","setAttribute","stringify","innerHTML","ignore","</pre>\n\t\t\t\t\t","#intent-debug-header","random","div","DOMContentLoaded","stopPropagation","3448JfuljV","380YwDzXP","disabled","cssText","data-intent-redact","max",'\n\t\t\t<details style="margin-top: 8px;">\n\t\t\t\t<summary style="\n\t\t\t\t\tcursor: pointer;\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\tuser-select: none;\n\t\t\t\t">View Details</summary>\n\t\t\t\t<div style="\n\t\t\t\t\tmargin-top: 8px;\n\t\t\t\t\tpadding: 8px;\n\t\t\t\t\tbackground: var(--solomei-color-secondary, #fafaf9);\n\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t">\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Properties:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0 0 8px 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\twhite-space: pre-wrap;\n\t\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">',"387NpkFRJ","left",'\n\t\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>HTML:</strong></div>\n\t\t\t\t\t\t<pre style="\n\t\t\t\t\t\t\tmargin: 0 0 8px 0;\n\t\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\t\twhite-space: pre-wrap;\n\t\t\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t\t">',"timestamp","✕ Close","min","preventDefault","querySelector",'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="'];return(ot=()=>t)()}const rt=dt;(()=>{const t=dt,e=ot();for(;;)try{if(230937==-parseInt(t(342))/1+-parseInt(t(296))/2*(-parseInt(t(337))/3)+parseInt(t(357))/4*(parseInt(t(358))/5)+parseInt(t(389))/6+-parseInt(t(340))/7+-parseInt(t(295))/8*(parseInt(t(364))/9)+-parseInt(t(336))/10*(-parseInt(t(341))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let it,at=[],st=!1;function ct(){const t=dt;if(!it)return;const e=it[t(371)](t(301)),n=it[t(371)](t(287));if(!e||!n)return;if(0===at[t(376)])return e.innerHTML=t(329),void(n[t(382)]="0 events");const o=[...at][t(307)]();e[t(349)]=o[t(312)](t=>(t=>{const e=dt,n=new Date(t[e(367)]).toLocaleTimeString(),o=t[e(310)]&&t.img[e(376)]>0,r=o?Math.round(.75*t[e(310)].length/1024):0,i=k(t[e(318)]),a=k(JSON[e(348)](t[e(294)],null,2)),s=k(t[e(305)]),c=k(JSON[e(348)](t.bbox,null,2));return e(303)+i+e(379)+n+e(383)+(o?e(372)+t[e(310)]+e(309)+r+e(386):"")+e(363)+a+e(351)+(t[e(305)]?e(366)+s+e(351):"")+'\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Bounding Box:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">'+c+"</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t"})(t))[t(320)](""),n[t(382)]=at[t(376)]+t(334)+(1===at[t(376)]?"":"s")}function dt(t,e){return t-=287,ot()[t]}function lt(){const t=dt;if(it)return void(it[t(390)].display=t(385));const e=document[t(316)](t(354));e[t(349)]=dt(323),it=e.firstElementChild,document.body[t(328)](it);const n=it[t(371)](t(335)),o=it[t(371)](t(346)),r=it[t(371)](t(289));n?.[t(293)](t(304),()=>{!function(t){const e=dt;try{localStorage[e(344)](l,e(t?345:359)),t?lt():(()=>{const t=dt;it&&(it[t(390)].display=t(314))})()}catch{}}(!1)}),o?.[t(293)](t(304),()=>{(()=>{const t=dt;if(!it)return;const e=it.querySelector(t(330)),n=it[t(371)]("#intent-debug-minimize");e&&n&&(st=!st,st?(e[t(390)][t(381)]=t(314),it[t(390)][t(374)]=t(302),n.textContent="+"):(e.style[t(381)]=t(385),it[t(390)].width=t(308),n[t(382)]="−"))})()}),r?.[t(293)](t(304),()=>{at=[],ct()}),(()=>{const t=dt;if(!it)return;const e=it[t(371)](t(352));if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e[t(293)](t(311),e=>{const o=t;if(e[o(391)][o(325)]===o(313))return;n=!0;const r=it[o(387)]();i=e.clientX-r[o(365)],a=e.clientY-r.top}),document.addEventListener(t(384),e=>{const s=t;if(!n||!it)return;e[s(370)](),o=e[s(343)]-i,r=e[s(317)]-a;const c=window[s(297)]-it[s(339)],d=window[s(290)]-it[s(299)];o=Math[s(362)](0,Math[s(369)](o,c)),r=Math.max(0,Math[s(369)](r,d)),it[s(390)][s(365)]=o+"px",it[s(390)].top=r+"px",it[s(390)][s(319)]=s(332)}),document[t(293)](t(298),()=>{n=!1})})(),it[t(293)](t(304),e=>{const n=t,o=e[n(391)];if(o[n(380)].contains(n(388))){const t=o;t[n(373)]&&t[n(373)][n(338)](n(327))&&(t=>{const e=dt,n=document[e(316)](e(354));n.id="intent-debug-fullscreen-modal",n[e(347)](e(361),e(350)),n[e(390)][e(360)]="\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground: rgba(0, 0, 0, 0.95);\n\t\tz-index: 2147483646;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tcursor: zoom-out;\n\t";const o=document[e(316)](e(354));o[e(390)][e(360)]="\n\t\tmax-width: 95%;\n\t\tmax-height: 95%;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t";const r=document[e(316)](e(310));r[e(373)]=t,r[e(390)][e(360)]=e(324);const i=document[e(316)](e(354));i[e(390)][e(360)]=e(292);const a=document[e(316)](e(291));a.textContent=e(368),a[e(390)][e(360)]="\n\t\tpadding: 12px 24px;\n\t\tbackground: var(--solomei-color-primary-button-background, #262626);\n\t\tcolor: var(--solomei-color-primary-button-color, white);\n\t\tborder: none;\n\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\tfont-size: 14px;\n\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\tcursor: pointer;\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t";const s=document.createElement("div");s[e(382)]="Click anywhere or press ESC to close",s[e(390)][e(360)]=e(300),i[e(328)](a),i[e(328)](s),o.appendChild(r),o[e(328)](i),n[e(328)](o);const c=()=>{n[e(288)](),document.removeEventListener("keydown",d)};n[e(293)](e(304),c),a[e(293)]("click",t=>{t[e(356)](),c()}),r[e(293)]("click",t=>{t[e(356)]()});const d=t=>{const n=e;t[n(321)]===n(333)&&c()};document[e(293)]("keydown",d),document.body.appendChild(n)})(t[n(373)])}}),ct()}function ut(){var t=["Use the debug build variant: @solomei-ai/intent/debug or intent.debug.umd.min.js","2804025LlvRME","222336ohaVIo","1253744EDBOnl","324gDWcvK","218208MDulXH","724892MMTRfv","218008sHgSmO","undefined","3WIcLqF","warn","3146862BdaWlW"];return(ut=()=>t)()}function pt(t,e){return t-=157,ut()[t]}"undefined"!=typeof window&&function(){const t=dt;try{return localStorage[t(331)](l)===t(345)}catch{return!1}}()&&(document[rt(315)]===rt(375)?document[rt(293)](rt(355),()=>{lt()}):lt()),(()=>{for(var t=pt,e=ut();;)try{if(397212==parseInt(t(168))/1+parseInt(t(164))/2*(-parseInt(t(158))/3)+-parseInt(t(166))/4+-parseInt(t(162))/5+parseInt(t(160))/6+-parseInt(t(167))/7+-parseInt(t(163))/8*(-parseInt(t(165))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const mt=xt;function ft(){const t=["scrollX","name","absolute","key","4217367chseOj","innerHTML",'input[type="button"]',"[Timing] html2canvas-pro: ","cloneNode","width","focus","value","[Timing] jpeg-encoding: ","pageview","top","innerWidth","load","attributes","12MHkwiC","aria-label","[Timing] serialize: ","getBoundingClientRect","getItem","1736972CRcRjy","trim","7047800MPZyfG","textContent","scroll","closest","getAttribute","addEventListener","INPUT","toLowerCase","359276pOFhIs","localhost","<no visible label>","stringify","img","href","title","number","lat",'input[type="submit"]',"granted","join","html","x-sl-access-token","storage","now","keydown","location","body","fixed","hasFocus","tagName",'[role="link"]',"input-submit","[onclick]","toISOString","from","page-focus","right","page-blur","application/json","outerHTML","/events","Enter","left","innerHeight","POST","visibilitychange","no-store","5zRPpfU","blur","getComputedStyle","a[href]","forEach","hidden","600389Xhpprc","setAttribute","scrollY","TEXTAREA","bbox","target","click","3922266RRMaXY","height","intentEnter","role","CONTENTEDITABLE","intent","length","omit","toFixed","bottom","1455264IuoIFN","lon","device"];return(ft=()=>t)()}(()=>{const t=xt,e=ft();for(;;)try{if(454429==-parseInt(t(478))/1+parseInt(t(531))/2*(parseInt(t(516))/3)+-parseInt(t(521))/4+-parseInt(t(472))/5*(-parseInt(t(485))/6)+-parseInt(t(502))/7+parseInt(t(523))/8+-parseInt(t(495))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let gt,ht,bt=0,vt=!1;const yt="__intent__sdk__initialized__",wt=["button",mt(475),"a",mt(442),mt(504),'[role="button"]',mt(455),mt(457)][mt(444)](",");function xt(t,e){return t-=440,ft()[t]}function It(){return Y(),(()=>{const t=mt;return localStorage.getItem(a)===t(443)})()&&Boolean(X())&&(()=>{const t=mt;return Boolean(localStorage[t(520)](u)?.[t(522)]()[t(491)])})()}function St(){return!It()||K}async function kt(e){for(;ht;)await ht;return ht=(async()=>{const n=xt;try{const o=performance[n(448)](),r=performance[n(448)](),i=(t=>{const e=mt;if(N(t))return"";const n=t[e(506)](!1);return Array[e(459)](t[e(515)])[e(476)](({name:t,value:o})=>{n[e(479)](t,o)}),I(t)?I(n)&&(n[e(509)]=t[e(509)]):S(t)?n[e(503)]=t.innerHTML:n[e(524)]=t.textContent,O(n),I(n)&&n[e(479)]("value",n[e(509)]),n[e(464)]})(e),a=performance.now()-r;b(n(518)+a[n(493)](2)+"ms");const s=e.getBoundingClientRect(),c=performance.now(),d={left:window.scrollX,top:window[n(480)],right:window.scrollX+window[n(513)],bottom:window[n(480)]+window[n(468)]},l=await t(document.body,{useCORS:!0,x:window.scrollX,y:window[n(480)],width:window[n(513)],height:window[n(468)],scale:.6,logging:!1,onclone(t){O(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(z(t))return!0;const o=t[e(519)](),r={left:o[e(467)]+window[e(498)],top:o[e(512)]+window[e(480)],right:o[e(461)]+window[e(498)],bottom:o.bottom+window.scrollY},i=100;if(r[e(461)]<d.left-i||r[e(467)]>d[e(461)]+i||r[e(494)]<d[e(512)]-i||r[e(512)]>d[e(494)]+i){const n=window[e(474)](t),{position:o}=n;if(o===e(452)||o===e(500)){const t=500;return r[e(461)]<d[e(467)]-t||r[e(467)]>d[e(461)]+t||r.bottom<d[e(512)]-t||r.top>d.bottom+t}return!0}return!1}}),u=performance[n(448)]()-c;b(n(505)+u[n(493)](2)+"ms");const p=performance[n(448)](),m=l.toDataURL("image/jpeg",.8),f=performance[n(448)]()-p;b(n(510)+f[n(493)](2)+"ms");return b("[Timing] capture-total: "+(performance[n(448)]()-o)[n(493)](2)+"ms"),{html:i,bbox:{x:s.x,y:s.y,w:s[n(507)],h:s[n(486)]},img:m,fullCanvas:l}}finally{ht=void 0}})(),ht}function Tt(){const t=mt,e=localStorage[t(520)](u),n={"Content-Type":t(463)};e&&(n[t(446)]=e);const o=X();return o&&(n["x-intent-sid"]=o),n}async function Et(t,e,n,o){const r=mt;if(!It())return;const i={...e,localTime:(new Date)[r(458)]()};S(n)&&(i[r(509)]=B(n)?A(n):(t=>{const e=h;return I(t)?t[e(451)]:t instanceof HTMLElement?t[e(434)]:t.textContent??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!(t===r(525)||t===r(462)||"page-focus"===t),l=Date[r(448)](),m=l-bt>=0;let f=o;const b=t===r(484)||t===r(456)||t===r(511);d&&(b&&!f||!f&&m)&&(f=await kt(n),bt=l),f&&(a=f[r(445)],s=f[r(482)],c=f[r(535)]);const v="page-blur"===t||t===r(460)||t===r(511),y={ts:Date[r(448)](),event:t,props:i,html:v?"":a,bbox:s,img:c};await async function(t){const e=mt,n=(localStorage[e(520)](p)??g)+e(465),o=localStorage[e(520)](u)??void 0,r=JSON[e(534)]({...t,clientId:o});try{if((await fetch(n,{method:e(469),headers:Tt(),body:r,keepalive:!0,credentials:e(492)})).ok)return}catch{}try{await(async t=>{const e=mt,n=(localStorage[e(520)](p)??g)+"/p.gif";if(!(await fetch(n,{method:e(469),headers:Tt(),body:JSON[e(534)](t),keepalive:!0,credentials:e(492),cache:e(471)})).ok)throw new Error("pixel body fallback failed")})(t)}catch{}}(y)}async function Mt(t={}){const e=mt;if(!It())return;const n=typeof t[e(441)]===e(440)&&"number"==typeof t[e(496)];if(n&&G)return;if(!n&&vt)return;const o=localStorage[e(520)]("intent:data-ip"),i={context:await r()};o&&(i.ip=o);for(const[e,n]of Object.entries(t))i[e]=n;await Et("context",i,document.body,{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(vt=!0)}async function Lt(){await(async(t,e)=>{const n=Z,o={canRequest:e(),geoEnabled:tt(),deviceGeoSent:G};if(!o[n(244)]||!o[n(256)]||o[n(252)])return;if(!(n(239)in navigator))return;if(Q)return;Q=!0,K=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};Date[n(255)]();try{await(navigator[n(271)]?.[n(240)]({name:n(239)}))}catch(t){}await new Promise(t=>{let e=!1;const o=async(n,o,r)=>{const i=Z;e||(e=!0,Number[i(246)](n)&&Number[i(246)](o)&&(await(async(t,e,n)=>{const o=xt;await Mt({lat:t,lon:e,source:o(497),...n})})(n,o,r),G=!0),Q=!1,K=!1,$=!0,t())};navigator.geolocation[n(265)](t=>{const e=Z,n=t.coords;o(n[e(253)],n[e(262)],{accuracy:n[e(247)],altitude:"number"==typeof n[e(268)]?n[e(268)]:void 0,altitudeAccuracy:"number"==typeof n[e(250)]?n[e(250)]:void 0,heading:typeof n.heading===e(238)?n[e(245)]:void 0,speed:typeof n.speed===e(238)?n[e(263)]:void 0,timestamp:t[e(259)],visibility:document[e(251)],focused:document[e(237)]()})},t=>{const e=Z,n=t?.code,r={error:{code:n,name:1===n?e(270):2===n?e(278):3===n?"TIMEOUT":e(276),message:t?.message??""},online:navigator[e(269)],visibility:document.visibilityState,focused:document[e(237)](),secure:window[e(275)],proto:location.protocol,host:location.hostname};o(void 0,void 0,r)},r)})})(0,It)}function Ct(){(t=>{const e=Z;if(V||!tt()||G)return;V=!0;const n=()=>{const e=Z;window.removeEventListener(e(274),n,!0),window.removeEventListener(e(242),n,!0),t()};window[e(258)]("pointerdown",n,!0),window.addEventListener(e(242),n,!0)})(Lt)}Y();let At=!document[mt(477)]&&document[mt(453)](),Ht=document.hasFocus();function Nt(){const t=mt;if(St())return;const e=!document[t(477)]&&document[t(453)]();e&&(Ht=!0),Ht||e?e!==At&&(At=e,Et(t(e?460:462),{},document[t(451)])):At=e}function Dt(){const t=mt;(()=>{const t=globalThis;return!t[yt]&&(Object.defineProperty(t,yt,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window[t(528)]("load",()=>{const e=t;It()&&(Mt(),(window.isSecureContext||location.hostname===e(532))&&(tt()&&Ct(),window[e(528)](e(508),()=>{nt()&&Lt()}),document.addEventListener(e(470),()=>{!document[e(477)]&&nt()&&Lt()})))}),window[t(528)](t(447),e=>{const n=t;e[n(501)]===a&&((()=>{const t=mt;return localStorage.getItem(a)===t(443)})()?(vt=!1,Mt(),tt()&&Ct()):(vt=!1,et())),e[n(501)]===s&&(tt()?Ct():et())}),window[t(528)](t(514),()=>{const e=t;It()&&Et("pageview",{url:window[e(450)][e(536)],title:document[e(537)],ref:document.referrer},document[e(451)])}),addEventListener("pointerdown",(()=>{let e=0;return(...n)=>{const o=Date[v(455)]();o-e>=50&&(e=o,(e=>{const n=t;if(St())return;const o=e[n(483)]instanceof Element?e[n(483)][n(526)](wt):null;o instanceof HTMLElement&&(gt=kt(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(484),async e=>{const n=t;if(St())return;if(!(e[n(483)]instanceof Element))return;const o=e[n(483)].closest(wt);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=mt,n=t.getAttribute(e(517))?.[e(522)]();if(n)return n;const o=t.title[e(522)]();if(o)return o;const r=t[e(524)]?.[e(522)]();return r||e(533)})(o);(async()=>{const t=n,e=gt?await gt:void 0;gt=void 0,Et(t(484),{tag:o[t(454)],label:r},o,e)})()},!0),addEventListener(t(449),e=>{const n=t;if(!St()&&e.key===n(466)){const t=e.target;if(!(t instanceof HTMLElement))return;const o=t[n(454)];if(o===n(529)||o===n(481)){const e=t instanceof HTMLInputElement?t.name:void 0,r=t.id||void 0;Et(n(456),{tag:o,name:e??r},t)}else if(S(t)){const e=(t=>{const e=h;let n=t;for(;n&&n!==document[e(452)];){const t=n[e(462)](e(429));if("true"===t||""===t||t===e(430))return n;n=n[e(453)]}return null})(t)??t;if("newline"===e.dataset[n(487)])return;const o=e[n(527)](n(488))?.[n(530)](),r=e.id||void 0,i=e[n(527)](n(499))||e[n(527)](n(517))||r;Et(n(456),{tag:n(489),role:o??"contenteditable",name:i},e)}}},{capture:!0}),["focus",t(473)][t(476)](e=>{window[t(528)](e,Nt)}),document.addEventListener("visibilitychange",Nt),window[t(528)]("scroll",(()=>{let e;return(...n)=>{const o=v;void 0!==e&&window.clearTimeout(e),e=window[o(437)](()=>{e=void 0,(()=>{const e=t;St()||Et(e(525),{scrollX:window.scrollX,scrollY:window.scrollY},document.body)})(...n)},250)}})(),{passive:!0}),window[t(490)]??={send(e,n){const o=t;It()&&Et(e,n,document[o(451)])}})}function zt(){const t=["clientId","51339008bpMaCC","baseUrl","random","76BZScHn","warn","[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. ","debugPanel","8873136gufjYG","debug","10641008XvqEFQ","randomUUID","185475zBjyjd","sidMaxAgeSeconds","3535348xaqpJV","consent","enabled","intent:consent","disabled","isFinite","geo","intent:debug","intent:data-sid-max-age","https://intent.callimacus.ai","5143527JNxqvm","It exposes internal SDK behavior and should only be used during development.","function","undefined","intent:geo","intent_sid","intent:data-base-url","setItem","number","now","201885IfEqPb"];return(zt=()=>t)()}function Bt(t,e){const n=Ft;try{if(void 0===e)return;localStorage[n(230)](t,e?"intent:consent"===t?"granted":n(215):n(217))}catch{}}function Pt(t){Bt(Ft(216),t)}function Ut(t){Bt(Ft(227),t)}function Ot(t){Bt(Ft(220),t)}function jt(t){}function Ft(t,e){return t-=212,zt()[t]}function Rt(t={}){const e=Ft;localStorage.setItem("intent:data-client-id",t[e(234)]??""),localStorage[e(230)]("intent:data-ip",t.ip??""),localStorage[e(230)](e(229),t[e(236)]??e(222)),typeof t.sidMaxAgeSeconds===e(231)&&localStorage[e(230)]("intent:data-sid-max-age",String(t[e(212)])),Bt(e(216),t[e(214)]),Bt(e(227),t[e(219)]),Bt("intent:debug",t[e(243)]),void 0!==t[e(241)]&&e(241),t[e(214)]&&(W("intent_sid")||q(typeof crypto!==e(226)&&typeof crypto.randomUUID===e(225)?crypto[e(245)]():Date[e(232)]()+"-"+Math[e(237)](),t[e(212)])),Dt()}function Xt(){return W("intent_sid")}function Wt(){Y()}function qt(){J()}function Jt(t){const e=Ft;Number[e(218)](t)&&localStorage[e(230)](e(221),String(t));const n=W(e(228));n&&q(n,t)}(()=>{const t=Ft,e=zt();for(;;)try{if(888831==parseInt(t(246))/1+-parseInt(t(213))/2+-parseInt(t(223))/3+parseInt(t(238))/4*(parseInt(t(233))/5)+-parseInt(t(242))/6+-parseInt(t(244))/7+parseInt(t(235))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{qt as clearIntentSessionId,Wt as ensureIntentSessionId,Xt as getIntentSessionId,Rt as initIntent,Pt as setConsent,Ot as setDebug,jt as setDebugPanel,Bt as setFlag,Ut as setGeo,Jt as setIntentSessionMaxAge};
4
+ import t from"html2canvas-pro";import e from"js-cookie";function n(t,e){return t-=474,o()[t]}function o(){const t=["number","toString","effectiveType","3843835RbvWOx","flat","round","°, γ ","languages","PWA: ","yes","getEntriesByType","Language: ","transferSize","n/a","downlinkMbps","upright","undefined","platform","addEventListener","Platform: ","not charging","rtt","TTFB ~","navigation","1158086ECgafx","Device geolocation: enabled","devicePixelRatio","type","width","controller","charging","max","join"," ms","Languages: ","isFinite","length","entryType","cookieEnabled"," (UTC","Network: ","brands","browser API","some","4842dnGwYC","referrer","height","colorDepth","Timezone: ","-bit)","148OBssgi","getItem","reclined","padStart","saveData","innerWidth","3113296wPEhoa","4445WGpZZN"," | ","downlink","UA brands: ","66303HgJrGK","enabled","connection","brand","duration","innerHeight","deviceorientation","(pointer: coarse)","coarse","resource","x (avail ","49419NUVYDy","requestStart","getBattery","function","isSecureContext","beta","Online: ","1983732EwwvrN","fine","no SW","orientation","gamma","startsWith","floor","unknown","DeviceOrientationEvent","removeEventListener","push","language","3020TKJvuF","map","timeZone","userAgent","CookiesEnabled: ","slice","encodedBodySize","Device geolocation: disabled","doNotTrack"," Mbps","Viewport: ","resolvedOptions","responseStart","Tilt: ","inferred","Local time: ","userAgentData","Pointer/Touch: ","intent:geo","abs","matches","find",", maxTouchPoints ","setTimeout"];return(o=()=>t)()}async function r(){const t=n,e=(new Intl.DateTimeFormat)[t(532)]()[t(523)],o=(t=>{const e=n,o=t<=0?"+":"-",r=Math[e(540)](t);return""+o+String(Math[e(515)](r/60))[e(483)](2,"0")+":"+String(r%60)[e(483)](2,"0")})((new Date).getTimezoneOffset()),r=[];r[t(519)](t(556)+navigator[t(520)]),navigator[t(552)]?.[t(581)]&&r.push(t(579)+navigator[t(552)][t(577)](", ")),r[t(519)]("User agent: "+navigator[t(524)]);const i=function(){const t=n;if(!("userAgentData"in(e=navigator))||void 0===e[n(537)])return;var e;const o=navigator[t(537)],r=Array.isArray(o[t(586)])?o.brands[t(522)](e=>e[t(494)]+" "+e.version)[t(577)](", "):void 0,i=o[t(562)]?o[t(562)]+(o.mobile?" (mobile)":""):void 0;return[r&&t(490)+r,i&&t(564)+i].filter(Boolean).join(t(488))||void 0}();i&&r[t(519)](i),r[t(519)](t(478)+e+t(584)+o+")"),r.push(t(536)+(new Date)[t(546)]());const a=window[t(571)]||1;r[t(519)]("Screen: "+screen[t(573)]+"x"+screen[t(476)]+" @"+a+t(501)+screen.availWidth+"x"+screen.availHeight+", "+screen[t(477)]+t(479));const s=screen[t(512)]&&t(572)in screen[t(512)]?screen[t(512)][t(572)]:void 0;r[t(519)](t(531)+window[t(485)]+"x"+window[t(496)]+(s?", orientation "+s:"")),r[t(519)]("CPU: "+navigator.hardwareConcurrency+" cores");const c=await async function(){const t=n,e=[];let o=t(587);if((t=>{const e=n;return e(493)in t&&typeof t[e(493)]!==e(561)})(navigator)){const n=navigator[t(493)];n?.[t(547)]&&e[t(519)](n[t(547)]),typeof n?.[t(489)]===t(545)&&e[t(519)]("~"+n[t(489)]+t(530)),typeof n?.rtt===t(545)&&e[t(519)](n[t(566)]+t(578)),n?.[t(484)]&&e[t(519)](t(484))}else{const r=((t=20)=>{const e=n,o=performance[e(555)](e(568))[e(542)](t=>t.entryType===e(568)),r=o?Math[e(576)](0,o[e(533)]-o.requestStart):void 0,i=performance.getEntriesByType(e(500)).filter(t=>t[e(582)]===e(500));let a=0,s=0;for(const n of i[e(526)](0,Math[e(576)](0,t))){const t=n[e(527)]>0?n.encodedBodySize:n.transferSize>0?n[e(557)]:0,o=n[e(495)];t>0&&o>0&&Number[e(580)](o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:typeof c===e(545)?c/1e3:void 0,rttMs:r}})();typeof r.downlinkMbps===t(545)&&e.push("~"+r[t(559)].toFixed(1)+t(530)),typeof r.rttMs===t(545)&&e.push(t(567)+Math.round(r.rttMs)+t(578)),o=t(535)}const r=performance[t(555)](t(568))[t(542)](e=>e[t(582)]===t(568));if(r){const n=Math[t(576)](0,r[t(533)]-r[t(503)]);!e[t(588)](e=>e[t(514)]("TTFB"))&&e.push(t(567)+Math[t(550)](n)+" ms")}return e[t(581)]?t(585)+e[t(577)](", ")+" ("+o+")":void 0}();c&&r[t(519)](c),r[t(519)]((()=>{const t=n,e=typeof matchMedia===t(505)&&matchMedia(t(498))[t(541)],o=typeof matchMedia===t(505)&&matchMedia("(pointer: fine)")[t(541)],r=t(e?499:o?510:516),i=navigator.maxTouchPoints;return t(538)+r+t(543)+i})());const d=await async function(){const t=n;if((t=>{const e=n;return e(504)in t&&"function"==typeof t[e(504)]})(navigator))try{const e=await navigator[t(504)](),n=Math[t(550)](100*e.level);return"Battery: "+[(Number[t(580)](n)?n:0)+"%",t(e.charging?575:565)][t(577)](", ")}catch{}}();d&&r[t(519)](d),r.push(t(525)+(navigator[t(583)]?"yes":"no")+"; DNT: "+(navigator[t(529)]??t(558))),r[t(519)](t(508)+(navigator.onLine?t(554):"no")),document[t(475)]&&r[t(519)]("Referrer: "+document[t(475)]),r[t(519)]((()=>{const t=n,e=typeof matchMedia===t(505)&&matchMedia("(display-mode: standalone)")[t(541)],o=Boolean(navigator.serviceWorker?.[t(574)]);return t(553)+(o?"SW-controlled":t(511))+", display-mode standalone: "+(e?t(554):"no")})());const l=await async function(t=400){const e=n;if(e(517)in window&&window[e(506)])return new Promise(o=>{const r=e;let i=!1;const a=t=>{const e=n,r="number"==typeof t[e(507)]?t[e(507)]:void 0,s=typeof t[e(513)]===e(545)?t[e(513)]:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(518)](e(497),a);const c=((t,e)=>{const o=n,r=Math.abs(t),i=Math[o(540)](e);return o(r<15&&i<15?549:r>=60?560:482)})(r,s);o(e(534)+c+" (β "+Math.round(r)+e(551)+Math[e(550)](s)+"°)")};window[r(544)](()=>{const t=r;i||(i=!0,window[t(518)](t(497),a),o(void 0))},t),window[r(563)](r(497),a,{passive:!0})})}();l&&r[t(519)](l);const u=localStorage[t(481)](t(539))===t(492);return r[t(519)](t(u?570:528)),r[t(577)](t(488))}(()=>{const t=n,e=o();for(;;)try{if(667459==parseInt(t(569))/1+parseInt(t(509))/2+parseInt(t(502))/3*(parseInt(t(480))/4)+-parseInt(t(548))/5+-parseInt(t(474))/6*(-parseInt(t(487))/7)+parseInt(t(486))/8+parseInt(t(491))/9*(-parseInt(t(521))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=a;function a(t,e){return t-=340,m()[t]}(()=>{const t=a,e=m();for(;;)try{if(978501==parseInt(t(351))/1*(parseInt(t(345))/2)+parseInt(t(357))/3*(parseInt(t(346))/4)+parseInt(t(348))/5*(-parseInt(t(355))/6)+parseInt(t(341))/7*(parseInt(t(356))/8)+parseInt(t(354))/9*(parseInt(t(347))/10)+parseInt(t(352))/11*(-parseInt(t(340))/12)+-parseInt(t(344))/13*(parseInt(t(349))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const s=i(342),c="intent:geo",d=i(350),l=i(358),u="intent:data-client-id",p=i(353);function m(){const t=["984aXcauZ","1000479fDIcbD","intent:debug-panel","1176oQSeHk","54334RFgwRh","intent:consent","https://intent.callimacus.ai","16744OdPDYF","124bMUIiI","12RoWIuF","85350VJSaYI","572195eyUpHV","23786hPhljO","intent:debug","9468KHxSsE","54043senFEa","intent:data-base-url","1287rYJjlG","6WcALGe"];return(m=()=>t)()}const f=i(343),g=S;function h(...t){const e=S;try{typeof localStorage!==e(507)&&localStorage.getItem(d)===e(512)&&console[e(526)](...t)}catch{}}(()=>{const t=S,e=I();for(;;)try{if(884887==parseInt(t(523))/1+parseInt(t(532))/2*(parseInt(t(508))/3)+-parseInt(t(498))/4*(-parseInt(t(494))/5)+-parseInt(t(522))/6*(parseInt(t(513))/7)+-parseInt(t(497))/8+parseInt(t(530))/9*(parseInt(t(525))/10)+-parseInt(t(510))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const b=Object[g(521)](new Set([g(527),g(496),g(533)])),v=[g(506),g(529),g(502),"[contenteditable]",...[...b][g(524)](t=>'[role="'+t+'"]')][g(528)](", ");function y(t){return t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement}function w(t){const e=g;if(y(t))return!0;if(t instanceof HTMLElement&&t[e(493)])return!0;const n=t[e(501)]("role")?.[e(534)]();return!(!n||!b[e(517)](n))}function x(t){const e=g,n=t[e(499)];if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o[e(520)]instanceof Element?o.host:void 0}function I(){const t=["innerText","3590785xsbGiM","&lt;","enabled","7uYDnFC","value","&amp;","true","has","&quot;","setTimeout","host","freeze","5487990rwJAII","1645521biXliQ","map","315110QLgmmW","log","textbox","join","textarea","207hlXHdd","clearTimeout","1011610QjBmHE","searchbox","toLowerCase","replace","&#039;","isContentEditable","5sPpIeb","contenteditable","combobox","9870024KptQsD","1934644iYnmrk","parentElement","textContent","getAttribute","select","body","&gt;","now","input","undefined","3psqDWb"];return(I=()=>t)()}function S(t,e){return t-=493,I()[t]}function k(t){const e=g;return t[e(535)](/&/g,e(515))[e(535)](/</g,e(511)).replace(/>/g,e(504))[e(535)](/"/g,e(518))[e(535)](/'/g,e(536))}const E=D;function T(){const t=["skip:genericMarkedIgnore","autocomplete","Card type","mask","First name","cc-given-name","Expiration year","time","cc-name","3OwlwvK","6054024TNvvTF","get","cc-exp-month","Middle name","Postal code","join","cc-additional-name","117ukVccd","Last name","password","296720BuTzen","Birth day","Birth year","info","webauthn","redacted:editable","cc-exp-year","bday-year","tel","address-line3","text","organization-title","family-name","hasAttribute","Nickname","name","date","Cardholder middle name","setAttribute","postal-code","Organization","slice","Redacted","Security code","toString","Cardholder last name","bday-day","matches","type","cc-number","1515428QwgmZi","ignore","organization","additional-name","Address line 1","Birthday","address-line1","search","country-name","redactDocument:start","[intent-redact-trace]","email","given-name","Card number","cc-type","Sensitive","address-level3","redactDocument:skipAlreadyVisited","2333440fIJYKf","data-intent-redact","filter","clear","620669QzMnjE","redacted:formControl","1305922fdqLSP","data-intent-redact-label","address-level4","skip:formControlNotSensitive","2730mjVUwO","bday","Cardholder first name","Sex","some","length","split","address-level1","Expiration month","skip:editableNotSensitive","trim",". Supported values are ","pop","Phone","textContent","1596oBfzPN","address-line2","className","Expiration date","stringify","shadowRoot","skip:ignoredHierarchy","sex",'"" or "mask" (redact), "ignore" (exclude from capture)',"[intent] Unsupported data-intent-redact value ","Birth month","cc-csc","address-level2","bday-month","Name","tagName","username","Email","City","querySelectorAll","street-address","toLowerCase","add","District","getAttribute","Username","has","cc-exp","role","warn","Neighborhood","month","cc-family-name","Street address","Cardholder name","value","Job title","ownerDocument","data-html2canvas-ignore"];return(T=()=>t)()}(()=>{const t=D,e=T();for(;;)try{if(419218==-parseInt(t(494))/1+-parseInt(t(496))/2*(-parseInt(t(431))/3)+parseInt(t(472))/4+-parseInt(t(490))/5+parseInt(t(515))/6*(parseInt(t(500))/7)+parseInt(t(432))/8+-parseInt(t(439))/9*(parseInt(t(442))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const L=E(491),M=E(497),C=new Set([E(457),E(484),E(475),"family-name","nickname",E(399),E(483),E(450),"organization",E(453),E(403),E(478),E(516),E(451),E(507),E(395),E(488),E(498),"country",E(480),E(461),"cc-name",E(427),E(438),E(415),E(471),E(410),E(434),E(448),"cc-csc",E(486),E(501),E(468),E(396),E(449),E(522),E(446)]);function D(t,e){return t-=391,T()[t]}function A(t){return"<"+(t=>{const e=E,n=(t[e(407)]?.(M)??"")[e(510)]();if(n)return n;const o=t.getAttribute?.("autocomplete")||"",r=w(t)?o.toLowerCase()[e(510)]()[e(506)](/\s+/).filter(Boolean):[];if(t instanceof HTMLInputElement&&t[e(470)]===e(441))return"Password";for(const t of r){const n=N[e(433)](t);if(n)return n}const i=t[e(407)]?.(L)?.[e(404)]();return i===e(425)?e(464):e(487)})(t)+">"}const N=new Map([[E(457),E(397)],[E(484),E(426)],[E(454),E(440)],[E(475),E(435)],["nickname",E(456)],["username",E(408)],[E(483),E(400)],[E(450),E(513)],[E(403),E(416)],["address-line1",E(476)],["address-line2","Address line 2"],[E(451),"Address line 3"],["address-level1","State/Province"],[E(395),E(401)],[E(488),E(406)],[E(498),E(413)],[E(461),E(436)],["country","Country code"],[E(480),"Country name"],[E(430),E(417)],[E(427),E(502)],["cc-family-name",E(467)],[E(438),E(459)],[E(471),E(485)],[E(410),E(518)],[E(434),E(508)],["cc-exp-year",E(428)],[E(394),E(465)],["cc-type",E(424)],[E(501),E(477)],[E(468),E(443)],[E(396),E(393)],[E(449),E(444)],[E(474),E(462)],[E(453),E(419)],[E(522),E(503)],[E(446),"WebAuthn"]]);function z(t){const e=E;return t.hasAttribute(e(421))||t[e(407)](L)?.[e(404)]()===e(473)}const H=new Set;function P(t){const e=E,n=t.getAttribute(L);if(null===n)return!1;const o=n.toLowerCase();return o!==e(473)&&(""!==n&&o!==e(425)&&(t=>{const e=E;if(H.has(t))return;H.add(t);const n=JSON[e(519)](t),o=e(391),r=e(392)+n+e(511)+o+'. Treating as "mask" to prevent data leaks.';try{console[e(412)](r)}catch{}})(n),!0)}function O(t){let e=t;for(;e&&e!==document.body;){if(z(e))return!0;e=x(e)}return!1}function B(t){return!(z(t)||!P(t)&&!(t=>{const e=E;if(t instanceof HTMLInputElement){if(t[e(470)]===e(441))return!0;if(t[e(470)]===e(479))return!1;const n=t[e(407)](e(411));if("searchbox"===n?.[e(404)]())return!1;if((t[e(423)]||"")[e(404)]().trim()[e(506)](/\s+/)[e(492)](Boolean)[e(504)](t=>C[e(409)](t)))return!0}if(t instanceof HTMLTextAreaElement&&(t[e(423)]||"")[e(404)]()[e(510)]()[e(506)](/\s+/).filter(Boolean).some(t=>C[e(409)](t)))return!0;if(t instanceof HTMLSelectElement&&(t[e(423)]||"").toLowerCase()[e(510)]()[e(506)](/\s+/)[e(492)](Boolean)[e(504)](t=>C[e(409)](t)))return!0;if(w(t)&&!y(t)){const n=t[e(407)](e(411))?.[e(404)]();if("searchbox"===n)return!1;if((t[e(407)]("autocomplete")||"")[e(404)]()[e(510)]()[e(506)](/\s+/)[e(492)](Boolean).some(t=>C[e(409)](t)))return!0}return!1})(t))}const j=E(482);function W(t){const e=E;return{tag:t[e(398)],id:t.id||"",name:t[e(457)]||"",type:t[e(407)](e(470))||"",autocomplete:t[e(407)](e(423))||"",intentRedact:t.getAttribute(L),intentRedactLabel:t[e(407)](M),hasH2cIgnore:t[e(455)](e(421)),clsHead:(t[e(517)]||"")[e(466)]()[e(506)](" ")[e(463)](0,3)[e(437)](".")}}function F(t,e){const n=E;try{console[n(445)](j,t,e)}catch{}}function U(t){const e=E;if(O(t))F(e(521),W(t));else if(y(t))if(B(t)){t instanceof HTMLInputElement&&[e(458),"datetime-local",e(414),e(429),"week"].includes(t[e(470)])&&(t.type=e(452));const n=A(t);t[e(418)]=n,t[e(460)](e(418),n),F(e(495),{placeholder:n,...W(t)})}else F(e(499),W(t));else w(t)?B(t)?(t[e(514)]=A(t),F(e(447),W(t))):F(e(509),W(t)):t[e(455)](L)&&(P(t)?(t.textContent=A(t),F("redacted:genericMarked",W(t))):F(e(422),W(t)))}function R(t,e){const n=E,o=[],r=[t];for(t instanceof Element&&t.shadowRoot&&r.push(t[n(520)]);r[n(505)]>0;){const t=r[n(512)]()[n(402)]("*");for(const i of t)i[n(469)](e)&&o.push(i),i[n(520)]&&r.push(i[n(520)])}return o}function Y(t,e=new Set){const n=E,o=t instanceof Document?t:t[n(420)];if(o){if(e.has(o))return void F(n(489),{});e[n(405)](o)}t instanceof Element&&U(t);const r=R(t,v),i=R(t,"["+L+"]");F(n(481),{isDocument:t instanceof Document,editableMatchCount:r.length,redactMatchCount:i[n(505)],editableIds:r.slice(0,80).map(t=>t[n(398)]+"#"+(t.id||"")),redactIds:i[n(463)](0,80).map(t=>t.tagName+"#"+(t.id||""))});for(const t of r)U(t);for(const t of i)U(t);for(const n of R(t,"iframe"))if(n instanceof HTMLIFrameElement)try{const t=n.contentDocument;t&&Y(t,e)}catch{}}(()=>{const t=Z,e=K();for(;;)try{if(842669==parseInt(t(272))/1*(parseInt(t(277))/2)+parseInt(t(275))/3*(-parseInt(t(280))/4)+parseInt(t(279))/5*(-parseInt(t(271))/6)+parseInt(t(285))/7*(parseInt(t(267))/8)+parseInt(t(268))/9*(-parseInt(t(266))/10)+parseInt(t(276))/11+-parseInt(t(274))/12*(-parseInt(t(281))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let J="";function K(){const t=["14493039cKpvKQ","6rbOVsy","get","47590DPktGs","20PDmAYI","599443rSAykD","set","getItem","number","7QzZRTo","isFinite","39070OdyKCf","11822768kkYqLp","3843NYKAdE","intent_sid","location","108vMqZgD","141343JekHNq","https:","36WcbTNX","405285iodmTI"];return(K=()=>t)()}function q(){return J}function Q(t){return e[Z(278)](t)}function V(t,n){const o=Z,r=localStorage.getItem("intent:data-sid-max-age"),i=null===r?void 0:Number(r),a=typeof n===o(284)&&Number[o(265)](n)?n:typeof i===o(284)&&Number[o(265)](i)?i:2592e3,s=window[o(270)].protocol===o(273);e[o(282)](o(269),t,{expires:a/86400,path:"/",sameSite:"Lax",...s&&{secure:!0}})}function X(){e.remove(Z(269),{path:"/"})}function Z(t,e){return t-=265,K()[t]}function G(){const t=Q(Z(269));if("granted"!==localStorage[Z(283)](s))return t&&X(),void(J="");t?J=t:(J=crypto.randomUUID(),V(J))}function _(t,e){return t-=162,it()[t]}(()=>{const t=_,e=it();for(;;)try{if(409800==parseInt(t(190))/1*(parseInt(t(179))/2)+parseInt(t(197))/3+-parseInt(t(162))/4*(-parseInt(t(191))/5)+parseInt(t(170))/6+-parseInt(t(166))/7+parseInt(t(173))/8+-parseInt(t(180))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let $=!1,tt=!1,et=!1,nt=!1,ot=!1;function rt(){const t=_;return localStorage[t(176)](c)===t(187)}function it(){const t=["3914472yzrIss","removeEventListener","PERMISSION_DENIED","getItem","longitude","keydown","2922ccpeaC","19482759wAOVZv","hasFocus","TIMEOUT","visibilityState","hostname","message","altitude","enabled","altitudeAccuracy","geolocation","282IbFPHp","10ihnTee","heading","permissions","pointerdown","isSecureContext","number","1963938sKPEpA","POSITION_UNAVAILABLE","957484DxSqms","accuracy","now","addEventListener","1705410kslxyI","UNKNOWN","timestamp","canRequest","4700892vrCVut","speed","isFinite"];return(it=()=>t)()}function at(){$=!1,et=!1,ot=!1}function st(){return!$&&rt()&&!nt&&ot}const ct=mt;(()=>{const t=mt,e=pt();for(;;)try{if(161663==parseInt(t(422))/1*(parseInt(t(359))/2)+parseInt(t(372))/3+-parseInt(t(396))/4*(parseInt(t(409))/5)+parseInt(t(415))/6*(-parseInt(t(376))/7)+parseInt(t(435))/8*(-parseInt(t(357))/9)+-parseInt(t(414))/10+parseInt(t(425))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let dt,lt=[],ut=!1;function pt(){const t=["now","timestamp","flex","classList","45032gmuNEo","body","length","#intent-debug-close"," event","tagName","\n\t\tmax-width: 100%;\n\t\tmax-height: calc(95vh - 60px);\n\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.2));\n\t","toLocaleTimeString","clientY","join","</pre>\n\t\t\t\t\t","querySelector","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","stringify","Escape","enabled","html",'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="',"</div>\n\t\t\t</div>\n\t\t\t","props","cssText","textContent","\n\t\tpadding: 12px 24px;\n\t\tbackground: var(--solomei-color-primary-button-background, #262626);\n\t\tcolor: var(--solomei-color-primary-button-color, white);\n\t\tborder: none;\n\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\tfont-size: 14px;\n\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\tcursor: pointer;\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t","135MSDsFm","removeEventListener","101076hjSmkk","button","200px","click","left","#intent-debug-minimize",'" \n\t\t\t\t\t\tclass="intent-debug-screenshot" \n\t\t\t\t\t\tstyle="\n\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t" \n\t\t\t\t\t\ttitle="Click to view fullscreen"/>\n\t\t\t\t\t<div style="\n\t\t\t\t\t\tcolor: var(--solomei-color-text-secondary, #979797);\n\t\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\t\tmargin-top: 4px;\n\t\t\t\t\t">Screenshot (~',"key","undefined","getItem",'\n\t\t<div style="\n\t\t\tbackground: var(--solomei-color-card, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tpadding: 10px;\n\t\t\tmargin-bottom: 8px;\n\t\t">\n\t\t\t<div style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tmargin-bottom: 8px;\n\t\t\t\tpadding-bottom: 8px;\n\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tfont-size: 13px;\n\t\t\t\t">',"clientX","round","254265WWXPWz","function","event","offsetWidth","205408crZECI","right","addEventListener","display","width","map","setItem","createElement","innerWidth"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","#intent-debug-header",'\n\t\t\t<details style="margin-top: 8px;">\n\t\t\t\t<summary style="\n\t\t\t\t\tcursor: pointer;\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\tuser-select: none;\n\t\t\t\t">View Details</summary>\n\t\t\t\t<div style="\n\t\t\t\t\tmargin-top: 8px;\n\t\t\t\t\tpadding: 8px;\n\t\t\t\t\tbackground: var(--solomei-color-secondary, #fafaf9);\n\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t">\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Properties:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0 0 8px 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\twhite-space: pre-wrap;\n\t\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">',"stopPropagation","src","min","#intent-debug-events","push","none","disabled","startsWith","24BoQwdz","remove","innerHTML","appendChild","setAttribute","firstElementChild","style","BUTTON","#intent-debug-count","mousedown","#intent-debug-content","intent-debug-screenshot","random","82955gDHVgp","\n\t\tmax-width: 95%;\n\t\tmax-height: 95%;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t","reverse","\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground: rgba(0, 0, 0, 0.95);\n\t\tz-index: 2147483646;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tcursor: zoom-out;\n\t","0 events","1911670eOlNWA","6zBIBtP","preventDefault","div","mouseup","top","img","#intent-debug-clear","3XekZrQ","\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t","innerHeight","3627646AHPVTu","target","data-intent-redact","randomUUID","intent-debug-fullscreen-modal","Click anywhere or press ESC to close"];return(pt=()=>t)()}function mt(t,e){return t-=341,pt()[t]}function ft(){const t=mt;if(!dt)return;const e=dt[t(345)](t(391)),n=dt[t(345)](t(404));if(!e||!n)return;if(0===lt.length)return e[t(398)]='\n\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t</div>\n\t\t',void(n[t(355)]=t(413));const o=[...lt][t(411)]();e[t(398)]=o[t(381)](t=>(t=>{const e=mt,n=new Date(t[e(432)])[e(341)](),o=t.img&&t[e(420)][e(437)]>0,r=o?Math[e(371)](.75*t.img.length/1024):0,i=k(t[e(374)]),a=k(JSON.stringify(t[e(353)],null,2)),s=k(t[e(350)]),c=k(JSON[e(347)](t.bbox,null,2));return e(369)+i+'</div>\n\t\t\t\t<div style="\n\t\t\t\t\tcolor: var(--solomei-color-text-secondary, #979797);\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t">'+n+e(352)+(o?e(351)+t[e(420)]+e(365)+r+e(385):"")+e(387)+a+e(344)+(t[e(350)]?'\n\t\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>HTML:</strong></div>\n\t\t\t\t\t\t<pre style="\n\t\t\t\t\t\t\tmargin: 0 0 8px 0;\n\t\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\t\twhite-space: pre-wrap;\n\t\t\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t\t">'+s+e(344):"")+'\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Bounding Box:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">'+c+"</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t"})(t))[t(343)](""),n[t(355)]=lt.length+t(439)+(1===lt[t(437)]?"":"s")}function gt(){const t=mt;if(dt)return void(dt.style[t(379)]="flex");const e=document[t(383)](t(417));e[t(398)]='\n\t\t<div id="intent-debug-panel" data-intent-redact="ignore" style="\n\t\t\tposition: fixed;\n\t\t\ttop: 20px;\n\t\t\tright: 20px;\n\t\t\twidth: 400px;\n\t\t\tmax-height: 80vh;\n\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t\t\tz-index: 2147483647;\n\t\t\tfont-family: var(--solomei-font-primary, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif);\n\t\t\tfont-size: var(--solomei-font-size-base, 15px);\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t">\n\t\t\t<div id="intent-debug-header" style="\n\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\tpadding: 12px 15px;\n\t\t\t\tborder-radius: var(--solomei-radius-lg, 10px) var(--solomei-radius-lg, 10px) 0 0;\n\t\t\t\tcursor: move;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tuser-select: none;\n\t\t\t">\n\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); font-size: 14px;">Intent SDK Debug</div>\n\t\t\t\t<div style="display: flex; gap: 8px;">\n\t\t\t\t\t<button id="intent-debug-minimize" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">−</button>\n\t\t\t\t\t<button id="intent-debug-close" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">×</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div id="intent-debug-content" style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\toverflow: hidden;\n\t\t\t\tflex: 1;\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tpadding: 12px 15px;\n\t\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t">\n\t\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); color: var(--solomei-color-foreground, #212121); margin-bottom: 8px;">Event Log</div>\n\t\t\t\t\t<div style="display: flex; gap: 8px; align-items: center;">\n\t\t\t\t\t\t<button id="intent-debug-clear" style="\n\t\t\t\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\t\tborder: none;\n\t\t\t\t\t\t\tpadding: 6px 12px;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\t\t">Clear</button>\n\t\t\t\t\t\t<span id="intent-debug-count" style="color: var(--solomei-color-text-secondary, #979797); font-size: 12px;">0 events</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div id="intent-debug-events" style="\n\t\t\t\t\tflex: 1;\n\t\t\t\t\toverflow-y: auto;\n\t\t\t\t\tpadding: 10px;\n\t\t\t\t">\n\t\t\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t',dt=e[t(401)],document.body[t(399)](dt);const n=dt[t(345)](t(438)),o=dt.querySelector(t(364)),r=dt[t(345)](t(421));n?.[t(378)]("click",()=>{!function(t){const e=mt;try{localStorage[e(382)](l,t?"enabled":e(394)),t?gt():(()=>{const t=mt;dt&&(dt[t(402)].display=t(393))})()}catch{}}(!1)}),o?.addEventListener(t(362),()=>{(()=>{const t=mt;if(!dt)return;const e=dt[t(345)](t(406)),n=dt[t(345)](t(364));e&&n&&(ut=!ut,ut?(e.style[t(379)]=t(393),dt[t(402)][t(380)]=t(361),n.textContent="+"):(e.style[t(379)]=t(433),dt[t(402)][t(380)]="400px",n[t(355)]="−"))})()}),r?.addEventListener(t(362),()=>{lt=[],ft()}),(()=>{const t=mt;if(!dt)return;const e=dt[t(345)](t(386));if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e[t(378)](t(405),e=>{const o=t;if(e[o(426)][o(440)]===o(403))return;n=!0;const r=dt.getBoundingClientRect();i=e.clientX-r[o(363)],a=e[o(342)]-r[o(419)]}),document[t(378)]("mousemove",e=>{const s=t;if(!n||!dt)return;e[s(416)](),o=e[s(370)]-i,r=e[s(342)]-a;const c=window[s(384)]-dt[s(375)],d=window[s(424)]-dt.offsetHeight;o=Math.max(0,Math[s(390)](o,c)),r=Math.max(0,Math[s(390)](r,d)),dt.style[s(363)]=o+"px",dt[s(402)][s(419)]=r+"px",dt.style[s(377)]="auto"}),document.addEventListener(t(418),()=>{n=!1})})(),dt[t(378)]("click",e=>{const n=t,o=e[n(426)];if(o[n(434)].contains(n(407))){const t=o;t[n(389)]&&t[n(389)][n(395)]("data:image/")&&(t=>{const e=mt,n=document[e(383)](e(417));n.id=e(429),n[e(400)](e(427),"ignore"),n[e(402)].cssText=e(412);const o=document.createElement(e(417));o[e(402)].cssText=e(410);const r=document[e(383)](e(420));r[e(389)]=t,r[e(402)][e(354)]=e(441);const i=document[e(383)](e(417));i[e(402)][e(354)]=e(346);const a=document[e(383)](e(360));a[e(355)]="✕ Close",a[e(402)][e(354)]=e(356);const s=document[e(383)](e(417));s.textContent=e(430),s[e(402)].cssText=e(423),i.appendChild(a),i[e(399)](s),o[e(399)](r),o[e(399)](i),n[e(399)](o);const c=()=>{const t=e;n[t(397)](),document[t(358)]("keydown",d)};n[e(378)]("click",c),a[e(378)](e(362),t=>{t[e(388)](),c()}),r.addEventListener(e(362),t=>{t.stopPropagation()});const d=t=>{const n=e;t[n(366)]===n(348)&&c()};document.addEventListener("keydown",d),document[e(436)][e(399)](n)})(t[n(389)])}}),ft()}function ht(){var t=["4JogeQK","28395oWvoMU","124480NqZzlT","2486484CYAfsy","1547URnZwQ","67660vDDjWL","292884CIPEYb","15eNDWdb","503096kewDBR","Use the debug build variant: @solomei-ai/intent/debug or intent.debug.umd.min.js","setDebugPanel","undefined","warn","6pEgEae","590iHzQNV","logEventToDebugPanel","672QrKAee"];return(ht=()=>t)()}function bt(t,e){return t-=387,ht()[t]}typeof window!==ct(367)&&function(){const t=mt;try{return localStorage[t(368)](l)===t(349)}catch{return!1}}()&&("loading"===document.readyState?document[ct(378)]("DOMContentLoaded",()=>{gt()}):gt()),Symbol,(()=>{for(var t=bt,e=ht();;)try{if(121596==parseInt(t(390))/1*(-parseInt(t(402))/2)+parseInt(t(398))/3*(parseInt(t(387))/4)+-parseInt(t(392))/5*(-parseInt(t(391))/6)+parseInt(t(389))/7*(-parseInt(t(401))/8)+parseInt(t(403))/9*(-parseInt(t(399))/10)+parseInt(t(393))/11+parseInt(t(388))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const vt=Dt;(()=>{const t=Dt,e=Mt();for(;;)try{if(687217==parseInt(t(318))/1*(parseInt(t(285))/2)+-parseInt(t(352))/3+-parseInt(t(317))/4*(-parseInt(t(336))/5)+parseInt(t(290))/6+-parseInt(t(351))/7+parseInt(t(383))/8*(-parseInt(t(309))/9)+parseInt(t(358))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let yt,wt,xt=0,It=!1;const St=vt(377),kt=[vt(286),vt(320),"a",vt(333),'input[type="button"]',vt(350),vt(338),vt(367)][vt(380)](",");function Et(){return G(),(()=>{const t=vt;return localStorage.getItem(s)===t(319)})()&&Boolean(q())&&(()=>{const t=vt;return Boolean(localStorage.getItem(u)?.trim()[t(282)])})()}function Tt(){return!Et()||tt}async function Lt(e){for(;wt;)await wt;return wt=(async()=>{const n=Dt;try{const o=performance[n(302)](),r=performance[n(302)](),i=(t=>{const e=vt;if(z(t))return"";const n=t.cloneNode(!1);return Array[e(280)](t[e(310)])[e(382)](({name:t,value:o})=>{n[e(344)](t,o)}),y(t)?y(n)&&(n.value=t.value):w(t)?n[e(313)]=t[e(313)]:n[e(291)]=t[e(291)],Y(n),y(n)&&n.setAttribute(e(371),n[e(371)]),n[e(307)]})(e),a=performance[n(302)]()-r;h(n(385)+a[n(304)](2)+"ms");const s=e[n(287)](),c=performance[n(302)](),d={left:window.scrollX,top:window[n(345)],right:window.scrollX+window.innerWidth,bottom:window[n(345)]+window[n(329)]},l=await t(document[n(378)],{useCORS:!0,x:window[n(306)],y:window.scrollY,width:window[n(332)],height:window.innerHeight,scale:.6,logging:!1,onclone(t){Y(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;const o=t[e(323)]?.("data-intent-redact")||t[e(326)]===e(293)||t[e(326)]===e(314)||t[e(326)]===e(388),r=o?{tag:t[e(326)],id:t.id||"",intentRedact:t.getAttribute(e(348)),type:t[e(376)](e(289))||""}:void 0;if(O(t)){if(o)try{console[e(296)](e(335),"ignoreElements:excluded:redactIgnoreHierarchy",r)}catch{}return!0}const i=t[e(287)](),a={left:i[e(288)]+window.scrollX,top:i.top+window.scrollY,right:i[e(339)]+window[e(306)],bottom:i[e(355)]+window.scrollY},s=100;if(a[e(339)]<d[e(288)]-s||a[e(288)]>d.right+s||a[e(355)]<d.top-s||a[e(294)]>d[e(355)]+s){const n=window[e(327)](t),{position:s}=n;if(s===e(387)||s===e(372)){const t=500;if(a.right<d[e(288)]-t||a[e(288)]>d[e(339)]+t||a[e(355)]<d[e(294)]-t||a.top>d.bottom+t){if(o)try{console[e(296)](e(335),"ignoreElements:excluded:viewportFar",{...r,rect:{x:a[e(288)],y:a.top,w:i.width,h:i[e(354)]}})}catch{}return!0}return!1}if(o)try{console[e(296)](e(335),"ignoreElements:excluded:viewport",{...r,rect:{x:a[e(288)],y:a[e(294)],w:i[e(361)],h:i[e(354)]}})}catch{}return!0}return!1}}),u=performance[n(302)]()-c;h(n(300)+u[n(304)](2)+"ms");const p=performance.now(),m=l[n(375)](n(359),.8);h("[Timing] jpeg-encoding: "+(performance[n(302)]()-p).toFixed(2)+"ms");return h("[Timing] capture-total: "+(performance[n(302)]()-o).toFixed(2)+"ms"),{html:i,bbox:{x:s.x,y:s.y,w:s.width,h:s.height},img:m,fullCanvas:l}}finally{wt=void 0}})(),wt}function Mt(){const t=["hostname","device","page-focus","setAttribute","scrollY","x-sl-access-token","localhost","data-intent-redact","CONTENTEDITABLE",'[role="button"]',"2372818qRdQip","3007530QDsrtE","toISOString","height","bottom","title","target","2268940WLcfIO","image/jpeg","focus","width","img","no-store","number","getItem","key","[onclick]","entries","hasFocus","POST","value","absolute","toLowerCase","application/json","toDataURL","getAttribute","__intent__sdk__initialized__","body","contenteditable","join","blur","forEach","7346968frdjkU","<no visible label>","[Timing] serialize: ","click","fixed","SELECT","bbox","from","lat","length","newline","isSecureContext","348jKwJYf","button","getBoundingClientRect","left","type","1863888jOJaHp","textContent","visibilitychange","INPUT","top","trim","warn","aria-label","intent","scroll","[Timing] html2canvas-pro: ","closest","now","hidden","toFixed","location","scrollX","outerHTML","dataset","9jAGmZA","attributes","defineProperty","lon","innerHTML","TEXTAREA","/p.gif","input-submit","680OtYvTp","6150huvfFt","granted","a[href]","pointerdown","html","hasAttribute","pageview","load","tagName","getComputedStyle","pixel body fallback failed","innerHeight","omit","stringify","innerWidth",'input[type="submit"]',"page-blur","[intent-redact-trace]","39395zFbHzd","referrer",'[role="link"]',"right","addEventListener"];return(Mt=()=>t)()}function Ct(){const t=vt,e=localStorage[t(365)](u),n={"Content-Type":t(374)};e&&(n[t(346)]=e);const o=q();return o&&(n["x-intent-sid"]=o),n}function Dt(t,e){return t-=280,Mt()[t]}async function At(t,e,n,o){const r=vt;if(!Et())return;const i={...e,localTime:(new Date)[r(353)]()};w(n)&&(i[r(371)]=B(n)?A(n):(t=>{const e=g;return y(t)?t[e(514)]:t instanceof HTMLElement?t[e(509)]:t[e(500)]??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!("scroll"===t||t===r(334)||t===r(343)),l=Date[r(302)](),m=l-xt>=0;let h=o;const b=t===r(386)||t===r(316)||t===r(324);d&&(b&&!h||!h&&m)&&(h=await Lt(n),xt=l),h&&(a=h[r(322)],s=h[r(389)],c=h[r(362)]);const v="page-blur"===t||"page-focus"===t||"pageview"===t,x={ts:Date[r(302)](),event:t,props:i,html:v?"":a,bbox:s,img:c};await async function(t){const e=vt,n=(localStorage[e(365)](p)??f)+"/events",o=localStorage[e(365)](u)??void 0,r=JSON[e(331)]({...t,clientId:o});try{if((await fetch(n,{method:e(370),headers:Ct(),body:r,keepalive:!0,credentials:e(330)})).ok)return}catch{}try{await(async t=>{const e=vt,n=(localStorage[e(365)](p)??f)+e(315);if(!(await fetch(n,{method:"POST",headers:Ct(),body:JSON.stringify(t),keepalive:!0,credentials:"omit",cache:e(363)})).ok)throw new Error(e(328))})(t)}catch{}}(x)}async function Nt(t={}){const e=vt;if(!Et())return;const n="number"==typeof t[e(281)]&&typeof t[e(312)]===e(364);if(n&&$)return;if(!n&&It)return;const o=localStorage.getItem("intent:data-ip"),i={context:await r()};o&&(i.ip=o);for(const[n,o]of Object[e(368)](t))i[n]=o;await At("context",i,document[e(378)],{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(It=!0)}async function zt(){await(async(t,e)=>{const n=_,o={canRequest:e(),geoEnabled:rt(),deviceGeoSent:$};if(!o[n(169)]||!o.geoEnabled||o.deviceGeoSent)return;if(!(n(189)in navigator))return;if(nt)return;nt=!0,tt=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};Date[n(164)]();try{await(navigator[n(193)]?.query({name:n(189)}))}catch(t){}await new Promise(t=>{let e=!1;const n=async(n,o,r)=>{const i=_;e||(e=!0,Number[i(172)](n)&&Number[i(172)](o)&&(await(async(t,e,n)=>{const o=Dt;await Nt({lat:t,lon:e,source:o(342),...n})})(n,o,r),$=!0),nt=!1,tt=!1,ot=!0,t())};navigator.geolocation.getCurrentPosition(t=>{const e=_,o=t.coords;n(o.latitude,o[e(177)],{accuracy:o[e(163)],altitude:typeof o[e(186)]===e(196)?o[e(186)]:void 0,altitudeAccuracy:"number"==typeof o[e(188)]?o[e(188)]:void 0,heading:typeof o[e(192)]===e(196)?o[e(192)]:void 0,speed:"number"==typeof o[e(171)]?o.speed:void 0,timestamp:t[e(168)],visibility:document.visibilityState,focused:document[e(181)]()})},t=>{const e=_,o=t?.code,r={error:{code:o,name:e(1===o?175:2===o?198:3===o?182:167),message:t?.[e(185)]??""},online:navigator.onLine,visibility:document[e(183)],focused:document[e(181)](),secure:window[e(195)],proto:location.protocol,host:location[e(184)]};n(void 0,void 0,r)},r)})})(0,Et)}function Ht(){(t=>{const e=_;if(et||!rt()||$)return;et=!0;const n=()=>{const e=_;window[e(174)](e(194),n,!0),window[e(174)](e(178),n,!0),t()};window[e(165)](e(194),n,!0),window.addEventListener(e(178),n,!0)})(zt)}G();let Pt=!document[vt(303)]&&document.hasFocus(),Ot=document[vt(369)]();function Bt(){const t=vt;if(Tt())return;const e=!document.hidden&&document[t(369)]();e&&(Ot=!0),Ot||e?e!==Pt&&(Pt=e,At(t(e?343:334),{},document[t(378)])):Pt=e}function jt(){const t=vt;(()=>{const t=globalThis;return!t[St]&&(Object[vt(311)](t,St,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window[t(340)]("load",()=>{const e=t;Et()&&(Nt(),(window[e(284)]||location[e(341)]===e(347))&&(rt()&&Ht(),window.addEventListener(e(360),()=>{st()&&zt()}),document[e(340)](e(292),()=>{!document.hidden&&st()&&zt()})))}),window[t(340)]("storage",e=>{const n=t;e[n(366)]===s&&((()=>{const t=vt;return localStorage[t(365)](s)===t(319)})()?(It=!1,Nt(),rt()&&Ht()):(It=!1,at())),e[n(366)]===c&&(rt()?Ht():at())}),window[t(340)](t(325),()=>{const e=t;Et()&&At(e(324),{url:window[e(305)].href,title:document[e(356)],ref:document[e(337)]},document[e(378)])}),addEventListener(t(321),(()=>{let e=0;return(...n)=>{const o=Date[S(505)]();o-e>=50&&(e=o,(e=>{const n=t;if(Tt())return;const o=e[n(357)]instanceof Element?e[n(357)][n(301)](kt):null;o instanceof HTMLElement&&(yt=Lt(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(386),async e=>{const n=t;if(Tt())return;if(!(e[n(357)]instanceof Element))return;const o=e[n(357)][n(301)](kt);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=vt,n=t.getAttribute(e(297))?.[e(295)]();if(n)return n;const o=t[e(356)].trim();if(o)return o;const r=t.textContent?.[e(295)]();return r||e(384)})(o);(async()=>{const t=n,e=yt?await yt:void 0;yt=void 0,At(t(386),{tag:o[t(326)],label:r},o,e)})()},!0),addEventListener("keydown",e=>{const n=t;if(!Tt()&&"Enter"===e.key){const t=e[n(357)];if(!(t instanceof HTMLElement))return;const o=t[n(326)];if(o===n(293)||o===n(314)){const e=t instanceof HTMLInputElement?t.name:void 0,r=t.id||void 0;At(n(316),{tag:o,name:e??r},t)}else if(w(t)){const e=(t=>{const e=g;let n=t;for(;n&&n!==document[e(503)];){const t=n.getAttribute(e(495));if(t===e(516)||""===t||"plaintext-only"===t)return n;n=n[e(499)]}return null})(t)??t;if(e[n(308)].intentEnter===n(283))return;const o=e.getAttribute("role")?.[n(373)](),r=e.id||void 0,i=e[n(376)]("name")||e[n(376)]("aria-label")||r;At(n(316),{tag:n(349),role:o??n(379),name:i},e)}}},{capture:!0}),[t(360),t(381)].forEach(e=>{window[t(340)](e,Bt)}),document.addEventListener(t(292),Bt),window.addEventListener(t(299),(()=>{let e;return(...n)=>{const o=S;void 0!==e&&window[o(531)](e),e=window[o(519)](()=>{e=void 0,(()=>{const e=t;Tt()||At("scroll",{scrollX:window[e(306)],scrollY:window[e(345)]},document.body)})(...n)},250)}})(),{passive:!0}),window[t(298)]??={send(e,n){const o=t;Et()&&At(e,n,document[o(378)])}})}function Wt(t,e){const n=Ft;try{if(void 0===e)return;localStorage[n(488)](t,n(e?"intent:consent"===t?511:513:486))}catch{}}function Ft(t,e){return t-=479,Kt()[t]}function Ut(t){Wt(Ft(498),t)}function Rt(t){Wt("intent:geo",t)}function Yt(t){Wt(Ft(493),t)}function Jt(t){}function Kt(){const t=["19108364HEcjbj","setItem","randomUUID","undefined","169755JBOWXN","debugPanel","intent:debug","3227255sRSmvi","489264btxtJr","intent:data-client-id","582426ITRozx","intent:consent","consent","It exposes internal SDK behavior and should only be used during development.","8780VyzJJO","now","intent:data-sid-max-age","intent_sid","[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. ","baseUrl","sidMaxAgeSeconds","warn","124xhXRbn","15948oXdGWn","granted","clientId","enabled","117998GVUnlb","isFinite","number","29CALurc","random","intent:data-base-url","7hVqQPe","disabled"];return(Kt=()=>t)()}function qt(t={}){const e=Ft;localStorage[e(488)](e(496),t[e(512)]??""),localStorage.setItem("intent:data-ip",t.ip??""),localStorage[e(488)](e(484),t[e(506)]??"https://intent.callimacus.ai"),typeof t[e(507)]===e(481)&&localStorage[e(488)](e(503),String(t[e(507)])),Wt(e(498),t.consent),Wt("intent:geo",t.geo),Wt(e(493),t.debug),void 0!==t[e(492)]&&e(492),t[e(499)]&&(Q(e(504))||V("undefined"!=typeof crypto&&"function"==typeof crypto[e(489)]?crypto[e(489)]():Date[e(502)]()+"-"+Math[e(483)](),t.sidMaxAgeSeconds)),jt()}function Qt(){return Q(Ft(504))}function Vt(){G()}function Xt(){X()}function Zt(t){const e=Ft;Number[e(480)](t)&&localStorage.setItem(e(503),String(t));const n=Q(e(504));n&&V(n,t)}(()=>{const t=Ft,e=Kt();for(;;)try{if(905836==parseInt(t(482))/1*(-parseInt(t(479))/2)+-parseInt(t(491))/3*(-parseInt(t(509))/4)+parseInt(t(494))/5+parseInt(t(497))/6*(parseInt(t(485))/7)+-parseInt(t(495))/8+-parseInt(t(510))/9*(parseInt(t(501))/10)+parseInt(t(487))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Xt as clearIntentSessionId,Vt as ensureIntentSessionId,Qt as getIntentSessionId,qt as initIntent,Ut as setConsent,Yt as setDebug,Jt as setDebugPanel,Wt as setFlag,Rt as setGeo,Zt as setIntentSessionMaxAge};