PageSourceSearch

https://www.nitro-tv.de/_nuxt/BUnFqb_A.js

js nitro-tv.de collected 2026-09-24 23:36:43 UTC 8,639 bytes, 1 lines download raw bytes

1import{d as j,L as E,P as k,c as w,x as y,z as C,l as _,i as v,Q as B,R as N,o as b,O as D,C as L}from"./CZ7uo5US.js";import{_ as F}from"./CyElVONE.js";var R={},p={},m={},I;function A(){if(I)return m;I=1;var u=m&&m.__awaiter||function(l,t,e,r){function i(n){return n instanceof e?n:new e(function(o){o(n)})}return new(e||(e=Promise))(function(n,o){function c(d){try{a(r.next(d))}catch(g){o(g)}}function s(d){try{a(r.throw(d))}catch(g){o(g)}}function a(d){d.done?n(d.value):i(d.value).then(c,s)}a((r=r.apply(l,t||[])).next())})},h=m&&m.__generator||function(l,t){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(d){return s([a,d])}}function s(a){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=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(l,e)}catch(d){a=[6,d],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(m,"__esModule",{value:!0}),m.ReCaptchaInstance=void 0;var f=(function(){function l(t,e,r){this.siteKey=t,this.recaptchaID=e,this.recaptcha=r,this.styleContainer=null}return l.prototype.execute=function(t){return u(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]}})})},l.prototype.getSiteKey=function(){return this.siteKey},l.prototype.hideBadge=function(){this.styleContainer===null&&(this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(this.styleContainer))},l.prototype.showBadge=function(){this.styleContainer!==null&&(document.head.removeChild(this.styleContainer),this.styleContainer=null)},l})();return m.ReCaptchaInstance=f,m}var O;function H(){if(O)return p;O=1;var u=p&&p.__assign||function(){return u=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},u.apply(this,arguments)};Object.defineProperty(p,"__esModule",{value:!0}),p.getInstance=p.load=void 0;var h=A(),f;(function(t){t[t.NOT_LOADED=0]="NOT_LOADED",t[t.LOADING=1]="LOADING",t[t.LOADED=2]="LOADED"})(f||(f={}));var l=(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()===f.LOADED)return t.instance.getSiteKey()===e?Promise.resolve(t.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(t.getLoadingState()===f.LOADING)return e!==t.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(n,o){t.successfulLoadingConsumers.push(function(c){return n(c)}),t.errorLoadingRunnable.push(function(c){return o(c)})});t.instanceSiteKey=e,t.setLoadingState(f.LOADING);var i=new t;return new Promise(function(n,o){i.loadScript(e,r.useRecaptchaNet||!1,r.useEnterprise||!1,r.renderParameters?r.renderParameters:{},r.customUrl).then(function(){t.setLoadingState(f.LOADED);var c=i.doExplicitRender(grecaptcha,e,r.explicitRenderParameters?r.explicitRenderParameters:{},r.useEnterprise||!1),s=new h.ReCaptchaInstance(e,c,grecaptcha);
1t.successfulLoadingConsumers.forEach(function(a){return a(s)}),t.successfulLoadingConsumers=[],r.autoHideBadge&&s.hideBadge(),t.instance=s,n(s)}).catch(function(c){t.errorLoadingRunnable.forEach(function(s){return s(c)}),t.errorLoadingRunnable=[],o(c)})})},t.getInstance=function(){return t.instance},t.setLoadingState=function(e){t.loadingState=e},t.getLoadingState=function(){return t.loadingState===null?f.NOT_LOADED:t.loadingState},t.prototype.loadScript=function(e,r,i,n,o){var c=this;r===void 0&&(r=!1),i===void 0&&(i=!1),n===void 0&&(n={}),o===void 0&&(o="");var s=document.createElement("script");s.setAttribute("recaptcha-v3-script",""),s.setAttribute("async",""),s.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"),o&&(a=o),n.render&&(n.render=void 0);var d=this.buildQueryString(n);return s.src=a+"?render=explicit"+d,new Promise(function(g,T){s.addEventListener("load",c.waitForScriptToLoad(function(){g(s)},i),!1),s.onerror=function(P){t.setLoadingState(f.NOT_LOADED),T(P)},document.head.appendChild(s)})},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 o=u({sitekey:r},i);return i.container?n?e.enterprise.render(i.container,o):e.render(i.container,o):n?e.enterprise.render(o):e.render(o)},t.loadingState=null,t.instance=null,t.instanceSiteKey=null,t.successfulLoadingConsumers=[],t.errorLoadingRunnable=[],t.SCRIPT_LOAD_DELAY=25,t})();return p.load=l.load,p.getInstance=l.getInstance,p}var S;function M(){return S||(S=1,(function(u){Object.defineProperty(u,"__esModule",{value:!0}),u.ReCaptchaInstance=u.getInstance=u.load=void 0;var h=H();Object.defineProperty(u,"load",{enumerable:!0,get:function(){return h.load}}),Object.defineProperty(u,"getInstance",{enumerable:!0,get:function(){return h.getInstance}});var f=A();Object.defineProperty(u,"ReCaptchaInstance",{enumerable:!0,get:function(){return f.ReCaptchaInstance}})})(R)),R}var q=M();const x={key:0,class:"container mbs form-container"},G={class:"row justify-content-center"},K={class:"col-12 col-md-10 col-lg-8 col-molten-12 text-content"},Q={key:0,class:"form-container__headline"},U={key:1,class:"alert alert-danger",role:"alert"},W=["innerHTML"],$={class:"row"},V={class:"col-12 gx-4"},Y={class:"form-floating"},z={type:"submit",class:"btn-primary btn"},J={key:3,class:"alert alert-success",role:"alert"},ee=j({__name:"Form",props:{componentData:{},additionalData:{}},setup(u){const h=N(),f=u;let l=null;E(async()=>{h.public.captchaActive&&(l=await q.load(h.public.captchaSiteKey,{useEnterprise:!0}),l.showBadge())}),k(async()=>{h.public.captchaActive&&l.hideBadge()});let t=L(!0),e=L(!1),r=L(!1);const i=async c=>{const s=new FormData(c.target),a=await n();if(a&&s.set(f.componentData?.form_name+"[captcha]",a),!(!f.componentData||!f.componentData.action_url))try{const d=f.componentData.action_url,g=await $fetch("/api/postForm"+d,{method:"POST",body:s});g&&g.success?(e.value=!1,t.value=!1,r.value=!0):e.value=!0}catch{console.log("show error"),e.value=!0}},n=async()=>{if(!(!h.public.captchaActive||!l))return await l.execute("LOGIN")},o=(c,s)=>c||s;return(c,s)=>u.componentData?(b(),w("section",x,[y("div",G,[y("div",K,[u.componentData.headline?(b(),w("h2",Q,C(u.componentData.headline),1)):_("",!0),v(e)?(b(),w("div",U,C(o(u.componentData.error_message,("getTranslation"in c?c.getTranslation:v(D))("formError"))),1)):_("",!0),v(t)?(b(),w("form",{key:2,class:"form-container__form",onSubmit:B(i,["prevent"])},[y("div",{class:"row",innerHTML:("getHtmlWithParsedUrls"in c?c.getHtmlWithParsedUrls:v(F))(u.componentData.html)},null,8,W),y("div",$,[y("div",V,[y("div",Y,[y("button",z,C(("getTranslation"in c?c.getTranslation:v(D))("formButton")),1
1)])])])],32)):_("",!0),v(r)?(b(),w("div",J,C(o(u.componentData.success_message,("getTranslation"in c?c.getTranslation:v(D))("formSuccess"))),1)):_("",!0)])])])):_("",!0)}});export{ee as default};

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.