@solomei-ai/intent 1.12.0 → 1.12.1

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(){const t=["length","saveData","find","mobile","UA brands: ","34628VuzkZj","referrer","doNotTrack","Network: ","isSecureContext","unknown","userAgent","hardwareConcurrency","Pointer/Touch: ","getEntriesByType","Online: ","(pointer: fine)","brand","toString","max","floor","filter","undefined","userAgentData",", orientation ","upright","rttMs","addEventListener","7091wrgtTs","(display-mode: standalone)","height","toFixed","level","inferred","834mmBXXo","requestStart","transferSize","responseStart","4383595AsFKjG","colorDepth","resource","maxTouchPoints","x (avail ","abs","browser API","type","n/a","CPU: ","9pbvaJK","Viewport: ","timeZone","effectiveType"," ms","connection"," | ","Timezone: ","controller","rtt","removeEventListener","some","number","isArray","round","492QTnmUN","charging","Platform: ","startsWith","innerHeight","encodedBodySize","no SW","matches","brands","Referrer: ","DeviceOrientationEvent","navigation","padStart","push","serviceWorker","flat","Device geolocation: disabled","Battery: ","deviceorientation","platform","downlink","; DNT: ","SW-controlled","orientation","7893688bImINZ","join","isFinite","languages","entryType","PWA: ","TTFB ~","coarse","25389360bDkHPb","function","downlinkMbps","1558154FfFKlF","onLine","getBattery","-bit)","enabled","gamma","Languages: ","868466xDjUAH","reclined","language"," (mobile)","TTFB","getTimezoneOffset"," Mbps"," (β ","availHeight","slice","resolvedOptions","fine","intent:geo","Language: ","yes"];return(n=()=>t)()}function o(t,e){return t-=286,n()[t]}async function r(){const t=o,e=(new Intl.DateTimeFormat)[t(382)]()[t(317)],n=(t=>{const e=o,n=t<=0?"+":"-",r=Math[e(310)](t);return""+n+String(Math[e(287)](r/60)).padStart(2,"0")+":"+String(r%60)[e(342)](2,"0")})((new Date)[t(377)]()),r=[];r[t(343)](t(385)+navigator[t(374)]),navigator[t(357)]?.[t(387)]&&r.push(t(371)+navigator[t(357)][t(355)](", ")),r[t(343)]("User agent: "+navigator[t(398)]);const i=function(){const t=o;if(!(t=>{const e=o;return e(290)in t&&typeof t[e(290)]!==e(289)})(navigator))return;const e=navigator.userAgentData,n=Array[t(328)](e.brands)?e[t(338)].map(e=>e[t(404)]+" "+e.version).join(", "):void 0,r=e[t(349)]?""+e[t(349)]+(e[t(390)]?t(375):""):void 0;return[n&&t(391)+n,r&&t(332)+r][t(288)](Boolean)[t(355)](t(321))||void 0}();i&&r[t(343)](i),r.push(t(322)+e+" (UTC"+n+")"),r[t(343)]("Local time: "+(new Date)[t(405)]());const a=window.devicePixelRatio||1;r[t(343)]("Screen: "+screen.width+"x"+screen[t(297)]+" @"+a+t(309)+screen.availWidth+"x"+screen[t(380)]+", "+screen[t(306)]+t(368));const s=screen.orientation&&t(312)in screen.orientation?screen[t(353)].type:void 0;r.push(t(316)+window.innerWidth+"x"+window[t(334)]+(s?t(291)+s:"")),r[t(343)](t(314)+navigator[t(399)]+" cores");const c=await async function(){const t=o,e=[];let n=t(311);if((t=>{const e=o;return e(320)in t&&typeof t[e(320)]!==e(289)})(navigator)){const n=navigator[t(320)];n?.[t(318)]&&e[t(343)](n.effectiveType),typeof n?.[t(350)]===t(327)&&e[t(343)]("~"+n.downlink+" Mbps"),typeof n?.[t(324)]===t(327)&&e.push(n[t(324)]+t(319)),n?.[t(388)]&&e.push(t(388))}else{const r=((t=20)=>{const e=o,n=performance[e(401)](e(341))[e(389)](t=>"navigation"===t.entryType),r=n?Math[e(286)](0,n.responseStart-n[e(302)]):void 0,i=performance[e(401)](e(307)).filter(t=>"resource"===t[e(358)]);let a=0,s=0;for(const n of i[e(381)](0,Math.max(0,t))){const t=n[e(335)]>0?n.encodedBodySize:n[e(303)]>0?n.transferSize:0,o=n.duration;t>0&&o>0&&Number[e(356)](o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:"number"==typeof c?c/1e3:void 0,rttMs:r}})();typeof r[t(364)]===t(327)&&e.push("~"+r[t(364)][t(298)](1)+t(378)),typeof r[t(293)]===t(327)&&e.push(t(360)+Math[t(329)](r[t(293)])+t(319)),n=t(300)}const r=performance.getEntriesByType(t(341)).find(e=>e.entryType===t(341));if(r){const n=Math.max(0,r[t(304)]-r[t(302)]);!e[t(326)](e=>e[t(333)](t(376)))&&e[t(343)](t(360)+Math.round(n)+t(319))}return e[t(387)]?t(395)+e.join(", ")+" ("+n+")":void 0}();c&&r[t(343)](c),r[t(343)]((()=>{const t=o,e=typeof matchMedia===t(363)&&matchMedia("(pointer: coarse)")[t(337)],n="function"==typeof matchMedia&&matchMedia(t(403))[t(337)],r=t(e?361:n?383:397),i=navigator[t(308)];return t(400)+r+", maxTouchPoints "+i})());const d=await async function(){const t=o;if((t=>{const e=o;return e(367)in t&&typeof t.getBattery===e(363)})(navigator))try{const e=await navigator[t(367)](),n=Math[t(329)](100*e[t(299)]),o=[(Number[t(356)](n)?n:0)+"%",e[t(331)]?t(331):"not charging"];return t(347)+o[t(355)](", ")}catch{}}();d&&r[t(343)](d),r[t(343)]("CookiesEnabled: "+(navigator.cookieEnabled?t(386):"no")+t(351)+(navigator[t(394)]??t(313))),r.push(t(402)+(navigator[t(366)]?"yes":"no")),document[t(393)]&&r[t(343)](t(339)+document[t(393)]),r[t(343)]((()=>{const t=o,e="function"==typeof matchMedia&&matchMedia(t(296))[t(337)],n=Boolean(navigator[t(344)]?.[t(323)]);return t(359)+t(n?352:336)+", display-mode standalone: "+(e?"yes":"no")})());const l=await async function(t=400){const e=o;if(e(340)in window&&window[e(396)])return new Promise(n=>{const r=e;let i=!1;const a=t=>{const e=o,r=typeof t.beta===e(327)?t.beta:void 0,s="number"==typeof t.gamma?t[e(370)]:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(325)]("deviceorientation",a);const c=((t,e)=>{const n=o,r=Math[n(310)](t),i=Math[n(310)](e);return n(r<15&&i<15?345:r>=60?292:373)})(r,s);n("Tilt: "+c+e(379)+Math[e(329)](r)+"°, γ "+Math[e(329)](s)+"°)")};window.setTimeout(()=>{i||(i=!0,window[o(325)]("deviceorientation",a),n(void 0))},t),window[r(294)](r(348),a,{passive:!0})})}();l&&r[t(343)](l);const u=localStorage.getItem(t(384))===t(369);return r[t(343)](u?"Device geolocation: enabled":t(346)),r.join(t(321))}(()=>{const t=o,e=n();for(;;)try{if(998984==-parseInt(t(372))/1+parseInt(t(365))/2+-parseInt(t(330))/3*(parseInt(t(392))/4)+-parseInt(t(305))/5+-parseInt(t(301))/6*(parseInt(t(295))/7)+parseInt(t(354))/8*(parseInt(t(315))/9)+parseInt(t(362))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=a;function a(t,e){return t-=167,m()[t]}(()=>{const t=a,e=m();for(;;)try{if(614095==parseInt(t(181))/1*(parseInt(t(179))/2)+-parseInt(t(169))/3+parseInt(t(174))/4+-parseInt(t(168))/5+-parseInt(t(178))/6*(parseInt(t(177))/7)+parseInt(t(171))/8+parseInt(t(184))/9*(parseInt(t(182))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const s=i(176),c=i(175),d=i(180),l=i(183),u=i(167),p=i(172);function m(){const t=["intent:data-sid-max-age","4200160agHKiI","intent:data-ip","https://intent.callimacus.ai","1483532pUHRpg","intent:geo","intent:consent","203EzPhGg","158466YfQnIU","61922oeXJqk","intent:debug","34NtIrsN","6606220aYdEqE","intent:debug-panel","9tnGMkS","intent:data-client-id","2824745oDPAEB","1992708qWpzsK"];return(m=()=>t)()}const f="intent:data-base-url",g=i(170),h=i(173);function b(t,e){return t-=428,x()[t]}const v=b;function y(...t){const e=b;try{"undefined"!=typeof localStorage&&"enabled"===localStorage[e(468)](d)&&console.log(...t)}catch{}}(()=>{const t=b,e=x();for(;;)try{if(775151==-parseInt(t(429))/1+parseInt(t(448))/2*(parseInt(t(463))/3)+parseInt(t(461))/4*(parseInt(t(442))/5)+parseInt(t(451))/6*(-parseInt(t(454))/7)+parseInt(t(443))/8+parseInt(t(470))/9*(-parseInt(t(430))/10)+parseInt(t(447))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const w=Object[v(450)](new Set([v(455),"combobox",v(467)]));function x(){const t=['[role="',"toLowerCase","value","&quot;","&amp;","&gt;","SELECT","65GeyXLC","1323912NPEpaK","join","TEXTAREA","input","16026340uFtQgZ","2798150SBVceZ","textContent","freeze","624rJRLmj","&#039;","INPUT","82117lbzDym","textbox","parentElement","has","textarea","tagName","plaintext-only","390752wqGhcR","map","3bcWrUj","innerText","getAttribute","body","searchbox","getItem","select","549vxITfC","contenteditable","clearTimeout","1184670dFzRzD","182230CGwRLo","host","&lt;","true","replace"];return(x=()=>t)()}const I=[v(446),v(458),v(469),"[contenteditable]",...[...w][v(462)](t=>v(435)+t+'"]')][v(444)](", ");function S(t){const e=v,n=t[e(459)];return n===e(453)||n===e(445)||n===e(441)}function k(t){const e=v;if(S(t))return!0;const n=t[e(465)](e(471));if(""===n||n===e(433)||n===e(460))return!0;const o=t[e(465)]("role")?.[e(436)]();return!(!o||!w[e(457)](o))}function E(t){const e=v,n=t.parentElement;if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o[e(431)]instanceof Element?o.host:void 0}function T(t){const e=v;return t[e(434)](/&/g,e(439))[e(434)](/</g,e(432)).replace(/>/g,e(440)).replace(/"/g,e(438))[e(434)](/'/g,e(452))}const A=F;function C(){const t=["Sensitive","hasAttribute","address-level2","District","22rhAmGr","2441440pldwbo","Address line 3","Address line 1","split","push","First name","ignore","webauthn","pop","Email","given-name","Last name","time","filter","Birth year","has","includes","address-line1","contentDocument","autocomplete","searchbox","Redacted","additional-name","cc-type","280533kqdaUo","ownerDocument","cc-given-name",'. Treating as "mask" to prevent data leaks.',"bday-year","SELECT","clear","date","role","Cardholder first name","241827WePIlR","matches",". Supported values are ","Cardholder middle name","shadowRoot","trim","890PMvoyC","month","INPUT","password","nickname","iframe","cc-csc","textContent","bday","stringify","address-level4","tel","cc-family-name","cc-exp-month","IFRAME","Phone","username","Expiration date","Address line 2","Street address","cc-exp-year","107556YezMUP","1705298YVIiTx","Password","address-line3","[intent] Unsupported data-intent-redact value ","email","bday-month","getAttribute","Middle name","Cardholder name","3951MvHnZK","Birthday","Security code","5645dVugYD","add","4YSzXVj","Country name","WebAuthn","address-level1","Sex","street-address","search","some","Username","Card type","week","cc-additional-name","Birth month","mask","TEXTAREA","data-html2canvas-ignore","value","organization-title","name","932VyKZTs","datetime-local","State/Province","postal-code","address-level3","organization","address-line2","text","cc-exp","City","data-intent-redact","length","6SnzlXu","Card number","bday-day","type","sex","toLowerCase","tagName","cc-name"];return(C=()=>t)()}(()=>{const t=F,e=C();for(;;)try{if(167831==-parseInt(t(241))/1+-parseInt(t(283))/2*(-parseInt(t(231))/3)+parseInt(t(182))/4*(parseInt(t(281))/5)+parseInt(t(194))/6*(parseInt(t(269))/7)+-parseInt(t(207))/8+parseInt(t(278))/9*(parseInt(t(247))/10)+parseInt(t(206))/11*(-parseInt(t(268))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const L=A(192),M=new Set([A(181),"given-name",A(229),"family-name","nickname",A(263),A(273),A(258),A(187),A(180),A(168),A(224),A(188),"address-line3",A(286),A(204),"address-level3",A(257),"country","country-name",A(185),A(201),A(233),A(174),A(259),"cc-number",A(190),A(260),"cc-exp-year",A(253),A(230),A(255),A(196),"bday-month",A(235),A(198),A(214)]);function N(t){return"<"+(t=>{const e=A,n=(t.getAttribute?.("data-intent-redact-label")??"").trim();if(n)return n;const o=t[e(275)]?.(e(226))||"",r=k(t)?o[e(199)]()[e(246)]()[e(210)](/\s+/)[e(220)](Boolean):[];if(t[e(200)]===e(249)&&t[e(197)]===e(250))return e(270);for(const t of r){const e=z.get(t);if(e)return e}const i=t.getAttribute?.(L)?.[e(199)]();return i===e(176)?e(228):e(202)})(t)+">"}const z=new Map([[A(181),"Name"],[A(217),A(212)],["family-name",A(218)],[A(229),A(276)],[A(251),"Nickname"],[A(263),A(171)],["email",A(216)],[A(258),A(262)],[A(168),A(266)],[A(224),A(209)],[A(188),A(265)],[A(271),A(208)],["address-level1",A(184)],["address-level2",A(191)],[A(186),A(205)],[A(257),"Neighborhood"],[A(185),"Postal code"],["country","Country code"],["country-name",A(284)],["cc-name",A(277)],[A(233),A(240)],[A(259),"Cardholder last name"],[A(174),A(244)],["cc-number",A(195)],["cc-exp",A(264)],[A(260),"Expiration month"],[A(267),"Expiration year"],[A(253),A(280)],[A(230),A(172)],[A(255),A(279)],[A(196),"Birth day"],[A(274),A(175)],["bday-year",A(221)],[A(187),"Organization"],[A(180),"Job title"],["sex",A(287)],[A(214),A(285)]]);function D(t){const e=A;return t[e(203)](e(178))||t[e(275)](L)?.[e(199)]()===e(213)}const P=new Set;function B(t){const e=A,n=t[e(275)](L);if(null===n)return!1;const o=n[e(199)]();return"ignore"!==o&&(""!==n&&"mask"!==o&&(t=>{const e=A;if(P[e(222)](t))return;P[e(282)](t);const n=JSON[e(256)](t),o=e(272)+n+e(243)+'"" or "mask" (redact), "ignore" (exclude from capture)'+e(234);try{console.warn(o)}catch{}})(n),!0)}function R(t){let e=t;for(;e&&e!==document.body;){if(D(e))return!0;e=E(e)}return!1}function U(t){return!(D(t)||!B(t)&&!(t=>{const e=A,n=t[e(200)];if(n===e(249)){const n=t;if(n[e(197)]===e(250))return!0;if(n[e(197)]===e(169))return!1;const o=n[e(275)]("role");if(o?.[e(199)]()===e(227))return!1;if((n[e(226)]||"").toLowerCase()[e(246)]()[e(210)](/\s+/).filter(Boolean)[e(170)](t=>M[e(222)](t)))return!0}if((n===e(177)||n===e(236))&&(t[e(226)]||"")[e(199)]()[e(246)]()[e(210)](/\s+/)[e(220)](Boolean)[e(170)](t=>M[e(222)](t)))return!0;if(k(t)&&!S(t)){const n=t.getAttribute(e(239))?.[e(199)]();if("searchbox"===n)return!1;if((t.getAttribute(e(226))||"")[e(199)]()[e(246)]().split(/\s+/).filter(Boolean).some(t=>M[e(222)](t)))return!0}return!1})(t))}function H(t){const e=A;if(!R(t))if(S(t)){if(U(t)){if(t[e(200)]===e(249)){const n=t;[e(238),e(183),e(248),e(219),e(173)][e(223)](n[e(197)])&&(n[e(197)]=e(189))}const n=N(t);t.value=n,t.setAttribute(e(179),n)}}else k(t)?U(t)&&(t[e(254)]=N(t)):t[e(203)](L)&&B(t)&&(t[e(254)]=N(t))}function j(t,e){const n=A,o=[],r=[t];for(t instanceof Element&&t.shadowRoot&&r[n(211)](t[n(245)]);r[n(193)]>0;){const t=r[n(215)]().querySelectorAll("*");for(const i of t)i[n(242)](e)&&o[n(211)](i),i[n(245)]&&r[n(211)](i.shadowRoot)}return o}function F(t,e){return t-=168,C()[t]}function O(t,e=new Set){const n=A,o=t instanceof Document?t:t[n(232)];if(o){if(e[n(222)](o))return;e[n(282)](o)}t instanceof Element&&H(t);for(const e of j(t,I))H(e);for(const e of j(t,"["+L+"]"))H(e);for(const o of j(t,n(252)))if(o[n(200)]===n(261))try{const t=o[n(225)];t&&O(t,e)}catch{}}function W(t,e){return t-=258,q()[t]}(()=>{const t=W,e=q();for(;;)try{if(807217==parseInt(t(272))/1+-parseInt(t(273))/2+-parseInt(t(270))/3+-parseInt(t(266))/4+-parseInt(t(268))/5*(-parseInt(t(260))/6)+parseInt(t(276))/7*(-parseInt(t(259))/8)+parseInt(t(267))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let K="";function Y(){return K}function q(){const t=["location","8IFgIjz","846BVcAcf","intent_sid","set","granted","number","remove","4992148opjupj","23507820AapQSd","47745VuOVKu","get","4327347vOJQJu","https:","1100539RAEsaK","1167148SQbmRn","isFinite","getItem","6843557rAimEm","randomUUID"];return(q=()=>t)()}function V(t){return e[W(269)](t)}function X(t,n){const o=W,r=localStorage[o(275)](g),i=null===r?void 0:Number(r),a=typeof n===o(264)&&Number[o(274)](n)?n:"number"==typeof i&&Number[o(274)](i)?i:2592e3,s=window[o(258)].protocol===o(271);e[o(262)]("intent_sid",t,{expires:a/86400,path:"/",sameSite:"Lax",...s&&{secure:!0}})}function G(){const t=W;e[t(265)](t(261),{path:"/"})}function _(){const t=W,e=V(t(261));if(!(()=>{const t=W;return localStorage[t(275)](s)===t(263)})())return e&&G(),void(K="");e?K=e:(K=crypto[t(277)](),X(K))}(()=>{const t=rt,e=nt();for(;;)try{if(787900==-parseInt(t(198))/1+-parseInt(t(222))/2+parseInt(t(212))/3+-parseInt(t(211))/4*(parseInt(t(196))/5)+parseInt(t(218))/6+parseInt(t(201))/7+-parseInt(t(194))/8*(-parseInt(t(193))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let J=!1,Q=!1,Z=!1,$=!1,tt=!1;function et(){const t=rt;return localStorage[t(192)](c)===t(209)}function nt(){const t=["protocol","POSITION_UNAVAILABLE","message","getItem","18AlDfFG","3447296ghElcz","latitude","4935395gKtIQs","isSecureContext","45763nRRevi","deviceGeoSent","altitude","739095cIYmoG","addEventListener","number","getCurrentPosition","speed","now","altitudeAccuracy","coords","enabled","keydown","4RqrhxW","4323474hOULmJ","query","hostname","geolocation","isFinite","removeEventListener","5923176zizUGk","geoEnabled","accuracy","longitude","3150042ALiquN","PERMISSION_DENIED","heading","pointerdown"];return(nt=()=>t)()}function ot(){J=!1,Z=!1,tt=!1}function rt(t,e){return t-=188,nt()[t]}function it(){return!J&&et()&&!$&&tt}const at=st;function st(t,e){return t-=438,mt()[t]}(()=>{const t=st,e=mt();for(;;)try{if(557752==-parseInt(t(460))/1+parseInt(t(496))/2+-parseInt(t(510))/3+-parseInt(t(487))/4+parseInt(t(461))/5*(parseInt(t(449))/6)+-parseInt(t(493))/7+parseInt(t(441))/8*(parseInt(t(534))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let ct,dt=[],lt=!1;function ut(){const t=st;if(!ct)return;const e=ct[t(523)](t(473)),n=ct.querySelector(t(526));if(!e||!n)return;if(0===dt.length)return e.innerHTML=t(513),void(n[t(459)]=t(514));const o=[...dt][t(488)]();e[t(438)]=o.map(t=>(t=>{const e=st,n=new Date(t[e(491)])[e(484)](),o=t[e(452)]&&t[e(452)][e(458)]>0,r=o?Math[e(500)](.75*t.img.length/1024):0,i=T(t.event),a=T(JSON[e(506)](t[e(518)],null,2)),s=T(t[e(520)]),c=T(JSON[e(506)](t[e(501)],null,2));return e(507)+i+e(454)+n+e(469)+(o?'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="'+t[e(452)]+e(511)+r+e(470):"")+'\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">'+a+"</pre>\n\t\t\t\t\t"+(t[e(520)]?e(531)+s+"</pre>\n\t\t\t\t\t":"")+e(519)+c+e(486)})(t))[t(439)](""),n[t(459)]=dt.length+t(508)+(1===dt[t(458)]?"":"s")}function pt(){const t=st;if(ct)return void(ct[t(517)][t(455)]=t(483));const e=document[t(482)](t(537));e.innerHTML=st(457),ct=e[t(497)],document.body[t(453)](ct);const n=ct[t(523)]("#intent-debug-close"),o=ct[t(523)]("#intent-debug-minimize"),r=ct[t(523)](t(472));n?.[t(535)]("click",()=>{!function(t){const e=st;try{localStorage[e(443)](l,e(t?529:450)),t?pt():(()=>{const t=st;ct&&(ct[t(517)][t(455)]=t(521))})()}catch{}}(!1)}),o?.[t(535)]("click",()=>{(()=>{const t=st;if(!ct)return;const e=ct[t(523)]("#intent-debug-content"),n=ct.querySelector(t(495));e&&n&&(lt=!lt,lt?(e.style[t(455)]=t(521),ct[t(517)][t(479)]="200px",n[t(459)]="+"):(e.style[t(455)]=t(483),ct[t(517)].width="400px",n[t(459)]="−"))})()}),r?.addEventListener(t(530),()=>{dt=[],ut()}),(()=>{const t=st;if(!ct)return;const e=ct[t(523)](t(468));if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e[t(535)]("mousedown",e=>{const o=t;if("BUTTON"===e[o(528)][o(464)])return;n=!0;const r=ct[o(490)]();i=e[o(478)]-r.left,a=e.clientY-r[o(445)]}),document[t(535)](t(515),e=>{const s=t;if(!n||!ct)return;e[s(447)](),o=e[s(478)]-i,r=e[s(503)]-a;const c=window[s(444)]-ct[s(498)],d=window[s(485)]-ct.offsetHeight;o=Math[s(536)](0,Math[s(451)](o,c)),r=Math[s(536)](0,Math[s(451)](r,d)),ct.style[s(467)]=o+"px",ct[s(517)].top=r+"px",ct[s(517)][s(502)]=s(463)}),document.addEventListener(t(442),()=>{n=!1})})(),ct[t(535)]("click",e=>{const n=t,o=e[n(528)];if(o[n(477)].contains(n(525))){const t=o;t[n(524)]&&t[n(524)].startsWith("data:image/")&&(t=>{const e=st,n=document[e(482)]("div");n.id=e(446),n[e(448)](e(512),e(462)),n.style.cssText="\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(482)]("div");o[e(517)][e(456)]="\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(482)](e(452));r[e(524)]=t,r[e(517)][e(456)]="\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";const i=document[e(482)](e(537));i[e(517)][e(456)]=e(522);const a=document[e(482)](e(532));a.textContent=e(504),a[e(517)].cssText=e(499);const s=document.createElement("div");s.textContent=e(494),s.style[e(456)]=e(489),i[e(453)](a),i[e(453)](s),o[e(453)](r),o.appendChild(i),n[e(453)](o);const c=()=>{const t=e;n[t(492)](),document[t(466)](t(474),d)};n.addEventListener(e(530),c),a[e(535)](e(530),t=>{t[e(475)](),c()}),r[e(535)](e(530),t=>{t[e(475)]()});const d=t=>{"Escape"===t[e(481)]&&c()};document[e(535)](e(474),d),document.body.appendChild(n)})(t[n(524)])}}),ut()}function mt(){const t=["setAttribute","15618kutsGe","disabled","min","img","appendChild",'</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">',"display","cssText",'\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',"length","textContent","1045982wWUtBx","1885rFRlui","ignore","auto","tagName","DOMContentLoaded","removeEventListener","left","#intent-debug-header","</div>\n\t\t\t</div>\n\t\t\t"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","shift","#intent-debug-clear","#intent-debug-events","keydown","stopPropagation","loading","classList","clientX","width","function","key","createElement","flex","toLocaleTimeString","innerHeight","</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t","835416yMbHWy","reverse","\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t","getBoundingClientRect","timestamp","remove","3880611UcAhLl","Click anywhere or press ESC to close","#intent-debug-minimize","734438CWCPdW","firstElementChild","offsetWidth","\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","round","bbox","right","clientY","✕ Close","now","stringify",'\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">'," event","undefined","1865424obPRVz",'" \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 (~',"data-intent-redact",'\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',"0 events","mousemove","randomUUID","style","props",'\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">',"html","none","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","querySelector","src","intent-debug-screenshot","#intent-debug-count","random","target","enabled","click",'\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">',"button","getItem","14761971uKoNBj","addEventListener","max","div","innerHTML","join","readyState","8IZkqsH","mouseup","setItem","innerWidth","top","intent-debug-fullscreen-modal","preventDefault"];return(mt=()=>t)()}function ft(t,e){return t-=249,gt()[t]}function gt(){var t=["7193510nSrIHY","340pJRCIu","112568NdkFNq","undefined","setDebugPanel","822160dlFHKS","329424QoekUM","23097llWPtl","697796rfEAPd","56eYoZAk","198odNmiq","warn","[Intent SDK] Debug panel is not available in this build. ","2005518spEXeB","Use the debug build variant: @solomei-ai/intent/debug or intent.debug.umd.min.js","logEventToDebugPanel"];return(gt=()=>t)()}typeof window!==at(509)&&function(){const t=st;try{return localStorage[t(533)](l)===t(529)}catch{return!1}}()&&(document[at(440)]===at(476)?document[at(535)](at(465),()=>{pt()}):pt()),Symbol,(()=>{for(var t=ft,e=gt();;)try{if(673199==parseInt(t(256))/1+-parseInt(t(261))/2+-parseInt(t(255))/3*(parseInt(t(249))/4)+parseInt(t(253))/5+-parseInt(t(254))/6*(-parseInt(t(257))/7)+parseInt(t(250))/8*(parseInt(t(258))/9)+parseInt(t(264))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const ht=Tt;(()=>{const t=Tt,e=Nt();for(;;)try{if(707654==-parseInt(t(255))/1*(parseInt(t(191))/2)+parseInt(t(230))/3*(parseInt(t(171))/4)+-parseInt(t(197))/5+parseInt(t(265))/6+parseInt(t(241))/7+-parseInt(t(232))/8*(-parseInt(t(231))/9)+parseInt(t(207))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let bt,vt,yt=0,wt=!1;const xt="__intent__sdk__initialized__",It=["button",ht(250),"a",ht(175),ht(170),ht(186),ht(260),ht(243)][ht(267)](",");function St(){return _(),"granted"===localStorage[ht(176)](s)&&Boolean(Y())&&(()=>{const t=ht;return Boolean(localStorage[t(176)](u)?.[t(266)]()[t(222)])})()}function kt(){return!St()||Q}async function Et(e){for(;vt;)await vt;return vt=(async()=>{const n=Tt;try{const o=performance[n(187)](),r=performance[n(187)](),i=(t=>{const e=ht;if(D(t))return"";const n=t[e(224)](!1);return Array[e(256)](t[e(174)])[e(234)](({name:t,value:o})=>{n[e(217)](t,o)}),S(t)?S(n)&&(n[e(235)]=t[e(235)]):k(t)?n[e(244)]=t.innerHTML:n.textContent=t[e(246)],O(n),S(n)&&n[e(217)]("value",n[e(235)]),n.outerHTML})(e),a=performance[n(187)]()-r;y(n(233)+a[n(259)](2)+"ms");const s=e[n(183)](),c=performance[n(187)](),d={left:window[n(202)],top:window[n(193)],right:window.scrollX+window[n(220)],bottom:window[n(193)]+window.innerHeight},l=await t(document[n(212)],{useCORS:!0,x:window[n(202)],y:window[n(193)],width:window[n(220)],height:window[n(263)],scale:.6,logging:!1,onclone(t){O(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(R(t))return!0;const o=t.getBoundingClientRect(),r={left:o[e(238)]+window[e(202)],top:o[e(247)]+window.scrollY,right:o[e(190)]+window[e(202)],bottom:o[e(242)]+window[e(193)]},i=100;if(!(r[e(190)]<d[e(238)]-i||r.left>d[e(190)]+i||r[e(242)]<d[e(247)]-i||r.top>d[e(242)]+i))return!1;if(t[e(252)]===e(189)||t[e(252)]===e(210)||t[e(252)]===e(253)||t.hasAttribute(e(184))||t[e(172)](e(223)))return!1;const a=window[e(219)](t),{position:s}=a;if(s===e(200)||"absolute"===s){const t=500;return r.right<d[e(238)]-t||r[e(238)]>d[e(190)]+t||r[e(242)]<d[e(247)]-t||r[e(247)]>d[e(242)]+t}return!0}}),u=performance[n(187)]()-c;y(n(173)+u.toFixed(2)+"ms");const p=performance[n(187)](),m=l[n(178)](n(177),.8),f=performance[n(187)]()-p;y(n(261)+f.toFixed(2)+"ms");const g=performance[n(187)]()-o;return y(n(245)+g[n(259)](2)+"ms"),{html:i,bbox:{x:s.x,y:s.y,w:s[n(192)],h:s[n(248)]},img:m,fullCanvas:l}}finally{vt=void 0}})(),vt}function Tt(t,e){return t-=169,Nt()[t]}function At(){const t=ht,e=localStorage[t(176)](u),n={"Content-Type":"application/json"};e&&(n[t(271)]=e);const o=Y();return o&&(n[t(221)]=o),n}async function Ct(t,e,n,o){const r=ht;if(!St())return;const i={...e,localTime:(new Date)[r(194)]()};k(n)&&(i[r(235)]=U(n)?N(n):(t=>{const e=v;if(S(t))return t[e(437)];const n=t[e(464)];return"string"==typeof n?n:t[e(449)]??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!(t===r(268)||t===r(228)||t===r(204)),l=Date[r(187)](),p=l-yt>=0;let m=o;const g=t===r(216)||t===r(188)||t===r(179);d&&(g&&!m||!m&&p)&&(m=await Et(n),yt=l),m&&(a=m[r(258)],s=m.bbox,c=m[r(249)]);const b="page-blur"===t||t===r(204)||t===r(179),y={ts:Date[r(187)](),event:t,url:window[r(201)].href,props:i,html:b?"":a,bbox:s,img:c};await async function(t){const e=ht,n=(localStorage[e(176)](f)??h)+e(257),o=localStorage[e(176)](u)??void 0,r=JSON[e(251)]({...t,clientId:o});try{if((await fetch(n,{method:e(205),headers:At(),body:r,keepalive:!0,credentials:e(227)})).ok)return}catch{}try{await(async t=>{const e=ht,n=(localStorage.getItem(f)??h)+e(182);if(!(await fetch(n,{method:"POST",headers:At(),body:JSON[e(251)](t),keepalive:!0,credentials:"omit",cache:e(270)})).ok)throw new Error("pixel body fallback failed")})(t)}catch{}}(y)}async function Lt(t={}){const e=ht;if(!St())return;const n=typeof t.lat===e(180)&&typeof t[e(211)]===e(180);if(n&&J)return;if(!n&&wt)return;const o=localStorage[e(176)](p),i={context:await r()};o&&(i.ip=o);for(const[n,o]of Object[e(225)](t))i[n]=o;await Ct(e(185),i,document[e(212)],{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(wt=!0)}async function Mt(){await(async(t,e)=>{const n=rt,o={canRequest:e(),geoEnabled:et(),deviceGeoSent:J};if(!o.canRequest||!o[n(219)]||o[n(199)])return;if(!("geolocation"in navigator))return;if($)return;$=!0,Q=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};Date[n(206)]();try{await(navigator.permissions?.[n(213)]({name:n(215)}))}catch(t){}await new Promise(t=>{let e=!1;const o=async(n,o,r)=>{const i=rt;e||(e=!0,Number.isFinite(n)&&Number[i(216)](o)&&(await(async(t,e,n)=>{const o=Tt;await Lt({lat:t,lon:e,source:o(239),...n})})(n,o,r),J=!0),$=!1,Q=!1,tt=!0,t())};navigator.geolocation[n(204)](t=>{const e=rt,n=t[e(208)];o(n[e(195)],n[e(221)],{accuracy:n[e(220)],altitude:typeof n[e(200)]===e(203)?n[e(200)]:void 0,altitudeAccuracy:typeof n[e(207)]===e(203)?n[e(207)]:void 0,heading:typeof n[e(224)]===e(203)?n.heading:void 0,speed:typeof n[e(205)]===e(203)?n[e(205)]:void 0,timestamp:t.timestamp,visibility:document.visibilityState,focused:document.hasFocus()})},t=>{const e=rt,n=t?.code,r={error:{code:n,name:1===n?e(223):2===n?e(190):3===n?"TIMEOUT":"UNKNOWN",message:t?.[e(191)]??""},online:navigator.onLine,visibility:document.visibilityState,focused:document.hasFocus(),secure:window[e(197)],proto:location[e(189)],host:location[e(214)]};o(void 0,void 0,r)},r)})})(0,St)}function Nt(){const t=["252DYkRtu","94144nXvICa","[Timing] serialize: ","forEach","value","defineProperty","visibilitychange","left","device","load","171885pGjoiT","bottom","[onclick]","innerHTML","[Timing] capture-total: ","textContent","top","height","img","a[href]","stringify","tagName","SELECT","hostname","11818FzpYHH","from","/events","html","toFixed",'[role="link"]',"[Timing] jpeg-encoding: ","granted","innerHeight","Enter","8195100nngxHI","trim","join","scroll","role","no-store","x-sl-access-token","intentEnter","dataset",'input[type="button"]',"1072SKbpwH","querySelector","[Timing] html2canvas-pro: ","attributes",'input[type="submit"]',"getItem","image/jpeg","toDataURL","pageview","number","getAttribute","/p.gif","getBoundingClientRect","data-intent-redact","context",'[role="button"]',"now","input-submit","INPUT","right","194xDEvbS","width","scrollY","toISOString","addEventListener","focus","1517750zVGHRb","<no visible label>","keydown","fixed","location","scrollX","aria-label","page-focus","POST","localhost","2189530NYYNAd","key","hasFocus","TEXTAREA","lon","body","target","hidden","blur","click","setAttribute","title","getComputedStyle","innerWidth","x-intent-sid","length","input, textarea, select, [data-intent-redact]","cloneNode","entries","closest","omit","page-blur","referrer","2448vMzmTT"];return(Nt=()=>t)()}function zt(){(t=>{const e=rt;if(Z||!et()||J)return;Z=!0;const n=()=>{const e=rt;window[e(217)](e(188),n,!0),window.removeEventListener("keydown",n,!0),t()};window[e(202)](e(188),n,!0),window[e(202)](e(210),n,!0)})(Mt)}_();let Dt=!document[ht(214)]&&document[ht(209)](),Pt=document[ht(209)]();function Bt(){const t=ht;if(kt())return;const e=!document[t(214)]&&document[t(209)]();e&&(Pt=!0),Pt||e?e!==Dt&&(Dt=e,Ct(e?t(204):"page-blur",{},document[t(212)])):Dt=e}function Rt(){const t=ht;(()=>{const t=globalThis;return!t[xt]&&(Object[ht(236)](t,xt,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window[t(195)](t(240),()=>{const e=t;St()&&(Lt(),(window.isSecureContext||location[e(254)]===e(206))&&(et()&&zt(),window.addEventListener("focus",()=>{it()&&Mt()}),document.addEventListener(e(237),()=>{!document[e(214)]&&it()&&Mt()})))}),window[t(195)]("storage",e=>{const n=t;e[n(208)]===s&&((()=>{const t=ht;return localStorage[t(176)](s)===t(262)})()?(wt=!1,Lt(),et()&&zt()):(wt=!1,ot())),e[n(208)]===c&&(et()?zt():ot())}),window[t(195)](t(240),()=>{const e=t;St()&&Ct(e(179),{url:window[e(201)].href,title:document[e(218)],ref:document[e(229)]},document[e(212)])}),addEventListener("pointerdown",(()=>{let e=0;return(...n)=>{const o=Date.now();o-e>=50&&(e=o,(e=>{const n=t;if(kt())return;const o=e.target instanceof Element?e.target[n(226)](It):null;o instanceof HTMLElement&&(bt=Et(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(216),async e=>{const n=t;if(kt())return;if(!(e.target instanceof Element))return;const o=e[n(213)][n(226)](It);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=ht,n=t[e(181)](e(203))?.[e(266)]();if(n)return n;const o=t[e(218)][e(266)]();if(o)return o;const r=t[e(246)]?.[e(266)]();return r||e(198)})(o);(async()=>{const t=bt?await bt:void 0;bt=void 0,Ct("click",{tag:o.tagName,label:r},o,t)})()},!0),addEventListener(t(199),e=>{const n=t;if(!kt()&&e[n(208)]===n(264)){const t=e[n(213)];if(!(t instanceof HTMLElement))return;const o=t[n(252)];if(o===n(189)||o===n(210)){const e=t instanceof HTMLInputElement?t.name:void 0,r=t.id||void 0;Ct(n(188),{tag:o,name:e??r},t)}else if(k(t)){const e=(t=>{const e=v;let n=t;for(;n&&n!==document[e(466)];){const t=n[e(465)](e(471));if("true"===t||""===t||t===e(460))return n;n=n[e(456)]}return null})(t)??t;if("newline"===e[n(169)][n(272)])return;const o=e[n(181)](n(269))?.toLowerCase(),r=e.id||void 0,i=e[n(181)]("name")||e[n(181)](n(203))||r;Ct(n(188),{tag:"CONTENTEDITABLE",role:o??"contenteditable",name:i},e)}}},{capture:!0}),[t(196),t(215)].forEach(e=>{window[t(195)](e,Bt)}),document.addEventListener(t(237),Bt),window[t(195)](t(268),(()=>{let e;return(...n)=>{void 0!==e&&window[b(428)](e),e=window.setTimeout(()=>{e=void 0,(()=>{const e=t;kt()||Ct(e(268),{scrollX:window[e(202)],scrollY:window[e(193)]},document[e(212)])})(...n)},250)}})(),{passive:!0}),window.intent??={send(e,n){const o=t;St()&&Ct(e,n,document[o(212)])}})}function Ut(t,e){const n=Kt;try{if(void 0===e)return;localStorage.setItem(t,e?t===n(137)?n(127):n(134):n(141))}catch{}}function Ht(t){Ut(Kt(137),t)}function jt(t){Ut("intent:geo",t)}function Ft(t){Ut(Kt(132),t)}function Ot(t){}function Wt(t={}){const e=Kt;localStorage[e(140)]("intent:data-client-id",t[e(122)]??""),localStorage[e(140)]("intent:data-ip",t.ip??""),localStorage[e(140)](e(153),t[e(142)]??"https://intent.callimacus.ai"),typeof t[e(146)]===e(150)&&localStorage[e(140)](e(143),String(t.sidMaxAgeSeconds)),Ut("intent:consent",t.consent),Ut(e(131),t[e(154)]),Ut(e(132),t[e(125)]),void 0!==t.debugPanel&&e(121),t.consent&&(V("intent_sid")||X(typeof crypto!==e(136)&&typeof crypto.randomUUID===e(148)?crypto[e(151)]():Date[e(149)]()+"-"+Math[e(147)](),t[e(146)])),Rt()}function Kt(t,e){return t-=121,Gt()[t]}function Yt(){return V("intent_sid")}function qt(){_()}function Vt(){G()}function Xt(t){const e=Kt;Number.isFinite(t)&&localStorage[e(140)](e(143),String(t));const n=V(e(139));n&&X(n,t)}function Gt(){const t=["11151513CKPhyX","enabled","41774yHdERQ","undefined","intent:consent","It exposes internal SDK behavior and should only be used during development.","intent_sid","setItem","disabled","baseUrl","intent:data-sid-max-age","10BKFWVi","warn","sidMaxAgeSeconds","random","function","now","number","randomUUID","33xoSxUP","intent:data-base-url","geo","debugPanel","clientId","883410RbFJVR","2796192LskYSY","debug","4159940uIGwDz","granted","[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. ","6945141AVsTxs","1672428rjvQYX","intent:geo","intent:debug"];return(Gt=()=>t)()}(()=>{const t=Kt,e=Gt();for(;;)try{if(679036==-parseInt(t(152))/1*(-parseInt(t(135))/2)+-parseInt(t(123))/3+-parseInt(t(126))/4+parseInt(t(144))/5*(-parseInt(t(130))/6)+parseInt(t(129))/7+-parseInt(t(124))/8+parseInt(t(133))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Vt as clearIntentSessionId,qt as ensureIntentSessionId,Yt as getIntentSessionId,Wt as initIntent,Ht as setConsent,Ft as setDebug,Ot as setDebugPanel,Ut as setFlag,jt as setGeo,Xt as setIntentSessionMaxAge};
4
+ import t from"html2canvas-pro";import e from"js-cookie";function n(t,e){return t-=238,r()[t]}async function o(){const t=n,e=(new Intl.DateTimeFormat)[t(305)]()[t(344)],o=(t=>{const e=n,o=t<=0?"+":"-",r=Math[e(333)](t);return""+o+String(Math[e(281)](r/60)).padStart(2,"0")+":"+String(r%60).padStart(2,"0")})((new Date)[t(246)]()),r=[];r[t(263)](t(253)+navigator[t(324)]),navigator.languages?.[t(271)]&&r.push(t(291)+navigator[t(326)][t(306)](", ")),r[t(263)](t(310)+navigator.userAgent);const i=function(){const t=n;if(!(t=>{const e=n;return e(329)in t&&void 0!==t[e(329)]})(navigator))return;const e=navigator.userAgentData,o=Array[t(317)](e.brands)?e.brands[t(267)](e=>e[t(251)]+" "+e[t(262)])[t(306)](", "):void 0,r=e[t(337)]?e.platform+(e.mobile?" (mobile)":""):void 0;return[o&&t(348)+o,r&&t(318)+r].filter(Boolean)[t(306)](t(327))||void 0}();i&&r[t(263)](i),r[t(263)](t(257)+e+t(270)+o+")"),r.push(t(238)+(new Date)[t(350)]());const a=window[t(276)]||1;r[t(263)](t(323)+screen[t(335)]+"x"+screen[t(260)]+" @"+a+"x (avail "+screen.availWidth+"x"+screen.availHeight+", "+screen[t(304)]+t(255));const s=screen[t(264)]&&t(293)in screen[t(264)]?screen[t(264)].type:void 0;r[t(263)]("Viewport: "+window.innerWidth+"x"+window[t(280)]+(s?t(353)+s:"")),r[t(263)](t(331)+navigator.hardwareConcurrency+t(309));const c=await async function(){const t=n,e=[];let o=t(286);if((t=>{const e=n;return e(268)in t&&void 0!==t[e(268)]})(navigator)){const n=navigator.connection;n?.[t(300)]&&e[t(263)](n[t(300)]),typeof n?.[t(287)]===t(352)&&e[t(263)]("~"+n[t(287)]+t(295)),typeof n?.[t(288)]===t(352)&&e[t(263)](n[t(288)]+t(277)),n?.[t(285)]&&e.push(t(285))}else{const r=((t=20)=>{const e=n,o=performance[e(252)](e(339))[e(266)](t=>t[e(245)]===e(339)),r=o?Math.max(0,o[e(247)]-o[e(307)]):void 0,i=performance[e(252)](e(354)).filter(t=>t.entryType===e(354));let a=0,s=0;for(const n of i[e(301)](0,Math[e(298)](0,t))){const t=n[e(315)]>0?n[e(315)]:n[e(347)]>0?n[e(347)]:0,o=n[e(322)];t>0&&o>0&&Number[e(351)](o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:typeof c===e(352)?c/1e3:void 0,rttMs:r}})();typeof r.downlinkMbps===t(352)&&e[t(263)]("~"+r[t(250)][t(242)](1)+t(295)),typeof r.rttMs===t(352)&&e[t(263)](t(272)+Math.round(r[t(345)])+t(277)),o=t(328)}const r=performance[t(252)](t(339))[t(266)](t=>"navigation"===t.entryType);if(r){const n=Math.max(0,r[t(247)]-r[t(307)]);!e[t(279)](t=>t.startsWith("TTFB"))&&e.push(t(272)+Math[t(282)](n)+t(277))}return e[t(271)]?t(278)+e.join(", ")+" ("+o+")":void 0}();c&&r[t(263)](c),r[t(263)]((()=>{const t=n,e="function"==typeof matchMedia&&matchMedia(t(289))[t(343)],o=typeof matchMedia===t(297)&&matchMedia(t(346))[t(343)];return"Pointer/Touch: "+t(e?244:o?240:249)+", maxTouchPoints "+navigator.maxTouchPoints})());const d=await async function(){const t=n;if((t=>{const e=n;return e(256)in t&&typeof t[e(256)]===e(297)})(navigator))try{const e=await navigator.getBattery(),n=Math[t(282)](100*e[t(313)]);return"Battery: "+[(Number[t(351)](n)?n:0)+"%",e[t(312)]?t(312):t(336)].join(", ")}catch{}}();d&&r[t(263)](d),r[t(263)](t(321)+(navigator.cookieEnabled?t(274):"no")+t(302)+(navigator.doNotTrack??t(269))),r[t(263)](t(330)+(navigator[t(259)]?t(274):"no")),document[t(338)]&&r.push(t(349)+document[t(338)]),r[t(263)]((()=>{const t=n,e=typeof matchMedia===t(297)&&matchMedia("(display-mode: standalone)").matches,o=Boolean(navigator[t(239)]?.[t(340)]);return t(334)+t(o?241:308)+", display-mode standalone: "+(e?t(274):"no")})());const l=await async function(t=400){const e=n;if(e(265)in window&&window[e(284)])return new Promise(o=>{const r=e;let i=!1;const a=t=>{const e=n,r="number"==typeof t.beta?t[e(320)]:void 0,s=typeof t.gamma===e(352)?t.gamma:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(273)](e(258),a);const c=((t,e)=>{const o=n,r=Math[o(333)](t),i=Math[o(333)](e);return r<15&&i<15?"flat":r>=60?"upright":"reclined"})(r,s);o(e(283)+c+" (β "+Math[e(282)](r)+e(292)+Math[e(282)](s)+"°)")};window[r(296)](()=>{const t=r;i||(i=!0,window[t(273)](t(258),a),o(void 0))},t),window[r(332)](r(258),a,{passive:!0})})}();l&&r[t(263)](l);const u="enabled"===localStorage[t(243)](t(325));return r[t(263)](t(u?316:275)),r.join(" | ")}function r(){const t=["deviceorientation","onLine","height","34009kFEoJj","version","push","orientation","DeviceOrientationEvent","find","map","connection","n/a"," (UTC","length","TTFB ~","removeEventListener","yes","Device geolocation: disabled","devicePixelRatio"," ms","Network: ","some","innerHeight","floor","round","Tilt: ","isSecureContext","saveData","browser API","downlink","rtt","(pointer: coarse)","8NlOYaA","Languages: ","°, γ ","type","46849ntzFXW"," Mbps","setTimeout","function","max","3454508oyhyaF","effectiveType","slice","; DNT: ","1830Pzdtga","colorDepth","resolvedOptions","join","requestStart","no SW"," cores","User agent: ","266050uZYJCb","charging","level","9725292BtgmOz","encodedBodySize","Device geolocation: enabled","isArray","Platform: ","5344353HItjcK","beta","CookiesEnabled: ","duration","Screen: ","language","intent:geo","languages"," | ","inferred","userAgentData","Online: ","CPU: ","addEventListener","abs","PWA: ","width","not charging","platform","referrer","navigation","controller","5YBPgfp","6lTFBeg","matches","timeZone","rttMs","(pointer: fine)","transferSize","UA brands: ","Referrer: ","toString","isFinite","number",", orientation ","resource","Local time: ","serviceWorker","fine","SW-controlled","toFixed","getItem","coarse","entryType","getTimezoneOffset","responseStart","2968758qZDRYF","unknown","downlinkMbps","brand","getEntriesByType","Language: ","3UYOYNG","-bit)","getBattery","Timezone: "];return(r=()=>t)()}(()=>{const t=n,e=r();for(;;)try{if(459628==parseInt(t(261))/1+-parseInt(t(311))/2*(-parseInt(t(254))/3)+-parseInt(t(299))/4*(parseInt(t(341))/5)+-parseInt(t(342))/6*(parseInt(t(319))/7)+-parseInt(t(290))/8*(-parseInt(t(248))/9)+-parseInt(t(303))/10*(-parseInt(t(294))/11)+parseInt(t(314))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=l;function a(){const t=["intent:data-ip","507549zUSrem","1165oloYYV","intent:debug","7418hAwPRV","intent:geo","6702cfiYac","intent:data-client-id","https://intent.callimacus.ai","8MjlnAc","9jQpqeE","19KFzNJM","intent:debug-panel","1260530kEVcZd","124479xBzYCr","3550480sVNcqs","3011734hZzOyj","intent:data-base-url"];return(a=()=>t)()}(()=>{const t=l,e=a();for(;;)try{if(276290==parseInt(t(458))/1*(parseInt(t(469))/2)+parseInt(t(461))/3*(-parseInt(t(456))/4)+-parseInt(t(467))/5*(-parseInt(t(453))/6)+parseInt(t(466))/7+-parseInt(t(462))/8+parseInt(t(457))/9*(parseInt(t(460))/10)+parseInt(t(463))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const s="intent:consent",c=i(452),d=i(468);function l(t,e){return t-=452,a()[t]}const u=i(459),p=i(454),m=i(465),f=i(464),g=i(455),h=b;function v(...t){const e=b;try{"undefined"!=typeof localStorage&&localStorage[e(415)](d)===e(417)&&console[e(399)](...t)}catch{}}function b(t,e){return t-=371,w()[t]}(()=>{const t=b,e=w();for(;;)try{if(778503==parseInt(t(383))/1+-parseInt(t(384))/2*(parseInt(t(411))/3)+-parseInt(t(376))/4*(-parseInt(t(380))/5)+parseInt(t(377))/6+parseInt(t(387))/7+parseInt(t(404))/8*(parseInt(t(381))/9)+-parseInt(t(385))/10*(parseInt(t(374))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const y=Object[h(371)](new Set([h(402),h(414),h(386)]));function w(){const t=["toLowerCase","log","setTimeout","role","textbox","now","8LNdyLx","replace","textarea","[contenteditable]","clearTimeout","join","textContent","2630373SlcCHA","INPUT","getAttribute","combobox","getItem","contenteditable","enabled","freeze","string","map","814kUuEQF","TEXTAREA","12xDRlIK","868218AChpZS","true","value","609090JaomBh","11264157vFNcUV","&lt;","1452041bxZKjP","2fQpMiW","323350LOFsrd","searchbox","5840191EAUFab","&quot;","host","&gt;","plaintext-only","has","innerText","tagName","parentElement","select",'[role="'];return(w=()=>t)()}const x=["input",h(406),h(396),h(407),...[...y][h(373)](t=>h(397)+t+'"]')][h(409)](", ");function I(t){const e=h,n=t[e(394)];return n===e(412)||n===e(375)||"SELECT"===n}function S(t){const e=h;if(I(t))return!0;const n=t.getAttribute("contenteditable");if(""===n||n===e(378)||n===e(391))return!0;const o=t[e(413)](e(401))?.[e(398)]();return!(!o||!y[e(392)](o))}function k(t){const e=h,n=t[e(395)];if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o[e(389)]instanceof Element?o[e(389)]:void 0}function E(t){const e=h;return t[e(405)](/&/g,"&amp;")[e(405)](/</g,e(382))[e(405)](/>/g,e(390))[e(405)](/"/g,e(388))[e(405)](/'/g,"&#039;")}const T=N;(()=>{const t=N,e=L();for(;;)try{if(658578==-parseInt(t(295))/1+-parseInt(t(293))/2*(parseInt(t(357))/3)+parseInt(t(368))/4*(-parseInt(t(387))/5)+parseInt(t(310))/6*(-parseInt(t(303))/7)+parseInt(t(313))/8+-parseInt(t(281))/9+parseInt(t(351))/10*(parseInt(t(359))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const C=T(335),A=new Set([T(343),T(292),T(366),T(382),"nickname",T(289),T(283),"tel",T(370),T(386),T(372),T(276),T(299),T(309),"address-level1",T(376),T(347),T(355),T(381),T(294),"postal-code","cc-name",T(278),T(360),T(345),T(277),T(356),T(307),"cc-exp-year",T(385),T(320),T(314),"bday-day","bday-month",T(286),T(319),T(383)]);function M(t){return"<"+(t=>{const e=T,n=(t[e(316)]?.("data-intent-redact-label")??"")[e(353)]();if(n)return n;const o=t[e(316)]?.(e(298))||"",r=S(t)?o[e(273)]().trim()[e(300)](/\s+/)[e(288)](Boolean):[];if(t[e(280)]===e(328)&&t[e(322)]===e(317))return e(350);for(const t of r){const n=B[e(271)](t);if(n)return n}const i=t[e(316)]?.(C)?.toLowerCase();return"mask"===i?"Redacted":e(296)})(t)+">"}function L(){const t=["SELECT","push","postal-code","address-level2","textContent","clear","iframe","Cardholder name","country","family-name","webauthn","setAttribute","cc-csc","organization-title","400XCCWvm","get","Address line 2","toLowerCase","bday-day","Postal code","address-line1","cc-number","cc-given-name","Country name","tagName","9859266gQfHIL","data-html2canvas-ignore","email","includes","cc-name","bday-year","stringify","filter","username",'"" or "mask" (redact), "ignore" (exclude from capture)',"add","given-name","1030vTSxgH","country-name","751137xJxxck","Sensitive","body","autocomplete","address-line2","split","time","text","8258747RqxwYk","contentDocument","date","Nickname","cc-exp-month","City","address-line3","6YlNUcI","value","Neighborhood","639712vSWXMq","bday","Cardholder middle name","getAttribute","password","Expiration month","sex","cc-type","Birthday","type","Birth day","ownerDocument","has","Cardholder last name","Country code","INPUT",". Supported values are ","Last name","warn","cc-exp-year","Address line 1","District","data-intent-redact","Middle name","Job title","Card number","some","month","Street address","Expiration date","name","Name","cc-family-name","datetime-local","address-level3","Card type","Sex","Password","1080ccHEgz","week","trim","querySelectorAll","address-level4","cc-exp","1878iMzrXR","ignore","404327YZSgRG","cc-additional-name","searchbox","TEXTAREA","Email","[intent] Unsupported data-intent-redact value ","role","additional-name","shadowRoot","2116fewapx","tel","organization","Security code","street-address"];return(L=()=>t)()}function N(t,e){return t-=271,L()[t]}const B=new Map([["name",T(344)],[T(292),"First name"],["family-name",T(330)],[T(366),T(336)],["nickname",T(306)],[T(289),"Username"],[T(283),T(363)],[T(369),"Phone"],[T(372),T(341)],[T(276),T(333)],[T(299),T(272)],[T(309),"Address line 3"],["address-level1","State/Province"],["address-level2",T(308)],[T(347),T(334)],[T(355),T(312)],[T(375),T(275)],[T(381),T(327)],[T(294),T(279)],[T(285),T(380)],[T(278),"Cardholder first name"],[T(345),T(326)],[T(360),T(315)],[T(277),T(338)],[T(356),T(342)],[T(307),T(318)],[T(332),"Expiration year"],[T(385),T(371)],["cc-type",T(348)],[T(314),T(321)],[T(274),T(323)],["bday-month","Birth month"],[T(286),"Birth year"],[T(370),"Organization"],[T(386),T(337)],["sex",T(349)],["webauthn","WebAuthn"]]);function z(t){const e=T;return t.hasAttribute(e(282))||t[e(316)](C)?.[e(273)]()===e(358)}const D=new Set;function U(t){const e=T,n=t[e(316)](C);if(null===n)return!1;const o=n[e(273)]();return o!==e(358)&&(""!==n&&"mask"!==o&&(t=>{const e=T;if(D[e(325)](t))return;D[e(291)](t);const n=JSON[e(287)](t),o=e(290),r=e(364)+n+e(329)+o+'. Treating as "mask" to prevent data leaks.';try{console[e(331)](r)}catch{}})(n),!0)}function P(t){const e=T;let n=t;for(;n&&n!==document[e(297)];){if(z(n))return!0;n=k(n)}return!1}function O(t){return!(z(t)||!U(t)&&!(t=>{const e=T,n=t[e(280)];if(n===e(328)){const n=t;if(n[e(322)]===e(317))return!0;if("search"===n[e(322)])return!1;const o=n[e(316)](e(365));if(o?.toLowerCase()===e(361))return!1;if((n[e(298)]||"")[e(273)]()[e(353)]()[e(300)](/\s+/)[e(288)](Boolean)[e(339)](t=>A.has(t)))return!0}if((n===e(362)||n===e(373))&&(t[e(298)]||"").toLowerCase()[e(353)]()[e(300)](/\s+/)[e(288)](Boolean)[e(339)](t=>A[e(325)](t)))return!0;if(S(t)&&!I(t)){const n=t[e(316)](e(365))?.[e(273)]();if(n===e(361))return!1;if((t.getAttribute(e(298))||"")[e(273)]()[e(353)]()[e(300)](/\s+/)[e(288)](Boolean)[e(339)](t=>A[e(325)](t)))return!0}return!1})(t))}function F(t){const e=T;if(!P(t))if(I(t)){if(O(t)){if(t[e(280)]===e(328)){const n=t;[e(305),e(346),e(340),e(301),e(352)][e(284)](n[e(322)])&&(n.type=e(302))}const n=M(t);t[e(311)]=n,t[e(384)]("value",n)}}else S(t)?O(t)&&(t[e(377)]=M(t)):t.hasAttribute(C)&&U(t)&&(t.textContent=M(t))}function R(t,e){const n=T,o=[],r=[t];for(t instanceof Element&&t[n(367)]&&r[n(374)](t[n(367)]);r.length>0;){const t=r.pop()[n(354)]("*");for(const i of t)i.matches(e)&&o[n(374)](i),i[n(367)]&&r.push(i.shadowRoot)}return o}function j(t,e=new Set){const n=T,o=t instanceof Document?t:t[n(324)];if(o){if(e[n(325)](o))return;e.add(o)}t instanceof Element&&F(t);for(const e of R(t,x))F(e);for(const e of R(t,"["+C+"]"))F(e);for(const o of R(t,n(379)))if("IFRAME"===o.tagName)try{const t=o[n(304)];t&&j(t,e)}catch{}}(()=>{const t=Y,e=J();for(;;)try{if(797955==parseInt(t(449))/1*(parseInt(t(456))/2)+parseInt(t(447))/3*(-parseInt(t(446))/4)+-parseInt(t(441))/5*(-parseInt(t(438))/6)+-parseInt(t(437))/7*(parseInt(t(440))/8)+-parseInt(t(444))/9*(parseInt(t(450))/10)+parseInt(t(443))/11+parseInt(t(448))/12*(parseInt(t(452))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let W="";function H(){return W}function Y(t,e){return t-=437,J()[t]}function q(t){return e[Y(451)](t)}function J(){const t=["6189198xYhLEj","remove","24nDzEUB","5fWantu","https:","3772780bMVwuL","4787235NcxuOa","number","284356bwUBvY","3BXiHeg","12296652czPtYy","53RENJXR","30UxuBOW","get","13ZUgiQW","getItem","intent_sid","isFinite","45434hbsVWU","2656374rvRIsV"];return(J=()=>t)()}function X(t,n){const o=Y,r=localStorage.getItem("intent:data-sid-max-age"),i=null===r?void 0:Number(r),a=typeof n===o(445)&&Number[o(455)](n)?n:"number"==typeof i&&Number[o(455)](i)?i:2592e3,s=window.location.protocol===o(442);e.set(o(454),t,{expires:a/86400,path:"/",sameSite:"Lax",...s&&{secure:!0}})}function K(){const t=Y;e[t(439)](t(454),{path:"/"})}function V(){const t=q(Y(454));if("granted"!==localStorage[Y(453)](s))return t&&K(),void(W="");t?W=t:(W=crypto.randomUUID(),X(W))}function Z(t,e){return t-=450,_()[t]}function _(){const t=["query","getItem","visibilityState","message","UNKNOWN","altitude","10294AuWAfM","279nvhOuR","addEventListener","removeEventListener","169270xVFREa","TIMEOUT","onLine","permissions","enabled","coords","9900vdwWvY","keydown","timestamp","speed","heading","isFinite","getCurrentPosition","hostname","PERMISSION_DENIED","protocol","number","geoEnabled","6283228jGQEMg","geolocation","102152rQsloI","11148929UKKsDX","3179979ZwBBqI","hasFocus","140rFLria","longitude","1668RnueBg","accuracy","canRequest","POSITION_UNAVAILABLE","8QDfRhe"];return(_=()=>t)()}(()=>{const t=Z,e=_();for(;;)try{if(645367==parseInt(t(488))/1*(parseInt(t(460))/2)+-parseInt(t(486))/3+parseInt(t(484))/4+-parseInt(t(470))/5*(-parseInt(t(490))/6)+parseInt(t(482))/7*(parseInt(t(453))/8)+-parseInt(t(461))/9*(-parseInt(t(464))/10)+-parseInt(t(485))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let G=!1,Q=!1,$=!1,tt=!1,et=!1;function nt(){const t=Z;return localStorage[t(455)](c)===t(468)}function ot(){G=!1,$=!1,et=!1}function rt(){return!G&&nt()&&!tt&&et}function it(){const t=["stopPropagation"," event","readyState",'\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">','</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">',"src","event","body","80659UwIOct","length","DOMContentLoaded","1317972IEWIGv","stringify","img","createElement","round","html","innerWidth","right",'\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-count","✕ Close","tagName","now","undefined","div","ignore","key","\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","addEventListener","width","data:image/","\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","top","loading","enabled","#intent-debug-close","362860zOBRwV","toLocaleTimeString","mousedown","randomUUID","display","preventDefault","#intent-debug-minimize","62140xyKVJZ","shift","max","target","data-intent-redact","clientY","flex","intent-debug-screenshot","cssText",'\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">',"startsWith","mouseup","Click anywhere or press ESC to close","16STJwPe","\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t","querySelector","0 events",'\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">',"intent-debug-fullscreen-modal","style","appendChild",'\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\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","innerHTML","#intent-debug-events","236243IMzEnW","610835vkvbAb","setItem","400px",'\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">',"\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","button","firstElementChild","</pre>\n\t\t\t\t\t","getBoundingClientRect","random","BUTTON","function","join","keydown","click","innerHeight","Escape","textContent","min","none","props","#intent-debug-header","remove","classList"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","reverse","#intent-debug-clear","push","auto","bbox",'" \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 (~',"#intent-debug-content",'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="',"85611uYxvBL"];return(it=()=>t)()}const at=lt;(()=>{const t=lt,e=it();for(;;)try{if(219090==parseInt(t(475))/1+parseInt(t(400))/2+-parseInt(t(466))/3+parseInt(t(407))/4+parseInt(t(433))/5+-parseInt(t(478))/6+-parseInt(t(432))/7*(-parseInt(t(420))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let st,ct=[],dt=!1;function lt(t,e){return t-=392,it()[t]}function ut(){const t=lt;if(!st)return;const e=st[t(422)](t(431)),n=st[t(422)](t(487));if(!e||!n)return;if(0===ct[t(476)])return e[t(430)]=t(486),void(n[t(450)]=t(423));const o=[...ct][t(458)]();e[t(430)]=o.map(t=>(t=>{const e=lt,n=new Date(t.timestamp)[e(401)](),o=t.img&&t[e(480)][e(476)]>0,r=o?Math[e(482)](.75*t.img[e(476)]/1024):0,i=E(t[e(473)]),a=E(JSON.stringify(t[e(453)],null,2)),s=E(t[e(483)]),c=E(JSON[e(479)](t[e(462)],null,2));return e(416)+i+e(471)+n+"</div>\n\t\t\t</div>\n\t\t\t"+(o?e(465)+t[e(480)]+e(463)+r+e(457):"")+e(470)+a+"</pre>\n\t\t\t\t\t"+(t[e(483)]?e(424)+s+e(440):"")+e(436)+c+"</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t"})(t))[t(445)](""),n[t(450)]=ct[t(476)]+t(468)+(1===ct[t(476)]?"":"s")}function pt(){const t=lt;if(st)return void(st.style[t(404)]=t(413));const e=document[t(481)](t(492));e[t(430)]=lt(428),st=e[t(439)],document[t(474)].appendChild(st);const n=st.querySelector(t(399)),o=st[t(422)](t(406)),r=st[t(422)](t(459));n?.addEventListener("click",()=>{!function(t){const e=lt;try{localStorage[e(434)](u,t?e(398):"disabled"),t?pt():(()=>{const t=lt;st&&(st[t(426)][t(404)]=t(452))})()}catch{}}(!1)}),o?.addEventListener("click",()=>{(()=>{const t=lt;if(!st)return;const e=st[t(422)](t(464)),n=st[t(422)]("#intent-debug-minimize");e&&n&&(dt=!dt,dt?(e.style[t(404)]="none",st[t(426)][t(393)]="200px",n.textContent="+"):(e[t(426)][t(404)]="flex",st.style[t(393)]=t(435),n[t(450)]="−"))})()}),r?.[t(392)](t(447),()=>{ct=[],ut()}),(()=>{const t=lt;if(!st)return;const e=st[t(422)](t(454));if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e[t(392)](t(402),e=>{const o=t;if(e.target[o(489)]===o(443))return;n=!0;const r=st[o(441)]();i=e.clientX-r.left,a=e[o(412)]-r[o(396)]}),document[t(392)]("mousemove",e=>{const s=t;if(!n||!st)return;e[s(405)](),o=e.clientX-i,r=e[s(412)]-a;const c=window[s(484)]-st.offsetWidth,d=window[s(448)]-st.offsetHeight;o=Math[s(409)](0,Math[s(451)](o,c)),r=Math[s(409)](0,Math[s(451)](r,d)),st[s(426)].left=o+"px",st.style.top=r+"px",st[s(426)][s(485)]=s(461)}),document[t(392)](t(418),()=>{n=!1})})(),st[t(392)]("click",e=>{const n=t,o=e[n(410)];if(o[n(456)].contains(n(414))){const t=o;t[n(472)]&&t[n(472)][n(417)](n(394))&&(t=>{const e=lt,n=document[e(481)]("div");n.id=e(425),n.setAttribute(e(411),e(493)),n[e(426)][e(415)]="\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(481)]("div");o[e(426)][e(415)]=e(395);const r=document[e(481)]("img");r.src=t,r[e(426)][e(415)]=e(495);const i=document[e(481)](e(492));i.style[e(415)]=e(429);const a=document[e(481)](e(438));a[e(450)]=e(488),a[e(426)].cssText=e(437);const s=document.createElement(e(492));s[e(450)]=e(419),s.style[e(415)]=e(421),i[e(427)](a),i.appendChild(s),o[e(427)](r),o.appendChild(i),n[e(427)](o);const c=()=>{const t=e;n[t(455)](),document.removeEventListener(t(446),d)};n.addEventListener(e(447),c),a[e(392)](e(447),t=>{t[e(467)](),c()}),r[e(392)](e(447),t=>{t.stopPropagation()});const d=t=>{const n=e;t[n(494)]===n(449)&&c()};document[e(392)](e(446),d),document[e(474)][e(427)](n)})(t[n(472)])}}),ut()}function mt(){var t=["logEventToDebugPanel","undefined","1753199qGEouy","307634Kufgtq","setDebugPanel","3850830juEqEU","7912072lYDbBl","4281SDBLPF","3732wxrcEI","1364970HbKxOe","[Intent SDK] Debug panel is not available in this build. ","3923555fOFyeW","18bsCGMX","warn","Use the debug build variant: @solomei-ai/intent/debug or intent.debug.umd.min.js"];return(mt=()=>t)()}function ft(t,e){return t-=482,mt()[t]}typeof window!==at(491)&&function(){const t=lt;try{return localStorage.getItem(u)===t(398)}catch{return!1}}()&&(document[at(469)]===at(397)?document[at(392)](at(477),()=>{pt()}):pt()),Symbol,(()=>{for(var t=ft,e=mt();;)try{if(787547==-parseInt(t(485))/1+-parseInt(t(494))/2+-parseInt(t(483))/3*(-parseInt(t(484))/4)+parseInt(t(487))/5+parseInt(t(488))/6*(parseInt(t(493))/7)+-parseInt(t(482))/8+parseInt(t(496))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const gt=St;function ht(){const t=["26HcCYGF",'[role="link"]',"[onclick]","input, textarea, select, [data-intent-redact]","application/json","body",'[role="button"]',"device",'input[type="button"]',"title",'input[type="submit"]',"a[href]","393846voJOkS","getAttribute","1408495rrUFny","pageview","SELECT","click","hasFocus","cloneNode","scroll","now","referrer","from","tagName","intentEnter","data-intent-redact","INPUT","focus","href","outerHTML","55425yiEzrP","load","scrollX","3681940AkNyOq","omit","contenteditable","granted","4zUbPFf","querySelector","10303184WbNDaK","defineProperty","attributes","no-store","key","intent","location","blur","POST","x-sl-access-token","closest","value","keydown","/events","13584450VStZvx","addEventListener","entries","localhost","pixel body fallback failed","[Timing] serialize: ","length","target","dataset","scrollY","input-submit","innerHTML","innerWidth","trim","top","bottom","getItem","fixed","stringify","right","TEXTAREA","hasAttribute","toFixed","absolute","role","visibilitychange","x-intent-sid","innerHeight","textContent","left","number","9oPilvy","lon","hostname","isSecureContext","hidden","__intent__sdk__initialized__","7MkABIH","name","pointerdown","31014hFAJwD","<no visible label>","context","page-focus","page-blur","setAttribute","width","/p.gif","[Timing] html2canvas-pro: ","[Timing] capture-total: "];return(ht=()=>t)()}(()=>{const t=St,e=ht();for(;;)try{if(908389==parseInt(t(580))/1+parseInt(t(590))/2*(parseInt(t(517))/3)+parseInt(t(524))/4*(parseInt(t(500))/5)+-parseInt(t(498))/6*(parseInt(t(577))/7)+parseInt(t(526))/8+parseInt(t(571))/9*(parseInt(t(520))/10)+-parseInt(t(540))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let vt,bt,yt=0,wt=!1;const xt=gt(576),It=["button",gt(497),"a",gt(496),gt(494),gt(492),gt(591),gt(592)].join(",");function St(t,e){return t-=491,ht()[t]}function kt(){return V(),(()=>{const t=gt;return localStorage.getItem(s)===t(523)})()&&Boolean(H())&&(()=>{const t=gt;return Boolean(localStorage[t(556)](p)?.[t(553)]()[t(546)])})()}function Et(){return!kt()||Q}async function Tt(e){for(;bt;)await bt;return bt=(async()=>{const n=St;try{const o=performance[n(507)](),r=performance[n(507)](),i=(t=>{const e=gt;if(z(t))return"";const n=t[e(505)](!1);return Array[e(509)](t[e(528)]).forEach(({name:t,value:o})=>{n[e(585)](t,o)}),I(t)?I(n)&&(n[e(537)]=t[e(537)]):S(t)?n[e(551)]=t[e(551)]:n.textContent=t.textContent,j(n),I(n)&&n[e(585)](e(537),n[e(537)]),n[e(516)]})(e),a=performance[n(507)]()-r;v(n(545)+a[n(562)](2)+"ms");const s=e.getBoundingClientRect(),c=performance[n(507)](),d={left:window[n(519)],top:window[n(549)],right:window[n(519)]+window[n(552)],bottom:window[n(549)]+window[n(567)]},l=await t(document[n(491)],{useCORS:!0,x:window[n(519)],y:window[n(549)],width:window[n(552)],height:window[n(567)],scale:.6,logging:!1,onclone(t){j(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(P(t))return!0;const o=t.getBoundingClientRect(),r={left:o[e(569)]+window[e(519)],top:o.top+window[e(549)],right:o[e(559)]+window[e(519)],bottom:o[e(555)]+window[e(549)]},i=100;if(!(r.right<d[e(569)]-i||r[e(569)]>d[e(559)]+i||r[e(555)]<d[e(554)]-i||r[e(554)]>d[e(555)]+i))return!1;if(t.tagName===e(513)||t[e(510)]===e(560)||t[e(510)]===e(502)||t[e(561)](e(512))||t[e(525)](e(593)))return!1;const a=window.getComputedStyle(t),{position:s}=a;if(s===e(557)||s===e(563)){const t=500;return r.right<d[e(569)]-t||r[e(569)]>d[e(559)]+t||r[e(555)]<d[e(554)]-t||r[e(554)]>d.bottom+t}return!0}}),u=performance.now()-c;v(n(588)+u[n(562)](2)+"ms");const p=performance.now(),m=l.toDataURL("image/jpeg",.8);v("[Timing] jpeg-encoding: "+(performance[n(507)]()-p)[n(562)](2)+"ms");const f=performance[n(507)]()-o;return v(n(589)+f[n(562)](2)+"ms"),{html:i,bbox:{x:s.x,y:s.y,w:s[n(586)],h:s.height},img:m,fullCanvas:l}}finally{bt=void 0}})(),bt}function Ct(){const t=gt,e=localStorage[t(556)](p),n={"Content-Type":t(594)};e&&(n[t(535)]=e);const o=H();return o&&(n[t(566)]=o),n}async function At(t,e,n,o){const r=gt;if(!kt())return;const i={...e,localTime:(new Date).toISOString()};S(n)&&(i[r(537)]=O(n)?M(n):(t=>{const e=h;if(I(t))return t[e(379)];const n=t[e(393)];return typeof n===e(372)?n:t[e(410)]??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!(t===r(506)||t===r(584)||t===r(583)),l=Date.now(),u=l-yt>=0;let m=o;const v=t===r(503)||t===r(550)||t===r(501);d&&(v&&!m||!m&&u)&&(m=await Tt(n),yt=l),m&&(a=m.html,s=m.bbox,c=m.img);const b=t===r(584)||t===r(583)||t===r(501),y={ts:Date[r(507)](),event:t,url:window[r(532)][r(515)],props:i,html:b?"":a,bbox:s,img:c};await async function(t){const e=gt,n=(localStorage[e(556)](f)??g)+e(539),o=localStorage.getItem(p)??void 0,r=JSON[e(558)]({...t,clientId:o});try{if((await fetch(n,{method:e(534),headers:Ct(),body:r,keepalive:!0,credentials:e(521)})).ok)return}catch{}try{await(async t=>{const e=gt,n=(localStorage[e(556)](f)??g)+e(587);if(!(await fetch(n,{method:e(534),headers:Ct(),body:JSON[e(558)](t),keepalive:!0,credentials:"omit",cache:e(529)})).ok)throw new Error(e(544))})(t)}catch{}}(y)}async function Mt(t={}){const e=gt;if(!kt())return;const n=typeof t.lat===e(570)&&typeof t[e(572)]===e(570);if(n&&G)return;if(!n&&wt)return;const r=localStorage[e(556)](m),i={context:await o()};r&&(i.ip=r);for(const[n,o]of Object[e(542)](t))i[n]=o;await At(e(582),i,document[e(491)],{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(wt=!0)}async function Lt(){await(async(t,e)=>{const n=Z,o={canRequest:e(),geoEnabled:nt(),deviceGeoSent:G};if(!o[n(451)]||!o[n(481)]||o.deviceGeoSent)return;if(!(n(483)in navigator))return;if(tt)return;tt=!0,Q=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};try{await(navigator[n(467)]?.[n(454)]({name:n(483)}))}catch(t){}await new Promise(t=>{const e=n;let o=!1;const i=async(e,n,r)=>{const i=Z;o||(o=!0,Number[i(475)](e)&&Number[i(475)](n)&&(await(async(t,e,n)=>{const o=St;await Mt({lat:t,lon:e,source:o(493),...n})})(e,n,r),G=!0),tt=!1,Q=!1,et=!0,t())};navigator[e(483)][e(476)](t=>{const e=Z,n=t[e(469)];i(n.latitude,n[e(489)],{accuracy:n[e(450)],altitude:"number"==typeof n[e(459)]?n[e(459)]:void 0,altitudeAccuracy:typeof n.altitudeAccuracy===e(480)?n.altitudeAccuracy:void 0,heading:typeof n[e(474)]===e(480)?n[e(474)]:void 0,speed:"number"==typeof n[e(473)]?n[e(473)]:void 0,timestamp:t[e(472)],visibility:document[e(456)],focused:document[e(487)]()})},t=>{const e=Z,n=t?.code,o={error:{code:n,name:e(1===n?478:2===n?452:3===n?465:458),message:t?.[e(457)]??""},online:navigator[e(466)],visibility:document[e(456)],focused:document[e(487)](),secure:window.isSecureContext,proto:location[e(479)],host:location[e(477)]};i(void 0,void 0,o)},r)})})(0,kt)}function Nt(){(t=>{const e=Z;if($||!nt()||G)return;$=!0;const n=()=>{const e=Z;window[e(463)]("pointerdown",n,!0),window[e(463)](e(471),n,!0),t()};window[e(462)]("pointerdown",n,!0),window[e(462)](e(471),n,!0)})(Lt)}V();let Bt=!document[gt(575)]&&document.hasFocus(),zt=document[gt(504)]();function Dt(){const t=gt;if(Et())return;const e=!document[t(575)]&&document[t(504)]();e&&(zt=!0),zt||e?e!==Bt&&(Bt=e,At(t(e?583:584),{},document[t(491)])):Bt=e}function Ut(){const t=gt;(()=>{const t=globalThis;return!t[xt]&&(Object[gt(527)](t,xt,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window[t(541)](t(518),()=>{const e=t;kt()&&(Mt(),(window[e(574)]||location[e(573)]===e(543))&&(nt()&&Nt(),window[e(541)](e(514),()=>{rt()&&Lt()}),document.addEventListener(e(565),()=>{!document[e(575)]&&rt()&&Lt()})))}),window.addEventListener("storage",e=>{const n=t;e[n(530)]===s&&((()=>{const t=gt;return localStorage[t(556)](s)===t(523)})()?(wt=!1,Mt(),nt()&&Nt()):(wt=!1,ot())),e[n(530)]===c&&(nt()?Nt():ot())}),window.addEventListener(t(518),()=>{const e=t;kt()&&At("pageview",{url:window.location[e(515)],title:document.title,ref:document[e(508)]},document[e(491)])}),addEventListener(t(579),(()=>{let e=0;return(...n)=>{const o=Date[b(403)]();o-e>=50&&(e=o,(e=>{const n=t;if(Et())return;const o=e.target instanceof Element?e[n(547)][n(536)](It):null;o instanceof HTMLElement&&(vt=Tt(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener("click",async e=>{const n=t;if(Et())return;if(!(e[n(547)]instanceof Element))return;const o=e[n(547)][n(536)](It);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=gt,n=t.getAttribute("aria-label")?.[e(553)]();if(n)return n;const o=t[e(495)].trim();if(o)return o;const r=t[e(568)]?.[e(553)]();return r||e(581)})(o);(async()=>{const t=n,e=vt?await vt:void 0;vt=void 0,At(t(503),{tag:o[t(510)],label:r},o,e)})()},!0),addEventListener(t(538),e=>{const n=t;if(!Et()&&"Enter"===e[n(530)]){const t=e[n(547)];if(!(t instanceof HTMLElement))return;const o=t.tagName;if("INPUT"===o||o===n(560))At("input-submit",{tag:o,name:(t instanceof HTMLInputElement?t[n(578)]:void 0)??(t.id||void 0)},t);else if(S(t)){const e=(t=>{const e=h;let n=t;for(;n&&n!==document.body;){const t=n[e(413)](e(416));if(t===e(378)||""===t||t===e(391))return n;n=n[e(395)]}return null})(t)??t;if("newline"===e[n(548)][n(511)])return;const o=e[n(499)](n(564))?.toLowerCase(),r=e.id||void 0,i=e[n(499)](n(578))||e[n(499)]("aria-label")||r;At(n(550),{tag:"CONTENTEDITABLE",role:o??n(522),name:i},e)}}},{capture:!0}),[t(514),t(533)].forEach(e=>{window[t(541)](e,Dt)}),document[t(541)](t(565),Dt),window[t(541)](t(506),(()=>{let e;return(...n)=>{const o=b;void 0!==e&&window[o(408)](e),e=window[o(400)](()=>{e=void 0,(()=>{const e=t;Et()||At(e(506),{scrollX:window[e(519)],scrollY:window[e(549)]},document[e(491)])})(...n)},250)}})(),{passive:!0}),window[t(531)]??={send(e,n){const o=t;kt()&&At(e,n,document[o(491)])}})}function Pt(t,e){const n=Ht;try{if(void 0===e)return;localStorage[n(338)](t,n(e?"intent:consent"===t?371:370:361))}catch{}}function Ot(t){Pt(Ht(345),t)}function Ft(t){Pt(Ht(346),t)}function Rt(t){Pt(Ht(347),t)}function jt(t){}function Wt(t={}){const e=Ht;localStorage[e(338)](e(348),t[e(336)]??""),localStorage[e(338)]("intent:data-ip",t.ip??""),localStorage[e(338)](e(366),t[e(342)]??e(341)),typeof t[e(351)]===e(350)&&localStorage[e(338)](e(372),String(t.sidMaxAgeSeconds)),Pt(e(345),t[e(340)]),Pt(e(346),t[e(367)]),Pt("intent:debug",t[e(335)]),void 0!==t.debugPanel&&e(337),t.consent&&(q("intent_sid")||X(typeof crypto!==e(362)&&typeof crypto.randomUUID===e(356)?crypto[e(354)]():Date.now()+"-"+Math[e(355)](),t.sidMaxAgeSeconds)),Ut()}function Ht(t,e){return t-=335,Jt()[t]}function Yt(){return q(Ht(339))}function qt(){V()}function Jt(){const t=["disabled","undefined","70SWWYjy","9058690XAtgBy","106716tqjZZF","intent:data-base-url","geo","1419PHBvHB","warn","enabled","granted","intent:data-sid-max-age","2295812cdQtHi","debug","clientId","debugPanel","setItem","intent_sid","consent","https://intent.callimacus.ai","baseUrl","93768eBHUAr","9iwUoPT","intent:consent","intent:geo","intent:debug","intent:data-client-id","It exposes internal SDK behavior and should only be used during development.","number","sidMaxAgeSeconds","48Aknvvw","218252kkkoam","randomUUID","random","function","8197iLChvA","6056MxlxWy","isFinite","303650JGZneN"];return(Jt=()=>t)()}function Xt(){K()}function Kt(t){const e=Ht;Number[e(359)](t)&&localStorage[e(338)](e(372),String(t));const n=q(e(339));n&&X(n,t)}(()=>{const t=Ht,e=Jt();for(;;)try{if(835159==-parseInt(t(360))/1+parseInt(t(373))/2+parseInt(t(352))/3*(-parseInt(t(353))/4)+-parseInt(t(363))/5*(-parseInt(t(343))/6)+-parseInt(t(357))/7*(-parseInt(t(358))/8)+parseInt(t(344))/9*(parseInt(t(364))/10)+-parseInt(t(368))/11*(parseInt(t(365))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Xt as clearIntentSessionId,qt as ensureIntentSessionId,Yt as getIntentSessionId,Wt as initIntent,Ot as setConsent,Rt as setDebug,jt as setDebugPanel,Pt as setFlag,Ft as setGeo,Kt as setIntentSessionMaxAge};