@solomei-ai/intent 1.12.1 → 1.12.2
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 +1 -1
- package/dist/intent.umd.min.js +2 -2
- 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(t,e){return t-=335,o()[t]}function o(){const t=["9297nlVOgx","12xrWzri","matches","Timezone: ","connection",", display-mode standalone: ","referrer","gamma","fine","-bit)","no SW","number","mobile",", orientation ","map","removeEventListener","n/a","padStart","orientation","downlink"," Mbps","language","duration","find","innerHeight","beta","push","TTFB ~","Battery: ","effectiveType","Platform: ","TTFB","userAgentData","CPU: ","devicePixelRatio"," (mobile)","isSecureContext","platform","Pointer/Touch: ","level","join","brands"," (UTC","unknown","yes","languages"," ms","controller","setTimeout","Referrer: ","1976LXrLsT","getItem","slice","timeZone","Viewport: ","Online: ","rttMs","Languages: ","; DNT: ","DeviceOrientationEvent","version","Screen: ","max","rtt","charging","filter","96YRyPzJ","coarse","width","navigation","round","type","encodedBodySize","cookieEnabled","entryType","height","Device geolocation: enabled","saveData","abs","getBattery","612644RbBTXu","resource","Local time: ","length","serviceWorker","(display-mode: standalone)","1392300Xzwdwr","218435knJTMY","availHeight","PWA: ","requestStart","isArray","brand","Tilt: ","innerWidth","User agent: ","reclined","deviceorientation","undefined",", maxTouchPoints ","50520dQyzhm"," | ","downlinkMbps","isFinite","176nyYbgC"," cores","1162628pDorMm","Language: ","2035930tWyIct","(pointer: coarse)","toString","toFixed","function","x (avail ","transferSize","colorDepth","hardwareConcurrency","upright","getTimezoneOffset","resolvedOptions","responseStart","°, γ "];return(o=()=>t)()}async function r(){const t=n,e=(new Intl.DateTimeFormat)[t(436)]()[t(370)],o=(t=>{const e=n,o=t<=0?"+":"-",r=Math[e(395)](t);return""+o+String(Math.floor(r/60))[e(456)](2,"0")+":"+String(r%60)[e(456)](2,"0")})((new Date)[t(435)]()),r=[];r[t(343)](t(424)+navigator[t(338)]),navigator[t(362)]?.[t(400)]&&r[t(343)](t(374)+navigator[t(362)].join(", ")),r[t(343)](t(412)+navigator.userAgent);const i=function(){const t=n;if(!(t=>{const e=n;return e(349)in t&&typeof t[e(349)]!==e(415)})(navigator))return;const e=navigator[t(349)],o=Array[t(408)](e[t(358)])?e.brands[t(453)](e=>e[t(409)]+" "+e[t(377)])[t(357)](", "):void 0,r=e[t(354)]?""+e[t(354)]+(e[t(451)]?t(352):""):void 0;return[o&&"UA brands: "+o,r&&t(347)+r][t(382)](Boolean)[t(357)](t(418))||void 0}();i&&r[t(343)](i),r.push(t(442)+e+t(359)+o+")"),r[t(343)](t(399)+(new Date)[t(427)]());const a=window[t(351)]||1;r[t(343)](t(378)+screen[t(385)]+"x"+screen[t(392)]+" @"+a+t(430)+screen.availWidth+"x"+screen[t(405)]+", "+screen[t(432)]+t(448));const s=screen[t(335)]&&t(388)in screen[t(335)]?screen.orientation[t(388)]:void 0;r[t(343)](t(371)+window[t(411)]+"x"+window[t(341)]+(s?t(452)+s:"")),r.push(t(350)+navigator[t(433)]+t(422));const c=await async function(){const t=n,e=[];let o="browser API";if((t=>{const e=n;return e(443)in t&&typeof t[e(443)]!==e(415)})(navigator)){const n=navigator.connection;n?.effectiveType&&e.push(n[t(346)]),"number"==typeof n?.[t(336)]&&e.push("~"+n.downlink+" Mbps"),typeof n?.rtt===t(450)&&e[t(343)](n[t(380)]+t(363)),n?.[t(394)]&&e[t(343)](t(394))}else{const r=((t=20)=>{const e=n,o=performance.getEntriesByType(e(386))[e(340)](t=>t[e(391)]===e(386)),r=o?Math[e(379)](0,o.responseStart-o[e(407)]):void 0,i=performance.getEntriesByType(e(398)).filter(t=>"resource"===t[e(391)]);let a=0,s=0;for(const n of i[e(369)](0,Math.max(0,t))){const t=n[e(389)]>0?n[e(389)]:n[e(431)]>0?n[e(431)]:0,o=n[e(339)];t>0&&o>0&&Number[e(420)](o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:"number"==typeof c?c/1e3:void 0,rttMs:r}})();typeof r[t(419)]===t(450)&&e[t(343)]("~"+r[t(419)][t(428)](1)+t(337)),typeof r.rttMs===t(450)&&e[t(343)](t(344)+Math[t(387)](r[t(373)])+t(363)),o="inferred"}const r=performance.getEntriesByType(t(386)).find(e=>e.entryType===t(386));if(r){const n=Math[t(379)](0,r[t(437)]-r[t(407)]);!e.some(e=>e.startsWith(t(348)))&&e[t(343)](t(344)+Math.round(n)+t(363))}return e[t(400)]?"Network: "+e[t(357)](", ")+" ("+o+")":void 0}();c&&r[t(343)](c),r[t(343)]((()=>{const t=n,e=typeof matchMedia===t(429)&&matchMedia(t(426))[t(441)],o="function"==typeof matchMedia&&matchMedia("(pointer: fine)")[t(441)],r=t(e?384:o?447:360),i=navigator.maxTouchPoints;return t(355)+r+t(416)+i})());const d=await async function(){const t=n;if((t=>{const e=n;return e(396)in t&&typeof t[e(396)]===e(429)})(navigator))try{const e=await navigator.getBattery(),n=Math.round(100*e[t(356)]),o=[(Number.isFinite(n)?n:0)+"%",e[t(381)]?t(381):"not charging"];return t(345)+o.join(", ")}catch{}}();d&&r.push(d),r.push("CookiesEnabled: "+(navigator[t(390)]?t(361):"no")+t(375)+(navigator.doNotTrack??t(455))),r[t(343)](t(372)+(navigator.onLine?"yes":"no")),document[t(445)]&&r.push(t(366)+document.referrer),r.push((()=>{const t=n,e=typeof matchMedia===t(429)&&matchMedia(t(402))[t(441)],o=Boolean(navigator[t(401)]?.[t(364)]);return t(406)+(o?"SW-controlled":t(449))+t(444)+(e?t(361):"no")})());const l=await async function(t=400){const e=n;if(e(376)in window&&window[e(353)])return new Promise(o=>{const r=e;let i=!1;const a=t=>{const e=n,r="number"==typeof t[e(342)]?t[e(342)]:void 0,s=typeof t[e(446)]===e(450)?t.gamma:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(454)](e(414),a);const c=((t,e)=>{const o=n,r=Math[o(395)](t),i=Math[o(395)](e);return r<15&&i<15?"flat":o(r>=60?434:413)})(r,s);o(e(410)+c+" (β "+Math[e(387)](r)+e(438)+Math.round(s)+"°)")};window[r(365)](()=>{const t=r;i||(i=!0,window[t(454)](t(414),a),o(void 0))},t),window.addEventListener(r(414),a,{passive:!0})})}();l&&r[t(343)](l);const u="enabled"===localStorage[t(368)]("intent:geo");return r.push(u?t(393):"Device geolocation: disabled"),r.join(t(418))}(()=>{const t=n,e=o();for(;;)try{if(824913==-parseInt(t(397))/1+parseInt(t(417))/2+-parseInt(t(440))/3*(parseInt(t(423))/4)+-parseInt(t(425))/5+parseInt(t(383))/6*(parseInt(t(404))/7)+parseInt(t(367))/8*(parseInt(t(439))/9)+parseInt(t(403))/10*(parseInt(t(421))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=u;function a(){const t=["15GNTDya","11096784AFOPPu","19750kHqHOG","intent:data-ip","559979fAAlCI","intent:data-sid-max-age","https://intent.callimacus.ai","3624248orvqJF","1062102wIoIrr","intent:debug-panel","intent:debug","3JOMmhj","803NGqXre","intent:data-base-url","2312584jlppxm","136wBEQcQ","intent:consent","1475274seGWlF","intent:geo"];return(a=()=>t)()}(()=>{const t=u,e=a();for(;;)try{if(846983==-parseInt(t(462))/1+parseInt(t(478))/2+parseInt(t(475))/3*(parseInt(t(471))/4)+-parseInt(t(464))/5*(-parseInt(t(472))/6)+-parseInt(t(468))/7*(parseInt(t(479))/8)+parseInt(t(465))/9+-parseInt(t(466))/10*(parseInt(t(476))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const s=i(461),c=i(463),d=i(474),l=i(473);function u(t,e){return t-=461,a()[t]}const p="intent:data-client-id",m=i(467),f=i(477),g=i(469),b=i(470),h=E;function v(...t){const e=E;try{typeof localStorage!==e(436)&&localStorage[e(415)](d)===e(435)&&console[e(411)](...t)}catch{}}(()=>{const t=E,e=w();for(;;)try{if(481793==parseInt(t(429))/1*(-parseInt(t(422))/2)+-parseInt(t(444))/3*(-parseInt(t(431))/4)+parseInt(t(448))/5*(parseInt(t(416))/6)+-parseInt(t(412))/7+-parseInt(t(413))/8+-parseInt(t(425))/9+parseInt(t(440))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const y=Object.freeze(new Set(["textbox","combobox","searchbox"]));function w(){const t=["value","7703361asrjkH","textarea","tagName",'[role="',"6568nQXJwo","replace","938044cTFUoO","now","join","body","enabled","undefined","[contenteditable]","setTimeout","true","20418520skbwkG","map","has",">","6BgetrJ","'","&","input","15DqTbpO",""","getAttribute","parentElement","log","756679WIyEaL","5991880kEYbgk","SELECT","getItem","103476mDfAwO","host","clearTimeout","TEXTAREA","plaintext-only","select","112CdQylr","<"];return(w=()=>t)()}const x=[h(447),h(426),h(421),h(437),...[...y][h(441)](t=>h(428)+t+'"]')][h(433)](", ");function I(t){const e=h,n=t[e(427)];return"INPUT"===n||n===e(419)||n===e(414)}function S(t){const e=h;if(I(t))return!0;const n=t[e(450)]("contenteditable");if(""===n||n===e(439)||n===e(420))return!0;const o=t.getAttribute("role")?.toLowerCase();return!(!o||!y[e(442)](o))}function E(t,e){return t-=410,w()[t]}function k(t){const e=h,n=t[e(410)];if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o.host instanceof Element?o[e(417)]:void 0}function T(t){const e=h;return t.replace(/&/g,e(446))[e(430)](/</g,e(423))[e(430)](/>/g,e(443))[e(430)](/"/g,e(449)).replace(/'/g,e(445))}const C=D;(()=>{const t=D,e=N();for(;;)try{if(258500==-parseInt(t(326))/1+parseInt(t(240))/2+-parseInt(t(331))/3*(parseInt(t(295))/4)+-parseInt(t(263))/5+parseInt(t(261))/6*(-parseInt(t(253))/7)+-parseInt(t(264))/8+parseInt(t(308))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const M="data-intent-redact",A=C(277);function D(t,e){return t-=230,N()[t]}const L=new Set([C(270),C(319),C(235),"family-name",C(305),"username","email","tel","organization",C(244),C(260),C(271),C(301),C(322),"address-level1",C(249),C(233),C(252),C(239),C(289),C(288),C(243),C(339),C(314),"cc-family-name",C(312),C(342),C(246),C(324),C(302),C(287),"bday","bday-day",C(276),C(286),C(256),C(262)]);function N(){const t=["ownerDocument","IFRAME","some","given-name","bday-day","querySelectorAll","address-line3","iframe","cc-exp-year","City","104584yUPATp","includes","mask","Sensitive","SELECT","21BmpRrG","length","Cardholder last name","getAttribute","toLowerCase","month","password","INPUT","cc-given-name","autocomplete","Sex","cc-exp","setAttribute","tel","warn","Job title","add","address-level3","trim","additional-name","tagName","Redacted","family-name","country","21580qjBDJi","Country name","Cardholder middle name","cc-name","organization-title","hasAttribute","cc-exp-month","Address line 2","Address line 3","address-level2","textContent",". Supported values are ","address-level4","42OpBTff","has","filter","sex","Organization","Expiration year","Expiration month","street-address","153498QIyylc","webauthn","1755765eODcjQ","3730848geOyww","matches","clear","type","pop","searchbox","name","address-line1","Name","Last name","Security code","First name","bday-month","data-intent-redact-label","Birth month","Card number","bday",'"" or "mask" (redact), "ignore" (exclude from capture)',"Username","cc-family-name","Birthday","WebAuthn","bday-year","cc-type","postal-code","country-name","Middle name","datetime-local","body","push",'. Treating as "mask" to prevent data leaks.',"220084RraoWl","role","shadowRoot","split","value","Neighborhood","address-line2","cc-csc","get","Birth year","nickname","date","Email","15376032enFjAV","ignore","Address line 1","week","cc-number","data-html2canvas-ignore","cc-additional-name","Country code"];return(N=()=>t)()}function B(t){return"<"+(t=>{const e=C,n=(t.getAttribute?.(A)??"")[e(234)]();if(n)return n;const o=t.getAttribute?.(e(340))||"",r=S(t)?o[e(335)]().trim()[e(298)](/\s+/)[e(255)](Boolean):[];if(t[e(236)]===e(338)&&t[e(267)]===e(337))return"Password";for(const t of r){const n=z[e(303)](t);if(n)return n}const i=t.getAttribute?.(M)?.[e(335)]();return i===e(328)?e(237):e(329)})(t)+">"}const z=new Map([["name",C(272)],[C(319),C(275)],[C(238),C(273)],[C(235),C(290)],[C(305),"Nickname"],["username",C(282)],["email",C(307)],[C(344),"Phone"],["street-address","Street address"],[C(271),C(310)],[C(301),C(247)],[C(322),C(248)],["address-level1","State/Province"],[C(249),C(325)],[C(233),"District"],[C(252),C(300)],["postal-code","Postal code"],[C(239),C(315)],[C(289),C(241)],["cc-name","Cardholder name"],[C(339),"Cardholder first name"],[C(283),C(333)],[C(314),C(242)],[C(312),C(279)],[C(342),"Expiration date"],[C(246),C(259)],[C(324),C(258)],[C(302),C(274)],["cc-type","Card type"],[C(280),C(284)],[C(320),"Birth day"],[C(276),C(278)],["bday-year",C(304)],["organization",C(257)],[C(244),C(231)],[C(256),C(341)],[C(262),C(285)]]);function O(t){const e=C;return t.hasAttribute(e(313))||t[e(334)](M)?.toLowerCase()===e(309)}const P=new Set;function j(t){const e=C,n=t[e(334)](M);if(null===n)return!1;const o=n.toLowerCase();return o!==e(309)&&(""!==n&&o!==e(328)&&(t=>{const e=C;if(P[e(254)](t))return;P[e(232)](t);const n=JSON.stringify(t),o=e(281),r="[intent] Unsupported data-intent-redact value "+n+e(251)+o+e(294);try{console[e(230)](r)}catch{}})(n),!0)}function F(t){let e=t;for(;e&&e!==document.body;){if(O(e))return!0;e=k(e)}return!1}function U(t){return!(O(t)||!j(t)&&!(t=>{const e=C,n=t[e(236)];if(n===e(338)){const n=t;if("password"===n[e(267)])return!0;if("search"===n[e(267)])return!1;const o=n[e(334)](e(296));if("searchbox"===o?.[e(335)]())return!1;if((n[e(340)]||"")[e(335)]()[e(234)]()[e(298)](/\s+/).filter(Boolean)[e(318)](t=>L[e(254)](t)))return!0}if(("TEXTAREA"===n||n===e(330))&&(t.autocomplete||"")[e(335)]()[e(234)]().split(/\s+/)[e(255)](Boolean)[e(318)](t=>L[e(254)](t)))return!0;if(S(t)&&!I(t)){const n=t.getAttribute(e(296))?.toLowerCase();if(n===e(269))return!1;if((t[e(334)](e(340))||"")[e(335)]().trim().split(/\s+/).filter(Boolean)[e(318)](t=>L[e(254)](t)))return!0}return!1})(t))}function W(t){const e=C;if(!F(t))if(I(t)){if(U(t)){if(t.tagName===e(338)){const n=t;[e(306),e(291),e(336),"time",e(311)][e(327)](n[e(267)])&&(n[e(267)]="text")}const n=B(t);t[e(299)]=n,t[e(343)](e(299),n)}}else S(t)?U(t)&&(t[e(250)]=B(t)):t[e(245)](M)&&j(t)&&(t[e(250)]=B(t))}function R(t,e){const n=C,o=[],r=[t];for(t instanceof Element&&t[n(297)]&&r[n(293)](t[n(297)]);r[n(332)]>0;){const t=r[n(268)]()[n(321)]("*");for(const i of t)i[n(265)](e)&&o[n(293)](i),i[n(297)]&&r[n(293)](i[n(297)])}return o}function H(t,e=new Set){const n=C,o=t instanceof Document?t:t[n(316)];if(o){if(e[n(254)](o))return;e.add(o)}t instanceof Element&&W(t);for(const e of R(t,x))W(e);for(const e of R(t,"["+M+"]"))W(e);for(const o of R(t,n(323)))if(o[n(236)]===n(317))try{const t=o.contentDocument;t&&H(t,e)}catch{}}(()=>{const t=Y,e=J();for(;;)try{if(187794==-parseInt(t(505))/1*(parseInt(t(490))/2)+-parseInt(t(493))/3+parseInt(t(504))/4+-parseInt(t(503))/5*(parseInt(t(507))/6)+-parseInt(t(502))/7+-parseInt(t(489))/8*(-parseInt(t(487))/9)+parseInt(t(494))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let X="";function J(){const t=["22602WmzqyV","getItem","45DVHWnP","protocol","100384YLAZiU","310rpxgDX","remove","granted","677505nWYYap","3539440TItBGI","Lax","set","get","intent_sid","randomUUID","https:","isFinite","412160JakJXK","35JfoweZ","1235216yhHFZc","1462ExxBtv","location"];return(J=()=>t)()}function q(){return X}function G(t){return e[Y(497)](t)}function V(t,n){const o=Y,r=localStorage.getItem(g),i=null===r?void 0:Number(r),a="number"==typeof n&&Number[o(501)](n)?n:"number"==typeof i&&Number.isFinite(i)?i:2592e3,s=window[o(506)][o(488)]===o(500);e[o(496)](o(498),t,{expires:a/86400,path:"/",sameSite:o(495),...s&&{secure:!0}})}function K(){const t=Y;e[t(491)](t(498),{path:"/"})}function Y(t,e){return t-=487,J()[t]}function Z(){const t=Y,e=G(t(498));if(!(()=>{const t=Y;return localStorage[t(508)](s)===t(492)})())return e&&K(),void(X="");e?X=e:(X=crypto[t(499)](),V(X))}function _(t,e){return t-=241,at()[t]}(()=>{const t=_,e=at();for(;;)try{if(382872==-parseInt(t(265))/1*(parseInt(t(275))/2)+parseInt(t(247))/3+parseInt(t(266))/4*(parseInt(t(277))/5)+parseInt(t(244))/6*(-parseInt(t(254))/7)+parseInt(t(242))/8*(-parseInt(t(253))/9)+-parseInt(t(245))/10+parseInt(t(278))/11*(parseInt(t(241))/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=_;return localStorage.getItem(c)===t(259)}function rt(){Q=!1,tt=!1,nt=!1}function it(){return!Q&&ot()&&!et&&nt}function at(){const t=["UNKNOWN","TIMEOUT","now","deviceGeoSent","36haBsxH","7CzeQyZ","query","isFinite","onLine","code","enabled","isSecureContext","protocol","hasFocus","geolocation","number","58673BHWEOP","2359748SqSeyj","pointerdown","POSITION_UNAVAILABLE","canRequest","PERMISSION_DENIED","removeEventListener","message","accuracy","altitude","14bjCUJM","speed","5ncWZow","11obcnis","keydown","coords","heading","addEventListener","permissions","14223276QSWxPK","795512KtXXoj","altitudeAccuracy","2709366oFfxjX","4194280aEgzsP","hostname","861354GtkfKV","geoEnabled"];return(at=()=>t)()}const st=ft;function ct(){const t=["bbox","classList","</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t","none","appendChild","</div>\n\t\t\t</div>\n\t\t\t","ignore","#intent-debug-header",'</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">',"min","setAttribute","BUTTON","firstElementChild","3444012GnwpEC","\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","mousemove","readyState","2294847ZdBGxc","html","display","event","timestamp","top","4eoDtMF","15212772eyeocR","now","clientX","img","flex","src","props","round","addEventListener","contains","randomUUID","max","DOMContentLoaded","intent-debug-fullscreen-modal","loading","body"," event","textContent","querySelector","getItem","7dMjFVn","mousedown","click","data-intent-redact","7287486WZwuVK","mouseup","tagName","cssText","left","</pre>\n\t\t\t\t\t","target","\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","offsetWidth","5569555WmbppV","#intent-debug-count","length",'\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',"clientY","9416JsZwUg",'\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">',"200px","style","Click anywhere or press ESC to close","keydown","reverse",'\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<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-screenshot","\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t","function","width","16COrFdH","3oofxyD","stringify","#intent-debug-clear","div","join","0 events","map","#intent-debug-close","createElement","innerHTML","#intent-debug-content"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","startsWith","Escape","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","right","373778oUNTAx","enabled","3920pguQZf"];return(ct=()=>t)()}(()=>{const t=ft,e=ct();for(;;)try{if(647838==parseInt(t(417))/1*(parseInt(t(433))/2)+-parseInt(t(449))/3+-parseInt(t(459))/4*(-parseInt(t(493))/5)+parseInt(t(484))/6*(parseInt(t(480))/7)+-parseInt(t(416))/8*(-parseInt(t(453))/9)+parseInt(t(435))/10*(-parseInt(t(403))/11)+-parseInt(t(460))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let dt,lt=[],ut=!1;function pt(){const t=ft;if(!dt)return;const e=dt[t(478)]("#intent-debug-events"),n=dt[t(478)](t(494));if(!e||!n)return;if(0===lt[t(495)])return e[t(426)]=t(411),void(n.textContent=t(422));const o=[...lt][t(409)]();e[t(426)]=o[t(423)](t=>(t=>{const e=ft,n=new Date(t[e(457)]).toLocaleTimeString(),o=t[e(463)]&&t[e(463)][e(495)]>0,r=o?Math[e(467)](.75*t.img[e(495)]/1024):0,i=T(t[e(456)]),a=T(JSON[e(418)](t[e(466)],null,2)),s=T(t.html),c=T(JSON.stringify(t[e(436)],null,2));return e(410)+i+e(444)+n+e(441)+(o?'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="'+t.img+'" \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 (~'+r+e(428):"")+'\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(489)+(t[e(454)]?e(404)+s+e(489):"")+'\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Bounding Box:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">'+c+e(438)})(t))[t(421)](""),n[t(477)]=lt.length+t(476)+(1===lt[t(495)]?"":"s")}function mt(){const t=ft;if(dt)return void(dt.style[t(455)]=t(464));const e=document[t(425)]("div");e[t(426)]=ft(401),dt=e[t(448)],document[t(475)][t(440)](dt);const n=dt[t(478)](t(424)),o=dt[t(478)]("#intent-debug-minimize"),r=dt[t(478)](t(419));n?.[t(468)](t(482),()=>{!function(t){const e=ft;try{localStorage.setItem(l,t?e(434):"disabled"),t?mt():(()=>{const t=ft;dt&&(dt[t(406)].display=t(439))})()}catch{}}(!1)}),o?.[t(468)](t(482),()=>{(()=>{const t=ft;if(!dt)return;const e=dt[t(478)](t(427)),n=dt[t(478)]("#intent-debug-minimize");e&&n&&(ut=!ut,ut?(e.style[t(455)]=t(439),dt.style[t(415)]=t(405),n[t(477)]="+"):(e[t(406)][t(455)]=t(464),dt[t(406)][t(415)]="400px",n[t(477)]="−"))})()}),r?.addEventListener(t(482),()=>{lt=[],pt()}),(()=>{const t=ft;if(!dt)return;const e=dt.querySelector(t(443));if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e[t(468)](t(481),e=>{const o=t;if(e.target[o(486)]===o(447))return;n=!0;const r=dt.getBoundingClientRect();i=e[o(462)]-r[o(488)],a=e[o(402)]-r[o(458)]}),document[t(468)](t(451),e=>{const s=t;if(!n||!dt)return;e.preventDefault(),o=e[s(462)]-i,r=e[s(402)]-a;const c=window.innerWidth-dt[s(492)],d=window.innerHeight-dt.offsetHeight;o=Math[s(471)](0,Math[s(445)](o,c)),r=Math.max(0,Math.min(r,d)),dt.style[s(488)]=o+"px",dt[s(406)][s(458)]=r+"px",dt[s(406)][s(432)]="auto"}),document.addEventListener(t(485),()=>{n=!1})})(),dt[t(468)](t(482),e=>{const n=t,o=e[n(490)];if(o[n(437)][n(469)](n(412))){const t=o;t[n(465)]&&t[n(465)][n(429)]("data:image/")&&(t=>{const e=ft,n=document[e(425)](e(420));n.id=e(473),n[e(446)](e(483),e(442)),n[e(406)][e(487)]="\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(425)]("div");o[e(406)][e(487)]="\n\t\tmax-width: 95%;\n\t\tmax-height: 95%;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t";const r=document[e(425)](e(463));r[e(465)]=t,r[e(406)][e(487)]=e(450);const i=document.createElement(e(420));i[e(406)][e(487)]=e(431);const a=document[e(425)]("button");a[e(477)]="✕ Close",a[e(406)][e(487)]=e(491);const s=document[e(425)](e(420));s.textContent=e(407),s[e(406)].cssText=e(413),i[e(440)](a),i[e(440)](s),o.appendChild(r),o[e(440)](i),n[e(440)](o);const c=()=>{const t=e;n.remove(),document.removeEventListener(t(408),d)};n[e(468)](e(482),c),a[e(468)](e(482),t=>{t.stopPropagation(),c()}),r[e(468)](e(482),t=>{t.stopPropagation()});const d=t=>{t.key===e(430)&&c()};document[e(468)](e(408),d),document[e(475)][e(440)](n)})(t[n(465)])}}),pt()}function ft(t,e){return t-=401,ct()[t]}function gt(t,e){return t-=157,bt()[t]}function bt(){var t=["5100336JVqufi","setDebugPanel","236637FNcbtw","logEventToDebugPanel","40gIvvxp","478tVgrvr","4230455mMnBFg","1514344BpFPOj","undefined","276252tSIyov","112nOxzyn","7644204KXtPMx","[Intent SDK] Debug panel is not available in this build. ","6879VshoOh","warn"];return(bt=()=>t)()}"undefined"!=typeof window&&function(){const t=ft;try{return localStorage[t(479)](l)===t(434)}catch{return!1}}()&&(document[st(452)]===st(474)?document[st(468)](st(472),()=>{mt()}):mt()),Symbol,(()=>{for(var t=gt,e=bt();;)try{if(925513==parseInt(t(162))/1*(-parseInt(t(169))/2)+parseInt(t(166))/3+-parseInt(t(171))/4+parseInt(t(170))/5+-parseInt(t(158))/6*(parseInt(t(159))/7)+-parseInt(t(164))/8+parseInt(t(160))/9*(parseInt(t(168))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const ht=St;(()=>{const t=St,e=wt();for(;;)try{if(999671==-parseInt(t(344))/1+parseInt(t(433))/2+parseInt(t(401))/3+-parseInt(t(399))/4+-parseInt(t(421))/5*(parseInt(t(407))/6)+parseInt(t(430))/7+parseInt(t(422))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let vt,yt=0;function wt(){const t=["aria-label","getBoundingClientRect","top","outerHTML","INPUT","role","toDataURL","[Timing] html2canvas-pro: ",'input[type="button"]',"3514575mRvRjl","14375184dKlUaN","defineProperty","scroll","keydown","isSecureContext","focus","CONTENTEDITABLE","getAttribute","2425248DlkEST",'input[type="submit"]',"getItem","983202CuFAXd","addEventListener","page-blur","title","left","storage","dataset","innerHeight","__intent__sdk__initialized__","textContent","load","value","890296setvnU","lon","/p.gif","context","input-submit","getComputedStyle","pageview","fixed","contenteditable","POST","number","body","bottom","[onclick]","trim","entries","Enter","hasFocus","intent","[Timing] serialize: ","pixel body fallback failed","height","application/json","omit","<no visible label>","right","referrer","blur","localhost","html","now","scrollX","forEach","innerWidth","page-focus","toFixed","[Timing] jpeg-encoding: ","a[href]","join","bbox","click","tagName","setAttribute","data-intent-redact","from","intentEnter","lat","hidden","target","cloneNode","key","no-store","x-sl-access-token","x-intent-sid","device","631068ONvcLD","scrollY","347058MirQED",'[role="link"]','[role="button"]',"visibilitychange","innerHTML","name","6MBtnys","closest","granted","image/jpeg","stringify"];return(wt=()=>t)()}let xt,It=!1;function St(t,e){return t-=341,wt()[t]}const Et=ht(441),kt=["button",ht(381),"a",ht(431),ht(420),ht(403),ht(402),ht(357)][ht(382)](",");function Tt(){return Z(),(()=>{const t=ht;return localStorage.getItem(s)===t(409)})()&&Boolean(q())&&(()=>{const t=ht;return Boolean(localStorage[t(432)](p)?.trim().length)})()}function Ct(){return!Tt()||$}async function Mt(e){for(;xt;)await xt;return xt=(async()=>{const n=St;try{const o=performance[n(374)](),r=performance[n(374)](),i=(t=>{const e=ht;if(O(t))return"";const n=t[e(393)](!1);return Array[e(388)](t.attributes).forEach(({name:t,value:o})=>{n[e(386)](t,o)}),I(t)?I(n)&&(n[e(343)]=t.value):S(t)?n[e(405)]=t[e(405)]:n.textContent=t[e(341)],H(n),I(n)&&n.setAttribute(e(343),n[e(343)]),n[e(415)]})(e),a=performance[n(374)]()-r;v(n(363)+a.toFixed(2)+"ms");const s=e[n(413)](),c=performance[n(374)](),d={left:window[n(375)],top:window.scrollY,right:window[n(375)]+window[n(377)],bottom:window[n(400)]+window.innerHeight},l=await t(document[n(355)],{useCORS:!0,x:window[n(375)],y:window[n(400)],width:window.innerWidth,height:window[n(440)],scale:.6,logging:!1,onclone(t){H(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(F(t))return!0;const o=t[e(413)](),r={left:o[e(437)]+window[e(375)],top:o[e(414)]+window.scrollY,right:o[e(369)]+window.scrollX,bottom:o.bottom+window.scrollY},i=100;if(!(r[e(369)]<d[e(437)]-i||r[e(437)]>d[e(369)]+i||r[e(356)]<d[e(414)]-i||r.top>d.bottom+i))return!1;if("INPUT"===t[e(385)]||"TEXTAREA"===t.tagName||"SELECT"===t[e(385)]||t.hasAttribute(e(387))||t.querySelector("input, textarea, select, [data-intent-redact]"))return!1;const a=window[e(349)](t),{position:s}=a;if(s===e(351)||"absolute"===s){const t=500;return r[e(369)]<d[e(437)]-t||r[e(437)]>d[e(369)]+t||r[e(356)]<d[e(414)]-t||r[e(414)]>d.bottom+t}return!0}}),u=performance.now()-c;v(n(419)+u[n(379)](2)+"ms");const p=performance[n(374)](),m=l[n(418)](n(410),.8),f=performance[n(374)]()-p;v(n(380)+f[n(379)](2)+"ms");return v("[Timing] capture-total: "+(performance[n(374)]()-o).toFixed(2)+"ms"),{html:i,bbox:{x:s.x,y:s.y,w:s.width,h:s[n(365)]},img:m,fullCanvas:l}}finally{xt=void 0}})(),xt}function At(){const t=ht,e=localStorage[t(432)](p),n={"Content-Type":t(366)};e&&(n[t(396)]=e);const o=q();return o&&(n[t(397)]=o),n}async function Dt(t,e,n,o){const r=ht;if(!Tt())return;const i={...e,localTime:(new Date).toISOString()};S(n)&&(i[r(343)]=U(n)?B(n):(t=>{const e=h;if(I(t))return t[e(424)];const n=t.innerText;return"string"==typeof n?n:t.textContent??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!("scroll"===t||t===r(435)||"page-focus"===t),l=Date[r(374)](),u=l-yt>=0;let m=o;const g="click"===t||t===r(348)||t===r(350);d&&(g&&!m||!m&&u)&&(m=await Mt(n),yt=l),m&&(a=m[r(373)],s=m[r(383)],c=m.img);const v=t===r(435)||t===r(378)||"pageview"===t,y={ts:Date[r(374)](),event:t,url:window.location.href,props:i,html:v?"":a,bbox:s,img:c};await async function(t){const e=ht,n=(localStorage.getItem(f)??b)+"/events",o=localStorage.getItem(p)??void 0,r=JSON[e(411)]({...t,clientId:o});try{if((await fetch(n,{method:e(353),headers:At(),body:r,keepalive:!0,credentials:e(367)})).ok)return}catch{}try{await(async t=>{const e=ht,n=(localStorage[e(432)](f)??b)+e(346);if(!(await fetch(n,{method:e(353),headers:At(),body:JSON[e(411)](t),keepalive:!0,credentials:e(367),cache:e(395)})).ok)throw new Error(e(364))})(t)}catch{}}(y)}async function Lt(t={}){const e=ht;if(!Tt())return;const n=typeof t[e(390)]===e(354)&&typeof t[e(345)]===e(354);if(n&&Q)return;if(!n&&It)return;const o=localStorage[e(432)](m),i={context:await r()};o&&(i.ip=o);for(const[n,o]of Object[e(359)](t))i[n]=o;await Dt(e(347),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=_,o={canRequest:e(),geoEnabled:ot(),deviceGeoSent:Q};if(!o[n(269)]||!o[n(248)]||o[n(252)])return;if(!(n(263)in navigator))return;if(et)return;et=!0,$=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};Date[n(251)]();try{await(navigator[n(283)]?.[n(255)]({name:n(263)}))}catch(t){}await new Promise(t=>{let e=!1;const n=async(n,o,r)=>{const i=_;e||(e=!0,Number[i(256)](n)&&Number[i(256)](o)&&(await(async(t,e,n)=>{const o=St;await Lt({lat:t,lon:e,source:o(398),...n})})(n,o,r),Q=!0),et=!1,$=!1,nt=!0,t())};navigator.geolocation.getCurrentPosition(t=>{const e=_,o=t[e(280)];n(o.latitude,o.longitude,{accuracy:o[e(273)],altitude:typeof o.altitude===e(264)?o[e(274)]:void 0,altitudeAccuracy:typeof o[e(243)]===e(264)?o[e(243)]:void 0,heading:typeof o[e(281)]===e(264)?o.heading:void 0,speed:typeof o.speed===e(264)?o[e(276)]:void 0,timestamp:t.timestamp,visibility:document.visibilityState,focused:document[e(262)]()})},t=>{const e=_,o=t?.[e(258)],r={error:{code:o,name:e(1===o?270:2===o?268:3===o?250:249),message:t?.[e(272)]??""},online:navigator[e(257)],visibility:document.visibilityState,focused:document[e(262)](),secure:window[e(260)],proto:location[e(261)],host:location[e(246)]};n(void 0,void 0,r)},r)})})(0,Tt)}function Bt(){(t=>{const e=_;if(tt||!ot()||Q)return;tt=!0;const n=()=>{const e=_;window[e(271)]("pointerdown",n,!0),window[e(271)]("keydown",n,!0),t()};window[e(282)](e(267),n,!0),window[e(282)](e(279),n,!0)})(Nt)}Z();let zt=!document[ht(391)]&&document[ht(361)](),Ot=document[ht(361)]();function Pt(){const t=ht;if(Ct())return;const e=!document[t(391)]&&document[t(361)]();e&&(Ot=!0),Ot||e?e!==zt&&(zt=e,Dt(t(e?378:435),{},document[t(355)])):zt=e}function jt(){const t=ht;(()=>{const t=globalThis;return!t[Et]&&(Object[ht(423)](t,Et,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window[t(434)](t(342),()=>{const e=t;Tt()&&(Lt(),(window[e(426)]||location.hostname===e(372))&&(ot()&&Bt(),window.addEventListener(e(427),()=>{it()&&Nt()}),document[e(434)](e(404),()=>{!document[e(391)]&&it()&&Nt()})))}),window.addEventListener(t(438),e=>{const n=t;e[n(394)]===s&&("granted"===localStorage.getItem(s)?(It=!1,Lt(),ot()&&Bt()):(It=!1,rt())),e[n(394)]===c&&(ot()?Bt():rt())}),window.addEventListener(t(342),()=>{const e=t;Tt()&&Dt(e(350),{url:window.location.href,title:document[e(436)],ref:document[e(370)]},document[e(355)])}),addEventListener("pointerdown",(()=>{let e=0;return(...n)=>{const o=Date[E(432)]();o-e>=50&&(e=o,(e=>{const n=t;if(Ct())return;const o=e.target instanceof Element?e[n(392)][n(408)](kt):null;o instanceof HTMLElement&&(vt=Mt(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(384),async e=>{const n=t;if(Ct())return;if(!(e[n(392)]instanceof Element))return;const o=e.target[n(408)](kt);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=ht,n=t[e(429)](e(412))?.[e(358)]();if(n)return n;const o=t[e(436)].trim();if(o)return o;const r=t[e(341)]?.[e(358)]();return r||e(368)})(o);(async()=>{const t=n,e=vt?await vt:void 0;vt=void 0,Dt("click",{tag:o[t(385)],label:r},o,e)})()},!0),addEventListener(t(425),e=>{const n=t;if(!Ct()&&e[n(394)]===n(360)){const t=e[n(392)];if(!(t instanceof HTMLElement))return;const o=t[n(385)];if(o===n(416)||"TEXTAREA"===o){const e=t instanceof HTMLInputElement?t[n(406)]:void 0,r=t.id||void 0;Dt(n(348),{tag:o,name:e??r},t)}else if(S(t)){const e=(t=>{const e=h;let n=t;for(;n&&n!==document[e(434)];){const t=n[e(450)]("contenteditable");if("true"===t||""===t||"plaintext-only"===t)return n;n=n[e(410)]}return null})(t)??t;if("newline"===e[n(439)][n(389)])return;const o=e[n(429)](n(417))?.toLowerCase(),r=e.id||void 0,i=e[n(429)](n(406))||e[n(429)](n(412))||r;Dt(n(348),{tag:n(428),role:o??n(352),name:i},e)}}},{capture:!0}),[t(427),t(371)][t(376)](e=>{window[t(434)](e,Pt)}),document[t(434)]("visibilitychange",Pt),window.addEventListener(t(424),(()=>{let e;return(...n)=>{const o=E;void 0!==e&&window[o(418)](e),e=window[o(438)](()=>{e=void 0,(()=>{const e=t;Ct()||Dt(e(424),{scrollX:window.scrollX,scrollY:window[e(400)]},document.body)})(...n)},250)}})(),{passive:!0}),window[t(362)]??={send(t,e){Tt()&&Dt(t,e,document.body)}})}function Ft(){const t=["number","setItem","328829rGpvPa","debug","undefined","function","1599280HGNBFA","[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. ","intent:geo","610fEccbu","now","intent:debug","1118130pcZNtX","11334XGnbuq","3339tCfeAB","intent:data-sid-max-age","intent:data-ip","clientId","https://intent.callimacus.ai","intent:data-client-id","disabled","granted","isFinite","enabled","904684bZucEp","consent","sidMaxAgeSeconds","intent_sid","27700sUXzsR","121478IUsyCj","random","warn","It exposes internal SDK behavior and should only be used during development.","64nbSRMI","randomUUID"];return(Ft=()=>t)()}function Ut(t,e){const n=Kt;try{if(void 0===e)return;localStorage[n(151)](t,n(e?"intent:consent"===t?171:173:170))}catch{}}function Wt(t){Ut("intent:consent",t)}function Rt(t){Ut(Kt(158),t)}function Ht(t){Ut(Kt(161),t)}function Xt(t){}function Jt(t={}){const e=Kt;localStorage[e(151)](e(169),t[e(167)]??""),localStorage[e(151)](e(166),t.ip??""),localStorage[e(151)]("intent:data-base-url",t.baseUrl??e(168)),typeof t[e(141)]===e(150)&&localStorage.setItem(e(165),String(t[e(141)])),Ut("intent:consent",t[e(140)]),Ut(e(158),t.geo),Ut(e(161),t[e(153)]),t.consent&&(G(e(142))||V(typeof crypto!==e(154)&&typeof crypto[e(149)]===e(155)?crypto[e(149)]():Date[e(160)]()+"-"+Math[e(145)](),t[e(141)])),jt()}function qt(){return G(Kt(142))}function Gt(){Z()}function Vt(){K()}function Kt(t,e){return t-=139,Ft()[t]}function Yt(t){const e=Kt;Number[e(172)](t)&&localStorage[e(151)]("intent:data-sid-max-age",String(t));const n=G(e(142));n&&V(n,t)}(()=>{const t=Kt,e=Ft();for(;;)try{if(287027==-parseInt(t(152))/1+parseInt(t(139))/2+-parseInt(t(162))/3+-parseInt(t(156))/4+-parseInt(t(159))/5*(parseInt(t(163))/6)+-parseInt(t(144))/7*(-parseInt(t(148))/8)+-parseInt(t(164))/9*(-parseInt(t(143))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Vt as clearIntentSessionId,Gt as ensureIntentSessionId,qt as getIntentSessionId,Jt as initIntent,Wt as setConsent,Ht as setDebug,Xt as setDebugPanel,Ut as setFlag,Rt as setGeo,Yt as setIntentSessionMaxAge};
|