PageSourceSearch

https://comic-ryu.jp/_next/static/chunks/0s01v4eaedffx.js

js comic-ryu.jp collected 2026-10-02 05:34:49 UTC 80,472 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,712373,e=>{"use strict";var t=e.i(843476),i=e.i(500932),r=e.i(618566),n=e.i(856437),s=e.i(228986),o=e.i(271645),a=e.i(37607),l=e.i(522016),u=e.i(809471),c=e.i(473665),d=e.i(160195),f=e.i(575275);function p(e){let r,n,p,m,g,y,v,w,S,b,A,x,E,T,C,P,I,N,k,R,U,O=(0,i.c)(50),{date:j,url:M,onAgree:_,siteSettings:B,lang:L}=e,[q,D]=(0,o.useState)(!1),{mutate:F}=(0,a.useStaticStore)(s.STORE_KEYS.popup),[V,$]=(0,o.useState)(!1);O[0]!==_||O[1]!==F?(r=()=>{$(!0),_().then(()=>{$(!1),F(!1)}).catch(()=>{$(!1)})},O[0]=_,O[1]=F,O[2]=r):r=O[2];let K=r;O[3]!==L?(n=(0,d.getI18nMessage)("termsOfUseHaveChanged",L),O[3]=L,O[4]=n):n=O[4],O[5]!==n?(p=(0,t.jsx)("h2",{className:"dialog-h",children:n}),O[5]=n,O[6]=p):p=O[6],O[7]!==L||O[8]!==B.name?(m=(0,d.getI18nMessage)("agreeNewTermsToContinue",L,[B.name]),O[7]=L,O[8]=B.name,O[9]=m):m=O[9],O[10]!==m?(g=(0,t.jsx)("p",{className:"dialog-desc",children:m}),O[10]=m,O[11]=g):g=O[11],O[12]!==L?(y=(0,d.getI18nMessage)("termsOfUse2",L),O[12]=L,O[13]=y):y=O[13],O[14]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsx)(c.MdOpenInNew,{className:"dialog-term-link-icon",size:24}),O[14]=v):v=O[14],O[15]!==y?(w=(0,t.jsxs)("span",{className:"dialog-term-link-label",children:[y,v]}),O[15]=y,O[16]=w):w=O[16],O[17]!==j||O[18]!==L?(S=(0,d.getI18nMessage)("revisedOnX",L,[j]),O[17]=j,O[18]=L,O[19]=S):S=O[19],O[20]!==S?(b=(0,t.jsxs)("span",{className:"dialog-term-link-date",children:["(",S,")"]}),O[20]=S,O[21]=b):b=O[21],O[22]!==b||O[23]!==w||O[24]!==M?(A=(0,t.jsxs)(l.default,{className:"dialog-term-link",target:"_blank",href:M,children:[w,b]}),O[22]=b,O[23]=w,O[24]=M,O[25]=A):A=O[25],O[26]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsx)("br",{}),O[26]=x):x=O[26],O[27]!==L?(E=(0,d.getI18nMessage)("iHaveReadAndUnderstoodTheTermsOfUse",L),O[27]=L,O[28]=E):E=O[28],O[29]!==E?(T=(0,t.jsx)("span",{className:"dialog-legal-label",children:E}),O[29]=E,O[30]=T):T=O[30],O[31]===Symbol.for("react.memo_cache_sentinel")?(C=()=>D(h),O[31]=C):C=O[31],O[32]!==q||O[33]!==T?(P=(0,t.jsx)("div",{className:"dialog-chk-wrap mode-legal",children:(0,t.jsx)(u.default,{label:T,checked:q,onChange:C,e2eTestId:f.E2E_ELM.LEGAL_AGREE_CHECKBOX})}),O[32]=q,O[33]=T,O[34]=P):P=O[34],O[35]!==K?(I=()=>{K()},O[35]=K,O[36]=I):I=O[36];let Y=!q||V;return O[37]===Symbol.for("react.memo_cache_sentinel")?(N=(0,f.e2eTestDataAttr)(f.E2E_ELM.LEGAL_AGREE_BTN),O[37]=N):N=O[37],O[38]!==L?(k=(0,d.getI18nMessage)("agreeToTheTermsOfUseAndUse",L),O[38]=L,O[39]=k):k=O[39],O[40]!==I||O[41]!==Y||O[42]!==k?(R=(0,t.jsx)("div",{className:"dialog-btns mode-last",children:(0,t.jsx)("button",{type:"submit",className:"dialog-btn mode-primary",onClick:I,disabled:Y,...N,children:k})}),O[40]=I,O[41]=Y,O[42]=k,O[43]=R):R=O[43],O[44]!==A||O[45]!==P||O[46]!==R||O[47]!==p||O[48]!==g?(U=(0,t.jsxs)("div",{children:[p,g,A,x,P,R]}),O[44]=A,O[45]=P,O[46]=R,O[47]=p,O[48]=g,O[49]=U):U=O[49],U}function h(e){return!e}var m=e.i(370370),g=e.i(975157),y=e.i(190915),v=e.i(357912);function w(e){let r,n,c,p,h,w,b,A,x,E,T,C,P,I,N,k,R,U,O,j,M,_,B,L,q,D,F,V,$=(0,i.c)(70),{imageId:K,imageUrl:Y,linkUrl:z,imageWidth:H,imageHeight:G,lang:W}=e,[X,J]=(0,o.useState)(!1),{mutate:Q}=(0,a.useStaticStore)(s.STORE_KEYS.popup);$[0]!==X||$[1]!==K||$[2]!==Q?(r=()=>{K&&X&&(0,g.setPopupNoShowCookie)("noShowNext",String(K)),Q(!1)},$[0]=X,$[1]=K,$[2]=Q,$[3]=r):r=$[3];let Z=r;if($[4]!==G||$[5]!==K||$[6]!==Y||$[7]!==H||$[8]!==W||$[9]!==z||$[10]!==Q){let e={logCategory:y.LOG_CATEGORIES.topCampaignPopup,logEventDetail:y.LOG_EVENT_DETAILS.topCampaignPopup,logImageId:K};c=l.default,I="dialog-campaign-link",$[24]!==W||$[25]!==z?(p=(0,g.getExternalUrlOrI18nPath)(z,W),$[24]=W,$[25]=z,$[26]=p):p=$[26],$[27]!==Q?(h=()=>{Q(!1)},$[27]=Q,$[28]=h):h=$[28],w=(0,y.makeClickLogDataAttrs)(e),P="dialog-campaign-fig",n=v.HTMLImgWithImpLog,b="dialog-campaign-img",A=H,x=G,E=Y,T="",C=(0,y.makeImpLogDataAttrs)(e),$[4]=G,$[5]=K,$[6]=Y,$[7]=H,$[8]=W,$[9]=z,$[10]=Q,$[11]=n,$[12]=c,$[13]=p,$[14]=h,$[15]=w,$[16]=b,$[17]=A,$[18]=x,$[19]=E,$[20]=T,$[21]=C,$[22]=P,$[23]=I}else n=$[11],c=$[12],p=$[13],h=$[14],w=$[15],b=$[16],A=$[17],x=$[18],E=$[19],T=$[20],C=$[21],P=$[22],I=$[23];return $[29]!==n||$[30]!==b||$[31]!==A||$[32]!==x||$[33]!==E||$[34]!==T||$[35]!==C?(N=(0,t.jsx)(n,{className:b,width:A,height:x,src:E,alt:T,...C}),$[29]=n,$[30]=b,$[31]=A,$[32]=x,$[33]=E,$[34]=T,$[35]=C,$[36]=N):N=$[36],$[37]!==N||$[38]!==P?(k=(0,t.jsx)("figure",{className:P,children:N}),$[37]=N,$[38]=P,$[39]=k):k=$[39],$[40]!==c||$[41]!==p||$[42]!==h||$[43]!==w||$[44]!==k||$[45]!==I?(R=(0,t.jsx)(c,{className:I,href:p,onClick:h,...w,children:k}),$[40]=c,$[41]=p,$[42]=h,$[43]=w,$[44]=k,$[45]=I,$[46]=R):R=$[46],$[47]!==W?(U=(0,d.getI18nMessage)("dontShowThisAgain",W),$[47]=W,$[48]=U):U=$[48],$[49]!==U?(O=(0,t.jsx)("span",{className:"auth-legal-label",children:U}),$[49]=U,$[50]=O):O=$[50],$[51]===Symbol.for("react.memo_cache_sentinel")?(j=()=>J(S),$[51]=j):j=$[51],$[52]!==X||$[53]!==O?(M=(0,t.jsx)("div",{className:"dialog-chk-wrap mode-campaign",children:(0,t.jsx)(u.default,{className:"dialog-chk mode-campaign",label:O,checked:X,onChange:j,useIcon:!0})}),$[52]=X,$[53]=O,$[54]=M):M=$[54],$[55]!==Z?(_=()=>{Z()},$[55]=Z,$[56]=_):_=$[56],$[57]===Symbol.for("react.memo_cache_sentinel")?(B=(0,f.e2eTestDataAttr)(f.
1E2E_ELM.CLOSE_CAMPAIGN_POPUP_BTN),L=(0,f.e2eTestDataAttr)(f.E2E_ELM.POPUP_CLOSE),$[57]=B,$[58]=L):(B=$[57],L=$[58]),$[59]!==W?(q=(0,d.getI18nMessage)("closeThePopup",W),$[59]=W,$[60]=q):q=$[60],$[61]!==q?(D=(0,t.jsx)(m.ClosePopupIcon,{className:"dialog-popup-close",size:40,"aria-label":q}),$[61]=q,$[62]=D):D=$[62],$[63]!==_||$[64]!==D?(F=(0,t.jsx)("div",{className:"dialog-btns",children:(0,t.jsx)("button",{type:"submit",className:"dialog-btn mode-campaign",onClick:_,...B,...L,children:D})}),$[63]=_,$[64]=D,$[65]=F):F=$[65],$[66]!==R||$[67]!==M||$[68]!==F?(V=(0,t.jsxs)("div",{children:[R,M,F]}),$[66]=R,$[67]=M,$[68]=F,$[69]=V):V=$[69],V}function S(e){return!e}var b=e.i(624085);function A(e){let r,n,o,l,u,d,p,h,m,g=(0,i.c)(16),{missions:y,lang:v}=e,{mutate:w}=(0,a.useStaticStore)(s.STORE_KEYS.popup);return g[0]!==w?(r=()=>w(!1),g[0]=w,g[1]=r):r=g[1],g[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,f.e2eTestDataAttr)(f.E2E_ELM.POPUP_CLOSE),o=(0,t.jsx)(c.MdClose,{"aria-label":"閉じる",size:24,className:"mission-modal-close-icon"}),g[2]=n,g[3]=o):(n=g[2],o=g[3]),g[4]!==r?(l=(0,t.jsx)("a",{className:"mission-modal-close",onClick:r,...n,children:o}),g[4]=r,g[5]=l):l=g[5],g[6]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("h2",{className:"mission-h-h",children:(0,t.jsx)("span",{className:"mission-h-text",children:"ミッション"})}),g[6]=u):u=g[6],g[7]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsxs)("div",{className:"mission-h",children:[u,(0,t.jsxs)("p",{className:"mission-h-desc",children:["条件を達成して",(0,t.jsx)("br",{}),"「すぐ無料チケット」をGET!"]}),(0,t.jsx)("p",{className:"mission-h-note",children:"※チケットは自動的に付与されます"})]}),g[7]=d):d=g[7],g[8]!==y?(p={missions:y},g[8]=y,g[9]=p):p=g[9],g[10]!==v||g[11]!==p?(h=(0,t.jsx)("div",{className:"dialog-content mission-modal",children:(0,t.jsxs)("div",{className:"mission-modal-content-wrap",children:[d,(0,t.jsx)("div",{className:"mission-list-container",children:(0,t.jsx)(b.MissionList,{isPopUp:!0,missionList:p,lang:v})})]})}),g[10]=v,g[11]=p,g[12]=h):h=g[12],g[13]!==l||g[14]!==h?(m=(0,t.jsxs)(t.Fragment,{children:[l,h]}),g[13]=l,g[14]=h,g[15]=m):m=g[15],m}var x=e.i(657688);function E(e){let r,n,o,u,p,h,m,y,v,w,S,b,A,E,T,C,P,I=(0,i.c)(47),{content:N,lang:k}=e,{mutate:R}=(0,a.useStaticStore)(s.STORE_KEYS.popup);I[0]!==R?(r=()=>{R(!1)},I[0]=R,I[1]=r):r=I[1];let U=r,O=N.url||"";I[2]!==k?(n=(0,d.getI18nMessage)("waitFreeChargeComplete",k),I[2]=k,I[3]=n):n=I[3],I[4]!==n?(o=(0,t.jsx)("h2",{className:"dialog-h mode-waitfree",children:n}),I[4]=n,I[5]=o):o=I[5],I[6]!==O?(u=(0,g.getInternalPathnameWithQuery)(O)||O,I[6]=O,I[7]=u):u=I[7],I[8]!==k||I[9]!==u?(p=(0,d.buildI18nPath)(u,k),I[8]=k,I[9]=u,I[10]=p):p=I[10],I[11]!==N.title?(h=(0,t.jsx)("h3",{className:"dialog-main-link-h",children:N.title}),I[11]=N.title,I[12]=h):h=I[12],I[13]!==N.image?.height||I[14]!==N.image?.url||I[15]!==N.image?.width||I[16]!==N.title||I[17]!==k?(m=N.image?.url&&(0,t.jsx)("figure",{className:"dialog-main-fig",children:(0,t.jsx)(x.default,{className:"dialog-main-img",src:N.image?.url,width:N.image?.width??1200,height:N.image?.height??630,alt:N.title?(0,d.getI18nMessage)("imageOfX",k,[N.title]):""})}),I[13]=N.image?.height,I[14]=N.image?.url,I[15]=N.image?.width,I[16]=N.title,I[17]=k,I[18]=m):m=I[18],I[19]!==k?(y=(0,d.getI18nMessage)("read",k),I[19]=k,I[20]=y):y=I[20],I[21]!==y?(v=(0,t.jsx)("span",{className:"dialog-main-btn",children:y}),I[21]=y,I[22]=v):v=I[22],I[23]!==U||I[24]!==p||I[25]!==h||I[26]!==m||I[27]!==v?(w=(0,t.jsx)("div",{className:"dialog-main",children:(0,t.jsxs)(l.default,{href:p,className:"dialog-main-link",autoFocus:!0,onClick:U,children:[h,m,v]}
1)}),I[23]=U,I[24]=p,I[25]=h,I[26]=m,I[27]=v,I[28]=w):w=I[28],I[29]===Symbol.for("react.memo_cache_sentinel")?(S=(0,f.e2eTestDataAttr)(f.E2E_ELM.POPUP_CLOSE),I[29]=S):S=I[29],I[30]!==k?(b=(0,d.getI18nMessage)("close",k),I[30]=k,I[31]=b):b=I[31];let j=b;I[32]!==j?(A=(0,t.jsx)(c.MdClose,{"aria-label":j,size:24,className:"dialog-close-icon"}),I[32]=j,I[33]=A):A=I[33],I[34]!==U||I[35]!==A?(E=(0,t.jsx)("button",{className:"dialog-close",onClick:U,...S,children:A}),I[34]=U,I[35]=A,I[36]=E):E=I[36],I[37]!==k?(T=(0,d.getI18nMessage)("close",k),I[37]=k,I[38]=T):T=I[38];let M=T;return I[39]!==U||I[40]!==M?(C=(0,t.jsx)("div",{className:"dialog-f",children:(0,t.jsx)("button",{className:"dialog-f-btn",onClick:U,children:M})}),I[39]=U,I[40]=M,I[41]=C):C=I[41],I[42]!==w||I[43]!==E||I[44]!==C||I[45]!==o?(P=(0,t.jsxs)("div",{className:"dialog-content",children:[o,w,E,C]}),I[42]=w,I[43]=E,I[44]=C,I[45]=o,I[46]=P):P=I[46],P}function T(e){let r,n,o,u,p,h,m,y,v,w,S,b,A,x,E,T,C,P,I,N=(0,i.c)(52),{content:k,lang:R}=e,{mutate:U}=(0,a.useStaticStore)(s.STORE_KEYS.popup);N[0]!==U?(r=()=>{U(!1)},N[0]=U,N[1]=r):r=N[1];let O=r,j=k.episodeUrl||"";N[2]!==R?(n=(0,d.getI18nMessage)("newEpisodeAnnouncement",R),N[2]=R,N[3]=n):n=N[3],N[4]!==n?(o=(0,t.jsx)("h2",{className:"dialog-h",children:n}),N[4]=n,N[5]=o):o=N[5];let M=k.isRental?"newEpisodeOfRentedSeries":"aNewEpisodeOfXisNowAvailable";N[6]!==k.seriesName||N[7]!==R||N[8]!==M?(u=(0,d.getI18nMessage)(M,R,[k.seriesName]),N[6]=k.seriesName,N[7]=R,N[8]=M,N[9]=u):u=N[9],N[10]!==u?(p=(0,t.jsx)("p",{className:"dialog-desc",children:u}),N[10]=u,N[11]=p):p=N[11],N[12]!==j?(h=(0,g.getInternalPathnameWithQuery)(j)||j,N[12]=j,N[13]=h):h=N[13],N[14]!==R||N[15]!==h?(m=(0,d.buildI18nPath)(h,R),N[14]=R,N[15]=h,N[16]=m):m=N[16],N[17]!==k.articleTitle?(y=(0,t.jsx)("h3",{className:"dialog-main-link-h",children:k.articleTitle}),N[17]=k.articleTitle,N[18]=y):y=N[18],N[19]!==k.articleTitle||N[20]!==k.thumbnailImageUrl||N[21]!==R?(v=k.thumbnailImageUrl&&(0,t.jsx)("figure",{className:"dialog-main-fig",children:(0,t.jsx)("img",{className:"dialog-main-img",src:k.thumbnailImageUrl,width:1200,height:630,alt:k.articleTitle?(0,d.getI18nMessage)("imageOfX",R,[k.articleTitle]):"",loading:"lazy"})}),N[19]=k.articleTitle,N[20]=k.thumbnailImageUrl,N[21]=R,N[22]=v):v=N[22],N[23]!==R?(w=(0,d.getI18nMessage)("read",R),N[23]=R,N[24]=w):w=N[24],N[25]!==w?(S=(0,t.jsx)("span",{className:"dialog-main-btn",children:w}),N[25]=w,N[26]=S):S=N[26],N[27]!==O||N[28]!==v||N[29]!==S||N[30]!==m||N[31]!==y?(b=(0,t.jsx)("div",{className:"dialog-main",children:(0,t.jsxs)(l.default,{href:m,className:"dialog-main-link",autoFocus:!0,onClick:O,children:[y,v,S]})}),N[27]=O,N[28]=v,N[29]=S,N[30]=m,N[31]=y,N[32]=b):b=N[32],N[33]===Symbol.for("react.memo_cache_sentinel")?(A=(0,f.e2eTestDataAttr)(f.E2E_ELM.POPUP_CLOSE),N[33]=A):A=N[33],N[34]!==R?(x=(0,d.getI18nMessage)("close",R),N[34]=R,N[35]=x):x=N[35];let _=x;return N[36]!==_?(E=(0,t.jsx)(c.MdClose,{"aria-label":_,size:24,className:"dialog-close-icon"}),N[36]=_,N[37]=E):E=N[37],N[38]!==O||N[39]!==E?(T=(0,t.jsx)("button",{className:"dialog-close",onClick:O,...A,children:E}),N[38]=O,N[39]=E,N[40]=T):T=N[40],N[41]!==R?(C=(0,d.getI18nMessage)("close",R),N[41]=R,N[42]=C):C=N[42],N[43]!==O||N[44]!==C?(P=(0,t.jsx)("div",{className:"dialog-f",children:(0,t.jsx)("button",{className:"dialog-f-btn",onClick:O,children:C})}),N[43]=O,N[44]=C,N[45]=P):P=N[45],N[46]!==b||N[47]!==T||N[48]!==P||N[49]!==o||N[50]!==p?(I=(0,t.jsxs)("div",{className:"dialog-content",children:[o,p,b,T,P]}),N[46]=b,N[47]=T,N[48]=P,N[49]=o,N[50]=p,N[51]=I):I=N[51],I}var C=e.i(551956),P=e.i(405506),I=e.i(778497);function N(e,t,i){let r=new URLSearchParams({userId:String(t),popup:e});return void 0!==i&&r.set("contentId",String(i)),fetch(`/api/popups/storeViewedPopup?${r.toString()}`,{method:"POST"}).then(t=>(t.ok||(0,I.logError)(`storeViewedPopups failed: popup=${e} contentId=${i} status=${t.status}`),t))}function k(e,t,i){N(e,t,i).catch(t=>{let r=t instanceof Error?t.message:String(t);(0,I.logError)(`storeViewedPopups failed: popup=${e} contentId=${i} ${r}`)})}function R(e){return e.json()}e.s(["Popup",0,function(e){let l,u,c,d=(0,i.c)(24),{siteSettings:f,lang:h}=e,m=(0,r.usePathname)(),y=(0,r.useSearchParams)(),{sessionStatus:v}=(0,o.useSyncExternalStore)(P.sessionStore.subscribe,P.sessionStore.getSnapshot,P.sessionStore.getServerSnapshot),[S,b]=(0,o.useState)(),[x,I]=(0,o.useState)(),[U,O]=(0,o.useState)(!1),[j,M]=(0,o.useState)(!1),[_,B]=(0,o.useState)(),[L,q]=(0,o.useState)(),[D,F]=(0,o.useState)(!1),{mutate:V}=(0,a.useStaticStore)(s.STORE_KEYS.popup),{data:$}=(0,a.useStaticStore)(s.STORE_KEYS.isMissionRegistered),[K,Y]=(0,o.useState)(0);d[0]!==U||d[1]!==j||d[2]!==$||d[3]!==x||d[4]!==h||d[5]!==m||d[6]!==S||d[7]!==K||d[8]!==D||d[9]!==v||d[10]!==V||d[11]!==f?(l=()=>{let e,i;if("authenticated"===v&&!U||"unauthenticated"===v&&U){b(void 0),I(void 0),M(!1),O("authenticated"===v);return}if("loading"!==v&&!0!==x){if(("authenticated"===v&&$||"unauthenticated"===v)&&(void 0===x||!j)){I(!0);let e=(0,g.getPopupNoShowCookie)("noShowNext"),t="authenticated"===v?"":(0,g.getPopupNoShowCookie)("popupInfo");fetch(`/api/popups?noShowNext=${e}${t&&`&popupInfo=${t}`}`).then(R).then(e=>{e&&e.topPopup&&(b(e.topPopup),I(!1),Y(Date.now()),j||M(!0))}).catch(()=>{I(!1),Y(Date.now()),j||M(!0)});return}if(S){if(S.agreementTermPopup)i=s.POPUP_TYPES.agreement,e=(0,t.jsx)(p,{lang:h,date:S.agreementTermPopup.agreementVersion||"",url:S.agreementTermPopup.termUrl||"",onAgree:()=>S.userId?N(s.POPUP_TYPES.agreement,S.userId).then(()=>{delete S.agreementTermPopup,b(structuredClone(S))}):Promise.resolve().then(()=>{delete S.agreementTermPopup,b(structuredClone(S))}),siteSettings:f});else if((!C.GLOBALS.IS_GLOBAL||(0,g.getFirstAccessAgeVerifyCookie)())&&"/"===m){if(C.GLOBALS.HAS_MISSION&&S.missionPopup&&!1===S.missionPopup.isAlreadyShown&&S.missionPopup.userMissionItems
1Model){i=s.POPUP_TYPES.mission,e=(0,t.jsx)(A,{missions:S.missionPopup.userMissionItemsModel,lang:h});let r=structuredClone(S);r.missionPopup&&(r.missionPopup.isAlreadyShown=!0),b(r),S.userId&&k(i,S.userId)}else if(S.waitFreeChargeCompletePopup?.length){let r=S.waitFreeChargeCompletePopup[0];i=s.POPUP_TYPES.waitfree,e=(0,t.jsx)(E,{content:r,lang:h}),S.waitFreeChargeCompletePopup.shift(),b(structuredClone(S)),S.userId&&k(i,S.userId)}else if(S.newArticlePopup?.length){let r=S.newArticlePopup[0];i=s.POPUP_TYPES.newarticle,e=(0,t.jsx)(T,{content:r,lang:h}),S.newArticlePopup.shift(),b(structuredClone(S)),S.userId&&r.userPopupNewArticleId&&k(i,S.userId,r.userPopupNewArticleId)}else if(S.campaignPopup?.length){let r=S.campaignPopup[0];i=s.POPUP_TYPES.campaign,e=(0,t.jsx)(w,{imageId:r.contentPopupBannerId,imageUrl:r.image.url,linkUrl:r.destinationUrl,imageWidth:r.image.width||1200,imageHeight:r.image.height||1600,sessionStatus:v,lang:h}),S.campaignPopup.shift(),b(structuredClone(S)),S.userId&&r.contentPopupBannerId?k(i,S.userId,r.contentPopupBannerId):r.contentPopupBannerId&&(0,g.setPopupNoShowCookie)("popupInfo",String(r.contentPopupBannerId))}else if(S.recommendationPopup){i=s.POPUP_TYPES.recommend,S.userId&&S.recommendationPopup.articleId&&k(i,S.userId,S.recommendationPopup.articleId);let e=structuredClone(S);delete e.recommendationPopup,b(e)}}}e?(B(e),F(D),q(i),setTimeout(()=>{V(!0)},500)):"/"===m&&K&&Date.now()-K>3e5&&I(void 0)}},d[0]=U,d[1]=j,d[2]=$,d[3]=x,d[4]=h,d[5]=m,d[6]=S,d[7]=K,d[8]=D,d[9]=v,d[10]=V,d[11]=f,d[12]=l):l=d[12],d[13]!==$||d[14]!==x||d[15]!==m||d[16]!==y||d[17]!==v?(u=[m,y,x,v,$],d[13]=$,d[14]=x,d[15]=m,d[16]=y,d[17]=v,d[18]=u):u=d[18],(0,o.useEffect)(l,u);let z="mode-"+L;return d[19]!==_||d[20]!==h||d[21]!==D||d[22]!==z?(c=(0,t.jsx)(n.default,{storeKey:s.STORE_KEYS.popup,preventClose:D,className:z,lang:h,children:_}),d[19]=_,d[20]=h,d[21]=D,d[22]=z,d[23]=c):c=d[23],c}],712373)},681529,e=>{"use strict";var t=e.i(843476),i=e.i(500932),r=e.i(271645),n=e.i(856437),s=e.i(228986),o=e.i(37607),a=e.i(288631),l=e.i(778497),u=e.i(405506),c=e.i(618566),d=e.i(975157);function f(){window.location.reload()}e.s(["PopupRequireEmailConfirm",0,function(e){let p,h=(0,i.c)(24),{lang:m}=e,{sessionStatus:g}=(0,r.useSyncExternalStore)(u.sessionStore.subscribe,u.sessionStore.getSnapshot,u.sessionStore.getServerSnapshot);(0,o.useStaticStore)(s.STORE_KEYS.requireMailConfirmPopup);let{userInfo:y}=(0,o.useUserInfo)("authenticated"===g),[v,w]=(0,r.useState)(!1),[S,b]=(0,r.useState)(!1),{pushToast:A}=(0,o.useToast)(),x=(0,c.usePathname)();h[0]!==x||h[1]!==A?(p=()=>{b(!0),fetch("/api/user/sendVerifyMail",{method:"POST"}).then(e=>{200===e.status?(w(!0),(0,d.setVerifyMailRedirectCookie)(x)):A("確認メールの送信に失敗しました。時間をおいて再度お試しください",{type:"error"}),b(!1)}).catch(e=>{A("サーバに問題が発生しています。時間をおいて再度お試しください",{type:"error"}),(0,l.logError)("server error: update email"),b(!1)})},h[0]=x,h[1]=A,h[2]=p):p=h[2];let E=p;if("authenticated"===g&&y&&!y?.isMailAddressVerified){let e,i,r,o,l,u,c,d;return h[3]!==m?(e=(0,t.jsx)(a.RentalOrBuy,{lang:m}),h[3]=m,h[4]=e):e=h[4],h[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("br",{}),h[5]=i):i=h[5],h[6]!==e?(r=(0,t.jsxs)("p",{className:"dialog-h",children:[e,"するには",i,"メールアドレスの認証が必要です"]}),h[6]=e,h[7]=r):r=h[7],h[8]!==y.mailAddress?(o=(0,t.jsx)("input",{type:"text",className:"form-input-text mode-margin-bottom",readOnly:!0,value:y.mailAddress}),h[8]=y.mailAddress,h[9]=o):o=h[9],h[10]!==v?(l=v&&(0,t.jsxs)("p",{className:"form-result mode-ok",children:["確認メールを送信しました。メールボックスをご確認ください。確認が済みましたこの画面を",(0,t.jsx)("a",{className:"form-result-link",onClick:f,children:"リロード"}),"ください"]}),h[10]=v,h[11]=l):l=h[11],h[12]!==E||h[13]!==v||h[14]!==S?(u=!v&&(0,t.jsx)("button",{className:"form-btn mode-submit",type:"button",onClick:E,disabled:S,children:"認証する"}),h[12]=E,h[13]=v,h[14]=S,h[15]=u):u=h[15],h[16]!==o||h[17]!==l||h[18]!==u?(c=(0,t.jsxs)("div",{className:"dialog-main",children:[o,l,u]}),h[16]=o,h[17]=l,h[18]=u,h[19]=c):c=h[19],h[20]!==m||h[21]!==r||h[22]!==c?(d=(0,t.jsxs)(n.default,{storeKey:s.STORE_KEYS.requireMailConfirmPopup,
1className:"mode-req-mailconfirm",preventClose:!0,lang:m,children:[r,c]}),h[20]=m,h[21]=r,h[22]=c,h[23]=d):d=h[23],d}}])},228961,e=>{"use strict";var t=e.i(843476),i=e.i(500932),r=e.i(271645),n=e.i(856437),s=e.i(228986),o=e.i(657688),a=e.i(36508),l=e.i(30132),u=e.i(37607),c=e.i(405506);e.s(["PopupRequireSignin",0,function(e){let d=(0,i.c)(19),{lang:f}=e,{sessionStatus:p}=(0,r.useSyncExternalStore)(c.sessionStore.subscribe,c.sessionStore.getSnapshot,c.sessionStore.getServerSnapshot),{mutate:h}=(0,u.useStaticStore)(s.STORE_KEYS.requireSigninPopup);if("unauthenticated"===p){let e,i,r,u,c,p,m,g,y;return d[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("p",{className:"dialog-h",children:["このエピソードを読むには",(0,t.jsx)("br",{}),"アカウント登録が必要です"]}),d[0]=e):e=d[0],d[1]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("figure",{className:"dialog-main-fig",children:(0,t.jsx)(o.default,{className:"dialog-main-img",src:"/images/popup/register_img_popup.svg",alt:"",width:"327",height:"213"})}),d[1]=i):i=d[1],d[2]!==h?(r=()=>{h(!1)},d[2]=h,d[3]=r):r=d[3],d[4]!==f||d[5]!==r?(u=(0,t.jsx)(a.SignupLink,{className:"dialog-btn mode-primary",onClick:r,lang:f,children:"無料登録する"}),d[4]=f,d[5]=r,d[6]=u):u=d[6],d[7]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("span",{className:"dialog-main-devider",children:(0,t.jsx)("span",{className:"dialog-main-devider-text",children:"登録済みなら"})}),d[7]=c):c=d[7],d[8]!==h?(p=()=>{h(!1)},d[8]=h,d[9]=p):p=d[9],d[10]!==f||d[11]!==p?(m=(0,t.jsx)(l.SigninLink,{className:"dialog-btn mode-secondary",onClick:p,lang:f,children:"ログイン"}),d[10]=f,d[11]=p,d[12]=m):m=d[12],d[13]!==u||d[14]!==m?(g=(0,t.jsxs)("div",{className:"dialog-main",children:[i,(0,t.jsxs)("div",{className:"dialog-btns",children:[u,c,m]})]}),d[13]=u,d[14]=m,d[15]=g):g=d[15],d[16]!==f||d[17]!==g?(y=(0,t.jsxs)(n.default,{storeKey:s.STORE_KEYS.requireSigninPopup,className:"mode-req-signin",lang:f,children:[e,g]}),d[16]=f,d[17]=g,d[18]=y):y=d[18],y}}])},467034,(e,t,i)=>{var r={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),i=t[0],r=t[1];return(i+r)*3/4-r},t.toByteArray=function(e){var t,i,s=l(e),o=s[0],a=s[1],u=new n((o+a)*3/4-a),c=0,d=a>0?o-4:o;for(i=0;i<d;i+=4)t=r[e.charCodeAt(i)]<<18|r[e.charCodeAt(i+1)]<<12|r[e.charCodeAt(i+2)]<<6|r[e.charCodeAt(i+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===a&&(t=r[e.charCodeAt(i)]<<2|r[e.charCodeAt(i+1)]>>4,u[c++]=255&t),1===a&&(t=r[e.charCodeAt(i)]<<10|r[e.charCodeAt(i+1)]<<4|r[e.charCodeAt(i+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,n=r%3,s=[],o=0,a=r-n;o<a;o+=16383)s.push(function(e,t,r){for(var n,s=[],o=t;o<r;o+=3)n=(e[o]<<16&0xff0000)+(e[o+1]<<8&65280)+(255&e[o+2]),s.push(i[n>>18&63]+i[n>>12&63]+i[n>>6&63]+i[63&n]);return s.join("")}(e,o,o+16383>a?a:o+16383));return 1===n?s.push(i[(t=e[r-1])>>2]+i[t<<4&63]+"=="):2===n&&s.push(i[(t=(e[r-2]<<8)+e[r-1])>>10]+i[t>>4&63]+i[t<<2&63]+"="),s.join("")};for(var i=[],r=[],n="u">typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=s.length;o<a;++o)i[o]=s[o],r[s.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");-1===i&&(i=t);var r=i===t?0:4-i%4;return[i,r]}r[45]=62,r[95]=63},72:function(e,t,i){"use strict";var r=i(675),n=i(783),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,i){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,i)}function l(e,t,i){if("string"==typeof e){var r=e,n=t;if(("string"!=typeof n||""===n)&&(n="utf8"),!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);var s=0|p(r,n),l=o(s),u=l.write(r,n);return u!==s&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(N(e,ArrayBuffer)||e&&N(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(N(e,SharedArrayBuffer)||e&&N(e.buffer,SharedArrayBuffer)))return function(e,t,i){var r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(i||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,t):new Uint8Array(e,t,i),a.prototype),r}(e,t,i);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var c=e.valueOf&&e.valueOf();if(null!=c&&c!==e)return a.from(c,t,i);var h=function(e){if(a.isBuffer(e)){var t=0|f(e.length),i=o(t);return 0===i.length||e.copy(i,0,0,t),i}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?o(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(h)return h;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 16,509 bytes, line 1
1if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),o(e<0?0:0|f(e))}function d(e){for(var t=e.length<0?0:0|f(e.length),i=o(t),r=0;r<t;r+=1)i[r]=255&e[r];return i}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!a.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,i){return l(e,t,i)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,i){return(u(e),e<=0)?o(e):void 0!==t?"string"==typeof i?o(e).fill(t,i):o(e).fill(t):o(e)},a.allocUnsafe=function(e){return c(e)},a.allocUnsafeSlow=function(e){return c(e)};function f(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||N(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var i=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===i)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return T(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return P(e).length;default:if(n)return r?-1:T(e).length;t=(""+t).toLowerCase(),n=!0}}function h(e,t,i){var n,s,o,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,i){var r=e.length;(!t||t<0)&&(t=0),(!i||i<0||i>r)&&(i=r);for(var n="",s=t;s<i;++s)n+=k[e[s]];return n}(this,t,i);case"utf8":case"utf-8":return v(this,t,i);case"ascii":return function(e,t,i){var r="";i=Math.min(e.length,i);for(var n=t;n<i;++n)r+=String.fromCharCode(127&e[n]);return r}(this,t,i);case"latin1":case"binary":return function(e,t,i){var r="";i=Math.min(e.length,i);for(var n=t;n<i;++n)r+=String.fromCharCode(e[n]);return r}(this,t,i);case"base64":return n=this,s=t,o=i,0===s&&o===n.length?r.fromByteArray(n):r.fromByteArray(n.slice(s,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,i){for(var r=e.slice(t,i),n="",s=0;s<r.length;s+=2)n+=String.fromCharCode(r[s]+256*r[s+1]);return n}(this,t,i);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function m(e,t,i){var r=e[t];e[t]=e[i],e[i]=r}function g(e,t,i,r,n){var s;if(0===e.length)return -1;if("string"==typeof i?(r=i,i=0):i>0x7fffffff?i=0x7fffffff:i<-0x80000000&&(i=-0x80000000),(s=i*=1)!=s&&(i=n?0:e.length-1),i<0&&(i=e.length+i),i>=e.length)if(n)return -1;else i=e.length-1;else if(i<0)if(!n)return -1;else i=0;if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:y(e,t,i,r,n);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(n)return Uint8Array.prototype.indexOf.call(e,t,i);else return Uint8Array.prototype.lastIndexOf.call(e,t,i);return y(e,[t],i,r,n)}throw TypeError("val must be string, number or Buffer")}function y(e,t,i,r,n){var s,o=1,a=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;o=2,a/=2,l/=2,i/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){var c=-1;for(s=i;s<a;s++)if(u(e,s)===u(t,-1===c?0:s-c)){if(-1===c&&(c=s),s-c+1===l)return c*o}else -1!==c&&(s-=s-c),c=-1}else for(i+l>a&&(i=a-l),s=i;s>=0;s--){for(var d=!0,f=0;f<l;f++)if(u(e,s+f)!==u(t,f)){d=!1;break}if(d)return s}return -1}a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(N(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),N(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var i=e.length,r=t.length,n=0,s=Math.min(i,r);n<s;++n)if(e[n]!==t[n]){i=e[n],r=t[n];break}return i<r?-1:+(r<i)},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(i=0,t=0;i<e.length;++i)t+=e[i].length;var i,r=a.allocUnsafe(t),n=0;for(i=0;i<e.length;++i){var s=e[i];if(N(s,Uint8Array)&&(s=a.from(s)),!a.isBuffer(s))throw TypeError('"list" argument must be an Array of Buffers');s.copy(r,n),n+=s.length}return r},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):h.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",i=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(e+=" ... "),"<Buffer "+e+">"},s&&(a.prototype[s]=a.prototype.inspect),a.prototype.compare=function(e,t,i,r,n){if(N(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),t<0||i>e.length||r<0||n>this.length)throw RangeError("out of range index");if(r>=n&&t>=i)return 0;if(r>=n)return -1;if(t>=i)return 1;if(t>>>=0,i>>>=0,r>>>=0,n>>>=0,this===e)return 0;for(var s=n-r,o=i-t,l=Math.min(s,o),u=this.slice(r,n),c=e.slice(t,i),d=0;d<l;++d)if(u[d]!==c[d]){s=u[d],o=c[d];break}return s<o?-1:+(o<s)},a.prototype.includes=function(e,t,i){return -1!==this.indexOf(e,t,i)},a.prototype.indexOf=function(e,t,i){return g(this,e,t,i,!0)},a.prototype.lastIndexOf=function(e,t,i){return g(this,e,t,i,!1)};function v(e,t,i){i=Math.min(e.length,i);for(var r=[],n=t;n<i;){var s,o,a,l,u=e[n],c=null,d=u>239?4:u>223?3:u>191?2:1;if(n+d<=i)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(s=e[n+1]))==128&&(l=(31&u)<<6|63&s)>127&&(c=l);break;case 3:s=e[n+1],o=e[n+2],(192&s)==128&&(192&o)==128&&(l=(15&u)<<12|(63&s)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:s=e[n+1],o=e[n+2],a=e[n+3],(192&s)==128&&(192&o)==128&&(192&a)==128&&(l=(15&u)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),n+=d}var f=r,p=f.length;if(p<=4096)return String.fromCharCode.apply(String,f);for(var h="",m=0;m<p;)h+=String.fromCharCode.apply(String,f.slice(m,m+=4096));return h}function w(e,t,i){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>i)throw RangeError("Trying to access beyond buffer length")}function S(e,t,i,r,n,s){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<s)throw RangeError('"value" argument is out of bounds');if(i+r>e.length)throw RangeError("Index out of range")}function b(e,t,i,r,n,s){if(i+r>e.length||i<0)throw RangeError("Index out of range")}function A(e,t,i,r,s){return t*=1,i>>>=0,s||b(e,t,i,4,34028234663852886e22,-34028234663852886e22),n.write(e,t,i,r,23,4),i+4}function x(e,t,i,r,s){return t*=1,i>>>=0,s||b(e,t,i,8,17976931348623157e292,-17976931348623157e292),n.write(e,t,i,r,52,8),i+8}a.prototype.write=function(e,t,i,r){if(void 0===t)r="utf8",i=this.length,t=0;else if(void 0===i&&"string"==typeof t)r=t,i=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(i)?(i>>>=0,void 0===r&&(r="utf8")):(r=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n,s,o,a,l,u,c,d,f=this.length-t;if((void 0===i||i>f)&&(i=f),e.length>0&&(i<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var p=!1;;)switch(r){case"hex":return function(e,t,i,r){i=Number(i)||0;var n=e.length-i;r?(r=Number(r))>n&&(r=n):r=n;var s=t.length;r>s/2&&(r=s/2);for(var o=0;o<r;++o){var a,l=parseInt(t.substr(2*o,2),16);if((a=l)!=a)break;e[i+o]=l}return o}(this,e,t,i);case"utf8":case"utf-8":return n=t,s=i,I(T(e,this.length-n),this,n,s);case"ascii":return o=t,a=i,I(C(e),this,o,a);case"latin1":case"binary":return function(e,t,i,r){return I(C(t),e,i,r)}(this,e,t,i);case"base64":return l=t,u=i,I(P(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=i,I(function(e,t){for(var i,r,n=[],s=0;s<e.length&&!((t-=2)<0);++s)r=(i=e.charCodeAt(s))>>8,n.push(i%256),n.push(r);return n}(e,this.length-c),this,c,d);default:if(p)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var i=this.length;e=~~e,t=void 0===t?i:~~t,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),t<0?(t+=i)<0&&(t=0):t>i&&(t=i),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,a.prototype),r},a.prototype.readUIntLE=function(e,t,i){e>>>=0,t>>>=0,i||w(e,t,this.length);for(var r=this[e],n=1,s=0;++s<t&&(n*=256);)r+=this[e+s]*n;return r},a.prototype.readUIntBE=function(e,t,i){e>>>=0,t>>>=0,i||w(e,t,this.length);for(var r=this[e+--t],n=1;t>0&&(n*=256);)r+=this[e+--t]*n;return r},a.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,i){e>>>=0,t>>>=0,i||w(e,t,this.length);for(var r=this[e],n=1,s=0;++s<t&&(n*=256);)r+=this[e+s]*n;return r>=(n*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,i){e>>>=0,t>>>=0,i||w(e,t,this.length);for(var r=t,n=1,s=this[e+--r];r>0&&(n*=256);)s+=this[e+--r]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},a.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);var i=this[e]|this[e+1]<<8;return 32768&i?0xffff0000|i:i},a.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?0xffff0000|i:i},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),n.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),n.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),n.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),n.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,i,r){if(e*=1,t>>>=0,i>>>=0,!r){var n=Math.pow(2,8*i)-1;S(this,e,t,i,n,0)}var s=1,o=0;for(this[t]=255&e;++o<i&&(s*=256);)this[t+o]=e/s&255;return t+i},a.prototype.writeUIntBE=function(e,t,i,r){if(e*=1,t>>>=0,i>>>=0,!r){var n=Math.pow(2,8*i)-1;S(this,e,t,i,n,0)}var s=i-1,o=1;for(this[t+s]=255&e;--s>=0&&(o*=256);)this[t+s]=e/o&255;return t+i},a.prototype.writeUInt8=function(e,t,i){return e*=1,t>>>=0,i||S(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,i){return e*=1,t>>>=0,i||S(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,i){return e*=1,t>>>=0,i||S(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,i){return e*=1,t>>>=0,i||S(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,i){return e*=1,t>>>=0,i||S(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,i,r){if(e*=1,t>>>=0,!r){var n=Math.pow(2,8*i-1);S(this,e,t,i,n-1,-n)}var s=0,o=1,a=0;for(this[t]=255&e;++s<i&&(o*=256);)e<0&&0===a&&0!==this[t+s-1]&&(a=1),this[t+s]=(e/o|0)-a&255;return t+i},a.prototype.writeIntBE=function(e,t,i,r){if(e*=1,t>>>=0,!r){var n=Math.pow(2,8*i-1);S(this,e,t,i,n-1,-n)}var s=i-1,o=1,a=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===a&&0!==this[t+s+1]&&(a=1),this[t+s]=(e/o|0)-a&255;return t+i},a.prototype.writeInt8=function(e,t,i){return e*=1,t>>>=0,i||S(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,i){return e*=1,t>>>=0,i||S(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,i){return e*=1,t>>>=0,i||S(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,i){return e*=1,t>>>=0,i||S(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,i){return e*=1,t>>>=0,i||S(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,i){return A(this,e,t,!0,i)},a.prototype.writeFloatBE=function(e,t,i){return A(this,e,t,!1,i)},a.prototype.writeDoubleLE=function(e,t,i){return x(this,e,t,!0,i)},a.prototype.writeDoubleBE=function(e,t,i){return x(this,e,t,!1,i)},a.prototype.copy=function(e,t,i,r){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(i||(i=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<i&&(r=i),r===i||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-i&&(r=e.length-t+i);var n=r-i;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,i,r);else if(this===e&&i<t&&t<r)for(var s=n-1;s>=0;--s)e[s+t]=this[s+i];else Uint8Array.prototype.set.call(e,this.subarray(i,r),t);return n},a.prototype.fill=function(e,t,i,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,i=this.length):"string"==typeof i&&(r=i,i=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var n,s=e.charCodeAt(0);("utf8"===r&&s<128||"latin1"===r)&&(e=s)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<i)throw RangeError("Out of range index");if(i<=t)return this;if(t>>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(n=t;n<i;++n)this[n]=e;else{var o=a.isBuffer(e)?e:a.from(e,r),l=o.length;
1if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<i-t;++n)this[n+t]=o[n%l]}return this};var E=/[^+/0-9A-Za-z-_]/g;function T(e,t){t=t||1/0;for(var i,r=e.length,n=null,s=[],o=0;o<r;++o){if((i=e.charCodeAt(o))>55295&&i<57344){if(!n){if(i>56319||o+1===r){(t-=3)>-1&&s.push(239,191,189);continue}n=i;continue}if(i<56320){(t-=3)>-1&&s.push(239,191,189),n=i;continue}i=(n-55296<<10|i-56320)+65536}else n&&(t-=3)>-1&&s.push(239,191,189);if(n=null,i<128){if((t-=1)<0)break;s.push(i)}else if(i<2048){if((t-=2)<0)break;s.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;s.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((t-=4)<0)break;s.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return s}function C(e){for(var t=[],i=0;i<e.length;++i)t.push(255&e.charCodeAt(i));return t}function P(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(E,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,i,r){for(var n=0;n<r&&!(n+i>=t.length)&&!(n>=e.length);++n)t[n+i]=e[n];return n}function N(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var k=function(){for(var e="0123456789abcdef",t=Array(256),i=0;i<16;++i)for(var r=16*i,n=0;n<16;++n)t[r+n]=e[i]+e[n];return t}()},783:function(e,t){t.read=function(e,t,i,r,n){var s,o,a=8*n-r-1,l=(1<<a)-1,u=l>>1,c=-7,d=i?n-1:0,f=i?-1:1,p=e[t+d];for(d+=f,s=p&(1<<-c)-1,p>>=-c,c+=a;c>0;s=256*s+e[t+d],d+=f,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=r;c>0;o=256*o+e[t+d],d+=f,c-=8);if(0===s)s=1-u;else{if(s===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),s-=u}return(p?-1:1)*o*Math.pow(2,s-r)},t.write=function(e,t,i,r,n,s){var o,a,l,u=8*s-n-1,c=(1<<u)-1,d=c>>1,f=5960464477539062e-23*(23===n),p=r?0:s-1,h=r?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=c?(a=0,o=c):o+d>=1?(a=(t*l-1)*Math.pow(2,n),o+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,n),o=0));n>=8;e[i+p]=255&a,p+=h,a/=256,n-=8);for(o=o<<n|a,u+=n;u>0;e[i+p]=255&o,p+=h,o/=256,u-=8);e[i+p-h]|=128*m}}},n={};function s(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}},o=!0;try{r[e](i,i.exports,s),o=!1}finally{o&&delete n[e]}return i.exports}s.ab="/ROOT/node_modules/next/dist/compiled/buffer/",t.exports=s(72)},542759,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return{id:"credentials",name:"Credentials",type:"credentials",credentials:{},authorize:()=>null,options:e}}},728074,e=>{"use strict";let t;var i=e.i(843476),r=e.i(500932),n=e.i(405506),s=e.i(975157),o=e.i(37607),a=e.i(217255),l=e.i(271645),u=e.i(247167),c=e.i(467034),d=e.i(542759),f=e.i(778497),p=e.i(551956);let h="http://localhost:8083".replace(/\/+$/,""),m=new class{configuration;constructor(e={}){this.configuration=e}set config(e){this.configuration=e}get basePath(){return null!=this.configuration.basePath?this.configuration.basePath:h}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||function e(t,i=""){return Object.keys(t).map(r=>(function t(i,r,n=""){let s=n+(n.length?`[${i}]`:i);if(r instanceof Array){let e=r.map(e=>encodeURIComponent(String(e))).join(`&${encodeURIComponent(s)}=`);return`${encodeURIComponent(s)}=${e}`}return r instanceof Set?t(i,Array.from(r),n):r instanceof Date?`${encodeURIComponent(s)}=${encodeURIComponent(r.toISOString())}`:r instanceof Object?e(r,s):`${encodeURIComponent(s)}=${encodeURIComponent(String(r))}`})(r,t[r],i)).filter(e=>e.length>0).join("&")}}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){let e=this.configuration.apiKey;if(e)return"function"==typeof e?e:()=>e}get accessToken(){let e=this.configuration.accessToken;if(e)return"function"==typeof e?e:async()=>e}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}};class g{configuration;static jsonRegex=RegExp("^(:?application/json|[^;/ 	]+/[^;/ 	]+[+]json)[ 	]*(:?;.*)?$","i");middleware;constructor(e=m){this.configuration=e,this.fetchApi=async(e,t)=>{let i,r={url:e,init:t};for(let e of this.middleware)e.pre&&(r=await e.pre({fetch:this.fetchApi,...r})||r);try{i=await (this.configuration.fetchApi||fetch)(r.url,r.init)}catch(e){for(let t of this.middleware)t.onError&&(i=await t.onError({fetch:this.fetchApi,url:r.url,init:r.
1init,error:e,response:i?i.clone():void 0})||i);if(void 0===i)if(e instanceof Error)throw new v(e,"The request failed and the interceptors did not return an alternative response");else throw e}for(let e of this.middleware)e.post&&(i=await e.post({fetch:this.fetchApi,url:r.url,init:r.init,response:i.clone()})||i);return i},this.middleware=e.middleware}withMiddleware(...e){let t=this.clone();return t.middleware=t.middleware.concat(...e),t}withPreMiddleware(...e){let t=e.map(e=>({pre:e}));return this.withMiddleware(...t)}withPostMiddleware(...e){let t=e.map(e=>({post:e}));return this.withMiddleware(...t)}isJsonMime(e){return!!e&&g.jsonRegex.test(e)}async request(e,t){let{url:i,init:r}=await this.createFetchParams(e,t),n=await this.fetchApi(i,r);if(n&&n.status>=200&&n.status<300)return n;throw new y(n,"Response returned an error code")}async createFetchParams(e,t){var i,r;let n,s=this.configuration.basePath+e.path;void 0!==e.query&&0!==Object.keys(e.query).length&&(s+="?"+this.configuration.queryParamsStringify(e.query));let o=Object.assign({},this.configuration.headers,e.headers);Object.keys(o).forEach(e=>void 0===o[e]?delete o[e]:{});let a={method:e.method,headers:o,body:e.body,credentials:this.configuration.credentials},l={...a,...await ("function"==typeof t?t:async()=>t)({init:a,context:e})};return i=l.body,n="u">typeof FormData&&i instanceof FormData||l.body instanceof URLSearchParams||(r=l.body,"u">typeof Blob&&r instanceof Blob)?l.body:this.isJsonMime(o["Content-Type"])?JSON.stringify(l.body):l.body,{url:s,init:{...l,body:n}}}fetchApi;clone(){let e=new this.constructor(this.configuration);return e.middleware=this.middleware.slice(),e}}class y extends Error{response;name;constructor(e,t){super(t),this.response=e,this.name="ResponseError"}}class v extends Error{cause;name;constructor(e,t){super(t),this.cause=e,this.name="FetchError"}}class w extends Error{field;name;constructor(e,t){super(t),this.field=e,this.name="RequiredError"}}function S(e,t){return null!=e[t]}class b{raw;transformer;constructor(e,t=e=>e){this.raw=e,this.transformer=t}async value(){return this.transformer(await this.raw.json())}}function A(e){var t;return null==(t=e)?t:{title:S(t,"title")?t.title:void 0,endDate:S(t,"endDate")?t.endDate:void 0,achievementCount:S(t,"achievementCount")?t.achievementCount:void 0,targetAchievementCount:S(t,"targetAchievementCount")?t.targetAchievementCount:void 0,isAchieved:S(t,"isAchieved")?t.isAchieved:void 0,isRecommendedMission:S(t,"isRecommendedMission")?t.isRecommendedMission:void 0,achievedDate:S(t,"achievedDate")?t.achievedDate:void 0,status:S(t,"status")?t.status:void 0,promotionId:S(t,"promotionId")?t.promotionId:void 0,rewardTicketNumber:S(t,"rewardTicketNumber")?t.rewardTicketNumber:void 0,linkDestination:S(t,"linkDestination")?t.linkDestination:void 0}}function x(e){var t;return null==(t=e)?t:{id:t.id,planType:S(t,"planType")?t.planType:void 0,planName:t.planName,planDescription:S(t,"planDescription")?t.planDescription:void 0,durationMonths:t.durationMonths,productId:t.productId,isActive:t.isActive}}function E(e){var t;return null==(t=e)?t:{episodeId:t.episodeId,hasAccess:t.hasAccess,isDisableBonus:S(t,"isDisableBonus")?t.isDisableBonus:void 0,isCampaign:t.isCampaign,accessType:t.accessType,timeRemainingInSeconds:S(t,"timeRemainingInSeconds")?t.timeRemainingInSeconds:void 0,price:S(t,"price")?t.price:void 0,priceUnit:S(t,"priceUnit")?t.priceUnit:void 0,productId:S(t,"productId")?t.productId:void 0,read:t.read,isSubscription:t.isSubscription}}function T(e){var t;return null==(t=e)?t:{readingCompletedEpisodeIndex:S(t,"readingCompletedEpisodeIndex")?t.readingCompletedEpisodeIndex:void 0,readingCompletedNextEpisodeId:S(t,"readingCompletedNextEpisodeId")?t.readingCompletedNextEpisodeId:void 0}}function C(e){var t;return null==(t=e)?t:{id:t.id,plan:x(t.plan),status:t.status,startedAt:new Date(t.startedAt),expiresAt:new Date(t.expiresAt),autoRenew:t.autoRenew,isTrialPeriod:t.isTrialPeriod,trialStartedAt:S(t,"trialStartedAt")?null===t.trialStartedAt?null:new Date(t.trialStartedAt):void 0,trialExpiresAt:S(t,"trialExpiresAt")?null===t.trialExpiresAt?null:new Date(t.trialExpiresAt):void 0,hasUsedTrial:t.hasUsedTrial}}var P=e.i(752687);e.i(289122),e.i(955695);var I=e.i(727930),N=e.i(972978),k=e.i(478543),R=e.i(924936),U=e.i(784636),O=e.i(166944),j=e.i(161050),M=e.i(508016),_=e.i(184410),B=e.i(742221),L=e.i(587446),q=e.i(894740),D=e.i(120006),F=e.i(53280),V=e.i(16880),$=e.i(410458);let K=(t=new P.Configuration({basePath:"https://plus-api.comici.jp",headers:{Authorization:`Bearer ${u.default.env.API_KEY}`},credentials:"include",fetchApi:async(e,t)=>{t?.next?.tags?t.next.tags.includes("all")||t.next.tags.push("all"):t={...t,next:{...t?.next,tags:["all"]}};let i=performance.now(),r=await fetch(e,t),n=performance.now()-i,s="string"==typeof e?e:e instanceof URL?e.href:e.url;if(n>500&&(0,f.logWarn)("API request took too long",{data:{url:s,durationMs:n},status:r.status}),u.default.env.DEBUG_API_CALLS){let e=n<5?"CACHE":"ORIGIN";console.log(`[API ${e}] ${r.status} ${n.toFixed(1)}ms ${s}`)}return r}}),{account:new I.AccountApi(t),accountV2:new class e extends g{async getUserSettingsV2Raw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new w("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling getUserSettingsV2.");let i={};if(void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(i["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(i["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,t=await e("contentApiKey",[]);t&&(i.Authorization=`Bearer ${t}`)}return new b(await this.request({path:"/v2/accounts/settings",method:"GET",headers:i,query:{}},t),e=>{var t;return null==(t=e)?t:{user:function(e){var t;if(null==e)return e;return{id:e.id,displayName:S(e,"displayName")?e.displayName:void 0,link:S(e,"link")?e.link:void 0,image:S(e,"image")?null==(t=e.image)?t:{id:S(t,"id")?t.id:void 0,url:t.url,width:S(t,"width")?t.width:void 0,height:S(t,"height")?t.height:void 0}:void 0,type:S(e,"type")?e.type:void 0,username:e.username}}(t.user),isContentAdmin:S(t,"isContentAdmin")?t.isContentAdmin:void 0,mailAddress:S(t,"mailAddress")?t.mailAddress:void 0,genderType:S(t,"genderType")?t.genderType:void 0,ageYear:S(t,"ageYear")?t.ageYear:void 0,isAppNoticeFavoriteSeriesUpdated:S(t,"isAppNoticeFavoriteSeriesUpdated")?t.isAppNoticeFavoriteSeriesUpdated:void 0,isNoticeFavoriteSeriesUpdated:S(t,"isNoticeFavoriteSeriesUpdated")?t.isNoticeFavoriteSeriesUpdated:void 0,isNoticePostNewsletter:S(t,"isNoticePostNewsletter")?t.isNoticePostNewsletter:void 0,isMailAddressVerified:S(t,"isMailAddressVerified")?t.isMailAddressVerified:void 0,isAppPushNotificationEnabled:S(t,"isAppPushNotificationEnabled")?t.isAppPushNotificationEnabled:void 0,isServiceImprovementConsent:S(t,"isServiceImprovementConsent")?t.isServiceImprovementConsent:void 0,isAgeConsentFilterActivated:S(t,"isAgeConsentFilterActivated")?t.isAgeConsentFilterActivated:void 0}})}async getUserSettingsV2(e,t){let i=await this.getUserSettingsV2Raw(e,t);
1return await i.value()}async updateAccountSettingsV2Raw(e,t){if(null===e.xComiciUserTokenRequired||void 0===e.xComiciUserTokenRequired)throw new w("xComiciUserTokenRequired","Required parameter requestParameters.xComiciUserTokenRequired was null or undefined when calling updateAccountSettingsV2.");if(null===e.userSettingRequestV2Model||void 0===e.userSettingRequestV2Model)throw new w("userSettingRequestV2Model","Required parameter requestParameters.userSettingRequestV2Model was null or undefined when calling updateAccountSettingsV2.");let i={};if(i["Content-Type"]="application/json",void 0!==e.xComiciUserTokenRequired&&null!==e.xComiciUserTokenRequired&&(i["X-Comici-User-Token-Required"]=String(e.xComiciUserTokenRequired)),void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(i["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,t=await e("contentApiKey",[]);t&&(i.Authorization=`Bearer ${t}`)}return new b(await this.request({path:"/v2/accounts/settings",method:"PUT",headers:i,query:{},body:function(e){if(void 0!==e)return null===e?null:{genderType:e.genderType,ageYear:e.ageYear,isAppNoticeFavoriteSeriesUpdated:e.isAppNoticeFavoriteSeriesUpdated,isNoticeFavoriteSeriesUpdated:e.isNoticeFavoriteSeriesUpdated,isNoticePostNewsletter:e.isNoticePostNewsletter,isAppPushNotificationEnabled:e.isAppPushNotificationEnabled,isServiceImprovementConsent:e.isServiceImprovementConsent,isAgeConsentFilterActivated:e.isAgeConsentFilterActivated}}(e.userSettingRequestV2Model)},t),e=>e.map(A))}async updateAccountSettingsV2(e,t){let i=await this.updateAccountSettingsV2Raw(e,t);return await i.value()}async userSignupV2Raw(e,t){if(null===e.userAgent||void 0===e.userAgent)throw new w("userAgent","Required parameter requestParameters.userAgent was null or undefined when calling userSignupV2.");let i={};if(i["Content-Type"]="application/json",void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(i["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),void 0!==e.userAgent&&null!==e.userAgent&&(i["User-Agent"]=String(e.userAgent)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,t=await e("contentApiKey",[]);t&&(i.Authorization=`Bearer ${t}`)}return new b(await this.request({path:"/v2/accounts/signup",method:"POST",headers:i,query:{},body:function(e){if(void 0!==e)return null===e?null:{mailAddress:e.mailAddress,password:e.password,comiciId:e.comiciId,genderType:e.genderType,yearAge:e.yearAge,userType:e.userType,isAgreementChecked:e.isAgreementChecked,isServiceImprovementConsent:e.isServiceImprovementConsent,isNoticePostNewsletter:e.isNoticePostNewsletter,encodeType:e.encodeType,encodeSocialId:e.encodeSocialId}}(e.signupRequestModelV2)},t),e=>{var t;return null==(t=e)?t:{idToken:t.idToken,refreshToken:t.refreshToken,achievedMissionList:t.achievedMissionList.map(A)}})}async userSignupV2(e,t){let i=await this.userSignupV2Raw(e,t);return await i.value()}}(t),achievement:new N.AchievementApi(t),contents:new U.ContentsApi(t),payment:new O.PaymentApi(t),paymentStripe:new B.PaymentStripeApi(t),paymentSbps:new M.PaymentSbpsApi(t),paymentSbpsCallback:new _.PaymentSbpsCallBackApi(t),paymentPayPay:new j.PaymentPayPayApi(t),product:new L.ProductApi(t),site:new q.SiteApi(t),subscription:new class e extends g{async getSeriesPermissionsRaw(e,t){if(null===e.seriesHash||void 0===e.seriesHash)throw new w("seriesHash","Required parameter requestParameters.seriesHash was null or undefined when calling getSeriesPermissions.");let i={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(i["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(i["X-Comici-User-Token"]=String(e.xComiciUserToken)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,t=await e("contentApiKey",[]);t&&(i.Authorization=`Bearer ${t}`)}return new b(await this.request({path:"/v2/series/{series_hash}/permissions".replace("{series_hash}",encodeURIComponent(String(e.seriesHash))),method:"GET",headers:i,query:{}},t),e=>{var t;return null==(t=e)?t:{seriesHash:t.seriesHash,hasActiveSubscription:t.hasActiveSubscription,episodeAccesses:t.episodeAccesses.map(E),episodeReadCompleteInfo:S(t,"episodeReadCompleteInfo")?t.episodeReadCompleteInfo.map(T):void 0}})}
1async getSeriesPermissions(e,t){let i=await this.getSeriesPermissionsRaw(e,t);return await i.value()}async getSeriesSubscriptionPlansRaw(e,t){if(null===e.seriesHash||void 0===e.seriesHash)throw new w("seriesHash","Required parameter requestParameters.seriesHash was null or undefined when calling getSeriesSubscriptionPlans.");let i={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(i["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,t=await e("contentApiKey",[]);t&&(i.Authorization=`Bearer ${t}`)}return new b(await this.request({path:"/v2/series/{series_hash}/subscription/plans".replace("{series_hash}",encodeURIComponent(String(e.seriesHash))),method:"GET",headers:i,query:{}},t),e=>{var t;return null==(t=e)?t:{plans:t.plans.map(x)}})}async getSeriesSubscriptionPlans(e,t){let i=await this.getSeriesSubscriptionPlansRaw(e,t);return await i.value()}async getUserSubscriptionStatusRaw(e,t){if(null===e.xComiciUserToken||void 0===e.xComiciUserToken)throw new w("xComiciUserToken","Required parameter requestParameters.xComiciUserToken was null or undefined when calling getUserSubscriptionStatus.");let i={};void 0!==e.status&&(i.status=e.status);let r={};if(void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(r["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(r["X-Comici-User-Token"]=String(e.xComiciUserToken)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,t=await e("contentApiKey",[]);t&&(r.Authorization=`Bearer ${t}`)}return new b(await this.request({path:"/v2/subscription/status",method:"GET",headers:r,query:i},t),e=>{var t;return null==(t=e)?t:{subscriptions:t.subscriptions.map(C)}})}async getUserSubscriptionStatus(e,t){let i=await this.getUserSubscriptionStatusRaw(e,t);return await i.value()}async postSubscriptionReceiptValidateRaw(e,t){if(null===e.xComiciUserToken||void 0===e.xComiciUserToken)throw new w("xComiciUserToken","Required parameter requestParameters.xComiciUserToken was null or undefined when calling postSubscriptionReceiptValidate.");if(null===e.receiptValidationRequest||void 0===e.receiptValidationRequest)throw new w("receiptValidationRequest","Required parameter requestParameters.receiptValidationRequest was null or undefined when calling postSubscriptionReceiptValidate.");let i={};if(i["Content-Type"]="application/json",void 0!==e.alphaOperationDatetime&&null!==e.alphaOperationDatetime&&(i["alpha-operation-datetime"]=String(e.alphaOperationDatetime)),void 0!==e.xComiciUserToken&&null!==e.xComiciUserToken&&(i["X-Comici-User-Token"]=String(e.xComiciUserToken)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,t=await e("contentApiKey",[]);t&&(i.Authorization=`Bearer ${t}`)}return new b(await this.request({path:"/v2/subscription/receipt/validate",method:"POST",headers:i,query:{},body:function(e){if(void 0!==e)return null===e?null:{platform:e.platform,receiptData:e.receiptData,transactionId:e.transactionId,productId:e.productId,priceAmountMicros:e.priceAmountMicros,priceCurrencyCode:e.priceCurrencyCode}}(e.receiptValidationRequest)},t),e=>(function(e){var t,i;if(null==e)return e;return{success:e.success,subscription:S(e,"subscription")?null==(t=e.subscription)?t:{id:t.id,planId:t.planId,planName:t.planName,status:t.status,startedAt:new Date(t.startedAt),expiresAt:new Date(t.expiresAt),autoRenew:t.autoRenew}:void 0,error:S(e,"error")?null==(i=e.error)?i:{code:i.code,message:i.message,timestamp:new Date(i.timestamp)}:void 0}})(e))}async postSubscriptionReceiptValidate(e,t){let i=await this.postSubscriptionReceiptValidateRaw(e,t);return await i.value()}}(t),tag:new D.TagApi(t),userAction:new F.UserActionApi(t),user:new V.UserApi(t),connect:new k.ConnectApi(t),connectSid:new R.ConnectSIDApi(t),viewer:new $.ViewerApi(t)});function Y(e){let t=e.split(".")[1];if(!t)return null;let i=t.replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(c.Buffer.from(i,"base64").toString())}p.GLOBALS.AUTH_ENDPOINT,(0,d.default)({id:"credentials",name:"ID&pass",credentials:{id:{label:"ユーザー名",type:"text",placeholder:"ä¾
1‹: comici"},password:{label:"パスワード",type:"password"}},async authorize(e,t){try{let i=await K.userAction.postNormalAuth({userAgent:t.headers&&t.headers["user-agent"]||"",normalAuthRequestModel:{identifier:e?.id||"",password:e?.password||""}});if(i){let e=Y(i.idToken);if(e)return{id:e.userId,user:e.userId,expiresIn:e.exp,idToken:i.idToken,refreshToken:i.refreshToken,loginMissions:i.comebackLoginMissions}}}catch(t){if(t instanceof P.ResponseError){let i=t.response,r=await i.json();throw(0,f.logError)("server error. id:"+e?.id),Error(r.status,{cause:t})}t instanceof Error?(0,f.logError)("auth error. id:"+e?.id):console.error(t)}return null}}),(0,d.default)({id:"social",name:"social login",credentials:{idToken:{type:"text"},refreshToken:{type:"text"},loginMissions:{type:"text"}},authorize(e){if(e?.idToken){let t=Y(e.idToken);return{id:t.userId,user:t.userId,expiresIn:t.exp,idToken:e.idToken,refreshToken:e?.refreshToken,loginMissions:JSON.parse(e.loginMissions).missions}}return null}}),u.default.env.NEXTAUTH_SECRET;var z=e.i(160195);function H(e){let t,u,c,d=(0,r.c)(11),{lang:f}=e,{status:p,data:h,update:m}=(0,a.useSession)(),{pushToast:g}=(0,o.useToast)();return d[0]!==f||d[1]!==g||d[2]!==h||d[3]!==p||d[4]!==m?(t=()=>{h?.error&&"RefreshAccessTokenError"===h.error?(0,a.signOut)({redirect:!1}).then(()=>{g((0,z.getI18nMessage)("sessionUpdateFailedPleaseSignInAgain",f),{type:"error"}),(0,s.deleteLoginBonusCookie)()}):(0,n.setSession)({sessionStatus:p,session:h,updateSession:m})},d[0]=f,d[1]=g,d[2]=h,d[3]=p,d[4]=m,d[5]=t):t=d[5],d[6]!==h||d[7]!==p||d[8]!==m?(u=[p,h,m],d[6]=h,d[7]=p,d[8]=m,d[9]=u):u=d[9],(0,l.useEffect)(t,u),d[10]===Symbol.for("react.memo_cache_sentinel")?(c=(0,i.jsx)(i.Fragment,{}),d[10]=c):c=d[10],c}e.s(["SessionStoreComponent",0,function(e){let t,n=(0,r.c)(2),{lang:s}=e;return n[0]!==s?(t=(0,i.jsx)(a.SessionProvider,{refetchOnWindowFocus:!0,refetchInterval:275,refetchWhenOffline:!1,children:(0,i.jsx)(H,{lang:s})}),n[0]=s,n[1]=t):t=n[1],t}],728074)},704660,e=>{"use strict";var t=e.i(500932),i=e.i(271645),r=e.i(885664);function n(e){if(e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return null;let t=e.target;if(!(t instanceof Element))return null;let i=t.closest("a");if(!i||!i.getAttribute("href"))return null;let r=i.getAttribute("target");if(r&&"_self"!==r||i.hasAttribute("download"))return null;let n=new URL(i.href,window.location.href);return n.origin!==window.location.origin||n.href===window.location.href?null:n.href}function s(){return document.addEventListener("click",o,!0),()=>{document.removeEventListener("click",o,!0)}}function o(e){if(!(0,r.isAppUpdateRequired)())return;let t=n(e);t&&(e.preventDefault(),window.location.href=t)}e.s(["AppUpdateReloadGate",0,function(){let e,r=(0,t.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],r[0]=e):e=r[0],(0,i.useEffect)(s,e),null},"resolveInternalNavigationHref",0,n])},958763,e=>{"use strict";var t=e.i(843476),i=e.i(500932),r=e.i(405506),n=e.i(37607),s=e.i(207670),o=e.i(551956),a=e.i(117595),l=e.i(271645);let u="pekopa_target_at_"+o.GLOBALS.CONTENT_ID;e.s(["AdminBar",0,function(e){let o,c,d,f,p,h,m,g,y=(0,i.c)(17),{inAlphaEnv:v}=e,[w,S]=(0,l.useState)(""),{data:b,mutate:A}=(0,n.useAdminMode)(),{sessionStatus:x}=(0,l.useSyncExternalStore)(r.sessionStore.subscribe,r.sessionStore.getSnapshot,r.sessionStore.getServerSnapshot),{userInfo:E}=(0,n.useUserInfo)("authenticated"===x),T=(0,l.useRef)(null);if(y[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{let e=a.default.get(u);e&&S(e.replace("+","T").trim().replace(/:59$/,""))},c=[],y[0]=o,y[1]=c):(o=y[0],c=y[1]),(0,l.useEffect)(o,c),!v&&!E?.isContentAdmin)return null;y[2]===Symbol.for("react.memo_cache_sentinel")?(d=(e,t)=>{let i=T.current?.value;i&&(S(i),t&&(a.default.set(u,i+":59",{expires:7}),location.reload()))},y[2]=d):d=y[2];let C=d;y[3]===Symbol.for("react.memo_cache_sentinel")?(f=e=>{C(e,!0)},y[3]=f):f=y[3];let P=f;y[4]!==w?(p=()=>{w&&(a.default.remove(u),location.reload())},y[4]=w,y[5]=p):p=y[5];let I=p;return y[6]!==w||y[7]!==I||y[8]!==v?(h=v&&(0,t.jsxs)("span",{className:"admin-bar-date",children:["日付 ",(0,t.jsx)("input",{className:"admin-bar-date-input",type:"datetime-local",value:w,ref:T,onCh
1ange:C}),(0,t.jsx)("button",{className:(0,s.default)("admin-bar-btn",!w&&"mode-disabled"),onClick:P,children:"設定"}),(0,t.jsx)("button",{className:(0,s.default)("admin-bar-btn",!w&&"mode-disabled"),onClick:I,children:"リセット"})]}),y[6]=w,y[7]=I,y[8]=v,y[9]=h):h=y[9],y[10]!==b||y[11]!==A||y[12]!==E?.isContentAdmin?(m=E?.isContentAdmin&&(0,t.jsxs)("label",{className:"admin-bar-chk-label",children:[(0,t.jsx)("input",{className:"admin-bar-chk",type:"checkbox",checked:!!b,onChange:e=>{A(!b)}}),"管理モード"]}),y[10]=b,y[11]=A,y[12]=E?.isContentAdmin,y[13]=m):m=y[13],y[14]!==h||y[15]!==m?(g=(0,t.jsxs)("div",{className:"admin-bar",children:[h,m]}),y[14]=h,y[15]=m,y[16]=g):g=y[16],g}])},660399,e=>{"use strict";let t=e.i(587370).SWRConfig;e.s(["S",0,t])},499665,e=>{"use strict";var t=e.i(843476);e.i(955695);var i=e.i(291193),r=e.i(682774),n=e.i(405506),s=e.i(975157),o=e.i(228986),a=e.i(37607),l=e.i(551956),u=e.i(618566),c=e.i(271645);e.s(["LoginMissionController",0,function({lang:e}){let d=(0,u.usePathname)(),{pushToast:f}=(0,a.useToast)(),{sessionStatus:p,session:h,updateSession:m}=(0,c.useSyncExternalStore)(n.sessionStore.subscribe,n.sessionStore.getSnapshot,n.sessionStore.getServerSnapshot),[g,y]=(0,c.useState)(!1),[v,w]=(0,c.useState)(0),{data:S,mutate:b}=(0,a.useStaticStore)(o.STORE_KEYS.isMissionRegistered,!1),{mutate:A}=(0,a.useStaticStore)(o.STORE_KEYS.isLoginMissionRunning,!1),[x,E]=(0,c.useState)(!1),[T,C]=(0,c.useState)(!1),{mutate:P}=(0,a.useUserPoints)("authenticated"===p),{mutate:I}=(0,a.useMissions)("authenticated"===p,!1),{fetchAndNotifyMissionCompletion:N,isFetching:k,tryDeleteNotifications:R,isDeleting:U}=(0,a.useMissionNotificationFetcher)(e),[O,j]=(0,c.useState)(0),[M,_]=(0,c.useState)(0);(0,c.useEffect)(()=>{"authenticated"!==p&&(b(!1),E(!1),C(!1),A(!1),w(0))},[p]);let B=async(t,i)=>{try{let r=await fetch("/api/achievement/missions/reward",{method:"PUT",body:JSON.stringify({missionRewardRequestModel:{missionPromotionsType:t}})});if(409===r.status)return"unassigned";if(!r.ok)return"failed";i(!0);let n=await r.json();return n&&n.length>0&&(P(),(0,s.controlMissionToast)(n,f,e,500)),"ok"}catch(e){return"failed"}};return(0,c.useEffect)(()=>{!l.GLOBALS.HAS_MISSION||g||"authenticated"!==p||!h?.loginMissions||!Array.isArray(h.loginMissions)||h?.loginMissions.length===0||d.includes("/auth")||m&&((0,s.controlMissionToast)(h.loginMissions,f,e,500),y(!0),m({loginMissions:void 0}))},[p,h,m,d]),(0,c.useEffect)(()=>{if(!l.GLOBALS.HAS_MISSION||S&&x&&T||"authenticated"!==p||v>2)return;let e=!1;A(t=>(t&&(e=!0),!0)),e||(w(e=>e+1),(async()=>{let e=S;if(!e)try{(await fetch("/api/missions",{method:"POST"})).ok&&(I(),b(!0),e=!0)}catch(e){}if(e){if(!x&&await B(i.MissionRewardRequestModelMissionPromotionsTypeEnum.OTHER_CONTENT,E)==="unassigned"||!T&&await B(i.MissionRewardRequestModelMissionPromotionsTypeEnum.AGE_YEAR_AND_GENDER,C)==="unassigned")return void(b(!1),E(!1),C(!1))}})().finally(()=>A(!1)))},[p,d]),(0,c.useEffect)(()=>{!l.GLOBALS.HAS_MISSION||"authenticated"!==p||!(0,r.hasPendingMissionNotification)()||k||O>=2||(j(e=>e+1),N())},[p,d,k]),(0,c.useEffect)(()=>{!l.GLOBALS.HAS_MISSION||"authenticated"!==p||0===(0,r.getDisplayedUserMissionIds)().length||k||U||M>=2||(_(e=>e+1),R())},[p,d,k,U]),(0,t.jsx)(t.Fragment,{})}])},635506,e=>{"use strict";var t=e.i(843476),i=e.i(500932),r=e.i(228986),n=e.i(856437),s=e.i(271645),o=e.i(37607),a=e.i(975157);e.s(["default",0,function(e){let l,u,c,d,f,p,h=(0,i.c)(15),{siteName:m,logoImageUrl:g,lang:y}=e,{data:v,mutate:w}=(0,o.useStaticStore)(r.STORE_KEYS.isFirstAgeVerificationDialogOpen,!1),[S,b]=(0,s.useState)(!1);h[0]!==w?(l=()=>{(0,a.getFirstAccessAgeVerifyCookie)()?w(!1):w(!0)},h[0]=w,h[1]=l):l=h[1],h[2]===Symbol.for("react.memo_cache_sentinel")?(u=[],h[2]=u):u=h[2],(0,s.useEffect)(l,u),h[3]!==w?(c=()=>{w(!1),(0,a.setFirstAccessAgeVerifyCookie)()},h[3]=w,h[4]=c):c=h[4];let A=c;h[5]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{b(!0)},h[5]=d):d=h[5];let x=d;return h[6]!==A||h[7]!==S||h[8]!==v||h[9]!==y||h[10]!==g||h[11]!==m?(f=v&&(0,t.jsx)(n.default,{storeKey:r.STORE_KEYS.isFirstAgeVerificationDialogOpen,preventClose:!0,className:"mode-age-verification",lang:y,children:(0,t.jsxs)("div",{className:"dialog-main",children:[(0,t.jsx)("div",{className:"dialog-h",children:(0,t.jsx)("img",{src:g,alt:m,width:"194",loading:"lazy"})}),(0,t.jsx)("div",{className:"dialog-age-verification-body",children:S?(0,t.jsxs)("p",{className:"dialog-age-verification-text",children:["Sorry, ",(0,t.jsx)("br",{}),"you must be 13 or older",(0,t.jsx)("br",{})," to use this service."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"dialog-age-verification-note",children:"Please verify your age."}),(0,t.jsx)("p",{className:"dialog-age-verification-text",children:"Are you 13 or older?"}),(0,t.jsxs)("div",{className:"dialog-btns",children:[(0,t.jsx)("button",{className:"dialog-btn mode-primary",onClick:()=>{A()},children:"Yes, I am 13 or older"}),(0,t.jsx)("button",{className:"dialog-btn mode-secondary",onClick:()=>{x()},children:"No, I am under 13"})]})]})})]})}),h[6]=A,h[7]=S,h[8]=v,h[9]=y,h[10]=g,h[11]=m,h[12]=f):f=h[12],h[13]!==f?(p=(0,t.jsx)(t.Fragment,{children:f}),h[13]=f,h[14]=p):p=h[14],p}])},716915,(e,t,i)=>{!function(r,n){if("function"==typeof define&&define.amd){let r;void 0!==(r=n(e.r,i,t))&&e.v(r)}
1else t.exports=n()}(e.e,function(){var e,t,i,r={};r.version="0.2.0";var n=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function s(e,t,i){return e<t?t:e>i?i:e}r.configure=function(e){var t,i;for(t in e)void 0!==(i=e[t])&&e.hasOwnProperty(t)&&(n[t]=i);return this},r.status=null,r.set=function(e){var t=r.isStarted();r.status=1===(e=s(e,n.minimum,1))?null:e;var i=r.render(!t),l=i.querySelector(n.barSelector),u=n.speed,c=n.easing;return i.offsetWidth,o(function(t){var s,o,d,f;""===n.positionUsing&&(n.positionUsing=r.getPositioningCSS()),a(l,(s=e,o=u,d=c,(f="translate3d"===n.positionUsing?{transform:"translate3d("+(-1+s)*100+"%,0,0)"}:"translate"===n.positionUsing?{transform:"translate("+(-1+s)*100+"%,0)"}:{"margin-left":(-1+s)*100+"%"}).transition="all "+o+"ms "+d,f)),1===e?(a(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout(function(){a(i,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},n.trickleSpeed)};return n.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*s(Math.random()*t,.1,.95)),t=s(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*n.trickleRate)},e=0,t=0,r.promise=function(i){return i&&"resolved"!==i.state()&&(0===t&&r.start(),e++,t++,i.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=n.template;var i,s=t.querySelector(n.barSelector),o=e?"-100":(-1+(r.status||0))*100,l=document.querySelector(n.parent);return a(s,{transition:"all 0 linear",transform:"translate3d("+o+"%,0,0)"}),!n.showSpinner&&(i=t.querySelector(n.spinnerSelector))&&f(i),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(t),t},r.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(n.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var o=(i=[],function(e){i.push(e),1==i.length&&function e(){var t=i.shift();t&&t(e)}()}),a=function(){var e=["Webkit","O","Moz","ms"],t={};function i(i,r,n){var s;r=t[s=(s=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[s]=function(t){var i=document.body.style;if(t in i)return t;for(var r,n=e.length,s=t.charAt(0).toUpperCase()+t.slice(1);n--;)if((r=e[n]+s)in i)return r;return t}(s)),i.style[r]=n}return function(e,t){var r,n,s=arguments;if(2==s.length)for(r in t)void 0!==(n=t[r])&&t.hasOwnProperty(r)&&i(e,r,n);else i(e,s[1],s[2])}}();function l(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var i=d(e),r=i+t;l(i,t)||(e.className=r.substring(1))}function c(e,t){var i,r=d(e);l(e,t)&&(e.className=(i=r.replace(" "+t+" "," ")).substring(1,i.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r})},818421,(e,t,i)=>{var r=Object.create,n=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t)=>n(e,"name",{value:t,configurable:!0}),c=(e,t,i,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of o(t))l.call(e,a)||a===i||n(e,a,{get:()=>t[a],enumerable:!(r=s(t,a))||r.enumerable});return e},d=(e,t,i)=>(i=null!=e?r(a(e)):{}
1,c(!t&&e&&e.__esModule?i:n(i,"default",{value:e,enumerable:!0}),e)),f={},p={default:()=>b,useTopLoader:()=>w};for(var h in p)n(f,h,{get:p[h],enumerable:!0});t.exports=c(n({},"__esModule",{value:!0}),f);var m=d(e.r(745009)),g=d(e.r(271645)),y=d(e.r(716915)),v=d(e.r(716915)),w=u(()=>({start:()=>v.start(),done:e=>v.done(e),remove:()=>v.remove(),setProgress:e=>v.set(e),inc:e=>v.inc(e),trickle:()=>v.trickle(),isStarted:()=>v.isStarted(),isRendered:()=>v.isRendered(),getPositioningCSS:()=>v.getPositioningCSS()}),"useTopLoader"),S=u(({color:e,height:t,showSpinner:i,crawl:r,crawlSpeed:n,initialPosition:s,easing:o,speed:a,shadow:l,template:c,zIndex:d=1600,showAtBottom:f=!1,showForHashAnchor:p=!0,nonce:h})=>{let m=null!=e?e:"#29d",v=l||void 0===l?l?`box-shadow:${l}`:`box-shadow:0 0 10px ${m},0 0 5px ${m}`:"",w=g.createElement("style",{nonce:h},`#nprogress{pointer-events:none}#nprogress .bar{background:${m};position:fixed;z-index:${d};${f?"bottom: 0;":"top: 0;"}left:0;width:100%;height:${null!=t?t:3}px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;${v};opacity:1;-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);transform:rotate(3deg) translate(0px,-4px)}#nprogress .spinner{display:block;position:fixed;z-index:${d};${f?"bottom: 15px;":"top: 15px;"}right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:${m};border-left-color:${m};border-radius:50%;-webkit-animation:nprogress-spinner 400ms linear infinite;animation:nprogress-spinner 400ms linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`),S=u(e=>new URL(e,window.location.href).href,"toAbsoluteURL"),b=u((e,t)=>{let i=new URL(S(e)),r=new URL(S(t));return i.href.split("#")[0]===r.href.split("#")[0]},"isHashAnchor"),A=u((e,t)=>{let i=new URL(S(e)),r=new URL(S(t));return i.hostname.replace(/^www\./,"")===r.hostname.replace(/^www\./,"")},"isSameHostName");return g.useEffect(()=>{let e,t;function l(e,t){let i=new URL(e),r=new URL(t);if(i.hostname===r.hostname&&i.pathname===r.pathname&&i.search===r.search){let e=i.hash,t=r.hash;return e!==t&&i.href.replace(e,"")===r.href.replace(t,"")}return!1}y.configure({showSpinner:null==i||i,trickle:null==r||r,trickleSpeed:null!=n?n:200,minimum:null!=s?s:.08,easing:null!=o?o:"ease",speed:null!=a?a:200,template:null!=c?c:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'}),u(l,"isAnchorOfCurrentUrl");var d,f,h=document.querySelectorAll("html");let m=u(()=>h.forEach(e=>e.classList.remove("nprogress-busy")),"removeNProgressClass");function g(e){for(;e&&"a"!==e.tagName.toLowerCase();)e=e.parentElement;return e}function v(e){try{let t=e.target,i=g(t),r=null==i?void 0:i.href;if(r){let t=window.location.href,n=""!==i.target,s=["tel:","mailto:","sms:","blob:","download:"].some(e=>r.startsWith(e));if(!A(window.location.href,i.href))return;let o=l(t,r)||b(window.location.href,i.href);if(!p&&o)return;r===t||n||s||o||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey||!S(i.href).startsWith("http")?(y.start(),y.done(),m()):y.start()}}catch(e){y.start(),y.done()}}function w(){y.done(),m()}function x(){y.done()}return u(g,"findClosestAnchor"),u(v,"handleClick"),e=(d=window.history).pushState,d.pushState=(...t)=>(y.done(),m(),e.apply(d,t)),t=(f=window.history).replaceState,f.replaceState=(...e)=>(y.done(),m(),t.apply(f,e)),u(w,"handlePageHide"),u(x,"handleBackAndForth"),window.addEventListener("popstate",x),document.addEventListener("click",v),window.addEventListener("pagehide",w),()=>{document.removeEventListener("click",v),window.removeEventListener("pagehide",w),window.removeEventListener("popstate",x)}},[]),w},"NextTopLoader"),b=S;S.propTypes={color:m.string,height:m.number,showSpinner:m.bool,crawl:m.bool,crawlSpeed:m.number,initialPosition:m.number,easing:m.string,speed:m.number,template:m.string,shadow:m.oneOfType([m.string,m.bool]),zIndex:m.number,showAtBottom:m.bool}}]);
2
3//# sourceMappingURL=04xo03g7nkudm.js.map

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.