@clickview/library-editor 1.32.1-dev.0 → 1.32.1-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles.json +2 -2
- package/dist/css/{1296-library-editor-08523275de.chunk.css → 3636-library-editor-62f9dfacc9.chunk.css} +2 -2
- package/dist/css/{library-editor-app-960eb15679.css → library-editor-app-52fd909c36.css} +1 -1
- package/dist/languages/en.json +1 -1
- package/dist/scripts/{1010-9a727bc31b.chunk.js → 1010-c562d100ac.chunk.js} +1 -1
- package/dist/scripts/{1086-1e49d7436c.chunk.js → 1086-fe154012dd.chunk.js} +1 -1
- package/dist/scripts/{1216-3680236a27.chunk.js → 1216-d126efc56b.chunk.js} +1 -1
- package/dist/scripts/{1269-6898014713.chunk.js → 1269-b89af42699.chunk.js} +1 -1
- package/dist/scripts/{1364-8b9e7f2564.chunk.js → 1364-e5c8b1f848.chunk.js} +1 -1
- package/dist/scripts/1365-9adfcd4b1a.chunk.js +1 -0
- package/dist/scripts/{1409-c246297ba5.chunk.js → 1409-9e6588218a.chunk.js} +1 -1
- package/dist/scripts/{1492-773cacc5a6.chunk.js → 1492-86b5115bf1.chunk.js} +1 -1
- package/dist/scripts/1601-25cbd3ab27.chunk.js +2 -0
- package/dist/scripts/{1832-3f3a594798.chunk.js → 1832-46e6e69a89.chunk.js} +1 -1
- package/dist/scripts/{1887-1f10bdcd32.chunk.js → 1887-954988b80e.chunk.js} +1 -1
- package/dist/scripts/{1911-18bde23552.chunk.js → 1911-50beb412a1.chunk.js} +1 -1
- package/dist/scripts/{2254-b4c9b27888.chunk.js → 2254-74f8b1db7d.chunk.js} +1 -1
- package/dist/scripts/{2417-d01c128302.chunk.js → 2417-9b4c6ac8e4.chunk.js} +1 -1
- package/dist/scripts/{243-a0b55560d0.chunk.js → 243-aff3f572f3.chunk.js} +1 -1
- package/dist/scripts/{259-e822ff0c6a.chunk.js → 259-835a687da2.chunk.js} +1 -1
- package/dist/scripts/{2692-4dec659d9d.chunk.js → 2692-aa369df8c9.chunk.js} +1 -1
- package/dist/scripts/{2888-0eeb8ded06.chunk.js → 2888-b65b230077.chunk.js} +1 -1
- package/dist/scripts/{299-5b7a541e04.chunk.js → 299-268a19c153.chunk.js} +1 -1
- package/dist/scripts/{3096-43d050bc6c.chunk.js → 3096-7d1b4d32f3.chunk.js} +1 -1
- package/dist/scripts/{3400-a38cfe2a5d.chunk.js → 3400-c76a38cdf8.chunk.js} +1 -1
- package/dist/scripts/3636-cdda462b20.chunk.js +2 -0
- package/dist/scripts/{3763-6f873cc545.chunk.js → 3763-dc8ddac371.chunk.js} +1 -1
- package/dist/scripts/{4177-b807d4cbf3.chunk.js → 4177-ac15a97029.chunk.js} +1 -1
- package/dist/scripts/{4201-84a6867187.chunk.js → 4201-fc24c245e7.chunk.js} +1 -1
- package/dist/scripts/{4245-eda4ba288d.chunk.js → 4245-f6d4caa7ef.chunk.js} +1 -1
- package/dist/scripts/4483-b1021f7abf.chunk.js +1 -0
- package/dist/scripts/{4591-55fa691940.chunk.js → 4591-cb921b33c7.chunk.js} +1 -1
- package/dist/scripts/{4860-d42be62696.chunk.js → 4860-da56ee92fd.chunk.js} +1 -1
- package/dist/scripts/{4885-fd8bf4e706.chunk.js → 4885-df54f067a6.chunk.js} +1 -1
- package/dist/scripts/{514-0d0d21f74f.chunk.js → 514-3ffe5b2338.chunk.js} +1 -1
- package/dist/scripts/{5412-789cbf80a3.chunk.js → 5412-893fd84406.chunk.js} +1 -1
- package/dist/scripts/{5418-c1287e4896.chunk.js → 5418-999daec1b7.chunk.js} +1 -1
- package/dist/scripts/{5424-b185ba8a45.chunk.js → 5424-b39db67d02.chunk.js} +1 -1
- package/dist/scripts/{5747-a8c2c34cc9.chunk.js → 5747-2973b05689.chunk.js} +1 -1
- package/dist/scripts/{6093-d497dc9474.chunk.js → 6093-25b1188c94.chunk.js} +1 -1
- package/dist/scripts/{6220-dfa7ef3ad3.chunk.js → 6220-df69ae5053.chunk.js} +1 -1
- package/dist/scripts/{6357-8477d01a86.chunk.js → 6357-fce36786e9.chunk.js} +1 -1
- package/dist/scripts/{6505-46dfa6d08b.chunk.js → 6505-a55246ec06.chunk.js} +1 -1
- package/dist/scripts/{6732-85c7bcbc36.chunk.js → 6732-d5590f299f.chunk.js} +1 -1
- package/dist/scripts/{6774-c9e8698d5c.chunk.js → 6774-9b62595255.chunk.js} +1 -1
- package/dist/scripts/{6991-06f0fb6962.chunk.js → 6991-a0a9329e27.chunk.js} +1 -1
- package/dist/scripts/{6995-861706c8b2.chunk.js → 6995-a6f779a727.chunk.js} +1 -1
- package/dist/scripts/{6999-c5f81dd42b.chunk.js → 6999-2764068f9b.chunk.js} +1 -1
- package/dist/scripts/{7002-9a93ae8759.chunk.js → 7002-582dbef73b.chunk.js} +1 -1
- package/dist/scripts/{7053-92f3e0d18d.chunk.js → 7053-3ad3048d55.chunk.js} +1 -1
- package/dist/scripts/{708-b2c98b2d1b.chunk.js → 708-cdef619781.chunk.js} +1 -1
- package/dist/scripts/{7376-753fc6cb76.chunk.js → 7376-92729fc093.chunk.js} +1 -1
- package/dist/scripts/{7634-05b848303a.chunk.js → 7634-fd72053962.chunk.js} +1 -1
- package/dist/scripts/{8362-e662057f79.chunk.js → 8362-5162287e67.chunk.js} +1 -1
- package/dist/scripts/{8727-64f4904f76.chunk.js → 8727-0d05d3801e.chunk.js} +1 -1
- package/dist/scripts/{8762-97ee795453.chunk.js → 8762-6223770914.chunk.js} +1 -1
- package/dist/scripts/{8906-2f788f9242.chunk.js → 8906-59be878f1d.chunk.js} +1 -1
- package/dist/scripts/{8947-c600642573.chunk.js → 8947-fcd146181d.chunk.js} +1 -1
- package/dist/scripts/9219-cd1f8e17c0.chunk.js +1 -0
- package/dist/scripts/{9357-8cae90b1de.chunk.js → 9357-fade2427e7.chunk.js} +1 -1
- package/dist/scripts/{9695-ad43223301.chunk.js → 9695-d90471521a.chunk.js} +1 -1
- package/dist/scripts/{9927-faf9b990b5.chunk.js → 9927-bc9223c826.chunk.js} +1 -1
- package/dist/scripts/{9976-50187a4e16.chunk.js → 9976-f4bb28d542.chunk.js} +1 -1
- package/dist/scripts/bundle-394e872fac.min.js +2 -0
- package/dist/scripts/bundle-f3cc28ec98.min.js +2 -0
- package/dist/scripts/bundle-f3cc28ec98.min.js.LICENSE.txt +21 -0
- package/dist/scripts/bundle-fb9640ae52.min.js +2 -0
- package/dist/scripts/bundle-fb9640ae52.min.js.LICENSE.txt +21 -0
- package/package.json +2 -2
- package/typings/libs/CVEvents.d.ts +12 -12
- package/typings/libs/CVLanguages.d.ts +24 -24
- package/typings/libs/Environment.d.ts +10 -10
- package/typings/libs/LazyLoad.d.ts +29 -29
- package/typings/libs/LazyLoad.ts +27 -27
- package/typings/libs/backbone.validation.d.ts +99 -99
- package/typings/libs/cloneDeep.d.ts +4 -4
- package/typings/libs/cookiesjs.d.ts +24 -24
- package/typings/libs/google-api.d.ts +4 -4
- package/typings/libs/microsoft-teams.d.ts +2 -2
- package/typings/libs/trackjs.d.ts +2 -2
- package/typings/libs/videojs-contrib-quality-levels.d.ts +30 -30
- package/typings/utils/imports.d.ts +9 -9
- package/dist/scripts/1296-02f4e3d8a3.chunk.js +0 -2
- package/dist/scripts/1601-91ae0decb9.chunk.js +0 -2
- package/dist/scripts/4483-24f2eee526.chunk.js +0 -1
- package/dist/scripts/4839-6c2bfee422.chunk.js +0 -1
- package/dist/scripts/7312-a52eeb61f3.chunk.js +0 -1
- package/dist/scripts/bundle-ab2236bae5.min.js +0 -2
- package/dist/css/{7312-library-editor-d7281ff832.chunk.css → 1365-library-editor-cf2efde1ee.chunk.css} +1 -1
- package/dist/css/{343-library-editor-2cee1022c0.chunk.css → 343-library-editor-12392fa0d3.chunk.css} +1 -1
- /package/dist/css/{4839-library-editor-733ee863a9.chunk.css → 9219-library-editor-733ee863a9.chunk.css} +0 -0
- /package/dist/scripts/{1296-02f4e3d8a3.chunk.js.LICENSE.txt → 1601-25cbd3ab27.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1601-91ae0decb9.chunk.js.LICENSE.txt → 3636-cdda462b20.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5698-4b433a6b83.chunk.js → 5698-789f67f8ba.chunk.js} +0 -0
- /package/dist/scripts/{bundle-ab2236bae5.min.js.LICENSE.txt → bundle-394e872fac.min.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[6774],{86774:function(e,n,t){"use strict";t.r(n),t.d(n,{PublishLibraryView:function(){return w}});var r=t(48088),i=t(21679),o=t(57857),a=t(31647),l=t(69184),u=t(10101),c=t(88172),s=t(48090),f=t(61843),h=t(264),p=t(95061),y=t(48652),b=t.n(y);function g(e){return g="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},g(e)}function v(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,n){if("object"!==g(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===g(i)?i:String(i)),r)}var i}function d(e,n){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},d(e,n)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var w=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&d(e,n)}(k,e);var n,t,a,y,w=(a=k,y=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=m(a);if(y){var t=m(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return function(e,n){if(n&&("object"===g(n)||"function"==typeof n))return n;if(void 0!==n)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)}(this,e)});function k(){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,k),w.apply(this,arguments)}return n=k,(t=[{key:"initialize",value:function(){this.libraryDataService=i.u.getInstance(s.Or.Library,this),this.videoDataService=i.u.getInstance(s.Or.Video,this)}},{key:"name",get:function(){return"PublishLibraryView"}},{key:"title",get:function(){return o.T.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"libraryEditor.publishLibrary"}},{key:"template",get:function(){return b()}},{key:"channelName",get:function(){return f.N0.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{title:o.T.getPhrase(this.lang,"heading"),behaviorClass:u.Yw,spinnerButtonOptions:{channelName:this.channelName,buttonText:o.T.getPhrase(this.lang,"continue"),onClick:function(){return e.onClickContinue()}}}]}},{key:"viewOptions",value:function(){return{hasLite:h.g.hasLite}}},{key:"onClickContinue",value:function(){var e=this;r.Radio.channel(this.channelName).trigger(c.I3.ShowSpinner);var n=0,t=function(){++n===e.libraries.length&&(e.triggerMethod("hide"),e.videoDataService.clearVideoCache(),r.Radio.channel(l.GL.LIBRARY_STATUS).trigger("status:changed"))};this.libraries.each((function(n){e.libraryDataService.publishLibrary(n.get("id"),t)}))}},{key:"requiredResources",get:function(){return{libraries:p.T.libraries}}}])&&v(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),k}(a.Q.G7)},48652:function(e,n,t){var r=t(32227);e.exports=(r.default||r).template({1:function(e,n,t,r,i){return e.propertyIsEnumerable," <li>"+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"meaning2",{name:"lang",hash:{},data:i}))+"</li>\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,r,i){e.propertyIsEnumerable;var o,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression;return"<p>"+u((t.lang||n&&n.lang||l).call(a,"infoHeading",{name:"lang",hash:{},data:i}))+"</p>\n<p>"+u((t.lang||n&&n.lang||l).call(a,"meaningSubheading",{name:"lang",hash:{},data:i}))+"</p>\n<ul>\n <li>"+u((t.lang||n&&n.lang||l).call(a,"meaning1",{name:"lang",hash:{},data:i}))+"</li>\n"+(null!=(o=t.unless.call(a,null!=(o=null!=n?n.options:n)?o.hasLite:o,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?o:"")+" <li>"+u((t.lang||n&&n.lang||l).call(a,"meaning3",{name:"lang",hash:{},data:i}))+"</li>\n</ul>"},useData:!0})}}]);
|
|
1
|
+
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[6774],{86774:function(e,n,t){"use strict";t.r(n),t.d(n,{PublishLibraryView:function(){return w}});var r=t(48088),i=t(21679),o=t(57857),a=t(31647),l=t(69184),u=t(10101),c=t(88172),s=t(48090),f=t(61843),h=t(264),p=t(95061),y=t(48652),b=t.n(y);function g(e){return g="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},g(e)}function v(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,n){if("object"!==g(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===g(i)?i:String(i)),r)}var i}function d(e,n){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},d(e,n)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var w=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&d(e,n)}(k,e);var n,t,a,y,w=(a=k,y=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=m(a);if(y){var t=m(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return function(e,n){if(n&&("object"===g(n)||"function"==typeof n))return n;if(void 0!==n)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)}(this,e)});function k(){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,k),w.apply(this,arguments)}return n=k,(t=[{key:"initialize",value:function(){this.libraryDataService=i.u.getInstance(s.Or.Library,this),this.videoDataService=i.u.getInstance(s.Or.Video,this)}},{key:"name",get:function(){return"PublishLibraryView"}},{key:"title",get:function(){return o.T.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"libraryEditor.publishLibrary"}},{key:"template",get:function(){return b()}},{key:"channelName",get:function(){return f.N0.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{title:o.T.getPhrase(this.lang,"heading"),behaviorClass:u.Yw,spinnerButtonOptions:{channelName:this.channelName,buttonText:o.T.getPhrase(this.lang,"continue"),onClick:function(){return e.onClickContinue()}}}]}},{key:"viewOptions",value:function(){return{hasLite:h.g.hasLite}}},{key:"onClickContinue",value:function(){var e=this;r.Radio.channel(this.channelName).trigger(c.I3.ShowSpinner);var n=0,t=function(){++n===e.libraries.length&&(e.triggerMethod("hide"),e.videoDataService.clearVideoCache(),r.Radio.channel(l.GL.LIBRARY_STATUS).trigger("status:changed"))};this.libraries.each((function(n){e.libraryDataService.publishLibrary(n.get("id"),t)}))}},{key:"requiredResources",get:function(){return{libraries:p.T.libraries}}}])&&v(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),k}(a.Q.G7)},48652:function(e,n,t){var r=t(32227);e.exports=(r.default||r).template({1:function(e,n,t,r,i){return e.propertyIsEnumerable," <li>"+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"meaning2",{name:"lang",hash:{},data:i}))+"</li>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,r,i){e.propertyIsEnumerable;var o,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression;return"<p>"+u((t.lang||n&&n.lang||l).call(a,"infoHeading",{name:"lang",hash:{},data:i}))+"</p>\r\n<p>"+u((t.lang||n&&n.lang||l).call(a,"meaningSubheading",{name:"lang",hash:{},data:i}))+"</p>\r\n<ul>\r\n <li>"+u((t.lang||n&&n.lang||l).call(a,"meaning1",{name:"lang",hash:{},data:i}))+"</li>\r\n"+(null!=(o=t.unless.call(a,null!=(o=null!=n?n.options:n)?o.hasLite:o,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?o:"")+" <li>"+u((t.lang||n&&n.lang||l).call(a,"meaning3",{name:"lang",hash:{},data:i}))+"</li>\r\n</ul>"},useData:!0})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[6991],{56784:function(t){"use strict";t.exports=function(t,e,r,n,o,i,a,s){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,a,s],l=0;(c=new Error(e.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},30582:function(t,e,r){"use strict";var n=r(1024),o=r.n(n),i=r(60216),a=r.n(i),s=r(82049),c=r.n(s),u=r(56784),l=r.n(u),f=r(55007),p=r.n(f);function d(){return d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},d.apply(this,arguments)}function h(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,m(t,e)}function m(t,e){return m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},m(t,e)}function y(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)e.indexOf(r=i[n])>=0||(o[r]=t[r]);return o}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},v={rel:["amphtml","canonical","alternate"]},T={type:["application/ld+json"]},b={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},A=Object.keys(g).map((function(t){return g[t]})),C={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},O=Object.keys(C).reduce((function(t,e){return t[C[e]]=e,t}),{}),P=function(t,e){for(var r=t.length-1;r>=0;r-=1){var n=t[r];if(Object.prototype.hasOwnProperty.call(n,e))return n[e]}return null},w=function(t){var e=P(t,g.TITLE),r=P(t,"titleTemplate");if(Array.isArray(e)&&(e=e.join("")),r&&e)return r.replace(/%s/g,(function(){return e}));var n=P(t,"defaultTitle");return e||n||void 0},S=function(t){return P(t,"onChangeClientState")||function(){}},E=function(t,e){return e.filter((function(e){return void 0!==e[t]})).map((function(e){return e[t]})).reduce((function(t,e){return d({},t,e)}),{})},j=function(t,e){return e.filter((function(t){return void 0!==t[g.BASE]})).map((function(t){return t[g.BASE]})).reverse().reduce((function(e,r){if(!e.length)for(var n=Object.keys(r),o=0;o<n.length;o+=1){var i=n[o].toLowerCase();if(-1!==t.indexOf(i)&&r[i])return e.concat(r)}return e}),[])},I=function(t,e,r){var n={};return r.filter((function(e){return!!Array.isArray(e[t])||(void 0!==e[t]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+t+' should be of type "Array". Instead found type "'+typeof e[t]+'"'),!1)})).map((function(e){return e[t]})).reverse().reduce((function(t,r){var o={};r.filter((function(t){for(var r,i=Object.keys(t),a=0;a<i.length;a+=1){var s=i[a],c=s.toLowerCase();-1===e.indexOf(c)||"rel"===r&&"canonical"===t[r].toLowerCase()||"rel"===c&&"stylesheet"===t[c].toLowerCase()||(r=c),-1===e.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(r=s)}if(!r||!t[r])return!1;var u=t[r].toLowerCase();return n[r]||(n[r]={}),o[r]||(o[r]={}),!n[r][u]&&(o[r][u]=!0,!0)})).reverse().forEach((function(e){return t.push(e)}));for(var i=Object.keys(o),a=0;a<i.length;a+=1){var s=i[a],c=d({},n[s],o[s]);n[s]=c}return t}),[]).reverse()},x=function(t,e){if(Array.isArray(t)&&t.length)for(var r=0;r<t.length;r+=1)if(t[r][e])return!0;return!1},N=function(t){return Array.isArray(t)?t.join(""):t},M=function(t,e){return Array.isArray(t)?t.reduce((function(t,r){return function(t,e){for(var r=Object.keys(t),n=0;n<r.length;n+=1)if(e[r[n]]&&e[r[n]].includes(t[r[n]]))return!0;return!1}(r,e)?t.priority.push(r):t.default.push(r),t}),{priority:[],default:[]}):{default:t}},k=function(t,e){var r;return d({},t,((r={})[e]=void 0,r))},L=[g.NOSCRIPT,g.SCRIPT,g.STYLE],D=function(t,e){return void 0===e&&(e=!0),!1===e?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},H=function(t){return Object.keys(t).reduce((function(e,r){var n=void 0!==t[r]?r+'="'+t[r]+'"':""+r;return e?e+" "+n:n}),"")},_=function(t,e){return void 0===e&&(e={}),Object.keys(t).reduce((function(e,r){return e[C[r]||r]=t[r],e}),e)},R=function(t,e){return e.map((function(e,r){var n,i=((n={key:r})["data-rh"]=!0,n);return Object.keys(e).forEach((function(t){var r=C[t]||t;"innerHTML"===r||"cssText"===r?i.dangerouslySetInnerHTML={__html:e.innerHTML||e.cssText}:i[r]=e[t]})),o().createElement(t,i)}))},U=function(t,e,r){switch(t){case g.TITLE:return{toComponent:function(){return r=e.titleAttributes,(n={key:t=e.title})["data-rh"]=!0,i=_(r,n),[o().createElement(g.TITLE,i,t)];var t,r,n,i},toString:function(){return function(t,e,r,n){var o=H(r),i=N(e);return o?"<"+t+' data-rh="true" '+o+">"+D(i,n)+"</"+t+">":"<"+t+' data-rh="true">'+D(i,n)+"</"+t+">"}(t,e.title,e.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return _(e)},toString:function(){return H(e)}};default:return{toComponent:function(){return R(t,e)},toString:function(){return function(t,e,r){return e.reduce((function(e,n){var o=Object.keys(n).filter((function(t){return!("innerHTML"===t||"cssText"===t)})).reduce((function(t,e){var o=void 0===n[e]?e:e+'="'+D(n[e],r)+'"';return t?t+" "+o:o}),""),i=n.innerHTML||n.cssText||"",a=-1===L.indexOf(t);return e+"<"+t+' data-rh="true" '+o+(a?"/>":">"+i+"</"+t+">")}),"")}(t,e,r)}}}},B=function(t){var e=t.baseTag,r=t.bodyAttributes,n=t.encode,o=t.htmlAttributes,i=t.noscriptTags,a=t.styleTags,s=t.title,c=void 0===s?"":s,u=t.titleAttributes,l=t.linkTags,f=t.metaTags,p=t.scriptTags,d={toComponent:function(){},toString:function(){return""}};if(t.prioritizeSeoTags){var h=function(t){var e=t.linkTags,r=t.scriptTags,n=t.encode,o=M(t.metaTags,b),i=M(e,v),a=M(r,T);return{priorityMethods:{toComponent:function(){return[].concat(R(g.META,o.priority),R(g.LINK,i.priority),R(g.SCRIPT,a.priority))},toString:function(){return U(g.META,o.priority,n)+" "+U(g.LINK,i.priority,n)+" "+U(g.SCRIPT,a.priority,n)}},metaTags:o.default,linkTags:i.default,scriptTags:a.default}}(t);d=h.priorityMethods,l=h.linkTags,f=h.metaTags,p=h.scriptTags}return{priority:d,base:U(g.BASE,e,n),bodyAttributes:U("bodyAttributes",r,n),htmlAttributes:U("htmlAttributes",o,n),link:U(g.LINK,l,n),meta:U(g.META,f,n),noscript:U(g.NOSCRIPT,i,n),script:U(g.SCRIPT,p,n),style:U(g.STYLE,a,n),title:U(g.TITLE,{title:c,titleAttributes:u},n)}},q=[],z=function(t,e){var r=this;void 0===e&&(e="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(t){r.context.helmet=t},helmetInstances:{get:function(){return r.canUseDOM?q:r.instances},add:function(t){(r.canUseDOM?q:r.instances).push(t)},remove:function(t){var e=(r.canUseDOM?q:r.instances).indexOf(t);(r.canUseDOM?q:r.instances).splice(e,1)}}},this.context=t,this.canUseDOM=e,e||(t.helmet=B({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Y=o().createContext({}),K=a().shape({setHelmet:a().func,helmetInstances:a().shape({get:a().func,add:a().func,remove:a().func})}),$="undefined"!=typeof document,V=function(t){function e(r){var n;return(n=t.call(this,r)||this).helmetData=new z(n.props.context,e.canUseDOM),n}return h(e,t),e.prototype.render=function(){return o().createElement(Y.Provider,{value:this.helmetData.value},this.props.children)},e}(n.Component);V.canUseDOM=$,V.propTypes={context:a().shape({helmet:a().shape()}),children:a().node.isRequired},V.defaultProps={context:{}},V.displayName="HelmetProvider";var F=function(t,e){var r,n=document.head||document.querySelector(g.HEAD),o=n.querySelectorAll(t+"[data-rh]"),i=[].slice.call(o),a=[];return e&&e.length&&e.forEach((function(e){var n=document.createElement(t);for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&("innerHTML"===o?n.innerHTML=e.innerHTML:"cssText"===o?n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText)):n.setAttribute(o,void 0===e[o]?"":e[o]));n.setAttribute("data-rh","true"),i.some((function(t,e){return r=e,n.isEqualNode(t)}))?i.splice(r,1):a.push(n)})),i.forEach((function(t){return t.parentNode.removeChild(t)})),a.forEach((function(t){return n.appendChild(t)})),{oldTags:i,newTags:a}},G=function(t,e){var r=document.getElementsByTagName(t)[0];if(r){for(var n=r.getAttribute("data-rh"),o=n?n.split(","):[],i=[].concat(o),a=Object.keys(e),s=0;s<a.length;s+=1){var c=a[s],u=e[c]||"";r.getAttribute(c)!==u&&r.setAttribute(c,u),-1===o.indexOf(c)&&o.push(c);var l=i.indexOf(c);-1!==l&&i.splice(l,1)}for(var f=i.length-1;f>=0;f-=1)r.removeAttribute(i[f]);o.length===i.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==a.join(",")&&r.setAttribute("data-rh",a.join(","))}},W=function(t,e){var r=t.baseTag,n=t.htmlAttributes,o=t.linkTags,i=t.metaTags,a=t.noscriptTags,s=t.onChangeClientState,c=t.scriptTags,u=t.styleTags,l=t.title,f=t.titleAttributes;G(g.BODY,t.bodyAttributes),G(g.HTML,n),function(t,e){void 0!==t&&document.title!==t&&(document.title=N(t)),G(g.TITLE,e)}(l,f);var p={baseTag:F(g.BASE,r),linkTags:F(g.LINK,o),metaTags:F(g.META,i),noscriptTags:F(g.NOSCRIPT,a),scriptTags:F(g.SCRIPT,c),styleTags:F(g.STYLE,u)},d={},h={};Object.keys(p).forEach((function(t){var e=p[t],r=e.newTags,n=e.oldTags;r.length&&(d[t]=r),n.length&&(h[t]=p[t].oldTags)})),e&&e(),s(t,d,h)},Z=null,J=function(t){function e(){for(var e,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).rendered=!1,e}h(e,t);var r=e.prototype;return r.shouldComponentUpdate=function(t){return!p()(t,this.props)},r.componentDidUpdate=function(){this.emitChange()},r.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},r.emitChange=function(){var t,e,r=this.props.context,n=r.setHelmet,o=null,i=(t=r.helmetInstances.get().map((function(t){var e=d({},t.props);return delete e.context,e})),{baseTag:j(["href"],t),bodyAttributes:E("bodyAttributes",t),defer:P(t,"defer"),encode:P(t,"encodeSpecialCharacters"),htmlAttributes:E("htmlAttributes",t),linkTags:I(g.LINK,["rel","href"],t),metaTags:I(g.META,["name","charset","http-equiv","property","itemprop"],t),noscriptTags:I(g.NOSCRIPT,["innerHTML"],t),onChangeClientState:S(t),scriptTags:I(g.SCRIPT,["src","innerHTML"],t),styleTags:I(g.STYLE,["cssText"],t),title:w(t),titleAttributes:E("titleAttributes",t),prioritizeSeoTags:x(t,"prioritizeSeoTags")});V.canUseDOM?(e=i,Z&&cancelAnimationFrame(Z),e.defer?Z=requestAnimationFrame((function(){W(e,(function(){Z=null}))})):(W(e),Z=null)):B&&(o=B(i)),n(o)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},e}(n.Component);J.propTypes={context:K.isRequired},J.displayName="HelmetDispatcher";var Q=["children"],X=["children"],tt=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var r=e.prototype;return r.shouldComponentUpdate=function(t){return!c()(k(this.props,"helmetData"),k(t,"helmetData"))},r.mapNestedChildrenToProps=function(t,e){if(!e)return null;switch(t.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:e};case g.STYLE:return{cssText:e};default:throw new Error("<"+t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},r.flattenArrayTypeChildren=function(t){var e,r=t.child,n=t.arrayTypeChildren;return d({},n,((e={})[r.type]=[].concat(n[r.type]||[],[d({},t.newChildProps,this.mapNestedChildrenToProps(r,t.nestedChildren))]),e))},r.mapObjectTypeChildren=function(t){var e,r,n=t.child,o=t.newProps,i=t.newChildProps,a=t.nestedChildren;switch(n.type){case g.TITLE:return d({},o,((e={})[n.type]=a,e.titleAttributes=d({},i),e));case g.BODY:return d({},o,{bodyAttributes:d({},i)});case g.HTML:return d({},o,{htmlAttributes:d({},i)});default:return d({},o,((r={})[n.type]=d({},i),r))}},r.mapArrayTypeChildrenToProps=function(t,e){var r=d({},e);return Object.keys(t).forEach((function(e){var n;r=d({},r,((n={})[e]=t[e],n))})),r},r.warnOnInvalidChildren=function(t,e){return l()(A.some((function(e){return t.type===e})),"function"==typeof t.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+A.join(", ")+" are allowed. Helmet does not support rendering <"+t.type+"> elements. Refer to our API for more information."),l()(!e||"string"==typeof e||Array.isArray(e)&&!e.some((function(t){return"string"!=typeof t})),"Helmet expects a string as a child of <"+t.type+">. Did you forget to wrap your children in braces? ( <"+t.type+">{``}</"+t.type+"> ) Refer to our API for more information."),!0},r.mapChildrenToProps=function(t,e){var r=this,n={};return o().Children.forEach(t,(function(t){if(t&&t.props){var o=t.props,i=o.children,a=y(o,Q),s=Object.keys(a).reduce((function(t,e){return t[O[e]||e]=a[e],t}),{}),c=t.type;switch("symbol"==typeof c?c=c.toString():r.warnOnInvalidChildren(t,i),c){case g.FRAGMENT:e=r.mapChildrenToProps(i,e);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:n=r.flattenArrayTypeChildren({child:t,arrayTypeChildren:n,newChildProps:s,nestedChildren:i});break;default:e=r.mapObjectTypeChildren({child:t,newProps:e,newChildProps:s,nestedChildren:i})}}})),this.mapArrayTypeChildrenToProps(n,e)},r.render=function(){var t=this.props,e=t.children,r=y(t,X),n=d({},r),i=r.helmetData;return e&&(n=this.mapChildrenToProps(e,n)),!i||i instanceof z||(i=new z(i.context,i.instances)),i?o().createElement(J,d({},n,{context:i.value,helmetData:void 0})):o().createElement(Y.Consumer,null,(function(t){return o().createElement(J,d({},n,{context:t}))}))},e}(n.Component);tt.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string,prioritizeSeoTags:a().bool,helmetData:a().object},tt.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},tt.displayName="Helmet"},82049:function(t){var e="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,c,u,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(!i(t[c],a[c]))return!1;return!0}if(r&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;for(l=t.entries();!(c=l.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(n&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(t[c]!==a[c])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf&&"function"==typeof t.valueOf&&"function"==typeof a.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString&&"function"==typeof t.toString&&"function"==typeof a.toString)return t.toString()===a.toString();if((s=(u=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,u[c]))return!1;if(e&&t instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!t.$$typeof)&&!i(t[u[c]],a[u[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return i(t,e)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},17082:function(t,e,r){"use strict";r.d(e,{Nq:function(){return l},oD:function(){return p},t0:function(){return f}});var n,o=r(1024),i=r(30314),a=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),s="html",c="svg",u=function(t,e){var r,n,o,i={};if(t===s)o=document.createElement("div");else{if(t!==c)throw new Error('Invalid element type "'+t+'" for createPortalNode: must be "html" or "svg".');o=document.createElementNS("http://www.w3.org/2000/svg","g")}if(e&&"object"==typeof e)for(var a=0,u=Object.entries(e.attributes);a<u.length;a++){var l=u[a],f=l[0],p=l[1];o.setAttribute(f,p)}var d={element:o,elementType:t,setPortalProps:function(t){i=t},getInitialPortalProps:function(){return i},mount:function(e,o){if(o!==n){if(d.unmount(),e!==r&&!function(t,e){if(e===s)return t instanceof HTMLElement;if(e===c)return t instanceof SVGElement;throw new Error('Unrecognized element type "'+e+'" for validateElementType.')}(e,t))throw new Error('Invalid element type for portal: "'+t+'" portalNodes must be used with '+t+" elements, but OutPortal is within <"+e.tagName+">.");e.replaceChild(d.element,o),r=e,n=o}},unmount:function(t){t&&t!==n||r&&n&&(r.replaceChild(n,d.element),r=void 0,n=void 0)}};return d},l=function(t){function e(e){var r=t.call(this,e)||this;return r.addPropsChannel=function(){Object.assign(r.props.node,{setPortalProps:function(t){r.setState({nodeProps:t})}})},r.state={nodeProps:r.props.node.getInitialPortalProps()},r}return a(e,t),e.prototype.componentDidMount=function(){this.addPropsChannel()},e.prototype.componentDidUpdate=function(){this.addPropsChannel()},e.prototype.render=function(){var t=this,e=this.props,r=e.children,n=e.node;return i.createPortal(o.Children.map(r,(function(e){return o.isValidElement(e)?o.cloneElement(e,t.state.nodeProps):e})),n.element)},e}(o.PureComponent),f=function(t){function e(e){var r=t.call(this,e)||this;return r.placeholderNode=o.createRef(),r.passPropsThroughPortal(),r}return a(e,t),e.prototype.passPropsThroughPortal=function(){var t=Object.assign({},this.props,{node:void 0});this.props.node.setPortalProps(t)},e.prototype.componentDidMount=function(){var t=this.props.node;this.currentPortalNode=t;var e=this.placeholderNode.current,r=e.parentNode;t.mount(r,e),this.passPropsThroughPortal()},e.prototype.componentDidUpdate=function(){var t=this.props.node;this.currentPortalNode&&t!==this.currentPortalNode&&(this.currentPortalNode.unmount(this.placeholderNode.current),this.currentPortalNode.setPortalProps({}),this.currentPortalNode=t);var e=this.placeholderNode.current,r=e.parentNode;t.mount(r,e),this.passPropsThroughPortal()},e.prototype.componentWillUnmount=function(){var t=this.props.node;t.unmount(this.placeholderNode.current),t.setPortalProps({})},e.prototype.render=function(){return o.createElement("div",{ref:this.placeholderNode})},e}(o.PureComponent),p=u.bind(null,s);u.bind(null,c)},55007:function(t){t.exports=function(t,e,r,n){var o=r?r.call(n,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),c=0;c<i.length;c++){var u=i[c];if(!s(u))return!1;var l=t[u],f=e[u];if(!1===(o=r?r.call(n,l,f,u):void 0)||void 0===o&&l!==f)return!1}return!0}},82602:function(t,e,r){"use strict";r.d(e,{WU:function(){return u}});var n=["second","minute","hour","day","week","month","year"],o=["秒","分钟","小时","天","周","个月","年"],i={},a=function(t,e){i[t]=e},s=[60,60,24,7,365/7/12,12];function c(t){return t instanceof Date?t:!isNaN(t)||/^\d+$/.test(t)?new Date(parseInt(t)):(t=(t||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(t))}var u=function(t,e,r){var n=function(t,e){return(+(e?c(e):new Date)-+c(t))/1e3}(t,r&&r.relativeDate);return function(t,e){for(var r=t<0?1:0,n=t=Math.abs(t),o=0;t>=s[o]&&o<s.length;o++)t/=s[o];return(t=Math.floor(t))>(0==(o*=2)?9:1)&&(o+=1),e(t,o,n)[r].replace("%s",t.toString())}(n,function(t){return i[t]||i.en_US}(e))};a("en_US",(function(t,e){if(0===e)return["just now","right now"];var r=n[Math.floor(e/2)];return t>1&&(r+="s"),[t+" "+r+" ago","in "+t+" "+r]})),a("zh_CN",(function(t,e){if(0===e)return["刚刚","片刻后"];var r=o[~~(e/2)];return[t+" "+r+"前",t+" "+r+"后"]}))}}]);
|
|
1
|
+
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[6991],{56784:function(t){"use strict";t.exports=function(t,e,r,n,o,i,a,s){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,a,s],l=0;(c=new Error(e.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},30582:function(t,e,r){"use strict";var n=r(1024),o=r.n(n),i=r(60216),a=r.n(i),s=r(82049),c=r.n(s),u=r(56784),l=r.n(u),f=r(55007),p=r.n(f);function d(){return d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},d.apply(this,arguments)}function h(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,m(t,e)}function m(t,e){return m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},m(t,e)}function y(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)e.indexOf(r=i[n])>=0||(o[r]=t[r]);return o}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},T={rel:["amphtml","canonical","alternate"]},v={type:["application/ld+json"]},b={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},C=Object.keys(g).map((function(t){return g[t]})),A={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},O=Object.keys(A).reduce((function(t,e){return t[A[e]]=e,t}),{}),P=function(t,e){for(var r=t.length-1;r>=0;r-=1){var n=t[r];if(Object.prototype.hasOwnProperty.call(n,e))return n[e]}return null},w=function(t){var e=P(t,g.TITLE),r=P(t,"titleTemplate");if(Array.isArray(e)&&(e=e.join("")),r&&e)return r.replace(/%s/g,(function(){return e}));var n=P(t,"defaultTitle");return e||n||void 0},S=function(t){return P(t,"onChangeClientState")||function(){}},E=function(t,e){return e.filter((function(e){return void 0!==e[t]})).map((function(e){return e[t]})).reduce((function(t,e){return d({},t,e)}),{})},j=function(t,e){return e.filter((function(t){return void 0!==t[g.BASE]})).map((function(t){return t[g.BASE]})).reverse().reduce((function(e,r){if(!e.length)for(var n=Object.keys(r),o=0;o<n.length;o+=1){var i=n[o].toLowerCase();if(-1!==t.indexOf(i)&&r[i])return e.concat(r)}return e}),[])},I=function(t,e,r){var n={};return r.filter((function(e){return!!Array.isArray(e[t])||(void 0!==e[t]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+t+' should be of type "Array". Instead found type "'+typeof e[t]+'"'),!1)})).map((function(e){return e[t]})).reverse().reduce((function(t,r){var o={};r.filter((function(t){for(var r,i=Object.keys(t),a=0;a<i.length;a+=1){var s=i[a],c=s.toLowerCase();-1===e.indexOf(c)||"rel"===r&&"canonical"===t[r].toLowerCase()||"rel"===c&&"stylesheet"===t[c].toLowerCase()||(r=c),-1===e.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(r=s)}if(!r||!t[r])return!1;var u=t[r].toLowerCase();return n[r]||(n[r]={}),o[r]||(o[r]={}),!n[r][u]&&(o[r][u]=!0,!0)})).reverse().forEach((function(e){return t.push(e)}));for(var i=Object.keys(o),a=0;a<i.length;a+=1){var s=i[a],c=d({},n[s],o[s]);n[s]=c}return t}),[]).reverse()},x=function(t,e){if(Array.isArray(t)&&t.length)for(var r=0;r<t.length;r+=1)if(t[r][e])return!0;return!1},N=function(t){return Array.isArray(t)?t.join(""):t},M=function(t,e){return Array.isArray(t)?t.reduce((function(t,r){return function(t,e){for(var r=Object.keys(t),n=0;n<r.length;n+=1)if(e[r[n]]&&e[r[n]].includes(t[r[n]]))return!0;return!1}(r,e)?t.priority.push(r):t.default.push(r),t}),{priority:[],default:[]}):{default:t}},k=function(t,e){var r;return d({},t,((r={})[e]=void 0,r))},L=[g.NOSCRIPT,g.SCRIPT,g.STYLE],D=function(t,e){return void 0===e&&(e=!0),!1===e?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},H=function(t){return Object.keys(t).reduce((function(e,r){var n=void 0!==t[r]?r+'="'+t[r]+'"':""+r;return e?e+" "+n:n}),"")},_=function(t,e){return void 0===e&&(e={}),Object.keys(t).reduce((function(e,r){return e[A[r]||r]=t[r],e}),e)},R=function(t,e){return e.map((function(e,r){var n,i=((n={key:r})["data-rh"]=!0,n);return Object.keys(e).forEach((function(t){var r=A[t]||t;"innerHTML"===r||"cssText"===r?i.dangerouslySetInnerHTML={__html:e.innerHTML||e.cssText}:i[r]=e[t]})),o().createElement(t,i)}))},U=function(t,e,r){switch(t){case g.TITLE:return{toComponent:function(){return r=e.titleAttributes,(n={key:t=e.title})["data-rh"]=!0,i=_(r,n),[o().createElement(g.TITLE,i,t)];var t,r,n,i},toString:function(){return function(t,e,r,n){var o=H(r),i=N(e);return o?"<"+t+' data-rh="true" '+o+">"+D(i,n)+"</"+t+">":"<"+t+' data-rh="true">'+D(i,n)+"</"+t+">"}(t,e.title,e.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return _(e)},toString:function(){return H(e)}};default:return{toComponent:function(){return R(t,e)},toString:function(){return function(t,e,r){return e.reduce((function(e,n){var o=Object.keys(n).filter((function(t){return!("innerHTML"===t||"cssText"===t)})).reduce((function(t,e){var o=void 0===n[e]?e:e+'="'+D(n[e],r)+'"';return t?t+" "+o:o}),""),i=n.innerHTML||n.cssText||"",a=-1===L.indexOf(t);return e+"<"+t+' data-rh="true" '+o+(a?"/>":">"+i+"</"+t+">")}),"")}(t,e,r)}}}},B=function(t){var e=t.baseTag,r=t.bodyAttributes,n=t.encode,o=t.htmlAttributes,i=t.noscriptTags,a=t.styleTags,s=t.title,c=void 0===s?"":s,u=t.titleAttributes,l=t.linkTags,f=t.metaTags,p=t.scriptTags,d={toComponent:function(){},toString:function(){return""}};if(t.prioritizeSeoTags){var h=function(t){var e=t.linkTags,r=t.scriptTags,n=t.encode,o=M(t.metaTags,b),i=M(e,T),a=M(r,v);return{priorityMethods:{toComponent:function(){return[].concat(R(g.META,o.priority),R(g.LINK,i.priority),R(g.SCRIPT,a.priority))},toString:function(){return U(g.META,o.priority,n)+" "+U(g.LINK,i.priority,n)+" "+U(g.SCRIPT,a.priority,n)}},metaTags:o.default,linkTags:i.default,scriptTags:a.default}}(t);d=h.priorityMethods,l=h.linkTags,f=h.metaTags,p=h.scriptTags}return{priority:d,base:U(g.BASE,e,n),bodyAttributes:U("bodyAttributes",r,n),htmlAttributes:U("htmlAttributes",o,n),link:U(g.LINK,l,n),meta:U(g.META,f,n),noscript:U(g.NOSCRIPT,i,n),script:U(g.SCRIPT,p,n),style:U(g.STYLE,a,n),title:U(g.TITLE,{title:c,titleAttributes:u},n)}},q=[],z=function(t,e){var r=this;void 0===e&&(e="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(t){r.context.helmet=t},helmetInstances:{get:function(){return r.canUseDOM?q:r.instances},add:function(t){(r.canUseDOM?q:r.instances).push(t)},remove:function(t){var e=(r.canUseDOM?q:r.instances).indexOf(t);(r.canUseDOM?q:r.instances).splice(e,1)}}},this.context=t,this.canUseDOM=e,e||(t.helmet=B({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Y=o().createContext({}),K=a().shape({setHelmet:a().func,helmetInstances:a().shape({get:a().func,add:a().func,remove:a().func})}),$="undefined"!=typeof document,V=function(t){function e(r){var n;return(n=t.call(this,r)||this).helmetData=new z(n.props.context,e.canUseDOM),n}return h(e,t),e.prototype.render=function(){return o().createElement(Y.Provider,{value:this.helmetData.value},this.props.children)},e}(n.Component);V.canUseDOM=$,V.propTypes={context:a().shape({helmet:a().shape()}),children:a().node.isRequired},V.defaultProps={context:{}},V.displayName="HelmetProvider";var F=function(t,e){var r,n=document.head||document.querySelector(g.HEAD),o=n.querySelectorAll(t+"[data-rh]"),i=[].slice.call(o),a=[];return e&&e.length&&e.forEach((function(e){var n=document.createElement(t);for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&("innerHTML"===o?n.innerHTML=e.innerHTML:"cssText"===o?n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText)):n.setAttribute(o,void 0===e[o]?"":e[o]));n.setAttribute("data-rh","true"),i.some((function(t,e){return r=e,n.isEqualNode(t)}))?i.splice(r,1):a.push(n)})),i.forEach((function(t){return t.parentNode.removeChild(t)})),a.forEach((function(t){return n.appendChild(t)})),{oldTags:i,newTags:a}},G=function(t,e){var r=document.getElementsByTagName(t)[0];if(r){for(var n=r.getAttribute("data-rh"),o=n?n.split(","):[],i=[].concat(o),a=Object.keys(e),s=0;s<a.length;s+=1){var c=a[s],u=e[c]||"";r.getAttribute(c)!==u&&r.setAttribute(c,u),-1===o.indexOf(c)&&o.push(c);var l=i.indexOf(c);-1!==l&&i.splice(l,1)}for(var f=i.length-1;f>=0;f-=1)r.removeAttribute(i[f]);o.length===i.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==a.join(",")&&r.setAttribute("data-rh",a.join(","))}},W=function(t,e){var r=t.baseTag,n=t.htmlAttributes,o=t.linkTags,i=t.metaTags,a=t.noscriptTags,s=t.onChangeClientState,c=t.scriptTags,u=t.styleTags,l=t.title,f=t.titleAttributes;G(g.BODY,t.bodyAttributes),G(g.HTML,n),function(t,e){void 0!==t&&document.title!==t&&(document.title=N(t)),G(g.TITLE,e)}(l,f);var p={baseTag:F(g.BASE,r),linkTags:F(g.LINK,o),metaTags:F(g.META,i),noscriptTags:F(g.NOSCRIPT,a),scriptTags:F(g.SCRIPT,c),styleTags:F(g.STYLE,u)},d={},h={};Object.keys(p).forEach((function(t){var e=p[t],r=e.newTags,n=e.oldTags;r.length&&(d[t]=r),n.length&&(h[t]=p[t].oldTags)})),e&&e(),s(t,d,h)},Z=null,J=function(t){function e(){for(var e,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).rendered=!1,e}h(e,t);var r=e.prototype;return r.shouldComponentUpdate=function(t){return!p()(t,this.props)},r.componentDidUpdate=function(){this.emitChange()},r.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},r.emitChange=function(){var t,e,r=this.props.context,n=r.setHelmet,o=null,i=(t=r.helmetInstances.get().map((function(t){var e=d({},t.props);return delete e.context,e})),{baseTag:j(["href"],t),bodyAttributes:E("bodyAttributes",t),defer:P(t,"defer"),encode:P(t,"encodeSpecialCharacters"),htmlAttributes:E("htmlAttributes",t),linkTags:I(g.LINK,["rel","href"],t),metaTags:I(g.META,["name","charset","http-equiv","property","itemprop"],t),noscriptTags:I(g.NOSCRIPT,["innerHTML"],t),onChangeClientState:S(t),scriptTags:I(g.SCRIPT,["src","innerHTML"],t),styleTags:I(g.STYLE,["cssText"],t),title:w(t),titleAttributes:E("titleAttributes",t),prioritizeSeoTags:x(t,"prioritizeSeoTags")});V.canUseDOM?(e=i,Z&&cancelAnimationFrame(Z),e.defer?Z=requestAnimationFrame((function(){W(e,(function(){Z=null}))})):(W(e),Z=null)):B&&(o=B(i)),n(o)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},e}(n.Component);J.propTypes={context:K.isRequired},J.displayName="HelmetDispatcher";var Q=["children"],X=["children"],tt=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var r=e.prototype;return r.shouldComponentUpdate=function(t){return!c()(k(this.props,"helmetData"),k(t,"helmetData"))},r.mapNestedChildrenToProps=function(t,e){if(!e)return null;switch(t.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:e};case g.STYLE:return{cssText:e};default:throw new Error("<"+t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},r.flattenArrayTypeChildren=function(t){var e,r=t.child,n=t.arrayTypeChildren;return d({},n,((e={})[r.type]=[].concat(n[r.type]||[],[d({},t.newChildProps,this.mapNestedChildrenToProps(r,t.nestedChildren))]),e))},r.mapObjectTypeChildren=function(t){var e,r,n=t.child,o=t.newProps,i=t.newChildProps,a=t.nestedChildren;switch(n.type){case g.TITLE:return d({},o,((e={})[n.type]=a,e.titleAttributes=d({},i),e));case g.BODY:return d({},o,{bodyAttributes:d({},i)});case g.HTML:return d({},o,{htmlAttributes:d({},i)});default:return d({},o,((r={})[n.type]=d({},i),r))}},r.mapArrayTypeChildrenToProps=function(t,e){var r=d({},e);return Object.keys(t).forEach((function(e){var n;r=d({},r,((n={})[e]=t[e],n))})),r},r.warnOnInvalidChildren=function(t,e){return l()(C.some((function(e){return t.type===e})),"function"==typeof t.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+C.join(", ")+" are allowed. Helmet does not support rendering <"+t.type+"> elements. Refer to our API for more information."),l()(!e||"string"==typeof e||Array.isArray(e)&&!e.some((function(t){return"string"!=typeof t})),"Helmet expects a string as a child of <"+t.type+">. Did you forget to wrap your children in braces? ( <"+t.type+">{``}</"+t.type+"> ) Refer to our API for more information."),!0},r.mapChildrenToProps=function(t,e){var r=this,n={};return o().Children.forEach(t,(function(t){if(t&&t.props){var o=t.props,i=o.children,a=y(o,Q),s=Object.keys(a).reduce((function(t,e){return t[O[e]||e]=a[e],t}),{}),c=t.type;switch("symbol"==typeof c?c=c.toString():r.warnOnInvalidChildren(t,i),c){case g.FRAGMENT:e=r.mapChildrenToProps(i,e);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:n=r.flattenArrayTypeChildren({child:t,arrayTypeChildren:n,newChildProps:s,nestedChildren:i});break;default:e=r.mapObjectTypeChildren({child:t,newProps:e,newChildProps:s,nestedChildren:i})}}})),this.mapArrayTypeChildrenToProps(n,e)},r.render=function(){var t=this.props,e=t.children,r=y(t,X),n=d({},r),i=r.helmetData;return e&&(n=this.mapChildrenToProps(e,n)),!i||i instanceof z||(i=new z(i.context,i.instances)),i?o().createElement(J,d({},n,{context:i.value,helmetData:void 0})):o().createElement(Y.Consumer,null,(function(t){return o().createElement(J,d({},n,{context:t}))}))},e}(n.Component);tt.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string,prioritizeSeoTags:a().bool,helmetData:a().object},tt.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},tt.displayName="Helmet"},82049:function(t){var e="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,c,u,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(!i(t[c],a[c]))return!1;return!0}if(r&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;for(l=t.entries();!(c=l.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(n&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(t[c]!==a[c])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf&&"function"==typeof t.valueOf&&"function"==typeof a.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString&&"function"==typeof t.toString&&"function"==typeof a.toString)return t.toString()===a.toString();if((s=(u=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,u[c]))return!1;if(e&&t instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!t.$$typeof)&&!i(t[u[c]],a[u[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return i(t,e)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},17082:function(t,e,r){"use strict";r.d(e,{Nq:function(){return l},oD:function(){return p},t0:function(){return f}});var n,o=r(1024),i=r(30314),a=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),s="html",c="svg",u=function(t){var e,r,n,o={};if(t===s)n=document.createElement("div");else{if(t!==c)throw new Error('Invalid element type "'+t+'" for createPortalNode: must be "html" or "svg".');n=document.createElementNS("http://www.w3.org/2000/svg","g")}var i={element:n,elementType:t,setPortalProps:function(t){o=t},getInitialPortalProps:function(){return o},mount:function(n,o){if(o!==r){if(i.unmount(),n!==e&&!function(t,e){if(e===s)return t instanceof HTMLElement;if(e===c)return t instanceof SVGElement;throw new Error('Unrecognized element type "'+e+'" for validateElementType.')}(n,t))throw new Error('Invalid element type for portal: "'+t+'" portalNodes must be used with '+t+" elements, but OutPortal is within <"+n.tagName+">.");n.replaceChild(i.element,o),e=n,r=o}},unmount:function(t){t&&t!==r||e&&r&&(e.replaceChild(r,i.element),e=void 0,r=void 0)}};return i},l=function(t){function e(e){var r=t.call(this,e)||this;return r.addPropsChannel=function(){Object.assign(r.props.node,{setPortalProps:function(t){r.setState({nodeProps:t})}})},r.state={nodeProps:r.props.node.getInitialPortalProps()},r}return a(e,t),e.prototype.componentDidMount=function(){this.addPropsChannel()},e.prototype.componentDidUpdate=function(){this.addPropsChannel()},e.prototype.render=function(){var t=this,e=this.props,r=e.children,n=e.node;return i.createPortal(o.Children.map(r,(function(e){return o.isValidElement(e)?o.cloneElement(e,t.state.nodeProps):e})),n.element)},e}(o.PureComponent),f=function(t){function e(e){var r=t.call(this,e)||this;return r.placeholderNode=o.createRef(),r.passPropsThroughPortal(),r}return a(e,t),e.prototype.passPropsThroughPortal=function(){var t=Object.assign({},this.props,{node:void 0});this.props.node.setPortalProps(t)},e.prototype.componentDidMount=function(){var t=this.props.node;this.currentPortalNode=t;var e=this.placeholderNode.current,r=e.parentNode;t.mount(r,e),this.passPropsThroughPortal()},e.prototype.componentDidUpdate=function(){var t=this.props.node;this.currentPortalNode&&t!==this.currentPortalNode&&(this.currentPortalNode.unmount(this.placeholderNode.current),this.currentPortalNode=t);var e=this.placeholderNode.current,r=e.parentNode;t.mount(r,e),this.passPropsThroughPortal()},e.prototype.componentWillUnmount=function(){this.props.node.unmount(this.placeholderNode.current)},e.prototype.render=function(){return o.createElement("div",{ref:this.placeholderNode})},e}(o.PureComponent),p=u.bind(null,s);u.bind(null,c)},55007:function(t){t.exports=function(t,e,r,n){var o=r?r.call(n,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),c=0;c<i.length;c++){var u=i[c];if(!s(u))return!1;var l=t[u],f=e[u];if(!1===(o=r?r.call(n,l,f,u):void 0)||void 0===o&&l!==f)return!1}return!0}},82602:function(t,e,r){"use strict";r.d(e,{WU:function(){return u}});var n=["second","minute","hour","day","week","month","year"],o=["秒","分钟","小时","天","周","个月","年"],i={},a=function(t,e){i[t]=e},s=[60,60,24,7,365/7/12,12];function c(t){return t instanceof Date?t:!isNaN(t)||/^\d+$/.test(t)?new Date(parseInt(t)):(t=(t||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(t))}var u=function(t,e,r){var n=function(t,e){return(+(e?c(e):new Date)-+c(t))/1e3}(t,r&&r.relativeDate);return function(t,e){for(var r=t<0?1:0,n=t=Math.abs(t),o=0;t>=s[o]&&o<s.length;o++)t/=s[o];return(t=Math.floor(t))>(0==(o*=2)?9:1)&&(o+=1),e(t,o,n)[r].replace("%s",t.toString())}(n,function(t){return i[t]||i.en_US}(e))};a("en_US",(function(t,e){if(0===e)return["just now","right now"];var r=n[Math.floor(e/2)];return t>1&&(r+="s"),[t+" "+r+" ago","in "+t+" "+r]})),a("zh_CN",(function(t,e){if(0===e)return["刚刚","片刻后"];var r=o[~~(e/2)];return[t+" "+r+"前",t+" "+r+"后"]}))}}]);
|