@ampproject/amp-date-countdown
Advanced tools
Comparing version 1.2105281634.0 to 1.2106012301.0
@@ -1,2 +0,2 @@ | ||
var xe=Object.create,D=Object.defineProperty,we=Object.getOwnPropertyDescriptor,Ee=Object.getOwnPropertyNames,Ae=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,oe=function(e){return D(e,"__esModule",{value:!0})},Ce=function(e,t){for(var r in t)D(e,r,{get:t[r],enumerable:!0})},_e=function(e,t,r){if(t&&"object"==typeof t||"function"==typeof t)for(var n,o=Ee(t),u=0,a=o.length;u<a;u++)n=o[u],!Pe.call(e,n)&&"default"!==n&&D(e,n,{get:function(e){return t[e]}.bind(null,n),enumerable:!(r=we(t,n))||r.enumerable});return e},j=function(e){return _e(oe(D(null!=e?xe(Ae(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};oe(exports),Ce(exports,{DateCountdown:function(){return ir}});var c=j(require("preact/hooks")),d=j(require("preact")),ae=j(require("preact"));function m(e,t,r){return d.createElement.apply(void 0,arguments)}function ie(e){return d.createContext(e,void 0)}function N(e){return c.useState(e)}function G(e){return c.useRef(e)}function ue(e,t){c.useEffect(e,t)}function I(e,t){c.useLayoutEffect(e,t)}function ce(e){return c.useContext(e)}function w(e,t){return c.useMemo(e,t)}var T=j(require("preact/compat"));function L(e){return T.forwardRef(e)}function fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach((function(t){De(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function je(e,t){if(null==e)return{};var r,n,o=Ne(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Ne(e,t){if(null==e)return{};var r,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var Ie=[null,"paint","layout","content","size","size paint","size layout","strict"],Te={position:"relative",width:"100%",height:"100%"};function Le(e,t){var r=e.as,n=void 0===r?"div":r,o=e.children,u=e.className,a=e.contentAs,c=void 0===a?"div":a,i=e.contentClassName,l=e.contentProps,f=e.contentRef,y=e.contentStyle,p=e.layout,b=void 0!==p&&p,d=e.paint,O=void 0!==d&&d,v=e.size,h=void 0!==v&&v,g=e.style,j=e.wrapperClassName,w=e.wrapperStyle,S=(h?4:0)+(b?2:0)+(O?1:0);return m(n,s(s({},je(e,["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"])),{},{ref:t,className:"".concat(u||""," ").concat(j||"").trim()||null,style:s(s(s({},g),w),{},{contain:Ie[S]})}),m(c,s(s({},l),{},{ref:f,className:i,style:s(s({},h&&Te),{},{overflow:O?"hidden":"visible"},y)}),o))}var Re=L(Le);function le(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function R(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?le(Object(r),!0).forEach((function(t){Me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):le(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ue(e,t){if(null==e)return{};var r,n,o=We(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function We(e,t){if(null==e)return{};var r,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function ke(e,t){var r=e.as,n=void 0===r?"div":r,o=e.children,u=e.className,a=e.style,c=e.wrapperClassName,i=e.wrapperStyle;return m(n,R(R({},Ue(e,["as","children","className","style","wrapperClassName","wrapperStyle"])),{},{ref:t,className:"".concat(u||""," ").concat(c||"").trim()||null,style:R(R({},a),i)}),o)}var B=L(ke);function He(e,t){return ze(e)||Ye(e,t)||Fe(e,t)||$e()}function $e(){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 Fe(e,t){if(e){if("string"==typeof e)return pe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pe(e,t)}}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ye(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,u=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(u.push(n.value),!t||u.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{!a&&null!=r.return&&r.return()}finally{if(c)throw o}}return u}}function ze(e){if(Array.isArray(e))return e}function K(e,t){var r=He(N(null),2),n=r[0],o=r[1];return I((function(){var r=e&&e(t)||null;if(r&&"function"==typeof r.then){var n=!1;return r.then((function(e){n||o(e)})),function(){n=!0}}o(r)}),[e,t]),n}var se=Object.prototype,Rr=se.hasOwnProperty,Mr=se.toString;function V(e){return e||{}}function me(e){return"string"==typeof e}function Ze(e){if(!e)return null;if("now"===e.toLowerCase())return Date.now();var t=Date.parse(e);return isNaN(t)?null:t}function de(e){return e?"number"==typeof e?e:me(e)?Ze(e):(e=e).getTime():null}function J(e){return Ge[e]}var b,Ge={de:["Jahren","Monaten","Tagen","Stunden","Minuten","Sekunden"],en:["Years","Months","Days","Hours","Minutes","Seconds"],es:["años","meses","días","horas","minutos","segundos"],fr:["ans","mois","jours","heures","minutes","secondes"],id:["tahun","bulan","hari","jam","menit","detik"],it:["anni","mesi","giorni","ore","minuti","secondi"],ja:["年","ヶ月","日","時間","分","秒"],ko:["년","달","일","시간","분","초"],nl:["jaar","maanden","dagen","uur","minuten","seconden"],pt:["anos","meses","dias","horas","minutos","segundos"],ru:["год","месяц","день","час","минута","секунда"],th:["ปี","เดือน","วัน","ชั่วโมง","นาที","วินาที"],tr:["yıl","ay","gün","saat","dakika","saniye"],vi:["năm","tháng","ngày","giờ","phút","giây"],"zh-cn":["年","月","天","小时","分钟","秒"],"zh-tw":["年","月","天","小時","分鐘","秒"]};function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ye,p={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Fr=[p.AUTO,p.LAZY,p.EAGER,p.UNLOAD],Yr=(M(b={},p.AUTO,0),M(b,p.LAZY,1),M(b,p.EAGER,2),M(b,p.UNLOAD,3),b);function Be(){return ye||(ye=ie({renderable:!0,playable:!0,loading:p.AUTO}))}function U(){return ce(Be())}function ve(){var e=U().notify;I((function(){e&&e()}))}function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){Ke(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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})(e)}function Ve(e,t){return Xe(e)||Qe(e,t)||qe(e,t)||Je()}function Je(){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 qe(e,t){if(e){if("string"==typeof e)return be(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return be(e,t)}}function be(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Qe(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,u=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(u.push(n.value),!t||u.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{!a&&null!=r.return&&r.return()}finally{if(c)throw o}}return u}}function Xe(e){if(Array.isArray(e))return e}function er(e,t){if(null==e)return{};var r,n,o=rr(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function rr(e,t){if(null==e)return{};var r,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var tr="DateCountdown",ge=864e5,q=36e5,Q=6e4,Oe=1e3,X=1e3,l={DAYS:1,HOURS:2,MINUTES:3,SECONDS:4},ee="en",Se="stop",nr="DAYS",or=!1,ar=function(e){return"".concat(e.days," ").concat(e.dd,", ")+"".concat(e.hours," ").concat(e.hh,", ")+"".concat(e.minutes," ").concat(e.mm,", ")+"".concat(e.seconds," ").concat(e.ss)};function ir(e){var t=e.datetime,r=e.whenEnded,n=void 0===r?Se:r,o=e.locale,u=void 0===o?ee:o,a=e.biggestUnit,c=void 0===a?nr:a,i=e.countUp,l=void 0===i?or:i,f=e.render,s=void 0===f?ar:f,y=er(e,["datetime","whenEnded","locale","biggestUnit","countUp","render"]);ve();var p=U().playable,b=w((function(){return de(t)}),[t]),d=w((function(){return cr(u)}),[u]),O=Ve(N(b-Date.now()+X),2),v=O[0],h=O[1],g=w((function(){return ur(v,c,d,l)}),[v,c,d,l]),j=G(null);ue((function(){if(p&&j.current){var e=j.current.ownerDocument.defaultView,t=e.setInterval((function(){var r=b-Date.now()+X;h(r),n===Se&&r<1e3&&e.clearInterval(t)}),X);return function(){return e.clearInterval(t)}}}),[p,b,n]);var S=K(s,g),P=S&&"object"==k(S)&&"__html"in S;return m(B,W(W({},y),{},{ref:j,dangerouslySetInnerHTML:P?S:null}),P?null:S)}function ur(e,t,r,n){return W(W({},fr(e,t,n)),r)}function cr(e){void 0===J(e)&&(lr("Invalid locale ".concat(e,", defaulting to ").concat(ee,". ").concat(tr)),e=ee);var t=J(e);return V({years:t[0],months:t[1],days:t[2],hours:t[3],minutes:t[4],seconds:t[5]})}function fr(e,t,r){r&&(e*=-1);var n=l[t]==l.DAYS?y(Math.floor(e/ge)):0,o=l[t]==l.HOURS?y(Math.floor(e/q)):l[t]<l.HOURS?y(Math.floor(e%ge/q)):0,u=l[t]==l.MINUTES?y(Math.floor(e/Q)):l[t]<l.MINUTES?y(Math.floor(e%q/Q)):0,a=l[t]==l.SECONDS?y(Math.floor(e/Oe)):y(Math.floor(e%Q/Oe));return V({d:n,dd:H(n),h:o,hh:H(o),m:u,mm:H(u),s:a,ss:H(a)})}function H(e){return e<-9||e>9?String(e):e>=-9&&e<0?"-0"+-e:"0"+e}function y(e){return e<0?e+1:e}function lr(e){console.warn(e)} | ||
var Se=Object.create,D=Object.defineProperty,we=Object.getOwnPropertyDescriptor,Ee=Object.getOwnPropertyNames,Ae=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,oe=function(e){return D(e,"__esModule",{value:!0})},_e=function(e,t){for(var r in t)D(e,r,{get:t[r],enumerable:!0})},Ce=function(e,t,r){if(t&&"object"==typeof t||"function"==typeof t)for(var n,o=Ee(t),a=0,u=o.length;a<u;a++)n=o[a],!Pe.call(e,n)&&"default"!==n&&D(e,n,{get:function(e){return t[e]}.bind(null,n),enumerable:!(r=we(t,n))||r.enumerable});return e},j=function(e){return Ce(oe(D(null!=e?Se(Ae(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};oe(exports),_e(exports,{DateCountdown:function(){return fr}});var c=j(require("preact/hooks")),d=j(require("preact")),ae=j(require("preact"));function m(e,t,r){return d.createElement.apply(void 0,arguments)}function ie(e){return d.createContext(e,void 0)}function N(e){return c.useState(e)}function G(e){return c.useRef(e)}function ue(e,t){c.useEffect(e,t)}function I(e,t){c.useLayoutEffect(e,t)}function ce(e){return c.useContext(e)}function w(e,t){return c.useMemo(e,t)}var T=j(require("preact/compat"));function L(e){return T.forwardRef(e)}var De=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach((function(t){je(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ne(e,t){if(null==e)return{};var r,n,o=Ie(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Ie(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var Te=[null,"paint","layout","content","size","size paint","size layout","strict"],Le={position:"relative",width:"100%",height:"100%"};function Re(e,t){var r=e.as,n=void 0===r?"div":r,o=e.children,a=e.className,u=e.contentAs,c=void 0===u?"div":u,i=e.contentClassName,l=e.contentProps,f=e.contentRef,p=e.contentStyle,y=e.layout,b=void 0!==y&&y,d=e.paint,O=void 0!==d&&d,v=e.size,h=void 0!==v&&v,g=e.style,j=e.wrapperClassName,w=e.wrapperStyle,S=(h?4:0)+(b?2:0)+(O?1:0);return m(n,s(s({},Ne(e,De)),{},{ref:t,className:"".concat(a||""," ").concat(j||"").trim()||null,style:s(s(s({},g),w),{},{contain:Te[S]})}),m(c,s(s({},l),{},{ref:f,className:i,style:s(s({},h&&Le),{},{overflow:O?"hidden":"visible"},p)}),o))}var Me=L(Re),Ue=["as","children","className","style","wrapperClassName","wrapperStyle"];function le(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function R(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?le(Object(r),!0).forEach((function(t){We(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):le(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ke(e,t){if(null==e)return{};var r,n,o=He(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function He(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function $e(e,t){var r=e.as,n=void 0===r?"div":r,o=e.children,a=e.className,u=e.style,c=e.wrapperClassName,i=e.wrapperStyle;return m(n,R(R({},ke(e,Ue)),{},{ref:t,className:"".concat(a||""," ").concat(c||"").trim()||null,style:R(R({},u),i)}),o)}var B=L($e);function Fe(e,t){return Ge(e)||Ze(e,t)||ze(e,t)||Ye()}function Ye(){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 ze(e,t){if(e){if("string"==typeof e)return pe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pe(e,t)}}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ze(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,a=[],u=!0,c=!1;try{for(r=r.call(e);!(u=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{!u&&null!=r.return&&r.return()}finally{if(c)throw o}}return a}}function Ge(e){if(Array.isArray(e))return e}function K(e,t){var r=Fe(N(null),2),n=r[0],o=r[1];return I((function(){var r=e&&e(t)||null;if(r&&"function"==typeof r.then){var n=!1;return r.then((function(e){n||o(e)})),function(){n=!0}}o(r)}),[e,t]),n}var se=Object.prototype,Wr=se.hasOwnProperty,kr=se.toString;function V(e){return e||{}}function me(e){return"string"==typeof e}function Be(e){if(!e)return null;if("now"===e.toLowerCase())return Date.now();var t=Date.parse(e);return isNaN(t)?null:t}function de(e){return e?"number"==typeof e?e:me(e)?Be(e):(e=e).getTime():null}function J(e){return Ke[e]}var b,Ke={de:["Jahren","Monaten","Tagen","Stunden","Minuten","Sekunden"],en:["Years","Months","Days","Hours","Minutes","Seconds"],es:["años","meses","días","horas","minutos","segundos"],fr:["ans","mois","jours","heures","minutes","secondes"],id:["tahun","bulan","hari","jam","menit","detik"],it:["anni","mesi","giorni","ore","minuti","secondi"],ja:["年","ヶ月","日","時間","分","秒"],ko:["년","달","일","시간","분","초"],nl:["jaar","maanden","dagen","uur","minuten","seconden"],pt:["anos","meses","dias","horas","minutos","segundos"],ru:["год","месяц","день","час","минута","секунда"],th:["ปี","เดือน","วัน","ชั่วโมง","นาที","วินาที"],tr:["yıl","ay","gün","saat","dakika","saniye"],vi:["năm","tháng","ngày","giờ","phút","giây"],"zh-cn":["年","月","天","小时","分钟","秒"],"zh-tw":["年","月","天","小時","分鐘","秒"]};function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ye,p={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Zr=[p.AUTO,p.LAZY,p.EAGER,p.UNLOAD],Gr=(M(b={},p.AUTO,0),M(b,p.LAZY,1),M(b,p.EAGER,2),M(b,p.UNLOAD,3),b);function Ve(){return ye||(ye=ie({renderable:!0,playable:!0,loading:p.AUTO}))}function U(){return ce(Ve())}function ve(){var e=U().notify;I((function(){e&&e()}))}var Je=["datetime","whenEnded","locale","biggestUnit","countUp","render"];function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){qe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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})(e)}function Qe(e,t){return tr(e)||rr(e,t)||er(e,t)||Xe()}function Xe(){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 er(e,t){if(e){if("string"==typeof e)return be(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return be(e,t)}}function be(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function rr(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,a=[],u=!0,c=!1;try{for(r=r.call(e);!(u=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{!u&&null!=r.return&&r.return()}finally{if(c)throw o}}return a}}function tr(e){if(Array.isArray(e))return e}function nr(e,t){if(null==e)return{};var r,n,o=or(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function or(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var ar="DateCountdown",ge=864e5,q=36e5,Q=6e4,Oe=1e3,X=1e3,l={DAYS:1,HOURS:2,MINUTES:3,SECONDS:4},ee="en",xe="stop",ir="DAYS",ur=!1,cr=function(e){return"".concat(e.days," ").concat(e.dd,", ")+"".concat(e.hours," ").concat(e.hh,", ")+"".concat(e.minutes," ").concat(e.mm,", ")+"".concat(e.seconds," ").concat(e.ss)};function fr(e){var t=e.datetime,r=e.whenEnded,n=void 0===r?xe:r,o=e.locale,a=void 0===o?ee:o,u=e.biggestUnit,c=void 0===u?ir:u,i=e.countUp,l=void 0===i?ur:i,f=e.render,s=void 0===f?cr:f,p=nr(e,Je);ve();var y=U().playable,b=w((function(){return de(t)}),[t]),d=w((function(){return pr(a)}),[a]),O=Qe(N(b-Date.now()+X),2),v=O[0],h=O[1],g=w((function(){return lr(v,c,d,l)}),[v,c,d,l]),j=G(null);ue((function(){if(y&&j.current){var e=j.current.ownerDocument.defaultView,t=e.setInterval((function(){var r=b-Date.now()+X;h(r),n===xe&&r<1e3&&e.clearInterval(t)}),X);return function(){return e.clearInterval(t)}}}),[y,b,n]);var S=K(s,g),P=S&&"object"==k(S)&&"__html"in S;return m(B,W(W({},p),{},{ref:j,dangerouslySetInnerHTML:P?S:null}),P?null:S)}function lr(e,t,r,n){return W(W({},sr(e,t,n)),r)}function pr(e){void 0===J(e)&&(mr("Invalid locale ".concat(e,", defaulting to ").concat(ee,". ").concat(ar)),e=ee);var t=J(e);return V({years:t[0],months:t[1],days:t[2],hours:t[3],minutes:t[4],seconds:t[5]})}function sr(e,t,r){r&&(e*=-1);var n=l[t]==l.DAYS?y(Math.floor(e/ge)):0,o=l[t]==l.HOURS?y(Math.floor(e/q)):l[t]<l.HOURS?y(Math.floor(e%ge/q)):0,a=l[t]==l.MINUTES?y(Math.floor(e/Q)):l[t]<l.MINUTES?y(Math.floor(e%q/Q)):0,u=l[t]==l.SECONDS?y(Math.floor(e/Oe)):y(Math.floor(e%Q/Oe));return V({d:n,dd:H(n),h:o,hh:H(o),m:a,mm:H(a),s:u,ss:H(u)})}function H(e){return e<-9||e>9?String(e):e>=-9&&e<0?"-0"+-e:"0"+e}function y(e){return e<0?e+1:e}function mr(e){console.warn(e)} | ||
//# sourceMappingURL=component-preact.js.map |
@@ -75,2 +75,3 @@ var __create = Object.create; | ||
// src/preact/component/contain.js | ||
var _excluded = ["as", "children", "className", "contentAs", "contentClassName", "contentProps", "contentRef", "contentStyle", "layout", "paint", "size", "style", "wrapperClassName", "wrapperStyle"]; | ||
function _extends() { | ||
@@ -120,3 +121,3 @@ _extends = Object.assign || function(target) { | ||
function ContainWrapperWithRef(_ref, ref) { | ||
var _ref$as = _ref.as, Comp = _ref$as === void 0 ? "div" : _ref$as, children = _ref.children, className = _ref["className"], _ref$contentAs = _ref.contentAs, ContentComp = _ref$contentAs === void 0 ? "div" : _ref$contentAs, contentClassName = _ref.contentClassName, contentProps = _ref.contentProps, contentRef = _ref.contentRef, contentStyle = _ref.contentStyle, _ref$layout = _ref.layout, layout = _ref$layout === void 0 ? false : _ref$layout, _ref$paint = _ref.paint, paint = _ref$paint === void 0 ? false : _ref$paint, _ref$size = _ref.size, size = _ref$size === void 0 ? false : _ref$size, style = _ref["style"], wrapperClassName = _ref.wrapperClassName, wrapperStyle = _ref.wrapperStyle, rest = _objectWithoutPropertiesLoose(_ref, ["as", "children", "className", "contentAs", "contentClassName", "contentProps", "contentRef", "contentStyle", "layout", "paint", "size", "style", "wrapperClassName", "wrapperStyle"]); | ||
var _ref$as = _ref.as, Comp = _ref$as === void 0 ? "div" : _ref$as, children = _ref.children, className = _ref["className"], _ref$contentAs = _ref.contentAs, ContentComp = _ref$contentAs === void 0 ? "div" : _ref$contentAs, contentClassName = _ref.contentClassName, contentProps = _ref.contentProps, contentRef = _ref.contentRef, contentStyle = _ref.contentStyle, _ref$layout = _ref.layout, layout = _ref$layout === void 0 ? false : _ref$layout, _ref$paint = _ref.paint, paint = _ref$paint === void 0 ? false : _ref$paint, _ref$size = _ref.size, size = _ref$size === void 0 ? false : _ref$size, style = _ref["style"], wrapperClassName = _ref.wrapperClassName, wrapperStyle = _ref.wrapperStyle, rest = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
var containIndex = (size ? 4 : 0) + (layout ? 2 : 0) + (paint ? 1 : 0); | ||
@@ -140,2 +141,3 @@ return createElement2(Comp, _extends({}, rest, { | ||
// src/preact/component/wrapper.js | ||
var _excluded2 = ["as", "children", "className", "style", "wrapperClassName", "wrapperStyle"]; | ||
function _extends2() { | ||
@@ -170,3 +172,3 @@ _extends2 = Object.assign || function(target) { | ||
function WrapperWithRef(_ref, ref) { | ||
var _ref$as = _ref.as, Comp = _ref$as === void 0 ? "div" : _ref$as, children = _ref.children, className = _ref["className"], style = _ref["style"], wrapperClassName = _ref.wrapperClassName, wrapperStyle = _ref.wrapperStyle, rest = _objectWithoutPropertiesLoose2(_ref, ["as", "children", "className", "style", "wrapperClassName", "wrapperStyle"]); | ||
var _ref$as = _ref.as, Comp = _ref$as === void 0 ? "div" : _ref$as, children = _ref.children, className = _ref["className"], style = _ref["style"], wrapperClassName = _ref.wrapperClassName, wrapperStyle = _ref.wrapperStyle, rest = _objectWithoutPropertiesLoose2(_ref, _excluded2); | ||
return createElement2(Comp, _extends2({}, rest, { | ||
@@ -299,2 +301,3 @@ ref: ref, | ||
// extensions/amp-date-countdown/1.0/component.js | ||
var _excluded3 = ["datetime", "whenEnded", "locale", "biggestUnit", "countUp", "render"]; | ||
function _extends3() { | ||
@@ -348,3 +351,3 @@ _extends3 = Object.assign || function(target) { | ||
function DateCountdown(_ref) { | ||
var datetime = _ref.datetime, _ref$whenEnded = _ref.whenEnded, whenEnded = _ref$whenEnded === void 0 ? DEFAULT_WHEN_ENDED : _ref$whenEnded, _ref$locale = _ref.locale, locale = _ref$locale === void 0 ? DEFAULT_LOCALE : _ref$locale, _ref$biggestUnit = _ref.biggestUnit, biggestUnit = _ref$biggestUnit === void 0 ? DEFAULT_BIGGEST_UNIT : _ref$biggestUnit, _ref$countUp = _ref.countUp, countUp = _ref$countUp === void 0 ? DEFAULT_COUNT_UP : _ref$countUp, _ref$render = _ref.render, render2 = _ref$render === void 0 ? DEFAULT_RENDER : _ref$render, rest = _objectWithoutPropertiesLoose3(_ref, ["datetime", "whenEnded", "locale", "biggestUnit", "countUp", "render"]); | ||
var datetime = _ref.datetime, _ref$whenEnded = _ref.whenEnded, whenEnded = _ref$whenEnded === void 0 ? DEFAULT_WHEN_ENDED : _ref$whenEnded, _ref$locale = _ref.locale, locale = _ref$locale === void 0 ? DEFAULT_LOCALE : _ref$locale, _ref$biggestUnit = _ref.biggestUnit, biggestUnit = _ref$biggestUnit === void 0 ? DEFAULT_BIGGEST_UNIT : _ref$biggestUnit, _ref$countUp = _ref.countUp, countUp = _ref$countUp === void 0 ? DEFAULT_COUNT_UP : _ref$countUp, _ref$render = _ref.render, render2 = _ref$render === void 0 ? DEFAULT_RENDER : _ref$render, rest = _objectWithoutPropertiesLoose3(_ref, _excluded3); | ||
useResourcesNotify(); | ||
@@ -351,0 +354,0 @@ var _useAmpContext = useAmpContext(), playable = _useAmpContext.playable; |
@@ -1,2 +0,2 @@ | ||
var xe=Object.create,D=Object.defineProperty,we=Object.getOwnPropertyDescriptor,Ee=Object.getOwnPropertyNames,Ae=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,oe=function(e){return D(e,"__esModule",{value:!0})},Ce=function(e,t){for(var r in t)D(e,r,{get:t[r],enumerable:!0})},_e=function(e,t,r){if(t&&"object"==typeof t||"function"==typeof t)for(var n,o=Ee(t),u=0,a=o.length;u<a;u++)n=o[u],!Pe.call(e,n)&&"default"!==n&&D(e,n,{get:function(e){return t[e]}.bind(null,n),enumerable:!(r=we(t,n))||r.enumerable});return e},j=function(e){return _e(oe(D(null!=e?xe(Ae(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};oe(exports),Ce(exports,{DateCountdown:function(){return ir}});var c=j(require("react")),d=j(require("react")),ae=j(require("react-dom"));function m(e,t,r){return d.createElement.apply(void 0,arguments)}function ie(e){return d.createContext(e,void 0)}function N(e){return c.useState(e)}function G(e){return c.useRef(e)}function ue(e,t){c.useEffect(e,t)}function I(e,t){c.useLayoutEffect(e,t)}function ce(e){return c.useContext(e)}function w(e,t){return c.useMemo(e,t)}var T=j(require("react"));function L(e){return T.forwardRef(e)}function fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach((function(t){De(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function je(e,t){if(null==e)return{};var r,n,o=Ne(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Ne(e,t){if(null==e)return{};var r,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var Ie=[null,"paint","layout","content","size","size paint","size layout","strict"],Te={position:"relative",width:"100%",height:"100%"};function Le(e,t){var r=e.as,n=void 0===r?"div":r,o=e.children,u=e.className,a=e.contentAs,c=void 0===a?"div":a,i=e.contentClassName,l=e.contentProps,f=e.contentRef,y=e.contentStyle,p=e.layout,b=void 0!==p&&p,d=e.paint,O=void 0!==d&&d,v=e.size,g=void 0!==v&&v,h=e.style,j=e.wrapperClassName,w=e.wrapperStyle,S=(g?4:0)+(b?2:0)+(O?1:0);return m(n,s(s({},je(e,["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"])),{},{ref:t,className:"".concat(u||""," ").concat(j||"").trim()||null,style:s(s(s({},h),w),{},{contain:Ie[S]})}),m(c,s(s({},l),{},{ref:f,className:i,style:s(s({},g&&Te),{},{overflow:O?"hidden":"visible"},y)}),o))}var Re=L(Le);function le(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function R(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?le(Object(r),!0).forEach((function(t){Me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):le(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ue(e,t){if(null==e)return{};var r,n,o=We(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function We(e,t){if(null==e)return{};var r,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function ke(e,t){var r=e.as,n=void 0===r?"div":r,o=e.children,u=e.className,a=e.style,c=e.wrapperClassName,i=e.wrapperStyle;return m(n,R(R({},Ue(e,["as","children","className","style","wrapperClassName","wrapperStyle"])),{},{ref:t,className:"".concat(u||""," ").concat(c||"").trim()||null,style:R(R({},a),i)}),o)}var B=L(ke);function He(e,t){return ze(e)||Ye(e,t)||Fe(e,t)||$e()}function $e(){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 Fe(e,t){if(e){if("string"==typeof e)return pe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pe(e,t)}}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ye(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,u=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(u.push(n.value),!t||u.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{!a&&null!=r.return&&r.return()}finally{if(c)throw o}}return u}}function ze(e){if(Array.isArray(e))return e}function K(e,t){var r=He(N(null),2),n=r[0],o=r[1];return I((function(){var r=e&&e(t)||null;if(r&&"function"==typeof r.then){var n=!1;return r.then((function(e){n||o(e)})),function(){n=!0}}o(r)}),[e,t]),n}var se=Object.prototype,Rr=se.hasOwnProperty,Mr=se.toString;function V(e){return e||{}}function me(e){return"string"==typeof e}function Ze(e){if(!e)return null;if("now"===e.toLowerCase())return Date.now();var t=Date.parse(e);return isNaN(t)?null:t}function de(e){return e?"number"==typeof e?e:me(e)?Ze(e):(e=e).getTime():null}function J(e){return Ge[e]}var b,Ge={de:["Jahren","Monaten","Tagen","Stunden","Minuten","Sekunden"],en:["Years","Months","Days","Hours","Minutes","Seconds"],es:["años","meses","días","horas","minutos","segundos"],fr:["ans","mois","jours","heures","minutes","secondes"],id:["tahun","bulan","hari","jam","menit","detik"],it:["anni","mesi","giorni","ore","minuti","secondi"],ja:["年","ヶ月","日","時間","分","秒"],ko:["년","달","일","시간","분","초"],nl:["jaar","maanden","dagen","uur","minuten","seconden"],pt:["anos","meses","dias","horas","minutos","segundos"],ru:["год","месяц","день","час","минута","секунда"],th:["ปี","เดือน","วัน","ชั่วโมง","นาที","วินาที"],tr:["yıl","ay","gün","saat","dakika","saniye"],vi:["năm","tháng","ngày","giờ","phút","giây"],"zh-cn":["年","月","天","小时","分钟","秒"],"zh-tw":["年","月","天","小時","分鐘","秒"]};function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ye,p={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Fr=[p.AUTO,p.LAZY,p.EAGER,p.UNLOAD],Yr=(M(b={},p.AUTO,0),M(b,p.LAZY,1),M(b,p.EAGER,2),M(b,p.UNLOAD,3),b);function Be(){return ye||(ye=ie({renderable:!0,playable:!0,loading:p.AUTO}))}function U(){return ce(Be())}function ve(){var e=U().notify;I((function(){e&&e()}))}function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){Ke(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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})(e)}function Ve(e,t){return Xe(e)||Qe(e,t)||qe(e,t)||Je()}function Je(){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 qe(e,t){if(e){if("string"==typeof e)return be(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return be(e,t)}}function be(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Qe(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,u=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(u.push(n.value),!t||u.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{!a&&null!=r.return&&r.return()}finally{if(c)throw o}}return u}}function Xe(e){if(Array.isArray(e))return e}function er(e,t){if(null==e)return{};var r,n,o=rr(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function rr(e,t){if(null==e)return{};var r,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)r=u[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var tr="DateCountdown",ge=864e5,q=36e5,Q=6e4,Oe=1e3,X=1e3,l={DAYS:1,HOURS:2,MINUTES:3,SECONDS:4},ee="en",Se="stop",nr="DAYS",or=!1,ar=function(e){return"".concat(e.days," ").concat(e.dd,", ")+"".concat(e.hours," ").concat(e.hh,", ")+"".concat(e.minutes," ").concat(e.mm,", ")+"".concat(e.seconds," ").concat(e.ss)};function ir(e){var t=e.datetime,r=e.whenEnded,n=void 0===r?Se:r,o=e.locale,u=void 0===o?ee:o,a=e.biggestUnit,c=void 0===a?nr:a,i=e.countUp,l=void 0===i?or:i,f=e.render,s=void 0===f?ar:f,y=er(e,["datetime","whenEnded","locale","biggestUnit","countUp","render"]);ve();var p=U().playable,b=w((function(){return de(t)}),[t]),d=w((function(){return cr(u)}),[u]),O=Ve(N(b-Date.now()+X),2),v=O[0],g=O[1],h=w((function(){return ur(v,c,d,l)}),[v,c,d,l]),j=G(null);ue((function(){if(p&&j.current){var e=j.current.ownerDocument.defaultView,t=e.setInterval((function(){var r=b-Date.now()+X;g(r),n===Se&&r<1e3&&e.clearInterval(t)}),X);return function(){return e.clearInterval(t)}}}),[p,b,n]);var S=K(s,h),P=S&&"object"==k(S)&&"__html"in S;return m(B,W(W({},y),{},{ref:j,dangerouslySetInnerHTML:P?S:null}),P?null:S)}function ur(e,t,r,n){return W(W({},fr(e,t,n)),r)}function cr(e){void 0===J(e)&&(lr("Invalid locale ".concat(e,", defaulting to ").concat(ee,". ").concat(tr)),e=ee);var t=J(e);return V({years:t[0],months:t[1],days:t[2],hours:t[3],minutes:t[4],seconds:t[5]})}function fr(e,t,r){r&&(e*=-1);var n=l[t]==l.DAYS?y(Math.floor(e/ge)):0,o=l[t]==l.HOURS?y(Math.floor(e/q)):l[t]<l.HOURS?y(Math.floor(e%ge/q)):0,u=l[t]==l.MINUTES?y(Math.floor(e/Q)):l[t]<l.MINUTES?y(Math.floor(e%q/Q)):0,a=l[t]==l.SECONDS?y(Math.floor(e/Oe)):y(Math.floor(e%Q/Oe));return V({d:n,dd:H(n),h:o,hh:H(o),m:u,mm:H(u),s:a,ss:H(a)})}function H(e){return e<-9||e>9?String(e):e>=-9&&e<0?"-0"+-e:"0"+e}function y(e){return e<0?e+1:e}function lr(e){console.warn(e)} | ||
var Se=Object.create,D=Object.defineProperty,we=Object.getOwnPropertyDescriptor,Ee=Object.getOwnPropertyNames,Ae=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,oe=function(e){return D(e,"__esModule",{value:!0})},_e=function(e,t){for(var r in t)D(e,r,{get:t[r],enumerable:!0})},Ce=function(e,t,r){if(t&&"object"==typeof t||"function"==typeof t)for(var n,o=Ee(t),a=0,u=o.length;a<u;a++)n=o[a],!Pe.call(e,n)&&"default"!==n&&D(e,n,{get:function(e){return t[e]}.bind(null,n),enumerable:!(r=we(t,n))||r.enumerable});return e},j=function(e){return Ce(oe(D(null!=e?Se(Ae(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};oe(exports),_e(exports,{DateCountdown:function(){return fr}});var c=j(require("react")),d=j(require("react")),ae=j(require("react-dom"));function m(e,t,r){return d.createElement.apply(void 0,arguments)}function ie(e){return d.createContext(e,void 0)}function N(e){return c.useState(e)}function G(e){return c.useRef(e)}function ue(e,t){c.useEffect(e,t)}function I(e,t){c.useLayoutEffect(e,t)}function ce(e){return c.useContext(e)}function w(e,t){return c.useMemo(e,t)}var T=j(require("react"));function L(e){return T.forwardRef(e)}var De=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach((function(t){je(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ne(e,t){if(null==e)return{};var r,n,o=Ie(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Ie(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var Te=[null,"paint","layout","content","size","size paint","size layout","strict"],Le={position:"relative",width:"100%",height:"100%"};function Re(e,t){var r=e.as,n=void 0===r?"div":r,o=e.children,a=e.className,u=e.contentAs,c=void 0===u?"div":u,i=e.contentClassName,l=e.contentProps,f=e.contentRef,y=e.contentStyle,p=e.layout,b=void 0!==p&&p,d=e.paint,O=void 0!==d&&d,v=e.size,g=void 0!==v&&v,h=e.style,j=e.wrapperClassName,w=e.wrapperStyle,S=(g?4:0)+(b?2:0)+(O?1:0);return m(n,s(s({},Ne(e,De)),{},{ref:t,className:"".concat(a||""," ").concat(j||"").trim()||null,style:s(s(s({},h),w),{},{contain:Te[S]})}),m(c,s(s({},l),{},{ref:f,className:i,style:s(s({},g&&Le),{},{overflow:O?"hidden":"visible"},y)}),o))}var Me=L(Re),Ue=["as","children","className","style","wrapperClassName","wrapperStyle"];function le(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function R(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?le(Object(r),!0).forEach((function(t){We(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):le(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ke(e,t){if(null==e)return{};var r,n,o=He(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function He(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function $e(e,t){var r=e.as,n=void 0===r?"div":r,o=e.children,a=e.className,u=e.style,c=e.wrapperClassName,i=e.wrapperStyle;return m(n,R(R({},ke(e,Ue)),{},{ref:t,className:"".concat(a||""," ").concat(c||"").trim()||null,style:R(R({},u),i)}),o)}var B=L($e);function Fe(e,t){return Ge(e)||Ze(e,t)||ze(e,t)||Ye()}function Ye(){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 ze(e,t){if(e){if("string"==typeof e)return pe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pe(e,t)}}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ze(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,a=[],u=!0,c=!1;try{for(r=r.call(e);!(u=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{!u&&null!=r.return&&r.return()}finally{if(c)throw o}}return a}}function Ge(e){if(Array.isArray(e))return e}function K(e,t){var r=Fe(N(null),2),n=r[0],o=r[1];return I((function(){var r=e&&e(t)||null;if(r&&"function"==typeof r.then){var n=!1;return r.then((function(e){n||o(e)})),function(){n=!0}}o(r)}),[e,t]),n}var se=Object.prototype,Wr=se.hasOwnProperty,kr=se.toString;function V(e){return e||{}}function me(e){return"string"==typeof e}function Be(e){if(!e)return null;if("now"===e.toLowerCase())return Date.now();var t=Date.parse(e);return isNaN(t)?null:t}function de(e){return e?"number"==typeof e?e:me(e)?Be(e):(e=e).getTime():null}function J(e){return Ke[e]}var b,Ke={de:["Jahren","Monaten","Tagen","Stunden","Minuten","Sekunden"],en:["Years","Months","Days","Hours","Minutes","Seconds"],es:["años","meses","días","horas","minutos","segundos"],fr:["ans","mois","jours","heures","minutes","secondes"],id:["tahun","bulan","hari","jam","menit","detik"],it:["anni","mesi","giorni","ore","minuti","secondi"],ja:["年","ヶ月","日","時間","分","秒"],ko:["년","달","일","시간","분","초"],nl:["jaar","maanden","dagen","uur","minuten","seconden"],pt:["anos","meses","dias","horas","minutos","segundos"],ru:["год","месяц","день","час","минута","секунда"],th:["ปี","เดือน","วัน","ชั่วโมง","นาที","วินาที"],tr:["yıl","ay","gün","saat","dakika","saniye"],vi:["năm","tháng","ngày","giờ","phút","giây"],"zh-cn":["年","月","天","小时","分钟","秒"],"zh-tw":["年","月","天","小時","分鐘","秒"]};function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ye,p={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Zr=[p.AUTO,p.LAZY,p.EAGER,p.UNLOAD],Gr=(M(b={},p.AUTO,0),M(b,p.LAZY,1),M(b,p.EAGER,2),M(b,p.UNLOAD,3),b);function Ve(){return ye||(ye=ie({renderable:!0,playable:!0,loading:p.AUTO}))}function U(){return ce(Ve())}function ve(){var e=U().notify;I((function(){e&&e()}))}var Je=["datetime","whenEnded","locale","biggestUnit","countUp","render"];function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){qe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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})(e)}function Qe(e,t){return tr(e)||rr(e,t)||er(e,t)||Xe()}function Xe(){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 er(e,t){if(e){if("string"==typeof e)return be(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return be(e,t)}}function be(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function rr(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,a=[],u=!0,c=!1;try{for(r=r.call(e);!(u=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{!u&&null!=r.return&&r.return()}finally{if(c)throw o}}return a}}function tr(e){if(Array.isArray(e))return e}function nr(e,t){if(null==e)return{};var r,n,o=or(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function or(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var ar="DateCountdown",ge=864e5,q=36e5,Q=6e4,Oe=1e3,X=1e3,l={DAYS:1,HOURS:2,MINUTES:3,SECONDS:4},ee="en",xe="stop",ir="DAYS",ur=!1,cr=function(e){return"".concat(e.days," ").concat(e.dd,", ")+"".concat(e.hours," ").concat(e.hh,", ")+"".concat(e.minutes," ").concat(e.mm,", ")+"".concat(e.seconds," ").concat(e.ss)};function fr(e){var t=e.datetime,r=e.whenEnded,n=void 0===r?xe:r,o=e.locale,a=void 0===o?ee:o,u=e.biggestUnit,c=void 0===u?ir:u,i=e.countUp,l=void 0===i?ur:i,f=e.render,s=void 0===f?cr:f,y=nr(e,Je);ve();var p=U().playable,b=w((function(){return de(t)}),[t]),d=w((function(){return pr(a)}),[a]),O=Qe(N(b-Date.now()+X),2),v=O[0],g=O[1],h=w((function(){return lr(v,c,d,l)}),[v,c,d,l]),j=G(null);ue((function(){if(p&&j.current){var e=j.current.ownerDocument.defaultView,t=e.setInterval((function(){var r=b-Date.now()+X;g(r),n===xe&&r<1e3&&e.clearInterval(t)}),X);return function(){return e.clearInterval(t)}}}),[p,b,n]);var S=K(s,h),P=S&&"object"==k(S)&&"__html"in S;return m(B,W(W({},y),{},{ref:j,dangerouslySetInnerHTML:P?S:null}),P?null:S)}function lr(e,t,r,n){return W(W({},sr(e,t,n)),r)}function pr(e){void 0===J(e)&&(mr("Invalid locale ".concat(e,", defaulting to ").concat(ee,". ").concat(ar)),e=ee);var t=J(e);return V({years:t[0],months:t[1],days:t[2],hours:t[3],minutes:t[4],seconds:t[5]})}function sr(e,t,r){r&&(e*=-1);var n=l[t]==l.DAYS?y(Math.floor(e/ge)):0,o=l[t]==l.HOURS?y(Math.floor(e/q)):l[t]<l.HOURS?y(Math.floor(e%ge/q)):0,a=l[t]==l.MINUTES?y(Math.floor(e/Q)):l[t]<l.MINUTES?y(Math.floor(e%q/Q)):0,u=l[t]==l.SECONDS?y(Math.floor(e/Oe)):y(Math.floor(e%Q/Oe));return V({d:n,dd:H(n),h:o,hh:H(o),m:a,mm:H(a),s:u,ss:H(u)})}function H(e){return e<-9||e>9?String(e):e>=-9&&e<0?"-0"+-e:"0"+e}function y(e){return e<0?e+1:e}function mr(e){console.warn(e)} | ||
//# sourceMappingURL=component-react.js.map |
@@ -75,2 +75,3 @@ var __create = Object.create; | ||
// src/preact/component/contain.js | ||
var _excluded = ["as", "children", "className", "contentAs", "contentClassName", "contentProps", "contentRef", "contentStyle", "layout", "paint", "size", "style", "wrapperClassName", "wrapperStyle"]; | ||
function _extends() { | ||
@@ -120,3 +121,3 @@ _extends = Object.assign || function(target) { | ||
function ContainWrapperWithRef(_ref, ref) { | ||
var _ref$as = _ref.as, Comp = _ref$as === void 0 ? "div" : _ref$as, children = _ref.children, className = _ref["className"], _ref$contentAs = _ref.contentAs, ContentComp = _ref$contentAs === void 0 ? "div" : _ref$contentAs, contentClassName = _ref.contentClassName, contentProps = _ref.contentProps, contentRef = _ref.contentRef, contentStyle = _ref.contentStyle, _ref$layout = _ref.layout, layout = _ref$layout === void 0 ? false : _ref$layout, _ref$paint = _ref.paint, paint = _ref$paint === void 0 ? false : _ref$paint, _ref$size = _ref.size, size = _ref$size === void 0 ? false : _ref$size, style = _ref["style"], wrapperClassName = _ref.wrapperClassName, wrapperStyle = _ref.wrapperStyle, rest = _objectWithoutPropertiesLoose(_ref, ["as", "children", "className", "contentAs", "contentClassName", "contentProps", "contentRef", "contentStyle", "layout", "paint", "size", "style", "wrapperClassName", "wrapperStyle"]); | ||
var _ref$as = _ref.as, Comp = _ref$as === void 0 ? "div" : _ref$as, children = _ref.children, className = _ref["className"], _ref$contentAs = _ref.contentAs, ContentComp = _ref$contentAs === void 0 ? "div" : _ref$contentAs, contentClassName = _ref.contentClassName, contentProps = _ref.contentProps, contentRef = _ref.contentRef, contentStyle = _ref.contentStyle, _ref$layout = _ref.layout, layout = _ref$layout === void 0 ? false : _ref$layout, _ref$paint = _ref.paint, paint = _ref$paint === void 0 ? false : _ref$paint, _ref$size = _ref.size, size = _ref$size === void 0 ? false : _ref$size, style = _ref["style"], wrapperClassName = _ref.wrapperClassName, wrapperStyle = _ref.wrapperStyle, rest = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
var containIndex = (size ? 4 : 0) + (layout ? 2 : 0) + (paint ? 1 : 0); | ||
@@ -140,2 +141,3 @@ return createElement2(Comp, _extends({}, rest, { | ||
// src/preact/component/wrapper.js | ||
var _excluded2 = ["as", "children", "className", "style", "wrapperClassName", "wrapperStyle"]; | ||
function _extends2() { | ||
@@ -170,3 +172,3 @@ _extends2 = Object.assign || function(target) { | ||
function WrapperWithRef(_ref, ref) { | ||
var _ref$as = _ref.as, Comp = _ref$as === void 0 ? "div" : _ref$as, children = _ref.children, className = _ref["className"], style = _ref["style"], wrapperClassName = _ref.wrapperClassName, wrapperStyle = _ref.wrapperStyle, rest = _objectWithoutPropertiesLoose2(_ref, ["as", "children", "className", "style", "wrapperClassName", "wrapperStyle"]); | ||
var _ref$as = _ref.as, Comp = _ref$as === void 0 ? "div" : _ref$as, children = _ref.children, className = _ref["className"], style = _ref["style"], wrapperClassName = _ref.wrapperClassName, wrapperStyle = _ref.wrapperStyle, rest = _objectWithoutPropertiesLoose2(_ref, _excluded2); | ||
return createElement2(Comp, _extends2({}, rest, { | ||
@@ -299,2 +301,3 @@ ref: ref, | ||
// extensions/amp-date-countdown/1.0/component.js | ||
var _excluded3 = ["datetime", "whenEnded", "locale", "biggestUnit", "countUp", "render"]; | ||
function _extends3() { | ||
@@ -348,3 +351,3 @@ _extends3 = Object.assign || function(target) { | ||
function DateCountdown(_ref) { | ||
var datetime = _ref.datetime, _ref$whenEnded = _ref.whenEnded, whenEnded = _ref$whenEnded === void 0 ? DEFAULT_WHEN_ENDED : _ref$whenEnded, _ref$locale = _ref.locale, locale = _ref$locale === void 0 ? DEFAULT_LOCALE : _ref$locale, _ref$biggestUnit = _ref.biggestUnit, biggestUnit = _ref$biggestUnit === void 0 ? DEFAULT_BIGGEST_UNIT : _ref$biggestUnit, _ref$countUp = _ref.countUp, countUp = _ref$countUp === void 0 ? DEFAULT_COUNT_UP : _ref$countUp, _ref$render = _ref.render, render2 = _ref$render === void 0 ? DEFAULT_RENDER : _ref$render, rest = _objectWithoutPropertiesLoose3(_ref, ["datetime", "whenEnded", "locale", "biggestUnit", "countUp", "render"]); | ||
var datetime = _ref.datetime, _ref$whenEnded = _ref.whenEnded, whenEnded = _ref$whenEnded === void 0 ? DEFAULT_WHEN_ENDED : _ref$whenEnded, _ref$locale = _ref.locale, locale = _ref$locale === void 0 ? DEFAULT_LOCALE : _ref$locale, _ref$biggestUnit = _ref.biggestUnit, biggestUnit = _ref$biggestUnit === void 0 ? DEFAULT_BIGGEST_UNIT : _ref$biggestUnit, _ref$countUp = _ref.countUp, countUp = _ref$countUp === void 0 ? DEFAULT_COUNT_UP : _ref$countUp, _ref$render = _ref.render, render2 = _ref$render === void 0 ? DEFAULT_RENDER : _ref$render, rest = _objectWithoutPropertiesLoose3(_ref, _excluded3); | ||
useResourcesNotify(); | ||
@@ -351,0 +354,0 @@ var _useAmpContext = useAmpContext(), playable = _useAmpContext.playable; |
{ | ||
"name": "@ampproject/amp-date-countdown", | ||
"version": "1.2105281634.0", | ||
"version": "1.2106012301.0", | ||
"description": "AMP HTML amp-date-countdown Component", | ||
@@ -5,0 +5,0 @@ "author": "The AMP HTML Authors", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
185768
944