Plugin Directory

Changeset 3142110


Ignore:
Timestamp:
08/27/2024 08:14:09 AM (19 months ago)
Author:
grandplugins
Message:
  • Tested with the latest WP Version
Location:
simple-countdown/trunk
Files:
1 added
14 edited

Legend:

Unmodified
Added
Removed
  • simple-countdown/trunk/assets/dist/js/admin/back-quick-countdown-timer.min.js

    r2852583 r3142110  
    1 (()=>{"use strict";function t(r,e){var i=n();return(t=function(t,r){return i[t-=498]})(r,e)}function r(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"on",e=t;"on"===n?jQuery("."+r+e(502)).removeClass(e(509)):jQuery("."+r+e(502))[e(498)]("d-none")}function n(){var t=["20NtOXsW","-loader","149817asJFiu","1021765KgXnGM","4720919oIujVl","4536760ZAWMYH","6bRVWIw","440437XAVXui","d-none","addClass","5079861xAZbXZ","582218QaDPcT"];return(n=function(){return t})()}function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function i(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function o(t,r){for(var n=0;n<r.length;n++){var e=r[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}!function(r,n){for(var e=t,i=r();;)try{if(353121==-parseInt(e(508))/1+parseInt(e(500))/2+parseInt(e(503))/3*(parseInt(e(501))/4)+-parseInt(e(504))/5*(parseInt(e(507))/6)+-parseInt(e(505))/7+parseInt(e(506))/8+parseInt(e(499))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(n),function(t,r){for(var n=c,e=t();;)try{if(239484==parseInt(n(468))/1+parseInt(n(442))/2+parseInt(n(459))/3*(-parseInt(n(430))/4)+-parseInt(n(390))/5*(parseInt(n(385))/6)+-parseInt(n(420))/7+parseInt(n(399))/8+parseInt(n(426))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(l);var s=a;function a(t,r){var n=u();return(a=function(t,r){return n[t-=249]})(t,r)}function u(){var t=c,r=[t(378),t(398),"display",t(454),t(447),"7njGWct",t(467),t(435),"appendChild",t(383),t(424),t(472),t(444),"daysremaining",t(402),"hideDivision",t(410),"hours",t(478),t(448),t(389),"call",t(452),t(427),"add","rotor-leaf",t(423),t(406),t(394),t(417),t(375),t(453),t(373),"getTime",t(474),"dark",t(463),t(380),t(411),t(403),t(421),t(413),t(445),t(422),"rotor-leaf-front",t(451),t(392),t(462),t(425),t(415),t(400),"start",t(456),t(431),t(439),t(446),t(455),t(436),t(429),t(450),"push",t(412),t(405),t(396),t(457),t(395),"hasOwnProperty",t(465),"933291iVwumz",t(377),"rotorTops",t(477),t(379),t(416),t(387),t(473),"130802CxWANw",t(437),"rotor-bottom rotor-painter",t(461),t(471),t(414),t(384),"initialised",t(408),t(397),t(438),t(401),t(381),t(433),t(476),t(475),t(449),t(388),t(443),t(470),"countdownEnded",t(393),t(382),t(418),"rotor-group-heading",t(464),"Days","number",t(409),t(441),t(434)];return(u=function(){return r})()}function h(t,r){var n=s;return(t=t[n(300)]())[n(282)]<r?h("0"+t,r):t}function c(t,r){var n=l();return(c=function(t,r){return n[t-=373]})(t,r)}function p(t,r){var n=s;r[n(316)]((function(r){t[n(252)](r)}))}!function(t,r){for(var n=c,e=a,i=t();;)try{if(427816==-parseInt(e(321))/1*(parseInt(e(320))/2)+parseInt(e(336))/3+-parseInt(e(253))/4*(-parseInt(e(290))/5)+-parseInt(e(302))/6+-parseInt(e(249))/7*(-parseInt(e(281))/8)+parseInt(e(312))/9+parseInt(e(262))/10*(-parseInt(e(250))/11))break;i[n(407)](i[n(386)]())}catch(t){i.push(i[n(386)]())}}(u);const f=function(t,r,n,a,u,f,l,d,v,m,y){function g(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s(335),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i(this,g);var o=c,a=s;if(e(t)!==a(347))throw new Error(o(391)+e(t)+a(305));e(r)===o(374)&&(this[a(326)]=r[0],this[a(330)]=a(338),this[o(469)]=!1,this[a(258)]=this[a(255)](),this[a(341)]=t,this[o(404)]=!1,this[a(348)]=null,this[a(264)]=[],this[o(474)]=[],this[a(349)]=[],this[a(314)]=[],this[a(254)]=[],this[a(333)]=null,this[a(328)]=0,this.clockValues={},this[a(323)]={},this[a(315)]=[],this[o(395)]=[],this[a(351)]=this[a(263)](n),this[a(286)]={0:a(294),1:a(261),2:a(352),3:a(306)},this[a(345)]())}var I,b;return I=g,b=[{key:t,value:function(t){var r=s;return this[r(327)]||this[r(303)](),this[r(333)]=setInterval(this[r(299)].bind(this),1e3),t(),this}},{key:r,value:function(t){var r=s;return this[r(348)]=function(){var n=r;t(),this[n(348)]=null,this[n(301)]()},this}},{key:n,value:function(){var t=s;return(new Date)[t(277)]()/1e3}},{key:"_hasCountdownEnded",value:function(){var t=c,r=s;return this[t(393)]-this[r(258)]<0?(this[r(340)]=!0,null!=this[r(348)]&&(this[t(409)](),this[r(348)]=null),!0):(this[r(340)]=!1,!1)}},{key:a,value:function(t){var r=c,n=s,e={headings:[n(346),n(292),n(307),r(428)],theme:t[n(310)](n(280))?t[n(280)]:n(279),hideDivision:!1};return Object[n(260)]({},e,t)}},{key:u,value:function(){var t=s;this[t(326)][t(343)][t(268)](t(285)+this[t(351)][t(280)])}},{key:f,value:function(){var t=c,r=s;this[r(327)]=!0,this[t(444)]()?this[r(257)]=0:this[t(466)]=Math[r(298)]((this[r(341)]-this[r(258)])/86400)[r(300)]()[r(282)];for(var n=this[t(466)]<=2?2:this[t(466)],e=0;e<n+6;e++)this[r(264)][t(407)](this[r(289)](0));var i=[];for(e=0;e<n;e++)i[r(304)](this[t(389)][e]);this[r(326)][r(252)](this._createRotorGroup(i,0));var o=n;for(e=0;e<3;e++){for(var a=[],u=0;u<2;u++)a[r(304)](this[r(264)][o]),o++;this[r(326)][t(419)](this[r(342)](a,e+1))}return jQuery(this[t(384)]).find(r(287))[t(397)](r(353),"flex"),this[r(278)]=Array[r(337)][r(313)][t(458)](this[r(326)][r(354)](r(288))),this.rotorLeafRear=Array[r(337)][t(377)][r(265)](this[r(326)][r(354)](r(270))),this[r(283)]=Array[r(337)][t(377)][r(265)](this[t(384)][r(354)](r(355))),this[r(267)]=Array[r(337)].slice[r(265)](this[r(326)][r(354)](r(317))),this[t(446)](),this[r(350)](!0),this}},{key:l,value:function(t,r){var n=c,e=s,i=document.createElement("div");i[e(266)]=e(274)+(this[e(286)][r]?n(440)+this[e(286)][r]:"");var o=document[e(331)](e(251));o[e(266)]=e(344),o[n(479)](e(324),this[e(351)][e(273)][r]);var a=document[e(331)](e(311));a[e(297)]=this[e(351)][n(417)][r],o[e(252)](a),i[n(419)](o);var u=document[e(331)](e(251));return u[e(266)]=e(284),p(u,t),i[e(252)](u),i}},{key:d,value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=c,n=s,e=document[n(331)](n(251)),i=document[n(331)](n(251)),o=document[n(331)](n(271)),a=document[n(331)](n(271)),u=document[r(401)](n(251)),h=document[r(401)](n(251));return e[n(266)]=r(376),i[n(266)]=n(269),o[n(266)]=n(332),a[n(266)]=n(308),u[r(452)]=n(275),h[n(266)]=n(322),o[n(297)]=t,u[n(297)]=t,h[n(297)]=t,p(e,[i,u,h]),p(i,[o,a]),e}},{key:v,value:function(){var t=c,r=s;this[r(258)]=this[r(255)]();var n=this[r(341)]-this[r(258)]<=0?0:this[r(341)]-this[r(258)];this[t(414)].d=Math[t(439)](n/86400),n-=86400*this[r(325)].d,0===this[t(414)].d&&this[t(378)][r(259)]&&jQuery(this[r(326)])[r(293)](r(291))[r(329)](r(353),r(339)),this[r(325)].h=Math[r(298)](n/3600),n-=3600*this[r(325)].h,0===this[r(325)].h&&0===this[r(325)].d&&this[r(351)][r(259)]&&jQuery(this[r(326)])[r(293)](r(318))[r(329)](r(353),r(339)),this[r(325)].m=Math[r(298)](n/60),n-=60*this[r(325)].m,0===this[r(325)].m&&0===this[t(414)].h&&0===this[r(325)].d&&this[r(351)][r(259)]&&jQuery(this[r(326)])[r(293)](r(334))[t(397)](t(432),r(339)),this[r(325)].s=Math[t(439)](n),this[r(350)](),this[r(256)]()}},{key:m,value:function(){clearInterval(this[s(333)])}},{key:y,value:function(){var t=this,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=c,e=s;function i(){var t=this,r=e;this[r(283)][r(316)]((function(n,e){var i=c;n[r(297)]!=t[i(477)][e]&&(n.textContent=t[i(477)][e])}))}function o(){var t=this,r=n,i=e;this[i(349)][r(379)]((function(n,e){var o=r,s=i;if(n[s(297)]!=t[s(315)][e]){n[s(297)]=t[s(315)][e],n[s(272)][o(418)][s(268)](s(319));var a=setInterval(function(){var t=s;n[t(272)][t(343)].remove(t(319)),clearInterval(a)}[s(296)](t),500)}}))}this[e(323)].d=h(this[n(414)].d,2),this[e(323)].h=h(this[e(325)].h,2),this[e(323)].m=h(this[e(325)].m,2),this[e(323)].s=h(this[n(414)].s,2),this[n(477)]=(this[e(323)].d+this[e(323)].h+this[e(323)].m+this[n(461)].s)[n(460)](""),this[n(474)][n(379)]((function(r,n){var i=e;r[i(297)]=t[i(309)][n]})),this[e(267)][e(316)]((function(r,i){var o=n;r[e(297)]=t[o(395)][i]})),r?(i[n(458)](this),o[e(265)](this)):(setTimeout(i[e(296)](this),500),setTimeout(o.bind(this),500)),this[e(309)]=this.clockValuesAsString}}],b&&o(I.prototype,b),Object.defineProperty(I,"prototype",{writable:!1}),g}(s(295),s(276),s(255),s(263),s(345),s(303),s(342),s(289),s(299),s(301),s(350));function l(){var t=["rotor-top","_parseOptions","1526115vkkYrd","_init","_createRotor","className","rotor-top rotor-painter","getElementsByClassName","toString","bind","rotor-leaf-front rotor-painter","call","75YoTjXN","split","clockStrings",".rotor-group-days","theme","_setOptions","span","daysremaining","1221VGmLJS","201089XZArRA","initialised","none","data-before","_getTime","flipped","rotorLeafFront","flipdown",".rotor-group-minutes","clockValuesAsString","54350hvBDUb","setAttribute","ifEnded","object","rotor-group ","rotor","slice","opts","forEach","3668752uhTRAu","rotor-leaf-rear rotor-painter","_createRotorGroup","120CGjxgw","element","6ChjvsK","shift",".rotor-group-hours","prototype","rotors","1372350EIRvZD","FlipDown: Constructor expected unix timestamp, got ","120405UWKGKj","epoch","parentElement","prevClockValuesAsString","Minutes","css","minutes","2944576NJgKeQ","days","createElement","now","rotorTop","countdownEnded","seconds","figure","push","daysRemaining","hasEndedCallback","assign","length"," instead.","flipdown__theme-","clockValues","find","rotor-bottom","headings","classList","appendChild","1825348BsHsrc","rotors-wrapper",".rotor-group","rotor-leaf-rear","rotorBottoms","Hours","1212372GFdwRp","rotorBottom","Seconds","3004338gceJwA","40580pYebDd","textContent","display","countdown","_updateClockValues","div","destroy","4rFvABO","version","floor","rotor-group-","rotorLeafRear","648948zeBIKz","0.3.2","_hasCountdownEnded","rotorGroupMapping","_tick"];return(l=function(){return t})()}function d(t,r){var n=v();return(d=function(t,r){return n[t-=144]})(t,r)}function v(){var t=["15tjsIOP",".gpls-general-clipboard-icon-btn","preventDefault","833856XdmWjm","writeText","data","getOrCreateInstance","hide","text","659125fvpRBj","Popover","clipboard","2893177BamMAu","3282402njzxoe","1137552VPuNEc","7432ZVeOEd","1690692XOXjUb",'[data-bs-toggle="popover"]',"7893MgYwwz"];return(v=function(){return t})()}function m(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}function y(){var t=["insertRule",".countdown-timer-shortcode-container .shortcode-interval-time","-color-input","css","datetime","resize","394498PmJKxz","926985IywVSw","values"," { "," .rotor-painter { ","slideUp","295880JfIMCe","handle","empty","prefix","removeClass","change","getTime"," !important; }","flipdown-size-xxs","target","598671yGbUrV","-admin-flipdown-css-css","56Cqewit","keys","each","addClass","cssRules",": #000 !important; }","val","labels","forEach","6258510lOkVeH","min","sheet","90459iOsvKy","start","filter","-flipdown","396NPqrKL","744984HAKToY","text","#000","toString","-arrival-time","classes_prefix","data","width","7PgQQAV","length","wpColorPicker","off","78oawEGO"," .rotor:after { ","flipDownHeading","ifEnded",".rotor-group-","flipdown-size-xs","rotor-group-heading"];return(y=function(){return t})()}function g(t,r){var n=y();return(g=function(t,r){return n[t-=303]})(t,r)}!function(t,r){for(var n=d,e=t();;)try{if(882838==parseInt(n(146))/1+parseInt(n(150))/2+-parseInt(n(151))/3+parseInt(n(159))/4+parseInt(n(156))/5*(-parseInt(n(153))/6)+parseInt(n(149))/7+-parseInt(n(152))/8*(parseInt(n(155))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v),function(t,r){for(var n=g,e=t();;)try{if(711106==parseInt(n(337))/1+-parseInt(n(324))/2*(-parseInt(n(307))/3)+-parseInt(n(312))/4+-parseInt(n(338))/5+parseInt(n(304))/6*(parseInt(n(320))/7)+-parseInt(n(355))/8*(parseInt(n(353))/9)+-parseInt(n(343))/10*(parseInt(n(311))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y),function(t){var n=g,e=gpls_wpsctr_simple_countdown_timer_localized_data,i="."+e[n(317)],o=t("."+e[n(317)]+n(310)),s={200:n(351),400:n(329),650:"flipdown-size-sm"};function a(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=n,s=i||t.data(o(335)),a={headings:Object[o(339)](e[o(362)][o(326)])};t[o(345)](),r(e[o(317)],"on");var h=new f(s,t,a)[o(308)]((function(){var n=o;r(e.classes_prefix,n(323)),u(t),t.show()}))[o(327)]((function(){var r=o;t[r(342)](400,(function(){t[r(345)]()}))}));return t[o(358)]("started"),h}function u(t){var r=n;t[r(358)](h(t[r(319)]()))}function h(t){var r,e=n,i=Object[e(356)](s).filter((function(r){return r>t}));if(i[e(321)]){var o=Math[e(305)].apply(Math,function(t){if(Array.isArray(t))return m(t)}(r=i[e(309)]((function(t){return parseInt(t)})))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(r)||function(t,r){if(t){if("string"==typeof t)return m(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(t,r):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());return s[o[e(315)]()]}return""}t((function(r){var s,u,h=n;a(o),t(i+(u=n)(333))[u(357)]((function(){var r=u,n=t(this);n[r(322)]({change:function(n,i){var o=r,s=t(n.target),a=s.val(),u=s.data("target"),h=s[o(318)](o(344)),c=s[o(318)](o(334)),p=o(328)+u,f=t("#"+e[o(346)]+o(354)).get(0)[o(306)];o(330)===h?f[o(331)](p+" .rotor-group-heading span { "+c+": "+a+o(350),f[o(359)][o(321)]):"rotor-divider"===h?f[o(331)](p+o(325)+c+": "+a+o(350),f[o(359)].length):(f.insertRule(p+" ."+h+o(340)+c+": "+a+o(350),f.cssRules[o(321)]),f[o(331)](p+" ."+h+" .rotor-painter { "+c+": "+a+o(350),f[o(359)][o(321)]))},clear:function(){var i=r,o=(i(314),{color:"#FFF",background:i(314)}),s=n,a=s[i(318)](i(352)),u=s.data(i(344)),h=s[i(318)](i(334)),c=i(328)+a,p=t("#"+e.prefix+i(354)).get(0)[i(306)];"rotor-group-heading"===u?p[i(331)](c+" .rotor-group-heading span { "+h+i(360),p[i(359)][i(321)]):"rotor-divider"===u?p[i(331)](c+" .rotor:after { "+h+i(360),p[i(359)][i(321)]):(p[i(331)](c+" ."+u+i(340)+h+i(360),p[i(359)][i(321)]),p[i(331)](c+" ."+u+i(341)+h+": "+o[h]+i(350),p[i(359)].length))}})})),t(i+"-timer-form-submit-bg")[u(322)](),t(i+h(316)).on(h(348),(function(r){var n=h,e=t(r[n(352)])[n(361)](),i=new Date(e)[n(349)]()/1e3;t(n(332))[n(313)](i),a(o,i)})),s=d,new(bootstrap[s(147)])(jQuery(s(154))),jQuery(document).on("click",s(157),(function(t){var r=s;t[r(158)]();var n=jQuery(this),e=n[r(161)]("target"),i=jQuery(e)[r(145)]();navigator[r(148)][r(160)](i),setTimeout((function(){var t=r;bootstrap.Popover[t(162)](n)[t(144)]()}),1e3)}))})),t(window).on(n(336),(function(){var t=n;Object[t(339)](s)[t(303)]((function(r){o[t(347)](r)})),o[t(358)](h(o.width()))}))}(jQuery)})();
     1(()=>{"use strict";function t(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"on";"on"===e?jQuery("."+t+"-loader").removeClass("d-none"):jQuery("."+t+"-loader").addClass("d-none")}function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var n=i;function i(t,e){var r=s();return(i=function(t,e){return r[t-=249]})(t,e)}function s(){var t=["opts","minutes","display","getElementsByClassName","rotor-top","7njGWct","1221VGmLJS","div","appendChild","120CGjxgw","rotorBottoms","_getTime","_hasCountdownEnded","daysremaining","now","hideDivision","assign","hours","54350hvBDUb","_parseOptions","rotors","call","className","rotorBottom","add","rotor-leaf","rotor-leaf-rear","figure","parentElement","headings","rotor-group ","rotor-top rotor-painter","ifEnded","getTime","rotorLeafFront","dark","theme","3668752uhTRAu","length","rotorTop","rotors-wrapper","flipdown__theme-","rotorGroupMapping",".rotor-group","rotor-leaf-front","_createRotor","120405UWKGKj",".rotor-group-days","Hours","find","days","start","bind","textContent","floor","_tick","toString","destroy","3004338gceJwA","_init","push"," instead.","seconds","Minutes","rotor-leaf-front rotor-painter","prevClockValuesAsString","hasOwnProperty","span","933291iVwumz","slice","rotorTops","clockValuesAsString","forEach","rotor-bottom",".rotor-group-hours","flipped","130802CxWANw","4rFvABO","rotor-bottom rotor-painter","clockStrings","data-before","clockValues","element","initialised","daysRemaining","css","version","createElement","rotor-leaf-rear rotor-painter","countdown",".rotor-group-minutes","flipdown","1526115vkkYrd","prototype","0.3.2","none","countdownEnded","epoch","_createRotorGroup","classList","rotor-group-heading","_setOptions","Days","number","hasEndedCallback","rotorLeafRear","_updateClockValues"];return(s=function(){return t})()}function a(t,e){var r=n;return(t=t[r(300)]())[r(282)]<e?a("0"+t,e):t}function h(t,e){var r=n;e[r(316)]((function(e){t[r(252)](e)}))}!function(t,e){for(var r=i,o=t();;)try{if(427816==-parseInt(r(321))/1*(parseInt(r(320))/2)+parseInt(r(336))/3+-parseInt(r(253))/4*(-parseInt(r(290))/5)+-parseInt(r(302))/6+-parseInt(r(249))/7*(-parseInt(r(281))/8)+parseInt(r(312))/9+parseInt(r(262))/10*(-parseInt(r(250))/11))break;o.push(o.shift())}catch(t){o.push(o.shift())}}(s);const l=function(t,i,s,l,c,u,d,f,p,g,m){function v(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n(335),i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r(this,v);var s=n;if(e(t)!==s(347))throw new Error("FlipDown: Constructor expected unix timestamp, got "+e(t)+s(305));"object"===e(o)&&(this[s(326)]=o[0],this[s(330)]=s(338),this.initialised=!1,this[s(258)]=this[s(255)](),this[s(341)]=t,this.countdownEnded=!1,this[s(348)]=null,this[s(264)]=[],this.rotorLeafFront=[],this[s(349)]=[],this[s(314)]=[],this[s(254)]=[],this[s(333)]=null,this[s(328)]=0,this.clockValues={},this[s(323)]={},this[s(315)]=[],this.prevClockValuesAsString=[],this[s(351)]=this[s(263)](i),this[s(286)]={0:s(294),1:s(261),2:s(352),3:s(306)},this[s(345)]())}var y,w;return y=v,w=[{key:t,value:function(t){var e=n;return this[e(327)]||this[e(303)](),this[e(333)]=setInterval(this[e(299)].bind(this),1e3),t(),this}},{key:i,value:function(t){var e=n;return this[e(348)]=function(){var r=e;t(),this[r(348)]=null,this[r(301)]()},this}},{key:s,value:function(){var t=n;return(new Date)[t(277)]()/1e3}},{key:"_hasCountdownEnded",value:function(){var t=n;return this.epoch-this[t(258)]<0?(this[t(340)]=!0,null!=this[t(348)]&&(this.hasEndedCallback(),this[t(348)]=null),!0):(this[t(340)]=!1,!1)}},{key:l,value:function(t){var e=n,r={headings:[e(346),e(292),e(307),"Seconds"],theme:t[e(310)](e(280))?t[e(280)]:e(279),hideDivision:!1};return Object[e(260)]({},r,t)}},{key:c,value:function(){var t=n;this[t(326)][t(343)][t(268)](t(285)+this[t(351)][t(280)])}},{key:u,value:function(){var t=n;this[t(327)]=!0,this._hasCountdownEnded()?this[t(257)]=0:this.daysremaining=Math[t(298)]((this[t(341)]-this[t(258)])/86400)[t(300)]()[t(282)];for(var e=this.daysremaining<=2?2:this.daysremaining,r=0;r<e+6;r++)this[t(264)].push(this[t(289)](0));var o=[];for(r=0;r<e;r++)o[t(304)](this.rotors[r]);this[t(326)][t(252)](this._createRotorGroup(o,0));var i=e;for(r=0;r<3;r++){for(var s=[],a=0;a<2;a++)s[t(304)](this[t(264)][i]),i++;this[t(326)].appendChild(this[t(342)](s,r+1))}return jQuery(this.element).find(t(287)).css(t(353),"flex"),this[t(278)]=Array[t(337)][t(313)].call(this[t(326)][t(354)](t(288))),this.rotorLeafRear=Array[t(337)].slice[t(265)](this[t(326)][t(354)](t(270))),this[t(283)]=Array[t(337)].slice[t(265)](this.element[t(354)](t(355))),this[t(267)]=Array[t(337)].slice[t(265)](this[t(326)][t(354)](t(317))),this._tick(),this[t(350)](!0),this}},{key:d,value:function(t,e){var r=n,o=document.createElement("div");o[r(266)]=r(274)+(this[r(286)][e]?"rotor-group-"+this[r(286)][e]:"");var i=document[r(331)](r(251));i[r(266)]=r(344),i.setAttribute(r(324),this[r(351)][r(273)][e]);var s=document[r(331)](r(311));s[r(297)]=this[r(351)].headings[e],i[r(252)](s),o.appendChild(i);var a=document[r(331)](r(251));return a[r(266)]=r(284),h(a,t),o[r(252)](a),o}},{key:f,value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=n,r=document[e(331)](e(251)),o=document[e(331)](e(251)),i=document[e(331)](e(271)),s=document[e(331)](e(271)),a=document.createElement(e(251)),l=document.createElement(e(251));return r[e(266)]="rotor",o[e(266)]=e(269),i[e(266)]=e(332),s[e(266)]=e(308),a.className=e(275),l[e(266)]=e(322),i[e(297)]=t,a[e(297)]=t,l[e(297)]=t,h(r,[o,a,l]),h(o,[i,s]),r}},{key:p,value:function(){var t=n;this[t(258)]=this[t(255)]();var e=this[t(341)]-this[t(258)]<=0?0:this[t(341)]-this[t(258)];this.clockValues.d=Math.floor(e/86400),e-=86400*this[t(325)].d,0===this.clockValues.d&&this.opts[t(259)]&&jQuery(this[t(326)])[t(293)](t(291))[t(329)](t(353),t(339)),this[t(325)].h=Math[t(298)](e/3600),e-=3600*this[t(325)].h,0===this[t(325)].h&&0===this[t(325)].d&&this[t(351)][t(259)]&&jQuery(this[t(326)])[t(293)](t(318))[t(329)](t(353),t(339)),this[t(325)].m=Math[t(298)](e/60),e-=60*this[t(325)].m,0===this[t(325)].m&&0===this.clockValues.h&&0===this[t(325)].d&&this[t(351)][t(259)]&&jQuery(this[t(326)])[t(293)](t(334)).css("display",t(339)),this[t(325)].s=Math.floor(e),this[t(350)](),this[t(256)]()}},{key:g,value:function(){clearInterval(this[n(333)])}},{key:m,value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=n;function o(){var t=this,e=r;this[e(283)][e(316)]((function(r,o){r[e(297)]!=t.clockValuesAsString[o]&&(r.textContent=t.clockValuesAsString[o])}))}function i(){var t=this,e=r;this[e(349)].forEach((function(r,o){var n=e;if(r[n(297)]!=t[n(315)][o]){r[n(297)]=t[n(315)][o],r[n(272)].classList[n(268)](n(319));var i=setInterval(function(){var t=n;r[t(272)][t(343)].remove(t(319)),clearInterval(i)}[n(296)](t),500)}}))}this[r(323)].d=a(this.clockValues.d,2),this[r(323)].h=a(this[r(325)].h,2),this[r(323)].m=a(this[r(325)].m,2),this[r(323)].s=a(this.clockValues.s,2),this.clockValuesAsString=(this[r(323)].d+this[r(323)].h+this[r(323)].m+this.clockStrings.s).split(""),this.rotorLeafFront.forEach((function(e,o){var n=r;e[n(297)]=t[n(309)][o]})),this[r(267)][r(316)]((function(e,o){e[r(297)]=t.prevClockValuesAsString[o]})),e?(o.call(this),i[r(265)](this)):(setTimeout(o[r(296)](this),500),setTimeout(i.bind(this),500)),this[r(309)]=this.clockValuesAsString}}],w&&o(y.prototype,w),Object.defineProperty(y,"prototype",{writable:!1}),v}(n(295),n(276),n(255),n(263),n(345),n(303),n(342),n(289),n(299),n(301),n(350));function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}!function(e){var r=gpls_wpsctr_simple_countdown_timer_localized_data,o="."+r.classes_prefix,n=e("."+r.classes_prefix+"-flipdown"),i={200:"flipdown-size-xxs",400:"flipdown-size-xs",650:"flipdown-size-sm"};function s(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=o||e.data("datetime"),i={headings:Object.values(r.labels.flipDownHeading)};e.empty(),t(r.classes_prefix,"on");var s=new l(n,e,i).start((function(){t(r.classes_prefix,"off"),a(e),e.show()})).ifEnded((function(){e.slideUp(400,(function(){e.empty()}))}));return e.addClass("started"),s}function a(t){t.addClass(h(t.width()))}function h(t){var e,r=Object.keys(i).filter((function(e){return e>t}));if(r.length){var o=Math.min.apply(Math,function(t){if(Array.isArray(t))return c(t)}(e=r.filter((function(t){return parseInt(t)})))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());return i[o.toString()]}return""}function u(t,n){var i=e(".countdown-timer-preview-container"),s=e(o+"-quick-countdown-shortcode"),a=e("#"+r.prefix+"-admin-flipdown-css-css").get(0).sheet;if(i.find(o+"-flipper").removeClass((function(t,e){return(e.match(/\bflipdown-size-\S+/g)||[]).join(" ")})),"segment_width"===t)i.find(".rotor").css({width:n+"px",minWidth:"auto",maxWidth:"auto"}),i.find(".rotor-group").css({width:"auto"}),s.find(".shortcode-segment-width").text(n);else if("segment_height"===t){i.find(".rotor, .rotor-leaf").css({height:n+"px"});var h=Math.floor(n/2);i.find(".rotor-leaf-rear, .rotor-leaf-front, .rotor-top, .rotor-bottom").css({height:h+"px"}),a.insertRule(".countdown-timer-preview-container .rotor:after { height: "+h+"px !important; }",a.cssRules.length),i.find(".rotor-leaf-front, .rotor-top").css({lineHeight:n+"px"}),s.find(".shortcode-segment-height").text(n)}else"segment_fontsize"===t?(i.find(".rotor").css({fontSize:n+"px"}),s.find(".shortcode-segment-fontsize").text(n)):"titles_fontsize"===t&&(i.find(".rotor-group-heading").css({fontSize:n+"px"}),s.find(".shortcode-titles-fontsize").text(n))}e((function(t){s(n),e(o+"-color-input").each((function(){var t=e(this);t.wpColorPicker({change:function(t,o){var n=e(t.target),i=n.val(),s=n.data("target"),a=n.data("handle"),h=n.data("css"),l=".rotor-group-"+s,c=e("#"+r.prefix+"-admin-flipdown-css-css").get(0).sheet;"rotor-group-heading"===a?c.insertRule(l+" .rotor-group-heading span { "+h+": "+i+" !important; }",c.cssRules.length):"rotor-divider"===a?c.insertRule(l+" .rotor:after { "+h+": "+i+" !important; }",c.cssRules.length):(c.insertRule(l+" ."+a+" { "+h+": "+i+" !important; }",c.cssRules.length),c.insertRule(l+" ."+a+" .rotor-painter { "+h+": "+i+" !important; }",c.cssRules.length))},clear:function(){var o=t,n=o.data("target"),i=o.data("handle"),s=o.data("css"),a=".rotor-group-"+n,h=e("#"+r.prefix+"-admin-flipdown-css-css").get(0).sheet;"rotor-group-heading"===i?h.insertRule(a+" .rotor-group-heading span { "+s+": #000 !important; }",h.cssRules.length):"rotor-divider"===i?h.insertRule(a+" .rotor:after { "+s+": #000 !important; }",h.cssRules.length):(h.insertRule(a+" ."+i+" { "+s+": #000 !important; }",h.cssRules.length),h.insertRule(a+" ."+i+" .rotor-painter { "+s+": "+{color:"#FFF",background:"#000"}[s]+" !important; }",h.cssRules.length))}})})),e(o+"-timer-form-submit-bg").wpColorPicker(),e(o+"-segment-width").on("change",(function(t){u("segment_width",e(o+"-segment-width").val())})),e(o+"-segment-height").on("change",(function(t){u("segment_height",e(o+"-segment-height").val())})),e(o+"-segment-fontsize").on("change",(function(t){u("segment_fontsize",e(o+"-segment-fontsize").val())})),e(o+"-titles-fontsize").on("change",(function(t){u("titles_fontsize",e(o+"-titles-fontsize").val())})),e(o+"-arrival-time").on("change",(function(t){var r=e(t.target).val(),o=new Date(r).getTime()/1e3;e(".countdown-timer-shortcode-container .shortcode-interval-time").text(o),s(n,o)})),new bootstrap.Popover(jQuery('[data-bs-toggle="popover"]')),jQuery(document).on("click",".gpls-general-clipboard-icon-btn",(function(t){t.preventDefault();var e=jQuery(this),r=e.data("target"),o=jQuery(r).text();navigator.clipboard.writeText(o),setTimeout((function(){bootstrap.Popover.getOrCreateInstance(e).hide()}),1e3)}))})),e(window).on("resize",(function(){Object.values(i).forEach((function(t){n.removeClass(t)})),n.addClass(h(n.width()))}))}(jQuery)})();
  • simple-countdown/trunk/assets/dist/js/admin/countdown-timer-cpt.min.js

    r2852583 r3142110  
    1 (()=>{"use strict";function t(r,n){var i=e();return(t=function(t,r){return i[t-=498]})(r,n)}function r(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"on",n=t;"on"===e?jQuery("."+r+n(502)).removeClass(n(509)):jQuery("."+r+n(502))[n(498)]("d-none")}function e(){var t=["20NtOXsW","-loader","149817asJFiu","1021765KgXnGM","4720919oIujVl","4536760ZAWMYH","6bRVWIw","440437XAVXui","d-none","addClass","5079861xAZbXZ","582218QaDPcT"];return(e=function(){return t})()}function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function i(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function s(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}!function(r,e){for(var n=t,i=r();;)try{if(353121==-parseInt(n(508))/1+parseInt(n(500))/2+parseInt(n(503))/3*(parseInt(n(501))/4)+-parseInt(n(504))/5*(parseInt(n(507))/6)+-parseInt(n(505))/7+parseInt(n(506))/8+parseInt(n(499))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(e),function(t,r){for(var e=h,n=t();;)try{if(239484==parseInt(e(468))/1+parseInt(e(442))/2+parseInt(e(459))/3*(-parseInt(e(430))/4)+-parseInt(e(390))/5*(parseInt(e(385))/6)+-parseInt(e(420))/7+parseInt(e(399))/8+parseInt(e(426))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(f);var o=a;function a(t,r){var e=u();return(a=function(t,r){return e[t-=249]})(t,r)}function u(){var t=h,r=[t(378),t(398),"display",t(454),t(447),"7njGWct",t(467),t(435),"appendChild",t(383),t(424),t(472),t(444),"daysremaining",t(402),"hideDivision",t(410),"hours",t(478),t(448),t(389),"call",t(452),t(427),"add","rotor-leaf",t(423),t(406),t(394),t(417),t(375),t(453),t(373),"getTime",t(474),"dark",t(463),t(380),t(411),t(403),t(421),t(413),t(445),t(422),"rotor-leaf-front",t(451),t(392),t(462),t(425),t(415),t(400),"start",t(456),t(431),t(439),t(446),t(455),t(436),t(429),t(450),"push",t(412),t(405),t(396),t(457),t(395),"hasOwnProperty",t(465),"933291iVwumz",t(377),"rotorTops",t(477),t(379),t(416),t(387),t(473),"130802CxWANw",t(437),"rotor-bottom rotor-painter",t(461),t(471),t(414),t(384),"initialised",t(408),t(397),t(438),t(401),t(381),t(433),t(476),t(475),t(449),t(388),t(443),t(470),"countdownEnded",t(393),t(382),t(418),"rotor-group-heading",t(464),"Days","number",t(409),t(441),t(434)];return(u=function(){return r})()}function c(t,r){var e=o;return(t=t[e(300)]())[e(282)]<r?c("0"+t,r):t}function h(t,r){var e=f();return(h=function(t,r){return e[t-=373]})(t,r)}function l(t,r){var e=o;r[e(316)]((function(r){t[e(252)](r)}))}!function(t,r){for(var e=h,n=a,i=t();;)try{if(427816==-parseInt(n(321))/1*(parseInt(n(320))/2)+parseInt(n(336))/3+-parseInt(n(253))/4*(-parseInt(n(290))/5)+-parseInt(n(302))/6+-parseInt(n(249))/7*(-parseInt(n(281))/8)+parseInt(n(312))/9+parseInt(n(262))/10*(-parseInt(n(250))/11))break;i[e(407)](i[e(386)]())}catch(t){i.push(i[e(386)]())}}(u);const p=function(t,r,e,a,u,p,f,d,v,m,g){function I(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o(335),e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i(this,I);var s=h,a=o;if(n(t)!==a(347))throw new Error(s(391)+n(t)+a(305));n(r)===s(374)&&(this[a(326)]=r[0],this[a(330)]=a(338),this[s(469)]=!1,this[a(258)]=this[a(255)](),this[a(341)]=t,this[s(404)]=!1,this[a(348)]=null,this[a(264)]=[],this[s(474)]=[],this[a(349)]=[],this[a(314)]=[],this[a(254)]=[],this[a(333)]=null,this[a(328)]=0,this.clockValues={},this[a(323)]={},this[a(315)]=[],this[s(395)]=[],this[a(351)]=this[a(263)](e),this[a(286)]={0:a(294),1:a(261),2:a(352),3:a(306)},this[a(345)]())}var y,b;return y=I,b=[{key:t,value:function(t){var r=o;return this[r(327)]||this[r(303)](),this[r(333)]=setInterval(this[r(299)].bind(this),1e3),t(),this}},{key:r,value:function(t){var r=o;return this[r(348)]=function(){var e=r;t(),this[e(348)]=null,this[e(301)]()},this}},{key:e,value:function(){var t=o;return(new Date)[t(277)]()/1e3}},{key:"_hasCountdownEnded",value:function(){var t=h,r=o;return this[t(393)]-this[r(258)]<0?(this[r(340)]=!0,null!=this[r(348)]&&(this[t(409)](),this[r(348)]=null),!0):(this[r(340)]=!1,!1)}},{key:a,value:function(t){var r=h,e=o,n={headings:[e(346),e(292),e(307),r(428)],theme:t[e(310)](e(280))?t[e(280)]:e(279),hideDivision:!1};return Object[e(260)]({},n,t)}},{key:u,value:function(){var t=o;this[t(326)][t(343)][t(268)](t(285)+this[t(351)][t(280)])}},{key:p,value:function(){var t=h,r=o;this[r(327)]=!0,this[t(444)]()?this[r(257)]=0:this[t(466)]=Math[r(298)]((this[r(341)]-this[r(258)])/86400)[r(300)]()[r(282)];for(var e=this[t(466)]<=2?2:this[t(466)],n=0;n<e+6;n++)this[r(264)][t(407)](this[r(289)](0));var i=[];for(n=0;n<e;n++)i[r(304)](this[t(389)][n]);this[r(326)][r(252)](this._createRotorGroup(i,0));var s=e;for(n=0;n<3;n++){for(var a=[],u=0;u<2;u++)a[r(304)](this[r(264)][s]),s++;this[r(326)][t(419)](this[r(342)](a,n+1))}return jQuery(this[t(384)]).find(r(287))[t(397)](r(353),"flex"),this[r(278)]=Array[r(337)][r(313)][t(458)](this[r(326)][r(354)](r(288))),this.rotorLeafRear=Array[r(337)][t(377)][r(265)](this[r(326)][r(354)](r(270))),this[r(283)]=Array[r(337)][t(377)][r(265)](this[t(384)][r(354)](r(355))),this[r(267)]=Array[r(337)].slice[r(265)](this[r(326)][r(354)](r(317))),this[t(446)](),this[r(350)](!0),this}},{key:f,value:function(t,r){var e=h,n=o,i=document.createElement("div");i[n(266)]=n(274)+(this[n(286)][r]?e(440)+this[n(286)][r]:"");var s=document[n(331)](n(251));s[n(266)]=n(344),s[e(479)](n(324),this[n(351)][n(273)][r]);var a=document[n(331)](n(311));a[n(297)]=this[n(351)][e(417)][r],s[n(252)](a),i[e(419)](s);var u=document[n(331)](n(251));return u[n(266)]=n(284),l(u,t),i[n(252)](u),i}},{key:d,value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=h,e=o,n=document[e(331)](e(251)),i=document[e(331)](e(251)),s=document[e(331)](e(271)),a=document[e(331)](e(271)),u=document[r(401)](e(251)),c=document[r(401)](e(251));return n[e(266)]=r(376),i[e(266)]=e(269),s[e(266)]=e(332),a[e(266)]=e(308),u[r(452)]=e(275),c[e(266)]=e(322),s[e(297)]=t,u[e(297)]=t,c[e(297)]=t,l(n,[i,u,c]),l(i,[s,a]),n}},{key:v,value:function(){var t=h,r=o;this[r(258)]=this[r(255)]();var e=this[r(341)]-this[r(258)]<=0?0:this[r(341)]-this[r(258)];this[t(414)].d=Math[t(439)](e/86400),e-=86400*this[r(325)].d,0===this[t(414)].d&&this[t(378)][r(259)]&&jQuery(this[r(326)])[r(293)](r(291))[r(329)](r(353),r(339)),this[r(325)].h=Math[r(298)](e/3600),e-=3600*this[r(325)].h,0===this[r(325)].h&&0===this[r(325)].d&&this[r(351)][r(259)]&&jQuery(this[r(326)])[r(293)](r(318))[r(329)](r(353),r(339)),this[r(325)].m=Math[r(298)](e/60),e-=60*this[r(325)].m,0===this[r(325)].m&&0===this[t(414)].h&&0===this[r(325)].d&&this[r(351)][r(259)]&&jQuery(this[r(326)])[r(293)](r(334))[t(397)](t(432),r(339)),this[r(325)].s=Math[t(439)](e),this[r(350)](),this[r(256)]()}},{key:m,value:function(){clearInterval(this[o(333)])}},{key:g,value:function(){var t=this,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=h,n=o;function i(){var t=this,r=n;this[r(283)][r(316)]((function(e,n){var i=h;e[r(297)]!=t[i(477)][n]&&(e.textContent=t[i(477)][n])}))}function s(){var t=this,r=e,i=n;this[i(349)][r(379)]((function(e,n){var s=r,o=i;if(e[o(297)]!=t[o(315)][n]){e[o(297)]=t[o(315)][n],e[o(272)][s(418)][o(268)](o(319));var a=setInterval(function(){var t=o;e[t(272)][t(343)].remove(t(319)),clearInterval(a)}[o(296)](t),500)}}))}this[n(323)].d=c(this[e(414)].d,2),this[n(323)].h=c(this[n(325)].h,2),this[n(323)].m=c(this[n(325)].m,2),this[n(323)].s=c(this[e(414)].s,2),this[e(477)]=(this[n(323)].d+this[n(323)].h+this[n(323)].m+this[e(461)].s)[e(460)](""),this[e(474)][e(379)]((function(r,e){var i=n;r[i(297)]=t[i(309)][e]})),this[n(267)][n(316)]((function(r,i){var s=e;r[n(297)]=t[s(395)][i]})),r?(i[e(458)](this),s[n(265)](this)):(setTimeout(i[n(296)](this),500),setTimeout(s.bind(this),500)),this[n(309)]=this.clockValuesAsString}}],b&&s(y.prototype,b),Object.defineProperty(y,"prototype",{writable:!1}),I}(o(295),o(276),o(255),o(263),o(345),o(303),o(342),o(289),o(299),o(301),o(350));function f(){var t=["rotor-top","_parseOptions","1526115vkkYrd","_init","_createRotor","className","rotor-top rotor-painter","getElementsByClassName","toString","bind","rotor-leaf-front rotor-painter","call","75YoTjXN","split","clockStrings",".rotor-group-days","theme","_setOptions","span","daysremaining","1221VGmLJS","201089XZArRA","initialised","none","data-before","_getTime","flipped","rotorLeafFront","flipdown",".rotor-group-minutes","clockValuesAsString","54350hvBDUb","setAttribute","ifEnded","object","rotor-group ","rotor","slice","opts","forEach","3668752uhTRAu","rotor-leaf-rear rotor-painter","_createRotorGroup","120CGjxgw","element","6ChjvsK","shift",".rotor-group-hours","prototype","rotors","1372350EIRvZD","FlipDown: Constructor expected unix timestamp, got ","120405UWKGKj","epoch","parentElement","prevClockValuesAsString","Minutes","css","minutes","2944576NJgKeQ","days","createElement","now","rotorTop","countdownEnded","seconds","figure","push","daysRemaining","hasEndedCallback","assign","length"," instead.","flipdown__theme-","clockValues","find","rotor-bottom","headings","classList","appendChild","1825348BsHsrc","rotors-wrapper",".rotor-group","rotor-leaf-rear","rotorBottoms","Hours","1212372GFdwRp","rotorBottom","Seconds","3004338gceJwA","40580pYebDd","textContent","display","countdown","_updateClockValues","div","destroy","4rFvABO","version","floor","rotor-group-","rotorLeafRear","648948zeBIKz","0.3.2","_hasCountdownEnded","rotorGroupMapping","_tick"];return(f=function(){return t})()}function d(t,r,e){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1e3,o=v,a=jQuery[o(138)](r);n?e[o(141)](a):e[o(129)](a),i&&setTimeout((function(){var r=o;e[r(139)]("."+t+r(143))[r(140)]()}),s)}function v(t,r){var e=m();return(v=function(t,r){return e[t-=126]})(t,r)}function m(){var t=["append","16299aQmykh","-notice","557921ASPODC","17745gzZUmS","1362mCzAWX","2QotDkb","prepend","4036500xQpdqu","884157AZowcJ","1019029JYdlnh","328vkNuEK","7258118SweYWL","10uxLwQk","8mFdTot","12DgrSDY","parseHTML","find","remove"];return(m=function(){return t})()}function g(t,r){var e=I();return(g=function(t,r){return e[t-=144]})(t,r)}function I(){var t=["15tjsIOP",".gpls-general-clipboard-icon-btn","preventDefault","833856XdmWjm","writeText","data","getOrCreateInstance","hide","text","659125fvpRBj","Popover","clipboard","2893177BamMAu","3282402njzxoe","1137552VPuNEc","7432ZVeOEd","1690692XOXjUb",'[data-bs-toggle="popover"]',"7893MgYwwz"];return(I=function(){return t})()}function y(t,r){var e=_();return(y=function(t,r){return e[t-=271]})(t,r)}var b,w,k,j,C;function _(){var t=["values","data","-timer-subscriptions .email-item","nonce","map","sheet","trigger","ajaxUrl","addClass","insertRule","trim","show",".subscribe-form-emails","d-none","attr","text",": #000 !important; }","get","labels","preventDefault",".tab-section-interval","#000","-timer-interval, #timer_timezone","140bZUCsW","removeClass","-flipdown","998094wwzNie","click","712440hsxYJB","disabled","custom","clearListConfirm","-timer-interval-reset-btn","-export-emails-list","prefix","29598118uhSRds","timerTimerStampAction","rotor-divider","data:text/csv;charset=utf-8,\ufeff","POST","58668xnZIWS","12PTJxQj","val","-color-input","handle","start","4008ucfqMS","9072NdDmWE","started"," { ",".rotor-group-","change","clearSubscriptionsAction","1529381hHizhC","flipDownHeading","find","empty","classes_general","css"," .rotor:after { ","timestamp"," .rotor-group-heading span { ","cssRules","not","remove","643139kvcqfG"," !important; }","-countdown-styles-css","message","each","wpColorPicker","-timer-interval","result","ifEnded","length","classes_prefix","#FFF","target",".emails-list-action",".hidden","3asiviR","join","rotor-group-heading","status","success"," .rotor-painter { ","#timer_timezone","post_id"];return(_=function(){return t})()}!function(t,r){for(var e=v,n=t();;)try{if(819790==parseInt(e(131))/1*(-parseInt(e(128))/2)+parseInt(e(142))/3*(parseInt(e(133))/4)+-parseInt(e(126))/5*(-parseInt(e(127))/6)+parseInt(e(134))/7+parseInt(e(136))/8*(-parseInt(e(130))/9)+-parseInt(e(135))/10*(parseInt(e(132))/11)+-parseInt(e(137))/12*(parseInt(e(144))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m),function(t,r){for(var e=g,n=t();;)try{if(882838==parseInt(e(146))/1+parseInt(e(150))/2+-parseInt(e(151))/3+parseInt(e(159))/4+parseInt(e(156))/5*(-parseInt(e(153))/6)+parseInt(e(149))/7+-parseInt(e(152))/8*(parseInt(e(155))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I),function(t,r){for(var e=y,n=t();;)try{if(822976==-parseInt(e(299))/1+-parseInt(e(272))/2*(parseInt(e(326))/3)+parseInt(e(286))/4*(parseInt(e(357))/5)+parseInt(e(287))/6*(parseInt(e(311))/7)+-parseInt(e(292))/8*(parseInt(e(293))/9)+parseInt(e(274))/10+parseInt(e(281))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_),b=jQuery,w=y,k=gpls_wpsctr_simple_countdown_timer_localized_data,j="."+k[w(321)],C=b(j+w(271)),b((function(t){var e,n,i,s,o,a,u;b(j+(u=w)(289))[u(315)]((function(){var t=u,r=b(this);r[t(316)]({change:function(r,e){var n=t,i=b(r[n(323)]),s=i[n(288)](),o=i[n(335)](n(323)),a=i[n(335)](n(290)),u=i[n(335)]("css"),c=".rotor-group-"+o,h=b("#"+k[n(280)]+"-countdown-styles-css")[n(351)](0)[n(339)];n(328)===a?h[n(343)](c+n(307)+u+": "+s+" !important; }",h.cssRules.length):"rotor-divider"===a?h[n(343)](c+n(305)+u+": "+s+n(312),h[n(308)].length):(h[n(343)](c+" ."+a+n(295)+u+": "+s+n(312),h[n(308)][n(320)]),h.insertRule(c+" ."+a+n(331)+u+": "+s+n(312),h.cssRules[n(320)]))},clear:function(){var e=t,n=(e(355),{color:e(322),background:e(355)}),i=r,s=i.data("target"),o=i.data(e(290)),a=i.data(e(304)),u=e(296)+s,c=b("#"+k[e(280)]+e(313))[e(351)](0)[e(339)];e(328)===o?c[e(343)](u+e(307)+a+e(350),c.cssRules[e(320)]):e(283)===o?c[e(343)](u+e(305)+a+e(350),c.cssRules.length):(c[e(343)](u+" ."+o+" { "+a+e(350),c.cssRules[e(320)]),c[e(343)](u+" ."+o+e(331)+a+": "+n[a]+e(312),c.cssRules.length))}})})),b(j+"-timer-form-submit-bg")[u(316)](),s=w,o=C.data("datetime"),a={headings:Object.values(k[s(352)][s(300)])},new p(o,C,a)[s(291)]((function(){}))[s(319)]((function(){})),b(j+(i=w)(356)).on(i(297),(function(t,e){var n,s,o,a=i,u=b(j+a(317)),c=b(a(332));n=u.val(),s=c[a(288)](),r(k[(o=w)(321)],"on"),b.ajax({method:o(285),url:k[o(341)],data:{action:k[o(282)],nonce:k[o(337)],arrivalTime:n,timezone:s},success:function(t){var r,e,n,i=o;null!=t&&null!==(r=t[i(335)])&&void 0!==r&&r[i(329)]&&"success"===t[i(335)][i(329)]&&null!=t&&null!==(e=t[i(335)])&&void 0!==e&&e[i(318)]&&function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=w,n=r||t[e(335)]("datetime"),i={headings:Object[e(334)](k[e(352)][e(300)])};t[e(302)](),new p(n,t,i).start((function(){t[e(345)]()})).ifEnded((function(){})),t.addClass(e(294))}(C,t.data.result[i(306)]),(null==t||null===(n=t[i(335)])||void 0===n?void 0:n[i(314)])&&d(k.classes_general,t[i(335)][i(314)],b(i(354)),!0,!0,3e3)},error:function(t){},complete:function(){r(k.classes_prefix,"off")}}),!e&&b(j+a(278))[a(358)]("d-none")})),b(j+i(278)).on(i(273),(function(t){var r=i;t[r(353)]();var e=b(t[r(323)]);e[r(342)](r(347));var n=e[r(335)](r(288));b(j+r(317))[r(288)](n)[r(340)]("change",[r(276)])})),n=w,b(document).on(n(273),j+n(279),(function(t){var r=n,e=b(t[r(323)]),i=jQuery("#"+k[r(321)]+r(336))[r(309)](r(325))[r(301)](".email-name")[r(338)]((function(){var t=r;return b[t(344)](b(this)[t(349)]())}))[r(351)]()[r(327)]("\r\n");return i+="\r\n",i=r(284)+encodeURIComponent(i),e[r(348)]("href",i),!0})),b(document).on(n(273),j+"-clear-emails-list",(function(t){var r=n;t[r(353)]();var e=b(t[r(323)]);if(confirm(k[r(352)][r(277)])){var i=e[r(335)](r(333));b(r(324))[r(348)](r(275),!0),b.ajax({method:"POST",url:k[r(341)],data:{action:k[r(298)],nonce:k.nonce,post_id:i},success:function(t){var e,n,i=r;null!=t&&null!==(e=t[i(335)])&&void 0!==e&&e[i(329)]&&t[i(335)][i(329)]===i(330)&&(jQuery("#"+k[i(321)]+"-timer-subscriptions .emails-list")[i(310)](),jQuery(i(324))[i(310)]()),(null==t||null===(n=t[i(335)])||void 0===n?void 0:n.message)&&d(k[i(303)],t.data.message,b(i(346)),!0,!0,3e3)},error:function(t){},complete:function(){var t=r;b(".emails-list-action")[t(348)](t(275),!1)}})}})),e=g,new(bootstrap[e(147)])(jQuery(e(154))),jQuery(document).on("click",e(157),(function(t){var r=e;t[r(158)]();var n=jQuery(this),i=n[r(161)]("target"),s=jQuery(i)[r(145)]();navigator[r(148)][r(160)](s),setTimeout((function(){var t=r;bootstrap.Popover[t(162)](n)[t(144)]()}),1e3)}))}))})();
     1(()=>{"use strict";function t(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"on";"on"===e?jQuery("."+t+"-loader").removeClass("d-none"):jQuery("."+t+"-loader").addClass("d-none")}function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=i;function i(t,e){var n=s();return(i=function(t,e){return n[t-=249]})(t,e)}function s(){var t=["opts","minutes","display","getElementsByClassName","rotor-top","7njGWct","1221VGmLJS","div","appendChild","120CGjxgw","rotorBottoms","_getTime","_hasCountdownEnded","daysremaining","now","hideDivision","assign","hours","54350hvBDUb","_parseOptions","rotors","call","className","rotorBottom","add","rotor-leaf","rotor-leaf-rear","figure","parentElement","headings","rotor-group ","rotor-top rotor-painter","ifEnded","getTime","rotorLeafFront","dark","theme","3668752uhTRAu","length","rotorTop","rotors-wrapper","flipdown__theme-","rotorGroupMapping",".rotor-group","rotor-leaf-front","_createRotor","120405UWKGKj",".rotor-group-days","Hours","find","days","start","bind","textContent","floor","_tick","toString","destroy","3004338gceJwA","_init","push"," instead.","seconds","Minutes","rotor-leaf-front rotor-painter","prevClockValuesAsString","hasOwnProperty","span","933291iVwumz","slice","rotorTops","clockValuesAsString","forEach","rotor-bottom",".rotor-group-hours","flipped","130802CxWANw","4rFvABO","rotor-bottom rotor-painter","clockStrings","data-before","clockValues","element","initialised","daysRemaining","css","version","createElement","rotor-leaf-rear rotor-painter","countdown",".rotor-group-minutes","flipdown","1526115vkkYrd","prototype","0.3.2","none","countdownEnded","epoch","_createRotorGroup","classList","rotor-group-heading","_setOptions","Days","number","hasEndedCallback","rotorLeafRear","_updateClockValues"];return(s=function(){return t})()}function a(t,e){var n=o;return(t=t[n(300)]())[n(282)]<e?a("0"+t,e):t}function l(t,e){var n=o;e[n(316)]((function(e){t[n(252)](e)}))}!function(t,e){for(var n=i,r=t();;)try{if(427816==-parseInt(n(321))/1*(parseInt(n(320))/2)+parseInt(n(336))/3+-parseInt(n(253))/4*(-parseInt(n(290))/5)+-parseInt(n(302))/6+-parseInt(n(249))/7*(-parseInt(n(281))/8)+parseInt(n(312))/9+parseInt(n(262))/10*(-parseInt(n(250))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);const c=function(t,i,s,c,u,h,d,f,p,m,g){function v(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o(335),i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n(this,v);var s=o;if(e(t)!==s(347))throw new Error("FlipDown: Constructor expected unix timestamp, got "+e(t)+s(305));"object"===e(r)&&(this[s(326)]=r[0],this[s(330)]=s(338),this.initialised=!1,this[s(258)]=this[s(255)](),this[s(341)]=t,this.countdownEnded=!1,this[s(348)]=null,this[s(264)]=[],this.rotorLeafFront=[],this[s(349)]=[],this[s(314)]=[],this[s(254)]=[],this[s(333)]=null,this[s(328)]=0,this.clockValues={},this[s(323)]={},this[s(315)]=[],this.prevClockValuesAsString=[],this[s(351)]=this[s(263)](i),this[s(286)]={0:s(294),1:s(261),2:s(352),3:s(306)},this[s(345)]())}var y,b;return y=v,b=[{key:t,value:function(t){var e=o;return this[e(327)]||this[e(303)](),this[e(333)]=setInterval(this[e(299)].bind(this),1e3),t(),this}},{key:i,value:function(t){var e=o;return this[e(348)]=function(){var n=e;t(),this[n(348)]=null,this[n(301)]()},this}},{key:s,value:function(){var t=o;return(new Date)[t(277)]()/1e3}},{key:"_hasCountdownEnded",value:function(){var t=o;return this.epoch-this[t(258)]<0?(this[t(340)]=!0,null!=this[t(348)]&&(this.hasEndedCallback(),this[t(348)]=null),!0):(this[t(340)]=!1,!1)}},{key:c,value:function(t){var e=o,n={headings:[e(346),e(292),e(307),"Seconds"],theme:t[e(310)](e(280))?t[e(280)]:e(279),hideDivision:!1};return Object[e(260)]({},n,t)}},{key:u,value:function(){var t=o;this[t(326)][t(343)][t(268)](t(285)+this[t(351)][t(280)])}},{key:h,value:function(){var t=o;this[t(327)]=!0,this._hasCountdownEnded()?this[t(257)]=0:this.daysremaining=Math[t(298)]((this[t(341)]-this[t(258)])/86400)[t(300)]()[t(282)];for(var e=this.daysremaining<=2?2:this.daysremaining,n=0;n<e+6;n++)this[t(264)].push(this[t(289)](0));var r=[];for(n=0;n<e;n++)r[t(304)](this.rotors[n]);this[t(326)][t(252)](this._createRotorGroup(r,0));var i=e;for(n=0;n<3;n++){for(var s=[],a=0;a<2;a++)s[t(304)](this[t(264)][i]),i++;this[t(326)].appendChild(this[t(342)](s,n+1))}return jQuery(this.element).find(t(287)).css(t(353),"flex"),this[t(278)]=Array[t(337)][t(313)].call(this[t(326)][t(354)](t(288))),this.rotorLeafRear=Array[t(337)].slice[t(265)](this[t(326)][t(354)](t(270))),this[t(283)]=Array[t(337)].slice[t(265)](this.element[t(354)](t(355))),this[t(267)]=Array[t(337)].slice[t(265)](this[t(326)][t(354)](t(317))),this._tick(),this[t(350)](!0),this}},{key:d,value:function(t,e){var n=o,r=document.createElement("div");r[n(266)]=n(274)+(this[n(286)][e]?"rotor-group-"+this[n(286)][e]:"");var i=document[n(331)](n(251));i[n(266)]=n(344),i.setAttribute(n(324),this[n(351)][n(273)][e]);var s=document[n(331)](n(311));s[n(297)]=this[n(351)].headings[e],i[n(252)](s),r.appendChild(i);var a=document[n(331)](n(251));return a[n(266)]=n(284),l(a,t),r[n(252)](a),r}},{key:f,value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=o,n=document[e(331)](e(251)),r=document[e(331)](e(251)),i=document[e(331)](e(271)),s=document[e(331)](e(271)),a=document.createElement(e(251)),c=document.createElement(e(251));return n[e(266)]="rotor",r[e(266)]=e(269),i[e(266)]=e(332),s[e(266)]=e(308),a.className=e(275),c[e(266)]=e(322),i[e(297)]=t,a[e(297)]=t,c[e(297)]=t,l(n,[r,a,c]),l(r,[i,s]),n}},{key:p,value:function(){var t=o;this[t(258)]=this[t(255)]();var e=this[t(341)]-this[t(258)]<=0?0:this[t(341)]-this[t(258)];this.clockValues.d=Math.floor(e/86400),e-=86400*this[t(325)].d,0===this.clockValues.d&&this.opts[t(259)]&&jQuery(this[t(326)])[t(293)](t(291))[t(329)](t(353),t(339)),this[t(325)].h=Math[t(298)](e/3600),e-=3600*this[t(325)].h,0===this[t(325)].h&&0===this[t(325)].d&&this[t(351)][t(259)]&&jQuery(this[t(326)])[t(293)](t(318))[t(329)](t(353),t(339)),this[t(325)].m=Math[t(298)](e/60),e-=60*this[t(325)].m,0===this[t(325)].m&&0===this.clockValues.h&&0===this[t(325)].d&&this[t(351)][t(259)]&&jQuery(this[t(326)])[t(293)](t(334)).css("display",t(339)),this[t(325)].s=Math.floor(e),this[t(350)](),this[t(256)]()}},{key:m,value:function(){clearInterval(this[o(333)])}},{key:g,value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=o;function r(){var t=this,e=n;this[e(283)][e(316)]((function(n,r){n[e(297)]!=t.clockValuesAsString[r]&&(n.textContent=t.clockValuesAsString[r])}))}function i(){var t=this,e=n;this[e(349)].forEach((function(n,r){var o=e;if(n[o(297)]!=t[o(315)][r]){n[o(297)]=t[o(315)][r],n[o(272)].classList[o(268)](o(319));var i=setInterval(function(){var t=o;n[t(272)][t(343)].remove(t(319)),clearInterval(i)}[o(296)](t),500)}}))}this[n(323)].d=a(this.clockValues.d,2),this[n(323)].h=a(this[n(325)].h,2),this[n(323)].m=a(this[n(325)].m,2),this[n(323)].s=a(this.clockValues.s,2),this.clockValuesAsString=(this[n(323)].d+this[n(323)].h+this[n(323)].m+this.clockStrings.s).split(""),this.rotorLeafFront.forEach((function(e,r){var o=n;e[o(297)]=t[o(309)][r]})),this[n(267)][n(316)]((function(e,r){e[n(297)]=t.prevClockValuesAsString[r]})),e?(r.call(this),i[n(265)](this)):(setTimeout(r[n(296)](this),500),setTimeout(i.bind(this),500)),this[n(309)]=this.clockValuesAsString}}],b&&r(y.prototype,b),Object.defineProperty(y,"prototype",{writable:!1}),v}(o(295),o(276),o(255),o(263),o(345),o(303),o(342),o(289),o(299),o(301),o(350));function u(t,e,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1e3,s=jQuery.parseHTML(e);r?n.append(s):n.prepend(s),o&&setTimeout((function(){n.find("."+t+"-notice").remove()}),i)}!function(e){var n=gpls_wpsctr_simple_countdown_timer_localized_data,r="."+n.classes_prefix,o=e(r+"-flipdown");function i(t,o){var i=e(r+"-countdown-timer-container"),s=e(r+"-countdown-timer-shortcode"),a=e("#"+n.prefix+"-countdown-styles-css").get(0).sheet;if(i.find(r+"-flipper").removeClass((function(t,e){return(e.match(/\bflipdown-size-\S+/g)||[]).join(" ")})),"segment_width"===t)i.find(".rotor").css({width:o+"px",minWidth:"auto",maxWidth:"auto"}),i.find(".rotor-group").css({width:"auto"}),s.find(".shortcode-segment-width").text(o);else if("segment_height"===t){i.find(".rotor, .rotor-leaf").css({height:o+"px"});var l=Math.floor(o/2);i.find(".rotor-leaf-rear, .rotor-leaf-front, .rotor-top, .rotor-bottom").css({height:l+"px"}),a.insertRule(r+"-countdown-timer-container .rotor:after { height: "+l+"px !important; }",a.cssRules.length),i.find(".rotor-leaf-front, .rotor-top").css({lineHeight:o+"px"}),s.find(".shortcode-segment-height").text(o)}else"segment_fontsize"===t?(i.find(".rotor").css({fontSize:o+"px"}),s.find(".shortcode-segment-fontsize").text(o)):"titles_fontsize"===t&&(i.find(".rotor-group-heading").css({fontSize:o+"px"}),s.find(".shortcode-titles-fontsize").text(o))}e((function(s){var a,l;e(r+"-color-input").each((function(){var t=e(this);t.wpColorPicker({change:function(t,r){var o=e(t.target),i=o.val(),s=o.data("target"),a=o.data("handle"),l=o.data("css"),c=".rotor-group-"+s,u=e("#"+n.prefix+"-countdown-styles-css").get(0).sheet;"rotor-group-heading"===a?u.insertRule(c+" .rotor-group-heading span { "+l+": "+i+" !important; }",u.cssRules.length):"rotor-divider"===a?u.insertRule(c+" .rotor:after { "+l+": "+i+" !important; }",u.cssRules.length):(u.insertRule(c+" ."+a+" { "+l+": "+i+" !important; }",u.cssRules.length),u.insertRule(c+" ."+a+" .rotor-painter { "+l+": "+i+" !important; }",u.cssRules.length))},clear:function(){var r=t,o=r.data("target"),i=r.data("handle"),s=r.data("css"),a=".rotor-group-"+o,l=e("#"+n.prefix+"-countdown-styles-css").get(0).sheet;"rotor-group-heading"===i?l.insertRule(a+" .rotor-group-heading span { "+s+": #000 !important; }",l.cssRules.length):"rotor-divider"===i?l.insertRule(a+" .rotor:after { "+s+": #000 !important; }",l.cssRules.length):(l.insertRule(a+" ."+i+" { "+s+": #000 !important; }",l.cssRules.length),l.insertRule(a+" ."+i+" .rotor-painter { "+s+": "+{color:"#FFF",background:"#000"}[s]+" !important; }",l.cssRules.length))}})})),e(r+"-timer-form-submit-bg").wpColorPicker(),a=o.data("datetime"),l={headings:Object.values(n.labels.flipDownHeading)},new c(a,o,l).start((function(){})).ifEnded((function(){})),e(r+"-timer-interval, #timer_timezone").on("change",(function(i,s){var a,l,h=e(r+"-timer-interval"),d=e("#timer_timezone");a=h.val(),l=d.val(),t(n.classes_prefix,"on"),e.ajax({method:"POST",url:n.ajaxUrl,data:{action:n.timerTimerStampAction,nonce:n.nonce,arrivalTime:a,timezone:l},success:function(t){var r,i,s;null!=t&&null!==(r=t.data)&&void 0!==r&&r.status&&"success"===t.data.status&&null!=t&&null!==(i=t.data)&&void 0!==i&&i.result&&function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:null)||t.data("datetime"),r={headings:Object.values(n.labels.flipDownHeading)};t.empty(),new c(e,t,r).start((function(){t.show()})).ifEnded((function(){})),t.addClass("started")}(o,t.data.result.timestamp),null!=t&&null!==(s=t.data)&&void 0!==s&&s.message&&u(n.classes_general,t.data.message,e(".tab-section-interval"),!0,!0,3e3)},error:function(t){},complete:function(){t(n.classes_prefix,"off")}}),s||e(r+"-timer-interval-reset-btn").removeClass("d-none")})),e(r+"-timer-interval-reset-btn").on("click",(function(t){t.preventDefault();var n=e(t.target);n.addClass("d-none");var o=n.data("val");e(r+"-timer-interval").val(o).trigger("change",["custom"])})),e(document).on("click",r+"-export-emails-list",(function(t){var r=e(t.target),o=jQuery("#"+n.classes_prefix+"-timer-subscriptions .email-item").not(".hidden").find(".email-name").map((function(){return e.trim(e(this).text())})).get().join("\r\n");return o+="\r\n",o="data:text/csv;charset=utf-8,\ufeff"+encodeURIComponent(o),r.attr("href",o),!0})),e(document).on("click",r+"-clear-emails-list",(function(t){t.preventDefault();var r=e(t.target);if(confirm(n.labels.clearListConfirm)){var o=r.data("post_id");e(".emails-list-action").attr("disabled",!0),e.ajax({method:"POST",url:n.ajaxUrl,data:{action:n.clearSubscriptionsAction,nonce:n.nonce,post_id:o},success:function(t){var r,o;null!=t&&null!==(r=t.data)&&void 0!==r&&r.status&&"success"===t.data.status&&(jQuery("#"+n.classes_prefix+"-timer-subscriptions .emails-list").remove(),jQuery(".emails-list-action").remove()),null!=t&&null!==(o=t.data)&&void 0!==o&&o.message&&u(n.classes_general,t.data.message,e(".subscribe-form-emails"),!0,!0,3e3)},error:function(t){},complete:function(){e(".emails-list-action").attr("disabled",!1)}})}})),e(r+"-segment-width").on("change",(function(t){i("segment_width",e(r+"-segment-width").val())})),e(r+"-segment-height").on("change",(function(t){i("segment_height",e(r+"-segment-height").val())})),e(r+"-segment-fontsize").on("change",(function(t){i("segment_fontsize",e(r+"-segment-fontsize").val())})),e(r+"-titles-fontsize").on("change",(function(t){i("titles_fontsize",e(r+"-titles-fontsize").val())})),new bootstrap.Popover(jQuery('[data-bs-toggle="popover"]')),jQuery(document).on("click",".gpls-general-clipboard-icon-btn",(function(t){t.preventDefault();var e=jQuery(this),n=e.data("target"),r=jQuery(n).text();navigator.clipboard.writeText(r),setTimeout((function(){bootstrap.Popover.getOrCreateInstance(e).hide()}),1e3)}))}))}(jQuery)})();
  • simple-countdown/trunk/assets/libs/flipdown.min.css

    r2852583 r3142110  
    1 .flipdown.flipdown__theme-dark{font-family:sans-serif;font-weight:bold}.flipdown.flipdown__theme-dark .rotor-group-heading:before{color:#000}.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):before{background-color:#151515}.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):after{background-color:#151515}.flipdown.flipdown__theme-dark .rotor{color:#fff;background-color:#151515}.flipdown.flipdown__theme-dark .rotor:after{border-top:solid 1px #151515}.flipdown.flipdown__theme-dark .rotor-top{color:#fff;background-color:#151515}.flipdown.flipdown__theme-dark .rotor-leaf-front{color:#fff;background-color:#151515}.flipdown.flipdown__theme-dark .rotor-bottom{color:#efefef;background-color:#202020}.flipdown.flipdown__theme-dark .rotor-leaf-rear{color:#efefef;background-color:#202020}.flipdown.flipdown__theme-light{font-family:sans-serif;font-weight:bold}.flipdown.flipdown__theme-light .rotor-group-heading:before{color:#eee}.flipdown.flipdown__theme-light .rotor-group:nth-child(n+2):nth-child(-n+3):before{background-color:#ddd}.flipdown.flipdown__theme-light .rotor-group:nth-child(n+2):nth-child(-n+3):after{background-color:#ddd}.flipdown.flipdown__theme-light .rotor{color:#222;background-color:#ddd}.flipdown.flipdown__theme-light .rotor:after{border-top:solid 1px #222}.flipdown.flipdown__theme-light .rotor-top{color:#222;background-color:#ddd}.flipdown.flipdown__theme-light .rotor-leaf-front{color:#222;background-color:#ddd}.flipdown.flipdown__theme-light .rotor-bottom{color:#333;background-color:#eee}.flipdown.flipdown__theme-light .rotor-leaf-rear{color:#333;background-color:#eee}.flipdown{display:flex !important;justify-content:center;overflow:hidden;margin-top:15px;margin-bottom:15px;direction:ltr}.flipdown .rotor-group{display:flex;width:150px;justify-content:center;flex-direction:column;align-items:center;width:100px}.flipdown .rotor-group:before{display:none !important;display:none}.flipdown .rotor-group:after{display:none !important;display:none}.flipdown .rotor-group:last-child{padding-right:0;padding-right:0}.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before{content:"";position:absolute;bottom:20px;left:115px;width:10px;height:10px;border-radius:50%;left:69px;bottom:13px;height:8px;width:8px}.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after{content:"";position:absolute;bottom:50px;left:115px;width:10px;height:10px;border-radius:50%;left:69px;bottom:29px;height:8px;width:8px}.flipdown .rotor-group .rotors-wrapper{width:100%;display:flex;justify-content:center}.flipdown .rotor-group-heading{text-align:center;width:100%;display:flex;justify-content:center;font-size:1rem}.flipdown .rotor-group-heading:before{display:block;height:30px;line-height:30px;text-align:center;font-size:.8em;height:20px;line-height:20px}.flipdown .rotor{position:relative;float:left;width:50px;height:80px;margin:0 5px 0 0;border-radius:4px;font-size:2.5rem;text-align:center;perspective:200px;width:30px;height:50px}.flipdown .rotor:last-child{margin-right:0}.flipdown .rotor:after{content:"";z-index:2;position:absolute;bottom:0;left:0;width:50px;height:40px;border-radius:0 0 4px 4px;width:30px;height:25px;opacity:.8}.flipdown .rotor-top{overflow:hidden;position:absolute;width:50px;height:40px;line-height:80px;border-radius:4px 4px 0 0;width:30px;line-height:50px;height:25px}.flipdown .rotor-bottom{overflow:hidden;position:absolute;width:50px;height:40px;bottom:0;line-height:0;border-radius:0 0 4px 4px;width:30px;height:25px}.flipdown .rotor-leaf{z-index:1;position:absolute;width:50px;height:80px;transform-style:preserve-3d;transition:transform 0s;width:100%;height:50px}.flipdown .rotor-painter{width:100%}.flipdown .rotor-leaf.flipped{transform:rotateX(-180deg);transition:all .5s ease-in-out}.flipdown .rotor-leaf-front{overflow:hidden;position:absolute;width:50px;height:40px;margin:0;transform:rotateX(0);backface-visibility:hidden;-webkit-backface-visibility:hidden;line-height:80px;border-radius:4px 4px 0 0;width:30px;line-height:50px;height:25px}.flipdown .rotor-leaf-rear{overflow:hidden;position:absolute;width:50px;height:40px;margin:0;transform:rotateX(0);backface-visibility:hidden;-webkit-backface-visibility:hidden;line-height:0;border-radius:0 0 4px 4px;transform:rotateX(-180deg);width:30px;height:25px}.rotor-group .rotors-wrapper{width:100%;display:flex;justify-content:center}.rotor-group .rotors-wrapper .rotor{overflow:hidden;width:40%}.rotor-group .rotors-wrapper .rotor .rotor-leaf{width:100%}.rotor-group .rotors-wrapper .rotor .rotor-painter{width:100%}.rotor-group .rotors-wrapper .rotor:after{width:100%}.flipdown-size-sm .rotor{margin-right:3px;width:30px;height:50px}.flipdown-size-sm .rotor:after{width:30px;height:25px}.flipdown-size-sm .rotor-leaf{width:30px;height:50px}.flipdown-size-sm .rotor-leaf-front{width:30px;line-height:50px;height:25px}.flipdown-size-sm .rotor-leaf-rear{width:30px;height:25px}.flipdown-size-sm .rotor-top{width:30px;line-height:50px;height:25px}.flipdown-size-sm .rotor-bottom{width:30px;height:25px}.flipdown-size-sm .rotor-group{width:100px}.flipdown-size-sm .rotor-group:before{display:none}.flipdown-size-sm .rotor-group:after{display:none}.flipdown-size-sm .rotor-group:last-child{padding-right:0}.flipdown-size-sm .rotor-group:nth-child(n+2):nth-child(-n+3):before{left:69px;bottom:13px;height:8px;width:8px}.flipdown-size-sm .rotor-group:nth-child(n+2):nth-child(-n+3):after{left:69px;bottom:29px;height:8px;width:8px}.flipdown-size-sm .rotor-group-heading{font-size:.8em;height:20px;line-height:20px}.flipdown-size-xs .rotor{font-size:1.5rem;margin-right:3px;width:40%;height:40px}.flipdown-size-xs .rotor:after{width:30px;height:20px}.flipdown-size-xs .rotor-leaf{width:30px;height:40px}.flipdown-size-xs .rotor-leaf-front{width:30px;line-height:40px;height:20px}.flipdown-size-xs .rotor-leaf-rear{width:30px;height:20px;line-height:0}.flipdown-size-xs .rotor-top{width:30px;line-height:40px;height:20px}.flipdown-size-xs .rotor-bottom{width:30px;height:20px}.flipdown-size-xs .rotor-group{padding-right:0;padding-left:0}.flipdown-size-xs .rotor-group:nth-child(n+2):nth-child(-n+3):before{left:69px;bottom:13px;height:8px;width:8px}.flipdown-size-xs .rotor-group:nth-child(n+2):nth-child(-n+3):after{left:69px;bottom:29px;height:8px;width:8px}.flipdown-size-xs .rotor-group-heading{font-size:.75rem;height:20px;line-height:20px}.flipdown-size-xxs .rotor-group-heading{font-size:.65rem}.flipdown-size-xxs .rotor{font-size:1.1rem;margin-right:2px;height:34px}.flipdown-size-xxs .rotor:after{height:17px;opacity:.4}.flipdown-size-xxs .rotor-leaf{width:30px;height:34px}.flipdown-size-xxs .rotor-leaf-front{width:30px;line-height:34px;height:17px}.flipdown-size-xxs .rotor-leaf-rear{width:30px;height:17px;line-height:0}.flipdown-size-xxs .rotor-top{width:30px;line-height:34px;height:17px}.flipdown-size-xxs .rotor-bottom{width:30px;height:17px}
     1.flipdown.flipdown__theme-dark{font-family:sans-serif;font-weight:bold}.flipdown.flipdown__theme-dark .rotor-group-heading:before{color:#000}.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):before{background-color:#151515}.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):after{background-color:#151515}.flipdown.flipdown__theme-dark .rotor{color:#fff;background-color:#151515}.flipdown.flipdown__theme-dark .rotor:after{border-top:solid 1px #151515}.flipdown.flipdown__theme-dark .rotor-top{color:#fff;background-color:#151515}.flipdown.flipdown__theme-dark .rotor-leaf-front{color:#fff;background-color:#151515}.flipdown.flipdown__theme-dark .rotor-bottom{color:#efefef;background-color:#202020}.flipdown.flipdown__theme-dark .rotor-leaf-rear{color:#efefef;background-color:#202020}.flipdown.flipdown__theme-light{font-family:sans-serif;font-weight:bold}.flipdown.flipdown__theme-light .rotor-group-heading:before{color:#eee}.flipdown.flipdown__theme-light .rotor-group:nth-child(n+2):nth-child(-n+3):before{background-color:#ddd}.flipdown.flipdown__theme-light .rotor-group:nth-child(n+2):nth-child(-n+3):after{background-color:#ddd}.flipdown.flipdown__theme-light .rotor{color:#222;background-color:#ddd}.flipdown.flipdown__theme-light .rotor:after{border-top:solid 1px #222}.flipdown.flipdown__theme-light .rotor-top{color:#222;background-color:#ddd}.flipdown.flipdown__theme-light .rotor-leaf-front{color:#222;background-color:#ddd}.flipdown.flipdown__theme-light .rotor-bottom{color:#333;background-color:#eee}.flipdown.flipdown__theme-light .rotor-leaf-rear{color:#333;background-color:#eee}.flipdown{display:flex !important;justify-content:center;overflow:hidden;margin-top:15px;margin-bottom:15px;direction:ltr}.flipdown .rotor-group{display:flex;width:150px;justify-content:center;flex-direction:column;align-items:center;width:100px;margin-left:5px;margin-right:5px;}.flipdown .rotor-group:before{display:none !important;display:none}.flipdown .rotor-group:after{display:none !important;display:none}.flipdown .rotor-group:last-child{padding-right:0;padding-right:0}.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before{content:"";position:absolute;bottom:20px;left:115px;width:10px;height:10px;border-radius:50%;left:69px;bottom:13px;height:8px;width:8px}.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after{content:"";position:absolute;bottom:50px;left:115px;width:10px;height:10px;border-radius:50%;left:69px;bottom:29px;height:8px;width:8px}.flipdown .rotor-group .rotors-wrapper{width:100%;display:flex;justify-content:center}.flipdown .rotor-group-heading{text-align:center;width:100%;display:flex;justify-content:center;font-size:1rem}.flipdown .rotor-group-heading:before{display:block;height:30px;line-height:30px;text-align:center;font-size:.8em;height:20px;line-height:20px}.flipdown .rotor{position:relative;float:left;width:50px;height:80px;margin:0 5px 0 0;border-radius:4px;font-size:2.5rem;text-align:center;perspective:200px;width:30px;height:50px}.flipdown .rotor:last-child{margin-right:0}.flipdown .rotor:after{content:"";z-index:2;position:absolute;bottom:0;left:0;width:50px;height:40px;border-radius:0 0 4px 4px;width:30px;height:25px;opacity:.8}.flipdown .rotor-top{overflow:hidden;position:absolute;width:50px;height:40px;line-height:80px;border-radius:4px 4px 0 0;width:30px;line-height:50px;height:25px}.flipdown .rotor-bottom{overflow:hidden;position:absolute;width:50px;height:40px;bottom:0;line-height:0;border-radius:0 0 4px 4px;width:30px;height:25px}.flipdown .rotor-leaf{z-index:1;position:absolute;width:50px;height:80px;transform-style:preserve-3d;transition:transform 0s;width:100%;height:50px}.flipdown .rotor-painter{width:100%}.flipdown .rotor-leaf.flipped{transform:rotateX(-180deg);transition:all .5s ease-in-out}.flipdown .rotor-leaf-front{overflow:hidden;position:absolute;width:50px;height:40px;margin:0;transform:rotateX(0);backface-visibility:hidden;-webkit-backface-visibility:hidden;line-height:80px;border-radius:4px 4px 0 0;width:30px;line-height:50px;height:25px}.flipdown .rotor-leaf-rear{overflow:hidden;position:absolute;width:50px;height:40px;margin:0;transform:rotateX(0);backface-visibility:hidden;-webkit-backface-visibility:hidden;line-height:0;border-radius:0 0 4px 4px;transform:rotateX(-180deg);width:30px;height:25px}.rotor-group .rotors-wrapper{width:100%;display:flex;justify-content:center}.rotor-group .rotors-wrapper .rotor{overflow:hidden;width:40%}.rotor-group .rotors-wrapper .rotor .rotor-leaf{width:100%}.rotor-group .rotors-wrapper .rotor .rotor-painter{width:100%}.rotor-group .rotors-wrapper .rotor:after{width:100%}.flipdown-size-sm .rotor{margin-right:3px;width:30px;height:50px}.flipdown-size-sm .rotor:after{width:30px;height:25px}.flipdown-size-sm .rotor-leaf{width:30px;height:50px}.flipdown-size-sm .rotor-leaf-front{width:30px;line-height:50px;height:25px}.flipdown-size-sm .rotor-leaf-rear{width:30px;height:25px}.flipdown-size-sm .rotor-top{width:30px;line-height:50px;height:25px}.flipdown-size-sm .rotor-bottom{width:30px;height:25px}.flipdown-size-sm .rotor-group{width:100px}.flipdown-size-sm .rotor-group:before{display:none}.flipdown-size-sm .rotor-group:after{display:none}.flipdown-size-sm .rotor-group:last-child{padding-right:0}.flipdown-size-sm .rotor-group:nth-child(n+2):nth-child(-n+3):before{left:69px;bottom:13px;height:8px;width:8px}.flipdown-size-sm .rotor-group:nth-child(n+2):nth-child(-n+3):after{left:69px;bottom:29px;height:8px;width:8px}.flipdown-size-sm .rotor-group-heading{font-size:.8em;height:20px;line-height:20px}.flipdown-size-xs .rotor{font-size:1.5rem;margin-right:3px;width:40%;height:40px}.flipdown-size-xs .rotor:after{width:30px;height:20px}.flipdown-size-xs .rotor-leaf{width:30px;height:40px}.flipdown-size-xs .rotor-leaf-front{width:30px;line-height:40px;height:20px}.flipdown-size-xs .rotor-leaf-rear{width:30px;height:20px;line-height:0}.flipdown-size-xs .rotor-top{width:30px;line-height:40px;height:20px}.flipdown-size-xs .rotor-bottom{width:30px;height:20px}.flipdown-size-xs .rotor-group{padding-right:0;padding-left:0}.flipdown-size-xs .rotor-group:nth-child(n+2):nth-child(-n+3):before{left:69px;bottom:13px;height:8px;width:8px}.flipdown-size-xs .rotor-group:nth-child(n+2):nth-child(-n+3):after{left:69px;bottom:29px;height:8px;width:8px}.flipdown-size-xs .rotor-group-heading{font-size:.75rem;height:20px;line-height:20px}.flipdown-size-xxs .rotor-group-heading{font-size:.65rem}.flipdown-size-xxs .rotor{font-size:1.1rem;margin-right:2px;height:34px}.flipdown-size-xxs .rotor:after{height:17px;opacity:.4}.flipdown-size-xxs .rotor-leaf{width:30px;height:34px}.flipdown-size-xxs .rotor-leaf-front{width:30px;line-height:34px;height:17px}.flipdown-size-xxs .rotor-leaf-rear{width:30px;height:17px;line-height:0}.flipdown-size-xxs .rotor-top{width:30px;line-height:34px;height:17px}.flipdown-size-xxs .rotor-bottom{width:30px;height:17px}
  • simple-countdown/trunk/gpls-wpsctr-simple-countdown-timer.php

    r3081467 r3142110  
    99 * Text Domain:     simple-countdown
    1010 * Std Name:        gpls-wpsctr-simple-countdown-timer
    11  * Version:         1.0.2
     11 * Version:         1.0.3
    1212 *
    1313 * @package         GPLS_Wpsctr_Simple_countdown_Timer
     
    181181         */
    182182        public function load_languages() {
    183             load_plugin_textdomain( self::$plugin_info['text_domain'], false, self::$plugin_info['path'] . 'languages/' );
     183            load_plugin_textdomain( self::$plugin_info['text_domain'], false, trailingslashit( dirname( self::$plugin_info['basename'] ) ) . 'languages/' );
    184184        }
    185185
  • simple-countdown/trunk/includes/Cpts/CountDownFormTrait.php

    r2852583 r3142110  
    4949                if ( ! empty( $form_title ) ) {
    5050                    ?>
    51                     <<?php echo esc_attr( $form_title_tag ); ?> class="<?php echo esc_attr( self::$plugin_info['classes_prefix'] . '-form-title' ); ?>"><?php printf( esc_html__( '%s', '%s' ), $form_title, self::$plugin_info['text_domain'] ); ?></<?php echo esc_attr( $form_title_tag ); ?>>
     51                    <<?php echo esc_attr( $form_title_tag ); ?> class="<?php echo esc_attr( self::$plugin_info['classes_prefix'] . '-form-title' ); ?>"><?php printf( esc_html__( '%s', 'simple-countdown' ), $form_title ); ?></<?php echo esc_attr( $form_title_tag ); ?>>
    5252                    <?php
    5353                }
  • simple-countdown/trunk/includes/Cpts/CountDownStylesTrait.php

    r2852583 r3142110  
    2020     *
    2121     * @param boolean $echo
    22      * @return void
     22     * @return mixed
    2323     */
    2424    public function get_countdown_styles( $id_identifier, $echo = false, $post_id = null ) {
     
    6565            ob_start();
    6666        }
     67        static $main_styles_applied = false;
     68        if ( ! $main_styles_applied ) :
    6769        ?>
    6870        <?php echo esc_attr( $main_timer_container_class ); ?> {
     
    8890        }
    8991        <?php
     92            $main_styles_applied = true;
     93        endif;
    9094        if ( ! $echo ) {
    9195            return ob_get_clean();
  • simple-countdown/trunk/includes/Cpts/CountDownTimerCPT.php

    r3081467 r3142110  
    492492        ob_start();
    493493        ?>
    494         <<?php echo esc_attr( $timer_title_tag ); ?> class="<?php echo esc_attr( self::$plugin_info['classes_prefix'] . '-timer-title' ); ?>"><?php printf( esc_html__( '%s', '%s' ), $timer_title, self::$plugin_info['text_domain'] ); ?></<?php echo esc_attr( $timer_title_tag ); ?>>
     494        <<?php echo esc_attr( $timer_title_tag ); ?> class="<?php echo esc_attr( self::$plugin_info['classes_prefix'] . '-timer-title' ); ?>"><?php printf( esc_html__( '%s', 'simple-countdown' ), $timer_title ); ?></<?php echo esc_attr( $timer_title_tag ); ?>>
    495495        <?php
    496496        return ob_get_clean();
  • simple-countdown/trunk/includes/Settings/Fields/countdown-timer-cpt-fields.php

    r2852583 r3142110  
    5252                ),
    5353            ),
     54            'advanced_styles'  => array(
     55                'settings_list' => array(
     56                    // Segment Width.
     57                    'segment_width'     => array(
     58                        'input_label' => esc_html__( 'Segment width', 'gpls-wpsctr-simple-countdown-timer' ),
     59                        'type'        => 'number',
     60                        'value'       => 0,
     61                        'classes'     => $plugin_info['classes_prefix'] . '-segment-width',
     62                        'attrs'       => array(
     63                            'min' => 0,
     64                        ),
     65                    ),
     66                    // Segment Height.
     67                    'segment_height'     => array(
     68                        'input_label' => esc_html__( 'Segment height', 'gpls-wpsctr-simple-countdown-timer' ),
     69                        'type'        => 'number',
     70                        'value'       => 0,
     71                        'classes'     => $plugin_info['classes_prefix'] . '-segment-height',
     72                        'attrs'       => array(
     73                            'min' => 0,
     74                        ),
     75                    ),
     76                    // Segment Fontsize.
     77                    'segment_fontsize'     => array(
     78                        'input_label' => esc_html__( 'Segment fontsize', 'gpls-wpsctr-simple-countdown-timer' ),
     79                        'type'        => 'number',
     80                        'value'       => 0,
     81                        'classes'     => $plugin_info['classes_prefix'] . '-segment-fontsize',
     82                        'attrs'       => array(
     83                            'min' => 0,
     84                        ),
     85                    ),
     86                    // Titles Fontsize.
     87                    'titles_fontsize'     => array(
     88                        'input_label' => esc_html__( 'Titles fontsize', 'gpls-wpsctr-simple-countdown-timer' ),
     89                        'type'        => 'number',
     90                        'value'       => 0,
     91                        'classes'     => $plugin_info['classes_prefix'] . '-titles-fontsize',
     92                        'attrs'       => array(
     93                            'min' => 0,
     94                        ),
     95                    ),
     96                ),
     97            ),
    5498            'colors'    => array(
    5599                'settings_list' => array(
  • simple-countdown/trunk/includes/Settings/Fields/quick-countdown-timer-fields.php

    r2852583 r3142110  
    245245            ),
    246246        ),
     247        'advanced' => array(
     248            'advanced_styles'  => array(
     249                'settings_list' => array(
     250                    // Segment Width.
     251                    'segment_width'     => array(
     252                        'input_label' => esc_html__( 'Segment width', 'gpls-wpsctr-simple-countdown-timer' ),
     253                        'type'        => 'number',
     254                        'value'       => 0,
     255                        'classes'     => $plugin_info['classes_prefix'] . '-segment-width',
     256                        'attrs'       => array(
     257                            'min' => 0,
     258                        ),
     259                    ),
     260                    // Segment Height.
     261                    'segment_height'     => array(
     262                        'input_label' => esc_html__( 'Segment height', 'gpls-wpsctr-simple-countdown-timer' ),
     263                        'type'        => 'number',
     264                        'value'       => 0,
     265                        'classes'     => $plugin_info['classes_prefix'] . '-segment-height',
     266                        'attrs'       => array(
     267                            'min' => 0,
     268                        ),
     269                    ),
     270                    // Segment Fontsize.
     271                    'segment_fontsize'     => array(
     272                        'input_label' => esc_html__( 'Segment fontsize', 'gpls-wpsctr-simple-countdown-timer' ),
     273                        'type'        => 'number',
     274                        'value'       => 0,
     275                        'classes'     => $plugin_info['classes_prefix'] . '-segment-fontsize',
     276                        'attrs'       => array(
     277                            'min' => 0,
     278                        ),
     279                    ),
     280                    // Titles Fontsize.
     281                    'titles_fontsize'     => array(
     282                        'input_label' => esc_html__( 'Titles fontsize', 'gpls-wpsctr-simple-countdown-timer' ),
     283                        'type'        => 'number',
     284                        'value'       => 0,
     285                        'classes'     => $plugin_info['classes_prefix'] . '-titles-fontsize',
     286                        'attrs'       => array(
     287                            'min' => 0,
     288                        ),
     289                    ),
     290                ),
     291            ),
     292        ),
    247293    );
    248294
  • simple-countdown/trunk/includes/Settings/SettingsFields/Field.php

    r2852583 r3142110  
    2626            case 'email':
    2727                return new EmailField( $id, $field, $apply_hooks );
     28                break;
     29            case 'number':
     30                return new NumberField( $id, $field, $apply_hooks );
    2831                break;
    2932            case 'text':
  • simple-countdown/trunk/includes/Templates/cpts/timer-configurations-metabox-template.php

    r2852583 r3142110  
    2222    <div class="colors-wrapper col-12 my-2 p-3 bg-white shadow-sm">
    2323        <!-- Timer Interval Fields -->
    24         <h5><?php printf( esc_html__( 'Timer Interval', '%s' ), $plugin_info['text_domain'] ); ?></h5>
     24        <h5><?php printf( esc_html__( 'Timer Interval', 'simple-countdown' ) ); ?></h5>
    2525        <?php $cpt->settings->print_fields( 'general', 'interval' ); ?>
    2626        <!-- Countdown Timer -->
    27         <h5 class="mt-3"><?php printf( esc_html__( 'CountDown Timer', '%s' ), $plugin_info['text_domain'] ); ?></h5>
     27        <h5 class="mt-3"><?php printf( esc_html__( 'CountDown Timer', 'simple-countdown' ) ); ?></h5>
    2828        <div class="container-fluid">
    2929            <div class="row p-3">
     
    3131                    <div class="settings-list row">
    3232                        <div class="tab-section-wrapper col-12 my-3 p-3 bg-white shadow-lg">
    33 
     33                            <!-- Advanced Styles -->
     34                            <div class="countdown-timer-advanced-styles my-3">
     35                                <h5 class="mt-3 mb-2"><?php esc_html_e( 'Advanced styles', 'gpls-wpsctr-simple-countdown-timer' ); ?>
     36                                    <span><?php $core->new_keyword( 'New', false ); ?><?php $core->pro_btn(); ?></span>
     37                                </h5>
     38                                <span><?php esc_html_e( 'These styles work per shortcode', 'gpls-wpsctr-simple-countdown-timer' ); ?></span>
     39                                <div class="advanced-styles-list bg-light opacity-50">
     40                                    <?php $cpt->settings->print_fields( 'general', 'advanced_styles' ); ?>
     41                                </div>
     42                            </div>
    3443                            <!-- CountDowm Timer -->
    3544                            <div class="countdown-timer-preview-container">
     
    6473        </div>
    6574        <!-- Timer Colors -->
    66         <h5 class="mt-3"><span class="me-3"><?php printf( esc_html__( 'Timer Colors', '%s' ), $plugin_info['text_domain'] ); ?></span><?php $core->pro_btn(); ?></h5>
     75        <h5 class="mt-3"><span class="me-3"><?php printf( esc_html__( 'Timer Colors', 'simple-countdown' ) ); ?></span><?php $core->pro_btn(); ?></h5>
    6776        <div class="container-fluid">
    6877            <div class="row">
  • simple-countdown/trunk/includes/Templates/pages/quick-countdown-timer-template.php

    r2852583 r3142110  
    3131        >
    3232        </div>
     33    </div>
     34</div>
     35
     36
     37<!-- Advanced Styles -->
     38<div class="countdown-timer-advanced-styles">
     39    <h5 class="mt-3 mb-2"><?php esc_html_e( 'Advanced styles', 'gpls-wpsctr-simple-countdown-timer' ); ?>
     40        <span><?php $core->new_keyword( 'New', false ); ?><?php $core->pro_btn(); ?></span>
     41    </h5>
     42    <span><?php esc_html_e( 'These styles work per shortcode, you will need to set it as attributes for each shortcode.', 'gpls-wpsctr-simple-countdown-timer' ); ?></span>
     43    <div class="advanced-styles-wrapper opacity-50 bg-white">
     44        <?php $template_page->settings->print_fields( 'advanced' ); ?>
    3345    </div>
    3446</div>
  • simple-countdown/trunk/languages/simple-countdown.pot

    r2852583 r3142110  
    1 # Copyright (C) 2023 GrandPlugins
     1# Copyright (C) 2024 GrandPlugins
    22# This file is distributed under the same license as the Simple Countdown plugin.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Simple Countdown 1.0.0\n"
     5"Project-Id-Version: Simple Countdown 1.0.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gpls-wpsctr-simple-countdown-timer\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2023-01-22T16:12:50+00:00\n"
     12"POT-Creation-Date: 2024-08-26T16:58:04+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.6.0\n"
     14"X-Generator: WP-CLI 2.10.0\n"
    1515"X-Domain: simple-countdown\n"
    1616
    1717#. Plugin Name of the plugin
     18#: C:\laragon\www\Simple-Countdown-Timer\wp-content\plugins\gpls-wpsctr-simple-countdown-timer\gpls-wpsctr-simple-countdown-timer.php
    1819#: includes/Pages/CountdownTimerPage.php:53
    1920msgid "Simple Countdown"
     
    2122
    2223#. Description of the plugin
     24#: C:\laragon\www\Simple-Countdown-Timer\wp-content\plugins\gpls-wpsctr-simple-countdown-timer\gpls-wpsctr-simple-countdown-timer.php
    2325msgid "Create and add simple countdown timers to your WordPress Website."
    2426msgstr ""
    2527
    2628#. Author of the plugin
     29#: C:\laragon\www\Simple-Countdown-Timer\wp-content\plugins\gpls-wpsctr-simple-countdown-timer\gpls-wpsctr-simple-countdown-timer.php
    2730msgid "GrandPlugins"
    2831msgstr ""
    2932
    3033#. Author URI of the plugin
     34#: C:\laragon\www\Simple-Countdown-Timer\wp-content\plugins\gpls-wpsctr-simple-countdown-timer\gpls-wpsctr-simple-countdown-timer.php
    3135msgid "https://grandplugins.com"
    3236msgstr ""
    3337
    34 #: includes/cpts/CountDownFormTrait.php:57
     38#: includes/Cpts/CountDownFormTrait.php:51
     39#: includes/Cpts/CountDownFormTrait.php:62
     40#: includes/Cpts/CountDownTimerCPT.php:494
     41#: includes/Templates/pages/quick-countdown-timer-template.php:81
     42#: includes/Templates/pages/quick-countdown-timer-template.php:104
     43#: includes/Templates/pages/quick-countdown-timer-template.php:127
     44#: includes/Templates/pages/quick-countdown-timer-template.php:150
     45msgid "%s"
     46msgstr ""
     47
     48#: includes/Cpts/CountDownFormTrait.php:57
    3549msgid "Your email address..."
    3650msgstr ""
    3751
    38 #: includes/cpts/CountDownFormTrait.php:62
    39 #: includes/Templates/pages/quick-countdown-timer-template.php:69
    40 #: includes/Templates/pages/quick-countdown-timer-template.php:92
    41 #: includes/Templates/pages/quick-countdown-timer-template.php:115
    42 #: includes/Templates/pages/quick-countdown-timer-template.php:138
    43 msgid "%s"
    44 msgstr ""
    45 
    46 #: includes/cpts/CountDownFormTrait.php:62
     52#: includes/Cpts/CountDownFormTrait.php:62
    4753msgid "Submit"
    4854msgstr ""
    4955
    50 #: includes/cpts/CountDownTimerCPT.php:122
     56#: includes/Cpts/CountDownTimerCPT.php:122
    5157msgid "Add New CountDown Timer"
    5258msgstr ""
    5359
    54 #: includes/cpts/CountDownTimerCPT.php:123
     60#: includes/Cpts/CountDownTimerCPT.php:123
    5561msgid "New CountDown Timer"
    5662msgstr ""
    5763
    58 #: includes/cpts/CountDownTimerCPT.php:124
     64#: includes/Cpts/CountDownTimerCPT.php:124
    5965msgid "Edit CountDown Timer"
    6066msgstr ""
    6167
    62 #: includes/cpts/CountDownTimerCPT.php:185
     68#: includes/Cpts/CountDownTimerCPT.php:185
    6369#: includes/Pages/QuickCountdownTimerPage.php:105
    6470#: includes/QuickCountDownTimer.php:84
    65 #: includes/Templates/cpts/timer-configurations-metabox-template.php:76
    66 #: includes/Templates/pages/quick-countdown-timer-template.php:59
     71#: includes/Templates/cpts/timer-configurations-metabox-template.php:85
     72#: includes/Templates/pages/quick-countdown-timer-template.php:71
    6773msgid "Days"
    6874msgstr ""
    6975
    70 #: includes/cpts/CountDownTimerCPT.php:186
     76#: includes/Cpts/CountDownTimerCPT.php:186
    7177#: includes/Pages/QuickCountdownTimerPage.php:106
    7278#: includes/QuickCountDownTimer.php:85
    73 #: includes/Templates/cpts/timer-configurations-metabox-template.php:126
    74 #: includes/Templates/pages/quick-countdown-timer-template.php:82
     79#: includes/Templates/cpts/timer-configurations-metabox-template.php:135
     80#: includes/Templates/pages/quick-countdown-timer-template.php:94
    7581msgid "Hours"
    7682msgstr ""
    7783
    78 #: includes/cpts/CountDownTimerCPT.php:187
     84#: includes/Cpts/CountDownTimerCPT.php:187
    7985#: includes/Pages/QuickCountdownTimerPage.php:107
    8086#: includes/QuickCountDownTimer.php:86
    81 #: includes/Templates/cpts/timer-configurations-metabox-template.php:176
    82 #: includes/Templates/pages/quick-countdown-timer-template.php:105
     87#: includes/Templates/cpts/timer-configurations-metabox-template.php:185
     88#: includes/Templates/pages/quick-countdown-timer-template.php:117
    8389msgid "Minutes"
    8490msgstr ""
    8591
    86 #: includes/cpts/CountDownTimerCPT.php:188
     92#: includes/Cpts/CountDownTimerCPT.php:188
    8793#: includes/Pages/QuickCountdownTimerPage.php:108
    8894#: includes/QuickCountDownTimer.php:87
    89 #: includes/Templates/cpts/timer-configurations-metabox-template.php:226
    90 #: includes/Templates/pages/quick-countdown-timer-template.php:128
     95#: includes/Templates/cpts/timer-configurations-metabox-template.php:235
     96#: includes/Templates/pages/quick-countdown-timer-template.php:140
    9197msgid "Seconds"
    9298msgstr ""
    9399
    94 #: includes/cpts/CountDownTimerCPT.php:190
     100#: includes/Cpts/CountDownTimerCPT.php:190
    95101msgid "The emails list will be deleted. proceed?"
    96102msgstr ""
    97103
    98 #: includes/cpts/CountDownTimerCPT.php:215
     104#: includes/Cpts/CountDownTimerCPT.php:215
    99105msgid "Timer Configurations"
    100106msgstr ""
    101107
    102 #: includes/cpts/CountDownTimerCPT.php:216
     108#: includes/Cpts/CountDownTimerCPT.php:216
    103109msgid "Timer Related"
    104110msgstr ""
    105111
    106 #: includes/cpts/CountDownTimerCPT.php:217
     112#: includes/Cpts/CountDownTimerCPT.php:217
    107113msgid "Timer Subscibe Form"
    108114msgstr ""
    109115
    110 #: includes/cpts/CountDownTimerCPT.php:218
     116#: includes/Cpts/CountDownTimerCPT.php:218
    111117msgid "Timer Form Subscriptions Emails"
    112118msgstr ""
     
    148154msgstr ""
    149155
    150 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:58
    151 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:91
    152 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:103
    153 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:136
    154 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:148
    155 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:181
    156 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:193
    157 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:226
     156#: includes/Settings/Fields/countdown-timer-cpt-fields.php:102
     157#: includes/Settings/Fields/countdown-timer-cpt-fields.php:135
     158#: includes/Settings/Fields/countdown-timer-cpt-fields.php:147
     159#: includes/Settings/Fields/countdown-timer-cpt-fields.php:180
     160#: includes/Settings/Fields/countdown-timer-cpt-fields.php:192
     161#: includes/Settings/Fields/countdown-timer-cpt-fields.php:225
     162#: includes/Settings/Fields/countdown-timer-cpt-fields.php:237
     163#: includes/Settings/Fields/countdown-timer-cpt-fields.php:270
    158164#: includes/Settings/Fields/quick-countdown-timer-fields.php:35
    159165#: includes/Settings/Fields/quick-countdown-timer-fields.php:88
    160166#: includes/Settings/Fields/quick-countdown-timer-fields.php:141
    161167#: includes/Settings/Fields/quick-countdown-timer-fields.php:194
    162 #: includes/Templates/cpts/timer-configurations-metabox-template.php:81
    163 #: includes/Templates/cpts/timer-configurations-metabox-template.php:131
    164 #: includes/Templates/cpts/timer-configurations-metabox-template.php:181
    165 #: includes/Templates/cpts/timer-configurations-metabox-template.php:231
     168#: includes/Templates/cpts/timer-configurations-metabox-template.php:90
     169#: includes/Templates/cpts/timer-configurations-metabox-template.php:140
     170#: includes/Templates/cpts/timer-configurations-metabox-template.php:190
     171#: includes/Templates/cpts/timer-configurations-metabox-template.php:240
    166172msgid "Title Color"
    167173msgstr ""
    168174
    169 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:69
    170 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:114
    171 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:159
    172 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:204
     175#: includes/Settings/Fields/countdown-timer-cpt-fields.php:113
     176#: includes/Settings/Fields/countdown-timer-cpt-fields.php:158
     177#: includes/Settings/Fields/countdown-timer-cpt-fields.php:203
     178#: includes/Settings/Fields/countdown-timer-cpt-fields.php:248
    173179#: includes/Settings/Fields/quick-countdown-timer-fields.php:48
    174180#: includes/Settings/Fields/quick-countdown-timer-fields.php:101
     
    178184msgstr ""
    179185
    180 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:80
    181 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:125
    182 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:170
    183 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:215
     186#: includes/Settings/Fields/countdown-timer-cpt-fields.php:124
     187#: includes/Settings/Fields/countdown-timer-cpt-fields.php:169
     188#: includes/Settings/Fields/countdown-timer-cpt-fields.php:214
     189#: includes/Settings/Fields/countdown-timer-cpt-fields.php:259
    184190#: includes/Settings/Fields/quick-countdown-timer-fields.php:61
    185191#: includes/Settings/Fields/quick-countdown-timer-fields.php:114
     
    189195msgstr ""
    190196
    191 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:241
     197#: includes/Settings/Fields/countdown-timer-cpt-fields.php:285
    192198msgid "Hide Divisions"
    193199msgstr ""
    194200
    195 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:245
     201#: includes/Settings/Fields/countdown-timer-cpt-fields.php:289
    196202msgid "Hide days, hours and minutes divisions once they are completed."
    197203msgstr ""
    198204
    199 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:248
     205#: includes/Settings/Fields/countdown-timer-cpt-fields.php:292
    200206msgid "Timer Title"
    201207msgstr ""
    202208
    203 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:252
     209#: includes/Settings/Fields/countdown-timer-cpt-fields.php:296
    204210msgid "Timer Title is placed above the timer. leave it empty to disable"
    205211msgstr ""
    206212
    207 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:255
     213#: includes/Settings/Fields/countdown-timer-cpt-fields.php:299
    208214msgid "Timer Title Tag"
    209215msgstr ""
    210216
    211 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:259
     217#: includes/Settings/Fields/countdown-timer-cpt-fields.php:303
    212218msgid "Timer Title Tag | h1 - h6"
    213219msgstr ""
    214220
    215 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:270
     221#: includes/Settings/Fields/countdown-timer-cpt-fields.php:314
    216222msgid "Timer Complete Text"
    217223msgstr ""
    218224
    219 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:275
     225#: includes/Settings/Fields/countdown-timer-cpt-fields.php:319
    220226msgid "This text will appear after the timer interval is completed."
    221227msgstr ""
    222228
    223 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:284
     229#: includes/Settings/Fields/countdown-timer-cpt-fields.php:328
    224230msgid "Timer form status"
    225231msgstr ""
    226232
    227 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:288
     233#: includes/Settings/Fields/countdown-timer-cpt-fields.php:332
    228234msgid "Enable - Disable the timer subscribe form."
    229235msgstr ""
    230236
    231 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:294
     237#: includes/Settings/Fields/countdown-timer-cpt-fields.php:338
    232238msgid "Timer form title"
    233239msgstr ""
    234240
    235 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:298
     241#: includes/Settings/Fields/countdown-timer-cpt-fields.php:342
    236242msgid "Form title."
    237243msgstr ""
    238244
    239 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:304
     245#: includes/Settings/Fields/countdown-timer-cpt-fields.php:348
    240246msgid "Form title tag"
    241247msgstr ""
    242248
    243 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:308
     249#: includes/Settings/Fields/countdown-timer-cpt-fields.php:352
    244250msgid "Form Title Tag | h1 - h6."
    245251msgstr ""
    246252
    247 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:322
     253#: includes/Settings/Fields/countdown-timer-cpt-fields.php:366
    248254msgid "Timer form submit text"
    249255msgstr ""
    250256
    251 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:326
     257#: includes/Settings/Fields/countdown-timer-cpt-fields.php:370
    252258msgid "Form Submit Button Text."
    253259msgstr ""
    254260
    255 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:332
     261#: includes/Settings/Fields/countdown-timer-cpt-fields.php:376
    256262msgid "Timer form submit color"
    257263msgstr ""
    258264
    259 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:336
     265#: includes/Settings/Fields/countdown-timer-cpt-fields.php:380
    260266msgid "Form Submit Button Color."
    261267msgstr ""
    262268
    263 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:342
     269#: includes/Settings/Fields/countdown-timer-cpt-fields.php:386
    264270msgid "Timer form submit background"
    265271msgstr ""
    266272
    267 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:346
     273#: includes/Settings/Fields/countdown-timer-cpt-fields.php:390
    268274msgid "Form Submit Button Background Color."
    269275msgstr ""
    270276
    271 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:352
     277#: includes/Settings/Fields/countdown-timer-cpt-fields.php:396
    272278msgid "Form consent text"
    273279msgstr ""
    274280
    275 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:356
     281#: includes/Settings/Fields/countdown-timer-cpt-fields.php:400
    276282msgid "Subscribe form consent text"
    277283msgstr ""
    278284
    279 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:364
     285#: includes/Settings/Fields/countdown-timer-cpt-fields.php:408
    280286msgid "After Subscription text"
    281287msgstr ""
    282288
    283 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:368
     289#: includes/Settings/Fields/countdown-timer-cpt-fields.php:412
    284290msgid "This text wil appear after form subscription."
    285291msgstr ""
    286292
    287 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:376
     293#: includes/Settings/Fields/countdown-timer-cpt-fields.php:420
    288294msgid "Custom form Shortcode"
    289295msgstr ""
    290296
    291 #: includes/Settings/Fields/countdown-timer-cpt-fields.php:380
     297#: includes/Settings/Fields/countdown-timer-cpt-fields.php:424
    292298msgid "You can place custom subscribe form shortcode here to use instead of the default form."
    293299msgstr ""
     
    309315#: includes/Settings/Fields/quick-countdown-timer-fields.php:180
    310316#: includes/Settings/Fields/quick-countdown-timer-fields.php:233
    311 #: includes/Templates/cpts/timer-configurations-metabox-template.php:114
    312 #: includes/Templates/cpts/timer-configurations-metabox-template.php:164
    313 #: includes/Templates/cpts/timer-configurations-metabox-template.php:214
    314 #: includes/Templates/cpts/timer-configurations-metabox-template.php:264
     317#: includes/Templates/cpts/timer-configurations-metabox-template.php:123
     318#: includes/Templates/cpts/timer-configurations-metabox-template.php:173
     319#: includes/Templates/cpts/timer-configurations-metabox-template.php:223
     320#: includes/Templates/cpts/timer-configurations-metabox-template.php:273
    315321msgid "Divider Color"
    316322msgstr ""
    317323
    318 #: includes/Templates/cpts/timer-configurations-metabox-template.php:55
    319 #: includes/Templates/pages/quick-countdown-timer-template.php:39
     324#: includes/Templates/cpts/timer-configurations-metabox-template.php:24
     325msgid "Timer Interval"
     326msgstr ""
     327
     328#: includes/Templates/cpts/timer-configurations-metabox-template.php:27
     329msgid "CountDown Timer"
     330msgstr ""
     331
     332#: includes/Templates/cpts/timer-configurations-metabox-template.php:64
     333#: includes/Templates/pages/quick-countdown-timer-template.php:51
    320334msgid "Timer Shortcode:"
    321335msgstr ""
    322336
    323 #: includes/Templates/cpts/timer-configurations-metabox-template.php:92
    324 #: includes/Templates/cpts/timer-configurations-metabox-template.php:142
    325 #: includes/Templates/cpts/timer-configurations-metabox-template.php:192
    326 #: includes/Templates/cpts/timer-configurations-metabox-template.php:242
     337#: includes/Templates/cpts/timer-configurations-metabox-template.php:75
     338#: includes/Templates/pages/quick-countdown-timer-template.php:67
     339msgid "Timer Colors"
     340msgstr ""
     341
     342#: includes/Templates/cpts/timer-configurations-metabox-template.php:101
     343#: includes/Templates/cpts/timer-configurations-metabox-template.php:151
     344#: includes/Templates/cpts/timer-configurations-metabox-template.php:201
     345#: includes/Templates/cpts/timer-configurations-metabox-template.php:251
    327346msgid "Front Color"
    328347msgstr ""
    329348
    330 #: includes/Templates/cpts/timer-configurations-metabox-template.php:103
    331 #: includes/Templates/cpts/timer-configurations-metabox-template.php:153
    332 #: includes/Templates/cpts/timer-configurations-metabox-template.php:203
    333 #: includes/Templates/cpts/timer-configurations-metabox-template.php:253
     349#: includes/Templates/cpts/timer-configurations-metabox-template.php:112
     350#: includes/Templates/cpts/timer-configurations-metabox-template.php:162
     351#: includes/Templates/cpts/timer-configurations-metabox-template.php:212
     352#: includes/Templates/cpts/timer-configurations-metabox-template.php:262
    334353msgid "Back Color"
    335354msgstr ""
     
    338357msgid "Quick Count Down Timer"
    339358msgstr ""
    340 
    341 #: includes/Templates/pages/quick-countdown-timer-template.php:55
    342 msgid "Timer Colors"
    343 msgstr ""
  • simple-countdown/trunk/readme.txt

    r3081467 r3142110  
    11=== Simple Countdown Timer ===
    22Tags: countdown, timer, countdown timer, time tracking
    3 Tested up to: 6.5
     3Tested up to: 6.6
    44Requires at least: 5.3.0
    55Requires PHP: 7.0.0
    6 Stable Tag: 1.0.2
    7 Version: 1.0.2
     6Stable Tag: 1.0.3
     7Version: 1.0.3
    88Contributors: grandplugins
    99Author: GrandPlugins
     
    3838== Check Our other plugins ==
    3939
    40 [Woo instock Notifier](https://grandplugins.com/product/woo-instock-notifier/)
     40[WB DB Controller](https://grandplugins.com/product/wp-db-controller/?utm_source=free&utm_medium=simple-countdown)
    4141
    42 [Woo Gift Cards](https://grandplugins.com/product/woo-gift-cards/?utm_source=free&utm_medium=gpls-avfstw-avif-support)
     42[Woo Conditional Gateways](https://grandplugins.com/product/woo-conditional-gateways/?utm_source=free&utm_medium=simple-countdown)
    4343
    44 [Woo Restrict Orders](https://grandplugins.com/product/woo-restrict-orders/?utm_source=free&utm_medium=gpls-avfstw-avif-support)
     44[Woo Order Splitter](https://grandplugins.com/product/woo-order-splitter/?utm_source=free&utm_medium=simple-countdown)
    4545
    46 [Woo Bulk Price & Stock Manager](https://grandplugins.com/product/woo-bulk-price-change/?utm_source=free&utm_medium=gpls-avfstw-avif-support)
     46[Woo instock Notifier](https://grandplugins.com/product/woo-instock-notifier/?utm_source=free&utm_medium=simple-countdown)
    4747
    48 [Woo Variation Sold individually](https://grandplugins.com/product/woo-variation-sold-individually/?utm_source=free&utm_medium=gpls-avfstw-avif-support)
     48[Woo Gift Cards](https://grandplugins.com/product/woo-gift-cards/?utm_source=free&utm_medium=simple-countdown)
    4949
    50 [Woo Paddle Checkout](https://grandplugins.com/product/woo-paddle-checkout/?utm_source=free&utm_medium=gpls-avfstw-avif-support)
     50[Woo Restrict Orders](https://grandplugins.com/product/woo-restrict-orders/?utm_source=free&utm_medium=simple-countdown)
    5151
    52 [Woo Sales notifications](https://grandplugins.com/product/woo-sales-notification/?utm_source=free&utm_medium=gpls-avfstw-avif-support)
     52[Woo Bulk Price & Stock Manager](https://grandplugins.com/product/woo-bulk-price-change/?utm_source=free&utm_medium=simple-countdown)
    5353
    54 [Woo Real time Cart Tracker](https://grandplugins.com/product/woo-cart-tracker/?utm_source=free&utm_medium=gpls-avfstw-avif-support)
     54[Woo Variation Sold individually](https://grandplugins.com/product/woo-variation-sold-individually/?utm_source=free&utm_medium=simple-countdown)
    5555
    56 [Woo Best Sellers](https://grandplugins.com/product/woo-best-seller/?utm_source=free&utm_medium=gpls-avfstw-avif-support)
     56[Woo Paddle Checkout](https://grandplugins.com/product/woo-paddle-checkout/?utm_source=free&utm_medium=simple-countdown)
    5757
    58 [Advanced Captcha](https://grandplugins.com/product/woo-advanced-captcha/?utm_source=free&utm_medium=gpls-avfstw-avif-support)
     58[Woo Sales notifications](https://grandplugins.com/product/woo-sales-notification/?utm_source=free&utm_medium=simple-countdown)
    5959
    60 [WooCommerce Advanced Bundles](https://grandplugins.com/product/woo-advanced-add-to-cart/?utm_source=free&utm_medium=gpls-avfstw-avif-support)
     60[Woo Real time Cart Tracker](https://grandplugins.com/product/woo-cart-tracker/?utm_source=free&utm_medium=simple-countdown)
    6161
    62 [WooCommerce Advanced Pricing - Discounts & Quantity Swatches](https://grandplugins.com/product/woo-advanced-pricing/?utm_source=free&utm_medium=gpls-avfstw-avif-support)
     62[Woo Best Sellers](https://grandplugins.com/product/woo-best-seller/?utm_source=free&utm_medium=simple-countdown)
     63
     64[Advanced Captcha](https://grandplugins.com/product/woo-advanced-captcha/?utm_source=free&utm_medium=simple-countdown)
     65
     66[WooCommerce Advanced Bundles](https://grandplugins.com/product/woo-advanced-add-to-cart/?utm_source=free&utm_medium=simple-countdown)
     67
     68[WooCommerce Advanced Pricing - Discounts & Quantity Swatches](https://grandplugins.com/product/woo-advanced-pricing/?utm_source=free&utm_medium=simple-countdown)
    6369
    6470[Image Sizes Controller](https://wordpress.org/plugins/image-sizes-controller/)
Note: See TracChangeset for help on using the changeset viewer.