Skip to content

Instantly share code, notes, and snippets.

@dmarman
Created June 23, 2020 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmarman/b667a65c15205371fe3cf7df53fa4357 to your computer and use it in GitHub Desktop.
Save dmarman/b667a65c15205371fe3cf7df53fa4357 to your computer and use it in GitHub Desktop.
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=23)}([,function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),o=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(o).concat([i]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,i,o={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===i&&(i=r.apply(this,arguments)),i}),s=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){return document.querySelector(e)}.call(this,e)),t[e]}}(),l=null,c=0,d=[],u=n(4);function f(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=o[r.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](r.parts[a]);for(;a<r.parts.length;a++)i.parts.push(y(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(y(r.parts[a],t));o[r.id]={id:r.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function h(e,t){var n=s(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=d[d.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function m(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=d.indexOf(e);t>=0&&d.splice(t,1)}function b(e){var t=document.createElement("style");return e.attrs.type="text/css",g(t,e.attrs),h(e,t),t}function g(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function y(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var a=c++;n=l||(l=b(t)),r=x.bind(null,n,a,!1),i=x.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",g(t,e.attrs),h(e,t),t}(t),r=function(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=u(r));i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),i=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),i=function(){m(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return f(n,t),function(e){for(var r=[],i=0;i<n.length;i++){var a=n[i];(s=o[a.id]).refs--,r.push(s)}e&&f(p(e,t),t);for(i=0;i<r.length;i++){var s;if(0===(s=r[i]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete o[s.id]}}}};var v,w=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function x(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(1)),a=l(n(3)),s=l(n(4));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),i(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===r(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,s.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return d("action",e)}},{key:"defaultTarget",value:function(e){var t=d("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return d("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),t}();function d(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=c},function(e,t,n){"use strict";var r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(2),s=(r=a)&&r.__esModule?r:{default:r};var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return o(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,s.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,s.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=l},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},e.exports=n},function(e,t,n){var r=n(5),i=n(6);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}(e,t,n);if(r.string(e))return function(e,t,n){return i(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(7);function i(e,t,n,i,o){var a=function(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}e.exports=function(e,t,n,r,o){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return i(e,t,n,r,o)}))}},function(e,t){var n=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}e.exports=function(e,t){for(;e&&e.nodeType!==n;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}}])},e.exports=r()},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(24)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(25),i=n.n(r),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.eventName=t,this.callbacks=[]}return o(e,[{key:"registerCallback",value:function(e){this.callbacks.push(e)}},{key:"unregisterCallback",value:function(e){var t=this.callbacks.indexOf(e);t>-1&&this.callbacks.splice(t,1)}},{key:"fire",value:function(e){this.callbacks.slice(0).forEach(function(t){t(e)})}}]),e}(),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.events={},this.firedEvents=[],this.logging=!1}return s(e,[{key:"dispatch",value:function(e,t){this.logging&&console.log("%cEvent: "+this.constructor.name+" "+e,"color:blue;");var n=this.events[e];n&&(n.fire(t),this.firedEvents.push(e))}},{key:"on",value:function(e,t){var n=this.events[e];n||(n=new a(e),this.events[e]=n),n.registerCallback(t)}},{key:"off",value:function(e,t){var n=this.events[e];n&&n.callbacks.indexOf(t)>-1&&(n.unregisterCallback(t),0===n.callbacks.length&&delete this.events[e])}},{key:"setLoggin",value:function(e){this.logging=e}}]),e}(),c='<svg class="t-button-spinner" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="50" cy="50" fill="none" ng-attr-stroke="white" ng-attr-stroke-width="white" ng-attr-r="white" ng-attr-stroke-dasharray="white" stroke="#ffffff" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138" transform="rotate(23.5094 50 50)"><animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;1" dur="1s" begin="0s" repeatCount="indefinite"></animateTransform></circle></svg>',d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var f=new(function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.id=window[window.TuemilioObject].id,e.wrapper=document.getElementById("t-signup"),e.scheleton=e.createElementFromHTML(i.a),e.emailElement="",e.config={},e.emailInput="",e.submitButton="",e.startTime=new Date,e.spinner="",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,l),d(t,[{key:"init",value:function(e){var t=this;if(this.config=e,!this.config.disabled){if(!this.wrapper&&!this.config.disabled)throw alert('You forgot to add `<div id="t-signup"></div>` where you need to place your signup form'),Error('You forgot to add `<div id="t-signup"></div>` where you need to add your signup form');this.loadCustomFormElements(),this.scheleton.classList.add("t-form"),this.config.style.inline&&this.scheleton.classList.add("t-form-inline"),this.emailInput=document.getElementById("t-email"),this.submitButton=document.getElementById("t-button-submit"),this.dashboardButton=document.getElementById("t-button-dashboard"),this.inputs=this.wrapper.getElementsByTagName("input"),this.emailInput&&(this.emailInput.onkeydown=function(e){"Enter"===(e=e||window.event).key?t.submit():t.removeFeedback("email")}),this.submitButton&&this.submitButton.addEventListener("click",function(){t.submit()}),document.getElementById("t-button-submit").innerText=this.config.button.texts.CTA,document.getElementById("t-email").placeholder=this.emailElement.placeholder||this.config.input.texts.placeholder}}},{key:"submit",value:function(){if(this.emailInput.value=this.emailInput.value.trim(),""===this.emailInput.value)return this.addFeedback("email",this.config.feedback.texts.empty),this.emailInput.disabled=!1,void this.dispatch("emptyEmail");if(!1===this.validateEmail(this.emailInput.value))return this.addFeedback("email",this.config.feedback.texts.invalidEmail),this.emailInput.disabled=!1,void this.dispatch("invalidEmail",this.emailInput.value);var e={address:this.emailInput.value.toLowerCase(),action:"subscribe",custom_fields:{}};[].concat(u(this.inputs)).forEach(function(t){"email"!==t.name&&(e.custom_fields[t.name]=t.value),t.disabled=!0}),this.setSubmitButtonAsLoading(),this.dispatch("submit",e)}},{key:"loadCustomFormElements",value:function(){if(!this.config.disabled){for(var e=this.wrapper.children,t=e.length,n=0;n<t;n++){"INPUT"===e[0].tagName&&(e[0].type="text",e[0].classList.add("t-input"),e[0].id="t-"+e[0].name,"email"===e[0].name&&(this.removeScheletonEmail(),this.emailElement=e[0],!0));var r=e[0].name;this.scheleton.getElementsByClassName("t-form-group")[0].appendChild(e[0]),void 0!==r&&this.scheleton.getElementsByClassName("t-form-group")[0].appendChild(this.createFeedbackMessageElement(r))}this.wrapper.appendChild(this.scheleton)}}},{key:"createFeedbackMessageElement",value:function(e){var t=document.createElement("div");return t.classList.add("t-message"),t.id="t-feedback-"+e,t}},{key:"removeScheletonEmail",value:function(){this.scheleton.getElementsByClassName("t-email")[0].parentElement.removeChild(this.scheleton.getElementsByClassName("t-email")[0]),this.scheleton.getElementsByClassName("t-message")[0].parentElement.removeChild(this.scheleton.getElementsByClassName("t-message")[0])}},{key:"createElementFromHTML",value:function(e){var t=document.createElement("div");return t.innerHTML=e,t.firstChild}},{key:"addFeedback",value:function(e,t){this.config.disabled||(this.addPaddingButton("7px"),this.writeFeedback(e,t).classList.add("roll-down"))}},{key:"removeFeedback",value:function(e){this.config.disabled||(this.addPaddingButton("16px"),this.writeFeedback(e,"").classList.remove("roll-down"))}},{key:"writeFeedback",value:function(e,t){if(!this.config.disabled){var n=document.getElementById("t-feedback-"+e);return this.config.style.inline&&this.wrapper.appendChild(n),n.innerHTML="",n.innerHTML=t,n}}},{key:"getFeedback",value:function(e){if(!this.config.disabled)return document.getElementById("t-feedback-"+e).innerHTML}},{key:"validateEmail",value:function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}},{key:"setSubmitButtonAsLogin",value:function(){this.config.disabled||(this.addPaddingButton("16px"),this.submitButton.disabled=!1,this.submitButton.style.cursor="pointer",this.submitButton.innerHTML=this.config.button.texts.login,this.enableInputs())}},{key:"setSubmitButtonAsLoading",value:function(){this.config.disabled||this.submitButton.querySelectorAll("svg").length>0||(this.submitButton.previousElementSibling.classList.contains("t-hidden")&&(this.submitButton.style.marginTop="0"),this.submitButton.innerHTML=c+this.config.button.texts.loading,this.submitButton.disabled=!0,this.submitButton.style.cursor="auto",this.spinner=document.getElementsByClassName("t-button-spinner")[0],this.spinner.style.verticalAlign="sub",this.spinner.style.marginRight="8px")}},{key:"setSubmitButtonAsNotLoading",value:function(){this.config.disabled||(this.submitButton.innerHTML=this.config.button.texts.CTA,this.submitButton.disabled=!1,this.submitButton.style.cursor="pointer",this.enableInputs())}},{key:"enableInputs",value:function(){this.config.disabled||[].concat(u(this.inputs)).forEach(function(e){e.disabled=!1})}},{key:"hideSubmitButton",value:function(){this.config.disabled||this.submitButton.classList.add("t-hidden")}},{key:"showSubmitButton",value:function(){this.config.disabled||this.submitButton.classList.remove("t-hidden")}},{key:"hideForm",value:function(){this.config.disabled||document.getElementsByClassName("t-form-group")[0].classList.add("t-hidden")}},{key:"showForm",value:function(){this.config.disabled||document.getElementsByClassName("t-form-group")[0].classList.remove("t-hidden")}},{key:"hideCustomFields",value:function(){if(!this.config.disabled){[].concat(u(this.inputs)).forEach(function(e){"email"!==e.name&&e.classList.add("t-hidden")});for(var e=this.wrapper.querySelectorAll("label"),t=0;t<e.length;t++)"email"!==e[t].htmlFor&&e[t].classList.add("t-hidden")}}},{key:"populateInputWithFakeEmail",value:function(){var e=this;if(!this.config.disabled){var t=new XMLHttpRequest;t.onloadend=function(){200===t.status&&""!==t.response&&(e.dispatch("fake-email-loaded",t.response),e.emailInput.value=t.response)},t.open("GET","https://tuemilio.test/api/v2/public/email/fake"),t.send()}}},{key:"addPaddingButton",value:function(e){this.config.style.inline||(this.submitButton.style.marginTop=e)}}]),t}()),p=(n(26),n(28)),h=n.n(p),m=n(29),b=n.n(m),g=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var y=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.element=e.createElementFromHTML(b.a),e.card=e.element.querySelector(".t-card"),e.header=e.element.querySelector(".t-card-header"),e.body=e.element.querySelector(".t-card-body"),e.paragraph=e.element.querySelector(".t-paragraph"),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,l),g(t,[{key:"className",value:function(e){return this.element.classList.add(e),this}},{key:"setHeader",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.header.innerHTML=e,this}},{key:"title",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.element.querySelector(".t-title").innerHTML=e,this}},{key:"setParagraph",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.paragraph.innerHTML=e,this}},{key:"setContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.element.querySelector(".t-content").innerHTML=e,this}},{key:"appendContent",value:function(e){return this.element.querySelector(".t-content").appendChild(e),this}},{key:"clickableTitle",value:function(){var e=this;return this.header.style.cursor="pointer",this.header.addEventListener("click",function(){"block"===e.body.style.display?(e.body.style.display="none",e.element.classList.add("t-translate-1")):(e.body.style.display="block",e.element.classList.remove("t-translate-1"))}),this.element.classList.add("t-translate-1"),this.body.style.display="none",this}},{key:"removeHeader",value:function(){return this.card.removeChild(this.header),this}},{key:"removeBody",value:function(){return this.card.removeChild(this.body),this}},{key:"appendNoFrame",value:function(e){return this.removeHeader(),this.removeBody(),this.element.querySelector(".t-card").appendChild(e),this}},{key:"getCard",value:function(){return""===this.paragraph.innerHTML&&(this.paragraph.style.margin="0"),this.element}},{key:"createElementFromHTML",value:function(e){var t=document.createElement("div");return t.innerHTML=e.trim(),t.firstChild}},{key:"setContentTexts",value:function(e){var t=this;this.content.querySelectorAll("[class^=t-text]").forEach(function(n){var r=n.classList[0].split("-").slice(2).map(function(e,n){return 0===n?e:t.ucfirst(e)}).join("");n.innerHTML=e[r]})}},{key:"ucfirst",value:function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},{key:"inject",value:function(e,t){this[t]=e}}]),t}(),v=n(30),w=n.n(v),x=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var k=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.content=e.createElementFromHTML(w.a),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,y),x(t,[{key:"render",value:function(e,t){this.createCountdown(this.content,e.config.ends_at);var n=e.config.texts;return this.setContentTexts(n),this.className("t-countdown").title(n.countdownTitle).setParagraph(n.countdownParagraph).appendContent(this.content).getCard()}},{key:"createCountdown",value:function(e,t){var n=new Date(t).getTime(),r=setInterval(function(){var t=(new Date).getTime(),i=n-t,o=Math.floor(i/864e5).toString(),a=Math.floor(i%864e5/36e5).toString(),s=Math.floor(i%36e5/6e4).toString(),l=Math.floor(i%6e4/1e3).toString();e.querySelector(".t-days").innerHTML=o.length>1?o:"0"+o,e.querySelector(".t-hours").innerHTML=a.length>1?a:"0"+a,e.querySelector(".t-minutes").innerHTML=s.length>1?s:"0"+s,e.querySelector(".t-seconds").innerHTML=l.length>1?l:"0"+l,i<0&&(clearInterval(r),document.querySelector(".t-countdown").innerHTML="")},100)}}]),t}(),E=n(31),S=n.n(E),C=n(3),T=n.n(C),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var L=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.content=e.createElementFromHTML(S.a),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,y),_(t,[{key:"render",value:function(e,t){var n=this,r=e.config.texts;return this.buildShareable(e,t),this.setContentTexts(r),new T.a(".t-modal-copy-btn").on("success",function(e){var t=n.content.querySelector(".t-modal-copy-btn"),i=t.innerHTML;t.innerHTML=r.taskCopiedButton,setTimeout(function(){t.innerHTML=i},1e3),n.GoogleAnalytics.sendEvent("subscriber","shared","link")}),this.className("t-current-task").title(r.taskTitle).setParagraph(r.taskParagraph).appendContent(this.content).getCard()}},{key:"showShareButtons",value:function(){this.shareSocial&&this.shareSocial.classList.remove("hidden"),this.shareLink&&this.shareLink.classList.remove("hidden")}},{key:"buildShareable",value:function(e,t){var n=this,r=t.dashboard.social.texts;this.shareSocial=this.content.querySelectorAll(".t-share-social")[0],this.shareLink=this.content.querySelectorAll(".t-share-link")[0];var i=t.dashboard.social.buttons;this.shareSocial&&function(t){["facebook","twitter","linkedin","whatsapp","wechat","reddit","telegram"].forEach(function(o){var a=t.querySelector(".t-btn-"+o);a&&(a.href=n[o+"Link"](e.subscriber.referral_link,r[o+"Quote"],r.hashTags),a.addEventListener("click",function(){n.GoogleAnalytics.sendEvent("subscriber","shared",o)}),i[o]||a.classList.add("t-hidden"))});var o=t.querySelector(".t-btn-email");o&&(o.href=n.emailLink(e.subscriber.referral_link,r.emailSubject,r.emailBody),o.addEventListener("click",function(){n.GoogleAnalytics.sendEvent("subscriber","shared","email")}),i.email||o.classList.add("t-hidden"))}(this.shareSocial),this.shareLink&&(""!==t.host?this.shareLink.querySelector("input").value=t.host+"?r="+e.subscriber.referral_id:this.shareLink.querySelector("input").value=e.subscriber.referral_link),this.showShareButtons()}},{key:"popUpLinkBuilder",value:function(e){return"javascript:window.open('"+e+"', '_blank', 'width=600,height=500');void(0);"}},{key:"linkBuilder",value:function(e){return e}},{key:"facebookLink",value:function(e,t){return this.popUpLinkBuilder("https://www.facebook.com/sharer/sharer.php?u="+encodeURI(e)+"&quote="+encodeURI(t))}},{key:"twitterLink",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return this.popUpLinkBuilder("https://twitter.com/intent/tweet?url="+encodeURI(e)+"&text="+encodeURI(t)+"&hashtags="+n)}},{key:"linkedinLink",value:function(e){return this.popUpLinkBuilder("https://www.linkedin.com/sharing/share-offsite/?url="+encodeURI(e))}},{key:"whatsappLink",value:function(e,t){return this.linkBuilder("https://api.whatsapp.com/send?text="+encodeURIComponent(t+" "+e)+"&q=q")}},{key:"wechatLink",value:function(e){return this.popUpLinkBuilder("https://chart.apis.google.com/chart?cht=qr&chs=154x154&chld=Q%7C0&chl="+encodeURI(e))}},{key:"redditLink",value:function(e,t){return this.popUpLinkBuilder("https://reddit.com/submit?title="+encodeURI(t)+"&url="+encodeURI(e))}},{key:"telegramLink",value:function(e,t){return this.popUpLinkBuilder("https://t.me/share?url="+encodeURI(e)+"&text="+encodeURI(t))}},{key:"emailLink",value:function(e,t,n){return"mailto:?subject="+t+"&body="+n+"%0D%0A%0D%0A"+e}}]),t}(),O=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var j=new(function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,y),O(t,[{key:"render",value:function(e,t){if(e.config.positions.hidden.includes("gif"))return document.createElement("span");var n=document.createElement("img");return n.src=e.config.gif_url,n.style.width="100%",null===e.config.gif_url?(console.warn("No gif/image link provided. Please set one in Dashboard > Settings"),this.title("GIF Error").setParagraph('<span style="color: red">No gif/image link provided. Please set one in Dashboard > Settings</span>').getCard()):this.className("t-gif").appendNoFrame(n).getCard()}}]),t}()),M=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var P=new(function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,y),M(t,[{key:"render",value:function(e,t){if(e.config.positions.hidden.includes("video"))return document.createElement("span");if(null===e.config.video_url)return console.warn("No Youtube/Vimeo link provided. Please set one in Dashboard > Settings"),this.title("Video Error").setParagraph('<span style="color: red">No Youtube/Vimeo link provided. Please set one in Dashboard > Settings</span>').getCard();var n=document.createElement("iframe");return n.src=this.url.createVideoUrlEmbed(e.config.video_url),this.className("t-video").appendNoFrame(n).getCard()}}]),t}()),B=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var A=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,y),B(t,[{key:"render",value:function(e,t){var n=this;if(null===e.config.video_url)return console.warn("No Typeform link provided. Please set one in Dashboard > Settings"),this.title("Typeform Error").setParagraph('<span style="color: red">No Typeform link provided. Please set one in Dashboard > Settings</span>').getCard();if("none"!==t.dashboard.survey.header&&this.setHeader('<h2 class="t-text-survey-title">'+e.config.texts.surveyTitle+'</h2><div class="t-survey-points-wrapper" style="opacity: 0.4;"><div class="t-flex"><span class="t-survey-pending">'+e.config.texts.referredsPending+'</span><div class="t-survey-points">+ '+e.rates.survey_point_rate+"</div></div></div>"),"click"===e.config.survey_header&&this.clickableTitle(),"none"===e.config.survey_header&&this.removeHeader(),0===e.subscriber.surveys.length){if("typeform"===t.dashboard.survey.type){var r=document.createElement("script");this.body.classList.add("t-typeform"),r.onload=function(){typeformEmbed.makeWidget(n.body,e.config.typeform_url,{hideHeaders:!0,hideFooter:!0,opacity:100,buttonText:"Take the survey!",onSubmit:function(){document.querySelector(".t-survey-points-wrapper").style.opacity=1,document.querySelector(".t-survey-pending").innerHTML="",document.querySelector(".t-survey-points").classList.add("jello-horizontal"),n.dispatch("submitted",{type:"typeform"}),n.GoogleAnalytics.sendEvent("subscriber","took survey","typeform")}})},r.src="https://embed.typeform.com/embed.js",document.head.appendChild(r)}}else this.setParagraph(e.config.texts.surveyCompleted),"none"!==t.dashboard.survey.header?(this.element.querySelector(".t-survey-points-wrapper").style.opacity=1,this.element.querySelector(".t-survey-pending").innerHTML="",this.element.querySelector(".t-survey-points").classList.add("jello-horizontal")):this.card.style.paddingTop="1.25rem";return this.className("t-survey").getCard()}}]),t}(),I=n(32),q=n.n(I),F=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var z=new(function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.content=e.createElementFromHTML(q.a),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,y),F(t,[{key:"render",value:function(e,t){var n=e.config.texts;return this.setContentTexts(n),this.content.querySelector(".t-modal-dashboard-points").innerHTML=e.subscriber.points,this.content.querySelector(".t-modal-bar-width").style.width=t.dashboard.objective.offset+100*e.subscriber.points/e.config.objective_max+"%",this.className("t-objective").title(n.objectiveTitle).appendContent(this.content).getCard()}}]),t}()),R={facebook:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="#3B5999" fill-rule="evenodd" d="M14.035 20l-.001-7.467h2.59l.387-3.008h-2.976v-1.92c0-.87.241-1.463 1.49-1.463h1.592v-2.69a21.61 21.61 0 0 0-2.32-.119c-2.296 0-3.867 1.401-3.867 3.975v2.217H8.333v3.007h2.597V20H2.5A2.5 2.5 0 0 1 0 17.5v-15A2.5 2.5 0 0 1 2.5 0h15A2.5 2.5 0 0 1 20 2.5v15a2.5 2.5 0 0 1-2.5 2.5h-3.465z"/></svg>',linkedin:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"> <g fill="none" fill-rule="evenodd"> <rect width="20" height="20" fill="#0274B3" rx="2"/> <path fill="#FFF" d="M10.75 17h-3V7.5h3v1.271c.623-1.143 1.733-1.521 2.772-1.521 1.556 0 3.478.737 3.478 3.847V17h-2.956v-4.238c0-2.021-.125-2.895-1.534-2.895-1.457 0-1.76.76-1.76 2.895V17zM4.5 6.25a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5zM3 7.5h3V17H3V7.5z"/> </g></svg>',reddit:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"> <g fill="none" fill-rule="evenodd"> <circle cx="10" cy="10" r="10" fill="#FF4500"/> <path fill="#FFF" fill-rule="nonzero" d="M13.241 4.583a1 1 0 1 1-.088.492l-2.193-.463-.693 3.142c1.524.049 2.893.51 3.882 1.227a1.5 1.5 0 1 1 1.581 2.44c.014.109.02.218.02.329 0 2.21-2.574 4-5.75 4s-5.75-1.79-5.75-4c0-.11.006-.22.02-.329a1.5 1.5 0 1 1 1.58-2.44c.994-.72 2.372-1.183 3.905-1.227l.77-3.492a.25.25 0 0 1 .296-.19l2.42.51zM12.3 12.05a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-4.6 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-.127 1.774c.605.48 1.419.717 2.433.717 1.015 0 1.829-.237 2.434-.717a.25.25 0 0 0-.31-.392c-.51.404-1.214.61-2.124.61-.909 0-1.614-.206-2.123-.61a.25.25 0 1 0-.31.392z"/> </g></svg>',telegram:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"> <path fill="#00A7E6" fill-rule="evenodd" d="M10 20C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10zM5.063 8.312a1 1 0 0 0-.199 1.807l2.922 1.752a1 1 0 0 1 .343.343l1.752 2.922a1 1 0 0 0 1.807-.199l2.68-8.04a1 1 0 0 0-1.265-1.265l-8.04 2.68z"/> </svg>',twitter:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"> <path fill="#1DA1F1" fill-rule="nonzero" d="M17.015 4.797a3.79 3.79 0 0 0 1.673-2.088c-.747.44-1.563.75-2.415.916a3.813 3.813 0 0 0-2.776-1.191c-1.161 0-2.26.525-2.981 1.428a3.75 3.75 0 0 0-.724 3.205 10.827 10.827 0 0 1-7.839-3.942 3.733 3.733 0 0 0-.516 1.896c-.001 1.262.634 2.44 1.692 3.14a3.811 3.811 0 0 1-1.723-.47v.047a3.783 3.783 0 0 0 3.051 3.7 3.838 3.838 0 0 1-1.718.064 3.803 3.803 0 0 0 3.553 2.62 7.67 7.67 0 0 1-4.724 1.616 7.96 7.96 0 0 1-.907-.053 10.828 10.828 0 0 0 5.83 1.695c6.996 0 10.821-5.75 10.821-10.735 0-.165-.003-.327-.01-.489A7.697 7.697 0 0 0 19.2 4.203c-.682.3-1.415.503-2.185.594z"/> </svg>',star:'<svg class="feather-star" xmlns="http://www.w3.org/2000/svg" width="1rem" height="1rem" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg>',badge:'<svg class="feather feather-award sc-dnqmqq jxshSx" xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="8" r="7"></circle><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline></svg>',user:'<svg style="margin-bottom: 4px;" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-reactid="1321"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>'};var U=30,H=5,D=40,N=2,V=["#6eaaff","#004bb6"],X=function(e){return Math.round(100*e)/100},Y=function(e,t){return{x:e,y:t,toString:function(){return X(this.x)+" "+X(this.y)}}},G=function(e){var t=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)}(e);return Y(3*e.x/t,3*e.y/t)},W=function(e,t){return Y(e.x+t.x,e.y+t.y)},Q=function(e,t){return Y(e.x-t.x,e.y-t.y)},Z=function(e){return e[e.length-1]};var J=function(e){e.length<=N&&(e=[1,1,1,1,1,1]);e[0];for(var t=(Z(e),e),n=Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))/U,r=0;r<t.length;r++)t[r]=X(t[r])/n;var i=100/e.length,o=[],a=H,s=!0,l=!1,c=void 0;try{for(var d,u=t[Symbol.iterator]();!(s=(d=u.next()).done);s=!0){var f=d.value;a+=i,o.push(Y(a,D-f))}}catch(e){l=!0,c=e}finally{try{!s&&u.return&&u.return()}finally{if(l)throw c}}for(var p=Y(H,D),h=o[0],m=o[1],b="M"+p+" C "+W(p,G(Q(h,p)))+", "+W(h,G(Q(p,m)))+", "+h,g=1;g<o.length;g++){var y=o[g-1],v=o[g],w=o[g+1]||v;b+=" S "+W(v,G(Q(y,w)))+", "+v}var x=Z(o);return'<svg width="100" height="50" viewBox="0 0 110 50" xmlns="http://www.w3.org/2000/svg">\n <defs>\n <linearGradient x1="0%" y1="0%" x2="100%" y2="0%" id="a">\n <stop stop-color="'+V[0]+'" offset="0%"/>\n <stop stop-color="'+V[1]+'" offset="100%"/>\n </linearGradient>\n </defs>\n <path stroke="url(#a)"\n stroke-width="7"\n stroke-linejoin="round"\n stroke-linecap="round"\n d="'+b+'"\n fill="none"/>\n <circle r="1" cx="'+p.x+'" cy="'+p.y+'" fill="'+V[0]+'"/>\n <circle r="1" cx="'+x.x+'" cy="'+x.y+'" fill="'+V[1]+'"/> \n</svg>'},$=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var K=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.content=document.createElement("div"),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,y),$(t,[{key:"render",value:function(e,t){var n=this,r=e.config.texts;this.setContentTexts(r);var i=0;return e.waiters.forEach(function(r){var o=document.createElement("div");o.classList.add("t-waitlist-row");var a=1===r.position.toString().length?"0"+r.position:r.position,s=document.createElement("div");s.classList.add("t-waitlist-position");var l=document.createElement("div");l.classList.add("t-waitlist-address");var c=document.createElement("div");c.classList.add("t-waitlist-points");var d=document.createElement("div");if(d.classList.add("t-waitlist-sparkline"),e.subscriber.address===r.address?(o.classList.add("t-waitlist-row-self"),s.style.opacity="1",c.style.color="#FD527E",c.style.opacity="1"):o.style.margin="8px 15px",r.position<=3&&(a=R.badge,s.style.opacity=1),1===r.position&&(s.style.color="gold"),2===r.position&&(s.style.color="#a5a4c5"),3===r.position&&(s.style.color="brown"),s.innerHTML=a,l.innerHTML=r.address,c.innerHTML=R.star+r.points,e.config.show_sparkline){var u=r.pulse.map(function(e){return e.v});d.innerHTML=J(u)}o.appendChild(s),o.appendChild(l),e.config.show_sparkline&&o.appendChild(d),o.appendChild(c),n.content.appendChild(o),o.style.opacity="0",t.dashboard.listAnimation?setTimeout(function(){o.classList.add("roll-down"),o.style.opacity="1"},100*i++):o.style.opacity="1"}),this.className("t-leaderboard").title(r.leaderboardTitle).setParagraph(r.leaderboardParagraph).appendContent(this.content).getCard()}}]),t}(),ee=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var te=new(function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.content=document.createElement("div"),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,y),ee(t,[{key:"render",value:function(e,t){var n=this;if(e.config.positions.hidden.includes("shareOn"))return document.createElement("span");var r=e.config.share_on,i=0;Object.keys(r).forEach(function(o){if(r[o]){var a=document.createElement("div");a.classList.add("t-shareon-row"),a.innerHTML=R[o]+'<div class="t-shareon-platform">'+o+'</div><div class="t-shareon-points-wrapper" style="opacity: .4"><div class="t-flex"><span class="t-shareon-pending">'+e.config.texts.shareOnPending+'</span><div class="t-shareon-points">+ '+e.rates.shareon_point_rate+"</div></div></div>",e.shareds.forEach(function(e){e.name.toLowerCase()===o&&(a.querySelector(".t-shareon-points-wrapper").style.opacity=1,a.querySelector(".t-shareon-pending").innerHTML="")}),n.content.appendChild(a),a.style.opacity="0",t.dashboard.listAnimation?setTimeout(function(){a.classList.add("roll-down"),a.style.opacity="1"},100*i++):a.style.opacity="1"}});var o=e.config.texts;return this.setContentTexts(o),this.className("t-share-on").title(o.shareOnTitle).setParagraph(o.shareOnParagraph).appendContent(this.content).getCard()}}]),t}()),ne=n(33),re=n.n(ne),ie=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var oe=new(function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.content=e.createElementFromHTML(re.a),e.colors=[{background:"#c8d9f1",color:"#467fcf"},{background:"#c7e6fb",color:"#45aaf2"},{background:"#fee0c7",color:"#fd9644"},{background:"#fbedb7",color:"#f1c40f"},{background:"#f0bcbc",color:"#cd201f"},{background:"#cfeab3",color:"#5eba00"},{background:"#b9e3ea",color:"#17a2b8"},{background:"#bfefea",color:"#2bcbba"}],e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,y),ie(t,[{key:"render",value:function(e,t){var n=this;if(e.config.positions.hidden.includes("referreds"))return document.createElement("span");0===e.referreds_count&&this.setContent('<div class="t-shareon-row">'+R.user+'<div class="t-shareon-platform" style="text-transform:none">'+e.config.texts.referredsUnit+'</div><div class="t-shareon-points-wrapper" style="opacity:0.4;"><div class="t-flex"><span class="t-shareon-pending">'+e.config.texts.referredsPending+'</span><div class="t-shareon-points">+ '+e.rates.referrer_point_rate+"</div></div></div></div>");var r=0;e.referreds.forEach(function(i){var o=document.createElement("div");o.classList.add("t-shareon-row"),o.innerHTML='<div class="t-avatar">'+i.user.slice(0,2)+"</div> <div><span>"+i.user+' · <span style="opacity:0.5">'+R.star+i.points+'</span></span><span class="t-referred-date">'+i.created_at+'</span></div><div class="t-referred-points"><div class="t-shareon-points jello-horizontal">+ '+e.rates.referrer_point_rate+"</div></div>",o.getElementsByClassName("t-avatar")[0].style.backgroundColor=n.colors[r%n.colors.length].background,o.getElementsByClassName("t-avatar")[0].style.color=n.colors[r%n.colors.length].color,o.style.opacity="0",n.content.querySelector(".t-referred-list").appendChild(o),t.dashboard.listAnimation?setTimeout(function(){o.classList.add("roll-down"),o.style.opacity="1"},100*r++):o.style.opacity="1"});var i=e.config.texts;return this.setContentTexts(i),this.className("t-referreds").title(e.referreds_count+" "+i.referredsTitle).setParagraph(i.referredsParagraph).appendContent(this.content).getCard()}}]),t}()),ae=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var se=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return ae(e,[{key:"parseUrlParams",value:function(e){for(var t=e.split("&"),n={},r=0;r<t.length;r++){var i=t[r].split("="),o=decodeURIComponent(i[0]),a=decodeURIComponent(i[1]);if(void 0===n[o])n[o]=decodeURIComponent(a);else if("string"==typeof n[o]){var s=[n[o],decodeURIComponent(a)];n[o]=s}else n[o].push(decodeURIComponent(a))}return n}},{key:"parameter",value:function(e){var t=window.location.search.substring(1),n=this.parseUrlParams(t);return void 0===n[e]?"":n[e].replace(/\//g,"")}},{key:"getReferrerId",value:function(){return this.parameter("referrerId")||this.parameter("referrerid")||this.parameter("referrerID")||this.parameter("rid")||this.parameter("r")}},{key:"getEmail",value:function(){return this.parameter("email")}},{key:"createVideoUrlEmbed",value:function(e){return this.isYoutube(e)?"https://www.youtube.com/embed/"+this.getYoutubeId(e):this.isVimeo(e)?"https://player.vimeo.com/video/"+this.getVimeoId(e)+"?title=0&byline=0&portrait=0":void 0}},{key:"getYoutubeId",value:function(e){return this.parseUrlParams(e.split("?")[1]).v}},{key:"getVimeoId",value:function(e){return e.substr(e.lastIndexOf("/")+1)}},{key:"isYoutube",value:function(e){return e.includes("youtube")}},{key:"isVimeo",value:function(e){return e.includes("vimeo")}},{key:"getWithoutParameters",value:function(){return location.protocol+"//"+location.host+location.pathname}}]),e}()),le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ce=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var de=new(function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,l),ce(t,[{key:"init",value:function(e,t){this.element="",this.config=e,this.wrapper=document.getElementById("t-dashboard"),this.loaded=!1,this.googleAnalytics=t}},{key:"render",value:function(e){var t=this;this.element=document.createElement("div"),this.element.innerHTML=h.a;var n=this.mergeTags(this.element.querySelector(".t-hero-text"),e,e.config.hero_html),r=this.mergeTags(this.element.querySelector(".t-footer-text"),e,e.config.footer_html),i=new L;i.inject(this.googleAnalytics,"GoogleAnalytics"),P.inject(se,"url");var o=new A;o.inject(this.googleAnalytics,"GoogleAnalytics"),o.on("submitted",function(){t.dispatch("surveySubmitted",{type:"typeform"})});var a={countdown:new k,currentTask:i,gif:j,video:P,survey:o,objective:z,leaderboard:new K,shareOn:te,referreds:oe};return e.config.positions.left.forEach(function(n){void 0!==a[n]&&t.element.querySelector(".t-left").appendChild(a[n].render(e,t.config))}),e.config.positions.right.forEach(function(n){void 0!==a[n]&&t.element.querySelector(".t-right").appendChild(a[n].render(e,t.config))}),n.querySelectorAll(".t-card-current_task").forEach(function(n){var r=new L;r.inject(t.googleAnalytics,"GoogleAnalytics"),n.appendChild(r.render(e,t.config))}),n.querySelectorAll(".t-card-leaderboard").forEach(function(n){var r=new K;n.appendChild(r.render(e,t.config))}),n.querySelectorAll(".t-card-survey").forEach(function(n){var r=new A;r.inject(t.googleAnalytics,"GoogleAnalytics"),n.appendChild(r.render(e,t.config))}),n.querySelectorAll(".t-card-countdown").forEach(function(n){var r=new k;n.appendChild(r.render(e,t.config))}),r.querySelectorAll(".t-card-current_task").forEach(function(n){var r=new L;r.inject(t.googleAnalytics,"GoogleAnalytics"),n.appendChild(r.render(e,t.config))}),r.querySelectorAll(".t-card-leaderboard").forEach(function(n){var r=new K;n.appendChild(r.render(e,t.config))}),r.querySelectorAll(".t-card-survey").forEach(function(n){var r=new A;r.inject(t.googleAnalytics,"GoogleAnalytics"),n.appendChild(r.render(e,t.config))}),r.querySelectorAll(".t-card-countdown").forEach(function(n){var r=new k;n.appendChild(r.render(e,t.config))}),this.config.dashboard.texts&&Object.keys(this.config.dashboard.texts).forEach(function(e){var n="tu-text-"+e.split(/(?=[A-Z])/).map(function(e){return e.toLowerCase()}).join("-");"object"===le(t.config.dashboard.texts[e])?Object.keys(t.config.dashboard.texts[e]).forEach(function(r){t.element.getElementsByClassName(n+"-"+r)[0]&&(t.element.getElementsByClassName(n+"-"+r)[0].innerHTML=t.config.dashboard.texts[e][r])}):t.element.getElementsByClassName(n)[0]&&(t.element.getElementsByClassName(n)[0].innerHTML=t.config.dashboard.texts[e])}),this.loaded=!0,this.element}},{key:"show",value:function(){this.wrapper.classList.remove("t-hidden")}},{key:"hide",value:function(){this.wrapper.classList.add("t-hidden")}},{key:"mergeTags",value:function(e,t,n){var r=this,i=e;return i.innerHTML=n,i.querySelectorAll(".t-text-name").forEach(function(e){e.innerHTML=t.subscriber.address}),i.querySelectorAll(".t-text-email").forEach(function(e){e.innerHTML=t.subscriber.address}),i.querySelectorAll(".t-text-position").forEach(function(e){e.innerHTML=t.subscriber.position}),i.querySelectorAll(".t-text-total_subscribers").forEach(function(e){e.innerHTML=t.subscribers_count}),i.querySelectorAll(".t-text-points").forEach(function(e){e.innerHTML=t.subscriber.points}),i.querySelectorAll(".t-text-referreds").forEach(function(e){e.innerHTML=t.referreds_count}),i.querySelectorAll(".t-text-referral_link").forEach(function(e){e.innerHTML='<a href="'+t.subscriber.referral_link+'">'+t.subscriber.referral_link+"</a>"}),i.querySelectorAll(".t-text-dashboard_link").forEach(function(e){""!==r.config.host?e.innerHTML='<a href="'+r.config.host+"?email="+t.subscriber.address+'">'+r.config.host+"?email="+t.subscriber.address+"</a>":e.innerHTML='<a href="'+t.subscriber.dashboard_link+'">'+t.subscriber.dashboard_link+"</a>"}),i}}]),t}()),ue=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var fe=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,l),ue(t,[{key:"post",value:function(e,t,n){this.request("POST",e,t,n)}},{key:"get",value:function(e,t){this.request("GET",e,{},t)}},{key:"request",value:function(e,t,n,r){var i=this,o=new XMLHttpRequest;o.open(e,t),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.send(JSON.stringify(n)),o.onloadend=function(){i.respond(o.response,o.status),r&&r(o)},o.onerror=function(){i.dispatch("error")}}},{key:"respond",value:function(e,t){var n=JSON.parse(e);this.dispatch(t,n)}}]),t}();var pe=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var he=new(function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,l),pe(t,[{key:"set",value:function(e,t,n){var r="";if(n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3),r="; expires="+i.toUTCString()}document.cookie=e+"="+(t||"")+r+"; path=/"}},{key:"get",value:function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var i=n[r];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return null}},{key:"erase",value:function(e){document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;"}},{key:"isEnabled",value:function(){if(navigator.cookieEnabled)return!0;document.cookie="cookietest=1";var e=-1!==document.cookie.indexOf("cookietest=");return document.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}},{key:"detectPrivateMode",value:function(){var e=this;this.isPrivateMode(function(t){t?e.dispatch("isPrivateMode",!0):e.dispatch("isPrivateMode",!1)})}},{key:"isPrivateMode",value:function(e){var t=void 0,n=e.bind(null,!0),r=e.bind(null,!1);window.webkitRequestFileSystem?webkitRequestFileSystem(0,0,r,n):"MozAppearance"in document.documentElement.style?((t=indexedDB.open("test")).onerror=n,t.onsuccess=r):/constructor/i.test(window.HTMLElement)||window.safari?function(){try{localStorage.length?r():(localStorage.x=1,localStorage.removeItem("x"),r())}catch(e){navigator.cookieEnabled?n():r()}}():window.indexedDB||!window.PointerEvent&&!window.MSPointerEvent?r():n()}}]),t}()),me=n(34),be=n.n(me),ge=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var ye=new(function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.config="",e.span="",e.element="",e.dashboard="",e.initialized=!1,e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,l),ge(t,[{key:"init",value:function(e){this.config=e,this.dashboard="",this.dashboardButton=""}},{key:"render",value:function(e){var t=this;return this.dashboard=e,this.element=document.createElement("div"),this.element.style.display="none",this.element.innerHTML=be.a,this.element.getElementsByClassName("t-modal-elements")[0].appendChild(this.dashboard),this.span=this.element.getElementsByClassName("t-modal-close")[0],this.dashboardButton=this.element.querySelector(".t-button-dashboard"),this.dashboardButton.innerHTML=this.config.form.button.texts.checkDashboard,document.getElementById("t-signup")?document.getElementById("t-signup").appendChild(this.dashboardButton):document.getElementById("t-dashboard")?document.getElementById("t-dashboard").appendChild(this.dashboardButton):console.warn("The dashboard button is loaded, but no place to show it. Please add <div id=\"t-dashboard\"></div> in your website. If you are planning to add a full custom dashboard, disable the native dashboard when initializing Tuemilio like this: \n \n Tuemilio('init', {\n dashboard: {\n disabled: true\n }\n });"),this.span.onclick=function(){t.close()},window.onclick=function(e){e.target===t.element.firstChild&&t.close()},document.onkeydown=function(e){"Escape"===(e=e||window.event).key&&t.close()},this.initialized=!0,this.element}},{key:"show",value:function(){this.element.style.display="block",document.getElementsByClassName("t-modal")[0].classList.remove("fade-out"),document.getElementsByClassName("t-modal")[0].classList.add("fade-in");for(var e=document.getElementsByClassName("t-card"),t=0;t<e.length;t++)e.item(t).classList.add("roll-down")}},{key:"close",value:function(){var e=this;document.getElementsByClassName("t-modal")[0].classList.remove("fade-in"),document.getElementsByClassName("t-modal")[0].classList.add("fade-out"),setTimeout(function(){e.element.style.display="none"},180),this.dispatch("closed")}},{key:"showDashboardButton",value:function(){this.dashboardButton.classList.remove("t-hidden")}},{key:"hideDashboardButton",value:function(){this.dashboardButton.classList.add("t-hidden")}},{key:"setDashboardButtonAsLoading",value:function(){this.dashboardButton.querySelectorAll("svg").length>0||(this.dashboardButton.innerHTML=c+this.config.form.button.texts.loading,this.dashboardButton.disabled=!0,this.dashboardButton.style.cursor="auto",this.spinner=this.dashboardButton.querySelector(".t-button-spinner"),this.spinner.style.verticalAlign="sub",this.spinner.style.marginRight="8px")}}]),t}()),ve={host:"",remoteUpdated:!1,form:{disabled:!1,customSubmit:!1,loginFormOnUserIdentified:!1,forceLoginForm:!1,style:{inline:!1},input:{texts:{placeholder:"name@email.com"}},button:{texts:{CTA:"Request early access",loading:"Loading",checkDashboard:"Dashboard",login:"Login"}},feedback:{disabled:!1,texts:{empty:"Don't forget your email!",invalidEmail:"Wrong email!",success:"Thanks!",unaccepted:"We do not accept that email",unauthorized:"You did not subscribe with that email"}}},dashboard:{disabled:!1,objective:{offset:1,max:5},type:"modal",url:"",gif:{type:"card",url:""},video:{type:"card",url:""},survey:{type:"typeform",url:"",header:"default"},shareOn:{facebook:!0,twitter:!0,telegram:!0,linkedin:!0,reddit:!0},loadOnUserIdentified:!0,modal:{preventShowAfterSubscribing:!1,preventShowAfterLogin:!1,disabled:!1},listAnimation:!0,texts:{taskTitle:"Current Task",taskParagraph:"Invite people you know personally and go up on the waiting list.",taskCopyButton:"Copy",taskCopiedButton:"Copied!",taskOutro:"Or share with:",leaderboardTitle:"Leaderboard",leaderboardParagraph:"This is your position on the list",leaderboardPosition:"Position",leaderboardAddress:"Address",referredsTitle:"Friends invited",referredsParagraph:"",referredsEmpty:"No friends",referredsPending:"Pending",referredsUnit:"Each Friend Invited",objectiveTitle:"Objective",objectiveSubtitle:"Out of your possible 10",objectiveCompleted:"Completed",objectiveUncompleted:"To be done",units:"Points",surveyTitle:"Complete the Survey",surveyCompleted:"Thanks for completing the survey, you got 10 extra points.",surveyPending:"Pending",countdownTitle:"Launching soon",countdownParagraph:"You still have this time to share with your friends",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds",shareOnTitle:"Shared on",shareOnParagraph:"",shareOnPending:"Pending"},social:{buttons:{twitter:!0,facebook:!0,linkedin:!0,email:!0,whatsapp:!0,reddit:!0,wechat:!1,telegram:!0},texts:{facebookQuote:"I just joined this awesome waiting list!",twitterQuote:"I just joined this awesome waiting list!",hashTags:"tuemilio,PH",whatsappQuote:"I joined this, do it to:",redditQuote:"I just joined this awesome waiting list!",telegramQuote:"I just joined this awesome waiting list!",emailBody:"Here is my link",emailSubject:"I just joined this awesome waiting list!",linkQuote:"Share the link below"}}},redirectURL:"",cookies:{disabled:!1},user:{identified:!1},googleAnalytics:{disabled:!1},confetti:{type:"cannons",disabled:!1,length:1,colors:["#ED0154","#F78801","#1872CB","#F8CE26"]},logging:!1},we=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var xe=new(function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.loaded=!1,e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,l),we(t,[{key:"init",value:function(){var e=this;this.isAvailable().then(function(){e.loaded=!0,e.dispatch("loaded")})}},{key:"isAvailable",value:function(){return new Promise(function(e,t){var n=Date.now();!function t(){Date.now()-n>5e3||(window.ga&&ga.create?e(ga):setTimeout(t,500))}()})}},{key:"sendEvent",value:function(e,t,n){this.loaded?"undefined"!=typeof gtag?gtag("event",t,{event_category:e,event_label:n}):ga("send","event",e,t,n):this.on("loaded",function(){"undefined"!=typeof gtag?gtag("event",t,{event_category:e,event_label:n}):ga("send","event",e,t,n)})}},{key:"getClientId",value:function(){return this.loaded?ga.getAll()[0].get("clientId"):null}}]),t}()),ke={};!function(){var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},t={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,ticks:200,x:.5,y:.5,zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"]};function n(){}function r(e,n,r){return function(e,t){return t?t(e):e}(e&&(null!==(i=e[n])&&void 0!==i)?e[n]:t[n],r);var i}function i(e){return parseInt(e,16)}function o(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function a(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function s(e){var t,n,r=e.angle*(Math.PI/180),o=e.spread*(Math.PI/180);return{x:e.x,y:e.y,wobble:10*Math.random(),velocity:.5*e.startVelocity+Math.random()*e.startVelocity,angle2D:-r+(.5*o-Math.random()*o),tiltAngle:Math.random()*Math.PI,color:(t=e.color,n=String(t).replace(/[^0-9a-f]/gi,""),n.length<6&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]),{r:i(n.substring(0,2)),g:i(n.substring(2,4)),b:i(n.substring(4,6))}),tick:0,totalTicks:e.ticks,decay:e.decay,random:Math.random()+5,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0}}function l(t,r,i,s,l){var c=r.slice(),d=t.getContext("2d"),u=t.width,f=t.height,p=i?o:a;function h(){u=f=null}var m,b=(m=function(n){e(function r(){u||f||(p(t),u=t.width,f=t.height),d.clearRect(0,0,u,f),(c=c.filter(function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity,t.y+=Math.sin(t.angle2D)*t.velocity+3,t.wobble+=.1,t.velocity*=t.decay,t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+5,t.wobbleX=t.x+10*Math.cos(t.wobble),t.wobbleY=t.y+10*Math.sin(t.wobble);var n=t.tick++/t.totalTicks,r=t.x+t.random*t.tiltCos,i=t.y+t.random*t.tiltSin,o=t.wobbleX+t.random*t.tiltCos,a=t.wobbleY+t.random*t.tiltSin;return e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-n)+")",e.beginPath(),e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(i)),e.lineTo(Math.floor(o),Math.floor(a)),e.lineTo(Math.floor(r),Math.floor(t.wobbleY)),e.closePath(),e.fill(),t.tick<t.totalTicks}(d,e)})).length?e(r):(s&&window.removeEventListener("resize",h),l(),n())})},ke.exports.Promise?new ke.exports.Promise(m):(m(n,n),null));return s&&window.addEventListener("resize",h,!1),{addFettis:function(e){return c=c.concat(e),b},canvas:t,promise:b}}function c(e,t){var n,i=!e,c=!!r(t||{},"resize"),d=!1;return function(t){var u=r(t,"particleCount",Math.floor),f=r(t,"angle",Number),p=r(t,"spread",Number),h=r(t,"startVelocity",Number),m=r(t,"decay",Number),b=r(t,"colors"),g=r(t,"ticks",Number),y=r(t,"zIndex",Number),v=function(e){var t=r(e,"origin",Object);return t.x=r(t,"x",Number),t.y=r(t,"y",Number),t}(t),w=u,x=[];i?e=n?n.canvas:function(e){var t=document.createElement("canvas");return o(t),t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}(y):c&&!d&&(a(e),d=!0);for(var k=e.width*v.x,E=e.height*v.y;w--;)x.push(s({x:k,y:E,angle:f,spread:p,startVelocity:h,color:b[w%b.length],ticks:g,decay:m}));return n?n.addFettis(x):(i&&document.body.appendChild(e),(n=l(e,x,i,i||c,function(){n=null,i&&document.body.removeChild(e)})).promise)}}ke.exports=c(),ke.exports.create=c,ke.exports.Promise=window.Promise||null}();var Ee=ke.exports;ke.exports.create;var Se=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Ce=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config={}}return Se(e,[{key:"init",value:function(e){this.config=e}},{key:"fireOnce",value:function(){localStorage.getItem("Tuemilio.confettiFired")!==he.get("tu")&&(this.fire(),localStorage.setItem("Tuemilio.confettiFired",he.get("tu")))}},{key:"fire",value:function(){switch(this.config.type){case"cannons":this.cannons();break;case"fireworks":this.fireworks();break;case"snow":this.snow()}}},{key:"cannons",value:function(){var e=Date.now()+1e3*this.config.length;!function t(){Ee({particleCount:5,angle:60,spread:60,origin:{x:0},zIndex:100001,colors:["#ED0154","#F78801","#1872CB","#F8CE26"],startVelocity:80}),Ee({particleCount:5,angle:120,spread:60,origin:{x:1},zIndex:100001,colors:["#ED0154","#F78801","#1872CB","#F8CE26"],startVelocity:80}),Date.now()<e&&requestAnimationFrame(t)}()}},{key:"fireworks",value:function(){var e=Date.now()+1.5*this.config.length*1e3,t=setInterval(function(){if(Date.now()>e)return clearInterval(t);Ee({startVelocity:30,spread:360,ticks:60,origin:{x:Math.random(),y:Math.random()-.2},colors:["#ED0154","#F78801","#1872CB","#F8CE26"],zIndex:100001})},200)}},{key:"snow",value:function(){var e=Date.now()+1e3*this.config.length;!function t(){Ee({particleCount:1,startVelocity:0,ticks:300,origin:{x:Math.random(),y:Math.random()-.2},zIndex:100001,colors:["#ED0154","#F78801","#1872CB","#F8CE26"]}),Ee({particleCount:1,startVelocity:0,ticks:300,origin:{x:Math.random(),y:Math.random()-.2},zIndex:100001,colors:["#F78801","#1872CB","#F8CE26"]}),Ee({particleCount:1,startVelocity:0,ticks:300,origin:{x:Math.random(),y:Math.random()-.2},zIndex:100001,colors:["#1872CB","#F8CE26"]}),Date.now()<e&&requestAnimationFrame(t)}()}}]),e}()),Te=n(35),_e=n.n(Te),Le=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Oe=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.wrapper=document.createElement("div"),this.wrapper.classList.add("t-toast-wrapper"),this.wrapper.classList.add("t-hidden"),this.wrapper.innerHTML=_e.a,document.body.appendChild(this.wrapper)}return Le(e,[{key:"hide",value:function(){this.wrapper.classList.remove("bounceBottom-enter-active"),this.wrapper.classList.add("bounceBottom-leave-active")}},{key:"show",value:function(e){this.wrapper.classList.remove("bounceBottom-leave-active"),this.wrapper.classList.remove("t-hidden"),this.wrapper.classList.add("bounceBottom-enter-active"),this.wrapper.querySelector(".t-content").innerHTML=e.content,this.wrapper.querySelector(".t-title").innerHTML=e.title,e.timeDiff&&(this.wrapper.querySelector(".t-time-diff").innerHTML=e.timeDiff)}}]),e}(),je=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Me=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"tuemilio.test"===window.location.hostname?this.url="https://tuemilio.test/api/v2/":this.url="https://tuemilio.com/api/v2/",this.config="",this.messages=[]}return je(e,[{key:"init",value:function(e){this.config=e,this.ping(),setInterval(function(){},4e3),this.toast=new Oe}},{key:"buildInitialMessages",value:function(e){var t=this;e.online>0&&this.messages.push({title:"",content:e.online+" more people are viewing the site.",count:e.online,type:"online"}),e.subscribed.forEach(function(e){t.messages.push({title:"Someone",content:"just subscribed from ",timeDiff:e.time_diff,type:"subscribed"})}),e.lastDaySubscribers.forEach(function(e){t.messages.push({title:"Someone",content:"Subscribed today",timeDiff:e.time_diff,type:"lastDaySubscribers"})}),this.messages.push({title:"",content:e.subscribers+" already joined the list.",timeDiff:"",type:"subscribers"})}},{key:"startAutoCaroussel",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.toast.show(this.messages[t]),setTimeout(function(){e.toast.hide(),setTimeout(function(){++t<=e.messages.length-1&&e.startAutoCaroussel(t)},1e3*e.config.fomo_interval)},1e3*this.config.fomo_length)}},{key:"ping",value:function(){var e=this,t=new fe;t.get(this.url+"public/lists/"+window[window.TuemilioObject].id+"/fomo"),t.on(200,function(t){e.buildInitialMessages(t),e.startAutoCaroussel()})}}]),e}()),Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Be=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Ae=new(function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));e.id=window[window.TuemilioObject].id,e.supportedAPI=["init","sendVisit","createSubscriber","onInvalidEmail","onEmptyEmail","onVisitCreated","onSubscriberIdentified","onError","onDashboardData","onSubscriberCreated","getDashboard","showDashboard","closeModal","redirect","confetti","onDashboardShown","onDashboardClosed","onSurveySubmitted","createSurveyed","getConfig","onSubscriberUnauthorized","onSubscriberUnaccepted","onSubscriberUnidentified","onFormSubmitted"],e.config=ve,e.subscriber={},e.executedCommands=[],e.queue=[],e.startTime=Date.now(),"tuemilio.test"===window.location.hostname?e.url="https://tuemilio.test/api/v2/":e.url="https://tuemilio.com/api/v2/";new fe;return e.handler=e.handler.bind(e),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,l),Be(t,[{key:"handler",value:function(e,t){var n=this;switch(this.validate(e),this.executedCommands.push(e),this.config.logging&&(console.log("%cHandler: "+this.constructor.name+" "+e,"color:orange;"),this.setLoggin(!0)),e){case"init":t=t||{},this.extendConfig(this.config,t),he.isPrivateMode(function(e){e?n.cookieStatus="not-available":!n.config.cookies.disabled&&he.isEnabled()?he.get("tu")?n.cookieStatus="available":(he.set("tu","xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}),99999),he.get("tu")&&(n.cookieStatus="new")):n.cookieStatus="not-available",n.dispatch("cookie")}),se.getReferrerId()&&(he.set("tu-referrer-id",se.getReferrerId(),365),localStorage.setItem("tu-referrer-id",se.getReferrerId())),f.init(this.config.form),this.config.disabled&&f.hide(),f.on("invalidEmail",function(e){return n.dispatch("invalidEmail",e)}),f.on("emptyEmail",function(e){return n.dispatch("emptyEmail",e)}),f.on("submit",function(e){n.config.form.loginFormOnUserIdentified&&n.subscriber&&(e.action="login"),(n.config.form.forceLoginForm||"page"===n.config.dashboard.type)&&(e.action="login"),ve.form.customSubmit?n.dispatch("formSubmitted",e):n.handler("createSubscriber",e)}),this.config.form.disabled&&(f.hideForm(),f.hideSubmitButton()),"page"===this.config.dashboard.type&&(f.hideForm(),f.setSubmitButtonAsLoading()),this.config.form.forceLoginForm&&(f.setSubmitButtonAsLogin(),f.hideCustomFields()),this.on("configReceived",function(e){if(e.ga_enabled&&xe.init(),e.fomo&&Me.init(e),e.subscriber&&he.set("tu",e.subscriber.cookie_uuid,99999),n.config.redirect=e.redirect,n.config.redirectURL=e.redirect_url,n.config.confetti.disabled=!e.confetti,Ce.init(n.config.confetti),se.getEmail()){var t={address:se.getEmail()};if(n.config.redirect&&se.getWithoutParameters()!==n.config.redirectURL)return void n.handler("redirect",n.config.redirectURL);n.dispatch("subscriberIdentifiedFromDashboardLink",t),n.handler("getDashboard",t)}}),this.on("subscriberUnidentified",function(){"page"===n.config.dashboard.type&&(f.hideCustomFields(),f.setSubmitButtonAsLogin(),f.showForm());var e="";e=""===se.getReferrerId()?"not referred":"referred",xe.sendEvent("visitor","visited",e)}),this.on("subscriberUnaccepted",function(){f.addFeedback("email",n.config.form.feedback.texts.unaccepted),f.setSubmitButtonAsLogin()}),this.on("subscriberUnauthorized",function(){se.getEmail()&&(f.showForm(),f.hideCustomFields()),f.showForm(),f.hideCustomFields(),f.addFeedback("email",n.config.form.feedback.texts.unauthorized),f.setSubmitButtonAsLogin()}),this.on("subscriberIdentified",function(e){n.subscriber=e,n.config.dashboard.loadOnUserIdentified&&(f.hideForm(),f.setSubmitButtonAsLoading()),n.config.form.loginFormOnUserIdentified&&(f.setSubmitButtonAsLogin(),f.hideCustomFields(),f.emailInput.value=n.subscriber.address),n.config.form.forceLoginForm&&(f.emailInput.value=n.subscriber.address);var t="";t=""!==se.getEmail()?"dashboard link":"direct",xe.sendEvent("subscriber","revisited",t)}),this.on("subscriberIdentifiedFromForm",function(){f.hideForm(),n.config.dashboard.modal.preventShowAfterLogin||n.config.dashboard.disabled||n.handler("showDashboard")}),this.on("subscriberIdentifiedFromDashboardLink",function(){f.hideForm(),n.config.dashboard.modal.preventShowAfterLogin||n.config.dashboard.disabled||n.handler("showDashboard")}),this.on("subscriberCreated",function(e){n.subscriber=e,f.hideForm(),n.config.dashboard.modal.preventShowAfterSubscribing||n.config.dashboard.disabled||n.handler("showDashboard");var t="";t=""===se.getReferrerId()?"not referred":"referred",xe.sendEvent("visitor","converted",t),xe.sendEvent("subscriber","joined",t)}),this.on("dashboard",function(e){if(he.set("tu",e.subscriber.cookie_uuid,99999),!n.config.dashboard.disabled){f.hideSubmitButton();var t=document.getElementsByTagName("body")[0];de.init(n.config,xe),de.on("surveySubmitted",function(e){n.dispatch("surveySubmitted"),n.handler("createSurveyed",e)});var r=de.render(e);if("page"===n.config.dashboard.type&&(de.hide(),de.wrapper?de.wrapper.appendChild(r):f.wrapper?f.wrapper.appendChild(r):t.insertBefore(r,t.firstChild),n.handler("showDashboard")),"modal"===n.config.dashboard.type){ye.init(n.config);var i=ye.render(r);t.insertBefore(i,t.firstChild),ye.showDashboardButton(),ye.on("closed",function(){n.dispatch("dashboardClosed")}),ye.dashboardButton.addEventListener("click",function(){n.handler("showDashboard")})}}}),this.on("redirecting",function(){}),"page"!==this.config.dashboard.type||this.isQueued("sendVisit")||this.handler("getDashboard",{address:se.getEmail()||"unknown"}),this.subscriber;break;case"createSubscriber":t.cookie_status=this.cookieStatus,t.referrerUrl=document.referrer,t.timezone=(new Date).getTimezoneOffset()/60,t.clickTime=(new Date-this.startTime)/1e3,t.epoch=Date.now(),t.origin_url=window.location.href,t.cookie_uuid=he.get("tu"),t.referrer_id=t.referralId||se.getReferrerId()||he.get("tu-referrer-id")||localStorage.getItem("tu-referrer-id"),t.ga_id=xe.getClientId(),"object"===Pe(t.custom_fields)&&(t.custom_fields=JSON.stringify(t.custom_fields)),(r=new fe).post(this.url+"public/lists/"+this.id+"/emails",t),r.on(201,function(e){n.dispatch("subscriberCreated",e.subscriber),n.dispatch("dashboard",e)}),r.on(200,function(e){n.dispatch("subscriberIdentifiedFromForm"),n.dispatch("subscriberIdentified",e.subscriber),n.dispatch("dashboard",e)}),r.on(401,function(e){n.dispatch("subscriberUnauthorized",e)}),r.on(422,function(e){n.dispatch("subscriberUnaccepted",e)}),r.on(429,function(e){}),r.on(404,function(e){n.dispatch("error",e.message),console.warn(e.message)});break;case"sendVisit":this.on("cookie",function(){var e=new fe;e.post(n.url+"public/lists/"+n.id+"/visits",{address:se.getEmail()||"",listing:n.id,epoch:Date.now(),referrerUrl:document.referrer,timezone:(new Date).getTimezoneOffset()/60,cookie_uuid:he.get("tu"),cookie_status:n.cookieStatus,origin_url:window.location.href,referrer_id:se.getReferrerId()}),e.on(201,function(e){e.subscriber?(n.dispatch("visitCreated",e),n.dispatch("subscriberIdentified",e.subscriber),n.config.dashboard.loadOnUserIdentified&&!se.getEmail()&&n.handler("getDashboard",e.subscriber)):(n.dispatch("visitCreated",e),se.getEmail()||n.dispatch("subscriberUnidentified")),n.dispatch("configReceived",e)}),e.on(429,function(e){}),e.on(404,function(e){n.dispatch("error",e.message),console.warn(e.message)})});break;case"createSurveyed":(r=new fe).post(this.url+"public/lists/"+this.id+"/emails/"+this.subscriber.id+"/surveyed",{type:t.type}),r.on(201,function(e){});break;case"getConfig":(r=new fe).get(this.url+"public/lists/"+this.id+"/config"),r.on(200,function(e){n.dispatch("configData",e)});break;case"getDashboard":var r=new fe;r.get(this.url+"public/lists/"+this.id+"/emails/dashboard?email="+encodeURIComponent(t.address)),r.on(200,function(e){n.dispatch("dashboard",e)}),r.on(400,function(e){n.dispatch("subscriberUnauthorized",e),n.dispatch("error",e.message)}),r.on(401,function(e){n.dispatch("subscriberUnauthorized",e),n.dispatch("error",e.message)}),r.on(404,function(e){n.dispatch("error",e.message),console.warn(e.message)}),r.on(429,function(e){});break;case"showDashboard":if(this.config.dashboard.disabled)return;if("modal"===this.config.dashboard.type)if(ye.initialized){if(this.config.redirect&&se.getWithoutParameters()!==this.config.redirectURL)return void this.handler("redirect",this.config.redirectURL);this.config.confetti.disabled||this.config.dashboard.disabled||this.config.redirect||Ce.fireOnce(),ye.show()}else this.on("dashboard",function(){n.config.redirect&&se.getWithoutParameters()!==n.config.redirectURL?n.handler("redirect",n.config.redirectURL):(n.config.confetti.disabled||n.config.dashboard.disabled||n.config.redirect||Ce.fireOnce(),ye.show())});if("page"===this.config.dashboard.type)if(de.loaded){if(this.config.redirect&&se.getWithoutParameters()!==this.config.redirectURL)return void this.handler("redirect",this.config.redirectURL);this.config.confetti.disabled||this.config.dashboard.disabled||this.config.redirect||Ce.fireOnce(),de.show()}else this.on("dashboard",function(){n.config.redirect&&se.getWithoutParameters()!==n.config.redirectURL?n.handler("redirect",n.config.redirectURL):(n.config.confetti.disabled||n.config.dashboard.disabled||n.config.redirect||Ce.fireOnce(),de.show())});this.dispatch("onDashboardShown");break;case"closeModal":"modal"===this.config.dashboard.type&&(ye.initialized?ye.close():this.on("dashboard",function(){ye.close()})),this.dispatch("dashboardClosed");break;case"redirect":if(t===window.location.href)break;this.dispatch("redirecting"),window.location.href=t;break;case"confetti":Ce.fire();break;case"onInvalidEmail":this.on("invalidEmail",t);break;case"onEmptyEmail":this.on("emptyEmail",t);break;case"onVisitCreated":this.on("visitCreated",t);break;case"onSubscriberIdentified":this.on("subscriberIdentified",t);break;case"onDashboardData":this.on("dashboard",t);break;case"onSubscriberCreated":this.on("subscriberCreated",t);break;case"onDashboardShown":this.on("onDashboardShown",t);break;case"onDashboardClosed":this.on("dashboardClosed",t);break;case"onSurveySubmitted":this.on("surveySubmitted",t);break;case"onSubscriberUnauthorized":this.on("subscriberUnauthorized",t);break;case"onSubscriberUnaccepted":this.on("subscriberUnaccepted",t);break;case"onSubscriberUnidentified":this.on("subscriberUnidentified",t);break;case"onFormSubmitted":this.on("formSubmitted",t);break;case"onError":this.on("error",t);break;default:console.warn("No handler defined for "+e)}}},{key:"validate",value:function(e){if(!e)throw Error("API method required");if(-1===this.supportedAPI.indexOf(e))throw Error("Method "+e+" is not supported")}},{key:"extendConfig",value:function(e,t){for(var n in e)"object"===Pe(e[n])&&t.hasOwnProperty(n)?this.extendConfig(e[n],t[n]):void 0!==t[n]&&(e[n]=t[n])}},{key:"isQueued",value:function(e){var t=!1;return this.queue.forEach(function(n){n[0]===e&&(t=!0)}),t}}]),t}()),Ie=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();(new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return Ie(e,[{key:"app",value:function(e){var t=e[e.TuemilioObject].q;if(Ae.queue=t,t)for(var n=0;n<t.length;n++)Ae.handler(t[n][0],t[n][1]);e.Tuemilio=Ae.handler,e.Tuemilio.config=Ae.config,e.Tuemilio.id=Ae.id}}]),e}())).app(window)},function(e,t){e.exports='<div> <div class=t-form-group> <input id=t-email class="t-input t-email" type=email name=email autocomplete=email placeholder=name@email.com required> <div id=t-feedback-email class=t-message></div> </div> <button type=button id=t-button-submit class="t-button t-button-submit">Request early access</button> </div>'},function(e,t,n){var r=n(27);"string"==typeof r&&(r=[[e.i,r,""]]);var i={transform:void 0};n(2)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,'*,:after,:before{box-sizing:border-box}.t-modal-content h1{display:block;font-size:2em;font-weight:700;margin:.67em 0}.t-modal-content h2{display:block;font-size:1.5em;font-weight:700;margin:.83em 0}.t-modal-content p{margin:.83em 0}.t-text-dashboard_link{text-decoration:underline}.fade-in{-webkit-animation-name:fade-in;-webkit-animation-duration:.32s;animation-name:fade-in;animation-duration:.32s}.fade-out{-webkit-animation-name:fade-out;-webkit-animation-duration:.2s;animation-name:fade-out;animation-duration:.2s}.roll-down{-webkit-animation-name:roll-down;animation-name:roll-down}.roll-down,.roll-up{-webkit-animation-duration:.3s;animation-duration:.3s}.roll-up{-webkit-animation-name:roll-up;animation-name:roll-up}.t-button,.t-form-modal,.t-input{margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline}.t-modal{position:fixed;z-index:100000;left:0;top:0;width:100%;height:100%;overflow:auto}.t-modal-content{margin:auto;padding:30px 0 35px;border:0;max-width:1200px;border-radius:8px;-webkit-box-shadow:0 5px 40px rgba(0,0,0,.16),0 7px 1000px 10px rgba(0,0,0,.1)!important;-moz-box-shadow:0 5px 40px rgba(0,0,0,.16),0 7px 1000px 10px rgba(0,0,0,.1)!important;box-shadow:0 5px 40px rgba(0,0,0,.16),0 7px 1000px 10px rgba(0,0,0,.1)!important;font-weight:inherit;background-color:#fafafa}@media (min-width:576px){.t-modal-content{max-width:570px;margin:1.75rem auto;padding:13px 15px 35px}}@media (min-width:768px){.t-modal-content{max-width:750px;margin:1.75rem auto}}@media (min-width:992px){.t-modal-content{max-width:990px}}@media (min-width:1200px){.t-modal-content{max-width:1175px}}.t-modal-close{float:right;opacity:.5;padding:10px;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.t-modal-close:focus,.t-modal-close:hover{opacity:1;cursor:pointer;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.t-form-modal{font-weight:inherit}.t-form-group input:focus{color:#495057;background-color:#fff;outline:0;border-color:#66afe9;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.t-message{color:#4c4c4c!important;margin:.3rem auto 0;font-size:.85rem;color:inherit;max-width:600px;text-align:center}.t-input,.t-message{display:block;font-family:inherit}.t-input{width:100%;padding:.375rem .75rem;font-size:1rem;line-height:1.5;color:#000;background-color:#fff;background-clip:padding-box;border:1px solid #dbe2e8;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;overflow:visible;margin:1rem 0 0;-webkit-box-shadow:0 2px 2px 0 rgba(46,60,73,.05);box-shadow:0 2px 2px 0 rgba(46,60,73,.05)}label+.t-input{margin:.5rem 0 0}.t-button{color:#fff;background-color:#0069ff;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;text-transform:none;-webkit-appearance:button;min-width:130px;display:block;margin:16px auto 0;-webkit-box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);font-family:inherit;min-height:35px}.t-button:focus{text-decoration:none;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.t-button:hover{color:#fff;opacity:.9;cursor:pointer}.t-button-dashboard{margin-top:0}.t-dashboard *,.t-dashboard :after,.t-dashboard :before{box-sizing:border-box}.t-container{margin:0 15px}.t-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.t-col-12,.t-col-lg-6,.t-col-lg-9{position:relative;width:100%;padding-right:15px;padding-left:15px}.t-col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}@media (min-width:992px){.t-col-lg-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.t-col-lg-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.t-col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}}.t-form-group label{color:#4c4c4c;margin-top:.8rem;margin-bottom:0;display:inline-block}.t-form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;line-height:1.5;color:#495057;background-color:#fff;background-image:none;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.t-form-control::-ms-expand{background-color:transparent;border:0}.t-form-control:focus{color:#495057;background-color:#fff;outline:0;border-color:#66afe9;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.t-form-control::-webkit-input-placeholder{color:#868e96;opacity:1}.t-form-control:-ms-input-placeholder,.t-form-control::-ms-input-placeholder{color:#868e96;opacity:1}.t-form-control::placeholder{color:#868e96;opacity:1}.t-form-control:disabled{background-color:#e9ecef;opacity:1}.t-form-modal .form-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.t-form-modal .form-row>[class*=col-]{padding-right:5px;padding-left:5px}.t-card{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border-radius:8px;-webkit-box-shadow:0 3px 8px rgba(0,0,0,.1);box-shadow:0 3px 8px rgba(0,0,0,.1);border:1px solid #f8f4f4;overflow:auto;margin-top:1rem!important}.t-card-body{-ms-flex:1 1 auto;flex:1 1 auto;padding:0 1.7rem 1.25rem}.t-form-modal .badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.t-form-modal .badge:empty{display:none}.t-form-modal .badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.t-form-modal .badge-primary{color:#fff!important;background-color:#007bff}.t-form-modal .list-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0}.t-form-modal .list-group-item{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:-1px;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.t-form-modal .list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.t-form-modal .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.t-form-modal .list-group-item:focus,.t-form-modal .list-group-item:hover{text-decoration:none}.t-form-modal .list-group-item:disabled{color:#868e96;background-color:#fff}.t-form-modal .list-group-flush .list-group-item{border-right:0;border-left:0;border-radius:0}.t-form-modal .list-group-flush:last-child .list-group-item:last-child{border-bottom:0}.t-form-modal .align-items-center{-ms-flex-align:center!important;align-items:center!important}.t-form-modal .text-center{text-align:center!important}.t-form-modal .text-muted{color:#868e96!important}@media (max-width:475px){#waiting-list{font-size:80%}}.t-form-modal .pull-right{float:right}.t-form-modal .pull-left{float:left}.t-fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.t-fa-twitter:before{content:"\\F099"}.t-fa-twitter{top:-1px!important;color:#fff!important}.t-fa-facebook:before{content:"\\F09A"}.t-fa-facebook{color:#fff!important}.t-fa-copy:before{content:"\\F0C5"}.t-fa-copy{margin-left:.25rem!important;color:#fff!important}.t-fa-envelope:before{content:"\\F0E0"}.t-fa-envelope{color:#fff!important}.t-fa-linkedin:before{content:"\\F0E1"}.t-fa-linkedin{top:-1px!important;color:#fff!important}.t-fa-reddit:before{content:"\\F1A1"}.t-fa-reddit{top:-1px!important;color:#ff4501!important}.t-fa-weixin:before{content:"\\F1D7"}.t-fa-weixin{color:#fff!important}.t-fa-whatsapp:before{content:"\\F232"}.t-fa-whatsapp{top:-1px!important;color:#fff!important}.t-fa-telegram:before{content:"\\F2C6"}.t-fa-telegram{top:-1px!important;color:#fff!important}.t-btn-social{display:inline-block;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:1.5;border-radius:.45rem;overflow:hidden;text-overflow:ellipsis;margin:3px 7px 3px 0;-webkit-box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);position:relative;text-align:left;height:34px;width:34px;padding:0;-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s}.t-btn-social:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.t-btn-social:disabled{opacity:.65}.t-btn-social:hover{cursor:pointer;box-shadow:0 7px 11px 1px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);-webkit-transform:translate3d(0,-1px,0);-ms-transform:translate3d(0,-1px,0);transform:translate3d(0,-1px,0)}.t-btn-social:not([disabled]):not(.disabled):active{background-image:none}.t-btn-social>:first-child{position:absolute;left:0;top:0;bottom:0;line-height:34px;font-size:1.6em;border:0;text-align:center;width:100%!important}.t-hidden{display:none!important}#t-modal{z-index:100000!important;top:0!important;height:100%!important;position:fixed!important}.t-modal-subtitle,.t-modal-title{text-align:center;margin-top:1rem;margin-bottom:1rem}.t-modal-subtitle{color:#868e96;font-size:1.6rem}.t-text-paragraph{text-align:center;margin-top:1rem;margin-bottom:1.5rem}.t-modal-share-input{margin-bottom:.5rem;border-radius:.45rem}.t-modal-copy-btn{-webkit-box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);color:#fff;margin-bottom:.5rem;background-color:#0069ff;display:inline-block;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.45rem;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.t-modal-copy-btn *{color:#fff}.t-modal-copy-btn svg{vertical-align:middle;margin-left:2px}.t-modal-copy-btn:hover{opacity:.9;cursor:pointer;text-decoration:none;box-shadow:0 7px 11px 1px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);-webkit-transform:translate3d(0,-1px,0);-ms-transform:translate3d(0,-1px,0);transform:translate3d(0,-1px,0)}.t-modal-copy-btn:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5);text-decoration:none;outline:0}.t-modal-copy-btn:disabled{background-color:#007bff;opacity:.65}.t-modal-copy-btn:not([disabled]):not(.disabled):active{color:#fff;background-color:#0062cc;border-color:#005cbf;box-shadow:0 0 0 .2rem rgba(0,123,255,.5);background-image:none}.t-text-wait-list-title{margin-bottom:1rem!important}.t-text-task-outro{margin:.6rem 0}.t-points{font-size:3rem;margin:0}.t-text-units{font-size:2rem}.t-modal-referreds-deleter .t-card-body{max-height:370px}.t-table th{text-align:inherit}.t-table{border-collapse:collapse;width:100%;max-width:100%;background-color:transparent;text-align:center!important}.t-table td,.t-table th{padding:1.1rem;vertical-align:top}.t-table tr:first-child th{border-top:0}.t-table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}.t-table-hover tbody tr:hover{background-color:rgba(0,0,0,.01)}.t-table tbody th{font-weight:400}.t-table-hover tbody tr{-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s;border-top:1px solid #0000000f}.t-modal-dashboard-info{text-align:center}.t-footer-text{margin-top:2rem}.t-modal-dashboard-user{color:#868e96}#referred-list{font-size:1rem;text-align:left}#referred-list th{padding:1rem 1rem 1rem 0;text-transform:capitalize;display:flex;align-items:center}.t-scroll{max-height:290px;overflow:auto;padding:0 1.7rem 0 .2rem}.t-table tr:first-child{border-top:0!important}.t-avatar{width:38px;height:38px;font-size:12px;line-height:38px;text-align:center;text-transform:uppercase;color:#fff;border-radius:100%;background:#7e3794;display:inline-block;margin-right:1rem}@-webkit-keyframes fade-in{0%{opacity:0;transform:translateY(15px)}to{opacity:1}}@keyframes fade-in{0%{opacity:0;transform:translateY(15px)}to{opacity:1}}@-webkit-keyframes fade-out{0%{opacity:1}to{opacity:0;transform:translateY(100px)}}@keyframes fade-out{0%{opacity:1}to{opacity:0;transform:translateY(100px)}}@keyframes roll-down{0%{opacity:0;-webkit-transform:translate3d(0,10px,0);-ms-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}to{opacity:1;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes roll-down{0%{opacity:0;-webkit-transform:translate3d(0,10px,0);-ms-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}to{opacity:1;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes roll-up{0%{opacity:0;transform:translateY(-15px)}to{opacity:1}}@keyframes roll-up{0%{opacity:0;transform:translateY(-15px)}to{opacity:1}}.t-bar-wrapper{margin-top:10px}@media only screen and (max-width:680px){.t-bar-wrapper{margin-top:10px}}.t-bar{border-radius:16px;overflow:hidden;height:16px;background-color:#f5f5f5;position:relative;display:-ms-flexbox;display:flex}@media only screen and (max-width:680px){.t-bar{height:15px}}.t-bar .t-granted{background-color:#2bcbba;-webkit-animation:barIn 1s backwards;animation:barIn 1s backwards}.t-bar .adjustment,.t-bar .t-granted{position:relative;-webkit-transform-origin:left;-ms-transform-origin:left;transform-origin:left}@media only screen and (max-width:680px){.t-bar .adjustment{background-size:15px}}.t-legend{margin-top:15px;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;margin-bottom:3px}@media only screen and (max-width:680px){.t-legend{margin-top:10px}}.t-legend>div{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.t-legend>div:not(:last-child){margin-right:20px}@media only screen and (max-width:580px){.t-legend>div:not(:last-child){margin-right:12px}}@media only screen and (max-width:340px){.t-legend>div:not(:last-child){margin-right:15px}}.t-legend>div i{min-width:12px;height:12px;border-radius:50%;margin-right:6px;margin-top:2px}@media only screen and (max-width:680px){.t-legend>div i{min-width:10px;height:10px;margin-right:5px}}.t-legend>div.t-granted i{background-color:#2bcbba}.t-legend>div.t-future i{background-color:#ececec}@-webkit-keyframes barIn{0%{-webkit-transform:scaleX(0);-ms-transform:scaleX(0);transform:scaleX(0)}to{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}@keyframes barIn{0%{-webkit-transform:scaleX(0);-ms-transform:scaleX(0);transform:scaleX(0)}to{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (min-width:576px){.form-inline label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-bottom:0}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .input-group{width:auto}.form-inline .form-check{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;-ms-flex-negative:0;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0}}.t-form{max-width:320px;display:block;margin:10px auto 0;font-family:inherit}.t-form,.t-form-inline{padding-right:15px;padding-left:15px}.t-form-inline{-ms-flex-pack:center!important;justify-content:center!important;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%;position:relative;width:100%}.t-form-inline button{margin-top:0}.t-form-inline .t-button{margin:0}.t-form-inline .t-message{display:none}.t-form-inline .t-form-group{display:flex;justify-content:center!important;flex-flow:row wrap;align-items:center}.t-form-inline label{display:none}.t-form-inline .t-input{margin:0 8px 8px 0}.t-form-inline .t-button{margin-bottom:8px}@media (min-width:576px){.t-form-inline .t-input{width:300px}}@media (max-width:576px){.t-form-inline .t-input{margin:0 0 16px}}.t-video .t-card{position:relative;width:100%;height:0;padding-bottom:56.25%;border-radius:8px;overflow:hidden;-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s}.t-video .t-card:hover{-webkit-transform:translateY(-1px);-ms-transform:translateY(-1px);transform:translateY(-1px);-webkit-box-shadow:0 8px 20px rgba(0,0,0,.1);box-shadow:0 8px 20px rgba(0,0,0,.1)}.t-video .t-card iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none}.t-typeform{height:500px;padding:0!important}.t-survey-completed{text-align:center;padding-top:20px}.t-countdown-container{display:flex;text-align:center;justify-content:center}.t-countdown-container>div{padding:20px 15px}.t-countdown-container>div div:nth-child(1){font-size:3.5rem}.t-text-countdown-subtitle{margin-bottom:0}.t-spacer{height:17px}.t-referreds-card .t-card-body{padding:0 0 1.25rem 1.2rem}.t-referred-date{display:block;font-size:.8rem;opacity:.4;padding-top:.2rem;text-transform:lowercase}.t-referred-points{flex-grow:2;text-align:right}.t-shareon-row{padding:1rem;display:flex;align-items:center;margin:8px 0;border-radius:8px;box-shadow:0 3px 8px 0 rgba(0,0,0,.04);-webkit-box-shadow:0 3px 8px 0 rgba(0,0,0,.04);-moz-box-shadow:0 3px 8px 0 rgba(0,0,0,.04)}.t-shareon-row:first-of-type{border-top:none}.t-shareon-points-wrapper{flex-grow:2;text-align:right}.t-shareon-points{background-color:#0069ff;color:#fff;text-align:right;display:inline-block;padding:.5rem 1rem;border-radius:8px}.t-shareon-platform{text-transform:capitalize;margin-left:10px}.t-shareon-pending{margin-right:10px;font-size:.8rem;font-style:italic}.t-survey-points-wrapper{flex-grow:2;text-align:right}.t-survey-pending{margin-right:10px;font-size:.8rem;font-style:italic}.t-survey-points{background-color:#0069ff;color:#fff;text-align:right;display:inline-block;padding:.5rem 1rem;border-radius:8px}.t-survey .t-card-header,.t-waitlist-row{display:flex;align-items:center}.t-waitlist-row{padding:1.2rem 2rem 1.2rem 0;border-left:3px solid transparent;margin:8px 0;border-radius:8px;box-shadow:0 3px 8px 0 rgba(0,0,0,.04);-webkit-box-shadow:0 3px 8px 0 rgba(0,0,0,.04);-moz-box-shadow:0 3px 8px 0 rgba(0,0,0,.04)}.t-waitlist-row:first-of-type{border-top:none}.t-waitlist-row-self{font-weight:700;-webkit-box-shadow:inset 200px 0 127px -200px rgba(253,82,126,.15),0 3px 8px 0 rgba(0,0,0,.06);-moz-box-shadow:inset 200px 0 127px -200px rgba(253,82,126,.15),0 3px 8px 0 rgba(0,0,0,.06);box-shadow:inset 200px 0 127px -200px rgba(253,82,126,.15),0 3px 8px 0 rgba(0,0,0,.06);border-left:3px solid #fd527e}.t-waitlist-position{opacity:.4;width:6rem;text-align:center}.t-waitlist-address{width:12rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-waitlist-sparkline{text-align:center;flex-grow:1}.t-waitlist-sparkline svg{width:100%;height:auto;max-width:36px;margin:0 15px 0 5px;opacity:.7}.t-waitlist-points{text-align:right;flex-grow:1;display:flex;font-size:1.1rem;opacity:.6;align-items:center;justify-content:flex-end}@-webkit-keyframes jello-horizontal{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.2,.8,1);transform:scale3d(1.2,.8,1)}40%{-webkit-transform:scale3d(.8,1.2,1);transform:scale3d(.8,1.2,1)}50%{-webkit-transform:scale3d(1.1,.9,1);transform:scale3d(1.1,.9,1)}65%{-webkit-transform:scaleX(1);transform:scaleX(1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes jello-horizontal{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.2,.8,1);transform:scale3d(1.2,.8,1)}40%{-webkit-transform:scale3d(.8,1.2,1);transform:scale3d(.8,1.2,1)}50%{-webkit-transform:scale3d(1.1,.9,1);transform:scale3d(1.1,.9,1)}65%{-webkit-transform:scaleX(1);transform:scaleX(1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.jello-horizontal{-webkit-animation:jello-horizontal .5s both;animation:jello-horizontal .5s both}.feather-star{margin-bottom:-1px;margin-left:.1rem;margin-right:.1rem}.t-translate-1{-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s}.t-translate-1:hover{transform:translateY(-1px)}.t-share-link{display:flex}.t-share-input{flex-grow:1;margin-right:10px}.t-flex{display:flex;justify-content:flex-end;flex-wrap:wrap-reverse;align-items:center}.gu-mirror{position:fixed!important;margin:0!important;z-index:100001!important;opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:alpha(opacity=80)}.gu-hide{display:none!important}.gu-unselectable{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit{opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";filter:alpha(opacity=20)}.t-card-header h2{margin:0}.t-card-header{padding:1.4rem 1.4rem 1rem 1.7rem;min-height:3.5rem}ol li.ql-indent-1{counter-increment:list-1}ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}ol li.ql-indent-2{counter-increment:list-2}ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-indent-1:not(.ql-direction-rtl){padding-left:3em}li .ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-indent-2:not(.ql-direction-rtl){padding-left:6em}li .ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-align-center{text-align:center}.ql-align-justify{text-align:justify}.ql-align-right{text-align:right}.ql-image{max-width:100%}.t-footer-text .t-card,.t-hero-text .t-card{width:600px;margin:0 auto}.connecting-circle{position:absolute;transform:translateX(-50%) translateY(-50%);width:10px;height:10px}.connecting-circle:before{content:"";position:relative;display:block;width:300%;height:300%;box-sizing:border-box;margin-left:-100%;margin-top:-100%;border-radius:45px;background-color:#2294e1;animation:pulse-ring 2s cubic-bezier(.215,.61,.355,1) infinite}.connecting-circle:after{content:"";position:absolute;left:0;top:0;display:block;width:100%;height:100%;background-color:#2294e1;border-radius:15px;animation:pulse-dot 2s cubic-bezier(.455,.03,.515,.955) -.4s infinite}@keyframes pulse-ring{0%{transform:scale(.33)}80%,to{opacity:0}}@keyframes pulse-dot{0%{transform:scale(.8)}50%{transform:scale(1)}to{transform:scale(.8)}}.t-toast-wrapper{position:fixed;bottom:19px;z-index:100;left:19px}.t-toast .t-card-body{padding:10px 18px}.t-toast .t-title{font-weight:bolder}.t-toast .t-card-body{display:flex;align-items:center}.t-toast .t-wrap-content{padding-left:18px}.t-toast .t-f-avatar{padding:10px}.t-time-diff{color:#a8a8a8;font-size:13px;padding-top:3px}.bounceBottom-enter-active{animation:bounceBottomUp 1.1s linear both}@keyframes bounceBottomUp{0%{transform:matrix(1,0,0,1,0,100)}4.1%{transform:matrix(1,0,0,1,0,41.971)}8.11%{transform:matrix(1,0,0,1,0,10.549)}12.11%{transform:matrix(1,0,0,1,0,-1.843)}16.12%{transform:matrix(1,0,0,1,0,-4.336)}27.23%{transform:matrix(1,0,0,1,0,-.784)}38.34%{transform:matrix(1,0,0,1,0,.104)}60.56%{transform:matrix(1,0,0,1,0,-.002)}82.78%{transform:matrix(1,0,0,1,0,0)}to{transform:matrix(1,0,0,1,0,0)}}.bounceBottom-leave-active{animation:bounceBottomDown 2s linear both}@keyframes bounceBottomDown{0%{transform:matrix(1,0,0,1,0,0)}4.2%{transform:matrix(1,0,0,1,0,54.927)}8.31%{transform:matrix(1,0,0,1,0,88.411)}12.51%{transform:matrix(1,0,0,1,0,103.215)}16.62%{transform:matrix(1,0,0,1,0,106.331)}27.73%{transform:matrix(1,0,0,1,0,101.285)}38.84%{transform:matrix(1,0,0,1,0,99.747)}61.06%{transform:matrix(1,0,0,1,0,100.01)}83.28%{transform:matrix(1,0,0,1,0,100)}to{transform:matrix(1,0,0,1,0,100)}}svg{vertical-align:middle;display:inline}@media (max-width:576px){.t-modal-content{padding-top:0}.t-modal-close{padding:15px}.t-modal-title{margin-top:2rem}.t-card-body{padding:0 1rem 1rem}.t-card-header{padding:1rem}.t-share-link *{font-size:.9rem}.t-share-input{margin-right:-9px}.t-btn-social{height:32px;width:32px;margin:3px 5px 3px 0}.t-shareon-pending,.t-survey-pending{margin-right:8px;margin-top:3px;font-size:.7rem}.t-waitlist-position{width:3rem;margin-right:.3rem}.t-waitlist-row{padding:1.2rem 1.2rem 1.2rem 0}.t-waitlist-row *{font-size:.85rem}.feather-star{height:.7rem}.t-modal-dashboard-info{font-size:.8rem}.t-modal-content h2{font-size:1.2rem}.t-survey-title{padding:0 1rem}.t-scroll{padding:0 1rem 0 .2rem}.t-referreds-card .t-card-body{padding:0 0 1.25rem .8rem}.t-shareon-points,.t-survey-points{padding:.4rem .5rem;font-size:.8rem}.t-shareon-row{font-size:.9rem}.t-shareon-row .feather-star{margin:0}.t-avatar{width:30px;height:30px;line-height:30px;margin-right:.7rem}.t-avatar,.t-referred-date{font-size:.7rem}.t-countdown-container>div{padding:15px 10px}.t-countdown-container>div div:nth-child(1){font-size:2.5rem}.t-text-seconds{font-size:.8rem}.t-waitlist-sparkline svg{max-width:27px}.t-waitlist-address{width:auto}}@media (max-width:768px){.t-footer-text .t-card,.t-hero-text .t-card{width:100%;margin:0 auto}}',""])},function(e,t){e.exports='<div class=t-spacer></div> <div class=t-dashboard style=display:block> <div class=t-container> <div class=t-hero-text></div> <div class=t-row> <div class="t-col-12 t-col-lg-6"> <div class="t-row t-left"></div> </div> <div class="t-col-12 t-col-lg-6"> <div class="t-row t-right"></div> </div> </div> <div class=t-footer-text></div> </div> </div>'},function(e,t){e.exports="<div class=t-col-12> <div class=t-card> <div class=t-card-header> <h2 class=t-title></h2> </div> <div class=t-card-body> <p class=t-paragraph></p> <div class=t-content></div> </div> </div> </div>"},function(e,t){e.exports="<div class=t-countdown-container> <div> <div class=t-days></div> <div class=t-text-days></div> </div> <div> <div class=t-hours></div> <div class=t-text-hours></div> </div> <div> <div class=t-minutes></div> <div class=t-text-minutes></div> </div> <div> <div class=t-seconds></div> <div class=t-text-seconds></div> </div> </div>"},function(e,t){e.exports='<div> <div class=t-share-link> <div class=t-share-input> <input type=text class="t-form-control t-modal-share-input" onclick=this.setSelectionRange(0,this.value.length) id=input-dashboard> </div> <div class=t-share-button> <button type=submit class=t-modal-copy-btn data-clipboard-target=#input-dashboard> <span class=t-text-task-copy-button></span> <svg xmlns=http://www.w3.org/2000/svg x=0px y=0px width=15px height=15px viewBox="0 0 561 561" xml:space=preserve data-lt-installed=true><g class=currentLayer style=""><title>Layer 1</title><path d="M395.25,0h-306c-28.05,0-51,22.95-51,51v357h51V51h306V0z M471.75,102h-280.5c-28.05,0-51,22.95-51,51v357 c0,28.05,22.95,51,51,51h280.5c28.05,0,51-22.95,51-51V153C522.75,124.95,499.8,102,471.75,102z M471.75,510h-280.5V153h280.5V510 z" id=svg_1 class=selected fill=#ffffff fill-opacity=1 /></g></svg> </button> </div> </div> <div class=t-share-social> <div class=t-text-task-outro></div> <a class="t-btn-social t-btn-twitter"> <svg xmlns=http://www.w3.org/2000/svg aria-label=Twitter role=img viewBox="0 0 512 512" data-lt-installed=true><rect width=512 height=512 rx=15% fill=#1da1f3 /><path fill=#fff d="M437 152a72 72 0 0 1-40 12 72 72 0 0 0 32-40 72 72 0 0 1-45 17 72 72 0 0 0-122 65 200 200 0 0 1-145-74 72 72 0 0 0 22 94 72 72 0 0 1-32-7 72 72 0 0 0 56 69 72 72 0 0 1-32 1 72 72 0 0 0 67 50 200 200 0 0 1-105 29 200 200 0 0 0 309-179 200 200 0 0 0 35-37"/></svg> </a> <a class="t-btn-social t-btn-facebook"> <svg xmlns=http://www.w3.org/2000/svg aria-label=Facebook role=img viewBox="0 0 512 512" data-lt-installed=true><rect width=512 height=512 rx=15% fill=#3b5998 /><path fill=#fff d="M330 512V322h64l9-74h-73v-47c0-22 6-36 37-36h39V99c-7-1-30-3-57-3-57 0-95 34-95 98v54h-64v74h64v190z"/></svg> </a> <a class="t-btn-social t-btn-linkedin"> <svg xmlns=http://www.w3.org/2000/svg aria-label=LinkedIn role=img viewBox="0 0 512 512" fill=#fff data-lt-installed=true><rect width=512 height=512 rx=15% fill=#0077b5 /><circle cx=142 cy=138 r=37 /><path stroke=#fff stroke-width=66 d="M244 194v198M142 194v198"/><path d="M276 282c0-20 13-40 36-40 24 0 33 18 33 45v105h66V279c0-61-32-89-76-89-34 0-51 19-59 32"/></svg> </a> <a class="t-btn-social t-btn-email"> <svg xmlns=http://www.w3.org/2000/svg aria-label=Email role=img viewBox="0 0 512 512" data-lt-installed=true><rect width=512 height=512 rx=15% fill=teal /><rect width=356 height=256 x=78 y=128 fill=#fff rx=8% /><path fill=none stroke=teal stroke-width=20 d="M434 128L269 292c-7 8-19 8-26 0L78 128m0 256l129-128m227 128L305 256"/></svg> </a> <a class="t-btn-social t-btn-whatsapp"> <svg xmlns=http://www.w3.org/2000/svg aria-label=WhatsApp role=img viewBox="0 0 512 512" fill=#fff data-lt-installed=true><rect width=512 height=512 rx=15% fill=#45d354 /><path d="M308 273c-3-2-6-3-9 1l-12 16c-3 2-5 3-9 1-15-8-36-17-54-47-1-4 1-6 3-8l9-14c2-2 1-4 0-6l-12-29c-3-8-6-7-9-7h-8c-2 0-6 1-10 5-22 22-13 53 3 73 3 4 23 40 66 59 32 14 39 12 48 10 11-1 22-10 27-19 1-3 6-16 2-18"/><path d="M264 384c-41 0-72-22-72-22l-49 13 12-48s-20-31-20-70c0-72 59-132 132-132 68 0 126 53 126 127 0 72-58 131-129 132m-159 29l83-23a158 158 0 0 0 230-140c0-86-68-155-154-155a158 158 0 0 0-137 236"/></svg> </a> <a class="t-btn-social t-btn-reddit"> <svg xmlns=http://www.w3.org/2000/svg aria-label=Reddit role=img viewBox="0 0 512 512" data-lt-installed=true><rect width=512 height=512 rx=15% fill=#f40 /><g fill=#fff><ellipse cx=256 cy=307 rx=166 ry=117 /><circle cx=106 cy=256 r=42 /><circle cx=407 cy=256 r=42 /><circle cx=375 cy=114 r=32 /></g><g stroke-linecap=round stroke-linejoin=round fill=none><path d="m256 196 23-101 73 15" stroke=#fff stroke-width=16 /><path d="m191 359c33 25 97 26 130 0" stroke=#f40 stroke-width=13 /></g><g fill=#f40><circle cx=191 cy=287 r=31 /><circle cx=321 cy=287 r=31 /></g></svg> </a> <a class="t-btn-social t-btn-wechat"> <svg xmlns=http://www.w3.org/2000/svg aria-label=WeChat role=img viewBox="0 0 512 512" fill=#fff data-lt-installed=true><rect width=512 height=512 rx=15% fill=#00c70a /><path d="m402 369c23-17 38-42 38-70 0-51-50-92-111-92s-110 41-110 92 49 92 110 92c13 0 25-2 36-5 4-1 8 0 9 1l25 14c3 2 6 0 5-4l-6-22c0-3 2-5 4-6m-110-85a15 15 0 1 1 0-29 15 15 0 0 1 0 29m74 0a15 15 0 1 1 0-29 15 15 0 0 1 0 29"/><path d="m205 105c-73 0-132 50-132 111 0 33 17 63 45 83 3 2 5 5 4 10l-7 24c-1 5 3 7 6 6l30-17c3-2 7-3 11-2 26 8 48 6 51 6-24-84 59-132 123-128-10-52-65-93-131-93m-44 93a18 18 0 1 1 0-35 18 18 0 0 1 0 35m89 0a18 18 0 1 1 0-35 18 18 0 0 1 0 35"/></svg> </a> <a class="t-btn-social t-btn-telegram"> <svg xmlns=http://www.w3.org/2000/svg aria-label=Telegram role=img viewBox="0 0 512 512" data-lt-installed=true><rect width=512 height=512 rx=15% fill=#37aee2 /><path fill=#c8daea d="M199 404c-11 0-10-4-13-14l-32-105 245-144"/><path fill=#a9c9dd d="M199 404c7 0 11-4 16-8l45-43-56-34"/><path fill=#f6fbfe d="M204 319l135 99c14 9 26 4 30-14l55-258c5-22-9-32-24-25L79 245c-21 8-21 21-4 26l83 26 190-121c9-5 17-3 11 4"/></svg> </a> </div> </div>'},function(e,t){e.exports='<div> <p class=t-points> <span class=t-modal-dashboard-points></span> <span class=t-text-units></span> </p> <p class=t-text-objective-paragraph></p> <div class=t-bar-wrapper> <div class=t-bar> <span class="t-granted t-modal-bar-width" style=width:0%></span> </div> <div class=t-legend> <div class=t-granted> <i></i> <span class="t-text-objective-completed t-label"></span> </div> <div class=t-future> <i></i> <span class="t-text-objective-uncompleted t-label"></span> </div> </div> </div> </div> '},function(e,t){e.exports="<div> <div class=t-scroll> <div class=t-referred-list></div> </div> </div>"},function(e,t){e.exports='<div id=t-modal class="t-modal t-form-modal"> <div class=t-modal-content> <span class=t-modal-close> <svg width=14 height=14><path d="M13.978 12.637l-1.341 1.341L6.989 8.33l-5.648 5.648L0 12.637l5.648-5.648L0 1.341 1.341 0l5.648 5.648L12.637 0l1.341 1.341L8.33 6.989l5.648 5.648z" fill-rule=evenodd></path></svg> </span> <div class=t-modal-elements></div> </div> </div> <button type=button class="t-button t-button-dashboard t-hidden"></button> '},function(e,t){e.exports='<div class="t-card t-toast"> <div class=t-card-body> <div class=t-f-avatar> <div class=connecting-circle></div> </div> <div class=t-wrap-content> <div class=t-title>this is the title</div> <div class=t-content>and thats the content</div> <div class=t-time-diff></div> </div> </div> </div>'}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment