/*! For license information please see amped.snippet.LICENSE.txt */ "use strict";(self.webpackChunkamped_snippet=self.webpackChunkamped_snippet||[]).push([[22],{8022:(e,n,r)=>{r.r(n),r.d(n,{default:()=>o});var t=r(2747),c=r(5009),u=r(5543),a=function(e,n,r,t){return new(r||(r=Promise))((function(c,u){function a(e){try{o(t.next(e))}catch(e){u(e)}}function i(e){try{o(t.throw(e))}catch(e){u(e)}}function o(e){var n;e.done?c(e.value):(n=e.value,n instanceof r?n:new r((function(e){e(n)}))).then(a,i)}o((t=t.apply(e,n||[])).next())}))},i=function(e,n){var r,t,c,u,a={label:0,sent:function(){if(1&c[0])throw c[1];return c[1]},trys:[],ops:[]};return u={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function i(i){return function(o){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,i[0]&&(a=0)),a;)try{if(r=1,t&&(c=2&i[0]?t.return:i[0]?t.throw||((c=t.return)&&c.call(t),0):t.next)&&!(c=c.call(t,i[1])).done)return c;switch(t=0,c&&(i=[2&i[0],c.value]),i[0]){case 0:case 1:c=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,t=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(c=a.trys,(c=c.length>0&&c[c.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!c||i[1]>c[0]&&i[1]=(0,u.n)(e.timeRange))}return a.every((function(e){return e}))})).reduce((function(e,n){return e+(n.occurances||1)}),0),e.occurrencesMode){case t.yd.ZERO:return[2,0===a];case t.yd.LESS_THAN:if(void 0!==e.occurrencesCount)return[2,ae.occurrencesCount];break;default:return[2,(0,c.U)(e.occurrencesMode)]}return[2,!1]}}))}))}}}]);