@saasquatch/mint-components 1.5.0-63 → 1.5.0-64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{AutoColor-86984176.js → AutoColor-b11cfa86.js} +12 -112
- package/dist/cjs/sqm-big-stat.cjs.entry.js +1 -1
- package/dist/cjs/sqm-brand_27.cjs.entry.js +7 -6
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +3 -6
- package/dist/cjs/{useDemoBigStat-42fa7a69.js → useDemoBigStat-426e3319.js} +1 -0
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +1 -0
- package/dist/collection/components/sqm-hero-image/HeroImage.stories.js +1 -3
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +12 -4
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +2 -2
- package/dist/esm/{AutoColor-8f7bfd93.js → AutoColor-237cc98b.js} +12 -112
- package/dist/esm/sqm-big-stat.entry.js +1 -1
- package/dist/esm/sqm-brand_27.entry.js +7 -6
- package/dist/esm/sqm-stencilbook.entry.js +3 -6
- package/dist/esm/{useDemoBigStat-e2295035.js → useDemoBigStat-022e116d.js} +1 -0
- package/dist/esm-es5/AutoColor-237cc98b.js +1 -0
- package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
- package/dist/esm-es5/sqm-brand_27.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{useDemoBigStat-e2295035.js → useDemoBigStat-022e116d.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-7a1ebc00.js → p-0d66fc45.js} +1 -1
- package/dist/mint-components/p-2b76e82d.entry.js +119 -0
- package/dist/mint-components/p-67a980ab.system.js +1 -0
- package/dist/mint-components/{p-ef99c411.system.entry.js → p-7d74b018.system.entry.js} +1 -1
- package/dist/mint-components/{p-d10efde1.system.js → p-8a55dda8.system.js} +1 -1
- package/dist/mint-components/p-8d74871c.system.js +1 -1
- package/dist/mint-components/p-a1a29168.js +30 -0
- package/dist/mint-components/{p-af5673c4.entry.js → p-caad0168.entry.js} +1 -1
- package/dist/mint-components/{p-4ec7d05c.entry.js → p-cfc16fc9.entry.js} +2 -2
- package/dist/mint-components/p-daa938e2.system.entry.js +1 -0
- package/dist/mint-components/p-f213a257.system.entry.js +1 -0
- package/package.json +1 -1
- package/dist/esm-es5/AutoColor-8f7bfd93.js +0 -1
- package/dist/mint-components/p-011dfe2a.entry.js +0 -119
- package/dist/mint-components/p-192f8fc8.system.js +0 -1
- package/dist/mint-components/p-61f5f346.system.entry.js +0 -1
- package/dist/mint-components/p-73d800ed.js +0 -30
- package/dist/mint-components/p-96cd0c29.system.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as e,r as t,c as r}from"./p-64c3217a.js";import{a as n,i as a,k as s,u as i,c as o,m as l}from"./p-b7da9a8a.js";import"./p-5a2bd8cc.js";import"./p-d1520098.js";import{p as u,h as d,Y as c,d as m,K as p,A as h}from"./p-3b184c32.js";import"./p-81f34787.js";import"./p-f4c0cd0b.js";import"./p-c1086930.js";import"./p-26f627aa.js";import{c as g}from"./p-373fa002.js";import{G as f}from"./p-13cc779c.js";import{l as b}from"./p-591de129.js";import"./p-4e05c65a.js";import"./p-179988b5.js";import{A as w}from"./p-5c75acad.js";import{B as x}from"./p-73d5306f.js";import{a as v,u as E}from"./p-7a1ebc00.js";import{H as y}from"./p-023dcaee.js";import{L as q,u as D,S as C}from"./p-01edde1a.js";import{L as A}from"./p-b3af1c6f.js";import{N as k}from"./p-9b48d01e.js";import{N as R}from"./p-3e556042.js";import{N as T}from"./p-ea197664.js";import{P}from"./p-7a5c88bc.js";import{a as N,P as I}from"./p-0aee946d.js";import{P as F}from"./p-4a1b7d35.js";import{P as S}from"./p-c2e84199.js";import{P as L}from"./p-153aab3c.js";import{P as B}from"./p-d33eb961.js";import{P as O}from"./p-1d1e9197.js";import{S as j}from"./p-204fd08c.js";import{S as _,a as V,P as G,E as M,u as U,b as H,c as W,d as z,e as $,T as J,f as X,R as K,g as Y,C as Z,h as Q}from"./p-73d800ed.js";import{P as ee}from"./p-b70c5c92.js";var te,re=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ne=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",se="["+ae+"]",ie="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",oe="\\d+",le="[a-z\\xdf-\\xf6\\xf8-\\xff]",ue="[^\\ud800-\\udfff"+ae+oe+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",de="\\ud83c[\\udffb-\\udfff]",ce="[^\\ud800-\\udfff]",me="(?:\\ud83c[\\udde6-\\uddff]){2}",pe="[\\ud800-\\udbff][\\udc00-\\udfff]",he="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ge="(?:"+le+"|"+ue+")",fe="(?:"+he+"|"+ue+")",be="(?:"+ie+"|"+de+")?",we="[\\ufe0e\\ufe0f]?"+be+"(?:\\u200d(?:"+[ce,me,pe].join("|")+")[\\ufe0e\\ufe0f]?"+be+")*",xe="(?:"+["[\\u2700-\\u27bf]",me,pe].join("|")+")"+we,ve="(?:"+[ce+ie+"?",ie,me,pe,"[\\ud800-\\udfff]"].join("|")+")",Ee=RegExp("['’]","g"),ye=RegExp(ie,"g"),qe=RegExp(de+"(?="+de+")|"+ve+we,"g"),De=RegExp([he+"?"+le+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[se,he,"$"].join("|")+")",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[se,he+ge,"$"].join("|")+")",he+"?"+ge+"+(?:['’](?:d|ll|m|re|s|t|ve))?",he+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",oe,xe].join("|"),"g"),Ce=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),Ae=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ke="object"==typeof self&&self&&self.Object===Object&&self,Re="object"==typeof n&&n&&n.Object===Object&&n||ke||Function("return this")(),Te=(te={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return null==te?void 0:te[e]});function Pe(e){return Ce.test(e)}var Ne=Object.prototype.toString,Ie=Re.Symbol,Fe=Ie?Ie.prototype:void 0,Se=Fe?Fe.toString:void 0;function Le(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==Ne.call(e)}(e))return Se?Se.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}var Be,Oe=(Be=function(e,t,r){return e+(r?" ":"")+je(t)},function(e){return function(e,t,r){for(var n=-1,a=e?e.length:0;++n<a;)r=t(r,e[n],n,e);return r}(function(e,t){return e=Le(e),void 0===(t=t)?function(e){return Ae.test(e)}(e)?function(e){return e.match(De)||[]}(e):function(e){return e.match(re)||[]}(e):e.match(t)||[]}(function(e){return(e=Le(e))&&e.replace(ne,Te).replace(ye,"")}(e).replace(Ee,"")),Be,"")}),je=("toUpperCase",function(e){var t,r,n,a,s=Pe(e=Le(e))?function(e){return Pe(e)?function(e){return e.match(qe)||[]}(e):function(e){return e.split("")}(e)}(e):void 0,i=s?s[0]:e.charAt(0),o=s?(t=s,r=1,a=t.length,n=void 0===n?a:n,!r&&n>=a?t:function(e,t,r){var n=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(a);++n<a;)s[n]=e[n+t];return s}(t,r,n)).join(""):e.slice(1);return i.toUpperCase()+o}),_e=Oe,Ve=function(){function e(e){var t=this;this._insertTag=function(e){t.container.insertBefore(e,0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Ge="-ms-",Me="-moz-",Ue="-webkit-",He="comm",We="rule",ze="decl",$e=Math.abs,Je=String.fromCharCode;function Xe(e){return e.trim()}function Ke(e,t,r){return e.replace(t,r)}function Ye(e,t){return e.indexOf(t)}function Ze(e,t){return 0|e.charCodeAt(t)}function Qe(e,t,r){return e.slice(t,r)}function et(e){return e.length}function tt(e){return e.length}function rt(e,t){return t.push(e),e}var nt=1,at=1,st=0,it=0,ot=0,lt="";function ut(e,t,r,n,a,s,i){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:nt,column:at,length:i,return:""}}function dt(e,t,r){return ut(e,t.root,t.parent,r,t.props,t.children,0)}function ct(){return ot=it>0?Ze(lt,--it):0,at--,10===ot&&(at=1,nt--),ot}function mt(){return ot=it<st?Ze(lt,it++):0,at++,10===ot&&(at=1,nt++),ot}function pt(){return Ze(lt,it)}function ht(){return it}function gt(e,t){return Qe(lt,e,t)}function ft(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function bt(e){return nt=at=1,st=et(lt=e),it=0,[]}function wt(e){return lt="",e}function xt(e){return Xe(gt(it-1,yt(91===e?e+2:40===e?e+1:e)))}function vt(e){for(;(ot=pt())&&ot<33;)mt();return ft(e)>2||ft(ot)>3?"":" "}function Et(e,t){for(;--t&&mt()&&!(ot<48||ot>102||ot>57&&ot<65||ot>70&&ot<97););return gt(e,ht()+(t<6&&32==pt()&&32==mt()))}function yt(e){for(;mt();)switch(ot){case e:return it;case 34:case 39:return yt(34===e||39===e?e:ot);case 40:41===e&&yt(e);break;case 92:mt()}return it}function qt(e,t){for(;mt()&&e+ot!==57&&(e+ot!==84||47!==pt()););return"/*"+gt(t,it-1)+"*"+Je(47===e?e:mt())}function Dt(e){for(;!ft(pt());)mt();return gt(e,it)}function Ct(e){return wt(At("",null,null,null,[""],e=bt(e),0,[0],e))}function At(e,t,r,n,a,s,i,o,l){for(var u=0,d=0,c=i,m=0,p=0,h=0,g=1,f=1,b=1,w=0,x="",v=a,E=s,y=n,q=x;f;)switch(h=w,w=mt()){case 34:case 39:case 91:case 40:q+=xt(w);break;case 9:case 10:case 13:case 32:q+=vt(h);break;case 92:q+=Et(ht()-1,7);continue;case 47:switch(pt()){case 42:case 47:rt(Rt(qt(mt(),ht()),t,r),l);break;default:q+="/"}break;case 123*g:o[u++]=et(q)*b;case 125*g:case 59:case 0:switch(w){case 0:case 125:f=0;case 59+d:p>0&&et(q)-c&&rt(p>32?Tt(q+";",n,r,c-1):Tt(Ke(q," ","")+";",n,r,c-2),l);break;case 59:q+=";";default:if(rt(y=kt(q,t,r,u,d,a,o,x,v=[],E=[],c),s),123===w)if(0===d)At(q,t,y,y,v,s,c,o,E);else switch(m){case 100:case 109:case 115:At(e,y,y,n&&rt(kt(e,y,y,0,0,a,o,x,a,v=[],c),E),a,E,c,o,n?v:E);break;default:At(q,y,y,y,[""],E,c,o,E)}}u=d=p=0,g=b=1,x=q="",c=i;break;case 58:c=1+et(q),p=h;default:if(g<1)if(123==w)--g;else if(125==w&&0==g++&&125==ct())continue;switch(q+=Je(w),w*g){case 38:b=d>0?1:(q+="\f",-1);break;case 44:o[u++]=(et(q)-1)*b,b=1;break;case 64:45===pt()&&(q+=xt(mt())),m=pt(),d=et(x=q+=Dt(ht())),w++;break;case 45:45===h&&2==et(q)&&(g=0)}}return s}function kt(e,t,r,n,a,s,i,o,l,u,d){for(var c=a-1,m=0===a?s:[""],p=tt(m),h=0,g=0,f=0;h<n;++h)for(var b=0,w=Qe(e,c+1,c=$e(g=i[h])),x=e;b<p;++b)(x=Xe(g>0?m[b]+" "+w:Ke(w,/&\f/g,m[b])))&&(l[f++]=x);return ut(e,t,r,0===a?We:o,l,u,d)}function Rt(e,t,r){return ut(e,t,r,He,Je(ot),Qe(e,2,-2),0)}function Tt(e,t,r,n){return ut(e,t,r,ze,Qe(e,0,n),Qe(e,n+1,-1),n)}function Pt(e,t){switch(function(e,t){return(((t<<2^Ze(e,0))<<2^Ze(e,1))<<2^Ze(e,2))<<2^Ze(e,3)}(e,t)){case 5103:return Ue+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ue+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ue+e+Me+e+Ge+e+e;case 6828:case 4268:return Ue+e+Ge+e+e;case 6165:return Ue+e+Ge+"flex-"+e+e;case 5187:return Ue+e+Ke(e,/(\w+).+(:[^]+)/,Ue+"box-$1$2"+Ge+"flex-$1$2")+e;case 5443:return Ue+e+Ge+"flex-item-"+Ke(e,/flex-|-self/,"")+e;case 4675:return Ue+e+Ge+"flex-line-pack"+Ke(e,/align-content|flex-|-self/,"")+e;case 5548:return Ue+e+Ge+Ke(e,"shrink","negative")+e;case 5292:return Ue+e+Ge+Ke(e,"basis","preferred-size")+e;case 6060:return Ue+"box-"+Ke(e,"-grow","")+Ue+e+Ge+Ke(e,"grow","positive")+e;case 4554:return Ue+Ke(e,/([^-])(transform)/g,"$1"+Ue+"$2")+e;case 6187:return Ke(Ke(Ke(e,/(zoom-|grab)/,Ue+"$1"),/(image-set)/,Ue+"$1"),e,"")+e;case 5495:case 3959:return Ke(e,/(image-set\([^]*)/,Ue+"$1$`$1");case 4968:return Ke(Ke(e,/(.+:)(flex-)?(.*)/,Ue+"box-pack:$3"+Ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ue+e+e;case 4095:case 3583:case 4068:case 2532:return Ke(e,/(.+)-inline(.+)/,Ue+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(et(e)-1-t>6)switch(Ze(e,t+1)){case 109:if(45!==Ze(e,t+4))break;case 102:return Ke(e,/(.+:)(.+)-([^]+)/,"$1"+Ue+"$2-$3$1"+Me+(108==Ze(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ye(e,"stretch")?Pt(Ke(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ze(e,t+1))break;case 6444:switch(Ze(e,et(e)-3-(~Ye(e,"!important")&&10))){case 107:return Ke(e,":",":"+Ue)+e;case 101:return Ke(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ue+(45===Ze(e,14)?"inline-":"")+"box$3$1"+Ue+"$2$3$1"+Ge+"$2box$3")+e}break;case 5936:switch(Ze(e,t+11)){case 114:return Ue+e+Ge+Ke(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ue+e+Ge+Ke(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ue+e+Ge+Ke(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ue+e+Ge+e+e}return e}function Nt(e,t){for(var r="",n=tt(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function It(e,t,r,n){switch(e.type){case"@import":case ze:return e.return=e.return||e.value;case He:return"";case We:e.value=e.props.join(",")}return et(r=Nt(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ft(e){return function(t){t.root||(t=t.return)&&e(t)}}function St(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Lt=new WeakMap,Bt=function(e){if("rule"===e.type&&e.parent&&e.length){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Lt.get(r))&&!n){Lt.set(e,!0);for(var a=[],s=function(e,t){return wt(function(e,t){var r=-1,n=44;do{switch(ft(n)){case 0:38===n&&12===pt()&&(t[r]=1),e[r]+=Dt(it-1);break;case 2:e[r]+=xt(n);break;case 4:if(44===n){e[++r]=58===pt()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Je(n)}}while(n=mt());return e}(bt(e),t))}(t,a),i=r.props,o=0,l=0;o<s.length;o++)for(var u=0;u<i.length;u++,l++)e.props[l]=a[o]?s[o].replace(/&\f/g,i[u]):i[u]+" "+s[o]}}},Ot=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},jt=[function(e,t,r,n){if(!e.return)switch(e.type){case ze:e.return=Pt(e.value,e.length);break;case"@keyframes":return Nt([dt(Ke(e.value,"@","@"+Ue),e,"")],n);case We:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Nt([dt(Ke(t,/:(read-\w+)/,":-moz-$1"),e,"")],n);case"::placeholder":return Nt([dt(Ke(t,/:(plac\w+)/,":"+Ue+"input-$1"),e,""),dt(Ke(t,/:(plac\w+)/,":-moz-$1"),e,""),dt(Ke(t,/:(plac\w+)/,Ge+"input-$1"),e,"")],n)}return""}))}}],_t={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Vt=/[A-Z]|^ms/g,Gt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Mt=function(e){return 45===e.charCodeAt(1)},Ut=function(e){return null!=e&&"boolean"!=typeof e},Ht=St((function(e){return Mt(e)?e:e.replace(Vt,"-$&").toLowerCase()})),Wt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Gt,(function(e,t,r){return $t={name:t,styles:r,next:$t},t}))}return 1===_t[e]||Mt(e)||"number"!=typeof t||0===t?t:t+"px"};function zt(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return $t={name:r.name,styles:r.styles,next:$t},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)$t={name:n.name,styles:n.styles,next:$t},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=zt(e,t,r[a])+";";else for(var s in r){var i=r[s];if("object"!=typeof i)null!=t&&void 0!==t[i]?n+=s+"{"+t[i]+"}":Ut(i)&&(n+=Ht(s)+":"+Wt(s,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var o=zt(e,t,i);switch(s){case"animation":case"animationName":n+=Ht(s)+":"+o+";";break;default:n+=s+"{"+o+"}"}}else for(var l=0;l<i.length;l++)Ut(i[l])&&(n+=Ht(s)+":"+Wt(s,i[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var a=$t,s=r(e);return $t=a,zt(e,t,s)}}if(null==t)return r;var i=t[r];return void 0!==i?i:r}var $t,Jt=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Xt=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";$t=void 0;var s=e[0];null==s||void 0===s.raw?(n=!1,a+=zt(r,t,s)):a+=s[0];for(var i=1;i<e.length;i++)a+=zt(r,t,e[i]),n&&(a+=s[i]);Jt.lastIndex=0;for(var o,l="";null!==(o=Jt.exec(a));)l+="-"+o[1];return{name:function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+l,styles:a,next:$t}};function Kt(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var Yt=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}};function Zt(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function Qt(e,t,r){var n=[],a=Kt(e,n,r);return n.length<2?r:a+t(n)}var er=function e(t){for(var r="",n=0;n<t.length;n++){var a=t[n];if(null!=a){var s=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))s=e(a);else for(var i in s="",a)a[i]&&i&&(s&&(s+=" "),s+=i);break;default:s=a}s&&(r&&(r+=" "),r+=s)}}return r},tr=function(){var e=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,a,s=e.stylisPlugins||jt,i={},o=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)i[t[r]]=!0;o.push(e)}));var l,u=[Bt,Ot],d=[It,Ft((function(e){l.insert(e)}))],c=function(e){var t=tt(e);return function(r,n,a,s){for(var i="",o=0;o<t;o++)i+=e[o](r,n,a,s)||"";return i}}(u.concat(s,d));a=function(e,t,r,n){l=r,Nt(Ct(e?e+"{"+t.styles+"}":t.styles),c),n&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new Ve({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:i,registered:{},insert:a};return m.sheet.hydrate(o),m}({key:"css"});e.sheet.speedy=function(e){this.isSpeedy=e},e.compat=!0;var t=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=Xt(r,e.registered,void 0);return Yt(e,a,!1),e.key+"-"+a.name};return{css:t,cx:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return Qt(e.registered,t,er(n))},injectGlobal:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=Xt(r,e.registered);Zt(e,a)},keyframes:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=Xt(r,e.registered),s="animation-"+a.name;return Zt(e,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},hydrate:function(t){t.forEach((function(t){e.inserted[t]=!0}))},flush:function(){e.registered={},e.inserted={},e.sheet.flush()},sheet:e.sheet,cache:e,getRegisteredStyles:Kt.bind(null,e.registered),merge:Qt.bind(null,e.registered,t)}}().css;function rr(){return(rr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function nr(e,t){return t||(t=e.slice(0)),e.raw=t,e}var ar,sr,ir,or=tr(ar||(ar=nr(['\n width: 100vw;\n height: 100vh;\n\n .story-book-outer-div {\n .story-div {\n font-family: "Arial", sans-serif;\n font-size: 12px;\n }\n padding-bottom: 500px;\n }\n\n .story-div {\n position: fixed;\n box-sizing: border-box;\n top: 0;\n width: 250px;\n height: 100vh;\n z-index: 999;\n overflow-y: scroll;\n background: white;\n margin-bottom: 32px;\n }\n\n .header {\n padding: 24px 0 16px 16px;\n margin-bottom: 24px;\n color: white;\n background: #333;\n cursor: pointer;\n\n h2 {\n letter-spacing: 3px;\n font-weight: 400;\n }\n }\n\n .parentStoryList {\n list-style: none;\n padding-left: 16px;\n\n summary {\n margin-bottom: 4px;\n }\n }\n .parentStory {\n cursor: pointer;\n }\n .parentStory.selected {\n font-weight: bold;\n }\n\n .subStory {\n font-size: 12px;\n cursor: pointer;\n line-height: 1.5em;\n margin-top: 4px;\n\n a {\n display: block;\n padding: 4px 4px 4px 16px;\n }\n }\n .subStory:hover {\n background-color: #eee;\n }\n .subStory.selected {\n background-color: lightgreen;\n }\n\n .component {\n padding: 24px 16px;\n }\n\n h4.group-header {\n margin: 8px 0;\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n color: #575757;\n }\n\n .group-wrapper {\n margin-bottom: 24px;\n }\n\n .dynamic-display-wrapper {\n position: fixed;\n display: flex;\n flex-direction: column;\n bottom: 0;\n left: 100%;\n padding: 16px;\n z-index: 1000;\n background: white;\n transform: translateX(-100%);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n\n & > :not(:first-child) {\n margin-top: 12px;\n }\n\n p {\n font-size: 12px;\n margin: 0;\n padding: 0;\n }\n\n .button-wrapper {\n display: flex;\n\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n & button {\n border: 1px solid #eaeaea;\n background: white;\n border-radius: 4px;\n color: #777;\n padding: 4px 12px;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n &.active {\n background: #555;\n border-color: #555;\n color: white;\n }\n }\n }\n'])));function lr(e,t){var r,n=t.story.title.split("/"),a=n[1]?n[0]:"_";return rr({},e,((r={})[a]=[].concat(e[a]||[],[{story:rr({},t.story,{title:n[1]||n[0]}),subs:t.subs}]).sort((function(e,t){return e.story.title.localeCompare(t.story.title)})),r))}function ur(e){return{story:e.default,subs:function(e,t){if(null==e)return{};var r,n,a={},s=Object.keys(e);for(n=0;n<s.length;n++)t.indexOf(r=s[n])>=0||(a[r]=e[r]);return a}(e,["default"])}}const dr=Object.freeze({__proto__:null,default:{title:"Components/Share Button"},WithIconPrefix:()=>e(_,Object.assign({},{medium:"whatsapp",iconslot:"prefix"}),"Share"),WithIconSuffix:()=>e(_,Object.assign({},{medium:"whatsapp",iconslot:"suffix"}),"Share"),WithIconOverride:()=>e(_,Object.assign({},{medium:"facebook",icon:"person-badge"}),"Share"),TextStyle:()=>e(_,Object.assign({},{medium:"facebook",type:"text"}),"Share"),WithoutIcon:()=>e(_,Object.assign({},{medium:"facebook",hideicon:!0}),"Share"),WithoutText:()=>e(_,Object.assign({},{medium:"facebook",hidetext:!0}),"Share"),TextStyleWithoutIcon:()=>e(_,Object.assign({},{medium:"facebook",type:"text",hideicon:!0}),"Share"),WithCustomColors:()=>e(_,Object.assign({},{medium:"facebook",type:"text",backgroundcolor:"var(--sl-color-primary-500)",textcolor:"white",iconslot:"prefix"}),"Facebook"),WithCustomBorderRadius:()=>e(_,Object.assign({},{medium:"facebook",type:"text",borderradius:8,iconslot:"prefix"}),"Facebook"),FullStackIcon:()=>e("div",null,e("sqm-share-button",{medium:"facebook"},e("span",null,"Facebook")),e("br",null),e("sqm-share-button",{medium:"email"},e("span",null,"Email"))),AllMediums:()=>e("div",null,e("sqm-share-button",{medium:"facebook"},e("span",null,"Facebook")),e("br",null),e("sqm-share-button",{medium:"email"},e("span",null,"Email")),e("br",null),e("sqm-share-button",{medium:"whatsapp"},e("span",null,"WhatsApp")),e("br",null),e("sqm-share-button",{medium:"linkedin"},e("span",null,"Linkedin")),e("br",null),e("sqm-share-button",{medium:"twitter"},e("span",null,"Twitter")),e("br",null),e("sqm-share-button",{medium:"pinterest"},e("span",null,"Pinterest")),e("br",null),e("sqm-share-button",{medium:"fbmessenger"},e("span",null,"Messenger")),e("br",null),e("sqm-share-button",{medium:"sms"},e("span",null,"SMS")),e("br",null),e("sqm-share-button",{medium:"linemessenger"},e("span",null,"Line Messenger")),e("br",null),e("sqm-share-button",{medium:"direct"},e("span",null,"Direct")))}),cr=Object.freeze({__proto__:null,default:{title:"Components/Share Link"},Default:()=>e(V,Object.assign({},{shareString:"https://noah.example.com",open:!1,tooltiptext:"Copied!"})),Tooltip:()=>e(V,Object.assign({},{shareString:"https://noah.example.com",tooltiptext:"Some text for the tooltip",open:!0})),Disabled:()=>e(V,Object.assign({},{shareString:"https://noah.example.com",disabled:!0,open:!0,tooltiptext:"Copied!"})),FullStack:()=>e("sqm-share-link",null)}),mr=Object.freeze({__proto__:null,default:{title:"Components/Big Stat"},Default:()=>e(x,Object.assign({},{value:99e4,statvalue:"9.900,00",loading:!1}),"Big stat"),LeftAlign:()=>e(x,Object.assign({},{value:500,statvalue:"500",alignment:"left",loading:!1}),"Big stat"),RightAlign:()=>e(x,Object.assign({},{value:500,statvalue:"500",alignment:"right",loading:!1}),"Big stat"),FlexReverse:()=>e(x,Object.assign({},{value:500,statvalue:"500",flexReverse:!0,loading:!1}),"Big stat"),FlexReverseRight:()=>e(x,Object.assign({},{value:500,statvalue:"500",flexReverse:!0,alignment:"right",loading:!1}),"Big stat"),FlexReverseLeft:()=>e(x,Object.assign({},{value:500,statvalue:"500",flexReverse:!0,alignment:"left",loading:!1}),"Big stat"),NoStatValue:()=>e(x,Object.assign({},{value:0,statvalue:"...",loading:!1}),"Big stat"),InvalidStatValue:()=>e(x,Object.assign({},{value:0,statvalue:"!!!",loading:!1}),"Big stat")}),pr={usersheading:"TOP REFERRERS",statsheading:"NEW TITANS"},hr={empty:e("slot",{name:"empty"},e("sqm-portal-container",{padding:"xxxx-large",gap:"medium"},e("sqm-image",{"image-url":"https://i.imgur.com/KPGnPF8.png","max-width":"100px"}),e("sqm-titled-section",{"label-margin":"xxx-small",align:"center"},e("sqm-text",{slot:"label"},e("h3",null,"View your rank in the leaderboard")),e("sqm-text",{slot:"content"},"Be the first to refer a friend and reach the top of the leaderboard")))),loadingstate:e("slot",{name:"loading"},e("table",null,[...Array(10)].map((()=>e("tr",null,e("td",null,e("sl-skeleton",null)))))))},gr=Object.freeze({__proto__:null,default:{title:"Components/Leaderboard"},Empty:()=>{const t={states:{loading:!1,hasLeaders:!1,styles:{...pr}},data:{rankType:"rowNumber",leaderboard:[]},elements:{...hr}};return e(q,Object.assign({},t))},Loading:()=>{const t={states:{loading:!0,hasLeaders:!1,styles:{...pr}},data:{rankType:"rowNumber",leaderboard:[]},elements:{...hr}};return e(q,Object.assign({},t))},One:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{...pr}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1}]},elements:{...hr}};return e(q,Object.assign({},t))},Five:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{...pr}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5}]},elements:{...hr}};return e(q,Object.assign({},t))},FiveWithRank:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:!0}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5}]},elements:{...hr}};return e(q,Object.assign({},t))},Ten:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:!1}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5},{firstName:"Joe",lastInitial:"S",value:42,rank:6,rowNumber:6},{firstName:"Zach",lastInitial:"H",value:41,rank:7,rowNumber:7},{firstName:"Sarah",lastInitial:"S",value:39,rank:8,rowNumber:8},{firstName:"James",lastInitial:"N",value:33,rank:9,rowNumber:9},{firstName:"Fahim",lastInitial:"J",value:29,rank:10,rowNumber:10}]},elements:{...hr}};return e(q,Object.assign({},t))},TenWithRank:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:!0}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5},{firstName:"Joe",lastInitial:"S",value:42,rank:6,rowNumber:6},{firstName:"Zach",lastInitial:"H",value:41,rank:7,rowNumber:7},{firstName:"Sarah",lastInitial:"S",value:39,rank:8,rowNumber:8},{firstName:"James",lastInitial:"N",value:33,rank:9,rowNumber:9},{firstName:"Fahim",lastInitial:"J",value:29,rank:10,rowNumber:10}]},elements:{...hr}};return e(q,Object.assign({},t))},UserInList:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:!0}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5},{firstName:"Joe",lastInitial:"S",value:42,rank:6,rowNumber:6},{firstName:"Zach",lastInitial:"H",value:41,rank:7,rowNumber:7},{firstName:"Sarah",lastInitial:"S",value:39,rank:8,rowNumber:8},{firstName:"James",lastInitial:"N",value:33,rank:9,rowNumber:9},{firstName:"Fahim",lastInitial:"J",value:29,rank:10,rowNumber:10}],showUser:!0,userRank:{firstName:"Viktor",lastInitial:"V",value:82,rowNumber:1,rank:1}},elements:{...hr}};return e(q,Object.assign({},t))},UserOutside:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:!0}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5},{firstName:"Joe",lastInitial:"S",value:42,rank:6,rowNumber:6},{firstName:"Zach",lastInitial:"H",value:41,rank:7,rowNumber:7},{firstName:"Sarah",lastInitial:"S",value:39,rank:8,rowNumber:8},{firstName:"James",lastInitial:"N",value:33,rank:9,rowNumber:9},{firstName:"Fahim",lastInitial:"J",value:29,rank:10,rowNumber:10}],showUser:!0,userRank:{firstName:"Kutay",lastInitial:"C",value:8,rowNumber:11,rank:23}},elements:{...hr}};return e(q,Object.assign({},t))},UserEmpty:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:!0}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Firstname",lastInitial:null,value:82,rank:1,rowNumber:1},{firstName:null,lastInitial:"Lastname",value:73,rank:2,rowNumber:2},{firstName:null,lastInitial:null,value:64,rank:3,rowNumber:3}],showUser:!0,userRank:{firstName:null,lastInitial:null,value:null,rowNumber:null,rank:null}},elements:{...hr}};return e(q,Object.assign({},t))}}),fr=({story:t},r)=>{var n;const a=null===(n=t.story.parameters)||void 0===n?void 0:n.hookStory;if(!a)return r;const s=Math.round(1e5*Math.random());return e("sqm-hook-story-container-"+s,null,e("sqm-hook-story-container",{hookStory:a}))};function br(t){const r=()=>e("div",null);return r.parameters={hookStory:t},r}const wr=br((()=>e("div",null,e("button",{onClick:()=>u.push("/")},"/"),e("button",{onClick:()=>u.push("/foo")},"/foo"),e("button",{onClick:()=>u.push("/bar")},"/bar"),e("button",{onClick:()=>u.push("/baz/bang")},"/baz/bang"),e("button",{onClick:()=>u.push("/refer")},"/refer"),e("button",{onClick:()=>u.push("/refer/1")},"/refer/1"),e("button",{onClick:()=>u.push("/refer/2")},"/refer/2"),e("button",{onClick:()=>u.back()},"Back"),e("button",{onClick:()=>u.forward()},"Forward"),e("hr",null),e("sqm-router",{innerHTML:'\n <template path="/foo"><h1>foo</h1>\n \n <p>These elements don\'t produce a specific box by themselves. They are replaced by their pseudo-box and their child boxes. Please note that the CSS Display Level 3 spec defines how the contents value should affect "unusual elements" — elements that aren’t rendered purely by CSS box concepts such as replaced elements. See Appendix B: Effects of display: contents on Unusual Elements for more details.\n\n Due to a bug in browsers this will currently remove the element from the accessibility tree — screen readers will not look at what\'s inside. See the Accessibility concerns section below for more details.</p>\n </template>\n <template path="/bar"><h2>bar</h2>\n \n <p>Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.\n To have an element take up the space that it would normally take, but without actually rendering anything, use the visibility property instead.</p>\n </template>\n <template path="/baz/bang"><h3>baz/bang</h3>\n <pre>\n ▄▄▄▄▄▄▄░▄▄▄▄▄▄▄░▄▄▄▄▄▄░▄▄▄▄▄\n ░░▀███░░░░▀██░░░░██▀░░░░██░░\n ░░░▀██░░░░░▀██░░▄█░░░░░▄█░░░\n ░░░░███░░░░░▀██▄█░░░░░░█░░░░\n ░░░░░███░░░░░▀██░░░░░░█▀░░░░\n ░░░░░░███░░░░▄███░░░░█▀░░░░░\n ░░░░░░░██▄░░▄▀░███░░█▀░░░░░░\n ░░░░░░░▀██▄█▀░░░███▄▀░░░░░░░\n ░░░░░░░░▀██▀░░░░░███░░░░░░░░\n ░░░░░░░░░▀▀░░░░░░░▀░░░░░░░░░\n </pre>\n </template>\n <template path="/refer/:page"><h3>/refer/:page</h3>\n <pre>\n refer/:page\n </pre>\n </template>\n'})))),xr=br((()=>e("div",null,e("button",{onClick:()=>u.push("/")},"/"),e("button",{onClick:()=>u.push("/foo")},"/foo"),e("button",{onClick:()=>u.push("/bar")},"/bar"),e("button",{onClick:()=>u.push("/baz/bang")},"/baz/bang"),e("button",{onClick:()=>u.push("/refer")},"/refer"),e("button",{onClick:()=>u.push("/refer/1")},"/refer/1"),e("button",{onClick:()=>u.push("/refer/2")},"/refer/2"),e("button",{onClick:()=>u.back()},"Back"),e("button",{onClick:()=>u.forward()},"Forward"),e("hr",null),e("sqm-router",{innerHTML:'\n <sqm-route path="/foo"><h1>foo</h1>\n \n <p>These elements don\'t produce a specific box by themselves. They are replaced by their pseudo-box and their child boxes. Please note that the CSS Display Level 3 spec defines how the contents value should affect "unusual elements" — elements that aren’t rendered purely by CSS box concepts such as replaced elements. See Appendix B: Effects of display: contents on Unusual Elements for more details.\n\n Due to a bug in browsers this will currently remove the element from the accessibility tree — screen readers will not look at what\'s inside. See the Accessibility concerns section below for more details.</p>\n </sqm-route>\n <sqm-route path="/bar"><h2>bar</h2>\n <p>Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.\n To have an element take up the space that it would normally take, but without actually rendering anything, use the visibility property instead.</p>\n </sqm-route>\n <sqm-route path="/baz/bang"><h3>baz/bang</h3>\n <pre>\n ▄▄▄▄▄▄▄░▄▄▄▄▄▄▄░▄▄▄▄▄▄░▄▄▄▄▄\n ░░▀███░░░░▀██░░░░██▀░░░░██░░\n ░░░▀██░░░░░▀██░░▄█░░░░░▄█░░░\n ░░░░███░░░░░▀██▄█░░░░░░█░░░░\n ░░░░░███░░░░░▀██░░░░░░█▀░░░░\n ░░░░░░███░░░░▄███░░░░█▀░░░░░\n ░░░░░░░██▄░░▄▀░███░░█▀░░░░░░\n ░░░░░░░▀██▄█▀░░░███▄▀░░░░░░░\n ░░░░░░░░▀██▀░░░░░███░░░░░░░░\n ░░░░░░░░░▀▀░░░░░░░▀░░░░░░░░░\n </pre>\n </sqm-route>\n <sqm-route path="/refer/:page"><h3>/refer/:page</h3>\n <pre>\n refer/:page\n </pre>\n </sqm-route>\n'})))),vr=br((()=>e("div",null,e("button",{onClick:()=>u.push("/")},"/"),e("button",{onClick:()=>u.push("/foo")},"/foo"),e("hr",null),e("div",{style:{display:"flex",justifyContent:"space-around"}},e("sqm-router",{innerHTML:'<template path="/">\n \n <div>Column 1</div>\n <div>Column 2 </div>\n </template>'})))));function Er(t){const{states:r,callbacks:n}=t;return[e("textarea",{style:{width:"100%",height:"300px"},onChange:e=>n.setEditedTemplate(e.target.value)},r.editedTemplate),e("button",{onClick:()=>n.setPreviewTemplate(r.editedTemplate)},"Update Preview"),e("label",null,"Current path:",e("input",{onInput:n.setPath,value:"/"})),e("div",{innerHTML:r.previewTemplate})]}const yr=br((()=>{const{states:t,callbacks:r}=function(e){const[t,r]=s(e),[n,a]=s(e);return{states:{previewTemplate:n,editedTemplate:t},callbacks:{setEditedTemplate:r,setPreviewTemplate:a,setPath:function(e){u.push(e.target.value)}}}}('\n<sqm-router>\n <template path="/">\n <div>hello world</div>\n </template>\n</sqm-router>\n');return e(Er,{states:t,callbacks:r})})),qr=Object.freeze({__proto__:null,default:{title:"Tests/Router"},TemplateNavigation:wr,RouteNavigation:xr,Styling:vr,RouterPlayground:yr}),Dr=Object.freeze({__proto__:null,default:{title:"Components/Leaderboard Rank"},First:()=>e("p",null,"Your rank is ",e(A,Object.assign({},{data:{rank:"1st"}}))," on the leaderboard")}),Cr={data:{footer:e("span",null,"example@example.com"),header:e("div",{slot:"header",style:{display:"flex",flexDirection:"column"}},e("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),e("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal"))},callbacks:{rerender:()=>{}},ref:{current:void 0}},Ar=Object.freeze({__proto__:null,default:{title:"Components/Portal Frame"},FrameWithMenu:()=>{const t={...Cr};return e(G,Object.assign({},t),e("sqm-navigation-menu",{"menu-label":"Menu"},e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/widget"},"Dashboard"),e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/editProfile"},"Edit Profile"),e("sl-menu-divider",null),e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/logout"},"Logout")))},FrameWithoutMenu:()=>{const t={...Cr};return e(G,Object.assign({},t))},FullStackFrame:()=>{var t;return function(){const e="worried-camera@uexwltgh.mailosaur.net";window.SquatchAndroid=!0,window.widgetIdent={tenantAlias:"test_as36zjtpfy7oo",appDomain:"https://staging.referralsaasquatch.com",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQifX0.-WGV4_bzGCFp-OTIO-h-yp0MlgtkdufT_GgI4T691OY",userId:e,accountId:"worried-camera@uexwltgh.mailosaur.net",programId:"a-referral-program"}}(),e("div",null,e("sqm-portal-frame",null,e("div",{slot:"header",style:{display:"flex",flexDirection:"column"}},e("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),e("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal")),e("a",{slot:"footer",class:"FooterEmail",href:"mailto:referrals@servicetitan.com"},"referrals@servicetitan.com"),e("sqm-navigation-menu",{"menu-label":"Menu"},e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/widget"},"Dashboard"),e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/editProfile"},"Edit Profile"),e("sl-menu-divider",null),e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/logout"},"Logout")),e("h1",null,"Something")),e("p",null,"Current path:"," ",e("code",null,e("strong",null,null===(t=d())||void 0===t?void 0:t.pathname))),e("button",{onClick:u.back},"Go Back"))},FullStackFrameLoggedOut:()=>{var t;return window.SquatchAndroid=!0,window.widgetIdent={tenantAlias:"test_as36zjtpfy7oo",appDomain:"https://staging.referralsaasquatch.com",programId:"a-referral-program"},e("div",null,e("sqm-portal-frame",null,e("div",{slot:"header",style:{display:"flex",flexDirection:"column"}},e("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),e("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal")),e("span",{slot:"footer"},"sample@example.com"),e("sqm-navigation-menu",{"menu-label":"Menu"},e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/widget"},"Dashboard"),e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/editProfile"},"Edit Profile"),e("sl-menu-divider",null),e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/logout"},"Logout")),e("h1",null,"Something")),e("p",null,"Current path:"," ",e("code",null,e("strong",null,null===(t=d())||void 0===t?void 0:t.pathname))),e("button",{onClick:u.back},"Go Back"))}}),kr={states:{loading:!1,submitDisabled:!1,formState:{currentRegion:"Canada",firstName:"Bill",lastName:"Bob",errors:{},error:"An error string"},user:{firstName:"Bill",lastName:"Bob",email:"billbob@example.com"},showEdit:!1,text:{editprofileheader:"Edit Profile",editprofiletext:"Update your profile.",firstnametext:"Bill",lastnametext:"Bob",canceltext:"Cancel",updatetext:"Update",currentregiontext:"Canada"}},callbacks:{onSubmit:e=>{console.log(e)},resetForm:()=>{console.log("reset")},onChange:()=>{console.log("change")},setShowEdit:e=>{console.log(e)}}},Rr=Object.freeze({__proto__:null,default:{title:"Components/Edit Profile Form"},EditProfileFormDisabled:()=>e(M,Object.assign({},kr)),EditProfileFormEnabled:()=>{const t={...kr,states:{...kr.states,showEdit:!0}};return e(M,Object.assign({},t))},FullStackFrameWithMenu:()=>e("sqm-edit-profile",{editprofileheader:"Edit Profile",editprofiletext:"Update your profile.",firstnametext:"Bill",lastnametext:"Bob",canceltext:"Cancel",updatetext:"Update",currentregiontext:"Current Region",showregion:!0})});function Tr(){window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:"sam-partner-test-2"},i((()=>(c({accountId:"testestest",id:"testestest",jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"}),()=>{window.widgetIdent=void 0,c(void 0)})),[])}const Pr=br((()=>{Tr();const t=U({programId:"sam-partner-test-2",tooltiplifespan:0,tooltiptext:""});return e("div",null,"Sharelink:"," ",e("code",{style:{borderStyle:"solid",borderWidth:"1px",padding:"2px"}},t.shareString))})),Nr=br((()=>(Tr(),e(V,Object.assign({},U({programId:"sam-partner-test-2",tooltiptext:"Copied to clipboard",tooltiplifespan:1e3})))))),Ir=br((()=>(Tr(),e(V,Object.assign({},U({programId:"sam-partner-test-2",tooltiptext:"⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",tooltiplifespan:500})))))),Fr=Object.freeze({__proto__:null,default:{title:"Hooks / useShareLink"},BareBonesView:Pr,RegularView:Nr,FastTooltip:Ir});function Sr(){window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:"sam-partner-test-2"},i((()=>(c({accountId:"testestest",id:"testestest",jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"}),()=>{window.widgetIdent=void 0,c(void 0)})),[])}const Lr=br((()=>{Sr();const t="sam-partner-test-2",r=[H({programId:t,medium:"facebook"}),H({programId:t,medium:"twitter"}),H({programId:t,medium:"email"}),H({programId:t,medium:"direct"}),H({programId:t,medium:"sms"})];return e("div",null,r.map((t=>e("div",null,e("button",{onClick:t.onClick},"Share link (",t.medium,")")))))})),Br=br((()=>(Sr(),e("div",null,["facebook","twitter","email","direct","sms"].map((t=>e("div",null,e("sqm-share-button",Object.assign({},{programId:"sam-partner-test-2",medium:t}),"BUTTON_TEXT")))))))),Or=Object.freeze({__proto__:null,default:{title:"Hooks / useShareButton"},BareBonesView:Lr,RegularView:Br}),jr=(t,r)=>{console.log(`View("${t}") - CALLED`),window.widgetIdent={tenantAlias:"test_a7yoz8854cf6x",appDomain:"https://staging.referralsaasquatch.com",programId:"ny-post-referrals"},i((()=>(c({accountId:"nynellie",id:"nynellie",jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6Im55bmVsbGllIiwiaWQiOiJueW5lbGxpZSJ9fQ.3KV974VPLgk4tD8LQfJTi4IPkKCmnaB8w48HzVJYDuI"}),()=>{window.widgetIdent=void 0,c(void 0)})),[]);const{props:n,label:a}=v({statType:t,render:()=>{},disconnectedCallback:()=>{},ignored:!0});return e("div",null,e("b",null,"Stat format:"),e("pre",null,r),e("br",null),e("b",null,"Stat selected:")," ",e("pre",{style:{color:"green"}},t),e(x,Object.assign({},n),a))},_r=br((()=>{const[t,r]=s("/someRandomThing/with/someArguments/1234"),{props:n,label:a}=E({statType:t,render:()=>{},disconnectedCallback:()=>{},ignored:!0});return e("div",null,e("div",null,"Stat type:"," ",e("input",{style:{width:"300px"},type:"text",value:t,onInput:e=>r(e.target.value)})),e("hr",null),e("div",null,e(x,Object.assign({},n),a)))})),Vr=br((()=>jr("/referralsCount","/(referralsCount)/:status?"))),Gr=br((()=>jr("/referralsCount/converted","/(referralsCount)/:status?"))),Mr=br((()=>jr("/referralsCount/started","/(referralsCount)/:status?"))),Ur=br((()=>jr("/referralsMonth","/(referralsMonth)"))),Hr=br((()=>jr("/referralsWeek","/(referralsWeek)"))),Wr=br((()=>jr("/rewardsCount","/(rewardsCount)/:global?"))),zr=br((()=>jr("/rewardsCount/global","/(rewardsCount)/:global"))),$r=br((()=>jr("/rewardsCountFiltered/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),Jr=br((()=>jr("/rewardsCountFiltered/PCT_DISCOUNT/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),Xr=br((()=>jr("/rewardsCountFiltered/PCT_DISCOUNT/PENDING/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),Kr=br((()=>jr("/rewardsCountFiltered/CREDIT/COFFEE","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),Yr=br((()=>jr("/rewardsCountFiltered/CREDIT/COFFEE/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),Zr=br((()=>jr("/rewardsCountFiltered/CREDIT/COFFEE/PENDING/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),Qr=br((()=>jr("/rewardsCountFiltered/AVAILABLE","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),en=br((()=>jr("/integrationRewardsCountFiltered/AVAILABLE/global","/(integrationRewardsCountFiltered)/:format([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),tn=br((()=>jr("/integrationRewardsCountFiltered/PENDING/global","/(integrationRewardsCountFiltered)/:format([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),rn=br((()=>jr("/rewardsMonth","/(rewardsMonth)/:global?"))),nn=br((()=>jr("/rewardsWeek","/(rewardsWeek)/:global?"))),an=br((()=>jr("/rewardsAssigned/CREDIT/COFFEE","/(rewardsAssigned)/:statType/:unit/:global?"))),sn=br((()=>jr("/rewardsAssigned/CREDIT/CASH%2FUSD","/(rewardsAssigned)/:statType/:unit/:global?"))),on=br((()=>jr("/rewardsRedeemed/CREDIT/COFFEE","/(rewardsRedeemed)/:statType/:unit/:global?"))),ln=br((()=>jr("/rewardsAvailable/CREDIT/COFFEE","/(rewardsAvailable)/:statType/:unit/:global?"))),un=br((()=>jr("/rewardsAvailable/CREDIT/CASH%2FUSD","/(rewardsAvailable)/:statType/:unit/:global?"))),dn=br((()=>jr("/rewardBalance/CREDIT/COFFEE/prettyValue","/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?"))),cn=br((()=>{const e=encodeURIComponent("CASH/USD");return jr(`/rewardBalance/CREDIT/${e}/prettyValue`,"/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?")})),mn=br((()=>{const e=encodeURIComponent("Paid-Member-Goal/referrals");return jr(`/programGoals/count/${e}`,"/(programGoals)/:metricType/:goalId")})),pn=br((()=>jr("/customFields/thingCount","/(customFields)/:customField"))),hn=Object.freeze({__proto__:null,default:{title:"Hooks / useBigStat"},Demo:_r,ReferralsCount:Vr,referralsConvertedCount:Gr,referralsStartedCount:Mr,ReferralsMonth:Ur,ReferralsWeek:Hr,RewardsCount:Wr,GlobalRewardsCount:zr,GlobalRewardsCountFiltered:$r,GlobalRewardsCountPctDiscount:Jr,GlobalRewardsCountPctDiscountPending:Xr,RewardsCountByUnit:Kr,GlobalRewardsCountByUnit:Yr,GlobalPendingRewardsCount:Zr,RewardsAvailableCount:Qr,GlobalRewardsCountByIntegration:en,GlobalRewardsCountByPendingIntegration:tn,RewardsMonth:rn,RewardsWeek:nn,RewardsAssigned:an,RewardsAssignedCashUSD:sn,RewardsRedeemed:on,RewardsAvailable:ln,RewardsAvailableWithSlash:un,RewardBalance:dn,RewardBalanceCashUSD:cn,ProgramGoals:mn,CustomField:pn}),gn=br((()=>(window.widgetIdent={tenantAlias:"test_as36zjtpfy7oo",appDomain:"https://staging.referralsaasquatch.com",programId:"a-referral-program"},i((()=>(c({accountId:"worried-camera@uexwltgh.mailosaur.net",id:"worried-camera@uexwltgh.mailosaur.net",jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0"}),()=>{window.widgetIdent=void 0,c(void 0)})),[]),e("sqm-edit-profile",Object.assign({},{editprofileheader:"HEADER",editprofiletext:"TEXT",firstnametext:"FIRST NAME",lastnametext:"LAST NAME",canceltext:"CANCEL",updatetext:"UPDATE",currentregiontext:"CURRENT REGION TEXT"}))))),fn=Object.freeze({__proto__:null,default:{title:"Hooks / useEditProfile"},RegularView:gn}),bn=t=>{const r={leaderboardType:"topConvertedReferrers",showRank:!0,rankType:"rowNumber",usersheading:"Top Referrers",statsheading:"Completed Referrals",interval:"",empty:e("span",null,"No Referrals"),loadingstate:e("span",null,"Loading"),...t},{leaderboardType:n,rankType:a}=r;console.log(`View("${n}") - CALLED`),window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:"sam-partner-test-2"},i((()=>(c({accountId:"testestest",id:"testestest",jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"}),()=>{window.widgetIdent=void 0,c(void 0)})),[]);const{states:s,data:o,elements:l}=D(r);return e("div",{style:{marginBottom:"20px"}},e("sqm-divided-layout",{direction:"row"},e("div",{style:{padding:"10px"}},e("b",null,"Leaderboard Type"),e("pre",null,n)),e("div",{style:{padding:"10px"}},e("b",null,"Rank Type"),e("pre",null,a))),e(q,{states:s,data:o,elements:l}),e("hr",null))},wn=br((()=>[bn(),bn({rankType:"rank"}),bn({rankType:"denseRank"})])),xn=br((()=>[bn({leaderboardType:"topStartedReferrers",statsheading:"New Referrals"}),bn({leaderboardType:"topStartedReferrers",rankType:"rank",statsheading:"New Referrals"}),bn({leaderboardType:"topStartedReferrers",rankType:"denseRank",statsheading:"New Referrals"})])),vn=Object.freeze({__proto__:null,default:{title:"Hooks / useLeaderboard"},TopConvertedReferrers:wn,TopStartedReferrers:xn}),En=Object.freeze({__proto__:null,default:{title:"Components/Form Message"},SuccessAlert:()=>e("sqm-form-message",{type:"success"},e("div",null,"This is a success message.")),ErrorAlert:()=>e("sqm-form-message",{type:"error"},e("div",null,"This is an error message")),InfoAlert:()=>e("sqm-form-message",{type:"info"},e("div",null,"This is an info message")),FullStackSuccess:()=>e("sqm-form-message",{type:"success",exportparts:"successalert-icon"},e("div",{class:"AlertContent"},e("div",{part:"successalert-text"},"Title"),e("div",{part:"successalert-subtext"},"Body text."),e("sl-button",{type:"default",exportparts:"base: defaultbutton-base",onClick:()=>{console.log("click")}},"Primary Action"),e("sl-button",{class:"SecondaryTextButton",type:"text",onClick:()=>{console.log("click")}},"Secondary Action")))}),yn=m.gql`
|
|
1
|
+
import{h as e,r as t,c as r}from"./p-64c3217a.js";import{a as n,i as a,k as s,u as i,c as o,m as l}from"./p-b7da9a8a.js";import"./p-5a2bd8cc.js";import"./p-d1520098.js";import{p as u,h as d,Y as c,d as m,K as p,A as h}from"./p-3b184c32.js";import"./p-81f34787.js";import"./p-f4c0cd0b.js";import"./p-c1086930.js";import"./p-26f627aa.js";import{c as g}from"./p-373fa002.js";import{G as f}from"./p-13cc779c.js";import{l as b}from"./p-591de129.js";import"./p-179988b5.js";import{A as w}from"./p-5c75acad.js";import{B as x}from"./p-73d5306f.js";import{a as v,u as E}from"./p-0d66fc45.js";import{H as y}from"./p-023dcaee.js";import{L as q,u as D,S as C}from"./p-01edde1a.js";import{L as A}from"./p-b3af1c6f.js";import{N as k}from"./p-9b48d01e.js";import{N as R}from"./p-3e556042.js";import{N as T}from"./p-ea197664.js";import{P}from"./p-7a5c88bc.js";import{a as N,P as I}from"./p-0aee946d.js";import{P as F}from"./p-4a1b7d35.js";import{P as S}from"./p-c2e84199.js";import{P as L}from"./p-153aab3c.js";import{P as B}from"./p-d33eb961.js";import{P as O}from"./p-1d1e9197.js";import{S as j}from"./p-204fd08c.js";import{S as _,a as V,P as G,E as M,u as U,b as H,c as W,d as z,e as $,T as J,f as X,R as K,g as Y,C as Z,h as Q}from"./p-a1a29168.js";import{P as ee}from"./p-b70c5c92.js";var te,re=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ne=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",se="["+ae+"]",ie="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",oe="\\d+",le="[a-z\\xdf-\\xf6\\xf8-\\xff]",ue="[^\\ud800-\\udfff"+ae+oe+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",de="\\ud83c[\\udffb-\\udfff]",ce="[^\\ud800-\\udfff]",me="(?:\\ud83c[\\udde6-\\uddff]){2}",pe="[\\ud800-\\udbff][\\udc00-\\udfff]",he="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ge="(?:"+le+"|"+ue+")",fe="(?:"+he+"|"+ue+")",be="(?:"+ie+"|"+de+")?",we="[\\ufe0e\\ufe0f]?"+be+"(?:\\u200d(?:"+[ce,me,pe].join("|")+")[\\ufe0e\\ufe0f]?"+be+")*",xe="(?:"+["[\\u2700-\\u27bf]",me,pe].join("|")+")"+we,ve="(?:"+[ce+ie+"?",ie,me,pe,"[\\ud800-\\udfff]"].join("|")+")",Ee=RegExp("['’]","g"),ye=RegExp(ie,"g"),qe=RegExp(de+"(?="+de+")|"+ve+we,"g"),De=RegExp([he+"?"+le+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[se,he,"$"].join("|")+")",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[se,he+ge,"$"].join("|")+")",he+"?"+ge+"+(?:['’](?:d|ll|m|re|s|t|ve))?",he+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",oe,xe].join("|"),"g"),Ce=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),Ae=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ke="object"==typeof self&&self&&self.Object===Object&&self,Re="object"==typeof n&&n&&n.Object===Object&&n||ke||Function("return this")(),Te=(te={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return null==te?void 0:te[e]});function Pe(e){return Ce.test(e)}var Ne=Object.prototype.toString,Ie=Re.Symbol,Fe=Ie?Ie.prototype:void 0,Se=Fe?Fe.toString:void 0;function Le(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==Ne.call(e)}(e))return Se?Se.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}var Be,Oe=(Be=function(e,t,r){return e+(r?" ":"")+je(t)},function(e){return function(e,t,r){for(var n=-1,a=e?e.length:0;++n<a;)r=t(r,e[n],n,e);return r}(function(e,t){return e=Le(e),void 0===(t=t)?function(e){return Ae.test(e)}(e)?function(e){return e.match(De)||[]}(e):function(e){return e.match(re)||[]}(e):e.match(t)||[]}(function(e){return(e=Le(e))&&e.replace(ne,Te).replace(ye,"")}(e).replace(Ee,"")),Be,"")}),je=("toUpperCase",function(e){var t,r,n,a,s=Pe(e=Le(e))?function(e){return Pe(e)?function(e){return e.match(qe)||[]}(e):function(e){return e.split("")}(e)}(e):void 0,i=s?s[0]:e.charAt(0),o=s?(t=s,r=1,a=t.length,n=void 0===n?a:n,!r&&n>=a?t:function(e,t,r){var n=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(a);++n<a;)s[n]=e[n+t];return s}(t,r,n)).join(""):e.slice(1);return i.toUpperCase()+o}),_e=Oe,Ve=function(){function e(e){var t=this;this._insertTag=function(e){t.container.insertBefore(e,0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Ge="-ms-",Me="-moz-",Ue="-webkit-",He="comm",We="rule",ze="decl",$e=Math.abs,Je=String.fromCharCode;function Xe(e){return e.trim()}function Ke(e,t,r){return e.replace(t,r)}function Ye(e,t){return e.indexOf(t)}function Ze(e,t){return 0|e.charCodeAt(t)}function Qe(e,t,r){return e.slice(t,r)}function et(e){return e.length}function tt(e){return e.length}function rt(e,t){return t.push(e),e}var nt=1,at=1,st=0,it=0,ot=0,lt="";function ut(e,t,r,n,a,s,i){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:nt,column:at,length:i,return:""}}function dt(e,t,r){return ut(e,t.root,t.parent,r,t.props,t.children,0)}function ct(){return ot=it>0?Ze(lt,--it):0,at--,10===ot&&(at=1,nt--),ot}function mt(){return ot=it<st?Ze(lt,it++):0,at++,10===ot&&(at=1,nt++),ot}function pt(){return Ze(lt,it)}function ht(){return it}function gt(e,t){return Qe(lt,e,t)}function ft(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function bt(e){return nt=at=1,st=et(lt=e),it=0,[]}function wt(e){return lt="",e}function xt(e){return Xe(gt(it-1,yt(91===e?e+2:40===e?e+1:e)))}function vt(e){for(;(ot=pt())&&ot<33;)mt();return ft(e)>2||ft(ot)>3?"":" "}function Et(e,t){for(;--t&&mt()&&!(ot<48||ot>102||ot>57&&ot<65||ot>70&&ot<97););return gt(e,ht()+(t<6&&32==pt()&&32==mt()))}function yt(e){for(;mt();)switch(ot){case e:return it;case 34:case 39:return yt(34===e||39===e?e:ot);case 40:41===e&&yt(e);break;case 92:mt()}return it}function qt(e,t){for(;mt()&&e+ot!==57&&(e+ot!==84||47!==pt()););return"/*"+gt(t,it-1)+"*"+Je(47===e?e:mt())}function Dt(e){for(;!ft(pt());)mt();return gt(e,it)}function Ct(e){return wt(At("",null,null,null,[""],e=bt(e),0,[0],e))}function At(e,t,r,n,a,s,i,o,l){for(var u=0,d=0,c=i,m=0,p=0,h=0,g=1,f=1,b=1,w=0,x="",v=a,E=s,y=n,q=x;f;)switch(h=w,w=mt()){case 34:case 39:case 91:case 40:q+=xt(w);break;case 9:case 10:case 13:case 32:q+=vt(h);break;case 92:q+=Et(ht()-1,7);continue;case 47:switch(pt()){case 42:case 47:rt(Rt(qt(mt(),ht()),t,r),l);break;default:q+="/"}break;case 123*g:o[u++]=et(q)*b;case 125*g:case 59:case 0:switch(w){case 0:case 125:f=0;case 59+d:p>0&&et(q)-c&&rt(p>32?Tt(q+";",n,r,c-1):Tt(Ke(q," ","")+";",n,r,c-2),l);break;case 59:q+=";";default:if(rt(y=kt(q,t,r,u,d,a,o,x,v=[],E=[],c),s),123===w)if(0===d)At(q,t,y,y,v,s,c,o,E);else switch(m){case 100:case 109:case 115:At(e,y,y,n&&rt(kt(e,y,y,0,0,a,o,x,a,v=[],c),E),a,E,c,o,n?v:E);break;default:At(q,y,y,y,[""],E,c,o,E)}}u=d=p=0,g=b=1,x=q="",c=i;break;case 58:c=1+et(q),p=h;default:if(g<1)if(123==w)--g;else if(125==w&&0==g++&&125==ct())continue;switch(q+=Je(w),w*g){case 38:b=d>0?1:(q+="\f",-1);break;case 44:o[u++]=(et(q)-1)*b,b=1;break;case 64:45===pt()&&(q+=xt(mt())),m=pt(),d=et(x=q+=Dt(ht())),w++;break;case 45:45===h&&2==et(q)&&(g=0)}}return s}function kt(e,t,r,n,a,s,i,o,l,u,d){for(var c=a-1,m=0===a?s:[""],p=tt(m),h=0,g=0,f=0;h<n;++h)for(var b=0,w=Qe(e,c+1,c=$e(g=i[h])),x=e;b<p;++b)(x=Xe(g>0?m[b]+" "+w:Ke(w,/&\f/g,m[b])))&&(l[f++]=x);return ut(e,t,r,0===a?We:o,l,u,d)}function Rt(e,t,r){return ut(e,t,r,He,Je(ot),Qe(e,2,-2),0)}function Tt(e,t,r,n){return ut(e,t,r,ze,Qe(e,0,n),Qe(e,n+1,-1),n)}function Pt(e,t){switch(function(e,t){return(((t<<2^Ze(e,0))<<2^Ze(e,1))<<2^Ze(e,2))<<2^Ze(e,3)}(e,t)){case 5103:return Ue+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ue+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ue+e+Me+e+Ge+e+e;case 6828:case 4268:return Ue+e+Ge+e+e;case 6165:return Ue+e+Ge+"flex-"+e+e;case 5187:return Ue+e+Ke(e,/(\w+).+(:[^]+)/,Ue+"box-$1$2"+Ge+"flex-$1$2")+e;case 5443:return Ue+e+Ge+"flex-item-"+Ke(e,/flex-|-self/,"")+e;case 4675:return Ue+e+Ge+"flex-line-pack"+Ke(e,/align-content|flex-|-self/,"")+e;case 5548:return Ue+e+Ge+Ke(e,"shrink","negative")+e;case 5292:return Ue+e+Ge+Ke(e,"basis","preferred-size")+e;case 6060:return Ue+"box-"+Ke(e,"-grow","")+Ue+e+Ge+Ke(e,"grow","positive")+e;case 4554:return Ue+Ke(e,/([^-])(transform)/g,"$1"+Ue+"$2")+e;case 6187:return Ke(Ke(Ke(e,/(zoom-|grab)/,Ue+"$1"),/(image-set)/,Ue+"$1"),e,"")+e;case 5495:case 3959:return Ke(e,/(image-set\([^]*)/,Ue+"$1$`$1");case 4968:return Ke(Ke(e,/(.+:)(flex-)?(.*)/,Ue+"box-pack:$3"+Ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ue+e+e;case 4095:case 3583:case 4068:case 2532:return Ke(e,/(.+)-inline(.+)/,Ue+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(et(e)-1-t>6)switch(Ze(e,t+1)){case 109:if(45!==Ze(e,t+4))break;case 102:return Ke(e,/(.+:)(.+)-([^]+)/,"$1"+Ue+"$2-$3$1"+Me+(108==Ze(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ye(e,"stretch")?Pt(Ke(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ze(e,t+1))break;case 6444:switch(Ze(e,et(e)-3-(~Ye(e,"!important")&&10))){case 107:return Ke(e,":",":"+Ue)+e;case 101:return Ke(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ue+(45===Ze(e,14)?"inline-":"")+"box$3$1"+Ue+"$2$3$1"+Ge+"$2box$3")+e}break;case 5936:switch(Ze(e,t+11)){case 114:return Ue+e+Ge+Ke(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ue+e+Ge+Ke(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ue+e+Ge+Ke(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ue+e+Ge+e+e}return e}function Nt(e,t){for(var r="",n=tt(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function It(e,t,r,n){switch(e.type){case"@import":case ze:return e.return=e.return||e.value;case He:return"";case We:e.value=e.props.join(",")}return et(r=Nt(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ft(e){return function(t){t.root||(t=t.return)&&e(t)}}function St(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Lt=new WeakMap,Bt=function(e){if("rule"===e.type&&e.parent&&e.length){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Lt.get(r))&&!n){Lt.set(e,!0);for(var a=[],s=function(e,t){return wt(function(e,t){var r=-1,n=44;do{switch(ft(n)){case 0:38===n&&12===pt()&&(t[r]=1),e[r]+=Dt(it-1);break;case 2:e[r]+=xt(n);break;case 4:if(44===n){e[++r]=58===pt()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Je(n)}}while(n=mt());return e}(bt(e),t))}(t,a),i=r.props,o=0,l=0;o<s.length;o++)for(var u=0;u<i.length;u++,l++)e.props[l]=a[o]?s[o].replace(/&\f/g,i[u]):i[u]+" "+s[o]}}},Ot=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},jt=[function(e,t,r,n){if(!e.return)switch(e.type){case ze:e.return=Pt(e.value,e.length);break;case"@keyframes":return Nt([dt(Ke(e.value,"@","@"+Ue),e,"")],n);case We:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Nt([dt(Ke(t,/:(read-\w+)/,":-moz-$1"),e,"")],n);case"::placeholder":return Nt([dt(Ke(t,/:(plac\w+)/,":"+Ue+"input-$1"),e,""),dt(Ke(t,/:(plac\w+)/,":-moz-$1"),e,""),dt(Ke(t,/:(plac\w+)/,Ge+"input-$1"),e,"")],n)}return""}))}}],_t={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Vt=/[A-Z]|^ms/g,Gt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Mt=function(e){return 45===e.charCodeAt(1)},Ut=function(e){return null!=e&&"boolean"!=typeof e},Ht=St((function(e){return Mt(e)?e:e.replace(Vt,"-$&").toLowerCase()})),Wt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Gt,(function(e,t,r){return $t={name:t,styles:r,next:$t},t}))}return 1===_t[e]||Mt(e)||"number"!=typeof t||0===t?t:t+"px"};function zt(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return $t={name:r.name,styles:r.styles,next:$t},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)$t={name:n.name,styles:n.styles,next:$t},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=zt(e,t,r[a])+";";else for(var s in r){var i=r[s];if("object"!=typeof i)null!=t&&void 0!==t[i]?n+=s+"{"+t[i]+"}":Ut(i)&&(n+=Ht(s)+":"+Wt(s,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var o=zt(e,t,i);switch(s){case"animation":case"animationName":n+=Ht(s)+":"+o+";";break;default:n+=s+"{"+o+"}"}}else for(var l=0;l<i.length;l++)Ut(i[l])&&(n+=Ht(s)+":"+Wt(s,i[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var a=$t,s=r(e);return $t=a,zt(e,t,s)}}if(null==t)return r;var i=t[r];return void 0!==i?i:r}var $t,Jt=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Xt=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";$t=void 0;var s=e[0];null==s||void 0===s.raw?(n=!1,a+=zt(r,t,s)):a+=s[0];for(var i=1;i<e.length;i++)a+=zt(r,t,e[i]),n&&(a+=s[i]);Jt.lastIndex=0;for(var o,l="";null!==(o=Jt.exec(a));)l+="-"+o[1];return{name:function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+l,styles:a,next:$t}};function Kt(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var Yt=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}};function Zt(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function Qt(e,t,r){var n=[],a=Kt(e,n,r);return n.length<2?r:a+t(n)}var er=function e(t){for(var r="",n=0;n<t.length;n++){var a=t[n];if(null!=a){var s=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))s=e(a);else for(var i in s="",a)a[i]&&i&&(s&&(s+=" "),s+=i);break;default:s=a}s&&(r&&(r+=" "),r+=s)}}return r},tr=function(){var e=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,a,s=e.stylisPlugins||jt,i={},o=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)i[t[r]]=!0;o.push(e)}));var l,u=[Bt,Ot],d=[It,Ft((function(e){l.insert(e)}))],c=function(e){var t=tt(e);return function(r,n,a,s){for(var i="",o=0;o<t;o++)i+=e[o](r,n,a,s)||"";return i}}(u.concat(s,d));a=function(e,t,r,n){l=r,Nt(Ct(e?e+"{"+t.styles+"}":t.styles),c),n&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new Ve({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:i,registered:{},insert:a};return m.sheet.hydrate(o),m}({key:"css"});e.sheet.speedy=function(e){this.isSpeedy=e},e.compat=!0;var t=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=Xt(r,e.registered,void 0);return Yt(e,a,!1),e.key+"-"+a.name};return{css:t,cx:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return Qt(e.registered,t,er(n))},injectGlobal:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=Xt(r,e.registered);Zt(e,a)},keyframes:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=Xt(r,e.registered),s="animation-"+a.name;return Zt(e,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},hydrate:function(t){t.forEach((function(t){e.inserted[t]=!0}))},flush:function(){e.registered={},e.inserted={},e.sheet.flush()},sheet:e.sheet,cache:e,getRegisteredStyles:Kt.bind(null,e.registered),merge:Qt.bind(null,e.registered,t)}}().css;function rr(){return(rr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function nr(e,t){return t||(t=e.slice(0)),e.raw=t,e}var ar,sr,ir,or=tr(ar||(ar=nr(['\n width: 100vw;\n height: 100vh;\n\n .story-book-outer-div {\n .story-div {\n font-family: "Arial", sans-serif;\n font-size: 12px;\n }\n padding-bottom: 500px;\n }\n\n .story-div {\n position: fixed;\n box-sizing: border-box;\n top: 0;\n width: 250px;\n height: 100vh;\n z-index: 999;\n overflow-y: scroll;\n background: white;\n margin-bottom: 32px;\n }\n\n .header {\n padding: 24px 0 16px 16px;\n margin-bottom: 24px;\n color: white;\n background: #333;\n cursor: pointer;\n\n h2 {\n letter-spacing: 3px;\n font-weight: 400;\n }\n }\n\n .parentStoryList {\n list-style: none;\n padding-left: 16px;\n\n summary {\n margin-bottom: 4px;\n }\n }\n .parentStory {\n cursor: pointer;\n }\n .parentStory.selected {\n font-weight: bold;\n }\n\n .subStory {\n font-size: 12px;\n cursor: pointer;\n line-height: 1.5em;\n margin-top: 4px;\n\n a {\n display: block;\n padding: 4px 4px 4px 16px;\n }\n }\n .subStory:hover {\n background-color: #eee;\n }\n .subStory.selected {\n background-color: lightgreen;\n }\n\n .component {\n padding: 24px 16px;\n }\n\n h4.group-header {\n margin: 8px 0;\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n color: #575757;\n }\n\n .group-wrapper {\n margin-bottom: 24px;\n }\n\n .dynamic-display-wrapper {\n position: fixed;\n display: flex;\n flex-direction: column;\n bottom: 0;\n left: 100%;\n padding: 16px;\n z-index: 1000;\n background: white;\n transform: translateX(-100%);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n\n & > :not(:first-child) {\n margin-top: 12px;\n }\n\n p {\n font-size: 12px;\n margin: 0;\n padding: 0;\n }\n\n .button-wrapper {\n display: flex;\n\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n & button {\n border: 1px solid #eaeaea;\n background: white;\n border-radius: 4px;\n color: #777;\n padding: 4px 12px;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n &.active {\n background: #555;\n border-color: #555;\n color: white;\n }\n }\n }\n'])));function lr(e,t){var r,n=t.story.title.split("/"),a=n[1]?n[0]:"_";return rr({},e,((r={})[a]=[].concat(e[a]||[],[{story:rr({},t.story,{title:n[1]||n[0]}),subs:t.subs}]).sort((function(e,t){return e.story.title.localeCompare(t.story.title)})),r))}function ur(e){return{story:e.default,subs:function(e,t){if(null==e)return{};var r,n,a={},s=Object.keys(e);for(n=0;n<s.length;n++)t.indexOf(r=s[n])>=0||(a[r]=e[r]);return a}(e,["default"])}}const dr=Object.freeze({__proto__:null,default:{title:"Components/Share Button"},WithIconPrefix:()=>e(_,Object.assign({},{medium:"whatsapp",iconslot:"prefix"}),"Share"),WithIconSuffix:()=>e(_,Object.assign({},{medium:"whatsapp",iconslot:"suffix"}),"Share"),WithIconOverride:()=>e(_,Object.assign({},{medium:"facebook",icon:"person-badge"}),"Share"),TextStyle:()=>e(_,Object.assign({},{medium:"facebook",type:"text"}),"Share"),WithoutIcon:()=>e(_,Object.assign({},{medium:"facebook",hideicon:!0}),"Share"),WithoutText:()=>e(_,Object.assign({},{medium:"facebook",hidetext:!0}),"Share"),TextStyleWithoutIcon:()=>e(_,Object.assign({},{medium:"facebook",type:"text",hideicon:!0}),"Share"),WithCustomColors:()=>e(_,Object.assign({},{medium:"facebook",type:"text",backgroundcolor:"var(--sl-color-primary-500)",textcolor:"white",iconslot:"prefix"}),"Facebook"),WithCustomBorderRadius:()=>e(_,Object.assign({},{medium:"facebook",type:"text",borderradius:8,iconslot:"prefix"}),"Facebook"),FullStackIcon:()=>e("div",null,e("sqm-share-button",{medium:"facebook"},e("span",null,"Facebook")),e("br",null),e("sqm-share-button",{medium:"email"},e("span",null,"Email"))),AllMediums:()=>e("div",null,e("sqm-share-button",{medium:"facebook"},e("span",null,"Facebook")),e("br",null),e("sqm-share-button",{medium:"email"},e("span",null,"Email")),e("br",null),e("sqm-share-button",{medium:"whatsapp"},e("span",null,"WhatsApp")),e("br",null),e("sqm-share-button",{medium:"linkedin"},e("span",null,"Linkedin")),e("br",null),e("sqm-share-button",{medium:"twitter"},e("span",null,"Twitter")),e("br",null),e("sqm-share-button",{medium:"pinterest"},e("span",null,"Pinterest")),e("br",null),e("sqm-share-button",{medium:"fbmessenger"},e("span",null,"Messenger")),e("br",null),e("sqm-share-button",{medium:"sms"},e("span",null,"SMS")),e("br",null),e("sqm-share-button",{medium:"linemessenger"},e("span",null,"Line Messenger")),e("br",null),e("sqm-share-button",{medium:"direct"},e("span",null,"Direct")))}),cr=Object.freeze({__proto__:null,default:{title:"Components/Share Link"},Default:()=>e(V,Object.assign({},{shareString:"https://noah.example.com",open:!1,tooltiptext:"Copied!"})),Tooltip:()=>e(V,Object.assign({},{shareString:"https://noah.example.com",tooltiptext:"Some text for the tooltip",open:!0})),Disabled:()=>e(V,Object.assign({},{shareString:"https://noah.example.com",disabled:!0,open:!0,tooltiptext:"Copied!"})),FullStack:()=>e("sqm-share-link",null)}),mr=Object.freeze({__proto__:null,default:{title:"Components/Big Stat"},Default:()=>e(x,Object.assign({},{value:99e4,statvalue:"9.900,00",loading:!1}),"Big stat"),LeftAlign:()=>e(x,Object.assign({},{value:500,statvalue:"500",alignment:"left",loading:!1}),"Big stat"),RightAlign:()=>e(x,Object.assign({},{value:500,statvalue:"500",alignment:"right",loading:!1}),"Big stat"),FlexReverse:()=>e(x,Object.assign({},{value:500,statvalue:"500",flexReverse:!0,loading:!1}),"Big stat"),FlexReverseRight:()=>e(x,Object.assign({},{value:500,statvalue:"500",flexReverse:!0,alignment:"right",loading:!1}),"Big stat"),FlexReverseLeft:()=>e(x,Object.assign({},{value:500,statvalue:"500",flexReverse:!0,alignment:"left",loading:!1}),"Big stat"),NoStatValue:()=>e(x,Object.assign({},{value:0,statvalue:"...",loading:!1}),"Big stat"),InvalidStatValue:()=>e(x,Object.assign({},{value:0,statvalue:"!!!",loading:!1}),"Big stat")}),pr={usersheading:"TOP REFERRERS",statsheading:"NEW TITANS"},hr={empty:e("slot",{name:"empty"},e("sqm-portal-container",{padding:"xxxx-large",gap:"medium"},e("sqm-image",{"image-url":"https://i.imgur.com/KPGnPF8.png","max-width":"100px"}),e("sqm-titled-section",{"label-margin":"xxx-small",align:"center"},e("sqm-text",{slot:"label"},e("h3",null,"View your rank in the leaderboard")),e("sqm-text",{slot:"content"},"Be the first to refer a friend and reach the top of the leaderboard")))),loadingstate:e("slot",{name:"loading"},e("table",null,[...Array(10)].map((()=>e("tr",null,e("td",null,e("sl-skeleton",null)))))))},gr=Object.freeze({__proto__:null,default:{title:"Components/Leaderboard"},Empty:()=>{const t={states:{loading:!1,hasLeaders:!1,styles:{...pr}},data:{rankType:"rowNumber",leaderboard:[]},elements:{...hr}};return e(q,Object.assign({},t))},Loading:()=>{const t={states:{loading:!0,hasLeaders:!1,styles:{...pr}},data:{rankType:"rowNumber",leaderboard:[]},elements:{...hr}};return e(q,Object.assign({},t))},One:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{...pr}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1}]},elements:{...hr}};return e(q,Object.assign({},t))},Five:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{...pr}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5}]},elements:{...hr}};return e(q,Object.assign({},t))},FiveWithRank:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:!0}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5}]},elements:{...hr}};return e(q,Object.assign({},t))},Ten:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:!1}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5},{firstName:"Joe",lastInitial:"S",value:42,rank:6,rowNumber:6},{firstName:"Zach",lastInitial:"H",value:41,rank:7,rowNumber:7},{firstName:"Sarah",lastInitial:"S",value:39,rank:8,rowNumber:8},{firstName:"James",lastInitial:"N",value:33,rank:9,rowNumber:9},{firstName:"Fahim",lastInitial:"J",value:29,rank:10,rowNumber:10}]},elements:{...hr}};return e(q,Object.assign({},t))},TenWithRank:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:!0}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5},{firstName:"Joe",lastInitial:"S",value:42,rank:6,rowNumber:6},{firstName:"Zach",lastInitial:"H",value:41,rank:7,rowNumber:7},{firstName:"Sarah",lastInitial:"S",value:39,rank:8,rowNumber:8},{firstName:"James",lastInitial:"N",value:33,rank:9,rowNumber:9},{firstName:"Fahim",lastInitial:"J",value:29,rank:10,rowNumber:10}]},elements:{...hr}};return e(q,Object.assign({},t))},UserInList:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:!0}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5},{firstName:"Joe",lastInitial:"S",value:42,rank:6,rowNumber:6},{firstName:"Zach",lastInitial:"H",value:41,rank:7,rowNumber:7},{firstName:"Sarah",lastInitial:"S",value:39,rank:8,rowNumber:8},{firstName:"James",lastInitial:"N",value:33,rank:9,rowNumber:9},{firstName:"Fahim",lastInitial:"J",value:29,rank:10,rowNumber:10}],showUser:!0,userRank:{firstName:"Viktor",lastInitial:"V",value:82,rowNumber:1,rank:1}},elements:{...hr}};return e(q,Object.assign({},t))},UserOutside:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:!0}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1,rowNumber:1},{firstName:"MF",lastInitial:"D",value:73,rank:2,rowNumber:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3,rowNumber:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4,rowNumber:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5,rowNumber:5},{firstName:"Joe",lastInitial:"S",value:42,rank:6,rowNumber:6},{firstName:"Zach",lastInitial:"H",value:41,rank:7,rowNumber:7},{firstName:"Sarah",lastInitial:"S",value:39,rank:8,rowNumber:8},{firstName:"James",lastInitial:"N",value:33,rank:9,rowNumber:9},{firstName:"Fahim",lastInitial:"J",value:29,rank:10,rowNumber:10}],showUser:!0,userRank:{firstName:"Kutay",lastInitial:"C",value:8,rowNumber:11,rank:23}},elements:{...hr}};return e(q,Object.assign({},t))},UserEmpty:()=>{const t={states:{loading:!1,hasLeaders:!0,styles:{rankheading:"Rank",usersheading:"User",statsheading:"Referrals",showRank:!0}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Firstname",lastInitial:null,value:82,rank:1,rowNumber:1},{firstName:null,lastInitial:"Lastname",value:73,rank:2,rowNumber:2},{firstName:null,lastInitial:null,value:64,rank:3,rowNumber:3}],showUser:!0,userRank:{firstName:null,lastInitial:null,value:null,rowNumber:null,rank:null}},elements:{...hr}};return e(q,Object.assign({},t))}}),fr=({story:t},r)=>{var n;const a=null===(n=t.story.parameters)||void 0===n?void 0:n.hookStory;if(!a)return r;const s=Math.round(1e5*Math.random());return e("sqm-hook-story-container-"+s,null,e("sqm-hook-story-container",{hookStory:a}))};function br(t){const r=()=>e("div",null);return r.parameters={hookStory:t},r}const wr=br((()=>e("div",null,e("button",{onClick:()=>u.push("/")},"/"),e("button",{onClick:()=>u.push("/foo")},"/foo"),e("button",{onClick:()=>u.push("/bar")},"/bar"),e("button",{onClick:()=>u.push("/baz/bang")},"/baz/bang"),e("button",{onClick:()=>u.push("/refer")},"/refer"),e("button",{onClick:()=>u.push("/refer/1")},"/refer/1"),e("button",{onClick:()=>u.push("/refer/2")},"/refer/2"),e("button",{onClick:()=>u.back()},"Back"),e("button",{onClick:()=>u.forward()},"Forward"),e("hr",null),e("sqm-router",{innerHTML:'\n <template path="/foo"><h1>foo</h1>\n \n <p>These elements don\'t produce a specific box by themselves. They are replaced by their pseudo-box and their child boxes. Please note that the CSS Display Level 3 spec defines how the contents value should affect "unusual elements" — elements that aren’t rendered purely by CSS box concepts such as replaced elements. See Appendix B: Effects of display: contents on Unusual Elements for more details.\n\n Due to a bug in browsers this will currently remove the element from the accessibility tree — screen readers will not look at what\'s inside. See the Accessibility concerns section below for more details.</p>\n </template>\n <template path="/bar"><h2>bar</h2>\n \n <p>Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.\n To have an element take up the space that it would normally take, but without actually rendering anything, use the visibility property instead.</p>\n </template>\n <template path="/baz/bang"><h3>baz/bang</h3>\n <pre>\n ▄▄▄▄▄▄▄░▄▄▄▄▄▄▄░▄▄▄▄▄▄░▄▄▄▄▄\n ░░▀███░░░░▀██░░░░██▀░░░░██░░\n ░░░▀██░░░░░▀██░░▄█░░░░░▄█░░░\n ░░░░███░░░░░▀██▄█░░░░░░█░░░░\n ░░░░░███░░░░░▀██░░░░░░█▀░░░░\n ░░░░░░███░░░░▄███░░░░█▀░░░░░\n ░░░░░░░██▄░░▄▀░███░░█▀░░░░░░\n ░░░░░░░▀██▄█▀░░░███▄▀░░░░░░░\n ░░░░░░░░▀██▀░░░░░███░░░░░░░░\n ░░░░░░░░░▀▀░░░░░░░▀░░░░░░░░░\n </pre>\n </template>\n <template path="/refer/:page"><h3>/refer/:page</h3>\n <pre>\n refer/:page\n </pre>\n </template>\n'})))),xr=br((()=>e("div",null,e("button",{onClick:()=>u.push("/")},"/"),e("button",{onClick:()=>u.push("/foo")},"/foo"),e("button",{onClick:()=>u.push("/bar")},"/bar"),e("button",{onClick:()=>u.push("/baz/bang")},"/baz/bang"),e("button",{onClick:()=>u.push("/refer")},"/refer"),e("button",{onClick:()=>u.push("/refer/1")},"/refer/1"),e("button",{onClick:()=>u.push("/refer/2")},"/refer/2"),e("button",{onClick:()=>u.back()},"Back"),e("button",{onClick:()=>u.forward()},"Forward"),e("hr",null),e("sqm-router",{innerHTML:'\n <sqm-route path="/foo"><h1>foo</h1>\n \n <p>These elements don\'t produce a specific box by themselves. They are replaced by their pseudo-box and their child boxes. Please note that the CSS Display Level 3 spec defines how the contents value should affect "unusual elements" — elements that aren’t rendered purely by CSS box concepts such as replaced elements. See Appendix B: Effects of display: contents on Unusual Elements for more details.\n\n Due to a bug in browsers this will currently remove the element from the accessibility tree — screen readers will not look at what\'s inside. See the Accessibility concerns section below for more details.</p>\n </sqm-route>\n <sqm-route path="/bar"><h2>bar</h2>\n <p>Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.\n To have an element take up the space that it would normally take, but without actually rendering anything, use the visibility property instead.</p>\n </sqm-route>\n <sqm-route path="/baz/bang"><h3>baz/bang</h3>\n <pre>\n ▄▄▄▄▄▄▄░▄▄▄▄▄▄▄░▄▄▄▄▄▄░▄▄▄▄▄\n ░░▀███░░░░▀██░░░░██▀░░░░██░░\n ░░░▀██░░░░░▀██░░▄█░░░░░▄█░░░\n ░░░░███░░░░░▀██▄█░░░░░░█░░░░\n ░░░░░███░░░░░▀██░░░░░░█▀░░░░\n ░░░░░░███░░░░▄███░░░░█▀░░░░░\n ░░░░░░░██▄░░▄▀░███░░█▀░░░░░░\n ░░░░░░░▀██▄█▀░░░███▄▀░░░░░░░\n ░░░░░░░░▀██▀░░░░░███░░░░░░░░\n ░░░░░░░░░▀▀░░░░░░░▀░░░░░░░░░\n </pre>\n </sqm-route>\n <sqm-route path="/refer/:page"><h3>/refer/:page</h3>\n <pre>\n refer/:page\n </pre>\n </sqm-route>\n'})))),vr=br((()=>e("div",null,e("button",{onClick:()=>u.push("/")},"/"),e("button",{onClick:()=>u.push("/foo")},"/foo"),e("hr",null),e("div",{style:{display:"flex",justifyContent:"space-around"}},e("sqm-router",{innerHTML:'<template path="/">\n \n <div>Column 1</div>\n <div>Column 2 </div>\n </template>'})))));function Er(t){const{states:r,callbacks:n}=t;return[e("textarea",{style:{width:"100%",height:"300px"},onChange:e=>n.setEditedTemplate(e.target.value)},r.editedTemplate),e("button",{onClick:()=>n.setPreviewTemplate(r.editedTemplate)},"Update Preview"),e("label",null,"Current path:",e("input",{onInput:n.setPath,value:"/"})),e("div",{innerHTML:r.previewTemplate})]}const yr=br((()=>{const{states:t,callbacks:r}=function(e){const[t,r]=s(e),[n,a]=s(e);return{states:{previewTemplate:n,editedTemplate:t},callbacks:{setEditedTemplate:r,setPreviewTemplate:a,setPath:function(e){u.push(e.target.value)}}}}('\n<sqm-router>\n <template path="/">\n <div>hello world</div>\n </template>\n</sqm-router>\n');return e(Er,{states:t,callbacks:r})})),qr=Object.freeze({__proto__:null,default:{title:"Tests/Router"},TemplateNavigation:wr,RouteNavigation:xr,Styling:vr,RouterPlayground:yr}),Dr=Object.freeze({__proto__:null,default:{title:"Components/Leaderboard Rank"},First:()=>e("p",null,"Your rank is ",e(A,Object.assign({},{data:{rank:"1st"}}))," on the leaderboard")}),Cr={data:{footer:e("span",null,"example@example.com"),header:e("div",{slot:"header",style:{display:"flex",flexDirection:"column"}},e("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),e("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal"))},callbacks:{rerender:()=>{}},ref:{current:void 0}},Ar=Object.freeze({__proto__:null,default:{title:"Components/Portal Frame"},FrameWithMenu:()=>{const t={...Cr};return e(G,Object.assign({},t),e("sqm-navigation-menu",{"menu-label":"Menu"},e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/widget"},"Dashboard"),e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/editProfile"},"Edit Profile"),e("sl-menu-divider",null),e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/logout"},"Logout")))},FrameWithoutMenu:()=>{const t={...Cr};return e(G,Object.assign({},t))},FullStackFrame:()=>{var t;return function(){const e="worried-camera@uexwltgh.mailosaur.net";window.SquatchAndroid=!0,window.widgetIdent={tenantAlias:"test_as36zjtpfy7oo",appDomain:"https://staging.referralsaasquatch.com",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQifX0.-WGV4_bzGCFp-OTIO-h-yp0MlgtkdufT_GgI4T691OY",userId:e,accountId:"worried-camera@uexwltgh.mailosaur.net",programId:"a-referral-program"}}(),e("div",null,e("sqm-portal-frame",null,e("div",{slot:"header",style:{display:"flex",flexDirection:"column"}},e("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),e("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal")),e("a",{slot:"footer",class:"FooterEmail",href:"mailto:referrals@servicetitan.com"},"referrals@servicetitan.com"),e("sqm-navigation-menu",{"menu-label":"Menu"},e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/widget"},"Dashboard"),e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/editProfile"},"Edit Profile"),e("sl-menu-divider",null),e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/logout"},"Logout")),e("h1",null,"Something")),e("p",null,"Current path:"," ",e("code",null,e("strong",null,null===(t=d())||void 0===t?void 0:t.pathname))),e("button",{onClick:u.back},"Go Back"))},FullStackFrameLoggedOut:()=>{var t;return window.SquatchAndroid=!0,window.widgetIdent={tenantAlias:"test_as36zjtpfy7oo",appDomain:"https://staging.referralsaasquatch.com",programId:"a-referral-program"},e("div",null,e("sqm-portal-frame",null,e("div",{slot:"header",style:{display:"flex",flexDirection:"column"}},e("span",{style:{fontSize:"var(--sl-font-size-large)",fontWeight:"bold"}},"Portal Header"),e("span",{style:{fontSize:"var(--sl-font-size-small)"}},"A description for the portal")),e("span",{slot:"footer"},"sample@example.com"),e("sqm-navigation-menu",{"menu-label":"Menu"},e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/widget"},"Dashboard"),e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/editProfile"},"Edit Profile"),e("sl-menu-divider",null),e("sl-menu-item",{exportparts:"base: menuitem-base",value:"/logout"},"Logout")),e("h1",null,"Something")),e("p",null,"Current path:"," ",e("code",null,e("strong",null,null===(t=d())||void 0===t?void 0:t.pathname))),e("button",{onClick:u.back},"Go Back"))}}),kr={states:{loading:!1,submitDisabled:!1,formState:{currentRegion:"Canada",firstName:"Bill",lastName:"Bob",errors:{},error:"An error string"},user:{firstName:"Bill",lastName:"Bob",email:"billbob@example.com"},showEdit:!1,text:{editprofileheader:"Edit Profile",editprofiletext:"Update your profile.",firstnametext:"Bill",lastnametext:"Bob",canceltext:"Cancel",updatetext:"Update",currentregiontext:"Canada"}},callbacks:{onSubmit:e=>{console.log(e)},resetForm:()=>{console.log("reset")},onChange:()=>{console.log("change")},setShowEdit:e=>{console.log(e)}}},Rr=Object.freeze({__proto__:null,default:{title:"Components/Edit Profile Form"},EditProfileFormDisabled:()=>e(M,Object.assign({},kr)),EditProfileFormEnabled:()=>{const t={...kr,states:{...kr.states,showEdit:!0}};return e(M,Object.assign({},t))},FullStackFrameWithMenu:()=>e("sqm-edit-profile",{editprofileheader:"Edit Profile",editprofiletext:"Update your profile.",firstnametext:"Bill",lastnametext:"Bob",canceltext:"Cancel",updatetext:"Update",currentregiontext:"Current Region",showregion:!0})});function Tr(){window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:"sam-partner-test-2"},i((()=>(c({accountId:"testestest",id:"testestest",jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"}),()=>{window.widgetIdent=void 0,c(void 0)})),[])}const Pr=br((()=>{Tr();const t=U({programId:"sam-partner-test-2",tooltiplifespan:0,tooltiptext:""});return e("div",null,"Sharelink:"," ",e("code",{style:{borderStyle:"solid",borderWidth:"1px",padding:"2px"}},t.shareString))})),Nr=br((()=>(Tr(),e(V,Object.assign({},U({programId:"sam-partner-test-2",tooltiptext:"Copied to clipboard",tooltiplifespan:1e3})))))),Ir=br((()=>(Tr(),e(V,Object.assign({},U({programId:"sam-partner-test-2",tooltiptext:"⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",tooltiplifespan:500})))))),Fr=Object.freeze({__proto__:null,default:{title:"Hooks / useShareLink"},BareBonesView:Pr,RegularView:Nr,FastTooltip:Ir});function Sr(){window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:"sam-partner-test-2"},i((()=>(c({accountId:"testestest",id:"testestest",jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"}),()=>{window.widgetIdent=void 0,c(void 0)})),[])}const Lr=br((()=>{Sr();const t="sam-partner-test-2",r=[H({programId:t,medium:"facebook"}),H({programId:t,medium:"twitter"}),H({programId:t,medium:"email"}),H({programId:t,medium:"direct"}),H({programId:t,medium:"sms"})];return e("div",null,r.map((t=>e("div",null,e("button",{onClick:t.onClick},"Share link (",t.medium,")")))))})),Br=br((()=>(Sr(),e("div",null,["facebook","twitter","email","direct","sms"].map((t=>e("div",null,e("sqm-share-button",Object.assign({},{programId:"sam-partner-test-2",medium:t}),"BUTTON_TEXT")))))))),Or=Object.freeze({__proto__:null,default:{title:"Hooks / useShareButton"},BareBonesView:Lr,RegularView:Br}),jr=(t,r)=>{console.log(`View("${t}") - CALLED`),window.widgetIdent={tenantAlias:"test_a7yoz8854cf6x",appDomain:"https://staging.referralsaasquatch.com",programId:"ny-post-referrals"},i((()=>(c({accountId:"nynellie",id:"nynellie",jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6Im55bmVsbGllIiwiaWQiOiJueW5lbGxpZSJ9fQ.3KV974VPLgk4tD8LQfJTi4IPkKCmnaB8w48HzVJYDuI"}),()=>{window.widgetIdent=void 0,c(void 0)})),[]);const{props:n,label:a}=v({statType:t,render:()=>{},disconnectedCallback:()=>{},ignored:!0});return e("div",null,e("b",null,"Stat format:"),e("pre",null,r),e("br",null),e("b",null,"Stat selected:")," ",e("pre",{style:{color:"green"}},t),e(x,Object.assign({},n),a))},_r=br((()=>{const[t,r]=s("/someRandomThing/with/someArguments/1234"),{props:n,label:a}=E({statType:t,render:()=>{},disconnectedCallback:()=>{},ignored:!0});return e("div",null,e("div",null,"Stat type:"," ",e("input",{style:{width:"300px"},type:"text",value:t,onInput:e=>r(e.target.value)})),e("hr",null),e("div",null,e(x,Object.assign({},n),a)))})),Vr=br((()=>jr("/referralsCount","/(referralsCount)/:status?"))),Gr=br((()=>jr("/referralsCount/converted","/(referralsCount)/:status?"))),Mr=br((()=>jr("/referralsCount/started","/(referralsCount)/:status?"))),Ur=br((()=>jr("/referralsMonth","/(referralsMonth)"))),Hr=br((()=>jr("/referralsWeek","/(referralsWeek)"))),Wr=br((()=>jr("/rewardsCount","/(rewardsCount)/:global?"))),zr=br((()=>jr("/rewardsCount/global","/(rewardsCount)/:global"))),$r=br((()=>jr("/rewardsCountFiltered/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),Jr=br((()=>jr("/rewardsCountFiltered/PCT_DISCOUNT/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),Xr=br((()=>jr("/rewardsCountFiltered/PCT_DISCOUNT/PENDING/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),Kr=br((()=>jr("/rewardsCountFiltered/CREDIT/COFFEE","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),Yr=br((()=>jr("/rewardsCountFiltered/CREDIT/COFFEE/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),Zr=br((()=>jr("/rewardsCountFiltered/CREDIT/COFFEE/PENDING/global","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),Qr=br((()=>jr("/rewardsCountFiltered/AVAILABLE","/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),en=br((()=>jr("/integrationRewardsCountFiltered/AVAILABLE/global","/(integrationRewardsCountFiltered)/:format([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),tn=br((()=>jr("/integrationRewardsCountFiltered/PENDING/global","/(integrationRewardsCountFiltered)/:format([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"))),rn=br((()=>jr("/rewardsMonth","/(rewardsMonth)/:global?"))),nn=br((()=>jr("/rewardsWeek","/(rewardsWeek)/:global?"))),an=br((()=>jr("/rewardsAssigned/CREDIT/COFFEE","/(rewardsAssigned)/:statType/:unit/:global?"))),sn=br((()=>jr("/rewardsAssigned/CREDIT/CASH%2FUSD","/(rewardsAssigned)/:statType/:unit/:global?"))),on=br((()=>jr("/rewardsRedeemed/CREDIT/COFFEE","/(rewardsRedeemed)/:statType/:unit/:global?"))),ln=br((()=>jr("/rewardsAvailable/CREDIT/COFFEE","/(rewardsAvailable)/:statType/:unit/:global?"))),un=br((()=>jr("/rewardsAvailable/CREDIT/CASH%2FUSD","/(rewardsAvailable)/:statType/:unit/:global?"))),dn=br((()=>jr("/rewardBalance/CREDIT/COFFEE/prettyValue","/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?"))),cn=br((()=>{const e=encodeURIComponent("CASH/USD");return jr(`/rewardBalance/CREDIT/${e}/prettyValue`,"/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?")})),mn=br((()=>{const e=encodeURIComponent("Paid-Member-Goal/referrals");return jr(`/programGoals/count/${e}`,"/(programGoals)/:metricType/:goalId")})),pn=br((()=>jr("/customFields/thingCount","/(customFields)/:customField"))),hn=Object.freeze({__proto__:null,default:{title:"Hooks / useBigStat"},Demo:_r,ReferralsCount:Vr,referralsConvertedCount:Gr,referralsStartedCount:Mr,ReferralsMonth:Ur,ReferralsWeek:Hr,RewardsCount:Wr,GlobalRewardsCount:zr,GlobalRewardsCountFiltered:$r,GlobalRewardsCountPctDiscount:Jr,GlobalRewardsCountPctDiscountPending:Xr,RewardsCountByUnit:Kr,GlobalRewardsCountByUnit:Yr,GlobalPendingRewardsCount:Zr,RewardsAvailableCount:Qr,GlobalRewardsCountByIntegration:en,GlobalRewardsCountByPendingIntegration:tn,RewardsMonth:rn,RewardsWeek:nn,RewardsAssigned:an,RewardsAssignedCashUSD:sn,RewardsRedeemed:on,RewardsAvailable:ln,RewardsAvailableWithSlash:un,RewardBalance:dn,RewardBalanceCashUSD:cn,ProgramGoals:mn,CustomField:pn}),gn=br((()=>(window.widgetIdent={tenantAlias:"test_as36zjtpfy7oo",appDomain:"https://staging.referralsaasquatch.com",programId:"a-referral-program"},i((()=>(c({accountId:"worried-camera@uexwltgh.mailosaur.net",id:"worried-camera@uexwltgh.mailosaur.net",jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0"}),()=>{window.widgetIdent=void 0,c(void 0)})),[]),e("sqm-edit-profile",Object.assign({},{editprofileheader:"HEADER",editprofiletext:"TEXT",firstnametext:"FIRST NAME",lastnametext:"LAST NAME",canceltext:"CANCEL",updatetext:"UPDATE",currentregiontext:"CURRENT REGION TEXT"}))))),fn=Object.freeze({__proto__:null,default:{title:"Hooks / useEditProfile"},RegularView:gn}),bn=t=>{const r={leaderboardType:"topConvertedReferrers",showRank:!0,rankType:"rowNumber",usersheading:"Top Referrers",statsheading:"Completed Referrals",interval:"",empty:e("span",null,"No Referrals"),loadingstate:e("span",null,"Loading"),...t},{leaderboardType:n,rankType:a}=r;console.log(`View("${n}") - CALLED`),window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:"sam-partner-test-2"},i((()=>(c({accountId:"testestest",id:"testestest",jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"}),()=>{window.widgetIdent=void 0,c(void 0)})),[]);const{states:s,data:o,elements:l}=D(r);return e("div",{style:{marginBottom:"20px"}},e("sqm-divided-layout",{direction:"row"},e("div",{style:{padding:"10px"}},e("b",null,"Leaderboard Type"),e("pre",null,n)),e("div",{style:{padding:"10px"}},e("b",null,"Rank Type"),e("pre",null,a))),e(q,{states:s,data:o,elements:l}),e("hr",null))},wn=br((()=>[bn(),bn({rankType:"rank"}),bn({rankType:"denseRank"})])),xn=br((()=>[bn({leaderboardType:"topStartedReferrers",statsheading:"New Referrals"}),bn({leaderboardType:"topStartedReferrers",rankType:"rank",statsheading:"New Referrals"}),bn({leaderboardType:"topStartedReferrers",rankType:"denseRank",statsheading:"New Referrals"})])),vn=Object.freeze({__proto__:null,default:{title:"Hooks / useLeaderboard"},TopConvertedReferrers:wn,TopStartedReferrers:xn}),En=Object.freeze({__proto__:null,default:{title:"Components/Form Message"},SuccessAlert:()=>e("sqm-form-message",{type:"success"},e("div",null,"This is a success message.")),ErrorAlert:()=>e("sqm-form-message",{type:"error"},e("div",null,"This is an error message")),InfoAlert:()=>e("sqm-form-message",{type:"info"},e("div",null,"This is an info message")),FullStackSuccess:()=>e("sqm-form-message",{type:"success",exportparts:"successalert-icon"},e("div",{class:"AlertContent"},e("div",{part:"successalert-text"},"Title"),e("div",{part:"successalert-subtext"},"Body text."),e("sl-button",{type:"default",exportparts:"base: defaultbutton-base",onClick:()=>{console.log("click")}},"Primary Action"),e("sl-button",{class:"SecondaryTextButton",type:"text",onClick:()=>{console.log("click")}},"Secondary Action")))}),yn=m.gql`
|
|
2
2
|
mutation exchange($exchangeRewardInput: ExchangeRewardInput!) {
|
|
3
3
|
exchangeReward(exchangeRewardInput: $exchangeRewardInput) {
|
|
4
4
|
reward {
|
|
@@ -6,4 +6,4 @@ import{h as e,r as t,c as r}from"./p-64c3217a.js";import{a as n,i as a,k as s,u
|
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
`;function qn(){const e="testestest",t=e;return window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:"sam-partner-test-2"},i((()=>(c({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"}),()=>{window.widgetIdent=void 0,c(void 0)})),[]),{id:e,accountId:t}}function Dn(){const{id:e,accountId:t}=qn(),[r,n]=s(10),[a,i]=s(100),[o,{data:l,errors:u}]=p(yn);return{states:{points:r,rate:a},data:{id:e,accountId:t,data:l,errors:u},callbacks:{exchange:o,setPoints:n,setRate:i}}}const Cn=t=>{const{states:r,data:n,callbacks:a}=t;return e("div",null,e("div",null,e("label",null,"Rate:"),e("input",{value:r.rate,onInput:e=>a.setRate(e.target.value)})),e("input",{value:r.points,onInput:e=>a.setPoints(e.target.value)}),e("button",{onClick:()=>a.exchange(t.input)},"Exchange"),e("details",null,e("summary",null,"response"),e("h4",null,"data"),e("div",{style:{maxWidth:"500px"}},e("pre",{style:{width:"500px",whiteSpace:"pre-wrap"}},JSON.stringify(n.data))),e("h4",null,"errors"),e("div",{style:{maxWidth:"500px"}},e("pre",{style:{maxWidth:"500px",whiteSpace:"pre-wrap"}},JSON.stringify(n.errors)))))},An=br((()=>(qn(),e("sqm-reward-exchange-list",{"list-type":"something"})))),kn=br((()=>{const{states:t,data:r,callbacks:n}=Dn();return e(Cn,{states:t,data:r,callbacks:n,input:{exchangeRewardInput:{userId:r.id,accountId:r.accountId,redeemCreditInput:{amount:t.points,unit:"POINT"},globalRewardKey:"gc1"}}})})),Rn=br((()=>{const{states:t,data:r,callbacks:n}=Dn();return e(Cn,{states:t,data:r,callbacks:n,input:{exchangeRewardInput:{userId:r.id,accountId:r.accountId,redeemCreditInput:{amount:t.points,unit:"POINT"},globalRewardKey:"gc1",rewardInput:{valueInCents:Math.ceil(t.points*t.rate)}}}})})),Tn=br((()=>{const{states:t,data:r,callbacks:n}=Dn();return e(Cn,{states:t,data:r,callbacks:n,input:{exchangeRewardInput:{userId:r.id,accountId:r.accountId,redeemCreditInput:{amount:t.points,unit:"POINT"},rewardInput:{type:"CREDIT",unit:"foo",assignedCredit:Math.ceil(t.points*t.rate)}}}})})),Pn=Object.freeze({__proto__:null,default:{title:"Hooks / useRewardExchange"},RewardList:An,FixedGlobalReward:kn,VariableGlobalReward:Rn,VariableCreditReward:Tn});function Nn(){const e="testestest",t=e;return window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com"},i((()=>(c({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"}),()=>{window.widgetIdent=void 0,c(void 0)})),[]),{id:e,accountId:t}}function In({token:e,id:t}){const r=t;return window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com"},i((()=>(c({accountId:r,id:t,jwt:e}),()=>{window.widgetIdent=void 0,c(void 0)})),[]),{id:t,accountId:r}}const Fn=br((()=>(Nn(),h("sam-partner-test-2"),e("sqm-rewards-table",null,e("sqm-rewards-table-reward-column",null),e("sqm-rewards-table-status-column",null),e("sqm-rewards-table-source-column",null),e("sqm-rewards-table-date-column",null))))),Sn=br((()=>(Nn(),h(void 0),e("sqm-rewards-table",null,e("sqm-rewards-table-reward-column",null),e("sqm-rewards-table-status-column",null),e("sqm-rewards-table-source-column",null),e("sqm-rewards-table-date-column",null))))),Ln=br((()=>(In({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",id:"samenglish"}),h(void 0),e("sqm-rewards-table",{"per-page":"4"},e("sqm-rewards-table-reward-column",null),e("sqm-rewards-table-status-column",null),e("sqm-rewards-table-source-column",null),e("sqm-rewards-table-date-column",null))))),Bn=br((()=>(In({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",id:"samturkey"}),h(void 0),e("sqm-rewards-table",{"per-page":"4","more-label":"Daha","prev-label":"Öncesi","empty-state-text":"Henüz Referans Yok"},e("sqm-rewards-table-reward-column",{"column-title":"Ödüller","redeemed-text":"{redeemedAmount} kullanıldı","available-text":"{availableAmount} mevcut"}),e("sqm-rewards-table-source-column",{"column-title":"Kullanıcılar","anonymous-user":"Anonim Kullanıcı","deleted-user":"Silinmiş Kullanıcı","reward-exchange-text":"Ödülleri Kulannın","referral-text":"{rewardSource, select, FRIEND_SIGNUP {Referans} REFERRED {Yönlendiren} other {}}","reward-source-text":"{rewardSource, select, MANUAL {Manuel} AUTOMATED {Otomatik} other {}}"}),e("sqm-rewards-table-status-column",{"column-title":"Statut","status-text":"{status, select, AVAILABLE {Mevcut} PENDING {Bekleniyor} EXPIRED {Geçmiş} REDEEMED {Kullanılmış} CANCELED {İptal Edildi} other {Kullanılamaz} }","expiry-text":"Bitiyor "}),e("sqm-rewards-table-date-column",{"column-title":"Tarih"}))))),On=br((()=>(In({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",id:"samfrench"}),h(void 0),e("sqm-rewards-table",{"per-page":"4","more-label":"Plus","prev-label":"Précédent","empty-state-text":"Aucune Récompenses Maintenant"},e("sqm-rewards-table-reward-column",{"column-title":"Récompenses","redeemed-text":"{redeemedAmount} rachetée","available-text":"{availableAmount} disponible"}),e("sqm-rewards-table-source-column",{"column-title":"Utilisateur","anonymous-user":"Utilisateur Anonyme","deleted-user":"Utilisateur Supprimé","reward-exchange-text":"Échange de Récompenses","referral-text":"{rewardSource, select, FRIEND_SIGNUP {Référence à} REFERRED {Référencé par} other {}}","reward-source-text":"{rewardSource, select, MANUAL {Manuel} AUTOMATED {Automatique} other {}}"}),e("sqm-rewards-table-status-column",{"column-title":"Statut","status-text":"{status, select, AVAILABLE {Disponible} PENDING {Pendant} EXPIRED {Expiré} REDEEMED {Racheté} CANCELED {Annulé} other {Indisponible} }","expiry-text":"Expire sur "}),e("sqm-rewards-table-date-column",{"column-title":"Date de Réception"}))))),jn=Object.freeze({__proto__:null,default:{title:"Hooks / useRewardsTable"},RewardsTableWithProgram:Fn,RewardsTableNoProgram:Sn,RewardsTableEn:Ln,RewardsTableTr:Bn,RewardsTableFr:On});function _n(){const e="sam+klip@saasquat.ch",t=e;return window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com",programId:"klip-referral-program"},i((()=>(c({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbStrbGlwQHNhYXNxdWF0LmNoIiwiaWQiOiJzYW0ra2xpcEBzYWFzcXVhdC5jaCIsImVtYWlsIjoic2FtK2tsaXBAc2Fhc3F1YXQuY2giLCJsb2NhbGUiOiJlbiJ9fQ.a2nYYrSJ81FHXlCU-Sqp_-wquQizinHBhzwzULDzimg"}),()=>{window.widgetIdent=void 0,c(void 0)})),[]),{id:e,accountId:t}}const Vn=br((()=>(_n(),e("sqm-task-card",{"card-title":"Comment on 5 articles","button-text":"Start reading",goal:5,steps:!0,"show-progress-bar":!0,"event-key":"testEvent","open-new-tab":!0})))),Gn=br((()=>(_n(),e("sqm-card-feed",null,e("sqm-task-card",{"reward-amount":"75","card-title":"Refer a Friend",description:"Invite a friend to Klip and get 75 points when they signup for a free trial or contact our us about an enterprise license.","button-text":"Start referring","button-link":"https://klip-staging.vercel.app/app/klip-rewards",goal:1,repeatable:!0,"completed-text":"",demoData:"","ended-message":"","event-key":"","expiry-message":"","progress-bar-unit":"","reward-duration":"2022-01-04T08:00:00.000Z/2022-01-20T08:00:00.000Z","reward-unit":"","starts-on-message":"","stat-type":"","display-duration":"2022-01-04T08:00:00.000Z/2022-01-05T08:00:00.000Z"}),e("sqb-program-section",{"program-id":"klip-loyalty"},e("sqm-task-card",{"reward-amount":"50","card-title":"Follow Us on Twitter",description:"Earn 50 points when you follow us on Twitter!","button-text":"Follow","button-link":"https://twitter.com/",goal:1,"stat-type":"/programGoals/count/Follow-on-Social-Media","open-new-tab":"true","event-key":"socialFollow"})),e("sqm-task-card",{"reward-amount":"250",goal:500,"show-progress-bar":"true","card-title":"Spend $500 on Klip Products",description:"Earn 250 points when you spend $500 or more on Klip products.","button-text":"See plans","button-link":"https://klip-staging.vercel.app/app/plans","stat-type":"/customFields/purchaseTotal","open-new-tab":"false"}),e("sqb-program-section",{"program-id":"klip-loyalty"},e("sqm-task-card",{"reward-amount":"25",goal:1,"card-title":"Upload Your First Video",description:"Earn 25 points for exploring the Klip platform when you upload your first video.","button-text":"Upload","button-link":"https://klip-staging.vercel.app/app","stat-type":"/programGoals/count/Record-First-Video","open-new-tab":"false"})),e("sqm-task-card",{"reward-amount":"100",goal:5,repeatable:!0,"show-progress-bar":"true",steps:!0,"card-title":"Share 5 Videos",description:"Earn 100 points for collaborating each time you share 5 videos.","button-text":"Share","button-link":"https://klip-staging.vercel.app/app","stat-type":"/customFields/videosShared","open-new-tab":"false"}),e("sqb-program-section",{"program-id":"klip-loyalty"},e("sqm-task-card",{"reward-amount":"1","reward-unit":"Free Month",goal:1,"card-title":"Upgrade Your Plan",description:"Buy a Business or Enterprise plan and get 1 free month of Klip for being a committed customer.","button-text":"Upgrade","button-link":"https://klip-staging.vercel.app/app/plans","stat-type":"/programGoals/count/Upgrade-Plan","open-new-tab":"false"})),e("sqm-task-card",{"reward-amount":"200",goal:5,"show-progress-bar":"","card-title":"Purchase 5 Seats",description:"Earn 200 points when you expand your Klip Team by purchasing 5 or more seats.","button-text":"Purchase seats","button-link":"https://klip-staging.vercel.app/app/plans","stat-type":"/customFields/seatCount"}),e("sqm-task-card",{"reward-amount":"250",goal:1,"show-progress-bar":"","card-title":"Upload 1 Hour of Video",description:"Record and upload an hour of video and get 250 points for being a super user.","button-text":"Upload","button-link":"https://klip-staging.vercel.app/app","stat-type":"/customFields/videoHoursCount","progress-bar-unit":"","reward-unit":"Points"}),e("sqb-program-section",{"program-id":"klip-loyalty"},e("sqm-task-card",{"reward-amount":"100",goal:1,"card-title":"Complete an NPS Survey",description:"Fill out our NPS survey and get 100 points for giving us honest feedback. Be sure to use your Klip account email when completing the survey.","button-text":"Complete survey","button-link":"https://y5tqgj96plv.typeform.com/to/p6N7lHUk","stat-type":"/programGoals/count/NPS-Survey","reward-unit":"Points","open-new-tab":"true"})),e("sqb-conditional-section",{condition:"'champion' in user.segments"},e("sqb-program-section",{"program-id":"klip-loyalty"},e("sqm-task-card",{"reward-amount":"$100",goal:1,"card-title":"Complete a Case Study",description:"Write a Klip case study and earn a $100 Visa Gift Card for letting us know how Klip has helped your team succeed.","button-text":"Complete case study","button-link":"https://y5tqgj96plv.typeform.com/to/CPhkFBBW","stat-type":"/programGoals/count/Case-Study","reward-unit":"Visa Gift Card","open-new-tab":"true"}))))))),Mn=Object.freeze({__proto__:null,default:{title:"Hooks / useTaskCard"},TaskCard:Vn,TaskCardFeed:Gn}),Un=g({HeaderSubtitleBold:{"font-weight":500,"text-decoration":"underline"}}),Hn=Un.toString(),Wn={data:{programs:[{key:"program1",label:"My Referral Program"},{key:"program2",label:"My Rewards Program"}]}},zn={states:{active:!1},data:{label:"Dashboard",icon:"house",path:"/"}},$n={states:{active:!0},data:{label:"Activity",icon:"bar-chart",path:"/"}},Jn=()=>e(R,Object.assign({},Wn),e(T,Object.assign({},zn)),e(T,Object.assign({},$n))),Xn=Object.freeze({__proto__:null,default:{title:"New Portal"},Dashboard:()=>{const t={shareString:"https://ssqt.co/johnsmithrox",open:!1,disabled:!1,tooltiptext:"Share link copied",onClick:()=>console.log("Share link copied")},r={shareString:"JOHNSMITH1",open:!1,disabled:!1,tooltiptext:"Share code copied",onClick:()=>console.log("Share code copied")};return e("sqm-divided-layout",{direction:"row"},e("style",{type:"text/css"},Hn),e(Jn,null),e("sqm-divided-layout",{direction:"column"},e(S,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),e(ee,Object.assign({},{labelMargin:"xx-small",padding:"none",label:e("sqm-text",null,e("p",null,"Welcome back,")),content:e("sqm-text",null,e("h1",null,"John Smith"))})),e(j,Object.assign({},{space:"64px"}),e(x,Object.assign({},{statvalue:"2,345",value:234500,loading:!1}),"Clicks"),e(x,Object.assign({},{statvalue:"58",value:58,loading:!1}),"Referrals"),e(x,Object.assign({},{statvalue:"$10,540",value:1054e3,loading:!1}),"Earned"),e(x,Object.assign({},{statvalue:"$2,305",value:230500,loading:!1}),"Awaiting Payout"))),e(S,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),e(ee,Object.assign({},{labelMargin:"x-large",padding:"none",label:e("sqm-text",null,e("h2",null,"Partner and Profit")),content:e("sqm-text",null,e("p",null,"Get rewarded for referring potential customers to MyCompany. Earn commission for each successful lead you send our way"))})),e(ee,Object.assign({},{labelMargin:"small",padding:"none",label:e("sqm-text",null,e("h3",null,"Share your referral link")),content:e(V,Object.assign({},t))})),e(ee,Object.assign({},{labelMargin:"small",padding:"none",label:e("sqm-text",null,e("h3",null,"Share your referral code")),content:e(V,Object.assign({},r))})),e(ee,Object.assign({},{labelMargin:"small",padding:"none",label:e("sqm-text",null,e("h3",null,"Share via social media")),content:e(S,Object.assign({},{direction:"row",padding:"large",gap:"xxx-large",minWidth:"150px"}),e(_,Object.assign({},{medium:"twitter",loading:!1,disabled:!1,pill:!0,type:"default",size:"medium",icon:"twitter",hideicon:!1,iconslot:"prefix",onClick:()=>"Facebook share clicked",hide:!1}),"Tweet about us"),e(_,Object.assign({},{medium:"facebook",loading:!1,disabled:!1,pill:!0,type:"default",size:"medium",icon:"facebook",hideicon:!1,iconslot:"prefix",onClick:()=>"Facebook share clicked",hide:!1}),"Share on Facebook"),e(_,Object.assign({},{medium:"linkedin",loading:!1,disabled:!1,pill:!0,type:"default",size:"medium",icon:"linkedin",hideicon:!1,iconslot:"prefix",onClick:()=>"Facebook share clicked",hide:!1}),"Post on Linkedin"))})))))},EditProfile:()=>e("sqm-divided-layout",{direction:"row"},e("style",{type:"text/css"},Hn),e(Jn,null),e("sqm-divided-layout",{direction:"column"},e(L,Object.assign({},{states:{success:!1,loading:!1,submitDisabled:!1,showCountry:!1,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}})),e(W,Object.assign({},{states:{open:!0,error:"",loading:!1,success:!1,content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:()=>console.log("open"),submit:()=>console.log("submit")}})))),Commissions:()=>e("sqm-divided-layout",{direction:"row"},e("style",{type:"text/css"},Hn),e(Jn,null),e("sqm-divided-layout",{direction:"column"},e(S,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),e(ee,Object.assign({},{labelMargin:"xx-small",padding:"none",label:e("sqm-text",null,e("h2",null,"Commissions")),content:e("sqm-text",null,e("p",null,"for the"," ",e("span",{class:Un.classes.HeaderSubtitleBold},"Partner Program #1")," ","program"))})),e(j,Object.assign({},{space:"64px"}),e(x,Object.assign({},{statvalue:"$ 1,000",value:1e5,loading:!1}),"Total Earned"),e(x,Object.assign({},{statvalue:"$ 800",value:8e4,loading:!1}),"Available"),e(x,Object.assign({},{statvalue:"$ 180",value:18e3,loading:!1}),"Pending"),e(x,Object.assign({},{statvalue:"$ 20",value:2e3,loading:!1}),"Redeemed"))))),Activity:()=>e("sqm-divided-layout",{direction:"row"},e("style",{type:"text/css"},Hn),e(Jn,null),e("sqm-divided-layout",{direction:"column"},e(S,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),e(ee,Object.assign({},{labelMargin:"xx-small",padding:"none",label:e("sqm-text",null,e("h2",null,"Activity")),content:e("sqm-text",null,e("p",null,"for the"," ",e("span",{class:Un.classes.HeaderSubtitleBold},"Partner Program #1")," ","program"))})),e(ee,Object.assign({},{labelMargin:"x-large",padding:"none",label:e("sqm-text",null,e("h3",null,"Referral Activity")),content:e(j,Object.assign({},{space:"64px"}),e(x,Object.assign({},{statvalue:"1,000",value:1e5,loading:!1}),"Total Referrals"),e(x,Object.assign({},{statvalue:"800",value:800,loading:!1}),"Converted"),e(x,Object.assign({},{statvalue:"180",value:180,loading:!1}),"Pending"),e(x,Object.assign({},{statvalue:"20",value:20,loading:!1}),"Disqualified"))}))),e(ee,Object.assign({},{labelMargin:"x-large",padding:"xxx-large",label:e("sqm-text",null,e("h3",null,"Traffic Generated")),content:e(j,Object.assign({},{space:"64px"}),e(x,Object.assign({},{statvalue:"1,000",value:1e3,loading:!1}),"Clicks"),e(x,Object.assign({},{statvalue:"800",value:800,loading:!1}),"From share link"),e(x,Object.assign({},{statvalue:"180",value:180,loading:!1}),"From share mediums"))}))))}),Kn=Object.freeze({__proto__:null,default:{title:"Components/Sidebar Item"},InactiveItem:()=>e(T,Object.assign({},{states:{active:!1},data:{label:"Dashboard",icon:"house",path:"/"}})),ActiveItem:()=>e(T,Object.assign({},{states:{active:!0},data:{label:"Dashboard",icon:"house",path:"/"}}))}),Yn=Object.freeze({__proto__:null,default:{title:"Components/Navigation Sidebar"},DefaultNavigationSidebar:()=>e(R,Object.assign({},{data:{programs:[{key:"program1",label:"My Referral Program"},{key:"program2",label:"My Rewards Program"}]}}),e(T,Object.assign({},{states:{active:!1},data:{label:"Dashboard",icon:"house",path:"/"}})),e(T,Object.assign({},{states:{active:!0},data:{label:"Activity",icon:"bar-chart",path:"/"}})))}),Zn={states:{error:"",loading:!1,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:async e=>await e},content:{pageLabel:"Sign in to your account"}},Qn={states:{error:"Something went wrong. Please try again.",loading:!1,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:async e=>await e},content:{pageLabel:"Sign in to your account"}},ea={states:{error:"",loading:!0,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:async e=>await e},content:{pageLabel:"Sign in to your account"}},ta=Object.freeze({__proto__:null,default:{title:"Components/Portal Login"},Default:()=>e(z,Object.assign({},Zn)),LoginWithError:()=>e(z,Object.assign({},Qn)),LoginLoading:()=>e(z,Object.assign({},ea))}),ra={states:{error:"",loading:!1,confirmPassword:!0,hideInputs:!1,loginPath:"/login"},callbacks:{submit:()=>console.log("Submit!"),inputFunction:()=>{}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}},na={states:{error:"Something went wrong. Please try again.",loading:!1,confirmPassword:!0,hideInputs:!1,loginPath:"/login"},callbacks:{submit:()=>console.log("Submit!"),inputFunction:()=>{}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}},aa={states:{error:"",loading:!0,confirmPassword:!0,hideInputs:!1,loginPath:"/login"},callbacks:{submit:()=>console.log("Submit!"),inputFunction:()=>{}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}},sa={states:{error:"",loading:!1,confirmPassword:!0,hideInputs:!1,loginPath:"/login"},callbacks:{submit:()=>console.log("Submit!"),inputFunction:()=>{}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password",formData:e("div",null,e("sl-input",{style:{marginBottom:"var(--sl-spacing-x-large)"},exportparts:"label: input-label",label:"Slotted Input",required:!0}),e("sl-input",{exportparts:"label: input-label",label:"Slotted Input 2",required:!0}))}},ia=Object.freeze({__proto__:null,default:{title:"Components/Portal Register"},Default:()=>e($,Object.assign({},ra)),RegisterWithError:()=>e($,Object.assign({},na)),RegisterLoading:()=>e($,Object.assign({},aa)),FieldsHidden:()=>e("sqm-portal-register",{demoData:{states:{error:"",loading:!0,confirmPassword:!0,hideInputs:!0,loginPath:"/login"}}}),SlottedInputs:()=>e($,Object.assign({},sa)),TermsAndConditions:()=>e($,Object.assign({},ra,{content:{...ra.content,terms:e("p",null,"By signing up you agree to the"," ",e("a",{href:"https://example.com",target:"_blank"},"Terms and Conditions"))}}))}),oa={states:{error:"",loading:!1,success:!1,loginPath:"/login"},callbacks:{submit:async e=>await e},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}},la={states:{error:"Something went wrong. Please try again.",loading:!1,success:!1,loginPath:"/login"},callbacks:{submit:async e=>await e},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}},ua={states:{error:"",loading:!0,success:!1,loginPath:"/login"},callbacks:{submit:async e=>await e},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}},da={states:{error:"",loading:!1,success:!0,loginPath:"/login"},callbacks:{submit:async e=>await e},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}},ca=Object.freeze({__proto__:null,default:{title:"Components/Portal Forgot Password",parameters:{scenario:'@author:derek\r\n@owner:ian\r\nFeature: Forgot Password\r\n\r\n @motivating\r\n Scenario: Users can request to reset their password\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click "Reset Password"\r\n Then the button enters a loading state\r\n When the password reset email is sent\r\n Then a confirmation banner is shown stating a password reset email was sent\r\n\r\n @motivating\r\n Scenario: Users are notified if sending their password reset email fails\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click "Reset Password"\r\n Then the button enters a loading state\r\n When the password reset email fails to send\r\n Then the user does not receive a password reset email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n @landmine\r\n Scenario: If the input email is not associated to an account a success banner is shown but an email is not be sent\r\n Given the user entered an email address that is not associated to an accoun\r\n When they click "Reset Password"\r\n Then the button enters a loading state\r\n But no email is sent\r\n And a success banner is shown stating a password reset email was sent if the given email was associated to an account\r\n\r\n @motivating\r\n Scenario: Users can resend password reset email\r\n Given a user had previously requested to reset their password\r\n When they enter their email address\r\n And that email address is linked to a previously created account\r\n And they click "Reset Password"\r\n Then the user receives a second password reset email\r\n And a success banner is shown stating that their email was sent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to "/resetPassword"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> "redirect-path" with <value>\r\n When they request a password reset email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn\'t have | N/A | /resetPassword |\r\n | has | /resetMyPassword | /resetMyPassword |\r\n\r\n @minutae\r\n Scenario Outline: Navigation back to the login page can be customized but defaults to "/login"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> "login-path" with <value>\r\n Then they see a "Sign In" text button\r\n When they click "Sign In"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn\'t have | N/A | /login |\r\n | has | /signin | /signin |'}},Default:()=>e(F,Object.assign({},oa)),ForgotPasswordWithError:()=>e(F,Object.assign({},la)),ForgotPasswordLoading:()=>e(F,Object.assign({},ua)),ForgotPasswordSuccess:()=>e(F,Object.assign({},da))}),ma={states:{error:"",loading:!1,success:!1},callbacks:{submit:async e=>await e},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}},pa={states:{error:"Something went wrong. Please try again.",loading:!1,success:!1},callbacks:{submit:async e=>await e},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}},ha={states:{error:"",loading:!0,success:!1},callbacks:{submit:async e=>await e},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}},ga={states:{error:"",loading:!1,success:!0},callbacks:{submit:async e=>await e},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}},fa=Object.freeze({__proto__:null,default:{title:"Components/Portal Email Verification",parameters:{scenario:'@author:derek\r\n@owner:ian\r\nFeature: Email Verification\r\n\r\n @minutae\r\n Scenario: User\'s redirected from registration can re-send their verification email\r\n Given a user has registered\r\n And they have been sent a verification email\r\n When they are redirected to the email verification page\r\n Then a message is displayed\r\n And it reflects that a email has been sent to their email\r\n But they can still re-send the email\r\n When they click to "Resend-Email"\r\n Then they receive a verification email\r\n\r\n @motivating\r\n Scenario: Users are notified if sending the email verification message fails\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n When they click to "Resend-Email"\r\n Then the button enters a loading state\r\n When an error occurs trying to send the verification email\r\n Then the user does not receive a verification email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n Scenario: Users are notified if sending the email verification message succeeds\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n When they click to "Resend-Email"\r\n Then the button enters a loading state\r\n When the email verification message sends\r\n Then the user receives a verification email\r\n And a success banner is shown stating that their email was resent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to "/verifyEmail"\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n And the component <mayHave> "redirect-path" with <value>\r\n When they resend their verification email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn\'t have | N/A | /verifyEmail |\r\n | has | /verifyMyEmail | /verifyMyEmail |'}},Default:()=>e(P,Object.assign({},ma)),EmailVerificationWithError:()=>e(P,Object.assign({},pa)),EmailVerificationLoading:()=>e(P,Object.assign({},ha)),EmailVerificationSuccess:()=>e(P,Object.assign({},ga))}),ba={states:{error:"",loading:!1,reset:!1,confirmPassword:!0,oobCodeValidating:!1,oobCodeValid:!0,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async e=>await e,gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},wa={states:{error:"",loading:!1,reset:!1,confirmPassword:!1,oobCodeValidating:!1,oobCodeValid:!0,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async e=>await e,gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},xa={states:{error:"Something went wrong. Please try again.",loading:!1,reset:!1,confirmPassword:!0,oobCodeValidating:!1,oobCodeValid:!0,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async e=>await e,gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},va={states:{error:"",loading:!0,reset:!1,confirmPassword:!0,oobCodeValidating:!1,oobCodeValid:!0,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async e=>await e,gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},Ea={states:{error:"",loading:!1,reset:!0,confirmPassword:!0,oobCodeValidating:!1,oobCodeValid:!0,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async e=>await e,gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},ya={states:{error:"",loading:!1,reset:!1,confirmPassword:!0,oobCodeValidating:!1,oobCodeValid:!1,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async e=>await e,gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},qa=Object.freeze({__proto__:null,default:{title:"Components/Portal Reset Password",parameters:{scenario:'@author:derek\r\n@owner:ian\r\nFeature: Reset Password\r\n\r\n Background: A user in on the password reset page\r\n Given a user who has been redirected to the password reset page\r\n\r\n @motivating\r\n Scenario: Users can reset their password\r\n Given a user has a valid oob code as a url query parameter\r\n When they enter their password twice\r\n And they click "Update"\r\n Then their password is updated\r\n And a banner with a success message is displayed\r\n And they can log in with their new password\r\n\r\n @motivating\r\n Scenario Outline: Users cannot reset their password with an invalid or missing oob code\r\n Given a user has a <oobCode> as a url query parameter\r\n And the component <mayHave> "failed-page" with <value>\r\n Then they see an error message saying that their password reset code is invalid/expired\r\n When they click "Continue"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | oobCode | mayHave | value | redirectPath |\r\n | invalid oob code | doesn\'t have | N/A | / |\r\n | non existant oob code | doesn\'t have | N/A | / |\r\n | invalid oob code | has | /login | /login |\r\n | non existant oob code | has | /login | /login |\r\n\r\n @motivating\r\n Scenario: Users must enter the same password twice to successfully reset their password\r\n Given a user has been redirected to the password reset page\r\n And they have a valid oob code as a url query parameter\r\n When they enter two different passwords into the password reset form\r\n And they click "Update"\r\n Then their password is not be reset\r\n And an error banner stating the input passwords must match appears\r\n And their password is not be reset\r\n When they enter the same password twice\r\n And they click "Update"\r\n Then a banner appears with a success message\r\n And they can log in with their new password\r\n\r\n @motivating\r\n Scenario: Users are redirected to "/" by default\r\n Given the component does not have prop "nextPage"\r\n And the users url does not contain a "nextPage" query parameter\r\n And a user has entered their password twice\r\n When they click "Update"\r\n Then their password is updated\r\n And they are redirected to "/"\r\n\r\n @motivating\r\n Scenario: Custom redirection can be configured\r\n Given the component has prop "nextPage" with value "/activity"\r\n And the users url does not contain a "nextPage" query parameter\r\n And a user has entered their password twice\r\n When they click "Update"\r\n Then their password is updated\r\n And they are redirected to "/activity"'}},Default:()=>e(B,Object.assign({},ba)),DefaultWithoutConfirmField:()=>e(B,Object.assign({},wa)),ResetPasswordWithError:()=>e(B,Object.assign({},xa)),ResetPasswordLoading:()=>e(B,Object.assign({},va)),ResetPasswordSuccess:()=>e(B,Object.assign({},Ea)),CodeValidating:()=>e(B,Object.assign({},ya))}),Da={states:{error:"Something went wrong. Please try again.",loading:!1,verified:!1},data:{oobCode:"abc123"},callbacks:{gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},Ca={states:{error:"",loading:!1,verified:!0},data:{oobCode:"abc123"},callbacks:{gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},Aa=Object.freeze({__proto__:null,default:{title:"Components/Portal Verify Email",parameters:{scenario:'@author:derek\r\n@owner:ian\r\nFeature: Verify Email\r\n\r\n Background: A user is on the email verification page\r\n Given a user who has been redirected to the email verification page\r\n\r\n @motivating\r\n Scenario: Verifying your email takes you to the portal login page\r\n Given a user has a valid oob code as a url query parameter\r\n When they click "Verify Email"\r\n Then the button enters a loading state\r\n When their email is validated\r\n Then a button that says "Continue" appears\r\n When they click "Continue"\r\n Then they are redirected to login\r\n\r\n @motivating\r\n Scenario: Users are automatically redirected if they dont click "Continue"\r\n Given a user has a valid oob code as a url query parameter\r\n When they click "Verify Email"\r\n Then the button enters a loading state\r\n When their email is validated\r\n Then a button that says "Continue" appears\r\n When they wait 5 seconds\r\n Then they are redirected to login\r\n\r\n @motivating\r\n Scenario: Users are notified if verifying their email has failed\r\n Given a user has a valid oob code as a url query parameter\r\n When they click "Verify Email"\r\n Then the button enters a loading state\r\n When their email fails to be validated\r\n Then an banner is shown stating that an error occured\r\n\r\n @motivating\r\n Scenario Outline: Users cannot verify their email with an invalid or missing oob code\r\n Given a user has a <oobCode> as a url query parameter\r\n And the component <mayHave> "failed-page" with <value>\r\n Then they see an error message saying that their verification code is invalid/expired\r\n When they click "Continue"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | oobCode | mayHave | value | redirectPath |\r\n | invalid oob code | doesn\'t have | N/A | / |\r\n | non existant oob code | doesn\'t have | N/A | / |\r\n | invalid oob code | has | /login | /login |\r\n | non existant oob code | has | /login | /login |\r\n\r\n @motivating\r\n Scenario: Users are redirected to "/" by default\r\n Given the component does not have prop "nextPage"\r\n And the users url does not contain a "nextPage" query parameter\r\n And a user has verified their email\r\n When they click "Continue"\r\n Then they are redirected to "/"\r\n\r\n @motivating\r\n Scenario: Custom redirection can be configured\r\n Given the component has prop "nextPage" with value "/activity"\r\n And the users url does not contain a "nextPage" query parameter\r\n And a user has verified their email\r\n When they click "Continue"\r\n Then they are redirected to "/activity"\r\n\r\n @motivating\r\n Scenario Outline: Users are redirected to the value of the nextPage url parameter if it exists\r\n Given the component <mayHave> prop "nextPage" with <nextPageValue>\r\n And the users url contains a "nextPage" query paramater with <nextPageParamValue>\r\n And the user has verified their email\r\n When they click "Continue"\r\n Then they are redirected to <nextPageParamValue>\r\n Examples:\r\n | mayHave | nextPageValue | nextPageParamValue |\r\n | has | /dashboard | /activity |\r\n | does not have | N/A | /activity |'}},EmailVerificationWithError:()=>e(O,Object.assign({},Da)),EmailVerificationSuccess:()=>e(O,Object.assign({},Ca))}),ka=Object.freeze({__proto__:null,default:{title:"Components/Asset Card"},Default:()=>e(w,Object.assign({},{text:{titleText:"Marketing Banner"},imgUrl:"../../assets/saasquatch-logo.png",callbacks:{}})),CardWithLongText:()=>e(w,Object.assign({},{text:{titleText:"Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam, sunt dolores? Dolore temporibus autem officia blanditiis minus in voluptatem molestiae!"},imgUrl:"../../assets/saasquatch-logo.png",callbacks:{}})),CardWithNoImg:()=>e(w,Object.assign({},{text:{titleText:"Marketing Banner"},imgUrl:"",callbacks:{}}))}),Ra={data:{programs:[{key:"program1",label:"My Referral Program"},{key:"program2",label:"My Rewards Program"}]}},Ta={states:{active:!1},data:{label:"Dashboard",icon:"house",path:"/"}},Pa={states:{active:!0},data:{label:"Activity",icon:"bar-chart",path:"/"}},Na=()=>e(R,Object.assign({},Ra),e(T,Object.assign({},Ta)),e(T,Object.assign({},Pa))),Ia=Object.freeze({__proto__:null,default:{title:"Components/Divided Layout"},Row:()=>e("sqm-divided-layout",{direction:"row"},e(Na,null),e("div",{style:{padding:"48px"}},e(ee,Object.assign({},{labelMargin:"xx-small",padding:"none",label:e("sqm-text",null,e("p",null,"Welcome back,")),content:e("sqm-text",null,e("h1",null,"Joe Smith"))})))),Column:()=>e("sqm-divided-layout",{direction:"column"},e(Na,null),e("div",{style:{padding:"48px"}},e(ee,Object.assign({},{labelMargin:"xx-small",padding:"none",label:e("sqm-text",null,e("p",null,"Welcome back,")),content:e("sqm-text",null,e("h1",null,"Joe Smith"))})))),ColumnCustomDivider:()=>e("sqm-divided-layout",{direction:"column",dividerStyle:"1px solid red"},e(Na,null),e("div",{style:{padding:"48px"}},e(ee,Object.assign({},{labelMargin:"xx-small",padding:"none",label:e("sqm-text",null,e("p",null,"Welcome back,")),content:e("sqm-text",null,e("h1",null,"Joe Smith"))}))))}),Fa={states:{open:!1,loading:!1,success:!1,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:e=>console.log(e),submit:e=>console.log("Submit",e)}},Sa={states:{open:!0,loading:!1,success:!1,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:e=>console.log(e),submit:e=>console.log("Submit",e)}},La={states:{open:!0,loading:!1,success:!1,error:"Network error. Please try again.",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:e=>console.log(e),submit:e=>console.log("Submit",e)}},Ba={states:{open:!0,loading:!1,success:!1,error:"Passwords do not match.",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:e=>console.log(e),submit:e=>console.log("Submit",e)}},Oa={states:{open:!0,loading:!0,success:!1,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:e=>console.log(e),submit:e=>console.log("Submit",e)}},ja={states:{open:!0,loading:!1,success:!0,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:e=>console.log(e),submit:e=>console.log("Submit",e)}},_a=Object.freeze({__proto__:null,default:{title:"Components/Change Password",parameters:{scenario:'Feature: Change Password\r\n\r\n @motivating\r\n Scenario: Users can change their password\r\n Given a user has registered for the portal\r\n And they have a password\r\n When they navigate to the edit profile page\r\n And click "Change your password..."\r\n Then a popup will appear\r\n When they enter their new password\r\n And confirm it\r\n And click "Change Password"\r\n Then they will see a success banner stating that the change was successful\r\n When they logout\r\n And try to login\r\n Then they will not be able to login with their old password\r\n But they will be able to login with their new password\r\n\r\n @motivating\r\n Scenario: Users must confirm their password change\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click "Change your password..."\r\n Then a popup will appear\r\n When they enter their new password\r\n But they enter a different password to confirm\r\n And click "Change Password"\r\n Then they will see an error banner stating that the passwords didnt match\r\n When they logout\r\n And try to login\r\n Then they will be able to login with their existing password\r\n\r\n @motivating\r\n Scenario: Users must enter a new password and confirm it to change their password\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click "Change your password..."\r\n Then a popup will appear\r\n When they click "Change password"\r\n Then a validation error will appear for the new password field\r\n And their password will not be changed\r\n When they enter a new password\r\n And they click "Change password"\r\n Then a validation error will appear for the confirm new password field\r\n And their password will not be changed\r\n\r\n @motivating\r\n Scenario: An error banner will be displayed if the password change fails\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click "Change your password..."\r\n When they enter their new password\r\n And confirm it\r\n And click "Change Password"\r\n But the change fails\r\n Then they will see an error banner stating that the change failed\r\n When they logout\r\n And try to login\r\n Then they will be able to login with their existing password'}},Default:()=>e(W,Object.assign({},Fa)),Open:()=>e(W,Object.assign({},Sa)),Error:()=>e(W,Object.assign({},La)),PaswordError:()=>e(W,Object.assign({},Ba)),Loading:()=>e(W,Object.assign({},Oa)),Success:()=>e(W,Object.assign({},ja))}),Va={states:{success:!1,loading:!1,submitDisabled:!1,showCountry:!0,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}},Ga={states:{success:!1,loading:!1,submitDisabled:!1,showCountry:!1,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}},Ma={states:{success:!1,loading:!0,submitDisabled:!1,showCountry:!0,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}},Ua={states:{success:!1,loading:!1,submitDisabled:!0,showCountry:!0,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}},Ha={states:{success:!1,loading:!1,submitDisabled:!1,showCountry:!0,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:"Something went wrong. Please try again."}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}},Wa={states:{success:!0,loading:!1,submitDisabled:!1,showCountry:!0,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}},za=Object.freeze({__proto__:null,default:{title:"Components/Portal Profile"},Default:()=>e(L,Object.assign({},Va)),DefaultNoCountry:()=>e(L,Object.assign({},Ga)),Loading:()=>e(L,Object.assign({},Ma)),Disabled:()=>e(L,Object.assign({},Ua)),Error:()=>e(L,Object.assign({},Ha)),Success:()=>e(L,Object.assign({},Wa))}),$a={id:"123",type:"CREDIT",value:19,unit:"POINT",name:"test",dateGiven:1627427794891,dateScheduledFor:fs(),dateExpires:bs(),dateCancelled:134400,dateRedeemed:0,fuelTankCode:"ABC",fuelTankType:"Code",currency:"null",prettyValue:"19 Points",statuses:["AVAILABLE"],globalRewardKey:"Key",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"19 Points",type:"CREDIT",fuelTankCode:"ABC",globalRewardKey:"Key"}]}}]}},Ja={dateExpires:null},Xa={dateScheduledFor:null},Ka={fuelTankCode:null},Ya={type:"PCT_DISCOUNT"},Za={type:"CREDIT"},Qa={type:"FUELTANK"},es={type:"INTEGRATION"},ts={statuses:["AVAILABLE","PENDING"]},rs={statuses:["PENDING","CANCELLED"],dateCancelled:16268508e5},ns={statuses:["EXPIRED","AVAILABLE"],dateExpires:16268508e5},as={statuses:["AVAILABLE","EXPIRED","REDEEMED"]},ss={statuses:["AVAILABLE"]},is=[],os=[{...$a,...ss}],ls=[{...$a,...Ya,...ts},{...$a,...Za}],us=[{...$a,...Qa,...Ja},{...$a,...Qa,...ns},{...$a,...ts,...Ka}],ds=[{...$a,...Qa},{...$a,...es},{...$a,...ts},{...$a,...rs,...Ja,...Ka},{...$a,...ns,...Ka}],cs=[{...$a,...as,...Ka},{...$a,...ss,...Ja},{...$a,...ts},{...$a,...rs},{...$a,...ns},{...$a,...ts,...Ja,...Xa},{...$a,...rs},{...$a,...ns}],ms=[{...$a,...es},{...$a,...as},{...$a,...ss},{...$a,...rs,...Ja},{...$a,...ns},{...$a,...ts},{...$a,...Ya},{...$a,...Qa},{...$a,...rs,...Ja},{...$a,...Za}];function ps(){return b.DateTime.now().toMillis()+1e4}function hs(){return b.DateTime.now().toMillis()+4e5}function gs(){return b.DateTime.now().toMillis()+9e6}function fs(){return b.DateTime.now().toMillis()+6e8}function bs(){return b.DateTime.now().toMillis()+1e10}function ws(){return b.DateTime.now().toMillis()+2e11}const xs=()=>e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,...Xa}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),vs=()=>e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,...Ja}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),Es=()=>e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...rs}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),ys=Object.freeze({__proto__:null,default:{title:"Components/Referral Table Rewards Cell"},PendingNoUnpend:xs,PendingNoUnpendNoDetails:()=>e("sqm-referral-table-rewards-cell",{hideDetails:!0,rewards:[{...$a,...ts,...Xa}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),PendingWithUnpend:()=>[e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,dateScheduledFor:ps()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,dateScheduledFor:hs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,dateScheduledFor:gs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,dateScheduledFor:fs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,dateScheduledFor:bs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,dateScheduledFor:ws()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})],AvailableNoExpiry:vs,AvailableWithExpiry:()=>[e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,dateExpires:ps()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,dateExpires:hs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,dateExpires:gs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,dateExpires:fs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,dateExpires:bs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,dateExpires:ws()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})],Redeemed:()=>e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...as}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),Cancelled:Es,Expired:()=>e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ns}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),EmptyCell:()=>e("sqm-referral-table-rewards-cell",{rewards:is,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),oneRewardCell:()=>e("sqm-referral-table-rewards-cell",{rewards:os,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),twoRewardsCell:()=>e("sqm-referral-table-rewards-cell",{rewards:ls,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),threeRewardsCell:()=>e("sqm-referral-table-rewards-cell",{rewards:us,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),fiveRewardsCell:()=>e("sqm-referral-table-rewards-cell",{rewards:ds,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),eightRewardsCell:()=>e("sqm-referral-table-rewards-cell",{rewards:cs,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),tenRewardsCell:()=>e("sqm-referral-table-rewards-cell",{rewards:ms,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})}),qs=e("div",{slot:"loading",style:{display:"contents"}},e("sqm-table-row",null,e("sqm-table-cell",{colspan:5},e("sl-skeleton",null))),e("sqm-table-row",null,e("sqm-table-cell",{colspan:5},e("sl-skeleton",null))),e("sqm-table-row",null,e("sqm-table-cell",{colspan:5},e("sl-skeleton",null))),e("sqm-table-row",null,e("sqm-table-cell",{colspan:5},e("sl-skeleton",null))),e("sqm-table-row",null,e("sqm-table-cell",{colspan:5},e("sl-skeleton",null)))),Ds=e("div",{slot:"empty",style:{display:"contents"}},e("sqm-table-row",null,e("sqm-table-cell",{colspan:5,style:{textAlign:"center"}},e("div",{style:{padding:"var(--sl-spacing-xxx-large)"}},e("img",{src:"https://res.cloudinary.com/saasquatch/image/upload/v1642618031/squatch-assets/image_3_1.png",style:{width:"100px"}}),e("div",null,e("b",null,"View your referral details")),e("div",{style:{marginTop:"var(--sl-spacing-xx-small)",fontSize:"var(--sl-font-size-small)",color:"var(--sl-color-neutral-500)"}},"Track the status of your referrals and rewards earned by referring friends"))))),Cs={id:"123",type:"CREDIT",value:19,unit:"POINT",name:"test",dateGiven:1627427794891,dateScheduledFor:16281468e5,dateExpires:16290108e5,dateCancelled:134400,dateRedeemed:0,fuelTankCode:"ABC",fuelTankType:"Code",currency:"null",prettyValue:"19 Points",statuses:["AVAILABLE"],globalRewardKey:"Key",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"19 Points",type:"CREDIT",fuelTankCode:"ABC",globalRewardKey:"Key"}]}}]}},As={statuses:["AVAILABLE","PENDING"]},ks={statuses:["PENDING","CANCELLED"],dateCancelled:16268508e5},Rs={statuses:["EXPIRED","AVAILABLE"],dateExpires:16268508e5},Ts={statuses:["AVAILABLE"]},Ps={dateExpires:null},Ns={states:{hasPrev:!1,hasNext:!0,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},callbacks:{prevPage:()=>console.log("Prev"),nextPage:()=>console.log("Next")},elements:{columns:[e("div",null,"Name"),e("div",null,"Email"),e("div",null,"DOB"),e("div",null,"Rewards")],rows:[[e("sqm-referral-table-user-cell",{name:"Joe Smith"}),e("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),e("sqm-referral-table-user-cell",{name:"07/15/1902"}),e(xs,null)],[e("sqm-referral-table-user-cell",{name:"Bob Williams"}),e("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),e("sqm-referral-table-user-cell",{name:"09/05/1999"}),e(vs,null)],[e("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),e("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),e("sqm-referral-table-user-cell",{name:"12/21/1984"}),e(Es,null)]]}},Is={data:{textOverrides:{showLabels:!1,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599}},Fs={states:{hasPrev:!0,hasNext:!0,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"CUSTOM PREVIOUS TEXT",moreLabel:"CUSTOM NEXT TEXT"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599}},Ss={states:{hasPrev:!1,hasNext:!0,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},callbacks:{prevPage:()=>console.log("Prev"),nextPage:()=>console.log("Next")},elements:{columns:[e("div",null,"Name"),e("div",null,"Email"),e("div",null,"DOB"),e("div",null,"City"),e("div",null,"State/Province"),e("div",null,"Country"),e("div",null,"Referrals"),e("div",null,"Reward Earnings"),e("div",null,"Status")],rows:[[e("sqm-referral-table-user-cell",{name:"Bartholomew Christopher-Johnston Wallace"}),e("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),e("sqm-referral-table-date-cell",{date:-220896e5}),e("sqm-referral-table-user-cell",{name:"Vancouver"}),e("sqm-referral-table-cell",{innerTemplate:"British Columbia"}),e("sqm-referral-table-user-cell",{name:"Canada"}),e("sqm-referral-table-user-cell",{name:"14,000,000"}),e("sqm-referral-table-user-cell",{name:"$800,000,000,000"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0})],[e("sqm-referral-table-user-cell",{name:"Bob Williams"}),e("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),e("sqm-referral-table-date-cell",{date:8e11}),e("sqm-referral-table-user-cell",{name:"Los Angeles"}),e("sqm-referral-table-cell",{innerTemplate:"California"}),e("sqm-referral-table-user-cell",{name:"US"}),e("sqm-referral-table-user-cell",{name:"1"}),e("sqm-referral-table-user-cell",{name:"$5"}),e("sqm-referral-table-status-cell",{statusText:"In progress",converted:!1}),,],[e("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),e("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),e("sqm-referral-table-date-cell",{date:444703707e3}),e("sqm-referral-table-user-cell",{name:"Toronto"}),e("sqm-referral-table-cell",{innerTemplate:"Ontario"}),e("sqm-referral-table-user-cell",{name:"Canada"}),e("sqm-referral-table-user-cell",{name:"10"}),e("sqm-referral-table-user-cell",{name:"$71"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0}),,]]}},Ls={states:{hasPrev:!1,hasNext:!0,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},callbacks:{prevPage:()=>console.log("Prev"),nextPage:()=>console.log("Next")},elements:{columns:[e("div",null,"Lorem ipsum dolor sit amet consectetur adipisicing elit."),e("div",null,"Email"),e("div",null,"DOB"),e("div",null,"City"),e("div",null,"State/Province"),e("div",null,"Country"),e("div",null,"Referrals"),e("div",null,"Rewarddddddddddd Earningsssssssssssss"),e("div",null,"Status")],rows:[[e("sqm-referral-table-user-cell",{name:"Joe Smith"}),e("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),e("sqm-referral-table-date-cell",{date:-2128547493e3}),e("sqm-referral-table-user-cell",{name:"Vancouver"}),e("sqm-referral-table-cell",{innerTemplate:"British Columbia"}),e("sqm-referral-table-user-cell",{name:"Canada"}),e("sqm-referral-table-user-cell",{name:"14"}),e("sqm-referral-table-user-cell",{name:"$88"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0})],[e("sqm-referral-table-user-cell",{name:"Bob Williams"}),e("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),e("sqm-referral-table-date-cell",{date:8e11}),e("sqm-referral-table-user-cell",{name:"Los Angeles"}),e("sqm-referral-table-cell",{innerTemplate:"California"}),e("sqm-referral-table-user-cell",{name:"US"}),e("sqm-referral-table-user-cell",{name:"1"}),e("sqm-referral-table-user-cell",{name:"$5"}),e("sqm-referral-table-status-cell",{statusText:"In progress",converted:!1}),,],[e("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),e("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),e("sqm-referral-table-date-cell",{date:444703707e3}),e("sqm-referral-table-user-cell",{name:"Toronto"}),e("sqm-referral-table-cell",{innerTemplate:"Ontario"}),e("sqm-referral-table-user-cell",{name:"Canada"}),e("sqm-referral-table-user-cell",{name:"10"}),e("sqm-referral-table-user-cell",{name:"$71"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0}),,]]}},Bs={states:{hasPrev:!1,hasNext:!0,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},callbacks:{prevPage:()=>console.log("Prev"),nextPage:()=>console.log("Next")},elements:{columns:[e("div",null,"Name"),e("div",null,"Email"),e("div",null,"DOB"),e("div",null,"City"),e("div",null,"State/Province"),e("div",null,"Country"),e("div",null,"Referrals"),e("div",null,"Reward Earnings"),e("div",null,"Status")],rows:[[e("sqm-referral-table-user-cell",{name:"Joe Smith"}),e("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),e("sqm-referral-table-date-cell",{date:-2128547493e3}),e("sqm-referral-table-user-cell",{name:"Vancouver"}),e("sqm-referral-table-cell",{innerTemplate:"British Columbia"}),e("sqm-referral-table-user-cell",{name:"Canada"}),e("sqm-referral-table-user-cell",{name:"14"}),e("sqm-referral-table-user-cell",{name:"$88"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0})],[e("sqm-referral-table-user-cell",{name:"Bob Williams"}),e("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),e("sqm-referral-table-date-cell",{date:8e11}),e("sqm-referral-table-user-cell",{name:"Los Angeles"}),e("sqm-referral-table-cell",{innerTemplate:"California"}),e("sqm-referral-table-user-cell",{name:"US"}),e("sqm-referral-table-user-cell",{name:"1"}),e("sqm-referral-table-user-cell",{name:"$5"}),e("sqm-referral-table-status-cell",{statusText:"In progress",converted:!1}),,],[e("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),e("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),e("sqm-referral-table-date-cell",{date:444703707e3}),e("sqm-referral-table-user-cell",{name:"Toronto"}),e("sqm-referral-table-cell",{innerTemplate:"Ontario"}),e("sqm-referral-table-user-cell",{name:"Canada"}),e("sqm-referral-table-user-cell",{name:"10"}),e("sqm-referral-table-user-cell",{name:"$71"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0}),,]]}},Os=Object.freeze({__proto__:null,default:{title:"Components/Referral Table"},SimpleUserTable:()=>e(f,Object.assign({},Ns)),HiddenLabelsTable:()=>e(f,Object.assign({},{...Ns,...Is})),CustomButtonTextTable:()=>e(f,Object.assign({},{...Ns,...Fs})),FullUserTable:()=>e(f,Object.assign({},Bs)),LongCellTextTable:()=>e(f,Object.assign({},Ss)),LongColumnTextTable:()=>e(f,Object.assign({},Ls)),EmptyTable:()=>e("sqm-referral-table",{demoData:{states:{hasPrev:!1,hasNext:!1,show:"empty",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},elements:{emptyElement:Ds,loadingElement:qs,columns:[e("div",null,"Name"),e("div",null,"Email"),e("div",null,"DOB")],rows:[]}}}),LoadingTable:()=>e("sqm-referral-table",{demoData:{states:{hasPrev:!1,hasNext:!1,show:"loading",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},elements:{emptyElement:Ds,loadingElement:qs,columns:[e("div",null,"Name"),e("div",null,"Email"),e("div",null,"DOB")],rows:[]}}}),FullRewardsTable:()=>e("sqm-referral-table",{demoData:{states:{hasPrev:!1,hasNext:!1,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},elements:{emptyElement:Ds,loadingElement:qs,columns:[e("div",null,"User"),e("div",null,"Rewards"),e("div",null,"Status"),e("div",null,"Date Started"),e("div",null,"Date Converted")],rows:[[e("sqm-referral-table-user-cell",{name:"Joe Smith"}),e("sqm-referral-table-rewards-cell",{rewards:[{...Cs,...Ts},{...Cs,...As},{...Cs,...ks}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0}),e("sqm-referral-table-date-cell",{date:16267644e5}),e("sqm-referral-table-date-cell",{date:1627427794891})],[e("sqm-referral-table-user-cell",{name:"Sarah Williams"}),e("sqm-referral-table-rewards-cell",{rewards:[{...Cs,...Rs}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-status-cell",{statusText:"Incomplete",converted:!1}),e("sqm-referral-table-date-cell",{date:16267644e5}),e("sqm-referral-table-date-cell",{date:null})],[e("sqm-referral-table-user-cell",{name:"Marvin Smith"}),e("sqm-referral-table-rewards-cell",{rewards:[{...Cs,...Ps},{...Cs,...As}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0}),e("sqm-referral-table-date-cell",{date:16267644e5}),e("sqm-referral-table-date-cell",{date:1627427794891})]]}}})}),js=[{id:"123",type:"CREDIT",value:19,unit:"POINT",name:"test",dateGiven:1627427794891,dateScheduledFor:16281468e5,dateExpires:16290108e5,dateCancelled:134400,dateRedeemed:0,fuelTankCode:"ABC",fuelTankType:"Code",currency:"null",prettyValue:"19 Points",statuses:["AVAILABLE"],globalRewardKey:"Key",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"19 Points",type:"CREDIT",fuelTankCode:"ABC",globalRewardKey:"Key"}]}}]}}],_s=Object.freeze({__proto__:null,default:{title:"Components/Referral Table Cell"},TableCell:()=>e("sqm-referral-table-cell",{innerTemplate:"Table Cell Text"}),TableUserCell:()=>e("sqm-referral-table-user-cell",{name:"Table User Cell Text"}),EmptyCell:()=>e("sqm-sqm-referral-table-cell",null,"-"),StatusCell:()=>e("div",null,e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0}),e("sqm-referral-table-status-cell",{statusText:"In Progress",converted:!1})),DateCell:()=>e("sqm-referral-table-date-cell",{date:8e11}),RewardsCell:()=>e("sqm-referral-table-rewards-cell",{rewards:js,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})}),Vs=Object.freeze({__proto__:null,default:{title:"Tests/User Name"},DemoData:()=>e("sqm-user-name",{demoData:{loading:!1,loadingText:"...",username:"Test Testerson"}}),Username:()=>e("sqm-user-name",null)}),Gs=Object.freeze({__proto__:null,default:{title:"Components/Portal Password Field"},Start:()=>e("sqm-password-field",{demoData:{initValue:"",states:{enableValidation:!0,validationErrors:{},content:{fieldLabel:"Password"}}}}),EmptyError:()=>e("sqm-password-field",{demoData:{initValue:"",states:{enableValidation:!0,validationErrors:{password:"Cannot be empty"},content:{fieldLabel:"Password"}}}}),ValidationError:()=>e("sqm-password-field",{demoData:{initValue:"asdf",states:{enableValidation:!0,validationErrors:{password:"Incomplete"},content:{fieldLabel:"Password"}}}})});function Ms({matrix:t,props:r,Component:n}){return function(...e){var t=[],r=e.length-1;return function n(a,s){for(var i=0,o=e[s].length;i<o;i++){var l=a.slice(0);l.push(e[s][i]),s==r?t.push(l):n(l,s+1)}}([],0),t}(...Object.keys(t).map((e=>t[e].map((t=>({[e]:t})))))).map((e=>e.reduce(((e,t)=>({...e,...t})),{}))).map((t=>{const a={...r,...t};return e("div",null,e(Us,{values:a}),e("hr",null)," ",e("br",null),e(n,Object.assign({},a)),e("br",null))}))}function Us({values:t}){return e("table",null,e("tbody",null,Object.keys(t).map((r=>e("tr",null,e("th",null,r),e("td",null,JSON.stringify(t[r])))))))}const Hs=(t,r)=>e("div",{class:"resizer"},r),Ws={display:"inline-flex",gap:"32px"},zs={width:"347px",minWidth:"347px",resize:"horizontal",height:"fit-content",overflow:"hidden"},$s={callbacks:{sendEvent:()=>{},onClick:()=>{}},content:{rewardAmount:"20",rewardUnit:"SaaSquatch Points",cardTitle:"Complete a survey",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:!1,showProgressBar:!1,steps:!1,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:!1,showExpiry:!1,rewardDuration:null,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:1,locale:"en"},states:{progress:0,loading:!1,loadingEvent:!1}},Js={callbacks:{sendEvent:()=>{},onClick:()=>{}},content:{rewardAmount:"40",rewardUnit:"SaaSquatch Points",cardTitle:"Comment on 5 articles",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:!1,showProgressBar:!0,steps:!0,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:!1,showExpiry:!1,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:5,locale:"en"},states:{progress:1,loading:!1,loadingEvent:!1}},Xs={callbacks:{sendEvent:()=>{},onClick:()=>{}},content:{rewardAmount:"150",rewardUnit:"SaaSquatch Points",cardTitle:"Spend $500 at our Store",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:!1,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",showProgressBar:!0,steps:!1,progressBarUnit:"$",buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:!1,showExpiry:!1,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:500,locale:"en"},states:{progress:100,loading:!1,loadingEvent:!1}},Ks=Object.freeze({__proto__:null,default:{title:"Components/Task Card/",parameters:{scenario:'@author:derek\r\n@owner:kutay\r\nFeature: Task Card\r\n\r\n\t@motivating\r\n\tScenario: A header, body title and a CTA button are always displayed\r\n\t\tGiven the Task Card is configured with the following props\r\n\t\t\t| prop | value |\r\n\t\t\t| rewardAmount | "40" |\r\n\t\t\t| rewardUnit | "Points" |\r\n\t\t\t| cardTitle | Complete a survey |\r\n\t\t\t| buttonText | Take Survey |\r\n\t\tWhen a user views the Task Card\r\n\t\tThen they see "40 Points" as the heading\r\n\t\tAnd the "40" is bolded\r\n\t\tAnd they see "Complete a survey" bolded in the body\r\n\t\tAnd a details icon in the top right hand corner\r\n\t\tAnd a button with text "Take Survey" in the bottom right hand corner\r\n\t\tWhen they click the button\r\n\t\tThen they are redirected to "example.com" in a new window\r\n\r\n\t@motivating\r\n\tScenario Outline: A Task Card description can be included but is not required\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <descriptionPropValue>\r\n\t\tWhen a user views the Task card\r\n\t\tThen they <maySee> a chevron icon in the top right\r\n\t\tWhen they attempt to click the chevron\r\n\t\tThen they <maySee> the card description\r\n\t\tExamples:\r\n\t\t\t| descriptionPropValue | maySee |\r\n\t\t\t| This is my task card description | see |\r\n\t\t\t| | don\'t see |\r\n\r\n\t@motivating\r\n\tScenario Outline: CTA links can open in a new tab or the same tab\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <openNewTabPropValue>\r\n\t\tWhen a user views the Task card\r\n\t\tAnd they click on the CTA\r\n\t\tThen they are redirected to the CTA link in <tab>\r\n\t\tExamples:\r\n\t\t\t| openNewTabPropValue | tab |\r\n\t\t\t| true | a new tab |\r\n\t\t\t| false | the same tab |\r\n\t\t\t| N/A | the same tab |\r\n\r\n\t@minutae\r\n\tScenario: A loading state is displayed while the Task Card is loading\r\n\t\tGiven a Task Card component\r\n\t\tWhen a user views the Task Card\r\n\t\tThen a loading state is displayed\r\n\t\tWhen the Task Card has loaded\r\n\t\tThen the loading state disapears\r\n\r\n\t@motivating\r\n\tScenario Outline: The Progress Bar can be shown or hidden but is hidden by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <showProgressBarPropValue>\r\n\t\tWhen a user views the Task Card\r\n\t\tThen the progress bar <mayBe> displayed\r\n\t\tExamples:\r\n\t\t\t| showProgressBarPropValue | mayBe |\r\n\t\t\t| true | is |\r\n\t\t\t| false | isn\'t |\r\n\t\t\t| N/A | isn\'t |\r\n\r\n\t@motivating\r\n\tScenario: Clicking the CTA Button can trigger an event to be sent and refresh the widget\r\n\t\tGiven a Task card\r\n\t\tAnd it is configured to send an "test" event\r\n\t\tWhen a user views the Task card\r\n\t\tAnd clicks on the CTA\r\n\t\tThen a "test" event is sent to SSQT on the users behalf\r\n\t\tAnd the contents of the widget the card is dislayed within are refreshed\r\n\r\n\t@motivating\r\n\tScenario Outline: Tasks can be repeatable or one-time only but are one-time only by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <repeatablePropValue>\r\n\t\tAnd a user who has already completed the task\r\n\t\tWhen they view the Task Card\r\n\t\tThen they see a brand colour checkmark icon beside the card heading\r\n\t\tAnd the card <mayBe> brand colour\r\n\t\tAnd the CTA button <mayBe> disabled\r\n\t\tAnd the CTA button <mayBe> grey\r\n\t\tExamples:\r\n\t\t\t| repeatablePropValue | mayBe |\r\n\t\t\t| true | isn\'t |\r\n\t\t\t| false | is |\r\n\t\t\t| N/A | is |\r\n\r\n\t@motivating\r\n\tScenario Outline: Display duration hides or shows a task\r\n\t\tGiven a Task Card\r\n\t\tAnd it has a "display-duration" interval\r\n\t\tWhen a user views the Card on <day>\r\n\t\tThen card <mayBeHidden>\r\n\t\tExamples:\r\n\t\t\t| day | mayBeHidden |\r\n\t\t\t| a day before the interval | is hidden |\r\n\t\t\t| a day during the interval | is not hidden |\r\n\t\t\t| a day after the interval | is hidden |\r\n\r\n\t@motivating\r\n\tScenario: Task Expiries can be configured and disable the CTA after the expiry\r\n\t\tGiven a Task Card\r\n\t\tAnd it has an "reward-duration" interval\r\n\t\tAnd it is configured to show expiry\r\n\t\tWhen a user views the card on <day>\r\n\t\tThen the card <mayBeDisabled>\r\n\t\tAnd it <mayHaveAlert>\r\n\t\tAnd it <mayHaveExpiryText> on the bottom left hand side of the card\r\n\t\tExamples:\r\n\t\t\t| day | mayBeDisabled | mayHaveAlert | mayHaveExpiryText |\r\n\t\t\t| a day before the expiry interval | is disabled | has alert stating the month, date, year and time the task starts | doesn\'t have expiry text |\r\n\t\t\t| a day during the expiry interval | isn\'t disabled | doesn\'t have an alert | has the month, date, year and time the task expires |\r\n\t\t\t| a day after the expiry interval | is disabled | has alert stating the month, date, year and time the task expired | doesn\'t have expiry text |\r\n\r\n\t@minutae\r\n\tScenario Outline: Task expiry can be hidden or shown but is hidden by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured with an expiry duration interval\r\n\t\tAnd it has <showExpiryPropValue>\r\n\t\tWhen a user views the Task card during the interval\r\n\t\tThen the expiry <mayBe> shown in the bottom left hand corner\r\n\t\tAnd it is in form "Month-Date-Year-Time"\r\n\t\tExamples:\r\n\t\t\t| showExpiryPropValue | mayBe |\r\n\t\t\t| true | is |\r\n\t\t\t| false | isn\'t |\r\n\t\t\t| N/A | isn\'t |\r\n\r\n\t@motivating\r\n\tScenario Outline: Task Card dates support localization\r\n\t\tGiven a Task Card\r\n\t\tAnd it\'s configured with a expiry duration interval\r\n\t\tWhen a user with <locale> views the task card <atTime>\r\n\t\tThen they <seeDate> translated for <locale>\r\n\t\tExamples:\r\n\t\t\t| atTime | locale | seeDate |\r\n\t\t\t| before the interval | en | Task Start Date |\r\n\t\t\t| during the interval | en | Task End Date |\r\n\t\t\t| after the interval | en | Task Ended Date |\r\n\t\t\t| before the interval | fr | Task Start Date |\r\n\t\t\t| during the interval | fr | Task End Date |\r\n\t\t\t| after the interval | fr | Task Ended Date |\r\n\r\n\t@motivating\r\n\tScenario Outline: A task completion count is displayed for repeatable tasks\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured for a repeatable task\r\n\t\tAnd has it has <goalValue>\r\n\t\tAnd a user with <userGoalProgress>\r\n\t\tWhen the user views the task card\r\n\t\tThen they see a repeat icon\r\n\t\tAnd the <text> in the bottom left hand corner\r\n\t\tAnd the <text> is brand colour\r\n\t\tExamples:\r\n\t\t\t| goalValue | userGoalProgress | text |\r\n\t\t\t| 2 | 0 | Completed 0 times |\r\n\t\t\t| 2 | 1 | Completed 0 times |\r\n\t\t\t| 2 | 2 | Completed 1 times |\r\n\t\t\t| 2 | 4 | Completed 2 times |\r\n\r\n\t@motivating\r\n\tScenario Outline: The source of a user\'s progress can be a custom field or a program goal\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured <progressSourcePath>\r\n\t\tWhen a user views the Task card\r\n\t\tThen the value at <progressSourcePath> is used to benchmark their progress against the "Goal Completion Count"\r\n\t\tExamples:\r\n\t\t\t| progressSourcePath |\r\n\t\t\t| /customFields/activityCount |\r\n\t\t\t| /customFields/purchaseTotal |\r\n\t\t\t| /programGoals/count%2FComment-on-Article |\r\n\t\t\t| /programGoals/count/Referral-Started%2Freferrals |\r\n\r\n\t@motivating\r\n\tScenario Outline: The users completion of a goal is calculated by the Goal Completion Number\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured for <goalValue>\r\n\t\tAnd a user who has <progressValue>\r\n\t\tWhen they view the Task Card\r\n\t\tThen they are shown to have <progressValue> towards <goalValue>\r\n\t\tWhen their progress grows larger than <goalValue>\r\n\t\tThen the task is marked as completed\r\n\t\tExamples:\r\n\t\t\t| goalValue | progressValue |\r\n\t\t\t| 1 | 0 |\r\n\t\t\t| 10 | 9 |\r\n\t\t\t| 5 | 2 |\r\n\r\n\t@motivating\r\n\tScenario: The Goal Completion Number defaults to 1\r\n\t\tGiven a Task Card without a configured "goal" value\r\n\t\tAnd a user who has <progressValue>\r\n\t\tWhen they view the Task Card\r\n\t\tThen it <mayBe> marked as completed\r\n\t\tExamples:\r\n\t\t\t| progressValue | mayBe |\r\n\t\t\t| 0 | isn\'t |\r\n\t\t\t| 1 | is |\r\n\t\t\t| 2 | is |@author:kutay\r\n@owner:kutay\r\nFeature: Task Card Progress Bar\r\n\r\n\tScenario Outline: Progress Bar\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> shows <progress> with <unit> above\r\n\t\tAnd gift icon has <color>\r\n\t\tAnd gift icon shows <goal> with <unit> below\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | unit | color |\r\n\t\t\t| 0 | 500 | ●――――――――――――――――――🎁 | $ | no |\r\n\t\t\t| 100 | 500 | ―――――――――●―――――――――🎁 | $ | no |\r\n\t\t\t| 500 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\t\t\t| 650 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\t\t\t| 1200 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\r\n\tScenario Outline: Progress Bar Steps\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd steps is enabled\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> has incrementing steps up to <goal>\r\n\t\tAnd gift icon has <color>\r\n\t\tAnd gift icon shows <goal> below\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | color |\r\n\t\t\t| 0 | 5 | ―――○―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 1 | 5 | ―――●―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 5 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\t\t\t| 7 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\t\t\t| 12 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\r\n\r\n\tScenario Outline: Progress Bar Repeatable\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd it is repeatable\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> shows <progress> with <unit> above\r\n\t\tAnd first <icon1> is <color1> with <text1> displayed below\r\n\t\tAnd second <icon2> is <color2> with <text2> displayed below\r\n\t\tAnd third <icon3> is <color3> with <text3> displayed below\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | unit | icon1 | color1 | text1 | icon2 | color2 | text 2 | icon3 | color3 | text 3 |\r\n\t\t\t| 250 | 500 | ――――●――――🎁―――――――🎁 | $ | NA | NA | NA | gift | greyscale | 500 | gift | greyscale | 1000 |\r\n\t\t\t| 500 | 500 | ―――――――――🎁―――――――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\r\n\t\t\t| 750 | 500 | ―――――――――🎁―――●―――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\r\n\t\t\t| 1000 | 500 | 🎁―――――――🎁―――――――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\r\n\t\t\t| 1250 | 500 | 🎁―――――――🎁―――●―――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\r\n\r\n\tScenario Outline: Progress Bar Steps Repeatable\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd steps is enabled\r\n\t\tAnd it is repeatable\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> has incrementing steps up to <goal>\r\n\t\tAnd first <icon1> is <color1>\r\n\t\tAnd second <icon2> is <color2>\r\n\t\tAnd third <icon3> is <color3>\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | icon1 | color1 | icon2 | color2 | icon3 | color3 |\r\n\t\t\t| 0 | 5 | ―――○―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\r\n\t\t\t| 1 | 5 | ―――●―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\r\n\t\t\t| 5 | 5 | ―――●―●―●―●―🎁―○―○―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\r\n\t\t\t| 7 | 5 | ―――●―●―●―●―🎁―●―●―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\r\n\t\t\t| 12 | 5 | 🎁―●―●―●―●―🎁―●―●―○―○―🎁 | gift | colorful | gift | colorful | gift | greyscale |'}},TaskCard:()=>{const t={showExpiry:!0,rewardDuration:"2021-11-30T08:00:00.000Z/2021-12-01T08:00:00.000Z",repeatable:!0};return e("div",{style:Ws},e(Hs,null,e("h4",null,"Not Repeatable"),e(J,Object.assign({},$s,{content:{...$s.content,description:""},states:{...$s.states,progress:0}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,description:""},states:{...Js.states,progress:0}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,description:""},states:{...Xs.states,progress:230}}))),e(Hs,null,e("h4",null,"Repeatable"),e(J,Object.assign({},$s,{content:{...$s.content,repeatable:!0},states:{...$s.states,progress:2}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0},states:{...Js.states,progress:7}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0},states:{...Xs.states,progress:650}}))),e(Hs,null,e("h4",null,"Complete"),e(J,Object.assign({},$s,{states:{...$s.states,progress:1}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:5}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:500}}))),e(Hs,null,e("h4",null,"Unavailable"),e(J,Object.assign({},$s,{states:{...$s.states,progress:0}},t)),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:3}},t)),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:250}},t))))},TaskCardNotRepeatable:()=>e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,{states:{...$s.states,progress:0}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:1}})),e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},Js,{states:{...Js.states,progress:1}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:5}})),e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:230}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:500}})),e("h5",null))),TaskCardRepeatable:()=>e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,{content:{...$s.content,repeatable:!0},states:{...$s.states,progress:0}})),e("h5",null),e(J,Object.assign({},$s,{content:{...$s.content,repeatable:!0},states:{...$s.states,progress:1}})),e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0},states:{...Js.states,progress:0}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0},states:{...Js.states,progress:5}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0},states:{...Js.states,progress:7}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0},states:{...Js.states,progress:10}})),e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0},states:{...Xs.states,progress:0}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0},states:{...Xs.states,progress:500}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0},states:{...Xs.states,progress:650}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0},states:{...Xs.states,progress:1e3}})),e("h5",null))),TaskCardRepeatableFinite:()=>e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,{content:{...$s.content,repeatable:!0,finite:2},states:{...$s.states,progress:0}})),e("h5",null),e(J,Object.assign({},$s,{content:{...$s.content,repeatable:!0,finite:2},states:{...$s.states,progress:1}})),e("h5",null),e(J,Object.assign({},$s,{content:{...$s.content,repeatable:!0,finite:2},states:{...$s.states,progress:2}})),e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0,finite:2},states:{...Js.states,progress:2}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0,finite:2},states:{...Js.states,progress:5}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0,finite:2},states:{...Js.states,progress:10}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0,finite:3},states:{...Js.states,progress:12}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0,finite:3},states:{...Js.states,progress:15}})),e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0,finite:2},states:{...Xs.states,progress:200}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0,finite:3},states:{...Xs.states,progress:500}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0,finite:2},states:{...Xs.states,progress:1e3}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0,finite:3},states:{...Xs.states,progress:1200}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0,finite:3},states:{...Xs.states,progress:1500}})),e("h5",null))),TaskCardEndDate:()=>{const t={showExpiry:!0,rewardDuration:b.DateTime.now().minus({days:1}).toISO()+"/"+b.DateTime.now().plus({days:1}).toISO()},r={...t,repeatable:!0};return e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,{content:{...$s.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{content:{...$s.content,...r}})),e("h5",null),e(J,Object.assign({},$s,{content:{...$s.content,...r},states:{...$s.states,progress:1}})),e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},$s,{content:{...Js.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{content:{...Js.content,...r}})),e("h5",null),e(J,Object.assign({},$s,{content:{...Js.content,...r},states:{...Js.states,progress:5}})),e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},$s,{content:{...Xs.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{content:{...Xs.content,...r}})),e("h5",null),e(J,Object.assign({},$s,{content:{...Xs.content,...r},states:{...Xs.states,progress:1e3}})),e("h5",null)))},TaskCardLoading:()=>{const t={states:{loading:!0,progress:0,loadingEvent:!1}};return e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,t))," ",e("h5",null),e(J,Object.assign({},$s,t))," ",e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},Js,t))," ",e("h5",null),e(J,Object.assign({},Js,t))," ",e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},Xs,t))," ",e("h5",null),e(J,Object.assign({},Xs,t))," ",e("h5",null)))},TaskCardNotStarted:()=>{const t={showExpiry:!0,rewardDuration:b.DateTime.now().plus({days:1}).toISO()+"/"+b.DateTime.now().plus({days:2}).toISO()},r={...t,repeatable:!0};return e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,{states:{...$s.states,progress:0},content:{...$s.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:1},content:{...$s.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:0},content:{...$s.content,...r}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:1},content:{...$s.content,...r}})),e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...t}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...t}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...r}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...r}})),e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:100},content:{...Xs.content,...t}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:500},content:{...Xs.content,...t}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:100},content:{...Xs.content,...r}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:500},content:{...Xs.content,...r}})),e("h5",null)))},TaskCardEnded:()=>{const t={showExpiry:!0,rewardDuration:b.DateTime.now().minus({days:2}).toISO()+"/"+b.DateTime.now().minus({days:1}).toISO()},r={...t,repeatable:!0};return e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,{states:{...$s.states,progress:0},content:{...$s.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:1},content:{...$s.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:0},content:{...$s.content,...r}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:1},content:{...$s.content,...r}})),e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...t}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...t}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...r}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...r}})),e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:100},content:{...Xs.content,...t}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:500},content:{...Xs.content,...t}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:100},content:{...Xs.content,...r}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:500},content:{...Xs.content,...r}})),e("h5",null)))},ProgressBar:()=>e("div",null,e(Ms,{matrix:{progress:[0,100,500,650,1200]},props:{progress:0,goal:500,progressBarUnit:"$"},Component:X})),ProgressBarSteps:()=>e("div",null,e(Ms,{matrix:{progress:[0,1,5,7,12]},props:{progress:0,steps:!0,goal:5,progressBarUnit:"$"},Component:X})),ProgressBarRepeatable:()=>e("div",null,e(Ms,{matrix:{progress:[0,250,500,750,1e3,1250]},props:{progress:0,goal:500,progressBarUnit:"$",repeatable:!0},Component:X})),ProgressBarStepsRepeatable:()=>e("div",null,e(Ms,{matrix:{progress:[0,1,5,7,12]},props:{progress:0,steps:!0,goal:5,progressBarUnit:"$",repeatable:!0},Component:X})),ProgressBarStepsRepeatableFinite:()=>e("div",null,e(Ms,{matrix:{progress:[0,1,5,7,10,12]},props:{progress:0,steps:!0,goal:5,progressBarUnit:"$",repeatable:!0,finite:2},Component:X}))}),Ys='<sqm-portal-container direction="column" padding="xxx-large" gap="xxx-large"\r\n ><sqm-titled-section label-margin="xx-small"\r\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\r\n ><sqm-text slot="content">\r\n <h1>\r\n <sqm-user-name fallback="Anonymous User"></sqm-user-name>\r\n </h1> </sqm-text\r\n ></sqm-titled-section>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container> </sqm-portal-container\r\n><sqm-portal-container direction="column" padding="xxx-large" gap="xxx-large">\r\n <sqm-titled-section padding="none" label-margin="x-large"\r\n ><sqm-text slot="label"> <h2>Partner and Profit</h2> </sqm-text\r\n ><sqm-text slot="content">\r\n <p>\r\n Get rewarded for referring potential customers to SaaSquatch. Earn\r\n commission for each successful lead you send our way\r\n </p>\r\n </sqm-text></sqm-titled-section\r\n >\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label"> <h3>Share your referral link</h3> </sqm-text\r\n ><sqm-share-link slot="content"></sqm-share-link\r\n ></sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none">\r\n <sqm-text slot="label"> <h3>Share your referral code</h3> </sqm-text\r\n ><sqm-share-code slot="content"></sqm-share-code>\r\n </sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label"> <h3>Share via social media</h3> </sqm-text\r\n ><sqm-portal-container\r\n slot="content"\r\n direction="row"\r\n padding="none"\r\n gap="xxx-large"\r\n min-width="160px"\r\n ><sqm-share-button\r\n icon="envelope"\r\n medium="email"\r\n size="medium"\r\n pill="true"\r\n >Email a friend</sqm-share-button\r\n ><sqm-share-button medium="twitter" size="medium" pill="true"\r\n >Tweet about us</sqm-share-button\r\n ><sqm-share-button medium="facebook" size="medium" pill="true"\r\n >Share on Facebook</sqm-share-button\r\n ></sqm-portal-container\r\n ></sqm-titled-section\r\n ></sqm-portal-container\r\n>\r\n';var Zs=o((function(e){e.exports=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function r(e,r){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,r){if(e){if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n={exports:{}};function a(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}n.exports={defaults:{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:a,changeDefaults:function(e){n.exports.defaults=e}};var s=/[&<>"']/,i=/[&<>"']/g,o=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},d=function(e){return u[e]};var c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function m(e){return e.replace(c,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var p=/(^|[^\[])\^/g;var h=/[^\w:]/g,g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;var f={},b=/^[^:]+:\/*[^/]*$/,w=/^([^:]+:)[\s\S]*$/,x=/^([^:]+:\/*[^/]*)[\s\S]*$/;function v(e,t){f[" "+e]||(f[" "+e]=b.test(e)?e+"/":E(e,"/",!0));var r=-1===(e=f[" "+e]).indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(w,"$1")+t:"/"===t.charAt(0)?r?t:e.replace(x,"$1")+t:e+t}function E(e,t,r){var n=e.length;if(0===n)return"";for(var a=0;a<n;){var s=e.charAt(n-a-1);if(s!==t||r){if(s===t||!r)break;a++}else a++}return e.substr(0,n-a)}var y=function(e,t){if(t){if(s.test(e))return e.replace(i,d)}else if(o.test(e))return e.replace(l,d);return e},q=m,D=function(e,t){e=e.source||e,t=t||"";var r={replace:function(t,n){return n=(n=n.source||n).replace(p,"$1"),e=e.replace(t,n),r},getRegex:function(){return new RegExp(e,t)}};return r},C=function(e,t,r){if(e){var n;try{n=decodeURIComponent(m(r)).replace(h,"").toLowerCase()}catch(e){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!g.test(r)&&(r=v(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch(e){return null}return r},A={exec:function(){}},k=function(e){for(var t,r,n=1;n<arguments.length;n++)for(r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},R=function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")},T=function(e,t){if(t<1)return"";for(var r="";t>1;)1&t&&(r+=e),t>>=1,e+=e;return r+e},P=n.exports.defaults,N=E,I=function(e,t){var r=e.replace(/\|/g,(function(e,t,r){for(var n=!1,a=t;--a>=0&&"\\"===r[a];)n=!n;return n?"|":" |"})).split(/ \|/),n=0;if(r[0].trim()||r.shift(),r[r.length-1].trim()||r.pop(),r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r},F=y,S=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var r=e.length,n=0,a=0;a<r;a++)if("\\"===e[a])a++;else if(e[a]===t[0])n++;else if(e[a]===t[1]&&--n<0)return a;return-1};function L(e,t,r,n){var a=t.href,s=t.title?F(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;var o={type:"link",raw:r,href:a,title:s,text:i,tokens:n.inlineTokens(i,[])};return n.state.inLink=!1,o}return{type:"image",raw:r,href:a,title:s,text:F(i)}}var B=function(){function e(e){this.options=e||P}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:N(r,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var r=t[0],n=function(e,t){var r=e.match(/^(\s+)(?:```)/);if(null===r)return t;var n=r[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=n.length?e.slice(n.length):e})).join("\n")}(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim():t[2],text:n}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var r=t[2].trim();if(/#$/.test(r)){var n=N(r,"#");this.options.pedantic?r=n.trim():n&&!/ $/.test(n)||(r=n.trim())}var a={type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:[]};return this.lexer.inline(a.text,a.tokens),a}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var r=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(r,[]),text:r}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var r,n,a,s,i,o,l,u,d,c,m=t[1].trim(),p=m.length>1,h={type:"list",raw:"",ordered:p,start:p?+m.slice(0,-1):"",loose:!1,items:[]};m=p?"\\d{1,9}\\"+m.slice(-1):"\\"+m,this.options.pedantic&&(m=p?m:"[*+-]");for(var g=new RegExp("^( {0,3}"+m+")((?: [^\\n]*| *)(?:\\n[^\\n]*)*(?:\\n|$))");e&&!this.rules.block.hr.test(e)&&(t=g.exec(e));){d=t[2].split("\n"),this.options.pedantic?(s=2,c=d[0].trimLeft()):(s=t[2].search(/[^ ]/),c=d[0].slice((s=t[1].length+(s>4?1:s))-t[1].length)),o=!1,r=t[0],!d[0]&&/^ *$/.test(d[1])&&(r=t[1]+d.slice(0,2).join("\n")+"\n",h.loose=!0,d=[]);var f=new RegExp("^ {0,"+Math.min(3,s-1)+"}(?:[*+-]|\\d{1,9}[.)])");for(i=1;i<d.length;i++){if(u=d[i],this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),f.test(u)){r=t[1]+d.slice(0,i).join("\n")+"\n";break}if(o){if(!(u.search(/[^ ]/)>=s)&&u.trim()){r=t[1]+d.slice(0,i).join("\n")+"\n";break}c+="\n"+u.slice(s)}else u.trim()||(o=!0),u.search(/[^ ]/)>=s?c+="\n"+u.slice(s):c+="\n"+u}h.loose||(l?h.loose=!0:/\n *\n *$/.test(r)&&(l=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(c))&&(a="[ ] "!==n[0],c=c.replace(/^\[[ xX]\] +/,"")),h.items.push({type:"list_item",raw:r,task:!!n,checked:a,loose:!1,text:c}),h.raw+=r,e=e.slice(r.length)}h.items[h.items.length-1].raw=r.trimRight(),h.items[h.items.length-1].text=c.trimRight(),h.raw=h.raw.trimRight();var b=h.items.length;for(i=0;i<b;i++)this.lexer.state.top=!1,h.items[i].tokens=this.lexer.blockTokens(h.items[i].text,[]),h.items[i].tokens.some((function(e){return"space"===e.type}))&&(h.loose=!0,h.items[i].loose=!0);return h}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t){var r={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(r.type="paragraph",r.text=this.options.sanitizer?this.options.sanitizer(t[0]):F(t[0]),r.tokens=[],this.lexer.inline(r.text,r.tokens)),r}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var r={type:"table",header:I(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(r.header.length===r.align.length){r.raw=t[0];var n,a,s,i,o=r.align.length;for(n=0;n<o;n++)r.align[n]=/^ *-+: *$/.test(r.align[n])?"right":/^ *:-+: *$/.test(r.align[n])?"center":/^ *:-+ *$/.test(r.align[n])?"left":null;for(o=r.rows.length,n=0;n<o;n++)r.rows[n]=I(r.rows[n],r.header.length).map((function(e){return{text:e}}));for(o=r.header.length,a=0;a<o;a++)r.header[a].tokens=[],this.lexer.inlineTokens(r.header[a].text,r.header[a].tokens);for(o=r.rows.length,a=0;a<o;a++)for(i=r.rows[a],s=0;s<i.length;s++)i[s].tokens=[],this.lexer.inlineTokens(i[s].text,i[s].tokens);return r}}},t.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t){var r={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}},t.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t){var r={type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}},t.text=function(e){var t=this.rules.block.text.exec(e);if(t){var r={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}},t.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:F(t[1])}},t.tag=function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):F(t[0]):t[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var r=t[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;var n=N(r.slice(0,-1),"\\");if((r.length-n.length)%2==0)return}else{var a=S(t[2],"()");if(a>-1){var s=(0===t[0].indexOf("!")?5:4)+t[1].length+a;t[2]=t[2].substring(0,a),t[0]=t[0].substring(0,s).trim(),t[3]=""}}var i=t[2],o="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);l&&(i=l[1],o=l[3])}else o=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(i=this.options.pedantic&&!/>$/.test(r)?i.slice(1):i.slice(1,-1)),L(t,{href:i?i.replace(this.rules.inline._escapes,"$1"):i,title:o?o.replace(this.rules.inline._escapes,"$1"):o},t[0],this.lexer)}},t.reflink=function(e,t){var r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){var n=(r[2]||r[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])||!n.href){var a=r[0].charAt(0);return{type:"text",raw:a,text:a}}return L(r,n,r[0],this.lexer)}},t.emStrong=function(e,t,r){void 0===r&&(r="");var n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&(!n[3]||!r.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var a=n[1]||n[2]||"";if(!a||a&&(""===r||this.rules.inline.punctuation.exec(r))){var s,i,o=n[0].length-1,l=o,u=0,d="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(d.lastIndex=0,t=t.slice(-1*e.length+o);null!=(n=d.exec(t));)if(s=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])if(i=s.length,n[3]||n[4])l+=i;else if(!((n[5]||n[6])&&o%3)||(o+i)%3){if(!((l-=i)>0)){if(i=Math.min(i,i+l+u),Math.min(o,i)%2){var c=e.slice(1,o+n.index+i);return{type:"em",raw:e.slice(0,o+n.index+i+1),text:c,tokens:this.lexer.inlineTokens(c,[])}}var m=e.slice(2,o+n.index+i-1);return{type:"strong",raw:e.slice(0,o+n.index+i+1),text:m,tokens:this.lexer.inlineTokens(m,[])}}}else u+=i}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var r=t[2].replace(/\n/g," "),n=/[^ ]/.test(r),a=/^ /.test(r)&&/ $/.test(r);return n&&a&&(r=r.substring(1,r.length-1)),r=F(r,!0),{type:"codespan",raw:t[0],text:r}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}},t.autolink=function(e,t){var r,n,a=this.rules.inline.autolink.exec(e);if(a)return n="@"===a[2]?"mailto:"+(r=F(this.options.mangle?t(a[1]):a[1])):r=F(a[1]),{type:"link",raw:a[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}},t.url=function(e,t){var r;if(r=this.rules.inline.url.exec(e)){var n,a;if("@"===r[2])a="mailto:"+(n=F(this.options.mangle?t(r[0]):r[0]));else{var s;do{s=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0]}while(s!==r[0]);n=F(r[0]),a="www."===r[1]?"http://"+n:n}return{type:"link",raw:r[0],text:n,href:a,tokens:[{type:"text",raw:n,text:n}]}}},t.inlineText=function(e,t){var r,n=this.rules.inline.text.exec(e);if(n)return r=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):F(n[0]):n[0]:F(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:r}},e}(),O=A,j=D,_=k,V={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:O,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};V.def=j(V.def).replace("label",V._label).replace("title",V._title).getRegex(),V.bullet=/(?:[*+-]|\d{1,9}[.)])/,V.listItemStart=j(/^( *)(bull) */).replace("bull",V.bullet).getRegex(),V.list=j(V.list).replace(/bull/g,V.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+V.def.source+")").getRegex(),V._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",V._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,V.html=j(V.html,"i").replace("comment",V._comment).replace("tag",V._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),V.paragraph=j(V._paragraph).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",V._tag).getRegex(),V.blockquote=j(V.blockquote).replace("paragraph",V.paragraph).getRegex(),V.normal=_({},V),V.gfm=_({},V.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),V.gfm.table=j(V.gfm.table).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",V._tag).getRegex(),V.pedantic=_({},V.normal,{html:j("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",V._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:O,paragraph:j(V.normal._paragraph).replace("hr",V.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",V.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var G={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:O,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:O,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};G.punctuation=j(G.punctuation).replace(/punctuation/g,G._punctuation).getRegex(),G.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,G.escapedEmSt=/\\\*|\\_/g,G._comment=j(V._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),G.emStrong.lDelim=j(G.emStrong.lDelim).replace(/punct/g,G._punctuation).getRegex(),G.emStrong.rDelimAst=j(G.emStrong.rDelimAst,"g").replace(/punct/g,G._punctuation).getRegex(),G.emStrong.rDelimUnd=j(G.emStrong.rDelimUnd,"g").replace(/punct/g,G._punctuation).getRegex(),G._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,G._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,G._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,G.autolink=j(G.autolink).replace("scheme",G._scheme).replace("email",G._email).getRegex(),G._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,G.tag=j(G.tag).replace("comment",G._comment).replace("attribute",G._attribute).getRegex(),G._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,G._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,G._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,G.link=j(G.link).replace("label",G._label).replace("href",G._href).replace("title",G._title).getRegex(),G.reflink=j(G.reflink).replace("label",G._label).getRegex(),G.reflinkSearch=j(G.reflinkSearch,"g").replace("reflink",G.reflink).replace("nolink",G.nolink).getRegex(),G.normal=_({},G),G.pedantic=_({},G.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:j(/^!?\[(label)\]\((.*?)\)/).replace("label",G._label).getRegex(),reflink:j(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",G._label).getRegex()}),G.gfm=_({},G.normal,{escape:j(G.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),G.gfm.url=j(G.gfm.url,"i").replace("email",G.gfm._extended_email).getRegex(),G.breaks=_({},G.gfm,{br:j(G.br).replace("{2,}","*").getRegex(),text:j(G.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var M={block:V,inline:G},U=B,H=n.exports.defaults,W=M.block,z=M.inline,$=T;function J(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function X(e){var t,r,n="",a=e.length;for(t=0;t<a;t++)r=e.charCodeAt(t),Math.random()>.5&&(r="x"+r.toString(16)),n+="&#"+r+";";return n}var K=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||H,this.options.tokenizer=this.options.tokenizer||new U,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var t={block:W.normal,inline:z.normal};this.options.pedantic?(t.block=W.pedantic,t.inline=z.pedantic):this.options.gfm&&(t.block=W.gfm,t.inline=this.options.breaks?z.breaks:z.gfm),this.tokenizer.rules=t}t.lex=function(e,r){return new t(r).lex(e)},t.lexInline=function(e,r){return new t(r).inlineTokens(e)};var r,n,a,s=t.prototype;return s.lex=function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens},s.blockTokens=function(e,t){var r,n,a,s,i=this;for(void 0===t&&(t=[]),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(n){return!!(r=n.call({lexer:i},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)}))))if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e))e=e.substring(r.raw.length),!(n=t[t.length-1])||"paragraph"!==n.type&&"text"!==n.type?t.push(r):(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.list(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.def(e))e=e.substring(r.raw.length),!(n=t[t.length-1])||"paragraph"!==n.type&&"text"!==n.type?this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title}):(n.raw+="\n"+r.raw,n.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(a=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,r=e.slice(1),n=void 0;i.options.extensions.startBlock.forEach((function(e){"number"==typeof(n=e.call({lexer:this},r))&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(a=e.substring(0,t+1))}(),this.state.top&&(r=this.tokenizer.paragraph(a)))n=t[t.length-1],s&&"paragraph"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r),s=a.length!==e.length,e=e.substring(r.raw.length);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);else if(e){var o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}throw new Error(o)}return this.state.top=!0,t},s.inline=function(e,t){this.inlineQueue.push({src:e,tokens:t})},s.inlineTokens=function(e,t){var r,n,a,s=this;void 0===t&&(t=[]);var i,o,l,u=e;if(this.tokens.links){var d=Object.keys(this.tokens.links);if(d.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(u));)d.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,i.index)+"["+$("a",i[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(u));)u=u.slice(0,i.index)+"["+$("a",i[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(u));)u=u.slice(0,i.index)+"++"+u.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(o||(l=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(n){return!!(r=n.call({lexer:s},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)}))))if(r=this.tokenizer.escape(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.tag(e))e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);else if(r=this.tokenizer.link(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);else if(r=this.tokenizer.emStrong(e,u,l))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.codespan(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.br(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.del(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.autolink(e,X))e=e.substring(r.raw.length),t.push(r);else if(this.state.inLink||!(r=this.tokenizer.url(e,X))){if(a=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,r=e.slice(1),n=void 0;s.options.extensions.startInline.forEach((function(e){"number"==typeof(n=e.call({lexer:this},r))&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(a=e.substring(0,t+1))}(),r=this.tokenizer.inlineText(a,J))e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(l=r.raw.slice(-1)),o=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}else e=e.substring(r.raw.length),t.push(r);return t},r=t,a=[{key:"rules",get:function(){return{block:W,inline:z}}}],(n=null)&&e(r.prototype,n),a&&e(r,a),t}(),Y=n.exports.defaults,Z=C,Q=y,ee=function(){function e(e){this.options=e||Y}var t=e.prototype;return t.code=function(e,t,r){var n=(t||"").match(/\S*/)[0];if(this.options.highlight){var a=this.options.highlight(e,n);null!=a&&a!==e&&(r=!0,e=a)}return e=e.replace(/\n$/,"")+"\n",n?'<pre><code class="'+this.options.langPrefix+Q(n,!0)+'">'+(r?e:Q(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:Q(e,!0))+"</code></pre>\n"},t.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},t.html=function(e){return e},t.heading=function(e,t,r,n){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+n.slug(r)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},t.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},t.list=function(e,t,r){var n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"</"+n+">\n"},t.listitem=function(e){return"<li>"+e+"</li>\n"},t.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>\n"},t.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},t.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},t.tablecell=function(e,t){var r=t.header?"th":"td";return(t.align?"<"+r+' align="'+t.align+'">':"<"+r+">")+e+"</"+r+">\n"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,r){if(null===(e=Z(this.options.sanitize,this.options.baseUrl,e)))return r;var n='<a href="'+Q(e)+'"';return t&&(n+=' title="'+t+'"'),n+">"+r+"</a>"},t.image=function(e,t,r){if(null===(e=Z(this.options.sanitize,this.options.baseUrl,e)))return r;var n='<img src="'+e+'" alt="'+r+'"';return t&&(n+=' title="'+t+'"'),n+(this.options.xhtml?"/>":">")},t.text=function(e){return e},e}(),te=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,r){return""+r},t.image=function(e,t,r){return""+r},t.br=function(){return""},e}(),re=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var r=e,n=0;if(this.seen.hasOwnProperty(r)){n=this.seen[e];do{r=e+"-"+ ++n}while(this.seen.hasOwnProperty(r))}return t||(this.seen[e]=n,this.seen[r]=0),r},t.slug=function(e,t){void 0===t&&(t={});var r=this.serialize(e);return this.getNextSafeSlug(r,t.dryrun)},e}(),ne=ee,ae=te,se=re,ie=n.exports.defaults,oe=q,le=K,ue=function(){function e(e){this.options=e||ie,this.options.renderer=this.options.renderer||new ne,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ae,this.slugger=new se}e.parse=function(t,r){return new e(r).parse(t)},e.parseInline=function(t,r){return new e(r).parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var r,n,a,s,i,o,l,u,d,c,m,p,h,g,f,b,w,x,v,E="",y=e.length;for(r=0;r<y;r++)if(c=e[r],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[c.type])||!1===(v=this.options.extensions.renderers[c.type].call({parser:this},c))&&["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(c.type))switch(c.type){case"space":continue;case"hr":E+=this.renderer.hr();continue;case"heading":E+=this.renderer.heading(this.parseInline(c.tokens),c.depth,oe(this.parseInline(c.tokens,this.textRenderer)),this.slugger);continue;case"code":E+=this.renderer.code(c.text,c.lang,c.escaped);continue;case"table":for(u="",l="",s=c.header.length,n=0;n<s;n++)l+=this.renderer.tablecell(this.parseInline(c.header[n].tokens),{header:!0,align:c.align[n]});for(u+=this.renderer.tablerow(l),d="",s=c.rows.length,n=0;n<s;n++){for(l="",i=(o=c.rows[n]).length,a=0;a<i;a++)l+=this.renderer.tablecell(this.parseInline(o[a].tokens),{header:!1,align:c.align[a]});d+=this.renderer.tablerow(l)}E+=this.renderer.table(u,d);continue;case"blockquote":d=this.parse(c.tokens),E+=this.renderer.blockquote(d);continue;case"list":for(m=c.ordered,p=c.start,h=c.loose,s=c.items.length,d="",n=0;n<s;n++)b=(f=c.items[n]).checked,w=f.task,g="",f.task&&(x=this.renderer.checkbox(b),h?f.tokens.length>0&&"paragraph"===f.tokens[0].type?(f.tokens[0].text=x+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&"text"===f.tokens[0].tokens[0].type&&(f.tokens[0].tokens[0].text=x+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:x}):g+=x),g+=this.parse(f.tokens,h),d+=this.renderer.listitem(g,w,b);E+=this.renderer.list(d,m,p);continue;case"html":E+=this.renderer.html(c.text);continue;case"paragraph":E+=this.renderer.paragraph(this.parseInline(c.tokens));continue;case"text":for(d=c.tokens?this.parseInline(c.tokens):c.text;r+1<y&&"text"===e[r+1].type;)d+="\n"+((c=e[++r]).tokens?this.parseInline(c.tokens):c.text);E+=t?this.renderer.paragraph(d):d;continue;default:var q='Token with "'+c.type+'" type was not found.';if(this.options.silent)return void console.error(q);throw new Error(q)}else E+=v||"";return E},t.parseInline=function(e,t){t=t||this.renderer;var r,n,a,s="",i=e.length;for(r=0;r<i;r++)if(n=e[r],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[n.type])||!1===(a=this.options.extensions.renderers[n.type].call({parser:this},n))&&["escape","html","link","image","strong","em","codespan","br","del","text"].includes(n.type))switch(n.type){case"escape":s+=t.text(n.text);break;case"html":s+=t.html(n.text);break;case"link":s+=t.link(n.href,n.title,this.parseInline(n.tokens,t));break;case"image":s+=t.image(n.href,n.title,n.text);break;case"strong":s+=t.strong(this.parseInline(n.tokens,t));break;case"em":s+=t.em(this.parseInline(n.tokens,t));break;case"codespan":s+=t.codespan(n.text);break;case"br":s+=t.br();break;case"del":s+=t.del(this.parseInline(n.tokens,t));break;case"text":s+=t.text(n.text);break;default:var o='Token with "'+n.type+'" type was not found.';if(this.options.silent)return void console.error(o);throw new Error(o)}else s+=a||"";return s},e}(),de=B,ce=ee,me=te,pe=re,he=k,ge=R,fe=y,be=n.exports.getDefaults,we=n.exports.changeDefaults,xe=n.exports.defaults;function ve(e,t,r){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(r=t,t=null),t=he({},ve.defaults,t||{}),ge(t),r){var n,a=t.highlight;try{n=le.lex(e,t)}catch(e){return r(e)}var s=function(e){var s;if(!e)try{t.walkTokens&&ve.walkTokens(n,t.walkTokens),s=ue.parse(n,t)}catch(t){e=t}return t.highlight=a,e?r(e):r(null,s)};if(!a||a.length<3)return s();if(delete t.highlight,!n.length)return s();var i=0;return ve.walkTokens(n,(function(e){"code"===e.type&&(i++,setTimeout((function(){a(e.text,e.lang,(function(t,r){if(t)return s(t);null!=r&&r!==e.text&&(e.text=r,e.escaped=!0),0==--i&&s()}))}),0))})),void(0===i&&s())}try{var o=le.lex(e,t);return t.walkTokens&&ve.walkTokens(o,t.walkTokens),ue.parse(o,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+fe(e.message+"",!0)+"</pre>";throw e}}return ve.options=ve.setOptions=function(e){return he(ve.defaults,e),we(ve.defaults),ve},ve.getDefaults=be,ve.defaults=xe,ve.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a,s=he.apply(void 0,[{}].concat(r)),i=ve.defaults.extensions||{renderers:{},childTokens:{}};r.forEach((function(t){if(t.extensions&&(a=!0,t.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if(e.renderer){var t=i.renderers?i.renderers[e.name]:null;i.renderers[e.name]=t?function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var s=e.renderer.apply(this,n);return!1===s&&(s=t.apply(this,n)),s}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");i[e.level]?i[e.level].unshift(e.tokenizer):i[e.level]=[e.tokenizer],e.start&&("block"===e.level?i.startBlock?i.startBlock.push(e.start):i.startBlock=[e.start]:"inline"===e.level&&(i.startInline?i.startInline.push(e.start):i.startInline=[e.start]))}e.childTokens&&(i.childTokens[e.name]=e.childTokens)}))),t.renderer&&function(){var e=ve.defaults.renderer||new ce,r=function(r){var n=e[r];e[r]=function(){for(var a=arguments.length,s=new Array(a),i=0;i<a;i++)s[i]=arguments[i];var o=t.renderer[r].apply(e,s);return!1===o&&(o=n.apply(e,s)),o}};for(var n in t.renderer)r(n);s.renderer=e}(),t.tokenizer&&function(){var e=ve.defaults.tokenizer||new de,r=function(r){var n=e[r];e[r]=function(){for(var a=arguments.length,s=new Array(a),i=0;i<a;i++)s[i]=arguments[i];var o=t.tokenizer[r].apply(e,s);return!1===o&&(o=n.apply(e,s)),o}};for(var n in t.tokenizer)r(n);s.tokenizer=e}(),t.walkTokens){var r=ve.defaults.walkTokens;s.walkTokens=function(n){t.walkTokens.call(e,n),r&&r(n)}}a&&(s.extensions=i),ve.setOptions(s)}))},ve.walkTokens=function(e,t){for(var n,a=function(){var e=n.value;switch(t(e),e.type){case"table":for(var a,s=r(e.header);!(a=s()).done;)ve.walkTokens(a.value.tokens,t);for(var i,o=r(e.rows);!(i=o()).done;)for(var l,u=r(i.value);!(l=u()).done;)ve.walkTokens(l.value.tokens,t);break;case"list":ve.walkTokens(e.items,t);break;default:ve.defaults.extensions&&ve.defaults.extensions.childTokens&&ve.defaults.extensions.childTokens[e.type]?ve.defaults.extensions.childTokens[e.type].forEach((function(r){ve.walkTokens(e[r],t)})):e.tokens&&ve.walkTokens(e.tokens,t)}},s=r(e);!(n=s()).done;)a()},ve.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=he({},ve.defaults,t||{}),ge(t);try{var r=le.lexInline(e,t);return t.walkTokens&&ve.walkTokens(r,t.walkTokens),ue.parseInline(r,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+fe(e.message+"",!0)+"</pre>";throw e}},ve.Parser=ue,ve.parser=ue.parse,ve.Renderer=ce,ve.TextRenderer=me,ve.Lexer=le,ve.lexer=le.lex,ve.Tokenizer=de,ve.Slugger=pe,ve.parse=ve,ve}()}));function Qs(e){const[t,r]=s(e),[n,a]=s(e);return{states:{previewTemplate:n,editedTemplate:t},callbacks:{setEditedTemplate:r,setPreviewTemplate:a}}}function ei(t){const{states:r,callbacks:n,readme:a}=t;return[e("textarea",{style:{width:"100%",height:"300px"},onChange:e=>n.setEditedTemplate(e.target.value)},r.editedTemplate),e("button",{onClick:()=>n.setPreviewTemplate(r.editedTemplate)},"Update Preview"),a?e("details",null,e("summary",null,"Props readme"),e("div",{innerHTML:Zs(a)})):"",e("div",{innerHTML:r.previewTemplate})]}function ti({callbacks:t,states:r,template:n}){return e("div",null,e("button",{onClick:()=>t.setPreviewTemplate(r.editedTemplate)},"Update Preview"),e("button",{style:{marginLeft:"10px"},onClick:()=>t.setPreviewTemplate(n)},"Preview Dashboard"))}function ri(t){const{states:r,callbacks:n}=t;return e("div",{style:{height:"50vh"}},e("textarea",{style:{width:"100%",height:"300px"},onChange:e=>n.setEditedTemplate(e.target.value)},r.editedTemplate),e(ti,{states:r,callbacks:n,template:t.template}),e("h2",null,"Navigation"),e("div",{style:{display:"grid",gridTemplateColumns:"repeat(9, 80px)",gridGap:"10px"}},e("button",{onClick:()=>u.push("/")},"Dashboard"),t.leadSubmit&&e("button",{onClick:()=>u.push("/refer")},"Submit a Referral"),e("button",{onClick:()=>u.push("/activity")},"Activity"),e("button",{onClick:()=>u.push("/editProfile")},"Edit Profile"),e("button",{onClick:()=>u.push("/login")},"Login"),e("button",{onClick:()=>u.push("/register")},"Register"),e("button",{onClick:()=>u.push("/emailVerification")},"Email Verification"),e("button",{onClick:()=>u.push("/verifyEmail")},"Verify Email"),e("button",{onClick:()=>u.push("/forgotPassword")},"Forgot Password"),e("button",{onClick:()=>u.push("/resetPassword")},"Reset Password")),e("br",null),e("div",{innerHTML:r.previewTemplate}))}const ni=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqb-widget\r\n widget-type="p/referral-program/w/referrerWidget"\r\n track-loads="true"\r\n ></sqb-widget>\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n');return e(ri,{states:t,callbacks:r,template:'<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n ><sqm-titled-section label-margin="xx-small"\r\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\r\n ><sqm-text slot="content">\r\n <h1>\r\n <sqm-user-name\r\n fallback="Anonymous User"\r\n ></sqm-user-name>\r\n </h1> </sqm-text\r\n ></sqm-titled-section>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container> </sqm-portal-container\r\n ><sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-titled-section padding="none" label-margin="x-large"\r\n ><sqm-text slot="label">\r\n <h2>Partner and Profit</h2> </sqm-text\r\n ><sqm-text slot="content">\r\n <p>\r\n Get rewarded for referring potential customers to\r\n SaaSquatch. Earn commission for each successful lead you\r\n send our way\r\n </p>\r\n </sqm-text></sqm-titled-section\r\n >\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share your referral link</h3> </sqm-text\r\n ><sqm-share-link slot="content"></sqm-share-link\r\n ></sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none">\r\n <sqm-text slot="label">\r\n <h3>Share your referral code</h3> </sqm-text\r\n ><sqm-share-code slot="content"></sqm-share-code>\r\n </sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share via social media</h3> </sqm-text\r\n ><sqm-portal-container\r\n slot="content"\r\n direction="row"\r\n padding="none"\r\n gap="xxx-large"\r\n min-width="160px"\r\n ><sqm-share-button\r\n icon="envelope"\r\n medium="email"\r\n size="medium"\r\n pill="true"\r\n >Email a friend</sqm-share-button\r\n ><sqm-share-button\r\n medium="twitter"\r\n size="medium"\r\n pill="true"\r\n >Tweet about us</sqm-share-button\r\n ><sqm-share-button\r\n medium="facebook"\r\n size="medium"\r\n pill="true"\r\n >Share on Facebook</sqm-share-button\r\n ></sqm-portal-container\r\n ></sqm-titled-section\r\n ></sqm-portal-container\r\n >\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n'})})),ai=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program-1">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-program-menu>\r\n <sl-menu-item value="referral-program-1"\r\n >Referral Program 1</sl-menu-item\r\n >\r\n <sl-menu-item value="referral-program-2"\r\n >Referral Program 2</sl-menu-item\r\n >\r\n </sqm-program-menu>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqb-program-switch>\r\n <template program-id="referral-program-1">\r\n <sqb-widget\r\n widget-type="p/referral-program-1/w/referrerWidget"\r\n track-loads="true"\r\n ></sqb-widget>\r\n </template>\r\n <template program-id="referral-program-2">\r\n <sqb-widget\r\n widget-type="p/referral-program-2/w/referrerWidget"\r\n track-loads="true"\r\n ></sqb-widget>\r\n </template>\r\n </sqb-program-switch>\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile></sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n');return e(ri,{states:t,callbacks:r,template:'<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program-1">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-program-menu>\r\n <sl-menu-item value="referral-program-1"\r\n >Referral Program 1</sl-menu-item\r\n >\r\n <sl-menu-item value="referral-program-2"\r\n >Referral Program 2</sl-menu-item\r\n >\r\n </sqm-program-menu>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route\r\n ><sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n ><sqm-titled-section label-margin="xx-small"\r\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\r\n ><sqm-text slot="content">\r\n <h1>\r\n <sqm-user-name\r\n fallback="Anonymous User"\r\n ></sqm-user-name>\r\n </h1> </sqm-text\r\n ></sqm-titled-section>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container> </sqm-portal-container\r\n ><sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-titled-section padding="none" label-margin="x-large"\r\n ><sqm-text slot="label">\r\n <h2>Partner and Profit</h2> </sqm-text\r\n ><sqm-text slot="content">\r\n <p>\r\n Get rewarded for referring potential customers to\r\n SaaSquatch. Earn commission for each successful lead you\r\n send our way\r\n </p>\r\n </sqm-text></sqm-titled-section\r\n >\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share your referral link</h3> </sqm-text\r\n ><sqm-share-link slot="content"></sqm-share-link\r\n ></sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none">\r\n <sqm-text slot="label">\r\n <h3>Share your referral code</h3> </sqm-text\r\n ><sqm-share-code slot="content"></sqm-share-code>\r\n </sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share via social media</h3> </sqm-text\r\n ><sqm-portal-container\r\n slot="content"\r\n direction="row"\r\n padding="none"\r\n gap="xxx-large"\r\n min-width="160px"\r\n ><sqm-share-button\r\n icon="envelope"\r\n medium="email"\r\n size="medium"\r\n pill="true"\r\n >Email a friend</sqm-share-button\r\n ><sqm-share-button\r\n medium="twitter"\r\n size="medium"\r\n pill="true"\r\n >Tweet about us</sqm-share-button\r\n ><sqm-share-button\r\n medium="facebook"\r\n size="medium"\r\n pill="true"\r\n >Share on Facebook</sqm-share-button\r\n ></sqm-portal-container\r\n ></sqm-titled-section\r\n ></sqm-portal-container\r\n >\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n'})})),si=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b|\\brefer\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/refer"\r\n icon="inbox"\r\n label="Submit A Lead"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqb-widget\r\n widget-type="p/referral-program/w/referrerWidget"\r\n track-loads="true"\r\n ></sqb-widget>\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n <template path="/refer">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-referral-iframe></sqm-referral-iframe>\r\n </template>\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n');return e(ri,{states:t,callbacks:r,template:'<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b|\\brefer\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/refer"\r\n icon="inbox"\r\n label="Submit A Lead"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n ><sqm-titled-section label-margin="xx-small"\r\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\r\n ><sqm-text slot="content">\r\n <h1>\r\n <sqm-user-name\r\n fallback="Anonymous User"\r\n ></sqm-user-name>\r\n </h1> </sqm-text\r\n ></sqm-titled-section>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container> </sqm-portal-container\r\n ><sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-titled-section padding="none" label-margin="x-large"\r\n ><sqm-text slot="label">\r\n <h2>Partner and Profit</h2> </sqm-text\r\n ><sqm-text slot="content">\r\n <p>\r\n Get rewarded for referring potential customers to\r\n SaaSquatch. Earn commission for each successful lead you\r\n send our way\r\n </p>\r\n </sqm-text></sqm-titled-section\r\n >\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share your referral link</h3> </sqm-text\r\n ><sqm-share-link slot="content"></sqm-share-link\r\n ></sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none">\r\n <sqm-text slot="label">\r\n <h3>Share your referral code</h3> </sqm-text\r\n ><sqm-share-code slot="content"></sqm-share-code>\r\n </sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share via social media</h3> </sqm-text\r\n ><sqm-portal-container\r\n slot="content"\r\n direction="row"\r\n padding="none"\r\n gap="xxx-large"\r\n min-width="160px"\r\n ><sqm-share-button\r\n icon="envelope"\r\n medium="email"\r\n size="medium"\r\n pill="true"\r\n >Email a friend</sqm-share-button\r\n ><sqm-share-button\r\n medium="twitter"\r\n size="medium"\r\n pill="true"\r\n >Tweet about us</sqm-share-button\r\n ><sqm-share-button\r\n medium="facebook"\r\n size="medium"\r\n pill="true"\r\n >Share on Facebook</sqm-share-button\r\n ></sqm-portal-container\r\n ></sqm-titled-section\r\n ></sqm-portal-container\r\n >\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n <template path="/refer">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-referral-iframe></sqm-referral-iframe>\r\n </template>\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n',leadSubmit:!0})})),ii=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-hero background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80">\r\n <sqm-portal-login></sqm-portal-login>\r\n</sqm-hero>\r\n');return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-login\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------- | ----------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; forgotPasswordPath: string; registerPath: string; }; content?: { forgotPasswordButton?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `"Email"` |\r\n| `forgotPasswordLabel` | `forgot-password-label` | | `string` | `"Forgot Password?"` |\r\n| `forgotPasswordPath` | `forgot-password-path` | | `string` | `"/forgotPassword"` |\r\n| `nextPage` | `next-page` | | `string` | `"/"` |\r\n| `pageLabel` | `page-label` | | `string` | `"Sign in to your account"` |\r\n| `passwordLabel` | `password-label` | | `string` | `"Password"` |\r\n| `registerLabel` | `register-label` | | `string` | `"Register"` |\r\n| `registerPath` | `register-path` | | `string` | `"/register"` |\r\n| `submitLabel` | `submit-label` | | `string` | `"Sign In"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-login --\x3e sqm-form-message\r\n sqm-stencilbook --\x3e sqm-portal-login\r\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),oi=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-hero background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n</sqm-hero>\r\n');return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-forgot-password\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `"Email"` |\r\n| `loginPath` | `login-path` | | `string` | `"/login"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the password reset email. | `string` | `"/resetPassword"` |\r\n| `submitLabel` | `submit-label` | | `string` | `"Request Password Reset"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-forgot-password --\x3e sqm-form-message\r\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),li=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n>\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n</sqm-hero>\r\n');return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-register\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `"Confirm Password"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `"Email"` |\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\n| `hideInputs` | `hide-inputs` | | `boolean` | `false` |\n| `loginLabel` | `login-label` | | `string` | `"Sign in"` |\n| `loginPath` | `login-path` | | `string` | `"/login"` |\n| `nextPage` | `next-page` | | `string` | `"/"` |\n| `pageLabel` | `page-label` | | `string` | `"Register"` |\n| `passwordLabel` | `password-label` | | `string` | `"Password"` |\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `"/verifyEmail"` |\n| `submitLabel` | `submit-label` | | `string` | `"Register"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --\x3e sqm-form-message\n sqm-portal-register --\x3e sqm-password-field\n sqm-stencilbook --\x3e sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n'})})),ui=br((()=>{const{states:t,callbacks:r}=Qs(Ys);return e(ei,{states:t,callbacks:r})})),di=br((()=>{const{states:t,callbacks:r}=Qs("<sqm-referral-iframe></sqm-referral-iframe>\r\n");return e(ei,{states:t,callbacks:r,readme:'# sqm-referral-iframe\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\r\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\r\n| `iframeHeight` | `iframe-height` | | `string` | `"100%"` |\r\n| `iframeSrc` | `iframe-src` | | `string` | `undefined` |\r\n| `iframeWidth` | `iframe-width` | | `string` | `"100%"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-stencilbook --\x3e sqm-referral-iframe\r\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),ci=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n></sqm-portal-protected-route>\r\n<sqm-portal-container direction="column" padding="xxx-large" gap="xxx-large">\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n></sqm-portal-container>\r\n');return e(ei,{states:t,callbacks:r})})),mi=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n></sqm-portal-protected-route>\r\n<sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider domain="https://managed-identity.saasquatch.com">\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n</sqm-portal-container>\r\n');return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-profile\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------ | --------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\r\n| `countrytext` | `countrytext` | | `string` | `"Country"` |\r\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }` | `undefined` |\r\n| `editProfileHeader` | `edit-profile-header` | | `string` | `"Edit your profile"` |\r\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `"Personal Information"` |\r\n| `emailtext` | `emailtext` | | `string` | `"Email"` |\r\n| `firstnametext` | `firstnametext` | | `string` | `"First Name"` |\r\n| `lastnametext` | `lastnametext` | | `string` | `"Last Name"` |\r\n| `showCountry` | `show-country` | | `boolean` | `true` |\r\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `"Submit Changes"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-profile --\x3e sqm-form-message\r\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),pi=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-reset-password confirm-password="true"></sqm-portal-reset-password>\r\n');return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-reset-password\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\r\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\r\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `"Confirm Password"` |\r\n| `continueButtonText` | `continue-button-text` | Displayed after a successful password reset | `string` | `"Continue"` |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; }; }; }` | `undefined` |\r\n| `failedPage` | `failed-page` | The page that users are redirected to if the reset fails due to outdated password reset attempt. | `string` | `"/"` |\r\n| `nextPage` | `next-page` | The page that users are redirected to when the password reset succeeds. | `string` | `"/"` |\r\n| `passwordFieldLabel` | `password-field-label` | | `string` | `"New Password"` |\r\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset | `string` | `"Password reset"` |\r\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `"Reset Password"` |\r\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `"Reset your password"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n- [sqm-password-field](../sqm-password-field)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-reset-password --\x3e sqm-form-message\r\n sqm-portal-reset-password --\x3e sqm-password-field\r\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),hi=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-protected-route redirect-to="/login"></sqm-portal-protected-route>\r\n<sqm-portal-email-verification></sqm-portal-email-verification>\r\n');return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-email-verification\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------- | --------------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\r\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `"Verify your email"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `"/verifyEmail"` |\r\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `"Re-send Email"` |\r\n| `verifyMessage` | `verify-message` | | `string` | `"A verification email was sent to {email}. Please verify your email to continue to the portal."` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-email-verification --\x3e sqm-form-message\r\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),gi=br((()=>{const{states:t,callbacks:r}=Qs("<sqm-portal-verify-email></sqm-portal-verify-email>\r\n");return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-verify-email\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\r\n| `failedPage` | `failed-page` | The page that users are redirected to if verification fails due to outdated verification attempt. | `string` | `"/"` |\r\n| `nextPage` | `next-page` | The page that users are redirected to when the verification succeeds. | `string` | `"/"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-verify-email --\x3e sqm-form-message\r\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),fi=br((()=>e("sqb-widget",{"widget-type":"p/Vacay-referral/w/referrerWidget",demoData:{data:{html:Ys}}}))),bi=br((()=>{const{states:t,callbacks:r}=Qs('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n\r\n<html\r\n xmlns="http://www.w3.org/1999/xhtml"\r\n xmlns:o="urn:schemas-microsoft-com:office:office"\r\n xmlns:v="urn:schemas-microsoft-com:vml"\r\n>\r\n <head>\r\n \x3c!--[if gte mso 9\r\n ]><xml\r\n ><o:OfficeDocumentSettings\r\n ><o:AllowPNG /><o:PixelsPerInch\r\n >96</o:PixelsPerInch\r\n ></o:OfficeDocumentSettings\r\n ></xml\r\n ><!\r\n [endif]--\x3e\r\n <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />\r\n <meta content="width=device-width" name="viewport" />\r\n \x3c!--[if !mso]>\x3c!--\x3e\r\n <meta content="IE=edge" http-equiv="X-UA-Compatible" />\r\n \x3c!--<![endif]--\x3e\r\n <title></title>\r\n \x3c!--[if !mso]>\x3c!--\x3e\r\n \x3c!--<![endif]--\x3e\r\n <style type="text/css">\r\n body {\r\n margin: 0;\r\n padding: 0;\r\n }\r\n\r\n table,\r\n td,\r\n tr {\r\n vertical-align: top;\r\n border-collapse: collapse;\r\n }\r\n\r\n * {\r\n line-height: inherit;\r\n }\r\n\r\n a[x-apple-data-detectors="true"] {\r\n color: inherit !important;\r\n text-decoration: none !important;\r\n }\r\n </style>\r\n <style id="media-query" type="text/css">\r\n @media (max-width: 520px) {\r\n .block-grid,\r\n .col {\r\n min-width: 320px !important;\r\n max-width: 100% !important;\r\n display: block !important;\r\n }\r\n\r\n .block-grid {\r\n width: 100% !important;\r\n }\r\n\r\n .col {\r\n width: 100% !important;\r\n }\r\n\r\n .col_cont {\r\n margin: 0 auto;\r\n }\r\n\r\n img.fullwidth,\r\n img.fullwidthOnMobile {\r\n max-width: 100% !important;\r\n }\r\n\r\n .no-stack .col {\r\n min-width: 0 !important;\r\n display: table-cell !important;\r\n }\r\n\r\n .no-stack.two-up .col {\r\n width: 50% !important;\r\n }\r\n\r\n .no-stack .col.num2 {\r\n width: 16.6% !important;\r\n }\r\n\r\n .no-stack .col.num3 {\r\n width: 25% !important;\r\n }\r\n\r\n .no-stack .col.num4 {\r\n width: 33% !important;\r\n }\r\n\r\n .no-stack .col.num5 {\r\n width: 41.6% !important;\r\n }\r\n\r\n .no-stack .col.num6 {\r\n width: 50% !important;\r\n }\r\n\r\n .no-stack .col.num7 {\r\n width: 58.3% !important;\r\n }\r\n\r\n .no-stack .col.num8 {\r\n width: 66.6% !important;\r\n }\r\n\r\n .no-stack .col.num9 {\r\n width: 75% !important;\r\n }\r\n\r\n .no-stack .col.num10 {\r\n width: 83.3% !important;\r\n }\r\n\r\n .video-block {\r\n max-width: none !important;\r\n }\r\n\r\n .mobile_hide {\r\n min-height: 0px;\r\n max-height: 0px;\r\n max-width: 0px;\r\n display: none;\r\n overflow: hidden;\r\n font-size: 0px;\r\n }\r\n\r\n .desktop_hide {\r\n display: block !important;\r\n max-height: none !important;\r\n }\r\n }\r\n </style>\r\n <style id="icon-media-query" type="text/css">\r\n @media (max-width: 520px) {\r\n .icons-inner {\r\n text-align: center;\r\n }\r\n\r\n .icons-inner td {\r\n margin: 0 auto;\r\n }\r\n }\r\n </style>\r\n </head>\r\n <body\r\n class="clean-body"\r\n style="\r\n margin: 0;\r\n padding: 0;\r\n -webkit-text-size-adjust: 100%;\r\n background-color: #ffffff;\r\n "\r\n >\r\n \x3c!--[if IE]><div class="ie-browser"><![endif]--\x3e\r\n <table\r\n bgcolor="#FFFFFF"\r\n cellpadding="0"\r\n cellspacing="0"\r\n class="nl-container"\r\n role="presentation"\r\n style="\r\n table-layout: fixed;\r\n vertical-align: top;\r\n min-width: 320px;\r\n border-spacing: 0;\r\n border-collapse: collapse;\r\n mso-table-lspace: 0pt;\r\n mso-table-rspace: 0pt;\r\n background-color: #ffffff;\r\n width: 100%;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <tbody>\r\n <tr style="vertical-align: top" valign="top">\r\n <td style="word-break: break-word; vertical-align: top" valign="top">\r\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color:#FFFFFF"><![endif]--\x3e\r\n <div style="background-color: transparent">\r\n <div\r\n class="block-grid"\r\n style="\r\n min-width: 320px;\r\n max-width: 500px;\r\n overflow-wrap: break-word;\r\n word-wrap: break-word;\r\n word-break: break-word;\r\n margin: 0 auto;\r\n background-color: transparent;\r\n "\r\n >\r\n <div\r\n style="\r\n border-collapse: collapse;\r\n display: table;\r\n width: 100%;\r\n background-color: transparent;\r\n "\r\n >\r\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:transparent;"><tr><td align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:500px"><tr class="layout-full-width" style="background-color:transparent"><![endif]--\x3e\r\n \x3c!--[if (mso)|(IE)]><td align="center" width="500" style="background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]--\x3e\r\n <div\r\n class="col num12"\r\n style="\r\n min-width: 320px;\r\n max-width: 500px;\r\n display: table-cell;\r\n vertical-align: top;\r\n width: 500px;\r\n "\r\n >\r\n <div class="col_cont" style="width: 100% !important">\r\n \x3c!--[if (!mso)&(!IE)]>\x3c!--\x3e\r\n <div\r\n style="\r\n border-top: 0px solid transparent;\r\n border-left: 0px solid transparent;\r\n border-bottom: 0px solid transparent;\r\n border-right: 0px solid transparent;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n padding-right: 0px;\r\n padding-left: 0px;\r\n "\r\n >\r\n \x3c!--<![endif]--\x3e\r\n <table\r\n cellpadding="0"\r\n cellspacing="0"\r\n role="presentation"\r\n style="\r\n table-layout: fixed;\r\n vertical-align: top;\r\n border-spacing: 0;\r\n border-collapse: collapse;\r\n mso-table-lspace: 0pt;\r\n mso-table-rspace: 0pt;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <tr style="vertical-align: top" valign="top">\r\n <td\r\n align="center"\r\n style="\r\n word-break: break-word;\r\n vertical-align: top;\r\n padding-bottom: 20px;\r\n padding-left: 10px;\r\n padding-right: 10px;\r\n padding-top: 10px;\r\n text-align: center;\r\n width: 100%;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <h1\r\n style="\r\n color: #444445;\r\n direction: ltr;\r\n font-family: \'Helvetica Neue\', Helvetica,\r\n Arial, sans-serif;\r\n font-size: 20px;\r\n font-weight: normal;\r\n letter-spacing: normal;\r\n line-height: 120%;\r\n text-align: left;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <strong>Reset your password</strong>\r\n </h1>\r\n </td>\r\n </tr>\r\n </table>\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: Arial, sans-serif"><![endif]--\x3e\r\n <div\r\n style="\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n line-height: 1.8;\r\n padding-top: 10px;\r\n padding-right: 10px;\r\n padding-bottom: 10px;\r\n padding-left: 10px;\r\n "\r\n >\r\n <div\r\n class="txtTinyMce-wrapper"\r\n style="\r\n font-size: 14px;\r\n line-height: 1.8;\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n mso-line-height-alt: 25px;\r\n "\r\n >\r\n <p\r\n style="\r\n margin: 0;\r\n font-size: 14px;\r\n line-height: 1.8;\r\n word-break: break-word;\r\n mso-line-height-alt: 25px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <span style="font-size: 14px"\r\n >We received a request to reset your password.\r\n Click the button below to reset your\r\n password.</span\r\n >\r\n </p>\r\n </div>\r\n </div>\r\n <div\r\n align="center"\r\n class="button-container"\r\n style="\r\n padding-top: 10px;\r\n padding-right: 10px;\r\n padding-bottom: 10px;\r\n padding-left: 10px;\r\n "\r\n >\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-spacing: 0; border-collapse: collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"><tr><td style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px" align="center"><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" target="_blank" href={{validationLink}} style="height:31.5pt;width:390pt;v-text-anchor:middle;" arcsize="12%" stroke="false" fillcolor="#2270ee"><w:anchorlock/><v:textbox inset="0,0,0,0"><center style="color:#ffffff; font-family:Arial, sans-serif; font-size:14px"><!\r\n [endif]--\x3e<a\r\n href="{{validationLink}}"\r\n target="_blank"\r\n style="\r\n -webkit-text-size-adjust: none;\r\n text-decoration: none;\r\n display: block;\r\n color: #ffffff;\r\n background-color: #2270ee;\r\n border-radius: 5px;\r\n -webkit-border-radius: 5px;\r\n -moz-border-radius: 5px;\r\n width: 100%;\r\n width: calc(100% - 2px);\r\n border-top: 1px solid #2270ee;\r\n border-right: 1px solid #2270ee;\r\n border-bottom: 1px solid #2270ee;\r\n border-left: 1px solid #2270ee;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n font-family: \'Helvetica Neue\', Helvetica, Arial,\r\n sans-serif;\r\n text-align: center;\r\n mso-border-alt: none;\r\n word-break: keep-all;\r\n "\r\n target="_blank"\r\n ><span\r\n style="\r\n padding-left: 20px;\r\n padding-right: 20px;\r\n font-size: 14px;\r\n display: inline-block;\r\n letter-spacing: undefined;\r\n "\r\n ><span\r\n style="\r\n font-size: 16px;\r\n line-height: 2;\r\n word-break: break-word;\r\n mso-line-height-alt: 32px;\r\n "\r\n ><span\r\n style="font-size: 14px; line-height: 28px"\r\n >Reset Password</span\r\n ></span\r\n ></span\r\n ></a\r\n >\r\n \x3c!--[if mso]></center></v:textbox></v:roundrect></td></tr></table><![endif]--\x3e\r\n </div>\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 15px; padding-bottom: 15px; font-family: Arial, sans-serif"><![endif]--\x3e\r\n <div\r\n style="\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n line-height: 1.2;\r\n padding-top: 15px;\r\n padding-right: 10px;\r\n padding-bottom: 15px;\r\n padding-left: 10px;\r\n "\r\n >\r\n <div\r\n class="txtTinyMce-wrapper"\r\n style="\r\n font-size: 14px;\r\n line-height: 1.2;\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n mso-line-height-alt: 17px;\r\n "\r\n >\r\n <p\r\n style="\r\n margin: 0;\r\n font-size: 12px;\r\n line-height: 1.2;\r\n word-break: break-word;\r\n mso-line-height-alt: 14px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <span style="font-size: 12px"\r\n >If you didn\'t request a password reset please\r\n ignore this email. Your password will not\r\n change.</span\r\n >\r\n </p>\r\n </div>\r\n </div>\r\n \x3c!--[if mso]></td></tr></table><![endif]--\x3e\r\n \x3c!--[if (!mso)&(!IE)]>\x3c!--\x3e\r\n </div>\r\n \x3c!--<![endif]--\x3e\r\n </div>\r\n </div>\r\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\r\n \x3c!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]--\x3e\r\n </div>\r\n </div>\r\n </div>\r\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n \x3c!--[if (IE)]></div><![endif]--\x3e\r\n </body>\r\n</html>');return e(ei,{states:t,callbacks:r})})),wi=br((()=>{const{states:t,callbacks:r}=Qs('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n\r\n<html\r\n xmlns="http://www.w3.org/1999/xhtml"\r\n xmlns:o="urn:schemas-microsoft-com:office:office"\r\n xmlns:v="urn:schemas-microsoft-com:vml"\r\n>\r\n <head>\r\n \x3c!--[if gte mso 9\r\n ]><xml\r\n ><o:OfficeDocumentSettings\r\n ><o:AllowPNG /><o:PixelsPerInch\r\n >96</o:PixelsPerInch\r\n ></o:OfficeDocumentSettings\r\n ></xml\r\n ><!\r\n [endif]--\x3e\r\n <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />\r\n <meta content="width=device-width" name="viewport" />\r\n \x3c!--[if !mso]>\x3c!--\x3e\r\n <meta content="IE=edge" http-equiv="X-UA-Compatible" />\r\n \x3c!--<![endif]--\x3e\r\n <title></title>\r\n \x3c!--[if !mso]>\x3c!--\x3e\r\n \x3c!--<![endif]--\x3e\r\n <style type="text/css">\r\n body {\r\n margin: 0;\r\n padding: 0;\r\n }\r\n\r\n table,\r\n td,\r\n tr {\r\n vertical-align: top;\r\n border-collapse: collapse;\r\n }\r\n\r\n * {\r\n line-height: inherit;\r\n }\r\n\r\n a[x-apple-data-detectors="true"] {\r\n color: inherit !important;\r\n text-decoration: none !important;\r\n }\r\n </style>\r\n <style id="media-query" type="text/css">\r\n @media (max-width: 520px) {\r\n .block-grid,\r\n .col {\r\n min-width: 320px !important;\r\n max-width: 100% !important;\r\n display: block !important;\r\n }\r\n\r\n .block-grid {\r\n width: 100% !important;\r\n }\r\n\r\n .col {\r\n width: 100% !important;\r\n }\r\n\r\n .col_cont {\r\n margin: 0 auto;\r\n }\r\n\r\n img.fullwidth,\r\n img.fullwidthOnMobile {\r\n max-width: 100% !important;\r\n }\r\n\r\n .no-stack .col {\r\n min-width: 0 !important;\r\n display: table-cell !important;\r\n }\r\n\r\n .no-stack.two-up .col {\r\n width: 50% !important;\r\n }\r\n\r\n .no-stack .col.num2 {\r\n width: 16.6% !important;\r\n }\r\n\r\n .no-stack .col.num3 {\r\n width: 25% !important;\r\n }\r\n\r\n .no-stack .col.num4 {\r\n width: 33% !important;\r\n }\r\n\r\n .no-stack .col.num5 {\r\n width: 41.6% !important;\r\n }\r\n\r\n .no-stack .col.num6 {\r\n width: 50% !important;\r\n }\r\n\r\n .no-stack .col.num7 {\r\n width: 58.3% !important;\r\n }\r\n\r\n .no-stack .col.num8 {\r\n width: 66.6% !important;\r\n }\r\n\r\n .no-stack .col.num9 {\r\n width: 75% !important;\r\n }\r\n\r\n .no-stack .col.num10 {\r\n width: 83.3% !important;\r\n }\r\n\r\n .video-block {\r\n max-width: none !important;\r\n }\r\n\r\n .mobile_hide {\r\n min-height: 0px;\r\n max-height: 0px;\r\n max-width: 0px;\r\n display: none;\r\n overflow: hidden;\r\n font-size: 0px;\r\n }\r\n\r\n .desktop_hide {\r\n display: block !important;\r\n max-height: none !important;\r\n }\r\n }\r\n </style>\r\n <style id="icon-media-query" type="text/css">\r\n @media (max-width: 520px) {\r\n .icons-inner {\r\n text-align: center;\r\n }\r\n\r\n .icons-inner td {\r\n margin: 0 auto;\r\n }\r\n }\r\n </style>\r\n </head>\r\n <body\r\n class="clean-body"\r\n style="\r\n margin: 0;\r\n padding: 0;\r\n -webkit-text-size-adjust: 100%;\r\n background-color: #ffffff;\r\n "\r\n >\r\n \x3c!--[if IE]><div class="ie-browser"><![endif]--\x3e\r\n <table\r\n bgcolor="#FFFFFF"\r\n cellpadding="0"\r\n cellspacing="0"\r\n class="nl-container"\r\n role="presentation"\r\n style="\r\n table-layout: fixed;\r\n vertical-align: top;\r\n min-width: 320px;\r\n border-spacing: 0;\r\n border-collapse: collapse;\r\n mso-table-lspace: 0pt;\r\n mso-table-rspace: 0pt;\r\n background-color: #ffffff;\r\n width: 100%;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <tbody>\r\n <tr style="vertical-align: top" valign="top">\r\n <td style="word-break: break-word; vertical-align: top" valign="top">\r\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color:#FFFFFF"><![endif]--\x3e\r\n <div style="background-color: transparent">\r\n <div\r\n class="block-grid"\r\n style="\r\n min-width: 320px;\r\n max-width: 500px;\r\n overflow-wrap: break-word;\r\n word-wrap: break-word;\r\n word-break: break-word;\r\n margin: 0 auto;\r\n background-color: transparent;\r\n "\r\n >\r\n <div\r\n style="\r\n border-collapse: collapse;\r\n display: table;\r\n width: 100%;\r\n background-color: transparent;\r\n "\r\n >\r\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:transparent;"><tr><td align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:500px"><tr class="layout-full-width" style="background-color:transparent"><![endif]--\x3e\r\n \x3c!--[if (mso)|(IE)]><td align="center" width="500" style="background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]--\x3e\r\n <div\r\n class="col num12"\r\n style="\r\n min-width: 320px;\r\n max-width: 500px;\r\n display: table-cell;\r\n vertical-align: top;\r\n width: 500px;\r\n "\r\n >\r\n <div class="col_cont" style="width: 100% !important">\r\n \x3c!--[if (!mso)&(!IE)]>\x3c!--\x3e\r\n <div\r\n style="\r\n border-top: 0px solid transparent;\r\n border-left: 0px solid transparent;\r\n border-bottom: 0px solid transparent;\r\n border-right: 0px solid transparent;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n padding-right: 0px;\r\n padding-left: 0px;\r\n "\r\n >\r\n \x3c!--<![endif]--\x3e\r\n <table\r\n cellpadding="0"\r\n cellspacing="0"\r\n role="presentation"\r\n style="\r\n table-layout: fixed;\r\n vertical-align: top;\r\n border-spacing: 0;\r\n border-collapse: collapse;\r\n mso-table-lspace: 0pt;\r\n mso-table-rspace: 0pt;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <tr style="vertical-align: top" valign="top">\r\n <td\r\n align="center"\r\n style="\r\n word-break: break-word;\r\n vertical-align: top;\r\n padding-bottom: 20px;\r\n padding-left: 10px;\r\n padding-right: 10px;\r\n padding-top: 10px;\r\n text-align: center;\r\n width: 100%;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <h1\r\n style="\r\n color: #444445;\r\n direction: ltr;\r\n font-family: \'Helvetica Neue\', Helvetica,\r\n Arial, sans-serif;\r\n font-size: 20px;\r\n font-weight: normal;\r\n letter-spacing: normal;\r\n line-height: 120%;\r\n text-align: left;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <strong>Verify your email address</strong>\r\n </h1>\r\n </td>\r\n </tr>\r\n </table>\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: Arial, sans-serif"><![endif]--\x3e\r\n <div\r\n style="\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n line-height: 1.8;\r\n padding-top: 10px;\r\n padding-right: 10px;\r\n padding-bottom: 10px;\r\n padding-left: 10px;\r\n "\r\n >\r\n <div\r\n class="txtTinyMce-wrapper"\r\n style="\r\n font-size: 14px;\r\n line-height: 1.8;\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n mso-line-height-alt: 25px;\r\n "\r\n >\r\n <p\r\n style="\r\n margin: 0;\r\n font-size: 14px;\r\n line-height: 1.8;\r\n word-break: break-word;\r\n mso-line-height-alt: 25px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <span style="font-size: 14px"\r\n >Thank you for signing up! Please click the button below\r\n to verify your email address.</span\r\n >\r\n </p>\r\n </div>\r\n </div>\r\n \x3c!--[if mso]></td></tr></table><![endif]--\x3e\r\n <div\r\n align="center"\r\n class="button-container"\r\n style="\r\n padding-top: 10px;\r\n padding-right: 10px;\r\n padding-bottom: 10px;\r\n padding-left: 10px;\r\n "\r\n >\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-spacing: 0; border-collapse: collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"><tr><td style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px" align="center"><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" target="_blank" href={{validationLink}} style="height:31.5pt;width:390pt;v-text-anchor:middle;" arcsize="12%" stroke="false" fillcolor="#2270ee"><w:anchorlock/><v:textbox inset="0,0,0,0"><center style="color:#ffffff; font-family:Arial, sans-serif; font-size:14px"><!\r\n [endif]--\x3e<a\r\n href={{validationLink}}\r\n\t\t\t\t\t\t\ttarget="_blank"\r\n style="\r\n -webkit-text-size-adjust: none;\r\n text-decoration: none;\r\n display: block;\r\n color: #ffffff;\r\n background-color: #2270ee;\r\n border-radius: 5px;\r\n -webkit-border-radius: 5px;\r\n -moz-border-radius: 5px;\r\n width: 100%;\r\n width: calc(100% - 2px);\r\n border-top: 1px solid #2270ee;\r\n border-right: 1px solid #2270ee;\r\n border-bottom: 1px solid #2270ee;\r\n border-left: 1px solid #2270ee;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n font-family: \'Helvetica Neue\', Helvetica, Arial,\r\n sans-serif;\r\n text-align: center;\r\n mso-border-alt: none;\r\n word-break: keep-all;\r\n "\r\n target="_blank"\r\n ><span\r\n style="\r\n padding-left: 20px;\r\n padding-right: 20px;\r\n font-size: 14px;\r\n display: inline-block;\r\n letter-spacing: undefined;\r\n "\r\n ><span\r\n style="\r\n font-size: 16px;\r\n line-height: 2;\r\n word-break: break-word;\r\n mso-line-height-alt: 32px;\r\n "\r\n ><span\r\n style="font-size: 14px; line-height: 28px"\r\n >Verify Email</span\r\n ></span\r\n ></span\r\n ></a\r\n >\r\n \x3c!--[if mso]></center></v:textbox></v:roundrect></td></tr></table><![endif]--\x3e\r\n </div>\r\n \x3c!--<![endif]--\x3e\r\n </div>\r\n </div>\r\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\r\n \x3c!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]--\x3e\r\n </div>\r\n </div>\r\n </div>\r\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n \x3c!--[if (IE)]></div><![endif]--\x3e\r\n </body>\r\n</html>');return e(ei,{states:t,callbacks:r})})),xi=Object.freeze({__proto__:null,default:{title:"Templates / Portal"},DefaultPortal:ni,MultiProgramPortal:ai,LeadSubmitPortal:si,Login:ii,ForgotPassword:oi,Register:li,Dashboard:ui,LeadSubmitIframe:di,Activity:ci,EditProfile:mi,ResetPassword:pi,EmailVerification:hi,EmailVerified:gi,Widget:fi,ResetPasswordEmail:bi,VerifyEmail:wi}),vi=br((()=>e("sqm-program-menu",null,e("sl-menu-item",{value:"referral-program"},"Referral Program")))),Ei=br((()=>e("sqm-program-menu",null,e("sl-menu-item",{value:"referral-program"},"Referral Program"),e("sl-menu-item",{value:"partner-program"},"Partner Program")))),yi=br((()=>e("sqm-program-menu",null,e("sl-menu-item",{value:"program1"},"Program 1"),e("sl-menu-item",{value:"program2"},"Program 2"),e("sl-menu-item",{value:"program3"},"Program 3"),e("sl-menu-item",{value:"program4"},"Program 4"),e("sl-menu-item",{value:"program5"},"Program 5")))),qi=br((()=>e("div",null,e("sqb-program-section",{"program-id":"Vacay-referral"},e("sqm-program-menu",null,e("sl-menu-item",{value:"Vacay-referral"},"Vacay-referral"),e("sl-menu-item",{value:"vacay-affiliates"},"vacay-affiliates")),e("sqb-program-switch",null,e("template",{"program-id":"Vacay-referral"},e("sqb-widget",{"widget-type":"p/Vacay-referral/w/referrerWidget",demoData:{data:{html:Ys}}})),e("template",{"program-id":"vacay-affiliates"},e("sqb-widget",{"widget-type":"p/vacay-affiliates/w/referrerWidget",demoData:{data:{html:Ys}}}))))))),Di=Object.freeze({__proto__:null,default:{title:"Program Menu"},OneProgram:vi,TwoProgram:Ei,FiveProgram:yi,ProgramMenuWithSwitch:qi}),Ci=Object.freeze({__proto__:null,default:{title:"Powered By"},Default:()=>e(N,null),CustomColor:()=>e(N,{color:"salmon"}),CustomWidthAndHeight:()=>e(N,{width:300,height:50})}),Ai={supportEmail:"support@example.com",supportText:"For program support, contact {email}",showPoweredBy:!0,poweredByLink:"https://saasquatch.com",paddingTop:"large",paddingRight:"large",paddingBottom:"large",paddingLeft:"large"},ki=Object.freeze({__proto__:null,default:{title:"Portal Footer",parameters:{scenario:'Feature: Portal Footer\r\n\r\n Background: A user is viewing the portal\r\n Given a hosted portal\r\n And a user is viewing the portal\r\n And the portal has a footer\r\n\r\n Scenario Outline: FAQ and T&C links/text are configurable and open in a new page when clicked\r\n Given the footer has prop "terms-link" with value "https://example.com/terms"\r\n And prop "terms-text" with value "Terms and Conditions"\r\n And prop "faq-link" with value "https://example.com/FAQ"\r\n And prop "faq-text" with value "Visit FAQ"\r\n When a user clicks on the "Visit FAQ" link\r\n Then they will be redirected to "https://example.com/FAQ" in a new page\r\n When they go back to the portal\r\n And click on the "Terms and Conditions" link\r\n Then they will be redirected to "https://example.com/terms" in a new page\r\n\r\n Scenario Outline: FAQ/T&C Links are not shown if a link is not provided\r\n Given the footer does not have <linkProp>\r\n But it <mayHave> <textProp> with <value>\r\n Then the <link> will not be shown in the footer\r\n Examples:\r\n | linkProp | mayHave | textProp | value | link |\r\n | terms-link | has | termsText | Terms and Conditions | T&C Link |\r\n | faq-link | has | faqText | Visit FAQ | FAQ Link |\r\n | terms-link | doesn\'t have | | | T&C Link |\r\n | faq-link | doesn\'t have | | | FAQ Link |\r\n\r\n Scenario Outline: The support email and text is configurable but has a default\r\n Given the footer <mayHave> <emailPropWithValue>\r\n And the footer <mayAlsoHave> <textPropWithValue>\r\n Then the footer\'s support email text is <renderedEmailText>\r\n And the email address will be a mailto link with <mailtoEmail>\r\n When the user clicks on the email address mailto Link\r\n Then the users preferred email client will open with a draft email to <mailtoEmail>\r\n Examples:\r\n | mayHave | emailPropWithValue | mayAlsoHave | textPropWithValue | mailtoEmail | renderedEmailText |\r\n | has | support@saasquatch.com | has | For support please contact {email} | support@saasquatch.com | For support please contact support@saasquatch.com |\r\n | doesn\'t have | N/A | doesn\'t have | N/A | support@example.com | For program support, contact support@example.com |\r\n\r\n Scenario Outline: Powered by SaaSquatch is shown by default\r\n Given the footer <mayHaveProp> "show-powered-by" with <value>\r\n Then the powered by SaaSquatch image <mayBeShown>\r\n Examples:\r\n | mayHaveProp | value | mayBeShown |\r\n | has prop | true | is shown |\r\n | has prop | false | isn\'t shown |\r\n | has prop | test | is shown |\r\n | has prop | | is shown |\r\n | doesn\'t have prop | | is shown |\r\n\r\n Scenario: Powered By Saasquatch links out to "https://saasquatch.com"\r\n Given the footer has the powered by SaaSquatch image\r\n When a user clicks on it\r\n Then they will be redirected to "https://saasquatch.com" in a new page'}},DefaultFooter:()=>e(I,Object.assign({},Ai)),FooterWithTerms:()=>e(I,Object.assign({},Ai,{termsLink:"https://example.com",termsText:"Terms and Conditions"})),FooterWithFAQ:()=>e(I,Object.assign({},Ai,{faqLink:"https://example.com",faqText:"FAQ"})),FooterWithTermsAndFAQ:()=>e(I,Object.assign({},Ai,{termsLink:"https://example.com",termsText:"Terms and Conditions",faqLink:"https://example.com",faqText:"FAQ"})),FooterNoPoweredBy:()=>e(I,Object.assign({},Ai,{termsLink:"https://example.com",termsText:"Terms and Conditions",faqLink:"https://example.com",faqText:"FAQ",showPoweredBy:!1}))}),Ri=Object.freeze({__proto__:null,default:{title:"Hero Layout",parameters:{scenario:'Feature: Hero Unit\r\n\r\n Background: A portal with a hero unit exists\r\n Given a hosted portal\r\n And the portal has hero unit on the login page\r\n And a user is viewing the login page\r\n\r\n Scenario: The hero unit defaults to a single column layout\r\n Given a hero unit does not have a "columns" prop\r\n But the following html is wrapped by the hero unit\r\n """\r\n <sqm-portal-login></sqm-portal-login>\r\n <div slot="secondary-column">\r\n <h1 style="text-align:center">Get Referring!</h1>\r\n <p style="text-align:center">\r\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do\r\n eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim\r\n ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\r\n aliquip ex ea commodo consequat. Duis aute irure dolor in\r\n reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\r\n pariatur.\r\n </p>\r\n </div>\r\n """\r\n Then only a single column will be displayed\r\n And within it will be the login component\r\n\r\n Scenario Outline: The hero unit supports single or dual column layouts\r\n Given a hero unit with prop "columns" having <columnValue>\r\n And it wraps <html>\r\n Then the hero unit displays <columnValue> columns\r\n Examples:\r\n | columnValue | html |\r\n | 1 | <h1>Column 1!</h1> |\r\n | 2 | <h1>Column 1!</h1><div slot="secondary-column"><h1 style="text-align:center">Column 2!</h1></div> |\r\n\r\n Scenario: HTML to be displayed in the second column comes from the "secondary-column" slot\r\n Given a hero unit with "columns" "2"\r\n And the following html\r\n """\r\n <h1>Column 1!</h1>\r\n <div>\r\n <h1 style="text-align:center">Column 2!</h1>\r\n </div>\r\n """\r\n When the hero unit is rendered\r\n Then only one column is displayed with content\r\n And column 1 will contain the "Column 1!" text\r\n And column 1 will contain the "Column 2!" text\r\n When the div for column two is updated to have \'slot="secondary-column"\'\r\n Then the two columns are displayed with content\r\n And column 1 will contain the "Column 1!" text\r\n And column 2 will contain the "Column 2!" text\r\n\r\n Scenario Outline: A background for the hero unit can be set as an image or colour\r\n Given a hero unit with <backgroundPropValue>\r\n Then the background will be <background>\r\n Examples:\r\n | background | background |\r\n | https://images.unsplash.com/photo-1599676821464-3555954838d | image of misty mountains |\r\n | LightSlateGrey | light slate grey |\r\n | #00FF00 | green |\r\n | rgb(128,0,128) | purple |\r\n\r\n Scenario Outline: Wrap Direction can be configured for mobile experiences\r\n Given a hero unit with the following HTML\r\n """\r\n <h1>Column 1!</h1>\r\n <div slot="secondary-column">\r\n <h1 style="text-align:center">Column 2!</h1>\r\n </div>\r\n """\r\n And prop "wrap-direction" has <value>\r\n When the window width is less than 600px\r\n Then the two columns will stack\r\n And <column> will be on top\r\n Examples:\r\n | value | column |\r\n | wrap | 1 |\r\n | wrap-reverse | 2 |\r\n | | 1 |'}},LoginOneColumn:()=>{const t={states:{columns:1,wrapDirection:"wrap",paddingSize:"large"},content:{primaryColumn:[e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("sqm-portal-login",null)]}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},LoginOneColumnWithColor:()=>{const t={states:{columns:1,wrapDirection:"wrap",paddingSize:"large",background:"LightSlateGrey"},content:{primaryColumn:e("sqm-portal-login",null)}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},LoginOneColumnWithImage:()=>{const t={states:{columns:1,wrapDirection:"wrap",paddingSize:"large",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"},content:{primaryColumn:e("sqm-portal-login",null)}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},TwoColumnLoginLargePadding:()=>{const t={states:{columns:2,wrapDirection:"wrap",paddingSize:"large",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:e("sqm-portal-login",null),secondaryColumn:e("div",null,e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},TwoColumnLoginMediumPadding:()=>{const t={states:{columns:2,wrapDirection:"wrap",paddingSize:"medium",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:e("sqm-portal-login",null),secondaryColumn:e("div",null,e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},TwoColumnLoginSmallPadding:()=>{const t={states:{columns:2,wrapDirection:"wrap",paddingSize:"small",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:e("sqm-portal-login",null),secondaryColumn:e("div",null,e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},TwoColumnLoginNoPadding:()=>{const t={states:{columns:2,wrapDirection:"wrap",paddingSize:"none",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:e("sqm-portal-login",null),secondaryColumn:e("div",null,e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},TwoColumnLoginReverseWrap:()=>{const t={states:{columns:2,wrapDirection:"wrap-reverse",background:"LightSlateGrey",paddingSize:"large",secondaryBackground:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"},content:{primaryColumn:e("sqm-portal-change-password",null),secondaryColumn:e("div",null,e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},TwoColumnLoginWithImgElement:()=>{const t={states:{columns:2,wrapDirection:"wrap",paddingSize:"large"},content:{primaryColumn:e("div",null,e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("sqm-portal-login",null)),secondaryColumn:e("div",null,e("img",{src:"https://images.unsplash.com/photo-1487528278747-ba99ed528ebc?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2070&q=80"}),e("p",null,"Pellentesque mauris urna, lacinia non turpis sed, pulvinar congue ligula. Sed mattis condimentum eros nec vulputate. Cras consectetur eget libero at viverra. Aliquam suscipit feugiat ante sit amet sagittis. Fusce pulvinar interdum odio ut dapibus. Nulla aliquet ultricies augue nec dignissim. Morbi vulputate hendrerit sem."))}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))}}),Ti={data:{shareCode:"BOBBYREFER"},states:{content:{iframeSrc:"https://example.com",iframeHeight:"100%",iframeWidth:"100%"}}},Pi=Object.freeze({__proto__:null,default:{title:"Referral Iframe",parameters:{scenario:'@owner:sam\r\n@author:sam\r\n\r\nFeature: Referral Iframe\r\n\r\n Used to provide an external form for submitting referral leads using the current user\'s referral code\r\n\r\n Background: A user is logged in\r\n Given there is a logged in user\r\n\r\n @motivating\r\n Scenario: Referral code is passed to the iframe as a query parameter\r\n Given the "iframe-src" is "https://example.com"\r\n And the user has navigated to "/refer"\r\n And the user\'s referral code is "BOBBYREFER"\r\n When the iframe content is loaded\r\n Then the iframe url will be "https://example.com?rsCode=BOBBYREFER"\r\n\r\n @ui\r\n Scenario Outline: The height and width of the iFrame can be controlled via props\r\n Given the "iframe-src" is "https://example.com"\r\n And the iframe content is 1000x1000\r\n And the "iframe-height" is set to <heightValue>\r\n And the "iframe-width" is set to <widthValue>\r\n Then the content of the iframe will be displayed with scrollbars\r\n And the dimension of the iFrame displayed will be 500x500\r\n When the "iframe-height" is set to <heightValue>\r\n And the "iframe-width" is set to <widthValue>\r\n Then the full content of the iframe will be displayed on the page\r\n And the dimension of the iFrame displayed will be 1000x1000\r\n Examples:\r\n | heightValue | widthValue |\r\n | 500px | 500px |\r\n | 50% | 50% |\r\n\r\n @minutae\r\n Scenario Outline: The iFrame will fail fast if a iFrame source isn\'t provided\r\n Given "iframe-src" <mayBeAnAttribute>\r\n And it <mayHaveValue>\r\n When a user views the referral iFrame component\r\n Then an alert with an error message is displayed in place of the iFrame\r\n And it has a details section\r\n When "More details" is clicked\r\n Then the following information will be displayed\r\n | component being used |\r\n | missing attribute(s) |\r\n\r\n Examples:\r\n | mayBeAnAttribute | mayHaveValue |\r\n | is not an attribute | N/A |\r\n | is an attribute | "" |\r\n | is an attribute | |'}},ReferralIframe:()=>e("div",{style:{width:"1000px",height:"1000px"}},e(K,Object.assign({},Ti))),ReferralIframeError:()=>e("div",{style:{width:"1000px",height:"1000px"}},e("sqm-referral-iframe",null))}),Ni={states:{validationErrors:void 0,content:{firstNameLabel:"First Name",lastNameLabel:"Last Name"}}},Ii={states:{validationErrors:{firstName:"Cannot be empty",lastName:"Cannot be empty"},content:{firstNameLabel:"First Name",lastNameLabel:"Last Name"}}},Fi=Object.freeze({__proto__:null,default:{title:"Name Fields",parameters:{scenario:'@owner:sam\r\n@author:sam\r\n\r\nFeature: Name Fields\r\n\r\n Fields to be used to fill the first and last name of a user during registration\r\n\r\n Background:\r\n Given the current page is "/register"\r\n\r\n @motivating\r\n Scenario: Both first name and last name are required\r\n Given the email field has valid input\r\n And the password field has valid input\r\n And first name field is empty\r\n And last name field is empty\r\n When register is clicked\r\n Then the name fields will be highlighted in red\r\n And the error messages will say "Cannot be empty"\r\n\r\n @motivating\r\n Scenario: First and last name are upserted with the SaaSquatch user\r\n Given all fields have been filled with data\r\n | firstName | lastName | email | password |\r\n | Bob | Testerson | bob@example.com | SecurePassword1 |\r\n When register is clicked\r\n Then the email verification page will be loaded\r\n And the user will be upserted\r\n And the SaaSquatch user will contain data\r\n | firstName | lastName | email |\r\n | Bob | Testerson | bob@example.com |\r\n\r\n'}},NameFields:()=>e(k,Object.assign({},Ni)),NameFieldsWithErrors:()=>e(k,Object.assign({},Ii))}),Si=(e,t="chooseReward",r=null,n=null,a=!1,s=!1,i=null)=>({states:{content:{text:{buttonText:"Exchange Rewards",notAvailableError:"{unavailableReasonCode, select, NOT_CHAMPION {CUSTOM ERROR MESSAGE } US_TAX {Exceeds tax limit for this year} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {unavailableReasonCode} }",chooseRewardTitle:"Rewards",chooseAmountTitle:"Select",confirmationTitle:"Confirm",rewardTitle:"Choose a reward",cancelText:"Cancel",backText:"Back",continueText:"Continue",continueToConfirmationText:"Continue to confirmation",redeemText:"Redeem",redeemTitle:"Confirm and redeem",redemptionSuccessText:"Redeemed {sourceValue} for {destinationValue}",doneText:"Done",toolTipText:"Copied!",selectText:"Select amount to receive",sourceAmountMessage:"{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}",rewardRedeemedText:"Reward redeemed",redemptionError:"An error occured trying to redeem this reward. Please try again",promoCode:"Promo code",skeletonCardNum:8,rewardNameTitle:"Reward Name",rewardAmountTitle:"Reward Amount",costTitle:"Cost"}},redeemStage:t,amount:0,exchangeError:a,loading:s,selectedItem:r,selectedStep:n,open:!1},data:{exchangeList:e,fuelTankCode:i},callbacks:{exchangeReward:null,resetState:null,setStage:null,setExchangeState:null,copyFuelTankCode:null,refs:null},refs:null}),Li={key:"",name:"",description:"Description of reward. Lorem ipsum dolor sit amet, consectetur adipiscing. Id nec semper sapien dignissim rhoncus nunc.",imageUrl:"",available:!0,unavailableReasonCode:null,ruleType:"FIXED_GLOBAL_REWARD",sourceUnit:"POINT",sourceValue:10,prettySourceValue:"10 SaaSquatch Points",sourceMinValue:null,prettySourceMinValue:null,sourceMaxValue:null,prettySourceMaxValue:null,destinationMinValue:null,prettyDestinationMinValue:null,destinationMaxValue:null,prettyDestinationMaxValue:null,globalRewardKey:"",destinationUnit:null,steps:[]},Bi={available:!1,unavailableReasonCode:"INSUFFICIENT_REDEEMABLE_CREDIT"},Oi={key:"r1"},ji=e=>({imageUrl:e}),_i=e=>({name:e}),Vi=e=>({prettySourceValue:e}),Gi=(e,t,r)=>({ruleType:"VARIABLE_CREDIT_REWARD",sourceMinValue:e,prettySourceMinValue:e+" "+r,sourceMaxValue:t,prettySourceMaxValue:t+" "+r}),Mi=[{...Li,..._i("Free swag with a promo code"),...ji("https://i.imgur.com/n7vC4BR.png"),...Vi("40 SaaSquatch Points")},{...Li,...Oi,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points")},{...Li,..._i("A very exclusive gift box"),...ji("https://i.imgur.com/93BvEgH.png"),...Vi("30 SaaSquatch Points")},{...Li,..._i("$50 Store credit"),...ji("https://i.imgur.com/WkCMVSE.png"),...Vi("100 SaaSquatch Points")},{...Li,..._i("Variable amount of store credit"),...ji("https://i.imgur.com/Jn2fE0s.png"),...Gi(20,100,"Points")},{...Li,...Bi,..._i("A very rare cactus"),...ji("https://i.imgur.com/hhlF2Ey.png"),...Vi("2000 SaaSquatch Points")},{...Li,available:!1,unavailableReasonCode:"US_TAX",..._i("$1000 Store credit with a really super long name in the front page"),...ji("https://i.imgur.com/y9HSls1.png"),...Vi("2000 SaaSquatch Long Points")},{...Li,...Bi,..._i("A holiday gift box"),...ji("https://i.imgur.com/dWEdB3p.png"),...Vi("100 SaaSquatch Points")}],Ui={...Si(Mi)},Hi={...Si([{...Li,...Bi,..._i("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),...ji("https://i.imgur.com/dWEdB3p.png"),...Vi("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid.")},{...Li,..._i("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),...ji("https://i.imgur.com/y9HSls1.png"),...Vi("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid.")},{...Li,..._i("Suuuuuuuuper aweeeeesssssoooommme reward!!!!!!"),...ji("https://i.imgur.com/WkCMVSE.png"),...Vi("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid.")},...Mi])},Wi={...Si([{...Li,available:!1,unavailableReasonCode:"NOT_CHAMPION",..._i("A very rare cactus"),...ji("https://i.imgur.com/hhlF2Ey.png"),...Vi("2000 SaaSquatch Points")},...Mi])},zi={...Si(Mi,"chooseReward",{...Li,...Oi,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points")})},$i=(e,t,r,n,a=!0,s=null)=>({destinationValue:e,prettyDestinationValue:t+e,sourceValue:r,prettySourceValue:r+" "+n,available:a,unavailableReasonCode:s}),Ji={...Si(Mi,"chooseAmount",{...Li,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points"),steps:[$i(20,"$",40,"Points"),$i(30,"$",60,"Points"),$i(40,"$",80,"Points"),$i(50,"$",100,"Points"),$i(60,"$",120,"Points")]})},Xi={...Si(Mi,"chooseAmount",{...Li,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points"),steps:[$i(20,"$",40,"Points"),$i(30,"$",60,"Points"),$i(40,"$",80,"Points",!1,"INSUFFICIENT_REDEEMABLE_CREDIT"),$i(50,"$",100,"Points",!1,"INSUFFICIENT_REDEEMABLE_CREDIT"),$i(60,"$",120,"Points",!1,"INSUFFICIENT_REDEEMABLE_CREDIT")]})},Ki={...Si(Mi,"chooseAmount",{...Li,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points"),steps:[$i(20,"$",40,"Points"),$i(30,"$",60,"Points"),$i(40,"$",80,"Points",!1,"US_TAX"),$i(50,"$",100,"Points",!1,"US_TAX"),$i(60,"$",120,"Points",!1,"US_TAX")]})},Yi={...Si(Mi,"chooseAmount",{...Li,..._i("Free swag with a promo code"),...ji("https://i.imgur.com/n7vC4BR.png"),...Vi("40 SaaSquatch Points")})},Zi={...Si(Mi,"confirmation",{...Li,..._i("Free swag with a promo code"),...ji("https://i.imgur.com/n7vC4BR.png"),...Vi("40 SaaSquatch Points")})},Qi={...Si(Mi,"confirmation",{...Li,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points")},$i(20,"$",40,"Points"))},eo={...Si(Mi,"confirmation",{...Li,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points")},$i(20,"$",40,"Points"),!0)},to={...Si(Mi,"success",{...Li,..._i("Free swag with a promo code"),...ji("https://i.imgur.com/n7vC4BR.png"),...Vi("40 SaaSquatch Points")},void 0,void 0,void 0,"4ah2-hh46-gk7r")},ro={...Si(Mi,"success",{...Li,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/93BvEgH.png"),...Gi(20,80,"Points")},$i(20,"$",40,"Points"))},no={...Si(null,"chooseReward",null,null,!1,!0)},ao=t=>()=>e(Y,Object.assign({},t)),so=ao(Ui),io=ao(Wi),oo=ao(Hi),lo=ao(zi),uo=ao(Yi),co=ao(Ji),mo=ao(Xi),po=ao(Ki),ho=ao(Zi),go=ao(Qi),fo=ao(eo),bo=ao(to),wo=ao(ro),xo=ao(no),vo=Object.freeze({__proto__:null,default:{title:"Components/Reward Exchange List"},ChooseReward:so,CustomErrorMessage:io,LongTextRewardExhange:oo,ChooseRewardSelected:lo,ChooseAmount:uo,ChooseAmountVariable:co,chooseAmountVariableDisabled:mo,chooseAmountVariableUnavailable:po,Confirm:ho,ConfirmVariable:go,Error:fo,SuccessPromo:bo,SuccessVariable:wo,Loading:xo}),Eo=Object.freeze({__proto__:null,default:{title:"Components/Program Explainer"},OneStep:()=>e("sqm-program-explainer",{header:"How it works"},e("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Share your referral link with a friend and earn up to $1250",icon:"person-plus-fill"}),e("sqm-program-explainer-step",{header:"Earn points for using Klip",description:"Complete tasks like uploading your first video or sharing videos with friends",icon:"server"}),e("sqm-program-explainer-step",{header:"Redeem rewards with your points",description:"Redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America",icon:"people-fill"})),Custom:()=>e("sqm-program-explainer",{header:"How it works","text-color":"#fffc4b","background-color":"#ff7f7f"},e("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Share your referral link with a friend and earn up to $1250",icon:"person-plus-fill"}),e("sqm-program-explainer-step",{header:"Earn points for using Klip",description:"Complete tasks like uploading your first video or sharing videos with friends",icon:"server"}),e("sqm-program-explainer-step",{header:"Redeem rewards with your points",description:"Redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America",icon:"people-fill"}))}),yo=Object.freeze({__proto__:null,default:{title:"Components/Program Explainer Step"},ProgramExplainerStep:()=>e("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Send your referral link to a friend or share it through email, Twitter, or Facebook",icon:"person-plus-fill"}),ProgramExplainerStepCustom:()=>e("sqm-program-explainer-step",{header:"Invite your friends to Klip",description:"Send your referral link to a friend or share it through email, Twitter, or Facebook","image-url":"https://i.imgur.com/Uqn3aXw.png","text-color":"#fffc4b","background-color":"#ff7f7f"})}),qo=()=>e("div",{style:{padding:"10px",border:"5px solid #EEE"}},e("div",{style:{display:"flex",gap:"5px",padding:"5px"}},e("sl-button",{type:"default"},"Default"),e("sl-button",{type:"primary"},"Primary"),e("sl-button",{type:"success"},"Success"),e("sl-button",{type:"neutral"},"Neutral"),e("sl-button",{type:"warning"},"Warning"),e("sl-button",{type:"danger"},"Danger")),e("div",{style:{display:"flex",gap:"5px",padding:"5px"}},e("sl-badge",{type:"primary"},"Primary"),e("sl-badge",{type:"success"},"Success"),e("sl-badge",{type:"neutral"},"Neutral"),e("sl-badge",{type:"warning"},"Warning"),e("sl-badge",{type:"danger"},"Danger")),e("div",{class:"color-palette"},e("div",{class:"color-palette__name"},"Primary",e("br",null),e("code",null,"--sl-color-primary-",e("em",null,"{n}"))),e("div",{style:{display:"flex",gap:"5px"}},e(Do,{depth:50}),e(Do,{depth:100}),e(Do,{depth:200}),e(Do,{depth:300}),e(Do,{depth:400}),e(Do,{depth:500}),e(Do,{depth:600}),e(Do,{depth:700}),e(Do,{depth:800}),e(Do,{depth:900}),e(Do,{depth:950}))));function Do({depth:t}){return e("div",{style:{backgroundColor:`var(--sl-color-primary-${t})`,color:`var(--sl-color-neutral-${1e3-t})`,width:"50px",height:"50px",display:"flex",justifyContent:"center",alignItems:"center"}},t)}const Co=Object.freeze({__proto__:null,default:{title:"Components/Brand"},Examples:()=>e("div",null,e(qo,null),e("sqm-brand",{"brand-color":"#FF0000"},e(qo,null)),e("sqm-brand",{"brand-color":"#00FF00"},e(qo,null)),e("sqm-brand",{"brand-color":"#0000FF"},e(qo,null)),e("sqm-brand",{"brand-color":"#000000"},e(qo,null))),Nested:()=>e("div",null,"Default ",e(qo,null),e("sqm-brand",{"brand-color":"#FF0000"},"Red:",e(qo,null),e("sqm-brand",{"brand-color":"#00FF00"},"Green:",e(qo,null),e("sqm-brand",{"brand-color":"#0000FF"},"Blue:",e(qo,null),e("sqm-brand",{"brand-color":"#000000"},"Black:",e(qo,null)))))),Fonts:()=>e("div",null,e(qo,null),e("sqm-brand",{"brand-font":"Roboto"},"Roboto",e(qo,null)),e("sqm-brand",{"brand-font":"Open Sans"},"Open Sans",e(qo,null)),e("sqm-brand",{"brand-font":"Lato"},"Lato",e(qo,null)),e("sqm-brand",{"brand-font":"Oswald"},"Oswald",e(qo,null)))}),Ao={width:347,gap:24},ko={content:{rewardAmount:"20",rewardUnit:"SaaSquatch Points",cardTitle:"Complete a survey",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:!1,showProgressBar:!1,steps:!1,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:!1,showExpiry:!1,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:1,locale:"en"},states:{progress:0,loading:!1,loadingEvent:!1}},Ro={content:{rewardAmount:"40",rewardUnit:"SaaSquatch Points",cardTitle:"Comment on 5 articles",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:!1,showProgressBar:!0,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",steps:!0,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:!1,showExpiry:!1,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:5,locale:"en"},states:{progress:1,loading:!1,loadingEvent:!1}},To={content:{rewardAmount:"150",rewardUnit:"SaaSquatch Points",cardTitle:"Spend $500 at our Store",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:!1,showProgressBar:!0,steps:!1,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",progressBarUnit:"$",buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:!1,showExpiry:!1,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:500,locale:"en"},states:{progress:100,loading:!1,loadingEvent:!1}},Po=Object.freeze({__proto__:null,default:{title:"Components/Card Feed"},TaskCardGrid:()=>e(Z,Object.assign({},Ao),e(J,Object.assign({},ko)),e("div",null,e(J,Object.assign({},Ro))),e("div",null,e("div",null,e(J,Object.assign({},ko)))),e(J,Object.assign({},Ro)),e(J,Object.assign({},Ro)),e("div",null,e(J,Object.assign({},Ro))),e("div",null,e("div",null,e(J,Object.assign({},ko)))),e(J,Object.assign({},To)))}),No=Object.freeze({__proto__:null,default:{title:"Components/Portal Container",parameters:{scenario:"Feature: Portal Container\r\n\r\n\r\n Scenario: Horizontal content overflows, but does not stretch\r\n\r\n Bad elements should not affect other elements in the page\r\n\r\n Given there are two element in the container\r\n And the first is small\r\n And the second would stretch the container wider than it's parent\r\n Then the second one is clipped\r\n And the first one doesn't stretch\r\n\r\n @landmine\r\n Scenario: `max-width` is required for displaying as a row\r\n Given I have `direction` to \"row\"\r\n And I have not set a `max-width`\r\n Then it will display as a column\r\n"}},TooWideColumn:()=>e("div",{style:{width:"200px",border:"1px dashed grey"}},e("sqm-portal-container",null,e("div",{style:{background:"grey",border:"1px solid red"}},"Small"),e("div",{style:{background:"lightblue",width:"1000px"}},"Too wide, content goes off the side of the page for ever and is hidden."))),TooWideRow:()=>e("div",{style:{width:"500px",border:"1px dashed grey"}},e("sqm-portal-container",{direction:"row","min-width":"160px"},e("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),e("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),e("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook"))),HalfWidth:()=>e("div",{style:{width:"1000px",border:"1px dashed grey"}},e("sqm-portal-container",{direction:"row",minWidth:"160px",maxWidth:"50%"},e("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),e("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),e("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook"))),FullWidth:()=>e("div",{style:{width:"1000px",border:"1px dashed grey"}},e("sqm-portal-container",{direction:"row",maxWidth:"100%"},e("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),e("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),e("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook")))}),Io={id:"61c100117a82a376d8804166",type:"CREDIT",value:19,unit:"TESTUNIT",name:null,dateGiven:1640038417468,dateExpires:null,dateCancelled:null,dateRedeemed:null,dateScheduledFor:null,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:"19 Points",prettyValueNumber:"19",prettyAvailableNumber:"19",prettyRedeemedNumber:"0",statuses:["AVAILABLE"],globalRewardKey:null,rewardSource:"MANUAL",prettyRedeemedCredit:"0 Points",prettyAssignedCredit:"19 Points",prettyAvailableValue:"19 Points",exchangedRewardRedemptionTransaction:null,referral:null,rewardRedemptionTransactions:{data:null}},Fo={prettyAvailableValue:"10 Points",prettyRedeemedCredit:"9 Points",prettyRedeemedNumber:"9",dateRedeemed:1640038417468},So={prettyAvailableValue:"0 Points",prettyRedeemedCredit:"19 Points",prettyRedeemedNumber:"19",dateRedeemed:1640038417468},Lo={prettyValue:"1 Points",prettyValueNumber:"1",prettyAvailableNumber:"1",prettyAvailableValue:"0 Points",prettyRedeemedCredit:"1 Points",prettyRedeemedNumber:"1",dateRedeemed:1640038417468},Bo={exchangedRewardRedemptionTransaction:{id:"61c100117a82a376d88041196",creditRedeemed:1,prettyRedeemedCredit:"1 Money",unit:"TESTUNIT",dateRedeemed:1640038417173,redeemedRewards:null,exchangedRewards:null}},Oo={firstName:"John",lastName:"Doe",imageUrl:null},jo={firstName:"",lastName:"",imageUrl:null},_o=(e=null)=>({rewardSource:"FRIEND_SIGNUP",referral:{id:"123",dateConverted:1640038417173,dateReferralStarted:1640038417173,dateReferralPaid:1640038417173,dateReferralEnded:null,moderationStatus:null,rewards:null,referrerUser:e,referredUser:e}}),Vo=(e=null)=>({rewardSource:"REFERRED",referral:{id:"123",dateConverted:1640038417173,dateReferralStarted:1640038417173,dateReferralPaid:1640038417173,dateReferralEnded:null,moderationStatus:null,rewards:null,referrerUser:e,referredUser:e}}),Go={dateExpires:1640038417468},Mo={statuses:["REDEEMED"],dateRedeemed:1640038417468},Uo={statuses:["CANCELLED"],dateCancelled:1640038417468},Ho={statuses:["EXPIRED"],dateExpires:1640038417468},Wo={statuses:["PENDING"]},zo=Object.freeze({__proto__:null,default:{title:"Components/Rewards Table Cell"},RewardsCellCreditFull:()=>e("sqm-rewards-table-reward-cell",{reward:{...Io},availableText:"19 Points remaining"}),RewardsCellCreditPartial:()=>e("sqm-rewards-table-reward-cell",{reward:{...Io,...Fo},availableText:"10 Points remaining"}),RewardsCellCreditEmpty:()=>e("sqm-rewards-table-reward-cell",{reward:{...Io,...So},availableText:"0 Points remaining"}),RewardsCellSingleRedeemed:()=>e("sqm-rewards-table-reward-cell",{reward:{...Io,...Lo}}),RewardsCellNonCredit:()=>e("sqm-rewards-table-reward-cell",{reward:{...Io,type:"FUELTANK",prettyValue:"SaaSquatch Giftcard"}}),SourceCellText:()=>e("sqm-rewards-table-source-cell",{reward:Io,rewardSourceText:"Manual"}),SourceCellExchange:()=>e("sqm-rewards-table-source-cell",{reward:{...Io,...Bo},rewardExchangeText:"Reward Exchange"}),SourceCellReferral:()=>e("sqm-rewards-table-source-cell",{reward:{...Io,..._o(Oo)},referralText:"Referral to"}),SourceCellReferred:()=>e("sqm-rewards-table-source-cell",{reward:{...Io,...Vo(Oo)},referralText:"Referred by"}),SourceCellAnonymousUser:()=>e("sqm-rewards-table-source-cell",{reward:{...Io,..._o(jo)},referralText:"Referral to",anonymousUserText:"Anonymous User"}),SourceCellDeletedUser:()=>e("sqm-rewards-table-source-cell",{reward:{...Io,..._o(null)},referralText:"Referral to",deletedUserText:"Deleted User"}),StatusCellAvailable:()=>e("sqm-rewards-table-status-cell",{statusText:"Available",reward:Io}),StatusCellAvailableExpiry:()=>e("sqm-rewards-table-status-cell",{statusText:"Available",reward:{...Io,...Go},expiryText:"Expires"}),StatusCellRedeemed:()=>e("sqm-rewards-table-status-cell",{statusText:"Redeemed",reward:{...Io,...Mo}}),StatusCellCancelled:()=>e("sqm-rewards-table-status-cell",{statusText:"Cancelled",reward:{...Io,...Uo}}),StatusCellExpired:()=>e("sqm-rewards-table-status-cell",{statusText:"Expired",reward:{...Io,...Ho}}),StatusCellPending:()=>e("sqm-rewards-table-status-cell",{statusText:"Pending",reward:{...Io,...Wo}}),DateCell:()=>e("sqm-rewards-table-date-cell",{date:1640038417468}),EmptyCell:()=>e("sqm-rewards-table-date-cell",null)}),$o=Object.freeze({__proto__:null,default:{title:"Components/Rewards Table"},Tab:()=>e("sqm-rewards-table-date-cell",null),EmptyCell:()=>e("sqm-rewards-table-date-cell",null)});function Jo({token:e,id:t}){const r=t;return window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com"},i((()=>(c({accountId:r,id:t,jwt:e}),()=>{window.widgetIdent=void 0,c(void 0)})),[]),{id:t,accountId:r}}const Xo=br((()=>(function(){const e="testestest";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com"},i((()=>(c({accountId:"testestest",id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"}),()=>{window.widgetIdent=void 0,c(void 0)})),[])}(),h("sam-partner-test-2"),e("sqm-referral-table",null,e("sqm-referral-table-user-column",null),e("sqm-referral-table-status-column",null),e("sqm-referral-table-date-column",null),e("sqm-referral-table-rewards-column",null))))),Ko=br((()=>(Jo({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",id:"samenglish"}),h("klip-referral-program"),e("sqm-referral-table",{"per-page":"4"},e("sqm-referral-table-user-column",{"column-title":"User"}),e("sqm-referral-table-status-column",{"column-title":"Referral Status"}),e("sqm-referral-table-rewards-column",null),e("sqm-referral-table-date-column",{"column-title":"Date Referred","date-shown":"dateReferralStarted"}))))),Yo=br((()=>(Jo({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",id:"samturkey"}),h("klip-referral-program"),e("sqm-referral-table",{"more-label":"Daha","prev-label":"Öncesi","empty-state-text":"Henüz Ödül Yok","per-page":"4"},e("sqm-referral-table-user-column",{"column-title":"Kullanıcılar","anonymous-user":"Anonim Kullanıcı","deleted-user":"Silinmiş Kullanıcı"}),e("sqm-referral-table-status-column",{"column-title":"Durumu","converted-status-text":"Dönüştür","in-progress-status-text":"Devam etmekte"}),e("sqm-referral-table-rewards-column",{"column-title":"Ödüller","status-text":"{status, select, AVAILABLE {Mevcut} CANCELLED {İptal edildi} PENDING {Bekliyor} EXPIRED {Süresi doldu} REDEEMED {Kullanıldı} other {Müsait değil} }","status-long-text":"{status, select, AVAILABLE {Ödül süresi doluyor} CANCELLED {Ödül iptal edildi} PENDING {üzerinde mevcut} EXPIRED {Ödülün süresi doldu} other {Müsait değil} }","reward-received-text":"Ödül şu tarihte alındı:"}),e("sqm-referral-table-date-column",{"column-title":"Tarih","date-shown":"dateReferralStarted"}))))),Zo=br((()=>(Jo({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",id:"samfrench"}),h("klip-referral-program"),e("sqm-referral-table",{"more-label":"Plus","prev-label":"Précédent","empty-state-text":"Aucune Référence Maintenant","per-page":"4"},e("sqm-referral-table-user-column",{"column-title":"Utilisateur","anonymous-user":"Utilisateur Anonyme","deleted-user":"Utilisateur Supprimé"}),e("sqm-referral-table-status-column",{"column-title":"Statut de Parrainage","converted-status-text":"Converti","in-progress-status-text":"En cours"}),e("sqm-referral-table-rewards-column",{"column-title":"Récompenses","status-text":"{status, select, AVAILABLE {Disponible} CANCELLED {Annulé} PENDING {En attente} EXPIRED {Expiré} REDEEMED {Racheté} other {Indisponible} }","status-long-text":"{status, select, AVAILABLE {Récompense expirant sur} CANCELLED {Récompense annulée sur} PENDING {Disponible sur} EXPIRED {Récompense expirée sur} other {Indisponible} }","reward-received-text":"Récompense reçue"}),e("sqm-referral-table-date-column",{"column-title":"Date de Référence","date-shown":"dateReferralStarted"}))))),Qo=Object.freeze({__proto__:null,default:{title:"Hooks / useReferralTable"},ReferralTable:Xo,ReferralTableEn:Ko,ReferralTableTr:Yo,ReferralTableFr:Zo}),el=Object.freeze({__proto__:null,default:{title:"Components/Hero Image"},OverlayHeader:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",layout:"overlay"}),OverlayDescription:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards",layout:"overlay"}),OverlayButton:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay"}),OverlayLong:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum","button-text":"Start earning",layout:"overlay"}),OverlayLeft:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay","image-pos":"left"}),OverlayCenter:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay","image-pos":"center"}),OverlayRight:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay","image-pos":"right"}),OverlayCustom:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning","text-color":"#fffc4b","overlay-color":"#ff7f7f","overlay-opacity":"0.9",layout:"overlay"}),Columns:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns"}),ColumnsReverse:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns",imagePos:"right",imageMobilePos:"bottom"}),ColumnsCustomPercentage:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/2evfTx7.png",description:"Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!",layout:"columns","image-percentage":"25%",maxHeight:"150px",maxWidth:"100%",paddingImage:"large",paddingText:"large"}),ColumnsCustom:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns","text-color":"#fffc4b","background-color":"#ff7f7f"})}),tl=t=>e("sqm-portal-container",{gap:"large",slot:t},"Get rewarded when your friend uses Klip",e("sqm-image",{"image-url":"https://i.imgur.com/IqB7GeS.png"})),rl=t=>e("sqm-portal-container",{gap:"large",slot:t},e("sqm-text",null,"Choose how you want to share:"),e("sqm-text",null,e("p",{light:!0},"Your unique referral link:"),e("sqm-share-code",null)),e("sqm-portal-container",{gap:"x-small"},e("sqm-share-button",{medium:"email"},"Share via email"),e("sqm-share-button",{medium:"facebook"},"Share on Facebook"),e("sqm-share-button",{medium:"twitter"},"Tweet about us"))),nl=(t,r)=>e("sqm-timeline",{slot:t,icon:"circle"},r>0&&e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),r>1&&e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),r>2&&e("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}),r>3&&e("sqm-timeline-entry",{reward:"$1000",unit:"visa giftcard",desc:"Your friend purchases Klip Team"})),al=Object.freeze({__proto__:null,default:{title:"Components/Referral Card"},ReferralCardDefault:()=>e("sqm-referral-card",null),ReferralCardA:()=>e("sqm-referral-card",null,tl("left"),rl("right")),ReferralCardB:()=>e("sqm-referral-card",null,nl("left",2),rl("right")),ReferralCardC:()=>e("sqm-referral-card",null,nl("left",3),rl("right")),ReferralCardDStart:()=>e("sqm-referral-card",{"vertical-alignment":"start"},nl("left",4),rl("right")),ReferralCardDCenter:()=>e("sqm-referral-card",{"vertical-alignment":"center"},nl("left",4),rl("right")),ReferralCardDEnd:()=>e("sqm-referral-card",{"vertical-alignment":"end"},nl("left",4),rl("right")),ReferralCardAFlipped:()=>e("sqm-referral-card",null,tl("right"),rl("left")),ReferralCardBFlipped:()=>e("sqm-referral-card",null,nl("right",2),rl("left")),ReferralCardCFlipped:()=>e("sqm-referral-card",null,nl("right",3),rl("left")),ReferralCardDFlipped:()=>e("sqm-referral-card",null,nl("right",4),rl("left")),TimelineWith1Reward:()=>e("div",null,e("sqm-timeline",null,e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"})),e("br",null)," ",e("hr",null)," ",e("br",null),e("sqm-timeline",{icon:"circle"},e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}))),TimelineWith2Rewards:()=>e("div",null,e("sqm-timeline",null,e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"})),e("br",null)," ",e("hr",null)," ",e("br",null),e("sqm-timeline",{icon:"circle"},e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}))),TimelineWith3Rewards:()=>e("div",null,e("sqm-timeline",null,e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),e("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"})),e("br",null)," ",e("hr",null)," ",e("br",null),e("sqm-timeline",{icon:"circle"},e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),e("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}))),TimelineWith4Rewards:()=>e("div",null,e("sqm-timeline",null,e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),e("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}),e("sqm-timeline-entry",{reward:"$1000",unit:"visa giftcard",desc:"Your friend purchases Klip Team"})),e("br",null)," ",e("hr",null)," ",e("br",null),e("sqm-timeline",{icon:"circle"},e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),e("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}),e("sqm-timeline-entry",{reward:"$1000",unit:"visa giftcard",desc:"Your friend purchases Klip Team"})))}),sl=Object.freeze({__proto__:null,default:{title:"Components/Image"},Image:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png"}),ImageAlignLeft:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png",align:"left"}),ImageAlignCenter:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png",align:"center"}),ImageAlignRight:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png",align:"right"}),ImageMarginLeft:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png",left:"100px"}),ImageMarginRight:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png",right:"100px"}),ImageBackground:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png","background-color":"firebrick"})}),il=Object.freeze({__proto__:null,default:{title:"Components/Titled Section"},AlignLeft:()=>e("sqm-titled-section",{align:"left"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),AlignCenter:()=>e("sqm-titled-section",{align:"center"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),AlignRight:()=>e("sqm-titled-section",{align:"right"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),Padding:()=>e("div",null,e("h3",null,"None"),e("sqm-titled-section",{padding:"none"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xxx-small"),e("sqm-titled-section",{padding:"xxx-small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xx-small"),e("sqm-titled-section",{padding:"xx-small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"x-small"),e("sqm-titled-section",{padding:"x-small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"small"),e("sqm-titled-section",{padding:"small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"medium"),e("sqm-titled-section",{padding:"medium"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"large"),e("sqm-titled-section",{padding:"large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"x-large"),e("sqm-titled-section",{padding:"x-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xx-large"),e("sqm-titled-section",{padding:"xx-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xxx-large"),e("sqm-titled-section",{padding:"xxx-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xxxx-large"),e("sqm-titled-section",{padding:"xxxx-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America")))),LabelMargin:()=>e("div",null,e("h3",null,"None"),e("sqm-titled-section",{"label-margin":"none"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xxx-small"),e("sqm-titled-section",{"label-margin":"xxx-small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xx-small"),e("sqm-titled-section",{"label-margin":"xx-small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"x-small"),e("sqm-titled-section",{"label-margin":"x-small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"small"),e("sqm-titled-section",{"label-margin":"small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"medium"),e("sqm-titled-section",{"label-margin":"medium"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"large"),e("sqm-titled-section",{"label-margin":"large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"x-large"),e("sqm-titled-section",{"label-margin":"x-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xx-large"),e("sqm-titled-section",{"label-margin":"xx-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xxx-large"),e("sqm-titled-section",{"label-margin":"xxx-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xxxx-large"),e("sqm-titled-section",{"label-margin":"xxxx-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))))}),ol=`\n:root{\n ${Q("orange")}\n}\n`,ll=`\n:root{\n ${Q("#e50914")}\n}\n`,ul=`\n:root{\n ${Q("#65bd60")}\n --sl-font-sans: Arial;\n}\n`,dl=`\n:root{\n ${Q("black")}\n --sl-font-sans: Georgia, 'Times New Roman', serif;\n}\n`,cl=`\n:root{\n ${Q("#4225C4")};\n}\n\n`,ml=Object.freeze({__proto__:null,Default:"\n // No CSS\n",Orangey:ol,Netflix:ll,SaaSquatchCorporate:ul,NYTimes:dl,Klip:cl});function pl(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(t){var r=e[t];"object"!=typeof r||Object.isFrozen(r)||pl(r)})),e}var hl=pl;hl.default=pl;class gl{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function fl(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function bl(e,...t){const r=Object.create(null);for(const t in e)r[t]=e[t];return t.forEach((function(e){for(const t in e)r[t]=e[t]})),r}const wl=e=>!!e.kind;class xl{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=fl(e)}openNode(e){if(!wl(e))return;let t=e.kind;e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){wl(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}class vl{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{vl._collapse(e)})))}}class El extends vl{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const r=e.root;r.kind=t,r.sublanguage=!0,this.add(r)}toHTML(){return new xl(this,this.options).value()}finalize(){return!0}}function yl(e){return e?"string"==typeof e?e:e.source:null}const ql=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,Dl="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Cl={begin:"\\\\[\\s\\S]",relevance:0},Al={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[Cl]},kl={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[Cl]},Rl={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Tl=function(e,t,r={}){const n=bl({className:"comment",begin:e,end:t,contains:[]},r);return n.contains.push(Rl),n.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),n},Pl=Tl("//","$"),Nl=Tl("/\\*","\\*/"),Il=Tl("#","$");var Fl=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:"[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE:"[a-zA-Z_]\\w*",NUMBER_RE:"\\b\\d+(\\.\\d+)?",C_NUMBER_RE:Dl,BINARY_NUMBER_RE:"\\b(0b[01]+)",RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=function(...e){return e.map((e=>yl(e))).join("")}(t,/.*\b/,e.binary,/\b.*/)),bl({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:Cl,APOS_STRING_MODE:Al,QUOTE_STRING_MODE:kl,PHRASAL_WORDS_MODE:Rl,COMMENT:Tl,C_LINE_COMMENT_MODE:Pl,C_BLOCK_COMMENT_MODE:Nl,HASH_COMMENT_MODE:Il,NUMBER_MODE:{className:"number",begin:"\\b\\d+(\\.\\d+)?",relevance:0},C_NUMBER_MODE:{className:"number",begin:Dl,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:"\\b(0b[01]+)",relevance:0},CSS_NUMBER_MODE:{className:"number",begin:"\\b\\d+(\\.\\d+)?(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Cl,{begin:/\[/,end:/\]/,relevance:0,contains:[Cl]}]}]},TITLE_MODE:{className:"title",begin:"[a-zA-Z]\\w*",relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:"[a-zA-Z_]\\w*",relevance:0},METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}});function Sl(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function Ll(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Sl,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Bl(e){Array.isArray(e.illegal)&&(e.illegal=function(...e){return"("+e.map((e=>yl(e))).join("|")+")"}(...e.illegal))}function Ol(e){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function jl(e){void 0===e.relevance&&(e.relevance=1)}const _l=["of","and","for","in","not","or","if","then","parent","list","value"];function Vl(e,t,r="keyword"){const n={};return"string"==typeof e?a(r,e.split(" ")):Array.isArray(e)?a(r,e):Object.keys(e).forEach((function(r){Object.assign(n,Vl(e[r],t,r))})),n;function a(e,r){t&&(r=r.map((e=>e.toLowerCase()))),r.forEach((function(t){const r=t.split("|");n[r[0]]=[e,Gl(r[0],r[1])]}))}}function Gl(e,t){return t?Number(t):function(e){return _l.includes(e.toLowerCase())}(e)?0:1}function Ml(e,{}){function t(t,r){return new RegExp(yl(t),"m"+(e.case_insensitive?"i":"")+(r?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=function(e){return new RegExp(e.toString()+"|").exec("").length-1}(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(function(e,t="|"){let r=0;return e.map((e=>{r+=1;const t=r;let n=yl(e),a="";for(;n.length>0;){const e=ql.exec(n);if(!e){a+=n;break}a+=n.substring(0,e.index),n=n.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?a+="\\"+String(Number(e[1])+t):(a+=e[0],"("===e[0]&&r++)}return a})).map((e=>`(${e})`)).join(t)}(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const r=t.findIndex(((e,t)=>t>0&&void 0!==e)),n=this.matchIndexes[r];return t.splice(0,r),Object.assign(t,n)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new r;return this.rules.slice(e).forEach((([e,r])=>t.addRule(e,r))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let r=t.exec(e);if(this.resumingScanAtSamePosition())if(r&&r.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,r=t.exec(e)}return r&&(this.regexIndex+=r.position+1,this.regexIndex===this.count&&this.considerAll()),r}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=bl(e.classNameAliases||{}),function r(a,s){const i=a;if(a.isCompiled)return i;[Ol].forEach((e=>e(a,s))),e.compilerExtensions.forEach((e=>e(a,s))),a.__beforeBegin=null,[Ll,Bl,jl].forEach((e=>e(a,s))),a.isCompiled=!0;let o=null;if("object"==typeof a.keywords&&(o=a.keywords.$pattern,delete a.keywords.$pattern),a.keywords&&(a.keywords=Vl(a.keywords,e.case_insensitive)),a.lexemes&&o)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return o=o||a.lexemes||/\w+/,i.keywordPatternRe=t(o,!0),s&&(a.begin||(a.begin=/\B|\b/),i.beginRe=t(a.begin),a.endSameAsBegin&&(a.end=a.begin),a.end||a.endsWithParent||(a.end=/\B|\b/),a.end&&(i.endRe=t(a.end)),i.terminatorEnd=yl(a.end)||"",a.endsWithParent&&s.terminatorEnd&&(i.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(i.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map((function(e){return function(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return bl(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:Ul(e)?bl(e,{starts:e.starts?bl(e.starts):null}):Object.isFrozen(e)?bl(e):e}("self"===e?a:e)}))),a.contains.forEach((function(e){r(e,i)})),a.starts&&r(a.starts,s),i.matcher=function(e){const t=new n;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(i),i}(e)}function Ul(e){return!!e&&(e.endsWithParent||Ul(e.starts))}function Hl(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,fl(this.code);let t={};return this.autoDetect?(t=e.highlightAuto(this.code),this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),t.value},autoDetect(){return!this.language||(e=this.autodetect,Boolean(e||""===e));var e},ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(e){e.component("highlightjs",t)}}}}const Wl={"after:highlightElement":({el:e,result:t,text:r})=>{const n=$l(e);if(!n.length)return;const a=document.createElement("div");a.innerHTML=t.value,t.value=function(e,t,r){let n=0,a="";const s=[];function i(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:"start"===t[0].event?e:t:e.length?e:t}function o(e){a+="<"+zl(e)+[].map.call(e.attributes,(function(e){return" "+e.nodeName+'="'+fl(e.value)+'"'})).join("")+">"}function l(e){a+="</"+zl(e)+">"}function u(e){("start"===e.event?o:l)(e.node)}for(;e.length||t.length;){let t=i();if(a+=fl(r.substring(n,t[0].offset)),n=t[0].offset,t===e){s.reverse().forEach(l);do{u(t.splice(0,1)[0]),t=i()}while(t===e&&t.length&&t[0].offset===n);s.reverse().forEach(o)}else"start"===t[0].event?s.push(t[0].node):s.pop(),u(t.splice(0,1)[0])}return a+fl(r.substr(n))}(n,$l(a),r)}};function zl(e){return e.nodeName.toLowerCase()}function $l(e){const t=[];return function e(r,n){for(let a=r.firstChild;a;a=a.nextSibling)3===a.nodeType?n+=a.nodeValue.length:1===a.nodeType&&(t.push({event:"start",offset:n,node:a}),n=e(a,n),zl(a).match(/br|hr|img|input/)||t.push({event:"stop",offset:n,node:a}));return n}(e,0),t}const Jl={},Xl=e=>{console.error(e)},Kl=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Yl=(e,t)=>{Jl[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Jl[`${e}/${t}`]=!0)},Zl=fl,Ql=bl,eu=Symbol("nomatch");var tu=function(e){const t=Object.create(null),r=Object.create(null),n=[];let a=!0;const s=/(^(<[^>]+>|\t|)+|\n)/gm,i="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:El};function u(e){return l.noHighlightRe.test(e)}function d(e,t,r,n){let a="",s="";"object"==typeof t?(a=e,r=t.ignoreIllegals,s=t.language,n=void 0):(Yl("10.7.0","highlight(lang, code, ...args) has been deprecated."),Yl("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),s=e,a=t);const i={code:a,language:s};q("before:highlight",i);const o=i.result?i.result:c(i.language,i.code,r,n);return o.code=i.code,q("after:highlight",o),o}function c(e,r,s,o){function u(e,t){const r=x.case_insensitive?t[0].toLowerCase():t[0];return Object.prototype.hasOwnProperty.call(e.keywords,r)&&e.keywords[r]}function d(){null!=q.subLanguage?function(){if(""===A)return;let e=null;if("string"==typeof q.subLanguage){if(!t[q.subLanguage])return void C.addText(A);e=c(q.subLanguage,A,!0,D[q.subLanguage]),D[q.subLanguage]=e.top}else e=m(A,q.subLanguage.length?q.subLanguage:null);q.relevance>0&&(k+=e.relevance),C.addSublanguage(e.emitter,e.language)}():function(){if(!q.keywords)return void C.addText(A);let e=0;q.keywordPatternRe.lastIndex=0;let t=q.keywordPatternRe.exec(A),r="";for(;t;){r+=A.substring(e,t.index);const n=u(q,t);if(n){const[e,a]=n;C.addText(r),r="",k+=a,e.startsWith("_")?r+=t[0]:C.addKeyword(t[0],x.classNameAliases[e]||e)}else r+=t[0];e=q.keywordPatternRe.lastIndex,t=q.keywordPatternRe.exec(A)}r+=A.substr(e),C.addText(r)}(),A=""}function p(e){return e.className&&C.openNode(x.classNameAliases[e.className]||e.className),q=Object.create(e,{parent:{value:q}}),q}function h(e,t,r){let n=function(e,t){const r=e&&e.exec(t);return r&&0===r.index}(e.endRe,r);if(n){if(e["on:end"]){const r=new gl(e);e["on:end"](t,r),r.isMatchIgnored&&(n=!1)}if(n){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return h(e.parent,t,r)}function g(e){return 0===q.matcher.regexIndex?(A+=e[0],1):(P=!0,0)}function f(e){const t=e[0],n=r.substr(e.index),a=h(q,e,n);if(!a)return eu;const s=q;s.skip?A+=t:(s.returnEnd||s.excludeEnd||(A+=t),d(),s.excludeEnd&&(A=t));do{q.className&&C.closeNode(),q.skip||q.subLanguage||(k+=q.relevance),q=q.parent}while(q!==a.parent);return a.starts&&(a.endSameAsBegin&&(a.starts.endRe=a.endRe),p(a.starts)),s.returnEnd?0:t.length}let b={};function w(t,n){const i=n&&n[0];if(A+=t,null==i)return d(),0;if("begin"===b.type&&"end"===n.type&&b.index===n.index&&""===i){if(A+=r.slice(n.index,n.index+1),!a){const t=new Error("0 width match regex");throw t.languageName=e,t.badRule=b.rule,t}return 1}if(b=n,"begin"===n.type)return function(e){const t=e[0],r=e.rule,n=new gl(r),a=[r.__beforeBegin,r["on:begin"]];for(const r of a)if(r&&(r(e,n),n.isMatchIgnored))return g(t);return r&&r.endSameAsBegin&&(r.endRe=new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),r.skip?A+=t:(r.excludeBegin&&(A+=t),d(),r.returnBegin||r.excludeBegin||(A=t)),p(r),r.returnBegin?0:t.length}(n);if("illegal"===n.type&&!s){const e=new Error('Illegal lexeme "'+i+'" for mode "'+(q.className||"<unnamed>")+'"');throw e.mode=q,e}if("end"===n.type){const e=f(n);if(e!==eu)return e}if("illegal"===n.type&&""===i)return 1;if(T>1e5&&T>3*n.index)throw new Error("potential infinite loop, way more iterations than matches");return A+=i,i.length}const x=v(e);if(!x)throw Xl(i.replace("{}",e)),new Error('Unknown language: "'+e+'"');const E=Ml(x,{plugins:n});let y="",q=o||E;const D={},C=new l.__emitter(l);!function(){const e=[];for(let t=q;t!==x;t=t.parent)t.className&&e.unshift(t.className);e.forEach((e=>C.openNode(e)))}();let A="",k=0,R=0,T=0,P=!1;try{for(q.matcher.considerAll();;){T++,P?P=!1:q.matcher.considerAll(),q.matcher.lastIndex=R;const e=q.matcher.exec(r);if(!e)break;const t=w(r.substring(R,e.index),e);R=e.index+t}return w(r.substr(R)),C.closeAllNodes(),C.finalize(),y=C.toHTML(),{relevance:Math.floor(k),value:y,language:e,illegal:!1,emitter:C,top:q}}catch(t){if(t.message&&t.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:t.message,context:r.slice(R-100,R+100),mode:t.mode},sofar:y,relevance:0,value:Zl(r),emitter:C};if(a)return{illegal:!1,relevance:0,value:Zl(r),emitter:C,language:e,top:q,errorRaised:t};throw t}}function m(e,r){r=r||l.languages||Object.keys(t);const n=function(e){const t={relevance:0,emitter:new l.__emitter(l),value:Zl(e),illegal:!1,top:o};return t.emitter.addText(e),t}(e),a=r.filter(v).filter(y).map((t=>c(t,e,!1)));a.unshift(n);const s=a.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(v(e.language).supersetOf===t.language)return 1;if(v(t.language).supersetOf===e.language)return-1}return 0})),[i,u]=s,d=i;return d.second_best=u,d}const p={"before:highlightElement":({el:e})=>{l.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightElement":({result:e})=>{l.useBR&&(e.value=e.value.replace(/\n/g,"<br>"))}},h=/^(<[^>]+>|\t)+/gm,g={"after:highlightElement":({result:e})=>{l.tabReplace&&(e.value=e.value.replace(h,(e=>e.replace(/\t/g,l.tabReplace))))}};function f(e){let t=null;const n=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const r=l.languageDetectRe.exec(t);if(r){const t=v(r[1]);return t||(Kl(i.replace("{}",r[1])),Kl("Falling back to no-highlight mode for this block.",e)),t?r[1]:"no-highlight"}return t.split(/\s+/).find((e=>u(e)||v(e)))}(e);if(u(n))return;q("before:highlightElement",{el:e,language:n}),t=e;const a=t.textContent,s=n?d(a,{language:n,ignoreIllegals:!0}):m(a);q("after:highlightElement",{el:e,result:s,text:a}),e.innerHTML=s.value,function(e,t,n){const a=t?r[t]:n;e.classList.add("hljs"),a&&e.classList.add(a)}(e,n,s.language),e.result={language:s.language,re:s.relevance,relavance:s.relevance},s.second_best&&(e.second_best={language:s.second_best.language,re:s.second_best.relevance,relavance:s.second_best.relevance})}const b=()=>{b.called||(b.called=!0,Yl("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(f))};let w=!1;function x(){"loading"!==document.readyState?document.querySelectorAll("pre code").forEach(f):w=!0}function v(e){return e=(e||"").toLowerCase(),t[e]||t[r[e]]}function E(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{r[e.toLowerCase()]=t}))}function y(e){const t=v(e);return t&&!t.disableAutodetect}function q(e,t){const r=e;n.forEach((function(e){e[r]&&e[r](t)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){w&&x()}),!1),Object.assign(e,{highlight:d,highlightAuto:m,highlightAll:x,fixMarkup:function(e){return Yl("10.2.0","fixMarkup will be removed entirely in v11.0"),Yl("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),t=e,l.tabReplace||l.useBR?t.replace(s,(e=>"\n"===e?l.useBR?"<br>":e:l.tabReplace?e.replace(/\t/g,l.tabReplace):e)):t;var t},highlightElement:f,highlightBlock:function(e){return Yl("10.7.0","highlightBlock will be removed entirely in v12.0"),Yl("10.7.0","Please use highlightElement now."),f(e)},configure:function(e){e.useBR&&(Yl("10.3.0","'useBR' will be removed entirely in v11.0"),Yl("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=Ql(l,e)},initHighlighting:b,initHighlightingOnLoad:function(){Yl("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),w=!0},registerLanguage:function(r,n){let s=null;try{s=n(e)}catch(e){if(Xl("Language definition for '{}' could not be registered.".replace("{}",r)),!a)throw e;Xl(e),s=o}s.name||(s.name=r),t[r]=s,s.rawDefinition=n.bind(null,e),s.aliases&&E(s.aliases,{languageName:r})},unregisterLanguage:function(e){delete t[e];for(const t of Object.keys(r))r[t]===e&&delete r[t]},listLanguages:function(){return Object.keys(t)},getLanguage:v,registerAliases:E,requireLanguage:function(e){Yl("10.4.0","requireLanguage will be removed entirely in v11."),Yl("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const t=v(e);if(t)return t;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:y,inherit:Ql,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),n.push(e)},vuePlugin:Hl(e).VuePlugin}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString="10.7.3";for(const e in Fl)"object"==typeof Fl[e]&&hl(Fl[e]);return Object.assign(e,Fl),e.addPlugin(p),e.addPlugin(Wl),e.addPlugin(g),e}({});tu.registerLanguage("gherkin",(function(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}));const ru=({story:t},r)=>{var n;let a,s=null===(n=t.parent.parameters)||void 0===n?void 0:n.scenario;try{a=tu.highlight("gherkin",s)}catch(e){}return e("div",null,e("details",null,e("summary",null,"Specs"),a&&e("pre",{innerHTML:a.value})),r)},nu=[dr,cr,mr,gr,Dr,Fr,Or,hn,fn,vn,qr,Ar,Rr,En,Xn,Kn,Yn,ta,ia,ca,fa,qa,Aa,ka,Ia,_a,za,Os,_s,ys,Vs,Gs,Ks,xi,Di,Ci,ki,Ri,Pi,Fi,vo,Pn,Mn,jn,Eo,yo,Co,Po,No,zo,$o,Qo,el,al,sl,il],au=class{constructor(e){t(this,e),this.ignored=!0,l(this)}disconnectedCallback(){}render(){const{class:t,children:n}=function(t,r){var n=r.h,i=void 0===n?e:n,o=r.title,l=void 0===o?"Stencilbook":o,u=r.homepage,d=void 0===u?i("h3",null,"Select a story!"):u,c=r.addons,m=void 0===c?[]:c,p=a((function(){return t.map(ur).reduce(lr,{_:[]})}),t),h=s(void 0),g=h[0],f=h[1],b=null==g?void 0:g.key,w=s("desktop"),x=w[0],v=w[1],E=s(!0),y=E[0],q=E[1],D=s(!1),C=D[0],A=D[1],k=function(){return i("div",{class:"dynamic-display-wrapper"},i("div",{class:"button-wrapper"},i("button",{class:"desktop"===x?"active":"",onClick:function(){return v("desktop")}},"Desktop"),i("button",{class:"tablet"===x?"active":"",onClick:function(){return v("tablet")}},"Tablet"),i("button",{class:"mobile"===x?"active":"",onClick:function(){return v("mobile")}},"Mobile")),i("p",null,"Note: Currently doesn't test breakpoints, use the native tester for now"),i("hr",null),i("button",{class:C?"active":"",onClick:function(){return A((function(e){return!e}))}},"Toggle Dark Background"),i("hr",null),i("button",{class:y?"active":"",onClick:function(){return q((function(e){return!e}))}},"Toggle Sidebar"))},R="mobile"===x?"375px":"tablet"===x?"768px":"1124px",T=tr(sr||(sr=nr(["\n max-width: ",";\n margin-left: ",";\n "])),R,y?"250px":"0px"),P=tr(ir||(ir=nr(["\n display: none;\n "])));document.body.style.backgroundColor=C?"#232323":"#fafafa";var N=function(e){var t=e.selected,r=m.reduce((function(e,r){return function(){return i(r,{story:rr({},t)},i(e,null))}}),null==t?void 0:t.story);return i(r,null)},I=function(){return i("div",{class:"story-book-outer-div"},i("div",{class:"story-div "+(y?"":P)},i("div",{class:"header",onClick:function(){f(void 0)}},i("h2",null,l)),i("ul",{class:"parentStoryList"},Object.keys(p).sort().map((function(e){return i("div",{class:"group-wrapper"},"_"!==e&&i("h4",{class:"group-header"},e),p[e].map((function(t){return i("li",{class:"parentStory"},i("details",{style:{marginBottom:"10px"}},i("summary",{style:{outline:"none"}},t.story.title),t.subs&&Object.keys(t.subs).map((function(r){var n=e+"/"+r,a=t.subs[r],s=a.storyName||_e(r);return i("div",{class:"subStory "+(b===n?"selected":"")},i("a",{onClick:function(){return function(e,t,r,n){f({key:t,story:e,parent:r,label:n})}(a,n,t.story,s)}},s))}))))})))})))),i(k,null),i("div",{class:"component "+T},!b&&d,b&&i("div",null,i("h3",null,g.label),i(N,{selected:g}))))};return{class:or,children:i(I,null),View:I,selected:g}}(nu,{h:e,title:"Mint Components",addons:[ru,C,fr]}),[i,o]=s("Default"),[l,u]=s(!0),d=Object.keys(ml),c=ml[i];return e(r,{class:t,onClick:{}},e("div",{style:{position:"absolute",top:"0",right:"0",zIndex:"999999"}},"Branding:",e("select",{onChange:e=>o(e.target.value)},d.map((t=>e("option",{selected:t===i},t)))),e("div",null,e("div",null)),e(su,null),e("br",null),e("input",{type:"checkbox",id:"checkerboard",onClick:()=>u(!l),onChange:()=>document.documentElement.style.setProperty("--checker-color-1",l?"#ebebeb":"#ffffff00")}),e("label",{htmlFor:"checkerboard"},"Checkerboard?")),e("style",null,c),e("style",null,"\n\n:root{\n --checker-color-1: #ffffff00;\n --checker-color-2: #ffffff00;\n --checker-size: 7px;\n --checker-gradient: linear-gradient(45deg, var(--checker-color-1) 25%, transparent 25%, transparent 75%, var(--checker-color-1) 75%);\n}\n.resizer{\n resize: horizontal;\n border: 2px dashed gray;\n\tmargin: -2px;\n padding: 12px;\n height: fit-content;\n overflow: hidden;\n}\n\n.resizer{\n background-color: var(--checker-color-2);\n background-image: var(--checker-gradient), var(--checker-gradient);\n background-position: 0 0, var(--checker-size) var(--checker-size);\n background-size: calc(var(--checker-size) * 2) calc(var(--checker-size) * 2);\n}\n"),n)}};function su(){return e("span",null,e(iu,null),e(iu,{type:"success"}),e(iu,{type:"warning"}),e(iu,{type:"danger"}),e(iu,{type:"neutral"}))}function iu({type:t="primary"}){return e("span",{style:{background:`var(--sl-color-${t}-500)`,width:"1em",marginRight:"2px",padding:"0 4px"},title:t},t.charAt(0))}export{au as sqm_stencilbook}
|
|
9
|
+
`;function qn(){const e="testestest",t=e;return window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com",programId:"sam-partner-test-2"},i((()=>(c({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"}),()=>{window.widgetIdent=void 0,c(void 0)})),[]),{id:e,accountId:t}}function Dn(){const{id:e,accountId:t}=qn(),[r,n]=s(10),[a,i]=s(100),[o,{data:l,errors:u}]=p(yn);return{states:{points:r,rate:a},data:{id:e,accountId:t,data:l,errors:u},callbacks:{exchange:o,setPoints:n,setRate:i}}}const Cn=t=>{const{states:r,data:n,callbacks:a}=t;return e("div",null,e("div",null,e("label",null,"Rate:"),e("input",{value:r.rate,onInput:e=>a.setRate(e.target.value)})),e("input",{value:r.points,onInput:e=>a.setPoints(e.target.value)}),e("button",{onClick:()=>a.exchange(t.input)},"Exchange"),e("details",null,e("summary",null,"response"),e("h4",null,"data"),e("div",{style:{maxWidth:"500px"}},e("pre",{style:{width:"500px",whiteSpace:"pre-wrap"}},JSON.stringify(n.data))),e("h4",null,"errors"),e("div",{style:{maxWidth:"500px"}},e("pre",{style:{maxWidth:"500px",whiteSpace:"pre-wrap"}},JSON.stringify(n.errors)))))},An=br((()=>(qn(),e("sqm-reward-exchange-list",{"list-type":"something"})))),kn=br((()=>{const{states:t,data:r,callbacks:n}=Dn();return e(Cn,{states:t,data:r,callbacks:n,input:{exchangeRewardInput:{userId:r.id,accountId:r.accountId,redeemCreditInput:{amount:t.points,unit:"POINT"},globalRewardKey:"gc1"}}})})),Rn=br((()=>{const{states:t,data:r,callbacks:n}=Dn();return e(Cn,{states:t,data:r,callbacks:n,input:{exchangeRewardInput:{userId:r.id,accountId:r.accountId,redeemCreditInput:{amount:t.points,unit:"POINT"},globalRewardKey:"gc1",rewardInput:{valueInCents:Math.ceil(t.points*t.rate)}}}})})),Tn=br((()=>{const{states:t,data:r,callbacks:n}=Dn();return e(Cn,{states:t,data:r,callbacks:n,input:{exchangeRewardInput:{userId:r.id,accountId:r.accountId,redeemCreditInput:{amount:t.points,unit:"POINT"},rewardInput:{type:"CREDIT",unit:"foo",assignedCredit:Math.ceil(t.points*t.rate)}}}})})),Pn=Object.freeze({__proto__:null,default:{title:"Hooks / useRewardExchange"},RewardList:An,FixedGlobalReward:kn,VariableGlobalReward:Rn,VariableCreditReward:Tn});function Nn(){const e="testestest",t=e;return window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com"},i((()=>(c({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"}),()=>{window.widgetIdent=void 0,c(void 0)})),[]),{id:e,accountId:t}}function In({token:e,id:t}){const r=t;return window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com"},i((()=>(c({accountId:r,id:t,jwt:e}),()=>{window.widgetIdent=void 0,c(void 0)})),[]),{id:t,accountId:r}}const Fn=br((()=>(Nn(),h("sam-partner-test-2"),e("sqm-rewards-table",null,e("sqm-rewards-table-reward-column",null),e("sqm-rewards-table-status-column",null),e("sqm-rewards-table-source-column",null),e("sqm-rewards-table-date-column",null))))),Sn=br((()=>(Nn(),h(void 0),e("sqm-rewards-table",null,e("sqm-rewards-table-reward-column",null),e("sqm-rewards-table-status-column",null),e("sqm-rewards-table-source-column",null),e("sqm-rewards-table-date-column",null))))),Ln=br((()=>(In({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",id:"samenglish"}),h(void 0),e("sqm-rewards-table",{"per-page":"4"},e("sqm-rewards-table-reward-column",null),e("sqm-rewards-table-status-column",null),e("sqm-rewards-table-source-column",null),e("sqm-rewards-table-date-column",null))))),Bn=br((()=>(In({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",id:"samturkey"}),h(void 0),e("sqm-rewards-table",{"per-page":"4","more-label":"Daha","prev-label":"Öncesi","empty-state-text":"Henüz Referans Yok"},e("sqm-rewards-table-reward-column",{"column-title":"Ödüller","redeemed-text":"{redeemedAmount} kullanıldı","available-text":"{availableAmount} mevcut"}),e("sqm-rewards-table-source-column",{"column-title":"Kullanıcılar","anonymous-user":"Anonim Kullanıcı","deleted-user":"Silinmiş Kullanıcı","reward-exchange-text":"Ödülleri Kulannın","referral-text":"{rewardSource, select, FRIEND_SIGNUP {Referans} REFERRED {Yönlendiren} other {}}","reward-source-text":"{rewardSource, select, MANUAL {Manuel} AUTOMATED {Otomatik} other {}}"}),e("sqm-rewards-table-status-column",{"column-title":"Statut","status-text":"{status, select, AVAILABLE {Mevcut} PENDING {Bekleniyor} EXPIRED {Geçmiş} REDEEMED {Kullanılmış} CANCELED {İptal Edildi} other {Kullanılamaz} }","expiry-text":"Bitiyor "}),e("sqm-rewards-table-date-column",{"column-title":"Tarih"}))))),On=br((()=>(In({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",id:"samfrench"}),h(void 0),e("sqm-rewards-table",{"per-page":"4","more-label":"Plus","prev-label":"Précédent","empty-state-text":"Aucune Récompenses Maintenant"},e("sqm-rewards-table-reward-column",{"column-title":"Récompenses","redeemed-text":"{redeemedAmount} rachetée","available-text":"{availableAmount} disponible"}),e("sqm-rewards-table-source-column",{"column-title":"Utilisateur","anonymous-user":"Utilisateur Anonyme","deleted-user":"Utilisateur Supprimé","reward-exchange-text":"Échange de Récompenses","referral-text":"{rewardSource, select, FRIEND_SIGNUP {Référence à} REFERRED {Référencé par} other {}}","reward-source-text":"{rewardSource, select, MANUAL {Manuel} AUTOMATED {Automatique} other {}}"}),e("sqm-rewards-table-status-column",{"column-title":"Statut","status-text":"{status, select, AVAILABLE {Disponible} PENDING {Pendant} EXPIRED {Expiré} REDEEMED {Racheté} CANCELED {Annulé} other {Indisponible} }","expiry-text":"Expire sur "}),e("sqm-rewards-table-date-column",{"column-title":"Date de Réception"}))))),jn=Object.freeze({__proto__:null,default:{title:"Hooks / useRewardsTable"},RewardsTableWithProgram:Fn,RewardsTableNoProgram:Sn,RewardsTableEn:Ln,RewardsTableTr:Bn,RewardsTableFr:On});function _n(){const e="sam+klip@saasquat.ch",t=e;return window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com",programId:"klip-referral-program"},i((()=>(c({accountId:t,id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbStrbGlwQHNhYXNxdWF0LmNoIiwiaWQiOiJzYW0ra2xpcEBzYWFzcXVhdC5jaCIsImVtYWlsIjoic2FtK2tsaXBAc2Fhc3F1YXQuY2giLCJsb2NhbGUiOiJlbiJ9fQ.a2nYYrSJ81FHXlCU-Sqp_-wquQizinHBhzwzULDzimg"}),()=>{window.widgetIdent=void 0,c(void 0)})),[]),{id:e,accountId:t}}const Vn=br((()=>(_n(),e("sqm-task-card",{"card-title":"Comment on 5 articles","button-text":"Start reading",goal:5,steps:!0,"show-progress-bar":!0,"event-key":"testEvent","open-new-tab":!0})))),Gn=br((()=>(_n(),e("sqm-card-feed",null,e("sqm-task-card",{"reward-amount":"75","card-title":"Refer a Friend",description:"Invite a friend to Klip and get 75 points when they signup for a free trial or contact our us about an enterprise license.","button-text":"Start referring","button-link":"https://klip-staging.vercel.app/app/klip-rewards",goal:1,repeatable:!0,"completed-text":"",demoData:"","ended-message":"","event-key":"","expiry-message":"","progress-bar-unit":"","reward-duration":"2022-01-04T08:00:00.000Z/2022-01-20T08:00:00.000Z","reward-unit":"","starts-on-message":"","stat-type":"","display-duration":"2022-01-04T08:00:00.000Z/2022-01-05T08:00:00.000Z"}),e("sqb-program-section",{"program-id":"klip-loyalty"},e("sqm-task-card",{"reward-amount":"50","card-title":"Follow Us on Twitter",description:"Earn 50 points when you follow us on Twitter!","button-text":"Follow","button-link":"https://twitter.com/",goal:1,"stat-type":"/programGoals/count/Follow-on-Social-Media","open-new-tab":"true","event-key":"socialFollow"})),e("sqm-task-card",{"reward-amount":"250",goal:500,"show-progress-bar":"true","card-title":"Spend $500 on Klip Products",description:"Earn 250 points when you spend $500 or more on Klip products.","button-text":"See plans","button-link":"https://klip-staging.vercel.app/app/plans","stat-type":"/customFields/purchaseTotal","open-new-tab":"false"}),e("sqb-program-section",{"program-id":"klip-loyalty"},e("sqm-task-card",{"reward-amount":"25",goal:1,"card-title":"Upload Your First Video",description:"Earn 25 points for exploring the Klip platform when you upload your first video.","button-text":"Upload","button-link":"https://klip-staging.vercel.app/app","stat-type":"/programGoals/count/Record-First-Video","open-new-tab":"false"})),e("sqm-task-card",{"reward-amount":"100",goal:5,repeatable:!0,"show-progress-bar":"true",steps:!0,"card-title":"Share 5 Videos",description:"Earn 100 points for collaborating each time you share 5 videos.","button-text":"Share","button-link":"https://klip-staging.vercel.app/app","stat-type":"/customFields/videosShared","open-new-tab":"false"}),e("sqb-program-section",{"program-id":"klip-loyalty"},e("sqm-task-card",{"reward-amount":"1","reward-unit":"Free Month",goal:1,"card-title":"Upgrade Your Plan",description:"Buy a Business or Enterprise plan and get 1 free month of Klip for being a committed customer.","button-text":"Upgrade","button-link":"https://klip-staging.vercel.app/app/plans","stat-type":"/programGoals/count/Upgrade-Plan","open-new-tab":"false"})),e("sqm-task-card",{"reward-amount":"200",goal:5,"show-progress-bar":"","card-title":"Purchase 5 Seats",description:"Earn 200 points when you expand your Klip Team by purchasing 5 or more seats.","button-text":"Purchase seats","button-link":"https://klip-staging.vercel.app/app/plans","stat-type":"/customFields/seatCount"}),e("sqm-task-card",{"reward-amount":"250",goal:1,"show-progress-bar":"","card-title":"Upload 1 Hour of Video",description:"Record and upload an hour of video and get 250 points for being a super user.","button-text":"Upload","button-link":"https://klip-staging.vercel.app/app","stat-type":"/customFields/videoHoursCount","progress-bar-unit":"","reward-unit":"Points"}),e("sqb-program-section",{"program-id":"klip-loyalty"},e("sqm-task-card",{"reward-amount":"100",goal:1,"card-title":"Complete an NPS Survey",description:"Fill out our NPS survey and get 100 points for giving us honest feedback. Be sure to use your Klip account email when completing the survey.","button-text":"Complete survey","button-link":"https://y5tqgj96plv.typeform.com/to/p6N7lHUk","stat-type":"/programGoals/count/NPS-Survey","reward-unit":"Points","open-new-tab":"true"})),e("sqb-conditional-section",{condition:"'champion' in user.segments"},e("sqb-program-section",{"program-id":"klip-loyalty"},e("sqm-task-card",{"reward-amount":"$100",goal:1,"card-title":"Complete a Case Study",description:"Write a Klip case study and earn a $100 Visa Gift Card for letting us know how Klip has helped your team succeed.","button-text":"Complete case study","button-link":"https://y5tqgj96plv.typeform.com/to/CPhkFBBW","stat-type":"/programGoals/count/Case-Study","reward-unit":"Visa Gift Card","open-new-tab":"true"}))))))),Mn=Object.freeze({__proto__:null,default:{title:"Hooks / useTaskCard"},TaskCard:Vn,TaskCardFeed:Gn}),Un=g({HeaderSubtitleBold:{"font-weight":500,"text-decoration":"underline"}}),Hn=Un.toString(),Wn={data:{programs:[{key:"program1",label:"My Referral Program"},{key:"program2",label:"My Rewards Program"}]}},zn={states:{active:!1},data:{label:"Dashboard",icon:"house",path:"/"}},$n={states:{active:!0},data:{label:"Activity",icon:"bar-chart",path:"/"}},Jn=()=>e(R,Object.assign({},Wn),e(T,Object.assign({},zn)),e(T,Object.assign({},$n))),Xn=Object.freeze({__proto__:null,default:{title:"New Portal"},Dashboard:()=>{const t={shareString:"https://ssqt.co/johnsmithrox",open:!1,disabled:!1,tooltiptext:"Share link copied",onClick:()=>console.log("Share link copied")},r={shareString:"JOHNSMITH1",open:!1,disabled:!1,tooltiptext:"Share code copied",onClick:()=>console.log("Share code copied")};return e("sqm-divided-layout",{direction:"row"},e("style",{type:"text/css"},Hn),e(Jn,null),e("sqm-divided-layout",{direction:"column"},e(S,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),e(ee,Object.assign({},{labelMargin:"xx-small",padding:"none",label:e("sqm-text",null,e("p",null,"Welcome back,")),content:e("sqm-text",null,e("h1",null,"John Smith"))})),e(j,Object.assign({},{space:"64px"}),e(x,Object.assign({},{statvalue:"2,345",value:234500,loading:!1}),"Clicks"),e(x,Object.assign({},{statvalue:"58",value:58,loading:!1}),"Referrals"),e(x,Object.assign({},{statvalue:"$10,540",value:1054e3,loading:!1}),"Earned"),e(x,Object.assign({},{statvalue:"$2,305",value:230500,loading:!1}),"Awaiting Payout"))),e(S,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),e(ee,Object.assign({},{labelMargin:"x-large",padding:"none",label:e("sqm-text",null,e("h2",null,"Partner and Profit")),content:e("sqm-text",null,e("p",null,"Get rewarded for referring potential customers to MyCompany. Earn commission for each successful lead you send our way"))})),e(ee,Object.assign({},{labelMargin:"small",padding:"none",label:e("sqm-text",null,e("h3",null,"Share your referral link")),content:e(V,Object.assign({},t))})),e(ee,Object.assign({},{labelMargin:"small",padding:"none",label:e("sqm-text",null,e("h3",null,"Share your referral code")),content:e(V,Object.assign({},r))})),e(ee,Object.assign({},{labelMargin:"small",padding:"none",label:e("sqm-text",null,e("h3",null,"Share via social media")),content:e(S,Object.assign({},{direction:"row",padding:"large",gap:"xxx-large",minWidth:"150px"}),e(_,Object.assign({},{medium:"twitter",loading:!1,disabled:!1,pill:!0,type:"default",size:"medium",icon:"twitter",hideicon:!1,iconslot:"prefix",onClick:()=>"Facebook share clicked",hide:!1}),"Tweet about us"),e(_,Object.assign({},{medium:"facebook",loading:!1,disabled:!1,pill:!0,type:"default",size:"medium",icon:"facebook",hideicon:!1,iconslot:"prefix",onClick:()=>"Facebook share clicked",hide:!1}),"Share on Facebook"),e(_,Object.assign({},{medium:"linkedin",loading:!1,disabled:!1,pill:!0,type:"default",size:"medium",icon:"linkedin",hideicon:!1,iconslot:"prefix",onClick:()=>"Facebook share clicked",hide:!1}),"Post on Linkedin"))})))))},EditProfile:()=>e("sqm-divided-layout",{direction:"row"},e("style",{type:"text/css"},Hn),e(Jn,null),e("sqm-divided-layout",{direction:"column"},e(L,Object.assign({},{states:{success:!1,loading:!1,submitDisabled:!1,showCountry:!1,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}})),e(W,Object.assign({},{states:{open:!0,error:"",loading:!1,success:!1,content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:()=>console.log("open"),submit:()=>console.log("submit")}})))),Commissions:()=>e("sqm-divided-layout",{direction:"row"},e("style",{type:"text/css"},Hn),e(Jn,null),e("sqm-divided-layout",{direction:"column"},e(S,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),e(ee,Object.assign({},{labelMargin:"xx-small",padding:"none",label:e("sqm-text",null,e("h2",null,"Commissions")),content:e("sqm-text",null,e("p",null,"for the"," ",e("span",{class:Un.classes.HeaderSubtitleBold},"Partner Program #1")," ","program"))})),e(j,Object.assign({},{space:"64px"}),e(x,Object.assign({},{statvalue:"$ 1,000",value:1e5,loading:!1}),"Total Earned"),e(x,Object.assign({},{statvalue:"$ 800",value:8e4,loading:!1}),"Available"),e(x,Object.assign({},{statvalue:"$ 180",value:18e3,loading:!1}),"Pending"),e(x,Object.assign({},{statvalue:"$ 20",value:2e3,loading:!1}),"Redeemed"))))),Activity:()=>e("sqm-divided-layout",{direction:"row"},e("style",{type:"text/css"},Hn),e(Jn,null),e("sqm-divided-layout",{direction:"column"},e(S,Object.assign({},{direction:"column",padding:"xxx-large",gap:"xxx-large"}),e(ee,Object.assign({},{labelMargin:"xx-small",padding:"none",label:e("sqm-text",null,e("h2",null,"Activity")),content:e("sqm-text",null,e("p",null,"for the"," ",e("span",{class:Un.classes.HeaderSubtitleBold},"Partner Program #1")," ","program"))})),e(ee,Object.assign({},{labelMargin:"x-large",padding:"none",label:e("sqm-text",null,e("h3",null,"Referral Activity")),content:e(j,Object.assign({},{space:"64px"}),e(x,Object.assign({},{statvalue:"1,000",value:1e5,loading:!1}),"Total Referrals"),e(x,Object.assign({},{statvalue:"800",value:800,loading:!1}),"Converted"),e(x,Object.assign({},{statvalue:"180",value:180,loading:!1}),"Pending"),e(x,Object.assign({},{statvalue:"20",value:20,loading:!1}),"Disqualified"))}))),e(ee,Object.assign({},{labelMargin:"x-large",padding:"xxx-large",label:e("sqm-text",null,e("h3",null,"Traffic Generated")),content:e(j,Object.assign({},{space:"64px"}),e(x,Object.assign({},{statvalue:"1,000",value:1e3,loading:!1}),"Clicks"),e(x,Object.assign({},{statvalue:"800",value:800,loading:!1}),"From share link"),e(x,Object.assign({},{statvalue:"180",value:180,loading:!1}),"From share mediums"))}))))}),Kn=Object.freeze({__proto__:null,default:{title:"Components/Sidebar Item"},InactiveItem:()=>e(T,Object.assign({},{states:{active:!1},data:{label:"Dashboard",icon:"house",path:"/"}})),ActiveItem:()=>e(T,Object.assign({},{states:{active:!0},data:{label:"Dashboard",icon:"house",path:"/"}}))}),Yn=Object.freeze({__proto__:null,default:{title:"Components/Navigation Sidebar"},DefaultNavigationSidebar:()=>e(R,Object.assign({},{data:{programs:[{key:"program1",label:"My Referral Program"},{key:"program2",label:"My Rewards Program"}]}}),e(T,Object.assign({},{states:{active:!1},data:{label:"Dashboard",icon:"house",path:"/"}})),e(T,Object.assign({},{states:{active:!0},data:{label:"Activity",icon:"bar-chart",path:"/"}})))}),Zn={states:{error:"",loading:!1,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:async e=>await e},content:{pageLabel:"Sign in to your account"}},Qn={states:{error:"Something went wrong. Please try again.",loading:!1,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:async e=>await e},content:{pageLabel:"Sign in to your account"}},ea={states:{error:"",loading:!0,forgotPasswordPath:"/forgotPassword",registerPath:"/register"},callbacks:{submit:async e=>await e},content:{pageLabel:"Sign in to your account"}},ta=Object.freeze({__proto__:null,default:{title:"Components/Portal Login"},Default:()=>e(z,Object.assign({},Zn)),LoginWithError:()=>e(z,Object.assign({},Qn)),LoginLoading:()=>e(z,Object.assign({},ea))}),ra={states:{error:"",loading:!1,confirmPassword:!0,hideInputs:!1,loginPath:"/login"},callbacks:{submit:()=>console.log("Submit!"),inputFunction:()=>{}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}},na={states:{error:"Something went wrong. Please try again.",loading:!1,confirmPassword:!0,hideInputs:!1,loginPath:"/login"},callbacks:{submit:()=>console.log("Submit!"),inputFunction:()=>{}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}},aa={states:{error:"",loading:!0,confirmPassword:!0,hideInputs:!1,loginPath:"/login"},callbacks:{submit:()=>console.log("Submit!"),inputFunction:()=>{}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password"}},sa={states:{error:"",loading:!1,confirmPassword:!0,hideInputs:!1,loginPath:"/login"},callbacks:{submit:()=>console.log("Submit!"),inputFunction:()=>{}},refs:{formRef:{}},content:{pageLabel:"Register",confirmPasswordLabel:"Confirm Password",formData:e("div",null,e("sl-input",{style:{marginBottom:"var(--sl-spacing-x-large)"},exportparts:"label: input-label",label:"Slotted Input",required:!0}),e("sl-input",{exportparts:"label: input-label",label:"Slotted Input 2",required:!0}))}},ia=Object.freeze({__proto__:null,default:{title:"Components/Portal Register"},Default:()=>e($,Object.assign({},ra)),RegisterWithError:()=>e($,Object.assign({},na)),RegisterLoading:()=>e($,Object.assign({},aa)),FieldsHidden:()=>e("sqm-portal-register",{demoData:{states:{error:"",loading:!0,confirmPassword:!0,hideInputs:!0,loginPath:"/login"}}}),SlottedInputs:()=>e($,Object.assign({},sa)),TermsAndConditions:()=>e($,Object.assign({},ra,{content:{...ra.content,terms:e("p",null,"By signing up you agree to the"," ",e("a",{href:"https://example.com",target:"_blank"},"Terms and Conditions"))}}))}),oa={states:{error:"",loading:!1,success:!1,loginPath:"/login"},callbacks:{submit:async e=>await e},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}},la={states:{error:"Something went wrong. Please try again.",loading:!1,success:!1,loginPath:"/login"},callbacks:{submit:async e=>await e},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}},ua={states:{error:"",loading:!0,success:!1,loginPath:"/login"},callbacks:{submit:async e=>await e},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}},da={states:{error:"",loading:!1,success:!0,loginPath:"/login"},callbacks:{submit:async e=>await e},content:{secondaryButton:"Cancel",messageSlot:"Enter your email below to receive a password reset link."}},ca=Object.freeze({__proto__:null,default:{title:"Components/Portal Forgot Password",parameters:{scenario:'@author:derek\r\n@owner:ian\r\nFeature: Forgot Password\r\n\r\n @motivating\r\n Scenario: Users can request to reset their password\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click "Reset Password"\r\n Then the button enters a loading state\r\n When the password reset email is sent\r\n Then a confirmation banner is shown stating a password reset email was sent\r\n\r\n @motivating\r\n Scenario: Users are notified if sending their password reset email fails\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click "Reset Password"\r\n Then the button enters a loading state\r\n When the password reset email fails to send\r\n Then the user does not receive a password reset email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n @landmine\r\n Scenario: If the input email is not associated to an account a success banner is shown but an email is not be sent\r\n Given the user entered an email address that is not associated to an accoun\r\n When they click "Reset Password"\r\n Then the button enters a loading state\r\n But no email is sent\r\n And a success banner is shown stating a password reset email was sent if the given email was associated to an account\r\n\r\n @motivating\r\n Scenario: Users can resend password reset email\r\n Given a user had previously requested to reset their password\r\n When they enter their email address\r\n And that email address is linked to a previously created account\r\n And they click "Reset Password"\r\n Then the user receives a second password reset email\r\n And a success banner is shown stating that their email was sent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to "/resetPassword"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> "redirect-path" with <value>\r\n When they request a password reset email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn\'t have | N/A | /resetPassword |\r\n | has | /resetMyPassword | /resetMyPassword |\r\n\r\n @minutae\r\n Scenario Outline: Navigation back to the login page can be customized but defaults to "/login"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> "login-path" with <value>\r\n Then they see a "Sign In" text button\r\n When they click "Sign In"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn\'t have | N/A | /login |\r\n | has | /signin | /signin |'}},Default:()=>e(F,Object.assign({},oa)),ForgotPasswordWithError:()=>e(F,Object.assign({},la)),ForgotPasswordLoading:()=>e(F,Object.assign({},ua)),ForgotPasswordSuccess:()=>e(F,Object.assign({},da))}),ma={states:{error:"",loading:!1,success:!1},callbacks:{submit:async e=>await e},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}},pa={states:{error:"Something went wrong. Please try again.",loading:!1,success:!1},callbacks:{submit:async e=>await e},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}},ha={states:{error:"",loading:!0,success:!1},callbacks:{submit:async e=>await e},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}},ga={states:{error:"",loading:!1,success:!0},callbacks:{submit:async e=>await e},content:{email:"email@example.com",verifyMessage:"A verification email was sent to {email}. Please verify your email to continue to the portal.",emailVerificationHeader:"Verify your email",resendEmailButtonText:"Re-send Email"}},fa=Object.freeze({__proto__:null,default:{title:"Components/Portal Email Verification",parameters:{scenario:'@author:derek\r\n@owner:ian\r\nFeature: Email Verification\r\n\r\n @minutae\r\n Scenario: User\'s redirected from registration can re-send their verification email\r\n Given a user has registered\r\n And they have been sent a verification email\r\n When they are redirected to the email verification page\r\n Then a message is displayed\r\n And it reflects that a email has been sent to their email\r\n But they can still re-send the email\r\n When they click to "Resend-Email"\r\n Then they receive a verification email\r\n\r\n @motivating\r\n Scenario: Users are notified if sending the email verification message fails\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n When they click to "Resend-Email"\r\n Then the button enters a loading state\r\n When an error occurs trying to send the verification email\r\n Then the user does not receive a verification email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n Scenario: Users are notified if sending the email verification message succeeds\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n When they click to "Resend-Email"\r\n Then the button enters a loading state\r\n When the email verification message sends\r\n Then the user receives a verification email\r\n And a success banner is shown stating that their email was resent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to "/verifyEmail"\r\n Given a user viewing the email verification component\r\n And they have an email stored in session data from registration\r\n And the component <mayHave> "redirect-path" with <value>\r\n When they resend their verification email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn\'t have | N/A | /verifyEmail |\r\n | has | /verifyMyEmail | /verifyMyEmail |'}},Default:()=>e(P,Object.assign({},ma)),EmailVerificationWithError:()=>e(P,Object.assign({},pa)),EmailVerificationLoading:()=>e(P,Object.assign({},ha)),EmailVerificationSuccess:()=>e(P,Object.assign({},ga))}),ba={states:{error:"",loading:!1,reset:!1,confirmPassword:!0,oobCodeValidating:!1,oobCodeValid:!0,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async e=>await e,gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},wa={states:{error:"",loading:!1,reset:!1,confirmPassword:!1,oobCodeValidating:!1,oobCodeValid:!0,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async e=>await e,gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},xa={states:{error:"Something went wrong. Please try again.",loading:!1,reset:!1,confirmPassword:!0,oobCodeValidating:!1,oobCodeValid:!0,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async e=>await e,gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},va={states:{error:"",loading:!0,reset:!1,confirmPassword:!0,oobCodeValidating:!1,oobCodeValid:!0,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async e=>await e,gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},Ea={states:{error:"",loading:!1,reset:!0,confirmPassword:!0,oobCodeValidating:!1,oobCodeValid:!0,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async e=>await e,gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},ya={states:{error:"",loading:!1,reset:!1,confirmPassword:!0,oobCodeValidating:!1,oobCodeValid:!1,content:{passwordResetHeader:"Password reset",resetPasswordHeader:"Reset your password",continueButtonText:"Continue",resetPasswordButtonText:"Reset Password",confirmPasswordFieldLabel:"Confirm Password",passwordFieldLabel:"New Password"}},callbacks:{submit:async e=>await e,gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},qa=Object.freeze({__proto__:null,default:{title:"Components/Portal Reset Password",parameters:{scenario:'@author:derek\r\n@owner:ian\r\nFeature: Reset Password\r\n\r\n Background: A user in on the password reset page\r\n Given a user who has been redirected to the password reset page\r\n\r\n @motivating\r\n Scenario: Users can reset their password\r\n Given a user has a valid oob code as a url query parameter\r\n When they enter their password twice\r\n And they click "Update"\r\n Then their password is updated\r\n And a banner with a success message is displayed\r\n And they can log in with their new password\r\n\r\n @motivating\r\n Scenario Outline: Users cannot reset their password with an invalid or missing oob code\r\n Given a user has a <oobCode> as a url query parameter\r\n And the component <mayHave> "failed-page" with <value>\r\n Then they see an error message saying that their password reset code is invalid/expired\r\n When they click "Continue"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | oobCode | mayHave | value | redirectPath |\r\n | invalid oob code | doesn\'t have | N/A | / |\r\n | non existant oob code | doesn\'t have | N/A | / |\r\n | invalid oob code | has | /login | /login |\r\n | non existant oob code | has | /login | /login |\r\n\r\n @motivating\r\n Scenario: Users must enter the same password twice to successfully reset their password\r\n Given a user has been redirected to the password reset page\r\n And they have a valid oob code as a url query parameter\r\n When they enter two different passwords into the password reset form\r\n And they click "Update"\r\n Then their password is not be reset\r\n And an error banner stating the input passwords must match appears\r\n And their password is not be reset\r\n When they enter the same password twice\r\n And they click "Update"\r\n Then a banner appears with a success message\r\n And they can log in with their new password\r\n\r\n @motivating\r\n Scenario: Users are redirected to "/" by default\r\n Given the component does not have prop "nextPage"\r\n And the users url does not contain a "nextPage" query parameter\r\n And a user has entered their password twice\r\n When they click "Update"\r\n Then their password is updated\r\n And they are redirected to "/"\r\n\r\n @motivating\r\n Scenario: Custom redirection can be configured\r\n Given the component has prop "nextPage" with value "/activity"\r\n And the users url does not contain a "nextPage" query parameter\r\n And a user has entered their password twice\r\n When they click "Update"\r\n Then their password is updated\r\n And they are redirected to "/activity"'}},Default:()=>e(B,Object.assign({},ba)),DefaultWithoutConfirmField:()=>e(B,Object.assign({},wa)),ResetPasswordWithError:()=>e(B,Object.assign({},xa)),ResetPasswordLoading:()=>e(B,Object.assign({},va)),ResetPasswordSuccess:()=>e(B,Object.assign({},Ea)),CodeValidating:()=>e(B,Object.assign({},ya))}),Da={states:{error:"Something went wrong. Please try again.",loading:!1,verified:!1},data:{oobCode:"abc123"},callbacks:{gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},Ca={states:{error:"",loading:!1,verified:!0},data:{oobCode:"abc123"},callbacks:{gotoNextPage:()=>console.log("next page"),failed:()=>console.log("failed")}},Aa=Object.freeze({__proto__:null,default:{title:"Components/Portal Verify Email",parameters:{scenario:'@author:derek\r\n@owner:ian\r\nFeature: Verify Email\r\n\r\n Background: A user is on the email verification page\r\n Given a user who has been redirected to the email verification page\r\n\r\n @motivating\r\n Scenario: Verifying your email takes you to the portal login page\r\n Given a user has a valid oob code as a url query parameter\r\n When they click "Verify Email"\r\n Then the button enters a loading state\r\n When their email is validated\r\n Then a button that says "Continue" appears\r\n When they click "Continue"\r\n Then they are redirected to login\r\n\r\n @motivating\r\n Scenario: Users are automatically redirected if they dont click "Continue"\r\n Given a user has a valid oob code as a url query parameter\r\n When they click "Verify Email"\r\n Then the button enters a loading state\r\n When their email is validated\r\n Then a button that says "Continue" appears\r\n When they wait 5 seconds\r\n Then they are redirected to login\r\n\r\n @motivating\r\n Scenario: Users are notified if verifying their email has failed\r\n Given a user has a valid oob code as a url query parameter\r\n When they click "Verify Email"\r\n Then the button enters a loading state\r\n When their email fails to be validated\r\n Then an banner is shown stating that an error occured\r\n\r\n @motivating\r\n Scenario Outline: Users cannot verify their email with an invalid or missing oob code\r\n Given a user has a <oobCode> as a url query parameter\r\n And the component <mayHave> "failed-page" with <value>\r\n Then they see an error message saying that their verification code is invalid/expired\r\n When they click "Continue"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | oobCode | mayHave | value | redirectPath |\r\n | invalid oob code | doesn\'t have | N/A | / |\r\n | non existant oob code | doesn\'t have | N/A | / |\r\n | invalid oob code | has | /login | /login |\r\n | non existant oob code | has | /login | /login |\r\n\r\n @motivating\r\n Scenario: Users are redirected to "/" by default\r\n Given the component does not have prop "nextPage"\r\n And the users url does not contain a "nextPage" query parameter\r\n And a user has verified their email\r\n When they click "Continue"\r\n Then they are redirected to "/"\r\n\r\n @motivating\r\n Scenario: Custom redirection can be configured\r\n Given the component has prop "nextPage" with value "/activity"\r\n And the users url does not contain a "nextPage" query parameter\r\n And a user has verified their email\r\n When they click "Continue"\r\n Then they are redirected to "/activity"\r\n\r\n @motivating\r\n Scenario Outline: Users are redirected to the value of the nextPage url parameter if it exists\r\n Given the component <mayHave> prop "nextPage" with <nextPageValue>\r\n And the users url contains a "nextPage" query paramater with <nextPageParamValue>\r\n And the user has verified their email\r\n When they click "Continue"\r\n Then they are redirected to <nextPageParamValue>\r\n Examples:\r\n | mayHave | nextPageValue | nextPageParamValue |\r\n | has | /dashboard | /activity |\r\n | does not have | N/A | /activity |'}},EmailVerificationWithError:()=>e(O,Object.assign({},Da)),EmailVerificationSuccess:()=>e(O,Object.assign({},Ca))}),ka=Object.freeze({__proto__:null,default:{title:"Components/Asset Card"},Default:()=>e(w,Object.assign({},{text:{titleText:"Marketing Banner"},imgUrl:"../../assets/saasquatch-logo.png",callbacks:{}})),CardWithLongText:()=>e(w,Object.assign({},{text:{titleText:"Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam, sunt dolores? Dolore temporibus autem officia blanditiis minus in voluptatem molestiae!"},imgUrl:"../../assets/saasquatch-logo.png",callbacks:{}})),CardWithNoImg:()=>e(w,Object.assign({},{text:{titleText:"Marketing Banner"},imgUrl:"",callbacks:{}}))}),Ra={data:{programs:[{key:"program1",label:"My Referral Program"},{key:"program2",label:"My Rewards Program"}]}},Ta={states:{active:!1},data:{label:"Dashboard",icon:"house",path:"/"}},Pa={states:{active:!0},data:{label:"Activity",icon:"bar-chart",path:"/"}},Na=()=>e(R,Object.assign({},Ra),e(T,Object.assign({},Ta)),e(T,Object.assign({},Pa))),Ia=Object.freeze({__proto__:null,default:{title:"Components/Divided Layout"},Row:()=>e("sqm-divided-layout",{direction:"row"},e(Na,null),e("div",{style:{padding:"48px"}},e(ee,Object.assign({},{labelMargin:"xx-small",padding:"none",label:e("sqm-text",null,e("p",null,"Welcome back,")),content:e("sqm-text",null,e("h1",null,"Joe Smith"))})))),Column:()=>e("sqm-divided-layout",{direction:"column"},e(Na,null),e("div",{style:{padding:"48px"}},e(ee,Object.assign({},{labelMargin:"xx-small",padding:"none",label:e("sqm-text",null,e("p",null,"Welcome back,")),content:e("sqm-text",null,e("h1",null,"Joe Smith"))})))),ColumnCustomDivider:()=>e("sqm-divided-layout",{direction:"column",dividerStyle:"1px solid red"},e(Na,null),e("div",{style:{padding:"48px"}},e(ee,Object.assign({},{labelMargin:"xx-small",padding:"none",label:e("sqm-text",null,e("p",null,"Welcome back,")),content:e("sqm-text",null,e("h1",null,"Joe Smith"))}))))}),Fa={states:{open:!1,loading:!1,success:!1,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:e=>console.log(e),submit:e=>console.log("Submit",e)}},Sa={states:{open:!0,loading:!1,success:!1,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:e=>console.log(e),submit:e=>console.log("Submit",e)}},La={states:{open:!0,loading:!1,success:!1,error:"Network error. Please try again.",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:e=>console.log(e),submit:e=>console.log("Submit",e)}},Ba={states:{open:!0,loading:!1,success:!1,error:"Passwords do not match.",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:e=>console.log(e),submit:e=>console.log("Submit",e)}},Oa={states:{open:!0,loading:!0,success:!1,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:e=>console.log(e),submit:e=>console.log("Submit",e)}},ja={states:{open:!0,loading:!1,success:!0,error:"",content:{modalChangePasswordHeader:"Change Password",cancelText:"Cancel",changePasswordButtonText:"Change Password",passwordFieldLabel:"New Password",confirmPasswordFieldLabel:"Confirm new password",successMessage:"Your password has been updated.",portalChangePasswordHeader:"Password",portalChangePasswordButtonText:"Change your password..."}},callbacks:{setOpen:e=>console.log(e),submit:e=>console.log("Submit",e)}},_a=Object.freeze({__proto__:null,default:{title:"Components/Change Password",parameters:{scenario:'Feature: Change Password\r\n\r\n @motivating\r\n Scenario: Users can change their password\r\n Given a user has registered for the portal\r\n And they have a password\r\n When they navigate to the edit profile page\r\n And click "Change your password..."\r\n Then a popup will appear\r\n When they enter their new password\r\n And confirm it\r\n And click "Change Password"\r\n Then they will see a success banner stating that the change was successful\r\n When they logout\r\n And try to login\r\n Then they will not be able to login with their old password\r\n But they will be able to login with their new password\r\n\r\n @motivating\r\n Scenario: Users must confirm their password change\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click "Change your password..."\r\n Then a popup will appear\r\n When they enter their new password\r\n But they enter a different password to confirm\r\n And click "Change Password"\r\n Then they will see an error banner stating that the passwords didnt match\r\n When they logout\r\n And try to login\r\n Then they will be able to login with their existing password\r\n\r\n @motivating\r\n Scenario: Users must enter a new password and confirm it to change their password\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click "Change your password..."\r\n Then a popup will appear\r\n When they click "Change password"\r\n Then a validation error will appear for the new password field\r\n And their password will not be changed\r\n When they enter a new password\r\n And they click "Change password"\r\n Then a validation error will appear for the confirm new password field\r\n And their password will not be changed\r\n\r\n @motivating\r\n Scenario: An error banner will be displayed if the password change fails\r\n Given a user has registered for the portal\r\n When they navigate to the edit profile page\r\n And click "Change your password..."\r\n When they enter their new password\r\n And confirm it\r\n And click "Change Password"\r\n But the change fails\r\n Then they will see an error banner stating that the change failed\r\n When they logout\r\n And try to login\r\n Then they will be able to login with their existing password'}},Default:()=>e(W,Object.assign({},Fa)),Open:()=>e(W,Object.assign({},Sa)),Error:()=>e(W,Object.assign({},La)),PaswordError:()=>e(W,Object.assign({},Ba)),Loading:()=>e(W,Object.assign({},Oa)),Success:()=>e(W,Object.assign({},ja))}),Va={states:{success:!1,loading:!1,submitDisabled:!1,showCountry:!0,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}},Ga={states:{success:!1,loading:!1,submitDisabled:!1,showCountry:!1,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}},Ma={states:{success:!1,loading:!0,submitDisabled:!1,showCountry:!0,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}},Ua={states:{success:!1,loading:!1,submitDisabled:!0,showCountry:!0,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}},Ha={states:{success:!1,loading:!1,submitDisabled:!1,showCountry:!0,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:"Something went wrong. Please try again."}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}},Wa={states:{success:!0,loading:!1,submitDisabled:!1,showCountry:!0,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"5000"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:e=>console.log(e),onChange:e=>console.log(e)}},za=Object.freeze({__proto__:null,default:{title:"Components/Portal Profile"},Default:()=>e(L,Object.assign({},Va)),DefaultNoCountry:()=>e(L,Object.assign({},Ga)),Loading:()=>e(L,Object.assign({},Ma)),Disabled:()=>e(L,Object.assign({},Ua)),Error:()=>e(L,Object.assign({},Ha)),Success:()=>e(L,Object.assign({},Wa))}),$a={id:"123",type:"CREDIT",value:19,unit:"POINT",name:"test",dateGiven:1627427794891,dateScheduledFor:fs(),dateExpires:bs(),dateCancelled:134400,dateRedeemed:0,fuelTankCode:"ABC",fuelTankType:"Code",currency:"null",prettyValue:"19 Points",statuses:["AVAILABLE"],globalRewardKey:"Key",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"19 Points",type:"CREDIT",fuelTankCode:"ABC",globalRewardKey:"Key"}]}}]}},Ja={dateExpires:null},Xa={dateScheduledFor:null},Ka={fuelTankCode:null},Ya={type:"PCT_DISCOUNT"},Za={type:"CREDIT"},Qa={type:"FUELTANK"},es={type:"INTEGRATION"},ts={statuses:["AVAILABLE","PENDING"]},rs={statuses:["PENDING","CANCELLED"],dateCancelled:16268508e5},ns={statuses:["EXPIRED","AVAILABLE"],dateExpires:16268508e5},as={statuses:["AVAILABLE","EXPIRED","REDEEMED"]},ss={statuses:["AVAILABLE"]},is=[],os=[{...$a,...ss}],ls=[{...$a,...Ya,...ts},{...$a,...Za}],us=[{...$a,...Qa,...Ja},{...$a,...Qa,...ns},{...$a,...ts,...Ka}],ds=[{...$a,...Qa},{...$a,...es},{...$a,...ts},{...$a,...rs,...Ja,...Ka},{...$a,...ns,...Ka}],cs=[{...$a,...as,...Ka},{...$a,...ss,...Ja},{...$a,...ts},{...$a,...rs},{...$a,...ns},{...$a,...ts,...Ja,...Xa},{...$a,...rs},{...$a,...ns}],ms=[{...$a,...es},{...$a,...as},{...$a,...ss},{...$a,...rs,...Ja},{...$a,...ns},{...$a,...ts},{...$a,...Ya},{...$a,...Qa},{...$a,...rs,...Ja},{...$a,...Za}];function ps(){return b.DateTime.now().toMillis()+1e4}function hs(){return b.DateTime.now().toMillis()+4e5}function gs(){return b.DateTime.now().toMillis()+9e6}function fs(){return b.DateTime.now().toMillis()+6e8}function bs(){return b.DateTime.now().toMillis()+1e10}function ws(){return b.DateTime.now().toMillis()+2e11}const xs=()=>e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,...Xa}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),vs=()=>e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,...Ja}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),Es=()=>e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...rs}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),ys=Object.freeze({__proto__:null,default:{title:"Components/Referral Table Rewards Cell"},PendingNoUnpend:xs,PendingNoUnpendNoDetails:()=>e("sqm-referral-table-rewards-cell",{hideDetails:!0,rewards:[{...$a,...ts,...Xa}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),PendingWithUnpend:()=>[e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,dateScheduledFor:ps()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,dateScheduledFor:hs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,dateScheduledFor:gs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,dateScheduledFor:fs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,dateScheduledFor:bs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ts,dateScheduledFor:ws()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})],AvailableNoExpiry:vs,AvailableWithExpiry:()=>[e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,dateExpires:ps()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,dateExpires:hs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,dateExpires:gs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,dateExpires:fs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,dateExpires:bs()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ss,dateExpires:ws()}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})],Redeemed:()=>e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...as}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),Cancelled:Es,Expired:()=>e("sqm-referral-table-rewards-cell",{rewards:[{...$a,...ns}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),EmptyCell:()=>e("sqm-referral-table-rewards-cell",{rewards:is,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),oneRewardCell:()=>e("sqm-referral-table-rewards-cell",{rewards:os,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),twoRewardsCell:()=>e("sqm-referral-table-rewards-cell",{rewards:ls,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),threeRewardsCell:()=>e("sqm-referral-table-rewards-cell",{rewards:us,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),fiveRewardsCell:()=>e("sqm-referral-table-rewards-cell",{rewards:ds,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),eightRewardsCell:()=>e("sqm-referral-table-rewards-cell",{rewards:cs,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),tenRewardsCell:()=>e("sqm-referral-table-rewards-cell",{rewards:ms,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})}),qs=e("div",{slot:"loading",style:{display:"contents"}},e("sqm-table-row",null,e("sqm-table-cell",{colspan:5},e("sl-skeleton",null))),e("sqm-table-row",null,e("sqm-table-cell",{colspan:5},e("sl-skeleton",null))),e("sqm-table-row",null,e("sqm-table-cell",{colspan:5},e("sl-skeleton",null))),e("sqm-table-row",null,e("sqm-table-cell",{colspan:5},e("sl-skeleton",null))),e("sqm-table-row",null,e("sqm-table-cell",{colspan:5},e("sl-skeleton",null)))),Ds=e("div",{slot:"empty",style:{display:"contents"}},e("sqm-table-row",null,e("sqm-table-cell",{colspan:5,style:{textAlign:"center"}},e("div",{style:{padding:"var(--sl-spacing-xxx-large)"}},e("img",{src:"https://res.cloudinary.com/saasquatch/image/upload/v1642618031/squatch-assets/image_3_1.png",style:{width:"100px"}}),e("div",null,e("b",null,"View your referral details")),e("div",{style:{marginTop:"var(--sl-spacing-xx-small)",fontSize:"var(--sl-font-size-small)",color:"var(--sl-color-neutral-500)"}},"Track the status of your referrals and rewards earned by referring friends"))))),Cs={id:"123",type:"CREDIT",value:19,unit:"POINT",name:"test",dateGiven:1627427794891,dateScheduledFor:16281468e5,dateExpires:16290108e5,dateCancelled:134400,dateRedeemed:0,fuelTankCode:"ABC",fuelTankType:"Code",currency:"null",prettyValue:"19 Points",statuses:["AVAILABLE"],globalRewardKey:"Key",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"19 Points",type:"CREDIT",fuelTankCode:"ABC",globalRewardKey:"Key"}]}}]}},As={statuses:["AVAILABLE","PENDING"]},ks={statuses:["PENDING","CANCELLED"],dateCancelled:16268508e5},Rs={statuses:["EXPIRED","AVAILABLE"],dateExpires:16268508e5},Ts={statuses:["AVAILABLE"]},Ps={dateExpires:null},Ns={states:{hasPrev:!1,hasNext:!0,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},callbacks:{prevPage:()=>console.log("Prev"),nextPage:()=>console.log("Next")},elements:{columns:[e("div",null,"Name"),e("div",null,"Email"),e("div",null,"DOB"),e("div",null,"Rewards")],rows:[[e("sqm-referral-table-user-cell",{name:"Joe Smith"}),e("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),e("sqm-referral-table-user-cell",{name:"07/15/1902"}),e(xs,null)],[e("sqm-referral-table-user-cell",{name:"Bob Williams"}),e("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),e("sqm-referral-table-user-cell",{name:"09/05/1999"}),e(vs,null)],[e("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),e("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),e("sqm-referral-table-user-cell",{name:"12/21/1984"}),e(Es,null)]]}},Is={data:{textOverrides:{showLabels:!1,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599}},Fs={states:{hasPrev:!0,hasNext:!0,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"CUSTOM PREVIOUS TEXT",moreLabel:"CUSTOM NEXT TEXT"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599}},Ss={states:{hasPrev:!1,hasNext:!0,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},callbacks:{prevPage:()=>console.log("Prev"),nextPage:()=>console.log("Next")},elements:{columns:[e("div",null,"Name"),e("div",null,"Email"),e("div",null,"DOB"),e("div",null,"City"),e("div",null,"State/Province"),e("div",null,"Country"),e("div",null,"Referrals"),e("div",null,"Reward Earnings"),e("div",null,"Status")],rows:[[e("sqm-referral-table-user-cell",{name:"Bartholomew Christopher-Johnston Wallace"}),e("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),e("sqm-referral-table-date-cell",{date:-220896e5}),e("sqm-referral-table-user-cell",{name:"Vancouver"}),e("sqm-referral-table-cell",{innerTemplate:"British Columbia"}),e("sqm-referral-table-user-cell",{name:"Canada"}),e("sqm-referral-table-user-cell",{name:"14,000,000"}),e("sqm-referral-table-user-cell",{name:"$800,000,000,000"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0})],[e("sqm-referral-table-user-cell",{name:"Bob Williams"}),e("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),e("sqm-referral-table-date-cell",{date:8e11}),e("sqm-referral-table-user-cell",{name:"Los Angeles"}),e("sqm-referral-table-cell",{innerTemplate:"California"}),e("sqm-referral-table-user-cell",{name:"US"}),e("sqm-referral-table-user-cell",{name:"1"}),e("sqm-referral-table-user-cell",{name:"$5"}),e("sqm-referral-table-status-cell",{statusText:"In progress",converted:!1}),,],[e("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),e("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),e("sqm-referral-table-date-cell",{date:444703707e3}),e("sqm-referral-table-user-cell",{name:"Toronto"}),e("sqm-referral-table-cell",{innerTemplate:"Ontario"}),e("sqm-referral-table-user-cell",{name:"Canada"}),e("sqm-referral-table-user-cell",{name:"10"}),e("sqm-referral-table-user-cell",{name:"$71"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0}),,]]}},Ls={states:{hasPrev:!1,hasNext:!0,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},callbacks:{prevPage:()=>console.log("Prev"),nextPage:()=>console.log("Next")},elements:{columns:[e("div",null,"Lorem ipsum dolor sit amet consectetur adipisicing elit."),e("div",null,"Email"),e("div",null,"DOB"),e("div",null,"City"),e("div",null,"State/Province"),e("div",null,"Country"),e("div",null,"Referrals"),e("div",null,"Rewarddddddddddd Earningsssssssssssss"),e("div",null,"Status")],rows:[[e("sqm-referral-table-user-cell",{name:"Joe Smith"}),e("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),e("sqm-referral-table-date-cell",{date:-2128547493e3}),e("sqm-referral-table-user-cell",{name:"Vancouver"}),e("sqm-referral-table-cell",{innerTemplate:"British Columbia"}),e("sqm-referral-table-user-cell",{name:"Canada"}),e("sqm-referral-table-user-cell",{name:"14"}),e("sqm-referral-table-user-cell",{name:"$88"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0})],[e("sqm-referral-table-user-cell",{name:"Bob Williams"}),e("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),e("sqm-referral-table-date-cell",{date:8e11}),e("sqm-referral-table-user-cell",{name:"Los Angeles"}),e("sqm-referral-table-cell",{innerTemplate:"California"}),e("sqm-referral-table-user-cell",{name:"US"}),e("sqm-referral-table-user-cell",{name:"1"}),e("sqm-referral-table-user-cell",{name:"$5"}),e("sqm-referral-table-status-cell",{statusText:"In progress",converted:!1}),,],[e("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),e("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),e("sqm-referral-table-date-cell",{date:444703707e3}),e("sqm-referral-table-user-cell",{name:"Toronto"}),e("sqm-referral-table-cell",{innerTemplate:"Ontario"}),e("sqm-referral-table-user-cell",{name:"Canada"}),e("sqm-referral-table-user-cell",{name:"10"}),e("sqm-referral-table-user-cell",{name:"$71"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0}),,]]}},Bs={states:{hasPrev:!1,hasNext:!0,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},callbacks:{prevPage:()=>console.log("Prev"),nextPage:()=>console.log("Next")},elements:{columns:[e("div",null,"Name"),e("div",null,"Email"),e("div",null,"DOB"),e("div",null,"City"),e("div",null,"State/Province"),e("div",null,"Country"),e("div",null,"Referrals"),e("div",null,"Reward Earnings"),e("div",null,"Status")],rows:[[e("sqm-referral-table-user-cell",{name:"Joe Smith"}),e("sqm-referral-table-user-cell",{name:"jsmith@gmail.com"}),e("sqm-referral-table-date-cell",{date:-2128547493e3}),e("sqm-referral-table-user-cell",{name:"Vancouver"}),e("sqm-referral-table-cell",{innerTemplate:"British Columbia"}),e("sqm-referral-table-user-cell",{name:"Canada"}),e("sqm-referral-table-user-cell",{name:"14"}),e("sqm-referral-table-user-cell",{name:"$88"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0})],[e("sqm-referral-table-user-cell",{name:"Bob Williams"}),e("sqm-referral-table-user-cell",{name:"bwill@gmail.com"}),e("sqm-referral-table-date-cell",{date:8e11}),e("sqm-referral-table-user-cell",{name:"Los Angeles"}),e("sqm-referral-table-cell",{innerTemplate:"California"}),e("sqm-referral-table-user-cell",{name:"US"}),e("sqm-referral-table-user-cell",{name:"1"}),e("sqm-referral-table-user-cell",{name:"$5"}),e("sqm-referral-table-status-cell",{statusText:"In progress",converted:!1}),,],[e("sqm-referral-table-user-cell",{name:"Sarah Joseph"}),e("sqm-referral-table-user-cell",{name:"sjoseph@gmail.com"}),e("sqm-referral-table-date-cell",{date:444703707e3}),e("sqm-referral-table-user-cell",{name:"Toronto"}),e("sqm-referral-table-cell",{innerTemplate:"Ontario"}),e("sqm-referral-table-user-cell",{name:"Canada"}),e("sqm-referral-table-user-cell",{name:"10"}),e("sqm-referral-table-user-cell",{name:"$71"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0}),,]]}},Os=Object.freeze({__proto__:null,default:{title:"Components/Referral Table"},SimpleUserTable:()=>e(f,Object.assign({},Ns)),HiddenLabelsTable:()=>e(f,Object.assign({},{...Ns,...Is})),CustomButtonTextTable:()=>e(f,Object.assign({},{...Ns,...Fs})),FullUserTable:()=>e(f,Object.assign({},Bs)),LongCellTextTable:()=>e(f,Object.assign({},Ss)),LongColumnTextTable:()=>e(f,Object.assign({},Ls)),EmptyTable:()=>e("sqm-referral-table",{demoData:{states:{hasPrev:!1,hasNext:!1,show:"empty",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},elements:{emptyElement:Ds,loadingElement:qs,columns:[e("div",null,"Name"),e("div",null,"Email"),e("div",null,"DOB")],rows:[]}}}),LoadingTable:()=>e("sqm-referral-table",{demoData:{states:{hasPrev:!1,hasNext:!1,show:"loading",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},elements:{emptyElement:Ds,loadingElement:qs,columns:[e("div",null,"Name"),e("div",null,"Email"),e("div",null,"DOB")],rows:[]}}}),FullRewardsTable:()=>e("sqm-referral-table",{demoData:{states:{hasPrev:!1,hasNext:!1,show:"rows",namespace:"sqm-referral-table"},data:{textOverrides:{showLabels:!0,prevLabel:"Prev",moreLabel:"View More"},hiddenColumns:"",mdBreakpoint:899,smBreakpoint:599},elements:{emptyElement:Ds,loadingElement:qs,columns:[e("div",null,"User"),e("div",null,"Rewards"),e("div",null,"Status"),e("div",null,"Date Started"),e("div",null,"Date Converted")],rows:[[e("sqm-referral-table-user-cell",{name:"Joe Smith"}),e("sqm-referral-table-rewards-cell",{rewards:[{...Cs,...Ts},{...Cs,...As},{...Cs,...ks}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0}),e("sqm-referral-table-date-cell",{date:16267644e5}),e("sqm-referral-table-date-cell",{date:1627427794891})],[e("sqm-referral-table-user-cell",{name:"Sarah Williams"}),e("sqm-referral-table-rewards-cell",{rewards:[{...Cs,...Rs}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-status-cell",{statusText:"Incomplete",converted:!1}),e("sqm-referral-table-date-cell",{date:16267644e5}),e("sqm-referral-table-date-cell",{date:null})],[e("sqm-referral-table-user-cell",{name:"Marvin Smith"}),e("sqm-referral-table-rewards-cell",{rewards:[{...Cs,...Ps},{...Cs,...As}],statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"}),e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0}),e("sqm-referral-table-date-cell",{date:16267644e5}),e("sqm-referral-table-date-cell",{date:1627427794891})]]}}})}),js=[{id:"123",type:"CREDIT",value:19,unit:"POINT",name:"test",dateGiven:1627427794891,dateScheduledFor:16281468e5,dateExpires:16290108e5,dateCancelled:134400,dateRedeemed:0,fuelTankCode:"ABC",fuelTankType:"Code",currency:"null",prettyValue:"19 Points",statuses:["AVAILABLE"],globalRewardKey:"Key",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"19 Points",type:"CREDIT",fuelTankCode:"ABC",globalRewardKey:"Key"}]}}]}}],_s=Object.freeze({__proto__:null,default:{title:"Components/Referral Table Cell"},TableCell:()=>e("sqm-referral-table-cell",{innerTemplate:"Table Cell Text"}),TableUserCell:()=>e("sqm-referral-table-user-cell",{name:"Table User Cell Text"}),EmptyCell:()=>e("sqm-sqm-referral-table-cell",null,"-"),StatusCell:()=>e("div",null,e("sqm-referral-table-status-cell",{statusText:"Complete",converted:!0}),e("sqm-referral-table-status-cell",{statusText:"In Progress",converted:!1})),DateCell:()=>e("sqm-referral-table-date-cell",{date:8e11}),RewardsCell:()=>e("sqm-referral-table-rewards-cell",{rewards:js,statusText:"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",statusLongText:"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }",fuelTankText:"Your code is",rewardReceivedText:"Reward received on",expiringText:"Expiring in",pendingForText:"{status} for {date}"})}),Vs=Object.freeze({__proto__:null,default:{title:"Tests/User Name"},DemoData:()=>e("sqm-user-name",{demoData:{loading:!1,loadingText:"...",username:"Test Testerson"}}),Username:()=>e("sqm-user-name",null)}),Gs=Object.freeze({__proto__:null,default:{title:"Components/Portal Password Field"},Start:()=>e("sqm-password-field",{demoData:{initValue:"",states:{enableValidation:!0,validationErrors:{},content:{fieldLabel:"Password"}}}}),EmptyError:()=>e("sqm-password-field",{demoData:{initValue:"",states:{enableValidation:!0,validationErrors:{password:"Cannot be empty"},content:{fieldLabel:"Password"}}}}),ValidationError:()=>e("sqm-password-field",{demoData:{initValue:"asdf",states:{enableValidation:!0,validationErrors:{password:"Incomplete"},content:{fieldLabel:"Password"}}}})});function Ms({matrix:t,props:r,Component:n}){return function(...e){var t=[],r=e.length-1;return function n(a,s){for(var i=0,o=e[s].length;i<o;i++){var l=a.slice(0);l.push(e[s][i]),s==r?t.push(l):n(l,s+1)}}([],0),t}(...Object.keys(t).map((e=>t[e].map((t=>({[e]:t})))))).map((e=>e.reduce(((e,t)=>({...e,...t})),{}))).map((t=>{const a={...r,...t};return e("div",null,e(Us,{values:a}),e("hr",null)," ",e("br",null),e(n,Object.assign({},a)),e("br",null))}))}function Us({values:t}){return e("table",null,e("tbody",null,Object.keys(t).map((r=>e("tr",null,e("th",null,r),e("td",null,JSON.stringify(t[r])))))))}const Hs=(t,r)=>e("div",{class:"resizer"},r),Ws={display:"inline-flex",gap:"32px"},zs={width:"347px",minWidth:"347px",resize:"horizontal",height:"fit-content",overflow:"hidden"},$s={callbacks:{sendEvent:()=>{},onClick:()=>{}},content:{rewardAmount:"20",rewardUnit:"SaaSquatch Points",cardTitle:"Complete a survey",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:!1,showProgressBar:!1,steps:!1,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:!1,showExpiry:!1,rewardDuration:null,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:1,locale:"en"},states:{progress:0,loading:!1,loadingEvent:!1}},Js={callbacks:{sendEvent:()=>{},onClick:()=>{}},content:{rewardAmount:"40",rewardUnit:"SaaSquatch Points",cardTitle:"Comment on 5 articles",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:!1,showProgressBar:!0,steps:!0,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:!1,showExpiry:!1,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:5,locale:"en"},states:{progress:1,loading:!1,loadingEvent:!1}},Xs={callbacks:{sendEvent:()=>{},onClick:()=>{}},content:{rewardAmount:"150",rewardUnit:"SaaSquatch Points",cardTitle:"Spend $500 at our Store",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:!1,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",showProgressBar:!0,steps:!1,progressBarUnit:"$",buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:!1,showExpiry:!1,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:500,locale:"en"},states:{progress:100,loading:!1,loadingEvent:!1}},Ks=Object.freeze({__proto__:null,default:{title:"Components/Task Card/",parameters:{scenario:'@author:derek\r\n@owner:kutay\r\nFeature: Task Card\r\n\r\n\t@motivating\r\n\tScenario: A header, body title and a CTA button are always displayed\r\n\t\tGiven the Task Card is configured with the following props\r\n\t\t\t| prop | value |\r\n\t\t\t| rewardAmount | "40" |\r\n\t\t\t| rewardUnit | "Points" |\r\n\t\t\t| cardTitle | Complete a survey |\r\n\t\t\t| buttonText | Take Survey |\r\n\t\tWhen a user views the Task Card\r\n\t\tThen they see "40 Points" as the heading\r\n\t\tAnd the "40" is bolded\r\n\t\tAnd they see "Complete a survey" bolded in the body\r\n\t\tAnd a details icon in the top right hand corner\r\n\t\tAnd a button with text "Take Survey" in the bottom right hand corner\r\n\t\tWhen they click the button\r\n\t\tThen they are redirected to "example.com" in a new window\r\n\r\n\t@motivating\r\n\tScenario Outline: A Task Card description can be included but is not required\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <descriptionPropValue>\r\n\t\tWhen a user views the Task card\r\n\t\tThen they <maySee> a chevron icon in the top right\r\n\t\tWhen they attempt to click the chevron\r\n\t\tThen they <maySee> the card description\r\n\t\tExamples:\r\n\t\t\t| descriptionPropValue | maySee |\r\n\t\t\t| This is my task card description | see |\r\n\t\t\t| | don\'t see |\r\n\r\n\t@motivating\r\n\tScenario Outline: CTA links can open in a new tab or the same tab\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <openNewTabPropValue>\r\n\t\tWhen a user views the Task card\r\n\t\tAnd they click on the CTA\r\n\t\tThen they are redirected to the CTA link in <tab>\r\n\t\tExamples:\r\n\t\t\t| openNewTabPropValue | tab |\r\n\t\t\t| true | a new tab |\r\n\t\t\t| false | the same tab |\r\n\t\t\t| N/A | the same tab |\r\n\r\n\t@minutae\r\n\tScenario: A loading state is displayed while the Task Card is loading\r\n\t\tGiven a Task Card component\r\n\t\tWhen a user views the Task Card\r\n\t\tThen a loading state is displayed\r\n\t\tWhen the Task Card has loaded\r\n\t\tThen the loading state disapears\r\n\r\n\t@motivating\r\n\tScenario Outline: The Progress Bar can be shown or hidden but is hidden by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <showProgressBarPropValue>\r\n\t\tWhen a user views the Task Card\r\n\t\tThen the progress bar <mayBe> displayed\r\n\t\tExamples:\r\n\t\t\t| showProgressBarPropValue | mayBe |\r\n\t\t\t| true | is |\r\n\t\t\t| false | isn\'t |\r\n\t\t\t| N/A | isn\'t |\r\n\r\n\t@motivating\r\n\tScenario: Clicking the CTA Button can trigger an event to be sent and refresh the widget\r\n\t\tGiven a Task card\r\n\t\tAnd it is configured to send an "test" event\r\n\t\tWhen a user views the Task card\r\n\t\tAnd clicks on the CTA\r\n\t\tThen a "test" event is sent to SSQT on the users behalf\r\n\t\tAnd the contents of the widget the card is dislayed within are refreshed\r\n\r\n\t@motivating\r\n\tScenario Outline: Tasks can be repeatable or one-time only but are one-time only by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <repeatablePropValue>\r\n\t\tAnd a user who has already completed the task\r\n\t\tWhen they view the Task Card\r\n\t\tThen they see a brand colour checkmark icon beside the card heading\r\n\t\tAnd the card <mayBe> brand colour\r\n\t\tAnd the CTA button <mayBe> disabled\r\n\t\tAnd the CTA button <mayBe> grey\r\n\t\tExamples:\r\n\t\t\t| repeatablePropValue | mayBe |\r\n\t\t\t| true | isn\'t |\r\n\t\t\t| false | is |\r\n\t\t\t| N/A | is |\r\n\r\n\t@motivating\r\n\tScenario Outline: Display duration hides or shows a task\r\n\t\tGiven a Task Card\r\n\t\tAnd it has a "display-duration" interval\r\n\t\tWhen a user views the Card on <day>\r\n\t\tThen card <mayBeHidden>\r\n\t\tExamples:\r\n\t\t\t| day | mayBeHidden |\r\n\t\t\t| a day before the interval | is hidden |\r\n\t\t\t| a day during the interval | is not hidden |\r\n\t\t\t| a day after the interval | is hidden |\r\n\r\n\t@motivating\r\n\tScenario: Task Expiries can be configured and disable the CTA after the expiry\r\n\t\tGiven a Task Card\r\n\t\tAnd it has an "reward-duration" interval\r\n\t\tAnd it is configured to show expiry\r\n\t\tWhen a user views the card on <day>\r\n\t\tThen the card <mayBeDisabled>\r\n\t\tAnd it <mayHaveAlert>\r\n\t\tAnd it <mayHaveExpiryText> on the bottom left hand side of the card\r\n\t\tExamples:\r\n\t\t\t| day | mayBeDisabled | mayHaveAlert | mayHaveExpiryText |\r\n\t\t\t| a day before the expiry interval | is disabled | has alert stating the month, date, year and time the task starts | doesn\'t have expiry text |\r\n\t\t\t| a day during the expiry interval | isn\'t disabled | doesn\'t have an alert | has the month, date, year and time the task expires |\r\n\t\t\t| a day after the expiry interval | is disabled | has alert stating the month, date, year and time the task expired | doesn\'t have expiry text |\r\n\r\n\t@minutae\r\n\tScenario Outline: Task expiry can be hidden or shown but is hidden by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured with an expiry duration interval\r\n\t\tAnd it has <showExpiryPropValue>\r\n\t\tWhen a user views the Task card during the interval\r\n\t\tThen the expiry <mayBe> shown in the bottom left hand corner\r\n\t\tAnd it is in form "Month-Date-Year-Time"\r\n\t\tExamples:\r\n\t\t\t| showExpiryPropValue | mayBe |\r\n\t\t\t| true | is |\r\n\t\t\t| false | isn\'t |\r\n\t\t\t| N/A | isn\'t |\r\n\r\n\t@motivating\r\n\tScenario Outline: Task Card dates support localization\r\n\t\tGiven a Task Card\r\n\t\tAnd it\'s configured with a expiry duration interval\r\n\t\tWhen a user with <locale> views the task card <atTime>\r\n\t\tThen they <seeDate> translated for <locale>\r\n\t\tExamples:\r\n\t\t\t| atTime | locale | seeDate |\r\n\t\t\t| before the interval | en | Task Start Date |\r\n\t\t\t| during the interval | en | Task End Date |\r\n\t\t\t| after the interval | en | Task Ended Date |\r\n\t\t\t| before the interval | fr | Task Start Date |\r\n\t\t\t| during the interval | fr | Task End Date |\r\n\t\t\t| after the interval | fr | Task Ended Date |\r\n\r\n\t@motivating\r\n\tScenario Outline: A task completion count is displayed for repeatable tasks\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured for a repeatable task\r\n\t\tAnd has it has <goalValue>\r\n\t\tAnd a user with <userGoalProgress>\r\n\t\tWhen the user views the task card\r\n\t\tThen they see a repeat icon\r\n\t\tAnd the <text> in the bottom left hand corner\r\n\t\tAnd the <text> is brand colour\r\n\t\tExamples:\r\n\t\t\t| goalValue | userGoalProgress | text |\r\n\t\t\t| 2 | 0 | Completed 0 times |\r\n\t\t\t| 2 | 1 | Completed 0 times |\r\n\t\t\t| 2 | 2 | Completed 1 times |\r\n\t\t\t| 2 | 4 | Completed 2 times |\r\n\r\n\t@motivating\r\n\tScenario Outline: The source of a user\'s progress can be a custom field or a program goal\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured <progressSourcePath>\r\n\t\tWhen a user views the Task card\r\n\t\tThen the value at <progressSourcePath> is used to benchmark their progress against the "Goal Completion Count"\r\n\t\tExamples:\r\n\t\t\t| progressSourcePath |\r\n\t\t\t| /customFields/activityCount |\r\n\t\t\t| /customFields/purchaseTotal |\r\n\t\t\t| /programGoals/count%2FComment-on-Article |\r\n\t\t\t| /programGoals/count/Referral-Started%2Freferrals |\r\n\r\n\t@motivating\r\n\tScenario Outline: The users completion of a goal is calculated by the Goal Completion Number\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured for <goalValue>\r\n\t\tAnd a user who has <progressValue>\r\n\t\tWhen they view the Task Card\r\n\t\tThen they are shown to have <progressValue> towards <goalValue>\r\n\t\tWhen their progress grows larger than <goalValue>\r\n\t\tThen the task is marked as completed\r\n\t\tExamples:\r\n\t\t\t| goalValue | progressValue |\r\n\t\t\t| 1 | 0 |\r\n\t\t\t| 10 | 9 |\r\n\t\t\t| 5 | 2 |\r\n\r\n\t@motivating\r\n\tScenario: The Goal Completion Number defaults to 1\r\n\t\tGiven a Task Card without a configured "goal" value\r\n\t\tAnd a user who has <progressValue>\r\n\t\tWhen they view the Task Card\r\n\t\tThen it <mayBe> marked as completed\r\n\t\tExamples:\r\n\t\t\t| progressValue | mayBe |\r\n\t\t\t| 0 | isn\'t |\r\n\t\t\t| 1 | is |\r\n\t\t\t| 2 | is |@author:kutay\r\n@owner:kutay\r\nFeature: Task Card Progress Bar\r\n\r\n\tScenario Outline: Progress Bar\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> shows <progress> with <unit> above\r\n\t\tAnd gift icon has <color>\r\n\t\tAnd gift icon shows <goal> with <unit> below\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | unit | color |\r\n\t\t\t| 0 | 500 | ●――――――――――――――――――🎁 | $ | no |\r\n\t\t\t| 100 | 500 | ―――――――――●―――――――――🎁 | $ | no |\r\n\t\t\t| 500 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\t\t\t| 650 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\t\t\t| 1200 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\r\n\tScenario Outline: Progress Bar Steps\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd steps is enabled\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> has incrementing steps up to <goal>\r\n\t\tAnd gift icon has <color>\r\n\t\tAnd gift icon shows <goal> below\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | color |\r\n\t\t\t| 0 | 5 | ―――○―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 1 | 5 | ―――●―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 5 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\t\t\t| 7 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\t\t\t| 12 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\r\n\r\n\tScenario Outline: Progress Bar Repeatable\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd it is repeatable\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> shows <progress> with <unit> above\r\n\t\tAnd first <icon1> is <color1> with <text1> displayed below\r\n\t\tAnd second <icon2> is <color2> with <text2> displayed below\r\n\t\tAnd third <icon3> is <color3> with <text3> displayed below\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | unit | icon1 | color1 | text1 | icon2 | color2 | text 2 | icon3 | color3 | text 3 |\r\n\t\t\t| 250 | 500 | ――――●――――🎁―――――――🎁 | $ | NA | NA | NA | gift | greyscale | 500 | gift | greyscale | 1000 |\r\n\t\t\t| 500 | 500 | ―――――――――🎁―――――――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\r\n\t\t\t| 750 | 500 | ―――――――――🎁―――●―――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\r\n\t\t\t| 1000 | 500 | 🎁―――――――🎁―――――――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\r\n\t\t\t| 1250 | 500 | 🎁―――――――🎁―――●―――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\r\n\r\n\tScenario Outline: Progress Bar Steps Repeatable\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd steps is enabled\r\n\t\tAnd it is repeatable\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> has incrementing steps up to <goal>\r\n\t\tAnd first <icon1> is <color1>\r\n\t\tAnd second <icon2> is <color2>\r\n\t\tAnd third <icon3> is <color3>\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | icon1 | color1 | icon2 | color2 | icon3 | color3 |\r\n\t\t\t| 0 | 5 | ―――○―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\r\n\t\t\t| 1 | 5 | ―――●―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\r\n\t\t\t| 5 | 5 | ―――●―●―●―●―🎁―○―○―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\r\n\t\t\t| 7 | 5 | ―――●―●―●―●―🎁―●―●―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\r\n\t\t\t| 12 | 5 | 🎁―●―●―●―●―🎁―●―●―○―○―🎁 | gift | colorful | gift | colorful | gift | greyscale |'}},TaskCard:()=>{const t={showExpiry:!0,rewardDuration:"2021-11-30T08:00:00.000Z/2021-12-01T08:00:00.000Z",repeatable:!0};return e("div",{style:Ws},e(Hs,null,e("h4",null,"Not Repeatable"),e(J,Object.assign({},$s,{content:{...$s.content,description:""},states:{...$s.states,progress:0}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,description:""},states:{...Js.states,progress:0}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,description:""},states:{...Xs.states,progress:230}}))),e(Hs,null,e("h4",null,"Repeatable"),e(J,Object.assign({},$s,{content:{...$s.content,repeatable:!0},states:{...$s.states,progress:2}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0},states:{...Js.states,progress:7}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0},states:{...Xs.states,progress:650}}))),e(Hs,null,e("h4",null,"Complete"),e(J,Object.assign({},$s,{states:{...$s.states,progress:1}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:5}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:500}}))),e(Hs,null,e("h4",null,"Unavailable"),e(J,Object.assign({},$s,{states:{...$s.states,progress:0}},t)),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:3}},t)),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:250}},t))))},TaskCardNotRepeatable:()=>e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,{states:{...$s.states,progress:0}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:1}})),e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},Js,{states:{...Js.states,progress:1}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:5}})),e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:230}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:500}})),e("h5",null))),TaskCardRepeatable:()=>e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,{content:{...$s.content,repeatable:!0},states:{...$s.states,progress:0}})),e("h5",null),e(J,Object.assign({},$s,{content:{...$s.content,repeatable:!0},states:{...$s.states,progress:1}})),e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0},states:{...Js.states,progress:0}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0},states:{...Js.states,progress:5}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0},states:{...Js.states,progress:7}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0},states:{...Js.states,progress:10}})),e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0},states:{...Xs.states,progress:0}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0},states:{...Xs.states,progress:500}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0},states:{...Xs.states,progress:650}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0},states:{...Xs.states,progress:1e3}})),e("h5",null))),TaskCardRepeatableFinite:()=>e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,{content:{...$s.content,repeatable:!0,finite:2},states:{...$s.states,progress:0}})),e("h5",null),e(J,Object.assign({},$s,{content:{...$s.content,repeatable:!0,finite:2},states:{...$s.states,progress:1}})),e("h5",null),e(J,Object.assign({},$s,{content:{...$s.content,repeatable:!0,finite:2},states:{...$s.states,progress:2}})),e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0,finite:2},states:{...Js.states,progress:2}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0,finite:2},states:{...Js.states,progress:5}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0,finite:2},states:{...Js.states,progress:10}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0,finite:3},states:{...Js.states,progress:12}})),e("h5",null),e(J,Object.assign({},Js,{content:{...Js.content,repeatable:!0,finite:3},states:{...Js.states,progress:15}})),e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0,finite:2},states:{...Xs.states,progress:200}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0,finite:3},states:{...Xs.states,progress:500}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0,finite:2},states:{...Xs.states,progress:1e3}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0,finite:3},states:{...Xs.states,progress:1200}})),e("h5",null),e(J,Object.assign({},Xs,{content:{...Xs.content,repeatable:!0,finite:3},states:{...Xs.states,progress:1500}})),e("h5",null))),TaskCardEndDate:()=>{const t={showExpiry:!0,rewardDuration:b.DateTime.now().minus({days:1}).toISO()+"/"+b.DateTime.now().plus({days:1}).toISO()},r={...t,repeatable:!0};return e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,{content:{...$s.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{content:{...$s.content,...r}})),e("h5",null),e(J,Object.assign({},$s,{content:{...$s.content,...r},states:{...$s.states,progress:1}})),e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},$s,{content:{...Js.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{content:{...Js.content,...r}})),e("h5",null),e(J,Object.assign({},$s,{content:{...Js.content,...r},states:{...Js.states,progress:5}})),e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},$s,{content:{...Xs.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{content:{...Xs.content,...r}})),e("h5",null),e(J,Object.assign({},$s,{content:{...Xs.content,...r},states:{...Xs.states,progress:1e3}})),e("h5",null)))},TaskCardLoading:()=>{const t={states:{loading:!0,progress:0,loadingEvent:!1}};return e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,t))," ",e("h5",null),e(J,Object.assign({},$s,t))," ",e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},Js,t))," ",e("h5",null),e(J,Object.assign({},Js,t))," ",e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},Xs,t))," ",e("h5",null),e(J,Object.assign({},Xs,t))," ",e("h5",null)))},TaskCardNotStarted:()=>{const t={showExpiry:!0,rewardDuration:b.DateTime.now().plus({days:1}).toISO()+"/"+b.DateTime.now().plus({days:2}).toISO()},r={...t,repeatable:!0};return e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,{states:{...$s.states,progress:0},content:{...$s.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:1},content:{...$s.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:0},content:{...$s.content,...r}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:1},content:{...$s.content,...r}})),e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...t}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...t}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...r}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...r}})),e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:100},content:{...Xs.content,...t}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:500},content:{...Xs.content,...t}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:100},content:{...Xs.content,...r}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:500},content:{...Xs.content,...r}})),e("h5",null)))},TaskCardEnded:()=>{const t={showExpiry:!0,rewardDuration:b.DateTime.now().minus({days:2}).toISO()+"/"+b.DateTime.now().minus({days:1}).toISO()},r={...t,repeatable:!0};return e("div",{style:Ws},e("div",{style:zs},e("h4",null,"One Action"),e(J,Object.assign({},$s,{states:{...$s.states,progress:0},content:{...$s.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:1},content:{...$s.content,...t}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:0},content:{...$s.content,...r}})),e("h5",null),e(J,Object.assign({},$s,{states:{...$s.states,progress:1},content:{...$s.content,...r}})),e("h5",null)),e("div",{style:zs},e("h4",null,"A Couple Actions"),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...t}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...t}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...r}})),e("h5",null),e(J,Object.assign({},Js,{states:{...Js.states,progress:1},content:{...Js.content,...r}})),e("h5",null)),e("div",{style:zs},e("h4",null,"Many Actions"),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:100},content:{...Xs.content,...t}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:500},content:{...Xs.content,...t}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:100},content:{...Xs.content,...r}})),e("h5",null),e(J,Object.assign({},Xs,{states:{...Xs.states,progress:500},content:{...Xs.content,...r}})),e("h5",null)))},ProgressBar:()=>e("div",null,e(Ms,{matrix:{progress:[0,100,500,650,1200]},props:{progress:0,goal:500,progressBarUnit:"$"},Component:X})),ProgressBarSteps:()=>e("div",null,e(Ms,{matrix:{progress:[0,1,5,7,12]},props:{progress:0,steps:!0,goal:5,progressBarUnit:"$"},Component:X})),ProgressBarRepeatable:()=>e("div",null,e(Ms,{matrix:{progress:[0,250,500,750,1e3,1250]},props:{progress:0,goal:500,progressBarUnit:"$",repeatable:!0},Component:X})),ProgressBarStepsRepeatable:()=>e("div",null,e(Ms,{matrix:{progress:[0,1,5,7,12]},props:{progress:0,steps:!0,goal:5,progressBarUnit:"$",repeatable:!0},Component:X})),ProgressBarStepsRepeatableFinite:()=>e("div",null,e(Ms,{matrix:{progress:[0,1,5,7,10,12]},props:{progress:0,steps:!0,goal:5,progressBarUnit:"$",repeatable:!0,finite:2},Component:X}))}),Ys='<sqm-portal-container direction="column" padding="xxx-large" gap="xxx-large"\r\n ><sqm-titled-section label-margin="xx-small"\r\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\r\n ><sqm-text slot="content">\r\n <h1>\r\n <sqm-user-name fallback="Anonymous User"></sqm-user-name>\r\n </h1> </sqm-text\r\n ></sqm-titled-section>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container> </sqm-portal-container\r\n><sqm-portal-container direction="column" padding="xxx-large" gap="xxx-large">\r\n <sqm-titled-section padding="none" label-margin="x-large"\r\n ><sqm-text slot="label"> <h2>Partner and Profit</h2> </sqm-text\r\n ><sqm-text slot="content">\r\n <p>\r\n Get rewarded for referring potential customers to SaaSquatch. Earn\r\n commission for each successful lead you send our way\r\n </p>\r\n </sqm-text></sqm-titled-section\r\n >\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label"> <h3>Share your referral link</h3> </sqm-text\r\n ><sqm-share-link slot="content"></sqm-share-link\r\n ></sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none">\r\n <sqm-text slot="label"> <h3>Share your referral code</h3> </sqm-text\r\n ><sqm-share-code slot="content"></sqm-share-code>\r\n </sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label"> <h3>Share via social media</h3> </sqm-text\r\n ><sqm-portal-container\r\n slot="content"\r\n direction="row"\r\n padding="none"\r\n gap="xxx-large"\r\n min-width="160px"\r\n ><sqm-share-button\r\n icon="envelope"\r\n medium="email"\r\n size="medium"\r\n pill="true"\r\n >Email a friend</sqm-share-button\r\n ><sqm-share-button medium="twitter" size="medium" pill="true"\r\n >Tweet about us</sqm-share-button\r\n ><sqm-share-button medium="facebook" size="medium" pill="true"\r\n >Share on Facebook</sqm-share-button\r\n ></sqm-portal-container\r\n ></sqm-titled-section\r\n ></sqm-portal-container\r\n>\r\n';var Zs=o((function(e){e.exports=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function r(e,r){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,r){if(e){if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n={exports:{}};function a(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}n.exports={defaults:{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:a,changeDefaults:function(e){n.exports.defaults=e}};var s=/[&<>"']/,i=/[&<>"']/g,o=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},d=function(e){return u[e]};var c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function m(e){return e.replace(c,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var p=/(^|[^\[])\^/g;var h=/[^\w:]/g,g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;var f={},b=/^[^:]+:\/*[^/]*$/,w=/^([^:]+:)[\s\S]*$/,x=/^([^:]+:\/*[^/]*)[\s\S]*$/;function v(e,t){f[" "+e]||(f[" "+e]=b.test(e)?e+"/":E(e,"/",!0));var r=-1===(e=f[" "+e]).indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(w,"$1")+t:"/"===t.charAt(0)?r?t:e.replace(x,"$1")+t:e+t}function E(e,t,r){var n=e.length;if(0===n)return"";for(var a=0;a<n;){var s=e.charAt(n-a-1);if(s!==t||r){if(s===t||!r)break;a++}else a++}return e.substr(0,n-a)}var y=function(e,t){if(t){if(s.test(e))return e.replace(i,d)}else if(o.test(e))return e.replace(l,d);return e},q=m,D=function(e,t){e=e.source||e,t=t||"";var r={replace:function(t,n){return n=(n=n.source||n).replace(p,"$1"),e=e.replace(t,n),r},getRegex:function(){return new RegExp(e,t)}};return r},C=function(e,t,r){if(e){var n;try{n=decodeURIComponent(m(r)).replace(h,"").toLowerCase()}catch(e){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!g.test(r)&&(r=v(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch(e){return null}return r},A={exec:function(){}},k=function(e){for(var t,r,n=1;n<arguments.length;n++)for(r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},R=function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")},T=function(e,t){if(t<1)return"";for(var r="";t>1;)1&t&&(r+=e),t>>=1,e+=e;return r+e},P=n.exports.defaults,N=E,I=function(e,t){var r=e.replace(/\|/g,(function(e,t,r){for(var n=!1,a=t;--a>=0&&"\\"===r[a];)n=!n;return n?"|":" |"})).split(/ \|/),n=0;if(r[0].trim()||r.shift(),r[r.length-1].trim()||r.pop(),r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r},F=y,S=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var r=e.length,n=0,a=0;a<r;a++)if("\\"===e[a])a++;else if(e[a]===t[0])n++;else if(e[a]===t[1]&&--n<0)return a;return-1};function L(e,t,r,n){var a=t.href,s=t.title?F(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;var o={type:"link",raw:r,href:a,title:s,text:i,tokens:n.inlineTokens(i,[])};return n.state.inLink=!1,o}return{type:"image",raw:r,href:a,title:s,text:F(i)}}var B=function(){function e(e){this.options=e||P}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:N(r,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var r=t[0],n=function(e,t){var r=e.match(/^(\s+)(?:```)/);if(null===r)return t;var n=r[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=n.length?e.slice(n.length):e})).join("\n")}(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim():t[2],text:n}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var r=t[2].trim();if(/#$/.test(r)){var n=N(r,"#");this.options.pedantic?r=n.trim():n&&!/ $/.test(n)||(r=n.trim())}var a={type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:[]};return this.lexer.inline(a.text,a.tokens),a}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var r=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(r,[]),text:r}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var r,n,a,s,i,o,l,u,d,c,m=t[1].trim(),p=m.length>1,h={type:"list",raw:"",ordered:p,start:p?+m.slice(0,-1):"",loose:!1,items:[]};m=p?"\\d{1,9}\\"+m.slice(-1):"\\"+m,this.options.pedantic&&(m=p?m:"[*+-]");for(var g=new RegExp("^( {0,3}"+m+")((?: [^\\n]*| *)(?:\\n[^\\n]*)*(?:\\n|$))");e&&!this.rules.block.hr.test(e)&&(t=g.exec(e));){d=t[2].split("\n"),this.options.pedantic?(s=2,c=d[0].trimLeft()):(s=t[2].search(/[^ ]/),c=d[0].slice((s=t[1].length+(s>4?1:s))-t[1].length)),o=!1,r=t[0],!d[0]&&/^ *$/.test(d[1])&&(r=t[1]+d.slice(0,2).join("\n")+"\n",h.loose=!0,d=[]);var f=new RegExp("^ {0,"+Math.min(3,s-1)+"}(?:[*+-]|\\d{1,9}[.)])");for(i=1;i<d.length;i++){if(u=d[i],this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),f.test(u)){r=t[1]+d.slice(0,i).join("\n")+"\n";break}if(o){if(!(u.search(/[^ ]/)>=s)&&u.trim()){r=t[1]+d.slice(0,i).join("\n")+"\n";break}c+="\n"+u.slice(s)}else u.trim()||(o=!0),u.search(/[^ ]/)>=s?c+="\n"+u.slice(s):c+="\n"+u}h.loose||(l?h.loose=!0:/\n *\n *$/.test(r)&&(l=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(c))&&(a="[ ] "!==n[0],c=c.replace(/^\[[ xX]\] +/,"")),h.items.push({type:"list_item",raw:r,task:!!n,checked:a,loose:!1,text:c}),h.raw+=r,e=e.slice(r.length)}h.items[h.items.length-1].raw=r.trimRight(),h.items[h.items.length-1].text=c.trimRight(),h.raw=h.raw.trimRight();var b=h.items.length;for(i=0;i<b;i++)this.lexer.state.top=!1,h.items[i].tokens=this.lexer.blockTokens(h.items[i].text,[]),h.items[i].tokens.some((function(e){return"space"===e.type}))&&(h.loose=!0,h.items[i].loose=!0);return h}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t){var r={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(r.type="paragraph",r.text=this.options.sanitizer?this.options.sanitizer(t[0]):F(t[0]),r.tokens=[],this.lexer.inline(r.text,r.tokens)),r}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var r={type:"table",header:I(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(r.header.length===r.align.length){r.raw=t[0];var n,a,s,i,o=r.align.length;for(n=0;n<o;n++)r.align[n]=/^ *-+: *$/.test(r.align[n])?"right":/^ *:-+: *$/.test(r.align[n])?"center":/^ *:-+ *$/.test(r.align[n])?"left":null;for(o=r.rows.length,n=0;n<o;n++)r.rows[n]=I(r.rows[n],r.header.length).map((function(e){return{text:e}}));for(o=r.header.length,a=0;a<o;a++)r.header[a].tokens=[],this.lexer.inlineTokens(r.header[a].text,r.header[a].tokens);for(o=r.rows.length,a=0;a<o;a++)for(i=r.rows[a],s=0;s<i.length;s++)i[s].tokens=[],this.lexer.inlineTokens(i[s].text,i[s].tokens);return r}}},t.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t){var r={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}},t.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t){var r={type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}},t.text=function(e){var t=this.rules.block.text.exec(e);if(t){var r={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}},t.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:F(t[1])}},t.tag=function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):F(t[0]):t[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var r=t[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;var n=N(r.slice(0,-1),"\\");if((r.length-n.length)%2==0)return}else{var a=S(t[2],"()");if(a>-1){var s=(0===t[0].indexOf("!")?5:4)+t[1].length+a;t[2]=t[2].substring(0,a),t[0]=t[0].substring(0,s).trim(),t[3]=""}}var i=t[2],o="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);l&&(i=l[1],o=l[3])}else o=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(i=this.options.pedantic&&!/>$/.test(r)?i.slice(1):i.slice(1,-1)),L(t,{href:i?i.replace(this.rules.inline._escapes,"$1"):i,title:o?o.replace(this.rules.inline._escapes,"$1"):o},t[0],this.lexer)}},t.reflink=function(e,t){var r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){var n=(r[2]||r[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])||!n.href){var a=r[0].charAt(0);return{type:"text",raw:a,text:a}}return L(r,n,r[0],this.lexer)}},t.emStrong=function(e,t,r){void 0===r&&(r="");var n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&(!n[3]||!r.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var a=n[1]||n[2]||"";if(!a||a&&(""===r||this.rules.inline.punctuation.exec(r))){var s,i,o=n[0].length-1,l=o,u=0,d="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(d.lastIndex=0,t=t.slice(-1*e.length+o);null!=(n=d.exec(t));)if(s=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])if(i=s.length,n[3]||n[4])l+=i;else if(!((n[5]||n[6])&&o%3)||(o+i)%3){if(!((l-=i)>0)){if(i=Math.min(i,i+l+u),Math.min(o,i)%2){var c=e.slice(1,o+n.index+i);return{type:"em",raw:e.slice(0,o+n.index+i+1),text:c,tokens:this.lexer.inlineTokens(c,[])}}var m=e.slice(2,o+n.index+i-1);return{type:"strong",raw:e.slice(0,o+n.index+i+1),text:m,tokens:this.lexer.inlineTokens(m,[])}}}else u+=i}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var r=t[2].replace(/\n/g," "),n=/[^ ]/.test(r),a=/^ /.test(r)&&/ $/.test(r);return n&&a&&(r=r.substring(1,r.length-1)),r=F(r,!0),{type:"codespan",raw:t[0],text:r}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}},t.autolink=function(e,t){var r,n,a=this.rules.inline.autolink.exec(e);if(a)return n="@"===a[2]?"mailto:"+(r=F(this.options.mangle?t(a[1]):a[1])):r=F(a[1]),{type:"link",raw:a[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}},t.url=function(e,t){var r;if(r=this.rules.inline.url.exec(e)){var n,a;if("@"===r[2])a="mailto:"+(n=F(this.options.mangle?t(r[0]):r[0]));else{var s;do{s=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0]}while(s!==r[0]);n=F(r[0]),a="www."===r[1]?"http://"+n:n}return{type:"link",raw:r[0],text:n,href:a,tokens:[{type:"text",raw:n,text:n}]}}},t.inlineText=function(e,t){var r,n=this.rules.inline.text.exec(e);if(n)return r=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):F(n[0]):n[0]:F(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:r}},e}(),O=A,j=D,_=k,V={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:O,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};V.def=j(V.def).replace("label",V._label).replace("title",V._title).getRegex(),V.bullet=/(?:[*+-]|\d{1,9}[.)])/,V.listItemStart=j(/^( *)(bull) */).replace("bull",V.bullet).getRegex(),V.list=j(V.list).replace(/bull/g,V.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+V.def.source+")").getRegex(),V._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",V._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,V.html=j(V.html,"i").replace("comment",V._comment).replace("tag",V._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),V.paragraph=j(V._paragraph).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",V._tag).getRegex(),V.blockquote=j(V.blockquote).replace("paragraph",V.paragraph).getRegex(),V.normal=_({},V),V.gfm=_({},V.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),V.gfm.table=j(V.gfm.table).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",V._tag).getRegex(),V.pedantic=_({},V.normal,{html:j("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",V._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:O,paragraph:j(V.normal._paragraph).replace("hr",V.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",V.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var G={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:O,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:O,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};G.punctuation=j(G.punctuation).replace(/punctuation/g,G._punctuation).getRegex(),G.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,G.escapedEmSt=/\\\*|\\_/g,G._comment=j(V._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),G.emStrong.lDelim=j(G.emStrong.lDelim).replace(/punct/g,G._punctuation).getRegex(),G.emStrong.rDelimAst=j(G.emStrong.rDelimAst,"g").replace(/punct/g,G._punctuation).getRegex(),G.emStrong.rDelimUnd=j(G.emStrong.rDelimUnd,"g").replace(/punct/g,G._punctuation).getRegex(),G._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,G._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,G._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,G.autolink=j(G.autolink).replace("scheme",G._scheme).replace("email",G._email).getRegex(),G._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,G.tag=j(G.tag).replace("comment",G._comment).replace("attribute",G._attribute).getRegex(),G._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,G._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,G._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,G.link=j(G.link).replace("label",G._label).replace("href",G._href).replace("title",G._title).getRegex(),G.reflink=j(G.reflink).replace("label",G._label).getRegex(),G.reflinkSearch=j(G.reflinkSearch,"g").replace("reflink",G.reflink).replace("nolink",G.nolink).getRegex(),G.normal=_({},G),G.pedantic=_({},G.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:j(/^!?\[(label)\]\((.*?)\)/).replace("label",G._label).getRegex(),reflink:j(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",G._label).getRegex()}),G.gfm=_({},G.normal,{escape:j(G.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),G.gfm.url=j(G.gfm.url,"i").replace("email",G.gfm._extended_email).getRegex(),G.breaks=_({},G.gfm,{br:j(G.br).replace("{2,}","*").getRegex(),text:j(G.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var M={block:V,inline:G},U=B,H=n.exports.defaults,W=M.block,z=M.inline,$=T;function J(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function X(e){var t,r,n="",a=e.length;for(t=0;t<a;t++)r=e.charCodeAt(t),Math.random()>.5&&(r="x"+r.toString(16)),n+="&#"+r+";";return n}var K=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||H,this.options.tokenizer=this.options.tokenizer||new U,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var t={block:W.normal,inline:z.normal};this.options.pedantic?(t.block=W.pedantic,t.inline=z.pedantic):this.options.gfm&&(t.block=W.gfm,t.inline=this.options.breaks?z.breaks:z.gfm),this.tokenizer.rules=t}t.lex=function(e,r){return new t(r).lex(e)},t.lexInline=function(e,r){return new t(r).inlineTokens(e)};var r,n,a,s=t.prototype;return s.lex=function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens},s.blockTokens=function(e,t){var r,n,a,s,i=this;for(void 0===t&&(t=[]),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(n){return!!(r=n.call({lexer:i},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)}))))if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e))e=e.substring(r.raw.length),!(n=t[t.length-1])||"paragraph"!==n.type&&"text"!==n.type?t.push(r):(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.list(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.def(e))e=e.substring(r.raw.length),!(n=t[t.length-1])||"paragraph"!==n.type&&"text"!==n.type?this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title}):(n.raw+="\n"+r.raw,n.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(a=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,r=e.slice(1),n=void 0;i.options.extensions.startBlock.forEach((function(e){"number"==typeof(n=e.call({lexer:this},r))&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(a=e.substring(0,t+1))}(),this.state.top&&(r=this.tokenizer.paragraph(a)))n=t[t.length-1],s&&"paragraph"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r),s=a.length!==e.length,e=e.substring(r.raw.length);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);else if(e){var o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}throw new Error(o)}return this.state.top=!0,t},s.inline=function(e,t){this.inlineQueue.push({src:e,tokens:t})},s.inlineTokens=function(e,t){var r,n,a,s=this;void 0===t&&(t=[]);var i,o,l,u=e;if(this.tokens.links){var d=Object.keys(this.tokens.links);if(d.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(u));)d.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,i.index)+"["+$("a",i[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(u));)u=u.slice(0,i.index)+"["+$("a",i[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(u));)u=u.slice(0,i.index)+"++"+u.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(o||(l=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(n){return!!(r=n.call({lexer:s},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)}))))if(r=this.tokenizer.escape(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.tag(e))e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);else if(r=this.tokenizer.link(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);else if(r=this.tokenizer.emStrong(e,u,l))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.codespan(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.br(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.del(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.autolink(e,X))e=e.substring(r.raw.length),t.push(r);else if(this.state.inLink||!(r=this.tokenizer.url(e,X))){if(a=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,r=e.slice(1),n=void 0;s.options.extensions.startInline.forEach((function(e){"number"==typeof(n=e.call({lexer:this},r))&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(a=e.substring(0,t+1))}(),r=this.tokenizer.inlineText(a,J))e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(l=r.raw.slice(-1)),o=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}else e=e.substring(r.raw.length),t.push(r);return t},r=t,a=[{key:"rules",get:function(){return{block:W,inline:z}}}],(n=null)&&e(r.prototype,n),a&&e(r,a),t}(),Y=n.exports.defaults,Z=C,Q=y,ee=function(){function e(e){this.options=e||Y}var t=e.prototype;return t.code=function(e,t,r){var n=(t||"").match(/\S*/)[0];if(this.options.highlight){var a=this.options.highlight(e,n);null!=a&&a!==e&&(r=!0,e=a)}return e=e.replace(/\n$/,"")+"\n",n?'<pre><code class="'+this.options.langPrefix+Q(n,!0)+'">'+(r?e:Q(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:Q(e,!0))+"</code></pre>\n"},t.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},t.html=function(e){return e},t.heading=function(e,t,r,n){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+n.slug(r)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},t.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},t.list=function(e,t,r){var n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"</"+n+">\n"},t.listitem=function(e){return"<li>"+e+"</li>\n"},t.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>\n"},t.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},t.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},t.tablecell=function(e,t){var r=t.header?"th":"td";return(t.align?"<"+r+' align="'+t.align+'">':"<"+r+">")+e+"</"+r+">\n"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,r){if(null===(e=Z(this.options.sanitize,this.options.baseUrl,e)))return r;var n='<a href="'+Q(e)+'"';return t&&(n+=' title="'+t+'"'),n+">"+r+"</a>"},t.image=function(e,t,r){if(null===(e=Z(this.options.sanitize,this.options.baseUrl,e)))return r;var n='<img src="'+e+'" alt="'+r+'"';return t&&(n+=' title="'+t+'"'),n+(this.options.xhtml?"/>":">")},t.text=function(e){return e},e}(),te=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,r){return""+r},t.image=function(e,t,r){return""+r},t.br=function(){return""},e}(),re=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var r=e,n=0;if(this.seen.hasOwnProperty(r)){n=this.seen[e];do{r=e+"-"+ ++n}while(this.seen.hasOwnProperty(r))}return t||(this.seen[e]=n,this.seen[r]=0),r},t.slug=function(e,t){void 0===t&&(t={});var r=this.serialize(e);return this.getNextSafeSlug(r,t.dryrun)},e}(),ne=ee,ae=te,se=re,ie=n.exports.defaults,oe=q,le=K,ue=function(){function e(e){this.options=e||ie,this.options.renderer=this.options.renderer||new ne,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ae,this.slugger=new se}e.parse=function(t,r){return new e(r).parse(t)},e.parseInline=function(t,r){return new e(r).parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var r,n,a,s,i,o,l,u,d,c,m,p,h,g,f,b,w,x,v,E="",y=e.length;for(r=0;r<y;r++)if(c=e[r],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[c.type])||!1===(v=this.options.extensions.renderers[c.type].call({parser:this},c))&&["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(c.type))switch(c.type){case"space":continue;case"hr":E+=this.renderer.hr();continue;case"heading":E+=this.renderer.heading(this.parseInline(c.tokens),c.depth,oe(this.parseInline(c.tokens,this.textRenderer)),this.slugger);continue;case"code":E+=this.renderer.code(c.text,c.lang,c.escaped);continue;case"table":for(u="",l="",s=c.header.length,n=0;n<s;n++)l+=this.renderer.tablecell(this.parseInline(c.header[n].tokens),{header:!0,align:c.align[n]});for(u+=this.renderer.tablerow(l),d="",s=c.rows.length,n=0;n<s;n++){for(l="",i=(o=c.rows[n]).length,a=0;a<i;a++)l+=this.renderer.tablecell(this.parseInline(o[a].tokens),{header:!1,align:c.align[a]});d+=this.renderer.tablerow(l)}E+=this.renderer.table(u,d);continue;case"blockquote":d=this.parse(c.tokens),E+=this.renderer.blockquote(d);continue;case"list":for(m=c.ordered,p=c.start,h=c.loose,s=c.items.length,d="",n=0;n<s;n++)b=(f=c.items[n]).checked,w=f.task,g="",f.task&&(x=this.renderer.checkbox(b),h?f.tokens.length>0&&"paragraph"===f.tokens[0].type?(f.tokens[0].text=x+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&"text"===f.tokens[0].tokens[0].type&&(f.tokens[0].tokens[0].text=x+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:x}):g+=x),g+=this.parse(f.tokens,h),d+=this.renderer.listitem(g,w,b);E+=this.renderer.list(d,m,p);continue;case"html":E+=this.renderer.html(c.text);continue;case"paragraph":E+=this.renderer.paragraph(this.parseInline(c.tokens));continue;case"text":for(d=c.tokens?this.parseInline(c.tokens):c.text;r+1<y&&"text"===e[r+1].type;)d+="\n"+((c=e[++r]).tokens?this.parseInline(c.tokens):c.text);E+=t?this.renderer.paragraph(d):d;continue;default:var q='Token with "'+c.type+'" type was not found.';if(this.options.silent)return void console.error(q);throw new Error(q)}else E+=v||"";return E},t.parseInline=function(e,t){t=t||this.renderer;var r,n,a,s="",i=e.length;for(r=0;r<i;r++)if(n=e[r],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[n.type])||!1===(a=this.options.extensions.renderers[n.type].call({parser:this},n))&&["escape","html","link","image","strong","em","codespan","br","del","text"].includes(n.type))switch(n.type){case"escape":s+=t.text(n.text);break;case"html":s+=t.html(n.text);break;case"link":s+=t.link(n.href,n.title,this.parseInline(n.tokens,t));break;case"image":s+=t.image(n.href,n.title,n.text);break;case"strong":s+=t.strong(this.parseInline(n.tokens,t));break;case"em":s+=t.em(this.parseInline(n.tokens,t));break;case"codespan":s+=t.codespan(n.text);break;case"br":s+=t.br();break;case"del":s+=t.del(this.parseInline(n.tokens,t));break;case"text":s+=t.text(n.text);break;default:var o='Token with "'+n.type+'" type was not found.';if(this.options.silent)return void console.error(o);throw new Error(o)}else s+=a||"";return s},e}(),de=B,ce=ee,me=te,pe=re,he=k,ge=R,fe=y,be=n.exports.getDefaults,we=n.exports.changeDefaults,xe=n.exports.defaults;function ve(e,t,r){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(r=t,t=null),t=he({},ve.defaults,t||{}),ge(t),r){var n,a=t.highlight;try{n=le.lex(e,t)}catch(e){return r(e)}var s=function(e){var s;if(!e)try{t.walkTokens&&ve.walkTokens(n,t.walkTokens),s=ue.parse(n,t)}catch(t){e=t}return t.highlight=a,e?r(e):r(null,s)};if(!a||a.length<3)return s();if(delete t.highlight,!n.length)return s();var i=0;return ve.walkTokens(n,(function(e){"code"===e.type&&(i++,setTimeout((function(){a(e.text,e.lang,(function(t,r){if(t)return s(t);null!=r&&r!==e.text&&(e.text=r,e.escaped=!0),0==--i&&s()}))}),0))})),void(0===i&&s())}try{var o=le.lex(e,t);return t.walkTokens&&ve.walkTokens(o,t.walkTokens),ue.parse(o,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+fe(e.message+"",!0)+"</pre>";throw e}}return ve.options=ve.setOptions=function(e){return he(ve.defaults,e),we(ve.defaults),ve},ve.getDefaults=be,ve.defaults=xe,ve.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a,s=he.apply(void 0,[{}].concat(r)),i=ve.defaults.extensions||{renderers:{},childTokens:{}};r.forEach((function(t){if(t.extensions&&(a=!0,t.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if(e.renderer){var t=i.renderers?i.renderers[e.name]:null;i.renderers[e.name]=t?function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var s=e.renderer.apply(this,n);return!1===s&&(s=t.apply(this,n)),s}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");i[e.level]?i[e.level].unshift(e.tokenizer):i[e.level]=[e.tokenizer],e.start&&("block"===e.level?i.startBlock?i.startBlock.push(e.start):i.startBlock=[e.start]:"inline"===e.level&&(i.startInline?i.startInline.push(e.start):i.startInline=[e.start]))}e.childTokens&&(i.childTokens[e.name]=e.childTokens)}))),t.renderer&&function(){var e=ve.defaults.renderer||new ce,r=function(r){var n=e[r];e[r]=function(){for(var a=arguments.length,s=new Array(a),i=0;i<a;i++)s[i]=arguments[i];var o=t.renderer[r].apply(e,s);return!1===o&&(o=n.apply(e,s)),o}};for(var n in t.renderer)r(n);s.renderer=e}(),t.tokenizer&&function(){var e=ve.defaults.tokenizer||new de,r=function(r){var n=e[r];e[r]=function(){for(var a=arguments.length,s=new Array(a),i=0;i<a;i++)s[i]=arguments[i];var o=t.tokenizer[r].apply(e,s);return!1===o&&(o=n.apply(e,s)),o}};for(var n in t.tokenizer)r(n);s.tokenizer=e}(),t.walkTokens){var r=ve.defaults.walkTokens;s.walkTokens=function(n){t.walkTokens.call(e,n),r&&r(n)}}a&&(s.extensions=i),ve.setOptions(s)}))},ve.walkTokens=function(e,t){for(var n,a=function(){var e=n.value;switch(t(e),e.type){case"table":for(var a,s=r(e.header);!(a=s()).done;)ve.walkTokens(a.value.tokens,t);for(var i,o=r(e.rows);!(i=o()).done;)for(var l,u=r(i.value);!(l=u()).done;)ve.walkTokens(l.value.tokens,t);break;case"list":ve.walkTokens(e.items,t);break;default:ve.defaults.extensions&&ve.defaults.extensions.childTokens&&ve.defaults.extensions.childTokens[e.type]?ve.defaults.extensions.childTokens[e.type].forEach((function(r){ve.walkTokens(e[r],t)})):e.tokens&&ve.walkTokens(e.tokens,t)}},s=r(e);!(n=s()).done;)a()},ve.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=he({},ve.defaults,t||{}),ge(t);try{var r=le.lexInline(e,t);return t.walkTokens&&ve.walkTokens(r,t.walkTokens),ue.parseInline(r,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+fe(e.message+"",!0)+"</pre>";throw e}},ve.Parser=ue,ve.parser=ue.parse,ve.Renderer=ce,ve.TextRenderer=me,ve.Lexer=le,ve.lexer=le.lex,ve.Tokenizer=de,ve.Slugger=pe,ve.parse=ve,ve}()}));function Qs(e){const[t,r]=s(e),[n,a]=s(e);return{states:{previewTemplate:n,editedTemplate:t},callbacks:{setEditedTemplate:r,setPreviewTemplate:a}}}function ei(t){const{states:r,callbacks:n,readme:a}=t;return[e("textarea",{style:{width:"100%",height:"300px"},onChange:e=>n.setEditedTemplate(e.target.value)},r.editedTemplate),e("button",{onClick:()=>n.setPreviewTemplate(r.editedTemplate)},"Update Preview"),a?e("details",null,e("summary",null,"Props readme"),e("div",{innerHTML:Zs(a)})):"",e("div",{innerHTML:r.previewTemplate})]}function ti({callbacks:t,states:r,template:n}){return e("div",null,e("button",{onClick:()=>t.setPreviewTemplate(r.editedTemplate)},"Update Preview"),e("button",{style:{marginLeft:"10px"},onClick:()=>t.setPreviewTemplate(n)},"Preview Dashboard"))}function ri(t){const{states:r,callbacks:n}=t;return e("div",{style:{height:"50vh"}},e("textarea",{style:{width:"100%",height:"300px"},onChange:e=>n.setEditedTemplate(e.target.value)},r.editedTemplate),e(ti,{states:r,callbacks:n,template:t.template}),e("h2",null,"Navigation"),e("div",{style:{display:"grid",gridTemplateColumns:"repeat(9, 80px)",gridGap:"10px"}},e("button",{onClick:()=>u.push("/")},"Dashboard"),t.leadSubmit&&e("button",{onClick:()=>u.push("/refer")},"Submit a Referral"),e("button",{onClick:()=>u.push("/activity")},"Activity"),e("button",{onClick:()=>u.push("/editProfile")},"Edit Profile"),e("button",{onClick:()=>u.push("/login")},"Login"),e("button",{onClick:()=>u.push("/register")},"Register"),e("button",{onClick:()=>u.push("/emailVerification")},"Email Verification"),e("button",{onClick:()=>u.push("/verifyEmail")},"Verify Email"),e("button",{onClick:()=>u.push("/forgotPassword")},"Forgot Password"),e("button",{onClick:()=>u.push("/resetPassword")},"Reset Password")),e("br",null),e("div",{innerHTML:r.previewTemplate}))}const ni=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqb-widget\r\n widget-type="p/referral-program/w/referrerWidget"\r\n track-loads="true"\r\n ></sqb-widget>\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n');return e(ri,{states:t,callbacks:r,template:'<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n ><sqm-titled-section label-margin="xx-small"\r\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\r\n ><sqm-text slot="content">\r\n <h1>\r\n <sqm-user-name\r\n fallback="Anonymous User"\r\n ></sqm-user-name>\r\n </h1> </sqm-text\r\n ></sqm-titled-section>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container> </sqm-portal-container\r\n ><sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-titled-section padding="none" label-margin="x-large"\r\n ><sqm-text slot="label">\r\n <h2>Partner and Profit</h2> </sqm-text\r\n ><sqm-text slot="content">\r\n <p>\r\n Get rewarded for referring potential customers to\r\n SaaSquatch. Earn commission for each successful lead you\r\n send our way\r\n </p>\r\n </sqm-text></sqm-titled-section\r\n >\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share your referral link</h3> </sqm-text\r\n ><sqm-share-link slot="content"></sqm-share-link\r\n ></sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none">\r\n <sqm-text slot="label">\r\n <h3>Share your referral code</h3> </sqm-text\r\n ><sqm-share-code slot="content"></sqm-share-code>\r\n </sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share via social media</h3> </sqm-text\r\n ><sqm-portal-container\r\n slot="content"\r\n direction="row"\r\n padding="none"\r\n gap="xxx-large"\r\n min-width="160px"\r\n ><sqm-share-button\r\n icon="envelope"\r\n medium="email"\r\n size="medium"\r\n pill="true"\r\n >Email a friend</sqm-share-button\r\n ><sqm-share-button\r\n medium="twitter"\r\n size="medium"\r\n pill="true"\r\n >Tweet about us</sqm-share-button\r\n ><sqm-share-button\r\n medium="facebook"\r\n size="medium"\r\n pill="true"\r\n >Share on Facebook</sqm-share-button\r\n ></sqm-portal-container\r\n ></sqm-titled-section\r\n ></sqm-portal-container\r\n >\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n'})})),ai=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program-1">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-program-menu>\r\n <sl-menu-item value="referral-program-1"\r\n >Referral Program 1</sl-menu-item\r\n >\r\n <sl-menu-item value="referral-program-2"\r\n >Referral Program 2</sl-menu-item\r\n >\r\n </sqm-program-menu>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqb-program-switch>\r\n <template program-id="referral-program-1">\r\n <sqb-widget\r\n widget-type="p/referral-program-1/w/referrerWidget"\r\n track-loads="true"\r\n ></sqb-widget>\r\n </template>\r\n <template program-id="referral-program-2">\r\n <sqb-widget\r\n widget-type="p/referral-program-2/w/referrerWidget"\r\n track-loads="true"\r\n ></sqb-widget>\r\n </template>\r\n </sqb-program-switch>\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile></sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n');return e(ri,{states:t,callbacks:r,template:'<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program-1">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-program-menu>\r\n <sl-menu-item value="referral-program-1"\r\n >Referral Program 1</sl-menu-item\r\n >\r\n <sl-menu-item value="referral-program-2"\r\n >Referral Program 2</sl-menu-item\r\n >\r\n </sqm-program-menu>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route\r\n ><sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n ><sqm-titled-section label-margin="xx-small"\r\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\r\n ><sqm-text slot="content">\r\n <h1>\r\n <sqm-user-name\r\n fallback="Anonymous User"\r\n ></sqm-user-name>\r\n </h1> </sqm-text\r\n ></sqm-titled-section>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container> </sqm-portal-container\r\n ><sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-titled-section padding="none" label-margin="x-large"\r\n ><sqm-text slot="label">\r\n <h2>Partner and Profit</h2> </sqm-text\r\n ><sqm-text slot="content">\r\n <p>\r\n Get rewarded for referring potential customers to\r\n SaaSquatch. Earn commission for each successful lead you\r\n send our way\r\n </p>\r\n </sqm-text></sqm-titled-section\r\n >\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share your referral link</h3> </sqm-text\r\n ><sqm-share-link slot="content"></sqm-share-link\r\n ></sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none">\r\n <sqm-text slot="label">\r\n <h3>Share your referral code</h3> </sqm-text\r\n ><sqm-share-code slot="content"></sqm-share-code>\r\n </sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share via social media</h3> </sqm-text\r\n ><sqm-portal-container\r\n slot="content"\r\n direction="row"\r\n padding="none"\r\n gap="xxx-large"\r\n min-width="160px"\r\n ><sqm-share-button\r\n icon="envelope"\r\n medium="email"\r\n size="medium"\r\n pill="true"\r\n >Email a friend</sqm-share-button\r\n ><sqm-share-button\r\n medium="twitter"\r\n size="medium"\r\n pill="true"\r\n >Tweet about us</sqm-share-button\r\n ><sqm-share-button\r\n medium="facebook"\r\n size="medium"\r\n pill="true"\r\n >Share on Facebook</sqm-share-button\r\n ></sqm-portal-container\r\n ></sqm-titled-section\r\n ></sqm-portal-container\r\n >\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n'})})),si=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b|\\brefer\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/refer"\r\n icon="inbox"\r\n label="Submit A Lead"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqb-widget\r\n widget-type="p/referral-program/w/referrerWidget"\r\n track-loads="true"\r\n ></sqb-widget>\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n <template path="/refer">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-referral-iframe></sqm-referral-iframe>\r\n </template>\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n');return e(ri,{states:t,callbacks:r,template:'<sqm-portal-frame>\r\n <a slot="header" href="/">\r\n <sqm-text style="height: 60px">\r\n <img\r\n style="height: 60px"\r\n src="https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png"\r\n />\r\n </sqm-text>\r\n </a>\r\n <sqb-program-section program-id="referral-program">\r\n <sqm-router>\r\n <template\r\n path="/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)"\r\n >\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n >\r\n <sqm-router>\r\n <template path="/register">\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n </template>\r\n\r\n <template path="/emailVerification">\r\n <sqm-portal-protected-route\r\n redirect-to="/login"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-email-verification></sqm-portal-email-verification>\r\n </template>\r\n\r\n <template path="/login">\r\n <sqm-portal-login></sqm-portal-login>\r\n </template>\r\n\r\n <template path="/verifyEmail">\r\n <sqm-portal-verify-email></sqm-portal-verify-email>\r\n </template>\r\n\r\n <template path="/forgotPassword">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n </template>\r\n\r\n <template path="/resetPassword">\r\n <sqm-portal-reset-password\r\n confirm-password="true"\r\n ></sqm-portal-reset-password>\r\n </template>\r\n <template path="/logout">\r\n <sqm-portal-logout next-page="/login"></sqm-portal-logout>\r\n </template>\r\n </sqm-router>\r\n </sqm-hero>\r\n </sqm-graphql-client-provider>\r\n </template>\r\n </sqm-router>\r\n <sqm-router>\r\n <template path="/:path(\\bactivity\\b|\\beditProfile\\b|\\brefer\\b)?">\r\n <sqm-divided-layout\r\n direction="row"\r\n style="\r\n border-top: 1px solid #eaeaea;\r\n border-bottom: 1px solid #eaeaea;\r\n "\r\n >\r\n <sqm-navigation-sidebar>\r\n <sqm-navigation-sidebar-item\r\n path="/"\r\n icon="house"\r\n label="Dashboard"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/refer"\r\n icon="inbox"\r\n label="Submit A Lead"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/activity"\r\n icon="bar-chart"\r\n label="Activity"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/editProfile"\r\n icon="person"\r\n label="Edit Profile"\r\n ></sqm-navigation-sidebar-item>\r\n <sqm-navigation-sidebar-item\r\n path="/logout"\r\n icon="box-arrow-right"\r\n label="Logout"\r\n ></sqm-navigation-sidebar-item>\r\n </sqm-navigation-sidebar>\r\n <sqm-divided-layout direction="column">\r\n <sqm-router>\r\n <template path="/">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n ><sqm-titled-section label-margin="xx-small"\r\n ><sqm-text slot="label"> <p>Welcome back,</p> </sqm-text\r\n ><sqm-text slot="content">\r\n <h1>\r\n <sqm-user-name\r\n fallback="Anonymous User"\r\n ></sqm-user-name>\r\n </h1> </sqm-text\r\n ></sqm-titled-section>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container> </sqm-portal-container\r\n ><sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-titled-section padding="none" label-margin="x-large"\r\n ><sqm-text slot="label">\r\n <h2>Partner and Profit</h2> </sqm-text\r\n ><sqm-text slot="content">\r\n <p>\r\n Get rewarded for referring potential customers to\r\n SaaSquatch. Earn commission for each successful lead you\r\n send our way\r\n </p>\r\n </sqm-text></sqm-titled-section\r\n >\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share your referral link</h3> </sqm-text\r\n ><sqm-share-link slot="content"></sqm-share-link\r\n ></sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none">\r\n <sqm-text slot="label">\r\n <h3>Share your referral code</h3> </sqm-text\r\n ><sqm-share-code slot="content"></sqm-share-code>\r\n </sqm-titled-section>\r\n <sqm-titled-section label-margin="small" padding="none"\r\n ><sqm-text slot="label">\r\n <h3>Share via social media</h3> </sqm-text\r\n ><sqm-portal-container\r\n slot="content"\r\n direction="row"\r\n padding="none"\r\n gap="xxx-large"\r\n min-width="160px"\r\n ><sqm-share-button\r\n icon="envelope"\r\n medium="email"\r\n size="medium"\r\n pill="true"\r\n >Email a friend</sqm-share-button\r\n ><sqm-share-button\r\n medium="twitter"\r\n size="medium"\r\n pill="true"\r\n >Tweet about us</sqm-share-button\r\n ><sqm-share-button\r\n medium="facebook"\r\n size="medium"\r\n pill="true"\r\n >Share on Facebook</sqm-share-button\r\n ></sqm-portal-container\r\n ></sqm-titled-section\r\n ></sqm-portal-container\r\n >\r\n </template>\r\n <template path="/editProfile">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n ><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider\r\n domain="https://managed-identity.saasquatch.com"\r\n >\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n </sqm-portal-container>\r\n </template>\r\n <template path="/refer">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-referral-iframe></sqm-referral-iframe>\r\n </template>\r\n <template path="/activity">\r\n <sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n ></sqm-portal-protected-route>\r\n <sqm-portal-container\r\n direction="column"\r\n padding="xxx-large"\r\n gap="xxx-large"\r\n >\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n ></sqm-portal-container>\r\n </template>\r\n </sqm-router>\r\n </sqm-divided-layout>\r\n </sqm-divided-layout>\r\n </template>\r\n </sqm-router>\r\n </sqb-program-section>\r\n <sqm-portal-footer\r\n slot="footer"\r\n support-email="support@example.com"\r\n terms-link="https://example.com"\r\n faq-link="https://example.com"\r\n terms-text="Terms And Conditions"\r\n faq-text="FAQ"\r\n show-powered-by="true"\r\n ></sqm-portal-footer>\r\n</sqm-portal-frame>\r\n',leadSubmit:!0})})),ii=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-hero background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80">\r\n <sqm-portal-login></sqm-portal-login>\r\n</sqm-hero>\r\n');return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-login\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------- | ----------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; forgotPasswordPath: string; registerPath: string; }; content?: { forgotPasswordButton?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `"Email"` |\r\n| `forgotPasswordLabel` | `forgot-password-label` | | `string` | `"Forgot Password?"` |\r\n| `forgotPasswordPath` | `forgot-password-path` | | `string` | `"/forgotPassword"` |\r\n| `nextPage` | `next-page` | | `string` | `"/"` |\r\n| `pageLabel` | `page-label` | | `string` | `"Sign in to your account"` |\r\n| `passwordLabel` | `password-label` | | `string` | `"Password"` |\r\n| `registerLabel` | `register-label` | | `string` | `"Register"` |\r\n| `registerPath` | `register-path` | | `string` | `"/register"` |\r\n| `submitLabel` | `submit-label` | | `string` | `"Sign In"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-login --\x3e sqm-form-message\r\n sqm-stencilbook --\x3e sqm-portal-login\r\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),oi=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-hero background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80">\r\n <sqm-portal-forgot-password\r\n email-label="Business Email"\r\n ></sqm-portal-forgot-password>\r\n</sqm-hero>\r\n');return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-forgot-password\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `"Email"` |\r\n| `loginPath` | `login-path` | | `string` | `"/login"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the password reset email. | `string` | `"/resetPassword"` |\r\n| `submitLabel` | `submit-label` | | `string` | `"Request Password Reset"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-forgot-password --\x3e sqm-form-message\r\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),li=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-hero\r\n background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"\r\n>\r\n <sqm-portal-register>\r\n <sqm-name-fields slot="formData"></sqm-name-fields>\r\n </sqm-portal-register>\r\n</sqm-hero>\r\n');return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-register\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `"Confirm Password"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `"Email"` |\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\n| `hideInputs` | `hide-inputs` | | `boolean` | `false` |\n| `loginLabel` | `login-label` | | `string` | `"Sign in"` |\n| `loginPath` | `login-path` | | `string` | `"/login"` |\n| `nextPage` | `next-page` | | `string` | `"/"` |\n| `pageLabel` | `page-label` | | `string` | `"Register"` |\n| `passwordLabel` | `password-label` | | `string` | `"Password"` |\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `"/verifyEmail"` |\n| `submitLabel` | `submit-label` | | `string` | `"Register"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --\x3e sqm-form-message\n sqm-portal-register --\x3e sqm-password-field\n sqm-stencilbook --\x3e sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n'})})),ui=br((()=>{const{states:t,callbacks:r}=Qs(Ys);return e(ei,{states:t,callbacks:r})})),di=br((()=>{const{states:t,callbacks:r}=Qs("<sqm-referral-iframe></sqm-referral-iframe>\r\n");return e(ei,{states:t,callbacks:r,readme:'# sqm-referral-iframe\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\r\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\r\n| `iframeHeight` | `iframe-height` | | `string` | `"100%"` |\r\n| `iframeSrc` | `iframe-src` | | `string` | `undefined` |\r\n| `iframeWidth` | `iframe-width` | | `string` | `"100%"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-stencilbook --\x3e sqm-referral-iframe\r\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),ci=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n></sqm-portal-protected-route>\r\n<sqm-portal-container direction="column" padding="xxx-large" gap="xxx-large">\r\n <sqm-text> <h1>Activity</h1></sqm-text>\r\n <sqm-stat-container space="xxxx-large"\r\n ><sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/referralsCount"\r\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardsCountFiltered/AVAILABLE"\r\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\r\n >\r\n <sqm-big-stat\r\n flex-reverse="true"\r\n alignment="left"\r\n stat-type="/rewardBalance/CREDIT/CENTS"\r\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\r\n >\r\n </sqm-stat-container>\r\n <sqm-referral-table>\r\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\r\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\r\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\r\n <sqm-referral-table-date-column\r\n column-title="Referred"\r\n date-shown="dateReferralStarted"\r\n ></sqm-referral-table-date-column> </sqm-referral-table\r\n></sqm-portal-container>\r\n');return e(ei,{states:t,callbacks:r})})),mi=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-protected-route\r\n require-email-verification="true"\r\n redirect-to="/login"\r\n redirect-to-unverified="/emailVerification"\r\n></sqm-portal-protected-route>\r\n<sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\r\n><sqm-portal-container direction="column" gap="xxx-large">\r\n <sqm-graphql-client-provider domain="https://managed-identity.saasquatch.com">\r\n <sqm-portal-change-password></sqm-portal-change-password>\r\n </sqm-graphql-client-provider>\r\n</sqm-portal-container>\r\n');return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-profile\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------ | --------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\r\n| `countrytext` | `countrytext` | | `string` | `"Country"` |\r\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }` | `undefined` |\r\n| `editProfileHeader` | `edit-profile-header` | | `string` | `"Edit your profile"` |\r\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `"Personal Information"` |\r\n| `emailtext` | `emailtext` | | `string` | `"Email"` |\r\n| `firstnametext` | `firstnametext` | | `string` | `"First Name"` |\r\n| `lastnametext` | `lastnametext` | | `string` | `"Last Name"` |\r\n| `showCountry` | `show-country` | | `boolean` | `true` |\r\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `"Submit Changes"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-profile --\x3e sqm-form-message\r\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),pi=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-reset-password confirm-password="true"></sqm-portal-reset-password>\r\n');return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-reset-password\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\r\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\r\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `"Confirm Password"` |\r\n| `continueButtonText` | `continue-button-text` | Displayed after a successful password reset | `string` | `"Continue"` |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; }; }; }` | `undefined` |\r\n| `failedPage` | `failed-page` | The page that users are redirected to if the reset fails due to outdated password reset attempt. | `string` | `"/"` |\r\n| `nextPage` | `next-page` | The page that users are redirected to when the password reset succeeds. | `string` | `"/"` |\r\n| `passwordFieldLabel` | `password-field-label` | | `string` | `"New Password"` |\r\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset | `string` | `"Password reset"` |\r\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `"Reset Password"` |\r\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `"Reset your password"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n- [sqm-password-field](../sqm-password-field)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-reset-password --\x3e sqm-form-message\r\n sqm-portal-reset-password --\x3e sqm-password-field\r\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),hi=br((()=>{const{states:t,callbacks:r}=Qs('<sqm-portal-protected-route redirect-to="/login"></sqm-portal-protected-route>\r\n<sqm-portal-email-verification></sqm-portal-email-verification>\r\n');return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-email-verification\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------- | --------------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\r\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `"Verify your email"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `"/verifyEmail"` |\r\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `"Re-send Email"` |\r\n| `verifyMessage` | `verify-message` | | `string` | `"A verification email was sent to {email}. Please verify your email to continue to the portal."` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-email-verification --\x3e sqm-form-message\r\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),gi=br((()=>{const{states:t,callbacks:r}=Qs("<sqm-portal-verify-email></sqm-portal-verify-email>\r\n");return e(ei,{states:t,callbacks:r,readme:'# sqm-portal-verify-email\r\n\r\n\r\n\r\n\x3c!-- Auto Generated Below --\x3e\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\r\n| `failedPage` | `failed-page` | The page that users are redirected to if verification fails due to outdated verification attempt. | `string` | `"/"` |\r\n| `nextPage` | `next-page` | The page that users are redirected to when the verification succeeds. | `string` | `"/"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-verify-email --\x3e sqm-form-message\r\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n'})})),fi=br((()=>e("sqb-widget",{"widget-type":"p/Vacay-referral/w/referrerWidget",demoData:{data:{html:Ys}}}))),bi=br((()=>{const{states:t,callbacks:r}=Qs('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n\r\n<html\r\n xmlns="http://www.w3.org/1999/xhtml"\r\n xmlns:o="urn:schemas-microsoft-com:office:office"\r\n xmlns:v="urn:schemas-microsoft-com:vml"\r\n>\r\n <head>\r\n \x3c!--[if gte mso 9\r\n ]><xml\r\n ><o:OfficeDocumentSettings\r\n ><o:AllowPNG /><o:PixelsPerInch\r\n >96</o:PixelsPerInch\r\n ></o:OfficeDocumentSettings\r\n ></xml\r\n ><!\r\n [endif]--\x3e\r\n <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />\r\n <meta content="width=device-width" name="viewport" />\r\n \x3c!--[if !mso]>\x3c!--\x3e\r\n <meta content="IE=edge" http-equiv="X-UA-Compatible" />\r\n \x3c!--<![endif]--\x3e\r\n <title></title>\r\n \x3c!--[if !mso]>\x3c!--\x3e\r\n \x3c!--<![endif]--\x3e\r\n <style type="text/css">\r\n body {\r\n margin: 0;\r\n padding: 0;\r\n }\r\n\r\n table,\r\n td,\r\n tr {\r\n vertical-align: top;\r\n border-collapse: collapse;\r\n }\r\n\r\n * {\r\n line-height: inherit;\r\n }\r\n\r\n a[x-apple-data-detectors="true"] {\r\n color: inherit !important;\r\n text-decoration: none !important;\r\n }\r\n </style>\r\n <style id="media-query" type="text/css">\r\n @media (max-width: 520px) {\r\n .block-grid,\r\n .col {\r\n min-width: 320px !important;\r\n max-width: 100% !important;\r\n display: block !important;\r\n }\r\n\r\n .block-grid {\r\n width: 100% !important;\r\n }\r\n\r\n .col {\r\n width: 100% !important;\r\n }\r\n\r\n .col_cont {\r\n margin: 0 auto;\r\n }\r\n\r\n img.fullwidth,\r\n img.fullwidthOnMobile {\r\n max-width: 100% !important;\r\n }\r\n\r\n .no-stack .col {\r\n min-width: 0 !important;\r\n display: table-cell !important;\r\n }\r\n\r\n .no-stack.two-up .col {\r\n width: 50% !important;\r\n }\r\n\r\n .no-stack .col.num2 {\r\n width: 16.6% !important;\r\n }\r\n\r\n .no-stack .col.num3 {\r\n width: 25% !important;\r\n }\r\n\r\n .no-stack .col.num4 {\r\n width: 33% !important;\r\n }\r\n\r\n .no-stack .col.num5 {\r\n width: 41.6% !important;\r\n }\r\n\r\n .no-stack .col.num6 {\r\n width: 50% !important;\r\n }\r\n\r\n .no-stack .col.num7 {\r\n width: 58.3% !important;\r\n }\r\n\r\n .no-stack .col.num8 {\r\n width: 66.6% !important;\r\n }\r\n\r\n .no-stack .col.num9 {\r\n width: 75% !important;\r\n }\r\n\r\n .no-stack .col.num10 {\r\n width: 83.3% !important;\r\n }\r\n\r\n .video-block {\r\n max-width: none !important;\r\n }\r\n\r\n .mobile_hide {\r\n min-height: 0px;\r\n max-height: 0px;\r\n max-width: 0px;\r\n display: none;\r\n overflow: hidden;\r\n font-size: 0px;\r\n }\r\n\r\n .desktop_hide {\r\n display: block !important;\r\n max-height: none !important;\r\n }\r\n }\r\n </style>\r\n <style id="icon-media-query" type="text/css">\r\n @media (max-width: 520px) {\r\n .icons-inner {\r\n text-align: center;\r\n }\r\n\r\n .icons-inner td {\r\n margin: 0 auto;\r\n }\r\n }\r\n </style>\r\n </head>\r\n <body\r\n class="clean-body"\r\n style="\r\n margin: 0;\r\n padding: 0;\r\n -webkit-text-size-adjust: 100%;\r\n background-color: #ffffff;\r\n "\r\n >\r\n \x3c!--[if IE]><div class="ie-browser"><![endif]--\x3e\r\n <table\r\n bgcolor="#FFFFFF"\r\n cellpadding="0"\r\n cellspacing="0"\r\n class="nl-container"\r\n role="presentation"\r\n style="\r\n table-layout: fixed;\r\n vertical-align: top;\r\n min-width: 320px;\r\n border-spacing: 0;\r\n border-collapse: collapse;\r\n mso-table-lspace: 0pt;\r\n mso-table-rspace: 0pt;\r\n background-color: #ffffff;\r\n width: 100%;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <tbody>\r\n <tr style="vertical-align: top" valign="top">\r\n <td style="word-break: break-word; vertical-align: top" valign="top">\r\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color:#FFFFFF"><![endif]--\x3e\r\n <div style="background-color: transparent">\r\n <div\r\n class="block-grid"\r\n style="\r\n min-width: 320px;\r\n max-width: 500px;\r\n overflow-wrap: break-word;\r\n word-wrap: break-word;\r\n word-break: break-word;\r\n margin: 0 auto;\r\n background-color: transparent;\r\n "\r\n >\r\n <div\r\n style="\r\n border-collapse: collapse;\r\n display: table;\r\n width: 100%;\r\n background-color: transparent;\r\n "\r\n >\r\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:transparent;"><tr><td align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:500px"><tr class="layout-full-width" style="background-color:transparent"><![endif]--\x3e\r\n \x3c!--[if (mso)|(IE)]><td align="center" width="500" style="background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]--\x3e\r\n <div\r\n class="col num12"\r\n style="\r\n min-width: 320px;\r\n max-width: 500px;\r\n display: table-cell;\r\n vertical-align: top;\r\n width: 500px;\r\n "\r\n >\r\n <div class="col_cont" style="width: 100% !important">\r\n \x3c!--[if (!mso)&(!IE)]>\x3c!--\x3e\r\n <div\r\n style="\r\n border-top: 0px solid transparent;\r\n border-left: 0px solid transparent;\r\n border-bottom: 0px solid transparent;\r\n border-right: 0px solid transparent;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n padding-right: 0px;\r\n padding-left: 0px;\r\n "\r\n >\r\n \x3c!--<![endif]--\x3e\r\n <table\r\n cellpadding="0"\r\n cellspacing="0"\r\n role="presentation"\r\n style="\r\n table-layout: fixed;\r\n vertical-align: top;\r\n border-spacing: 0;\r\n border-collapse: collapse;\r\n mso-table-lspace: 0pt;\r\n mso-table-rspace: 0pt;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <tr style="vertical-align: top" valign="top">\r\n <td\r\n align="center"\r\n style="\r\n word-break: break-word;\r\n vertical-align: top;\r\n padding-bottom: 20px;\r\n padding-left: 10px;\r\n padding-right: 10px;\r\n padding-top: 10px;\r\n text-align: center;\r\n width: 100%;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <h1\r\n style="\r\n color: #444445;\r\n direction: ltr;\r\n font-family: \'Helvetica Neue\', Helvetica,\r\n Arial, sans-serif;\r\n font-size: 20px;\r\n font-weight: normal;\r\n letter-spacing: normal;\r\n line-height: 120%;\r\n text-align: left;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <strong>Reset your password</strong>\r\n </h1>\r\n </td>\r\n </tr>\r\n </table>\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: Arial, sans-serif"><![endif]--\x3e\r\n <div\r\n style="\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n line-height: 1.8;\r\n padding-top: 10px;\r\n padding-right: 10px;\r\n padding-bottom: 10px;\r\n padding-left: 10px;\r\n "\r\n >\r\n <div\r\n class="txtTinyMce-wrapper"\r\n style="\r\n font-size: 14px;\r\n line-height: 1.8;\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n mso-line-height-alt: 25px;\r\n "\r\n >\r\n <p\r\n style="\r\n margin: 0;\r\n font-size: 14px;\r\n line-height: 1.8;\r\n word-break: break-word;\r\n mso-line-height-alt: 25px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <span style="font-size: 14px"\r\n >We received a request to reset your password.\r\n Click the button below to reset your\r\n password.</span\r\n >\r\n </p>\r\n </div>\r\n </div>\r\n <div\r\n align="center"\r\n class="button-container"\r\n style="\r\n padding-top: 10px;\r\n padding-right: 10px;\r\n padding-bottom: 10px;\r\n padding-left: 10px;\r\n "\r\n >\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-spacing: 0; border-collapse: collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"><tr><td style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px" align="center"><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" target="_blank" href={{validationLink}} style="height:31.5pt;width:390pt;v-text-anchor:middle;" arcsize="12%" stroke="false" fillcolor="#2270ee"><w:anchorlock/><v:textbox inset="0,0,0,0"><center style="color:#ffffff; font-family:Arial, sans-serif; font-size:14px"><!\r\n [endif]--\x3e<a\r\n href="{{validationLink}}"\r\n target="_blank"\r\n style="\r\n -webkit-text-size-adjust: none;\r\n text-decoration: none;\r\n display: block;\r\n color: #ffffff;\r\n background-color: #2270ee;\r\n border-radius: 5px;\r\n -webkit-border-radius: 5px;\r\n -moz-border-radius: 5px;\r\n width: 100%;\r\n width: calc(100% - 2px);\r\n border-top: 1px solid #2270ee;\r\n border-right: 1px solid #2270ee;\r\n border-bottom: 1px solid #2270ee;\r\n border-left: 1px solid #2270ee;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n font-family: \'Helvetica Neue\', Helvetica, Arial,\r\n sans-serif;\r\n text-align: center;\r\n mso-border-alt: none;\r\n word-break: keep-all;\r\n "\r\n target="_blank"\r\n ><span\r\n style="\r\n padding-left: 20px;\r\n padding-right: 20px;\r\n font-size: 14px;\r\n display: inline-block;\r\n letter-spacing: undefined;\r\n "\r\n ><span\r\n style="\r\n font-size: 16px;\r\n line-height: 2;\r\n word-break: break-word;\r\n mso-line-height-alt: 32px;\r\n "\r\n ><span\r\n style="font-size: 14px; line-height: 28px"\r\n >Reset Password</span\r\n ></span\r\n ></span\r\n ></a\r\n >\r\n \x3c!--[if mso]></center></v:textbox></v:roundrect></td></tr></table><![endif]--\x3e\r\n </div>\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 15px; padding-bottom: 15px; font-family: Arial, sans-serif"><![endif]--\x3e\r\n <div\r\n style="\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n line-height: 1.2;\r\n padding-top: 15px;\r\n padding-right: 10px;\r\n padding-bottom: 15px;\r\n padding-left: 10px;\r\n "\r\n >\r\n <div\r\n class="txtTinyMce-wrapper"\r\n style="\r\n font-size: 14px;\r\n line-height: 1.2;\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n mso-line-height-alt: 17px;\r\n "\r\n >\r\n <p\r\n style="\r\n margin: 0;\r\n font-size: 12px;\r\n line-height: 1.2;\r\n word-break: break-word;\r\n mso-line-height-alt: 14px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <span style="font-size: 12px"\r\n >If you didn\'t request a password reset please\r\n ignore this email. Your password will not\r\n change.</span\r\n >\r\n </p>\r\n </div>\r\n </div>\r\n \x3c!--[if mso]></td></tr></table><![endif]--\x3e\r\n \x3c!--[if (!mso)&(!IE)]>\x3c!--\x3e\r\n </div>\r\n \x3c!--<![endif]--\x3e\r\n </div>\r\n </div>\r\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\r\n \x3c!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]--\x3e\r\n </div>\r\n </div>\r\n </div>\r\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n \x3c!--[if (IE)]></div><![endif]--\x3e\r\n </body>\r\n</html>');return e(ei,{states:t,callbacks:r})})),wi=br((()=>{const{states:t,callbacks:r}=Qs('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n\r\n<html\r\n xmlns="http://www.w3.org/1999/xhtml"\r\n xmlns:o="urn:schemas-microsoft-com:office:office"\r\n xmlns:v="urn:schemas-microsoft-com:vml"\r\n>\r\n <head>\r\n \x3c!--[if gte mso 9\r\n ]><xml\r\n ><o:OfficeDocumentSettings\r\n ><o:AllowPNG /><o:PixelsPerInch\r\n >96</o:PixelsPerInch\r\n ></o:OfficeDocumentSettings\r\n ></xml\r\n ><!\r\n [endif]--\x3e\r\n <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />\r\n <meta content="width=device-width" name="viewport" />\r\n \x3c!--[if !mso]>\x3c!--\x3e\r\n <meta content="IE=edge" http-equiv="X-UA-Compatible" />\r\n \x3c!--<![endif]--\x3e\r\n <title></title>\r\n \x3c!--[if !mso]>\x3c!--\x3e\r\n \x3c!--<![endif]--\x3e\r\n <style type="text/css">\r\n body {\r\n margin: 0;\r\n padding: 0;\r\n }\r\n\r\n table,\r\n td,\r\n tr {\r\n vertical-align: top;\r\n border-collapse: collapse;\r\n }\r\n\r\n * {\r\n line-height: inherit;\r\n }\r\n\r\n a[x-apple-data-detectors="true"] {\r\n color: inherit !important;\r\n text-decoration: none !important;\r\n }\r\n </style>\r\n <style id="media-query" type="text/css">\r\n @media (max-width: 520px) {\r\n .block-grid,\r\n .col {\r\n min-width: 320px !important;\r\n max-width: 100% !important;\r\n display: block !important;\r\n }\r\n\r\n .block-grid {\r\n width: 100% !important;\r\n }\r\n\r\n .col {\r\n width: 100% !important;\r\n }\r\n\r\n .col_cont {\r\n margin: 0 auto;\r\n }\r\n\r\n img.fullwidth,\r\n img.fullwidthOnMobile {\r\n max-width: 100% !important;\r\n }\r\n\r\n .no-stack .col {\r\n min-width: 0 !important;\r\n display: table-cell !important;\r\n }\r\n\r\n .no-stack.two-up .col {\r\n width: 50% !important;\r\n }\r\n\r\n .no-stack .col.num2 {\r\n width: 16.6% !important;\r\n }\r\n\r\n .no-stack .col.num3 {\r\n width: 25% !important;\r\n }\r\n\r\n .no-stack .col.num4 {\r\n width: 33% !important;\r\n }\r\n\r\n .no-stack .col.num5 {\r\n width: 41.6% !important;\r\n }\r\n\r\n .no-stack .col.num6 {\r\n width: 50% !important;\r\n }\r\n\r\n .no-stack .col.num7 {\r\n width: 58.3% !important;\r\n }\r\n\r\n .no-stack .col.num8 {\r\n width: 66.6% !important;\r\n }\r\n\r\n .no-stack .col.num9 {\r\n width: 75% !important;\r\n }\r\n\r\n .no-stack .col.num10 {\r\n width: 83.3% !important;\r\n }\r\n\r\n .video-block {\r\n max-width: none !important;\r\n }\r\n\r\n .mobile_hide {\r\n min-height: 0px;\r\n max-height: 0px;\r\n max-width: 0px;\r\n display: none;\r\n overflow: hidden;\r\n font-size: 0px;\r\n }\r\n\r\n .desktop_hide {\r\n display: block !important;\r\n max-height: none !important;\r\n }\r\n }\r\n </style>\r\n <style id="icon-media-query" type="text/css">\r\n @media (max-width: 520px) {\r\n .icons-inner {\r\n text-align: center;\r\n }\r\n\r\n .icons-inner td {\r\n margin: 0 auto;\r\n }\r\n }\r\n </style>\r\n </head>\r\n <body\r\n class="clean-body"\r\n style="\r\n margin: 0;\r\n padding: 0;\r\n -webkit-text-size-adjust: 100%;\r\n background-color: #ffffff;\r\n "\r\n >\r\n \x3c!--[if IE]><div class="ie-browser"><![endif]--\x3e\r\n <table\r\n bgcolor="#FFFFFF"\r\n cellpadding="0"\r\n cellspacing="0"\r\n class="nl-container"\r\n role="presentation"\r\n style="\r\n table-layout: fixed;\r\n vertical-align: top;\r\n min-width: 320px;\r\n border-spacing: 0;\r\n border-collapse: collapse;\r\n mso-table-lspace: 0pt;\r\n mso-table-rspace: 0pt;\r\n background-color: #ffffff;\r\n width: 100%;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <tbody>\r\n <tr style="vertical-align: top" valign="top">\r\n <td style="word-break: break-word; vertical-align: top" valign="top">\r\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color:#FFFFFF"><![endif]--\x3e\r\n <div style="background-color: transparent">\r\n <div\r\n class="block-grid"\r\n style="\r\n min-width: 320px;\r\n max-width: 500px;\r\n overflow-wrap: break-word;\r\n word-wrap: break-word;\r\n word-break: break-word;\r\n margin: 0 auto;\r\n background-color: transparent;\r\n "\r\n >\r\n <div\r\n style="\r\n border-collapse: collapse;\r\n display: table;\r\n width: 100%;\r\n background-color: transparent;\r\n "\r\n >\r\n \x3c!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:transparent;"><tr><td align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:500px"><tr class="layout-full-width" style="background-color:transparent"><![endif]--\x3e\r\n \x3c!--[if (mso)|(IE)]><td align="center" width="500" style="background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]--\x3e\r\n <div\r\n class="col num12"\r\n style="\r\n min-width: 320px;\r\n max-width: 500px;\r\n display: table-cell;\r\n vertical-align: top;\r\n width: 500px;\r\n "\r\n >\r\n <div class="col_cont" style="width: 100% !important">\r\n \x3c!--[if (!mso)&(!IE)]>\x3c!--\x3e\r\n <div\r\n style="\r\n border-top: 0px solid transparent;\r\n border-left: 0px solid transparent;\r\n border-bottom: 0px solid transparent;\r\n border-right: 0px solid transparent;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n padding-right: 0px;\r\n padding-left: 0px;\r\n "\r\n >\r\n \x3c!--<![endif]--\x3e\r\n <table\r\n cellpadding="0"\r\n cellspacing="0"\r\n role="presentation"\r\n style="\r\n table-layout: fixed;\r\n vertical-align: top;\r\n border-spacing: 0;\r\n border-collapse: collapse;\r\n mso-table-lspace: 0pt;\r\n mso-table-rspace: 0pt;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <tr style="vertical-align: top" valign="top">\r\n <td\r\n align="center"\r\n style="\r\n word-break: break-word;\r\n vertical-align: top;\r\n padding-bottom: 20px;\r\n padding-left: 10px;\r\n padding-right: 10px;\r\n padding-top: 10px;\r\n text-align: center;\r\n width: 100%;\r\n "\r\n valign="top"\r\n width="100%"\r\n >\r\n <h1\r\n style="\r\n color: #444445;\r\n direction: ltr;\r\n font-family: \'Helvetica Neue\', Helvetica,\r\n Arial, sans-serif;\r\n font-size: 20px;\r\n font-weight: normal;\r\n letter-spacing: normal;\r\n line-height: 120%;\r\n text-align: left;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <strong>Verify your email address</strong>\r\n </h1>\r\n </td>\r\n </tr>\r\n </table>\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: Arial, sans-serif"><![endif]--\x3e\r\n <div\r\n style="\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n line-height: 1.8;\r\n padding-top: 10px;\r\n padding-right: 10px;\r\n padding-bottom: 10px;\r\n padding-left: 10px;\r\n "\r\n >\r\n <div\r\n class="txtTinyMce-wrapper"\r\n style="\r\n font-size: 14px;\r\n line-height: 1.8;\r\n color: #444445;\r\n font-family: Arial, Helvetica Neue, Helvetica,\r\n sans-serif;\r\n mso-line-height-alt: 25px;\r\n "\r\n >\r\n <p\r\n style="\r\n margin: 0;\r\n font-size: 14px;\r\n line-height: 1.8;\r\n word-break: break-word;\r\n mso-line-height-alt: 25px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n "\r\n >\r\n <span style="font-size: 14px"\r\n >Thank you for signing up! Please click the button below\r\n to verify your email address.</span\r\n >\r\n </p>\r\n </div>\r\n </div>\r\n \x3c!--[if mso]></td></tr></table><![endif]--\x3e\r\n <div\r\n align="center"\r\n class="button-container"\r\n style="\r\n padding-top: 10px;\r\n padding-right: 10px;\r\n padding-bottom: 10px;\r\n padding-left: 10px;\r\n "\r\n >\r\n \x3c!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-spacing: 0; border-collapse: collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"><tr><td style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px" align="center"><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" target="_blank" href={{validationLink}} style="height:31.5pt;width:390pt;v-text-anchor:middle;" arcsize="12%" stroke="false" fillcolor="#2270ee"><w:anchorlock/><v:textbox inset="0,0,0,0"><center style="color:#ffffff; font-family:Arial, sans-serif; font-size:14px"><!\r\n [endif]--\x3e<a\r\n href={{validationLink}}\r\n\t\t\t\t\t\t\ttarget="_blank"\r\n style="\r\n -webkit-text-size-adjust: none;\r\n text-decoration: none;\r\n display: block;\r\n color: #ffffff;\r\n background-color: #2270ee;\r\n border-radius: 5px;\r\n -webkit-border-radius: 5px;\r\n -moz-border-radius: 5px;\r\n width: 100%;\r\n width: calc(100% - 2px);\r\n border-top: 1px solid #2270ee;\r\n border-right: 1px solid #2270ee;\r\n border-bottom: 1px solid #2270ee;\r\n border-left: 1px solid #2270ee;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n font-family: \'Helvetica Neue\', Helvetica, Arial,\r\n sans-serif;\r\n text-align: center;\r\n mso-border-alt: none;\r\n word-break: keep-all;\r\n "\r\n target="_blank"\r\n ><span\r\n style="\r\n padding-left: 20px;\r\n padding-right: 20px;\r\n font-size: 14px;\r\n display: inline-block;\r\n letter-spacing: undefined;\r\n "\r\n ><span\r\n style="\r\n font-size: 16px;\r\n line-height: 2;\r\n word-break: break-word;\r\n mso-line-height-alt: 32px;\r\n "\r\n ><span\r\n style="font-size: 14px; line-height: 28px"\r\n >Verify Email</span\r\n ></span\r\n ></span\r\n ></a\r\n >\r\n \x3c!--[if mso]></center></v:textbox></v:roundrect></td></tr></table><![endif]--\x3e\r\n </div>\r\n \x3c!--<![endif]--\x3e\r\n </div>\r\n </div>\r\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\r\n \x3c!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]--\x3e\r\n </div>\r\n </div>\r\n </div>\r\n \x3c!--[if (mso)|(IE)]></td></tr></table><![endif]--\x3e\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n \x3c!--[if (IE)]></div><![endif]--\x3e\r\n </body>\r\n</html>');return e(ei,{states:t,callbacks:r})})),xi=Object.freeze({__proto__:null,default:{title:"Templates / Portal"},DefaultPortal:ni,MultiProgramPortal:ai,LeadSubmitPortal:si,Login:ii,ForgotPassword:oi,Register:li,Dashboard:ui,LeadSubmitIframe:di,Activity:ci,EditProfile:mi,ResetPassword:pi,EmailVerification:hi,EmailVerified:gi,Widget:fi,ResetPasswordEmail:bi,VerifyEmail:wi}),vi=br((()=>e("sqm-program-menu",null,e("sl-menu-item",{value:"referral-program"},"Referral Program")))),Ei=br((()=>e("sqm-program-menu",null,e("sl-menu-item",{value:"referral-program"},"Referral Program"),e("sl-menu-item",{value:"partner-program"},"Partner Program")))),yi=br((()=>e("sqm-program-menu",null,e("sl-menu-item",{value:"program1"},"Program 1"),e("sl-menu-item",{value:"program2"},"Program 2"),e("sl-menu-item",{value:"program3"},"Program 3"),e("sl-menu-item",{value:"program4"},"Program 4"),e("sl-menu-item",{value:"program5"},"Program 5")))),qi=br((()=>e("div",null,e("sqb-program-section",{"program-id":"Vacay-referral"},e("sqm-program-menu",null,e("sl-menu-item",{value:"Vacay-referral"},"Vacay-referral"),e("sl-menu-item",{value:"vacay-affiliates"},"vacay-affiliates")),e("sqb-program-switch",null,e("template",{"program-id":"Vacay-referral"},e("sqb-widget",{"widget-type":"p/Vacay-referral/w/referrerWidget",demoData:{data:{html:Ys}}})),e("template",{"program-id":"vacay-affiliates"},e("sqb-widget",{"widget-type":"p/vacay-affiliates/w/referrerWidget",demoData:{data:{html:Ys}}}))))))),Di=Object.freeze({__proto__:null,default:{title:"Program Menu"},OneProgram:vi,TwoProgram:Ei,FiveProgram:yi,ProgramMenuWithSwitch:qi}),Ci=Object.freeze({__proto__:null,default:{title:"Powered By"},Default:()=>e(N,null),CustomColor:()=>e(N,{color:"salmon"}),CustomWidthAndHeight:()=>e(N,{width:300,height:50})}),Ai={supportEmail:"support@example.com",supportText:"For program support, contact {email}",showPoweredBy:!0,poweredByLink:"https://saasquatch.com",paddingTop:"large",paddingRight:"large",paddingBottom:"large",paddingLeft:"large"},ki=Object.freeze({__proto__:null,default:{title:"Portal Footer",parameters:{scenario:'Feature: Portal Footer\r\n\r\n Background: A user is viewing the portal\r\n Given a hosted portal\r\n And a user is viewing the portal\r\n And the portal has a footer\r\n\r\n Scenario Outline: FAQ and T&C links/text are configurable and open in a new page when clicked\r\n Given the footer has prop "terms-link" with value "https://example.com/terms"\r\n And prop "terms-text" with value "Terms and Conditions"\r\n And prop "faq-link" with value "https://example.com/FAQ"\r\n And prop "faq-text" with value "Visit FAQ"\r\n When a user clicks on the "Visit FAQ" link\r\n Then they will be redirected to "https://example.com/FAQ" in a new page\r\n When they go back to the portal\r\n And click on the "Terms and Conditions" link\r\n Then they will be redirected to "https://example.com/terms" in a new page\r\n\r\n Scenario Outline: FAQ/T&C Links are not shown if a link is not provided\r\n Given the footer does not have <linkProp>\r\n But it <mayHave> <textProp> with <value>\r\n Then the <link> will not be shown in the footer\r\n Examples:\r\n | linkProp | mayHave | textProp | value | link |\r\n | terms-link | has | termsText | Terms and Conditions | T&C Link |\r\n | faq-link | has | faqText | Visit FAQ | FAQ Link |\r\n | terms-link | doesn\'t have | | | T&C Link |\r\n | faq-link | doesn\'t have | | | FAQ Link |\r\n\r\n Scenario Outline: The support email and text is configurable but has a default\r\n Given the footer <mayHave> <emailPropWithValue>\r\n And the footer <mayAlsoHave> <textPropWithValue>\r\n Then the footer\'s support email text is <renderedEmailText>\r\n And the email address will be a mailto link with <mailtoEmail>\r\n When the user clicks on the email address mailto Link\r\n Then the users preferred email client will open with a draft email to <mailtoEmail>\r\n Examples:\r\n | mayHave | emailPropWithValue | mayAlsoHave | textPropWithValue | mailtoEmail | renderedEmailText |\r\n | has | support@saasquatch.com | has | For support please contact {email} | support@saasquatch.com | For support please contact support@saasquatch.com |\r\n | doesn\'t have | N/A | doesn\'t have | N/A | support@example.com | For program support, contact support@example.com |\r\n\r\n Scenario Outline: Powered by SaaSquatch is shown by default\r\n Given the footer <mayHaveProp> "show-powered-by" with <value>\r\n Then the powered by SaaSquatch image <mayBeShown>\r\n Examples:\r\n | mayHaveProp | value | mayBeShown |\r\n | has prop | true | is shown |\r\n | has prop | false | isn\'t shown |\r\n | has prop | test | is shown |\r\n | has prop | | is shown |\r\n | doesn\'t have prop | | is shown |\r\n\r\n Scenario: Powered By Saasquatch links out to "https://saasquatch.com"\r\n Given the footer has the powered by SaaSquatch image\r\n When a user clicks on it\r\n Then they will be redirected to "https://saasquatch.com" in a new page'}},DefaultFooter:()=>e(I,Object.assign({},Ai)),FooterWithTerms:()=>e(I,Object.assign({},Ai,{termsLink:"https://example.com",termsText:"Terms and Conditions"})),FooterWithFAQ:()=>e(I,Object.assign({},Ai,{faqLink:"https://example.com",faqText:"FAQ"})),FooterWithTermsAndFAQ:()=>e(I,Object.assign({},Ai,{termsLink:"https://example.com",termsText:"Terms and Conditions",faqLink:"https://example.com",faqText:"FAQ"})),FooterNoPoweredBy:()=>e(I,Object.assign({},Ai,{termsLink:"https://example.com",termsText:"Terms and Conditions",faqLink:"https://example.com",faqText:"FAQ",showPoweredBy:!1}))}),Ri=Object.freeze({__proto__:null,default:{title:"Hero Layout",parameters:{scenario:'Feature: Hero Unit\r\n\r\n Background: A portal with a hero unit exists\r\n Given a hosted portal\r\n And the portal has hero unit on the login page\r\n And a user is viewing the login page\r\n\r\n Scenario: The hero unit defaults to a single column layout\r\n Given a hero unit does not have a "columns" prop\r\n But the following html is wrapped by the hero unit\r\n """\r\n <sqm-portal-login></sqm-portal-login>\r\n <div slot="secondary-column">\r\n <h1 style="text-align:center">Get Referring!</h1>\r\n <p style="text-align:center">\r\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do\r\n eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim\r\n ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\r\n aliquip ex ea commodo consequat. Duis aute irure dolor in\r\n reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\r\n pariatur.\r\n </p>\r\n </div>\r\n """\r\n Then only a single column will be displayed\r\n And within it will be the login component\r\n\r\n Scenario Outline: The hero unit supports single or dual column layouts\r\n Given a hero unit with prop "columns" having <columnValue>\r\n And it wraps <html>\r\n Then the hero unit displays <columnValue> columns\r\n Examples:\r\n | columnValue | html |\r\n | 1 | <h1>Column 1!</h1> |\r\n | 2 | <h1>Column 1!</h1><div slot="secondary-column"><h1 style="text-align:center">Column 2!</h1></div> |\r\n\r\n Scenario: HTML to be displayed in the second column comes from the "secondary-column" slot\r\n Given a hero unit with "columns" "2"\r\n And the following html\r\n """\r\n <h1>Column 1!</h1>\r\n <div>\r\n <h1 style="text-align:center">Column 2!</h1>\r\n </div>\r\n """\r\n When the hero unit is rendered\r\n Then only one column is displayed with content\r\n And column 1 will contain the "Column 1!" text\r\n And column 1 will contain the "Column 2!" text\r\n When the div for column two is updated to have \'slot="secondary-column"\'\r\n Then the two columns are displayed with content\r\n And column 1 will contain the "Column 1!" text\r\n And column 2 will contain the "Column 2!" text\r\n\r\n Scenario Outline: A background for the hero unit can be set as an image or colour\r\n Given a hero unit with <backgroundPropValue>\r\n Then the background will be <background>\r\n Examples:\r\n | background | background |\r\n | https://images.unsplash.com/photo-1599676821464-3555954838d | image of misty mountains |\r\n | LightSlateGrey | light slate grey |\r\n | #00FF00 | green |\r\n | rgb(128,0,128) | purple |\r\n\r\n Scenario Outline: Wrap Direction can be configured for mobile experiences\r\n Given a hero unit with the following HTML\r\n """\r\n <h1>Column 1!</h1>\r\n <div slot="secondary-column">\r\n <h1 style="text-align:center">Column 2!</h1>\r\n </div>\r\n """\r\n And prop "wrap-direction" has <value>\r\n When the window width is less than 600px\r\n Then the two columns will stack\r\n And <column> will be on top\r\n Examples:\r\n | value | column |\r\n | wrap | 1 |\r\n | wrap-reverse | 2 |\r\n | | 1 |'}},LoginOneColumn:()=>{const t={states:{columns:1,wrapDirection:"wrap",paddingSize:"large"},content:{primaryColumn:[e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("sqm-portal-login",null)]}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},LoginOneColumnWithColor:()=>{const t={states:{columns:1,wrapDirection:"wrap",paddingSize:"large",background:"LightSlateGrey"},content:{primaryColumn:e("sqm-portal-login",null)}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},LoginOneColumnWithImage:()=>{const t={states:{columns:1,wrapDirection:"wrap",paddingSize:"large",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"},content:{primaryColumn:e("sqm-portal-login",null)}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},TwoColumnLoginLargePadding:()=>{const t={states:{columns:2,wrapDirection:"wrap",paddingSize:"large",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:e("sqm-portal-login",null),secondaryColumn:e("div",null,e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},TwoColumnLoginMediumPadding:()=>{const t={states:{columns:2,wrapDirection:"wrap",paddingSize:"medium",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:e("sqm-portal-login",null),secondaryColumn:e("div",null,e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},TwoColumnLoginSmallPadding:()=>{const t={states:{columns:2,wrapDirection:"wrap",paddingSize:"small",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:e("sqm-portal-login",null),secondaryColumn:e("div",null,e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},TwoColumnLoginNoPadding:()=>{const t={states:{columns:2,wrapDirection:"wrap",paddingSize:"none",background:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80",secondaryBackground:"LightSlateGrey"},content:{primaryColumn:e("sqm-portal-login",null),secondaryColumn:e("div",null,e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},TwoColumnLoginReverseWrap:()=>{const t={states:{columns:2,wrapDirection:"wrap-reverse",background:"LightSlateGrey",paddingSize:"large",secondaryBackground:"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80"},content:{primaryColumn:e("sqm-portal-change-password",null),secondaryColumn:e("div",null,e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."))}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))},TwoColumnLoginWithImgElement:()=>{const t={states:{columns:2,wrapDirection:"wrap",paddingSize:"large"},content:{primaryColumn:e("div",null,e("h1",{style:{textAlign:"center"}},"Get Referring!"),e("sqm-portal-login",null)),secondaryColumn:e("div",null,e("img",{src:"https://images.unsplash.com/photo-1487528278747-ba99ed528ebc?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2070&q=80"}),e("p",null,"Pellentesque mauris urna, lacinia non turpis sed, pulvinar congue ligula. Sed mattis condimentum eros nec vulputate. Cras consectetur eget libero at viverra. Aliquam suscipit feugiat ante sit amet sagittis. Fusce pulvinar interdum odio ut dapibus. Nulla aliquet ultricies augue nec dignissim. Morbi vulputate hendrerit sem."))}};return e("div",{style:{height:"800px"}},e(y,Object.assign({},t)))}}),Ti={data:{shareCode:"BOBBYREFER"},states:{content:{iframeSrc:"https://example.com",iframeHeight:"100%",iframeWidth:"100%"}}},Pi=Object.freeze({__proto__:null,default:{title:"Referral Iframe",parameters:{scenario:'@owner:sam\r\n@author:sam\r\n\r\nFeature: Referral Iframe\r\n\r\n Used to provide an external form for submitting referral leads using the current user\'s referral code\r\n\r\n Background: A user is logged in\r\n Given there is a logged in user\r\n\r\n @motivating\r\n Scenario: Referral code is passed to the iframe as a query parameter\r\n Given the "iframe-src" is "https://example.com"\r\n And the user has navigated to "/refer"\r\n And the user\'s referral code is "BOBBYREFER"\r\n When the iframe content is loaded\r\n Then the iframe url will be "https://example.com?rsCode=BOBBYREFER"\r\n\r\n @ui\r\n Scenario Outline: The height and width of the iFrame can be controlled via props\r\n Given the "iframe-src" is "https://example.com"\r\n And the iframe content is 1000x1000\r\n And the "iframe-height" is set to <heightValue>\r\n And the "iframe-width" is set to <widthValue>\r\n Then the content of the iframe will be displayed with scrollbars\r\n And the dimension of the iFrame displayed will be 500x500\r\n When the "iframe-height" is set to <heightValue>\r\n And the "iframe-width" is set to <widthValue>\r\n Then the full content of the iframe will be displayed on the page\r\n And the dimension of the iFrame displayed will be 1000x1000\r\n Examples:\r\n | heightValue | widthValue |\r\n | 500px | 500px |\r\n | 50% | 50% |\r\n\r\n @minutae\r\n Scenario Outline: The iFrame will fail fast if a iFrame source isn\'t provided\r\n Given "iframe-src" <mayBeAnAttribute>\r\n And it <mayHaveValue>\r\n When a user views the referral iFrame component\r\n Then an alert with an error message is displayed in place of the iFrame\r\n And it has a details section\r\n When "More details" is clicked\r\n Then the following information will be displayed\r\n | component being used |\r\n | missing attribute(s) |\r\n\r\n Examples:\r\n | mayBeAnAttribute | mayHaveValue |\r\n | is not an attribute | N/A |\r\n | is an attribute | "" |\r\n | is an attribute | |'}},ReferralIframe:()=>e("div",{style:{width:"1000px",height:"1000px"}},e(K,Object.assign({},Ti))),ReferralIframeError:()=>e("div",{style:{width:"1000px",height:"1000px"}},e("sqm-referral-iframe",null))}),Ni={states:{validationErrors:void 0,content:{firstNameLabel:"First Name",lastNameLabel:"Last Name"}}},Ii={states:{validationErrors:{firstName:"Cannot be empty",lastName:"Cannot be empty"},content:{firstNameLabel:"First Name",lastNameLabel:"Last Name"}}},Fi=Object.freeze({__proto__:null,default:{title:"Name Fields",parameters:{scenario:'@owner:sam\r\n@author:sam\r\n\r\nFeature: Name Fields\r\n\r\n Fields to be used to fill the first and last name of a user during registration\r\n\r\n Background:\r\n Given the current page is "/register"\r\n\r\n @motivating\r\n Scenario: Both first name and last name are required\r\n Given the email field has valid input\r\n And the password field has valid input\r\n And first name field is empty\r\n And last name field is empty\r\n When register is clicked\r\n Then the name fields will be highlighted in red\r\n And the error messages will say "Cannot be empty"\r\n\r\n @motivating\r\n Scenario: First and last name are upserted with the SaaSquatch user\r\n Given all fields have been filled with data\r\n | firstName | lastName | email | password |\r\n | Bob | Testerson | bob@example.com | SecurePassword1 |\r\n When register is clicked\r\n Then the email verification page will be loaded\r\n And the user will be upserted\r\n And the SaaSquatch user will contain data\r\n | firstName | lastName | email |\r\n | Bob | Testerson | bob@example.com |\r\n\r\n'}},NameFields:()=>e(k,Object.assign({},Ni)),NameFieldsWithErrors:()=>e(k,Object.assign({},Ii))}),Si=(e,t="chooseReward",r=null,n=null,a=!1,s=!1,i=null)=>({states:{content:{text:{buttonText:"Exchange Rewards",notAvailableError:"{unavailableReasonCode, select, NOT_CHAMPION {CUSTOM ERROR MESSAGE } US_TAX {Exceeds tax limit for this year} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {unavailableReasonCode} }",chooseRewardTitle:"Rewards",chooseAmountTitle:"Select",confirmationTitle:"Confirm",rewardTitle:"Choose a reward",cancelText:"Cancel",backText:"Back",continueText:"Continue",continueToConfirmationText:"Continue to confirmation",redeemText:"Redeem",redeemTitle:"Confirm and redeem",redemptionSuccessText:"Redeemed {sourceValue} for {destinationValue}",doneText:"Done",toolTipText:"Copied!",selectText:"Select amount to receive",sourceAmountMessage:"{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}",rewardRedeemedText:"Reward redeemed",redemptionError:"An error occured trying to redeem this reward. Please try again",promoCode:"Promo code",skeletonCardNum:8,rewardNameTitle:"Reward Name",rewardAmountTitle:"Reward Amount",costTitle:"Cost"}},redeemStage:t,amount:0,exchangeError:a,loading:s,selectedItem:r,selectedStep:n,open:!1},data:{exchangeList:e,fuelTankCode:i},callbacks:{exchangeReward:null,resetState:null,setStage:null,setExchangeState:null,copyFuelTankCode:null,refs:null},refs:null}),Li={key:"",name:"",description:"Description of reward. Lorem ipsum dolor sit amet, consectetur adipiscing. Id nec semper sapien dignissim rhoncus nunc.",imageUrl:"",available:!0,unavailableReasonCode:null,ruleType:"FIXED_GLOBAL_REWARD",sourceUnit:"POINT",sourceValue:10,prettySourceValue:"10 SaaSquatch Points",sourceMinValue:null,prettySourceMinValue:null,sourceMaxValue:null,prettySourceMaxValue:null,destinationMinValue:null,prettyDestinationMinValue:null,destinationMaxValue:null,prettyDestinationMaxValue:null,globalRewardKey:"",destinationUnit:null,steps:[]},Bi={available:!1,unavailableReasonCode:"INSUFFICIENT_REDEEMABLE_CREDIT"},Oi={key:"r1"},ji=e=>({imageUrl:e}),_i=e=>({name:e}),Vi=e=>({prettySourceValue:e}),Gi=(e,t,r)=>({ruleType:"VARIABLE_CREDIT_REWARD",sourceMinValue:e,prettySourceMinValue:e+" "+r,sourceMaxValue:t,prettySourceMaxValue:t+" "+r}),Mi=[{...Li,..._i("Free swag with a promo code"),...ji("https://i.imgur.com/n7vC4BR.png"),...Vi("40 SaaSquatch Points")},{...Li,...Oi,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points")},{...Li,..._i("A very exclusive gift box"),...ji("https://i.imgur.com/93BvEgH.png"),...Vi("30 SaaSquatch Points")},{...Li,..._i("$50 Store credit"),...ji("https://i.imgur.com/WkCMVSE.png"),...Vi("100 SaaSquatch Points")},{...Li,..._i("Variable amount of store credit"),...ji("https://i.imgur.com/Jn2fE0s.png"),...Gi(20,100,"Points")},{...Li,...Bi,..._i("A very rare cactus"),...ji("https://i.imgur.com/hhlF2Ey.png"),...Vi("2000 SaaSquatch Points")},{...Li,available:!1,unavailableReasonCode:"US_TAX",..._i("$1000 Store credit with a really super long name in the front page"),...ji("https://i.imgur.com/y9HSls1.png"),...Vi("2000 SaaSquatch Long Points")},{...Li,...Bi,..._i("A holiday gift box"),...ji("https://i.imgur.com/dWEdB3p.png"),...Vi("100 SaaSquatch Points")}],Ui={...Si(Mi)},Hi={...Si([{...Li,...Bi,..._i("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),...ji("https://i.imgur.com/dWEdB3p.png"),...Vi("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid.")},{...Li,..._i("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),...ji("https://i.imgur.com/y9HSls1.png"),...Vi("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid.")},{...Li,..._i("Suuuuuuuuper aweeeeesssssoooommme reward!!!!!!"),...ji("https://i.imgur.com/WkCMVSE.png"),...Vi("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid.")},...Mi])},Wi={...Si([{...Li,available:!1,unavailableReasonCode:"NOT_CHAMPION",..._i("A very rare cactus"),...ji("https://i.imgur.com/hhlF2Ey.png"),...Vi("2000 SaaSquatch Points")},...Mi])},zi={...Si(Mi,"chooseReward",{...Li,...Oi,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points")})},$i=(e,t,r,n,a=!0,s=null)=>({destinationValue:e,prettyDestinationValue:t+e,sourceValue:r,prettySourceValue:r+" "+n,available:a,unavailableReasonCode:s}),Ji={...Si(Mi,"chooseAmount",{...Li,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points"),steps:[$i(20,"$",40,"Points"),$i(30,"$",60,"Points"),$i(40,"$",80,"Points"),$i(50,"$",100,"Points"),$i(60,"$",120,"Points")]})},Xi={...Si(Mi,"chooseAmount",{...Li,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points"),steps:[$i(20,"$",40,"Points"),$i(30,"$",60,"Points"),$i(40,"$",80,"Points",!1,"INSUFFICIENT_REDEEMABLE_CREDIT"),$i(50,"$",100,"Points",!1,"INSUFFICIENT_REDEEMABLE_CREDIT"),$i(60,"$",120,"Points",!1,"INSUFFICIENT_REDEEMABLE_CREDIT")]})},Ki={...Si(Mi,"chooseAmount",{...Li,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points"),steps:[$i(20,"$",40,"Points"),$i(30,"$",60,"Points"),$i(40,"$",80,"Points",!1,"US_TAX"),$i(50,"$",100,"Points",!1,"US_TAX"),$i(60,"$",120,"Points",!1,"US_TAX")]})},Yi={...Si(Mi,"chooseAmount",{...Li,..._i("Free swag with a promo code"),...ji("https://i.imgur.com/n7vC4BR.png"),...Vi("40 SaaSquatch Points")})},Zi={...Si(Mi,"confirmation",{...Li,..._i("Free swag with a promo code"),...ji("https://i.imgur.com/n7vC4BR.png"),...Vi("40 SaaSquatch Points")})},Qi={...Si(Mi,"confirmation",{...Li,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points")},$i(20,"$",40,"Points"))},eo={...Si(Mi,"confirmation",{...Li,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/veHErQX.png"),...Gi(20,80,"Points")},$i(20,"$",40,"Points"),!0)},to={...Si(Mi,"success",{...Li,..._i("Free swag with a promo code"),...ji("https://i.imgur.com/n7vC4BR.png"),...Vi("40 SaaSquatch Points")},void 0,void 0,void 0,"4ah2-hh46-gk7r")},ro={...Si(Mi,"success",{...Li,..._i("Visa® Prepaid Card USD"),...ji("https://i.imgur.com/93BvEgH.png"),...Gi(20,80,"Points")},$i(20,"$",40,"Points"))},no={...Si(null,"chooseReward",null,null,!1,!0)},ao=t=>()=>e(Y,Object.assign({},t)),so=ao(Ui),io=ao(Wi),oo=ao(Hi),lo=ao(zi),uo=ao(Yi),co=ao(Ji),mo=ao(Xi),po=ao(Ki),ho=ao(Zi),go=ao(Qi),fo=ao(eo),bo=ao(to),wo=ao(ro),xo=ao(no),vo=Object.freeze({__proto__:null,default:{title:"Components/Reward Exchange List"},ChooseReward:so,CustomErrorMessage:io,LongTextRewardExhange:oo,ChooseRewardSelected:lo,ChooseAmount:uo,ChooseAmountVariable:co,chooseAmountVariableDisabled:mo,chooseAmountVariableUnavailable:po,Confirm:ho,ConfirmVariable:go,Error:fo,SuccessPromo:bo,SuccessVariable:wo,Loading:xo}),Eo=Object.freeze({__proto__:null,default:{title:"Components/Program Explainer"},OneStep:()=>e("sqm-program-explainer",{header:"How it works"},e("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Share your referral link with a friend and earn up to $1250",icon:"person-plus-fill"}),e("sqm-program-explainer-step",{header:"Earn points for using Klip",description:"Complete tasks like uploading your first video or sharing videos with friends",icon:"server"}),e("sqm-program-explainer-step",{header:"Redeem rewards with your points",description:"Redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America",icon:"people-fill"})),Custom:()=>e("sqm-program-explainer",{header:"How it works","text-color":"#fffc4b","background-color":"#ff7f7f"},e("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Share your referral link with a friend and earn up to $1250",icon:"person-plus-fill"}),e("sqm-program-explainer-step",{header:"Earn points for using Klip",description:"Complete tasks like uploading your first video or sharing videos with friends",icon:"server"}),e("sqm-program-explainer-step",{header:"Redeem rewards with your points",description:"Redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America",icon:"people-fill"}))}),yo=Object.freeze({__proto__:null,default:{title:"Components/Program Explainer Step"},ProgramExplainerStep:()=>e("sqm-program-explainer-step",{header:"Get up to $1250 for inviting friends to Klip",description:"Send your referral link to a friend or share it through email, Twitter, or Facebook",icon:"person-plus-fill"}),ProgramExplainerStepCustom:()=>e("sqm-program-explainer-step",{header:"Invite your friends to Klip",description:"Send your referral link to a friend or share it through email, Twitter, or Facebook","image-url":"https://i.imgur.com/Uqn3aXw.png","text-color":"#fffc4b","background-color":"#ff7f7f"})}),qo=()=>e("div",{style:{padding:"10px",border:"5px solid #EEE"}},e("div",{style:{display:"flex",gap:"5px",padding:"5px"}},e("sl-button",{type:"default"},"Default"),e("sl-button",{type:"primary"},"Primary"),e("sl-button",{type:"success"},"Success"),e("sl-button",{type:"neutral"},"Neutral"),e("sl-button",{type:"warning"},"Warning"),e("sl-button",{type:"danger"},"Danger")),e("div",{style:{display:"flex",gap:"5px",padding:"5px"}},e("sl-badge",{type:"primary"},"Primary"),e("sl-badge",{type:"success"},"Success"),e("sl-badge",{type:"neutral"},"Neutral"),e("sl-badge",{type:"warning"},"Warning"),e("sl-badge",{type:"danger"},"Danger")),e("div",{class:"color-palette"},e("div",{class:"color-palette__name"},"Primary",e("br",null),e("code",null,"--sl-color-primary-",e("em",null,"{n}"))),e("div",{style:{display:"flex",gap:"5px"}},e(Do,{depth:50}),e(Do,{depth:100}),e(Do,{depth:200}),e(Do,{depth:300}),e(Do,{depth:400}),e(Do,{depth:500}),e(Do,{depth:600}),e(Do,{depth:700}),e(Do,{depth:800}),e(Do,{depth:900}),e(Do,{depth:950}))));function Do({depth:t}){return e("div",{style:{backgroundColor:`var(--sl-color-primary-${t})`,color:`var(--sl-color-neutral-${1e3-t})`,width:"50px",height:"50px",display:"flex",justifyContent:"center",alignItems:"center"}},t)}const Co=Object.freeze({__proto__:null,default:{title:"Components/Brand"},Examples:()=>e("div",null,e(qo,null),e("sqm-brand",{"brand-color":"#FF0000"},e(qo,null)),e("sqm-brand",{"brand-color":"#00FF00"},e(qo,null)),e("sqm-brand",{"brand-color":"#0000FF"},e(qo,null)),e("sqm-brand",{"brand-color":"#000000"},e(qo,null))),Nested:()=>e("div",null,"Default ",e(qo,null),e("sqm-brand",{"brand-color":"#FF0000"},"Red:",e(qo,null),e("sqm-brand",{"brand-color":"#00FF00"},"Green:",e(qo,null),e("sqm-brand",{"brand-color":"#0000FF"},"Blue:",e(qo,null),e("sqm-brand",{"brand-color":"#000000"},"Black:",e(qo,null)))))),Fonts:()=>e("div",null,e(qo,null),e("sqm-brand",{"brand-font":"Roboto"},"Roboto",e(qo,null)),e("sqm-brand",{"brand-font":"Open Sans"},"Open Sans",e(qo,null)),e("sqm-brand",{"brand-font":"Lato"},"Lato",e(qo,null)),e("sqm-brand",{"brand-font":"Oswald"},"Oswald",e(qo,null)))}),Ao={width:347,gap:24},ko={content:{rewardAmount:"20",rewardUnit:"SaaSquatch Points",cardTitle:"Complete a survey",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:!1,showProgressBar:!1,steps:!1,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:!1,showExpiry:!1,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:1,locale:"en"},states:{progress:0,loading:!1,loadingEvent:!1}},Ro={content:{rewardAmount:"40",rewardUnit:"SaaSquatch Points",cardTitle:"Comment on 5 articles",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:!1,showProgressBar:!0,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",steps:!0,buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:!1,showExpiry:!1,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:5,locale:"en"},states:{progress:1,loading:!1,loadingEvent:!1}},To={content:{rewardAmount:"150",rewardUnit:"SaaSquatch Points",cardTitle:"Spend $500 at our Store",description:"Description of action and reward. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget quisque commodo leo.",repeatable:!1,showProgressBar:!0,steps:!1,completedText:"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",progressBarUnit:"$",buttonText:"Take survey",buttonLink:"https://example.com/",openNewTab:!1,showExpiry:!1,rewardDuration:null,expiryMessage:"Ends {endDate}",startsOnMessage:"Starts {startDate}",endedMessage:"Ended {endDate}",finite:0,goal:500,locale:"en"},states:{progress:100,loading:!1,loadingEvent:!1}},Po=Object.freeze({__proto__:null,default:{title:"Components/Card Feed"},TaskCardGrid:()=>e(Z,Object.assign({},Ao),e(J,Object.assign({},ko)),e("div",null,e(J,Object.assign({},Ro))),e("div",null,e("div",null,e(J,Object.assign({},ko)))),e(J,Object.assign({},Ro)),e(J,Object.assign({},Ro)),e("div",null,e(J,Object.assign({},Ro))),e("div",null,e("div",null,e(J,Object.assign({},ko)))),e(J,Object.assign({},To)))}),No=Object.freeze({__proto__:null,default:{title:"Components/Portal Container",parameters:{scenario:"Feature: Portal Container\r\n\r\n\r\n Scenario: Horizontal content overflows, but does not stretch\r\n\r\n Bad elements should not affect other elements in the page\r\n\r\n Given there are two element in the container\r\n And the first is small\r\n And the second would stretch the container wider than it's parent\r\n Then the second one is clipped\r\n And the first one doesn't stretch\r\n\r\n @landmine\r\n Scenario: `max-width` is required for displaying as a row\r\n Given I have `direction` to \"row\"\r\n And I have not set a `max-width`\r\n Then it will display as a column\r\n"}},TooWideColumn:()=>e("div",{style:{width:"200px",border:"1px dashed grey"}},e("sqm-portal-container",null,e("div",{style:{background:"grey",border:"1px solid red"}},"Small"),e("div",{style:{background:"lightblue",width:"1000px"}},"Too wide, content goes off the side of the page for ever and is hidden."))),TooWideRow:()=>e("div",{style:{width:"500px",border:"1px dashed grey"}},e("sqm-portal-container",{direction:"row","min-width":"160px"},e("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),e("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),e("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook"))),HalfWidth:()=>e("div",{style:{width:"1000px",border:"1px dashed grey"}},e("sqm-portal-container",{direction:"row",minWidth:"160px",maxWidth:"50%"},e("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),e("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),e("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook"))),FullWidth:()=>e("div",{style:{width:"1000px",border:"1px dashed grey"}},e("sqm-portal-container",{direction:"row",maxWidth:"100%"},e("sqm-share-button",{icon:"envelope",medium:"email",size:"medium",class:"hydrated"},"Email a friend"),e("sqm-share-button",{medium:"twitter",size:"medium",class:"hydrated"},"Tweet about us"),e("sqm-share-button",{medium:"facebook",size:"medium",class:"hydrated"},"Share on Facebook")))}),Io={id:"61c100117a82a376d8804166",type:"CREDIT",value:19,unit:"TESTUNIT",name:null,dateGiven:1640038417468,dateExpires:null,dateCancelled:null,dateRedeemed:null,dateScheduledFor:null,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:"19 Points",prettyValueNumber:"19",prettyAvailableNumber:"19",prettyRedeemedNumber:"0",statuses:["AVAILABLE"],globalRewardKey:null,rewardSource:"MANUAL",prettyRedeemedCredit:"0 Points",prettyAssignedCredit:"19 Points",prettyAvailableValue:"19 Points",exchangedRewardRedemptionTransaction:null,referral:null,rewardRedemptionTransactions:{data:null}},Fo={prettyAvailableValue:"10 Points",prettyRedeemedCredit:"9 Points",prettyRedeemedNumber:"9",dateRedeemed:1640038417468},So={prettyAvailableValue:"0 Points",prettyRedeemedCredit:"19 Points",prettyRedeemedNumber:"19",dateRedeemed:1640038417468},Lo={prettyValue:"1 Points",prettyValueNumber:"1",prettyAvailableNumber:"1",prettyAvailableValue:"0 Points",prettyRedeemedCredit:"1 Points",prettyRedeemedNumber:"1",dateRedeemed:1640038417468},Bo={exchangedRewardRedemptionTransaction:{id:"61c100117a82a376d88041196",creditRedeemed:1,prettyRedeemedCredit:"1 Money",unit:"TESTUNIT",dateRedeemed:1640038417173,redeemedRewards:null,exchangedRewards:null}},Oo={firstName:"John",lastName:"Doe",imageUrl:null},jo={firstName:"",lastName:"",imageUrl:null},_o=(e=null)=>({rewardSource:"FRIEND_SIGNUP",referral:{id:"123",dateConverted:1640038417173,dateReferralStarted:1640038417173,dateReferralPaid:1640038417173,dateReferralEnded:null,moderationStatus:null,rewards:null,referrerUser:e,referredUser:e}}),Vo=(e=null)=>({rewardSource:"REFERRED",referral:{id:"123",dateConverted:1640038417173,dateReferralStarted:1640038417173,dateReferralPaid:1640038417173,dateReferralEnded:null,moderationStatus:null,rewards:null,referrerUser:e,referredUser:e}}),Go={dateExpires:1640038417468},Mo={statuses:["REDEEMED"],dateRedeemed:1640038417468},Uo={statuses:["CANCELLED"],dateCancelled:1640038417468},Ho={statuses:["EXPIRED"],dateExpires:1640038417468},Wo={statuses:["PENDING"]},zo=Object.freeze({__proto__:null,default:{title:"Components/Rewards Table Cell"},RewardsCellCreditFull:()=>e("sqm-rewards-table-reward-cell",{reward:{...Io},availableText:"19 Points remaining"}),RewardsCellCreditPartial:()=>e("sqm-rewards-table-reward-cell",{reward:{...Io,...Fo},availableText:"10 Points remaining"}),RewardsCellCreditEmpty:()=>e("sqm-rewards-table-reward-cell",{reward:{...Io,...So},availableText:"0 Points remaining"}),RewardsCellSingleRedeemed:()=>e("sqm-rewards-table-reward-cell",{reward:{...Io,...Lo}}),RewardsCellNonCredit:()=>e("sqm-rewards-table-reward-cell",{reward:{...Io,type:"FUELTANK",prettyValue:"SaaSquatch Giftcard"}}),SourceCellText:()=>e("sqm-rewards-table-source-cell",{reward:Io,rewardSourceText:"Manual"}),SourceCellExchange:()=>e("sqm-rewards-table-source-cell",{reward:{...Io,...Bo},rewardExchangeText:"Reward Exchange"}),SourceCellReferral:()=>e("sqm-rewards-table-source-cell",{reward:{...Io,..._o(Oo)},referralText:"Referral to"}),SourceCellReferred:()=>e("sqm-rewards-table-source-cell",{reward:{...Io,...Vo(Oo)},referralText:"Referred by"}),SourceCellAnonymousUser:()=>e("sqm-rewards-table-source-cell",{reward:{...Io,..._o(jo)},referralText:"Referral to",anonymousUserText:"Anonymous User"}),SourceCellDeletedUser:()=>e("sqm-rewards-table-source-cell",{reward:{...Io,..._o(null)},referralText:"Referral to",deletedUserText:"Deleted User"}),StatusCellAvailable:()=>e("sqm-rewards-table-status-cell",{statusText:"Available",reward:Io}),StatusCellAvailableExpiry:()=>e("sqm-rewards-table-status-cell",{statusText:"Available",reward:{...Io,...Go},expiryText:"Expires"}),StatusCellRedeemed:()=>e("sqm-rewards-table-status-cell",{statusText:"Redeemed",reward:{...Io,...Mo}}),StatusCellCancelled:()=>e("sqm-rewards-table-status-cell",{statusText:"Cancelled",reward:{...Io,...Uo}}),StatusCellExpired:()=>e("sqm-rewards-table-status-cell",{statusText:"Expired",reward:{...Io,...Ho}}),StatusCellPending:()=>e("sqm-rewards-table-status-cell",{statusText:"Pending",reward:{...Io,...Wo}}),DateCell:()=>e("sqm-rewards-table-date-cell",{date:1640038417468}),EmptyCell:()=>e("sqm-rewards-table-date-cell",null)}),$o=Object.freeze({__proto__:null,default:{title:"Components/Rewards Table"},Tab:()=>e("sqm-rewards-table-date-cell",null),EmptyCell:()=>e("sqm-rewards-table-date-cell",null)});function Jo({token:e,id:t}){const r=t;return window.widgetIdent={tenantAlias:"test_a74miwdpofztj",appDomain:"https://staging.referralsaasquatch.com"},i((()=>(c({accountId:r,id:t,jwt:e}),()=>{window.widgetIdent=void 0,c(void 0)})),[]),{id:t,accountId:r}}const Xo=br((()=>(function(){const e="testestest";window.widgetIdent={tenantAlias:"test_a8b41jotf8a1v",appDomain:"https://staging.referralsaasquatch.com"},i((()=>(c({accountId:"testestest",id:e,jwt:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs"}),()=>{window.widgetIdent=void 0,c(void 0)})),[])}(),h("sam-partner-test-2"),e("sqm-referral-table",null,e("sqm-referral-table-user-column",null),e("sqm-referral-table-status-column",null),e("sqm-referral-table-date-column",null),e("sqm-referral-table-rewards-column",null))))),Ko=br((()=>(Jo({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",id:"samenglish"}),h("klip-referral-program"),e("sqm-referral-table",{"per-page":"4"},e("sqm-referral-table-user-column",{"column-title":"User"}),e("sqm-referral-table-status-column",{"column-title":"Referral Status"}),e("sqm-referral-table-rewards-column",null),e("sqm-referral-table-date-column",{"column-title":"Date Referred","date-shown":"dateReferralStarted"}))))),Yo=br((()=>(Jo({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",id:"samturkey"}),h("klip-referral-program"),e("sqm-referral-table",{"more-label":"Daha","prev-label":"Öncesi","empty-state-text":"Henüz Ödül Yok","per-page":"4"},e("sqm-referral-table-user-column",{"column-title":"Kullanıcılar","anonymous-user":"Anonim Kullanıcı","deleted-user":"Silinmiş Kullanıcı"}),e("sqm-referral-table-status-column",{"column-title":"Durumu","converted-status-text":"Dönüştür","in-progress-status-text":"Devam etmekte"}),e("sqm-referral-table-rewards-column",{"column-title":"Ödüller","status-text":"{status, select, AVAILABLE {Mevcut} CANCELLED {İptal edildi} PENDING {Bekliyor} EXPIRED {Süresi doldu} REDEEMED {Kullanıldı} other {Müsait değil} }","status-long-text":"{status, select, AVAILABLE {Ödül süresi doluyor} CANCELLED {Ödül iptal edildi} PENDING {üzerinde mevcut} EXPIRED {Ödülün süresi doldu} other {Müsait değil} }","reward-received-text":"Ödül şu tarihte alındı:"}),e("sqm-referral-table-date-column",{"column-title":"Tarih","date-shown":"dateReferralStarted"}))))),Zo=br((()=>(Jo({token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",id:"samfrench"}),h("klip-referral-program"),e("sqm-referral-table",{"more-label":"Plus","prev-label":"Précédent","empty-state-text":"Aucune Référence Maintenant","per-page":"4"},e("sqm-referral-table-user-column",{"column-title":"Utilisateur","anonymous-user":"Utilisateur Anonyme","deleted-user":"Utilisateur Supprimé"}),e("sqm-referral-table-status-column",{"column-title":"Statut de Parrainage","converted-status-text":"Converti","in-progress-status-text":"En cours"}),e("sqm-referral-table-rewards-column",{"column-title":"Récompenses","status-text":"{status, select, AVAILABLE {Disponible} CANCELLED {Annulé} PENDING {En attente} EXPIRED {Expiré} REDEEMED {Racheté} other {Indisponible} }","status-long-text":"{status, select, AVAILABLE {Récompense expirant sur} CANCELLED {Récompense annulée sur} PENDING {Disponible sur} EXPIRED {Récompense expirée sur} other {Indisponible} }","reward-received-text":"Récompense reçue"}),e("sqm-referral-table-date-column",{"column-title":"Date de Référence","date-shown":"dateReferralStarted"}))))),Qo=Object.freeze({__proto__:null,default:{title:"Hooks / useReferralTable"},ReferralTable:Xo,ReferralTableEn:Ko,ReferralTableTr:Yo,ReferralTableFr:Zo}),el=Object.freeze({__proto__:null,default:{title:"Components/Hero Image"},OverlayHeader:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",layout:"overlay"}),OverlayDescription:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards",layout:"overlay"}),OverlayButton:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay"}),OverlayLong:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum","button-text":"Start earning",layout:"overlay"}),OverlayLeft:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay","image-pos":"left"}),OverlayCenter:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay","image-pos":"center"}),OverlayRight:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"overlay","image-pos":"right"}),OverlayCustom:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/bTwu1Um.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning","text-color":"#fffc4b","overlay-color":"#ff7f7f","overlay-opacity":"0.9",layout:"overlay"}),Columns:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns"}),ColumnsReverse:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns",imagePos:"right",imageMobilePos:"bottom"}),ColumnsCustomPercentage:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/2evfTx7.png",description:"Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!",layout:"columns","image-percentage":"25%","max-height":"150px","max-width":"100%",paddingImage:"large",paddingText:"large"}),ColumnsCustom:()=>e("sqm-hero-image",{"image-url":"https://i.imgur.com/yr6ER3R.png",header:"Klip Rewards",description:"Refer friends or complete tasks while using Klip to earn rewards","button-text":"Start earning",layout:"columns","text-color":"#fffc4b","background-color":"#ff7f7f"})}),tl=t=>e("sqm-portal-container",{gap:"large",slot:t},"Get rewarded when your friend uses Klip",e("sqm-image",{"image-url":"https://i.imgur.com/IqB7GeS.png"})),rl=t=>e("sqm-portal-container",{gap:"large",slot:t},e("sqm-text",null,"Choose how you want to share:"),e("sqm-text",null,e("p",{light:!0},"Your unique referral link:"),e("sqm-share-code",null)),e("sqm-portal-container",{gap:"x-small"},e("sqm-share-button",{medium:"email"},"Share via email"),e("sqm-share-button",{medium:"facebook"},"Share on Facebook"),e("sqm-share-button",{medium:"twitter"},"Tweet about us"))),nl=(t,r)=>e("sqm-timeline",{slot:t,icon:"circle"},r>0&&e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),r>1&&e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),r>2&&e("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}),r>3&&e("sqm-timeline-entry",{reward:"$1000",unit:"visa giftcard",desc:"Your friend purchases Klip Team"})),al=Object.freeze({__proto__:null,default:{title:"Components/Referral Card"},ReferralCardDefault:()=>e("sqm-referral-card",null),ReferralCardA:()=>e("sqm-referral-card",null,tl("left"),rl("right")),ReferralCardB:()=>e("sqm-referral-card",null,nl("left",2),rl("right")),ReferralCardC:()=>e("sqm-referral-card",null,nl("left",3),rl("right")),ReferralCardDStart:()=>e("sqm-referral-card",{"vertical-alignment":"start"},nl("left",4),rl("right")),ReferralCardDCenter:()=>e("sqm-referral-card",{"vertical-alignment":"center"},nl("left",4),rl("right")),ReferralCardDEnd:()=>e("sqm-referral-card",{"vertical-alignment":"end"},nl("left",4),rl("right")),ReferralCardAFlipped:()=>e("sqm-referral-card",null,tl("right"),rl("left")),ReferralCardBFlipped:()=>e("sqm-referral-card",null,nl("right",2),rl("left")),ReferralCardCFlipped:()=>e("sqm-referral-card",null,nl("right",3),rl("left")),ReferralCardDFlipped:()=>e("sqm-referral-card",null,nl("right",4),rl("left")),TimelineWith1Reward:()=>e("div",null,e("sqm-timeline",null,e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"})),e("br",null)," ",e("hr",null)," ",e("br",null),e("sqm-timeline",{icon:"circle"},e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}))),TimelineWith2Rewards:()=>e("div",null,e("sqm-timeline",null,e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"})),e("br",null)," ",e("hr",null)," ",e("br",null),e("sqm-timeline",{icon:"circle"},e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}))),TimelineWith3Rewards:()=>e("div",null,e("sqm-timeline",null,e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),e("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"})),e("br",null)," ",e("hr",null)," ",e("br",null),e("sqm-timeline",{icon:"circle"},e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),e("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}))),TimelineWith4Rewards:()=>e("div",null,e("sqm-timeline",null,e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),e("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}),e("sqm-timeline-entry",{reward:"$1000",unit:"visa giftcard",desc:"Your friend purchases Klip Team"})),e("br",null)," ",e("hr",null)," ",e("br",null),e("sqm-timeline",{icon:"circle"},e("sqm-timeline-entry",{reward:"75",unit:"points",desc:"Your friends signs up for a free trial"}),e("sqm-timeline-entry",{reward:"$50",unit:"visa giftcard",desc:"Your friends signs up for Klip Personal"}),e("sqm-timeline-entry",{reward:"$200",unit:"visa giftcard",desc:"Your friend qualifies as a good fit for Klip Team"}),e("sqm-timeline-entry",{reward:"$1000",unit:"visa giftcard",desc:"Your friend purchases Klip Team"})))}),sl=Object.freeze({__proto__:null,default:{title:"Components/Image"},Image:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png"}),ImageAlignLeft:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png",align:"left"}),ImageAlignCenter:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png",align:"center"}),ImageAlignRight:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png",align:"right"}),ImageMarginLeft:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png",left:"100px"}),ImageMarginRight:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png",right:"100px"}),ImageBackground:()=>e("sqm-image",{"image-url":"https://i.imgur.com/tn47wOj.png","background-color":"firebrick"})}),il=Object.freeze({__proto__:null,default:{title:"Components/Titled Section"},AlignLeft:()=>e("sqm-titled-section",{align:"left"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),AlignCenter:()=>e("sqm-titled-section",{align:"center"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),AlignRight:()=>e("sqm-titled-section",{align:"right"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),Padding:()=>e("div",null,e("h3",null,"None"),e("sqm-titled-section",{padding:"none"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xxx-small"),e("sqm-titled-section",{padding:"xxx-small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xx-small"),e("sqm-titled-section",{padding:"xx-small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"x-small"),e("sqm-titled-section",{padding:"x-small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"small"),e("sqm-titled-section",{padding:"small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"medium"),e("sqm-titled-section",{padding:"medium"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"large"),e("sqm-titled-section",{padding:"large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"x-large"),e("sqm-titled-section",{padding:"x-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xx-large"),e("sqm-titled-section",{padding:"xx-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xxx-large"),e("sqm-titled-section",{padding:"xxx-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xxxx-large"),e("sqm-titled-section",{padding:"xxxx-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America")))),LabelMargin:()=>e("div",null,e("h3",null,"None"),e("sqm-titled-section",{"label-margin":"none"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xxx-small"),e("sqm-titled-section",{"label-margin":"xxx-small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xx-small"),e("sqm-titled-section",{"label-margin":"xx-small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"x-small"),e("sqm-titled-section",{"label-margin":"x-small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"small"),e("sqm-titled-section",{"label-margin":"small"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"medium"),e("sqm-titled-section",{"label-margin":"medium"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"large"),e("sqm-titled-section",{"label-margin":"large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"x-large"),e("sqm-titled-section",{"label-margin":"x-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xx-large"),e("sqm-titled-section",{"label-margin":"xx-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xxx-large"),e("sqm-titled-section",{"label-margin":"xxx-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))),e("br",null),e("hr",null),e("br",null),e("h3",null,"xxxx-large"),e("sqm-titled-section",{"label-margin":"xxxx-large"},e("sqm-text",{slot:"label"},e("h3",null,"Earn more rewards")),e("sqm-text",{slot:"content"},e("p",null,"Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America"))))}),ol=`\n:root{\n ${Q("orange")}\n}\n`,ll=`\n:root{\n ${Q("#e50914")}\n}\n`,ul=`\n:root{\n ${Q("#65bd60")}\n --sl-font-sans: Arial;\n}\n`,dl=`\n:root{\n ${Q("black")}\n --sl-font-sans: Georgia, 'Times New Roman', serif;\n}\n`,cl=`\n:root{\n ${Q("#4225C4")};\n}\n\n`,ml=Object.freeze({__proto__:null,Default:"\n // No CSS\n",Orangey:ol,Netflix:ll,SaaSquatchCorporate:ul,NYTimes:dl,Klip:cl});function pl(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(t){var r=e[t];"object"!=typeof r||Object.isFrozen(r)||pl(r)})),e}var hl=pl;hl.default=pl;class gl{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function fl(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function bl(e,...t){const r=Object.create(null);for(const t in e)r[t]=e[t];return t.forEach((function(e){for(const t in e)r[t]=e[t]})),r}const wl=e=>!!e.kind;class xl{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=fl(e)}openNode(e){if(!wl(e))return;let t=e.kind;e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){wl(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}class vl{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{vl._collapse(e)})))}}class El extends vl{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const r=e.root;r.kind=t,r.sublanguage=!0,this.add(r)}toHTML(){return new xl(this,this.options).value()}finalize(){return!0}}function yl(e){return e?"string"==typeof e?e:e.source:null}const ql=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,Dl="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Cl={begin:"\\\\[\\s\\S]",relevance:0},Al={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[Cl]},kl={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[Cl]},Rl={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Tl=function(e,t,r={}){const n=bl({className:"comment",begin:e,end:t,contains:[]},r);return n.contains.push(Rl),n.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),n},Pl=Tl("//","$"),Nl=Tl("/\\*","\\*/"),Il=Tl("#","$");var Fl=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:"[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE:"[a-zA-Z_]\\w*",NUMBER_RE:"\\b\\d+(\\.\\d+)?",C_NUMBER_RE:Dl,BINARY_NUMBER_RE:"\\b(0b[01]+)",RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=function(...e){return e.map((e=>yl(e))).join("")}(t,/.*\b/,e.binary,/\b.*/)),bl({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:Cl,APOS_STRING_MODE:Al,QUOTE_STRING_MODE:kl,PHRASAL_WORDS_MODE:Rl,COMMENT:Tl,C_LINE_COMMENT_MODE:Pl,C_BLOCK_COMMENT_MODE:Nl,HASH_COMMENT_MODE:Il,NUMBER_MODE:{className:"number",begin:"\\b\\d+(\\.\\d+)?",relevance:0},C_NUMBER_MODE:{className:"number",begin:Dl,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:"\\b(0b[01]+)",relevance:0},CSS_NUMBER_MODE:{className:"number",begin:"\\b\\d+(\\.\\d+)?(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Cl,{begin:/\[/,end:/\]/,relevance:0,contains:[Cl]}]}]},TITLE_MODE:{className:"title",begin:"[a-zA-Z]\\w*",relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:"[a-zA-Z_]\\w*",relevance:0},METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}});function Sl(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function Ll(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Sl,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Bl(e){Array.isArray(e.illegal)&&(e.illegal=function(...e){return"("+e.map((e=>yl(e))).join("|")+")"}(...e.illegal))}function Ol(e){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function jl(e){void 0===e.relevance&&(e.relevance=1)}const _l=["of","and","for","in","not","or","if","then","parent","list","value"];function Vl(e,t,r="keyword"){const n={};return"string"==typeof e?a(r,e.split(" ")):Array.isArray(e)?a(r,e):Object.keys(e).forEach((function(r){Object.assign(n,Vl(e[r],t,r))})),n;function a(e,r){t&&(r=r.map((e=>e.toLowerCase()))),r.forEach((function(t){const r=t.split("|");n[r[0]]=[e,Gl(r[0],r[1])]}))}}function Gl(e,t){return t?Number(t):function(e){return _l.includes(e.toLowerCase())}(e)?0:1}function Ml(e,{}){function t(t,r){return new RegExp(yl(t),"m"+(e.case_insensitive?"i":"")+(r?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=function(e){return new RegExp(e.toString()+"|").exec("").length-1}(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(function(e,t="|"){let r=0;return e.map((e=>{r+=1;const t=r;let n=yl(e),a="";for(;n.length>0;){const e=ql.exec(n);if(!e){a+=n;break}a+=n.substring(0,e.index),n=n.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?a+="\\"+String(Number(e[1])+t):(a+=e[0],"("===e[0]&&r++)}return a})).map((e=>`(${e})`)).join(t)}(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const r=t.findIndex(((e,t)=>t>0&&void 0!==e)),n=this.matchIndexes[r];return t.splice(0,r),Object.assign(t,n)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new r;return this.rules.slice(e).forEach((([e,r])=>t.addRule(e,r))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let r=t.exec(e);if(this.resumingScanAtSamePosition())if(r&&r.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,r=t.exec(e)}return r&&(this.regexIndex+=r.position+1,this.regexIndex===this.count&&this.considerAll()),r}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=bl(e.classNameAliases||{}),function r(a,s){const i=a;if(a.isCompiled)return i;[Ol].forEach((e=>e(a,s))),e.compilerExtensions.forEach((e=>e(a,s))),a.__beforeBegin=null,[Ll,Bl,jl].forEach((e=>e(a,s))),a.isCompiled=!0;let o=null;if("object"==typeof a.keywords&&(o=a.keywords.$pattern,delete a.keywords.$pattern),a.keywords&&(a.keywords=Vl(a.keywords,e.case_insensitive)),a.lexemes&&o)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return o=o||a.lexemes||/\w+/,i.keywordPatternRe=t(o,!0),s&&(a.begin||(a.begin=/\B|\b/),i.beginRe=t(a.begin),a.endSameAsBegin&&(a.end=a.begin),a.end||a.endsWithParent||(a.end=/\B|\b/),a.end&&(i.endRe=t(a.end)),i.terminatorEnd=yl(a.end)||"",a.endsWithParent&&s.terminatorEnd&&(i.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(i.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map((function(e){return function(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return bl(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:Ul(e)?bl(e,{starts:e.starts?bl(e.starts):null}):Object.isFrozen(e)?bl(e):e}("self"===e?a:e)}))),a.contains.forEach((function(e){r(e,i)})),a.starts&&r(a.starts,s),i.matcher=function(e){const t=new n;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(i),i}(e)}function Ul(e){return!!e&&(e.endsWithParent||Ul(e.starts))}function Hl(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,fl(this.code);let t={};return this.autoDetect?(t=e.highlightAuto(this.code),this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),t.value},autoDetect(){return!this.language||(e=this.autodetect,Boolean(e||""===e));var e},ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(e){e.component("highlightjs",t)}}}}const Wl={"after:highlightElement":({el:e,result:t,text:r})=>{const n=$l(e);if(!n.length)return;const a=document.createElement("div");a.innerHTML=t.value,t.value=function(e,t,r){let n=0,a="";const s=[];function i(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:"start"===t[0].event?e:t:e.length?e:t}function o(e){a+="<"+zl(e)+[].map.call(e.attributes,(function(e){return" "+e.nodeName+'="'+fl(e.value)+'"'})).join("")+">"}function l(e){a+="</"+zl(e)+">"}function u(e){("start"===e.event?o:l)(e.node)}for(;e.length||t.length;){let t=i();if(a+=fl(r.substring(n,t[0].offset)),n=t[0].offset,t===e){s.reverse().forEach(l);do{u(t.splice(0,1)[0]),t=i()}while(t===e&&t.length&&t[0].offset===n);s.reverse().forEach(o)}else"start"===t[0].event?s.push(t[0].node):s.pop(),u(t.splice(0,1)[0])}return a+fl(r.substr(n))}(n,$l(a),r)}};function zl(e){return e.nodeName.toLowerCase()}function $l(e){const t=[];return function e(r,n){for(let a=r.firstChild;a;a=a.nextSibling)3===a.nodeType?n+=a.nodeValue.length:1===a.nodeType&&(t.push({event:"start",offset:n,node:a}),n=e(a,n),zl(a).match(/br|hr|img|input/)||t.push({event:"stop",offset:n,node:a}));return n}(e,0),t}const Jl={},Xl=e=>{console.error(e)},Kl=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Yl=(e,t)=>{Jl[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Jl[`${e}/${t}`]=!0)},Zl=fl,Ql=bl,eu=Symbol("nomatch");var tu=function(e){const t=Object.create(null),r=Object.create(null),n=[];let a=!0;const s=/(^(<[^>]+>|\t|)+|\n)/gm,i="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:El};function u(e){return l.noHighlightRe.test(e)}function d(e,t,r,n){let a="",s="";"object"==typeof t?(a=e,r=t.ignoreIllegals,s=t.language,n=void 0):(Yl("10.7.0","highlight(lang, code, ...args) has been deprecated."),Yl("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),s=e,a=t);const i={code:a,language:s};q("before:highlight",i);const o=i.result?i.result:c(i.language,i.code,r,n);return o.code=i.code,q("after:highlight",o),o}function c(e,r,s,o){function u(e,t){const r=x.case_insensitive?t[0].toLowerCase():t[0];return Object.prototype.hasOwnProperty.call(e.keywords,r)&&e.keywords[r]}function d(){null!=q.subLanguage?function(){if(""===A)return;let e=null;if("string"==typeof q.subLanguage){if(!t[q.subLanguage])return void C.addText(A);e=c(q.subLanguage,A,!0,D[q.subLanguage]),D[q.subLanguage]=e.top}else e=m(A,q.subLanguage.length?q.subLanguage:null);q.relevance>0&&(k+=e.relevance),C.addSublanguage(e.emitter,e.language)}():function(){if(!q.keywords)return void C.addText(A);let e=0;q.keywordPatternRe.lastIndex=0;let t=q.keywordPatternRe.exec(A),r="";for(;t;){r+=A.substring(e,t.index);const n=u(q,t);if(n){const[e,a]=n;C.addText(r),r="",k+=a,e.startsWith("_")?r+=t[0]:C.addKeyword(t[0],x.classNameAliases[e]||e)}else r+=t[0];e=q.keywordPatternRe.lastIndex,t=q.keywordPatternRe.exec(A)}r+=A.substr(e),C.addText(r)}(),A=""}function p(e){return e.className&&C.openNode(x.classNameAliases[e.className]||e.className),q=Object.create(e,{parent:{value:q}}),q}function h(e,t,r){let n=function(e,t){const r=e&&e.exec(t);return r&&0===r.index}(e.endRe,r);if(n){if(e["on:end"]){const r=new gl(e);e["on:end"](t,r),r.isMatchIgnored&&(n=!1)}if(n){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return h(e.parent,t,r)}function g(e){return 0===q.matcher.regexIndex?(A+=e[0],1):(P=!0,0)}function f(e){const t=e[0],n=r.substr(e.index),a=h(q,e,n);if(!a)return eu;const s=q;s.skip?A+=t:(s.returnEnd||s.excludeEnd||(A+=t),d(),s.excludeEnd&&(A=t));do{q.className&&C.closeNode(),q.skip||q.subLanguage||(k+=q.relevance),q=q.parent}while(q!==a.parent);return a.starts&&(a.endSameAsBegin&&(a.starts.endRe=a.endRe),p(a.starts)),s.returnEnd?0:t.length}let b={};function w(t,n){const i=n&&n[0];if(A+=t,null==i)return d(),0;if("begin"===b.type&&"end"===n.type&&b.index===n.index&&""===i){if(A+=r.slice(n.index,n.index+1),!a){const t=new Error("0 width match regex");throw t.languageName=e,t.badRule=b.rule,t}return 1}if(b=n,"begin"===n.type)return function(e){const t=e[0],r=e.rule,n=new gl(r),a=[r.__beforeBegin,r["on:begin"]];for(const r of a)if(r&&(r(e,n),n.isMatchIgnored))return g(t);return r&&r.endSameAsBegin&&(r.endRe=new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),r.skip?A+=t:(r.excludeBegin&&(A+=t),d(),r.returnBegin||r.excludeBegin||(A=t)),p(r),r.returnBegin?0:t.length}(n);if("illegal"===n.type&&!s){const e=new Error('Illegal lexeme "'+i+'" for mode "'+(q.className||"<unnamed>")+'"');throw e.mode=q,e}if("end"===n.type){const e=f(n);if(e!==eu)return e}if("illegal"===n.type&&""===i)return 1;if(T>1e5&&T>3*n.index)throw new Error("potential infinite loop, way more iterations than matches");return A+=i,i.length}const x=v(e);if(!x)throw Xl(i.replace("{}",e)),new Error('Unknown language: "'+e+'"');const E=Ml(x,{plugins:n});let y="",q=o||E;const D={},C=new l.__emitter(l);!function(){const e=[];for(let t=q;t!==x;t=t.parent)t.className&&e.unshift(t.className);e.forEach((e=>C.openNode(e)))}();let A="",k=0,R=0,T=0,P=!1;try{for(q.matcher.considerAll();;){T++,P?P=!1:q.matcher.considerAll(),q.matcher.lastIndex=R;const e=q.matcher.exec(r);if(!e)break;const t=w(r.substring(R,e.index),e);R=e.index+t}return w(r.substr(R)),C.closeAllNodes(),C.finalize(),y=C.toHTML(),{relevance:Math.floor(k),value:y,language:e,illegal:!1,emitter:C,top:q}}catch(t){if(t.message&&t.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:t.message,context:r.slice(R-100,R+100),mode:t.mode},sofar:y,relevance:0,value:Zl(r),emitter:C};if(a)return{illegal:!1,relevance:0,value:Zl(r),emitter:C,language:e,top:q,errorRaised:t};throw t}}function m(e,r){r=r||l.languages||Object.keys(t);const n=function(e){const t={relevance:0,emitter:new l.__emitter(l),value:Zl(e),illegal:!1,top:o};return t.emitter.addText(e),t}(e),a=r.filter(v).filter(y).map((t=>c(t,e,!1)));a.unshift(n);const s=a.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(v(e.language).supersetOf===t.language)return 1;if(v(t.language).supersetOf===e.language)return-1}return 0})),[i,u]=s,d=i;return d.second_best=u,d}const p={"before:highlightElement":({el:e})=>{l.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightElement":({result:e})=>{l.useBR&&(e.value=e.value.replace(/\n/g,"<br>"))}},h=/^(<[^>]+>|\t)+/gm,g={"after:highlightElement":({result:e})=>{l.tabReplace&&(e.value=e.value.replace(h,(e=>e.replace(/\t/g,l.tabReplace))))}};function f(e){let t=null;const n=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const r=l.languageDetectRe.exec(t);if(r){const t=v(r[1]);return t||(Kl(i.replace("{}",r[1])),Kl("Falling back to no-highlight mode for this block.",e)),t?r[1]:"no-highlight"}return t.split(/\s+/).find((e=>u(e)||v(e)))}(e);if(u(n))return;q("before:highlightElement",{el:e,language:n}),t=e;const a=t.textContent,s=n?d(a,{language:n,ignoreIllegals:!0}):m(a);q("after:highlightElement",{el:e,result:s,text:a}),e.innerHTML=s.value,function(e,t,n){const a=t?r[t]:n;e.classList.add("hljs"),a&&e.classList.add(a)}(e,n,s.language),e.result={language:s.language,re:s.relevance,relavance:s.relevance},s.second_best&&(e.second_best={language:s.second_best.language,re:s.second_best.relevance,relavance:s.second_best.relevance})}const b=()=>{b.called||(b.called=!0,Yl("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(f))};let w=!1;function x(){"loading"!==document.readyState?document.querySelectorAll("pre code").forEach(f):w=!0}function v(e){return e=(e||"").toLowerCase(),t[e]||t[r[e]]}function E(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{r[e.toLowerCase()]=t}))}function y(e){const t=v(e);return t&&!t.disableAutodetect}function q(e,t){const r=e;n.forEach((function(e){e[r]&&e[r](t)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){w&&x()}),!1),Object.assign(e,{highlight:d,highlightAuto:m,highlightAll:x,fixMarkup:function(e){return Yl("10.2.0","fixMarkup will be removed entirely in v11.0"),Yl("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),t=e,l.tabReplace||l.useBR?t.replace(s,(e=>"\n"===e?l.useBR?"<br>":e:l.tabReplace?e.replace(/\t/g,l.tabReplace):e)):t;var t},highlightElement:f,highlightBlock:function(e){return Yl("10.7.0","highlightBlock will be removed entirely in v12.0"),Yl("10.7.0","Please use highlightElement now."),f(e)},configure:function(e){e.useBR&&(Yl("10.3.0","'useBR' will be removed entirely in v11.0"),Yl("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=Ql(l,e)},initHighlighting:b,initHighlightingOnLoad:function(){Yl("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),w=!0},registerLanguage:function(r,n){let s=null;try{s=n(e)}catch(e){if(Xl("Language definition for '{}' could not be registered.".replace("{}",r)),!a)throw e;Xl(e),s=o}s.name||(s.name=r),t[r]=s,s.rawDefinition=n.bind(null,e),s.aliases&&E(s.aliases,{languageName:r})},unregisterLanguage:function(e){delete t[e];for(const t of Object.keys(r))r[t]===e&&delete r[t]},listLanguages:function(){return Object.keys(t)},getLanguage:v,registerAliases:E,requireLanguage:function(e){Yl("10.4.0","requireLanguage will be removed entirely in v11."),Yl("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const t=v(e);if(t)return t;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:y,inherit:Ql,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),n.push(e)},vuePlugin:Hl(e).VuePlugin}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString="10.7.3";for(const e in Fl)"object"==typeof Fl[e]&&hl(Fl[e]);return Object.assign(e,Fl),e.addPlugin(p),e.addPlugin(Wl),e.addPlugin(g),e}({});tu.registerLanguage("gherkin",(function(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}));const ru=({story:t},r)=>{var n;let a,s=null===(n=t.parent.parameters)||void 0===n?void 0:n.scenario;try{a=tu.highlight("gherkin",s)}catch(e){}return e("div",null,e("details",null,e("summary",null,"Specs"),a&&e("pre",{innerHTML:a.value})),r)},nu=[dr,cr,mr,gr,Dr,Fr,Or,hn,fn,vn,qr,Ar,Rr,En,Xn,Kn,Yn,ta,ia,ca,fa,qa,Aa,ka,Ia,_a,za,Os,_s,ys,Vs,Gs,Ks,xi,Di,Ci,ki,Ri,Pi,Fi,vo,Pn,Mn,jn,Eo,yo,Co,Po,No,zo,$o,Qo,el,al,sl,il],au=class{constructor(e){t(this,e),this.ignored=!0,l(this)}disconnectedCallback(){}render(){const{class:t,children:n}=function(t,r){var n=r.h,i=void 0===n?e:n,o=r.title,l=void 0===o?"Stencilbook":o,u=r.homepage,d=void 0===u?i("h3",null,"Select a story!"):u,c=r.addons,m=void 0===c?[]:c,p=a((function(){return t.map(ur).reduce(lr,{_:[]})}),t),h=s(void 0),g=h[0],f=h[1],b=null==g?void 0:g.key,w=s("desktop"),x=w[0],v=w[1],E=s(!0),y=E[0],q=E[1],D=s(!1),C=D[0],A=D[1],k=function(){return i("div",{class:"dynamic-display-wrapper"},i("div",{class:"button-wrapper"},i("button",{class:"desktop"===x?"active":"",onClick:function(){return v("desktop")}},"Desktop"),i("button",{class:"tablet"===x?"active":"",onClick:function(){return v("tablet")}},"Tablet"),i("button",{class:"mobile"===x?"active":"",onClick:function(){return v("mobile")}},"Mobile")),i("p",null,"Note: Currently doesn't test breakpoints, use the native tester for now"),i("hr",null),i("button",{class:C?"active":"",onClick:function(){return A((function(e){return!e}))}},"Toggle Dark Background"),i("hr",null),i("button",{class:y?"active":"",onClick:function(){return q((function(e){return!e}))}},"Toggle Sidebar"))},R="mobile"===x?"375px":"tablet"===x?"768px":"1124px",T=tr(sr||(sr=nr(["\n max-width: ",";\n margin-left: ",";\n "])),R,y?"250px":"0px"),P=tr(ir||(ir=nr(["\n display: none;\n "])));document.body.style.backgroundColor=C?"#232323":"#fafafa";var N=function(e){var t=e.selected,r=m.reduce((function(e,r){return function(){return i(r,{story:rr({},t)},i(e,null))}}),null==t?void 0:t.story);return i(r,null)},I=function(){return i("div",{class:"story-book-outer-div"},i("div",{class:"story-div "+(y?"":P)},i("div",{class:"header",onClick:function(){f(void 0)}},i("h2",null,l)),i("ul",{class:"parentStoryList"},Object.keys(p).sort().map((function(e){return i("div",{class:"group-wrapper"},"_"!==e&&i("h4",{class:"group-header"},e),p[e].map((function(t){return i("li",{class:"parentStory"},i("details",{style:{marginBottom:"10px"}},i("summary",{style:{outline:"none"}},t.story.title),t.subs&&Object.keys(t.subs).map((function(r){var n=e+"/"+r,a=t.subs[r],s=a.storyName||_e(r);return i("div",{class:"subStory "+(b===n?"selected":"")},i("a",{onClick:function(){return function(e,t,r,n){f({key:t,story:e,parent:r,label:n})}(a,n,t.story,s)}},s))}))))})))})))),i(k,null),i("div",{class:"component "+T},!b&&d,b&&i("div",null,i("h3",null,g.label),i(N,{selected:g}))))};return{class:or,children:i(I,null),View:I,selected:g}}(nu,{h:e,title:"Mint Components",addons:[ru,C,fr]}),[i,o]=s("Default"),[l,u]=s(!0),d=Object.keys(ml),c=ml[i];return e(r,{class:t,onClick:{}},e("div",{style:{position:"absolute",top:"0",right:"0",zIndex:"999999"}},"Branding:",e("select",{onChange:e=>o(e.target.value)},d.map((t=>e("option",{selected:t===i},t)))),e("div",null,e("div",null)),e(su,null),e("br",null),e("input",{type:"checkbox",id:"checkerboard",onClick:()=>u(!l),onChange:()=>document.documentElement.style.setProperty("--checker-color-1",l?"#ebebeb":"#ffffff00")}),e("label",{htmlFor:"checkerboard"},"Checkerboard?")),e("style",null,c),e("style",null,"\n\n:root{\n --checker-color-1: #ffffff00;\n --checker-color-2: #ffffff00;\n --checker-size: 7px;\n --checker-gradient: linear-gradient(45deg, var(--checker-color-1) 25%, transparent 25%, transparent 75%, var(--checker-color-1) 75%);\n}\n.resizer{\n resize: horizontal;\n border: 2px dashed gray;\n\tmargin: -2px;\n padding: 12px;\n height: fit-content;\n overflow: hidden;\n}\n\n.resizer{\n background-color: var(--checker-color-2);\n background-image: var(--checker-gradient), var(--checker-gradient);\n background-position: 0 0, var(--checker-size) var(--checker-size);\n background-size: calc(var(--checker-size) * 2) calc(var(--checker-size) * 2);\n}\n"),n)}};function su(){return e("span",null,e(iu,null),e(iu,{type:"success"}),e(iu,{type:"warning"}),e(iu,{type:"danger"}),e(iu,{type:"neutral"}))}function iu({type:t="primary"}){return e("span",{style:{background:`var(--sl-color-${t}-500)`,width:"1em",marginRight:"2px",padding:"0 4px"},title:t},t.charAt(0))}export{au as sqm_stencilbook}
|