@solomei-ai/intent 1.12.1 → 2.0.0
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/README.md +11 -77
- package/dist/esm/index.debug.js +1 -1
- package/dist/esm/index.debug.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/intent.debug.umd.min.js +1 -1
- package/dist/intent.debug.umd.min.js.map +1 -1
- package/dist/intent.umd.min.js +2 -2
- package/dist/types/index.d.ts +2 -15
- package/package.json +8 -10
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-=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","<","1452041bxZKjP","2fQpMiW","323350LOFsrd","searchbox","5840191EAUFab",""","host",">","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,"&")[e(405)](/</g,e(382))[e(405)](/>/g,e(390))[e(405)](/"/g,e(388))[e(405)](/'/g,"'")}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};
|
|
4
|
+
import t from"html2canvas-pro";import e from"js-cookie";function n(){const t=["round","duration","length","CookiesEnabled: ","Timezone: ","width","enabled","Viewport: ","; DNT: ","effectiveType"," Mbps","unknown","version"," (UTC","getBattery","innerWidth","resource","padStart","timeZone","cookieEnabled","6YemilR","level","not charging","yes","join","isSecureContext","devicePixelRatio","8nDpkeT","max","DeviceOrientationEvent","doNotTrack","deviceorientation","browser API","responseStart","getEntriesByType","encodedBodySize","getItem","toString","setTimeout","Battery: ","isFinite","UA brands: ","(display-mode: standalone)","entryType","type","(pointer: coarse)","userAgent","navigation","filter","inferred","fine","charging","getTimezoneOffset","saveData","2378710fwRWai","push","rttMs","language","requestStart",", orientation ","49423QKLMHz","floor","serviceWorker","addEventListener","orientation","rtt","45333xmlCrA","395505KqFBFZ","528mzeuKY","Online: "," | ","beta","n/a","referrer","2030637oVFQTJ",", display-mode standalone: ","Platform: ","userAgentData","undefined","brand","innerHeight","abs","controller","downlinkMbps","no SW","°, γ ","slice","map","platform","brands","removeEventListener","-bit)","isArray","CPU: ","(pointer: fine)","coarse","PWA: ","languages","hardwareConcurrency","989432ixYTst"," ms","transferSize","maxTouchPoints","connection","number","5055570PDlJDE","TTFB ~","matches","function"," (mobile)","TTFB"," (β ","intent:geo","find","downlink"];return(n=()=>t)()}function o(t,e){return t-=373,n()[t]}async function r(){const t=o,e=(new Intl.DateTimeFormat).resolvedOptions()[t(414)],n=(t=>{const e=o,n=t<=0?"+":"-",r=Math[e(477)](t);return""+n+String(Math[e(457)](r/60))[e(413)](2,"0")+":"+String(r%60)[e(413)](2,"0")})((new Date)[t(448)]()),r=[];r.push("Language: "+navigator[t(453)]),navigator.languages?.[t(398)]&&r[t(451)]("Languages: "+navigator[t(378)][t(420)](", ")),r[t(451)]("User agent: "+navigator[t(442)]);const i=function(){const t=o;if(!(t=>{const e=o;return e(473)in t&&typeof t.userAgentData!==e(474)})(navigator))return;const e=navigator[t(473)],n=Array[t(373)](e[t(485)])?e[t(485)][t(483)](e=>e[t(475)]+" "+e[t(408)])[t(420)](", "):void 0,r=e.platform?""+e[t(484)]+(e.mobile?t(390):""):void 0;return[n&&t(437)+n,r&&t(472)+r][t(444)](Boolean)[t(420)](t(466))||void 0}();i&&r[t(451)](i),r[t(451)](t(400)+e+t(409)+n+")"),r[t(451)]("Local time: "+(new Date)[t(433)]());const a=window[t(422)]||1;r[t(451)]("Screen: "+screen[t(401)]+"x"+screen.height+" @"+a+"x (avail "+screen.availWidth+"x"+screen.availHeight+", "+screen.colorDepth+t(487));const s=screen[t(460)]&&"type"in screen[t(460)]?screen[t(460)][t(440)]:void 0;r[t(451)](t(403)+window[t(411)]+"x"+window[t(476)]+(s?t(455)+s:"")),r[t(451)](t(374)+navigator[t(379)]+" cores");const c=await async function(){const t=o,e=[];let n=t(428);if((t=>{const e=o;return e(384)in t&&typeof t[e(384)]!==e(474)})(navigator)){const n=navigator[t(384)];n?.[t(405)]&&e.push(n[t(405)]),typeof n?.[t(395)]===t(385)&&e[t(451)]("~"+n[t(395)]+t(406)),typeof n?.[t(461)]===t(385)&&e[t(451)](n.rtt+t(381)),n?.[t(449)]&&e[t(451)](t(449))}else{const r=((t=20)=>{const e=o,n=performance[e(430)](e(443))[e(394)](t=>t.entryType===e(443)),r=n?Math.max(0,n[e(429)]-n[e(454)]):void 0,i=performance[e(430)](e(412)).filter(t=>t[e(439)]===e(412));let a=0,s=0;for(const n of i[e(482)](0,Math[e(424)](0,t))){const t=n.encodedBodySize>0?n[e(431)]:n[e(382)]>0?n[e(382)]:0,o=n[e(397)];t>0&&o>0&&Number[e(436)](o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:typeof c===e(385)?c/1e3:void 0,rttMs:r}})();typeof r.downlinkMbps===t(385)&&e[t(451)]("~"+r[t(479)].toFixed(1)+t(406)),typeof r[t(452)]===t(385)&&e[t(451)](t(387)+Math[t(396)](r.rttMs)+" ms"),n=t(445)}const r=performance[t(430)](t(443)).find(e=>"navigation"===e[t(439)]);if(r){const n=Math[t(424)](0,r[t(429)]-r[t(454)]);!e.some(e=>e.startsWith(t(391)))&&e.push(t(387)+Math[t(396)](n)+" ms")}return e[t(398)]?"Network: "+e.join(", ")+" ("+n+")":void 0}();c&&r[t(451)](c),r[t(451)]((()=>{const t=o,e=typeof matchMedia===t(389)&&matchMedia(t(441))[t(388)],n=typeof matchMedia===t(389)&&matchMedia(t(375))[t(388)];return"Pointer/Touch: "+t(e?376:n?446:407)+", maxTouchPoints "+navigator[t(383)]})());const d=await async function(){const t=o;if((t=>{const e=o;return e(410)in t&&typeof t.getBattery===e(389)})(navigator))try{const e=await navigator[t(410)](),n=Math[t(396)](100*e[t(417)]),o=[(Number[t(436)](n)?n:0)+"%",e[t(447)]?"charging":t(418)];return t(435)+o[t(420)](", ")}catch{}}();d&&r[t(451)](d),r[t(451)](t(399)+(navigator[t(415)]?t(419):"no")+t(404)+(navigator[t(426)]??t(468))),r[t(451)](t(465)+(navigator.onLine?"yes":"no")),document.referrer&&r[t(451)]("Referrer: "+document[t(469)]),r[t(451)]((()=>{const t=o,e="function"==typeof matchMedia&&matchMedia(t(438)).matches,n=Boolean(navigator[t(458)]?.[t(478)]);return t(377)+(n?"SW-controlled":t(480))+t(471)+(e?t(419):"no")})());const l=await async function(t=400){const e=o;if(e(425)in window&&window[e(421)])return new Promise(n=>{const r=e;let i=!1;const a=t=>{const e=o,r=typeof t[e(467)]===e(385)?t[e(467)]:void 0,s="number"==typeof t.gamma?t.gamma:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(486)](e(427),a);const c=((t,e)=>{const n=Math[o(477)](t),r=Math.abs(e);return n<15&&r<15?"flat":n>=60?"upright":"reclined"})(r,s);n("Tilt: "+c+e(392)+Math[e(396)](r)+e(481)+Math[e(396)](s)+"°)")};window[r(434)](()=>{const t=r;i||(i=!0,window[t(486)](t(427),a),n(void 0))},t),window[r(459)]("deviceorientation",a,{passive:!0})})}();l&&r[t(451)](l);const u=localStorage[t(432)](t(393))===t(402);return r.push(u?"Device geolocation: enabled":"Device geolocation: disabled"),r[t(420)](t(466))}(()=>{const t=o,e=n();for(;;)try{if(253667==parseInt(t(456))/1*(-parseInt(t(423))/2)+parseInt(t(463))/3+parseInt(t(380))/4+-parseInt(t(450))/5*(parseInt(t(416))/6)+-parseInt(t(470))/7+parseInt(t(464))/8*(parseInt(t(462))/9)+parseInt(t(386))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=f;(()=>{const t=f,e=s();for(;;)try{if(335944==-parseInt(t(326))/1*(parseInt(t(333))/2)+parseInt(t(325))/3+parseInt(t(320))/4*(parseInt(t(336))/5)+-parseInt(t(323))/6+parseInt(t(321))/7+-parseInt(t(335))/8*(-parseInt(t(324))/9)+-parseInt(t(330))/10*(-parseInt(t(332))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const a=i(327);function s(){const t=["888615fgqwOT","1xJszLK","intent:consent","intent:data-ip","intent:debug-panel","970ruCdRu","intent:data-sid-max-age","28061qRdRmf","958204cPMpNC","intent:data-base-url","128hLJdld","103835AmWMeD","40ZXehvM","377286WpyAPJ","intent:geo","2257332TjFAli","217152JRATlU"];return(s=()=>t)()}const c=i(322),d=i(329),l="intent:data-client-id",u=i(328),p=i(334),m=i(331);function f(t,e){return t-=320,s()[t]}const g="https://intent.callimacus.ai",h=b;function b(t,e){return t-=336,E()[t]}function v(...t){const e=b;try{"undefined"!=typeof localStorage&&localStorage[e(336)]("intent:debug")===e(339)&&console[e(371)](...t)}catch{}}(()=>{const t=b,e=E();for(;;)try{if(636628==parseInt(t(364))/1+parseInt(t(372))/2+parseInt(t(355))/3+-parseInt(t(357))/4+-parseInt(t(340))/5+-parseInt(t(342))/6+-parseInt(t(356))/7*(-parseInt(t(351))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const y=Object[h(370)](new Set([h(337),"combobox","searchbox"])),w=["input",h(368),h(347),"[contenteditable]",...[...y][h(344)](t=>h(373)+t+'"]')][h(366)](", ");function x(t){const e=h,n=t[e(348)];return n===e(362)||n===e(363)||n===e(365)}function I(t){const e=h;if(x(t))return!0;const n=t.getAttribute(e(360));if(""===n||"true"===n||n===e(374))return!0;const o=t.getAttribute(e(338))?.[e(358)]();return!(!o||!y[e(359)](o))}function S(t){const e=h,n=t[e(343)];if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o[e(354)]instanceof Element?o[e(354)]:void 0}function T(t){const e=h;return t[e(349)](/&/g,e(353))[e(349)](/</g,"<")[e(349)](/>/g,">")[e(349)](/"/g,e(352))[e(349)](/'/g,"'")}function E(){const t=["plaintext-only","getItem","textbox","role","enabled","2289340BaDWEh","true","333894qMJRNh","parentElement","map","textContent","value","select","tagName","replace","clearTimeout","1592TuKeeP",""","&","host","1736445WDoUzQ","28693kTrzwY","3185856sGDQtz","toLowerCase","has","contenteditable","now","INPUT","TEXTAREA","85464cryMiN","SELECT","join","innerText","textarea","body","freeze","log","933258nQajDM",'[role="'];return(E=()=>t)()}const k=D;(()=>{const t=D,e=L();for(;;)try{if(947217==-parseInt(t(234))/1+-parseInt(t(293))/2*(-parseInt(t(227))/3)+-parseInt(t(237))/4+-parseInt(t(322))/5*(-parseInt(t(239))/6)+parseInt(t(244))/7*(parseInt(t(272))/8)+-parseInt(t(261))/9+parseInt(t(231))/10*(parseInt(t(304))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const M=k(335);function L(){const t=["City","3ioVQDF","search","address-line3","SELECT","183830QTMKhV","autocomplete","matches","1233681QeIMfu",'. Treating as "mask" to prevent data leaks.',"toLowerCase","6121612NnKwOv","hasAttribute","2570136PgpJDu","country","Birth year","bday-year","Sensitive","7SqYxhj","warn","cc-additional-name","tagName","additional-name","Country code","Expiration date","some","cc-exp-month","text","Address line 3","Address line 1","mask","nickname","organization-title","pop","add","4448142dUOELg","IFRAME","Card number","ownerDocument","address-line1","Email","State/Province","clear","District","Cardholder first name","datetime-local","12922808WBfSRE","bday","cc-number","Street address","cc-exp","Password","has","Username","Card type","name","Expiration month","stringify","street-address","Cardholder last name","webauthn","length","cc-csc","[intent] Unsupported data-intent-redact value ","data-intent-redact-label",'"" or "mask" (redact), "ignore" (exclude from capture)',"iframe","856566RLGWkY","INPUT","shadowRoot","time","Job title","address-level4","textContent","body","Birth day","cc-family-name","data-html2canvas-ignore","781jkFGEE","value","family-name","Birthday","address-level1","searchbox","TEXTAREA","given-name","Middle name","First name","country-name","sex","Country name","type","Birth month","Phone","address-line2","cc-type","10DvmYRB","querySelectorAll","date","Neighborhood","ignore","trim","split","tel","organization","role","month","Cardholder name","contentDocument","data-intent-redact","includes","getAttribute","cc-exp-year","Postal code","bday-day","push","Security code","filter","cc-name"];return(L=()=>t)()}const C=k(290),A=new Set([k(281),k(311),"additional-name",k(306),k(257),"username","email",k(329),"organization",k(258),k(284),k(265),"address-line2",k(229),k(308),"address-level2","address-level3",k(298),"country",k(314),"postal-code",k(344),"cc-given-name",k(246),k(302),k(274),"cc-exp",k(252),k(338),k(288),"cc-type",k(273),k(340),"bday-month","bday-year",k(315),k(286)]);function N(t){return"<"+(t=>{const e=k,n=(t[e(337)]?.(C)??"").trim();if(n)return n;const o=t[e(337)]?.(e(232))||"",r=I(t)?o[e(236)]()[e(327)]()[e(328)](/\s+/)[e(343)](Boolean):[];if(t[e(247)]===e(294)&&"password"===t[e(317)])return e(277);for(const t of r){const e=z.get(t);if(e)return e}const i=t[e(337)]?.(M)?.[e(236)]();return"mask"===i?"Redacted":e(243)})(t)+">"}function D(t,e){return t-=227,L()[t]}const z=new Map([["name","Name"],[k(311),k(313)],[k(306),"Last name"],[k(248),k(312)],["nickname","Nickname"],["username",k(279)],["email",k(266)],["tel",k(319)],[k(284),k(275)],[k(265),k(255)],[k(320),"Address line 2"],[k(229),k(254)],[k(308),k(267)],["address-level2",k(345)],["address-level3",k(269)],["address-level4",k(325)],["postal-code",k(339)],[k(240),k(249)],[k(314),k(316)],["cc-name",k(333)],["cc-given-name",k(270)],[k(302),k(285)],[k(246),"Cardholder middle name"],[k(274),k(263)],[k(276),k(250)],[k(252),k(282)],[k(338),"Expiration year"],[k(288),k(342)],[k(321),k(280)],["bday",k(307)],[k(340),k(301)],["bday-month",k(318)],[k(242),k(241)],[k(330),"Organization"],[k(258),k(297)],[k(315),"Sex"],["webauthn","WebAuthn"]]);function B(t){const e=k;return t[e(238)](e(303))||"ignore"===t[e(337)](M)?.[e(236)]()}const P=new Set;function U(t){const e=k,n=t[e(337)](M);if(null===n)return!1;const o=n[e(236)]();return o!==e(326)&&(""!==n&&o!==e(256)&&(t=>{const e=k;if(P[e(278)](t))return;P.add(t);const n=JSON[e(283)](t),o=e(291),r=e(289)+n+". Supported values are "+o+e(235);try{console[e(245)](r)}catch{}})(n),!0)}function O(t){const e=k;let n=t;for(;n&&n!==document[e(300)];){if(B(n))return!0;n=S(n)}return!1}function R(t){return!(B(t)||!U(t)&&!(t=>{const e=k,n=t[e(247)];if(n===e(294)){const n=t;if("password"===n.type)return!0;if(n[e(317)]===e(228))return!1;const o=n.getAttribute(e(331));if(o?.[e(236)]()===e(309))return!1;if((n[e(232)]||"")[e(236)]()[e(327)]()[e(328)](/\s+/)[e(343)](Boolean)[e(251)](t=>A[e(278)](t)))return!0}if((n===e(310)||n===e(230))&&(t[e(232)]||"")[e(236)]()[e(327)]()[e(328)](/\s+/)[e(343)](Boolean)[e(251)](t=>A.has(t)))return!0;if(I(t)&&!x(t)){const n=t[e(337)]("role")?.[e(236)]();if("searchbox"===n)return!1;if((t[e(337)](e(232))||"").toLowerCase()[e(327)]()[e(328)](/\s+/)[e(343)](Boolean)[e(251)](t=>A.has(t)))return!0}return!1})(t))}function F(t){const e=k;if(!O(t))if(x(t)){if(R(t)){if("INPUT"===t[e(247)]){const n=t;[e(324),e(271),e(332),e(296),"week"][e(336)](n[e(317)])&&(n[e(317)]=e(253))}const n=N(t);t[e(305)]=n,t.setAttribute(e(305),n)}}else I(t)?R(t)&&(t[e(299)]=N(t)):t[e(238)](M)&&U(t)&&(t[e(299)]=N(t))}function j(t,e){const n=k,o=[],r=[t];for(t instanceof Element&&t[n(295)]&&r[n(341)](t[n(295)]);r[n(287)]>0;){const t=r[n(259)]()[n(323)]("*");for(const i of t)i[n(233)](e)&&o[n(341)](i),i[n(295)]&&r[n(341)](i[n(295)])}return o}function W(t,e=new Set){const n=k,o=t instanceof Document?t:t[n(264)];if(o){if(e[n(278)](o))return;e[n(260)](o)}t instanceof Element&&F(t);for(const e of j(t,w))F(e);for(const e of j(t,"["+M+"]"))F(e);for(const o of j(t,n(292)))if(o[n(247)]===n(262))try{const t=o[n(334)];t&&W(t,e)}catch{}}function H(){const t=["326823kMutoF","protocol","getItem","randomUUID","location","granted","set","2NGKrzY","735309pvlFAF","815154qyGJYK","125405gTiBZA","1250224rdePVa","Lax","get","intent_sid","https:","1267250MHOLPO","16QsHfot","remove","number","isFinite","926070XLXCEU"];return(H=()=>t)()}function q(t,e){return t-=243,H()[t]}(()=>{const t=q,e=H();for(;;)try{if(206515==-parseInt(t(254))/1+parseInt(t(251))/2*(-parseInt(t(253))/3)+parseInt(t(255))/4+parseInt(t(260))/5+parseInt(t(243))/6+parseInt(t(244))/7+parseInt(t(261))/8*(-parseInt(t(252))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let J="";function Q(){return J}function Y(t){return e[q(257)](t)}function K(t,n){const o=q,r=localStorage[o(246)](m),i=null===r?void 0:Number(r),a=typeof n===o(263)&&Number[o(264)](n)?n:typeof i===o(263)&&Number[o(264)](i)?i:2592e3,s=window[o(248)][o(245)]===o(259);e[o(250)](o(258),t,{expires:a/86400,path:"/",sameSite:o(256),...s&&{secure:!0}})}function X(){const t=q;e[t(262)](t(258),{path:"/"})}function V(){const t=q,e=Y(t(258));if(!(()=>{const t=q;return localStorage[t(246)](a)===t(249)})())return e&&X(),void(J="");e?J=e:(J=crypto[t(247)](),K(J))}function Z(){const t=["TIMEOUT","speed","number","17410990foAhOI","isFinite","geolocation","15666772BQqzZd","latitude","POSITION_UNAVAILABLE","1362451mUMFQV","getItem","coords","query","removeEventListener","isSecureContext","geoEnabled","1086ACNpPT","PERMISSION_DENIED","hostname","protocol","getCurrentPosition","now","72045IbTfjZ","664gzwHBo","58554LSwWno","onLine","deviceGeoSent","permissions","accuracy","timestamp","visibilityState","135HqyHUQ","1625358RvWYkb","2niLFZc","code","6892wgFVjV","pointerdown","longitude","heading","hasFocus","addEventListener","keydown","altitudeAccuracy"];return(Z=()=>t)()}(()=>{const t=rt,e=Z();for(;;)try{if(973616==parseInt(t(353))/1*(parseInt(t(334))/2)+-parseInt(t(317))/3*(-parseInt(t(336))/4)+parseInt(t(332))/5*(-parseInt(t(325))/6)+parseInt(t(333))/7+-parseInt(t(324))/8*(parseInt(t(323))/9)+-parseInt(t(347))/10+parseInt(t(350))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let _=!1,G=!1,$=!1,tt=!1,et=!1;function nt(){return"enabled"===localStorage[rt(354)](c)}function ot(){_=!1,$=!1,et=!1}function rt(t,e){return t-=316,Z()[t]}function it(){return!_&&nt()&&!tt&&et}const at=pt;(()=>{const t=pt,e=lt();for(;;)try{if(594762==-parseInt(t(465))/1+-parseInt(t(517))/2+-parseInt(t(442))/3*(parseInt(t(537))/4)+parseInt(t(521))/5+-parseInt(t(445))/6+-parseInt(t(467))/7+parseInt(t(501))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let st,ct=[],dt=!1;function lt(){const t=["offsetWidth","\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",'\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">',"2281745UNiEYs","auto","clientX","button","getItem","createElement",'" \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 (~',"event",'</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">',"div","undefined","body","style","round","join","removeEventListener","12456FNBCtE","getBoundingClientRect","target","offsetHeight","src","map","#intent-debug-close","stringify","data-intent-redact","display","135jlbtqN","img"," event","5589342LcHJOM","mousedown","classList","✕ Close","#intent-debug-content","appendChild","clientY","bbox","flex","readyState","enabled","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","#intent-debug-events","intent-debug-screenshot"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","toLocaleTimeString","#intent-debug-clear","min","BUTTON","Click anywhere or press ESC to close","254862QkDwFN","max","5321337VhZYUV","length","html","tagName","stopPropagation",'\n\t\t<div id="intent-debug-panel" data-intent-redact="ignore" style="\n\t\t\tposition: fixed;\n\t\t\ttop: 20px;\n\t\t\tright: 20px;\n\t\t\twidth: 400px;\n\t\t\tmax-height: 80vh;\n\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t\t\tz-index: 2147483647;\n\t\t\tfont-family: var(--solomei-font-primary, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif);\n\t\t\tfont-size: var(--solomei-font-size-base, 15px);\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t">\n\t\t\t<div id="intent-debug-header" style="\n\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\tpadding: 12px 15px;\n\t\t\t\tborder-radius: var(--solomei-radius-lg, 10px) var(--solomei-radius-lg, 10px) 0 0;\n\t\t\t\tcursor: move;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tuser-select: none;\n\t\t\t">\n\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); font-size: 14px;">Intent SDK Debug</div>\n\t\t\t\t<div style="display: flex; gap: 8px;">\n\t\t\t\t\t<button id="intent-debug-minimize" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">−</button>\n\t\t\t\t\t<button id="intent-debug-close" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">×</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div id="intent-debug-content" style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\toverflow: hidden;\n\t\t\t\tflex: 1;\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tpadding: 12px 15px;\n\t\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t">\n\t\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); color: var(--solomei-color-foreground, #212121); margin-bottom: 8px;">Event Log</div>\n\t\t\t\t\t<div style="display: flex; gap: 8px; align-items: center;">\n\t\t\t\t\t\t<button id="intent-debug-clear" style="\n\t\t\t\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\t\tborder: none;\n\t\t\t\t\t\t\tpadding: 6px 12px;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\t\t">Clear</button>\n\t\t\t\t\t\t<span id="intent-debug-count" style="color: var(--solomei-color-text-secondary, #979797); font-size: 12px;">0 events</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div id="intent-debug-events" style="\n\t\t\t\t\tflex: 1;\n\t\t\t\t\toverflow-y: auto;\n\t\t\t\t\tpadding: 10px;\n\t\t\t\t">\n\t\t\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t',"\n\t\tmax-width: 95%;\n\t\tmax-height: 95%;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t","Escape","left","innerHTML","</div>\n\t\t\t</div>\n\t\t\t","keydown","props","click","function","timestamp","innerWidth",'\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">',"cssText","none","top",'\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',"setAttribute","#intent-debug-count",'\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">',"</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t","contains","shift","randomUUID","firstElementChild","push","0 events","400px","200px","25544200NNcffi","\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t","reverse","innerHeight","\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","querySelector",'\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">',"right","textContent","#intent-debug-minimize","addEventListener","disabled","width","now","mouseup","</pre>\n\t\t\t\t\t","1935744lxUwru"];return(lt=()=>t)()}function ut(){const t=pt;if(!st)return;const e=st[t(506)](t(457)),n=st[t(506)](t(490));if(!e||!n)return;if(0===ct[t(468)])return e[t(476)]=t(488),void(n.textContent=t(498));const o=[...ct][t(503)]();e.innerHTML=o[t(542)](t=>(t=>{const e=pt,n=new Date(t[e(482)])[e(460)](),o=t[e(443)]&&t[e(443)][e(468)]>0,r=o?Math[e(534)](.75*t.img.length/1024):0,i=T(t[e(528)]),a=T(JSON[e(544)](t[e(479)],null,2)),s=T(t[e(469)]),c=T(JSON.stringify(t[e(452)],null,2));return e(507)+i+e(529)+n+e(477)+(o?'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="'+t[e(443)]+e(527)+r+e(459):"")+e(491)+a+e(516)+(t[e(469)]?e(520)+s+e(516):"")+e(484)+c+e(492)})(t))[t(535)](""),n[t(509)]=ct[t(468)]+t(444)+(1===ct.length?"":"s")}function pt(t,e){return t-=440,lt()[t]}function mt(){const t=pt;if(st)return void(st.style.display=t(453));const e=document[t(526)](t(530));e[t(476)]=pt(472),st=e[t(496)],document[t(532)].appendChild(st);const n=st[t(506)](t(543)),o=st.querySelector("#intent-debug-minimize"),r=st[t(506)](t(461));n?.[t(511)](t(480),()=>{!function(t){const e=pt;try{localStorage.setItem(d,t?"enabled":e(512)),t?mt():(()=>{const t=pt;st&&(st[t(533)][t(441)]=t(486))})()}catch{}}(!1)}),o?.[t(511)](t(480),()=>{(()=>{const t=pt;if(!st)return;const e=st[t(506)](t(449)),n=st[t(506)](t(510));e&&n&&(dt=!dt,dt?(e[t(533)][t(441)]=t(486),st[t(533)][t(513)]=t(500),n[t(509)]="+"):(e[t(533)][t(441)]=t(453),st[t(533)][t(513)]=t(499),n.textContent="−"))})()}),r?.[t(511)](t(480),()=>{ct=[],ut()}),(()=>{const t=pt;if(!st)return;const e=st[t(506)]("#intent-debug-header");if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e[t(511)](t(446),e=>{const o=t;if(e[o(539)][o(470)]===o(463))return;n=!0;const r=st[o(538)]();i=e.clientX-r[o(475)],a=e[o(451)]-r[o(487)]}),document[t(511)]("mousemove",e=>{const s=t;if(!n||!st)return;e.preventDefault(),o=e[s(523)]-i,r=e[s(451)]-a;const c=window[s(483)]-st[s(518)],d=window[s(504)]-st[s(540)];o=Math[s(466)](0,Math[s(462)](o,c)),r=Math[s(466)](0,Math[s(462)](r,d)),st.style.left=o+"px",st[s(533)][s(487)]=r+"px",st[s(533)][s(508)]=s(522)}),document.addEventListener(t(515),()=>{n=!1})})(),st[t(511)](t(480),e=>{const n=t,o=e.target;if(o[n(447)][n(493)](n(458))){const t=o;t[n(541)]&&t.src.startsWith("data:image/")&&(t=>{const e=pt,n=document[e(526)](e(530));n.id="intent-debug-fullscreen-modal",n[e(489)](e(440),"ignore"),n.style[e(485)]=e(519);const o=document.createElement(e(530));o.style.cssText=e(473);const r=document[e(526)]("img");r[e(541)]=t,r[e(533)][e(485)]="\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.createElement(e(530));i[e(533)][e(485)]=e(456);const a=document.createElement(e(524));a.textContent=e(448),a.style[e(485)]=e(505);const s=document[e(526)](e(530));s.textContent=e(464),s[e(533)][e(485)]=e(502),i[e(450)](a),i.appendChild(s),o[e(450)](r),o[e(450)](i),n[e(450)](o);const c=()=>{const t=e;n.remove(),document[t(536)](t(478),d)};n[e(511)](e(480),c),a[e(511)](e(480),t=>{t[e(471)](),c()}),r.addEventListener(e(480),t=>{t.stopPropagation()});const d=t=>{t.key===e(474)&&c()};document.addEventListener(e(478),d),document.body[e(450)](n)})(t.src)}}),ut()}function ft(){var t=["44815PjLeYX","warn","setDebugPanel","548964sluApi","16502170ItuxTh","Use the debug build variant: @solomei-ai/intent/debug or intent.debug.umd.min.js","428qRplbq","logEventToDebugPanel","1347420QNzHtA","[Intent SDK] Debug panel is not available in this build. ","8321CCnAXA","3241566KetCsc","undefined","10955qbQjBZ","1504SjJDUU","244WBZLvn"];return(ft=()=>t)()}function gt(t,e){return t-=465,ft()[t]}"undefined"!=typeof window&&function(){const t=pt;try{return localStorage[t(525)](d)===t(455)}catch{return!1}}()&&("loading"===document[at(454)]?document[at(511)]("DOMContentLoaded",()=>{mt()}):mt()),Symbol,(()=>{for(var t=gt,e=ft();;)try{if(615678==parseInt(t(465))/1*(parseInt(t(470))/2)+parseInt(t(479))/3+-parseInt(t(477))/4*(-parseInt(t(471))/5)+-parseInt(t(474))/6+parseInt(t(468))/7*(parseInt(t(469))/8)+-parseInt(t(466))/9+-parseInt(t(475))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const ht=bt;function bt(t,e){return t-=494,wt()[t]}(()=>{const t=bt,e=wt();for(;;)try{if(146931==parseInt(t(569))/1*(-parseInt(t(594))/2)+-parseInt(t(564))/3+-parseInt(t(538))/4+parseInt(t(549))/5*(-parseInt(t(590))/6)+-parseInt(t(530))/7+-parseInt(t(495))/8+parseInt(t(531))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let vt,yt=0;function wt(){const t=["name","textContent","1059480eUQXiQ","[Timing] html2canvas-pro: ","outerHTML","left","blur","click","intentEnter","now","visibilitychange","querySelector","referrer","451695BuKoYK","pageview","TEXTAREA","pixel body fallback failed","lon","join","input-submit","innerWidth","key","aria-label","number","SELECT","width","trim","hidden","782466yMWAEx","defineProperty","right","POST","[Timing] capture-total: ","30319gYPsZe","hostname","role","addEventListener","getAttribute","tagName","CONTENTEDITABLE","omit","context","focus","[onclick]","href","fixed","application/json","x-sl-access-token","image/jpeg","<no visible label>","/p.gif","isSecureContext","/events","__intent__sdk__initialized__","6MqfuoQ","dataset","stringify","toLowerCase","16KkAkHN","page-blur","page-focus","getBoundingClientRect","load","innerHTML","836968XkYvBV",'input[type="button"]',"toDataURL","scroll","hasAttribute","intent","granted","location","setAttribute","newline","value","bbox","forEach","lat","img","keydown","no-store","storage","absolute","scrollX","length","body","bottom","from","Enter","height","hasFocus","top","target",'input[type="submit"]',"toFixed","input, textarea, select, [data-intent-redact]","innerHeight","a[href]","scrollY","650909ybNWZw","10828098HyLovP","attributes","getItem",'[role="link"]',"closest"];return(wt=()=>t)()}let xt,It=!1;const St=ht(589),Tt=["button",ht(528),"a",ht(524),ht(496),'[role="button"]',ht(534),ht(579)][ht(554)](",");function Et(){return V(),(()=>{const t=ht;return localStorage[t(533)](a)===t(501)})()&&Boolean(Q())&&(()=>{const t=ht;return Boolean(localStorage[t(533)](l)?.[t(562)]()[t(515)])})()}function kt(){return!Et()||G}async function Mt(e){for(;xt;)await xt;return xt=(async()=>{const n=bt;try{const o=performance.now(),r=performance[n(545)](),i=(t=>{const e=ht;if(B(t))return"";const n=t.cloneNode(!1);return Array[e(518)](t[e(532)])[e(507)](({name:t,value:o})=>{n[e(503)](t,o)}),x(t)?x(n)&&(n[e(505)]=t[e(505)]):I(t)?n.innerHTML=t[e(494)]:n[e(537)]=t[e(537)],W(n),x(n)&&n[e(503)](e(505),n[e(505)]),n[e(540)]})(e);v("[Timing] serialize: "+(performance.now()-r)[n(525)](2)+"ms");const a=e.getBoundingClientRect(),s=performance.now(),c={left:window.scrollX,top:window[n(529)],right:window.scrollX+window.innerWidth,bottom:window[n(529)]+window[n(527)]},d=await t(document[n(516)],{useCORS:!0,x:window[n(514)],y:window[n(529)],width:window[n(556)],height:window[n(527)],scale:.6,logging:!1,onclone(t){W(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(O(t))return!0;const o=t[e(597)](),r={left:o[e(541)]+window[e(514)],top:o[e(522)]+window[e(529)],right:o[e(566)]+window[e(514)],bottom:o[e(517)]+window.scrollY},i=100;if(!(r.right<c[e(541)]-i||r[e(541)]>c[e(566)]+i||r[e(517)]<c[e(522)]-i||r[e(522)]>c[e(517)]+i))return!1;if("INPUT"===t.tagName||t[e(574)]===e(551)||t[e(574)]===e(560)||t[e(499)]("data-intent-redact")||t[e(547)](e(526)))return!1;const a=window.getComputedStyle(t),{position:s}=a;if(s===e(581)||s===e(513)){const t=500;return r[e(566)]<c[e(541)]-t||r[e(541)]>c[e(566)]+t||r[e(517)]<c.top-t||r[e(522)]>c.bottom+t}return!0}}),l=performance[n(545)]()-s;v(n(539)+l[n(525)](2)+"ms");const u=performance[n(545)](),p=d[n(497)](n(584),.8);v("[Timing] jpeg-encoding: "+(performance[n(545)]()-u)[n(525)](2)+"ms");const m=performance[n(545)]()-o;return v(n(568)+m[n(525)](2)+"ms"),{html:i,bbox:{x:a.x,y:a.y,w:a[n(561)],h:a[n(520)]},img:p,fullCanvas:d}}finally{xt=void 0}})(),xt}function Lt(){const t=ht,e=localStorage[t(533)](l),n={"Content-Type":t(582)};e&&(n[t(583)]=e);const o=Q();return o&&(n["x-intent-sid"]=o),n}async function Ct(t,e,n,o){const r=ht;if(!Et())return;const i={...e,localTime:(new Date).toISOString()};I(n)&&(i[r(505)]=R(n)?N(n):(t=>{const e=h;if(x(t))return t[e(346)];const n=t[e(367)];return"string"==typeof n?n:t[e(345)]??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!(t===r(498)||t===r(595)||t===r(596)),u=Date.now(),m=u-yt>=0;let f=o;const b=t===r(543)||t===r(555)||t===r(550);d&&(b&&!f||!f&&m)&&(f=await Mt(n),yt=u),f&&(a=f.html,s=f[r(506)],c=f[r(509)]);const v=t===r(595)||t===r(596)||"pageview"===t,y={ts:Date[r(545)](),event:t,url:window[r(502)].href,props:i,html:v?"":a,bbox:s,img:c};await async function(t){const e=ht,n=(localStorage[e(533)](p)??g)+e(588),o=localStorage[e(533)](l)??void 0,r=JSON[e(592)]({...t,clientId:o});try{if((await fetch(n,{method:"POST",headers:Lt(),body:r,keepalive:!0,credentials:"omit"})).ok)return}catch{}try{await(async t=>{const e=ht,n=(localStorage.getItem(p)??g)+e(586);if(!(await fetch(n,{method:e(567),headers:Lt(),body:JSON[e(592)](t),keepalive:!0,credentials:e(576),cache:e(511)})).ok)throw new Error(e(552))})(t)}catch{}}(y)}async function At(t={}){const e=ht;if(!Et())return;const n=typeof t[e(508)]===e(559)&&typeof t[e(553)]===e(559);if(n&&_)return;if(!n&&It)return;const o=localStorage[e(533)](u),i={context:await r()};o&&(i.ip=o);for(const[e,n]of Object.entries(t))i[e]=n;await Ct(e(577),i,document.body,{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(It=!0)}async function Nt(){await(async(t,e)=>{const n=rt,o={canRequest:e(),geoEnabled:nt(),deviceGeoSent:_};if(!o.canRequest||!o[n(316)]||o[n(327)])return;if(!(n(349)in navigator))return;if(tt)return;tt=!0,G=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};Date[n(322)]();try{await(navigator[n(328)]?.[n(356)]({name:n(349)}))}catch(t){}await new Promise(t=>{const e=n;let o=!1;const i=async(e,n,r)=>{const i=rt;o||(o=!0,Number[i(348)](e)&&Number[i(348)](n)&&(await(async(t,e,n)=>{await At({lat:t,lon:e,source:"device",...n})})(e,n,r),_=!0),tt=!1,G=!1,et=!0,t())};navigator[e(349)][e(321)](t=>{const e=rt,n=t[e(355)];i(n[e(351)],n[e(338)],{accuracy:n[e(329)],altitude:"number"==typeof n.altitude?n.altitude:void 0,altitudeAccuracy:"number"==typeof n[e(343)]?n.altitudeAccuracy:void 0,heading:typeof n[e(339)]===e(346)?n[e(339)]:void 0,speed:typeof n[e(345)]===e(346)?n[e(345)]:void 0,timestamp:t[e(330)],visibility:document[e(331)],focused:document.hasFocus()})},t=>{const e=rt,n=t?.[e(335)],o={error:{code:n,name:1===n?e(318):2===n?e(352):3===n?e(344):"UNKNOWN",message:t?.message??""},online:navigator[e(326)],visibility:document[e(331)],focused:document[e(340)](),secure:window[e(358)],proto:location[e(320)],host:location[e(319)]};i(void 0,void 0,o)},r)})})(0,Et)}function Dt(){(t=>{const e=rt;if($||!nt()||_)return;$=!0;const n=()=>{const e=rt;window[e(357)](e(337),n,!0),window.removeEventListener(e(342),n,!0),t()};window[e(341)](e(337),n,!0),window[e(341)](e(342),n,!0)})(Nt)}V();let zt=!document[ht(563)]&&document[ht(521)](),Bt=document[ht(521)]();function Pt(){const t=ht;if(kt())return;const e=!document.hidden&&document[t(521)]();e&&(Bt=!0),Bt||e?e!==zt&&(zt=e,Ct(t(e?596:595),{},document.body)):zt=e}function Ut(){const t=ht;(()=>{const t=globalThis;return!t[St]&&(Object[ht(565)](t,St,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window[t(572)](t(598),()=>{const e=t;Et()&&(At(),(window[e(587)]||"localhost"===location[e(570)])&&(nt()&&Dt(),window[e(572)](e(578),()=>{it()&&Nt()}),document.addEventListener(e(546),()=>{!document.hidden&&it()&&Nt()})))}),window[t(572)](t(512),e=>{const n=t;e[n(557)]===a&&((()=>{const t=ht;return localStorage[t(533)](a)===t(501)})()?(It=!1,At(),nt()&&Dt()):(It=!1,ot())),e[n(557)]===c&&(nt()?Dt():ot())}),window[t(572)](t(598),()=>{const e=t;Et()&&Ct("pageview",{url:window[e(502)][e(580)],title:document.title,ref:document[e(548)]},document[e(516)])}),addEventListener("pointerdown",(()=>{let e=0;return(...n)=>{const o=Date[b(361)]();o-e>=50&&(e=o,(e=>{const n=t;if(kt())return;const o=e.target instanceof Element?e[n(523)][n(535)](Tt):null;o instanceof HTMLElement&&(vt=Mt(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(543),async e=>{const n=t;if(kt())return;if(!(e[n(523)]instanceof Element))return;const o=e[n(523)][n(535)](Tt);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=ht,n=t[e(573)]("aria-label")?.trim();if(n)return n;const o=t.title.trim();if(o)return o;const r=t.textContent?.trim();return r||e(585)})(o);(async()=>{const t=n,e=vt?await vt:void 0;vt=void 0,Ct(t(543),{tag:o[t(574)],label:r},o,e)})()},!0),addEventListener(t(510),e=>{const n=t;if(!kt()&&e[n(557)]===n(519)){const t=e[n(523)];if(!(t instanceof HTMLElement))return;const o=t[n(574)];if("INPUT"===o||"TEXTAREA"===o){const e=t instanceof HTMLInputElement?t[n(536)]:void 0,r=t.id||void 0;Ct(n(555),{tag:o,name:e??r},t)}else if(I(t)){const e=(t=>{const e=h;let n=t;for(;n&&n!==document[e(369)];){const t=n.getAttribute(e(360));if(t===e(341)||""===t||t===e(374))return n;n=n[e(343)]}return null})(t)??t;if(e[n(591)][n(544)]===n(504))return;const o=e[n(573)](n(571))?.[n(593)](),r=e.id||void 0,i=e.getAttribute(n(536))||e[n(573)](n(558))||r;Ct(n(555),{tag:n(575),role:o??"contenteditable",name:i},e)}}},{capture:!0}),[t(578),t(542)][t(507)](t=>{window.addEventListener(t,Pt)}),document[t(572)](t(546),Pt),window[t(572)](t(498),(()=>{let e;return(...n)=>{void 0!==e&&window[b(350)](e),e=window.setTimeout(()=>{e=void 0,(()=>{const e=t;kt()||Ct(e(498),{scrollX:window.scrollX,scrollY:window[e(529)]},document[e(516)])})(...n)},250)}})(),{passive:!0}),window[t(500)]??={send(e,n){const o=t;Et()&&Ct(e,n,document[o(516)])}})}function Ot(){const t=["geo","consent","3436239FJDZxZ","8932976JpGMjw","60885sHmlJu","intent:data-ip","293591pVWVpq","[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. ","intent_sid","intent:debug","9693486ahzQkL","clientId","https://intent.callimacus.ai","isFinite","number","disabled","intent:geo","intent:data-sid-max-age","intent:consent","debugPanel","randomUUID","sidMaxAgeSeconds","4993849IoRVRw","undefined","debug","intent:data-client-id","3211436DQzOrq","setItem","baseUrl","18UBPVWn","enabled","intent:data-base-url","2hnCbyt","It exposes internal SDK behavior and should only be used during development."];return(Ot=()=>t)()}function Rt(t,e){const n=Yt;try{if(void 0===e)return;localStorage.setItem(t,e?"intent:consent"===t?"granted":n(184):n(203))}catch{}}function Ft(t){Rt(Yt(206),t)}function jt(t){Rt(Yt(204),t)}function Wt(t){Rt(Yt(197),t)}function Ht(t){}function qt(t={}){const e=Yt;localStorage[e(181)](e(179),t[e(199)]??""),localStorage[e(181)](e(193),t.ip??""),localStorage.setItem(e(185),t[e(182)]??e(200)),typeof t[e(209)]===e(202)&&localStorage[e(181)](e(205),String(t[e(209)])),Rt(e(206),t[e(189)]),Rt("intent:geo",t[e(188)]),Rt(e(197),t[e(178)]),void 0!==t[e(207)]&&e(207),t[e(189)]&&(Y(e(196))||K("undefined"!=typeof crypto&&"function"==typeof crypto[e(208)]?crypto[e(208)]():Date.now()+"-"+Math.random(),t[e(209)])),Ut()}function Jt(){return Y(Yt(196))}function Qt(){V()}function Yt(t,e){return t-=176,Ot()[t]}function Kt(){X()}function Xt(t){const e=Yt;Number[e(201)](t)&&localStorage[e(181)](e(205),String(t));const n=Y("intent_sid");n&&K(n,t)}(()=>{const t=Yt,e=Ot();for(;;)try{if(759333==-parseInt(t(194))/1*(parseInt(t(186))/2)+parseInt(t(190))/3+-parseInt(t(180))/4+parseInt(t(192))/5*(parseInt(t(183))/6)+parseInt(t(176))/7+-parseInt(t(191))/8+parseInt(t(198))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Kt as clearIntentSessionId,Qt as ensureIntentSessionId,Jt as getIntentSessionId,qt as initIntent,Ft as setConsent,Wt as setDebug,Ht as setDebugPanel,jt as setGeo,Xt as setIntentSessionMaxAge};
|