!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/static/react-js/",n(n.s=127)}({0:function(e,t,n){"use strict";e.exports=n(14)},1:function(e,t,n){"use strict";n.d(t,"T",(function(){return r})),n.d(t,"R",(function(){return a})),n.d(t,"M",(function(){return o})),n.d(t,"F",(function(){return i})),n.d(t,"I",(function(){return u})),n.d(t,"K",(function(){return l})),n.d(t,"Q",(function(){return c})),n.d(t,"O",(function(){return s})),n.d(t,"E",(function(){return f})),n.d(t,"U",(function(){return d})),n.d(t,"S",(function(){return p})),n.d(t,"N",(function(){return h})),n.d(t,"H",(function(){return m})),n.d(t,"J",(function(){return v})),n.d(t,"P",(function(){return y})),n.d(t,"G",(function(){return g})),n.d(t,"u",(function(){return b})),n.d(t,"s",(function(){return w})),n.d(t,"t",(function(){return x})),n.d(t,"z",(function(){return E})),n.d(t,"v",(function(){return T})),n.d(t,"y",(function(){return k})),n.d(t,"x",(function(){return S})),n.d(t,"w",(function(){return C})),n.d(t,"p",(function(){return P})),n.d(t,"L",(function(){return _})),n.d(t,"D",(function(){return j})),n.d(t,"h",(function(){return O})),n.d(t,"j",(function(){return N})),n.d(t,"l",(function(){return I})),n.d(t,"d",(function(){return L})),n.d(t,"f",(function(){return F})),n.d(t,"a",(function(){return M})),n.d(t,"i",(function(){return R})),n.d(t,"o",(function(){return A})),n.d(t,"g",(function(){return D})),n.d(t,"c",(function(){return z})),n.d(t,"n",(function(){return V})),n.d(t,"b",(function(){return U})),n.d(t,"e",(function(){return B})),n.d(t,"k",(function(){return W})),n.d(t,"qb",(function(){return G})),n.d(t,"m",(function(){return H})),n.d(t,"tb",(function(){return Q})),n.d(t,"ub",(function(){return Y})),n.d(t,"sb",(function(){return $})),n.d(t,"C",(function(){return q})),n.d(t,"B",(function(){return K})),n.d(t,"A",(function(){return X})),n.d(t,"pb",(function(){return J})),n.d(t,"ib",(function(){return Z})),n.d(t,"eb",(function(){return ee})),n.d(t,"db",(function(){return te})),n.d(t,"hb",(function(){return ne})),n.d(t,"gb",(function(){return re})),n.d(t,"fb",(function(){return ae})),n.d(t,"ob",(function(){return oe})),n.d(t,"kb",(function(){return ie})),n.d(t,"jb",(function(){return ue})),n.d(t,"nb",(function(){return le})),n.d(t,"mb",(function(){return ce})),n.d(t,"lb",(function(){return se})),n.d(t,"ab",(function(){return fe})),n.d(t,"V",(function(){return de})),n.d(t,"W",(function(){return pe})),n.d(t,"X",(function(){return he})),n.d(t,"Z",(function(){return me})),n.d(t,"Y",(function(){return ve})),n.d(t,"bb",(function(){return ye})),n.d(t,"cb",(function(){return ge})),n.d(t,"rb",(function(){return be})),n.d(t,"q",(function(){return we})),n.d(t,"vb",(function(){return xe})),n.d(t,"r",(function(){return Ee}));var r="watching",a="viewlist",o="purchased",i="favorite",u="history",l="keepWatchCount",c="toViewListCount",s="rentalListCount",f="myFavoriteCount",d="繼續觀看",p="待看清單",h="租片清單",m="我的片單",v="播放紀錄",y="我的影片",g="最新上架電影",b=["繼續觀看","待看清單","租片清單","我的片單","播放紀錄"],w=["watching","viewlist","purchased","favorite","history"],x=["my-list/watching","my-list/viewlist","my-list/purchased","my-list/favorite","my-list/history"],E="PC",T="Android",k="iPhone",S="iPad",C="iOS",P="32",_=20,j=100,O="ajax/ajaxFindMyVideoListData.do",N="ajax/ajaxFindRentalVideoList2.do",I="ajax/ajaxFindMyVideoListCount.do",L="ajax/ajaxFindActAnnounceQueue.do",F="ajax/ajaxFindInboxMessageList.do",M="ajax/ajaxFindViewRecord.do",R="ajax/ajaxFindNextOrPrevVideo.do",A="ajax/ajaxUpdateMsg.do",D="ajax/ajaxFindMainCategoryMenu3.do",z="ajax/ajaxFilterCategoryVideoListData.do",V="ajax/ajaxRedeemVoucherData.do",U="ajax/ajaxChangeVoucherContent.do",B="ajax/ajaxFindChannelGroupList.do",W="ajax/ajaxFindTwitchContentData.do",G="goSignUpPage.do",H="ajax/ajaxGetUrlString.do",Q="0",Y="3",$="N",q="從今天開始，MyVideo 陪你享受更好的生活品質",K=["連結家中電視與家人一起輕鬆觀賞","影片品質保證","家庭多人共享更簡單"],X=["使用智慧型電視、Android TV、數位機上盒、Chromecast投放","放鬆欣賞，無須擔心影片品質","追劇、看電影隨自己，家長也能安心讓孩子獨自觀賞的兒童專區"],J="https://www.myvideo.net.tw/event/2019Subaccount",Z="兌換單片或月租",ee="兌換單片或月租",te="輸入序號以兌換指定電影或月租體驗",ne="兌換指定電影或月租觀看方式與期限",re=["單片：兌換後請於7日內(168小時)點選播放，播放後需於48小時內觀看完畢。","月租：兌換後可於期限內無限次觀看該服務內的影片，到期後需完成付費即可繼續觀看， 「我的服務」內可確認優惠到期日。"],ae=["每組序號僅可兌換一次，逾期視同放棄。","該序號可兌換的單片或月租依各活動說明為準。","若發生系統問題導致無法兌換，將保留變更或終止活動時間、內容權利。","因網路連線品質不定，請送出後靜待數分鐘，勿於短時間內重複輸入，以免序號失效造成損失。"],oe="儲值金或看片金",ie="儲值金或看片金",ue="輸入序號即可獲得儲值金或看片金",le="儲值金、看片金使用方式",ce=["結帳時：直接選擇帳戶內之儲值金或看片金付款。","若餘額不足：帳戶內之儲值金或看片金餘額不足，可使用台灣大電信帳單、信用卡支付差額。"],se=["履約保證：儲值金表彰之金額，已經星展銀行提供足額履約保證，前開保證期間自出售日起一年。履約保證銀行如有更換，將另行公告。","門市售出之MyVideo儲值卡，售出後無法補發，序號開通啟用後，無法退費或比例折讓，亦不得要求變更或轉換為其他商品；若在啟用前要取消，請持原始儲值卡和發票，至原購買門市辦理。","儲值金具專屬性，一經兌換儲值匯入用戶指定帳戶，即可使用，惟不得任意轉讓或移轉予第三人。","看片金到期後將自動失效，其扣抵限額與扣抵規則，依MyVideo各活動規範為準。看片金不得轉讓予任何第三人或要求轉換成現金或其他贈品。"],fe="網址資料錯誤",de="立即前往",pe="分享序號",he="1",me="2",ve="3",ye="playMovie",ge="playVideo",be="6",we="https://blog.myvideo.net.tw/",xe=Object.freeze({step0:"step0",step1:"step1",step2:"step2",step4:"step4"}),Ee={TWM_MyVideoAPI:"https://mgw3.myvideo.net.tw/myVideo.api/",TWM_SERVICE_GATEWAY_API:"https://mgw3.myvideo.net.tw/twmsgw.api/",TWM_SERVICE_GATEWAY_API_SHUNT:"https://mgw2.myvideo.net.tw/myVideo.api/",TWM_SERVICE_GATEWAY_API_PREMIUM:"https://mgw.myvideo.net.tw/twmsgw.api/"}},10:function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,i,u=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))a.call(n,c)&&(u[c]=n[c]);if(r){i=r(n);for(var s=0;s<i.length;s++)o.call(n,i[s])&&(u[i[s]]=n[i[s]])}}return u}},11:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){}}(),e.exports=n(15)},127:function(e,t,n){e.exports=n(144)},14:function(e,t,n){"use strict";
/** @license React v16.14.0
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(10),a="function"==typeof Symbol&&Symbol.for,o=a?Symbol.for("react.element"):60103,i=a?Symbol.for("react.portal"):60106,u=a?Symbol.for("react.fragment"):60107,l=a?Symbol.for("react.strict_mode"):60108,c=a?Symbol.for("react.profiler"):60114,s=a?Symbol.for("react.provider"):60109,f=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.forward_ref"):60112,p=a?Symbol.for("react.suspense"):60113,h=a?Symbol.for("react.memo"):60115,m=a?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||g}function x(){}function E(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||g}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(y(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=w.prototype;var T=E.prototype=new x;T.constructor=E,r(T,w.prototype),T.isPureReactComponent=!0;var k={current:null},S=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var r,a={},i=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(i=""+t.key),t)S.call(t,r)&&!C.hasOwnProperty(r)&&(a[r]=t[r]);var l=arguments.length-2;if(1===l)a.children=n;else if(1<l){for(var c=Array(l),s=0;s<l;s++)c[s]=arguments[s+2];a.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===a[r]&&(a[r]=l[r]);return{$$typeof:o,type:e,key:i,ref:u,props:a,_owner:k.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var j=/\/+/g,O=[];function N(e,t,n,r){if(O.length){var a=O.pop();return a.result=e,a.keyPrefix=t,a.func=n,a.context=r,a.count=0,a}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>O.length&&O.push(e)}function L(e,t,n,r){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var u=!1;if(null===e)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case o:case i:u=!0}}if(u)return n(r,e,""===t?"."+M(e,0):t),1;if(u=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l<e.length;l++){var c=t+M(a=e[l],l);u+=L(a,c,n,r)}else if(null===e||"object"!=typeof e?c=null:c="function"==typeof(c=v&&e[v]||e["@@iterator"])?c:null,"function"==typeof c)for(e=c.call(e),l=0;!(a=e.next()).done;)u+=L(a=a.value,c=t+M(a,l++),n,r);else if("object"===a)throw n=""+e,Error(y(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return u}function F(e,t,n){return null==e?0:L(e,"",t,n)}function M(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function R(e,t){e.func.call(e.context,t,e.count++)}function A(e,t,n){var r=e.result,a=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?D(e,r,n,(function(e){return e})):null!=e&&(_(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,a+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+n)),r.push(e))}function D(e,t,n,r,a){var o="";null!=n&&(o=(""+n).replace(j,"$&/")+"/"),F(e,A,t=N(t,o,r,a)),I(t)}var z={current:null};function V(){var e=z.current;if(null===e)throw Error(y(321));return e}var U={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return D(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;F(e,R,t=N(null,null,t,n)),I(t)},count:function(e){return F(e,(function(){return null}),null)},toArray:function(e){var t=[];return D(e,t,null,(function(e){return e})),t},only:function(e){if(!_(e))throw Error(y(143));return e}},t.Component=w,t.Fragment=u,t.Profiler=c,t.PureComponent=E,t.StrictMode=l,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null==e)throw Error(y(267,e));var a=r({},e.props),i=e.key,u=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,l=k.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)S.call(t,s)&&!C.hasOwnProperty(s)&&(a[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)a.children=n;else if(1<s){c=Array(s);for(var f=0;f<s;f++)c[f]=arguments[f+2];a.children=c}return{$$typeof:o,type:e.type,key:i,ref:u,props:a,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=P,t.createFactory=function(e){var t=P.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return V().useCallback(e,t)},t.useContext=function(e,t){return V().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return V().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return V().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return V().useLayoutEffect(e,t)},t.useMemo=function(e,t){return V().useMemo(e,t)},t.useReducer=function(e,t,n){return V().useReducer(e,t,n)},t.useRef=function(e){return V().useRef(e)},t.useState=function(e){return V().useState(e)},t.version="16.14.0"},144:function(e,t,n){"use strict";n.r(t);var r=n(11),a=n.n(r),o=n(0),i=n.n(o),u=n(33),l=n(6);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function s(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */s=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),u=new I(r||[]);return a(i,"_invoke",{value:_(e,n,u)}),i}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",v="executing",y="completed",g={};function b(){}function w(){}function x(){}var E={};f(E,i,(function(){return this}));var T=Object.getPrototypeOf,k=T&&T(T(L([])));k&&k!==n&&r.call(k,i)&&(E=k);var S=x.prototype=b.prototype=Object.create(E);function C(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(a,o,i,u){var l=p(e[a],e,o);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==c(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,i,u)}),(function(e){n("throw",e,i,u)})):t.resolve(f).then((function(e){s.value=e,i(s)}),(function(e){return n("throw",e,i,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function _(t,n,r){var a=h;return function(o,i){if(a===v)throw Error("Generator is already running");if(a===y){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var u=r.delegate;if(u){var l=j(u,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===h)throw a=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=v;var c=p(t,n,r);if("normal"===c.type){if(a=r.done?y:m,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(a=y,r.method="throw",r.arg=c.arg)}}}function j(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=p(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(c(t)+" is not iterable")}return w.prototype=x,a(S,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:w,configurable:!0}),w.displayName=f(x,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,f(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},C(P.prototype),f(P.prototype,u,(function(){return this})),t.AsyncIterator=P,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new P(d(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},C(S),f(S,l,"Generator"),f(S,i,(function(){return this})),f(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return u.type="throw",u.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;N(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function f(e,t,n,r,a,o,i){try{var u=e[o](i),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,a)}function d(e){e.keyword;var t=e.setKeyword,n=(e.channelList,e.setChannelList),r=(e.videoList,e.setVideoList),a=(e.recommendList,e.setRecommendList),c=Object(o.useRef)(null),d=Object(o.useRef)(null),p=location.href.split("?")[0];function h(e){return m.apply(this,arguments)}function m(){var e;return e=s().mark((function e(t){var n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,fetch("/ajax/ajaxFindMyVideoListByKeyWordV2.do",{method:"POST",cache:"no-cache",headers:{"Content-Type":"application/json"},body:JSON.stringify({keyword:"".concat(t)})});case 3:return n=e.sent,e.abrupt("return",n.json());case 5:case"end":return e.stop()}}),e)})),m=function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){f(o,r,a,i,u,"next",e)}function u(e){f(o,r,a,i,u,"throw",e)}i(void 0)}))},m.apply(this,arguments)}function v(e,o){e.data;var i=d.current.value.trim();if(y(i),t(i),window.scrollTo({top:0,left:0,behavior:"smooth"}),i){i.length>40&&(i=i.slice(0,40)),h(i).then((function(e){if(e){n(e.channelList),r(e.videoList),a(e.recommendList);var t="".concat(i,"線上看 | MyVideo 陪你每一刻");document.title=t,document.querySelector('meta[property="og:title"]').setAttribute("content",t);for(var o="",l=0;l<e.videoList.length&&l<3;l++)e.videoList[l].videoTitle&&(l>0&&(o+="、"),o+=Object(u.e)(e.videoList[l].videoTitle));var c="".concat(i,"相關推薦，").concat(o,"精彩影片線上看");document.querySelector('meta[name="description"]').setAttribute("content",c),document.querySelector('meta[property="og:description"]').setAttribute("content",c)}})).catch((function(e){}));var c="isHot=N&keyword=".concat(i);Object(l.ab)("".concat("SEAR"),"".concat(c))}else n(null),r(null)}Object(o.useEffect)((function(){c.current.addEventListener("keydown",(function(e){13===e.keyCode&&e.preventDefault()}))}),[]),Object(o.useEffect)((function(){var e,t,n;d.current.addEventListener("keydown",(e=function(e){return v(e,"debounce")},t=800,function(){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];clearTimeout(n),n=setTimeout((function(){e.apply(void 0,a)}),t)})),(/iPhone/.test(window.navigator.userAgent)||/iPad/.test(window.navigator.userAgent)||/Mac/.test(window.navigator.userAgent)&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2)&&d.current.addEventListener("compositionend",(function(e){return v(e,"compositionend")}))}),[d]),Object(o.useEffect)((function(){window.searchParam&&(d.current.value=Object(u.e)(window.searchParam),document.querySelector('link[rel="canonical"]').setAttribute("href","".concat(p,"?q=").concat(Object(u.e)(window.searchParam))),t(Object(u.e)(window.searchParam)),h(window.searchParam).then((function(e){if(e){n(e.channelList),r(e.videoList),a(e.recommendList);var t="".concat(Object(u.e)(window.searchParam),"線上看 | MyVideo 陪你每一刻");document.title=t,document.querySelector('meta[property="og:title"]').setAttribute("content",t);for(var o="",i=0;i<e.videoList.length&&i<3;i++)e.videoList[i].videoTitle&&(i>0&&(o+="、"),o+=Object(u.e)(e.videoList[i].videoTitle));var l="".concat(Object(u.e)(window.searchParam),"相關推薦，").concat(o,"精彩影片線上看");document.querySelector('meta[name="description"]').setAttribute("content",l),document.querySelector('meta[property="og:description"]').setAttribute("content",l)}})).catch((function(e){})))}),[]);var y=function(e){var t=p+"?q="+e;0==e.length&&(t=p),window.history.replaceState(null,null,t),document.querySelector('link[rel="canonical"]').setAttribute("href",t)};var g="".concat(window.PSCPath,"/static/images/RWD/icon_search.svg");return i.a.createElement("form",{className:"searchOuter",ref:c},i.a.createElement("label",{className:"searchInner"},i.a.createElement("img",{className:"searchIcon",src:g}),i.a.createElement("input",{type:"text",className:"searchInput",placeholder:"搜尋片名、導演、演員",maxLength:"40",ref:d,inputMode:"search",autoFocus:!0,required:!0}),i.a.createElement("button",{type:"reset",className:"searchClear",onClick:function(){t(""),y(""),n(null),r(null),window.scrollTo({top:0,left:0,behavior:"smooth"})}})))}function p(e){var t=e.keyword,n=e.videoList,r=e.videoListType,a=e.showMainCategoryDesc,o=n.map((function(e,n){return i.a.createElement("li",{key:n,onClick:function(){return function(e,t,n){var r="",a="",o=t.id,i="0"===t.seriesType?"0":"1",u="",c="";"SR"===n?r="REC1":"RCM"===n&&(r="RECUSS");"RECUSS"===r&&(u=t.gaType);"0"===t.seriesType?c="CNDES":"1"===t.seriesType?c="CNPKG":"2"===t.seriesType?c="CNCLL":"3"===t.seriesType&&(c="CNGRP");"REC1"===r?a="CONTENT_ID=".concat(o,"&IS_SERIES=").concat(i,"&SLOT_PG=SEAR&PG_INFO=isHot=N&keyword=").concat(e):(r="RECUSS")&&(a="CONTENT_ID=".concat(o,"&IS_SERIES=").concat(i,"&AB_TYPE=").concat(u,"&SLOT_PG=").concat(c,"&PAGE_INFO=").concat(t.id));"DF"!==n&&Object(l.ab)("".concat(r),"".concat(a))}(t,e,r)}},i.a.createElement(h,{keyword:t,video:e,showMainCategoryDesc:a}))}));return i.a.createElement("ul",null,o)}function h(e){var t,n=e.video,r=e.showMainCategoryDesc,a=Object(u.e)(n.videoTitle),o=Object(u.e)(n.mainCategoryDesc),l=null!==(t=n.videoPic02)&&void 0!==t&&t.trim()?n.videoPic02:"".concat(window.PSCPath,"/static/images/RWD/default_poster.png"),c="".concat(window.PSCPath,"/details/").concat(n.seriesType,"/").concat(n.id);return i.a.createElement("a",{href:c},i.a.createElement("div",{className:"imgBox"},i.a.createElement("img",{className:"poster",loading:"lazy",src:l,onError:function(e){e.target.onerror=null,e.target.src="".concat(window.PSCPath,"/static/images/RWD/default_poster.png")}}),i.a.createElement("div",{className:"tagTopArea"},i.a.createElement(m,{video:n,position:"top"})),i.a.createElement("div",{className:"tagBottomArea"},i.a.createElement(m,{video:n,position:"bottom"}))),i.a.createElement("h3",null,a),r&&i.a.createElement("h4",null,o))}function m(e){var t,n,r,a=e.video,o=e.position;return"top"===o?(t=a.upTagWording,n=a.upTagBG,r=a.upTagFG):"bottom"===o&&(t=a.downTagWordingV2?a.downTagWordingV2:a.downTagWording,n=a.downTagWordingV2?a.downTagBGV2:a.downtagBG,r=a.downTagWordingV2?a.downTagFGV2:a.downTagFG),!!t&&i.a.createElement("div",{className:"tag",style:{backgroundColor:n,color:r}},t)}function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),u=new I(r||[]);return a(i,"_invoke",{value:_(e,n,u)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",g={};function b(){}function w(){}function x(){}var E={};c(E,i,(function(){return this}));var T=Object.getPrototypeOf,k=T&&T(T(L([])));k&&k!==n&&r.call(k,i)&&(E=k);var S=x.prototype=b.prototype=Object.create(E);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(a,o,i,u){var l=f(e[a],e,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==v(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){n("next",e,i,u)}),(function(e){n("throw",e,i,u)})):t.resolve(s).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function _(t,n,r){var a=d;return function(o,i){if(a===h)throw Error("Generator is already running");if(a===m){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var u=r.delegate;if(u){var l=j(u,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===d)throw a=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=h;var c=f(t,n,r);if("normal"===c.type){if(a=r.done?m:p,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(a=m,r.method="throw",r.arg=c.arg)}}}function j(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=f(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(v(t)+" is not iterable")}return w.prototype=x,a(S,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:w,configurable:!0}),w.displayName=c(x,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,c(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},C(P.prototype),c(P.prototype,u,(function(){return this})),t.AsyncIterator=P,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new P(s(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},C(S),c(S,l,"Generator"),c(S,i,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return u.type="throw",u.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;N(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function g(e,t,n,r,a,o,i){try{var u=e[o](i),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,a)}function b(e){var t=e.kidMode,n=e.keyword,r=e.defaultVideoList,a=e.setDefaultVideoList;function u(){var e;return e=y().mark((function e(){var t;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("/ajax/ajaxFindVideoForHotKeyword.do",{method:"POST",cache:"no-cache"});case 2:return t=e.sent,e.abrupt("return",t.json());case 4:case"end":return e.stop()}}),e)})),u=function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){g(o,r,a,i,u,"next",e)}function u(e){g(o,r,a,i,u,"throw",e)}i(void 0)}))},u.apply(this,arguments)}return Object(o.useEffect)((function(){0===r.length&&function(){return u.apply(this,arguments)}().then((function(e){e.videoList.length>0&&(e.videoList,a(e.videoList))})).catch((function(e){}))}),[r]),!!("0"===t&&!n&&r&&r.length>0)&&i.a.createElement("section",{className:"videoBlock"},i.a.createElement("h2",{className:"title"},"熱門搜尋"),i.a.createElement(p,{keyword:n,videoList:r,videoListType:"DF",showMainCategoryDesc:!0}))}var w=n(41);function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return u}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var T=function(e){var t=e.channel,n=e.setShowPopUp,r=e.setPopUpTitle,a=e.setPopUpWording,u=e.configSwiper;if(!t)return i.a.createElement(i.a.Fragment,null);var l=t.channelPic?t.channelPic:w.a,c=t.program.programName;t.channelDesc;Object(o.useEffect)((function(){u&&u()}),[t]);var s=c?i.a.createElement("h4",null,c):i.a.createElement(i.a.Fragment,null);return i.a.createElement("li",{className:"swiper-slide",key:t.channelId,onClick:function(){fetch("/ajax/ajaxFindChannelV2Data.do?channelId=".concat(t.channelId,"&withYoutube=Y")).then((function(e){return e.json()})).then((function(e){var o,i;if(null!=e&&null!==(o=e.status)&&void 0!==o&&o.code&&"0"===(null==e?void 0:e.status.code)&&null!=e&&null!==(i=e.data)&&void 0!==i&&i.channelV2){var u=e.data.channelV2;1!==u.channelStatus?(0===u.channelStatus&&(n(!0),r("尚未開播"),a(u.channelStatusDescForClick)),9===u.channelStatus&&(n(!0),r("直播已結束"),a(u.channelStatusDescForClick))):location.href="/LiveChannel/"+t.channelId}})).catch((function(e){}))}},i.a.createElement("a",null,i.a.createElement("div",{className:"imgBox"},i.a.createElement("img",{className:"poster",src:l,onError:function(e){e.target.onerror=null,e.target.src=w.a}}),i.a.createElement(k,{channelStatus:t.channelStatus,descString:t.channelStatusDescForPic})),i.a.createElement("h3",null,t.channelName),s))},k=function(e){var t=e.channelStatus,n=e.descString;if(!t||"1"===t||!n)return i.a.createElement(i.a.Fragment,null);var r={};if("0"===t)r={backgroundColor:"rgb(255, 221, 0)",color:"rgb(0, 0, 0)"};else{if("9"!==t)return i.a.createElement(i.a.Fragment,null);r={backgroundColor:"rgba(0, 0, 0, 0.90)",color:"rgba(255, 255, 255, 1"}}return i.a.createElement("div",{className:"tagBottomArea"},i.a.createElement("div",{className:"tag",style:r},n))},S=function(e){var t=e.showPopUp,n=e.setShowPopUp,r=e.popUpWording;return t?i.a.createElement("section",{className:"popUp base",style:{display:"block"}},i.a.createElement("div",{className:"popUpBox"},i.a.createElement("div",{className:"popUpBoxContent"},i.a.createElement("h4",{className:"title"},r)),i.a.createElement("div",{className:"btnBox orderReverse"},i.a.createElement("button",{className:"btn color size_50_45_36 size_auto_auto_full sendBtn",onClick:function(){n(!1)}},"我知道了")))):i.a.createElement(i.a.Fragment,null)},C=function(e){var t=e.kidMode,n=e.channelList,r=e.keyword;if("1"===t||!n||!r||0===n.length)return i.a.createElement(i.a.Fragment,null);var a=x(Object(o.useState)(!1),2),u=a[0],l=a[1],c=x(Object(o.useState)(""),2),s=(c[0],c[1]),f=x(Object(o.useState)(""),2),d=f[0],p=f[1],h=function(){new Swiper(".liveVideo-slider",{speed:800,loop:!1,slidesPerView:2.7,spaceBetween:10,navigation:{nextEl:".liveVideo-swiper-next",prevEl:".liveVideo-swiper-prev"},breakpoints:{768:{slidesPerView:3.4,spaceBetween:20},1024:{slidesPerView:4.25,spaceBetween:36}}})};return i.a.createElement(i.a.Fragment,null,i.a.createElement("section",{className:"liveVideoBlock videoBlock"},i.a.createElement("h2",{className:"title"},"直播"),i.a.createElement("div",{className:"liveVideo-slider swiper"},i.a.createElement("ul",{className:"swiper-wrapper"},n.map((function(e,t){return i.a.createElement(T,{channel:e,setPopUpTitle:s,setPopUpWording:p,setShowPopUp:l,configSwiper:t===n.length-1&&h})}))),i.a.createElement("div",{className:"liveVideo-swiper-navigation"},i.a.createElement("div",{className:"liveVideo-swiper-prev"},i.a.createElement("img",{src:"/static/images/RWD/icon_arrow_left_w.svg"})),i.a.createElement("div",{className:"liveVideo-swiper-next"},i.a.createElement("img",{src:"/static/images/RWD/icon_arrow_left_w.svg"}))))),i.a.createElement(S,{showPopUp:u,setShowPopUp:l,popUpWording:d}))};function P(e){var t=e.keyword,n=e.videoList;return!!(t&&n&&n.length>0)&&i.a.createElement("section",{className:"videoBlock"},i.a.createElement("h2",{className:"title"},"相關結果"),i.a.createElement(p,{keyword:t,videoList:n,videoListType:"SR",showMainCategoryDesc:!0}))}var _=n(1);function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return u}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var N=function(e){var t=e.character;if(!t)return i.a.createElement(i.a.Fragment,null);var n="/mainGroup/Group/"+encodeURIComponent(t.groupId)+"/";return i.a.createElement("li",null,i.a.createElement("a",{href:n},i.a.createElement("div",{className:"imgBox"},i.a.createElement("img",{className:"poster",src:t.imageUrl2,loading:"lazy"})),i.a.createElement("h3",null,t.chtName)))},I=function(e){var t=e.isShow,n=e.kidMode,r=e.constantsObj;if(!t||"0"===n||!r)return i.a.createElement(i.a.Fragment,null);var a=_.r.TWM_SERVICE_GATEWAY_API+"FindUxCharacter.json",u=j(Object(o.useState)([]),2),l=u[0],c=u[1];return Object(o.useEffect)((function(){!function(){if(null==r||!r.chk||null==r||!r.chl||null==r||!r.callerInfoInput.deviceType)return[];var e={chk:r.chk,chl:r.chl,devType:r.callerInfoInput.deviceType};fetch(a+"?"+new URLSearchParams(e)).then((function(e){return e.json()})).then((function(e){"0"===e.status.code&&c(e.data.characterList.character)})).catch((function(e){}))}()}),[]),i.a.createElement("section",{className:"videoBlock characterBlock"},i.a.createElement("h2",{className:"title"},"可以透過喜歡的角色挑選影片喔！"),i.a.createElement("ul",null,l.map((function(e){return i.a.createElement(N,{character:e})}))))};function L(e){var t=e.keyword,n=e.channelList,r=e.videoList;return!!(t&&n&&0===n.length&&r&&0===r.length)&&i.a.createElement("div",{className:"contentEmpty"},i.a.createElement("h2",{className:"title"},"找不到這部影片。"),i.a.createElement("p",null,"沒有符合此關鍵字的內容，搜尋看看其他影片吧！"))}var F=function(e){var t=e.recommendList,n=e.keyword;return n&&t&&0!==t.length?i.a.createElement("section",{className:"videoBlock"},i.a.createElement("h2",{className:"title"},"你可能也喜歡"),i.a.createElement(p,{keyword:n,videoList:t,videoListType:"RCM",showMainCategoryDesc:!1})):i.a.createElement(i.a.Fragment,null)};function M(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return u}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var A=function(){var e=M(Object(o.useState)(""),2),t=e[0],n=e[1],r=M(Object(o.useState)([]),2),a=r[0],u=r[1],l=M(Object(o.useState)(null),2),c=l[0],s=l[1],f=M(Object(o.useState)(null),2),p=f[0],h=f[1],m=M(Object(o.useState)([]),2),v=m[0],y=m[1],g=M(Object(o.useState)("0"),2),w=g[0],x=g[1],E=M(Object(o.useState)({}),2),T=E[0],k=E[1];Object(o.useEffect)((function(){S()}),[]);var S=function(){fetch("/ajax/ajaxGetConstants.do").then((function(e){return e.json()})).then((function(e){var t;k(e),x("1"===(null===(t=e.callerInfoInput)||void 0===t?void 0:t.kidMode)?"1":"0")})).catch((function(e){0!==e.readyState&&(window.location="/serverErrorPageHanlder.do")}))};return i.a.createElement(i.a.Fragment,null,i.a.createElement("main",null,i.a.createElement("div",{className:"mainContent minHeight"},i.a.createElement("div",{className:"topArea"},i.a.createElement("ul",{className:"breadcrumbs"},i.a.createElement("li",null,i.a.createElement("a",{href:"/"},"MyVideo首頁")),i.a.createElement("li",null,i.a.createElement("a",{href:"".concat(window.PSCPath,"/search/")},"搜尋"))),i.a.createElement(d,{setKeyword:n,channelList:c,setChannelList:s,videoList:p,setVideoList:h,recommendList:v,setRecommendList:y})),i.a.createElement("article",{className:"resultArea"},i.a.createElement(b,{kidMode:w,keyword:t,defaultVideoList:a,setDefaultVideoList:u}),i.a.createElement(C,{kidMode:w,channelList:c,keyword:t}),i.a.createElement(P,{keyword:t,videoList:p}),i.a.createElement(L,{keyword:t,channelList:c,videoList:p}),i.a.createElement(F,{recommendList:v,keyword:t}),i.a.createElement(I,{isShow:0==t.length,kidMode:w,constantsObj:T})))))};a.a.render(i.a.createElement(A,null),document.getElementById("reactRenderSearchResult"),(function(){}))},15:function(e,t,n){"use strict";
/** @license React v16.14.0
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(0),a=n(10),o=n(16);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));function u(e,t,n,r,a,o,i,u,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var l=!1,c=null,s=!1,f=null,d={onError:function(e){l=!0,c=e}};function p(e,t,n,r,a,o,i,s,f){l=!1,c=null,u.apply(d,arguments)}var h=null,m=null,v=null;function y(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,a,o,u,d,h){if(p.apply(this,arguments),l){if(!l)throw Error(i(198));var m=c;l=!1,c=null,s||(s=!0,f=m)}}(r,t,void 0,e),e.currentTarget=null}var g=null,b={};function w(){if(g)for(var e in b){var t=b[e],n=g.indexOf(e);if(!(-1<n))throw Error(i(96,e));if(!E[n]){if(!t.extractEvents)throw Error(i(97,e));for(var r in E[n]=t,n=t.eventTypes){var a=void 0,o=n[r],u=t,l=r;if(T.hasOwnProperty(l))throw Error(i(99,l));T[l]=o;var c=o.phasedRegistrationNames;if(c){for(a in c)c.hasOwnProperty(a)&&x(c[a],u,l);a=!0}else o.registrationName?(x(o.registrationName,u,l),a=!0):a=!1;if(!a)throw Error(i(98,r,e))}}}}function x(e,t,n){if(k[e])throw Error(i(100,e));k[e]=t,S[e]=t.eventTypes[n].dependencies}var E=[],T={},k={},S={};function C(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(i(102,t));b[t]=r,n=!0}}n&&w()}var P=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),_=null,j=null,O=null;function N(e){if(e=m(e)){if("function"!=typeof _)throw Error(i(280));var t=e.stateNode;t&&(t=h(t),_(e.stateNode,e.type,t))}}function I(e){j?O?O.push(e):O=[e]:j=e}function L(){if(j){var e=j,t=O;if(O=j=null,N(e),t)for(e=0;e<t.length;e++)N(t[e])}}function F(e,t){return e(t)}function M(e,t,n,r,a){return e(t,n,r,a)}function R(){}var A=F,D=!1,z=!1;function V(){null===j&&null===O||(R(),L())}function U(e,t,n){if(z)return e(t,n);z=!0;try{return A(e,t,n)}finally{z=!1,V()}}var B=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,W=Object.prototype.hasOwnProperty,G={},H={};function Q(e,t,n,r,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Y[e]=new Q(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Y[t]=new Q(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Y[e]=new Q(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Y[e]=new Q(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Y[e]=new Q(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Y[e]=new Q(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){Y[e]=new Q(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){Y[e]=new Q(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){Y[e]=new Q(e,5,!1,e.toLowerCase(),null,!1)}));var $=/[\-:]([a-z])/g;function q(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace($,q);Y[t]=new Q(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace($,q);Y[t]=new Q(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace($,q);Y[t]=new Q(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){Y[e]=new Q(e,1,!1,e.toLowerCase(),null,!1)})),Y.xlinkHref=new Q("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){Y[e]=new Q(e,1,!1,e.toLowerCase(),null,!0)}));var K=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function X(e,t,n,r){var a=Y.hasOwnProperty(t)?Y[t]:null;(null!==a?0===a.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!W.call(H,e)||!W.call(G,e)&&(B.test(e)?H[e]=!0:(G[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}K.hasOwnProperty("ReactCurrentDispatcher")||(K.ReactCurrentDispatcher={current:null}),K.hasOwnProperty("ReactCurrentBatchConfig")||(K.ReactCurrentBatchConfig={suspense:null});var J=/^(.*)[\\\/]/,Z="function"==typeof Symbol&&Symbol.for,ee=Z?Symbol.for("react.element"):60103,te=Z?Symbol.for("react.portal"):60106,ne=Z?Symbol.for("react.fragment"):60107,re=Z?Symbol.for("react.strict_mode"):60108,ae=Z?Symbol.for("react.profiler"):60114,oe=Z?Symbol.for("react.provider"):60109,ie=Z?Symbol.for("react.context"):60110,ue=Z?Symbol.for("react.concurrent_mode"):60111,le=Z?Symbol.for("react.forward_ref"):60112,ce=Z?Symbol.for("react.suspense"):60113,se=Z?Symbol.for("react.suspense_list"):60120,fe=Z?Symbol.for("react.memo"):60115,de=Z?Symbol.for("react.lazy"):60116,pe=Z?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ae:return"Profiler";case re:return"StrictMode";case ce:return"Suspense";case se:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ie:return"Context.Consumer";case oe:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return ve(e.type);case pe:return ve(e.render);case de:if(e=1===e._status?e._result:null)return ve(e)}return null}function ye(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,a=e._debugSource,o=ve(e.type);n=null,r&&(n=ve(r.type)),r=o,o="",a?o=" (at "+a.fileName.replace(J,"")+":"+a.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n    in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}function ge(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function we(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function xe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ee(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Te(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ge(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ke(e,t){null!=(t=t.checked)&&X(e,"checked",t,!1)}function Se(e,t){ke(e,t);var n=ge(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Pe(e,t.type,n):t.hasOwnProperty("defaultValue")&&Pe(e,t.type,ge(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ce(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Pe(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function _e(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function je(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ge(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function Oe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ne(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ge(n)}}function Ie(e,t){var n=ge(t.value),r=ge(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Fe="http://www.w3.org/1999/xhtml",Me="http://www.w3.org/2000/svg";function Re(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ae(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Re(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var De,ze,Ve=(ze=function(e,t){if(e.namespaceURI!==Me||"innerHTML"in e)e.innerHTML=t;else{for((De=De||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=De.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ze(e,t)}))}:ze);function Ue(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Be(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var We={animationend:Be("Animation","AnimationEnd"),animationiteration:Be("Animation","AnimationIteration"),animationstart:Be("Animation","AnimationStart"),transitionend:Be("Transition","TransitionEnd")},Ge={},He={};function Qe(e){if(Ge[e])return Ge[e];if(!We[e])return e;var t,n=We[e];for(t in n)if(n.hasOwnProperty(t)&&t in He)return Ge[e]=n[t];return e}P&&(He=document.createElement("div").style,"AnimationEvent"in window||(delete We.animationend.animation,delete We.animationiteration.animation,delete We.animationstart.animation),"TransitionEvent"in window||delete We.transitionend.transition);var Ye=Qe("animationend"),$e=Qe("animationiteration"),qe=Qe("animationstart"),Ke=Qe("transitionend"),Xe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Je=new("function"==typeof WeakMap?WeakMap:Map);function Ze(e){var t=Je.get(e);return void 0===t&&(t=new Map,Je.set(e,t)),t}function et(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function tt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function nt(e){if(et(e)!==e)throw Error(i(188))}function rt(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=et(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return nt(a),e;if(o===r)return nt(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var u=!1,l=a.child;l;){if(l===n){u=!0,n=a,r=o;break}if(l===r){u=!0,r=a,n=o;break}l=l.sibling}if(!u){for(l=o.child;l;){if(l===n){u=!0,n=o,r=a;break}if(l===r){u=!0,r=o,n=a;break}l=l.sibling}if(!u)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function at(e,t){if(null==t)throw Error(i(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function ut(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)y(e,t[r],n[r]);else t&&y(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function lt(e){if(null!==e&&(it=at(it,e)),e=it,it=null,e){if(ot(e,ut),it)throw Error(i(95));if(s)throw e=f,s=!1,f=null,e}}function ct(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function st(e){if(!P)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ft=[];function dt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ft.length&&ft.push(e)}function pt(e,t,n,r){if(ft.length){var a=ft.pop();return a.topLevelType=e,a.eventSystemFlags=r,a.nativeEvent=t,a.targetInst=n,a}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function ht(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Ln(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var a=ct(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,i=e.eventSystemFlags;0===n&&(i|=64);for(var u=null,l=0;l<E.length;l++){var c=E[l];c&&(c=c.extractEvents(r,t,o,a,i))&&(u=at(u,c))}lt(u)}}function mt(e,t,n){if(!n.has(e)){switch(e){case"scroll":qt(t,"scroll",!0);break;case"focus":case"blur":qt(t,"focus",!0),qt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":st(e)&&qt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Xe.indexOf(e)&&$t(e,t)}n.set(e,null)}}var vt,yt,gt,bt=!1,wt=[],xt=null,Et=null,Tt=null,kt=new Map,St=new Map,Ct=[],Pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),_t="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function jt(e,t,n,r,a){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:a,container:r}}function Ot(e,t){switch(e){case"focus":case"blur":xt=null;break;case"dragenter":case"dragleave":Et=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":kt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":St.delete(t.pointerId)}}function Nt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e=jt(t,n,r,a,o),null!==t&&(null!==(t=Fn(t))&&yt(t)),e):(e.eventSystemFlags|=r,e)}function It(e){var t=Ln(e.target);if(null!==t){var n=et(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tt(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){gt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Fn(t);return null!==n&&yt(n),e.blockedOn=t,!1}return!0}function Ft(e,t,n){Lt(e)&&n.delete(t)}function Mt(){for(bt=!1;0<wt.length;){var e=wt[0];if(null!==e.blockedOn){null!==(e=Fn(e.blockedOn))&&vt(e);break}var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:wt.shift()}null!==xt&&Lt(xt)&&(xt=null),null!==Et&&Lt(Et)&&(Et=null),null!==Tt&&Lt(Tt)&&(Tt=null),kt.forEach(Ft),St.forEach(Ft)}function Rt(e,t){e.blockedOn===t&&(e.blockedOn=null,bt||(bt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Mt)))}function At(e){function t(t){return Rt(t,e)}if(0<wt.length){Rt(wt[0],e);for(var n=1;n<wt.length;n++){var r=wt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==xt&&Rt(xt,e),null!==Et&&Rt(Et,e),null!==Tt&&Rt(Tt,e),kt.forEach(t),St.forEach(t),n=0;n<Ct.length;n++)(r=Ct[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ct.length&&null===(n=Ct[0]).blockedOn;)It(n),null===n.blockedOn&&Ct.shift()}var Dt={},zt=new Map,Vt=new Map,Ut=["abort","abort",Ye,"animationEnd",$e,"animationIteration",qe,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ke,"transitionEnd","waiting","waiting"];function Bt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1],o="on"+(a[0].toUpperCase()+a.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},Vt.set(r,t),zt.set(r,o),Dt[a]=o}}Bt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Bt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Bt(Ut,2);for(var Wt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Gt=0;Gt<Wt.length;Gt++)Vt.set(Wt[Gt],0);var Ht=o.unstable_UserBlockingPriority,Qt=o.unstable_runWithPriority,Yt=!0;function $t(e,t){qt(t,e,!1)}function qt(e,t,n){var r=Vt.get(t);switch(void 0===r?2:r){case 0:r=Kt.bind(null,t,1,e);break;case 1:r=Xt.bind(null,t,1,e);break;default:r=Jt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Kt(e,t,n,r){D||R();var a=Jt,o=D;D=!0;try{M(a,e,t,n,r)}finally{(D=o)||V()}}function Xt(e,t,n,r){Qt(Ht,Jt.bind(null,e,t,n,r))}function Jt(e,t,n,r){if(Yt)if(0<wt.length&&-1<Pt.indexOf(e))e=jt(null,e,t,n,r),wt.push(e);else{var a=Zt(e,t,n,r);if(null===a)Ot(e,r);else if(-1<Pt.indexOf(e))e=jt(a,e,t,n,r),wt.push(e);else if(!function(e,t,n,r,a){switch(t){case"focus":return xt=Nt(xt,e,t,n,r,a),!0;case"dragenter":return Et=Nt(Et,e,t,n,r,a),!0;case"mouseover":return Tt=Nt(Tt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return kt.set(o,Nt(kt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,St.set(o,Nt(St.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r)){Ot(e,r),e=pt(e,r,null,t);try{U(ht,e)}finally{dt(e)}}}}function Zt(e,t,n,r){if(null!==(n=Ln(n=ct(r)))){var a=et(n);if(null===a)n=null;else{var o=a.tag;if(13===o){if(null!==(n=tt(a)))return n;n=null}else if(3===o){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}e=pt(e,r,n,t);try{U(ht,e)}finally{dt(e)}return null}var en={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tn=["Webkit","ms","Moz","O"];function nn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||en.hasOwnProperty(e)&&en[e]?(""+t).trim():t+"px"}function rn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=nn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(en).forEach((function(e){tn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),en[t]=en[e]}))}));var an=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function on(e,t){if(t){if(an[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62,""))}}function un(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ln=Fe;function cn(e,t){var n=Ze(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=S[t];for(var r=0;r<t.length;r++)mt(t[r],e,n)}function sn(){}function fn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function dn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=dn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dn(r)}}function hn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mn(){for(var e=window,t=fn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=fn((e=t.contentWindow).document)}return t}function vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var yn="$",gn="/$",bn="$?",wn="$!",xn=null,En=null;function Tn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function kn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Sn="function"==typeof setTimeout?setTimeout:void 0,Cn="function"==typeof clearTimeout?clearTimeout:void 0;function Pn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function _n(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===yn||n===wn||n===bn){if(0===t)return e;t--}else n===gn&&t++}e=e.previousSibling}return null}var jn=Math.random().toString(36).slice(2),On="__reactInternalInstance$"+jn,Nn="__reactEventHandlers$"+jn,In="__reactContainere$"+jn;function Ln(e){var t=e[On];if(t)return t;for(var n=e.parentNode;n;){if(t=n[In]||n[On]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=_n(e);null!==e;){if(n=e[On])return n;e=_n(e)}return t}n=(e=n).parentNode}return null}function Fn(e){return!(e=e[On]||e[In])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Mn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Rn(e){return e[Nn]||null}function An(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Dn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}function zn(e,t,n){(t=Dn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=at(n._dispatchListeners,t),n._dispatchInstances=at(n._dispatchInstances,e))}function Vn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=An(t);for(t=n.length;0<t--;)zn(n[t],"captured",e);for(t=0;t<n.length;t++)zn(n[t],"bubbled",e)}}function Un(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Dn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=at(n._dispatchListeners,t),n._dispatchInstances=at(n._dispatchInstances,e))}function Bn(e){e&&e.dispatchConfig.registrationName&&Un(e._targetInst,null,e)}function Wn(e){ot(e,Vn)}var Gn=null,Hn=null,Qn=null;function Yn(){if(Qn)return Qn;var e,t,n=Hn,r=n.length,a="value"in Gn?Gn.value:Gn.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Qn=a.slice(e,1<t?1-t:void 0)}function $n(){return!0}function qn(){return!1}function Kn(e,t,n,r){for(var a in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(a)&&((t=e[a])?this[a]=t(n):"target"===a?this.target=r:this[a]=n[a]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?$n:qn,this.isPropagationStopped=qn,this}function Xn(e,t,n,r){if(this.eventPool.length){var a=this.eventPool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)}function Jn(e){if(!(e instanceof this))throw Error(i(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Zn(e){e.eventPool=[],e.getPooled=Xn,e.release=Jn}a(Kn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=$n)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=$n)},persist:function(){this.isPersistent=$n},isPersistent:qn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=qn,this._dispatchInstances=this._dispatchListeners=null}}),Kn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Kn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return a(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=a({},r.Interface,e),n.extend=r.extend,Zn(n),n},Zn(Kn);var er=Kn.extend({data:null}),tr=Kn.extend({data:null}),nr=[9,13,27,32],rr=P&&"CompositionEvent"in window,ar=null;P&&"documentMode"in document&&(ar=document.documentMode);var or=P&&"TextEvent"in window&&!ar,ir=P&&(!rr||ar&&8<ar&&11>=ar),ur=String.fromCharCode(32),lr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},cr=!1;function sr(e,t){switch(e){case"keyup":return-1!==nr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function fr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var dr=!1;var pr={eventTypes:lr,extractEvents:function(e,t,n,r){var a;if(rr)e:{switch(e){case"compositionstart":var o=lr.compositionStart;break e;case"compositionend":o=lr.compositionEnd;break e;case"compositionupdate":o=lr.compositionUpdate;break e}o=void 0}else dr?sr(e,n)&&(o=lr.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=lr.compositionStart);return o?(ir&&"ko"!==n.locale&&(dr||o!==lr.compositionStart?o===lr.compositionEnd&&dr&&(a=Yn()):(Hn="value"in(Gn=r)?Gn.value:Gn.textContent,dr=!0)),o=er.getPooled(o,t,n,r),a?o.data=a:null!==(a=fr(n))&&(o.data=a),Wn(o),a=o):a=null,(e=or?function(e,t){switch(e){case"compositionend":return fr(t);case"keypress":return 32!==t.which?null:(cr=!0,ur);case"textInput":return(e=t.data)===ur&&cr?null:e;default:return null}}(e,n):function(e,t){if(dr)return"compositionend"===e||!rr&&sr(e,t)?(e=Yn(),Qn=Hn=Gn=null,dr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ir&&"ko"!==t.locale?null:t.data}}(e,n))?((t=tr.getPooled(lr.beforeInput,t,n,r)).data=e,Wn(t)):t=null,null===a?t:null===t?a:[a,t]}},hr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function mr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!hr[e.type]:"textarea"===t}var vr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function yr(e,t,n){return(e=Kn.getPooled(vr.change,e,t,n)).type="change",I(n),Wn(e),e}var gr=null,br=null;function wr(e){lt(e)}function xr(e){if(xe(Mn(e)))return e}function Er(e,t){if("change"===e)return t}var Tr=!1;function kr(){gr&&(gr.detachEvent("onpropertychange",Sr),br=gr=null)}function Sr(e){if("value"===e.propertyName&&xr(br))if(e=yr(br,e,ct(e)),D)lt(e);else{D=!0;try{F(wr,e)}finally{D=!1,V()}}}function Cr(e,t,n){"focus"===e?(kr(),br=n,(gr=t).attachEvent("onpropertychange",Sr)):"blur"===e&&kr()}function Pr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return xr(br)}function _r(e,t){if("click"===e)return xr(t)}function jr(e,t){if("input"===e||"change"===e)return xr(t)}P&&(Tr=st("input")&&(!document.documentMode||9<document.documentMode));var Or={eventTypes:vr,_isInputEventSupported:Tr,extractEvents:function(e,t,n,r){var a=t?Mn(t):window,o=a.nodeName&&a.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===a.type)var i=Er;else if(mr(a))if(Tr)i=jr;else{i=Pr;var u=Cr}else(o=a.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(i=_r);if(i&&(i=i(e,t)))return yr(i,n,r);u&&u(e,a,t),"blur"===e&&(e=a._wrapperState)&&e.controlled&&"number"===a.type&&Pe(a,"number",a.value)}},Nr=Kn.extend({view:null,detail:null}),Ir={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Lr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ir[e])&&!!t[e]}function Fr(){return Lr}var Mr=0,Rr=0,Ar=!1,Dr=!1,zr=Nr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Fr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Mr;return Mr=e.screenX,Ar?"mousemove"===e.type?e.screenX-t:0:(Ar=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Rr;return Rr=e.screenY,Dr?"mousemove"===e.type?e.screenY-t:0:(Dr=!0,0)}}),Vr=zr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Ur={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Br={eventTypes:Ur,extractEvents:function(e,t,n,r,a){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&!(32&a)&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i)?(i=t,null!==(t=(t=n.relatedTarget||n.toElement)?Ln(t):null)&&(t!==et(t)||5!==t.tag&&6!==t.tag)&&(t=null)):i=null;if(i===t)return null;if("mouseout"===e||"mouseover"===e)var u=zr,l=Ur.mouseLeave,c=Ur.mouseEnter,s="mouse";else"pointerout"!==e&&"pointerover"!==e||(u=Vr,l=Ur.pointerLeave,c=Ur.pointerEnter,s="pointer");if(e=null==i?o:Mn(i),o=null==t?o:Mn(t),(l=u.getPooled(l,i,n,r)).type=s+"leave",l.target=e,l.relatedTarget=o,(n=u.getPooled(c,t,n,r)).type=s+"enter",n.target=o,n.relatedTarget=e,s=t,(r=i)&&s)e:{for(c=s,i=0,e=u=r;e;e=An(e))i++;for(e=0,t=c;t;t=An(t))e++;for(;0<i-e;)u=An(u),i--;for(;0<e-i;)c=An(c),e--;for(;i--;){if(u===c||u===c.alternate)break e;u=An(u),c=An(c)}u=null}else u=null;for(c=u,u=[];r&&r!==c&&(null===(i=r.alternate)||i!==c);)u.push(r),r=An(r);for(r=[];s&&s!==c&&(null===(i=s.alternate)||i!==c);)r.push(s),s=An(s);for(s=0;s<u.length;s++)Un(u[s],"bubbled",l);for(s=r.length;0<s--;)Un(r[s],"captured",n);return 64&a?[l,n]:[l]}};var Wr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Gr=Object.prototype.hasOwnProperty;function Hr(e,t){if(Wr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Gr.call(t,n[r])||!Wr(e[n[r]],t[n[r]]))return!1;return!0}var Qr=P&&"documentMode"in document&&11>=document.documentMode,Yr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},$r=null,qr=null,Kr=null,Xr=!1;function Jr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Xr||null==$r||$r!==fn(n)?null:("selectionStart"in(n=$r)&&vn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Kr&&Hr(Kr,n)?null:(Kr=n,(e=Kn.getPooled(Yr.select,qr,e,t)).type="select",e.target=$r,Wn(e),e))}var Zr={eventTypes:Yr,extractEvents:function(e,t,n,r,a,o){if(!(o=!(a=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{a=Ze(a),o=S.onSelect;for(var i=0;i<o.length;i++)if(!a.has(o[i])){a=!1;break e}a=!0}o=!a}if(o)return null;switch(a=t?Mn(t):window,e){case"focus":(mr(a)||"true"===a.contentEditable)&&($r=a,qr=t,Kr=null);break;case"blur":Kr=qr=$r=null;break;case"mousedown":Xr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Xr=!1,Jr(n,r);case"selectionchange":if(Qr)break;case"keydown":case"keyup":return Jr(n,r)}return null}},ea=Kn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),ta=Kn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),na=Nr.extend({relatedTarget:null});function ra(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var aa={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},oa={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ia=Nr.extend({key:function(e){if(e.key){var t=aa[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ra(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?oa[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Fr,charCode:function(e){return"keypress"===e.type?ra(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ra(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ua=zr.extend({dataTransfer:null}),la=Nr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Fr}),ca=Kn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),sa=zr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),fa={eventTypes:Dt,extractEvents:function(e,t,n,r){var a=zt.get(e);if(!a)return null;switch(e){case"keypress":if(0===ra(n))return null;case"keydown":case"keyup":e=ia;break;case"blur":case"focus":e=na;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=zr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=ua;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=la;break;case Ye:case $e:case qe:e=ea;break;case Ke:e=ca;break;case"scroll":e=Nr;break;case"wheel":e=sa;break;case"copy":case"cut":case"paste":e=ta;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Vr;break;default:e=Kn}return Wn(t=e.getPooled(a,t,n,r)),t}};if(g)throw Error(i(101));g=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),h=Rn,m=Fn,v=Mn,C({SimpleEventPlugin:fa,EnterLeaveEventPlugin:Br,ChangeEventPlugin:Or,SelectEventPlugin:Zr,BeforeInputEventPlugin:pr});var da=[],pa=-1;function ha(e){0>pa||(e.current=da[pa],da[pa]=null,pa--)}function ma(e,t){pa++,da[pa]=e.current,e.current=t}var va={},ya={current:va},ga={current:!1},ba=va;function wa(e,t){var n=e.type.contextTypes;if(!n)return va;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function xa(e){return null!=(e=e.childContextTypes)}function Ea(){ha(ga),ha(ya)}function Ta(e,t,n){if(ya.current!==va)throw Error(i(168));ma(ya,t),ma(ga,n)}function ka(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(i(108,ve(t)||"Unknown",o));return a({},n,{},r)}function Sa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||va,ba=ya.current,ma(ya,e),ma(ga,ga.current),!0}function Ca(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=ka(e,t,ba),r.__reactInternalMemoizedMergedChildContext=e,ha(ga),ha(ya),ma(ya,e)):ha(ga),ma(ga,n)}var Pa=o.unstable_runWithPriority,_a=o.unstable_scheduleCallback,ja=o.unstable_cancelCallback,Oa=o.unstable_requestPaint,Na=o.unstable_now,Ia=o.unstable_getCurrentPriorityLevel,La=o.unstable_ImmediatePriority,Fa=o.unstable_UserBlockingPriority,Ma=o.unstable_NormalPriority,Ra=o.unstable_LowPriority,Aa=o.unstable_IdlePriority,Da={},za=o.unstable_shouldYield,Va=void 0!==Oa?Oa:function(){},Ua=null,Ba=null,Wa=!1,Ga=Na(),Ha=1e4>Ga?Na:function(){return Na()-Ga};function Qa(){switch(Ia()){case La:return 99;case Fa:return 98;case Ma:return 97;case Ra:return 96;case Aa:return 95;default:throw Error(i(332))}}function Ya(e){switch(e){case 99:return La;case 98:return Fa;case 97:return Ma;case 96:return Ra;case 95:return Aa;default:throw Error(i(332))}}function $a(e,t){return e=Ya(e),Pa(e,t)}function qa(e,t,n){return e=Ya(e),_a(e,t,n)}function Ka(e){return null===Ua?(Ua=[e],Ba=_a(La,Ja)):Ua.push(e),Da}function Xa(){if(null!==Ba){var e=Ba;Ba=null,ja(e)}Ja()}function Ja(){if(!Wa&&null!==Ua){Wa=!0;var e=0;try{var t=Ua;$a(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ua=null}catch(t){throw null!==Ua&&(Ua=Ua.slice(e+1)),_a(La,Xa),t}finally{Wa=!1}}}function Za(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function eo(e,t){if(e&&e.defaultProps)for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var to={current:null},no=null,ro=null,ao=null;function oo(){ao=ro=no=null}function io(e){var t=to.current;ha(to),e.type._context._currentValue=t}function uo(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function lo(e,t){no=e,ao=ro=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ri=!0),e.firstContext=null)}function co(e,t){if(ao!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ao=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ro){if(null===no)throw Error(i(308));ro=t,no.dependencies={expirationTime:0,firstContext:t,responders:null}}else ro=ro.next=t;return e._currentValue}var so=!1;function fo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function po(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function ho(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function mo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function vo(e,t){var n=e.alternate;null!==n&&po(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function yo(e,t,n,r){var o=e.updateQueue;so=!1;var i=o.baseQueue,u=o.shared.pending;if(null!==u){if(null!==i){var l=i.next;i.next=u.next,u.next=l}i=u,o.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=u))}if(null!==i){l=i.next;var c=o.baseState,s=0,f=null,d=null,p=null;if(null!==l)for(var h=l;;){if((u=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(d=p=m,f=c):p=p.next=m,u>s&&(s=u)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),El(u,h.suspenseConfig);e:{var v=e,y=h;switch(u=t,m=n,y.tag){case 1:if("function"==typeof(v=y.payload)){c=v.call(m,c,u);break e}c=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(u="function"==typeof(v=y.payload)?v.call(m,c,u):v))break e;c=a({},c,u);break e;case 2:so=!0}}null!==h.callback&&(e.effectTag|=32,null===(u=o.effects)?o.effects=[h]:u.push(h))}if(null===(h=h.next)||h===l){if(null===(u=o.shared.pending))break;h=i.next=u.next,u.next=l,o.baseQueue=i=u,o.shared.pending=null}}null===p?f=c:p.next=d,o.baseState=f,o.baseQueue=p,Tl(s),e.expirationTime=s,e.memoizedState=c}}function go(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=a,a=n,"function"!=typeof r)throw Error(i(191,r));r.call(a)}}}var bo=K.ReactCurrentBatchConfig,wo=(new r.Component).refs;function xo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var Eo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&et(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=cl(),a=bo.suspense;(a=ho(r=sl(r,e,a),a)).payload=t,null!=n&&(a.callback=n),mo(e,a),fl(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=cl(),a=bo.suspense;(a=ho(r=sl(r,e,a),a)).tag=1,a.payload=t,null!=n&&(a.callback=n),mo(e,a),fl(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=cl(),r=bo.suspense;(r=ho(n=sl(n,e,r),r)).tag=2,null!=t&&(r.callback=t),mo(e,r),fl(e,n)}};function To(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!Hr(n,r)||!Hr(a,o))}function ko(e,t,n){var r=!1,a=va,o=t.contextType;return"object"==typeof o&&null!==o?o=co(o):(a=xa(t)?ba:ya.current,o=(r=null!=(r=t.contextTypes))?wa(e,a):va),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Eo,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function So(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Eo.enqueueReplaceState(t,t.state,null)}function Co(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=wo,fo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=co(o):(o=xa(t)?ba:ya.current,a.context=wa(e,o)),yo(e,n,a,r),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(xo(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&Eo.enqueueReplaceState(a,a.state,null),yo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.effectTag|=4)}var Po=Array.isArray;function _o(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=r.refs;t===wo&&(t=r.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function jo(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Oo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Wl(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Ql(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=_o(e,t,n),r.return=e,r):((r=Gl(n.type,n.key,n.props,null,e.mode,r)).ref=_o(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Yl(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Hl(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Ql(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Gl(t.type,t.key,t.props,null,e.mode,n)).ref=_o(e,null,t),n.return=e,n;case te:return(t=Yl(t,e.mode,n)).return=e,t}if(Po(t)||me(t))return(t=Hl(t,e.mode,n,null)).return=e,t;jo(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===a?n.type===ne?f(e,t,n.props.children,r,a):c(e,t,n,r):null;case te:return n.key===a?s(e,t,n,r):null}if(Po(n)||me(n))return null!==a?null:f(e,t,n,r,null);jo(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,a,r.key):c(t,e,r,a);case te:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(Po(r)||me(r))return f(t,e=e.get(n)||null,r,a,null);jo(t,r)}return null}function m(a,i,u,l){for(var c=null,s=null,f=i,m=i=0,v=null;null!==f&&m<u.length;m++){f.index>m?(v=f,f=null):v=f.sibling;var y=p(a,f,u[m],l);if(null===y){null===f&&(f=v);break}e&&f&&null===y.alternate&&t(a,f),i=o(y,i,m),null===s?c=y:s.sibling=y,s=y,f=v}if(m===u.length)return n(a,f),c;if(null===f){for(;m<u.length;m++)null!==(f=d(a,u[m],l))&&(i=o(f,i,m),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(a,f);m<u.length;m++)null!==(v=h(f,a,m,u[m],l))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),i=o(v,i,m),null===s?c=v:s.sibling=v,s=v);return e&&f.forEach((function(e){return t(a,e)})),c}function v(a,u,l,c){var s=me(l);if("function"!=typeof s)throw Error(i(150));if(null==(l=s.call(l)))throw Error(i(151));for(var f=s=null,m=u,v=u=0,y=null,g=l.next();null!==m&&!g.done;v++,g=l.next()){m.index>v?(y=m,m=null):y=m.sibling;var b=p(a,m,g.value,c);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(a,m),u=o(b,u,v),null===f?s=b:f.sibling=b,f=b,m=y}if(g.done)return n(a,m),s;if(null===m){for(;!g.done;v++,g=l.next())null!==(g=d(a,g.value,c))&&(u=o(g,u,v),null===f?s=g:f.sibling=g,f=g);return s}for(m=r(a,m);!g.done;v++,g=l.next())null!==(g=h(m,a,v,g.value,c))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),u=o(g,u,v),null===f?s=g:f.sibling=g,f=g);return e&&m.forEach((function(e){return t(a,e)})),s}return function(e,r,o,l){var c="object"==typeof o&&null!==o&&o.type===ne&&null===o.key;c&&(o=o.props.children);var s="object"==typeof o&&null!==o;if(s)switch(o.$$typeof){case ee:e:{for(s=o.key,c=r;null!==c;){if(c.key===s){if(7===c.tag){if(o.type===ne){n(e,c.sibling),(r=a(c,o.props.children)).return=e,e=r;break e}}else if(c.elementType===o.type){n(e,c.sibling),(r=a(c,o.props)).ref=_o(e,c,o),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}o.type===ne?((r=Hl(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=Gl(o.type,o.key,o.props,null,e.mode,l)).ref=_o(e,r,o),l.return=e,e=l)}return u(e);case te:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Yl(o,e.mode,l)).return=e,e=r}return u(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e,e=r):(n(e,r),(r=Ql(o,e.mode,l)).return=e,e=r),u(e);if(Po(o))return m(e,r,o,l);if(me(o))return v(e,r,o,l);if(s&&jo(e,o),void 0===o&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(i(152,e.displayName||e.name||"Component"))}return n(e,r)}}var No=Oo(!0),Io=Oo(!1),Lo={},Fo={current:Lo},Mo={current:Lo},Ro={current:Lo};function Ao(e){if(e===Lo)throw Error(i(174));return e}function Do(e,t){switch(ma(Ro,t),ma(Mo,e),ma(Fo,Lo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ae(null,"");break;default:t=Ae(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ha(Fo),ma(Fo,t)}function zo(){ha(Fo),ha(Mo),ha(Ro)}function Vo(e){Ao(Ro.current);var t=Ao(Fo.current),n=Ae(t,e.type);t!==n&&(ma(Mo,e),ma(Fo,n))}function Uo(e){Mo.current===e&&(ha(Fo),ha(Mo))}var Bo={current:0};function Wo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===bn||n.data===wn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(64&t.effectTag)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Go(e,t){return{responder:e,props:t}}var Ho=K.ReactCurrentDispatcher,Qo=K.ReactCurrentBatchConfig,Yo=0,$o=null,qo=null,Ko=null,Xo=!1;function Jo(){throw Error(i(321))}function Zo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Wr(e[n],t[n]))return!1;return!0}function ei(e,t,n,r,a,o){if(Yo=o,$o=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Ho.current=null===e||null===e.memoizedState?Ti:ki,e=n(r,a),t.expirationTime===Yo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(i(301));o+=1,Ko=qo=null,t.updateQueue=null,Ho.current=Si,e=n(r,a)}while(t.expirationTime===Yo)}if(Ho.current=Ei,t=null!==qo&&null!==qo.next,Yo=0,Ko=qo=$o=null,Xo=!1,t)throw Error(i(300));return e}function ti(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ko?$o.memoizedState=Ko=e:Ko=Ko.next=e,Ko}function ni(){if(null===qo){var e=$o.alternate;e=null!==e?e.memoizedState:null}else e=qo.next;var t=null===Ko?$o.memoizedState:Ko.next;if(null!==t)Ko=t,qo=e;else{if(null===e)throw Error(i(310));e={memoizedState:(qo=e).memoizedState,baseState:qo.baseState,baseQueue:qo.baseQueue,queue:qo.queue,next:null},null===Ko?$o.memoizedState=Ko=e:Ko=Ko.next=e}return Ko}function ri(e,t){return"function"==typeof t?t(e):t}function ai(e){var t=ni(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=qo,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var u=a.next;a.next=o.next,o.next=u}r.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var l=u=o=null,c=a;do{var s=c.expirationTime;if(s<Yo){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(u=l=f,o=r):l=l.next=f,s>$o.expirationTime&&($o.expirationTime=s,Tl(s))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),El(s,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==a);null===l?o=r:l.next=u,Wr(r,t.memoizedState)||(Ri=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function oi(e){var t=ni(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var u=a=a.next;do{o=e(o,u.action),u=u.next}while(u!==a);Wr(o,t.memoizedState)||(Ri=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ii(e){var t=ti();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ri,lastRenderedState:e}).dispatch=xi.bind(null,$o,e),[t.memoizedState,e]}function ui(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=$o.updateQueue)?(t={lastEffect:null},$o.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function li(){return ni().memoizedState}function ci(e,t,n,r){var a=ti();$o.effectTag|=e,a.memoizedState=ui(1|t,n,void 0,void 0===r?null:r)}function si(e,t,n,r){var a=ni();r=void 0===r?null:r;var o=void 0;if(null!==qo){var i=qo.memoizedState;if(o=i.destroy,null!==r&&Zo(r,i.deps))return void ui(t,n,o,r)}$o.effectTag|=e,a.memoizedState=ui(1|t,n,o,r)}function fi(e,t){return ci(516,4,e,t)}function di(e,t){return si(516,4,e,t)}function pi(e,t){return si(4,2,e,t)}function hi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function mi(e,t,n){return n=null!=n?n.concat([e]):null,si(4,2,hi.bind(null,t,e),n)}function vi(){}function yi(e,t){return ti().memoizedState=[e,void 0===t?null:t],e}function gi(e,t){var n=ni();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function bi(e,t){var n=ni();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function wi(e,t,n){var r=Qa();$a(98>r?98:r,(function(){e(!0)})),$a(97<r?97:r,(function(){var r=Qo.suspense;Qo.suspense=void 0===t?null:t;try{e(!1),n()}finally{Qo.suspense=r}}))}function xi(e,t,n){var r=cl(),a=bo.suspense;a={expirationTime:r=sl(r,e,a),suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?a.next=a:(a.next=o.next,o.next=a),t.pending=a,o=e.alternate,e===$o||null!==o&&o===$o)Xo=!0,a.expirationTime=Yo,$o.expirationTime=Yo;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,u=o(i,n);if(a.eagerReducer=o,a.eagerState=u,Wr(u,i))return}catch(e){}fl(e,r)}}var Ei={readContext:co,useCallback:Jo,useContext:Jo,useEffect:Jo,useImperativeHandle:Jo,useLayoutEffect:Jo,useMemo:Jo,useReducer:Jo,useRef:Jo,useState:Jo,useDebugValue:Jo,useResponder:Jo,useDeferredValue:Jo,useTransition:Jo},Ti={readContext:co,useCallback:yi,useContext:co,useEffect:fi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ci(4,2,hi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ci(4,2,e,t)},useMemo:function(e,t){var n=ti();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ti();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=xi.bind(null,$o,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ti().memoizedState=e},useState:ii,useDebugValue:vi,useResponder:Go,useDeferredValue:function(e,t){var n=ii(e),r=n[0],a=n[1];return fi((function(){var n=Qo.suspense;Qo.suspense=void 0===t?null:t;try{a(e)}finally{Qo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ii(!1),n=t[0];return t=t[1],[yi(wi.bind(null,t,e),[t,e]),n]}},ki={readContext:co,useCallback:gi,useContext:co,useEffect:di,useImperativeHandle:mi,useLayoutEffect:pi,useMemo:bi,useReducer:ai,useRef:li,useState:function(){return ai(ri)},useDebugValue:vi,useResponder:Go,useDeferredValue:function(e,t){var n=ai(ri),r=n[0],a=n[1];return di((function(){var n=Qo.suspense;Qo.suspense=void 0===t?null:t;try{a(e)}finally{Qo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ai(ri),n=t[0];return t=t[1],[gi(wi.bind(null,t,e),[t,e]),n]}},Si={readContext:co,useCallback:gi,useContext:co,useEffect:di,useImperativeHandle:mi,useLayoutEffect:pi,useMemo:bi,useReducer:oi,useRef:li,useState:function(){return oi(ri)},useDebugValue:vi,useResponder:Go,useDeferredValue:function(e,t){var n=oi(ri),r=n[0],a=n[1];return di((function(){var n=Qo.suspense;Qo.suspense=void 0===t?null:t;try{a(e)}finally{Qo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=oi(ri),n=t[0];return t=t[1],[gi(wi.bind(null,t,e),[t,e]),n]}},Ci=null,Pi=null,_i=!1;function ji(e,t){var n=Ul(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Oi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ni(e){if(_i){var t=Pi;if(t){var n=t;if(!Oi(e,t)){if(!(t=Pn(n.nextSibling))||!Oi(e,t))return e.effectTag=-1025&e.effectTag|2,_i=!1,void(Ci=e);ji(Ci,n)}Ci=e,Pi=Pn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,_i=!1,Ci=e}}function Ii(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ci=e}function Li(e){if(e!==Ci)return!1;if(!_i)return Ii(e),_i=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!kn(t,e.memoizedProps))for(t=Pi;t;)ji(e,t),t=Pn(t.nextSibling);if(Ii(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(n===gn){if(0===t){Pi=Pn(e.nextSibling);break e}t--}else n!==yn&&n!==wn&&n!==bn||t++}e=e.nextSibling}Pi=null}}else Pi=Ci?Pn(e.stateNode.nextSibling):null;return!0}function Fi(){Pi=Ci=null,_i=!1}var Mi=K.ReactCurrentOwner,Ri=!1;function Ai(e,t,n,r){t.child=null===e?Io(t,null,n,r):No(t,e.child,n,r)}function Di(e,t,n,r,a){n=n.render;var o=t.ref;return lo(t,a),r=ei(e,t,n,r,o,a),null===e||Ri?(t.effectTag|=1,Ai(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),tu(e,t,a))}function zi(e,t,n,r,a,o){if(null===e){var i=n.type;return"function"!=typeof i||Bl(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Gl(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Vi(e,t,i,r,a,o))}return i=e.child,a<o&&(a=i.memoizedProps,(n=null!==(n=n.compare)?n:Hr)(a,r)&&e.ref===t.ref)?tu(e,t,o):(t.effectTag|=1,(e=Wl(i,r)).ref=t.ref,e.return=t,t.child=e)}function Vi(e,t,n,r,a,o){return null!==e&&Hr(e.memoizedProps,r)&&e.ref===t.ref&&(Ri=!1,a<o)?(t.expirationTime=e.expirationTime,tu(e,t,o)):Bi(e,t,n,r,o)}function Ui(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Bi(e,t,n,r,a){var o=xa(n)?ba:ya.current;return o=wa(t,o),lo(t,a),n=ei(e,t,n,r,o,a),null===e||Ri?(t.effectTag|=1,Ai(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),tu(e,t,a))}function Wi(e,t,n,r,a){if(xa(n)){var o=!0;Sa(t)}else o=!1;if(lo(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),ko(t,n,r),Co(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,u=t.memoizedProps;i.props=u;var l=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=co(c):c=wa(t,c=xa(n)?ba:ya.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(u!==r||l!==c)&&So(t,i,r,c),so=!1;var d=t.memoizedState;i.state=d,yo(t,r,i,a),l=t.memoizedState,u!==r||d!==l||ga.current||so?("function"==typeof s&&(xo(t,n,s,r),l=t.memoizedState),(u=so||To(t,n,u,r,d,l,c))?(f||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.effectTag|=4)):("function"==typeof i.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=u):("function"==typeof i.componentDidMount&&(t.effectTag|=4),r=!1)}else i=t.stateNode,po(e,t),u=t.memoizedProps,i.props=t.type===t.elementType?u:eo(t.type,u),l=i.context,"object"==typeof(c=n.contextType)&&null!==c?c=co(c):c=wa(t,c=xa(n)?ba:ya.current),(f="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(u!==r||l!==c)&&So(t,i,r,c),so=!1,l=t.memoizedState,i.state=l,yo(t,r,i,a),d=t.memoizedState,u!==r||l!==d||ga.current||so?("function"==typeof s&&(xo(t,n,s,r),d=t.memoizedState),(s=so||To(t,n,u,r,l,d,c))?(f||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,d,c),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,d,c)),"function"==typeof i.componentDidUpdate&&(t.effectTag|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof i.componentDidUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),i.props=r,i.state=d,i.context=c,r=s):("function"!=typeof i.componentDidUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return Gi(e,t,n,r,o,a)}function Gi(e,t,n,r,a,o){Ui(e,t);var i=!!(64&t.effectTag);if(!r&&!i)return a&&Ca(t,n,!1),tu(e,t,o);r=t.stateNode,Mi.current=t;var u=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&i?(t.child=No(t,e.child,null,o),t.child=No(t,null,u,o)):Ai(e,t,u,o),t.memoizedState=r.state,a&&Ca(t,n,!0),t.child}function Hi(e){var t=e.stateNode;t.pendingContext?Ta(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ta(0,t.context,!1),Do(e,t.containerInfo)}var Qi,Yi,$i,qi,Ki={dehydrated:null,retryTime:0};function Xi(e,t,n){var r,a=t.mode,o=t.pendingProps,i=Bo.current,u=!1;if((r=!!(64&t.effectTag))||(r=!!(2&i)&&(null===e||null!==e.memoizedState)),r?(u=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),ma(Bo,1&i),null===e){if(void 0!==o.fallback&&Ni(t),u){if(u=o.fallback,(o=Hl(null,a,0,null)).return=t,!(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Hl(u,a,n,null)).return=t,o.sibling=n,t.memoizedState=Ki,t.child=o,n}return a=o.children,t.memoizedState=null,t.child=Io(t,null,a,n)}if(null!==e.memoizedState){if(a=(e=e.child).sibling,u){if(o=o.fallback,(n=Wl(e,e.pendingProps)).return=t,!(2&t.mode)&&(u=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;return(a=Wl(a,o)).return=t,n.sibling=a,n.childExpirationTime=0,t.memoizedState=Ki,t.child=n,a}return n=No(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,u){if(u=o.fallback,(o=Hl(null,a,0,null)).return=t,o.child=e,null!==e&&(e.return=o),!(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Hl(u,a,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Ki,t.child=o,n}return t.memoizedState=null,t.child=No(t,e,o.children,n)}function Ji(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),uo(e.return,t)}function Zi(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:a,lastEffect:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailExpiration=0,i.tailMode=a,i.lastEffect=o)}function eu(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(Ai(e,t,r.children,n),2&(r=Bo.current))r=1&r|2,t.effectTag|=64;else{if(null!==e&&64&e.effectTag)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ji(e,n);else if(19===e.tag)Ji(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ma(Bo,r),2&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===Wo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Zi(t,!1,a,n,o,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===Wo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Zi(t,!0,n,null,o,t.lastEffect);break;case"together":Zi(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function tu(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&Tl(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Wl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Wl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function nu(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ru(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return xa(t.type)&&Ea(),null;case 3:return zo(),ha(ga),ha(ya),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Li(t)||(t.effectTag|=4),Yi(t),null;case 5:Uo(t),n=Ao(Ro.current);var o=t.type;if(null!==e&&null!=t.stateNode)$i(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Ao(Fo.current),Li(t)){r=t.stateNode,o=t.type;var u=t.memoizedProps;switch(r[On]=t,r[Nn]=u,o){case"iframe":case"object":case"embed":$t("load",r);break;case"video":case"audio":for(e=0;e<Xe.length;e++)$t(Xe[e],r);break;case"source":$t("error",r);break;case"img":case"image":case"link":$t("error",r),$t("load",r);break;case"form":$t("reset",r),$t("submit",r);break;case"details":$t("toggle",r);break;case"input":Te(r,u),$t("invalid",r),cn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!u.multiple},$t("invalid",r),cn(n,"onChange");break;case"textarea":Ne(r,u),$t("invalid",r),cn(n,"onChange")}for(var l in on(o,u),e=null,u)if(u.hasOwnProperty(l)){var c=u[l];"children"===l?"string"==typeof c?r.textContent!==c&&(e=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(e=["children",""+c]):k.hasOwnProperty(l)&&null!=c&&cn(n,l)}switch(o){case"input":we(r),Ce(r,u,!0);break;case"textarea":we(r),Le(r);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(r.onclick=sn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===ln&&(e=Re(o)),e===ln?"script"===o?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(o,{is:r.is}):(e=l.createElement(o),"select"===o&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,o),e[On]=t,e[Nn]=r,Qi(e,t,!1,!1),t.stateNode=e,l=un(o,r),o){case"iframe":case"object":case"embed":$t("load",e),c=r;break;case"video":case"audio":for(c=0;c<Xe.length;c++)$t(Xe[c],e);c=r;break;case"source":$t("error",e),c=r;break;case"img":case"image":case"link":$t("error",e),$t("load",e),c=r;break;case"form":$t("reset",e),$t("submit",e),c=r;break;case"details":$t("toggle",e),c=r;break;case"input":Te(e,r),c=Ee(e,r),$t("invalid",e),cn(n,"onChange");break;case"option":c=_e(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=a({},r,{value:void 0}),$t("invalid",e),cn(n,"onChange");break;case"textarea":Ne(e,r),c=Oe(e,r),$t("invalid",e),cn(n,"onChange");break;default:c=r}on(o,c);var s=c;for(u in s)if(s.hasOwnProperty(u)){var f=s[u];"style"===u?rn(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&Ve(e,f):"children"===u?"string"==typeof f?("textarea"!==o||""!==f)&&Ue(e,f):"number"==typeof f&&Ue(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(k.hasOwnProperty(u)?null!=f&&cn(n,u):null!=f&&X(e,u,f,l))}switch(o){case"input":we(e),Ce(e,r,!1);break;case"textarea":we(e),Le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ge(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?je(e,!!r.multiple,n,!1):null!=r.defaultValue&&je(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=sn)}Tn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)qi(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));n=Ao(Ro.current),Ao(Fo.current),Li(t)?(n=t.stateNode,r=t.memoizedProps,n[On]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[On]=t,t.stateNode=n)}return null;case 13:return ha(Bo),r=t.memoizedState,64&t.effectTag?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Li(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(u=t.firstEffect)?(t.firstEffect=o,o.nextEffect=u):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&2&t.mode&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||1&Bo.current?Wu===Lu&&(Wu=Ru):(Wu!==Lu&&Wu!==Ru||(Wu=Au),0!==$u&&null!==Vu&&(Kl(Vu,Bu),Xl(Vu,$u)))),(n||r)&&(t.effectTag|=4),null);case 4:return zo(),Yi(t),null;case 10:return io(t),null;case 19:if(ha(Bo),null===(r=t.memoizedState))return null;if(o=!!(64&t.effectTag),null===(u=r.rendering)){if(o)nu(r,!1);else if(Wu!==Lu||null!==e&&64&e.effectTag)for(u=t.child;null!==u;){if(null!==(e=Wo(u))){for(t.effectTag|=64,nu(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)u=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=u,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,u=e.dependencies,o.dependencies=null===u?null:{expirationTime:u.expirationTime,firstContext:u.firstContext,responders:u.responders}),r=r.sibling;return ma(Bo,1&Bo.current|2),t.child}u=u.sibling}}else{if(!o)if(null!==(e=Wo(u))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),nu(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ha()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,nu(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Ha()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ha(),n.sibling=null,t=Bo.current,ma(Bo,o?1&t|2:1&t),n):null}throw Error(i(156,t.tag))}function au(e){switch(e.tag){case 1:xa(e.type)&&Ea();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(zo(),ha(ga),ha(ya),64&(t=e.effectTag))throw Error(i(285));return e.effectTag=-4097&t|64,e;case 5:return Uo(e),null;case 13:return ha(Bo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return ha(Bo),null;case 4:return zo(),null;case 10:return io(e),null;default:return null}}function ou(e,t){return{value:e,source:t,stack:ye(t)}}Qi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Yi=function(){},$i=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var u,l,c=t.stateNode;switch(Ao(Fo.current),e=null,n){case"input":i=Ee(c,i),r=Ee(c,r),e=[];break;case"option":i=_e(c,i),r=_e(c,r),e=[];break;case"select":i=a({},i,{value:void 0}),r=a({},r,{value:void 0}),e=[];break;case"textarea":i=Oe(c,i),r=Oe(c,r),e=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(c.onclick=sn)}for(u in on(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u)for(l in c=i[u])c.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(k.hasOwnProperty(u)?e||(e=[]):(e=e||[]).push(u,null));for(u in r){var s=r[u];if(c=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&s!==c&&(null!=s||null!=c))if("style"===u)if(c){for(l in c)!c.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in s)s.hasOwnProperty(l)&&c[l]!==s[l]&&(n||(n={}),n[l]=s[l])}else n||(e||(e=[]),e.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(e=e||[]).push(u,s)):"children"===u?c===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(k.hasOwnProperty(u)?(null!=s&&cn(o,u),e||c===s||(e=[])):(e=e||[]).push(u,s))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},qi=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var iu="function"==typeof WeakSet?WeakSet:Set;function uu(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ye(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type)}function lu(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ml(e,t)}else t.current=null}function cu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 3:case 5:case 6:case 4:case 17:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:eo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return}throw Error(i(163))}function su(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function fu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function du(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void fu(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:eo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&go(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}go(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&Tn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&At(n)))))}throw Error(i(163))}function pu(e,t,n){switch("function"==typeof zl&&zl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;$a(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var a=t;try{n()}catch(e){Ml(a,e)}}e=e.next}while(e!==r)}))}break;case 1:lu(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Ml(e,t)}}(t,n);break;case 5:lu(t);break;case 4:bu(e,t,n)}}function hu(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&hu(t)}function mu(e){return 5===e.tag||3===e.tag||4===e.tag}function vu(e){e:{for(var t=e.return;null!==t;){if(mu(t)){var n=t;break e}t=t.return}throw Error(i(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.effectTag&&(Ue(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||mu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?yu(e,n,t):gu(e,n,t)}function yu(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=sn));else if(4!==r&&null!==(e=e.child))for(yu(e,t,n),e=e.sibling;null!==e;)yu(e,t,n),e=e.sibling}function gu(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(gu(e,t,n),e=e.sibling;null!==e;)gu(e,t,n),e=e.sibling}function bu(e,t,n){for(var r,a,o=t,u=!1;;){if(!u){u=o.return;e:for(;;){if(null===u)throw Error(i(160));switch(r=u.stateNode,u.tag){case 5:a=!1;break e;case 3:case 4:r=r.containerInfo,a=!0;break e}u=u.return}u=!0}if(5===o.tag||6===o.tag){e:for(var l=e,c=o,s=n,f=c;;)if(pu(l,f,s),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break e;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}a?(l=r,c=o.stateNode,8===l.nodeType?l.parentNode.removeChild(c):l.removeChild(c)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,a=!0,o.child.return=o,o=o.child;continue}}else if(pu(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(u=!1)}o.sibling.return=o.return,o=o.sibling}}function wu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void su(3,t);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,a=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Nn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ke(n,r),un(e,a),t=un(e,r),a=0;a<o.length;a+=2){var u=o[a],l=o[a+1];"style"===u?rn(n,l):"dangerouslySetInnerHTML"===u?Ve(n,l):"children"===u?Ue(n,l):X(n,u,l,t)}switch(e){case"input":Se(n,r);break;case"textarea":Ie(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?je(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?je(n,!!r.multiple,r.defaultValue,!0):je(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,At(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ku=Ha()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,a=null!=(a=e.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,o.style.display=nn("display",a));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void xu(t);case 19:return void xu(t)}throw Error(i(163))}function xu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new iu),t.forEach((function(t){var r=Al.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var Eu="function"==typeof WeakMap?WeakMap:Map;function Tu(e,t,n){(n=ho(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zu||(Zu=!0,el=r),uu(e,t)},n}function ku(e,t,n){(n=ho(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return uu(e,t),r(a)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===tl?tl=new Set([this]):tl.add(this),uu(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Su,Cu=Math.ceil,Pu=K.ReactCurrentDispatcher,_u=K.ReactCurrentOwner,ju=0,Ou=8,Nu=16,Iu=32,Lu=0,Fu=1,Mu=2,Ru=3,Au=4,Du=5,zu=ju,Vu=null,Uu=null,Bu=0,Wu=Lu,Gu=null,Hu=1073741823,Qu=1073741823,Yu=null,$u=0,qu=!1,Ku=0,Xu=500,Ju=null,Zu=!1,el=null,tl=null,nl=!1,rl=null,al=90,ol=null,il=0,ul=null,ll=0;function cl(){return(zu&(Nu|Iu))!==ju?1073741821-(Ha()/10|0):0!==ll?ll:ll=1073741821-(Ha()/10|0)}function sl(e,t,n){if(!(2&(t=t.mode)))return 1073741823;var r=Qa();if(!(4&t))return 99===r?1073741823:1073741822;if((zu&Nu)!==ju)return Bu;if(null!==n)e=Za(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Za(e,150,100);break;case 97:case 96:e=Za(e,5e3,250);break;case 95:e=2;break;default:throw Error(i(326))}return null!==Vu&&e===Bu&&--e,e}function fl(e,t){if(50<il)throw il=0,ul=null,Error(i(185));if(null!==(e=dl(e,t))){var n=Qa();1073741823===t?(zu&Ou)!==ju&&(zu&(Nu|Iu))===ju?vl(e):(hl(e),zu===ju&&Xa()):hl(e),(4&zu)===ju||98!==n&&99!==n||(null===ol?ol=new Map([[e,t]]):(void 0===(n=ol.get(e))||n>t)&&ol.set(e,t))}}function dl(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,a=null;if(null===r&&3===e.tag)a=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){a=r.stateNode;break}r=r.return}return null!==a&&(Vu===a&&(Tl(t),Wu===Au&&Kl(a,Bu)),Xl(a,t)),a}function pl(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!ql(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function hl(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ka(vl.bind(null,e));else{var t=pl(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=cl();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var a=e.callbackPriority;if(e.callbackExpirationTime===t&&a>=r)return;n!==Da&&ja(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ka(vl.bind(null,e)):qa(r,ml.bind(null,e),{timeout:10*(1073741821-t)-Ha()}),e.callbackNode=t}}}function ml(e,t){if(ll=0,t)return Jl(e,t=cl()),hl(e),null;var n=pl(e);if(0!==n){if(t=e.callbackNode,(zu&(Nu|Iu))!==ju)throw Error(i(327));if(Il(),e===Vu&&n===Bu||bl(e,n),null!==Uu){var r=zu;zu|=Nu;for(var a=xl();;)try{Sl();break}catch(t){wl(e,t)}if(oo(),zu=r,Pu.current=a,Wu===Fu)throw t=Gu,bl(e,n),Kl(e,n),hl(e),t;if(null===Uu)switch(a=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Wu,Vu=null,r){case Lu:case Fu:throw Error(i(345));case Mu:Jl(e,2<n?2:n);break;case Ru:if(Kl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=_l(a)),1073741823===Hu&&10<(a=Ku+Xu-Ha())){if(qu){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,bl(e,n);break}}if(0!==(o=pl(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=Sn(jl.bind(null,e),a);break}jl(e);break;case Au:if(Kl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=_l(a)),qu&&(0===(a=e.lastPingedTime)||a>=n)){e.lastPingedTime=n,bl(e,n);break}if(0!==(a=pl(e))&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Qu?r=10*(1073741821-Qu)-Ha():1073741823===Hu?r=0:(r=10*(1073741821-Hu)-5e3,0>(r=(a=Ha())-r)&&(r=0),(n=10*(1073741821-n)-a)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cu(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=Sn(jl.bind(null,e),r);break}jl(e);break;case Du:if(1073741823!==Hu&&null!==Yu){o=Hu;var u=Yu;if(0>=(r=0|u.busyMinDurationMs)?r=0:(a=0|u.busyDelayMs,r=(o=Ha()-(10*(1073741821-o)-(0|u.timeoutMs||5e3)))<=a?0:a+r-o),10<r){Kl(e,n),e.timeoutHandle=Sn(jl.bind(null,e),r);break}}jl(e);break;default:throw Error(i(329))}if(hl(e),e.callbackNode===t)return ml.bind(null,e)}}return null}function vl(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(zu&(Nu|Iu))!==ju)throw Error(i(327));if(Il(),e===Vu&&t===Bu||bl(e,t),null!==Uu){var n=zu;zu|=Nu;for(var r=xl();;)try{kl();break}catch(t){wl(e,t)}if(oo(),zu=n,Pu.current=r,Wu===Fu)throw n=Gu,bl(e,t),Kl(e,t),hl(e),n;if(null!==Uu)throw Error(i(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Vu=null,jl(e),hl(e)}return null}function yl(e,t){var n=zu;zu|=1;try{return e(t)}finally{(zu=n)===ju&&Xa()}}function gl(e,t){var n=zu;zu&=-2,zu|=Ou;try{return e(t)}finally{(zu=n)===ju&&Xa()}}function bl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Cn(n)),null!==Uu)for(n=Uu.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ea();break;case 3:zo(),ha(ga),ha(ya);break;case 5:Uo(r);break;case 4:zo();break;case 13:case 19:ha(Bo);break;case 10:io(r)}n=n.return}Vu=e,Uu=Wl(e.current,null),Bu=t,Wu=Lu,Gu=null,Qu=Hu=1073741823,Yu=null,$u=0,qu=!1}function wl(e,t){for(;;){try{if(oo(),Ho.current=Ei,Xo)for(var n=$o.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Yo=0,Ko=qo=$o=null,Xo=!1,null===Uu||null===Uu.return)return Wu=Fu,Gu=t,Uu=null;e:{var a=e,o=Uu.return,i=Uu,u=t;if(t=Bu,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var l=u;if(!(2&i.mode)){var c=i.alternate;c?(i.updateQueue=c.updateQueue,i.memoizedState=c.memoizedState,i.expirationTime=c.expirationTime):(i.updateQueue=null,i.memoizedState=null)}var s=!!(1&Bo.current),f=o;do{var d;if(d=13===f.tag){var p=f.memoizedState;if(null!==p)d=null!==p.dehydrated;else{var h=f.memoizedProps;d=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!s)}}if(d){var m=f.updateQueue;if(null===m){var v=new Set;v.add(l),f.updateQueue=v}else m.add(l);if(!(2&f.mode)){if(f.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var y=ho(1073741823,null);y.tag=2,mo(i,y)}i.expirationTime=1073741823;break e}u=void 0,i=t;var g=a.pingCache;if(null===g?(g=a.pingCache=new Eu,u=new Set,g.set(l,u)):void 0===(u=g.get(l))&&(u=new Set,g.set(l,u)),!u.has(i)){u.add(i);var b=Rl.bind(null,a,l,i);l.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);u=Error((ve(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ye(i))}Wu!==Du&&(Wu=Mu),u=ou(u,i),f=o;do{switch(f.tag){case 3:l=u,f.effectTag|=4096,f.expirationTime=t,vo(f,Tu(f,l,t));break e;case 1:l=u;var w=f.type,x=f.stateNode;if(!(64&f.effectTag||"function"!=typeof w.getDerivedStateFromError&&(null===x||"function"!=typeof x.componentDidCatch||null!==tl&&tl.has(x)))){f.effectTag|=4096,f.expirationTime=t,vo(f,ku(f,l,t));break e}}f=f.return}while(null!==f)}Uu=Pl(Uu)}catch(e){t=e;continue}break}}function xl(){var e=Pu.current;return Pu.current=Ei,null===e?Ei:e}function El(e,t){e<Hu&&2<e&&(Hu=e),null!==t&&e<Qu&&2<e&&(Qu=e,Yu=t)}function Tl(e){e>$u&&($u=e)}function kl(){for(;null!==Uu;)Uu=Cl(Uu)}function Sl(){for(;null!==Uu&&!za();)Uu=Cl(Uu)}function Cl(e){var t=Su(e.alternate,e,Bu);return e.memoizedProps=e.pendingProps,null===t&&(t=Pl(e)),_u.current=null,t}function Pl(e){Uu=e;do{var t=Uu.alternate;if(e=Uu.return,2048&Uu.effectTag){if(null!==(t=au(Uu)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}else{if(t=ru(t,Uu,Bu),1===Bu||1!==Uu.childExpirationTime){for(var n=0,r=Uu.child;null!==r;){var a=r.expirationTime,o=r.childExpirationTime;a>n&&(n=a),o>n&&(n=o),r=r.sibling}Uu.childExpirationTime=n}if(null!==t)return t;null!==e&&!(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Uu.firstEffect),null!==Uu.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Uu.firstEffect),e.lastEffect=Uu.lastEffect),1<Uu.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Uu:e.firstEffect=Uu,e.lastEffect=Uu))}if(null!==(t=Uu.sibling))return t;Uu=e}while(null!==Uu);return Wu===Lu&&(Wu=Du),null}function _l(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function jl(e){var t=Qa();return $a(99,Ol.bind(null,e,t)),null}function Ol(e,t){do{Il()}while(null!==rl);if((zu&(Nu|Iu))!==ju)throw Error(i(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var a=_l(n);if(e.firstPendingTime=a,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Vu&&(Uu=Vu=null,Bu=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,a=n.firstEffect):a=n:a=n.firstEffect,null!==a){var o=zu;zu|=Iu,_u.current=null,xn=Yt;var u=mn();if(vn(u)){if("selectionStart"in u)var l={start:u.selectionStart,end:u.selectionEnd};else e:{var c=(l=(l=u.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(c&&0!==c.rangeCount){l=c.anchorNode;var s=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{l.nodeType,f.nodeType}catch(e){l=null;break e}var d=0,p=-1,h=-1,m=0,v=0,y=u,g=null;t:for(;;){for(var b;y!==l||0!==s&&3!==y.nodeType||(p=d+s),y!==f||0!==c&&3!==y.nodeType||(h=d+c),3===y.nodeType&&(d+=y.nodeValue.length),null!==(b=y.firstChild);)g=y,y=b;for(;;){if(y===u)break t;if(g===l&&++m===s&&(p=d),g===f&&++v===c&&(h=d),null!==(b=y.nextSibling))break;g=(y=g).parentNode}y=b}l=-1===p||-1===h?null:{start:p,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;En={activeElementDetached:null,focusedElem:u,selectionRange:l},Yt=!1,Ju=a;do{try{Nl()}catch(e){if(null===Ju)throw Error(i(330));Ml(Ju,e),Ju=Ju.nextEffect}}while(null!==Ju);Ju=a;do{try{for(u=e,l=t;null!==Ju;){var w=Ju.effectTag;if(16&w&&Ue(Ju.stateNode,""),128&w){var x=Ju.alternate;if(null!==x){var E=x.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&w){case 2:vu(Ju),Ju.effectTag&=-3;break;case 6:vu(Ju),Ju.effectTag&=-3,wu(Ju.alternate,Ju);break;case 1024:Ju.effectTag&=-1025;break;case 1028:Ju.effectTag&=-1025,wu(Ju.alternate,Ju);break;case 4:wu(Ju.alternate,Ju);break;case 8:bu(u,s=Ju,l),hu(s)}Ju=Ju.nextEffect}}catch(e){if(null===Ju)throw Error(i(330));Ml(Ju,e),Ju=Ju.nextEffect}}while(null!==Ju);if(E=En,x=mn(),w=E.focusedElem,l=E.selectionRange,x!==w&&w&&w.ownerDocument&&hn(w.ownerDocument.documentElement,w)){null!==l&&vn(w)&&(x=l.start,void 0===(E=l.end)&&(E=x),"selectionStart"in w?(w.selectionStart=x,w.selectionEnd=Math.min(E,w.value.length)):(E=(x=w.ownerDocument||document)&&x.defaultView||window).getSelection&&(E=E.getSelection(),s=w.textContent.length,u=Math.min(l.start,s),l=void 0===l.end?u:Math.min(l.end,s),!E.extend&&u>l&&(s=l,l=u,u=s),s=pn(w,u),f=pn(w,l),s&&f&&(1!==E.rangeCount||E.anchorNode!==s.node||E.anchorOffset!==s.offset||E.focusNode!==f.node||E.focusOffset!==f.offset)&&((x=x.createRange()).setStart(s.node,s.offset),E.removeAllRanges(),u>l?(E.addRange(x),E.extend(f.node,f.offset)):(x.setEnd(f.node,f.offset),E.addRange(x))))),x=[];for(E=w;E=E.parentNode;)1===E.nodeType&&x.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<x.length;w++)(E=x[w]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Yt=!!xn,En=xn=null,e.current=n,Ju=a;do{try{for(w=e;null!==Ju;){var T=Ju.effectTag;if(36&T&&du(w,Ju.alternate,Ju),128&T){x=void 0;var k=Ju.ref;if(null!==k){var S=Ju.stateNode;Ju.tag,x=S,"function"==typeof k?k(x):k.current=x}}Ju=Ju.nextEffect}}catch(e){if(null===Ju)throw Error(i(330));Ml(Ju,e),Ju=Ju.nextEffect}}while(null!==Ju);Ju=null,Va(),zu=o}else e.current=n;if(nl)nl=!1,rl=e,al=t;else for(Ju=a;null!==Ju;)t=Ju.nextEffect,Ju.nextEffect=null,Ju=t;if(0===(t=e.firstPendingTime)&&(tl=null),1073741823===t?e===ul?il++:(il=0,ul=e):il=0,"function"==typeof Dl&&Dl(n.stateNode,r),hl(e),Zu)throw Zu=!1,e=el,el=null,e;return(zu&Ou)!==ju||Xa(),null}function Nl(){for(;null!==Ju;){var e=Ju.effectTag;256&e&&cu(Ju.alternate,Ju),!(512&e)||nl||(nl=!0,qa(97,(function(){return Il(),null}))),Ju=Ju.nextEffect}}function Il(){if(90!==al){var e=97<al?97:al;return al=90,$a(e,Ll)}}function Ll(){if(null===rl)return!1;var e=rl;if(rl=null,(zu&(Nu|Iu))!==ju)throw Error(i(331));var t=zu;for(zu|=Iu,e=e.current.firstEffect;null!==e;){try{var n=e;if(512&n.effectTag)switch(n.tag){case 0:case 11:case 15:case 22:su(5,n),fu(5,n)}}catch(t){if(null===e)throw Error(i(330));Ml(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return zu=t,Xa(),!0}function Fl(e,t,n){mo(e,t=Tu(e,t=ou(n,t),1073741823)),null!==(e=dl(e,1073741823))&&hl(e)}function Ml(e,t){if(3===e.tag)Fl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Fl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===tl||!tl.has(r))){mo(n,e=ku(n,e=ou(t,e),1073741823)),null!==(n=dl(n,1073741823))&&hl(n);break}}n=n.return}}function Rl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Vu===e&&Bu===n?Wu===Au||Wu===Ru&&1073741823===Hu&&Ha()-Ku<Xu?bl(e,Bu):qu=!0:ql(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,hl(e)))}function Al(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=sl(t=cl(),e,null)),null!==(e=dl(e,t))&&hl(e)}Su=function(e,t,n){var r=t.expirationTime;if(null!==e){var a=t.pendingProps;if(e.memoizedProps!==a||ga.current)Ri=!0;else{if(r<n){switch(Ri=!1,t.tag){case 3:Hi(t),Fi();break;case 5:if(Vo(t),4&t.mode&&1!==n&&a.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:xa(t.type)&&Sa(t);break;case 4:Do(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,a=t.type._context,ma(to,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Xi(e,t,n):(ma(Bo,1&Bo.current),null!==(t=tu(e,t,n))?t.sibling:null);ma(Bo,1&Bo.current);break;case 19:if(r=t.childExpirationTime>=n,64&e.effectTag){if(r)return eu(e,t,n);t.effectTag|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null),ma(Bo,Bo.current),!r)return null}return tu(e,t,n)}Ri=!1}}else Ri=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,a=wa(t,ya.current),lo(t,n),a=ei(null,t,r,e,a,n),t.effectTag|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,xa(r)){var o=!0;Sa(t)}else o=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,fo(t);var u=r.getDerivedStateFromProps;"function"==typeof u&&xo(t,r,u,e),a.updater=Eo,t.stateNode=a,a._reactInternalFiber=t,Co(t,r,e,n),t=Gi(null,t,r,!0,o,n)}else t.tag=0,Ai(null,t,a,n),t=t.child;return t;case 16:e:{if(a=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(a),1!==a._status)throw a._result;switch(a=a._result,t.type=a,o=t.tag=function(e){if("function"==typeof e)return Bl(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===fe)return 14}return 2}(a),e=eo(a,e),o){case 0:t=Bi(null,t,a,e,n);break e;case 1:t=Wi(null,t,a,e,n);break e;case 11:t=Di(null,t,a,e,n);break e;case 14:t=zi(null,t,a,eo(a.type,e),r,n);break e}throw Error(i(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,Bi(e,t,r,a=t.elementType===r?a:eo(r,a),n);case 1:return r=t.type,a=t.pendingProps,Wi(e,t,r,a=t.elementType===r?a:eo(r,a),n);case 3:if(Hi(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,po(e,t),yo(t,r,null,n),(r=t.memoizedState.element)===a)Fi(),t=tu(e,t,n);else{if((a=t.stateNode.hydrate)&&(Pi=Pn(t.stateNode.containerInfo.firstChild),Ci=t,a=_i=!0),a)for(n=Io(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Ai(e,t,r,n),Fi();t=t.child}return t;case 5:return Vo(t),null===e&&Ni(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,u=a.children,kn(r,a)?u=null:null!==o&&kn(r,o)&&(t.effectTag|=16),Ui(e,t),4&t.mode&&1!==n&&a.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Ai(e,t,u,n),t=t.child),t;case 6:return null===e&&Ni(t),null;case 13:return Xi(e,t,n);case 4:return Do(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=No(t,null,r,n):Ai(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Di(e,t,r,a=t.elementType===r?a:eo(r,a),n);case 7:return Ai(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ai(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,u=t.memoizedProps,o=a.value;var l=t.type._context;if(ma(to,l._currentValue),l._currentValue=o,null!==u)if(l=u.value,0===(o=Wr(l,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(u.children===a.children&&!ga.current){t=tu(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){u=l.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&s.observedBits&o){1===l.tag&&((s=ho(n,null)).tag=2,mo(l,s)),l.expirationTime<n&&(l.expirationTime=n),null!==(s=l.alternate)&&s.expirationTime<n&&(s.expirationTime=n),uo(l.return,n),c.expirationTime<n&&(c.expirationTime=n);break}s=s.next}}else u=10===l.tag&&l.type===t.type?null:l.child;if(null!==u)u.return=l;else for(u=l;null!==u;){if(u===t){u=null;break}if(null!==(l=u.sibling)){l.return=u.return,u=l;break}u=u.return}l=u}Ai(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(o=t.pendingProps).children,lo(t,n),r=r(a=co(a,o.unstable_observedBits)),t.effectTag|=1,Ai(e,t,r,n),t.child;case 14:return o=eo(a=t.type,t.pendingProps),zi(e,t,a,o=eo(a.type,o),r,n);case 15:return Vi(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:eo(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,xa(r)?(e=!0,Sa(t)):e=!1,lo(t,n),ko(t,r,a),Co(t,r,a,n),Gi(null,t,r,!0,e,n);case 19:return eu(e,t,n)}throw Error(i(156,t.tag))};var Dl=null,zl=null;function Vl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Ul(e,t,n,r){return new Vl(e,t,n,r)}function Bl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Wl(e,t){var n=e.alternate;return null===n?((n=Ul(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Gl(e,t,n,r,a,o){var u=2;if(r=e,"function"==typeof e)Bl(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case ne:return Hl(n.children,a,o,t);case ue:u=8,a|=7;break;case re:u=8,a|=1;break;case ae:return(e=Ul(12,n,t,8|a)).elementType=ae,e.type=ae,e.expirationTime=o,e;case ce:return(e=Ul(13,n,t,a)).type=ce,e.elementType=ce,e.expirationTime=o,e;case se:return(e=Ul(19,n,t,a)).elementType=se,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:u=10;break e;case ie:u=9;break e;case le:u=11;break e;case fe:u=14;break e;case de:u=16,r=null;break e;case pe:u=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Ul(u,n,t,a)).elementType=e,t.type=r,t.expirationTime=o,t}function Hl(e,t,n,r){return(e=Ul(7,e,r,t)).expirationTime=n,e}function Ql(e,t,n){return(e=Ul(6,e,null,t)).expirationTime=n,e}function Yl(e,t,n){return(t=Ul(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $l(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function ql(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Kl(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Xl(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Jl(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Zl(e,t,n,r){var a=t.current,o=cl(),u=bo.suspense;o=sl(o,a,u);e:if(n){t:{if(et(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(i(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(xa(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(i(171))}if(1===n.tag){var c=n.type;if(xa(c)){n=ka(n,c,l);break e}}n=l}else n=va;return null===t.context?t.context=n:t.pendingContext=n,(t=ho(o,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),mo(a,t),fl(a,o),o}function ec(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function tc(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function nc(e,t){tc(e,t),(e=e.alternate)&&tc(e,t)}function rc(e,t,n){var r=new $l(e,t,n=null!=n&&!0===n.hydrate),a=Ul(3,null,null,2===t?7:1===t?3:0);r.current=a,a.stateNode=r,fo(a),e[In]=r.current,n&&0!==t&&function(e,t){var n=Ze(t);Pt.forEach((function(e){mt(e,t,n)})),_t.forEach((function(e){mt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function ac(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function oc(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o._internalRoot;if("function"==typeof a){var u=a;a=function(){var e=ec(i);u.call(e)}}Zl(t,i,e,a)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new rc(e,0,t?{hydrate:!0}:void 0)}(n,r),i=o._internalRoot,"function"==typeof a){var l=a;a=function(){var e=ec(i);l.call(e)}}gl((function(){Zl(t,i,e,a)}))}return ec(i)}function ic(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ac(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}rc.prototype.render=function(e){Zl(e,this._internalRoot,null,null)},rc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Zl(null,e,null,(function(){t[In]=null}))},vt=function(e){if(13===e.tag){var t=Za(cl(),150,100);fl(e,t),nc(e,t)}},yt=function(e){13===e.tag&&(fl(e,3),nc(e,3))},gt=function(e){if(13===e.tag){var t=cl();fl(e,t=sl(t,e,null)),nc(e,t)}},_=function(e,t,n){switch(t){case"input":if(Se(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=Rn(r);if(!a)throw Error(i(90));xe(r),Se(r,a)}}}break;case"textarea":Ie(e,n);break;case"select":null!=(t=n.value)&&je(e,!!n.multiple,t,!1)}},F=yl,M=function(e,t,n,r,a){var o=zu;zu|=4;try{return $a(98,e.bind(null,t,n,r,a))}finally{(zu=o)===ju&&Xa()}},R=function(){(zu&(1|Nu|Iu))===ju&&(function(){if(null!==ol){var e=ol;ol=null,e.forEach((function(e,t){Jl(t,e),hl(t)})),Xa()}}(),Il())},A=function(e,t){var n=zu;zu|=2;try{return e(t)}finally{(zu=n)===ju&&Xa()}};var uc={Events:[Fn,Mn,Rn,C,T,Wn,function(e){ot(e,Bn)},I,L,Jt,lt,Il,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Dl=function(e){try{t.onCommitFiberRoot(n,e,void 0,!(64&~e.current.effectTag))}catch(e){}},zl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}})(a({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:K.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Ln,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uc,t.createPortal=ic,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw Error(i(268,Object.keys(e)))}return e=null===(e=rt(t))?null:e.stateNode},t.flushSync=function(e,t){if((zu&(Nu|Iu))!==ju)throw Error(i(187));var n=zu;zu|=1;try{return $a(99,e.bind(null,t))}finally{zu=n,Xa()}},t.hydrate=function(e,t,n){if(!ac(t))throw Error(i(200));return oc(null,e,t,!0,n)},t.render=function(e,t,n){if(!ac(t))throw Error(i(200));return oc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ac(e))throw Error(i(40));return!!e._reactRootContainer&&(gl((function(){oc(null,null,e,!1,(function(){e._reactRootContainer=null,e[In]=null}))})),!0)},t.unstable_batchedUpdates=yl,t.unstable_createPortal=function(e,t){return ic(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ac(n))throw Error(i(200));if(null==e||void 0===e._reactInternalFiber)throw Error(i(38));return oc(e,t,n,!1,r)},t.version="16.14.0"},16:function(e,t,n){"use strict";e.exports=n(17)},17:function(e,t,n){"use strict";
/** @license React v0.19.1
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r,a,o,i,u;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,c=null,s=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(s,0))},a=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},i=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){window.cancelAnimationFrame;window.requestAnimationFrame}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var v=p.now();t.unstable_now=function(){return p.now()-v}}var y=!1,g=null,b=-1,w=5,x=0;i=function(){return t.unstable_now()>=x},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e||(w=0<e?Math.floor(1e3/e):5)};var E=new MessageChannel,T=E.port2;E.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();x=e+w;try{g(!0,e)?T.postMessage(null):(y=!1,g=null)}catch(e){throw T.postMessage(null),e}}else y=!1},r=function(e){g=e,y||(y=!0,T.postMessage(null))},a=function(e,n){b=h((function(){e(t.unstable_now())}),n)},o=function(){m(b),b=-1}}function k(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<P(a,t)))break e;e[r]=t,e[n]=a,n=r}}function S(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,i=e[o],u=o+1,l=e[u];if(void 0!==i&&0>P(i,n))void 0!==l&&0>P(l,i)?(e[r]=l,e[u]=n,r=u):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==l&&0>P(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var _=[],j=[],O=1,N=null,I=3,L=!1,F=!1,M=!1;function R(e){for(var t=S(j);null!==t;){if(null===t.callback)C(j);else{if(!(t.startTime<=e))break;C(j),t.sortIndex=t.expirationTime,k(_,t)}t=S(j)}}function A(e){if(M=!1,R(e),!F)if(null!==S(_))F=!0,r(D);else{var t=S(j);null!==t&&a(A,t.startTime-e)}}function D(e,n){F=!1,M&&(M=!1,o()),L=!0;var r=I;try{for(R(n),N=S(_);null!==N&&(!(N.expirationTime>n)||e&&!i());){var u=N.callback;if(null!==u){N.callback=null,I=N.priorityLevel;var l=u(N.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?N.callback=l:N===S(_)&&C(_),R(n)}else C(_);N=S(_)}if(null!==N)var c=!0;else{var s=S(j);null!==s&&a(A,s.startTime-n),c=!1}return c}finally{N=null,I=r,L=!1}}function z(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){F||L||(F=!0,r(D))},t.unstable_getCurrentPriorityLevel=function(){return I},t.unstable_getFirstCallbackNode=function(){return S(_)},t.unstable_next=function(e){switch(I){case 1:case 2:case 3:var t=3;break;default:t=I}var n=I;I=t;try{return e()}finally{I=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=V,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=I;I=e;try{return t()}finally{I=n}},t.unstable_scheduleCallback=function(e,n,i){var u=t.unstable_now();if("object"==typeof i&&null!==i){var l=i.delay;l="number"==typeof l&&0<l?u+l:u,i="number"==typeof i.timeout?i.timeout:z(e)}else i=z(e),l=u;return e={id:O++,callback:n,priorityLevel:e,startTime:l,expirationTime:i=l+i,sortIndex:-1},l>u?(e.sortIndex=l,k(j,e),null===S(_)&&e===S(j)&&(M?o():M=!0,a(A,l-u))):(e.sortIndex=i,k(_,e),F||L||(F=!0,r(D))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var n=S(_);return n!==N&&null!==N&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<N.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=I;return function(){var n=I;I=t;try{return e.apply(this,arguments)}finally{I=n}}}},2:function(e,t){e.exports=jQuery},32:function(e,t,n){"use strict";t.a=n.p+"static/images/RWD/default_image.png"},33:function(e,t,n){"use strict";n.d(t,"f",(function(){return q})),n.d(t,"h",(function(){return X})),n.d(t,"g",(function(){return J})),n.d(t,"d",(function(){return Z})),n.d(t,"b",(function(){return ee})),n.d(t,"c",(function(){return te})),n.d(t,"a",(function(){return ne})),n.d(t,"e",(function(){return re}));var r=n(0),a=n.n(r);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function f(e,t,n){return t=p(t),function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,d()?Reflect.construct(t,n||[],p(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var v=function(e){function t(){return u(this,t),f(this,t,arguments)}return h(t,e),c(t,[{key:"openIntroPageFunc",value:function(){this.props.openIntroPageFunc&&this.props.openIntroPageFunc(this.props.videoId,this.props.videoSeriesType,this.props.videoTitle,this.props.twmContentId)}},{key:"render",value:function(){var e=null;e=this.props.upTagWording?a.a.createElement("div",{className:"tagTopArea","aria-hidden":"true"},a.a.createElement("div",{className:"tag green",style:{backgroundColor:this.props.upTagBG,color:this.props.upTagFG}},this.props.upTagWording)):null;var t=null;t=this.props.downTagWordingV2?a.a.createElement("div",{className:"tagBottomArea","aria-hidden":"true"},a.a.createElement("div",{className:"tag green",aid:"v2",style:{backgroundColor:this.props.downTagBGV2,color:this.props.downTagFGV2}},this.props.downTagWordingV2)):this.props.downTagWording?a.a.createElement("div",{className:"tagBottomArea","aria-hidden":"true"},a.a.createElement("div",{className:"tag green",aid:"v1",style:{backgroundColor:this.props.downTagBG,color:this.props.downTagFG}},this.props.downTagWording)):null;var n="/details/"+this.props.videoSeriesType+"/"+this.props.videoId,r={href:n};return"11"!==this.props.uxPanelType&&"16"!==this.props.uxPanelType||(r=""),a.a.createElement("a",i({},r,{title:this.props.videoTitle}),a.a.createElement("div",{className:"imgBox",onClick:this.openIntroPageFunc.bind(this)},a.a.createElement("img",{className:this.props.imgClassName,src:this.props.imgSrc,alt:this.props.videoTitle}),e,t),a.a.createElement("h3",{onClick:function(){return window.location.href=n}},this.props.videoTitle),a.a.createElement("p",null,this.props.videoSubTitle))}}])}(a.a.Component),y=function(e){function t(){return u(this,t),f(this,t,arguments)}return h(t,e),c(t,[{key:"render",value:function(){return a.a.createElement(v,i({},this.props,this.state,{imgClassName:"poster"}))}}])}(a.a.Component),g=function(e){function t(){return u(this,t),f(this,t,arguments)}return h(t,e),c(t,[{key:"render",value:function(){return a.a.createElement(v,i({},this.props,this.state,{imgClassName:"photo"}))}}])}(a.a.Component);v.defaultProps={href:"",imgSrc:"",videoTitle:"",videoSubTitle:"",tagBackgroundColor:"",tagColor:""};var b=n(2),w=n.n(b),x=n(6),E=n(1),T=n(85);n.p;function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,j(r.key),r)}}function _(e,t,n){return t&&P(e.prototype,t),n&&P(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function j(e){var t=function(e,t){if("object"!=k(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=k(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==k(t)?t:t+""}function O(e,t,n){return t=I(t),function(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,N()?Reflect.construct(t,n||[],I(e).constructor):t.apply(e,n))}function N(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(N=function(){return!!e})()}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}function L(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&F(e,t)}function F(e,t){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},F(e,t)}var M=Object.freeze({initial:0,loading:1,loaded:2,fail:3}),R=function(e){function t(e){var n;return C(this,t),(n=O(this,t,[e])).defaultState={isLogin:"N",inToViewList:"N",dtrPrice:0,hasTrailer:"N",cardBackState:M.initial},n.state=n.defaultState,n}return L(t,e),_(t,[{key:"onMouseEnter",value:function(){var e=this;if(this.state.cardBackState!==M.loaded&&this.state.cardBackState!==M.loading){var t=this.props.videoId,n=ne(this.props.videoSeriesType),r=this.props.videoIsFree;this.setState({cardBackState:M.loading}),clearTimeout(this.timer),this.timer=setTimeout((function(){Object(x.n)(t,n,r,e.props.constants.chl,e.props.constants.chk,e.props.constants.UID,e.props.constants.apiVersion,e.props.constants.callerInfoInput,e.props.constants.UA).then((function(t){e.setState({isLogin:t.isLogin,inToViewList:t.inToViewList,dtrPrice:t.dtrPrice,hasTrailer:t.hasTrailer,cardBackState:M.loaded})})).catch((function(t){e.setState({isLogin:"N",inToViewList:"N",dtrPrice:0,hasTrailer:"N",cardBackState:M.fail})}))}),500)}}},{key:"onMouseLeave",value:function(){clearTimeout(this.timer),this.state.cardBackState===M.loading&&this.setState({cardBackState:M.initial})}},{key:"playMovieFunc",value:function(){var e=this.props.videoId,t=ne(this.props.videoSeriesType),n=E.bb,r=E.cb;if(this.state.playAppLink&&""!==this.state.playAppLink)window.location.href=this.state.playAppLink;else{var a="/playerpage.do?preview=true&"+("0"===t?"contentID="+e:"packingId="+e);w()("#"+n).css("display","inline-block");var o=w()("#"+r);o.length&&o.attr("src",a)}}},{key:"collectFunc",value:function(){var e=this;if("N"===this.state.isLogin)alert("請登入後繼續操作"),window.location.href="/login.do";else{var t,n=this.props.videoId;t="Y"===this.state.inToViewList?"2":"1";var r="0"===this.props.videoSeriesType?"0":"1";Object(x.U)(t,n,r,this.props.constants.chl,this.props.constants.chk,this.props.constants.UID,this.props.constants.callerInfoInput).then((function(t){"0"===t.status.code&&(alert(t.msg),e.setState({inToViewList:t.statusAction}),e.props.foreceUpdateFloatArea())}))}}},{key:"openIntroPageFunc",value:function(){this.props.openIntroPageFunc&&this.props.openIntroPageFunc(this.props.videoId,this.props.videoSeriesType,this.props.videoTitle,this.props.twmContentId)}},{key:"renderCardBackArea",value:function(){var e,t,n;e="Y"===this.state.hasTrailer?a.a.createElement("button",{className:"btn outline size_45_45_36",onClick:this.playMovieFunc.bind(this)},a.a.createElement("img",{className:"btnIcon",src:T.a,alt:""}),"欣賞預告"):null,t="Y"===this.state.inToViewList?"icon addCollect active":"icon addCollect",n=0!==parseInt(this.state.dtrPrice,10)?a.a.createElement("p",null,"單次租借 $",this.state.dtrPrice):null;var r="/details/"+this.props.videoSeriesType+"/"+this.props.videoId;return a.a.createElement(a.a.Fragment,null,a.a.createElement("a",{className:"linkArea",href:r,title:this.props.videoTitle},a.a.createElement("div",{onClick:this.openIntroPageFunc.bind(this)},a.a.createElement("h3",null,this.props.videoTitle),a.a.createElement("p",null,this.props.videoLength),a.a.createElement("p",{className:this.props.descClassName},this.props.videoDesc))),a.a.createElement("div",{className:"backBottom"},e,a.a.createElement("div",{className:"shareBox"},a.a.createElement("ul",null,a.a.createElement("li",null,a.a.createElement("img",{className:t,onClick:this.collectFunc.bind(this),alt:""})))),n))}},{key:"renderCardBackTitle",value:function(){return a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{style:{cursor:"pointer"},onClick:this.openIntroPageFunc.bind(this)},a.a.createElement("h3",null,this.props.videoTitle),a.a.createElement("p",null,this.props.videoLength),a.a.createElement("p",{className:this.props.descClassName},this.props.videoDesc)))}},{key:"render",value:function(){var e;return e=this.state.cardBackState===M.initial?"":this.state.cardBackState===M.loading?this.renderCardBackTitle():(this.state.cardBackState===M.loaded||(this.state.cardBackState,M.fail),this.renderCardBackArea()),a.a.createElement("div",{className:"back",onMouseEnter:this.onMouseEnter.bind(this),onMouseLeave:this.onMouseLeave.bind(this)},e)}}])}(a.a.Component),A=function(e){function t(){return C(this,t),O(this,t,arguments)}return L(t,e),_(t,[{key:"render",value:function(){return a.a.createElement(R,S({},this.props,this.state,{descClassName:"multiLine3"}))}}])}(a.a.Component),D=function(e){function t(){return C(this,t),O(this,t,arguments)}return L(t,e),_(t,[{key:"render",value:function(){return a.a.createElement(R,S({},this.props,this.state,{descClassName:"multiLine2"}))}}])}(a.a.Component);function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z.apply(this,arguments)}function V(e){var t=e.videoCardProps,n=e.videoCardBackProps,r=e.constants;return"poster"===e.cardType?a.a.createElement(a.a.Fragment,null,a.a.createElement(y,t),n.hasBack?a.a.createElement(A,z({},n,{constants:r})):null):a.a.createElement(a.a.Fragment,null,a.a.createElement(g,t),n.hasBack?a.a.createElement(D,z({},n,{constants:r})):null)}function U(e){var t=e.videoCardProps,n=e.videoCardBackProps,r=e.constants;return a.a.createElement(V,{videoCardProps:t,videoCardBackProps:n,constants:r,cardType:"poster"})}function B(e){var t=e.videoCardProps,n=e.videoCardBackProps,r=e.constants;return a.a.createElement(V,{videoCardProps:t,videoCardBackProps:n,constants:r,cardType:"photo"})}R.defaultProps={videoTitle:"",videoDesc:""};var W=n(4),G=n(32),H=n(36);function Q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return u}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $(e,t,n){return e.map((function(e){var r={imgSrc:"poster"===t?(e.videoPic03||"").trim()||H.a:(e.stillImage2||"").trim()||G.a,videoTitle:e.videoTitle,videoId:e.id,twmContentId:e.contentId,videoSeriesType:e.seriesType,tagWording:e.tagWording,tagBackgroundColor:e.tagBG,tagColor:e.tagWordingColor,openIntroPageFunc:n,upTagBG:e.upTagBG,upTagFG:e.upTagFG,upTagWording:e.upTagWording,downTagBG:e.downTagBG,downTagFG:e.downTagFG,downTagWording:e.downTagWording,downTagBGV2:e.downTagBGV2,downTagFGV2:e.downTagFGV2,downTagWordingV2:e.downTagWordingV2};return"poster"===t?a.a.createElement(y,r):a.a.createElement(g,r)}))}function q(e,t){return $(e,"poster",t)}function K(e,t,n,r,o,i,u){return t.map((function(t,l){var c,s;c="poster"===r?(t.videoPic03||"").trim()||H.a:(t.stillImage2||"").trim()||G.a,"VOD03"===e.layout&0===l&&(s=t.subTitle.trim().length>0?t.subTitle:t.videoDesc),"VOD04"===e.layout&0===l&&(s=t.movieLength<=0?"":t.movieLength>=60?Object(W.i)(t.movieLength):t.movieLength%60+"分");var f={imgSrc:c,videoTitle:t.videoTitle,videoId:t.id,twmContentId:t.contentId,videoSeriesType:t.seriesType,tagWording:t.tagWording,tagBackgroundColor:t.tagBG,tagColor:t.tagWordingColor,openIntroPageFunc:i,videoSubTitle:s,upTagBG:t.upTagBG,upTagFG:t.upTagFG,upTagWording:t.upTagWording,downTagBG:t.downTagBG,downTagFG:t.downTagFG,downTagWording:t.downTagWording,downTagBGV2:t.downTagBGV2,downTagFGV2:t.downTagFGV2,downTagWordingV2:t.downTagWordingV2,uxPanelType:e.uxPanelType},d=t.movieLength,p=d>=60?Math.floor(d/60)+"小時"+d%60+"分":d%60+"分",h={videoTitle:t.videoTitle,videoDesc:t.videoDesc,videoLength:p,videoId:t.id,videoIsFree:t.isFree,videoSeriesType:t.seriesType,foreceUpdateFloatArea:o,openIntroPageFunc:i,hasBack:n};return"poster"===r?a.a.createElement(U,{videoCardProps:f,videoCardBackProps:h,constants:u}):a.a.createElement(B,{videoCardProps:f,videoCardBackProps:h,constants:u})}))}function X(e,t,n,r,a){return K(e,t,!1,"poster",n,r,a)}function J(e,t,n,r,a){return K(e,t,!1,"photo",n,r,a)}function Z(e){return e?(/^[?#]/.test(e)?e.slice(1):e).split("&").reduce((function(e,t){var n=Q(t.split("="),2),r=n[0],a=n[1];return e[r]=a?decodeURIComponent(a.replace(/\+/g," ")):"",e}),{}):{}}function ee(e,t){var n="/details/".concat(t,"/").concat(e);window.location.href=n}function te(e,t,n){var r="/details/".concat(t,"/").concat(e),a=function(e){window.location.href=e},o=function(e,t){a(r)},i=function(e){Object(x.c)(e,"0").then((function(t){if(t&&"Y"===t.hasPlayRight){var n=Object(W.b)(navigator.userAgent);if((n===E.v||n===E.y||n===E.w)&&t.linkStr){var o=t.linkStr,i="ContentPlay:"+e+o.replace("twmmyvideo://?","&");return Object(W.n)(i,o),null}a("/player/0/".concat(e,"/video?bundleType=1"))}else t&&"N"===t.hasPlayRight&&t.seriesInfoId&&t.seriesInfoSeriesType?a("/details/".concat(t.seriesInfoSeriesType,"/").concat(t.seriesInfoId)):a(r)})).catch((function(e){return o()}))};"3"===t?Object(x.a)(n).then((function(e){e&&e.id?i(e.id):a(r)})).catch((function(e){return o()})):"0"===t?i(e):a(r)}function ne(e){return"0"===e?"0":"1"}function re(e){var t=document.createElement("p");return t.innerHTML=e,t.innerText}},36:function(e,t,n){"use strict";t.a=n.p+"static/images/RWD/default_poster.png"},4:function(e,t,n){"use strict";n.d(t,"j",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"o",(function(){return i})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return l})),n.d(t,"q",(function(){return c})),n.d(t,"r",(function(){return s})),n.d(t,"s",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"l",(function(){return h})),n.d(t,"g",(function(){return m})),n.d(t,"m",(function(){return v})),n.d(t,"n",(function(){return y})),n.d(t,"i",(function(){return g})),n.d(t,"p",(function(){return b})),n.d(t,"h",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"k",(function(){return E}));var r=n(1);function a(e){var t="";switch(e){case r.T:t=r.U;break;case r.R:t=r.S;break;case r.M:t=r.N;break;case r.F:t=r.H;break;case r.I:t=r.J}return t}function o(e){return e.indexOf(r.v)>-1?r.v:e.indexOf(r.y)>-1||e.indexOf(r.x)>-1?r.w:r.z}function i(e,t,n){var a="";switch(t){case r.T:a="";break;case r.R:a="wl:main";break;case r.M:a="BuyList:main";break;case r.F:a="Favorite:main";break;case r.I:a="ViewRecord:main"}return e===r.v?"myvideo://ux?action="+a+"&uid="+n:e===r.w?"twmmyvideo://ux?action="+a+"&uid="+n:void 0}function u(e){if(""!==e){if(document.queryCommandSupported("copy")){var t=document.createElement("textarea");t.textContent=e,document.body.appendChild(t);var n=document.getSelection(),r=document.createRange();r.selectNode(t),n.removeAllRanges(),n.addRange(r),document.execCommand("copy")&&(n.removeAllRanges(),document.body.removeChild(t),alert("複製連結成功"))}}else alert("沒有可分享連結")}function l(e){if(""!==e){if(document.queryCommandSupported("copy")){var t=document.createElement("textarea");t.textContent=e,document.body.appendChild(t);var n=document.getSelection(),r=document.createRange();r.selectNode(t),n.removeAllRanges(),n.addRange(r),document.execCommand("copy")&&(n.removeAllRanges(),document.body.removeChild(t),alert("複製文字成功"))}}else alert("沒有可分享連結")}function c(e){var t;return""!==(e=encodeURIComponent(e))&&(t=window.open("https://www.facebook.com/sharer/sharer.php?u="+e,"facebook-popup","height=350,width=600")),void 0!==t&&t.focus&&t.focus(),!1}function s(e){var t;return""!==(e=encodeURIComponent(e))&&(t=window.open("https://lineit.line.me/share/ui?url="+e)),void 0!==t&&t.focus&&t.focus(),!1}function f(e,t){var n;return""!==e&&(n=window.open("https://lineit.line.me/share/ui?url="+e+"&text="+t)),void 0!==n&&n.focus&&n.focus(),!1}function d(e,t){return""!==e&&""!==t?"details/"+e+"/"+t:""}function p(e){var t=e.split(":")[1].split("|");return""!==t[0]&&""!==t[1]?window.location.origin+"/"+d(t[1],t[0]):""}function h(e){for(var t in e)return!1;return!0}function m(e){null!=navigator.userAgent.match(/iPhone/i)||null!=navigator.userAgent.match(/iPad/i)?(window.location.href="twmmyvideo://ux?action=Uxcategoryfirst:main&uid="+e,window.setTimeout((function(){window.location.href="itms-apps://itunes.apple.com/tw/app/myvideo-ying-yin-dian-ying/id567629616?mt=8"}),1500)):null!=navigator.userAgent.match(/Android/i)&&(window.location.href="intent://ux?action=Uxcategoryfirst:main&uid="+e+"#Intent;package=com.taiwanmobile.myVideo;scheme=myvideo;end;")}function v(e){var t=navigator.userAgent;-1!==t.indexOf("iPhone")||-1!==t.indexOf("iPad")?(window.location=e,window.setTimeout((function(){window.location.href="itms-apps://itunes.apple.com/tw/app/myvideo-ying-yin-dian-ying/id567629616?mt=8"}),500)):(e=e.replace("myvideo://",""),window.location="intent://"+e+"#Intent;package=com.taiwanmobile.myVideo;scheme=myvideo;end;")}function y(e,t){navigator.userAgent;var n=window.location.href.indexOf("s.myvideo.net.tw")>-1?"sgw.myvideo.net.tw":"mgw.myvideo.net.tw";!function(){var e=navigator.userAgent;return(-1!==e.indexOf("iPhone")||-1!==e.indexOf("iPad"))&&-1!==e.indexOf("Safari")&&-1===e.indexOf("CriOS")&&-1===e.indexOf("FxiOS")}()?v(t):window.location="https://"+n+"/deepLink/link.jsp?action="+e+"&goto=appstore"}function g(e){return Math.floor(e/60)+"小時"+e%60+"分"}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/",a="";if(n===1/0)a="expires=Fri, 31 Dec 9999 23:59:59 GMT";else{var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3),a="expires="+o.toGMTString()}document.cookie=e+"="+t+"; "+a+";path="+r}function w(e){var t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]*)(;|$)"));return null!=t?unescape(t[2]):null}function x(e,t){if(""===e)return t.substring(0,16).split("/").join("-")+"前觀看";var n;return(n=(new Date(t).getTime()/1e3-(new Date).getTime()/1e3)/3600)>0&&n<1?"還有 "+Math.floor(60*n)+" 分鐘到期":"還有 "+Math.floor(n)+" 小時到期"}function E(e){for(var t=e,n=0;n<t.length;n++)return!(t.charCodeAt(n)<19968||t.charCodeAt(n)>40869)}},41:function(e,t,n){"use strict";t.a=n.p+"static/images/RWD/default_image.png"},6:function(e,t,n){"use strict";n.d(t,"K",(function(){return u})),n.d(t,"L",(function(){return l})),n.d(t,"W",(function(){return c})),n.d(t,"n",(function(){return s})),n.d(t,"U",(function(){return f})),n.d(t,"Y",(function(){return d})),n.d(t,"X",(function(){return p})),n.d(t,"b",(function(){return h})),n.d(t,"R",(function(){return m})),n.d(t,"V",(function(){return v})),n.d(t,"E",(function(){return y})),n.d(t,"M",(function(){return g})),n.d(t,"S",(function(){return b})),n.d(t,"q",(function(){return w})),n.d(t,"P",(function(){return x})),n.d(t,"Z",(function(){return E})),n.d(t,"F",(function(){return T})),n.d(t,"r",(function(){return k})),n.d(t,"p",(function(){return S})),n.d(t,"J",(function(){return C})),n.d(t,"f",(function(){return P})),n.d(t,"i",(function(){return _})),n.d(t,"eb",(function(){return j})),n.d(t,"I",(function(){return O})),n.d(t,"s",(function(){return N})),n.d(t,"h",(function(){return I})),n.d(t,"g",(function(){return L})),n.d(t,"T",(function(){return F})),n.d(t,"db",(function(){return M})),n.d(t,"u",(function(){return R})),n.d(t,"ab",(function(){return A})),n.d(t,"G",(function(){return D})),n.d(t,"d",(function(){return z})),n.d(t,"bb",(function(){return V})),n.d(t,"H",(function(){return U})),n.d(t,"l",(function(){return B})),n.d(t,"O",(function(){return W})),n.d(t,"D",(function(){return G})),n.d(t,"x",(function(){return H})),n.d(t,"v",(function(){return Q})),n.d(t,"o",(function(){return Y})),n.d(t,"Q",(function(){return $})),n.d(t,"e",(function(){return q})),n.d(t,"cb",(function(){return K})),n.d(t,"k",(function(){return X})),n.d(t,"m",(function(){return J})),n.d(t,"t",(function(){return Z})),n.d(t,"j",(function(){return ee})),n.d(t,"C",(function(){return te})),n.d(t,"A",(function(){return ne})),n.d(t,"z",(function(){return re})),n.d(t,"B",(function(){return ae})),n.d(t,"y",(function(){return oe})),n.d(t,"N",(function(){return ie})),n.d(t,"w",(function(){return ue})),n.d(t,"a",(function(){return le})),n.d(t,"c",(function(){return ce}));var r=n(2),a=n.n(r),o=n(1),i=n(4);function u(e,t){var n={groupId:e,uxCategoryId:t};return a.a.ajax({url:"/ajax/ajaxFindMyVideoGroup.do",data:n}).then((function(e){return e.data})).fail((function(e,t,n){}))}function l(e,t,n,r,i,u,l,c,s,f,d,p,h,m){var v="Y",y="N";if("PC"===p.deviceType&&null!=h&&""!=h&&(v=(h=h.toUpperCase()).indexOf("CHROME")>-1||h.indexOf("FIREFOX")>-1||h.indexOf("EDGE")>-1?"Y":"N"),"Y"===m)switch(e){case"MyFavorite":case"KeepWatch":y="Y"}var g={chl:c,chk:s,apiVersion:d,ssoSession:p.thissession,kidMode:p.kidMode,supportAVOD:v,devType:p.deviceType,uId:f,type:"1",showHighlight:"Y",luxuryService:"N",menuType:e,menuId:t,queryType:n,startIndex:r,maxRecord:i,categoryId:u,uxCategoryId:"1"===p.kidMode?p.kidModeCategoryId:l,supportMultiSeason:"Y",filterSexual:"N",filterRestrict:y};return a.a.ajax({url:o.r.TWM_SERVICE_GATEWAY_API+"FindMyVideoList.json",data:g}).then((function(e){return"0"!==e.status.code||0===e.status.totalCount&&0===e.status.recordCount?{videos:[],menu:{type:"",id:""}}:(e.data.videos=e.data.videoList.video,e.data)})).fail((function(e,t,n){}))}function c(e,t,n,r,o,i,u){var l={devType:e,devOS:t,categoryId:n,startIndex:r,count:o,withRecommend:i,uId:u};return a.a.ajax({url:"/ajax/ajaxFindUxCategory.do",data:l}).then((function(e){return e.data})).fail((function(e,t,n){}))}function s(e,t,n,r,i,u,l,c,s){var f={chl:r,chk:i,uId:u,devType:c.deviceType,ssoSession:c.thissession,apiVersion:l,contentId:e,isFree:n,isSeries:t};return a.a.ajax({url:o.r.TWM_SERVICE_GATEWAY_API+"FindMyVideoContentBrief.json",data:f}).then((function(e){if("0"===e.status.code){var r=s.indexOf("CHROME")>-1;if(!("PC"==c.deviceType||"CHROMECAST"==c.deviceType.toUpperCase()&&r)){var a=c.accountID,o=c.ts,i="0"==t?"true":"false",l="Y"==n?"true":"false",f="twmmyvideo://";s.toLowerCase().indexOf("android")>-1&&(f="Tablet"==c.deviceType?"myvideo://tablet":"myvideo://handset"),f+="?accountID="+a+"&ts="+o+"&isSingle="+i+"&isPreview=true&isFree="+l,e.data.playAppLink=f}return e.data.isLogin=""==u?"N":"Y",e.data}return{isLogin:"N",inToViewList:"N",dtrPrice:0,hasTrailer:"N"}})).fail((function(e,t,n){}))}function f(e,t,n,r,i,u,l){var c={chl:r,chk:i,uId:u,ssoSession:l.thissession,contentId:t,actionType:e,isSeries:n};return a.a.ajax({url:o.r.TWM_SERVICE_GATEWAY_API+"UpdateToViewList.json",data:c}).then((function(t){return"0"===t.status.code&&(t.successInfo="success",t.msg=t.status.message,t.statusAction=1==e?"Y":"N"),t})).fail((function(e,t,n){}))}function d(e,t,n,r,i){var u={chl:e,chk:t,uId:n,devType:r.deviceType,ssoSession:r.thissession,apiVersion:i};return a.a.ajax({url:o.r.TWM_SERVICE_GATEWAY_API+"FindUxTopMenu.json",data:u}).then((function(e){var t={data:{uxMenuList:[]}};return"0"===e.status.code&&(t.data.uxMenuList=e.data.uxMenuList.uxMenu),t})).fail((function(e,t,n){}))}function p(e,t,n){var r={chl:e,chk:t,devType:n.deviceType};return a.a.ajax({url:o.r.TWM_SERVICE_GATEWAY_API+"FindUxCharacter.json",data:r}).then((function(e){return"0"===e.status.code?e.data.characterList.character:[]})).fail((function(e,t,n){}))}function h(e,t,n,r,i){var u={chl:t,chk:n,apiVersion:r,devType:i.deviceType,mainCategoryId:e};return a.a.ajax({url:o.r.TWM_SERVICE_GATEWAY_API+"FindMainCategoryMenu3.json",data:u}).then((function(e){return"0"===e.status.code?e.data:{}})).fail((function(e,t,n){}))}function m(e,t,n,r,i,u,l,c){var s="Y";"PC"===u.deviceType&&null!=l&&""!=l&&(s=(l=l.toUpperCase()).indexOf("CHROME")>-1||l.indexOf("FIREFOX")>-1||l.indexOf("EDGE")>-1?"Y":"N");var f={chl:t,chk:n,apiVersion:i,ssoSession:u.thissession,kidMode:u.kidMode,supportAVOD:s,devType:u.deviceType,uId:r,type:"1",showHighlight:"Y",menuType:"ToViewList",queryType:"menu",filterRestrict:e,uxCategoryId:"1"===u.kidMode?u.kidModeCategoryId:c,supportMultiSeason:"Y"};return a.a.ajax({url:o.r.TWM_SERVICE_GATEWAY_API+"FindMyVideoList.json",data:f}).then((function(e){return""===r?{isLogin:"N"}:"0"!==e.status.code||0===e.status.totalCount&&0===e.status.recordCount?{isLogin:"Y",videos:[]}:(e.data.videos=e.data.videoList.video,e.data)})).fail((function(e,t,n){}))}function v(e){var t={adUrl:e};return a.a.ajax({url:"/ajax/ajaxGetUrlString.do",data:t}).then((function(e){return e})).fail((function(e,t,n){}))}function y(){return a.a.ajax({url:"/ajax/ajaxGetIsLogin.do"}).then((function(e){return e.data})).fail((function(e,t,n){}))}function g(e){return a.a.ajax({url:e+o.l,data:{}}).then((function(e){return e})).fail((function(e,t,n){}))}function b(e,t,n){return a.a.ajax({url:e+o.h,data:{menuType:"ToViewList",queryType:"menu",startIndex:t,maxRecord:n,filterRestrict:"N"}}).then((function(e){return e})).fail((function(e,t,n){}))}function w(e,t,n){return a.a.ajax({url:e+o.h,data:{menuType:"MyFavorite",queryType:"menu",startIndex:t,maxRecord:n,filterRestrict:"N"}}).then((function(e){return e})).fail((function(e,t,n){}))}function x(e,t,n){return a.a.ajax({url:e+o.j,data:{devType:t,apiVersion:n}}).then((function(e){return e})).fail((function(e,t,n){}))}function E(e,t,n,r,i){return a.a.ajax({url:e+o.h,data:{menuType:"ViewRecord",queryType:"menu",periodStartMonth:t,periodEndMonth:n,startIndex:r,maxRecord:i,filterRestrict:"N"}}).then((function(e){return e})).fail((function(e,t,n){}))}function T(e,t,n){return a.a.ajax({url:e+o.h,data:{menuType:"KeepWatch",queryType:"menu",startIndex:t,maxRecord:n,filterRestrict:"N"}}).then((function(e){return e})).fail((function(e,t,n){}))}function k(e,t,n){return a.a.ajax({url:e+o.h,data:{menuType:"FavoriteRecommend",queryType:"menu",startIndex:t,maxRecord:n,filterRestrict:"Y"}}).then((function(e){return e})).fail((function(e,t,n){}))}function S(e){return a.a.ajax({url:e+o.d,data:{}}).then((function(e){return e})).fail((function(e,t,n){}))}function C(e){return a.a.ajax({url:e+o.f,data:{}}).then((function(e){return e})).fail((function(e,t,n){}))}function P(e,t,n){return a.a.ajax({url:e+o.a,data:{deleteContentId:t,isSeries:n}}).then((function(e){return e})).fail((function(e,t,n){}))}function _(e,t){return a.a.ajax({url:e+o.i,data:{contentID:t}}).then((function(e){return e})).fail((function(e,t,n){}))}function j(e,t,n){return a.a.ajax({url:e+o.o,data:{msgIds:t.toString(),status:n}}).then((function(e){return e})).fail((function(e){return e}))}function O(e,t){return a.a.ajax({url:e+o.g,data:{mainCategoryId:t}}).then((function(e){return e})).fail((function(e,t,n){}))}function N(e,t,n,r,i,u,l,c,s){return a.a.ajax({url:e+o.c,data:{mainCategoryId:t,subcategoryId:n,year:r,country:encodeURIComponent(i),orderBy:u,startIndex:l,maxRecord:c,sellType:s}}).then((function(e){return e})).fail((function(e,t,n){}))}function I(e,t){return a.a.ajax({url:e+o.n,data:{exchangeCode:t}}).then((function(e){return e})).fail((function(e){return e}))}function L(e,t){return a.a.ajax({url:e+o.b,data:{serialNumber:t}}).then((function(e){return e})).fail((function(e){return e}))}function F(e,t){return a.a.ajax({url:e+o.m,data:{adUrl:t}}).then((function(e){return e})).fail((function(e){return e}))}function M(e,t,n){return a.a.ajax({url:e+o.o,data:{msgIds:t,status:n}}).then((function(e){return e})).fail((function(e){return e}))}function R(e,t,n){var r={inputKeyword:e,startIndex:t,searchField:n};return a.a.ajax({url:"/ajax/ajaxBuildSearchPage.do",data:r}).then((function(e){return e})).fail((function(e,t,n){}))}function A(e,t){var n="Handset"===window.deviceType?"MobileWeb":"Web",r=o.r.TWM_SERVICE_GATEWAY_API_SHUNT+"InsertSASLog?userAgent="+navigator.userAgent+"&userPlatform="+n+"&functionCode="+e+"&deviceId="+Object(i.h)("SSESSIONID")+"&appendix="+encodeURIComponent(t);null!==Object(i.h)("uyyneooua")&&""!==Object(i.h)("uyyneooua")&&(r=r+"&uId="+Object(i.h)("uyyneooua")),a.a.ajax({url:r}).then((function(e){return e})).fail((function(e,t,n){}))}function D(e){return a.a.ajax({url:e+o.e,data:{}}).then((function(e){return e})).fail((function(e,t,n){}))}function z(e){return a.a.ajax({url:"/ajax/ajaxBindLoginData.do",data:{reserveType:e}}).then((function(e){return e})).fail((function(e,t,n){}))}function V(e){return a.a.ajax({url:"/ajax/ajaxKbroBindLoginData.do",data:{reserveType:e}}).then((function(e){return e})).fail((function(e,t,n){}))}function U(){return a.a.ajax({url:"/ajax/ajaxGetLoginInfo.do"}).then((function(e){return e.data})).fail((function(e,t,n){}))}function B(e){return a.a.ajax({url:"/ajax/ajaxBuildPaymentURLData.do"}).then((function(e){return e})).fail((function(e,t,n){}))}function W(){return a.a.ajax({url:"/ajax/ajaxGetPageDataMain.do",async:!1}).then((function(e){return e})).fail((function(e,t,n){}))}function G(){return a.a.ajax({url:"/ajax/ajaxGetHeaderDataMain.do"}).then((function(e){return e})).fail((function(e,t,n){}))}function H(e){var t={code:e};return a.a.ajax({url:"/ajax/ajaxFindWording.do",data:t}).then((function(e){return e})).fail((function(e,t,n){}))}function Q(){return a.a.ajax({url:"/ajax/ajaxFindOpeningPage.do"}).then((function(e){return e})).fail((function(e,t,n){}))}function Y(){return a.a.ajax({url:"/ajax/ajaxCheckDeviceType.do"}).then((function(e){return e})).fail((function(e,t,n){}))}function $(){return a.a.ajax({url:"/ajax/ajaxGetSubaccountInfo.do",data:{}}).then((function(e){return e})).fail((function(e){return e}))}function q(e){return a.a.ajax({url:"/ajax/ajaxChangeSubAccount.do",data:{newSubaccountID:e.subAccountUid,nickname:e.nickname,kidmode:e.kidmode,iconIdx:e.iconIdx,iconUrl:e.iconUrl,iconDesc:e.iconDesc}}).then((function(e){return e})).fail((function(e){return e}))}function K(e){return a.a.ajax({url:"/ajax/ajaxShowSubaccountSelect.do",data:{type:e}}).then((function(e){return e.result})).fail((function(e,t,n){}))}function X(){return a.a.ajax({url:"/ajax/ajaxBlogInfo.do"}).then((function(e){return e})).fail((function(e,t,n){}))}function J(){return a.a.ajax({url:"/ajax/ajaxGetConstants.do"}).then((function(e){return e})).fail((function(e,t,n){}))}function Z(e){return a.a.ajax({url:"/ajax/ajaxFindGroupWording.do",data:{groupCode:e}}).then((function(e){return e})).fail((function(e,t,n){}))}function ee(e){return a.a.ajax({url:"/ajax/ajaxAutoCompleteKeyword.do",data:{searchType:"myvideo",count:"8",prefix:encodeURIComponent(e)}}).then((function(e){return e})).fail((function(e,t,n){}))}function te(){return a.a.ajax({url:"/ajax/ajaxGetHotKeyword.do"}).then((function(e){return e})).fail((function(e,t,n){}))}function ne(){return a.a.ajax({url:"/ajax/ajaxGetHeaderMemberInfo.do"}).then((function(e){return e})).fail((function(e,t,n){}))}function re(){return a.a.ajax({url:"/ajax/ajaxGetHeaderAccountInfo.do"}).then((function(e){return e})).fail((function(e,t,n){}))}function ae(){return a.a.ajax({url:"/ajax/ajaxGetHeaderVideo.do"}).then((function(e){return e})).fail((function(e,t,n){}))}function oe(){return a.a.ajax({url:"/ajax/ajaxGetFooterData.do"}).then((function(e){return e})).fail((function(e,t,n){}))}function ie(){return a.a.ajax({url:"/ajax/ajaxCheckNewIconHint"}).then((function(e){return e})).fail((function(e,t,n){}))}function ue(){return a.a.ajax({url:"/ajax/ajaxFindRegisterActivityEntry.do"}).then((function(e){return e})).fail((function(e,t,n){}))}function le(e){var t={twmContentId:e};return a.a.ajax({url:"/ajax/ajaxFindBundleVideoListNextPlay.do",data:t}).then((function(e){return e})).fail((function(e,t,n){}))}function ce(e,t){var n={contentId:e,isSeries:t};return a.a.ajax({url:"/ajax/ajaxFindVideoPlayRight.do",data:n}).fail((function(e,t,n){}))}},85:function(e,t,n){"use strict";t.a=n.p+"static/images/RWD/btnIcon_play.png"}});