PageSourceSearch

https://shop.wordup.com.tw/_next/static/chunks/1173.7c11c38999857951.js

js wordup.com.tw collected 2026-09-24 09:46:04 UTC 8,173 bytes, 1 lines download raw bytes

1!function(){try{var 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]="9d76f971-2b06-415f-aa2e-6101a5e60c3f",e._sentryDebugIdIdentifier="sentry-dbid-9d76f971-2b06-415f-aa2e-6101a5e60c3f")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1173,8749],{2185:(e,t,r)=>{r.d(t,{H:()=>i});var n=r(70238),l=r(88846),a=r(65436);function i(e,t){var r;let i,p,m=()=>(0,l.w)(null==t?void 0:t.in,NaN),b=null!=(r=null==t?void 0:t.additionalDigits)?r:2,v=function(e){let t,r={},n=e.split(o.dateTimeDelimiter);if(n.length>2)return r;if(/:/.test(n[0])?t=n[0]:(r.date=n[0],t=n[1],o.timeZoneDelimiter.test(r.date)&&(r.date=e.split(o.timeZoneDelimiter)[0],t=e.substr(r.date.length,e.length))),t){let e=o.timezone.exec(t);e?(r.time=t.replace(e[1],""),r.timezone=e[1]):r.time=t}return r}(e);if(v.date){let e=function(e,t){let r=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};let l=n[1]?parseInt(n[1]):null,a=n[2]?parseInt(n[2]):null;return{year:null===a?l:100*a,restDateString:e.slice((n[1]||n[2]).length)}}(v.date,b);i=function(e,t){var r,n,l,a,i,o,d;if(null===t)return new Date(NaN);let u=e.match(s);if(!u)return new Date(NaN);let f=!!u[4],p=c(u[1]),m=c(u[2])-1,b=c(u[3]),v=c(u[4]),y=c(u[5])-1;if(f){return(r=v,n=y,r>=1&&r<=53&&n>=0&&n<=6)?function(e,t,r){let n=new Date(0);n.setUTCFullYear(e,0,4);let l=n.getUTCDay()||7;return n.setUTCDate(n.getUTCDate()+((t-1)*7+r+1-l)),n}(t,v,y):new Date(NaN)}{let e=new Date(0);return(l=t,a=m,i=b,a>=0&&a<=11&&i>=1&&i<=(g[a]||(h(l)?29:28))&&(o=t,(d=p)>=1&&d<=(h(o)?366:365)))?(e.setUTCFullYear(t,m,Math.max(p,b)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!i||isNaN(+i))return m();let y=+i,N=0;if(v.time&&isNaN(N=function(e){var t,r,l;let a=e.match(d);if(!a)return NaN;let i=f(a[1]),o=f(a[2]),s=f(a[3]);return(t=i,r=o,l=s,24===t?0===r&&0===l:l>=0&&l<60&&r>=0&&r<60&&t>=0&&t<25)?i*n.s0+o*n.Cg+1e3*s:NaN}(v.time)))return m();if(v.timezone){if(isNaN(p=function(e){var t;if("Z"===e)return 0;let r=e.match(u);if(!r)return 0;let l="+"===r[1]?-1:1,a=parseInt(r[2]),i=r[3]&&parseInt(r[3])||0;return(t=i)>=0&&t<=59?l*(a*n.s0+i*n.Cg):NaN}(v.timezone)))return m()}else{let e=new Date(y+N),r=(0,a.a)(0,null==t?void 0:t.in);return r.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),r.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),r}return(0,a.a)(y+N+p,null==t?void 0:t.in)}let o={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},s=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,d=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function c(e){return e?parseInt(e):1}function f(e){return e&&parseFloat(e.replace(",","."))||0}let g=[31,null,31,30,31,30,31,31,30,31,30,31];function h(e){return e%400==0||e%4==0&&e%100!=0}},3572:(e,t,r)=>{r.d(t,{LnP:()=>s,Whf:()=>d,Y8r:()=>o.Y8r,dSP:()=>o.dSP,e8Q:()=>u});var n=r(62719),l=r(93129),a=r(2185),i=r(6329),o=r(15923);let s=()=>Date.now();function d(e,t){let{start:r,end:l,stagingStart:a,stagingEnd:o}=t;return(0,n.v)(e,{start:new Date(!i.O_&&a?a:r),end:new Date(!i.O_&&o?o:l)})}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd";return(0,l.GP)((0,a.H)(e),t)}},15923:(e,t,r)=>{r.d(t,{Y8r:()=>l.Y,dSP:()=>n.d});var n=r(33481),l=r(92434)},19228:(e,t,r)=>{r.d(t,{C:()=>n,K:()=>l});let n="https://public.wordup.com.tw/shop/assets/referral_character_badge.png",l="https://public.wordup.com.tw/shop/assets/referral_character_badge_grayscale.png"},23539:(e,t,r)=>{r.d(t,{d:()=>u});var n=r(2860),l=r(75203),a=r(13623),i=r(13969),o=r(39162),s=r(84660);let d=e=>{let{percentage:t,height:r=8,color:l="peach-500",backgroundColor:a="grayscale-100"}=e;return(0,n.Y)("div",{"aria-label":"progress-bar",className:(0,s.Q)("relative w-full overflow-hidden rounded-lg",'before:absolute before:left-0 before:top-0 before:block before:h-full   before:transition-all before:duration-300 before:ease-in-out before:content-[""]',"h-[var(--wu-progress-height)] bg-[var(--wu-progress-bg-color)]","before:w-[var(--wu-progress-width)] before:bg-[var(--wu-progress-color)]"),style:{"--wu-progress-width":"string"==typeof t?t:"".concat(Number.isFinite(t)?t:0,"%"),"--wu-progress-height":"string"==typeof r?r:"".concat(r,"px"),"--wu-progress-color":o.GU[l],"--wu-progress-bg-color":o.GU[a]}})},u=e=>{if("noMui"in e&&e.noMui)return(0,n.Y)(d,{percentage:e.percentage,height:e.height,color:e.color,backgroundColor:e.backgroundColor});let{percentage:t,bgColor:r,...s}=e;return(0,n.Y)(l.A,{sx:{display:"flex",fontSize:"0.875rem",fontWeight:"bold",justifyContent:"space-between"},children:(0,n.Y)(a.A,{value:t>100?100:t,variant:"determinate",sx:{width:"100%",borderRadius:"0.5rem",height:"10px;",["&.".concat(i.A.colorPrimary)]:{backgroundColor:o.GU["grayscale-200"]},["& .".concat(i.A.bar)]:{backgroundColor:o.GU[r||"peach-500"]}},...s})})}},33481:(e,t,r)=>{r.d(t,{d:()=>l});var n=r(65436);function l(e,t){return+(0,n.a)(e)>+(0,n.a)(t)}},62719:(e,t,r)=>{r.d(t,{v:()=>l});var n=r(65436);function l(e,t,r){let l=+(0,n.a)(e,null==r?void 0:r.in),[a,i]=[+(0,n.a)(t.start,null==r?void 0:r.in),+(0,n.a)(t.end,null==r?void 0:r.in)].sort((e,t)=>
1e-t);return l>=a&&l<=i}},65970:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(2860),l=r(55729),a=r(47126);let i=e=>{let{children:t,maxNumber:r}=e,i="number"==typeof r?r+1:l.Children.count(t);return(0,n.FD)("ul",{className:"relative m-0 flex list-none flex-col gap-y-300 p-0",children:[(0,n.Y)("div",{className:"border-grayscale-100 absolute bottom-[18px] left-[11px] top-[11px] z-[1] border-l-[1px] border-r-0 border-dashed"}),l.Children.map(t,(e,t)=>(0,n.Y)("li",{children:(0,n.FD)("div",{className:"flex gap-x-200",children:[(0,n.Y)("div",{className:"bg-grayscale-100 z-[2] flex size-[22px] flex-shrink-0 items-center justify-center rounded-300 text-label-s font-medium",children:i<=t+1?(0,n.Y)(a.I,{type:"star_filled",size:14}):t+1}),e]})}))]})}},91173:(e,t,r)=>{r.r(t),r.d(t,{default:()=>f});var n=r(2860),l=r(98986),a=r(47126),i=r(15553),o=r(3572),s=r(23539),d=r(53031),u=r(19228),c=r(65970);let f=e=>{let{title:t,description:r,maxQty:f,availableQty:g,availableArea:h,isQuantityAvailable:p,endsAt:m,claimProcess:b}=e,{t:v}=(0,l.Bd)(),y=g/f*100;return(0,n.FD)(n.FK,{children:[(0,n.FD)("div",{className:"relative rounded-lg bg-white p-4 pt-[46px] text-center",children:[(0,n.Y)(d._,{src:u.C,width:76,height:76,alt:"valid referral code",className:"absolute left-1/2 top-[-38px] -translate-x-1/2"}),t?(0,n.Y)(i.E,{component:"h3",variant:"body_l_500",className:"mb-2",children:t}):null,r?(0,n.Y)(i.E,{component:"p",variant:"body_m_500",className:"mb-4",dangerouslySetInnerHTML:{__html:r||""}}):null,t||r?(0,n.Y)("div",{className:"bg-grayscale-100 my-4 h-px"}):null,b.title&&b.steps.length?(0,n.FD)("div",{className:"text-left",children:[(0,n.Y)(i.E,{component:"h5",variant:"body_l_500",className:"mb-4",children:b.title}),(0,n.Y)(c.A,{children:b.steps.map(e=>{let{text:t}=e;return(0,n.Y)(i.E,{variant:"body_s_400",children:t},t)})})]}):null]}
1),(0,n.FD)("div",{className:"flex flex-col gap-4 rounded-lg bg-white p-3 text-center",children:[(0,n.Y)(i.E,{variant:"heading_l_500",children:null==h?void 0:h.title}),(0,n.FD)(i.E,{variant:"heading_m_500",className:"flex items-end justify-center gap-x-2",children:[(0,n.FD)("span",{className:"text-4xl",children:[g,"/",f]}),v("crowdin:common.unit--quotas")]}),Number.isFinite(y)?(0,n.Y)(s.d,{noMui:!0,percentage:y}):null,!p&&(null==h?void 0:h.hint)?(0,n.FD)("div",{className:"text-peach-500 flex items-center justify-center gap-1",children:[(0,n.Y)(a.I,{type:"sentiment_sad"}),(0,n.Y)(i.E,{variant:"label_s_400",color:"peach-500",children:h.hint})]}):null,m?(0,n.FD)(i.E,{variant:"label_s_500",color:"peach-500",children:[v("crowdin:common.activity-finish"),":",(0,o.e8Q)(m,"yyyy/MM/dd")]}):null]})]})}},92434:(e,t,r)=>{r.d(t,{Y:()=>l});var n=r(65436);function l(e,t){return+(0,n.a)(e)<+(0,n.a)(t)}}}]);

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.