@solomei-ai/intent 2.0.4 → 2.0.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-=299,o()[t]}function o(){const t=["Screen: ","beta","requestStart","onLine","length","round","duration","push","Battery: ","join"," cores","2205005dDFxmU","6686584UUNiJA",", maxTouchPoints ","Tilt: ",", display-mode standalone: ","platform","encodedBodySize","Platform: ","fine","mobile","Device geolocation: disabled","°, γ ","width","intent:geo","function","Language: ","936816IQLvqM","rttMs","1447392agwsnh","flat","7VXKpPD","serviceWorker","innerWidth","Online: ","saveData"," | ","version","transferSize","Languages: ","browser API","User agent: ","SW-controlled","filter","cookieEnabled","type"," (UTC","deviceorientation","getBattery","brands","isSecureContext","downlinkMbps","getEntriesByType","coarse","brand","yes","languages","resource","CookiesEnabled: ","userAgentData","language","referrer","not charging","DateTimeFormat","matches","connection","isFinite","(display-mode: standalone)",", orientation ","responseStart","entryType"," ms","undefined","TTFB ~","height","toFixed","effectiveType","orientation","(pointer: fine)","x (avail ","map","; DNT: ","level","availWidth","Network: ","upright"," Mbps","76166ZLYUWx","Referrer: ","some","navigation","PWA: ","CPU: ","number","gamma","hardwareConcurrency","abs","5412048AjRqZy","Pointer/Touch: ","timeZone","resolvedOptions","doNotTrack","Timezone: ","removeEventListener","charging","unknown","find","max","enabled","4240026syuJho"," (mobile)","-bit)","floor","12maBjoy"];return(o=()=>t)()}async function r(){const t=n,e=(new(Intl[t(341)]))[t(378)]()[t(377)],o=(t=>{const e=n,o=t<=0?"+":"-",r=Math[e(374)](t);return""+o+String(Math[e(390)](r/60)).padStart(2,"0")+":"+String(r%60).padStart(2,"0")})((new Date).getTimezoneOffset()),r=[];r[t(399)](t(304)+navigator[t(338)]),navigator[t(334)]?.length&&r[t(399)](t(317)+navigator[t(334)][t(401)](", ")),r.push(t(319)+navigator.userAgent);const i=function(){const t=n;if(!(t=>{const e=n;return e(337)in t&&void 0!==t[e(337)]})(navigator))return;const e=navigator[t(337)],o=Array.isArray(e.brands)?e[t(327)][t(358)](e=>e[t(332)]+" "+e[t(315)])[t(401)](", "):void 0,r=e[t(408)]?""+e[t(408)]+(e[t(412)]?t(388):""):void 0;return[o&&"UA brands: "+o,r&&t(410)+r].filter(Boolean)[t(401)](t(314))||void 0}();i&&r[t(399)](i),r.push(t(380)+e+t(324)+o+")"),r[t(399)]("Local time: "+(new Date).toString());const a=window.devicePixelRatio||1;r[t(399)](t(392)+screen[t(301)]+"x"+screen[t(352)]+" @"+a+t(357)+screen[t(361)]+"x"+screen.availHeight+", "+screen.colorDepth+t(389));const s=screen[t(355)]&&t(323)in screen[t(355)]?screen[t(355)][t(323)]:void 0;r[t(399)]("Viewport: "+window[t(311)]+"x"+window.innerHeight+(s?t(346)+s:"")),r[t(399)](t(370)+navigator[t(373)]+t(402));const c=await async function(){const t=n,e=[];let o=t(318);if((t=>{const e=n;return e(343)in t&&typeof t[e(343)]!==e(350)})(navigator)){const n=navigator.connection;n?.[t(354)]&&e[t(399)](n[t(354)]),"number"==typeof n?.downlink&&e[t(399)]("~"+n.downlink+" Mbps"),typeof n?.rtt===t(371)&&e[t(399)](n.rtt+" ms"),n?.[t(313)]&&e[t(399)](t(313))}else{const r=((t=20)=>{const e=n,o=performance.getEntriesByType("navigation")[e(384)](t=>t[e(348)]===e(368)),r=o?Math[e(385)](0,o[e(347)]-o.requestStart):void 0,i=performance[e(330)](e(335))[e(321)](t=>t.entryType===e(335));let a=0,s=0;for(const n of i.slice(0,Math[e(385)](0,t))){const t=n[e(409)]>0?n.encodedBodySize:n[e(316)]>0?n[e(316)]:0,o=n[e(398)];t>0&&o>0&&Number[e(344)](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.downlinkMbps===t(371)&&e[t(399)]("~"+r[t(329)][t(353)](1)+t(364)),typeof r[t(306)]===t(371)&&e[t(399)](t(351)+Math[t(397)](r.rttMs)+t(349)),o="inferred"}const r=performance[t(330)](t(368)).find(e=>e[t(348)]===t(368));if(r){const n=Math[t(385)](0,r[t(347)]-r[t(394)]);!e[t(367)](t=>t.startsWith("TTFB"))&&e[t(399)]("TTFB ~"+Math.round(n)+t(349))}return e[t(396)]?t(362)+e[t(401)](", ")+" ("+o+")":void 0}();c&&r[t(399)](c),r.push((()=>{const t=n,e=typeof matchMedia===t(303)&&matchMedia("(pointer: coarse)")[t(342)],o=typeof matchMedia===t(303)&&matchMedia(t(356))[t(342)],r=t(e?331:o?411:383),i=navigator.maxTouchPoints;return t(376)+r+t(405)+i})());const d=await async function(){const t=n;if((t=>{const e=n;return e(326)in t&&typeof t[e(326)]===e(303)})(navigator))try{const e=await navigator[t(326)](),n=Math[t(397)](100*e[t(360)]),o=[(Number[t(344)](n)?n:0)+"%",e[t(382)]?t(382):t(340)];return t(400)+o[t(401)](", ")}catch{}}();d&&r.push(d),r[t(399)](t(336)+(navigator[t(322)]?t(333):"no")+t(359)+(navigator[t(379)]??"n/a")),r[t(399)](t(312)+(navigator[t(395)]?t(333):"no")),document[t(339)]&&r.push(t(366)+document[t(339)]),r[t(399)]((()=>{const t=n,e=typeof matchMedia===t(303)&&matchMedia(t(345)).matches,o=Boolean(navigator[t(310)]?.controller);return t(369)+(o?t(320):"no SW")+t(407)+(e?t(333):"no")})());const l=await async function(t=400){const e=n;if("DeviceOrientationEvent"in window&&window[e(328)])return new Promise(o=>{const r=e;let i=!1;const a=t=>{const e=n,r=typeof t[e(393)]===e(371)?t[e(393)]:void 0,s=typeof t[e(372)]===e(371)?t[e(372)]:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(381)](e(325),a);const c=((t,e)=>{const o=n,r=Math[o(374)](t),i=Math[o(374)](e);return r<15&&i<15?o(308):r>=60?o(363):"reclined"})(r,s);o(e(406)+c+" (β "+Math[e(397)](r)+e(300)+Math.round(s)+"°)")};window.setTimeout(()=>{i||(i=!0,window[n(381)]("deviceorientation",a),o(void 0))},t),window.addEventListener(r(325),a,{passive:!0})})}();l&&r[t(399)](l);const u=localStorage.getItem(t(302))===t(386);return r[t(399)](u?"Device geolocation: enabled":t(299)),r.join(" | ")}(()=>{const t=n,e=o();for(;;)try{if(708976==parseInt(t(365))/1+parseInt(t(307))/2+-parseInt(t(305))/3*(parseInt(t(391))/4)+parseInt(t(403))/5+-parseInt(t(375))/6+-parseInt(t(309))/7*(-parseInt(t(404))/8)+parseInt(t(387))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=l;(()=>{const t=l,e=d();for(;;)try{if(770960==parseInt(t(397))/1+parseInt(t(402))/2+parseInt(t(393))/3+parseInt(t(407))/4+-parseInt(t(403))/5*(parseInt(t(406))/6)+parseInt(t(401))/7+-parseInt(t(408))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const a=i(394),s=i(405),c=i(399);function d(){const t=["intent:data-sid-max-age","intent:debug","intent:data-ip","6396502kgkqwb","2985370rYUfFf","86455yEANkG","intent:debug-panel","intent:geo","246WSBycC","3275716zyBVHe","27265128WbbhIO","4266420DnsYNf","intent:consent","https://intent.callimacus.ai","intent:data-base-url","240492GGhOfv"];return(d=()=>t)()}function l(t,e){return t-=393,d()[t]}const u=i(404),p="intent:data-client-id",m=i(400),f=i(396),g=i(398),h=i(395),b=v;function v(t,e){return t-=338,T()[t]}function y(...t){const e=v;try{typeof localStorage!==e(348)&&localStorage.getItem(c)===e(342)&&console.log(...t)}catch{}}(()=>{const t=v,e=T();for(;;)try{if(718136==parseInt(t(353))/1+-parseInt(t(364))/2*(parseInt(t(340))/3)+parseInt(t(358))/4*(-parseInt(t(347))/5)+parseInt(t(373))/6*(-parseInt(t(360))/7)+-parseInt(t(362))/8+-parseInt(t(368))/9+parseInt(t(378))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const w=Object[b(369)](new Set([b(344),b(346),b(370)])),x=[b(349),b(351),b(341),b(365),...[...w][b(352)](t=>b(372)+t+'"]')][b(339)](", ");function I(t){const e=b,n=t[e(375)];return n===e(338)||n===e(363)||n===e(367)}function S(t){const e=b;if(I(t))return!0;const n=t[e(366)](e(371));if(""===n||n===e(355)||"plaintext-only"===n)return!0;const o=t[e(366)]("role")?.toLowerCase();return!(!o||!w.has(o))}function k(t){const e=b,n=t[e(345)];if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o.host instanceof Element?o[e(350)]:void 0}function E(t){const e=b;return t.replace(/&/g,e(376))[e(359)](/</g,e(354))[e(359)](/>/g,e(356))[e(359)](/"/g,""").replace(/'/g,e(357))}function T(){const t=['[role="',"29820yCTybH","plaintext-only","tagName","&","value","16668900weBvmW","innerText","INPUT","join","634332LuoFJh","select","enabled","setTimeout","textbox","parentElement","combobox","85eDYZtp","undefined","input","host","textarea","map","1271279FIomTR","<","true",">","'","125976YtQmsE","replace","1169KAcEYV","clearTimeout","295080dJHqQu","TEXTAREA","2tQpcQa","[contenteditable]","getAttribute","SELECT","5456844FyfYra","freeze","searchbox","contenteditable"];return(T=()=>t)()}function A(t,e){return t-=128,B()[t]}const C=A;(()=>{const t=A,e=B();for(;;)try{if(628461==parseInt(t(147))/1+-parseInt(t(135))/2+-parseInt(t(159))/3+-parseInt(t(132))/4*(-parseInt(t(158))/5)+parseInt(t(189))/6+parseInt(t(217))/7+-parseInt(t(137))/8*(parseInt(t(203))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const L=C(197),M=C(175),N=new Set(["name",C(162),C(231),"family-name",C(219),C(221),C(223),C(171),"organization",C(213),"street-address",C(187),C(215),"address-line3",C(129),C(207),C(133),C(192),C(156),C(188),C(198),"cc-name","cc-given-name","cc-additional-name",C(228),C(191),C(164),C(214),C(226),C(145),C(136),"bday",C(186),C(232),C(235),"sex",C(211)]);function D(t){return"<"+(t=>{const e=C,n=(t[e(234)]?.(M)??"")[e(225)]();if(n)return n;const o=t[e(234)]?.(e(146))||"",r=S(t)?o[e(157)]().trim()[e(185)](/\s+/)[e(206)](Boolean):[];if(t[e(229)]===e(179)&&t.type===e(218))return"Password";for(const t of r){const n=z[e(220)](t);if(n)return n}const i=t[e(234)]?.(L)?.toLowerCase();return i===e(131)?e(182):e(201)})(t)+">"}const z=new Map([[C(152),C(200)],[C(162),"First name"],["family-name",C(167)],[C(231),C(222)],[C(219),C(143)],[C(221),C(163)],[C(223),C(150)],["tel","Phone"],[C(155),C(180)],[C(187),C(230)],[C(215),"Address line 2"],[C(173),"Address line 3"],[C(129),C(193)],["address-level2",C(153)],[C(133),"District"],[C(192),C(168)],[C(198),C(148)],[C(156),"Country code"],[C(188),"Country name"],[C(172),C(154)],[C(177),C(199)],[C(228),"Cardholder last name"],[C(142),"Cardholder middle name"],[C(191),"Card number"],[C(164),C(181)],[C(214),C(195)],["cc-exp-year","Expiration year"],[C(145),C(184)],[C(136),"Card type"],[C(233),C(174)],[C(186),"Birth day"],[C(232),"Birth month"],["bday-year",C(209)],["organization",C(139)],[C(213),"Job title"],[C(149),C(144)],["webauthn",C(134)]]);function B(){const t=["address-level4","State/Province","datetime-local","Expiration month","matches","data-intent-redact","postal-code","Cardholder first name","Name","Sensitive","pop","75564EmkzXo","searchbox","contentDocument","filter","address-level2","ignore","Birth year","type","webauthn",'. Treating as "mask" to prevent data leaks.',"organization-title","cc-exp-month","address-line2","querySelectorAll","4184873vatphF","password","nickname","get","username","Middle name","email","push","trim","cc-exp-year","role","cc-family-name","tagName","Address line 1","additional-name","bday-month","bday","getAttribute","bday-year","has","address-level1","TEXTAREA","mask","348gWpVLD","address-level3","WebAuthn","947176lbdkmW","cc-type","88iNONWz","shadowRoot","Organization","some",". Supported values are ","cc-additional-name","Nickname","Sex","cc-csc","autocomplete","463476ocuqLB","Postal code","sex","Email","date","name","City","Cardholder name","street-address","country","toLowerCase","50915zdrCXZ","2838726NUOrRr","textContent","data-html2canvas-ignore","given-name","Username","cc-exp","length","month","Last name","Neighborhood","includes","add","tel","cc-name","address-line3","Birthday","data-intent-redact-label","text","cc-given-name","value","INPUT","Street address","Expiration date","Redacted","iframe","Security code","split","bday-day","address-line1","country-name","1160466zhywNR","week","cc-number"];return(B=()=>t)()}function U(t){const e=C;return t.hasAttribute(e(161))||"ignore"===t[e(234)](L)?.toLowerCase()}const P=new Set;function O(t){const e=C,n=t.getAttribute(L);if(null===n)return!1;const o=n[e(157)]();return o!==e(208)&&(""!==n&&o!==e(131)&&(t=>{const e=C;if(P.has(t))return;P[e(170)](t);const n="[intent] Unsupported data-intent-redact value "+JSON.stringify(t)+e(141)+'"" or "mask" (redact), "ignore" (exclude from capture)'+e(212);try{console.warn(n)}catch{}})(n),!0)}function F(t){let e=t;for(;e&&e!==document.body;){if(U(e))return!0;e=k(e)}return!1}function R(t){return!(U(t)||!O(t)&&!(t=>{const e=C,n=t.tagName;if(n===e(179)){const n=t;if(n[e(210)]===e(218))return!0;if("search"===n[e(210)])return!1;const o=n[e(234)](e(227));if(o?.toLowerCase()===e(204))return!1;if((n[e(146)]||"")[e(157)]()[e(225)]()[e(185)](/\s+/)[e(206)](Boolean).some(t=>N[e(128)](t)))return!0}if((n===e(130)||"SELECT"===n)&&(t[e(146)]||"")[e(157)]()[e(225)]()[e(185)](/\s+/)[e(206)](Boolean)[e(140)](t=>N.has(t)))return!0;if(S(t)&&!I(t)){const n=t[e(234)](e(227))?.[e(157)]();if(n===e(204))return!1;if((t[e(234)](e(146))||"")[e(157)]()[e(225)]()[e(185)](/\s+/).filter(Boolean).some(t=>N[e(128)](t)))return!0}return!1})(t))}function W(t){const e=C;if(!F(t))if(I(t)){if(R(t)){if(t[e(229)]===e(179)){const n=t;[e(151),e(194),e(166),"time",e(190)][e(169)](n.type)&&(n[e(210)]=e(176))}const n=D(t);t.value=n,t.setAttribute(e(178),n)}}else S(t)?R(t)&&(t[e(160)]=D(t)):t.hasAttribute(L)&&O(t)&&(t.textContent=D(t))}function H(t,e){const n=C,o=[],r=[t];for(t instanceof Element&&t[n(138)]&&r[n(224)](t[n(138)]);r[n(165)]>0;){const t=r[n(202)]()[n(216)]("*");for(const i of t)i[n(196)](e)&&o.push(i),i.shadowRoot&&r.push(i[n(138)])}return o}function q(t,e=new Set){const n=C,o=t instanceof Document?t:t.ownerDocument;if(o){if(e[n(128)](o))return;e[n(170)](o)}t instanceof Element&&W(t);for(const e of H(t,x))W(e);for(const e of H(t,"["+L+"]"))W(e);for(const o of H(t,n(183)))if("IFRAME"===o[n(229)])try{const t=o[n(205)];t&&q(t,e)}catch{}}function j(t,e){return t-=254,Y()[t]}function Y(){const t=["protocol","location","granted","4hKHAVd","492pIzatW","10575456UfNIuh","number","isFinite","set","getItem","7fphQTp","17129540dMAdkr","remove","6572634EKEyHS","1491909PCpOcD","25850PcFvIZ","8742339cxqThW","intent_sid","https:","1405170BpWZVG"];return(Y=()=>t)()}(()=>{const t=j,e=Y();for(;;)try{if(795790==parseInt(t(255))/1+parseInt(t(259))/2*(parseInt(t(270))/3)+-parseInt(t(260))/4*(parseInt(t(271))/5)+-parseInt(t(269))/6*(-parseInt(t(266))/7)+-parseInt(t(261))/8+parseInt(t(272))/9+-parseInt(t(267))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let Z="";function X(){return Z}function G(t){return e.get(t)}function _(t,n){const o=j,r=localStorage[o(265)](g),i=null===r?void 0:Number(r),a="number"==typeof n&&Number[o(263)](n)?n:typeof i===o(262)&&Number[o(263)](i)?i:2592e3,s=window[o(257)][o(256)]===o(254);e[o(264)](o(273),t,{expires:a/86400,path:"/",sameSite:"Lax",...s&&{secure:!0}})}function V(){const t=j;e[t(268)](t(273),{path:"/"})}function J(){const t=G(j(273));if(!(()=>{const t=j;return localStorage[t(265)](a)===t(258)})())return t&&V(),void(Z="");t?Z=t:(Z=crypto.randomUUID(),_(Z))}function K(t,e){return t-=290,it()[t]}(()=>{const t=K,e=it();for(;;)try{if(947819==parseInt(t(314))/1*(-parseInt(t(293))/2)+parseInt(t(318))/3*(parseInt(t(310))/4)+parseInt(t(327))/5+-parseInt(t(296))/6*(-parseInt(t(295))/7)+-parseInt(t(290))/8*(parseInt(t(306))/9)+parseInt(t(315))/10+parseInt(t(323))/11*(-parseInt(t(303))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let Q=!1,$=!1,tt=!1,et=!1,nt=!1;function ot(){const t=K;return localStorage.getItem(s)===t(300)}function rt(){Q=!1,tt=!1,nt=!1}function it(){const t=["276MmmvAG","coords","geolocation","altitude","enabled","latitude","isSecureContext","1706472azqans","altitudeAccuracy","permissions","65421pfGWdZ","removeEventListener","pointerdown","number","20908tsDwFZ","timestamp","getCurrentPosition","query","235ZbscfB","5442670iaqRDD","speed","longitude","726ZHNGBw","canRequest","visibilityState","POSITION_UNAVAILABLE","PERMISSION_DENIED","198FdAHZt","keydown","accuracy","geoEnabled","8779895KXHSxX","addEventListener","344qMMfPP","isFinite","code","44eFdUbL","heading","39578xppXpY"];return(it=()=>t)()}function at(){return!Q&&ot()&&!et&&nt}const st=ft;(()=>{const t=ft,e=mt();for(;;)try{if(823860==parseInt(t(208))/1*(parseInt(t(205))/2)+-parseInt(t(212))/3*(parseInt(t(192))/4)+-parseInt(t(135))/5*(-parseInt(t(170))/6)+parseInt(t(165))/7+parseInt(t(202))/8+-parseInt(t(188))/9*(parseInt(t(200))/10)+-parseInt(t(201))/11*(parseInt(t(136))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let ct,dt=[],lt=!1;function ut(){const t=ft;if(!ct)return;const e=ct.querySelector(t(214)),n=ct.querySelector(t(180));if(!e||!n)return;if(0===dt[t(176)])return e[t(178)]='\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(172)]=t(148));const o=[...dt][t(232)]();e[t(178)]=o[t(203)](t=>(t=>{const e=ft,n=new Date(t[e(157)]).toLocaleTimeString(),o=t[e(142)]&&t.img[e(176)]>0,r=o?Math[e(139)](.75*t[e(142)][e(176)]/1024):0,i=E(t[e(179)]),a=E(JSON[e(163)](t[e(171)],null,2)),s=E(t[e(224)]),c=E(JSON.stringify(t[e(221)],null,2));return e(236)+i+e(160)+n+e(241)+(o?'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="'+t[e(142)]+e(158)+r+e(153):"")+'\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+e(186)+(t.html?e(195)+s+"</pre>\n\t\t\t\t\t":"")+e(217)+c+"</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t"})(t))[t(230)](""),n[t(172)]=dt[t(176)]+t(191)+(1===dt[t(176)]?"":"s")}function pt(){const t=ft;if(ct)return void(ct[t(150)][t(183)]=t(190));const e=document[t(226)](t(220));e[t(178)]=ft(144),ct=e.firstElementChild,document[t(162)][t(154)](ct);const n=ct.querySelector(t(174)),o=ct[t(177)](t(187)),r=ct[t(177)]("#intent-debug-clear");n?.[t(189)]("click",()=>{!function(t){const e=ft;try{localStorage[e(231)](u,e(t?229:237)),t?pt():(()=>{const t=ft;ct&&(ct[t(150)].display=t(196))})()}catch{}}(!1)}),o?.addEventListener(t(167),()=>{(()=>{const t=ft;if(!ct)return;const e=ct.querySelector("#intent-debug-content"),n=ct[t(177)]("#intent-debug-minimize");e&&n&&(lt=!lt,lt?(e.style[t(183)]=t(196),ct[t(150)][t(238)]=t(223),n.textContent="+"):(e.style[t(183)]=t(190),ct[t(150)][t(238)]=t(198),n[t(172)]="−"))})()}),r?.[t(189)](t(167),()=>{dt=[],ut()}),(()=>{const t=ft;if(!ct)return;const e=ct[t(177)](t(151));if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e.addEventListener(t(146),e=>{const o=t;if(e[o(233)][o(173)]===o(155))return;n=!0;const r=ct.getBoundingClientRect();i=e[o(210)]-r[o(199)],a=e[o(211)]-r[o(193)]}),document[t(189)](t(235),e=>{const s=t;if(!n||!ct)return;e.preventDefault(),o=e[s(210)]-i,r=e[s(211)]-a;const c=window[s(161)]-ct[s(138)],d=window[s(169)]-ct[s(152)];o=Math[s(215)](0,Math[s(159)](o,c)),r=Math.max(0,Math.min(r,d)),ct[s(150)][s(199)]=o+"px",ct[s(150)][s(193)]=r+"px",ct.style[s(216)]=s(134)}),document.addEventListener(t(168),()=>{n=!1})})(),ct[t(189)](t(167),e=>{const n=t,o=e[n(233)];if(o[n(175)].contains(n(207))){const t=o;t[n(184)]&&t[n(184)][n(213)](n(206))&&(t=>{const e=ft,n=document.createElement(e(220));n.id=e(143),n[e(137)](e(218),"ignore"),n[e(150)].cssText=e(204);const o=document[e(226)](e(220));o[e(150)].cssText=e(166);const r=document.createElement(e(142));r[e(184)]=t,r[e(150)][e(145)]=e(181);const i=document[e(226)](e(220));i[e(150)][e(145)]=e(185);const a=document[e(226)](e(225));a[e(172)]=e(164),a[e(150)][e(145)]="\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[e(226)](e(220));s.textContent="Click anywhere or press ESC to close",s[e(150)][e(145)]="\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t",i[e(154)](a),i[e(154)](s),o[e(154)](r),o[e(154)](i),n[e(154)](o);const c=()=>{const t=e;n[t(156)](),document[t(239)](t(219),d)};n.addEventListener(e(167),c),a[e(189)]("click",t=>{t[e(222)](),c()}),r[e(189)]("click",t=>{t[e(222)]()});const d=t=>{const n=e;t[n(209)]===n(182)&&c()};document[e(189)](e(219),d),document[e(162)].appendChild(n)})(t[n(184)])}}),ut()}function mt(){const t=["innerHTML","event","#intent-debug-count","\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","Escape","display","src","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","</pre>\n\t\t\t\t\t","#intent-debug-minimize","441OYGHrT","addEventListener","flex"," event","31804RepWmw","top","push",'\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">',"none","DOMContentLoaded","400px","left","173210nRuGnw","220561aVbUaH","1539064YZwyaL","map","\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","2OpLAGU","data:image/","intent-debug-screenshot","1427438CldcoF","key","clientX","clientY","519RnwAyZ","startsWith","#intent-debug-events","max","right",'\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">',"data-intent-redact","keydown","div","bbox","stopPropagation","200px","html","button","createElement","randomUUID","readyState","enabled","join","setItem","reverse","target","function","mousemove",'\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">',"disabled","width","removeEventListener","loading","</div>\n\t\t\t</div>\n\t\t\t","auto","10tffAfE","36dxkzQw","setAttribute","offsetWidth","round","now","shift","img","intent-debug-fullscreen-modal",'\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',"cssText","mousedown","getItem","0 events","undefined","style","#intent-debug-header","offsetHeight"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","appendChild","BUTTON","remove","timestamp",'" \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 (~',"min",'</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">',"innerWidth","body","stringify","✕ Close","3490816PmCmNa","\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","click","mouseup","innerHeight","2969268BmmXUZ","props","textContent","tagName","#intent-debug-close","classList","length","querySelector"];return(mt=()=>t)()}function ft(t,e){return t-=134,mt()[t]}function gt(t,e){return t-=372,ht()[t]}function ht(){var t=["791884XAhCCn","6801312vuXijN","28vrYYjm","1895355snkGAI","warn","269179xAnxiQ","915063lkAtvd","5788280FbrQMw","2104936UulJBM","[Intent SDK] Debug panel is not available in this build. "];return(ht=()=>t)()}"undefined"!=typeof window&&function(){const t=ft;try{return localStorage[t(147)](u)===t(229)}catch{return!1}}()&&(document[st(228)]===st(240)?document[st(189)](st(197),()=>{pt()}):pt()),(()=>{for(var t=gt,e=ht();;)try{if(677025==-parseInt(t(376))/1+parseInt(t(381))/2+-parseInt(t(377))/3+-parseInt(t(379))/4+-parseInt(t(374))/5+-parseInt(t(372))/6+-parseInt(t(373))/7*(-parseInt(t(378))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const bt=At;(()=>{const t=At,e=It();for(;;)try{if(706516==-parseInt(t(319))/1*(-parseInt(t(335))/2)+parseInt(t(276))/3+parseInt(t(278))/4+-parseInt(t(360))/5*(-parseInt(t(341))/6)+-parseInt(t(356))/7*(-parseInt(t(352))/8)+parseInt(t(374))/9+-parseInt(t(288))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let vt,yt,wt=0,xt=!1;function It(){const t=["html","storage","getAttribute","39547970LCtFOh","[Timing] html2canvas-pro: ","innerHTML","a[href]","left","length","POST","dataset","/events","omit","addEventListener","toISOString","device","no-store","pageview","CONTENTEDITABLE","from","entries","forEach","top","bbox","input-submit","toFixed","innerHeight","defineProperty","getBoundingClientRect","width","scrollY","SELECT","fixed","number","369739QqRWoa","INPUT","closest","hostname","innerWidth",'input[type="button"]',"__intent__sdk__initialized__","intent","href","aria-label","getComputedStyle","hidden","newline","title","setAttribute","contenteditable","2YVYGwd","join","/p.gif","TEXTAREA","[Timing] capture-total: ","lat","7638756cqhnmp","page-blur","pointerdown","attributes","hasFocus","body","keydown","page-focus","getItem","role","textContent","568nOMAPP","right","key","context","96327ukYwmo","click","tagName","height","5anmiAi","now","visibilitychange","value",'[role="button"]',"toLowerCase","pixel body fallback failed","load","toDataURL","location","[onclick]","target","input, textarea, select, [data-intent-redact]","Enter","802377sZoazy","querySelector","intentEnter","hasAttribute","data-intent-redact","focus","button","trim","x-intent-sid","4208583iUXYZD","scrollX","2197612VUbkRx","name","bottom",'input[type="submit"]',"scroll","x-sl-access-token","blur"];return(It=()=>t)()}const St=bt(325),kt=[bt(273),bt(291),"a",bt(281),bt(324),bt(364),'[role="link"]',bt(370)][bt(336)](",");function Et(){return J(),"granted"===localStorage[bt(349)](a)&&Boolean(X())&&(()=>{const t=bt;return Boolean(localStorage[t(349)](p)?.trim()[t(293)])})()}function Tt(){return!Et()||$}function At(t,e){return t-=273,It()[t]}async function Ct(e){for(;yt;)await yt;return yt=(async()=>{const n=At;try{const o=performance[n(361)](),r=performance[n(361)](),i=(t=>{const e=bt;if(U(t))return"";const n=t.cloneNode(!1);return Array[e(304)](t[e(344)])[e(306)](({name:t,value:o})=>{n[e(333)](t,o)}),I(t)?I(n)&&(n[e(363)]=t[e(363)]):S(t)?n[e(290)]=t[e(290)]:n[e(351)]=t.textContent,q(n),I(n)&&n[e(333)](e(363),n.value),n.outerHTML})(e);y("[Timing] serialize: "+(performance[n(361)]()-r)[n(310)](2)+"ms");const a=e[n(313)](),s=performance[n(361)](),c={left:window[n(277)],top:window.scrollY,right:window[n(277)]+window[n(323)],bottom:window[n(315)]+window[n(311)]},d=await t(document[n(346)],{useCORS:!0,x:window[n(277)],y:window[n(315)],width:window[n(323)],height:window.innerHeight,scale:.6,logging:!1,onclone(t){q(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(F(t))return!0;const o=t[e(313)](),r={left:o[e(292)]+window.scrollX,top:o[e(307)]+window[e(315)],right:o.right+window[e(277)],bottom:o[e(280)]+window[e(315)]},i=100,a=r.bottom<c[e(307)]-i,s=r[e(307)]>c[e(280)]+i,d=r.right<c.left-i,l=r[e(292)]>c[e(353)]+i;if(!(d||l||a||s))return!1;const{position:u}=window[e(329)](t);let p;if(u===e(317)||"absolute"===u){const t=500;p=r.right<c[e(292)]-t||r[e(292)]>c.right+t||r[e(280)]<c[e(307)]-t||r[e(307)]>c[e(280)]+t}else p=s;return!!p&&!(t[e(358)]===e(320)||t[e(358)]===e(338)||t.tagName===e(316)||t[e(377)](e(378))||t[e(375)](e(372)))}}),l=performance[n(361)]()-s;y(n(289)+l.toFixed(2)+"ms");const u=performance[n(361)](),p=d[n(368)]("image/jpeg",.8);y("[Timing] jpeg-encoding: "+(performance.now()-u)[n(310)](2)+"ms");const m=performance.now()-o;return y(n(339)+m[n(310)](2)+"ms"),{html:i,bbox:{x:a.x,y:a.y,w:a[n(314)],h:a[n(359)]},img:p,fullCanvas:d}}finally{yt=void 0}})(),yt}function Lt(){const t=bt,e=localStorage[t(349)](p),n={"Content-Type":"application/json"};e&&(n[t(283)]=e);const o=X();return o&&(n[t(275)]=o),n}async function Mt(t,e,n,o){const r=bt;if(!Et())return;const i={...e,localTime:(new Date)[r(299)]()};S(n)&&(i[r(363)]=R(n)?D(n):(t=>{const e=b;if(I(t))return t[e(377)];const n=t[e(379)];return"string"==typeof n?n:t.textContent??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!(t===r(282)||t===r(342)||t===r(348)),l=Date.now(),u=l-wt>=0;let m=o;const g=t===r(357)||t===r(309)||t===r(302);d&&(g&&!m||!m&&u)&&(m=await Ct(n),wt=l),m&&(a=m[r(285)],s=m[r(308)],c=m.img);const v=t===r(342)||t===r(348)||t===r(302),y={ts:Date.now(),event:t,url:window[r(369)][r(327)],props:i,html:v?"":a,bbox:s,img:c};await async function(t){const e=bt,n=(localStorage[e(349)](f)??h)+e(296),o=localStorage[e(349)](p)??void 0,r=JSON.stringify({...t,clientId:o});try{if((await fetch(n,{method:e(294),headers:Lt(),body:r,keepalive:!0,credentials:e(297)})).ok)return}catch{}try{await(async t=>{const e=bt,n=(localStorage[e(349)](f)??h)+e(337);if(!(await fetch(n,{method:e(294),headers:Lt(),body:JSON.stringify(t),keepalive:!0,credentials:"omit",cache:e(301)})).ok)throw new Error(e(366))})(t)}catch{}}(y)}async function Nt(t={}){const e=bt;if(!Et())return;const n=typeof t[e(340)]===e(318)&&"number"==typeof t.lon;if(n&&Q)return;if(!n&&xt)return;const o=localStorage[e(349)](m),i={context:await r()};o&&(i.ip=o);for(const[n,o]of Object[e(305)](t))i[n]=o;await Mt(e(355),i,document[e(346)],{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(xt=!0)}async function Dt(){await(async(t,e)=>{const n=K,o={canRequest:e(),geoEnabled:ot(),deviceGeoSent:Q};if(!o[n(319)]||!o[n(326)]||o.deviceGeoSent)return;if(!("geolocation"in navigator))return;if(et)return;et=!0,$=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};try{await(navigator[n(305)]?.[n(313)]({name:n(298)}))}catch(t){}await new Promise(t=>{let e=!1;const o=async(n,o,r)=>{const i=K;e||(e=!0,Number.isFinite(n)&&Number[i(291)](o)&&(await(async(t,e,n)=>{const o=At;await Nt({lat:t,lon:e,source:o(300),...n})})(n,o,r),Q=!0),et=!1,$=!1,nt=!0,t())};navigator.geolocation[n(312)](t=>{const e=K,n=t[e(297)];o(n[e(301)],n[e(317)],{accuracy:n[e(325)],altitude:typeof n[e(299)]===e(309)?n[e(299)]:void 0,altitudeAccuracy:typeof n.altitudeAccuracy===e(309)?n[e(304)]:void 0,heading:typeof n[e(294)]===e(309)?n[e(294)]:void 0,speed:typeof n[e(316)]===e(309)?n.speed:void 0,timestamp:t[e(311)],visibility:document[e(320)],focused:document.hasFocus()})},t=>{const e=K,n=t?.[e(292)],r={error:{code:n,name:1===n?e(322):2===n?e(321):3===n?"TIMEOUT":"UNKNOWN",message:t?.message??""},online:navigator.onLine,visibility:document.visibilityState,focused:document.hasFocus(),secure:window[e(302)],proto:location.protocol,host:location.hostname};o(void 0,void 0,r)},r)})})(0,Et)}function zt(){(t=>{const e=K;if(tt||!ot()||Q)return;tt=!0;const n=()=>{const e=K;window.removeEventListener(e(308),n,!0),window[e(307)]("keydown",n,!0),t()};window.addEventListener("pointerdown",n,!0),window[e(328)](e(324),n,!0)})(Dt)}J();let Bt=!document[bt(330)]&&document.hasFocus(),Ut=document[bt(345)]();function Pt(){const t=bt;if(Tt())return;const e=!document[t(330)]&&document[t(345)]();e&&(Ut=!0),Ut||e?e!==Bt&&(Bt=e,Mt(e?"page-focus":t(342),{},document[t(346)])):Bt=e}function Ot(){const t=bt;(()=>{const t=globalThis;return!t[St]&&(Object[bt(312)](t,St,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window[t(298)](t(367),()=>{const e=t;Et()&&(Nt(),(window.isSecureContext||"localhost"===location[e(322)])&&(ot()&&zt(),window.addEventListener(e(379),()=>{at()&&Dt()}),document.addEventListener("visibilitychange",()=>{!document[e(330)]&&at()&&Dt()})))}),window.addEventListener(t(286),e=>{const n=t;e.key===a&&("granted"===localStorage[bt(349)](a)?(xt=!1,Nt(),ot()&&zt()):(xt=!1,rt())),e[n(354)]===s&&(ot()?zt():rt())}),window[t(298)](t(367),()=>{const e=t;Et()&&Mt(e(302),{url:window[e(369)][e(327)],title:document.title,ref:document.referrer},document.body)}),addEventListener(t(343),(()=>{let e=0;return(...n)=>{const o=Date.now();o-e>=50&&(e=o,(e=>{const n=t;if(Tt())return;const o=e.target instanceof Element?e[n(371)][n(321)](kt):null;o instanceof HTMLElement&&(vt=Ct(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(357),async e=>{const n=t;if(Tt())return;if(!(e[n(371)]instanceof Element))return;const o=e.target[n(321)](kt);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=bt,n=t.getAttribute(e(328))?.[e(274)]();if(n)return n;const o=t[e(332)][e(274)]();if(o)return o;const r=t[e(351)]?.trim();return r||"<no visible label>"})(o);(async()=>{const t=n,e=vt?await vt:void 0;vt=void 0,Mt(t(357),{tag:o[t(358)],label:r},o,e)})()},!0),addEventListener(t(347),e=>{const n=t;if(!Tt()&&e[n(354)]===n(373)){const t=e.target;if(!(t instanceof HTMLElement))return;const o=t[n(358)];if(o===n(320)||o===n(338))Mt("input-submit",{tag:o,name:(t instanceof HTMLInputElement?t.name:void 0)??(t.id||void 0)},t);else if(S(t)){const e=(t=>{const e=b;let n=t;for(;n&&n!==document.body;){const t=n[e(366)](e(371));if(t===e(355)||""===t||t===e(374))return n;n=n[e(345)]}return null})(t)??t;if(e[n(295)][n(376)]===n(331))return;const o=e[n(287)](n(350))?.[n(365)](),r=e.id||void 0,i=e[n(287)](n(279))||e.getAttribute(n(328))||r;Mt("input-submit",{tag:n(303),role:o??n(334),name:i},e)}}},{capture:!0}),[t(379),t(284)].forEach(e=>{window[t(298)](e,Pt)}),document.addEventListener(t(362),Pt),window[t(298)]("scroll",(()=>{let e;return(...n)=>{const o=v;void 0!==e&&window[o(361)](e),e=window[o(343)](()=>{e=void 0,(()=>{const e=t;Tt()||Mt(e(282),{scrollX:window.scrollX,scrollY:window[e(315)]},document.body)})(...n)},250)}})(),{passive:!0}),window[t(326)]??={send(e,n){const o=t;Et()&&Mt(e,n,document[o(346)])}})}function Ft(t,e){return t-=492,Rt()[t]}function Rt(){const t=["consent","intent:data-sid-max-age","30FqgpGd","random","disabled","intent:debug","https://intent.callimacus.ai","49iuCdrA","now","2496384DjnaPw","55azZEdY","sidMaxAgeSeconds","warn","intent:data-ip","number","setItem","function","intent:data-client-id","872660kGmtYP","2179970iZuIAo","isFinite","293676THQeeX","enabled","granted","456488ACZHrG","baseUrl","8eROpDl","intent:consent","intent:data-base-url","intent:geo","debugPanel","12312036WpdgmP","[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. ","It exposes internal SDK behavior and should only be used during development.","debug","334764fFAwWP","undefined","randomUUID"];return(Rt=()=>t)()}function Wt(t,e){const n=Ft;try{if(void 0===e)return;localStorage[n(511)](t,e?t===n(523)?n(519):n(518):n(500))}catch{}}function Ht(t){Wt(Ft(523),t)}function qt(t){Wt(Ft(525),t)}function jt(t){Wt("intent:debug",t)}function Yt(t){}function Zt(t={}){const e=Ft;localStorage[e(511)](e(513),t.clientId??""),localStorage.setItem(e(509),t.ip??""),localStorage[e(511)](e(524),t[e(521)]??e(502)),typeof t.sidMaxAgeSeconds===e(510)&&localStorage[e(511)]("intent:data-sid-max-age",String(t.sidMaxAgeSeconds)),Wt(e(523),t[e(496)]),Wt(e(525),t.geo),Wt(e(501),t[e(492)]),void 0!==t[e(526)]&&e(526),t.consent&&(G("intent_sid")||_(typeof crypto!==e(494)&&typeof crypto[e(495)]===e(512)?crypto.randomUUID():Date[e(504)]()+"-"+Math[e(499)](),t[e(507)])),Ot()}function Xt(){return G("intent_sid")}function Gt(){J()}function _t(){V()}function Vt(t){const e=Ft;Number[e(516)](t)&&localStorage[e(511)](e(497),String(t));const n=G("intent_sid");n&&_(n,t)}(()=>{const t=Ft,e=Rt();for(;;)try{if(789212==parseInt(t(517))/1*(-parseInt(t(522))/2)+parseInt(t(505))/3+-parseInt(t(514))/4*(-parseInt(t(498))/5)+-parseInt(t(493))/6+parseInt(t(503))/7*(-parseInt(t(520))/8)+parseInt(t(527))/9+parseInt(t(515))/10*(-parseInt(t(506))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{_t as clearIntentSessionId,Gt as ensureIntentSessionId,Xt as getIntentSessionId,Zt as initIntent,Ht as setConsent,jt as setDebug,Yt as setDebugPanel,qt as setGeo,Vt as setIntentSessionMaxAge};
|
|
4
|
+
import t from"html2canvas-pro";import e from"js-cookie";function n(){const t=["°, γ ","orientation","CookiesEnabled: ","charging","brand","TTFB","gamma","type","removeEventListener","version","encodedBodySize","DateTimeFormat","controller","map","effectiveType","abs","inferred","getEntriesByType","devicePixelRatio","CPU: "," ms","navigation","find","426912kAoONk","Languages: ","isArray","1902155XtlPbP","unknown","length","serviceWorker","onLine","Network: ","Pointer/Touch: ","languages","slice","maxTouchPoints","userAgentData","yes","Viewport: ","innerWidth","n/a","toString","deviceorientation"," Mbps"," | ","Timezone: ","Screen: ","language","1056741QLWIcf","resolvedOptions","TTFB ~","filter","809130ZMJaHC","cookieEnabled","Battery: ","beta","DeviceOrientationEvent","transferSize","requestStart","max","-bit)","level","function","no SW","upright","join","entryType","toFixed","availWidth","duration","getTimezoneOffset","connection","1459972kAndCq","getItem","startsWith","521523tCOzSL","floor","downlink",", display-mode standalone: ","colorDepth","Tilt: "," (UTC","availHeight","browser API","doNotTrack","timeZone","not charging","6vwYQFp","push","reclined","Language: ","innerHeight","platform",", orientation ",", maxTouchPoints ","height","3694520ivnJWd","fine","Referrer: ","referrer","userAgent","rtt","(pointer: coarse)","downlinkMbps","width","Platform: ","number","saveData","Local time: "," (β ","Online: ","round","matches","resource","isSecureContext","undefined"];return(n=()=>t)()}function o(t,e){return t-=118,n()[t]}async function r(){const t=o,e=(new(Intl[t(123)]))[t(161)]()[t(197)],n=(t=>{const e=o,n=t<=0?"+":"-",r=Math[e(127)](t);return""+n+String(Math[e(188)](r/60)).padStart(2,"0")+":"+String(r%60).padStart(2,"0")})((new Date)[t(182)]()),r=[];r[t(200)](t(202)+navigator[t(159)]),navigator[t(145)]?.[t(140)]&&r.push(t(136)+navigator[t(145)][t(177)](", ")),r[t(200)]("User agent: "+navigator[t(212)]);const i=function(){const t=o;if(!(t=>{const e=o;return e(148)in t&&typeof t[e(148)]!==e(227)})(navigator))return;const e=navigator[t(148)],n=Array[t(137)](e.brands)?e.brands[t(125)](e=>e[t(232)]+" "+e[t(121)])[t(177)](", "):void 0,r=e[t(204)]?e.platform+(e.mobile?" (mobile)":""):void 0;return[n&&"UA brands: "+n,r&&t(217)+r][t(163)](Boolean)[t(177)](" | ")||void 0}();i&&r[t(200)](i),r[t(200)](t(157)+e+t(193)+n+")"),r.push(t(220)+(new Date)[t(153)]());const a=window[t(130)]||1;r[t(200)](t(158)+screen[t(216)]+"x"+screen[t(207)]+" @"+a+"x (avail "+screen[t(180)]+"x"+screen[t(194)]+", "+screen[t(191)]+t(172));const s=screen[t(229)]&&"type"in screen[t(229)]?screen[t(229)][t(119)]:void 0;r.push(t(150)+window[t(151)]+"x"+window[t(203)]+(s?t(205)+s:"")),r[t(200)](t(131)+navigator.hardwareConcurrency+" cores");const c=await async function(){const t=o,e=[];let n=t(195);if(r=navigator,o(183)in r&&void 0!==r.connection){const n=navigator.connection;n?.[t(126)]&&e[t(200)](n[t(126)]),typeof n?.downlink===t(218)&&e[t(200)]("~"+n[t(189)]+t(155)),typeof n?.[t(213)]===t(218)&&e[t(200)](n[t(213)]+t(132)),n?.[t(219)]&&e.push("saveData")}else{const r=((t=20)=>{const e=o,n=performance[e(129)](e(133))[e(134)](t=>t[e(178)]===e(133)),r=n?Math[e(171)](0,n.responseStart-n[e(170)]):void 0,i=performance[e(129)](e(225))[e(163)](t=>"resource"===t[e(178)]);let a=0,s=0;for(const n of i[e(146)](0,Math[e(171)](0,t))){const t=n.encodedBodySize>0?n[e(122)]:n[e(169)]>0?n[e(169)]:0,o=n[e(181)];t>0&&o>0&&Number.isFinite(o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:typeof c===e(218)?c/1e3:void 0,rttMs:r}})();typeof r[t(215)]===t(218)&&e[t(200)]("~"+r[t(215)][t(179)](1)+t(155)),typeof r.rttMs===t(218)&&e[t(200)]("TTFB ~"+Math[t(223)](r.rttMs)+t(132)),n=t(128)}var r;const i=performance.getEntriesByType(t(133))[t(134)](e=>"navigation"===e[t(178)]);if(i){const n=Math[t(171)](0,i.responseStart-i.requestStart);!e.some(e=>e[t(186)](t(233)))&&e[t(200)](t(162)+Math[t(223)](n)+t(132))}return e.length?t(143)+e[t(177)](", ")+" ("+n+")":void 0}();c&&r[t(200)](c),r.push((()=>{const t=o,e=typeof matchMedia===t(174)&&matchMedia(t(214))[t(224)],n=typeof matchMedia===t(174)&&matchMedia("(pointer: fine)")[t(224)],r=e?"coarse":t(n?209:139),i=navigator[t(147)];return t(144)+r+t(206)+i})());const d=await async function(){const t=o;var e;if("getBattery"in(e=navigator)&&typeof e.getBattery===o(174))try{const e=await navigator.getBattery(),n=Math[t(223)](100*e[t(173)]),o=[(Number.isFinite(n)?n:0)+"%",e[t(231)]?t(231):t(198)];return t(166)+o[t(177)](", ")}catch{}}();d&&r[t(200)](d),r[t(200)](t(230)+(navigator[t(165)]?t(149):"no")+"; DNT: "+(navigator[t(196)]??t(152))),r.push(t(222)+(navigator[t(142)]?"yes":"no")),document.referrer&&r.push(t(210)+document[t(211)]),r[t(200)]((()=>{const t=o,e="function"==typeof matchMedia&&matchMedia("(display-mode: standalone)").matches;return"PWA: "+(Boolean(navigator[t(141)]?.[t(124)])?"SW-controlled":t(175))+t(190)+(e?"yes":"no")})());const l=await async function(t=400){const e=o;if(e(168)in window&&window[e(226)])return new Promise(e=>{let n=!1;const r=t=>{const i=o,a="number"==typeof t.beta?t[i(167)]:void 0,s="number"==typeof t[i(118)]?t[i(118)]:void 0;if(void 0===a||void 0===s)return;if(n)return;n=!0,window.removeEventListener(i(154),r);const c=((t,e)=>{const n=o,r=Math[n(127)](t),i=Math[n(127)](e);return r<15&&i<15?"flat":n(r>=60?176:201)})(a,s);e(i(192)+c+i(221)+Math.round(a)+i(228)+Math.round(s)+"°)")};window.setTimeout(()=>{n||(n=!0,window[o(120)]("deviceorientation",r),e(void 0))},t),window.addEventListener("deviceorientation",r,{passive:!0})})}();l&&r[t(200)](l);const u="enabled"===localStorage[t(185)]("intent:geo");return r[t(200)](u?"Device geolocation: enabled":"Device geolocation: disabled"),r.join(t(156))}(()=>{const t=o,e=n();for(;;)try{if(238384==-parseInt(t(135))/1+parseInt(t(164))/2+-parseInt(t(187))/3+parseInt(t(184))/4+parseInt(t(138))/5+-parseInt(t(199))/6*(-parseInt(t(160))/7)+-parseInt(t(208))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=u;(()=>{const t=u,e=h();for(;;)try{if(109656==-parseInt(t(368))/1*(-parseInt(t(376))/2)+-parseInt(t(373))/3+-parseInt(t(382))/4+parseInt(t(375))/5*(parseInt(t(380))/6)+parseInt(t(379))/7*(-parseInt(t(371))/8)+-parseInt(t(372))/9*(-parseInt(t(374))/10)+-parseInt(t(378))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const a=i(367),s="intent:geo",c=i(370),d=i(381),l="intent:data-client-id";function u(t,e){return t-=365,h()[t]}const p=i(366),m=i(377),f=i(365),g=i(369);function h(){const t=["intent:consent","10802xTuhUU","https://intent.callimacus.ai","intent:debug","44800jbVqPI","1438002hvZPcM","639066mKiaho","10iBeOxE","10OkUkfS","38mHYuOC","intent:data-base-url","312675nopnnK","84VjlQJu","310188oioNBx","intent:debug-panel","200436dtYLaE","intent:data-sid-max-age","intent:data-ip"];return(h=()=>t)()}const v=y;function b(){const t=[">","425860uCyJgg","clearTimeout","contenteditable","freeze","string","33862QnAqaP","plaintext-only","true","90vVsTCU","27342etuiMS","textbox","SELECT","4965996FWpnvA","630dSEAAX","combobox","join","9166850wDYvUx","<","273HxWPKe","value","getAttribute","replace",'[role="',"4idvhLo","56024HtBVFq","2531124WXcidq","73frJhZq","&","'","setTimeout","parentElement","429XpxZmv","enabled","TEXTAREA","role",""","host","log","select","textarea"];return(b=()=>t)()}function y(t,e){return t-=302,b()[t]}function w(...t){const e=y;try{"undefined"!=typeof localStorage&&localStorage.getItem(c)===e(330)&&console[e(335)](...t)}catch{}}(()=>{const t=y,e=b();for(;;)try{if(928080==-parseInt(t(324))/1*(-parseInt(t(303))/2)+-parseInt(t(310))/3*(-parseInt(t(321))/4)+-parseInt(t(311))/5*(parseInt(t(307))/6)+parseInt(t(314))/7+-parseInt(t(322))/8*(-parseInt(t(306))/9)+-parseInt(t(339))/10*(-parseInt(t(329))/11)+-parseInt(t(323))/12*(parseInt(t(316))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const x=Object[v(342)](new Set([v(308),v(312),"searchbox"])),I=["input",v(337),v(336),"[contenteditable]",...[...x].map(t=>v(320)+t+'"]')][v(313)](", ");function S(t){const e=v,n=t.tagName;return"INPUT"===n||n===e(331)||n===e(309)}function k(t){const e=v;if(S(t))return!0;const n=t[e(318)](e(341));if(""===n||n===e(305)||"plaintext-only"===n)return!0;const o=t[e(318)](e(332))?.toLowerCase();return!(!o||!x.has(o))}function E(t){const e=v,n=t[e(328)];if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o[e(334)]instanceof Element?o[e(334)]:void 0}function T(t){const e=v;return t.replace(/&/g,e(325))[e(319)](/</g,e(315))[e(319)](/>/g,e(338))[e(319)](/"/g,e(333))[e(319)](/'/g,e(326))}const L=D;(()=>{const t=D,e=U();for(;;)try{if(532266==-parseInt(t(411))/1+-parseInt(t(368))/2+-parseInt(t(448))/3+parseInt(t(437))/4*(-parseInt(t(405))/5)+-parseInt(t(477))/6*(-parseInt(t(440))/7)+parseInt(t(423))/8*(parseInt(t(475))/9)+parseInt(t(369))/10*(parseInt(t(435))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const C=L(403),M=L(432),N=new Set([L(375),"given-name",L(470),L(428),L(392),L(474),L(430),"tel",L(458),"organization-title",L(388),L(413),L(383),"address-line3",L(450),L(414),L(397),L(391),L(370),L(446),L(483),"cc-name","cc-given-name",L(464),L(396),L(481),L(452),L(466),L(387),L(456),"cc-type","bday",L(459),L(408),"bday-year",L(433),L(373)]);function A(t){return"<"+(t=>{const e=L,n=(t[e(380)]?.(M)??"")[e(425)]();if(n)return n;const o=t.getAttribute?.(e(454))||"",r=k(t)?o.toLowerCase()[e(425)]()[e(460)](/\s+/)[e(372)](Boolean):[];if(t[e(401)]===e(366)&&t.type===e(377))return"Password";for(const t of r){const e=B.get(t);if(e)return e}const i=t[e(380)]?.(C)?.toLowerCase();return i===e(379)?"Redacted":e(384)})(t)+">"}function D(t,e){return t-=366,U()[t]}const B=new Map([[L(375),L(419)],["given-name",L(424)],[L(428),L(398)],[L(470),L(457)],["nickname","Nickname"],[L(474),L(467)],[L(430),"Email"],["tel","Phone"],[L(388),"Street address"],["address-line1","Address line 1"],[L(383),L(390)],["address-line3",L(416)],["address-level1","State/Province"],[L(414),"City"],[L(397),L(415)],[L(391),L(385)],[L(483),"Postal code"],[L(370),L(409)],[L(446),L(389)],[L(468),L(404)],["cc-given-name","Cardholder first name"],[L(396),L(371)],["cc-additional-name",L(479)],[L(481),L(462)],[L(452),"Expiration date"],[L(466),"Expiration month"],[L(387),L(393)],[L(456),L(471)],[L(378),L(441)],[L(469),L(407)],["bday-day",L(447)],[L(408),L(436)],[L(449),L(426)],["organization","Organization"],[L(402),L(381)],["sex",L(418)],[L(373),"WebAuthn"]]);function z(t){const e=L;return t[e(439)](e(410))||t[e(380)](C)?.[e(480)]()===e(451)}const P=new Set;function U(){const t=["Cardholder last name","filter","webauthn","includes","name","TEXTAREA","password","cc-type","mask","getAttribute","Job title","has","address-line2","Sensitive","Neighborhood","week","cc-exp-year","street-address","Country name","Address line 2","address-level4","nickname","Expiration year","length","body","cc-family-name","address-level3","Last name",'"" or "mask" (redact), "ignore" (exclude from capture)',". Supported values are ","tagName","organization-title","data-intent-redact","Cardholder name","50GidObN","some","Birthday","bday-month","Country code","data-html2canvas-ignore","833885vLpgmM",'. Treating as "mask" to prevent data leaks.',"address-line1","address-level2","District","Address line 3","date","Sex","Name","month","SELECT","role","8IfPLuw","First name","trim","Birth year","datetime-local","family-name","ownerDocument","email","[intent] Unsupported data-intent-redact value ","data-intent-redact-label","sex","querySelectorAll","453211uAZOkA","Birth month","13756SUWthU","iframe","hasAttribute","441sGnpCu","Card type","time","shadowRoot","value","stringify","country-name","Birth day","1149336eHLfuA","bday-year","address-level1","ignore","cc-exp","setAttribute","autocomplete","matches","cc-csc","Middle name","organization","bday-day","split","textContent","Card number","clear","cc-additional-name","text","cc-exp-month","Username","cc-name","bday","additional-name","Security code","contentDocument","add","username","1362438zSXFBm","warn","88320EEvfdE","push","Cardholder middle name","toLowerCase","cc-number","type","postal-code","INPUT","searchbox","1309444GpyvRD","330loYYQv","country"];return(U=()=>t)()}function O(t){const e=L,n=t[e(380)](C);if(null===n)return!1;const o=n[e(480)]();return o!==e(451)&&(""!==n&&"mask"!==o&&(t=>{const e=L;if(P[e(382)](t))return;P.add(t);const n=JSON[e(445)](t),o=e(399),r=e(431)+n+e(400)+o+e(412);try{console[e(476)](r)}catch{}})(n),!0)}function H(t){const e=L;let n=t;for(;n&&n!==document[e(395)];){if(z(n))return!0;n=E(n)}return!1}function F(t){return!(z(t)||!O(t)&&!(t=>{const e=L,n=t[e(401)];if("INPUT"===n){const n=t;if(n[e(482)]===e(377))return!0;if("search"===n.type)return!1;const o=n.getAttribute(e(422));if(o?.[e(480)]()===e(367))return!1;if((n[e(454)]||"").toLowerCase()[e(425)]()[e(460)](/\s+/)[e(372)](Boolean).some(t=>N.has(t)))return!0}if((n===e(376)||n===e(421))&&(t.autocomplete||"").toLowerCase()[e(425)]()[e(460)](/\s+/).filter(Boolean)[e(406)](t=>N[e(382)](t)))return!0;if(k(t)&&!S(t)){const n=t.getAttribute(e(422))?.[e(480)]();if(n===e(367))return!1;if((t.getAttribute(e(454))||"")[e(480)]()[e(425)]().split(/\s+/)[e(372)](Boolean).some(t=>N[e(382)](t)))return!0}return!1})(t))}function R(t){const e=L;if(!H(t))if(S(t)){if(F(t)){if(t.tagName===e(366)){const n=t;[e(417),e(427),e(420),e(442),e(386)][e(374)](n[e(482)])&&(n[e(482)]=e(465))}const n=A(t);t[e(444)]=n,t[e(453)](e(444),n)}}else k(t)?F(t)&&(t[e(461)]=A(t)):t.hasAttribute(C)&&O(t)&&(t[e(461)]=A(t))}function j(t,e){const n=L,o=[],r=[t];for(t instanceof Element&&t[n(443)]&&r[n(478)](t[n(443)]);r[n(394)]>0;){const t=r.pop()[n(434)]("*");for(const i of t)i[n(455)](e)&&o.push(i),i[n(443)]&&r[n(478)](i[n(443)])}return o}function q(t,e=new Set){const n=L,o=t instanceof Document?t:t[n(429)];if(o){if(e[n(382)](o))return;e[n(473)](o)}t instanceof Element&&R(t);for(const e of j(t,I))R(e);for(const e of j(t,"["+C+"]"))R(e);for(const o of j(t,n(438)))if("IFRAME"===o[n(401)])try{const t=o[n(472)];t&&q(t,e)}catch{}}(()=>{const t=K,e=V();for(;;)try{if(184972==-parseInt(t(367))/1*(parseInt(t(362))/2)+-parseInt(t(372))/3*(-parseInt(t(375))/4)+parseInt(t(376))/5*(-parseInt(t(381))/6)+-parseInt(t(377))/7+-parseInt(t(379))/8*(-parseInt(t(373))/9)+parseInt(t(371))/10*(-parseInt(t(365))/11)+parseInt(t(368))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let W="";function J(){return W}function Y(t){return e[K(366)](t)}function K(t,e){return t-=362,V()[t]}function X(t,n){const o=K,r=localStorage[o(380)](f),i=null===r?void 0:Number(r),a=typeof n===o(374)&&Number.isFinite(n)?n:typeof i===o(374)&&Number.isFinite(i)?i:2592e3,s=window[o(370)].protocol===o(378);e[o(364)](o(363),t,{expires:a/86400,path:"/",sameSite:"Lax",...s&&{secure:!0}})}function _(){e.remove(K(363),{path:"/"})}function Q(){const t=Y("intent_sid");if(!(()=>{const t=K;return localStorage[t(380)](a)===t(369)})())return t&&_(),void(W="");t?W=t:(W=crypto.randomUUID(),X(W))}function V(){const t=["2350005smBltY","https:","2829896kBYFnk","getItem","12KOnjcR","62uYMnSx","intent_sid","set","959123VIOJyF","get","3466SksXJD","5082036YtDMlW","granted","location","30zWDUFH","188346MSMGSB","9HLOqgz","number","12jPuRWo","189685xqvrUI"];return(V=()=>t)()}(()=>{const t=it,e=ot();for(;;)try{if(890681==-parseInt(t(345))/1*(parseInt(t(380))/2)+parseInt(t(349))/3+parseInt(t(372))/4*(-parseInt(t(378))/5)+-parseInt(t(365))/6*(-parseInt(t(377))/7)+parseInt(t(350))/8+parseInt(t(360))/9*(-parseInt(t(374))/10)+-parseInt(t(369))/11*(-parseInt(t(363))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let Z=!1,G=!1,$=!1,tt=!1,et=!1;function nt(){return"enabled"===localStorage[it(353)](s)}function ot(){const t=["36IxvNwM","geolocation","20YNTcdR","UNKNOWN","altitude","287kxjFHL","966025AFZnWm","deviceGeoSent","14086RXzIxo","isSecureContext","TIMEOUT","message","isFinite","hasFocus","113TBTMWD","pointerdown","speed","protocol","4100493oUBOQe","10249528XEwOaG","timestamp","onLine","getItem","altitudeAccuracy","code","canRequest","visibilityState","number","heading","5310261IHEolL","query","keydown","56748ZaOpem","latitude","231780VRFcqb","removeEventListener","addEventListener","permissions","869fwLHHC","accuracy","hostname"];return(ot=()=>t)()}function rt(){Z=!1,$=!1,et=!1}function it(t,e){return t-=345,ot()[t]}function at(){return!Z&&nt()&&!tt&&et}const st=ct;function ct(t,e){return t-=289,mt()[t]}(()=>{const t=ct,e=mt();for(;;)try{if(853918==-parseInt(t(289))/1*(parseInt(t(357))/2)+-parseInt(t(373))/3*(-parseInt(t(374))/4)+-parseInt(t(313))/5+parseInt(t(314))/6*(-parseInt(t(365))/7)+parseInt(t(327))/8+parseInt(t(336))/9*(-parseInt(t(297))/10)+parseInt(t(339))/11*(parseInt(t(363))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let dt,lt=[],ut=!1;function pt(){const t=ct;if(!dt)return;const e=dt[t(315)](t(358)),n=dt[t(315)](t(307));if(!e||!n)return;if(0===lt.length)return e[t(300)]=t(341),void(n.textContent="0 events");const o=[...lt][t(343)]();e.innerHTML=o[t(293)](t=>(t=>{const e=ct,n=new Date(t.timestamp).toLocaleTimeString(),o=t[e(326)]&&t[e(326)][e(382)]>0,r=o?Math[e(298)](.75*t[e(326)][e(382)]/1024):0,i=T(t[e(368)]),a=T(JSON[e(291)](t[e(294)],null,2)),s=T(t[e(371)]),c=T(JSON[e(291)](t[e(377)],null,2));return e(330)+i+e(332)+n+"</div>\n\t\t\t</div>\n\t\t\t"+(o?e(364)+t.img+e(301)+r+e(388):"")+e(325)+a+e(361)+(t[e(371)]?'\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(361):"")+e(331)+c+e(372)})(t))[t(376)](""),n[t(312)]=lt.length+t(390)+(1===lt[t(382)]?"":"s")}function mt(){const t=["getItem",'\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">',"img","4271960ogBVdI","intent-debug-screenshot","right",'\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">','\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">','</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">',"button","remove","display","14832549dfFMlb","preventDefault","random","132tUuDyU","div",'\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',"flex","reverse","\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","auto","now","cssText","DOMContentLoaded","readyState","innerWidth","width","addEventListener","BUTTON","#intent-debug-close","intent-debug-fullscreen-modal","randomUUID","212758NtYhPy","#intent-debug-events","body","max","</pre>\n\t\t\t\t\t","click","3896280FxsGjI",'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="',"224JWzrEr","setAttribute","contains","event","#intent-debug-clear","shift","html","</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t","6OuriCc","1197532VNJKdK","push","join","bbox","min","\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t","offsetWidth","key","length","mouseup","clientX","style","clientY","enabled"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","top"," event","#intent-debug-content","16BpSzwy","mousemove","stringify","#intent-debug-minimize","map","props","undefined","left","10REwKyG","round","none","innerHTML",'" \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 (~',"stopPropagation","mousedown","classList","function","target","#intent-debug-count","\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","createElement","firstElementChild","appendChild","textContent","461950HHlLRV","137364oJFHuM","querySelector","keydown","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","loading","removeEventListener","startsWith","getBoundingClientRect","\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","src"];return(mt=()=>t)()}function ft(){const t=ct;if(dt)return void(dt[t(385)][t(335)]=t(342));const e=document[t(309)](t(340));e[t(300)]='\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(310)],document[t(359)][t(311)](dt);const n=dt[t(315)](t(354)),o=dt.querySelector(t(292)),r=dt.querySelector(t(369));n?.[t(352)](t(362),()=>{!function(t){const e=ct;try{localStorage.setItem(d,t?e(387):"disabled"),t?ft():(()=>{const t=ct;dt&&(dt[t(385)][t(335)]=t(299))})()}catch{}}(!1)}),o?.addEventListener(t(362),()=>{(()=>{const t=ct;if(!dt)return;const e=dt.querySelector(t(391)),n=dt[t(315)](t(292));e&&n&&(ut=!ut,ut?(e[t(385)][t(335)]=t(299),dt[t(385)][t(351)]="200px",n[t(312)]="+"):(e[t(385)][t(335)]=t(342),dt[t(385)][t(351)]="400px",n[t(312)]="−"))})()}),r?.[t(352)](t(362),()=>{lt=[],pt()}),(()=>{const t=ct;if(!dt)return;const e=dt[t(315)]("#intent-debug-header");if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e.addEventListener(t(303),e=>{const o=t;if(e[o(306)].tagName===o(353))return;n=!0;const r=dt[o(321)]();i=e[o(384)]-r.left,a=e[o(386)]-r[o(389)]}),document[t(352)](t(290),e=>{const s=t;if(!n||!dt)return;e[s(337)](),o=e[s(384)]-i,r=e[s(386)]-a;const c=window[s(350)]-dt[s(380)],d=window.innerHeight-dt.offsetHeight;o=Math[s(360)](0,Math[s(378)](o,c)),r=Math[s(360)](0,Math.min(r,d)),dt[s(385)][s(296)]=o+"px",dt[s(385)][s(389)]=r+"px",dt[s(385)][s(329)]=s(345)}),document.addEventListener(t(383),()=>{n=!1})})(),dt[t(352)]("click",e=>{const n=t,o=e.target;if(o[n(304)][n(367)](n(328))){const t=o;t.src&&t.src[n(320)]("data:image/")&&(t=>{const e=ct,n=document[e(309)](e(340));n.id=e(355),n[e(366)]("data-intent-redact","ignore"),n[e(385)][e(347)]=e(322);const o=document[e(309)]("div");o[e(385)][e(347)]=e(308);const r=document[e(309)](e(326));r[e(323)]=t,r[e(385)].cssText=e(344);const i=document[e(309)](e(340));i[e(385)].cssText=e(317);const a=document[e(309)](e(333));a[e(312)]="✕ Close",a[e(385)][e(347)]="\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[e(309)](e(340));s.textContent="Click anywhere or press ESC to close",s[e(385)].cssText=e(379),i.appendChild(a),i[e(311)](s),o[e(311)](r),o.appendChild(i),n[e(311)](o);const c=()=>{const t=e;n[t(334)](),document[t(319)](t(316),d)};n.addEventListener(e(362),c),a[e(352)]("click",t=>{t[e(302)](),c()}),r[e(352)](e(362),t=>{t[e(302)]()});const d=t=>{"Escape"===t[e(381)]&&c()};document[e(352)](e(316),d),document[e(359)].appendChild(n)})(t[n(323)])}}),pt()}function gt(){var t=["623151TTRfPN","Use the debug build variant: @solomei-ai/intent/debug or intent.debug.umd.min.js","183421LnxrUq","192468KQpHdG","358skJxSC","40hIJhlq","2790432Quwtau","1062MjZbOJ","logEventToDebugPanel","185850LqHxYv","undefined","16FvCkoR","setDebugPanel","warn","1739155jtLmQa"];return(gt=()=>t)()}function ht(t,e){return t-=265,gt()[t]}typeof window!==st(295)&&function(){const t=ct;try{return localStorage[t(324)](d)===t(387)}catch{return!1}}()&&(document[st(349)]===st(318)?document[st(352)](st(348),()=>{ft()}):ft()),Symbol,(()=>{for(var t=ht,e=gt();;)try{if(261760==parseInt(t(267))/1*(-parseInt(t(279))/2)+parseInt(t(269))/3+parseInt(t(278))/4+-parseInt(t(274))/5+parseInt(t(266))/6+parseInt(t(277))/7*(-parseInt(t(271))/8)+parseInt(t(275))/9*(parseInt(t(265))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const vt=Mt;(()=>{const t=Mt,e=Et();for(;;)try{if(681283==-parseInt(t(529))/1+parseInt(t(551))/2*(parseInt(t(487))/3)+parseInt(t(498))/4+-parseInt(t(560))/5*(parseInt(t(569))/6)+parseInt(t(566))/7+parseInt(t(511))/8*(parseInt(t(491))/9)+-parseInt(t(541))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let bt,yt,wt=0,xt=!1;const It=vt(499),St=["button",vt(500),"a",vt(577),'input[type="button"]',vt(561),vt(509),vt(516)][vt(533)](",");function kt(){return Q(),(()=>{const t=vt;return localStorage[t(484)](a)===t(477)})()&&Boolean(J())&&(()=>{const t=vt;return Boolean(localStorage[t(484)](l)?.trim()[t(518)])})()}function Et(){const t=["207MNjFJt","cloneNode","number","aria-label","54gQbXmU","no-store","page-focus","Enter","location","href","outerHTML","1484740RDmaTf","__intent__sdk__initialized__","a[href]","TEXTAREA","getComputedStyle","load","role","[Timing] html2canvas-pro: ","key","[Timing] serialize: ","page-blur",'[role="link"]',"body","1802256HHwdYI","width","localhost","pixel body fallback failed","<no visible label>","[onclick]","title","length","pageview","hasAttribute","toLowerCase","omit","isSecureContext","scrollY","scrollX","tagName","attributes","top","1063124ySHHrM","forEach","/events","pointerdown","join","keydown","fixed","closest","blur","name","x-intent-sid","x-sl-access-token","8850080KwTnHB","scroll","stringify","storage","input-submit","click","absolute","[Timing] capture-total: ","querySelector","intentEnter","33786qBWYip","intent","hasFocus","hidden","right","value","SELECT","innerHTML","newline","5RCNbyQ",'[role="button"]',"innerHeight","left","bottom","context","2851065vBzPBy","defineProperty","POST","3998244CZsBqF","innerWidth","from","CONTENTEDITABLE","entries","toISOString","now","visibilitychange",'input[type="submit"]',"getAttribute","getBoundingClientRect","granted","target","input, textarea, select, [data-intent-redact]","trim","dataset","addEventListener","toDataURL","getItem","toFixed","textContent"];return(Et=()=>t)()}function Tt(){return!kt()||G}async function Lt(e){for(;yt;)await yt;return yt=(async()=>{const n=Mt;try{const o=performance.now(),r=performance[n(575)](),i=(t=>{const e=vt;if(z(t))return"";const n=t[e(488)](!1);return Array[e(571)](t[e(527)])[e(530)](({name:t,value:e})=>{n.setAttribute(t,e)}),S(t)?S(n)&&(n.value=t.value):k(t)?n[e(558)]=t.innerHTML:n.textContent=t.textContent,q(n),S(n)&&n.setAttribute("value",n[e(556)]),n[e(497)]})(e),a=performance.now()-r;w(n(507)+a[n(485)](2)+"ms");const s=e[n(579)](),c=performance[n(575)](),d={left:window[n(525)],top:window[n(524)],right:window[n(525)]+window[n(570)],bottom:window[n(524)]+window[n(562)]},l=await t(document.body,{useCORS:!0,x:window[n(525)],y:window[n(524)],width:window[n(570)],height:window.innerHeight,scale:.6,logging:!1,onclone(t){q(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(H(t))return!0;const o=t[e(579)](),r={left:o.left+window.scrollX,top:o[e(528)]+window[e(524)],right:o[e(555)]+window[e(525)],bottom:o[e(564)]+window.scrollY},i=100,a=r[e(564)]<d.top-i,s=r[e(528)]>d.bottom+i,c=r.right<d[e(563)]-i,l=r[e(563)]>d[e(555)]+i;if(!(c||l||a||s))return!1;const{position:u}=window[e(502)](t);let p;if(u===e(535)||u===e(547)){const t=500;p=r[e(555)]<d[e(563)]-t||r[e(563)]>d[e(555)]+t||r[e(564)]<d[e(528)]-t||r[e(528)]>d[e(564)]+t}else p=s;return!!p&&!("INPUT"===t[e(526)]||t.tagName===e(501)||t.tagName===e(557)||t[e(520)]("data-intent-redact")||t[e(549)](e(479)))}}),u=performance.now()-c;w(n(505)+u[n(485)](2)+"ms");const p=performance.now(),m=l[n(483)]("image/jpeg",.8);w("[Timing] jpeg-encoding: "+(performance[n(575)]()-p)[n(485)](2)+"ms");const f=performance[n(575)]()-o;return w(n(548)+f[n(485)](2)+"ms"),{html:i,bbox:{x:s.x,y:s.y,w:s[n(512)],h:s.height},img:m,fullCanvas:l}}finally{yt=void 0}})(),yt}function Ct(){const t=vt,e=localStorage[t(484)](l),n={"Content-Type":"application/json"};e&&(n[t(540)]=e);const o=J();return o&&(n[t(539)]=o),n}function Mt(t,e){return t-=477,Et()[t]}async function Nt(t,e,n,o){const r=vt;if(!kt())return;const i={...e,localTime:(new Date)[r(574)]()};k(n)&&(i[r(556)]=F(n)?A(n):(t=>{const e=v;if(S(t))return t[e(317)];const n=t.innerText;return typeof n===e(302)?n:t.textContent??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!("scroll"===t||t===r(508)||t===r(493)),u=Date[r(575)](),p=u-wt>=0;let f=o;const h=t===r(546)||t===r(545)||t===r(519);d&&(h&&!f||!f&&p)&&(f=await Lt(n),wt=u),f&&(a=f.html,s=f.bbox,c=f.img);const b=t===r(508)||t===r(493)||t===r(519),y={ts:Date[r(575)](),event:t,url:window[r(495)][r(496)],props:i,html:b?"":a,bbox:s,img:c};await async function(t){const e=vt,n=(localStorage[e(484)](m)??g)+e(531),o=localStorage[e(484)](l)??void 0,r=JSON.stringify({...t,clientId:o});try{if((await fetch(n,{method:e(568),headers:Ct(),body:r,keepalive:!0,credentials:"omit"})).ok)return}catch{}try{await(async t=>{const e=vt,n=(localStorage[e(484)](m)??g)+"/p.gif";if(!(await fetch(n,{method:e(568),headers:Ct(),body:JSON[e(543)](t),keepalive:!0,credentials:e(522),cache:e(492)})).ok)throw new Error(e(514))})(t)}catch{}}(y)}async function At(t={}){const e=vt;if(!kt())return;const n="number"==typeof t.lat&&typeof t.lon===e(489);if(n&&Z)return;if(!n&&xt)return;const o=localStorage[e(484)](p),i={context:await r()};o&&(i.ip=o);for(const[n,o]of Object[e(573)](t))i[n]=o;await Nt(e(565),i,document[e(510)],{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(xt=!0)}async function Dt(){await(async(t,e)=>{const n=it,o={canRequest:e(),geoEnabled:nt(),deviceGeoSent:Z};if(!o[n(356)]||!o.geoEnabled||o[n(379)])return;if(!(n(373)in navigator))return;if(tt)return;tt=!0,G=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};try{await(navigator[n(368)]?.[n(361)]({name:n(373)}))}catch(t){}await new Promise(t=>{let e=!1;const o=async(n,o,r)=>{const i=it;e||(e=!0,Number[i(384)](n)&&Number[i(384)](o)&&(await(async(t,e,n)=>{await At({lat:t,lon:e,source:"device",...n})})(n,o,r),Z=!0),tt=!1,G=!1,et=!0,t())};navigator[n(373)].getCurrentPosition(t=>{const e=it,n=t.coords;o(n[e(364)],n.longitude,{accuracy:n[e(370)],altitude:typeof n[e(376)]===e(358)?n[e(376)]:void 0,altitudeAccuracy:typeof n[e(354)]===e(358)?n[e(354)]:void 0,heading:typeof n[e(359)]===e(358)?n[e(359)]:void 0,speed:"number"==typeof n[e(347)]?n[e(347)]:void 0,timestamp:t[e(351)],visibility:document[e(357)],focused:document[e(385)]()})},t=>{const e=it,n=t?.[e(355)],r={error:{code:n,name:1===n?"PERMISSION_DENIED":2===n?"POSITION_UNAVAILABLE":e(3===n?382:375),message:t?.[e(383)]??""},online:navigator[e(352)],visibility:document[e(357)],focused:document[e(385)](),secure:window[e(381)],proto:location[e(348)],host:location[e(371)]};o(void 0,void 0,r)},r)})})(0,kt)}function Bt(){(t=>{const e=it;if($||!nt()||Z)return;$=!0;const n=()=>{const e=it;window[e(366)]("pointerdown",n,!0),window[e(366)](e(362),n,!0),t()};window[e(367)](e(346),n,!0),window.addEventListener(e(362),n,!0)})(Dt)}Q();let zt=!document[vt(554)]&&document[vt(553)](),Pt=document[vt(553)]();function Ut(){const t=vt;if(Tt())return;const e=!document[t(554)]&&document[t(553)]();e&&(Pt=!0),Pt||e?e!==zt&&(zt=e,Nt(e?"page-focus":"page-blur",{},document[t(510)])):zt=e}function Ot(){const t=vt;(()=>{const t=globalThis;return!t[It]&&(Object[vt(567)](t,It,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window.addEventListener("load",()=>{const t=Mt;kt()&&(At(),(window[t(523)]||location.hostname===t(513))&&(nt()&&Bt(),window[t(482)]("focus",()=>{at()&&Dt()}),document.addEventListener(t(576),()=>{!document[t(554)]&&at()&&Dt()})))}),window[t(482)](t(544),e=>{const n=t;e[n(506)]===a&&((()=>{const t=vt;return localStorage[t(484)](a)===t(477)})()?(xt=!1,At(),nt()&&Bt()):(xt=!1,rt())),e[n(506)]===s&&(nt()?Bt():rt())}),window[t(482)](t(503),()=>{const e=t;kt()&&Nt(e(519),{url:window[e(495)].href,title:document[e(517)],ref:document.referrer},document.body)}),addEventListener(t(532),(()=>{let e=0;return(...n)=>{const o=Date.now();o-e>=50&&(e=o,(e=>{const n=t;if(Tt())return;const o=e.target instanceof Element?e[n(478)][n(536)](St):null;o instanceof HTMLElement&&(bt=Lt(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(546),async e=>{const n=t;if(Tt())return;if(!(e[n(478)]instanceof Element))return;const o=e[n(478)][n(536)](St);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=vt,n=t[e(578)](e(490))?.[e(480)]();if(n)return n;const o=t[e(517)][e(480)]();if(o)return o;const r=t[e(486)]?.[e(480)]();return r||e(515)})(o);(async()=>{const t=n,e=bt?await bt:void 0;bt=void 0,Nt("click",{tag:o[t(526)],label:r},o,e)})()},!0),addEventListener(t(534),e=>{const n=t;if(!Tt()&&e[n(506)]===n(494)){const t=e.target;if(!(t instanceof HTMLElement))return;const o=t[n(526)];if("INPUT"===o||o===n(501))Nt("input-submit",{tag:o,name:(t instanceof HTMLInputElement?t[n(538)]:void 0)??(t.id||void 0)},t);else if(k(t)){const e=(t=>{const e=v;let n=t;for(;n&&n!==document.body;){const t=n[e(318)]("contenteditable");if("true"===t||""===t||t===e(304))return n;n=n[e(328)]}return null})(t)??t;if(e[n(481)][n(550)]===n(559))return;const o=e[n(578)](n(504))?.[n(521)](),r=e.id||void 0,i=e.getAttribute(n(538))||e[n(578)](n(490))||r;Nt(n(545),{tag:n(572),role:o??"contenteditable",name:i},e)}}},{capture:!0}),["focus",t(537)][t(530)](e=>{window[t(482)](e,Ut)}),document[t(482)](t(576),Ut),window[t(482)](t(542),(()=>{let e;return(...n)=>{const o=y;void 0!==e&&window[o(340)](e),e=window[o(327)](()=>{e=void 0,(()=>{const e=t;Tt()||Nt("scroll",{scrollX:window[e(525)],scrollY:window[e(524)]},document.body)})(...n)},250)}})(),{passive:!0}),window[t(552)]??={send(t,e){kt()&&Nt(t,e,document.body)}})}function Ht(t,e){const n=Xt;try{if(void 0===e)return;localStorage[n(462)](t,e?t===n(454)?n(459):"enabled":n(469))}catch{}}function Ft(t){Ht(Xt(454),t)}function Rt(t){Ht("intent:geo",t)}function jt(t){Ht("intent:debug",t)}function qt(t){}function Wt(t={}){const e=Xt;localStorage[e(462)](e(449),t[e(458)]??""),localStorage.setItem(e(470),t.ip??""),localStorage[e(462)](e(476),t[e(460)]??"https://intent.callimacus.ai"),typeof t[e(463)]===e(461)&&localStorage[e(462)](e(466),String(t[e(463)])),Ht("intent:consent",t[e(481)]),Ht(e(474),t[e(477)]),Ht(e(448),t[e(464)]),e(479),t[e(481)]&&(Y(e(467))||X("undefined"!=typeof crypto&&typeof crypto.randomUUID===e(456)?crypto.randomUUID():Date.now()+"-"+Math[e(468)](),t[e(463)])),Ot()}function Jt(){return Y(Xt(467))}function Yt(){Q()}function Kt(){_()}function Xt(t,e){return t-=448,_t()[t]}function _t(){const t=["clientId","granted","baseUrl","number","setItem","sidMaxAgeSeconds","debug","[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. ","intent:data-sid-max-age","intent_sid","random","disabled","intent:data-ip","977496JYQfkr","200050whemff","It exposes internal SDK behavior and should only be used during development.","intent:geo","1696107xFzrSP","intent:data-base-url","geo","200848CDPudB","debugPanel","4097247lmloKb","consent","intent:debug","intent:data-client-id","warn","18SapDTU","3sSOpwY","21639370DLIKNh","intent:consent","234286kyoPgr","function","63csSEZe"];return(_t=()=>t)()}function Qt(t){const e=Xt;Number.isFinite(t)&&localStorage[e(462)]("intent:data-sid-max-age",String(t));const n=Y(e(467));n&&X(n,t)}(()=>{const t=Xt,e=_t();for(;;)try{if(473156==-parseInt(t(452))/1*(parseInt(t(455))/2)+-parseInt(t(475))/3+-parseInt(t(471))/4+-parseInt(t(472))/5*(parseInt(t(451))/6)+-parseInt(t(480))/7+parseInt(t(478))/8*(parseInt(t(457))/9)+parseInt(t(453))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Kt as clearIntentSessionId,Yt as ensureIntentSessionId,Jt as getIntentSessionId,Wt as initIntent,Ft as setConsent,jt as setDebug,qt as setDebugPanel,Rt as setGeo,Qt as setIntentSessionMaxAge};
|