PageSourceSearch

https://chat.snaq.me/dist/5103-080aa9598aa0bf46ae59-a.js

js snaq.me collected 2026-09-25 14:07:46 UTC 39,154 bytes, 559 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="00963601-2d3d-46fe-8454-fb5795dcd9ff",e._sentryDebugIdIdentifier="sentry-dbid-00963601-2d3d-46fe-8454-fb5795dcd9ff")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"c7881fdddfd2da94981e4556d034cf7af8e6feed"};(self.webpackChunksnaq_me_front=self.webpackChunksnaq_me_front||[]).push([[5103],{450:(e,t,n)=>{n.d(t,{E:()=>r});var i=n(6540),o=n(46);const r=e=>i.createElement(i.Suspense,{fallback:i.createElement(i.Fragment,null)},i.createElement(a,Object.assign({},e))),a=({useProps:e,pending:t,error:n,success:r})=>{var a,l;const s=e();return"redirect"===s.status?i.createElement(o.C5,{to:s.to,replace:s.replace}):"error"===s.status?null!==(a=null==n?void 0:n(s.error))&&void 0!==a?a:null:"pending"===s.status?null!==(l=null==t?void 0:t())&&void 0!==l?l:null:r(s.props)}},872:(e,t,n)=>{n.d(t,{M:()=>a});var i=n(6540),o=n(5999);const r=i.lazy((()=>n.e(7497).then(n.bind(n,7497)).then((e=>({default:e.NotFoundRissu}))))),a=()=>i.createElement(l,null,i.createElement(r,null)),l=o.Ay.div`
2  max-width: 260px;
3  margin: 40px auto 0;
4`},1569:(e,t,n)=>{n.d(t,{J:()=>v});var i=n(3670),o=n(6540),r=n(5999),a=n(6405),l=n(4448),s=n(3100),d=n(4960),c=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};function u(e){return o.createElement(o.Fragment,null,o.createElement("h5",null,e.userEmail&&`${e.userEmail}のアカウントでは`,"ご注文のお手続きが完了しておりません。"),o.createElement(m,{isNoCheckMark:!0,separated:!0,items:[{title:"おやつ診断をして注文する",onClick:()=>{location.href=l.A.path.checkout}},{title:"別のアドレスでログインする",onClick:async()=>{await(0,s.ri)(),location.href=l.A.path.home}}]}))}function m(e){var{className:t}=e,n=c(e,["className"]);const[i,r]=(0,o.useState)(n.defaultKey);return o.createElement(p,{hasBorder:!n.separated,className:t},n.items.map(((e,t)=>{const a=e.key||t.toString(),l=a===i,s=()=>o.createElement(o.Fragment,null,o.createElement(b,{isNoCheckMark:n.isNoCheckMark,isSelected:l,hasIconLeft:n.hasIconLeft},e.title),o.createElement(y,{isSelected:l,isNoCheckMark:n.isNoCheckMark})),d=()=>{var t;null===(t=e.onClick)||void 0===t||t.call(e,a),r(a)};return n.separated?o.createElement(h,{key:a,isSelected:l,onClick:d},s()):o.createElement(f,{key:a,isSelected:l,onClick:d},s())})))}const p=r.Ay.ul`
5  padding: 0;
6  border: ${e=>e.hasBorder&&"1px solid rgba(0, 0, 0, 0.12)"};
7  border-radius: ${e=>e.theme.borderRadiusBox};
8`,g=r.Ay.li`
9  display: flex;
10  justify-content: space-between;
11  align-items: center;
12  font-size: 14px;
13  color: ${e=>e.isSelected?"rgba(0, 0, 0, 0.87)":"rgba(26, 17, 15, 0.3)"};
14  letter-spacing: 0.5px;
15  padding: 14px 12.5px 14px 14px;
16`,h=(0,r.Ay)(g)`
17  border: ${e=>e.isSelected?`2px solid ${e.theme.primary}`:"1px solid rgba(0, 0, 0, 0.12)"};
18  border-radius: ${e=>e.theme.borderRadiusCommon};
19  margin-bottom: 12px;
20`,f=(0,r.Ay)(g)`
21  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
22  &:last-child {
23    border-bottom: none;
24  }
25`,y=(0,r.Ay)(d.A)`
26  width: 24px;
27  fill: ${e=>e.isSelected?e.theme.primary:e.theme.black3};
28  display: ${e=>e.isNoCheckMark&&"none"};
29`,b=r.Ay.div`
30  ${e=>e.isNoCheckMark&&r.AH`
31      color: #000001;
32      text-align: center;
33      width: 100%;
34    `}
35  svg {
36    fill: ${e=>e.hasIconLeft&&!e.isSelected&&e.theme.black3};
37  }
38`;
38function v({hideLogo:e=!1}){return o.createElement(x,null,!e&&o.createElement(w,null),o.createElement(u,null))}const x=(0,r.Ay)(i.m)`
39  display: flex;
40  flex-direction: column;
41  width: 100%;
42  height: 100%;
43  padding-bottom: 32px;
44`,w=(0,r.Ay)(a.D)`
45  display: block;
46  width: 44px;
47  height: auto;
48  margin: 8px auto 32px;
49`},2410:(e,t,n)=>{n.d(t,{A:()=>s});var i=n(6540),o=n(5999),r=n(2540),a=n(7496);const l=()=>0===Math.floor(3*Math.random())?"animation":"static",s=({iconSize:e,iconColor:t,iconColorBackground:n,isSelected:o,isPending:r,onClick:a})=>{const[s,d]=(0,i.useState)(o?"static":l()),[p,g]=(0,i.useState)(!1),h=null!=e?e:"50px";return(0,i.useEffect)((()=>{p?o&&d(l()):g(!0)}),[o]),i.createElement(c,{onClick:a,iconSize:h,iconColorBackground:n,"data-e2e-action":"request-button"+(o?"-selected":"")},r?i.createElement(m,null):i.createElement(i.Fragment,null,i.createElement(u,{iconColor:t,isSelected:o,isAnimated:"animation"===s&&o}),"animation"===s&&o?i.createElement(i.Fragment,null,i.createElement(y,{baseSize:Number(h.replace("px",""))}),i.createElement(v,null)):i.createElement(i.Fragment,null)))},d=o.i7`
50  0% {
51    transform: scale(1) rotate(0deg);
52  }
53  20% {
54    transform: scale(0.3) rotate(0deg);
55  }
56  80% {
57    transform: scale(1.5) rotate(370deg);
58  }
59  100% {
60    transform: scale(1.0) rotate(360deg);
61  }
62`,c=o.Ay.div`
63  display: block;
64  background: ${e=>e.iconColorBackground||e.theme.white2};
65  border-radius: 50%;
66  width: ${e=>e.iconSize};
67  height: ${e=>e.iconSize};
68  padding: ${e=>e.iconSize?`calc(${e.iconSize} / 5)`:"10px"};
69  cursor: pointer;
70  position: relative;
71  overflow: hidden;
72`,u=(0,o.Ay)(r.A)`
73  fill: ${e=>e.iconColor?e.iconColor:e.isSelected?e.theme.primary:e.theme.black3};
74  width: 100%;
75  height: 100%;
76  position: relative;
77  z-index: 10;
78
79  ${e=>e.isAnimated&&o.AH`
80      animation: ${d} 0.5s ease both;
81    `}
82`,m=(0,o.Ay)(a.y)`
83  margin: 0;
84  width: 100%;
85  height: 100%;
86  opacity: 0.3;
87`,p=[[1,-8,"#00ff84"],[3,-4,"#002bff"],[2.5,-6,"#ff009d"],[5,-5,"#ffb300"],[-4,-6,"#ff006e"],[-2,-3,"#ff4000"],[2,-2,"#ff00d0"],[-2,-1,"#00f6ff"],[1,0,"#99ff00"],[-2,-3,"#ff0400"],[-2,-7,"#6200ff"]],g=o.i7`
88  from {
89    box-shadow: ${p.map((()=>"0 0 white")).join(", ")};
90  }
91`,h=o.i7`
92  0% {
93    opacity: 0.3;
94  }
95
96  80% {
97    opacity: 0.3;
98  }
99
100  100% {
101    transform: translateY(500%) scale(1.2);
102    opacity: 0;
103  }
104`,f=o.i7`
105  0%, 19.9% {
106    margin-top: 10%;
107    margin-left: 40%;
108  }
109
110  20%, 39.9% {
111    margin-top: 50%;
112    margin-left: 30%;
113  }
114
115  40%, 59.9% {
116    margin-top: 30%;
117    margin-left: 70%;
118  }
119
120  60%, 79.9% {
121    margin-top: 20%;
122    margin-left: 20%;
123  }
124
125  80%, 99.9% {
126    margin-top: 30%;
127    margin-left: 80%;
128  }
129`,y=o.Ay.div`
130  position: absolute;
131  top: 50%;
132  left: 2px;
133  z-index: 0;
134  width: ${e=>e.baseSize/12}px;
135  height: ${e=>e.baseSize/12}px;
136  opacity: 0;
137  border-radius: 50%;
138  box-shadow: ${e=>(e=>{const t=e/10;return p.map((([e,n,i])=>[t*e+"px",t*n+"px",i].join(" "))).join(", ")})(e.baseSize)};
139  animation: 1s ${g} ease-out backwards,
140    1s ${h} ease-in backwards,
141    5s ${f} linear backwards;
142`,b=o.i7`
143  0% {
144    opacity: 0;
145    transform: scale(0);
146  }
147
148  20% {
149    opacity: 0.2;
150    transform: scale(1.3);
151  }
152
153  50% {
154    opacity: 0.3;
155    transform: scale(0.7);
156  }
157
158  80% {
159    opacity: 0.1;
160    transform: scale(0.8);
161  }
162
163  100% {
164    opacity: 0;
165    transform: scale(3);
166  }
167`,v=(0,o.Ay)(r.A)`
168  fill: ${e=>e.theme.primary};
169  opacity: 0;
170  width: 100%;
171  height: 100%;
172  position: absolute;
173  top: 0;
174  left: 0;
175  z-index: 10;
176  animation: ${b} 0.5s ease both;
177`},2518:(e,t,n)=>{n.d(t,{Mf:()=>d,__:()=>c,kP:()=>s});var i=n(6540),o=n(5999),r=n(4570),a=(n(8729),n(5249)),l=n(6807);const s=()=>(0,i.useRef)(null),d=(e,t)=>{(0,i.useEffect)((()=>{var n,i;null!==t&&(null===(i=null===(n=e.current)||void 0===n?void 0:n.splide)||void 0===i||i.go(t))}),[e,t])};function c({tabs:e,activeKey:t,changeTab:n,marginTop:o,ref:r}){return i.createElement(u,{options:{arrows:!1,pagination:!1,perMove:1,gap:l.LR.spaces.sm,autoWidth:!0,width:Number(a.A.size.viewport5.replace("px",""))-32,mediaQuery:"min"},ref:r,$marginTop:o},e.map((e=>i.createElement(m,{key:e.key,onClick:()=>n(e.key)},i.createElement(p,{$isActive:t===e.key},e.content)))))}const u=(0,o.Ay)(r.eB)`
178  margin-top: ${e=>
178e.$marginTop?l.LR.spaces[e.$marginTop]:"0px"};
179
180  .splide__track {
181    overflow: visible;
182  }
183`,m=(0,o.Ay)(r.Nn)`
184  display: flex;
185  flex-direction: column;
186  align-items: center;
187  justify-content: flex-start;
188  font-weight: bold;
189  line-height: 1.4em;
190  text-align: center;
191  transition: all 0.2s ease-in-out;
192`,p=o.Ay.button`
193  display: inline-flex;
194  flex: 1;
195  appearance: none;
196  border: none;
197  color: ${e=>e.$isActive?l.Tj.text.onDark:l.Tj.text.onLight};
198  background: ${e=>e.$isActive?l.Tj.background.primary:l.Tj.background.white};
199  border-radius: ${l.LR.corner.full};
200  align-items: center;
201  font-size: ${l.LR.fonts.md};
202  font-weight: bolder;
203  padding: ${l.LR.spaces.sm} ${l.LR.spaces.lg} !important;
204  outline: none !important;
205`},2540:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(6540),o=n(3531);const r=e=>i.createElement(o.A,Object.assign({path:i.createElement("path",{d:"M36,61.1814021 L35.247962,60.5594509 C33.8218407,59.3704265 31.8913043,58.080793 29.6535326,56.5899387 C20.9363114,50.7682927 9,42.8018299 9,29.2195122 C9,20.8277436 15.8462973,14 24.2608696,14 C28.8327103,14 33.1156593,16.0304878 36,19.5015247 C38.8843407,16.0304878 43.1672897,14 47.7391304,14 C56.1537027,14 63,20.8277436 63,29.2195122 C63,42.8018299 51.0636886,50.7682927 42.3464674,56.5899387 C40.1086957,58.080793 38.1781593,59.3704265 36.752038,60.5594509 L36,61.1814021 Z"})},e))},2931:(e,t,n)=>{n.d(t,{O:()=>i});const i=(e,{offset:t,smooth:n}={})=>{const i=document.getElementById(e.replace(/^#/,""));i&&window.scrollTo({top:i.getBoundingClientRect().top-(null!=t?t:0),behavior:n?"smooth":void 0})}},3101:(e,t,n)=>{function i(e,t="string"){const n=new URLSearchParams(window.location.search).get(e);if(null!==n&&"string"==typeof n)switch(t){case"string":return""===n?void 0:n;case"number":return""===n||isNaN(Number(n))?void 0:Number(n);case"boolean":return"string"==typeof n?"1"===n:void 0}}n.d(t,{s:()=>i})},3575:(e,t,n)=>{n.d(t,{P:()=>o});var i=n(6540);function o({content:e}){return i.isValidElement(e)?e:"string"!=typeof e?i.createElement(i.Fragment,null,e):i.createElement(i.Fragment,null,(e||"").split("\n").map(((e,t)=>i.createElement(i.Fragment,{key:t},e,i.createElement("br",null)))))}},3610:(e,t,n)=>{n.d(t,{A:()=>s,y:()=>l});var i=n(3670),o=n(6807),r=n(6540),a=n(5999);const l=({size:e=40,color:t})=>r.createElement(c,{$size:e},[...new Array(12)].map(((e,n)=>r.createElement(m,{key:n,count:n,color:t}))));function s(){return r.createElement(d,{initial:{opacity:0}
205,animate:{opacity:1},transition:{delay:.5}},r.createElement(l,{color:o.Tj.textDisabled.onLight}))}const d=(0,a.Ay)(i.m)`
206  display: flex;
207  align-items: center;
208  justify-content: center;
209`,c=a.Ay.div`
210  position: relative;
211  width: ${e=>e.$size}px;
212  height: ${e=>e.$size}px;
213`,u=a.i7`
214  0%, 39%, 100% {
215    opacity: 0;
216  }
217  40% {
218    opacity: 1;
219  }
220`,m=a.Ay.div`
221  width: 100%;
222  height: 100%;
223  position: absolute;
224  left: 0;
225  top: 0;
226  transform: rotate(${e=>30*e.count}deg);
227
228  &:before {
229    content: '';
230    display: block;
231    background-color: ${e=>e.color||"#333"};
232    border-radius: 50%;
233    margin: 0 auto;
234    width: 15%;
235    height: 15%;
236    animation: ${u} 1.2s infinite ease-in-out both;
237    animation-delay: ${e=>.1*e.count-1.2}s;
238  }
239`},3946:(e,t,n)=>{n.d(t,{d:()=>a});var i=n(6540),o=n(5249),r=n(6745);const a=e=>{var t;const n=l(e),o=(0,i.useMemo)((()=>"ios"===(0,r.nI)()?null:window.matchMedia(n)),[n]),[a,s]=(0,i.useState)(null!==(t=null==o?void 0:o.matches)&&void 0!==t?t:null),d=(0,i.useCallback)((()=>{var e;s(null!==(e=null==o?void 0:o.matches)&&void 0!==e&&e)}),[o]);return(0,i.useEffect)((()=>(null==o||o.addEventListener("change",d),()=>null==o?void 0:o.removeEventListener("change",d))),[d,o]),a},l=e=>{switch(e){case"viewport4":return`(min-width: ${o.A.size.viewport4})`;case"viewport5":return`(min-width: ${o.A.size.viewport5})`;case"viewport7":return`(min-width: ${o.A.size.viewport7})`;case"viewport9":return`(min-width: ${o.A.size.viewport9})`}}},4048:(e,t,n)=>{n.d(t,{E:()=>r});var i=n(5999);const o=i.i7`
240  100% {
241    transform: translateX(100%);
242  }
243`,r=i.Ay.div`
244  position: relative;
245  border-radius: ${e=>e.theme.borderRadiusBox};
246  overflow: hidden;
247  width: 100%;
248  background: #ffffff55;
249
250  :before {
251    content: '';
252    display: block;
253    padding-top: ${e=>100*e.$aspectRatio}%;
254    background: linear-gradient(
255      -70deg,
256      #ffffff00 0%,
257      #ffffff40 50%,
258      #ffffff00 100%
259    );
260    transform: translateX(-100%);
261    animation: ${o} 1s ease-in-out infinite;
262  }
263`},5103:(e,t,n)=>{n.r(t),n.d(t,{Component:()=>Ye});var i=n(6540),o=n(450),r=n(3610),a=n(3670),l=n(5999),s=n(5084),d=n(5238),c=n(1716),u=n(2330),m=n(2410),p=n(4448),g=n(7849),h=n(7837),f=n(46);function y({item:e,aspectRatio:t,isDelay:n=!1,onTapRequestIcon:o}){var r;const a=e.isMyBoxTypeItem&&o&&!e.isNg;return i.createElement(h.P.div,{initial:{opacity:0,translateY:10},whileInView:{opacity:1,translateY:0},viewport:{once:!0},transition:{duration:.5,delay:n?.05:0,type:"spring",bounce:.3},style:{position:"relative"}},i.createElement(x,{to:`${p.A.path.requestDetails}?id=${e.id}`,$background:(0,g.V)(e.imageName,t>=1?300:700),$aspectRatio:t},i.createElement(w,null,i.createElement(E,null,e.name),e.isPlatinum&&i.createElement($,{$colorSchema:"platinum"},"ぷらちな以上限定"),e.isGold&&i.createElement($,{$colorSchema:"gold"},"ごーるど以上限定"),e.isSilver&&i.createElement($,{$colorSchema:"silver"},"しるばー以上限定"))),a?i.createElement(T,null,i.createElement(m.A,{isPending:e.isRequesting,isSelected:e.isRequested,onClick:()=>o(e)})):e.isMyBoxTypeItem?null:i.createElement(T,null,i.createElement(b,{id:null!==(r=e.id)&&void 0!==r?r:0})))}function b({id:e}){return i.createElement(v,{to:`${p.A.path.requestDetails}?id=${e}`},i.createElement("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M20.5833 11.9167H5.41667C4.22005 11.9167 3.25 12.8867 3.25 14.0834V21.6667C3.25 22.8633 4.22005 23.8334 5.41667 23.8334H20.5833C21.78 23.8334 22.75 22.8633 22.75 21.6667V14.0834C22.75 12.8867 21.78 11.9167 20.5833 11.9167Z",strokeWidth:"1.625",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M7.5835 11.9167V7.58335C7.5835 6.14676 8.15418 4.76901 9.17 3.75319C10.1858 2.73737 11.5636 2.16669 13.0002 2.16669C14.4368 2.16669 15.8145 2.73737 16.8303 3.75319C17.8461 4.76901 18.4168 6.14676 18.4168 7.58335V11.9167",strokeWidth:"1.625",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("circle",{cx:"13",cy:"17.875",r:"1.90937",strokeWidth:"1.05625"})))}const v=(0,l.Ay)(f.N_)`
264  display: flex;
265  width: 50px;
266  height: 50px;
267  border-radius: 50px;
268  background: #ffffff70;
269  backdrop-filter: blur(3px);
270  color: ${e=>e.theme.black1};
271  stroke: ${e=>e.theme.black1};
272  text-decoration: none !important;
273  justify-content: center;
274  align-items: center;
275`;const x=(0,l.Ay)(f.N_)`
276  display: block;
277  background: linear-gradient(#00000050 0%, #00000000 40%),
278    url('${e=>e.$background}') #fff;
279  background-position: center;
280  border-radius: ${e=>e.theme.borderRadiusBox};
281  background-repeat: no-repeat;
282  background-size: cover;
283  padding-top: ${e=>100*e.$aspectRatio}%;
284  position: relative;
285  overflow: hidden;
286  width: 100%;
287`,w=(l.Ay.div`
288  display: block;
289  border-radius: ${e=>e.theme.borderRadiusBox};
290  background: linear-gradient(110deg, #fafafa 8%, #f5f5f5 18%, #fafafa 33%);
291  padding-top: ${e=>100*e.$aspectRatio}%;
292  position: relative;
293  overflow: hidden;
294`,l.Ay.div`
295  position: absolute;
296  top: 0;
297  right: 0;
298  left: 0;
299  bottom: 0;
300  padding: 12px;
301`),E=l.Ay.h3`
302  margin: 0;
303  font-weight: bolder;
304  color: #fff;
305  font-size: 12px;
306  text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
307
308  ${e=>(0,u.M)(e.theme.size.viewport5)`
309    font-size: 14px;
310    letter-spacing: 0.1em;
311  `}
312`,T=l.Ay.div`
313  position: absolute;
314  right: 16px;
315  bottom: 16px;
316`,$=(0,l.Ay)(h.P.div)`
317  position: absolute;
318  left: 0;
319  bottom: 0;
320  border-top-right-radius: ${e=>e.theme.borderRadiusBox};
321  background: ${e=>"platinum"===e.$colorSchema?e.theme.secondary:"gold"===e.$colorSchema?e.theme.beige:"silver"===e.$colorSchema?e.theme.grayLight:"#fff"};
322  color: ${e=>"silver"===e.$colorSchema?e.theme.black1:"#fff"};
323  font-weight: bolder;
324  padding: 4px 24px;
325  font-size: 12px;
326  letter-spacing: 0.05em;
327`;var k=n(4048);function R({requestInfo:e,onTapRequestIcon:t,isSingleColumn:n,onlyShowRequested:o}){var r,a,l,s;const d=(null===(r=e.items[0])||void 0===r?void 0:r.isPlatinum)||(null===(a=e.items[0])||void 0===a?void 0:a.isGold)||(null===(l=e.items[0])||void 0===l?void 0:l.isSilver)||n?"single":"split";if(e.items.length<=0||o&&e.requestedItemsCount<=0)return null;const u=e.items.map(((e,n)=>i.createElement(i.Fragment,{key:n},!o||e.isRequested?i.createElement(y,{item:e,aspectRatio:"single"===d?.48:1,isDelay:n%2==1,onTapRequestIcon:t}):null)));return i.createElement(q,{id:null!==(s=e.hash)&&void 0!==s?s:void 0},e.title?i.createElement(c._,{isBarOn:!0},e.title):i.createElement(I,null),i.createElement(S,{$isSingleColumn:"single"===d},u))}function A(){return i.createElement(q,null,i.createElement(S,{$isSingleColumn:!1},new Array(6).fill(0).map(((e,t)=>i.createElement(k.E,{$aspectRatio:1,key:t}
327)))))}const q=l.Ay.div`
328  margin-top: 40px;
329
330  :first-of-type {
331    margin-top: 0;
332  }
333`,S=l.Ay.div`
334  display: grid;
335  grid-template-columns: ${({$isSingleColumn:e})=>e?"1fr":"1fr 1fr"};
336  gap: 16px;
337
338  ${e=>(0,u.M)(e.theme.size.viewport5)`
339    grid-template-columns: ${e.$isSingleColumn?"1fr":"1fr 1fr 1fr"};
340  `}
341`,I=l.Ay.div`
342  height: 32px;
343`;var C=n(3575);const _={asano:{name:"あさの",imageName:"asano.jpg"},kotsubo:{name:"こつぼ",imageName:"kotsubo.jpg"}};function B({buyerName:e,requestInfo:t,onlyShowRequested:n,onTapRequestIcon:o}){return t.items.length<=0||n&&t.requestedItemsCount<=0?null:i.createElement("div",null,t.title&&i.createElement(c._,{isBarOn:!0},t.title),t.items.map(((t,r)=>i.createElement(i.Fragment,{key:r},!n||t.isRequested?i.createElement(M,{initial:{opacity:0,translateY:10},whileInView:{opacity:1,translateY:0},viewport:{once:!0},transition:{duration:.5,type:"spring",bounce:.3},style:{position:"relative"},$hasMessage:!!t.highlightedPoint},i.createElement(h.P.div,{style:{position:"relative"}},i.createElement(j,{to:`${p.A.path.requestDetails}?id=${t.id}`,$background:(0,g.V)(t.imageName,700),$hasMessage:!!t.highlightedPoint},i.createElement(P,null,i.createElement(O,null,t.name))),o&&t.isRequestAccepting&&i.createElement(D,null,i.createElement(m.A,{isPending:t.isRequesting,isSelected:t.isRequested,onClick:()=>o(t)}))),t.highlightedPoint&&i.createElement(z,null,i.createElement(F,{src:`/img/buyer/${_[e].imageName}`}),i.createElement(L,null,i.createElement(N,null,"担当バイヤー:",_[e].name),t.highlightedPoint))):null))))}const M=(0,l.Ay)(h.P.div)`
344  position: absolute;
345  border-radius: ${e=>e.theme.borderRadiusBox};
346  overflow: hidden;
347  display: flex;
348  flex-direction: column;
349  align-items: stretch;
350  background: #fff;
351  margin-top: 16px;
352
353  :first-of-type {
354    margin-top: 0;
355  }
356
357  ${e=>(0,u.M)(e.theme.size.viewport5)`
358    flex-direction: ${e.$hasMessage?"row":"column"};
359  `}
360`,z=l.Ay.div`
361  padding: 16px;
362  display: flex;
363  align-items: center;
364`,F=l.Ay.img`
365  width: 60px;
366  height: 60px;
367  border-radius: 100px;
368  flex-shrink: 0;
369  margin-right: 16px;
370`,L=l.Ay.div`
371  font-size: 12px;
372`,N=l.Ay.div`
373  font-weight: bolder;
374  margin-bottom: 4px;
375`,j=(0,l.Ay)(f.N_)`
376  display: block;
377  background: linear-gradient(#00000050 0%, #00000000 40%),
378    url('${e=>e.$background}') #fff;
379  background-position: center;
380  background-repeat: no-repeat;
381  background-size: cover;
382  padding-top: ${e=>e.$hasMessage?100:48}%;
383  position: relative;
384  overflow: hidden;
385  width: 100%;
386  height: 100%;
387
388  ${e=>(0,u.M)(e.theme.size.viewport5)`
389    width: ${e.$hasMessage?"200px":"100%%"};
390    flex-shrink: 0;
391  `}
392`,P=l.Ay.div`
393  position: absolute;
394  top: 0;
395  right: 0;
396  left: 0;
397  bottom: 0;
398  padding: 12px;
399`,O=l.Ay.h3`
400  margin: 0;
401  font-weight: bolder;
402  color: #fff;
403  font-size: 12px;
404  text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
405
406  ${e=>(0,u.M)(e.theme.size.viewport5)`
407    font-size: 14px;
408    letter-spacing: 0.1em;
409  `}
410`,D=l.Ay.div`
411  position: absolute;
412  right: 16px;
413  bottom: 16px;
414`;var V=n(2518),G=n(6807);function Y({tabRef:e,boxTypes:t,currentTab:n,isShowTooltip:o,switchTab:r}){return i.createElement(V.__,{ref:e,tabs:[...t.flatMap((e=>e.isMyBoxType?{key:e.uid,content:e.name}:[])),{key:"boxChange",content:i.createElement(X,{isShowTooltip:o})}],activeKey:n,changeTab:r})}const Z=l.Ay.img`
415  width: 24px;
416  height: auto;
417  margin-right: ${G.LR.spaces.sm};
418`;function X({isShowTooltip:e}){return i.createElement(H,null,i.createElement(Z,{src:"/img/request/boxTypeChangeIcon.png"}),"ほかのBOXをみてみる",e&&i.createElement(K,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{delay:.4,type:"spring",duration:.5,bounce:.3}},"新しいBOXが仲間入り!"))}const H=l.Ay.span`
419  position: relative;
420`,K=(0,l.Ay)(h.P.span)`
421  position: absolute;
422  padding: 8px 16px;
423  width: max-content;
424  font-size: 10px;
425  font-weight: bolder;
426  line-height: 1;
427  color: ${e=>e.theme.white1};
428  background: ${e=>e.theme.secondary};
429  border-radius: ${e=>e.theme.borderRadiusCommon};
430  top: calc(100% + 18px);
431  left: 0;
432  right: 0;
433  margin: auto;
434  &::after {
435    content: '';
436    position: absolute;
437    bottom: 100%;
438    left: 50%;
439    margin-left: -6px;
440    border-width: 6px;
441    border-style: solid;
442    border-color: transparent transparent ${e=>e.theme.secondary}
443      transparent;
444  }
445`;var W=n(1569),J=n(872);function U({error:e}){if(!e)return i.createElement(J.M,null);switch(e){case"nonSubscriber":return i.createElement(W.J,{hideLogo:!0});case"noData":return i.createElement(Q,null,"表示できるコンテンツがありませんでした")}}const Q=l.Ay.div`
446  font-size: ${G.LR.fonts.sm};
447  font-weight: bolder;
448  text-align: center;
449  background: ${G.Tj.background.white};
450  border-radius: ${G.LR.corner.md};
451  padding: ${G.LR.spaces.md};
452  margin-top: ${G.LR.spaces.lg};
453`;var ee=n(9054);function te(e){return i.createElement(i.Fragment,null,i.createElement(ie,null,e.isDeliveredThreeTimes?i.createElement(le,null,i.createElement(ae,null,"リクエストおやつ"),i.createElement(se,null,i.createElement(de,{href:"https://snaqme.zendesk.com/hc/ja/articles/900000804566"},"リクエストについて"),i.createElement(ce,null))):i.createElement(i.Fragment,null,i.createElement(ae,null,"食べたいおやつをリクエスト♪"),i.createElement(ue,null,"ハートを押しておやつをリクエストすることで、次回以降お届けされやすくなります。BOXタイプごとにお届けできるおやつは異なります。")),i.createElement(oe,{ref:e.tabRef}),i.createElement(Y,{tabRef:e.boxTypeTabRef,boxTypes:e.boxTypes,currentTab:e.currentTab,switchTab:e.switchTab,isShowTooltip:e.isShowTooltip})),i.createElement(re,null,e.currentBoxType.isMyBoxType&&i.createElement(we,null,i.createElement(Ee,{onClick:e.toggleOnlyShowRequested},i.createElement(Te,{$isActive:e.onlyShowRequested},e.onlyShowRequested&&i.createElement($e,null)),"リクエスト済み")),i.createElement(me,{key:e.currentBoxType.uid},!e.currentBoxType.isMyBoxType&&i.createElement(he,{boxType:e.currentBoxType}),i.createElement(pe,{itemsState:e.groupedItemsState,boxType:e.currentBoxType,isDynamicColumn:!0,onlyShowRequested:!!e.currentBoxType.isMyBoxType&&e.onlyShowRequested,onTapRequestIcon:e.toggleRequest}),"regular"===e.currentBoxType.uid&&i.createElement(pe,{itemsState:e.recommendedItemsState,boxType:e.currentBoxType,onlyShowRequested:!!e.currentBoxType.isMyBoxType&&e.onlyShowRequested,onTapRequestIcon:e.toggleRequest}),i.createElement(pe,{itemsState:e.categorizedItemsState,boxType:e.currentBoxType,onlyShowRequested:!!e.currentBoxType.isMyBoxType&&e.onlyShowRequested,onTapRequestIcon:e.toggleRequest}),!e.isFetchingAll&&i.createElement(ne,{onlyShowRequested:!!e.currentBoxType.isMyBoxType&&e.onlyShowRequested,hasItems:e.currentBoxType.isMyBoxType&&e.onlyShowRequested?e.hasRequestedItems:e.hasItems})),i.createElement(s.N,null,e.renderConfirm())))}function ne({onlyShowRequested:e,hasItems:t}){return t?null:i.createElement(Q,null,e?"リクエスト中のおやつがありません":"表示できるおやつが見つかりませんでした。しばらく時間をおいて再読み込みしてください")}const ie=(0,l.Ay)(a.m)`
454  z-index: 1;
455`,oe=l.Ay.div`
456  margin-top: 12px;
457`,re=l.Ay.div`
458  margin-bottom: 40px;
459`,ae=l.Ay.h1`
460  margin: 0;
461`,le=l.Ay.div`
462  display: flex;
463  justify-content: space-between;
464  align-items: center;
465  margin: 32px 0 16px;
466`,se=l.Ay.div`
467  display: flex;
468  justify-content: center;
469  align-items: center;
470  gap: ${G.LR.spaces.xs};
471`,de=l.Ay.a`
472  color: ${G.Tj.text.onLight} !important;
473  text-decoration: underline;
474  font-size: 13px;
475`,ce=(0,l.Ay)(ee.A)`
476  width: 14px;
477  height: 14px;
478`,ue=l.Ay.p``;function me({children:e}){return i.createElement(ge,{initial:{opacity:0}
478,animate:{opacity:1},style:{display:"block"}},e)}function pe({boxType:e,itemsState:t,isDynamicColumn:n,onlyShowRequested:o,onTapRequestIcon:r}){return t.isFetching?i.createElement(A,null):i.createElement(i.Fragment,null,t.data.map(((t,a)=>i.createElement(i.Fragment,{key:a},t.isBuyerRecommend?i.createElement(B,{buyerName:"otumame"===e.uid?"kotsubo":"asano",requestInfo:t,onlyShowRequested:o,onTapRequestIcon:e.isMyBoxType?r:void 0}):i.createElement(R,{requestInfo:t,onTapRequestIcon:e.isMyBoxType?r:void 0,isSingleColumn:!!n&&t.items.length<=3,onlyShowRequested:o,isMyBoxType:e.isMyBoxType})))))}const ge=(0,l.Ay)(a.m)`
479  min-height: 600px;
480`;function he({boxType:e}){return i.createElement(fe,{to:`${p.A.path.boxSettings}?box-type-uid=${e.uid}`,$background:(0,g.V)(e.imageName,700)},i.createElement(ye,null,e.name),i.createElement(be,null,i.createElement(C.P,{content:e.description})),"baked"===e.uid&&i.createElement(ve,null,"+¥500"),i.createElement(xe,null,"詳しくはこちら →"))}const fe=(0,l.Ay)(f.N_)`
481  border-radius: ${e=>e.theme.borderRadiusBox};
482  background: linear-gradient(
483      to right,
484      #00000080 0%,
485      #00000000 50%,
486      #00000000 50%,
487      #00000080 100%
488    ),
489    url('${e=>e.$background}') #fff;
490  background-position: 50% 50%;
491  background-size: cover;
492  color: #fff !important;
493  text-decoration: none !important;
494  font-weight: bolder;
495  margin-top: 24px;
496  padding: 0 24px;
497  height: 120px;
498  position: relative;
499  display: flex;
500  justify-content: center;
501  flex-direction: column;
502`,ye=l.Ay.h2`
503  margin: 0;
504  font-size: 18px;
505`,be=l.Ay.div`
506  font-size: 12px;
507  margin-top: 4px;
508`,ve=l.Ay.div`
509  font-family: ${e=>e.theme.fontTitle};
510  margin-top: 4px;
511`,xe=l.Ay.div`
512  display: block;
513  position: absolute;
514  bottom: 16px;
515  right: 16px;
516  color: #fff;
517  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
518  text-decoration: underline;
519  font-weight: bolder;
520  font-size: 12px;
521`,we=l.Ay.div`
522  max-width: ${e=>e.theme.size.viewport5};
523  display: flex;
524  justify-content: flex-end;
525  align-items: center;
526  margin: 16px auto 0;
527  padding: 0 16px;
528`,Ee=l.Ay.label`
529  display: flex;
530  white-space: nowrap;
531  font-size: ${G.LR.fonts.sm};
532  letter-spacing: 0.05em;
533  font-weight: bolder;
534  align-items: center;
535  gap: ${G.LR.spaces.xs};
536  flex-shrink: 0;
537  width: fit-content;
538`,Te=l.Ay.div`
539  background: ${G.Tj.background.white};
540  width: ${G.LR.spaces.lg};
541  height: ${G.LR.spaces.lg};
542  border-radius: ${G.LR.corner.sm};
543  position: relative;
544`,$e=(0,l.Ay)(d.L7X)`
545  position: absolute;
546  top: 50%;
547  left: 50%;
548  transform: translate(-50%, -50%);
549  width: ${G.LR.spaces.lg};
550  height: auto;
551  fill: ${G.MF.green500};
552`;var ke=n(2931),Re=n(7392),Ae=n(4832);const qe=({group:e,newRequestedIds:t,requestingItemId:n,myBoxTypeIds:i,isMyBoxType:o})=>{var r,a,l,s,d,c;const{items:u,requestedItemsCount:m}=(null!==(r=e.items)&&void 0!==r?r:[]).reduce(((e,r)=>{var a;const l=Se({item:r,isRequesting:n===r.item_id,isRequested:r.item_id&&null!==(a=t[r.item_id])&&void 0!==a?a:null,myBoxTypeIds:i,isMyBoxType:o});return null===l.imageName?e:{items:[...e.items,l],requestedItemsCount:e.requestedItemsCount+(l.isRequested?1:0)}}),{items:[],requestedItemsCount:0});return{title:null!==(a=e.title)&&void 0!==a?a:"",subTitle:null!==(l=e.subtitle)&&void 0!==l?l:"",description:null!==(s="string"==typeof e.description?e.description:null)&&void 0!==s?s:null,hash:"hash_fragment"in e&&null!==(d=e.hash_fragment)&&void 0!==d?d:null,isBuyerRecommend:"is_buyer_recommend"in e&&(null!==(c=e.is_buyer_recommend)&&void 0!==c&&c),items:u,requestedItemsCount:m}},Se=({item:e,isRequesting:t,isRequested:n,myBoxTypeIds:i,isMyBoxType:o})=>{var r,a,l,s,d,c;const u=null!==(r="box_type_id"in e?e.box_type_id:null)&&void 0!==r?r:null;return{id:null!==(a=e.item_id)&&void 0!==a?a:null,name:null!==(l=e.name)&&void 0!==l?l:null,imageName:null!==(s=e.img_name)&&void 0!==s?s:null,description:null!==(d="chara"in e?e.chara:null)&&void 0!==d?d:null,highlightedPoint:null!==(c="highlighted_point"in e?e.highlighted_point:null)&&void 0!==c?c:null,isRequested:null!=n?n:!!e.is_requested,isRequesting:t,isRequestAccepting:!(!("is_accepting"in e)||!e.is_accepting),isNg:!(!("is_zero_percent"in e)||!e.is_zero_percent),isVip:!(!("is_vip"in e)||!e.is_vip),isSilver:!(!("is_silver"in e)||!e.is_silver),isGold:!(!("is_gold"in e)||!e.is_gold),isPlatinum:!(!("is_platinum"in e)||!e.is_platinum),boxTypeId:u,isMyBoxTypeItem:null!==u?i.includes(u):o,isOutOfTerm:!(!("out_of_term"in e)||!e.out_of_term)}},Ie=({currentBoxType:e,newRequestedIds:t,requestingItemId:n,boxTypes:o,shouldFetch:r})=>{const a=(0,i.useMemo)((()=>o.flatMap((({id:e,isMyBoxType:t})=>t?[e]:[]))),[o]),l="regular"===(null==e?void 0:e.uid),s=(0,i.useCallback)((i=>{var o;const r=(({data:e,newRequestedIds:t,requestingItemId:n,myBoxTypeIds:i,isMyBoxType:o})=>e?(Array.isArray(e)?e:[e]).map((e=>qe({group:e,newRequestedIds:t,requestingItemId:n,myBoxTypeIds:i,isMyBoxType:o}))):[])({data:i,newRequestedIds:t,requestingItemId:n,myBoxTypeIds:a,isMyBoxType:null!==(o=null==e?void 0:e.isMyBoxType)&&void 0!==o&&o});return{requestInfoList:r,hasItems:r.some((({items:e})=>e.length>0)),hasRequestedItems:r.some((({requestedItemsCount:e})=>e>0))}}),[null==e?void 0:e.isMyBoxType,a,t,n]),d=(0,Ae.gf)("GET /requests/list_categories_by_type",{params:{box_type:null==e?void 0:e.id},enabled:r&&void 0!==(null==e?void 0:e.id),andThen:s}),c=(0,Ae.gf)("GET /requests/list_groups_by_type",{params:{box_type:null==e?void 0:e.id},enabled:r&&void 0!==(null==e?void 0:e.id),andThen:s}),u=(0,Ae.gf)("GET /requests/recommend_for_you",{enabled:r&&void 0!==(null==e?void 0:e.id)&&l,andThen:s}),m=(0,i.useCallback)((e=>{var t,n,i,o,r,a;return{isFetched:e.isFetched,isFetching:e.isFetching,data:null!==(n=null===(t=e.data)||void 0===t?void 0:t.requestInfoList)&&void 0!==n?n:[],hasItems:null!==(o=null===(i=e.data)||void 0===i?void 0:i.hasItems)&&void 0!==o&&o,hasRequestedItems:null!==(a=null===(r=e.data)||void 0===r?void 0:r.hasRequestedItems)&&void 0!==a&&a}}),[]),p=(0,i.useMemo)((()=>m(d)),[d,m]),g=(0,i.useMemo)((()=>m(c)),[c,m]),h=(0,i.useMemo)((()=>m(u)),[u,m]);return{categorizedItemsState:p,groupedItemsState:g,recommendedItemsState:h,hasItems:p.hasItems||g.hasItems||!!l&&h.hasItems,hasRequestedItems:p.hasRequestedItems||g.hasRequestedItems||!!l&&h.hasRequestedItems,isFetchingAll:p.isFetching&&g.isFetching&&!!l&&h.isFetching,isFetchedAll:p.isFetched&&g.isFetched&&!!l&&h.isFetched}};
552var Ce=n(6799);function _e(){return i.createElement(ze,{href:p.A.path.acornStatus},"どんぐりプログラムについて >")}function Be({donguriEarnedCount:e}){return i.createElement(Me,null,i.createElement("div",null,e,"どんぐりGETしたよ!"),i.createElement(_e,null))}const Me=l.Ay.div`
553  text-align: center;
554`,ze=l.Ay.a`
555  font-size: 10px;
556  margin-top: 8px;
557  display: block;
558  align-self: flex-end;
559`;var Fe=n(777),Le=n(1130);const Ne=()=>{const{mutatedItems:e,requestSnack:t,cancelSnack:n,renderConfirmModal:o}=(0,Le.l)(),[r,a]=(0,i.useState)(void 0),l=(0,i.useCallback)((async e=>{const n=await t(e).map((e=>{var t;return{isDonguriEarned:Boolean(e.is_get),donguriEarnedCount:null!==(t=e.get_miles)&&void 0!==t?t:0}}));if(n.isErr())return n.error instanceof Ae.hD&&Fe.o.error(n.error.message),n;if(n.value.isDonguriEarned&&n.value.donguriEarnedCount>0){const{face:e,content:t,lifeTime:r}=(o=n.value.donguriEarnedCount,{type:"rissu",face:"glad",lifeTime:1e4,content:i.createElement(Be,{donguriEarnedCount:o})});Fe.o.rissu(e,t,{lifeTime:r})}var o;return n}),[t]),s=(0,i.useCallback)((async e=>{var t;const i=await n(e);return i.isErr()&&Fe.o.error(null!==(t=i.error.message)&&void 0!==t?t:"リクエストのキャンセルに失敗しました"),i}),[n]);return{newRequestedIds:e,requestingItemId:r,toggleRequest:(0,i.useCallback)((async e=>{if(!e.id)return;a(e.id);const t=await(e.isRequested?s:l)(e.id);a(void 0),t.isOk()&&(0,Ce.$m)("request","/request",e.isRequested?"cancel":"request")}),[l,s]),renderConfirm:(0,i.useCallback)((()=>o({onError:e=>{Fe.o.error(e.message)}})),[o])}};var je=n(3101),Pe=n(7869);const Oe="regular";var De=n(3946),Ve=n(3100);const Ge=()=>{var e,t;const n=(0,Ve.iZ)(),o="active"===(null==n?void 0:n.accounting),[r,a]=(0,i.useState)(!1),[l,s]=(0,i.useState)(!1),d=(0,i.useCallback)((()=>{s((e=>!e))}),[]),c=!!(0,De.d)("viewport5"),{allBoxTypes:u,requestableBoxTypes:m,isFetched:g}=(({shouldFetch:e=!0})=>{var t;const n=(0,Ae.gf)("GET /deli_deck/info",{cacheKeyPrefix:"[Requests]",andThen:e=>[e[1],e[2],e[3],e[4]].flatMap((e=>null===(null==e?void 0:e.box_type)||void 0===(null==e?void 0:e.box_type)?[]:[e.box_type])),enabled:e}),o=(0,Ae.gf)("GET /deli_deck/box_info",{enabled:e&&n.isSuccess,andThen:e=>e.flatMap((e=>{var t,i,o;return null===e.box_type?[]:[{id:e.box_type,uid:e.slug,name:e.name,description:e.description,imageName:e.image_name,isRequestable:1===e.is_enable_requests,isMyBoxType:null!==(i=null!==e.box_type&&(null===(t=n.data)||void 0===t?void 0:t.includes(e.box_type)))&&void 0!==i&&i,startDate:null!==(o=e.start_date)&&void 0!==o?o:null}]}))}),r=(0,i.useMemo)((()=>{var e;return null===(e=o.data)||void 0===e?void 0:e.filter((({isRequestable:e})=>e))}),[o.data]);return{isFetched:!e||o.isFetched,allBoxTypes:null!==(t=o.data)&&void 0!==t?t:[],requestableBoxTypes:null!=r?r:[]}})({shouldFetch:o}),h=(null!==(t=null===(e=(0,Ve.iZ)())||void 0===e?void 0:e.accountingCount)&&void 0!==t?t:0)>3,{newRequestedIds:y,requestingItemId:b,toggleRequest:v,renderConfirm:x}=Ne(),{currentTabIndex:w,currentTab:E,currentBoxType:T,boxTypeTabRef:$,tabRef:k,isScrolled:R,isShowTooltip:A,switchTab:q}=(({allBoxTypes:e,requestableBoxTypes:t})=>{const n=(0,f.Zp)(),[o,r]=(0,i.useState)(null),[a,l]=(0,i.useState)(!1),s=(0,i.useRef)(null),d=(0,i.useMemo)((()=>{var e,n,i,r;const a=null!==(n=null===(e=t.find((({isMyBoxType:e})=>e)))||void 0===e?void 0:e.uid)&&void 0!==n?n:null,l=null!==(r=null!==(i=null!=o?o:(0,je.s)("tab"))&&void 0!==i?i:a)&&void 0!==r?r:Oe;return t.some((({uid:e})=>e===l))?l:Oe}),[o,t]),c=(0,i.useMemo)((()=>t.filter((({isMyBoxType:e})=>e)).findIndex((({uid:e})=>e===d))),[t,d]),u=(0,i.useMemo)((()=>{var e;return null!==(e=t.find((({uid:e})=>e===d)))&&void 0!==e?e:null}),[t,d]),m=(0,V.kP)();(0,V.Mf)(m,c);const g=(0,i.useCallback)((()=>{s.current&&l((e=>{var t,n;return window.scrollY>(null!==(n=null===(t=s.current)||void 0===t?void 0:t.scrollHeight)&&void 0!==n?n:0)+208+(e?0:48)}))}),[]);(0,i.useEffect)((()=>(window.addEventListener("scroll",g),()=>window.removeEventListener("scroll",g))),[g]);const h=(0,i.useCallback)((t=>{var i;if(a&&(null===(i=s.current)||void 0===i||i.scrollIntoView()),"boxChange"===t)return(0,Pe.Y)(e),void n(`${p.A.path.boxSett
559ings}?week=none`);r(t);const o=new URLSearchParams(window.location.search);o.delete("tab"),o.set("tab",t),n(`${window.location.pathname}?${o.toString()}`)}),[a,n,e]),y=(0,i.useMemo)((()=>(0,Pe.C)(e)>0),[e]);return{currentTabIndex:c,currentTab:d,currentBoxType:u,tabRef:s,boxTypeTabRef:m,isScrolled:a,isShowTooltip:y,switchTab:h}})({allBoxTypes:u,requestableBoxTypes:m}),{categorizedItemsState:S,groupedItemsState:I,recommendedItemsState:C,hasItems:_,hasRequestedItems:B,isFetchingAll:M,isFetchedAll:z}=Ie({newRequestedIds:y,requestingItemId:b,currentBoxType:null!=T?T:void 0,boxTypes:m,shouldFetch:o});return(0,i.useEffect)((()=>{r||I.isFetched&&((0,Re.y)(300).then((()=>{(0,ke.O)(window.location.hash,{offset:c?20:-60})})),a(!0))}),[r,I.isFetched,c]),g?o?T?{status:"success",props:{boxTypes:m,currentBoxType:T,currentTab:E,switchTab:q,toggleRequest:v,renderConfirm:x,isScrolled:R,onlyShowRequested:l,toggleOnlyShowRequested:d,currentTabIndex:w,tabRef:k,boxTypeTabRef:$,categorizedItemsState:S,groupedItemsState:I,recommendedItemsState:C,hasItems:_,hasRequestedItems:B,isFetchingAll:M,isFetchedAll:z,isDeliveredThreeTimes:h,isShowTooltip:A}}:{status:"error",error:"noData"}:{status:"error",error:"nonSubscriber"}:{status:"pending"}};function Ye(){return i.createElement(o.E,{useProps:Ge,success:e=>i.createElement(te,Object.assign({},e)),pending:()=>i.createElement(r.A,null),error:e=>i.createElement(U,{error:e})})}},6745:(e,t,n)=>{n.d(t,{Fr:()=>o,nI:()=>i});const i=()=>{const e=navigator.userAgent.toLowerCase();return/line/.test(e)?"line":/iphone|ipad|ipod/.test(e)?"ios":/android/.test(e)&&!window.MSStream?"android":"unknown"},o=()=>"unknown"!==i()},6799:(e,t,n)=>{n.d(t,{$m:()=>o});var i=n(4448);function o(e,t,n,o){i.A.sendGA?r(e,t,n,o):console.log("GA EVENT ====",{category:e,action:t,label:n,value:o})}const r=(...e)=>{if(!window.gtag)return;const[t,n,i,o]=e;window.gtag("event",`${t}:${n}`,{event_category:t,event_action:n,event_label:i,event_value:o,ua_category:t,ua_action:n,ua_label:i,ua_value:o,value:o})}},7392:(e,t,n)=>{n.d(t,{y:()=>i});const i=e=>new Promise((t=>setTimeout(t,e)))},7869:(e,t,n)=>{n.d(t,{C:()=>l,Y:()=>s});var i=n(836),o=n(4353),r=n.n(o);const a="checked-box-types",l=e=>{var t;const n=null!==(t=(0,i._W)(a))&&void 0!==t?t:[];return e.filter((e=>!n.includes(e.id)&&e.startDate&&d(e.startDate))).length},s=e=>{const t=e.map((e=>e.id));(0,i.KY)(a,t)},d=e=>{const t=r()().diff(r()(e),"month");return t<2&&t>-1}},9054:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(6540),o=n(3531);const r=e=>i.createElement(o.A,Object.assign({viewBox:"0 0 15 15",path:i.createElement("path",{d:"M7.5 0C3.357 0 0 3.387 0 7.5 0 11.643 3.357 15 7.5 15c4.113 0 7.5-3.357 7.5-7.5C15 3.387 11.613 0 7.5 0Zm0 13.548A6.027 6.027 0 0 1 1.452 7.5 6.047 6.047 0 0 1 7.5 1.452c3.327 0 6.048 2.721 6.048 6.048A6.047 6.047 0 0 1 7.5 13.548Zm3.236-7.711c0-1.512-1.603-2.692-3.085-2.692-1.421 0-2.328.605-3.024 1.663a.34.34 0 0 0 .06.484l.847.635c.151.121.393.091.514-.06.454-.575.787-.907 1.482-.907.545 0 1.21.332 1.21.877 0 .393-.333.574-.877.877-.605.363-1.421.786-1.421 1.875v.242a.35.35 0 0 0 .362.363h1.361a.35.35 0 0 0 .363-.363v-.182c0-.756 2.208-.786 2.208-2.812Zm-1.966 5.05c0-.696-.574-1.27-1.27-1.27-.726 0-1.27.574-1.27 1.27 0 .726.544 1.27 1.27 1.27.696 0 1.27-.544 1.27-1.27Z"})},e))}}]);

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.