PageSourceSearch

https://www.androidsecurity.jp/siterenderer/_next/static/chunks/Ba…ne.MastheadPartnerEmail.dbe0e2d7d7e22219.js

js androidsecurity.jp collected 2026-10-04 12:31:42 UTC 6,630 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2148],{61997:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Z}});var a=n(52322),r=n(86525),l=n(2784),s=n(44934),i=n(63245),u=n(12060),o=n(91992),p=n(21020),c=n(82342),_=n(61614),d=n(88473),h=n(26922),x=n(35076),f=n(32078),g=n(24361),m=n.n(g),v=n(39046),I=n.n(v);let k={[c.N]:I(),[o.R]:I(),[_.j]:I()},N={EMAIL_FORMAT:"EMAIL_FORMAT",WRONG_EMAIL:"WRONG_EMAIL",EMAIL_MISSING:"EMAIL_MISSING"},S=(e,t)=>{let n=e&&e.length>0?null==e?void 0:e.filter(e=>{let{errorType:n}=e;return n===t}):[];if(n.length>0)return n[0].errorText},b=async(e,t)=>{try{let n=await i.h.post("/api/siterenderer/uis-email-check",{email:e,...t?{language:t}:void 0});if(200===n.status){let{data:e}=n||{};return e}return!1}catch(e){return!1}},L=e=>{let{inputPlaceholder:t,description:n,validationErrors:r,createAccountButton:i,signInLink:o,serverError:_,desktopContentWidth:g,tabletContentWidth:v}=e,{isSiteEditor:I,domainLanguagePostfix:L}=(0,l.useContext)(u.Z),{link:j="",text:E,isExternal:M,ariaLabel:y}=i||{},{text:A,link:C,isExternal:Z,ariaLabel:w}=o||{},[T,G]=(0,l.useState)(""),[U,F]=(0,l.useState)(!1),[R,W]=(0,l.useState)(!1),[D,P]=(0,l.useState)(!1),[B,O]=(0,l.useState)(!1),[z,K]=(0,l.useState)(!1),J=(0,l.useCallback)(e=>{let t=e.toString();G(t),(0,x.x)(t)||/^[0-9a-z-_]+((\.([0-9a-z-_])+)+)?@[0-9a-z-_]+((\.([0-9a-z-_])+)+)$/i.test(t)?P(!1):P(!0),F(!1),K(!1),O(!1)},[G,F,P]),V=(0,l.useCallback)(async()=>{if(F(!0),(0,x.x)(T)||D)P(!0);else{if(W(!0),!I){let e=await b(T,L);if(e){let{isValid:t}=e;if(t){let e=(0,h.lZ)({text:j,params:[{template:"((partner_email))",value:T}],returnValueType:h.WK.string});window.open(e,M?"_blank":"_self")}else O(!0)}else K(!0)}W(!1),F(!1)}},[T,D,I,j,M,L]),q=(0,l.useMemo)(()=>B?S(r,N.WRONG_EMAIL):z?_:D&&!U?S(r,N.EMAIL_FORMAT):D&&U?S(r,N.EMAIL_MISSING):void 0,[U,B,D,z,_,r]);return(0,a.jsxs)(f.T,{tablet:v,desktop:g,children:[(0,a.jsxs)("div",{className:m().fields,children:[(0,a.jsx)(c.Z,{value:T,onChange:J,hasError:D||B||z,helperText:q,placeholder:t,disabled:R,classes:k,className:m().input}),!!j&&!!E&&(0,a.jsx)(p.Z,{onClick:V,isSmall:!0,ariaLabel:y,className:m().button,dataAtSelector:s.JN.createAccount,isLoading:R,disabled:D,children:E})]}),(!!n||!!A&&!!C)&&(0,a.jsxs)("div",{className:m().description,children:[n||"",!!A&&!!C&&(0,a.jsx)(d.Z,{href:C,isExternal:Z,ariaLabel:w,children:A})]})]})};var j=n(74789),E=n.n(j);let M={[r.ux]:E()},y=e=>{let{masthead:t,pluginStyle:n,isFooterPlugin:l,form:s}=e,{desktopContentWidth:i,tabletContentWidth:u}=t||{};return(0,a.jsx)(r.ZP,{isFooterPlugin:l,pluginStyle:n,...t,classes:M,children:()=>(0,a.jsx)(L,{...s,desktopContentWidth:i,tabletContentWidth:u})})};var A=n(30986),C=n(40902);function Z(e){let{pluginStyle:t,pluginData:n,masthead:r,data:l,_pluginIndex:s,_componentKey:i,_schema:u}=e,{theme:o,...p}=r||{},{isFooterPlugin:c,display:_,pluginId:d}=n||{},{sectionId:h}=r||{},{css:x,anchorId:f,crossPlatformIndent:g}=(0,C.B)(t,h);return(0,a.jsx)(A.Z,{anchorId:f,crossPlatformIndent:g,display:"none"!==_,toggleKey:d,theme:o,wrapSwitcher:!0,wrapTheme:!0,pluginIndex:s,componentKey:i,schema:u,isBackgroundPreload:!c,children:(0,a.jsx)(y,{masthead:p,form:l,isFooterPlugin:!!c,pluginStyle:x})})}},82342:function(e,t,n){"use strict";n.d(t,{N:function(){return h}});var a=n(52322),r=n(12524),l=n.n(r),s=n(44934),i=n(575),u=n(17632),o=n(61614),p=n(24700),c=n(56329),_=n(22224),d=n.n(_);let h="input";t.Z=(0,i.D2)(d(),{name:h})(e=>{let{className:t="",placeholder:n="",disabled:r=!1,onChange:i,onBlur:_,onFocus:d,onKeyDown:h,id:x="",name:f="",value:g,styles:m={},classes:v,dataAtSelector:I=s.JN.input,autoComplete:k="off",innerRef:N,maxLength:S,hasError:b,hasValid:L,type:j="text",helperText:E,spellCheck:M=!1,label:y,mask:A,maskSeparator:C,ariaLabel:Z,labelId:w,required:T,isTextarea:G}=e,U=(e,t)=>A?(0,c.W)({mask:"function"==typeof A?A(e):A,separator:C,value:e.toString(),deleteMode:t}):e,F={};Z&&(F={...F,"aria-label":Z}),b&&(F={...F,"aria-invalid":!0}),w&&(F={...F,"aria-labelledby":w}),T&&(F={...F,"aria-required":T});let R={className:m.nativeInput,placeholder:n,autoComplete:k,maxLength:S,onChange:e=>{var t;let n=null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.value;i&&i(U(n,((null==n?void 0:n.length)||0)<((null==g?void 0:g.toString().length)||0)),x)},onBlur:e=>{let t=e.target.value;_&&_(U(t,!1),x)},onFocus:e=>{let t=e.target.value;d&&d(U(t,!1),x)},onKeyDown:e=>{h&&h(e)},spellCheck:M,value:g,id:x,name:f,...F};return(0,a.jsxs)("div",{className:l()(m.input,t),"data-at-selector":I,children:[y&&(0,a.jsx)(p.ZP,{classes:v,children:y}),(0,a.jsxs)(u.Z,{classes:v,hasValid:L,hasError:b,disabled:r,className:l()({[m.textarea]:G}),children:[!G&&(0,a.jsx)("input",{...R,type:j,ref:N}),G&&(0,a.jsx)("textarea",{...R,ref:N})]}),E&&(0,a.jsx)(o.Z,{classes:v,hasError:b,disabled:r,id:w,inputId:x,children:E})]})})},56329:function(e,t,n){"use strict";n.d(t,{U:function(){return a},W:function(){return s}});let a=/-/g,r={alphaNumericUppercase:"#"},l={alphaNumericUppercase:/^[0-9A-Z]$/},s=e=>{let{mask:t,value:n,separator:a,deleteMode:s}=e;if(t&&n){let e=a?n.replace(a,""):n,i=[],u=[].slice.call(t).reverse(),o=[].slice.call(e).reverse(),p=u.pop(),c=!1;for(;o.length&&p;){let e=o[o.length-1].toUpperCase();p===r.alphaNumericUppercase?e.match(l.alphaNumericUppercase)&&i.push((o.pop()||"").toUpperCase()):(a&&p.match(a)?a&&i.length&&(t[i.length]||"").match(a)&&i.push(p):i.push(p),e!==p||(o.pop(),s||o.length||!u.length||u[u.length-1]===r.alphaNumericUppercase||(c=!0,o.push(u[u.length-1])))),p=u.pop()}return!s&&c&&1===e.length&&t[0]!==e[0].toUpperCase()&&i.push(e.toUpperCase()),!s&&a&&i.length&&(t[i.length]||"").match(a)&&i.push(a.source),i.join("")}return n}},88473:function(e,t,n){"use strict";var a=n(52322),r=n(2784),l=n(74183),s=n(47938),i=n.n(s);let u={[l.y]:i()},o=(0,r.forwardRef)((e,t)=>{let{...n}=e;return(0,a.jsx)(l.Z,{...n,ref:t,classes:u})});t.Z=o},24361:function(e){e.exports={fields:"Form_fields__k0Qqa",button:"Form_button__nYnS_",input:"Form_input__VhdnR",description:"Form_description__LN1gS"}},39046:function(e){e.exports={input:"Input_input__x0Lwy",box:"Input_box__JQXT_",error:"Input_error___WIvh",nativeInput:"Input_nativeInput__d0DAr",inputHelperText:"Input_inputHelperText__jXVa9"}},74789:function(e){e.exports={plugin:"MastheadPartnerEmail_plugin__AlOzk"}},22224:function(e){e.exports={input:"BaseInput_input__SynC5",nativeInput:"BaseInput_nativeInput__0DPeu",textarea:"BaseInput_textarea__eisrE"}},47938:function(e){e.exports={link:"DarkGreenLink_link__MkJIE",hovered:"DarkGreenLink_hovered__SUIbL",active:"DarkGreenLink_active__tBkRr",svg:"DarkGreenLink_svg__tK6dG"}}}]);

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.