1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1085],{27484:function(e){var n,r,s,a,o,c,u,p,m,f,_,b,g,x,j,v,O,w,Y,S,L,P;e.exports=(n="millisecond",r="second",s="minute",a="hour",o="week",c="month",u="quarter",p="year",m="date",f="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g=function(e,n,r){var s=String(e);return!s||s.length>=n?e:""+Array(n+1-s.length).join(r)+e},(j={})[x="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var n=["th","st","nd","rd"],r=e%100;return"["+e+(n[(r-20)%10]||n[r]||"th")+"]"}},v="$isDayjsObject",O=function(e){return e instanceof L||!(!e||!e[v])},w=function t(e,n,r){var s;if(!e)return x;if("string"==typeof e){var a=e.toLowerCase();j[a]&&(s=a),n&&(j[a]=n,s=a);var o=e.split("-");if(!s&&o.length>1)return t(o[0])}else{var c=e.name;j[c]=e,s=c}
1return!r&&s&&(x=s),s||!r&&x},Y=function(e,n){if(O(e))return e.clone();var r="object"==typeof n?n:{};return r.date=e,r.args=arguments,new L(r)},(S={s:g,z:function(e){var n=-e.utcOffset(),r=Math.abs(n);return(n<=0?"+":"-")+g(Math.floor(r/60),2,"0")+":"+g(r%60,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),s=e.clone().add(r,c),a=n-s<0,o=e.clone().add(r+(a?-1:1),c);return+(-(r+(n-s)/(a?s-o:o-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return({M:c,y:p,w:o,d:"day",D:m,h:a,m:s,s:r,ms:n,Q:u})[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}}).l=w,S.i=O,S.w=function(e,n){return Y(e,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})},P=(L=function(){function M(e){this.$L=w(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[v]=!0}var e=M.prototype;return e.parse=function(e){this.$d=function(e){var n=e.date,r=e.utc;if(null===n)return new Date(NaN);if(S.u(n))return new Date;if(n instanceof Date)return new Date(n);if("string"==typeof n&&!/Z$/i.test(n)){var s=n.match(_);if(s){var a=s[2]-1||0,o=(s[7]||"0").substring(0,3);return r?new Date(Date.UTC(s[1],a,s[3]||1,s[4]||0,s[5]||0,s[6]||0,o)):new Date(s[1],a,s[3]||1,s[4]||0,s[5]||0,s[6]||0,o)}}return new Date(n)}(e),this.init()},e.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},e.$utils=function(){return S},e.isValid=function(){return this.$d.toString()!==f},e.isSame=function(e,n){var r=Y(e);return this.startOf(n)<=r&&r<=this.endOf(n)},e.isAfter=function(e,n){return Y(e)<this.startOf(n)},e.isBefore=function(e,n){return this.endOf(n)<Y(e)},e.$g=function(e,n,r){return S.u(e)?this[n]:this.set(r,e)},e.unix=function(){return Math.floor(this.valueOf()/1e3)},e.valueOf=function(){return this.$d.getTime()},e.startOf=function(e,n){var u=this,f=!!S.u(n)||n,_=S.p(e),l=function(e,n){var r=S.w(u.$u?Date.UTC(u.$y,n,e):new Date(u.$y,n,e),u);return f?r:r.endOf("day")},$=function(e,n){return S.w(u.toDate()[e].apply(u.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(n)),u)},b=this.$W,g=this.$M,x=this.$D,j="set"+(this.$u?"UTC":"");switch(_){case p:return f?l(1,0):l(31,11);case c:return f?l(1,g):l(0,g+1);case o:var v=this.$locale().weekStart||0,O=(b<v?b+7:b)-v;return l(f?x-O:x+(6-O),g);case"day":case m:return $(j+"Hours",0);case a:return $(j+"Minutes",1);case s:return $(j+"Seconds",2);case r:return $(j+"Milliseconds",3);default:return this.clone()}},e.endOf=function(e){return this.startOf(e,!1)},e.$set=function(e,o){var u,f=S.p(e),_="set"+(this.$u?"UTC":""),b=((u={}).day=_+"Date",u[m]=_+"Date",u[c]=_+"Month",u[p]=_+"FullYear",u[a]=_+"Hours",u[s]=_+"Minutes",u[r]=_+"Seconds",u[n]=_+"Milliseconds",u)[f],g="day"===f?this.$D+(o-this.$W):o;if(f===c||f===p){var x=this.clone().set(m,1);x.$d[b](g),x.init(),this.$d=x.set(m,Math.min(this.$D,x.daysInMonth())).$d}else b&&this.$d[b](g);return this.init(),this},e.set=function(e,n){return this.clone().$set(e,n)},e.get=function(e){return this[S.p(e)]()},e.add=function(e,n){var u,m=this;e=Number(e);var f=S.p(n),y=function(n){var r=Y(m);return S.w(r.date(r.date()+Math.round(n*e)),m)};if(f===c)return this.set(c,this.$M+e);if(f===p)return this.set(p,this.$y+e);if("day"===f)return y(1);if(f===o)return y(7);var _=((u={})[s]=6e4,u[a]=36e5,u[r]=1e3,u)[f]||1,b=this.$d.getTime()+e*_;return S.w(b,this)},e.subtract=function(e,n){return this.add(-1*e,n)},e.format=function(e){var n=this,r=this.$locale();if(!this.isValid())return r.invalidDate||f;var s=e||"YYYY-MM-DDTHH:mm:ssZ",a=S.z(this),o=this.$H,c=this.$m,u=this.$M,p=r.weekdays,m=r.months,_=r.meridiem,h=function(e,r,a,o){return e&&(e[r]||e(n,s))||a[r].slice(0,o)},d=function(e){return S.s(o%12||12,e,"0")},g=_||function(e,n,r){var s=e<12?"AM":"PM";return r?s.toLowerCase():s};return s.replace(b,function(e,s){return s||function(e){switch(e){case"YY":return String(n.$y).slice(-2);case"YYYY":return S.s(n.$y,4,"0");case"M":return u+1;case"MM":return S.s(u+1,2,"0");case"MMM":return h(r.monthsShort,u,m,3);case"MMMM":return h(m,u);case"D":return n.$D;case"DD":return S.s(n.$D,2,"0");case"d":return String(n.$W);case"dd":return h(r.weekdaysMin,n.$W,p,2);case"ddd":return h(r.weekdaysShort,n.$W,p,3);case"dddd":return p[n.$W];case"H":return String(o);case"HH":return S.s(o,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return g(o,c,!0);case"A":return g(o,c,!1);case"m":return String(c);case"mm":return S.s(c,2,"0");case"s":return String(n.$s);case"ss":return S.s(n.$s,2,"0");case"SSS":return S.s(n.$ms,3,"0");case"Z":return a}return null}(e)||a.replace(":","")})},e.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},e.diff=function(e,n,m){var f,_=this,b=S.p(n),g=Y(e),x=(g.utcOffset()-this.utcOffset())*6e4,j=this-g,D=function(){return S.m(_,g)};switch(b){case p:f=D()/12;break;case c:f=D();break;case u:f=D()/3;break;case o:f=(j-x)/6048e5;break;case"day":f=(j-x)/864e5;break;case a:f=j/36e5;break;case s:f=j/6e4;break;case r:f=j/1e3;break;default:f=j}return m?f:S.a(f)},e.daysInMonth=function(){return this.endOf(c).$D},e.$locale=function(){return j[this.$L]},e.locale=function(e,n){if(!e)return this.$L;var r=this.clone(),s=w(e,n,!0);return s&&(r.$L=s),r},e.clone=function(){return S.w(this.$d,this)},e.toDate=function(){return new Date(this.valueOf())},e.toJSON=function(){return this.isValid()?this.toISOString():null},e.toISOString=function(){return this.$d.toISOString()},e.toString=function(){return this.$d.toUTCString()},M}()).prototype,Y.prototype=P,[["$ms",n],["$s",r],["$m",s],["$H",a],["$W","day"],["$M",c],["$y",p],["$D",m]].forEac
1h(function(e){P[e[1]]=function(n){return this.$g(n,e[0],e[1])}}),Y.extend=function(e,n){return e.$i||(e(n,L,Y),e.$i=!0),Y},Y.locale=w,Y.isDayjs=O,Y.unix=function(e){return Y(1e3*e)},Y.en=j[x],Y.Ls=j,Y.p={},Y)},43901:function(e,n,r){var s,a;e.exports=(s=r(27484),a={name:"zh-tw",weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),ordinal:function(e,n){return"W"===n?e+"é±":e+"æ¥"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},relativeTime:{future:"%så
§",past:"%så",s:"å¹¾ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"},meridiem:function(e,n){var r=100*e+n;return r<600?"忍":r<900?"æ©ä¸":r<1100?"ä¸å":r<1300?"ä¸å":r<1800?"ä¸å":"æä¸"}},(s&&"object"==typeof s&&"default"in s?s:{default:s}).default.locale(a,null,!0),a)},84110:function(e){e.exports=function(e,n,r){e=e||{};var s=n.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(e,n,r,a){return s.fromToBase(e,n,r,a)}r.en.relativeTime=a,s.fromToBase=function(n,s,o,c,u){for(var p,m,f,_=o.$locale().relativeTime||a,b=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],g=b.length,x=0;x<g;x+=1){var j=b[x];j.d&&(p=c?r(n).diff(o,j.d,!0):o.diff(n,j.d,!0));var v=(e.rounding||Math.round)(Math.abs(p));if(f=p>0,v<=j.r||!j.r){v<=1&&x>0&&(j=b[x-1]);var O=_[j.l];u&&(v=u(""+v)),m="string"==typeof O?O.replace("%d",v):O(v,s,j.l,f);break}}if(s)return m;var w=f?_.future:_.past;return"function"==typeof w?w(m):w.replace("%s",m)},s.to=function(e,n){return i(e,n,this,!0)},s.from=function(e,n){return i(e,n,this)};var d=function(e){return e.$u?r.utc():r()};s.toNow=function(e){return this.to(d(this),e)},s.fromNow=function(e){return this.from(d(this),e)}}},91085:function(e,n,r){"use strict";r.r(n),r.d(n,{ExportPrintProductContentsView:function(){return ExportPrintProductContentsView},default:function(){return product_PrintProductContentsView}});var s=r(82729),a=r(85893),o=r(67294),c=r(68458),u=r(8772),p=r(24920),m=r(76556),f=r(42929),_=r(26471),b=r(25675),g=r.n(b),x=r(62202),j=r(51597),v=r(18127),O=r(54021),w=r(76208),Y=r(81609),S=r(837),L=r(79571),P=r(5434),z=r(9473),C=r(29580);r(45543);var product_useProductContentsContext=()=>{let{t:e}=(0,u.$G)("common"),n=(0,z.v9)(e=>e.web.project),r=(0,z.v9)(e=>e.product.contentsContext),[s,a]=(0,o.useState)(!1),[c,p]=(0,o.useState)(""),m=(0,z.I0)(),_getProductContentsContext=()=>{a(!0),m((0,C.kI)({project:n})).unwrap().then(e=>{a(!1)},e=>{p("string"==typeof e?e:e.toString()),a(!1)})};return(0,v.Z)(()=>{_getProductContentsContext()}),(0,O.Z)(()=>{_getProductContentsContext()},[n]),{context:r,isLoading:s,error:c}},E=r(72787),N=r(77447),T=r(24998),F=r(70231),k=r(76146),I=r(6154),A=r(4491),H=r(12556);function _templateObject(){let e=(0,s._)(["\n background-color: #FFF;\n @media print {\n .no-print {\n display: none;\n }\n }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,s._)(["\n position: relative;\n width: 800px;\n margin: 0 auto;\n padding: 20px 0;\n @media print {\n display: none;\n }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,s._)(["\n position: relative;\n width: 800px;\n margin: 0 auto;\n display: none;\n @media print {\n display: block;\n }\n"]);
1return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,s._)(["\n position: relative;\n background-color: #000;\n height: 180px;\n margin: 20px auto 0;\n img {\n z-index: 1;\n }\n\n &:nth-child(2) {\n margin: 0 auto;\n }\n\n &:before {\n content: '';\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: rgba(0,0,0,.4);\n z-index: 2;\n }\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,s._)(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n color: #FFF;\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 700;\n font-size: 32px;\n z-index: 3;\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,s._)(["\n position: sticky;\n top: 0;\n display: flex;\n justify-content: flex-end;\n gap: 6px;\n padding: 10px 0;\n background-color: #FFF;\n width: 800px;\n margin: 0 auto;\n border-bottom: 1px solid #DDD;\n z-index: 10;\n @media print {\n display: none;\n }\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,s._)(["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: rgba(255,255,255,.2);\n z-index: 99;\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,s._)(["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: rgba(255,255,255,.2);\n color: ",";\n font-size: 14px;\n z-index: 99;\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,s._)([""]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,s._)(["\n position: relative;\n width: 800px;\n height: 1140px; /* height: 277mm; */\n page-break-before: always;\n margin: 0 auto;\n &:first-of-type {\n border-top: none;\n }\n"]);return _templateObject9=function(){return e},e}function _templateObject10(){let e=(0,s._)(["\n display: flex;\n flex-direction: column;\n padding: 6px 0;\n"]);return _templateObject10=function(){return e},e}function _templateObject11(){let e=(0,s._)(["\n position: absolute;\n top: ","px;\n left: 0;\n"]);return _templateObject11=function(){return e},e}function _templateObject12(){let e=(0,s._)(["\n font-size: 18px;\n font-weight: 600;\n color: #000;\n text-align: center;\n"]);return _templateObject12=function(){return e},e}function _templateObject13(){let e=(0,s._)(["\n font-size: 13px;\n line-height: 16px;\n white-space: pre-wrap;\n text-align: center;\n color: #000;\n"]);return _templateObject13=function(){return e},e}function _templateObject14(){let e=(0,s._)(["\n list-style: decimal;\n margin: 10px 0 0;\n padding: 0 0 0 16px;\n color: #000;\n"]);return _templateObject14=function(){return e},e}function _templateObject15(){let e=(0,s._)(["\n font-size: 13px;\n line-height: 16px;\n margin: 2px 0 0;\n white-space: pre-wrap;\n"]);return _templateObject15=function(){return e},e}function _templateObject16(){let e=(0,s._)(["\n display: flex;\n padding: 6px 0;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n"]);return _templateObject16=function(){return e},e}function _templateObject17(){let e=(0,s._)(["\n flex: 1;\n font-size: 13px;\n line-height: 16px;\n display: inline-flex;\n justify-content: flex-start;\n"]);return _templateObject17=function(){return e},e}function _templateObject18(){let e=(0,s._)(["\n flex: 1;\n font-size: 13px;\n line-height: 16px;\n display: inline-flex;\n justify-content: center;\n"]);
1return _templateObject18=function(){return e},e}function _templateObject19(){let e=(0,s._)(["\n flex: 1;\n font-size: 13px;\n line-height: 16px;\n display: inline-flex;\n justify-content: flex-end;\n"]);return _templateObject19=function(){return e},e}function _templateObject20(){let e=(0,s._)(["\n margin: 10px 0 0;\n font-size: 14px;\n font-weight: 600;\n color: #000;\n"]);return _templateObject20=function(){return e},e}function _templateObject21(){let e=(0,s._)(["\n list-style-type: decimal; \n margin: 0;\n padding: 0 0 0 16px;\n"]);return _templateObject21=function(){return e},e}function _templateObject22(){let e=(0,s._)(["\n font-size: 13px;\n line-height: 16px;\n margin: 2px 0 0;\n color: #000;\n white-space: pre-wrap;\n"]);return _templateObject22=function(){return e},e}function _templateObject23(){let e=(0,s._)(["\n display: grid;\n grid-template-columns: ",";\n border-top: 1px solid #000;\n border-left: 1px solid #000;\n border-right: 1px solid #000;\n"]);return _templateObject23=function(){return e},e}function _templateObject24(){let e=(0,s._)(["\n height: 40px; \n display: inline-flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n color: #000;\n font-size: 12px;\n padding: 4px 0;\n line-height: 18px;\n font-weight: 600;\n background-color: #D9D9D9;\n border-left: 1px solid #000;\n &:first-of-type {\n border-left: none;\n }\n"]);return _templateObject24=function(){return e},e}function _templateObject25(){let e=(0,s._)(["\n height: 26px;\n font-size: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #000;\n text-align: center;\n line-height: 18px;\n font-weight: 600;\n background-color: #D9D9D9;\n border-top: 1px solid #000;\n border-left: 1px solid #000;\n border-right: 1px solid #000;\n"]);return _templateObject25=function(){return e},e}function _templateObject26(){let e=(0,s._)(["\n display: flex;\n border-top: 1px solid #000;\n &:first-of-type {\n border-top: none;\n }\n"]);return _templateObject26=function(){return e},e}function _templateObject27(){let e=(0,s._)(["\n border: 1px solid #000;\n"]);return _templateObject27=function(){return e},e}function _templateObject28(){let e=(0,s._)(["\n width: 38px;\n font-size: 14px;\n color: #000;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 0;\n"]);return _templateObject28=function(){return e},e}function _templateObject29(){let e=(0,s._)(["\n flex: 1;\n border-left: 1px solid #000;\n"]);return _templateObject29=function(){return e},e}function _templateObject30(){let e=(0,s._)(["\n flex: 1;\n display: grid;\n grid-template-columns: ",";\n border-top: 1px solid #000;\n min-height: ","px;\n &:first-of-type {\n border-top: none;\n }\n"]);return _templateObject30=function(){return e},e}function _templateObject31(){let e=(0,s._)(["\n display: inline-flex;\n align-items: center;\n"]);return _templateObject31=function(){return e},e}function _templateObject32(){let e=(0,s._)(["\n display: inline-flex;\n justify-content: center;\n flex-wrap: wrap;\n flex-direction: column;\n font-size: 14px;\n color: #000;\n border-left: 1px solid #000;\n padding: 0 4px;\n"]);return _templateObject32=function(){return e},e}function _templateObject33(){let e=(0,s._)(["\n display: inline-flex;\n align-items: flex-start;\n a {\n font-size: 14px;\n line-height: 1.2em;\n color: #000;\n text-decoration: none;\n &:hover {\n text-decoration: underline;\n }\n }\n"]);return _templateObject33=function(){return e},e}function _templateObject34(){let e=(0,s._)(["\n display: inline-flex;\n align-items: center;\n white-space: nowrap;\n color: #FFF;\n background-color: ",";\n font-size: 11px;\n height: 18px;\n border-radius: 4px;\n padding: 0 6px;\n margin: 0 0 0 6px;\n"]);
1return _templateObject34=function(){return e},e}function _templateObject35(){let e=(0,s._)(["\n font-size: 14px;\n line-height: 1.2em;\n color: #000;\n"]);return _templateObject35=function(){return e},e}function _templateObject36(){let e=(0,s._)(["\n display: inline-flex;\n align-items: center;\n font-size: 13px;\n color: #000;\n border-left: 1px solid #000;\n padding: 4px;\n"]);return _templateObject36=function(){return e},e}function _templateObject37(){let e=(0,s._)(["\n display: inline-flex;\n align-items: center;\n justify-content: flex-end;\n font-size: 14px;\n color: #000;\n border-left: 1px solid #000;\n padding: 4px;\n"]);return _templateObject37=function(){return e},e}function _templateObject38(){let e=(0,s._)(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n color: #000;\n border-left: 1px solid #000;\n padding: 4px;\n"]);return _templateObject38=function(){return e},e}let R=c.zo.div(_templateObject()),Z=c.zo.div(_templateObject1()),W=c.zo.div(_templateObject2()),U=c.zo.div(_templateObject3()),V=c.zo.div(_templateObject4()),G=c.zo.div(_templateObject5()),B=c.zo.div(_templateObject6()),Q=c.zo.div(_templateObject7(),_.
1w.Red),q=c.zo.div(_templateObject8()),K=c.zo.div(_templateObject9()),J=c.zo.div(_templateObject10()),X=c.zo.div(_templateObject11(),e=>e.$isPrint?"20":"30"),ee=c.zo.div(_templateObject12()),et=c.zo.div(_templateObject13()),en=c.zo.ul(_templateObject14()),er=c.zo.li(_templateObject15()),ei=c.zo.div(_templateObject16()),el=c.zo.div(_templateObject17()),es=c.zo.div(_templateObject18()),ea=c.zo.div(_templateObject19()),eo=c.zo.div(_templateObject20()),ec=c.zo.ul(_templateObject21()),eu=c.zo.li(_templateObject22()),ed=c.zo.div(_templateObject23(),e=>e.$higherLevel&&!e.$specialLevel?"38px ".concat(42,"px 1fr 150px 56px 56px 56px 50px"):"38px ".concat(41,"px 1fr 150px 56px 56px 50px")),ep=c.zo.div(_templateObject24()),em=c.zo.div(_templateObject25()),ef=c.zo.div(_templateObject26()),eh=c.zo.div(_templateObject27()),e_=c.zo.div(_templateObject28()),eb=c.zo.div(_templateObject29()),eg=c.zo.div(_templateObject30(),e=>e.$higherLevel&&!e.$specialLevel?"".concat(42,"px 1fr 150px 56px 56px 56px 50px"):"".concat(41,"px 1fr 150px 56px 56px 50px"),42),ex=c.zo.div(_templateObject31()),ej=c.zo.div(_templateObject32()),ev=c.zo.div(_templateObject33()),ey=c.zo.div(_templateObject34(),_.w.Main),eO=c.zo.div(_templateObject35()),eM=c.zo.div(_templateObject36()),ew=c.zo.div(_templateObject37()),eD=c.zo.div(_templateObject38()),ProductRowComponent=e=>{let{isPrint:n,product:r,higherLevel:s,isSpecialPrice:c,specialPrice:p,updateMinSizePdtCover:m}=e,{t:f}=(0,u.$G)("common"),[_,b]=(0,o.useState)({}),x=(0,o.useCallback)(async e=>{try{let n=await I.Z.get(e,{responseType:"blob",withCredentials:!0,headers:{"Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:"0"}}),r=n.data,s=URL.createObjectURL(r),a=new Image;a.src=s;let o=await new Promise((e,n)=>{a.onload=()=>{let r=document.createElement("canvas"),s=r.getContext("2d");if(!s){n(Error("ç¡æ³ç²å Canvas ä¸ä¸æ"));return}let{width:o,height:c}=a;if(o>40||c>40){let e=Math.min(40/o,40/c);o*=e,c*=e}r.width=o,r.height=c,s.drawImage(a,0,0,o,c),e(r.toDataURL("image/png",1))}});return o}catch(e){console.log(e)}},[]),j=(0,o.useCallback)(async()=>{if(!m)return;let e={};for(let n=0;n<r.uid_combs.length;n++){if(!r.uid_combs[n].coverfile_url)continue;let s=await x(r.uid_combs[n].coverfile_url);e[r.uid_combs[n].coverfile_url]=s}b(e),m(e)},[r,x,m]);return(0,v.Z)(()=>{j()}),(0,a.jsxs)(ef,{"data-product":r.productid,children:[(0,a.jsx)(e_,{children:r.index}),(0,a.jsx)(eb,{children:r.uid_combs.map(e=>{let o=_[e.coverfile_url]?_[e.coverfile_url]:e.coverfile_url;return(0,a.jsxs)(eg,{$higherLevel:s,$specialLevel:c,children:[(0,a.jsx)(ex,{children:o&&(0,a.jsx)(g(),{src:o,alt:r.pdtname,width:40,height:40,style:{objectFit:"contain"},loading:n?"eager":"lazy",unoptimized:!0})}),(0,a.jsxs)(ej,{children:[(0,a.jsxs)(ev,{children:[(0,a.jsxs)(A.Z,{path:H.s.PRODUCT,params:{productid:r.productid},target:"_blank",children:[r.pdtname," ",e.spec_names]}),e.isNew&&(0,a.jsx)(ey,{children:f("æ°å")})]}),r.pdtnameRemark&&(0,a.jsx)(eO,{children:r.pdtnameRemark})]}),(0,a.jsx)(eM,{children:e.erppdtid}),c&&(0,a.jsx)(ew,{children:p&&p[e.uid_comb]&&p[e.uid_comb]>0?s?e.dealer_level1_price<p[e.uid_comb]?(0,a.jsxs)(a.Fragment,{children:["$",(0,a.jsx)(L.ZP,{number:e.dealer_level1_price})]}):(0,a.jsxs)(a.Fragment,{children:["$",(0,a.jsx)(L.ZP,{number:p[e.uid_comb]})]}):e.dealer_level2_price<p[e.uid_comb]?(0,a.jsxs)(a.Fragment,{children:["$",(0,a.jsx)(L.ZP,{number:e.dealer_level2_price})]}):(0,a.jsxs)(a.Fragment,{children:["$",(0,a.jsx)(L.ZP,{number:p[e.uid_comb]})]}):s?(0,a.jsxs)(a.Fragment,{children:["$",(0,a.jsx)(L.ZP,{number:e.dealer_level1_price})]}):(0,a.jsxs)(a.Fragment,{children:["$",(0,a.jsx)(L.ZP,{number:e.dealer_level2_price})]})}),!c&&s&&(0,a.jsxs)(ew,{children:["$",(0,a.jsx)(L.ZP,{number:e.dealer_level1_price})]}),!c&&(0,a.jsxs)(ew,{children:["$",(0,a.jsx)(L.ZP,{number:e.dealer_level2_price})]}),(0,a.jsxs)(ew,{children:["$",(0,a.jsx)(L.ZP,{number:e.base_price})]}),(0,a.jsx)(eD,{children:e.warranty_period})]},e.uid_comb)})})]})},ExportPrintProductContentsView=e=>{let{isPrint:n,context:r,pages:s,higherLevel:o,specialPriceMap:c,updateMinSizePdtCover:u}=e;return(0,a.jsx)(q,{children:s.map((e,s)=>{var p;return(0,a.jsxs)(K,{children:[e.products&&e.products[0]&&1===e.products[0].index&&(0,a.jsxs)(J,{children:[(0,a.jsx)(X,{$isPrint:n,children:n?(0,a.jsx)(g(),{src:"".concat(k.zw,"/images/logo_tw.png"),alt:"darkFlash",width:"140",height:"40",style:{objectFit:"contain",marginRight:20},unoptimized:!0,loading:"eager"}):(0,a.jsx)(g(),{src:"/images/logo_tw.png",alt:"darkFlash",width:"140",height:"40",style:{objectFit:"contain",marginRight:20},unoptimized:!0,loading:"lazy"})}),(0,a.jsx)(ee,{children:r&&r.title}),(0,a.jsx)(et,{children:r&&r.description}),r&&(null===(p=r.headerItems)||void 0===p?void 0:p.length)>0&&(0,a.jsx)(en,{children:r.headerItems.map((e,n)=>(0,a.jsx)(er,{children:e},n))})]}),(0,a.jsxs)(ed,{$higherLevel:o,$specialLevel:!!c,children:[(0,a.jsx)(ep,{children:"ç·¨è"}),(0,a.jsx)(ep,{children:"ç¢åå"}),(0,a.jsx)(ep,{children:"ç¢åå稱"}),(0,a.jsx)(ep,{children:"ç¢åç·¨è"}),c&&(0,a.jsxs)(ep,{children:["å°å±¬å¹",(0,a.jsx)("br",{}),"(æªç¨
)"]}),!c&&o&&(0,a.jsxs)(ep,{children:["代çå¹",(0,a.jsx)("br",{}),"(æªç¨
)"]}),!c&&(0,a.jsxs)(ep,{children:["ç¶é·å¹",(0,a.jsx)("br",{}),"(æªç¨
)"]}),(0,a.jsxs)(ep,{children:["å¸å¹",(0,a.jsx)("br",{}),"(å«ç¨
)"]}),(0,a.jsx)(ep,{children:"ä¿åº"})]}),e.products&&e.products[0]&&1===e.products[0].index&&(0,a.jsx)(em,{children:e.mainPdtClass.name}),(0,a.jsx)(eh,{children:e.products.map(e=>(0,a.jsx)(ProductRowComponent,{higherLevel:o,isPrint:!0,product:e,isSpecialPrice
1:!!c,specialPrice:c?c[e.productid]:void 0,updateMinSizePdtCover:u},e.productid))}),e.showWraning&&r&&r.classWarningItems&&r.classWarningItems[e.mainPdtClass.classid]&&r.classWarningItems[e.mainPdtClass.classid].length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eo,{children:"注æäºé
ï¼"}),(0,a.jsx)(ec,{"data-classwarning":e.mainPdtClass.classid,children:r.classWarningItems[e.mainPdtClass.classid].map((e,n)=>(0,a.jsx)(eu,{children:e},n))})]}),(0,a.jsxs)(ei,{children:[(0,a.jsx)(el,{}),(0,a.jsxs)(es,{children:["第 ",s+1," é "]}),(0,a.jsxs)(ea,{children:["製表æ¥ï¼ ",(0,a.jsx)(f.ZP,{format:f.Kj.TIME_SLASH_STRING,time:Date.now()})]})]})]},s)})})};var product_PrintProductContentsView=e=>{var n;let{isMobile:r,higherLevel:s,specialPrice:c}=e,{t:f}=(0,u.$G)("common"),[b,v]=(0,o.useState)(50),L=(0,o.useRef)(null),z=(0,o.useRef)(null),C=(0,o.useRef)(null),[k,I]=(0,o.useState)(0),[A,H]=(0,o.useState)({}),[q,K]=(0,o.useState)({}),[ei,el]=(0,o.useState)(!1),es=(0,o.useRef)({}),{mainclassids:ea,mainPdtClasses:em,isLoading:ef,isError:e_}=(0,w.Z)(),{productids:eb,products:eg,totalCount:ex,isLoading:ej,isError:ev}=(0,x.Z)({orderby:j.sc.NAME,isDesc:!1,offset:0,limit:b}),{context:ey,isLoading:eO,error:eM}=product_useProductContentsContext(),ew=(0,o.useCallback)(e=>{for(let n in e)es.current[n]=e[n]},[]);(0,O.Z)(()=>{ex>b&&v(b+50)},[b,ex]);let eD=(0,o.useMemo)(()=>{let e={};for(let n=0;n<eb.length;n++){let r=eb[n],s=eg[r];if(!s||s.status!==j.Pt.SALES&&s.status!==j.Pt.SALES_FOR_DEALER)continue;let a=s.pdtclassid,o=s.labels&&-1!==s.labels.indexOf(j.jy.NEW),c="X";e:if(s.pdtspecconfig&&s.pdtspecconfig.specs)for(let e=0;e<s.pdtspecconfig.specs.length;e++){let n=s.pdtspecconfig.specs[e],{uid:r,uids:a,valueMap:o}=n,u=s.spec.specs[r];if(u&&a&&o)for(let e=0;e<a.length;e++){let n=a[e],r=o[n],s=u[n];if(r&&-1!==r.indexOf(f("ä¿åº"))&&s&&0!==s.length){c=s.map(e=>e.displayValue?e.displayValue:e.value).join("/");break e}}}let u=e[a]?e[a]:[],p=(0,Y.cs)(s);if(p.length>0){let e=[];for(let n=0;n<p.length;n++){let r=p[n],{sale_price:a}=(0,Y.RQ)({product:s,membertype:S.wO.NORMAL,level:S.Pr.BASE,count:1,uid_comb:r.uid_comb}),{sale_price:u}=(0,Y.RQ)({product:s,membertype:S.wO.DEALER,level:S.Pr.LEVEL_1,count:1,uid_comb:r.uid_comb}),{sale_price:m}=(0,Y.RQ)({product:s,membertype:S.wO.DEALER,level:S.Pr.LEVEL_2,count:1,uid_comb:r.uid_comb}),f=(0,Y.K$)(s,r.uid_comb);if(f&&(f.status===E.XT.LEGACY||f.status===E.XT.HIDDEN||f.showcontenttype!==E.lM.SHOW))continue;let _=s.homeCoverURL;s.defaultCovers&&s.defaultCovers[0]&&(_=s.defaultCovers[0].url),s.selectorHomeCoversMap&&s.selectorHomeCoversMap[r.uid_comb]&&(_=s.selectorHomeCoversMap[r.uid_comb]),s.selectorCoversMap&&s.selectorCoversMap[r.uid_comb]&&s.selectorCoversMap[r.uid_comb][0]&&(_=s.selectorCoversMap[r.uid_comb][0].url);let b={uid_comb:r.uid_comb,spec_names:r.names,coverfile_url:_,pdtremark:"",erppdtid:f?f.erppdtid:"",base_price:a,dealer_level1_price:u,dealer_level2_price:m,w
1arranty_period:c,isNew:o};e.push(b)}if(e.length>0){let n={index:u.length+1,productid:s.productid,pdtname:s.name,pdtnameRemark:s.contentssetting?s.contentssetting.nameremark:void 0,uid_combs:e,isNew:o};u.push(n)}}else{let{sale_price:e}=(0,Y.RQ)({product:s,membertype:S.wO.NORMAL,level:S.Pr.BASE,count:1,uid_comb:""}),{sale_price:n}=(0,Y.RQ)({product:s,membertype:S.wO.DEALER,level:S.Pr.LEVEL_1,count:1,uid_comb:""}),{sale_price:r}=(0,Y.RQ)({product:s,membertype:S.wO.DEALER,level:S.Pr.LEVEL_2,count:1,uid_comb:""}),a=(0,Y.K$)(s);if(a&&(a.status===E.XT.LEGACY||a.status===E.XT.HIDDEN||a.showcontenttype!==E.lM.SHOW))continue;let p={uid_comb:"",spec_names:"",coverfile_url:s.homeCoverURL,pdtremark:"",erppdtid:a?a.erppdtid:"",base_price:e,dealer_level1_price:n,dealer_level2_price:r,warranty_period:c,isNew:o},m={index:u.length+1,productid:s.productid,pdtname:s.name,pdtnameRemark:s.contentssetting?s.contentssetting.nameremark:void 0,uid_combs:[p],isNew:o};u.push(m)}e[a]=u}let n=[];for(let r=0;r<ea.length;r++){let s=ea[r],a=em[s];if(!a||!a.pdtclassids||0===a.pdtclassids.length)continue;let o=[];for(let n=0;n<a.pdtclassids.length;n++){let r=a.pdtclassids[n],s=e[r];s&&(o=[...o,...s])}if(o.length>0){o=o.sort((e,n)=>{let r=e.isNew?1:0,s=n.isNew?1:0;return r!==s?s-r:0});for(let e=0;e<o.length;e++)o[e].index=e+1;let e={classid:a.mainclassid,name:a.name,bannerfileURL:a.bannerfileURL,products:o};n.push(e)}}return n},[eb,eg,ea,em,f]),eY=(0,o.useMemo)(()=>{let e;if(!ey||0===eD.length||0===Object.keys(A).length)return[];let n=[],r=1140;for(let s=0;s<eD.length;s++){let a=eD[s],o=a.products;e?e.mainPdtClass.classid!==a.classid&&(e={mainPdtClass:a,products:[],showWraning:!1},r=1140-k-26-64,n.push(e)):(e={mainPdtClass:a,products:[],showWraning:!1},r=1140-k-26-64,n.push(e));for(let s=0;s<o.length;s++){let c=o[s],u=c.productid,p=A[u];p>=r&&(e={mainPdtClass:a,products:[],showWraning:!1},r=1076,n.push(e)),e.products.push(c),r-=p}if(ey.classWarningItems&&ey.classWarningItems[a.classid]&&ey.classWarningItems[a.classid].length>0){let s=q[a.classid];if(s+22>r){let r=e.products.splice(e.products.length-1,1);e={mainPdtClass:a,products:r,showWraning:!0},n.push(e)}else e.showWraning=!0}}return n},[ey,eD,k,A,q]),eS=(0,o.useCallback)(()=>{var e;ey&&0!==eY.length&&(null===(e=window)||void 0===e||e.print())},[ey,eY]),e$=(0,o.useCallback)(async()=>{if(!ey||0===eY.length)return;el(!0);let e=eY.map(e=>{let n={...e};if(n.products)for(let e=0;e<n.products.length;e++){let r=n.products[e];if(r.uid_combs)for(let e=0;e<r.uid_combs.length;e++){let n=r.uid_combs[e];n.coverfile_url&&es.current[n.coverfile_url]&&es.current[n.coverfile_url]&&es.current[n.coverfile_url]&&(n.coverfile_url=es.current[n.coverfile_url])}}return n});try{let n=c&&c.price&&c.price.priceMap?c.price.priceMap:void 0,r=await N.ZP.DarkFlashAxios.post("/api/product/download-contents-pdf",{pages:e,context:ey,higherLevel:s,specialPriceMap:n},{responseType:"blob"});if(200===r.status){let e=window.URL.createObjectURL(new Blob([r.data])),n=document.createElement("a");n.href=e,n.setAttribute("download","".concat(f("ç¢åå ±å¹å®"),".pdf")),document.body.appendChild(n),n.click(),document.body.removeChild(n)}el(!1)}catch(n){let e=f("ç¼çç¡æ³é æçé¯èª¤ï¼è«ååè©¦ä¸æ¬¡ææ¯è¯çµ¡ç¸é人å¡èç");"string"==typeof n?e=n:n instanceof Error&&(e=n.toString()),T.N9.show({title:f("ç¡æ³ä¸è¼PDF"),message:e,color:_.w.Red}),el(!1)}},[eY,ey,s,c,es,f]);return(0,O.Z)(()=>{ey&&eb.length>=ex&&(L.current&&clearTimeout(L.current),L.current=setTimeout(()=>{let e=C.current,n=null==e?void 0:e.querySelectorAll("[data-product]");if(n&&n.length){let e={...A};for(let r=0;r<n.length;r++){let s=n[r],a=s.dataset.product,o=s.offsetHeight;a&&(e[a]=o)}H(e)}let r=null==e?void 0:e.querySelectorAll("[data-classwarning]");if(r&&r.length){let e={};for(let n=0;n<r.length;n++){let s=r[n],a=s.dataset.classwarning,o=s.offsetHeight;a&&(e[a]=o)}K(e)}let s=z.current,a=null==s?void 0:s.offsetHeight;a&&I(a),L.current=null},1e3))},[ey,em,eb,ex]),(0,a.jsxs)(R,{children:[ey&&eY.length>0&&(0,a.jsxs)(G,{children:[(0,a.jsx)(p.z,{color:"gray",styles:{root:{height:30}},leftSection:(0,a.jsx)(F.B$y,{}),variant:"outline",onClick:e$,loading:ei,disabled:ei,children:f("ä¸è¼PDF")}),!r&&(0,a.jsx)(p.z,{color:"gray",styles:{root:{height:30}},leftSection:(0,a.jsx)(P.Sg0,{}),onClick:eS,children:f("åå°")})]}),(0,a.jsxs)(Z,{ref:C,children:[(0,a.jsxs)(J,{ref:z,children:[(0,a.jsx)(X,{children:(0,a.jsx)(g(),{src:"/images/logo_tw.png",alt:"darkFlash",width:"140",height:"40",style:{objectFit:"contain",marginRight:20},unoptimized:!0,loading:"lazy"})}),(0,a.jsx)(ee,{children:ey&&ey.title}),(0,a.jsx)(et,{children:ey&&ey.description}),ey&&(null===(n=ey.headerItems)||void 0===n?void 0:n.length)>0&&(0,a.jsx)(en,{children:ey.headerItems.map((e,n)=>(0,a.jsx)(er,{children:e},n))})]}),eD.map(e=>(0,a.jsxs)(o.Fragment,{children:[(0,a.jsxs)(U,{children:[e.bannerfileURL&&(0,a.jsx)(g(),{src:e.bannerfileURL,alt:e.name,fill:!0,style:{objectFit:"cover"},priority:!1}),(0,a.jsx)(V,{children:e.name})]}),(0,a.jsxs)(ed,{$higherLevel:s,$specialLevel:!!c,children:[(0,a.jsx)(ep,{children:"ç·¨è"}),(0,a.jsx)(ep,{children:"ç¢åå"}),(0,a.jsx)(ep,{children:"ç¢åå稱"}),(0,a.jsx)(ep,{children:"ç¢åç·¨è"}),c&&(0,a.jsxs)(ep,{children:["å°å±¬å¹",(0,a.jsx)("br",{}),"(æªç¨
)"]}),s&&!c&&(0,a.jsxs)(ep,{children:["代çå¹",(0,a.jsx)("br",{}),"(æªç¨
)"]}),!c&&(0,a.jsxs)(ep,{children:["ç¶é·å¹",(0,a.jsx)("br",{}),"(æªç¨
)"]}),(0,a.jsxs)(ep,{children:["å¸å¹",(0,a.jsx)("br",{}),"(å«ç¨
)"]}),(0,a.jsx)(ep,{children:"ä¿åº"})]}),(0,a.jsx)(eh,{children:e.products.map(e=>
1(0,a.jsx)(ProductRowComponent,{higherLevel:s,isSpecialPrice:!!c,specialPrice:c&&c.price&&c.price.priceMap?c.price.priceMap[e.productid]:void 0,isPrint:!1,product:e,updateMinSizePdtCover:ew},e.productid))}),ey&&ey.classWarningItems&&ey.classWarningItems[e.classid]&&ey.classWarningItems[e.classid].length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(eo,{children:[f("注æäºé
"),"ï¼"]}),(0,a.jsx)(ec,{"data-classwarning":e.classid,children:ey.classWarningItems[e.classid].map((e,n)=>(0,a.jsx)(eu,{children:e},n))})]})]},e.classid))]}),ey&&eY.length>0&&(0,a.jsx)(W,{children:(0,a.jsx)(ExportPrintProductContentsView,{isPrint:!0,higherLevel:s,context:ey,pages:eY,specialPriceMap:c&&c.price?c.price.priceMap:void 0,updateMinSizePdtCover:ew})}),(ef||ej||eO)&&(0,a.jsx)(B,{children:(0,a.jsx)(m.a,{color:_.w.Main,type:"dots",size:"xl"})}),(e_||ev||eM)&&(0,a.jsx)(Q,{children:f("ç¼çç¡æ³é æçé¯èª¤ï¼ç¡æ³è¼å
¥ååè³è¨ï¼è«è¯çµ¡ç¸é人å¡èç")})]})}},79571:function(e,n,r){"use strict";r.d(n,{cc:function(){return baseFormatNumber}});var s,a,o=r(85893);(s=a||(a={})).FILE="file",s.SOCIAL="social";let baseFormatNumber=(e,n)=>{if(isNaN(e))return 0;let r=(e.toFixed(n)+"").split("."),s=r[0],a=r.length>1?"."+r[1]:"",o=/(\d+)(\d{3})/;for(;o.test(s);)s=s.replace(o,"$1,$2");return n&&n>=1&&(a="0"===(a="".concat(parseFloat("0"+a)))?"":a.substring(1)),s+a},formatSocialNumber=e=>e>=1e6?baseFormatNumber(e/1e6,1)+"M":e>=1e3?baseFormatNumber(e/1e3,1)+"k":baseFormatNumber(e,0),formatFileSizeNumber=e=>isNaN(e)?0:e/1073741824>1?baseFormatNumber(e/1073741824,2)+"GB":e/1048576>1?baseFormatNumber(e/1048576,2)+"MB":e>=1024?baseFormatNumber(e/1024,0)+"KB":baseFormatNumber(e,0)+"byte",formatNumber=e=>{let{number:n,decimal:r,format:s}=e;switch(s){case"file":return formatFileSizeNumber(n);case"social":return formatSocialNumber(n);default:return baseFormatNumber(n,r)}};n.ZP=e=>{let{number:n,decimal:r,format:s}=e,a=formatNumber({number:n,decimal:r,format:s});return(0,o.jsx)(o.Fragment,{children:a})}},42929:function(e,n,r){"use strict";r.d(n,{Bv:function(){return p.a},Kj:function(){return a}});var s,a,o=r(85893),c=r(67294),u=r(27484),p=r.n(u);r(43901);var m=r(84110),f=r.n(m);p().locale("zh-tw"),p().extend(f()),(s=a||(a={})).ISO_8601="YYYYMMDDTHHmmssZ[Z]",s.TIME_AGO="timeAgo",s.SIMPLE_TIME_AGO="simpleTimeAgo",s.SIMPLE_FULL_TIME="simpleFullTime",s.NOT_YEAR_SIMPLE_FULL_TIME="notYearSimpleFullTime",s.FORMAT_MEDIA_PLAY_TIME="formatMediaPlayTime",s.TIME_STRING="timeString",s.TIME_DASH_STRING="timeDashString",s.FULL_TIME_DASH_STRING="fulltimeDashString",s.TIME_SLASH_STRING="timeSlashString",s.TIME_CHINESE_STRING="timeChineseString",s.SIMPLE_MEDIA_PLAY_TIME="simpleMediaPlayTime",s.ONLY_YYYY="onlyYear",s.ONLY_WEEKLY_DAY="onlyWeeklyDay",s.ONLY_YEAR_AND_MONTH="onlyYearAndMonth",s.ONLY_MONTH_AND_DATE="onlyMonthAndDate",s.ONLY_DATE_OF_MONTH="onlyDateOfDay",s.ONLY_TIME_OF_DAY="onlyTimeOfDay",n.ZP=(0,c.memo)(e=>{let n=(()=>{let n=e.time,r=new Date(n),s=new Date;switch(e.format){case"YYYYMMDDTHHmmssZ[Z]":return p()(n).format("YYYYMMDDTHHmmssZ[Z]");case"timeAgo":if(r.getFullYear()!==s.getFullYear())return p()(n).format("YYYYå¹´MMMDæ¥");if(s.getTime()-r.getTime()>=864e5)return p()(n).format("MMMDæ¥");return p()(n).fromNow();case"simpleTimeAgo":if(r.getFullYear()!==s.getFullYear()||s.getTime()-r.getTime()>=864e5)return p()(n).format("YYYY-MM-DD");return p()(n).fromNow();case"simpleFullTime":return p()(n).format("YYYY/MM/DD HH:mm");case"notYearSimpleFullTime":return p()(n).format("MM/DD HH:mm");case"formatMediaPlayTime":if(!isNaN(n)&&n>0){let e=Math.floor(n/60),r=Math.round(n%60),s=Math.floor(n/3600);if(s<1)return(e=e<10?0+e:e)+":"+(r=r<10?0+r:r);return s+":"+(e=(e=Math.round(e%60))<10?0+e:e)+":"+(r=r<10?0+r:r)}return"--:--";case"timeString":return p()(n).format("YYYY.MM.DD");case"timeDashString":return p()(n).format("YYYY-MM-DD");case"fulltimeDashString":return p()(n).format("YYYY-MM-DD HH:mm");case"timeSlashString":return p()(n).format("YYYY/MM/DD");case"timeChineseString":return p()(n).format("YYYYå¹´MMæDDæ¥");case"onlyYear":return p()(n).format("YYYY");
1case"onlyWeeklyDay":{let e=r.getDay();switch(e){case 1:return"ä¸";case 2:return"äº";case 3:return"ä¸";case 4:return"å";case 5:return"äº";case 6:return"å
";case 7:return"æ¥";default:return""}}case"onlyYearAndMonth":return p()(n).format("YYYY-MM");case"onlyMonthAndDate":return p()(n).format("MM-DD");case"onlyDateOfDay":return p()(n).format("DD");case"onlyTimeOfDay":return p()(n).format("HH:mm");case"simpleMediaPlayTime":if(!isNaN(n)&&n>0){let e=n/3600>0;if(e)return" "+Math.floor(n/3600*10)/10+" hr";return" "+Math.floor(n/60*10)/10+" min"}return 0;default:return""}})();return(0,o.jsx)(o.Fragment,{children:n})})},76208:function(e,n,r){"use strict";var s=r(18127),a=r(54021),o=r(9473),c=r(63105),u=r.n(c),p=r(45543);let m=!1;n.Z=()=>{let e=(0,o.v9)(e=>e.web.project),n=(0,o.v9)(e=>e.product.mainPdtClassList),r=(0,o.v9)(e=>e.product.mainPdtClasses),c=(0,o.I0)(),f=n[e],_=!!f&&f.isLoading,b=!!f&&f.isError,g=f?f.ids:void 0,x=f?f.totalCount:0,j=[];g&&(j=u()(g,(e,n)=>{let s=r[e];return!!s}));let _getMainPdtClassList=()=>{_||x>0||m||(m=!0,c((0,p.uJ)({project:e})).then(()=>{m=!1},e=>{m=!1}))};return(0,s.Z)(()=>{_getMainPdtClassList()}),(0,a.Z)(()=>{_getMainPdtClassList()},[e]),{mainclassids:j,mainPdtClasses:r,totalCount:x,isLoading:_,isError:b}}},62202:function(e,n,r){"use strict";var s=r(18127),a=r(54021),o=r(9473),c=r(63105),u=r.n(c),p=r(81609),m=r(45543),f=r(67294),_=r(837),b=r(51597);n.Z=e=>{let{mainpdtclassid:n,pdtclassids:r,keyword:c,labels:g,specgrpvalues:x,isShowLegacy:j,orderby:v,isDesc:O,offset:w,limit:Y}=e,S=(0,o.v9)(e=>e.web.project),L=(0,o.v9)(e=>e.product.productList),P=(0,o.v9)(e=>e.product.products),z=(0,o.v9)(e=>e.member.memberInfo),C=(0,o.I0)(),E=z?z.membertype:_.wO.NORMAL,N=(0,p.dh)({project:S,...e}),T=L[N],F=!!T&&T.isLoading,k=!!T&&T.isError,I=T?T.ids:void 0,A=T?T.totalCount:0,H=(0,f.useMemo)(()=>u()(I,(e,n)=>{let r=P[e];return!!r&&(r.status!==b.Pt.SALES_FOR_DEALER||E===_.wO.DEALER)&&Number(n)>=w&&Number(n)<w+Y}),[E,I,P,w,Y]),_getProductList=()=>{C((0,m.jw)({project:S,mainpdtclassid:n,pdtclassids:r,keyword:c,labels:g,specgrpvalues:x,isShowLegacy:j,orderby:v,isDesc:O,offset:w,limit:Y}))};return(0,s.Z)(()=>{_getProductList()}),(0,a.Z)(()=>{_getProductList()},[S,n,r,c,x,j,v,O,w,Y]),{productids:H,products:P,totalCount:A,isLoading:F,isError:k}}},24998:function(e,n,r){"use strict";r.d(n,{N9:function(){return o}});var s=r(35294);r(67294);let a=function(e){let n=e,r=!1,s=new Set;return{getState:()=>n,updateState(e){n="function"==typeof e?e(n):e},setState(e){this.updateState(e),s.forEach(e=>e(n))},initialize(e){r||(n=e,r=!0)},subscribe:e=>(s.add(e),()=>s.delete(e))}}({notifications:[],queue:[],limit:5});function updateNotificationsState(e,n){let r=e.getState(),s=n([...r.notifications,...r.queue]);e.setState({notifications:s.slice(0,r.limit),queue:s.slice(r.limit),limit:r.limit})}let o={show:function(e,n=a){let r=e.id||(0,s.k)();return updateNotificationsState(n,n=>e.id&&n.some(n=>n.id===e.id)?n:[...n,{...e,id:r}]),r},hide:function(e,n=a){return updateNotificationsState(n,n=>n.filter(n=>n.id!==e||(n.onClose?.(n),!1))),e},update:function(e,n=a){return updateNotificationsState(n,n=>n.map(n=>n.id===e.id?{...n,...e}:n)),e.id},clean:function(e=a){updateNotificationsState(e,()=>[])},cleanQueue:function(e=a){updateNotificationsState(e,n=>n.slice(0,e.getState().limit))},updateState:updateNotificationsState}}}]);
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.