PageSourceSearch

https://www.wendys.co.nz/assets/web-DszNVXi9.js

js wendys.co.nz collected 2026-10-02 22:11:18 UTC 7,048 bytes, 1 lines download raw bytes

1import{W as m}from"./bootstrap-BEcmssc5.js";var v={},p={},y={},C;function L(){if(C)return y;C=1;var l=y&&y.__awaiter||function(d,t,e,r){function i(n){return n instanceof e?n:new e(function(c){c(n)})}return new(e||(e=Promise))(function(n,c){function s(f){try{a(r.next(f))}catch(g){c(g)}}function u(f){try{a(r.throw(f))}catch(g){c(g)}}function a(f){f.done?n(f.value):i(f.value).then(s,u)}a((r=r.apply(d,t||[])).next())})},h=y&&y.__generator||function(d,t){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,c;return c={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function s(a){return function(f){return u([a,f])}}function u(a){if(r)throw new TypeError("Generator is already executing.");for(;c&&(c=0,a[0]&&(e=0)),e;)try{if(r=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return e.label++,{value:a[1],done:!1};case 5:e.label++,i=a[1],a=[0];continue;case 7:a=e.ops.pop(),e.trys.pop();continue;default:if(n=e.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){e.label=a[1];break}if(a[0]===6&&e.label<n[1]){e.label=n[1],n=a;break}if(n&&e.label<n[2]){e.label=n[2],e.ops.push(a);break}n[2]&&e.ops.pop(),e.trys.pop();continue}a=t.call(d,e)}catch(f){a=[6,f],i=0}finally{r=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}};Object.defineProperty(y,"__esModule",{value:!0}),y.ReCaptchaInstance=void 0;var o=(function(){function d(t,e,r){this.siteKey=t,this.recaptchaID=e,this.recaptcha=r,this.styleContainer=null}return d.prototype.execute=function(t){return l(this,void 0,void 0,function(){var e;return h(this,function(r){switch(r.label){case 0:return this.recaptcha.enterprise?[4,this.recaptcha.enterprise.execute(this.recaptchaID,{action:t})]:[3,2];case 1:return e=r.sent(),[3,4];case 2:return[4,this.recaptcha.execute(this.recaptchaID,{action:t})];case 3:e=r.sent(),r.label=4;case 4:return[2,e]}})})},d.prototype.getSiteKey=function(){return this.siteKey},d.prototype.hideBadge=function(){this.styleContainer===null&&(this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(this.styleContainer))},d.prototype.showBadge=function(){this.styleContainer!==null&&(document.head.removeChild(this.styleContainer),this.styleContainer=null)},d})();return y.ReCaptchaInstance=o,y}var w;function I(){if(w)return p;w=1;var l=p&&p.__assign||function(){return l=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++){e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},l.apply(this,arguments)};Object.defineProperty(p,"__esModule",{value:!0}),p.getInstance=p.load=void 0;var h=L(),o;(function(t){t[t.NOT_LOADED=0]="NOT_LOADED",t[t.LOADING=1]="LOADING",t[t.LOADED=2]="LOADED"})(o||(o={}));var d=(function(){function t(){}return t.load=function(e,r){if(r===void 0&&(r={}),typeof document>"u")return Promise.reject(new Error("This is a library for the browser!"));if(t.getLoadingState()===o.LOADED)return t.instance.getSiteKey()===e?Promise.resolve(t.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(t.getLoadingState()===o.LOADING)return e!==t.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(n,c){t.successfulLoadingConsumers.push(function(s){return n(s)}),t.errorLoadingRunnable.push(function(s){return c(s)})});t.instanceSiteKey=e,t.setLoadingState(o.LOADING);var i=new t;return new Promise(function(n,c){i.loadScript(e,r.useRecaptchaNet||!1,r.useEnterprise||!1,r.renderParameters?r.renderParameters:{},r.customUrl).then(function(){t.setLoadingState(o.LOADED);var s=i.doExplicitRender(grecaptcha,e,r.explicitRenderParameters?r.explicitRenderParameters:{},r.useEnterprise||!1),u=new h.ReCaptchaInstance(e,s,grecaptcha);
1t.successfulLoadingConsumers.forEach(function(a){return a(u)}),t.successfulLoadingConsumers=[],r.autoHideBadge&&u.hideBadge(),t.instance=u,n(u)}).catch(function(s){t.errorLoadingRunnable.forEach(function(u){return u(s)}),t.errorLoadingRunnable=[],c(s)})})},t.getInstance=function(){return t.instance},t.setLoadingState=function(e){t.loadingState=e},t.getLoadingState=function(){return t.loadingState===null?o.NOT_LOADED:t.loadingState},t.prototype.loadScript=function(e,r,i,n,c){var s=this;r===void 0&&(r=!1),i===void 0&&(i=!1),n===void 0&&(n={}),c===void 0&&(c="");var u=document.createElement("script");u.setAttribute("recaptcha-v3-script",""),u.setAttribute("async",""),u.setAttribute("defer","");var a="https://www.google.com/recaptcha/api.js";r?i?a="https://recaptcha.net/recaptcha/enterprise.js":a="https://recaptcha.net/recaptcha/api.js":i&&(a="https://www.google.com/recaptcha/enterprise.js"),c&&(a=c),n.render&&(n.render=void 0);var f=this.buildQueryString(n);return u.src=a+"?render=explicit"+f,new Promise(function(g,R){u.addEventListener("load",s.waitForScriptToLoad(function(){g(u)},i),!1),u.onerror=function(_){t.setLoadingState(o.NOT_LOADED),R(_)},document.head.appendChild(u)})},t.prototype.buildQueryString=function(e){var r=Object.keys(e);return r.length<1?"":"&"+Object.keys(e).filter(function(i){return!!e[i]}).map(function(i){return i+"="+e[i]}).join("&")},t.prototype.waitForScriptToLoad=function(e,r){var i=this;return function(){window.grecaptcha===void 0?setTimeout(function(){i.waitForScriptToLoad(e,r)},t.SCRIPT_LOAD_DELAY):r?window.grecaptcha.enterprise.ready(function(){e()}):window.grecaptcha.ready(function(){e()})}},t.prototype.doExplicitRender=function(e,r,i,n){var c=l({sitekey:r},i);return i.container?n?e.enterprise.render(i.container,c):e.render(i.container,c):n?e.enterprise.render(c):e.render(c)},t.loadingState=null,t.instance=null,t.instanceSiteKey=null,t.successfulLoadingConsumers=[],t.errorLoadingRunnable=[],t.SCRIPT_LOAD_DELAY=25,t})();return p.load=d.load,p.getInstance=d.getInstance,p}var b;function O(){return b||(b=1,(function(l){Object.defineProperty(l,"__esModule",{value:!0}),l.ReCaptchaInstance=l.getInstance=l.load=void 0;var h=I();Object.defineProperty(l,"load",{enumerable:!0,get:function(){return h.load}}),Object.defineProperty(l,"getInstance",{enumerable:!0,get:function(){return h.getInstance}});var o=L();Object.defineProperty(l,"ReCaptchaInstance",{enumerable:!0,get:function(){return o.ReCaptchaInstance}})})(v)),v}var D=O();class S extends m{async load(h){this._recaptcha=await D.load(h.siteKey,{useEnterprise:!0}),this._siteKey=h.siteKey}async execute(h){if(!this._recaptcha||!this._siteKey)throw new Error("reCAPTCHA not loaded. Call load(siteKey) during app startup.");try{return{token:await this._recaptcha.execute(h.action),siteKey:this._siteKey}}catch(o){throw new Error("reCAPTCHA execution failed: ".concat((o==null?void 0:o.message)||JSON.stringify(o)))}}}export{S as CapacitorPluginRecaptcha};

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.