PageSourceSearch

https://www.moichibrand.com/_next/static/chunks/190802bb8144da17.js

js moichibrand.com collected 2026-10-10 00:16:21 UTC 85,650 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,60233,e=>{"use strict";var t=e.i(43476);function r(e,t,r){return Math.max(e,Math.min(t,r))}var i=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(e){if(!this.isRunning)return;let t=!1;if(this.duration&&this.easing){this.currentTime+=e;let i=r(0,this.currentTime/this.duration,1),n=(t=i>=1)?1:this.easing(i);this.value=this.from+(this.to-this.from)*n}else if(this.lerp){var i,n,s,o;this.value=(i=this.value,n=this.to,s=60*this.lerp,(1-(o=1-Math.exp(-s*e)))*i+o*n),Math.round(this.value)===this.to&&(this.value=this.to,t=!0)}else this.value=this.to,t=!0;t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:r,duration:i,easing:n,onStart:s,onUpdate:o}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=i,this.easing=n,this.currentTime=0,this.isRunning=!0,s?.(),this.onUpdate=o}},n=class{constructor(e,t,{autoResize:r=!0,debounce:i=250}={}){this.wrapper=e,this.content=t,r&&(this.debouncedResize=function(e,t){let r;return function(...i){let n=this;clearTimeout(r),r=setTimeout(()=>{r=void 0,e.apply(n,i)},t)}}(this.resize,i),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},s=class{events={};emit(e,...t){let r=this.events[e]||[];for(let e=0,i=r.length;e<i;e++)r[e]?.(...t)}on(e,t){return this.events[e]?.push(t)||(this.events[e]=[t]),()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}off(e,t){this.events[e]=this.events[e]?.filter(e=>t!==e)}destroy(){this.events={}}},o=100/6,a={passive:!1},l=class{constructor(e,t={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=t,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,a),this.element.addEventListener("touchstart",this.onTouchStart,a),this.element.addEventListener("touchmove",this.onTouchMove,a),this.element.addEventListener("touchend",this.onTouchEnd,a)}touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new s;on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,a),this.element.removeEventListener("touchstart",this.onTouchStart,a),this.element.removeEventListener("touchmove",this.onTouchMove,a),this.element.removeEventListener("touchend",this.onTouchEnd,a)}onTouchStart=e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e,i=-(t-this.touchStart.x)*this.options.touchMultiplier,n=-(r-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:i,y:n},this.emitter.emit("scroll",{deltaX:i,deltaY:n,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:r,deltaMode:i}=e,n=1===i?o:2===i?this.window.width:1,s=1===i?o:2===i?this.window.height:1;t*=n,r*=s,t*=this.options.wheelMultiplier,r*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:r,event:e})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}},h=e=>Math.min(1,1.001-Math.pow(2,-10*e)),c=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;__rafID=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new i;emitter=new s;dimensions;virtualScroll;constructor({wrapper:e=window,content:t=document.documentElement,eventsTarget:r=e,smoothWheel:i=!0,syncTouch:s=!1,syncTouchLerp:o=.075,touchInertiaExponent:a=1.7,duration:c,easing:u,lerp:f=.1,infinite:p=!1,orientation:m="vertical",gestureOrientation:d="horizontal"===m?"both":"vertical",touchMultiplier:g=1,wheelMultiplier:E=1,autoResize:v=!0,prevent:b,virtualScroll:y,overscroll:_=!0,autoRaf:S=!1,anchors:T=!1,autoToggle:H=!1,allowNestedScroll:C=!1,__experimental__naiveDimensions:w=!1}={}){window.lenisVersion="1.3.16",e&&e!==document.documentElement||(e=window),"number"==typeof c&&"function"!=typeof u?u=h:"function"==typeof u&&"number"!=typeof c&&(c=1),this.options={wrapper:e,content:t,eventsTarget:r,smoothWheel:i,syncTouch:s,syncTouchLerp:o,touchInertiaExponent:a,duration:c,easing:u,lerp:f,infinite:p,gestureOrientation:d,orientation:m,touchMultiplier:g,wheelMultiplier:E,autoResize:v,prevent:b,virtualScroll:y,overscroll:_,autoRaf:S,anchors:T,autoToggle:H,allowNestedScroll:C,__experimental__naiveDimensions:w},this.dimensions=new n(e,t,{autoResize:v}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=ne
1w l(r,{touchMultiplier:g,wheelMultiplier:E}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd,{passive:!0})),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this.__rafID&&cancelAnimationFrame(this.__rafID)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}onScrollEnd=e=>{e instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||e.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let e=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[e]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=e=>{e.propertyName.includes("overflow")&&this.checkOverflow()};setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:"instant"}):this.options.wrapper.scrollTo({top:e,behavior:"instant"})}onClick=e=>{let t=e.composedPath().find(e=>e instanceof HTMLAnchorElement&&e.getAttribute("href")?.includes("#"));if(t){let e=t.getAttribute("href");if(e){let t="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,r=`#${e.split("#")[1]}`;this.scrollTo(r,t)}}};onPointerDown=e=>{1===e.button&&this.reset()};onVirtualScroll=e=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(e))return;let{deltaX:t,deltaY:r,event:i}=e;if(this.emitter.emit("virtual-scroll",{deltaX:t,deltaY:r,event:i}),i.ctrlKey||i.lenisStopPropagation)return;let n=i.type.includes("touch"),s=i.type.includes("wheel");this.isTouching="touchstart"===i.type||"touchmove"===i.type;let o=0===t&&0===r;if(this.options.syncTouch&&n&&"touchstart"===i.type&&o&&!this.isStopped&&!this.isLocked)return void this.reset();let a="vertical"===this.options.gestureOrientation&&0===r||"horizontal"===this.options.gestureOrientation&&0===t;if(o||a)return;let l=i.composedPath();l=l.slice(0,l.indexOf(this.rootElement));let h=this.options.prevent;if(l.find(e=>e instanceof HTMLElement&&("function"==typeof h&&h?.(e)||e.hasAttribute?.("data-lenis-prevent")||n&&e.hasAttribute?.("data-lenis-prevent-touch")||s&&e.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.checkNestedScroll(e,{deltaX:t,deltaY:r}))))return;if(this.isStopped||this.isLocked){i.cancelable&&i.preventDefault();return}if(!(this.options.syncTouch&&n||this.options.smoothWheel&&s)){this.isScrolling="native",this.animate.stop(),i.lenisStopPropagation=!0;return}let c=r;"both"===this.options.gestureOrientation?c=Math.abs(r)>Math.abs(t)?r:t:"horizontal"===this.options.gestureOrientation&&(c=t),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&r>0||this.animatedScroll===this.limit&&r<0))&&(i.lenisStopPropagation=!0),i.cancelable&&i.preventDefault();let u=n&&this.options.syncTouch,f=n&&"touchend"===i.type;f&&(c=Math.sign(this.velocity)*Math.pow(Math.abs(this.velocity),this.options.touchInertiaExponent)),this.scrollTo(this.targetScroll+c,{programmatic:!1,...u?{lerp:f?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),this.isStopped||(this.isScrolling="native"),this.emit
1(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.removeProperty("overflow");this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.setProperty("overflow","clip");this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=e=>{let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))};scrollTo(e,{offset:t=0,immediate:i=!1,lock:n=!1,duration:s=this.options.duration,easing:o=this.options.easing,lerp:a=this.options.lerp,onStart:l,onComplete:c,force:u=!1,programmatic:f=!0,userData:p}={}){if(!this.isStopped&&!this.isLocked||u){if("string"==typeof e&&["top","left","start","#"].includes(e))e=0;else if("string"==typeof e&&["bottom","right","end"].includes(e))e=this.limit;else{let r;if("string"==typeof e?(r=document.querySelector(e))||("#top"===e?e=0:console.warn("Lenis: Target not found",e)):e instanceof HTMLElement&&e?.nodeType&&(r=e),r){if(this.options.wrapper!==window){let e=this.rootElement.getBoundingClientRect();t-=this.isHorizontal?e.left:e.top}let i=r.getBoundingClientRect();e=(this.isHorizontal?i.left:i.top)+this.animatedScroll}}if("number"==typeof e){if(e+=t,e=Math.round(e),this.options.infinite){if(f){this.targetScroll=this.animatedScroll=this.scroll;let t=e-this.animatedScroll;t>this.limit/2?e-=this.limit:t<-this.limit/2&&(e+=this.limit)}}else e=r(0,e,this.limit);if(e===this.targetScroll){l?.(this),c?.(this);return}if(this.userData=p??{},i){this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}f||(this.targetScroll=e),"number"==typeof s&&"function"!=typeof o?o=h:"function"==typeof o&&"number"!=typeof s&&(s=1),this.animate.fromTo(this.animatedScroll,e,{duration:s,easing:o,lerp:a,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",l?.(this)},onUpdate:(e,t)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),f&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}checkNestedScroll(e,{deltaX:t,deltaY:r}){let i,n,s,o,a,l,h,c,u,f,p,m,d,g,E=Date.now(),v=e._lenis??={},b=this.options.gestureOrientation;if(E-(v.time??0)>2e3){v.time=Date.now();let t=window.getComputedStyle(e);v.computedStyle=t;let r=t.overflowX,u=t.overflowY;if(i=["auto","overlay","scroll"].includes(r),n=["auto","overlay","scroll"].includes(u),v.hasOverflowX=i,v.hasOverflowY=n,!i&&!n||"vertical"===b&&!n||"horizontal"===b&&!i)return!1;a=e.scrollWidth,l=e.scrollHeight,h=e.clientWidth,c=e.clientHeight,s=a>h,o=l>c,v.isScrollableX=s,v.isScrollableY=o,v.scrollWidth=a,v.scrollHeight=l,v.clientWidth=h,v.clientHeight=c}else s=v.isScrollableX,o=v.isScrollableY,i=v.hasOverflowX,n=v.hasOverflowY,a=v.scrollWidth,l=v.scrollHeight,h=v.clientWidth,c=v.clientHeight;if(!i&&!n||!s&&!o||"vertical"===b&&(!n||!o)||"horizontal"===b&&(!i||!s)||("horizontal"===b?u="x":"vertical"===b?u="y":(0!==t&&i&&s&&(u="x"),0!==r&&n&&o&&(u="y")),!u))return!1;if("x"===u)f=e.scrollLeft,p=a-h,m=t,d=i,g=s;else{if("y"!==u)return!1;f=e.scrollTop,p=l-c,m=r,d=n,g=o}return(m>0?f<p:f>0)&&d&&g}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){var e;return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let e="lenis";return this.options.autoToggle&&(e+=" lenis-autoToggle"),this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),"smooth"===this.isScrolling&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}},u=e.i(71645),f=(0,u.createContext)(null),p=new class{constructor(e){this.state=e}listeners=[];set(e){for(let t of(this.state=e,this.listeners))t(this.state)}subscribe(e){return this.listeners=[...this.listeners,e],()=>{this.listeners=this.listeners.filter(t=>t!==e)}}get(){return this.state}}(null),m=(0,u.forwardRef)(({children:e,root:r=!1,options:i={},autoRaf:n=!0,...s},o)=>{let a=(0,u.useRef)(null),l=(0,u.useRef)(null),[h,m]=(0,u.useState)(void 0);(0,u.useImperativeHandle)(o,()=>({wrapper:a.current,content:l.current,lenis:h}),[h]),(0,u.useEffect)(()=>{let e=new c({...i,...a.current&&l.current&&{wrapper:a.current,content:l.current},autoRaf:i?.autoRaf??n});return m(e),()=>{e.destroy(),m(void 0)}},[r,JSON.stringify({...i,wrapper:null,content:null})]);let d=(0,u.useRef)([]),g=(0,u.useCallback)((e,t)=>{d.current.push({callback:e,priority:t}),d.current.sort((e,t)=>
1e.priority-t.priority)},[]),E=(0,u.useCallback)(e=>{d.current=d.current.filter(t=>t.callback!==e)},[]);return((0,u.useEffect)(()=>{if(r&&h)return p.set({lenis:h,addCallback:g,removeCallback:E}),()=>p.set(null)},[r,h,g,E]),(0,u.useEffect)(()=>{if(!h)return;let e=e=>{for(let t=0;t<d.current.length;t++)d.current[t]?.callback(e)};return h.on("scroll",e),()=>{h.off("scroll",e)}},[h]),e)?(0,t.jsx)(f.Provider,{value:{lenis:h,addCallback:g,removeCallback:E},children:r&&"asChild"!==r?e:(0,t.jsx)("div",{ref:a,...s,children:(0,t.jsx)("div",{ref:l,children:e})})}):null}),d={};function g({children:e}){return!function(e,t=[],r=0){let i=(0,u.useContext)(f),n=function(e){let[t,r]=(0,u.useState)(e.get());return(0,u.useEffect)(()=>e.subscribe(e=>r(e)),[e]),t}(p),{lenis:s,addCallback:o,removeCallback:a}=i??n??d;(0,u.useEffect)(()=>{if(e&&o&&a&&s)return o(e,r),e(s),()=>{a(e)}},[s,o,a,r,...t])}(e=>{console.log(e)}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m,{root:!0}),e]})}e.s(["LenisProvider",()=>g],60233)},61745,e=>{"use strict";var t,r,i,n,s,o,a,l,h,c,u,f,p,m=e.i(71645),d=e.i(90571);function g(e,t){var r=t&&t.cache?t.cache:_,i=t&&t.serializer?t.serializer:b;return(t&&t.strategy?t.strategy:function(e,t){var r,i,n=1===e.length?E:v;return r=t.cache.create(),i=t.serializer,n.bind(this,e,r,i)})(e,{cache:r,serializer:i})}function E(e,t,r,i){var n=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),s=t.get(n);return void 0===s&&(s=e.call(this,i),t.set(n,s)),s}function v(e,t,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),s=t.get(n);return void 0===s&&(s=e.apply(this,i),t.set(n,s)),s}var b=function(){return JSON.stringify(arguments)},y=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),_={create:function(){return new y}},S={variadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,v.bind(this,e,r,i)},monadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,E.bind(this,e,r,i)}};function T(e){return e.type===l.literal}function H(e){return e.type===l.number}function C(e){return e.type===l.date}function w(e){return e.type===l.time}function L(e){return e.type===l.select}function A(e){return e.type===l.plural}function N(e){return e.type===l.tag}function B(e){return!!(e&&"object"==typeof e&&e.type===h.number)}function M(e){return!!(e&&"object"==typeof e&&e.type===h.dateTime)}(t=a||(a={}))[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",(r=l||(l={}))[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",(i=h||(h={}))[i.number=0]="number",i[i.dateTime=1]="dateTime";var R=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,P=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,I=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,O=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,x=/^(@+)?(\+|#+)?[rs]?$/g,D=/(\*)(0+)|(#+)(0+)|(0+)/g,k=/^(0+)$/;function U(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(x,function(e,r,i){return"string"!=typeof i?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===i?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof i?i.length:0)),""}),t}function G(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function F(e){var t=G(e);return t||{}}var V={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
1:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},j=new RegExp("^".concat(R.source,"*")),z=new RegExp("".concat(R.source,"*$"));function W(e,t){return{start:e,end:t}}var Z=!!String.prototype.startsWith&&"_a".startsWith("a",1),X=!!String.fromCodePoint,K=!!Object.fromEntries,Y=!!String.prototype.codePointAt,$=!!String.prototype.trimStart,q=!!String.prototype.trimEnd,J=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&0x1fffffffffffff>=Math.abs(e)},Q=!0;try{Q=(null==(c=eo("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:c[0])==="a"}catch(e){Q=!1}var ee=Z?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},et=X?String.fromCodePoint:function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i="",n=t.length,s=0;n>s;){if((e=t[s++])>1114111)throw RangeError(e+" is not a valid code point");i+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return i},er=K?Object.fromEntries:function(e){for(var t={},r=0;r<e.length;r++){var i=e[r],n=i[0],s=i[1];t[n]=s}return t},ei=Y?function(e,t){return e.codePointAt(t)}:function(e,t){var r,i=e.length;if(!(t<0)&&!(t>=i)){var n=e.charCodeAt(t);return n<55296||n>56319||t+1===i||(r=e.charCodeAt(t+1))<56320||r>57343?n:(n-55296<<10)+(r-56320)+65536}},en=$?function(e){return e.trimStart()}:function(e){return e.replace(j,"")},es=q?function(e){return e.trimEnd()}:function(e){return e.replace(z,"")};function eo(e,t){return new RegExp(e,t)}if(Q){var ea=eo("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");u=function(e,t){var r;return ea.lastIndex=t,null!=(r=ea.exec(e)[1])?r:""}}else u=function(e,t){for(var r=[];;){var i,n=ei(e,t);if(void 0===n||ec(n)||(i=n)>=33&&i<=35||36===i||i>=37&&i<=39||40===i||41===i||42===i||43===i||44===i||45===i||i>=46&&i<=47||i>=58&&i<=59||i>=60&&i<=62||i>=63&&i<=64||91===i||92===i||93===i||94===i||96===i||123===i||124===i||125===i||126===i||161===i||i>=162&&i<=165||166===i||167===i||169===i||171===i||172===i||174===i||176===i||177===i||182===i||187===i||191===i||215===i||247===i||i>=8208&&i<=8213||i>=8214&&i<=8215||8216===i||8217===i||8218===i||i>=8219&&i<=8220||8221===i||8222===i||8223===i||i>=8224&&i<=8231||i>=8240&&i<=8248||8249===i||8250===i||i>=8251&&i<=8254||i>=8257&&i<=8259||8260===i||8261===i||8262===i||i>=8263&&i<=8273||8274===i||8275===i||i>=8277&&i<=8286||i>=8592&&i<=8596||i>=8597&&i<=8601||i>=8602&&i<=8603||i>=8604&&i<=8607||8608===i||i>=8609&&i<=8610||8611===i||i>=8612&&i<=8613||8614===i||i>=8615&&i<=8621||8622===i||i>=8623&&i<=8653||i>=8654&&i<=8655||i>=8656&&i<=8657||8658===i||8659===i||8660===i||i>=8661&&i<=8691||i>=8692&&i<=8959||i>=8960&&i<=8967||8968===i||8969===i||8970===i||8971===i||i>=8972&&i<=8991||i>=8992&&i<=8993||i>=8994&&i<=9e3||9001===i||9002===i||i>=9003&&i<=9083||9084===i||i>=9085&&i<=9114||i>=9115&&i<=9139||i>=9140&&i<=9179||i>=9180&&i<=9185||i>=9186&&i<=9254||i>=9255&&i<=9279||i>=9280&&i<=9290||i>=9291&&i<=9311||i>=9472&&i<=9654||9655===i||i>
1=9656&&i<=9664||9665===i||i>=9666&&i<=9719||i>=9720&&i<=9727||i>=9728&&i<=9838||9839===i||i>=9840&&i<=10087||10088===i||10089===i||10090===i||10091===i||10092===i||10093===i||10094===i||10095===i||10096===i||10097===i||10098===i||10099===i||10100===i||10101===i||i>=10132&&i<=10175||i>=10176&&i<=10180||10181===i||10182===i||i>=10183&&i<=10213||10214===i||10215===i||10216===i||10217===i||10218===i||10219===i||10220===i||10221===i||10222===i||10223===i||i>=10224&&i<=10239||i>=10240&&i<=10495||i>=10496&&i<=10626||10627===i||10628===i||10629===i||10630===i||10631===i||10632===i||10633===i||10634===i||10635===i||10636===i||10637===i||10638===i||10639===i||10640===i||10641===i||10642===i||10643===i||10644===i||10645===i||10646===i||10647===i||10648===i||i>=10649&&i<=10711||10712===i||10713===i||10714===i||10715===i||i>=10716&&i<=10747||10748===i||10749===i||i>=10750&&i<=11007||i>=11008&&i<=11055||i>=11056&&i<=11076||i>=11077&&i<=11078||i>=11079&&i<=11084||i>=11085&&i<=11123||i>=11124&&i<=11125||i>=11126&&i<=11157||11158===i||i>=11159&&i<=11263||i>=11776&&i<=11777||11778===i||11779===i||11780===i||11781===i||i>=11782&&i<=11784||11785===i||11786===i||11787===i||11788===i||11789===i||i>=11790&&i<=11798||11799===i||i>=11800&&i<=11801||11802===i||11803===i||11804===i||11805===i||i>=11806&&i<=11807||11808===i||11809===i||11810===i||11811===i||11812===i||11813===i||11814===i||11815===i||11816===i||11817===i||i>=11818&&i<=11822||11823===i||i>=11824&&i<=11833||i>=11834&&i<=11835||i>=11836&&i<=11839||11840===i||11841===i||11842===i||i>=11843&&i<=11855||i>=11856&&i<=11857||11858===i||i>=11859&&i<=11903||i>=12289&&i<=12291||12296===i||12297===i||12298===i||12299===i||12300===i||12301===i||12302===i||12303===i||12304===i||12305===i||i>=12306&&i<=12307||12308===i||12309===i||12310===i||12311===i||12312===i||12313===i||12314===i||12315===i||12316===i||12317===i||i>=12318&&i<=12319||12320===i||12336===i||64830===i||64831===i||i>=65093&&i<=65094)break;r.push(n),t+=n>=65536?2:1}return et.apply(void 0,r)};var el=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var n=this.char();if(123===n){var s=this.parseArgument(e,r);if(s.err)return s;i.push(s.val)}else if(125===n&&e>0)break;else if(35===n&&("plural"===t||"selectordinal"===t)){var o=this.clonePosition();this.bump(),i.push({type:l.pound,location:W(o,this.clonePosition())})}else if(60!==n||this.ignoreTag||47!==this.peek())if(60===n&&!this.ignoreTag&&eh(this.peek()||0)){var s=this.parseTag(e,t);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(e,t);if(s.err)return s;i.push(s.val)}else if(!r)return this.error(a.UNMATCHED_CLOSING_TAG,W(this.clonePosition(),this.clonePosition()));else break}return{val:i,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:l.literal,value:"<".concat(i,"/>"),location:W(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(a.INVALID_TAG,W(r,this.clonePosition()));var n=this.parseMessage(e+1,t,!0);if(n.err)return n;var s=n.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(a.UNCLOSED_TAG,W(r,this.clonePosition()));if(this.isEOF()||!eh(this.char()))return this.error(a.INVALID_TAG,W(o,this.clonePosition()));var h=this.clonePosition();return i!==this.parseTagName()?this.error(a.UNMATCHED_CLOSING_TAG,W(h,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:l.tag,value:i,children:s,location:W(r,this.clonePosition())},err:null}:this.error(a.INVALID_TAG,W(o,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(t);if(n){i+=n;continue}var s=this.tryParseUnquoted(e,t);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var a=W(r,this.clonePosition());return{val:{type:l.literal,value:i,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(eh(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";
1case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(r);this.bump()}return et.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),et(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,W(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(a.EMPTY_ARGUMENT,W(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(a.MALFORMED_ARGUMENT,W(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,W(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:l.argument,value:i,location:W(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,W(r,this.clonePosition()));return this.parseArgumentOptions(e,t,i,r);default:return this.error(a.MALFORMED_ARGUMENT,W(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=u(this.message,t),i=t+r.length;return this.bumpTo(i),{value:r,location:W(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,i){var n,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(o){case"":return this.error(a.EXPECT_ARGUMENT_TYPE,W(s,c));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var m=es(p.val);if(0===m.length)return this.error(a.EXPECT_ARGUMENT_STYLE,W(this.clonePosition(),this.clonePosition()));u={style:m,styleLocation:W(f,this.clonePosition())}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var E=W(i,this.clonePosition());if(u&&ee(null==u?void 0:u.style,"::",0)){var v=en(u.style.slice(2));if("number"===o){var p=this.parseNumberSkeletonFromString(v,u.styleLocation);if(p.err)return p;return{val:{type:l.number,value:r,location:E,style:p.val},err:null}}if(0===v.length)return this.error(a.EXPECT_DATE_TIME_SKELETON,E);var b,y=v;this.locale&&(y=function(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if("j"===n){for(var s=0;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;var o=1+(1&s),a=s<2?1:3+(s>>1),l=function(e){var t,r=e.hourCycle;if(void 0===r&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var i=e.language;return"root"!==i&&(t=e.maximize().region),(V[t||""]||V[i||""]||V["".concat(i,"-001")]||V["001"])[0]}(t);for(("H"==l||"k"==l)&&(a=0);a-- >0;)r+="a";for(;o-- >0;)r=l+r}else"J"===n?r+="H":r+=n}return r}(v,this.locale));var m={type:h.dateTime,pattern:y,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(b={},y.replace(P,function(e){var t=e.length;switch(e[0]){case"G":b.era=4===t?"long":5===t?"narrow":"short";break;case"y":b.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":b.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":b.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":b.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");b.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");b.weekday=["short","long","narrow","short"][t-4];break;case"a":b.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":b.hourCycle="h12",b.hour=["numeric","2-digit"][t-1];break;case"H":b.hourCycle="h23",b.hour=["numeric","2-digit"][t-1];break;case"K":b.hourCycle="h11",b.hour=["numeric","2-digit"][t-1];break;case"k":b.hourCycle="h24",b.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":b.minute=["numeric","2-digit"][t-1];break;case"s":b.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":b.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),b):{}};return{val:{type:"date"===o?l.date:l.time,value:r,location:E,style:m},err:null}}return{val:{type:"number"===o?l.number:"date"===o?l.date:l.time,value:r,location:E,style:null!=(n=null==u?void 0:u.style)?n:null},err:null};
1case"plural":case"selectordinal":case"select":var _=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.EXPECT_SELECT_ARGUMENT_OPTIONS,W(_,(0,d.__assign)({},_)));this.bumpSpace();var S=this.parseIdentifierIfPossible(),T=0;if("select"!==o&&"offset"===S.value){if(!this.bumpIf(":"))return this.error(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),S=this.parseIdentifierIfPossible(),T=p.val}var H=this.tryParsePluralOrSelectOptions(e,o,t,S);if(H.err)return H;var g=this.tryParseArgumentClose(i);if(g.err)return g;var C=W(i,this.clonePosition());if("select"===o)return{val:{type:l.select,value:r,options:er(H.val),location:C},err:null};return{val:{type:l.plural,value:r,options:er(H.val),offset:T,pluralType:"plural"===o?"cardinal":"ordinal",location:C},err:null};default:return this.error(a.INVALID_ARGUMENT_TYPE,W(s,c))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,W(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,W(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(I).filter(function(e){return e.length>0}),r=[],i=0;i<t.length;i++){var n=t[i].split("/");if(0===n.length)throw Error("Invalid number skeleton");for(var s=n[0],o=n.slice(1),a=0;a<o.length;a++)if(0===o[a].length)throw Error("Invalid number skeleton");r.push({stem:s,options:o})}return r}(e)}catch(e){return this.error(a.INVALID_NUMBER_SKELETON,t)}return{val:{type:h.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){for(var t={},r=0;r<e.length;r++){var i=e[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=(0,d.__assign)((0,d.__assign)((0,d.__assign)({},t),{notation:"scientific"}),i.options.reduce(function(e,t){return(0,d.__assign)((0,d.__assign)({},e),F(t))},{}));continue;case"engineering":t=(0,d.__assign)((0,d.__assign)((0,d.__assign)({},t),{notation:"engineering"}),i.options.reduce(function(e,t){return(0,d.__assign)((0,d.__assign)({},e),F(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw RangeError("integer-width stems only accept a single optional option");i.options[0].replace(D,function(e,r,i,n,s,o){if(r)t.minimumIntegerDigits=i.length;else if(n&&s)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(k.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(O.test(i.stem)){if(i.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(O,function(e,r,i,n,s,o){return"*"===i?t.minimumFractionDigits=r.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:s&&o?(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});var n=i.options[0];"w"===n?t=(0,d.__assign)((0,d.__assign)({}
1,t),{trailingZeroDisplay:"stripIfInteger"}):n&&(t=(0,d.__assign)((0,d.__assign)({},t),U(n)));continue}if(x.test(i.stem)){t=(0,d.__assign)((0,d.__assign)({},t),U(i.stem));continue}var s=G(i.stem);s&&(t=(0,d.__assign)((0,d.__assign)({},t),s));var o=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!k.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem);o&&(t=(0,d.__assign)((0,d.__assign)({},t),o))}return t}(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var n,s=!1,o=[],l=new Set,h=i.value,c=i.location;;){if(0===h.length){var u=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=W(u,this.clonePosition()),h=this.message.slice(u.offset,this.offset())}else break}if(l.has(h))return this.error("select"===t?a.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===h&&(s=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?a.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,W(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,r);if(m.err)return m;var d=this.tryParseArgumentClose(p);if(d.err)return d;o.push([h,{value:m.val,location:W(p,this.clonePosition())}]),l.add(h),this.bumpSpace(),h=(n=this.parseIdentifierIfPossible()).value,c=n.location}return 0===o.length?this.error("select"===t?a.EXPECT_SELECT_ARGUMENT_SELECTOR:a.EXPECT_PLURAL_ARGUMENT_SELECTOR,W(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(a.MISSING_OTHER_CLAUSE,W(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)n=!0,s=10*s+(o-48),this.bump();else break}var a=W(i,this.clonePosition());return n?J(s*=r)?{val:s,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ei(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(ee(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ec(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function eh(e){return e>=97&&e<=122||e>=65&&e<=90}function ec(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function eu(e,t){void 0===t&&(t={});var r=new el(e,t=(0,d.__assign)({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(r.err){var i=SyntaxError(a[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,L(t)||A(t))for(var r in t.options)delete t.options[r].location,e(t.options[r].value);else H(t)&&B(t.style)||(C(t)||w(t))&&M(t.style)?delete t.style.location:N(t)&&e(t.children)})}(r.val),r.val}(n=f||(f={})).MISSING_VALUE="MISSING_VALUE",n.INVALID_VALUE="INVALID_VALUE",n.MISSING_INTL_API="MISSING_INTL_API";var ef=function(e){function t(t,r,i){var n=e.call(this,t)||this;return n.code=r,n.originalMessage=i,n}return(0,d.__extends)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ep=function(e){function t(t,r,i,n){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),f.INVALID_VALUE,n)||this}return(0,d.__extends)(t,e),t}(ef),em=function(e){function t(t,r,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),f.INVALID_VALUE,i)||this}return(0,d.__extends)(t,e),t}(ef),ed=function(e){function t(t,r){return e.call(this,'The intl str
1ing context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),f.MISSING_VALUE,r)||this}return(0,d.__extends)(t,e),t}(ef);function eg(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}(s=p||(p={}))[s.literal=0]="literal",s[s.object=1]="object";var eE=function(){function e(t,r,i,n){void 0===r&&(r=e.defaultLocale);var s,o,a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce(function(e,t){return e.length&&t.type===p.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return function e(t,r,i,n,s,o,a){if(1===t.length&&T(t[0]))return[{type:p.literal,value:t[0].value}];for(var h=[],c=0;c<t.length;c++){var u=t[c];if(T(u)){h.push({type:p.literal,value:u.value});continue}if(u.type===l.pound){"number"==typeof o&&h.push({type:p.literal,value:i.getNumberFormat(r).format(o)});continue}var m=u.value;if(!(s&&m in s))throw new ed(m,a);var d=s[m];if(u.type===l.argument){d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),h.push({type:"string"==typeof d?p.literal:p.object,value:d});continue}if(C(u)){var g="string"==typeof u.style?n.date[u.style]:M(u.style)?u.style.parsedOptions:void 0;h.push({type:p.literal,value:i.getDateTimeFormat(r,g).format(d)});continue}if(w(u)){var g="string"==typeof u.style?n.time[u.style]:M(u.style)?u.style.parsedOptions:n.time.medium;h.push({type:p.literal,value:i.getDateTimeFormat(r,g).format(d)});continue}if(H(u)){var g="string"==typeof u.style?n.number[u.style]:B(u.style)?u.style.parsedOptions:void 0;g&&g.scale&&(d*=g.scale||1),h.push({type:p.literal,value:i.getNumberFormat(r,g).format(d)});continue}if(N(u)){var E=u.children,v=u.value,b=s[v];if("function"!=typeof b)throw new em(v,"function",a);var y=b(e(E,r,i,n,s,o).map(function(e){return e.value}));Array.isArray(y)||(y=[y]),h.push.apply(h,y.map(function(e){return{type:"string"==typeof e?p.literal:p.object,value:e}}))}if(L(u)){var _=u.options[d]||u.options.other;if(!_)throw new ep(u.value,d,Object.keys(u.options),a);h.push.apply(h,e(_.value,r,i,n,s));continue}if(A(u)){var _=u.options["=".concat(d)];if(!_){if(!Intl.PluralRules)throw new ef('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',f.MISSING_INTL_API,a);var S=i.getPluralRules(r,{type:u.pluralType}).select(d-(u.offset||0));_=u.options[S]||u.options.other}if(!_)throw new ep(u.value,d,Object.keys(u.options),a);h.push.apply(h,e(_.value,r,i,n,s,d-(u.offset||0)));continue}}return h.length<2?h:h.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===p.literal&&t.type===p.literal?r.value+=t.value:e.push(t),e},[])}(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){var e;return{locale:(null==(e=a.resolvedLocale)?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var h=n||{},c=(h.formatters,(0,d.__rest)(h,["formatters"]));this.ast=e.__parse(t,(0,d.__assign)((0,d.__assign)({},c),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(s=e.formats,i?Object.keys(s).reduce(function(e,t){var r,n;return e[t]=(r=s[t],(n=i[t])?(0,d.__assign)((0,d.__assign)((0,d.__assign)({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=(0,d.__assign)((0,d.__assign)({},r[t]),n[t]||{}),e},{})):r),e},(0,d.__assign)({},s)):s),this.formatters=n&&n.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:g(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,(0,d.__spreadArray)([void 0],t,!1)))},{cache:eg(o.number),strategy:S.variadic}),getDateTimeFormat:g(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,d.__spreadArray)([void 0],t,!1)))},{cache:eg(o.dateTime),strategy:S.variadic}),getPluralRules:g(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,(0,d.__spreadArray)([void 0],t,!1)))},{cache:eg(o.pluralRules),strategy:S.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}
1,enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=eu,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();class ev extends Error{constructor(e,t){let r=e;t&&(r+=": "+t),super(r),this.code=e,t&&(this.originalMessage=t)}}var eb=((o=eb||{}).MISSING_MESSAGE="MISSING_MESSAGE",o.MISSING_FORMAT="MISSING_FORMAT",o.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",o.INSUFFICIENT_PATH="INSUFFICIENT_PATH",o.INVALID_MESSAGE="INVALID_MESSAGE",o.INVALID_KEY="INVALID_KEY",o.FORMATTING_ERROR="FORMATTING_ERROR",o);function ey(...e){return e.filter(Boolean).join(".")}function e_(e){return ey(e.namespace,e.key)}function eS(e){console.error(e)}function eT(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function eH(e,t){return g(e,{cache:{create:()=>({get:e=>t[e],set(e,r){t[e]=r}})},strategy:S.variadic})}function eC(e,t){return eH((...t)=>new e(...t),t)}function ew(e){return{getDateTimeFormat:eC(Intl.DateTimeFormat,e.dateTime),getNumberFormat:eC(Intl.NumberFormat,e.number),getPluralRules:eC(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:eC(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:eC(Intl.ListFormat,e.list),getDisplayNames:eC(Intl.DisplayNames,e.displayNames)}}function eL(e,t,r,i){let n=ey(i,r);if(!t)throw Error(n);let s=t;return r.split(".").forEach(t=>{let r=s[t];if(null==t||null==r)throw Error(n+` (${e})`);s=r}),s}let eA={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};var eN=e.i(43476);let eB=(0,m.createContext)(void 0);function eM({children:e,formats:t,getMessageFallback:r,locale:i,messages:n,now:s,onError:o,timeZone:a}){let l=(0,m.useContext)(eB),h=(0,m.useMemo)(()=>l?.cache||eT(),[i,l?.cache]),c=(0,m.useMemo)(()=>l?.formatters||ew(h),[h,l?.formatters]),u=(0,m.useMemo)(()=>({...function({formats:e,getMessageFallback:t,messages:r,onError:i,...n}){return{...n,formats:e||void 0,messages:r||void 0,onError:i||eS,getMessageFallback:t||e_}}({locale:i,formats:void 0===t?l?.formats:t,getMessageFallback:r||l?.getMessageFallback,messages:void 0===n?l?.messages:n,now:s||l?.now,onError:o||l?.onError,timeZone:a||l?.timeZone}),formatters:c,cache:h}),[h,t,c,r,i,n,s,o,l,a]);return(0,eN.jsx)(eB.Provider,{value:u,children:e})}function eR(){let e=(0,m.useContext)(eB);if(!e)throw Error(void 0);return e}let eP=!1,eI="undefined"==typeof window;function eO(e){return function(e,t,r){let{cache:i,formats:n,formatters:s,getMessageFallback:o,locale:a,onError:l,timeZone:h}=eR(),c=e["!"],u="!"===t?void 0:t.slice(2);return h||eP||!eI||(eP=!0,l(new ev(eb.ENVIRONMENT_FALLBACK,void 0))),(0,m.useMemo)(()=>{var e;let t;return t=function(e,t,r){try{if(!t)throw Error(void 0);let i=r?eL(e,t,r):t;if(!i)throw Error(r);return i}catch(e){return new ev(eb.MISSING_MESSAGE,e.message)}}((e={cache:i,formatters:s,getMessageFallback:o,messages:c,namespace:u,onError:l,formats:n,locale:a,timeZone:h}).locale,e.messages,e.namespace),function({cache:e,formats:t,formatters:r,getMessageFallback:i=e_,locale:n,messagesOrError:s,namespace:o,onError:a,timeZone:l}){let h=s instanceof ev;function c(e,t,r,n){let s=new ev(t,r);return a(s),n??i({error:s,key:e,namespace:o})}function u(u,f,p,d){var g;let E,v;if(h){if(!d)return a(s),i({error:s,key:u,namespace:o});E=d}else try{E=eL(n,s,u,o)}catch(e){if(!d)return c(u,eb.MISSING_MESSAGE,e.message,d);E=d}if("object"==typeof E){let e;return c(u,Array.isArray(E)?eb.INVALID_MESSAGE:eb.INSUFFICIENT_PATH,e)}let b=(g=E,f||/'[{}]/.test(g)?void 0:g);if(b)return b;
1r.getMessageFormat||(r.getMessageFormat=eH((...e)=>new eE(e[0],e[1],e[2],{formatters:r,...e[3]}),e.message));try{let e,i,s,o;v=r.getMessageFormat(E,n,(e=eE.formats.date,i=eE.formats.time,s={...t?.dateTime,...p?.dateTime},o={date:{...e,...s},time:{...i,...s},number:{...t?.number,...p?.number}},l&&["date","time"].forEach(e=>{let t=o[e];for(let[e,r]of Object.entries(t))t[e]={timeZone:l,...r}}),o),{formatters:{...r,getDateTimeFormat:(e,t)=>r.getDateTimeFormat(e,{timeZone:l,...t})}})}catch(e){return c(u,eb.INVALID_MESSAGE,e.message,d)}try{let e,t=v.format(f?(e={},Object.keys(f).forEach(t=>{let r,i=0,n=f[t];r="function"==typeof n?e=>{let r=n(e);return(0,m.isValidElement)(r)?(0,m.cloneElement)(r,{key:t+i++}):r}:n,e[t]=r}),e):f);if(null==t)throw Error(void 0);return(0,m.isValidElement)(t)||Array.isArray(t)||"string"==typeof t?t:String(t)}catch(e){return c(u,eb.FORMATTING_ERROR,e.message,d)}}function f(e,t,r,i){let n=u(e,t,r,i);return"string"!=typeof n?c(e,eb.INVALID_MESSAGE,void 0):n}return f.rich=u,f.markup=(e,t,r,i)=>u(e,t,r,i),f.raw=e=>{if(h)return a(s),i({error:s,key:e,namespace:o});try{return eL(n,s,e,o)}catch(t){return c(e,eb.MISSING_MESSAGE,t.message)}},f.has=e=>{if(h)return!1;try{return eL(n,s,e,o),!0}catch{return!1}},f}({...e,messagesOrError:t})},[i,s,o,c,u,l,n,a,h])}({"!":eR().messages},e?`!.${e}`:"!",0)}function ex(){return eR().locale}function eD(){let{formats:e,formatters:t,locale:r,now:i,onError:n,timeZone:s}=eR();return(0,m.useMemo)(()=>(function(e){let{_cache:t=eT(),_formatters:r=ew(t),formats:i,locale:n,onError:s=eS,timeZone:o}=e;function a(e){return e?.timeZone||(o?e={...e,timeZone:o}:s(new ev(eb.ENVIRONMENT_FALLBACK,void 0))),e}function l(e,t,r,i,n){let o;try{o=function(e,t,r){let i;if("string"==typeof t){if(!(i=e?.[t])){let e=new ev(eb.MISSING_FORMAT,void 0);throw s(e),e}}else i=t;return r&&(i={...i,...r}),i}(r,e,t)}catch{return n()}try{return i(o)}catch(e){return s(new ev(eb.FORMATTING_ERROR,e.message)),n()}}function h(e,t,s){return l(t,s,i?.dateTime,t=>(t=a(t),r.getDateTimeFormat(n,t).format(e)),()=>String(e))}function c(){return e.now?e.now:(s(new ev(eb.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:h,number:function(e,t,s){return l(t,s,i?.number,t=>r.getNumberFormat(n,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var i;let s,o,a,l={};t instanceof Date||"number"==typeof t?s=new Date(t):t&&(s=null!=t.now?new Date(t.now):c(),o=t.unit,l.style=t.style,l.numberingSystem=t.numberingSystem),s||(s=c());let h=(new Date(e).getTime()-s.getTime())/1e3;o||(o=(a=Math.abs(h))<60?"second":a<3600?"minute":a<86400?"hour":a<604800?"day":a<2628e3?"week":a<31536e3?"month":"year"),l.numeric="second"===o?"auto":"always";let u=(i=o,Math.round(h/eA[i]));return r.getRelativeTimeFormat(n,l).format(u,o)}catch(t){return s(new ev(eb.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t,s){let o=[],a=new Map,h=0;for(let t of e){let e;"object"==typeof t?(e=String(h),a.set(e,t)):e=String(t),o.push(e),h++}return l(t,s,i?.list,e=>{let t=r.getListFormat(n,e).formatToParts(o).map(e=>"literal"===e.type?e.value:a.get(e.value)||e.value);return a.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,s,o){return l(s,o,i?.dateTime,i=>(i=a(i),r.getDateTimeFormat(n,i).formatRange(e,t)),()=>[h(e),h(t)].join(" – "))}}})({formats:e,locale:r,now:i,onError:n,timeZone:s,_formatters:t}),[e,t,i,r,n,s])}e.s(["IntlProvider",()=>eM,"useFormatter",()=>eD,"useLocale",()=>ex,"useTranslations",()=>eO],61745)},93963,e=>{"use strict";var t=e.i(43476),r=e.i(18566),i=e.i(71645),n=e.i(61745),s=i["use".trim()],o=e.i(47167);function a(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function l(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function h(e,t){return t===e||t.startsWith(`${e}/`)}function c(e,t,r){return"string"==typeof e?e:e[t]||r}function u(e){let t=function(){try{return"true"===o.default.env._next_intl_trailing_slash}catch{return!1}}(),[r,...i]=e.split("#"),n=i.join("#"),s=r;if("/"!==s){let e=s.endsWith("/");t&&!e?s+="/":!t&&e&&(s=s.slice(0,-1))}return n&&(s+="#"+n),s}function f(e,t){let r,i=u(e),n=u(t);return(r=i.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(n)}function p(e,t){return"never"!==t.mode&&t.prefixes?.[e]||"/"+e}function m(e){return e.includes("[[...")}function d(e){return e.includes("[...")}function g(e){return e.includes("[")}function E(e,t){let r=e.split("/"),i=t.split("/"),n=Math.max(r.length,i.length);for(let e=0;e<n;e++){let t=r[e],n=i[e];if(!t&&n)return -1;if(t&&!n)return 1;if(t||n){if(!g(t)&&g(n))return -1;if(g(t)&&!g(n))return 1;if(!d(t)&&d(n))return -1;if(d(t)&&!d(n))return 1;if(!m(t)&&m(n))return -1;if(m(t)&&!m(n))return 1}}return 0}var v=e.i(22016);function b(e){let t=new URLSearchParams;
1for(let[r,i]of Object.entries(e))Array.isArray(i)?i.forEach(e=>{t.append(r,String(e))}):t.set(r,String(i));return"?"+t.toString()}function y(e,t,r,i){if(!e||i===r||null==i||!t)return;let n=function(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}(t),{name:s,...o}=e;o.path||(o.path=""!==n?n:"/");let a=`${s}=${i};`;for(let[e,t]of Object.entries(o))a+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(a+="="+t),a+=";";document.cookie=a}var _=(0,i.forwardRef)(function({href:e,locale:i,localeCookie:s,onClick:o,prefetch:a,...l},h){let c=(0,n.useLocale)(),u=null!=i&&i!==c,f=(0,r.usePathname)();return u&&(a=!1),(0,t.jsx)(v.default,{ref:h,href:e,hrefLang:u?i:void 0,onClick:function(e){y(s,f,c,i),o&&o(e)},prefetch:a,...l})});let{Link:S,redirect:T,usePathname:H,useRouter:C,getPathname:w}=function(e){let{Link:o,config:m,getPathname:d,...g}=function(e,n){var o,l,h;let f={...o=n||{},localePrefix:"object"==typeof(h=o.localePrefix)?h:{mode:h||"always"},localeCookie:!!((l=o.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof l&&l},localeDetection:o.localeDetection??!0,alternateLinks:o.alternateLinks??!0},m=f.pathnames,d=(0,i.forwardRef)(function({href:r,locale:i,...n},o){let l,h;"object"==typeof r?(l=r.pathname,h=r.params):l=r;let c=a(r),u=e(),p="function"==typeof u.then?s(u):u,d=c?g({locale:i||p,href:null==m?l:{pathname:l,params:h},forcePrefix:null!=i||void 0}):l;return(0,t.jsx)(_,{ref:o,href:"object"==typeof r?{...r,pathname:d}:d,locale:i,localeCookie:f.localeCookie,...n})});function g(e){let t,{forcePrefix:r,href:i,locale:n}=e;return null==m?"object"==typeof i?(t=i.pathname,i.query&&(t+=b(i.query))):t=i:t=function({pathname:e,locale:t,params:r,pathnames:i,query:n}){function s(e){let s,o=i[e];return o?(s=c(o,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,i;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,i=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,i=String(t)),s=s.replace(RegExp(r,"g"),i)}),s=new URL(s=s.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):s=e,s=u(s),n&&(s+=b(n)),s}if("string"==typeof e)return s(e);{let{pathname:t,...r}=e;return{...r,pathname:s(t)}}}({locale:n,..."string"==typeof i?{pathname:i}:i,pathnames:f.pathnames}),function(e,t,r,i){var n,s;let o,l,{mode:h}=r.localePrefix;return void 0!==i?o=i:a(e)&&("always"===h?o=!0:"as-needed"===h&&(o=r.domains?!r.domains.some(e=>e.defaultLocale===t):t!==r.defaultLocale)),o?(n=p(t,r.localePrefix),s=e,l=n,/^\/(\?.*)?$/.test(s)&&(s=s.slice(1)),l+=s):e}(t,n,f,r)}function E(e){return function(t,...r){return e(g(t),...r)}}return{config:f,Link:d,redirect:E(r.redirect),permanentRedirect:E(r.permanentRedirect),getPathname:g}}(n.useLocale,e);return{...g,Link:o,usePathname:function(){let e,t,s=(e=(0,r.usePathname)(),t=(0,n.useLocale)(),(0,i.useMemo)(()=>{if(!e)return e;let r=e,i=p(t,m.localePrefix);if(h(i,e))r=l(e,i);else if("never"!==m.localePrefix.mode&&m.localePrefix.prefixes){let i="/"+t;h(i,e)&&(r=l(e,i))}return r},[m.localePrefix,t,e])),o=(0,n.useLocale)();return(0,i.useMemo)(()=>s&&m.pathnames?function(e,t,r){let i=Object.keys(r).sort(E),n=decodeURI(t);for(let t of i){let i=r[t];if("string"==typeof i){if(f(i,n))return t}else if(f(c(i,e,t),n))return t}return t}(o,s,m.pathnames):s,[o,s])},useRouter:function(){let e=(0,r.useRouter)(),t=(0,n.useLocale)(),s=(0,r.usePathname)();return(0,i.useMemo)(()=>{function r(e){return function(r,i){let{locale:n,...o}=i||{},a=[d({href:r,locale:n||t,forcePrefix:null!=n||void 0})];Object.keys(o).length>0&&a.push(o),y(m.localeCookie,s,t,n),e(...a)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[t,s,e])},getPathname:d}}({locales:["en","ja","vi","zh","ko"],defaultLocale:"en",localePrefix:"as-needed"});function L({...e}){return(0,t.jsxs)("svg",{viewBox:"0 0 461 180",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("title",{children:"Moichi Wordmark"}),(0,t.jsx)("path",{d:"M294.468 178.937V153.937H297.635V178.937H294.468Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M267.904 179.437C266.108 179.437 264.413 179.103 262.821 178.437C261.247 177.751 259.858 176.816 258.654 175.631C257.469 174.446 256.534 173.066 255.849 171.492C255.182 169.918 254.849 168.233 254.849 166.437C254.849 164.64 255.182 162.955 255.849 161.381C256.534 159.807 257.469 158.427 258.654 157.242C259.858 156.057 261.247 155.131 262.821 154.464C264.413 153.779 266.108 153.437 267.904 153.437C269.719 153.437 271.413 153.779 272.988 154.464C274.562 155.131 275.941 156.057 277.126 157.242C278.33 158.427 279.265 159.807 279.932 161.381C280.617 162.955 280.96 164.64 280.96 166.437C280.96 168.233 280.617 169.918 279.932 171.492C279.265 173.066 278.33 174.446 277.126 175.631C275.941 176.816 274.562 177.751 272.988 178.437C271.413 179.103 269.719 179.437 267.904 179.437ZM267.904 176.437C269.738 176.437 271.395 175.992 272.876 175.103C274.358 174.196 275.525 172.983 276.376 171.464C277.247 169.946 277.682 168.27 277.682 166.437C27
17.682 164.585 277.247 162.909 276.376 161.409C275.525 159.89 274.358 158.687 272.876 157.798C271.395 156.89 269.738 156.437 267.904 156.437C266.071 156.437 264.413 156.89 262.932 157.798C261.469 158.687 260.302 159.89 259.432 161.409C258.562 162.909 258.126 164.585 258.126 166.437C258.126 168.27 258.562 169.946 259.432 171.464C260.302 172.983 261.469 174.196 262.932 175.103C264.413 175.992 266.071 176.437 267.904 176.437Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M241.682 179.77L224.182 161.02V178.936H221.182V153.103L238.682 171.853V153.936H241.682V179.77Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M187.955 178.936L198.539 153.103H198.594L209.178 178.936H205.816L202.872 171.52H194.122L191.15 178.936H187.955ZM195.178 168.881H201.816L199.844 163.936C199.603 163.307 199.372 162.686 199.15 162.075C198.928 161.464 198.705 160.733 198.483 159.881C198.261 160.733 198.048 161.464 197.844 162.075C197.641 162.668 197.409 163.288 197.15 163.936L195.178 168.881Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M160.729 178.937V153.937H163.895V162.103H172.784V153.937H175.951V178.937H172.784V164.937H163.895V178.937H160.729Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M422.318 105.936V102.032L432.814 99.6641V49.6801L422.382 46.2881V43.6001L447.982 37.5201H450.286V99.6641L460.206 102.032V105.936H422.318ZM441.326 26.7041C438.126 26.7041 435.651 25.7014 433.902 23.6961C432.153 21.6908 431.278 19.4721 431.278 17.0401C431.278 14.3948 432.174 12.0908 433.966 10.1281C435.758 8.12278 438.211 7.12012 441.326 7.12012C444.526 7.12012 447.065 8.12278 448.942 10.1281C450.819 12.0908 451.758 14.3948 451.758 17.0401C451.758 19.4721 450.862 21.6908 449.07 23.6961C447.278 25.7014 444.697 26.7041 441.326 26.7041Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M332.585 105.936V102.032L342.121 99.6642V13.0722L332.649 9.55219V6.92818L357.289 0.78418H359.593V99.6642L368.617 102.032V105.936H332.585ZM376.873 105.936V102.032L385.897 99.7282V62.9282C385.897 57.7655 384.851 53.9468 382.761 51.4722C380.713 48.9548 377.534 47.6962 373.225 47.6962C370.409 47.6962 367.742 48.2935 365.225 49.4882C362.75 50.6829 360.403 52.3255 358.185 54.4162V47.3762C361.683 44.4322 365.673 42.0642 370.153 40.2722C374.633 38.4375 379.155 37.5202 383.721 37.5202C396.819 37.5202 403.369 44.3895 403.369 58.1282V99.7282L412.841 102.032V105.936H376.873Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M293.869 107.281C287.597 107.281 282.029 105.83 277.165 102.929C272.343 100.027 268.546 96.0378 265.773 90.9605C263.042 85.8405 261.677 79.9952 261.677 73.4245C261.677 66.4698 263.191 60.3045 266.221 54.9285C269.25 49.5098 273.431 45.2645 278.765 42.1925C284.098 39.0778 290.199 37.5205 297.069 37.5205C301.847 37.5205 306.135 38.2885 309.933 39.8245C313.73 41.3605 316.738 43.4298 318.957 46.0325C321.175 48.5925 322.285 51.4725 322.285 54.6725C322.285 57.1898 321.581 59.1738 320.173 60.6245C318.765 62.0752 316.845 62.8005 314.413 62.8005C311.554 62.8005 309.57 61.9685 308.461 60.3045C307.394 58.6405 306.733 56.7205 306.477 54.5445C306.007 50.9605 305.197 48.2085 304.045 46.2885C302.893 44.3685 300.759 43.4085 297.645 43.4085C292.226 43.4085 288.023 45.7338 285.037 50.3845C282.05 55.0352 280.557 61.4565 280.557 69.6485C280.557 77.9258 282.157 84.2405 285.357 88.5925C288.557 92.9445 293.207 95.1205 299.309 95.1205C303.405 95.1205 307.053 94.3525 310.253 92.8165C313.495 91.2805 316.461 88.8485 319.149 85.5205L322.349 87.8885C319.831 94.3312 316.205 99.1738 311.469 102.417C306.733 105.659 300.866 107.281 293.869 107.281Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M212.798 105.936V102.032L223.294 99.6641V49.6801L212.862 46.2881V43.6001L238.462 37.5201H240.766V99.6641L250.686 102.032V105.936H212.798ZM231.806 26.7041C228.606 26.7041 226.131 25.7014 224.382 23.6961C222.633 21.6908 221.758 19.4721 221.758 17.0401C221.758 14.3948 222.654 12.0908 224.446 10.1281C226.238 8.12278 228.691 7.12012 231.806 7.12012C235.006 7.12012 237.545 8.12278 239.422 10.1281C241.299 12.0908 242.238 14.3948 242.238 17.0401C242.238 19.4721 241.342 21.6908 239.55 23.6961C237.758 25.7014 235.177 26.7041 231.806 26.7041Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M165.511 107.281C158.172 107.281 151.858 105.723 146.567 102.609C141.276 99.4938 137.223 95.2912 134.407 90.0005C131.591 84.7098 130.183 78.8432 130.183 72.4005C130.183 65.9152 131.591 60.0485 134.407 54.8005C137.223 49.5098 141.276 45.3072 146.567 42.1925C151.858 39.0778 
1158.172 37.5205 165.511 37.5205C172.85 37.5205 179.143 39.0778 184.391 42.1925C189.682 45.3072 193.735 49.5098 196.551 54.8005C199.41 60.0485 200.839 65.9152 200.839 72.4005C200.839 78.8432 199.41 84.7098 196.551 90.0005C193.735 95.2912 189.682 99.4938 184.391 102.609C179.143 105.723 172.85 107.281 165.511 107.281ZM165.511 100.945C168.583 100.945 171.164 100.113 173.255 98.4485C175.346 96.7845 177.01 94.5658 178.247 91.7925C179.484 88.9765 180.38 85.8832 180.935 82.5125C181.49 79.1418 181.767 75.7498 181.767 72.3365C181.767 68.9658 181.49 65.5952 180.935 62.2245C180.423 58.8538 179.548 55.7818 178.311 53.0085C177.074 50.2352 175.41 48.0165 173.319 46.3525C171.228 44.6885 168.626 43.8565 165.511 43.8565C162.396 43.8565 159.794 44.6885 157.703 46.3525C155.612 48.0165 153.948 50.2352 152.711 53.0085C151.474 55.7818 150.578 58.8752 150.023 62.2885C149.511 65.6592 149.255 69.0298 149.255 72.4005C149.255 75.8138 149.511 79.2058 150.023 82.5765C150.578 85.9045 151.474 88.9765 152.711 91.7925C153.948 94.5658 155.612 96.7845 157.703 98.4485C159.794 100.113 162.396 100.945 165.511 100.945Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M0.248779 105.937V102.033L9.72078 99.6645V49.8085L0.440779 46.2885V43.7285L22.7128 37.5205H26.6808V47.1205L27.1928 47.7605V99.6645L36.2808 102.033V105.937H0.248779ZM41.9768 105.937V102.033L51.0648 99.7285V64.5285C51.0648 58.4272 50.1474 54.0538 48.3128 51.4085C46.4781 48.7632 43.4701 47.4405 39.2888 47.4405C36.1314 47.4405 33.3368 48.1658 30.9048 49.6165C28.5154 51.0245 26.3821 53.1152 24.5048 55.8885V48.6565C27.7048 45.2432 31.5874 42.5338 36.1528 40.5285C40.7181 38.5232 45.2834 37.5205 49.8488 37.5205C56.2061 37.5205 60.8994 39.3125 63.9288 42.8965C66.9581 46.4805 68.4728 52.0912 68.4728 59.7285V99.7285L77.5608 102.033V105.937H41.9768ZM83.3208 105.937V102.033L92.3448 99.7285V64.4005C92.3448 58.2565 91.4915 53.9258 89.7848 51.4085C88.0781 48.8485 85.1341 47.5685 80.9528 47.5685C77.7955 47.5685 74.9581 48.2725 72.4408 49.6805C69.9661 51.0458 67.7474 53.1365 65.7848 55.9525V48.6565C68.8568 45.2005 72.6968 42.4912 77.3048 40.5285C81.9555 38.5232 86.6488 37.5205 91.3848 37.5205C97.6568 37.5205 102.265 39.3338 105.209 42.9605C108.153 46.5445 109.667 52.1978 109.753 59.9205V99.7285L118.841 102.033V105.937H83.3208Z",fill:"currentColor"})]})}function A({...e}){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...e,children:[(0,t.jsx)("title",{children:"Instagram Logo"}),(0,t.jsx)("path",{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"})]})}function N(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let B=N(0,n.useTranslations);N(0,n.useFormatter);var M=e.i(76639),R=e.i(19455);let P=(0,e.i(75254).default)("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);var I=e.i(75157);function O(){let e=B("ui");return(0,t.jsxs)("header",{className:"",children:[(0,t.jsx)("div",{className:"py-2 bg-stone-900 text-white",children:(0,t.jsx)("div",{className:"flex items-center justify-center text-[11px] uppercase",children:(0,t.jsxs)("a",{href:"https://instagram.com/moichibrand",className:"flex items-center",target:"_blank",rel:"noopener noreferrer",children:[e("header.follow_us_on_instagram")," ",(0,t.jsx)(A,{className:"size-4 fill-white ml-2"})]})})}),(0,t.jsxs)("div",{className:"flex items-center justify-between py-4 max-w-screen-xl mx-auto",children:[(0,t.jsx)("div",{className:"flex-1"}),(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,t.jsx)(S,{href:"/",className:"flex flex-col items-center justify-center gap-4 text-stone-700",children:(0,t.jsx)(L,{className:"h-12 "})})}),(0,t.jsx)("div",{className:"flex-1 flex items-center justify-end",children:(0,t.jsx)("div",{className:"px-2 lg:px-0",children:(0,t.jsx)(x,{})})})]}),(0,t.jsx)("div",{className:"flex items-center justify-center font-afacad gap-6 font-light py-3 uppercase text-sm border-t border-stone-200",children:[{label:e("header.pancakes"),href:"/"},{label:e("header.drinks"),href:"/drinks"},{label:e("header.stories"),href:"/stories"},{label:e("header.locations"),href:"/locations"}].map(e=>(0,t.jsx)(S,{href:e.href,className:"text-stone-700",children:e.label},e.label))})]})}function x(){let e=B("ui"),r=H();return(0,t.jsxs)(M.Dialog,{children:[(0,t.jsx)(M.DialogTrigger,{asChild:!0,children:(0,t.jsx)(R.Button,{variant:"ghost",size:"icon",className:"rounded-full h-8 w-8 border","aria-label":"Language selection",children:(0,t.jsx)(P,{className:"h-3 w-3"})})}),(0,t.jsxs)(M.DialogContent,{className:"sm:max-w-[425px]",children:[(0,t.jsxs)(M.DialogHeader,{className:" flex items-center justify-center flex-col",children:[(0,t.jsxs)(M.DialogTitle,{className:"font-afacad flex items-center justify-center gap-2",children:[(0,t.jsx)(P,{className:"h-4 w-4"})," ",e("language_selector.language")]}),(0,t.jsx)(M.DialogDescription,{className:" font-afacad",children:e("language_selector.you_are_browsing_this_site_in")})]}),(0,t.jsx)("div",{className:"grid grid-cols-3 gap-4 py-4 font-afacad",children:[{code:"en",name:"English"},{code:"vi",name:"Tiếng Việt"},{code:"ja",name:"日本語"},{code:"ko",name:"한국어"},{code:"zh",name:"中文"}].map(e=>(0,t.jsx)(S,{href:r,locale:e.code,className:(0,I.cn)("flex items-center p-3 rounded-2xl hover:bg-stone-100 transition-colors border text-sm"),children:e.name},e.code))})]})]})}e.s(["default",()=>O],93963)},75696,e=>{"use strict";var t=e.i(61745),r=e.i(43476);function i({locale:e,...i}){if(!e)throw Error(void 0);return(0,r.jsx)(t.IntlProvider,{locale:e,...i})}e.s(["default",()=>i])},2355,e=>{"use strict";var t=e.i(47167),r=e.i(71645),i=e.i(18566);function n(){return"undefined"!=typeof window}function s(){return"production"}function o(){return"development"===((n()?window.vam:s())||"production")}function a(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function l(e){return(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,r.useEffect)(()=>{!function(e={debug:!0}){var t;if(!n())return;!function(e="auto"){if("auto"===e){window.vam=s();return}window.vam=e}(e.mode),window.va||(window.va=function(...e){(window.vaq=window.vaq||[]).push(e)}),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));let r=e.scriptSrc?e.scriptSrc:o()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?`${e.basePath}
1/insights/script.js`:"/_vercel/insights/script.js";if(document.head.querySelector(`script[src*="${r}"]`))return;let i=document.createElement("script");i.src=r,i.defer=!0,i.dataset.sdkn="@vercel/analytics"+(e.framework?`/${e.framework}`:""),i.dataset.sdkv="1.6.1",e.disableAutoTrack&&(i.dataset.disableAutoTrack="1"),e.endpoint?i.dataset.endpoint=e.endpoint:e.basePath&&(i.dataset.endpoint=`${e.basePath}/insights`),e.dsn&&(i.dataset.dsn=e.dsn),i.onerror=()=>{let e=o()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${r}. ${e}`)},o()&&!1===e.debug&&(i.dataset.debug="false"),document.head.appendChild(i)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var r;null==(r=window.va)||r.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}function h(e){let n,s,o,{route:h,path:c}=(n=(0,i.useParams)(),s=(0,i.useSearchParams)(),o=(0,i.usePathname)(),n?{route:function(e,t){if(!e||!t)return e;let r=e;try{let e=Object.entries(t);for(let[t,i]of e)if(!Array.isArray(i)){let e=a(i);e.test(r)&&(r=r.replace(e,`/[${t}]`))}for(let[t,i]of e)if(Array.isArray(i)){let e=a(i.join("/"));e.test(r)&&(r=r.replace(e,`/[...${t}]`))}return r}catch(t){return e}}(o,Object.keys(n).length?n:Object.fromEntries(s.entries())),path:o}:{route:null,path:o});return r.default.createElement(l,{path:c,route:h,...e,basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}(),framework:"next"})}function c(e){return r.default.createElement(r.Suspense,{fallback:null},r.default.createElement(h,{...e}))}e.s(["Analytics",()=>c])}]);

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.