PageSourceSearch

https://www.sucomado.jp/_next/static/chunks/0_ek625tv2l_6.js

js sucomado.jp collected 2026-10-05 22:10:34 UTC 63,525 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="d023ee30-b220-ee6b-c105-332e2973d506")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,87856,e=>{"use strict";var t=e.i(8050),i=e.i(71781),a=e.i(36365),n=e.i(10936),o=e.i(79303),r=e.i(6144),s=e.i(32126),l=e.i(92721),d=e.i(12771),c=e.i(67837),p=e.i(35157);let x={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function C(e={}){let t,i,a,n,o=null,r=0,s=!1,l=!1,d=!1,c=!1;function p(){if(!a){if(m()){d=!0;return}s||i.emit("autoplay:play"),function(){let{ownerWindow:e}=i.internalEngine();e.clearTimeout(r),r=e.setTimeout(y,n[i.selectedScrollSnap()]),o=new Date().getTime(),i.emit("autoplay:timerset")}(),s=!0}}function h(){a||(s&&i.emit("autoplay:stop"),function(){let{ownerWindow:e}=i.internalEngine();e.clearTimeout(r),r=0,o=null,i.emit("autoplay:timerstopped")}(),s=!1)}function u(){if(m())return d=s,h();d&&p()}function m(){let{ownerDocument:e}=i.internalEngine();return"hidden"===e.visibilityState}function f(){l||h()}function g(){l||p()}function b(){l=!0,h()}function j(){l=!1,p()}function y(){let{index:e}=i.internalEngine(),a=e.clone().add(1).get(),n=i.scrollSnapList().length-1,o=t.stopOnLastSnap&&a===n;if(i.canScrollNext()?i.scrollNext(c):i.scrollTo(0,c),i.emit("autoplay:select"),o)return h();p()}return{name:"autoplay",options:e,init:function(o,r){var s,l,d,m;let y,_;i=o;let{mergeOptions:w,optionsAtMedia:v}=r,k=w(x,C.globalOptions);if(t=v(w(k,e)),i.scrollSnapList().length<=1)return;c=t.jump,a=!1,s=i,l=t.delay,y=s.scrollSnapList(),n="number"==typeof l?y.map(()=>l):l(y,s);let{eventStore:S,ownerDocument:I}=i.internalEngine(),F=!!i.internalEngine().options.watchDrag,L=(d=i,m=t.rootNode,_=d.rootNode(),m&&m(_)||_);S.add(I,"visibilitychange",u),F&&i.on("pointerDown",f),F&&!t.stopOnInteraction&&i.on("pointerUp",g),t.stopOnMouseEnter&&S.add(L,"mouseenter",b),t.stopOnMouseEnter&&!t.stopOnInteraction&&S.add(L,"mouseleave",j),t.stopOnFocusIn&&i.on("slideFocusStart",h),t.stopOnFocusIn&&!t.stopOnInteraction&&S.add(i.containerNode(),"focusout",p),t.playOnInit&&p()},destroy:function(){i.off("pointerDown",f).off("pointerUp",g).off("slideFocusStart",h),h(),a=!0,s=!1},play:function(e){void 0!==e&&(c=e),p()},stop:function(){s&&h()},reset:function(){s&&p()},isPlaying:function(){return s},timeUntilNext:function(){return o?n[i.selectedScrollSnap()]-(new Date().getTime()-o):null}}}C.globalOptions=void 0;let h=({carouselData:e})=>{let{emblaRef:x,emblaApi:h,onThumbClick:u,thumbnailRef:m,selectedIndex:f}=(({autoPlayInterval:e})=>{let[t,i]=(0,c.useState)(0),[a,n]=(0,p.default)({loop:!0,align:"center"},[C({delay:e,playOnInit:!0,stopOnInteraction:!0})]),[o,r]=(0,p.default)({loop:!0,align:"center"}),s=(0,c.useCallback)(e=>{n&&r&&n.scrollTo(e)},[n,r]),l=(0,c.useCallback)(()=>{n&&r&&(i(n.selectedScrollSnap()),r.scrollTo(n.selectedScrollSnap()))},[n,r,i]);return(0,c.useEffect)(()=>{if(n)return l(),n.on("select",l),n.on("reInit",l),()=>{n.off("select",l),n.off("reInit",l)}},[n,l]),{emblaRef:a,emblaApi:n,onThumbClick:s,thumbnailRef:o,selectedIndex:t}})({autoPlayInterval:4e3});return(0,t.jsxs)(o.Flex,{pt:{md:"40px",base:"16px"},pb:{md:"38px",base:"30px"},alignItems:"center",justifyContent:"center",flexDirection:"column",backgroundColor:"#f5f5f5",children:[(0,t.jsx)(a.Box,{ref:x,mb:"14px",overflow:"hidden",width:"100%",height:"auto",children:(0,t.jsx)(o.Flex,{width:"100%",children:e.map(({id:e,href:n,alt:o,img:r})=>(0,t.jsx)(a.Box,{minWidth:"0",flex:{lg:"0 0 40%",md:"0 0 50%",base:"0 0 90%"},marginX:"20px",children:(0,t.jsx)(i.AspectRatio,{ratio:16/9,width:"100%",alignItems:"center",children:n.startsWith("/")?(0,t.jsx)(s.default,{href:n,passHref:!0,children:(0,t.jsx)(l.default,{src:r,alt:o,fill:!0,sizes:"(min-width: 992px) 43vw, (min-width: 768px) 53vw, 85vw"})}):(0,t.jsx)("a",{href:n,target:"_blank",rel:"noreferrer noopenner",children:(0,t.jsx)(l.default,{src:r,alt:o,fill:!0,sizes:"(min-width: 992px) 40vw, (min-width: 768px) 50vw, 85vw"})})})},e))})}
2),(0,t.jsxs)(o.Flex,{width:{lg:"56%",md:"82.4%",base:"100%"},position:"relative",children:[(0,t.jsx)(a.Box,{ref:m,overflow:"hidden",width:"100%",height:"auto",children:(0,t.jsx)(o.Flex,{width:"100%",children:e.map(({id:e,alt:o,img:r},s)=>(0,t.jsx)(a.Box,{minWidth:"0",flex:{lg:"0 0 12%",md:"0 0 18%",base:"0 0 25%"},marginX:"7px",cursor:"pointer",border:f===s?"2px solid":void 0,borderColor:"brand.500",outlineOffset:"-2px",children:(0,t.jsx)(n.Button,{variant:"unstyled",onClick:()=>u(s),width:"100%",height:"100%",children:(0,t.jsx)(i.AspectRatio,{ratio:16/9,alignItems:"center",width:"100%",height:"100%",children:(0,t.jsx)(l.default,{src:r,alt:o,width:150,height:90,style:{objectFit:"contain",objectPosition:"center",width:"100%",height:"auto"}})})})},e))})}),(0,t.jsxs)(o.Flex,{position:"absolute",inset:0,pointerEvents:"none",children:[(0,t.jsx)(o.Flex,{justifyContent:"flex-start",alignItems:"center",pointerEvents:"none",background:"linear-gradient(to right, #F5F5F5 0, #F5F5F5 12%, rgba(245,245,245,0) 17%, rgba(245,245,245,0) 100%);",width:"50%",children:(0,t.jsx)(i.AspectRatio,{width:{lg:"10%",md:"12%",base:"14%"},ratio:1,children:(0,t.jsx)(r.IconButton,{"aria-label":"before",variant:"outline",icon:(0,t.jsx)(d.ArrowIcon,{direction:"left",width:"40%",height:"40%"}),isRound:!0,colorScheme:"brand",backgroundColor:"white",width:"100%",minWidth:"0",height:"100%",pointerEvents:"all",onClick:e=>{h?.scrollPrev(),e.preventDefault()}})})}),(0,t.jsx)(o.Flex,{justifyContent:"flex-end",alignItems:"center",background:"linear-gradient(to left, #F5F5F5 0, #F5F5F5 12%, rgba(245,245,245,0) 17%, rgba(245,245,245,0) 100%);",width:"50%",children:(0,t.jsx)(i.AspectRatio,{width:{lg:"10%",md:"12%",base:"14%"},ratio:1,children:(0,t.jsx)(r.IconButton,{"aria-label":"before",variant:"outline",icon:(0,t.jsx)(d.ArrowIcon,{direction:"right",width:"40%",height:"40%"}),isRound:!0,colorScheme:"brand",backgroundColor:"white",width:"100%",minWidth:"0",height:"100%",pointerEvents:"all",onClick:e=>{h?.scrollNext(),e.preventDefault()}})})})]})]})]})};var u=e.i(77631),m=e.i(8920);let f=({enText:e,jpText:i,icon:r,...s})=>(0,t.jsxs)(n.Button,{width:"100%",flexDirection:"row",justifyContent:"center",alignItems:"center",gap:{md:"20px",base:"17px"},minWidth:"240px",maxWidth:"400px",height:{md:"80px",base:"70px"},backgroundColor:"white",padding:{md:"20px",base:"16px"},pr:{md:"32px",base:"16px"},_hover:{},_active:{},...s,children:[(0,t.jsx)(a.Box,{width:{md:"40px",base:"34px"},height:{md:"40px",base:"34px"},color:"brand.500",display:{xs:"block",base:"none"},children:r}),(0,t.jsxs)(o.Flex,{flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",height:"100%",children:[(0,t.jsx)(m.Text,{fontFamily:"english",fontSize:{md:"12px",base:"11px"},letterSpacing:{md:"0.6px",base:"0.55px"},children:e}),(0,t.jsx)(o.Flex,{fontSize:{md:"18px",base:"16px"},alignItems:"baseline",letterSpacing:{md:"0.9px",base:"0.8px"},mt:"3px",children:i.map((e,i)=>(0,t.jsx)(m.Text,{color:i%2?"brand.500":void 0,fontSize:i%2?"1.25em":void 0,children:e},i))})]}),(0,t.jsx)(u.Spacer,{}),(0,t.jsx)(d.ArrowIcon,{direction:"right",backgroundColor:"brand.500",width:{md:"36px",base:"28px"},height:{md:"36px",base:"28px"},p:{md:"11px",base:"8px"},rounded:"full",color:"white"})]});var g=e.i(98475);let b=e=>(0,t.jsx)(g.Icon,{viewBox:"0 0 40.017 40",...e,children:(0,t.jsx)("path",{d:"M0,40a13.489,13.489,0,0,1,.645-3.413C2.983,29.4,11.566,25.482,20.009,25.482S37.034,29.4,39.372,36.587A13.533,13.533,0,0,1,40.017,40ZM8.971,11.037A11.037,11.037,0,1,1,20.008,22.074,11.037,11.037,0,0,1,8.971,11.037Z",fill:"currentColor"})});var j=e.i(42464);let y=()=>(0,t.jsxs)(o.Flex,{gap:"12px 48px",flexDirection:{base:"column",md:"row"},alignItems:"center",justifyContent:"center",backgroundColor:"brand.500",backgroundImage:"radial-gradient(rgba(255,255,255,0.2) 10%, transparent 11%), radial-gradient(rgba(255,255,255,0.2) 10%, transparent 11%)",backgroundSize:"14px 14px",backgroundAttachment:"fixed",backgroundRepeat:"repeat",p:{md:"32px",base:"16px"},children:[(0,t.jsx)(f,{as:"a",enText:"How to buy",jpText:["スコマドã
2‚’","利用","する"],icon:(0,t.jsx)(b,{height:"100%",width:"100%"}),target:"_blank",rel:"noopener noreferrer",href:"/about"}),(0,t.jsx)(f,{as:"a",enText:"How to sell",jpText:["スコマドに","出品","する"],icon:(0,t.jsx)(j.StoreIcon,{height:"120%",width:"110%"}),target:"_blank",rel:"noopener noreferrer",href:"/guide"})]});var _=e.i(15396),w=e.i(95755),v=e.i(5135),k=e.i(99280),S=e.i(67355),I=e.i(87853),F=e.i(27549);let L=({categoryName:e,categoryValue:i,counts:a,isLoading:r,...l})=>(0,t.jsxs)(n.Button,{as:s.default,href:`/search?category=${i}`,justifyContent:"space-between",variant:"transparent",height:"56px",padding:0,fontSize:"16px",borderBottom:"1px dashed #E0E0E0",rounded:"none",letterSpacing:"0.8px",fontWeight:"400",userSelect:r?"none":"unset",cursor:r?"wait":"pointer",_hover:{textDecoration:"underline"},...l,children:[(0,t.jsxs)(o.Flex,{alignItems:"baseline",gap:"0.2em",children:[e&&!r?e:(0,t.jsx)(I.Skeleton,{display:"inline-block",speed:1,height:"16px",width:"6em"}),void 0===a||r?null:(0,t.jsxs)(m.Text,{fontSize:"12px",color:"#999999",children:["(",a,")"]})]}),(0,t.jsx)(F.InequalityIcon,{direction:"right",color:"#cccccc",width:"8px",height:"12px"})]}),M={STREAM_SCREEN:"画面セット",BACKGROUND:"背景",COSTUME:"衣装",HAND:"手",COMMENT_BOX:"コメ欄",FRAME:"枠",ACCESSORIES:"小物",OP_ED:"OP/ED",LOGO:"ロゴ",OVERLAY:"オーバーレイ",OTHER:"その他"},E=({isLoading:e,categories:i,...a})=>(0,t.jsxs)(o.Flex,{flexDirection:"column",gap:"20px",...a,as:"section",children:[(0,t.jsx)(S.Heading,{as:"h1",display:"flex",fontSize:{md:"22px",base:"20px"},letterSpacing:{md:"1.1px",base:"1px"},gap:"12px",_before:{content:'""',width:"4px",height:"auto",backgroundColor:"brand.500"},children:"カテゴリーから探す"}),(0,t.jsx)(o.Flex,{flexDirection:"column",children:i&&!e?Object.entries(i).map(([e,i])=>(0,t.jsx)(L,{categoryName:M[e],categoryValue:e,counts:i},e)):[...Array(8)].map((e,i)=>(0,t.jsx)(L,{isLoading:!0},i))})]});var O=e.i(87294),A=e.i(71949),W=e.i(50493),T=e.i(24311),z=e.i(89934),Z=e.i(66528),D=e.i(79114),R=e.i(83831);let B=({categoryJa:e,categoryEn:i,categoryId:a,itemColumns:r,itemRows:l,categoryLatestItems:c,user:p,onClickFavorite:x,onClickItemCard:C})=>(0,t.jsxs)(v.Section,{enTitle:`New ${i}`,jaTitle:`${e}の新着`,children:[(0,t.jsx)(_.Grid,{gridTemplateColumns:`repeat(${r}, minmax(170px, 1fr));`,flexWrap:"wrap",gap:{md:"16px",base:"10px"},children:c?c.slice(0,l*r).map(e=>(0,t.jsx)(k.ItemCard,{item:e,isUserAvailable:!!p,onClickFavorite:async()=>{await x(e.id)},onClickItemCard:()=>{C?.(e)}},e.id)):null}),(0,t.jsx)(o.Flex,{my:"24px",alignItems:"center",justifyContent:"center",children:(0,t.jsxs)(n.Button,{colorScheme:"brand",variant:"link",as:s.default,href:{pathname:"/search",query:{category:a}},children:["もっとみる",(0,t.jsx)(d.ArrowIcon,{direction:"right",ml:"8px",p:"12px",boxSizing:"content-box",backgroundColor:"white",border:"1px solid",borderColor:"brand.500",borderRadius:"full"})]})})]}),H=({categoryId:e,...i})=>{let a=(e=>{let{data:t}=(0,W.useUser)(),{data:i,mutate:a}=(0,T.useSearch)({"category[]":[e]},{page:1,per_page:6,log_activity:0},{revalidateOnFocus:!1,revalidateOnReconnect:!1}),n=async t=>{if(!i)return;let n=i.data.findIndex(e=>e.id===t)??-1;if(-1===n)return;let o=structuredClone(i);o.data[n]={...o.data[n],favorited:!o.data[n].favorited,favorite_count:o.data[n].favorited?o.data[n].favorite_count-1:o.data[n].favorite_count+1},(0,D.pushAddToWishList)({item:o.data[n],item_list_id:e}),await a(async()=>(o.data[n].favorited?await (0,O.apiClient)().v1.item._itemId(t).favorite.$post():await (0,O.apiClient)().v1.item._itemId(t).favorite.$delete(),o),{optimisticData:o,rollbackOnError:!0,throwOnError:!0,revalidate:!1})},o=(0,c.useMemo)(()=>(0,z.generateMouseEventHandlerForPushSelectItemEvent)({item_list_id:e}),[e]);return(0,R.useViewAnalyze)(Z.pushViewItemListEvent,{publicItems:i?.data,item_list_id:e}),{categoryId:e,categoryLatestItems:i?.data,onClickFavorite:n,onClickItemCard:o,user:t}})(e);return(0,t.jsx)(B,{...a,...i})};var $=e.i(30921),V=e.i(83105),N=e.i(61876);let P=()=>
2{let e=(0,$.useBreakpointValue)({md:"right",base:"down"},{fallback:"md"});return(0,t.jsxs)(o.Flex,{justifyContent:"center",flexDirection:"column",as:"section",py:"70px",maxWidth:"1090px",px:"30px",margin:"0 auto",width:"100%",children:[(0,t.jsxs)(S.Heading,{as:"h2",textAlign:"center",fontWeight:"600",fontSize:{md:"48px",base:"28px"},lineHeight:{md:"125%",base:"114%"},letterSpacing:"0.05em",color:"brand.500",mb:{md:"12px",base:"30px"},children:[(0,t.jsx)("span",{style:{display:"inline-block"},children:"配信素材限定の"}),(0,t.jsx)("span",{style:{display:"inline-block"},children:"オンラインマーケット"})]}),(0,t.jsxs)(m.Text,{as:"p",color:"text.500",fontWeight:"400",fontSize:"16px",lineHeight:"162%",textAlign:"center",letterSpacing:"0.05em",mb:"50px",display:{md:"block",base:"none"},children:[(0,t.jsx)("span",{style:{display:"inline-block"},children:"ご利用料は無料。スコマドで集めたお気に入りの素材を使ってスコラボで配信画面が作れます。"}),(0,t.jsx)("span",{style:{display:"inline-block"},children:"ダウンロード不要&配信画面がサクサク動くから配信準備がもっと楽しくなる!"})]}),(0,t.jsxs)(o.Flex,{justifyContent:"space-between",alignItems:{md:"stretch",base:"center"},flexDirection:{md:"row",base:"column"},gap:{md:"30px",base:"20px"},children:[(0,t.jsxs)(a.Box,{width:{md:"30%",sm:"50%",base:"100%"},children:[(0,t.jsx)(i.AspectRatio,{ratio:8/7,width:"100%",children:(0,t.jsx)(V.Image,{src:"/index/sucomado-step.png",alt:"sucomado-step",width:280,height:270,style:{objectFit:"contain",objectPosition:"top center"}})}),(0,t.jsxs)(m.Text,{fontWeight:"600",fontSize:{md:"24px",base:"20px"},lineHeight:"200%",textAlign:"center",letterSpacing:"0.05em",color:"text.500",mt:"25px",children:[(0,t.jsx)("span",{style:{display:"inline-block"},children:"スコマドで"}),(0,t.jsx)("span",{style:{display:"inline-block"},children:"素材あつめ"})]})]}),(0,t.jsx)(d.ArrowIcon,{mt:"10%",direction:e??"right",color:"brand.500",width:"32px",height:"32px"}),(0,t.jsxs)(o.Flex,{flexDirection:"column",justifyContent:"center",width:{md:"30%",sm:"50%",base:"100%"},children:[(0,t.jsx)(i.AspectRatio,{ratio:8/7,width:"100%",children:(0,t.jsx)(V.Image,{src:"/index/sucolab-step.png",alt:"sucolab-step",width:280,height:270,style:{objectFit:"contain",objectPosition:"top center"}})}),(0,t.jsxs)(m.Text,{fontWeight:"600",fontSize:{md:"24px",base:"20px"},lineHeight:"200%",textAlign:"center",letterSpacing:"0.05em",color:"text.500",mt:"25px",children:[(0,t.jsx)("span",{style:{display:"inline-block"},children:"スコラボで"}),(0,t.jsx)("span",{style:{display:"inline-block"},children:"画面作り"})]}),(0,t.jsx)(n.Button,{as:"a",href:"https://www.sucolab.jp/",target:"_blank",rel:"noopener",rightIcon:(0,t.jsx)(N.ExternalLinkIcon,{}),margin:"0 auto",colorScheme:"brand",variant:"link",fontSize:"16px",children:"スコラボとは?"})]}),(0,t.jsx)(d.ArrowIcon,{mt:"10%",direction:e??"right",color:"brand.500",width:"32px",height:"32px"}),(0,t.jsxs)(a.Box,{width:{md:"30%",sm:"50%",base:"100%"},children:[(0,t.jsx)(i.AspectRatio,{ratio:8/7,width:"100%",children:(0,t.jsx)(V.Image,{src:"/index/stream-step.png",alt:"stream-step",width:280,height:270,style:{objectFit:"contain",objectPosition:"top center"}})}),(0,t.jsxs)(m.Text,{fontWeight:"600",fontSize:{md:"24px",base:"20px"},lineHeight:"200%",textAlign:"center",letterSpacing:"0.05em",color:"text.500",mt:"25px",children:[(0,t.jsx)("span",{style:{display:"inline-block"},children:"サクサク"}),(0,t.jsx)("span",{style:{display:"inline-block"},children:"配信!"})]})]})]}),(0,t.jsx)(m.Text,{as:"p",color:"text.500",fontWeight:"400",fontSize:"12px",lineHeight:"217%",textAlign:"center",letterSpacing:"0.05em",display:{md:"none",base:"block"},mt:"32px",children:"ご利用料は無料。スコマドで集めたお気に入りの素材を使ってスコラボで配信画面が作れます。 ダウンロード不要&配信画面がサクサク動くから配信準備がもっと楽しくなる!"})]})};var U=e.i(16667),G=e.i(27100);let X=()=>{let e=(0,G.useRouter)(),[i,r]=(0,c.useState)(!1);return(0,t.jsxs)(o.Flex,{as:"section",position:"relative",flexDirection:"column",py:{md:"90px",base:"44px"},px:"24px",gap:{md:"45px",base:"20px"},_before:{content:'""',position:"absolute",inset:0,zIndex:-1,background:"rgba(255,255,255,0.7)"},children:[(0,t.jsx)(l.default,{src:"https://static.sucomado.jp/static/lp/guide/kv_bg.jpg",alt:"background","aria-hidden":"true",fill:!0,style:{position:"absolute",inset:0,zIndex:-2,objectFit:"cover"}}
2),(0,t.jsx)(S.Heading,{as:"h2",fontSize:{md:"32px",base:"16px"},lineHeight:{md:"50px",bae:"24px"},fontWeight:600,color:"text.500",textAlign:"center",children:"「欲しかった!」がきっとみつかる"}),(0,t.jsx)(a.Box,{textAlign:"center",children:(0,t.jsxs)(n.Button,{onClick:()=>{r(!0),window&&window.sessionStorage&&window.sessionStorage.setItem("loginFlow","true"),e.push("/auth/redirect")},isLoading:i,colorScheme:"brand",height:{md:"80px",base:"70px"},maxWidth:"370px",width:"100%",fontSize:"18px",lineHeight:"22px",fontWeight:"700",gap:{xs:"24px",base:"12px"},children:[(0,t.jsx)(U.LoginIcon,{height:"42px",width:"100%",maxWidth:"36px",display:{xs:"block",base:"none"}}),"ログインしてはじめる",(0,t.jsx)(u.Spacer,{}),(0,t.jsx)(d.ArrowIcon,{direction:"right",backgroundColor:"white",color:"brand.500",rounded:"full",padding:"9px",width:{md:"36px",base:"28px"},height:{md:"36px",base:"28px"}})]})})]})},K=()=>(0,t.jsxs)(o.Flex,{as:"section",flexDirection:"column",justifyContent:"center",backgroundColor:"brand.500",backgroundImage:"radial-gradient(rgba(255,255,255,0.2) 10%, transparent 11%), radial-gradient(rgba(255,255,255,0.2) 10%, transparent 11%)",backgroundSize:"14px 14px",backgroundAttachment:"fixed",backgroundRepeat:"repeat",gap:"16px",p:{md:"40px 32px",base:"24px 24px 16px"},children:[(0,t.jsx)(S.Heading,{as:"h2",fontSize:{md:"32px",base:"16px"},lineHeight:{md:"38px",base:"24px"},fontWeight:{md:"600",base:"700"},color:"white",textAlign:"center",children:"ご利用ガイド"}),(0,t.jsxs)(o.Flex,{gap:"12px 48px",flexDirection:{base:"column",md:"row"},alignItems:"center",justifyContent:"center",children:[(0,t.jsx)(f,{as:"a",enText:"How to buy",jpText:["スコマドを","利用","する"],icon:(0,t.jsx)(b,{height:"100%",width:"100%"}),target:"_blank",rel:"noopener noreferrer",href:"/about"}),(0,t.jsx)(f,{as:"a",enText:"How to sell",jpText:["スコマドに","出品","する"],icon:(0,t.jsx)(j.StoreIcon,{height:"120%",width:"110%"}),target:"_blank",rel:"noopener noreferrer",href:"/guide"})]})]}),q=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(P,{}),(0,t.jsx)(X,{}),(0,t.jsx)(K,{})]});var J=e.i(36747);let Y=(0,J.withMiddleware)(A.default,e=>(t,i,a)=>(a.revalidateOnFocus=!1,a.revalidateIfStale=!1,a.revalidateOnReconnect=!1,e(t,i,a))),Q=({items:e,onClickItem:a})=>!e||e.length<=0?null:(0,t.jsxs)(o.Flex,{as:"section",my:{md:"40px",base:"24px"},flexDirection:{md:"row",base:"column"},alignItems:{md:"center",base:"flex-start"},gap:"10px",children:[(0,t.jsxs)(o.Flex,{flexDirection:{md:"column",base:"row"},alignItems:{md:"flex-start",base:"center"},gap:"6px",minWidth:{md:"170px",base:"100%"},children:[(0,t.jsx)(S.Heading,{display:"flex",alignItems:"center",gap:{md:"12px",base:"8px"},as:"h2",fontSize:{md:"18px",base:"14px"},color:"brand.500",letterSpacing:{md:"0.9px",base:"0.7px"},_before:{content:'""',width:{md:"8px",base:"6px"},height:{md:"8px",base:"6px"},rounded:"full",backgroundColor:"brand.500",mb:"2px"},mb:{md:"4px",base:"0"},mt:{md:"0",base:"4px"},fontFamily:"english",children:"Recently"}),(0,t.jsx)(S.Heading,{as:"h1",fontWeight:"700",fontSize:{md:"26px",base:"19px"},lineHeight:{md:"31px",base:"29px"},letterSpacing:"0.05em",children:"最近見た素材"})]}),(0,t.jsx)(o.Flex,{gap:"10px",flex:1,overflow:"hidden",flexWrap:"wrap",maxHeight:{md:"100px",base:"75px"},children:e.map(e=>{let n=e.thumbnails.sort((e,t)=>e.displayOrder-t.displayOrder)[0];return(0,t.jsx)(s.default,{href:`/items/${e.id}`,onClick:()=>{a?.(e)},children:(0,t.jsx)(i.AspectRatio,{ratio:1,width:{md:"100px",base:"75px"},borderRadius:"4px",overflow:"hidden",backgroundColor:"white",children:(0,t.jsx)(l.default,{src:n.file,alt:e.name,width:100,height:100,style:{objectFit:"contain",objectPosition:"center",width:"100%",height:"100%"}})})},e.id)})})]}),ee=({userId:e})=>{let{items:i,handleClickItem:a}=(e=>{let[t,i]=(0,c.useState)([]);(0,c.useEffect)(()=>{let e=localStorage.getItem("recently_items_history");i(Array.from(new Set((e?JSON.parse(e):[]).slice(0,10))))},[e]);let a=async()=>(await (0,O.apiClient)().v1.items.$get({query:{"id[]":t}})).data.sort((e,i)=>t.indexOf(e.id)-t.indexOf(i.id)),{data:n}=Y({url:(0,O.apiClient)().v1.items.$path({query:{"id[]":t}}),itemIds:t},a);return(0,R.useViewAnalyze)(Z.pushViewItemListEvent,{publicItems:n,item_list_id:"recently"}),{items:n,handleClickItem:(0,c.useMemo)(()=>(0,z.generateMouseEventHandlerForPushSelectItemEvent)({item_list_id:"recently"}),[])}})(e);return(0,t.jsx)(Q,{items:i,onClickItem:a})},et=[{img:"https://static.sucomado.jp/topic/0194d220-a532-19e7-c89d-a6a7c59168c3",href:"/topics/foods-drinks-2025?utm_source=sucomado&utm_medium=carousel&utm_campaign=foods-drinks-2025",id:"foods-drinks-2025",alt:"食べ物・飲み物の素材特集"},{img:"https://static.sucomado.jp/topic/sucocon-winter2023.png",href:"/search?keywords=第2回スココン",
2id:"sucocon-winter2023",alt:"スココン 2023 「和」 エントリー作品特集!"},{img:"https://static.sucomado.jp/topic/vertical-live-2023.png",href:"/topics/vertical-live-2023?utm_source=sucomado&utm_medium=carousel&utm_campaign=vertical-live-2023",id:"vertical-live-2023",alt:"縦型配信にぴったりの配信素材、集めました!"},{img:"https://static.sucomado.jp/static/event-assets/16.png",href:"https://app.sucolab.jp/?utm_source=sucomado&utm_medium=carousel&utm_campaign=text-release-sep",id:"16",alt:"テキスト新機能をリリース!"},{img:"https://static.sucomado.jp/static/event-assets/17.png",href:"https://www.sucomaga.jp/how_to_use/sucolab-update-effect/?utm_source=sucomado&utm_medium=carousel&utm_campaign=text-release-sep",id:"17",alt:"スコマガ テキストエフェクト解説!"},{img:"https://static.sucomado.jp/static/event-assets/10.png",href:"/search?keywords=スココン",id:"sucocon202304",alt:"テーマ「お祝い」スココン エントリー作品特集!"},{img:"https://static.sucomado.jp/static/event-assets/3.jpg",href:"/store/GurikoEgaki",id:"GurikkoEgaki",alt:"えがき工務店"},{img:"https://static.sucomado.jp/static/event-assets/4.png",href:"/store/oooniworks",id:"oooniworks",alt:"大鬼商店"},{img:"https://static.sucomado.jp/static/event-assets/5.jpg",href:"/store/Virtual-Asset",id:"virtual-asset",alt:"バーチャルアセット"},{img:"https://static.sucomado.jp/static/event-assets/6.png",href:"/store/okumono",id:"okumono",alt:"okumono"},{img:"https://static.sucomado.jp/static/event-assets/1.png",href:"/store/usanekomemory",id:"usanekomemory",alt:"うさねこメモリー"},{img:"https://static.sucomado.jp/static/event-assets/2.png",href:"https://www.sucomaga.jp/how_to_use/sucomado-how-to/",id:"sucomado-how-to",alt:"スコマド 使い方"}];var ei=e.i(34746),ea=e.i(17413),en=e.i(49142),eo=e.i(42689),er=e.i(26370),es=e.i(13721),el=e.i(68753),ed=e.i(10026),ec=e.i(51476);let ep=({variant:e="color",...i})=>{switch(e){case"color":return(0,t.jsxs)(g.Icon,{viewBox:"0 0 77 12",...i,children:[(0,t.jsx)("path",{d:"M56.0306 11.9303C54.9407 11.9303 53.945 11.6709 53.0764 11.1596C52.2055 10.6482 51.5158 9.92988 51.0262 9.02944C50.5366 8.12899 50.2871 7.09384 50.2871 5.95394C50.2871 4.81404 50.5366 3.77889 51.0262 2.87844C51.5158 1.97799 52.2078 1.26462 53.0764 0.760767C53.9474 0.256915 54.9407 0 56.0306 0C57.1205 0 58.1115 0.256915 58.9753 0.760767C59.8392 1.26711 60.5242 1.97799 61.0162 2.87844C61.5058 3.77889 61.7553 4.81404 61.7553 5.95394C61.7553 7.09384 61.5058 8.12899 61.0162 9.02944C60.5242 9.92988 59.8392 10.6458 58.9753 11.1596C58.1115 11.6709 57.1228 11.9303 56.0306 11.9303ZM56.0306 1.92811C55.3386 1.92811 54.7124 2.09523 54.1616 2.42448C53.6131 2.75373 53.1753 3.23014 52.8575 3.83876C52.5397 4.44986 52.3773 5.15825 52.3773 5.94895C52.3773 6.73965 52.5397 7.45053 52.8575 8.05914C53.1753 8.67025 53.6155 9.14916 54.1616 9.48589C54.7101 9.82263 55.3385 9.99474 56.0282 9.99474C56.7179 9.99474 57.3488 9.82263 57.8949 9.48589C58.4434 9.14916 58.8788 8.67025 59.1895 8.05914C59.5003 7.44804 59.6603 6.73965 59.6603 5.94646C59.6603 5.15326 59.5026 4.44488 59.1895 3.83377C58.8788 3.22515 58.4434 2.74874 57.8949 2.41949C57.3464 2.09024 56.7179 1.92312 56.0259 1.92312L56.0306 1.92811ZM44.6118 11.9303C43.4937 11.9303 42.4838 11.6709 41.6058 11.1596C40.7278 10.6482 40.0311 9.93238 39.5344 9.02944C39.0377 8.12899 38.7858 7.09384 38.7858 5.95394C38.7858 4.81404 39.0377 3.77889 39.5344 2.87844C40.0311 1.97799 40.7302 1.26462 41.6058 0.760767C42.4815 0.256915 43.4937 0 44.6118 0C45.6051 0 46.5043 0.214511 47.2858 0.638545C47.7284 0.880494 48.1215 1.1873 48.451 1.55147C48.6534 1.77346 48.75 2.07527 48.7146 2.37958C48.6817 2.68139 48.524 2.94579 48.2839 3.11042C48.1191 3.22266 47.9379 3.28003 47.7495 3.28003C47.4953 3.28003 47.2599 3.17527 47.0857 2.98819C46.8433 2.7238 46.5655 2.50679 46.2619 2.33967C45.7605 2.06779 45.1979 1.92811 44.5882 1.92811C43.8821 1.92811 43.2394 2.09523 42.6792 2.42697C42.1166 2.75622 41.6717 3.23264 41.354 3.84125C41.0362 4.45236 40.8738 5.16075 40.8738 5.95144C40.8738 6.74214 41.0362 7.47547 41.354 8.08409C41.6717 8.6927 42.1166 9.16912 42.6792 9.49837C43.2394 9.82762 43.8821 9.99723 44.5882 9.99723C45.1979 9.99723 45.7605 9.86004 46.2619 9.58567C46.5679 9.41855 46.8456 9.19905 47.0904 8.93216C47.2646 8.74259 47.5 8.63783 47.7542 8.63783C47.9355 8.63783 48.1144 8.6927 48.2698 8.79497C48.5122 8.9571 48.6723 9.22399 48.7076 9.5258C48.7429 9.83261 48.6464 10.1344 48.4463 10.3589C48.1167 10.7231 47.726 11.0324 47.2835 11.2768C46.502 11.7083 45.6028 11.9278 44.6094 11.9278L44.6118 11.9303ZM30.839 11.9303C29.3749 11.9303 28.205 11.4963 27.36 10.6383C26.5149 9.78022 26.0865 8.49815 26.0865 6.82945V1.14988C26.0865 0.576187 26.5267 0.10
27255 27.0704 0.107255H27.174C27.7154 0.107255 28.1579 0.573693 28.1579 1.14988V6.5875C28.1579 7.69497 28.4122 8.54055 28.9112 9.10426C29.4102 9.66798 30.1352 9.95483 31.0674 9.95483C32.096 9.95483 32.9199 9.62059 33.5131 8.96209C34.1086 8.30359 34.4099 7.35824 34.4099 6.1485V1.14739C34.4099 0.573693 34.8501 0.104761 35.3939 0.104761H35.4974C36.0388 0.104761 36.4814 0.571199 36.4814 1.14739V10.7555C36.4814 11.3292 36.0412 11.7981 35.4974 11.7981C34.9537 11.7981 34.5135 11.3317 34.5135 10.7555V10.2766C34.5135 10.2566 34.5017 10.2392 34.4852 10.2317C34.4805 10.2317 34.4758 10.2292 34.4711 10.2292C34.457 10.2292 34.4452 10.2342 34.4382 10.2467C34.0568 10.743 33.5743 11.1421 32.9999 11.4315C32.3432 11.7607 31.6182 11.9278 30.8437 11.9278L30.839 11.9303ZM19.2248 11.9303C18.3304 11.9303 17.4571 11.8006 16.6308 11.5462C16.1624 11.4015 15.7458 11.2319 15.3927 11.0424C15.1879 10.9326 15.0349 10.7405 14.9643 10.5061C14.8913 10.2666 14.9148 10.0022 15.0255 9.78022L15.0796 9.67048C15.235 9.35869 15.5339 9.16662 15.8611 9.16662C15.9929 9.16662 16.12 9.19905 16.2377 9.26141C16.5555 9.42853 16.9133 9.57569 17.297 9.69791C17.9773 9.91492 18.6764 10.0247 19.3708 10.0247C21.0915 10.0247 21.9295 9.52331 21.9295 8.49565C21.9295 8.15642 21.8189 7.89701 21.5952 7.69996C21.3669 7.50042 21.0774 7.35325 20.7337 7.26096C20.3853 7.16618 19.8839 7.06142 19.239 6.94418C18.361 6.79951 17.6336 6.6299 17.0757 6.44033C16.5131 6.24827 16.0235 5.92151 15.621 5.46505C15.2161 5.0061 15.009 4.35508 15.009 3.52946C15.009 2.46938 15.4327 1.60634 16.266 0.965301C17.0969 0.326756 18.2221 0.0049878 19.6156 0.0049878C20.3453 0.0049878 21.0844 0.102267 21.8141 0.291835C22.1602 0.38163 22.4803 0.488886 22.7675 0.606119C23.0076 0.705891 23.1935 0.907932 23.283 1.16235C23.3701 1.41178 23.3513 1.69115 23.2312 1.92561L23.1912 2.00543C23.0382 2.30475 22.7416 2.49183 22.4144 2.49183C22.2826 2.49183 22.1555 2.46189 22.0354 2.40702C21.3128 2.06779 20.4936 1.89319 19.5944 1.89319C18.7658 1.89319 18.1279 2.03786 17.6972 2.3247C17.2664 2.60906 17.0569 2.97572 17.0569 3.44465C17.0569 3.81381 17.1722 4.09567 17.4123 4.30519C17.6548 4.51971 17.9584 4.67685 18.3139 4.77662C18.674 4.87639 19.1919 4.99612 19.8486 5.12583C20.729 5.28546 21.4493 5.46006 21.9907 5.64215C22.5392 5.82673 23.0146 6.14351 23.403 6.585C23.7938 7.02899 23.9939 7.66005 23.9939 8.45574C23.9939 9.51832 23.5608 10.3739 22.7039 10.9999C21.8542 11.6235 20.6819 11.9378 19.2201 11.9378L19.2248 11.9303Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M7.74634 3.78402L6.1006 4.85843C3.36998 2.96922 -0.334841 5.1933 0.0242506 8.50706C0.15335 9.72872 0.875872 10.8468 1.93253 11.4619C4.79767 13.1396 8.32566 10.6417 7.71922 7.36502L9.36497 6.29061C9.0612 5.3471 8.4808 4.44612 7.74526 3.78402H7.74634ZM3.25065 11.1238C1.59948 10.7857 0.502678 9.08843 0.868278 7.43483C1.71231 3.93455 6.61049 4.26942 6.97934 7.84823C7.15509 9.88251 5.23379 11.571 3.25065 11.1227V11.1238ZM10.1103 6.12263C9.89872 6.26116 9.61232 6.16954 9.52227 5.93284C9.21851 5.13331 8.73683 4.3894 8.13472 3.78511C7.95572 3.60623 7.98935 3.30627 8.2009 3.16774C8.35821 3.06521 8.56542 3.08484 8.69777 3.21791C9.37798 3.90074 9.92259 4.74281 10.2665 5.64597C10.3327 5.82158 10.2665 6.0201 10.1103 6.12263Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M6.318 7.2506C4.77423 6.50779 3.01349 9.65466 1.46973 8.91185C2.32894 11.3672 5.82547 11.173 6.39937 8.61734C6.49592 8.16576 6.46554 7.67928 6.318 7.2506Z",fill:"#F45353"}),(0,t.jsx)("path",{opacity:"0.3",d:"M6.318 7.24993C3.87379 6.08499 1.48274 8.05165 1.46973 8.91117C3.01349 9.65399 4.77423 6.50712 6.318 7.24993Z",fill:"#F45353"}),(0,t.jsx)("path",{d:"M8.98285 2.54395C9.27794 2.60721 9.5676 2.41742 9.63052 2.12073C9.69344 1.82404 9.50468 1.5328 9.20959 1.46954C8.91451 1.40627 8.62485 1.59607 8.56193 1.89276C8.499 2.18945 8.68777 2.48068 8.98285 2.54395ZM9.9191 3.73179C10.058 3.76125 10.1936 3.67289 10.2239 3.53327C10.2532 3.39366 10.1654 3.25731 10.0265 3.22677C9.88764 3.19623 9.75203 3.28567 9.72165 3.42529C9.69127 3.56491 9.78023 3.70125 9.9191 3.73179ZM7.38701 1.22521C7.80577 1.51535 7.79926 1.92548 7.39569 2.19163C7.34037 2.22762 7.31324 2.29416 7.32626 2.35961C7.4239 2.83409 7.13966 3.12969 6.64062 3.03697C6.57987 3.02607 6.51695 3.05115 6.48115 3.10351C6.19257 3.52455 5.78466 3.518 5.51996 3.11224C5.48416 3.05661 5.41798 3.02934 5.35289 3.04243C4.88097 3.1406 4.58697 2.85482 4.67918 2.35306C4.69003 2.29198 4.66508 2.22871 4.61301 2.19272C4.19425 1.90257 4.20076 1.49245 4.60433 1.2263C4.65966 1.1903 4.68678 1.12377 4.67376 1.05832C4.57612 0.583835 4.86036 0.288236 5.3594 0.380952C5.42015 0.391859 5.48307 0.366772 5.51887 0.314415C5.80745 -0.106622 6.21536 -0.100078 6.48006 0.305689
2C6.51587 0.361318 6.58204 0.388587 6.64713 0.375498C7.11905 0.277329 7.41305 0.56311 7.32084 1.06486C7.30999 1.12595 7.33494 1.18921 7.38701 1.22521Z",fill:"#F45353"}),(0,t.jsx)("path",{opacity:"0.3",d:"M71.9857 9.88834C71.9103 9.8927 71.8382 9.89598 71.7639 9.89489C70.1747 9.87086 68.9285 8.31115 69.3064 6.73396C69.6264 5.34244 71.0125 4.47084 72.4062 4.7854C75.305 5.53577 74.9642 9.62511 71.9857 9.88834Z",fill:"#5496D1"}),(0,t.jsx)("path",{d:"M73.1598 8.96325C73.2734 9.00257 73.4045 8.9698 73.4853 8.87259C74.5219 7.62307 73.9342 6.32331 73.4788 5.80996C73.3696 5.68763 73.1828 5.67671 73.0604 5.78484C72.9381 5.89297 72.9272 6.07974 73.0353 6.20207C73.0779 6.25013 73.9943 7.32926 73.0299 8.49359C72.925 8.61919 72.9425 8.80597 73.0692 8.91082C73.0976 8.93376 73.1282 8.95123 73.1609 8.96216L73.1598 8.96325Z",fill:"#5496D1"}),(0,t.jsx)("path",{d:"M72.7247 9.45777C72.878 9.45777 73.0022 9.33354 73.0022 9.1803C73.0022 9.02706 72.878 8.90283 72.7247 8.90283C72.5715 8.90283 72.4473 9.02706 72.4473 9.1803C72.4473 9.33354 72.5715 9.45777 72.7247 9.45777Z",fill:"#5496D1"}),(0,t.jsx)("path",{d:"M71.8382 0.281797L70.5396 0C70.486 0.00327671 70.4369 0.0305826 70.4052 0.0742721L69.6636 1.196C69.633 1.23969 69.6232 1.29539 69.6385 1.34782L69.7313 2.2653C69.7466 2.31663 69.7837 2.35923 69.834 2.37998L70.8465 2.79067C70.8967 2.81142 70.9524 2.80814 70.9994 2.78193L72.191 2.40074C72.238 2.37452 72.2707 2.32865 72.2795 2.27513L72.6159 1.44721C72.6246 1.39369 72.6093 1.34017 72.5733 1.29976L71.9802 0.338594C71.9442 0.298181 71.8917 0.277428 71.8382 0.279613V0.281797Z",fill:"#5496D1"}),(0,t.jsx)("path",{d:"M73.6621 2.51847L73.1541 1.98647C73.1399 1.96025 73.1388 1.92857 73.1508 1.90126L73.4665 1.22616C73.4786 1.19885 73.5015 1.17809 73.531 1.17044L73.9909 0.948686C74.0193 0.941039 74.0499 0.946501 74.0739 0.963979L74.5611 1.32338C74.5852 1.34086 74.6005 1.36817 74.6015 1.39876L74.7665 2.07168C74.7676 2.10117 74.7556 2.13066 74.7326 2.14924L74.4858 2.45511C74.4628 2.47477 74.4333 2.48242 74.4038 2.47805L73.732 2.56763C73.7025 2.56216 73.6774 2.54359 73.6632 2.51738L73.6621 2.51847Z",fill:"#5496D1"}),(0,t.jsx)("path",{d:"M74.964 2.86594L74.739 3.21878C74.7335 3.23517 74.7368 3.25265 74.7466 3.26685L74.9979 3.60877C75.0077 3.62297 75.023 3.63171 75.0394 3.6328L75.3212 3.70599C75.3376 3.70709 75.3551 3.70053 75.366 3.68852L75.5987 3.43399C75.6107 3.42197 75.6151 3.40449 75.6129 3.38811L75.6304 2.99375C75.6282 2.97736 75.6173 2.96207 75.603 2.95333L75.4315 2.81023C75.4173 2.80149 75.3988 2.80039 75.3835 2.80695L74.9979 2.83098C74.9826 2.83754 74.9705 2.85064 74.9651 2.86703L74.964 2.86594Z",fill:"#5496D1"}),(0,t.jsx)("path",{d:"M68.5675 8.65783L66.288 10.33C66.1853 10.4174 66.1012 10.5474 66.1198 10.6817C66.2192 11.4277 66.7609 11.8297 67.1224 11.9706C67.2633 12.0252 67.4228 12.0023 67.5419 11.9072L69.8225 10.2492L68.5664 8.65674L68.5675 8.65783Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M71.8861 3.07617C69.552 3.04121 67.6253 4.91222 67.5903 7.24524C67.5554 9.57825 69.4264 11.5061 71.7594 11.541C74.0935 11.576 76.0202 9.70495 76.0552 7.37193C76.0901 5.03782 74.2191 3.11112 71.8861 3.07617ZM75.0711 7.96939C75.0711 7.96939 75.0689 7.98031 75.0678 7.98468C75.0678 7.98686 75.0678 7.98905 75.0678 7.99123C75.0656 7.99888 75.0645 8.00652 75.0612 8.01417C74.9848 8.36915 74.8537 8.7001 74.6779 8.99718C74.1831 9.86551 73.3846 10.381 72.5229 10.5569C72.4988 10.5624 72.4748 10.5678 72.4497 10.5711C72.0368 10.653 71.601 10.6552 71.163 10.5667C71.092 10.5503 71.0221 10.5318 70.9533 10.511C70.3471 10.3494 69.7846 10.0217 69.351 9.53129C69.3412 9.52037 69.3314 9.50944 69.3237 9.49961C69.3106 9.48432 69.2975 9.46903 69.2855 9.45483C68.901 8.99937 68.6651 8.45653 68.5733 7.89293C68.5559 7.79791 68.5417 7.70179 68.5307 7.6024C68.5209 7.50846 68.5165 7.41344 68.5155 7.31951C68.5111 6.81708 68.628 6.33868 68.8366 5.91052C68.8388 5.90615 68.8398 5.90178 68.842 5.89741C69.1631 5.20603 69.7278 4.61731 70.5274 4.28746C70.5328 4.28418 70.5394 4.282 70.5459 4.27981C70.961 4.10068 71.4164 4.00457 71.885 4.01549C72.4988 4.02095 73.0755 4.20663 73.5681 4.5201C73.5976 4.53867 73.6271 4.55724 73.6555 4.5769C73.6577 4.57908 73.661 4.58018 73.6632 4.58236C73.6828 4.59547 73.7025 4.60857 73.7211 4.62277C74.1547 4.92751 74.5053 5.32945 74.7478 5.79256C74.7641 5.82314 74.7805 5.85372 74.7947 5.88431C75.106 6.50907 7
25.224 7.23431 75.0689 7.96939H75.0711Z",fill:"currentColor"})]});case"mono":return(0,t.jsxs)(g.Icon,{viewBox:"0 0 90 14",...i,children:[(0,t.jsx)("path",{d:"M66.5359 13.9199C65.2644 13.9199 64.1028 13.6173 63.0894 13.0207C62.0733 12.4241 61.2687 11.586 60.6974 10.5355C60.1262 9.48499 59.8351 8.27732 59.8351 6.94743C59.8351 5.61754 60.1262 4.40987 60.6974 3.35934C61.2687 2.30881 62.076 1.47654 63.0894 0.888709C64.1055 0.300879 65.2644 0.00114441 66.5359 0.00114441C67.8075 0.00114441 68.9636 0.300879 69.9715 0.888709C70.9794 1.47945 71.7785 2.30881 72.3525 3.35934C72.9237 4.40987 73.2148 5.61754 73.2148 6.94743C73.2148 8.27732 72.9237 9.48499 72.3525 10.5355C71.7785 11.586 70.9794 12.4212 69.9715 13.0207C68.9636 13.6173 67.8102 13.9199 66.5359 13.9199ZM66.5359 2.25061C65.7286 2.25061 64.998 2.44558 64.3554 2.82971C63.7156 3.21384 63.2048 3.76966 62.834 4.47971C62.4633 5.19267 62.2738 6.01912 62.2738 6.94161C62.2738 7.86409 62.4633 8.69346 62.834 9.40351C63.2048 10.1165 63.7183 10.6752 64.3554 11.0681C64.9953 11.4609 65.7285 11.6617 66.5332 11.6617C67.3378 11.6617 68.0738 11.4609 68.711 11.0681C69.3508 10.6752 69.8589 10.1165 70.2214 9.40351C70.5839 8.69055 70.7706 7.8641 70.7706 6.9387C70.7706 6.0133 70.5866 5.18685 70.2214 4.47389C69.8589 3.76384 69.3508 3.20802 68.711 2.82389C68.0711 2.43977 67.3378 2.24479 66.5304 2.24479L66.5359 2.25061ZM53.2139 13.9199C51.9095 13.9199 50.7313 13.6173 49.707 13.0207C48.6826 12.4241 47.8698 11.589 47.2903 10.5355C46.7108 9.48499 46.417 8.27732 46.417 6.94743C46.417 5.61754 46.7108 4.40987 47.2903 3.35934C47.8698 2.30881 48.6854 1.47654 49.707 0.888709C50.7286 0.300879 51.9095 0.00114441 53.2139 0.00114441C54.3728 0.00114441 55.4219 0.251408 56.3337 0.746116C56.85 1.02839 57.3086 1.38633 57.6931 1.81119C57.9292 2.07019 58.0418 2.4223 58.0006 2.77733C57.9622 3.12945 57.7782 3.43791 57.4981 3.62997C57.3058 3.76093 57.0944 3.82786 56.8747 3.82786C56.5781 3.82786 56.3035 3.70564 56.1002 3.48738C55.8174 3.17892 55.4933 2.92574 55.139 2.73077C54.5541 2.41357 53.8977 2.25061 53.1865 2.25061C52.3626 2.25061 51.6129 2.44559 50.9593 2.83262C50.3029 3.21675 49.7839 3.77257 49.4131 4.48262C49.0424 5.19558 48.8529 6.02203 48.8529 6.94452C48.8529 7.867 49.0424 8.72256 49.4131 9.43261C49.7839 10.1427 50.3029 10.6985 50.9593 11.0826C51.6129 11.4667 52.3626 11.6646 53.1865 11.6646C53.8977 11.6646 54.5541 11.5046 55.139 11.1845C55.4961 10.9895 55.8201 10.7334 56.1057 10.422C56.3089 10.2009 56.5836 10.0786 56.8802 10.0786C57.0916 10.0786 57.3003 10.1427 57.4816 10.262C57.7645 10.4511 57.9512 10.7625 57.9924 11.1146C58.0336 11.4726 57.921 11.8247 57.6876 12.0866C57.3031 12.5114 56.8472 12.8723 56.3309 13.1575C55.4192 13.6609 54.3701 13.917 53.2112 13.917L53.2139 13.9199ZM37.1457 13.9199C35.4375 13.9199 34.0727 13.4136 33.0868 12.4125C32.1009 11.4114 31.601 9.91568 31.601 7.96886V1.34268C31.601 0.673365 32.1146 0.126275 32.749 0.126275H32.8698C33.5014 0.126275 34.0177 0.670455 34.0177 1.34268V7.68658C34.0177 8.97864 34.3143 9.96515 34.8965 10.6228C35.4787 11.2805 36.3246 11.6151 37.4121 11.6151C38.6122 11.6151 39.5734 11.2252 40.2654 10.4569C40.9602 9.68869 41.3117 8.58579 41.3117 7.17441V1.33977C41.311
27 0.670455 41.8253 0.123366 42.4597 0.123366H42.5805C43.2121 0.123366 43.7284 0.667545 43.7284 1.33977V12.5493C43.7284 13.2186 43.2149 13.7657 42.5805 13.7657C41.9461 13.7657 41.4326 13.2215 41.4326 12.5493V11.9905C41.4326 11.9673 41.4188 11.9469 41.3996 11.9382C41.3941 11.9382 41.3886 11.9353 41.3831 11.9353C41.3667 11.9353 41.3529 11.9411 41.3447 11.9556C40.8998 12.5347 40.3368 13.0003 39.6667 13.3379C38.9005 13.722 38.0547 13.917 37.1512 13.917L37.1457 13.9199ZM23.5958 13.9199C22.5522 13.9199 21.5333 13.7686 20.5694 13.4718C20.0229 13.303 19.5368 13.1051 19.1249 12.8839C18.886 12.7559 18.7074 12.5318 18.6251 12.2583C18.5399 11.9789 18.5674 11.6704 18.6965 11.4114L18.7596 11.2834C18.9409 10.9196 19.2896 10.6956 19.6714 10.6956C19.8252 10.6956 19.9735 10.7334 20.1108 10.8062C20.4815 11.0011 20.8989 11.1728 21.3466 11.3154C22.1402 11.5686 22.9559 11.6966 23.766 11.6966C25.7735 11.6966 26.7512 11.1117 26.7512 9.91277C26.7512 9.517 26.6221 9.21436 26.3612 8.98446C26.0948 8.75166 25.757 8.57997 25.3561 8.47229C24.9496 8.36171 24.3647 8.23949 23.6122 8.10272C22.5879 7.93394 21.7393 7.73605 21.0884 7.51489C20.4321 7.29081 19.8609 6.9096 19.3913 6.37706C18.9189 5.84161 18.6772 5.08209 18.6772 4.11886C18.6772 2.88209 19.1716 1.87522 20.1437 1.12733C21.1132 0.38236 22.4259 0.00696353 24.0516 0.00696353C24.903 0.00696353 25.7653 0.120456 26.6166 0.34162C27.0203 0.446381 27.3938 0.571513 27.7288 0.708285C28.009 0.824687 28.2259 1.0604 28.3303 1.35723C28.4319 1.64823 28.4099 1.97416 28.2698 2.2477L28.2232 2.34082C28.0447 2.69003 27.6986 2.90828 27.3169 2.90828C27.1631 2.90828 27.0148 2.87336 26.8748 2.80934C26.0317 2.41357 25.076 2.20987 24.0269 2.20987C23.0602 2.20987 22.316 2.37865 21.8134 2.71331C21.3109 3.04505 21.066
25 3.47283 21.0665 4.01992C21.0665 4.45061 21.201 4.77944 21.4811 5.02389C21.764 5.27415 22.1183 5.45748 22.533 5.57389C22.9531 5.69029 23.5573 5.82997 24.3235 5.98129C25.3506 6.16754 26.1909 6.37124 26.8226 6.58367C27.4625 6.79902 28.0172 7.16859 28.4703 7.68367C28.9262 8.20166 29.1596 8.9379 29.1596 9.86621C29.1596 11.1059 28.6543 12.104 27.6547 12.8345C26.6633 13.562 25.2957 13.9286 23.5903 13.9286L23.5958 13.9199Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M9.03719 4.41471L7.11714 5.66819C3.93142 3.4641 -0.390893 6.05887 0.0280483 9.92493C0.178665 11.3502 1.02161 12.6546 2.25439 13.3723C5.59706 15.3295 9.71306 12.4153 9.00554 8.59256L10.9256 7.33907C10.5712 6.2383 9.89405 5.18716 9.03592 4.41471H9.03719ZM3.79219 12.9778C1.86582 12.5833 0.586215 10.6032 1.01275 8.674C1.99745 4.59033 7.71202 4.98101 8.14235 9.1563C8.34739 11.5296 6.10586 13.4996 3.79219 12.9766V12.9778ZM11.7951 7.1431C11.5483 7.30472 11.2142 7.19782 11.1091 6.92167C10.7547 5.98888 10.1928 5.12099 9.4903 4.41598C9.28146 4.20728 9.3207 3.85733 9.56751 3.69571C9.75103 3.57609 9.99278 3.599 10.1472 3.75425C10.9408 4.55088 11.5761 5.5333 11.9774 6.58699C12.0546 6.79187 11.9774 7.02348 11.7951 7.1431Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M7.37155 8.45964C5.57048 7.59302 3.51628 11.2644 1.71521 10.3978C2.71763 13.2623 6.79693 13.0358 7.46648 10.0542C7.57912 9.52732 7.54368 8.95976 7.37155 8.45964Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M7.37155 8.45942C4.51996 7.10031 1.7304 9.39475 1.71521 10.3975C3.51628 11.2642 5.57048 7.5928 7.37155 8.45942Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M10.48 2.96795C10.8242 3.04176 11.1622 2.82033 11.2356 2.47419C11.309 2.12805 11.0888 1.78828 10.7445 1.71447C10.4002 1.64066 10.0623 1.86209 9.98889 2.20822C9.91548 2.55436 10.1357 2.89414 10.48 2.96795ZM11.5723 4.35378C11.7343 4.38813 11.8925 4.28506 11.9279 4.12217C11.9621 3.95928 11.8596 3.80021 11.6976 3.76458C11.5356 3.72894 11.3773 3.83329 11.3419 3.99618C11.3065 4.15907 11.4103 4.31814 11.5723 4.35378ZM8.61815 1.42941C9.10671 1.76792 9.09911 2.2464 8.62828 2.55691C8.56373 2.5989 8.53209 2.67653 8.54728 2.75288C8.66119 3.30645 8.32958 3.65132 7.74736 3.54315C7.67649 3.53042 7.60308 3.55969 7.56131 3.62078C7.22464 4.11199 6.74874 4.10435 6.43991 3.63096C6.39815 3.56606 6.32094 3.53424 6.245 3.54951C5.69443 3.66404 5.35143 3.33063 5.45901 2.74525C5.47167 2.67398 5.44255 2.60018 5.3818 2.55818C4.89325 2.21968 4.90084 1.74119 5.37168 1.43069C5.43623 1.38869 5.46787 1.31106 5.45268 1.23471C5.33877 0.681143 5.67038 0.336277 6.25259 0.444445C6.32347 0.457171 6.39688 0.427902 6.43865 0.366818C6.77532 -0.124393 7.25122 -0.116758 7.56004 0.356638C7.60181 0.421539 7.67902 0.453353 7.75496 0.438082C8.30553 0.323551 8.64853 0.656964 8.54095 1.24235C8.52829 1.31361 8.5574 1.38742 8.61815 1.42941Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M85.1495 11.5359C85.0616 11.541 84.9775 11.5448 84.8908 11.5435C83.0367 11.5155 81.5828 9.6958 82.0237 7.85574C82.3971 6.23231 84.0141 5.21543 85.6401 5.58242C89.022 6.45785 88.6245 11.2288 85.1495 11.5359Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M86.5194 10.4577C86.6519 10.5036 86.8048 10.4654 86.8991 10.352C88.1084 8.89418 87.4229 7.37779 86.8915 6.77888C86.7641 6.63616 86.5462 6.62342 86.4035 6.74957C86.2607 6.87572 86.248 7.09363 86.3741 7.23635C86.4238 7.29241 87.493 8.5514 86.3678 9.90979C86.2454 10.0563 86.2658 10.2742 86.4136 10.3966C86.4468 10.4233 86.4825 10.4437 86.5207 10.4565L86.5194 10.4577Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M86.0123 11.0347C86.1911 11.0347 86.336 10.8897 86.336 10.711C86.336 10.5322 86.1911 10.3872 86.0123 10.3872C85.8335 10.3872 85.6886 10.5322 85.6886 10.711C85.6886 10.8897 85.8335 11.0347 86.0123 11.0347Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M84.9774 0.328764L83.4623 0C83.3998 0.00382284 83.3425 0.0356799 83.3055 0.0866511L82.4403 1.39534C82.4046 1.44631 82.3932 1.5113 82.411 1.57246L82.5193 2.64286C82.5372 2.70275 82.5805 2.75245 82.6391 2.77666L83.8204 3.25579C83.879 3.28 83.944 3.27618 83.9988 3.24559L85.389 2.80087C85.4438 2.77029 85.482 2.71677 85.4922 2.65433L85.8847 1.68842C85.8949 1.62598 85.877 1.56354 85.835 1.51639L85.1431 0.395027C85.101 0.347879 85.0398 0.32366
27 84.9774 0.326216V0.328764Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M87.1054 2.93708L86.5127 2.31642C86.4962 2.28583 86.4949 2.24887 86.5089 2.21701L86.8772 1.42938C86.8912 1.39752 86.918 1.37331 86.9524 1.36438L87.489 1.10567C87.5221 1.09674 87.5578 1.10312 87.5858 1.12351L88.1543 1.54281C88.1823 1.5632 88.2001 1.59506 88.2014 1.63075L88.3939 2.41582C88.3951 2.45024 88.3811 2.48465 88.3543 2.50631L88.0663 2.86316C88.0395 2.8861 88.0051 2.89503 87.9707 2.88993L87.1869 2.99444C87.1525 2.98806 87.1232 2.9664 87.1066 2.93581L87.1054 2.93708Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M88.6243 3.34246L88.3617 3.75411C88.3553 3.77323 88.3592 3.79362 88.3706 3.81019L88.6638 4.2091C88.6752 4.22567 88.6931 4.23587 88.7122 4.23714L89.041 4.32253C89.0601 4.3238 89.0805 4.31616 89.0933 4.30214L89.3647 4.00519C89.3787 3.99117 89.3838 3.97078 89.3813 3.95166L89.4017 3.49157C89.3991 3.47246 89.3864 3.45461 89.3698 3.44442L89.1697 3.27746C89.1532 3.26727 89.1315 3.26599 89.1137 3.27364L88.6638 3.30168C88.6459 3.30932 88.6319 3.32462 88.6255 3.34373L88.6243 3.34246Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M81.1621 10.1014L78.5027 12.0523C78.3829 12.1543 78.2848 12.3059 78.3
2065 12.4626C78.4224 13.333 79.0545 13.8019 79.4763 13.9663C79.6407 14.03 79.8267 14.0032 79.9656 13.8924L82.6263 11.958L81.1609 10.1001L81.1621 10.1014Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M85.0339 3.5883C82.3108 3.54752 80.0629 5.73037 80.0222 8.45223C79.9814 11.1741 82.1642 13.4232 84.8861 13.464C87.6092 13.5048 89.8571 11.3219 89.8978 8.60005C89.9386 5.87691 87.7558 3.62908 85.0339 3.5883ZM88.7497 9.29708C88.7497 9.29708 88.7472 9.30982 88.7459 9.31492C88.7459 9.31747 88.7459 9.32002 88.7459 9.32256C88.7433 9.33148 88.7421 9.3404 88.7383 9.34932C88.6491 9.76347 88.4961 10.1496 88.291 10.4962C87.7137 11.5092 86.7822 12.1107 85.7768 12.3159C85.7488 12.3222 85.7208 12.3286 85.6914 12.3324C85.2098 12.428 84.7013 12.4305 84.1903 12.3273C84.1075 12.3082 84.026 12.2865 83.9457 12.2623C83.2385 12.0737 82.5822 11.6915 82.0763 11.1193C82.0648 11.1066 82.0534 11.0938 82.0445 11.0823C82.0292 11.0645 82.0139 11.0467 81.9999 11.0301C81.5513 10.4987 81.2761 9.86541 81.169 9.20788C81.1486 9.09702 81.1321 8.98488 81.1193 8.86892C81.1079 8.75933 81.1028 8.64847 81.1015 8.53888C81.0964 7.95271 81.2327 7.39458 81.4761 6.89506C81.4787 6.88996 81.4799 6.88487 81.4825 6.87977C81.8571 6.07315 82.5159 5.38631 83.4487 5.00148C83.4551 4.99765 83.4627 4.99511 83.4704 4.99256C83.9546 4.78358 84.486 4.67144 85.0326 4.68418C85.7488 4.69055 86.4216 4.90718 86.9963 5.2729C87.0307 5.29456 87.0651 5.31623 87.0983 5.33916C87.1008 5.34171 87.1046 5.34299 87.1072 5.34553C87.1301 5.36082 87.153 5.37612 87.1747 5.39268C87.6806 5.74821 88.0896 6.21714 88.3725 6.75744C88.3916 6.79312 88.4108 6.8288 88.4273 6.86448C88.7905 7.59336 88.9281 8.43949 88.7472 9.29708H88.7497Z",fill:"currentColor"})]})}},ex=({isOpenEmailVerifyModal:e})=>{let{isOpen:i,onOpen:a,onClose:o}=(0,ec.useDisclosure)(),[r,s]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{"true"===window.sessionStorage.getItem("loginFlow")&&e&&(window.sessionStorage.removeItem("loginFlow"),a())},[e,a]),(0,t.jsxs)(ea.Modal,{isOpen:i,onClose:o,size:"xl",children:[(0,t.jsx)(ed.ModalOverlay,{}),(0,t.jsxs)(er.ModalContent,{pt:"48px",pb:"24px",px:"16px",children:[(0,t.jsx)(el.ModalHeader,{children:(0,t.jsx)(ep,{variant:"color",width:"90px",height:"14px"})}),(0,t.jsx)(eo.ModalCloseButton,{}),(0,t.jsxs)(en.ModalBody,{mb:"56px",children:[(0,t.jsx)(S.Heading,{as:"h1",fontSize:"32px",children:"メールアドレスの認証をお願いします"}),(0,t.jsx)(m.Text,{fontSize:"16px",mt:"32px",fontWeight:"700",children:"アカウント情報を保護するため、メールアドレスの認証をお願いします。"}),(0,t.jsx)(m.Text,{fontSize:"12px",mt:"10px",children:"Twitter(X)のアカウントのみでログインされていると、今後スコマドへのログインができなくなる可能性があります。"})]}),(0,t.jsxs)(es.ModalFooter,{justifyContent:"space-between",pl:"8px",children:[(0,t.jsx)(n.Button,{variant:"ghost",onClick:o,isDisabled:r,children:"あとで"}),(0,t.jsx)(ei.LightMode,{children:(0,t.jsx)(n.Button,{colorScheme:"brand",width:"180px",height:"48px",isLoading:r,onClick:async()=>{s(!0),window.location.href="https://app.sucolab.jp/account/settings",o()},children:"認証する"})})]})]})]})};var eC=e.i(7960);e.i(54824);var eh=({promotionKey:e,userId:t})=>`/flag/${e}/${t}`;async function eu({host:e,promotionKey:t,userId:i},a){let n=eh({promotionKey:t,userId:i}),o=await fetch(`${e}${n}`,{method:"GET",...a});if(o.ok)return await o.json();throw Error()}async function em({host:e,promotionKey:t,userId:i},a){let n=eh({promotionKey:t,userId:i}),o=await fetch(`${e}${n}`,{method:"POST",...a});if(o.ok)return await o.json();throw Error()}let ef="https://promotion-api.luco.workers.dev",eg=(e,t)=>t?eh({promotionKey:e,userId:t.id}):null;var eb=e.i(88484),ej=e.i(91031),ey=e.i(97227);function e_(e){return(0,t.jsx)(ey.chakra.svg,{width:"1.2em",viewBox:"0 0 36 36",...e,children:(0,t.jsx)("path",{d:"M29.6311 13.6941L14.0771 27.8341L5.65723 19.4142L8.48565 16.5858L14.2086 22.3087L26.9404 10.7344L29.6311 13.6941Z",fill:"currentColor"})})}function ew(e){return(0,t.jsx)(ey.chakra.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:(0,t.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}let ev=({isIndeterminate:e,isChecked:i,...a})=>e||i?(0,t.jsx)(ey.chakra.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,t.jsx)(e?ew:e_,{...a})}):null;var ek=e.i(65731);let eS=(0,ek.keyframes)({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),eI=(0,ek.keyframes)({from:{opacity:0}
2,to:{opacity:1}}),eF=(0,ek.keyframes)({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),eL=(0,eb.forwardRef)(function({children:e,className:i,containerStyles:a,labelStyles:n,checkboxStyles:o,isDisabled:r,iconProps:s,icon:l=(0,t.jsx)(ev,{}),isChecked:d,isIndeterminate:p,onChange:x,inputProps:C,...h},u){let{state:m,getInputProps:f,getCheckboxProps:g,getLabelProps:b,getRootProps:j,htmlProps:y}=(0,ej.useCheckbox)({isDisabled:r,isChecked:d,isIndeterminate:p,onChange:x,...h}),_=function(e){let[t,i]=(0,c.useState)(e),[a,n]=(0,c.useState)(!1);return e!==t&&(n(!0),i(e)),a}(m.isChecked),w=(0,c.useMemo)(()=>({animation:_?m.isIndeterminate?`${eI} 20ms linear, ${eF} 200ms linear`:`${eS} 200ms linear`:void 0,width:"100%",height:"100%",margin:"-1px",...s}),[s,_,m.isIndeterminate]),v=(0,c.cloneElement)(l,{__css:w,isChecked:m.isChecked,isIndeterminate:m.isIndeterminate});return(0,t.jsxs)(ey.chakra.label,{__css:{cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative",gap:"10px",fontSize:"24px",_disabled:{cursor:"default",opacity:.2},...a},className:`chakra-checkbox ${i}`,...y,...j(),children:[(0,t.jsx)("input",{className:"chakra-checkbox__input",...f(C,u)}),(0,t.jsx)(ey.chakra.span,{__css:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0,backgroundColor:"brand.50",border:"1px solid",borderColor:"#FFFFFF",borderRadius:"4px",width:"1.8em",height:"1.8em",color:"#FFFFFF",transition:"background-color 0.1s, color 0.1s",_disabled:{backgroundColor:"brand.50",color:"brand.50",_hover:{backgroundColor:"brand.50",color:"brand.50"}},_hover:{backgroundColor:"brand.100",color:"brand.100"},_checked:{backgroundColor:"brand.500",color:"#FFFFFF",border:"1px solid",borderColor:"#B7B7B7",_hover:{backgroundColor:"brand.600",color:"#FFFFFF"}},_indeterminate:{backgroundColor:"brand.500",color:"#FFFFFF",border:"1px solid",borderColor:"#B7B7B7",_hover:{backgroundColor:"brand.600",color:"#FFFFFF"}},...o},className:"chakra-checkbox__control",...g(),children:v}),e&&(0,t.jsx)(ey.chakra.span,{className:"chakra-checkbox__label",...b(),__css:{fontSize:"1em",lineHeight:"2",fontWeight:400,letterSpacing:"-0.4px",...n},children:e})]})}),eM=()=>{let[e,i]=(0,c.useState)(!1),{data:r}=(0,W.useUser)(),{data:s}=(({promotionKey:e,me:t})=>Y(eg(e,t),()=>eu({host:ef,promotionKey:e,userId:t.id}),void 0))({promotionKey:"jp-specified-email-optin-mado",me:r}),l=(0,c.useMemo)(()=>s&&!s.ok||e,[e,s]),{insertPromotionWithMutation:d}=(({promotionKey:e,me:t})=>{let i=eg(e,t),{mutate:a}=(0,J.useSWRConfig)();return{insertPromotionWithMutation:(0,c.useCallback)(()=>em({host:ef,promotionKey:e,userId:t.id}).finally(()=>{a(i)}),[e,t,a,i])}})({promotionKey:"jp-specified-email-optin-mado",me:r}),[p,x]=(0,c.useState)(!1),[C,h]=(0,c.useState)({is_notify_buy_free_item_email:!0,is_notify_feature_update_email:!0,is_notify_update_release_email:!0}),u=(0,c.useCallback)(async()=>{try{x(!0),await d()}catch(e){i(!0),console.error(e)}finally{x(!1)}},[d]);return(0,t.jsxs)(ea.Modal,{isOpen:l,onClose:()=>{},closeOnEsc:!1,closeOnOverlayClick:!1,children:[(0,t.jsx)(ed.ModalOverlay,{zIndex:5e3,backdropFilter:"blur(12px)"}),(0,t.jsxs)(er.ModalContent,{borderRadius:"12px",containerProps:{zIndex:5002},px:{base:"14px",md:"60px"},py:{base:"40px",md:"60px"},width:"100%",maxWidth:"600px",children:[(0,t.jsx)(eo.ModalCloseButton,{opacity:"0.4"}),(0,t.jsx)(en.ModalBody,{p:0,children:(0,t.jsxs)(o.Flex,{flexDirection:"column",alignItems:"center",children:[(0,t.jsxs)(S.Heading,{as:"h3",fontSize:"24px",fontWeight:700,textAlign:"center",children:["クリエイターさんの更新通知や、人気素材の",(0,t.jsx)("br",{}),"お知らせを受け取ろう!✉️✨"]}),(0,t.jsxs)(m.Text,{textAlign:"center",mt:"14px",children:["今後は",r?.email?r.email:"ご登録のメールアドレス","宛にメッセージを送信します"]}),(0,t.jsxs)(a.Box,{my:"48px",children:[(0,t.jsx)(eL,{containerStyles:{fontSize:"16px",fontWeight:700},labelStyles:{fontSize:"16px",fontWeight:700},onChange:e=>{h(t=>({is_notify_buy_free_item_email:e.target.checked,is_notify_feature_update_email:e.target.checked,is_notify_update_release_email:e.target.checked}))},isChecked:C.is_notify_buy_free_item_email&&C.is_notify_feature_update_email&&C.is_notify_update_release_email,isIndeterminate:!(C.is_notify_buy_free_item_email&&C.is_notify_feature_update_email&&C.is_notify_update_release_email)&&(C.is_notify_buy_free_item_email||C.is_notify_feature_update_email||C.is_notify_update_release_email),children:"すべてのお知らせを受け取る"}),(0,t.jsxs)(o.Flex,{flexDirection:"column",gap:"10px",pt:"20px",pl:"24px",children:[(0,t.jsx)(eL,{isChecked:C.is_notify_update_release_email,onChange:()=>{h(e=>({...e,is_notify_update_release_email:!e.is_notify_update_release_email}))},containerStyles:{fontSize:"14px",fontWeight:700},labelStyles:{fontSize:"14px",fontWeight:400},children:"アップデート通知"}),(0,t.jsx)(eL,{isChecked:C.is_notify_feature_update_email,onChange:()=>{h(e=>({...e,is_notify_feature_update_email:!e.is_notify_feature_update_email}))},containerStyles:{fontSize:"14px",fontWeight:700},labelStyles:{fontSize:"14px",fontWeight:400},children:"素材特集・おすすめの素材通知"}),(0,t.jsx)(eL,{containerStyles:{fontSize:"14px",fontWeight:700},labelStyles:{fontSize:"14px",fontWeight:400},isChecked:C.is_notify_buy_free_item_email,onChange:()=>{h(e=>({...e,is_notify_buy_free_item_email:!e.is_notify_buy_free_item_email}))},children:"無料素材購入通知"})]})]}),(0,t.jsx)(n.Button,{colorScheme:"brand",variant:"outline",as:"a",href:"https://app.sucolab.jp/account/settings/email",target:"_blank",rel:"noopenner",mt:"24px",width:"280px",height:"52px",px:"52px",py:"10px",fontSize:"16px",fontWeight:700,_disabled:{opacity:.2,cursor:"default"}
2,_loading:{opacity:.2,cursor:"loading"},children:"メールアドレスを再設定"}),(0,t.jsx)(n.Button,{colorScheme:"brand",type:"button",height:"52px",px:"52px",py:"10px",fontSize:"16px",fontWeight:700,_disabled:{opacity:.2,cursor:"default"},_loading:{opacity:.2,cursor:"loading"},onClick:async()=>{x(!0);try{await (0,O.default)().v1.account.flags.email.$put({body:C}),u()}catch(e){console.error(e)}finally{x(!1)}},isLoading:p,mt:"16px",width:"280px",children:"OK"})]})})]})]})};async function eE(e,t,i,a,n){if(!e)return;let o=e.findIndex(e=>e.id===t);if(o<0)return;let r=structuredClone(e);return(r[o]={...r[o],favorited:!r[o].favorited,favorite_count:r[o].favorited?r[o].favorite_count-1:r[o].favorite_count+1},(0,D.pushAddToWishList)({item:r[o],item_list_id:n}),i)?a(async()=>(r[o].favorited?await (0,O.apiClient)().v1.item._itemId(t).favorite.$post():await (0,O.apiClient)().v1.item._itemId(t).favorite.$delete(),r),{optimisticData:r,revalidate:!1,throwOnError:!0,rollbackOnError:!0}):a(r,{revalidate:!1,throwOnError:!0,rollbackOnError:!0})}let eO=[{categoryId:"LOGO",categoryEn:"Logo",categoryJa:"ロゴ"},{categoryId:"BACKGROUND",categoryEn:"Background",categoryJa:"背景"},{categoryId:"STREAM_SCREEN",categoryEn:"Stream Screen",categoryJa:"配信セット"}];e.s(["__N_SSP",0,!0,"default",0,({initRandomItems:e,initPopularItems:i,initCategorySummary:a})=>{var r,l,p,x;let C,u,m,f,{data:g,mutate:b}=(r={fallbackData:e,revalidateOnFocus:!1,revalidateOnReconnect:!1},C=async()=>(await (0,O.apiClient)().v1.item.random_items.$get()).data,(0,A.default)((0,O.apiClient)().v1.item.random_items.$path(),C,r)),{data:j,mutate:S}=(l={fallbackData:i,revalidateOnFocus:!1,revalidateOnReconnect:!1},u=async()=>(await (0,O.apiClient)().v1.item.popular_items.$get()).data,(0,A.default)((0,O.apiClient)().v1.item.popular_items.$path(),u,l)),{data:I}=(p={fallbackData:a,revalidateOnFocus:!1,revalidateOnReconnect:!1},m=async()=>(await (0,O.apiClient)().v1.item.category.summary.$get()).data,(0,A.default)((0,O.apiClient)().v1.item.category.summary.$path(),m,p)),{data:F,mutate:L}=(x={revalidateOnFocus:!1,revalidateOnReconnect:!1},f=async()=>(await (0,O.apiClient)().v1.item.latest_items.$get()).data,(0,A.default)((0,O.apiClient)().v1.item.latest_items.$path(),f,x)),{data:M}=(0,W.useUser)(),T=async(e,t)=>{M&&(await eE(g,e,"random"===t,b,t),await eE(j,e,"popular"===t,S,t),await eE(F,e,"latest"===t,L,t))},D=(0,c.useRef)(null),B=(0,c.useRef)(null),$=(0,c.useCallback)(e=>{let t=new ResizeObserver(()=>{B.current=requestAnimationFrame(()=>{e()})});return D.current&&t.observe(D.current),()=>{t.disconnect(),null!==B.current&&cancelAnimationFrame(B.current)}},[]),V=(0,c.useSyncExternalStore)($,()=>D.current?.offsetWidth?D.current.offsetWidth>1100?6:D.current.offsetWidth>914?5:D.current.offsetWidth>730?4:D.current.offsetWidth>541?3:D.current.offsetWidth>350?2:1:5,()=>5),N=(0,c.useMemo)(()=>{switch(V){default:case 6:case 5:case 4:return 2;case 3:case 2:return 3;case 1:return 4}},[V]),P=(0,c.useMemo)(()=>{switch(V){default:case 6:case 5:case 4:return 1;case 3:case 2:return 2;case 1:return 3}},[V]),U=(0,c.useMemo)(()=>{switch(V){default:case 6:case 5:case 4:case 3:case 2:return 3;case 1:return 4}},[V]),{handleClickLatestItem:G,handleClickPopularItem:X,handleClickRandomItem:K,showPopularItems:J}=function({latestItems:e,popularItems:t,randomItems:i,itemColumns:a,largeItemRows:n}){let o=(0,c.useMemo)(()=>void 0!==t&&t.length>15,[t]),r=(0,c.useMemo)(()=>void 0!==t&&o?t.slice(0,n*a):void 0,[a,n,t,o]),s=(0,c.useMemo)(()=>o||void 0===i?void 0:i.slice(0,n*a),[n,i,o]);(0,R.useViewAnalyze)(Z.pushViewItemListEvent,{publicItems:e,item_list_id:"latest"}),(0,R.useViewAnalyze)(Z.pushViewItemListEvent,{publicItems:r,item_list_id:"popular"}),(0,R.useViewAnalyze)(Z.pushViewItemListEvent,{publicItems:s,item_list_id:"random"});let l=(0,c.useMemo)(()=>void 0===e?void 0:(0,z.generateMouseEventHandlerForPushSelectItemEvent)({item_list_id:"latest"}),[e]);return{handleClickLatestItem:l,handleClickPopularItem:(0,c.useMemo)(()=>o||void 0!==t?(0,z.generateMouseEventHandlerForPushSelectItemEvent)({item_list_id:"popular"}):void 0,[t,o]),handleClickRandomItem:(0,c.useMemo)(()=>o||void 0===i?void 0:(0,z.generateMouseEventHandlerForPushSelectItemEvent)({item_list_id:"random"}),[i,o]),showPopularItems:o}}({latestItems:F,popularItems:j,randomItems:g,itemColumns:V,largeItemRows:U});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h,{carouselData:et}),(0,t.jsx)(y,{}
2),(0,t.jsxs)(o.Flex,{paddingRight:{lg:"24px",base:"0"},flexDirection:{lg:"row",base:"column"},children:[(0,t.jsxs)(w.Container,{baseProps:{bottom:"0",top:"95px"},mb:{lg:M?"54px":"16px",base:"0"},pb:"40px",children:[M&&(0,t.jsx)(ee,{userId:M.id}),(0,t.jsx)(v.Section,{jaTitle:J?"今週の人気素材":"おすすめ素材",enTitle:J?"Weekly":"Recommended",mt:M?"40px":{md:"66px",base:"24px"},children:(0,t.jsx)(_.Grid,{gridTemplateColumns:`repeat(${V}, minmax(170px, 1fr))`,flexWrap:"wrap",gap:{md:"16px",base:"10px"},ref:D,children:J?j?.slice(0,N*V).map(e=>(0,t.jsx)(k.ItemCard,{onClickFavorite:async()=>{await T(e.id,"popular")},onClickItemCard:()=>{X?.(e)},item:e,isUserAvailable:!!M},e.id)):g&&g.length>0?g.slice(0,N*V).map(e=>(0,t.jsx)(k.ItemCard,{onClickFavorite:async()=>{await T(e.id,"random")},onClickItemCard:()=>{K?.(e)},item:e,isUserAvailable:!!M},e.id)):null})}),(0,t.jsxs)(v.Section,{jaTitle:"新着素材",enTitle:"New",children:[(0,t.jsx)(_.Grid,{gridTemplateColumns:`repeat(${V}, minmax(170px, 1fr));`,flexWrap:"wrap",gap:{md:"16px",base:"10px"},children:F&&F.length>15?F.slice(0,U*V).map(e=>(0,t.jsx)(k.ItemCard,{item:e,isUserAvailable:!!M,onClickFavorite:async()=>{await T(e.id,"latest")},onClickItemCard:()=>{G?.(e)}},e.id)):g&&g.length>0?g.slice(0,U*V).map(e=>(0,t.jsx)(k.ItemCard,{onClickFavorite:async()=>{await T(e.id,"random")},item:e,isUserAvailable:!!M},e.id)):null}),(0,t.jsx)(o.Flex,{my:"24px",alignItems:"center",justifyContent:"center",children:(0,t.jsxs)(n.Button,{colorScheme:"brand",variant:"link",as:s.default,href:"/search",children:["もっとみる",(0,t.jsx)(d.ArrowIcon,{direction:"right",ml:"8px",p:"12px",boxSizing:"content-box",backgroundColor:"white",border:"1px solid",borderColor:"brand.500",borderRadius:"full"})]})})]}),eO.map(e=>(0,t.jsx)(H,{itemColumns:V,itemRows:P,...e},e.categoryId))]}),(0,t.jsx)(E,{display:{md:"flex",base:"none"},categories:I,width:"100%",minWidth:{lg:"225px",base:"100%"},maxWidth:"290px",px:{lg:"0",base:"24px"},py:{md:"40px",base:"24px"},position:"sticky",height:"100%",top:0})]}),!M&&(0,t.jsx)(q,{}),(0,t.jsx)(E,{display:{md:"none",base:"flex"},categories:I,width:"100%",minWidth:{lg:"200px",md:"180px",base:"100%"},maxWidth:"290px",px:{lg:"0",base:"24px"},py:"46px",top:0}),(0,t.jsx)(ex,{isOpenEmailVerifyModal:M?.flags.emailVerifiedAt!==void 0&&!M.flags.emailVerifiedAt}),(0,t.jsx)(eC.TermsAcceptModal,{}),(0,t.jsx)(eM,{})]})}],87856)},55075,(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",()=>e.r(87856)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push(["/"])})}]);
3
4//# debugId=d023ee30-b220-ee6b-c105-332e2973d506

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.