PageSourceSearch

https://www.delubac.com/wp-content/plugins/friendly-captcha/public/vendor/v2/site.compat.min.js?ver=0.1.25

js delubac.com collected 2026-09-24 12:53:33 UTC 42,982 bytes, 13 lines download raw bytes

vendor: 7,058 bytes, line 1
1function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _slicedToArray(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);c=!0);}catch(e){l=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,_toPropertyKey(i.key),i)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){var t=function(e){if("object"!=_typeof(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_typeof(t)?t:t+""}!function(){"use strict";function e(){for(;s.length;)s[0](),s.shift()}function t(e){this.a=c,this.b=void 0,this.f=[];var t=this;try{e((function(e){i(t,e)}),(function(e){r(t,e)}))}catch(n){r(t,n)}}function n(e){return new t((function(t){t(e)}))}function i(e,t){if(e.a==c){if(t==e)throw new TypeError;var n=!1;try{var a=t&&t.then;if(null!=t&&"object"==typeof t&&"function"==typeof a)return void a.call(t,(function(t){n||i(e,t),n=!0}),(function(t){n||r(e,t),n=!0}))}catch(s){return void(n||r(e,s))}e.a=0,e.b=t,o(e)}}function r(e,t){if(e.a==c){if(t==e)throw new TypeError;e.a=1,e.b=t,o(e)}}function o(e){!function(e){s.push(e),1==s.length&&a()}((function(){if(e.a!=c)for(;e.f.length;){var t=(r=e.f.shift())[0],n=r[1],i=r[2],r=r[3];try{0==e.a?i("function"==typeof t?t.call(void 0,e.b):e.b):1==e.a&&("function"==typeof n?i(n.call(void 0,e.b)):r(e.b))}catch(o){r(o)}}}))}var a,s=[];a=function(){setTimeout(e)};var c=2;t.prototype.g=function(e){return this.c(void 0,e)},t.prototype.c=function(e,n){var i=this;return new t((function(t,r){i.f.push([e,n,t,r]),o(i)}))},window.Promise||(window.Promise=t,window.Promise.resolve=n,window.Promise.reject=function(e){return new t((function(t,n){n(e)}))},window.Promise.race=function(e){return new t((function(t,i){for(var r=0;r<e.length;r+=1)n(e[r]).c(t,i)}))},window.Promise.all=function(e){return new t((function(t,i){function r(n){return function(i){a[n]=i,(o+=1)==e.length&&t(a)}}var o=0,a=[];0==e.length&&t(a);for(var s=0;s<e.length;s+=1)n(e[s]).c(r(s),i)}))},window.Promise.prototype.then=t.prototype.c,window.Promise.prototype.catch=t.prototype.g)}(),"undefined"!=typeof Map&&Map.prototype.keys&&"undefined"!=typeof Set&&Set.prototype.keys||function(){function e(e,t){if(t==t)return e.indexOf(t);for(n=0,i=e.length;e[n]==e[n]&&++n!==i;);return n}var t,n,i,r,o,a,s={delete:function(n){return!!~(t=e(this.k,n))&&(this.k.splice(t,1),this.v.splice(t,1),--this.size,!0)},get:function(t){return this.v[e(this.k,t)]},set:function(n,i){return~(t=e(this.k,n))||(this.k[t=this.size++]=n),this.v[t]=i,this},has:function(t){return e(this.k,t)>-1},clear:function(){this.k.length=this.v.length=this.size=0},forEach:function(e,t){t&&(e=e.bind(t));for(var n=-1,i=this.size;++n!==i;)e(this.v[n],this.k[n],this)},entries:function(){var e=0,t=this;return{next:function(){return e!==t.size?{value:[t.k[e++],t.v[e]],done:!1}:{done:!0}}}},keys:function(){var e=0,t=this;return{next:function(){return e!==t.size?{value:t.k[e++],done:!1}:{done:!0}}}},values:function(){var e=0,t=this;return{next:function(){return e!==t.size?{value:t.v[e++],done:!1}:{done:!0}}}},toString:function(){return"[object Map]"}};WeakMap=Map=function(t){if(r=this.k=[],o=this.v=[],i=0,null!=t){if(a=Object(t),(n=+a.length)!=n)throw new TypeError("("+(t.toString||a.toString)()+") is not iterable");for(;n--;){if(!(a[n]instanceof Object))throw new TypeError("Iterator value "+a[n]+" is not an entry object");~e(r,a[n][0])||(r[i]=a[n][0],o[i++]=a[n][1])}r.reverse(),o.reverse()}this.size=i},Map.prototype=s,WeakSet=Set=function(t){if(r=this.k=this.v=[],i=0,null!=t){if(a=Object(t),(n=+a.length)!=n)throw new TypeError("("+(t.toString||a.toString)()+") is not iterable");for(;n--;)~e(r,a[n])||(r[i++]=a[n]);r.reverse()}this.size=i},Set.prototype={delete:function(n){return!!~(t=e(this.k,n))&&(this.k.splice(t,1),--this.size,!0)},add:function(n){return~(t=e(this.k,n))||(t=this.size++),this.k[t]=n,this},has:s.has,clear:s.clear,forEach:s.forEach,entries:s.entries,keys:s.keys,values:s.keys,toString:function(){return"[object Set]"}}}(),function(){function e(e){for(var t=e;t;){if("FORM"===t.tagName)return t;if(t.parentElement)t=t.parentElement;else{var n=t.parentNode;t=n&&n.host?n.host:null}}return null}function t(e,t){e.addEventListener("focusin",t,{once:!0,passive:!0})}function n(e,t){var n=document.createElement("input");return n.type="hidden",n.style.display="none",n.name=t,e.appendChild(n),n}function i(e,t,n){""===e.style[t]&&(e.style[t]=n)}function r(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)}function o(e,t){var n;"function"==typeof window.CustomEvent?n=new CustomEvent(t.name,{bubbles:!0,detail:t}):(n=document.createEvent("CustomEvent")).initCustomEvent(t.name,!0,!1,t),e.dispatchEvent(n)}function a(e){var t,n,i=new Promise((function(e,i){t=e,n=i}));return e&&e(t,n),{promise:i,resolve:t,reject:n}}function s(e,t){return 0===e.lastIndexOf(t,0)}function c(e){for(var t=[],n=Object.keys(e),i=encodeURIComponent,r=0;r<n.length;r++)t.push("".concat(i(n[r]),"=").concat(i(e[n[r]])));return t.join("&")}function l(e){var t=document.location;if(s(e,"/")||s(e,"."))return t.origin?t.origin:t.protocol+"//"+t.host;var n=e.match(z);if(!n)throw new Error("Invalid URL: "+e);return n[1]}function u(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="",i=0;i<e;i++)n+=t.charAt(Math.floor(Math.random()*t.length));return n}function d(e){if(!
vendor: 1,810 bytes, line 1
1W){var t=0;try{t=parseInt(sessionStorage.getItem(N)||"",10)}catch(n){}isNaN(t)&&(t=0),e&&t++,V=t.toString();try{sessionStorage.setItem(N,V)}catch(n){}}return V}function f(){var e;try{e=sessionStorage.getItem(L)}catch(t){return X}return e||(e=u(12),sessionStorage.setItem(L,e)),e}function h(e){return e.toLowerCase().split("-")[0].split("_")[0]}function g(e){return e=h(e),-1!==K.indexOf(e)}function m(e){return e=h(e),(H[e]||H.en).title+" - Widget"}function v(e,t){return e=h(e),(H[e]||H.en)[t]}function p(e){e.textDecoration=e.fontStyle="none",e.fontWeight="500",e.fontFamily='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',e.lineHeight="1",e.letterSpacing="-0.0125rem"}function y(e){var t=e.language;return t&&"html"!==t||(t=function(e){for(;!e.lang||"string"!=typeof e.lang;)if(!(e=e.parentElement))return null;return e.lang}(e.element)||""),t}function k(){var e=window.performance;return e?e.now():0}function b(e){for(var t=0;t<(arguments.length<=1?0:arguments.length-1);t++){var n=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}return e}function w(){var e=[0,0,0,0,0,0,0];return{s:e,add:function(t){var n=++e[0],i=t-e[1],r=i/n,o=r*r,a=i*r*(n-1);e[1]+=r,e[4]+=a*o*(n*n-3*n+3)+6*o*e[2]-4*r*e[3],e[3]+=a*r*(n-2)-3*r*e[2],e[2]+=a,1==n?e[5]=e[6]=t:(t<e[5]&&(e[5]=t),t>e[6]&&(e[6]=t))}}}function _(){return/Android/i.test(navigator.userAgent)}function E(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3?arguments[3]:void 0,a=w(),s=!1;return r((function(){(o=o||document.body)[Z](e,(function(e){s&&!i||(n=e.timeStamp,s=!0)})),o[Z](t,(function(e){s&&(a.add(e.timeStamp-n),s=!1)}))})),a.s}function S(e){for(var t=[],n=function(n){t.push(0),document[Z](e[n],(function(){return t[n]++}
vendor: 8,867 bytes, line 1
1))},i=0;i<e.length;i++)n(i);return t}function R(e,t,n,i){return J.sqrt(J.pow(e-t,2)+J.pow(n-i,2))}function A(e,t,n){return J.sqrt(J.pow(e,2)+J.pow(t,2)+J.pow(n,2))}function C(e,t){var n=t-e;return n+(n>180?-360:n<-180?360:0)}function x(e){var t=te(e||ee.global).reduce((function(e,t){return e.concat(te(ee[n=t]||n));var n}),[]).map(l);return t.length>0?t:te(ee.global).map(l)}function M(){var e=document.querySelector('meta[name="frc-api-endpoint"]');if(e)return e.content;var t=document.currentScript;if(t){var n=t.dataset.frcApiEndpoint;if(n)return n}var i=document.querySelector(".frc-captcha[data-api-endpoint]");if(i){var r=i.dataset.apiEndpoint;if(r)return r}}function I(){var e=window.Intl;if(e&&e.DateTimeFormat){var t=new e.DateTimeFormat;if(t&&t.resolvedOptions)return t.resolvedOptions().timeZone}}function P(e,t){var n=t.length;if(0===n)return-1;if(e<=2||1===n)return 0;var i=n-1,r=e-2;return r<=i?r:1+Math.floor(Math.random()*i)}function T(e,t,n){var i=l(e),r=l(t),o=s(e,i)?e.slice(i.length):e;0===o.length?o="/":s(o,"/")||(o="/"+o);var a=-1===o.indexOf("?")?"?":"&";return r+o+a+"retry="+n}var F,O,z=/^((?:\w+:)?\/\/([^\/]+))/,j=function(){function e(t){_classCallCheck(this,e),this.ready=!1,this.buffer=[],this.id=t.id,this.type=t.type,this.element=t.element,this.onReady=t.onReady,this.origin=l(t.element.src)}return _createClass(e,[{key:"send",value:function(e){this.ready?this.element.contentWindow.postMessage(e,this.origin):this.buffer.push(e)}},{key:"setReady",value:function(e){this.onReady(),this.ready=e,this.ready&&this.flush()}},{key:"flush",value:function(){for(var e=0;e<this.buffer.length;e++)this.element.contentWindow.postMessage(this.buffer[e],this.origin);this.buffer=[]}}]),e}(),D=function(){function e(){var t=this;_classCallCheck(this,e),this.origins=new Set,this.targets={},this.answered=new Set,this.onReceiveRootMessage=function(){},window.addEventListener("message",(function(e){t.onReceive(e)}))}return _createClass(e,[{key:"listen",value:function(e){var t=this.onReceiveRootMessage;this.onReceiveRootMessage=function(n){t(n),e(n)}}},{key:"addOrigins",value:function(e){var t=this;e.forEach((function(e){return t.origins.add(e)}))}},{key:"send",value:function(e){if(e.from_id){var t=this.targets[e.from_id];if(!t)return void console.error("[bus] Unexpected message from unknown sender ".concat(e.from_id),e);"widget_announce"!==e.type&&"agent_announce"!==e.type||t.setReady(!0)}var n=e.rid;if(n){if(this.answered.has(n+e.to_id))return;this.answered.add(n+e.to_id)}if(""!==e.to_id){var i=this.targets[e.to_id];i?i.send(e):console.error("[bus] Unexpected message to unknown target ".concat(e.to_id),e)}else this.onReceiveRootMessage(e)}},{key:"onReceive",value:function(e){if(t=e.origin,n=this.origins,"*"===t||n.has(t)){var t,n,i=e.data;i&&i._frc&&this.send(i)}}},{key:"registerTarget",value:function(e){this.targets[e.id]=e}},{key:"registerTargetIFrame",value:function(e,t,n,i){var r=a(),o=new Promise((function(e){return setTimeout((function(){return e("timeout")}),i)})),s=new j({id:t,element:n,type:e,onReady:function(){return r.resolve("registered")}});return this.registerTarget(s),Promise.race([r.promise,o])}},{key:"removeTarget",value:function(e){delete this.targets[e]}}]),e}(),N="frc_sc",L="frc_sid",W=!1,V="0",X="__"+u(10),Y=function(){function e(t){_classCallCheck(this,e),this.mem=new Map,this.storePrefix=t}return _createClass(e,[{key:"get",value:function(e){var t=this.storePrefix+"__"+e;try{var n=sessionStorage.getItem(t);return null===n?void 0:n}catch(i){}return this.mem.get(e)}},{key:"set",value:function(e,t){var n=this.storePrefix+"__"+e;try{void 0===t?(this.mem.delete(e),sessionStorage.removeItem(n)):(this.mem.set(e,t),sessionStorage.setItem(n,t))}catch(i){}}}]),e}(),q="undefined"!=typeof navigator&&void 0!==navigator.userAgentData,H={ar:{title:"التحقق من مكافحة الروبوتات",connecting:"التحقق من مكافحة الروبوتات قيد الاتصال…",retrying:"استغرق الاتصال بالتحقق من مكافحة الروبوتات وقتًا طويلاً.\n\nإعادة المحاولة…",failed:"فشل الاتصال بالتحقق من مكافحة الروبوتات."},bg:{title:"Проверка срещу роботи",connecting:"Зарежда се задачата…",retrying:"Неуспешно свързване.\n\nОпит за повторно свързване…",failed:"Неуспешно свързване."},ca:{title:"Verificació anti-robot",connecting:"Carregant el desafiament…",retrying:"Errada de conexió.\n\nReintentant…",failed:"Errada de conexió."},cs:{title:"Ověření proti robotům",connecting:"Připojování kontroly proti robotům…",retrying:"Připojení kontroly proti robotům trvalo příliš dlouho.\n\nOpakuji pokus…",failed:"Kontrola proti robotům se nepodařilo připojit."},da:{title:"Anti-robot-verifikation",connecting:"Anti-robot-kontrol forbinder…",retrying:"Anti-robot-kontrol tog for lang tid at oprette forbindelse.\n\nPrøver igen…",failed:"Anti-robot-kontrol kunne ikke oprette forbindelse."},nl:{title:"Anti-robotcheck",connecting:"Verbinden met Anti-robotcheck…",retrying:"Verbinden met Anti-robotcheck mislukt.\n\nOpnieuw aan het proberen…",failed:"Verbinden met Anti-robotcheck mislukt."},en:{title:"Anti-Robot verification",connecting:"Anti-Robot check connecting…",retrying:"Anti-Robot check took too long to connect.\n\nRetrying…",failed:"Anti-Robot check failed to connect."},fi:{title:"Robottien torjunnan vahvistus",connecting:"Robottien torjunnan tarkistus käynnissä…",retrying:"Robottien torjunnan tarkistus kesti liian kauan.\n\nYritetään uudelleen…",failed:"Robottien torjunnan tarkistus epäonnistui."},fr:{title:"Vérification anti-robot",connecting:"Connexion à la vérification anti-robot…",retrying:"La connexion à la vérification anti-robot a pris trop de temps.\n\nNouvelle tentative…",failed:"Échec de la connexion à la vérification anti-robot."},de:{title:"Anti-Roboter-Verifizierung",connecting:"Verbindung zur Anti-Roboter-Verifizierung wird hergestellt…",retrying:"Verbindung zur Anti-Roboter-Verifizierung hat zu lange gedauert.\n\nErneuter Versuch…",failed:"Verbindung zur Anti-Roboter-Verifizierung ist fehlgeschlagen."},hi:{title:"एंटी-रोबोट सत्यापन",connecting:"चुनौती लोड हो रही है…",retrying:"कनेक्शन विफल.\n\nपुनः प्रयास कर रहे हैं…",failed:"कनेक्शन विफल."},hu:{title:"Robotellenőrzés",connecting:"Robotellenőrzés csatlakozás…",retrying:"A robotellenőrzés túl sokáig tartott a csatlakozáshoz.\n\nÚjrapróbálom…",failed:"A robotellenőrzés nem tudott csatlakozni."},id:{title:"Verifikasi Anti-Robot",connecting:"Pemeriksaan Anti-Robot sedang terhubung…",retrying:"Pemeriksaan Anti-Robot memakan waktu terlalu lama untuk terhubung.\n\nMencoba lagi…",failed:"Pemeriksaan Anti-Robot gagal terhubung."},ja:{title:"ロボット防止認証",connecting:"チャレンジを読み込んでいます…",retrying:"接続失敗.\n\n再試行中…",failed:"接続失敗."},it:{title:"Verifica anti-robot",connecting:"Connessione verifica anti-robot in corso…",retrying:"La connessione alla verifica anti-robot ha richiesto troppo tempo.\n\nRiprovando…",failed:"Impossibile connettersi alla verifica anti-robot."},nb:{title:"Anti-robot-verifisering",connecting:"Laster inn utfordring…",retrying:"Klarte ikke å koble til.\n\nPrøver igjen…",failed:"Klarte ikke å koble til."},pl:{title:"Weryfikacja antyrobotowa",connecting:"Łączenie się z kontrolą antyrobotową…",retrying:"Łączenie się z kontrolą antyrobotową trwało zbyt długo. \n\nPonowna próba…",failed:"Nie udało się połączyć z kontrolą antyrobotową."},ro:{title:"Verificare anti-robot",connecting:"Se incarca testul…",retrying:"Conexiunea a esuat.\n\nReincercare…",failed:"Conexiunea a esuat."},pt:{title:"Verificação anti-robô",connecting:"Verificação anti-robô a ligar…",retrying:"A verificação anti-robô demorou demasiado tempo a ligar-se.\n\nA tentar novamente…",failed:"A verificação anti-robô não conseguiu ligar-se."},ru:{title:"Проверка антиробота",connecting:"Подключение к проверке антиробота…",retrying:"Подключение к проверке антиробота заняло слишком много времени.\n\nПовторяем попытку…",failed:"Не удалось подключиться к проверке антиробота."},sk:{title:"Overovanie proti robotom",connecting:"Pripojenie kontroly proti robotom…",retrying:"Pripojenie kontroly proti robotom trvalo príliš dlho.\n\nOpakujem pokus…",failed:"Pripojenie kontroly proti robotom sa nepod
1arilo."},sl:{title:"Preverjanje proti robotom",connecting:"Nalaganje izziva…",retrying:"Povezava ni uspela.\n\nPonovni poskus…",failed:"Povezava ni uspela."},es:{title:"Verificación antirrobot",connecting:"Conectando verificación antirrobot…",retrying:"La verificación antirrobot tardó demasiado en conectarse.\n\nReintentando…",failed:"Error al conectar la verificación antirrobot."},sv:{title:"Anti-robotverifiering",connecting:"Anti-robotverifiering ansluter…",retrying:"Anti-robotverifiering tog för lång tid att ansluta.\n\nFörsöker igen…",failed:"Anti-robotverifiering kunde inte ansluta."},th:{title:"การตรวจสอบป้องกันบอท",connecting:"กำลังโหลดการท้าทาย…",retrying:"เชื่อมต่อไม่สำเร็จ.\n\nกำลังลองใหม่…",failed:"เชื่อมต่อไม่สำเร็จ."},tr:{title:"Robot önleme doğrulaması",connecting:"Robot önleme kontrolü bağlanıyor…",retrying:"Robot önleme kontrolü bağlanmak için çok uzun sürdü.\n\nYeniden deniyor…",failed:"Robot önleme kontrolü bağlanamadı."},vi:{title:"Xác minh chống robot",connecting:"Kiểm tra robot đang kết nối…",retrying:"Kiểm tra chống robot mất quá nhiều thời gian để kết nối.\n\nĐang thử lại…",failed:"Kiểm tra chống robot không thể kết nối."},zh:{title:"反机器人验证",connecting:"反机器人验证正在连接…",retrying:"反机器人验证连接耗时过长。\n\n正在重试…",failed:"反机器人验证连接失败。"}},K=["ar","he","fa","ur","ps","sd","yi"],U="FrcFrameId",B="frc-i-agent",G=function(){function i(e){var t=this;_classCallCheck(this,i),this.state="init",this.response=".UNINITIALIZED",this.focusEventPending=!1,this.isDestroyed=!1,this.id=e.id;var r=e.createOpts;if(this.e=r.element,this.ready=e.registered,!this.e)throw new Error("No element provided to mount widget under.");this.e.frcWidget=this,this.formFieldName=void 0===r.formFieldName?"frc-captcha-response":r.formFieldName,this.sitekey=r.sitekey,this._reset=e.callbacks.onReset,this._destroy=e.callbacks.onDestroy,this._trigger=e.callbacks.onTrigger,this.startMode=e.createOpts.startMode||"focus",null!==this.formFieldName&&(this.hiddenFormEl=n(this.e,this.formFieldName)),this.setState({response:".UNCONNECTED",state:"init"}),this.ready.then((function(){t.handleStartMode()}))}return _createClass(i,[{key:"handleStartMode",value:function(){var n=this;if("focus"!==this.startMode||this.focusEventPending||this.isDestroyed)"auto"===this.startMode&&this.trigger("auto");else{var i=e(this.e);i&&(this.focusEventPending=!0,t(i,(function(e){n.trigger("focus",{ev:e}),n.focusEventPending=!1})))}}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{trigger:"root"};if(this.isDestroyed)throw new Error("Can not reset destroyed widget.");this.setState({response:".RESET",state:"reset",resetTrigger:e.trigger}),this._reset(e),this.handleStartMode()}},{key:"destroy",value:function(){this.isDestroyed=!0,this.hiddenFormEl&&this.hiddenFormEl.remove(),this.hiddenFormEl=void 0,this.setState({response:".DESTROYED",state:"destroyed"}),this._destroy()}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.isDestroyed)throw new Error("Can not start destroyed widget.");var n=function(e,t,n,i){var r=k(),o=n.getBoundingClientRect(),a={v:1,tt:e,pnow:r,sm:t,el:{bcr:[o.left,o.top,o.width,o.height],con:document.body.contains(n)},stack:(new Error).stack||"",we:!!window.event,weit:!!window.event&&!!window.event.isTrusted};return i&&(a.ev={ts:i.timeStamp,rt:!!i.relatedTarget,eot:!!i.explicitOriginalTarget,it:i.isTrusted}),a}(e,this.startMode,this.e,t.ev);this._trigger({trigger:n})}},{key:"start",value:function(){this.trigger("programmatic")}},{key:"setState",value:function(e){var t=this.state!==e.state;this.response=e.response,this.state=e.state,this.hiddenFormEl&&!1!==this.e.isConnected&&(this.hiddenFormEl.value=e.response),t&&this.dispatchWidgetEvent({name:"frc:widget.statechange",error:e.error,mode:e.mode}),"expired"===this.state?this.dispatchWidgetEvent({name:"frc:widget.expire"}):"completed"===this.state?this.dispatchWidgetEvent({name:"frc:widget.complete"}):"error"===this.state?this.dispatchWidgetEvent({name:"frc:widget.error",error:e.error}):"reset"===this.state&&this.dispatchWidgetEvent({name:"frc:widget.reset",trigger:e.resetTrigger})}},{key:"dispatchWidgetEvent",value:function(e){var t={response:this.response,state:this.state,id:this.id};b(t,e),o(this.e,t)}},{key:"addEventListener",value:function(e,t,n){this.e.addEventListener(e,t,n)}},{key:"removeEventListener",value:function(e,t,n){this.e.removeEventListener(e,t,n)}},{key:"getState",value:function(){return this.state}},{key:"getResponse",value:function(){return this.response}},{key:"getElement",value:function(){return this.e}}]),i}(),Z="addEventListener",J=Math,Q=function(){function e(t){_classCallCheck(this,e),this.rn=0,this.i=0,this.smel={n:0,ts:0,d:0};var n,i,o="mouse",a=this.smel,s=function(e){a.n||(a.fts=e.timeStamp,a.fxy=[e.clientX,e.clientY,e.screenX,e.screenY]),a.n++,e.type===o+"leave"&&(a.d+=e.timeStamp-a.ts
vendor: 15,305 bytes, line 1
1),a.ts=e.timeStamp,a.xy=[e.clientX,e.clientY]},c=document;r((function(){var e=c.body;e[Z](o+"enter",s),e[Z](o+"leave",s)})),this.bh={onoff:{kdu:E("keydown","keyup"),cse:E("compositionstart","compositionend"),mdu:E(o+"down",o+"up"),mle:E(o+"leave",o+"enter"),med:E(o+"enter",o+"down",!0),semd:E("scrollend",o+"down",!0,c),se:E("scroll","scrollend",!1,c),pdc:E("pointerdown","pointercancel",!0),mmc:E(o+"move","click",!0),tse:E("touchstart","touchend"),fikd:E("focusin","keydown",!0)},nev:S([o+"out","pointercancel","focus","focusin","blur","visibilitychange","copy","paste","cut","contextmenu","click","auxclick","wheel","resize"]),nk:(n=[0,0,0,0,0,0,0,0],i={8:1,46:1,9:2,45:3,17:4,13:5,37:6,38:6,39:6,40:6,33:7,34:7},document[Z]("keydown",(function(e){var t=e.keyCode;i[t]?n[i[t]]++:t>=112&&t<=123&&n[0]++})),n),mov:this.setupMovementMetrics(),dm:this.setupMotionMetrics(),do:this.setupOrientationMetrics()},this.dep=t.disableEvalPatching||!1,this.takeTraceRecords=function(e){var t=[],n=new Map,i=window,r=function(){try{var e=document.createElement("iframe");e.style.display="none",(document.body||document.head).appendChild(e);var t=e?e.contentWindow:0;return e.remove(),t||i}catch(n){return i}}(),o=Function.prototype.toString,a=function(){for(var e="function"==typeof this&&n.get(this),t=this===a?o:e||this,i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return o.apply(t,r)};Function.prototype.toString=a;var s="prototype",c=i.EventTarget?i.EventTarget[s].dispatchEvent:{},l=[["Document."+s+".documentElement",i.Document[s],"documentElement"],["Element."+s+".shadowRoot",i.Element[s],"shadowRoot"],["Node."+s+".nodeType",i.Node[s],"nodeType"],["Object.is",i.Object,"is"],["Array."+s+".slice",i.Array[s],"slice"],["Document."+s+".querySelectorAll",i.Document[s],"querySelectorAll"],["Document."+s+".createElement",i.Document[s],"createElement"],["EventTarget."+s+".dispatchEvent",c,"dispatchEvent"]];return e.disableEvalPatching||l.push(["eval",i,"eval"]),l.forEach((function(e){var o=_slicedToArray(e,3),a=o[0],s=o[1],c=o[2],l=Object.getOwnPropertyDescriptor(s,c),u=l&&(l.get||l.set);if(l){if(u){if(!l.get)return}else if("object"!==_typeof(l.value)&&"function"!=typeof l.value)return;var d=0,f=0,h=function(){var e=Date.now();if(e-d>=1e3&&(f=0,d=e),f<50){var n={d:e,pnow:k(),n:a,st:(r.Error||i.Error)("FriendlyCaptcha_DummyTrace").stack||""};t.length>2e4&&t.splice(0,1e3),t.push(n),f++}for(var o=arguments.length,s=new Array(o),c=0;c<o;c++)s[c]=arguments[c];return(u?l.get:l.value).apply(this,s)};try{var g=u?l.get?l.get():void 0:l.value();g&&(h.length=g.length,h.name=g.name)}catch(v){}try{var m=b({},l);u?m.get=h:m.value=h,Object.defineProperty(s,c,m),n.set(h,u?l.get:l.value)}catch(v){}}})),function(){return t.splice(0,t.length)}}(t)}return _createClass(e,[{key:"setupMovementMetrics",value:function(){var e=this,t=void 0,n=[],i=w(),o=w(),a=w(),s={t:i.s,v:a.s,d:o.s,ns:0},c=function(){var r=n[n.length-1];if(n.length>=200||r&&(r[0]&&e.tm.timeStamp===r[1]||!r[0]&&e.mm.timeStamp===r[1])){if(clearInterval(t),t=void 0,1===n.length)return s.ns++,void(n=[]);var c=n[0];i.add(r[1]-c[1]),o.add(R(r[2],c[2],r[3],c[3]));for(var l=1;l<n.length;l++){var u=n[l],d=n[l-1],f=1e3*R(u[2],d[2],u[3],d[3]),h=u[1]-d[1];a.add(f/h)}n=[]}else{var g=0;if(r?g=r[0]:e.mm&&e.tm?g=e.mm.timeStamp>e.tm.timeStamp?0:1:e.mm||(g=1),g){var m=e.tm.touches[0];m&&n.push([1,e.tm.timeStamp,m.screenX,m.screenY])}else n.push([0,e.mm.timeStamp,e.mm.screenX,e.mm.screenY])}},l=-1;return r((function(){var n=document.body;n[Z]("mousemove",(function(n){e.mm=n,void 0===t&&(c(),t=setInterval(c,50))})),n[Z]("touchmove",(function(n){e.tm=n;var i=n.touches[0];if(i){var r=i.radiusX+1.234*i.radiusY;r!==l&&(l=r,e.rn++)}void 0===t&&(c(),t=setInterval(c,50))}))})),s}},{key:"setupMotionMetrics",value:function(){var e=w(),t=w(),n={n:0,ts:0,ac:e.s,rr:t.s,i:0,g:!1};return _()?(window[Z]("devicemotion",(function(i){n.ts=i.timeStamp,n.i=i.interval,n.g=!i.acceleration;var r=i.acceleration||i.accelerationIncludingGravity;r&&e.add(A(r.x,r.y,r.z));var o=i.rotationRate;o&&t.add(A(o.alpha,o.beta,o.gamma))})),n):n}},{key:"setupOrientationMetrics",value:function(){var e,t=w(),n=w(),i={fts:0,ts:0,gd:t.s,bd:n.s};return _()?(window[Z]("deviceorientation",(function(r){null!=r.gamma&&null!=r.beta&&null!=r.alpha&&(i.ts=r.timeStamp,i.a=r.alpha,i.b=r.beta,i.g=r.gamma,e?(t.add(C(r.gamma,i.g)),n.add(C(i.b,r.beta))):(i.fts=i.ts,e=!0))})),i):i}},{key:"gmm",value:function(){var e=this.mm;return e&&{xy:[e.clientX,e.clientY,e.screenX,e.screenY,e.offsetX,e.offsetY,e.pageX,e.pageY,e.movementX,e.movementY],ts:e.timeStamp}}},{key:"gtm",value:function(){var e=this.tm,t=e&&e.touches,n=t&&t[0];return e&&n&&{id:n.identifier,xy:[n.clientX,n.clientY,n.screenX,n.screenY,n.pageX,n.pageY],r:[n.radiusX,n.radiusX,n.rotationAngle,n.force],n:t.length,ts:e.timeStamp,rn:this.rn}}},{key:"get",value:function(e){var t=document.body,n=window,i=n.performance;return{v:1,i:++this.i,hl:history.length,fe:!!window.frameElement,dep:this.dep,wid:e,sc:parseInt(d(!1)),sid:f(),conv:0,t:{pnow:k(),pto:i&&i.timeOrigin||0,ts:Date.now()},dims:{d:[n.innerWidth,n.innerHeight,n.outerWidth,n.outerHeight,n.screenX,n.screenY,n.pageXOffset,n.pageYOffset,t.clientWidth,t.clientHeight],dpr:n.devicePixelRatio},mel:this.smel,mm:this.gmm(),tm:this.gtm(),bh:this.bh,stack:(new Error).stack||"",trc:this.takeTraceRecords()}}}]),e}(),$=function(e){return e.map((function(e){return"https://".concat(e,".frcapi.com")})).join(",")},ee={eu:$(["eu","eu0","eu1"]),global:$(["global","global0","global1"])},te=function(e){return e.split(",").map((function(e){return e.trim()})).filter((function(e){return!!e}))},ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",ie=function(){function i(e){if(_classCallCheck(this,i),this.timeout=null,this.data=null,this.e=e.element,!this.e)throw new Error("No element provided for mounting Risk Intelligence handle.");this.e.frcRiskIntelligence=this,this.formFieldName=void 0===e.formFieldName?"frc-risk-intelligence-token":e.formFieldName,null!==this.formFieldName&&(this.hiddenFormEl=n(this.e,this.formFieldName)),this.startMode=e.startMode||"focus",this.requestRiskIntelligence=e.riskIntelligence,this.handleStartMode()}return _createClass(i,[{key:"handleStartMode",value:function(){var n=this;if("none"===this.startMode)console.warn('Risk Intelligence <div> found with data-start="none" (no-op), skipping...',this.e);else if("auto"===this.startMode)this.request();else{var i=e(this.e);i?t(i,(function(){n.request()})):console.warn('Risk Intelligence <div> with startMode of "focus" found without a parent <form> element, skipping...',this.e)}}},{key:"request",value:function(){var e=this;this.requestRiskIntelligence().then((function(t){null!==e.timeout&&clearTimeout(e.timeout),e.timeout=setTimeout((function(){o(e.e,{name:"frc:riskintelligence.expire"})}),t.expiresAt-Date.now()),e.data={token:t.token,expiresAt:t.expiresAt},e.hiddenFormEl&&(e.hiddenFormEl.value=t.token),o(e.e,{name:"frc:riskintelligence.complete",token:t.token,expiresAt:t.expiresAt})})).catch((function(t){o(e.e,{name:"frc:riskintelligence.error",error:{code:t.code,detail:t.detail}})}))}},{key:"getData",value:function(){return this.data}},{key:"getElement",value:function(){return this.e}},{key:"addEventListener",value:function(e,t,n){this.e.addEventListener(e,t,n)}},{key:"removeEventListener",value:function(e,t,n){this.e.removeEventListener(e,t,n)}}]),i}(),re="FrcFrameId",oe="FrcAgentOriginKey",ae=0,se=function(){function e(){var t,n=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.agents=new Map,this.agentState=new Map,this.widgets=new Map,this._attached=a(),this.attached=this._attached.promise,this.riskIntelligencePromises=new Map,this.clearRiskIntelligencePromises=new Map,this.riskIntelligenceHandles=[],this.apiEndpoint=i.apiEndpoint,(O=O||new D).listen((function(e){return n.onReceiveMessage(e)})),this.bus=O,++ae>1&&console.warn("Multiple Friendly Captcha SDKs created, this is not recommended. Please use a single SDK instance."),this.signals=function(e){return F||(F=new Q(e))}({disableEvalPatching:i.disableEvalPatching||(t=document.querySelector('meta[name="frc-disable-eval-patching"]'),!!t&&!!t.content)}),i.startAgent){var r=x(this.apiEndpoint||M()),o=this.getRetryOrigins(r);this.ensureAgentIFrame(o)}this.setupPeriodicRefresh()}return _createClass(e,[{key:"getRetryOrigins",value:function(e){return function(e){return 0===e.length?[]:[e[0]].concat(function(e){for(var t=e.slice(),n=t.length-1;n>0;n--){var i=Math.floor(Math.random()*(n+1)),r=t[n];t[n]=t[i],t[i]=r}return t}(e.slice(1)))}(e)}},{key:"onReceiveMessage",value:function(e){if("root_set_response"===e.type){var t=this.widgets.get(e.widget_id);if(!t)return void(1===ae&&console.warn("Received set response message for widget ".concat(e.widget_id," that doesn't exist")));t.setState(e)}else if(s(e.type,"root_store"))this.handleStoreMessage(e);else if("root_signals_get"===e.type)this.handleSignalsGetMessage(e);else if("widget_language_change"===e.type)this.handleWidgetLanguageChange(e);else if("widget_reset"===e.type){var n=this.widgets.get(e.from_id);if(!n)return void(1===ae&&console.warn("Received reset message for widget ".concat(e.from_id," that doesn't exist")));n.reset({trigger:"widget"})}else s(e.type,"root_risk_intelligence")&&this.handleRiskIntelligenceMessage(e)}},{key:"handleRiskIntelligenceMessage",value:function(e){if("root_risk_intelligence_generate_reply"===e.type){var t=this.riskIntelligencePromises.get(e.uid);t?(e.data?t.resolve(e.data):e.error?t.reject(e.error):console.warn("Received risk intelligence generate reply message with no data"),this.riskIntelligencePromises.delete(e.uid)):console.warn("Received risk intelligence generate reply message with no promise to resolve")}else if("root_risk_intelligence_clear_reply"===e.type){var n=this.clearRiskIntelligencePromises.get(e.uid);n?e.error?n.reject(e.error):n.resolve():console.warn("Received risk intelligence clear reply message with no promise to resolve"),this.clearRiskIntelligencePromises.delete(e.uid)}}},{key:"handleWidgetLanguageChange",value:function(e){var t=this.widgets.get(e.from_id);if(t){var n=t.getElement(),i=n.querySelector("iframe");i&&(i.title=m(e.language));var r=n.querySelector(".frc-banner");if(r){var o=r.style;g(e.language)?(o.left="6px",o.right="auto"):(o.left="auto",o.right="6px")}}else 1===ae&&console.warn("Received language change message for widget ".concat(e.from_id," that doesn't exist"))}},{key:"handleSignalsGetMessage",value:function(e){var t=this.signals.get(e.widget_id);this.bus.send({type:"root_signals_get_reply",from_id:"",to_id:e.from_id,_frc:1,rid:e.rid,value:t})}},{key:"handleStoreMessage",value:function(e){var t=e.from_id,n=this.agentState.get(t);n?"root_store_get"===e.type?this.bus.send({type:"root_store_get_reply",from_id:"",to_id:t,_frc:1,rid:e.rid,value:n.store.get(e.key),sa:!0}):"root_store_set"===e.type&&(n.store.set(e.key,e.value),this.bus.send({type:"root_store_set_reply",from_id:"",to_id:t,_frc:1,rid:e.rid,sa:!0})):console.error("Store not found ".concat(t))}},{key:"ensureAgentIFrame",value:function(e){var t=this,n=1,i=P(n,e),r=e[i],o=r+"/api/v2/captcha/agent",a=this.agents.get(r);if(a&&a.dataset[re])return a.dataset[re];for(var s=document.getElementsByClassName(B),l=0;l<s.length;l++){var h=s[l];if(h.dataset[oe]===r&&h.dataset[re])return this.agents.set(r,h),h.dataset[re]}var g="a_"+u(12),m=function(e,t,n){var i={origin:document.location.origin,sess_id:f(),sess_c:d(!0),comm_id:t,sdk_v:"1.0.0",v:"1",agent_id:t,ts:Date.now().toString()},r=document.createElement("iframe");r.className=B,r.dataset[U]=t,r.src=n+"?"+c(i),r.frcSDK=e;var o=r.style;return o.width=o.height=o.border=o.visibility="0",o.display="none",r}(this,g,o);m.dataset[oe]=r;var v=m.src,p=r;return this.agents.set(r,m),this.agentState.set(g,{store:new Y(r),origin:r}),document.body.appendChild(m),function i(){t.bus.registerTargetIFrame("agent",g,m,t.getRetryTimeout(n)).then((function(o){if("timeout"===o){if(n>=5)return console.error("[Friendly Captcha] Failed to load agent iframe after ".concat(n-1," retries.")),m.remove(),void t.agents.delete(r);var a=n+1,s=P(a,e);p=e[s]||p,console.warn("[Friendly Captcha] Retrying agent iframe load."),m.src=T(v,p,a-1),n=a,i()}}))}(),g}},{key:"setupPeriodicRefresh",value:function(){var e=this,t=1;setInterval((function(){var n="&expire="+t++;e.agents.forEach((function(e){e.src+=n})),e.widgets.forEach((function(e){e.getElement().querySelector("iframe").src+=n}))}),1296e5)}},{key:"getRetryTimeout",value:function(e){return 1e3*(1.5+Math.pow(e,1.8))}},{key:"attach",value:function(e){for(var t=this,n=_slicedToArray([document.querySelectorAll(".frc-captcha"),document.querySelectorAll(".frc-risk-intelligence")],2),i=n[0],r=n[1],o=function(){var e=r[a];if(e&&!e.frcRiskIntelligence){var n=e.dataset,i=n.sitekey;if(!i)return console.warn("Risk Intelligence <div> found with no sitekey, skipping...",e),1;t.riskIntelligenceHandles.push(new ie({element:e,formFieldName:n.formFieldName,startMode:n.start,riskIntelligence:function(){return t.riskIntelligence({sitekey:i,apiEndpoint:n.apiEndpoint})}}))}},a=0;a<r.length;a++)o();void 0===e&&(e=i),Array.isArray(e)||e instanceof NodeList||(e=[e]);for(var s=[],c=0;c<e.length;c++){var l=e[c];if(l&&!l.frcWidget){var u=l.dataset,d={element:l,sitekey:u.sitekey,formFieldName:u.formFieldName,apiEndpoint:u.apiEndpoint,language:u.lang,theme:u.theme,startMode:u.start};s.push(this.createWidget(d))}}var f=this.getAllWidgets();return this._attached.resolve(f),this.attached=Promise.resolve(f),s}},{key:"createWidget",value:function(e){function t(t){var n,i=(n=JSON.stringify({sdk_v:"1.0.0",sitekey:e.sitekey||"",retry:s+"",endpoint:z,ua:navigator.userAgent,tz:I()||""}),window.TextEncoder?function(e){for(var t=e.length,n="",i=0;i<t;i+=3){var r=e[i+0],o=e[i+1],a=e[i+2],s="";s+=ne.charAt(r>>>2),s+=ne.charAt((3&r)<<4|o>>>4),s+=ne.charAt((15&o)<<2|a>>>6),n+=s+=ne.charAt(63&a)}return t%3==2?n=n.substring(0,n.length-1)+"=":t%3==1&&(n=n.substring(0,n.length-2)+"=="),n}((new TextEncoder).encode(n)):""),r=".ERROR.UNREACHABLE";i&&(r+="~"+i),R.setState({state:"error",response:r,error:{code:"network_error",detail:t}})}var n=this,r=x(e.apiEndpoint||this.apiEndpoint||M()),o=this.getRetryOrigins(r),s=1;this.bus.addOrigins(r);var h=o[P(s,o)]||r[0],k=this.ensureAgentIFrame(o),w="w_"+u(12),_=function(e){var t={from_id:w,to_id:k,_frc:1};n.bus.send(b(t,e))},E={onDestroy:function(){_({type:"root_destroy_widget"}),n.bus.removeTarget(w),n.widgets.delete(w),e.element.innerHTML="",e.element.removeAttribute("style")},onReset:function(){_({type:"root_reset_widget"})},onTrigger:function(e){_({type:"root_trigger_widget",trigger:e.trigger})}},S=a(),R=new G({id:w,createOpts:e,callbacks:E,registered:S.promise});this.widgets.set(w,R);var A,C,F=function(e,t,n,i){var r=document.createElement("iframe"),o=y(i),a={origin:document.location.origin,sess_id:f(),sess_c:d(!0),comm_id:t,sdk_v:"1.0.0",v:"1",agent_id:e,lang:o,sitekey:i.sitekey||"",ts:Date.now().toString()};i.theme&&(a.theme=i.theme),q&&(r.allow="clipboard-write"),r.frameBorder="0",r.src=n+"?"+c(a),r.className="frc-i-widget",r.title=m(o),r.dataset[U]=t;var s=r.style;return s.border=s.visibility="0",s.position="absolute",s.height=s.width="100%",s.userSelect="none",s["
1-webkit-tap-highlight-color"]="transparent",s.display="none",i.element.appendChild(r),r}(k,w,h+"/api/v2/captcha/widget",e),O=F.src,z=h,j=function(e){var t=document.createElement("div");t.classList.add("frc-widget-placeholder");var n=t.style,i="dark"===e.theme||"auto"===e.theme&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;return n.color=i?"#fff":"#222",n.backgroundColor=i?"#171717":"#fafafa",n.borderRadius="4px",n.border="1px solid",n.borderColor="#ddd",n.padding="8px",n.height=n.width="100%",n.fontSize="14px",n.boxSizing="border-box",p(n),e.element.appendChild(t),t}(e);(C=i)(A=e.element,"position","relative"),C(A,"height","70px"),C(A,"padding","0"),C(A,"width","316px"),C(A,"maxWidth","100%"),C(A,"maxHeight","100%"),C(A,"overflow","hidden"),C(A,"borderRadius","4px"),function(e){var t=document.createElement("div");t.classList.add("frc-banner");var n=y(e),i="dark"===e.theme||"auto"===e.theme&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,r="#565656",o="#a2a2a2";i&&(r="#a2a2a2",o="#565656");var a=t.style;a.position="absolute",a.bottom="6px",g(n)?a.left="6px":a.right="6px",a.lineHeight="1";var s=document.createElement("a");s.href="https://friendlycaptcha.com",s.rel="noopener";var c=s.style;p(c),c.color=r,c.fontSize="10px",c.userSelect="none",c.textDecorationLine="underline",c.textDecorationThickness="1px",c.textDecorationColor=o,c.letterSpacing="-0.0125rem",s.target="_blank",s.textContent="Friendly Captcha",s.onmouseenter=function(){return c.textDecorationColor=r},s.onmouseleave=function(){return c.textDecorationColor=o},t.appendChild(s),e.element.appendChild(t)}(e);var D=y(e);g(D)&&(e.element.dir="rtl");var N=j.style;return j.textContent=v(D,"connecting"),function i(){n.bus.registerTargetIFrame("widget",w,F,n.getRetryTimeout(s)).then((function(n){if("timeout"===n){if(s>=5)return console.error("[Friendly Captcha] Failed to load widget iframe after ".concat(s-1," retries.")),t("Widget load timeout, stopped retrying"),N.borderColor="#f00",N.fontSize="12px",void function(e,t,n){var i=v(n,"failed"),r=[function(e,t){var n=document.createElement("a");n.href=e,n.target="_blank",n.rel="noopener",n.textContent=t;var i=n.style;return p(i),i.textDecoration="underline",i.color="#565656",n.onmouseenter=function(){return i.textDecoration="none"},n.onmouseleave=function(){return i.textDecoration="underline"},n}("".concat(t,"/connectionTest"),i)];e.textContent="",r.forEach((function(t){return e.appendChild(t)}))}(j,l(F.src),D);var r=s+1,a=P(r,o);z=o[a]||z,N.backgroundColor="#fee",N.color="#222",j.textContent=v(D,"retrying")+" (".concat(s,")"),console.warn("[Friendly Captcha] Retrying widget ".concat(w," iframe load.")),t("Widget load timeout, will retry"),F.src=T(O,z,r-1),s=r,i()}else"registered"===n&&(e.element.removeChild(j),F.style.display="")}))}(),S.resolve(),R}},{key:"riskIntelligence",value:function(e){var t=x(e.apiEndpoint||this.apiEndpoint||M()),n=this.getRetryOrigins(t);this.bus.addOrigins(t);var i=this.ensureAgentIFrame(n),r=u(8);this.bus.send({type:"root_risk_intelligence_generate",to_id:i,from_id:"",_frc:1,sitekey:e.sitekey,bypassCache:e.bypassCache||!1,uid:r});var o=a();return this.riskIntelligencePromises.set(r,o),o.promise}},{key:"clearRiskIntelligence",value:function(e){var t=x((null==e?void 0:e.apiEndpoint)||this.apiEndpoint||M()),n=this.getRetryOrigins(t);this.bus.addOrigins(t);var i=this.ensureAgentIFrame(n),r=u(8);this.bus.send({type:"root_risk_intelligence_clear",to_id:i,from_id:"",_frc:1,sitekey:null==e?void 0:e.sitekey,uid:r});var o=a();return this.clearRiskIntelligencePromises.set(r,o),o.promise}},{key:"getAllWidgets",value:function(){var e=[];return this.widgets.forEach((function(t){e.push(t)})),e}},{key:"getWidgetById",value:function(e){return this.widgets.get(e)}},{key:"getAllRiskIntelligenceHandles",value:function(){var e=[];return this.riskIntelligenceHandles.forEach((function(t){e.push(t)})),e}},{key:"clear",value:function(){this.widgets.forEach((function(e){e.destroy()})),this.agents.forEach((function(e){e.remove()})),this.agents.clear()}}]),e}();window.frcaptcha=new se,r((function(){window.frcaptcha.attach()}))}();
2/*!
3 * Copyright (c) Friendly Captcha GmbH 2023.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
7 */
8/*!
9 * Copyright (c) Friendly Captcha GmbH 2026.
10 * This Source Code Form is subject to the terms of the Mozilla Public
11 * License, v. 2.0. If a copy of the MPL was not distributed with this
12 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
13 */

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.