PageSourceSearch

https://www.nebelung.de/theme/fc6be77f01289e2dacedb59fa252fa79/js/…/momo-login-redirect-s-w6.js?1789049760

js nebelung.de collected 2026-10-02 10:55:38 UTC 10,363 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e={156:e=>{var t=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==n},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function r(e,t,n){return e.concat(t).map(function(e){return o(e,n)})}function i(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,c){(c=c||{}).arrayMerge=c.arrayMerge||r,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=o;var h,u,l=Array.isArray(n);return l!==Array.isArray(e)?o(n,c):l?c.arrayMerge(e,n,c):(u={},(h=c).isMergeableObject(e)&&i(e).forEach(function(t){u[t]=o(e[t],h)}),i(n).forEach(function(t){(!a(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(a(e,t)&&h.isMergeableObject(n[t])?u[t]=(function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s})(t,h)(e[t],n[t],h):u[t]=o(n[t],h))}),u)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})},e.exports=s}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);class o{static isSupported(){return"undefined"!==document.cookie}static setItem(e,t,n){if(null==e)throw Error("You must specify a key to set a cookie");let o=new Date;o.setTime(o.getTime()+864e5*n);let r="";"https:"===location.protocol&&(r="secure"),document.cookie=`${e}=${t};expires=${o.toUTCString()};path=/;sameSite=lax;${r}`}static getItem(e){if(!e)return!1;let t=e+"=",n=document.cookie.split(";");for(let e=0;e<n.length;e++){let o=n[e];for(;" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return!1}static removeItem(e){document.cookie=`${e}= ; expires = Thu, 01 Jan 1970 00:00:00 GMT;path=/`}static key(){return""}static clear(){}}function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function i(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,o=n+1,r=e.length;o<r;n+=1,o+=1)e[n]=e[o];e.pop()}let s=function(e,t){void 0===t&&(t="");var n,o=e&&e.split("/")||[],r=t&&t.split("/")||[],s=e&&i(e),c=t&&i(t),h=s||c;if(e&&i(e)?r=o:o.length&&(r.pop(),r=r.concat(o)),!r.length)return"/";if(r.length){var u=r[r.length-1];n="."===u||".."===u||""===u}else n=!1;for(var l=0,f=r.length;f>=0;f--){var d=r[f];"."===d?a(r,f):".."===d?(a(r,f),l++):l&&(a(r,f),l--)}if(!h)for(;l--;l)r.unshift("..");!h||""===r[0]||r[0]&&i(r[0])||r.unshift("");var p=r.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};function c(e,t,n,o){var i,a,c,h,u,l;"string"==typeof e?(c="",h="",-1!==(u=(a=e||"/").indexOf("#"))&&(h=a.substr(u),a=a.substr(0,u)),-1!==(l=a.indexOf("?"))&&(c=a.substr(l),a=a.substr(0,l)),(i={pathname:a,search:"?"===c?"":c,hash:"#"===h?"":h}).state=t):(void 0===(i=r({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){if(e instanceof URIError)throw URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=s(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}var h=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function u(e,t){t(window.confirm(e))}var l="popstate",f="hashchange";function d(){try{return window.history.state||{}}catch(e){return{}}}var p=n(156),g=n.n(p);let m=Object.freeze(new class{constructor(){this._history=function(e){void 0===e&&(e={}),h||function(e,t){if(!e)throw Error("Invariant failed")}(!1);var t,n,o,i,a,s=window.history;var p=(-1===(a=window.navigator.userAgent).indexOf("Android 2.")&&-1===a.indexOf("Android 4.0")||-1===a.indexOf("Mobile Safari")||-1!==a.indexOf("Chrome")||-1!==a.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,g=-1!==window.navigator.userAgent.indexOf("Trident"),m=e,y=m.forceRefresh,v=void 0!==y&&y,w=m.getUserConfirmation,b=void 0===w?u:w,k=m.ke
1yLength,O=void 0===k?6:k,L=e.basename?"/"===(n="/"===(t=e.basename).charAt(0)?t:"/"+t).charAt(n.length-1)?n.slice(0,-1):n:"";function A(e){var t,n,o=e||{},r=o.key,i=o.state,a=window.location,s=a.pathname+a.search+a.hash;return L&&(t=s,n=L,s=0===t.toLowerCase().indexOf(n.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(n.length))?t.substr(n.length):t),c(s,i,r)}function C(){return Math.random().toString(36).substr(2,O)}var P=(o=null,i=[],{setPrompt:function(e){return o=e,function(){o===e&&(o=null)}},confirmTransitionTo:function(e,t,n,r){if(null!=o){var i="function"==typeof o?o(e,t):o;"string"==typeof i?"function"==typeof n?n(i,r):r(!0):r(!1!==i)}else r(!0)},appendListener:function(e){var t=!0;function n(){t&&e.apply(void 0,arguments)}return i.push(n),function(){t=!1,i=i.filter(function(e){return e!==n})}},notifyListeners:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];i.forEach(function(e){return e.apply(void 0,t)})}});function S(e){r(_,e),_.length=s.length,P.notifyListeners(_.location,_.action)}function j(e){(void 0!==e.state||-1!==navigator.userAgent.indexOf("CriOS"))&&M(A(e.state))}function x(){M(A(d()))}var E=!1;function M(e){E?(E=!1,S()):P.confirmTransitionTo(e,"POP",b,function(t){var n,o,r,i;t?S({action:"POP",location:e}):(n=_.location,-1===(o=R.indexOf(n.key))&&(o=0),-1===(r=R.indexOf(e.key))&&(r=0),(i=o-r)&&(E=!0,$(i)))})}var N=A(d()),R=[N.key];function T(e){var t,n,o,r;return L+(t=e.pathname,n=e.search,o=e.hash,r=t||"/",n&&"?"!==n&&(r+="?"===n.charAt(0)?n:"?"+n),o&&"#"!==o&&(r+="#"===o.charAt(0)?o:"#"+o),r)}function $(e){s.go(e)}var U=0;function I(e){1===(U+=e)&&1===e?(window.addEventListener(l,j),g&&window.addEventListener(f,x)):0===U&&(window.removeEventListener(l,j),g&&window.removeEventListener(f,x))}var D=!1,_={length:s.length,action:"POP",location:N,createHref:T,push:function(e,t){var n="PUSH",o=c(e,t,C(),_.location);P.confirmTransitionTo(o,n,b,function(e){if(e){var t=T(o),r=o.key,i=o.state;if(p){if(s.pushState({key:r,state:i},null,t),v)window.location.href=t;else{var a=R.indexOf(_.location.key),c=R.slice(0,a+1);c.push(o.key),R=c,S({action:n,location:o})}}else window.location.href=t}})},replace:function(e,t){var n="REPLACE",o=c(e,t,C(),_.location);P.confirmTransitionTo(o,n,b,function(e){if(e){var t=T(o),r=o.key,i=o.state;if(p){if(s.replaceState({key:r,state:i},null,t),v)window.location.replace(t);else{var a=R.indexOf(_.location.key);-1!==a&&(R[a]=o.key),S({action:n,location:o})}}else window.location.replace(t)}})},go:$,goBack:function(){$(-1)},goForward:function(){$(1)},block:function(e){void 0===e&&(e=!1);var t=P.setPrompt(e);return D||(I(1),D=!0),function(){return D&&(D=!1,I(-1)),t()}},listen:function(e){var t=P.appendListener(e);return I(1),function(){I(-1),t()}}};return _}()}getLocation(){return this._history.location}listen(e){return this._history.listen(e)}unlisten(e){e()}push(e,t,n){this._history.push({pathname:e,search:t,state:n})}replace(e,t,n){this._history.replace({pathname:e,search:t,state:n})}pushParams(e,t){let n=this.getLocation().pathname,o=Object.fromEntries(new URLSearchParams(location.search).entries()),r=new URLSearchParams(g()(o,e)).toString();this.push(n,r,t)}replaceParams(e,t){let n=this.getLocation().pathname,o=Object.fromEntries(new URLSearchParams(location.search).entries()),r=new URLSearchParams(g()(o,e)).toString();this.replace(n,r,t)}getSearch(){return this._history.location.search}});class y{static getLocation(){return m.getLocation()}static listen(e){m.listen(e)}static unlisten(e){m.unlisten(e)}static push(e,t,n){m.push(e,t,n)}static replace(e,t){m.replace(e,t)}static pushParams(e,t){m.pushParams(e,t)}static replaceParams(e,t){m.replaceParams(e,t)}static getSearch(){return m.getSearch()}}let v=window.PluginBaseClass;window.PluginManager.register("MomoLoginRedirectPlugin",class extends v{init(){if(this.cookieGroup=this.el.dataset.cookieGroup,this.cookieName=this.el.dataset.cookieName,this.cookieData=this.el.dataset.cookieData,this.debugLoggingActive=this.el.dataset.debugLoggingActive,this.cookieEnabledName=`${this.cookieName}-enabled`,this.registerCookieChangeListener(),"comfort"===this.cookieGroup&&!o.getItem(this.cookieEnabledName)){this.onCookieNotAllowed();return}this.onCookieAllowed()}registerCookieChangeListener(){document.$emitter.subscribe("CookieConfiguration_Update",this.onCookieConfigurationChanged.bind(this))}registerHistoryChangeListener(){this.historyListener=y.listen(()=>{let e=JSON.parse(this.el.dataset.cookieData);e.queryParams=Object.fromEntries(new URLSearchParams(y.getSearch()).entries()),this.cookieData=JSON.stringify(e),this.el.dataset.cookieData=this.cookieData,this.setCookie()})}onCookieConfigurationChanged(e){let t=e.detail;if(Object.prototype.hasOwnProperty.call(t,this.cookieEnabledName)){if(t[this.cookieEnabledName]){this.onCookieAllowed();return}this.onCookieNotAllowed()}}onCookieAllowed(){this.historyListener||this.registerHistoryChangeListener(),this.setCookie()}onCookieNotAllowed(){this.historyListener&&(y.unlisten(this.historyListener),this.historyListener=null),this.removeCookie()}setCookie(){"true"===this.debugLoggingActive&&console.debug(`[MomoLoginRedirectSW6] Set cookie
1: ${this.cookieName}=${this.cookieData}`),document.cookie=`${this.cookieName}=${this.cookieData}; path=/;${window.Cypress?"":" secure"}`}removeCookie(){"true"===this.debugLoggingActive&&console.debug(`[MomoLoginRedirectSW6] Remove cookie: ${this.cookieName}`),o.removeItem(this.cookieName)}},"[data-momo-login-redirect]")})();

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.