PageSourceSearch

https://www.lovelybooks.de/assets/dialogs-FinishRegistrationDialog-cf2a8a.js

js lovelybooks.de collected 2026-09-24 08:58:27 UTC 13,551 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["dialogs-FinishRegistrationDialog"],{97622:(t,e,n)=>{n.d(e,{Z:()=>w});var i,r,o=n(30168),a=(n(3650),n(67294)),s=n(70394),u=n(45007),c=n(54483),l=n.n(c),d=n(94184),f=n.n(d),p=n(27046),h=n(74737),m=n(13408),g=n(63070),x=n(85893),v=(0,s.F4)(["0%{transform:translateX(100%);}100%{transform:translateX(0%);}"]),b=s.ZP.div.withConfig({displayName:"Dialog__StyledDialog",componentId:"oufk16-0"})(["z-index:","px;font-weight:300;background:",";animation:"," 0.4s ease-in;position:fixed;left:0;top:0;bottom:0;width:100%;height:100%;margin-top:50px;> .dialogEntry{position:static;left:0;top:0;width:100%;overflow-x:auto;height:calc(100% - 50px);z-index:","px;-webkit-overflow-scrolling:touch;> header{position:relative;width:100%;height:25px;left:0;top:0;z-index:","px;}> section{width:100%;padding:0 13px 20px;}> section > h1{font-size:",";font-weight:500;text-align:center;margin:0 auto;padding-bottom:20px;}> section > .introText{text-align:center;margin-bottom:20px;}textarea,input[type='text'],input[type='number'],input[type='email'],input[type='password']{font-size:",";}.Dialog-footer{margin-top:25px;text-align:right;& > .Dialog-footer-info{text-align:left;padding-top:","px;font-size:",";color:",";.Link{display:block;cursor:pointer;}}}}.introText{font-size:",";font-weight:300;strong{font-weight:400;}}h2.introHead{text-align:center;font-size:",";font-weight:400;margin:20px 0 15px;}"," "," &.-in-i-frame{animation:none;overflow:auto;> .dialogEntry{height:100%;overflow:auto;section{padding:0 40px 40px;}}}"],(function(t){return t.theme.header.zIndex+3}),(function(t){return t.theme.color.bodyBackground}),v,(function(t){return t.theme.header.zIndex+2}),(function(t){return t.theme.header.zIndex+3}),(function(t){return t.theme.fontSize.xxl}),(function(t){return t.theme.fontSize.l}),(function(t){return t.theme.gutter}),(function(t){return t.theme.fontSize.xs}),(function(t){return t.theme.color.fontHint}),(function(t){return t.theme.fontSize.default}),(function(t){return t.theme.fontSize.default}),g.BC.mobile2(i||(i=(0,o.Z)(["\n        > .dialogEntry {\n            section {\n                padding: 0 40px;\n            }\n\n            .Dialog-footer {\n                margin-top: 20px;\n            }\n        }\n\n        .Recaptcha {\n            margin-top: 15px;\n        }\n    "]))),g.BC.tablet(r||(r=(0,o.Z)(["\n        animation: none;\n        position: relative;\n        margin: 72px auto 0;\n        height: auto;\n        max-width: 440px;\n\n        > .dialogEntry {\n            position: static; //don't change positions, else there is a repaint bug with the url bar and header\n            overflow: auto; // don't reserve space for scroll bar\n            height: 100%;\n            section {\n                padding-bottom: 40px;\n            }\n        }\n\n        &.NewsletterSubscriptionDialog {\n            max-width: 730px;\n        }\n\n    "]))));const w=(0,u.$j)(null,(function(t){return{closeDialog:function(){return t((0,p.gk)())},closeMenu:function(){return t((0,h.setHeaderState)({menu:"closed"}))}}}))((function(t){var e=t.title,n=t.className,i=t.children,r=t.closeDialog,o=t.onClose,s=t.showHeader,u=void 0===s||s,c=t.closeMenu,d=!1;return"undefined"!=typeof window&&window.self!==window.top&&(d=!0),a.useEffect((function(){c()}),[]),(0,x.jsx)(l(),{children:(0,x.jsx)(b,{className:f()("Dialog",n,{"-in-i-frame":d}),children:(0,x.jsxs)("div",{className:"dialogEntry",children:[u&&(0,x.jsx)("header",{children:(0,x.jsx)(m.Z,{onClick:function(){parent&&parent.postMessage&&parent.postMessage({name:"iframe-close"},"*"),o&&o(),r()}})}),(0,x.jsxs)("section",{children:[e&&(0,x.jsx)("h1",{children:e}),i]})]})})})}))},68070:(t,e,n)=>{n.d(e,{Ac:()=>L,BH:()=>J,BS:()=>F,Bb:()=>z,Bj:()=>A,C1:()=>X,Ct:()=>V,Do:()=>Z,Dw:()=>K,Dy:()=>G,Ei:()=>I,JG:()=>Q,MD:()=>k,Ne:()=>U,Q7:()=>q,QM:()=>B,R:()=>Y,Sp:()=>y,TG:()=>_,Vq:()=>$,XU:()=>tt,YN:()=>D,b6:()=>S,cm:()=>T,e2:()=>E,fY:()=>P,h6:()=>H,hh:()=>C,tL:()=>N,w6:()=>W,wZ:()=>R,x_:()=>O}),n(21057),n(68932),n(34338),n(76801),n(752),n(98742),n(5203),n(30190),n(79288),n(69358),n(60228),n(64043),n(7409),n(43843),n(22462),n(28436),n(76265);var i=n(41618),r=n(27484),o=n.n(r),a=n(87205),s=/^[a-zA-Z0-9_-]+$/,u=/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/i,c=/^[0-9a-zA-Z-]{3,}$/,l=/^http(s?):\/\/.+/,d=/^https:\/\/.+/,f=/^https:\/\/www\.instagram\.com\/.+/,p=/^https:\/\/www\.facebook\.com\/.+/,h=/^https:\/\/twitter\.com\/.+/,m=/^https:\/\/x\.com\/.+/,g=/^https:\/\/www\.tiktok\.com\/@.+/,x=/^https:\/\/www\.youtube\.com\/watch\?v=.+/,v=/^https:\/\/www\.youtube\.com\/shorts\/.+/;function b(t){if(!i.Z.isString(t))throw new TypeError("validator validates strings only. Got "+t)}function w(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_VALUE;return b(t),t.length>=e&&t.length<=n}function j(t){return c.test(t)}function y(t){return t?j(t)?void 0:"Ungültige PLZ":void 0}var Q=function(t){return 0===t.length?void 0:/[^0-9a-z]/i.test(t)?"Bitte nur Buchstaben und Zahlen":void 0};function z(t,e,n){return t.length>n?a.Qj.textTooLong:t.length<e?a.Qj.textTooShort:null}function D(t){var e=t.firstName,n=t.lastName,i=t.street,r=t.houseNumber,o=t.city,s=t.zip,u=t.country,c={};return void 0===e||w(e,1,255)||(c.firstName=a.Qj.firstName),void 0===n||w(n,1,255)||(c.lastName=a.Qj.lastName),void 0===i||w(i,1,255)||(c.street=a.Qj.street),void 0===r||w(r,1,255)||(c.houseNumber=a.Qj.houseNumber),void 0===o||w(o,1,63)||(c.city=a.Qj.city),void 0===s||w(String(s),1,15)?j(s)||(c.zip=a.Qj.zipInvali
1d):c.zip=a.Qj.zip,void 0===u||w(u,1,63)||(c.country=a.Qj.country),c}function E(t,e){var n=t.state,i=t.positionType,r=t.positionCurrent,o=t.positionTotal,s=t.rating,u=t.shortQuoteText,c=t.pagesRequired,l={};return"READING"===n?"PAGE"===i&&r>o?l.position="".concat(a.Qj.positionCurrentPage," ").concat(o," ein."):"CHAPTER"===i&&r>o?l.position="".concat(a.Qj.positionCurrentChapter," ").concat(o," ein."):"PERCENT"===i&&r>100?l.position=a.Qj.positionCurrentPercent:"PERCENT"===i||o||(l.position=a.Qj.positionTotalRequired):"READ"===n&&((u||e)&&(!s||s<1)&&(l.rating=a.Qj.rating),c&&!o&&(l.position=a.Qj.positionTotalRequired)),l}function k(t){var e,n={},r=i.Z.keys(t);return r.includes("username")&&(w(t.username,1)?w(t.username,3,32)?s.test(t.username)||(n.username=a.Qj.usernameChars):n.username=a.Qj.usernameLength:n.username=a.Qj.usernameEmpty),r.includes("email")&&(w(t.email,1)?(b(e=t.email),u.test(e)?r.includes("retypedEmail")&&t.retypedEmail&&t.email!==t.retypedEmail&&(n.retypedEmail=a.Qj.retypedEmail):n.email=a.Qj.emailInvalid):n.email=a.Qj.emailEmpty),r.includes("password")&&(w(t.password,6,32)||(n.password=a.Qj.password)),r.includes("tosAccepted")&&(t.tosAccepted||(n.tosAccepted=a.Qj.tosAccepted)),r.includes("captchaToken")&&(t.captchaToken||(n.captchaToken=a.Qj.recaptchaMissing)),n}var S=function(t){return t?t.length<3||t.length>32?a.Qj.usernameLength:s.test(t)?void 0:a.Qj.usernameChars:a.Qj.usernameEmpty},Z=function(t){return t?u.test(t)?void 0:a.Qj.emailInvalid:a.Qj.emailEmpty},A=function(t){return!t||t.length<6||t.length>32?a.Qj.password:void 0},N=function(t){if(!t)return a.Qj.tosAccepted},C=function(t){return t?void 0:a.Qj.recaptchaMissing},O=function(t){if(t&&!t.match(h)&&!t.match(m))return a.Qj.twitterUrl},_=function(t){if(t&&!t.match(f))return a.Qj.instagramUrl},T=function(t){if(t&&!t.match(p))return a.Qj.facebookUrl},B=function(t){return t?t.match(x)||t.match(v)?void 0:a.Qj.youtubeOrYoutubeShortsUrl:void 0},P=function(t){if(t&&!t.match(l))return a.Qj.websiteUrl},R=function(t){if(t&&!t.match(d))return a.Qj.secureWebsiteUrl},L=function(t){if(t&&!t.match(g))return a.Qj.tiktokUrl},M=function(t){if("undefined"==typeof window)return"";var e=document.querySelector("#".concat(t," .fr-view"));return e?e.textContent:""},I=function(t){return function(e){if(void 0!==e){var n=e.trim().length;return n>0&&n<t?"Bitte mindestens ".concat(t," Zeichen eingeben."):void 0}}},U=(I(500),I(200),function(t){if(void 0!==t){var e=t.trim(),n=document.createElement("div");n.innerHTML=e;var i=n.innerText.length;return i>0&&i<300?"Bitte mindestens ".concat(300," Zeichen eingeben."):void 0}}),H=function(t,e){return function(n){return I(t)(M(e))}},F=function(t){return function(e){var n=e.length;if(n>0&&n>t)return"Bitte maximal ".concat(t," Zeichen eingeben.")}},G=function(t,e){return function(n){if(n)return n.length>t?e(t):void 0}},Y=function(t,e){return function(n){if(void 0!==n)return n.length<t?e:void 0}},V=function(t,e){return function(n){return F(t)(M(e))}},q=function(t){return function(e,n){return Object.keys(n).some((function(t){var e;return null!==(e=n[t])&&void 0!==e&&e}))?void 0:t}},$=function(t){return function(e){return e?void 0:t}},X=function(t){return t?void 0:"Bitte gib einen Text ein"},K=function(t){return null==t?void 0:""===t.trim()?"Bitte gib mindestens ein Zeichen ein":void 0},W=function(t,e){return function(n){return n>=t&&n<=e?void 0:"Nur ".concat(t," bis ").concat(e," sind möglich")}},J=function(t){if(t)return function(t){var e=o()(t).isValid();return o()(t,"DD.MM.YYYY",!0).isValid()||e?void 0:"Datum ist ungültig"}(t)},tt=function(t){return o()(t).isSame(o()(),"day")||o()(t).isAfter(o()(),"day")?void 0:"Datum darf nicht in der Vergangenheit liegen"}},94793:(t,e,n)=>{n.r(e),n.d(e,{default:()=>D}),n(59749),n(38077),n(49693),n(70560),n(5203),n(10141),n(90701),n(35082),n(40739),n(81919),n(99474),n(69358),n(60228),n(30050),n(47522);var i=n(15671),r=n(43144),o=n(73930),a=n(61120),s=n(60136),u=n(4942),c=n(41618),l=n(67294),d=n(37918),f=n(97622),p=n(31626),h=n(20471),m=n(87205),g=n(68070),x=n(70394),v=n(85893);function b(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?b(Object(n),!0).forEach((function(e){(0,u.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function j(t,e,n){return e=(0,a.Z)(e),(0,o.Z)(t,y()?Reflect.construct(e,n||[],(0,a.Z)(t).constructor):e.apply(t,n))}function y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(y=function(){return!!t})()}var Q=(0,x.ZP)(f.Z).withConfig({displayName:"FinishRegistrationDialog__StyledFinishRegistrationDialog",componentId:"m4pr4g-0"})([".Input{margin-bottom:10px;}small{font-size:",";}"],(function(t){return t.theme.fontSize.xxxxs})),z=(0,x.ZP)(d.ZP).withConfig({displayName:"FinishRegistrationDialog__FullWidthButton",componentId:"m4pr4g-1"})(["width:100%;"]);const D=function(t){function e(t){var n;return(0,i.Z)(this,e),n=j(this,e,[t]),(0,u.Z)(n,"handleSubmit",(function(){var t=(0,g.MD)(n.state);if(n.setState({inputErrors:t,hasSubmitted:!0}),c.Z.isEmpty(t))return n.props.onSubmit(n.state.username).catch((function(t){var e;"username already exists"===(null==t||null===(e=t.message)||void 0===e?void 0:e.message)&&n.setState({inputErrors:{username:m.Qj.usernameTaken}})}))})),(0,u.Z)(n,"linkToState",(function(t){return{value:n.state[t],feedback:n.state.inputErrors[t],onChange:function(e){var i=e.target;n.setState((0,u.Z)({},t,"checkbox"===i.type?i.checked:i.value))}}})),n.state={username:n.props.username||"",tosAccepted:!1,hasSubmitted:!1,inputErrors:{}},n}return(0,s.Z)(e,t),(0,r.Z)(e,[{key:"render",value:function(){return(0,v.jsx)(Q,{className:"FinishRegistrationDialog",title:"Fast geschafft!",onClose:this.props.onClose,children:(0,v.jsxs)(p.Z,{onSubmit:this.handleSubmit,children:[(0,v.jsx)(h.Z,w(w({type:"username",maxLength:32},this.linkToState("username")),{},{placeholder:"Dein Mitgliedsname"})),(0,v.jsx)(h.Z,{type:"email",disabled:!0,value:this.props.email,placeholder:"E-Mail-Adresse"}),(0,v.jsx)(h.Z,w(w({type:"checkbox"},this.linkToState("tosAccepted")),{},{showSwitch:!0,label:(0,v.jsxs)("span",{children:["Ich akzeptiere die"," ",(0,v.jsx)("a",{href:"//www.lovelybooks.de/info/agb/",target:"_blank",rel:"noopener noreferrer",children:"AGB"})," ","und willige in die Verarbeitung meiner personen­bezogenen Daten (",(0,v.jsx)("a",{href:"//www.lovelybooks.de/info/privatsphaere/",target:"_blank",rel:"noopener noreferrer",children:"Datenschutz­erklärung"}),") ein."]}),feedback:this.state.hasSubmitted&&!this.state.tosAccepted&&"Die AGB müssen akzeptiert werden um sich registrieren zu können."})),(0,v.jsx)("div",{className:"Dialog-footer",children:(0,v.jsx)(z,{className:"register -bgrRed",type:"submit",children:"Abschließen"})})]})})}}])}(l.Component)},75984:(t,e,n)=>{var i=n(41236).PROPER,r=n(3689),o=n(86350);t.exports=function(t){return r((function(){return!!o[t]()||"​…᠎"!=="​…᠎"[t]()||i&&o[t].name!==t}))}},28436:(t,e,n)=>{var i=n(79989),r=n(61435).trim;i({target:"String",proto:!0,forced:n(75984)("trim")},{trim:function(){return r(this)}})}}]);

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.