@tapni/auth 1.0.21 → 1.0.22

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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "_install-DPaC-bE5.js": {
3
- "file": "install-DPaC-bE5.js",
2
+ "_install-Cg-7O2-n.js": {
3
+ "file": "install-Cg-7O2-n.js",
4
4
  "name": "install",
5
5
  "dynamicImports": [
6
6
  "src/views/QR.vue",
@@ -38,48 +38,48 @@
38
38
  "isEntry": true
39
39
  },
40
40
  "src/views/Apps.vue": {
41
- "file": "Apps-C48_LPv-.js",
41
+ "file": "Apps-CWlui378.js",
42
42
  "name": "Apps",
43
43
  "src": "src/views/Apps.vue",
44
44
  "isDynamicEntry": true,
45
45
  "imports": [
46
- "_install-DPaC-bE5.js"
46
+ "_install-Cg-7O2-n.js"
47
47
  ]
48
48
  },
49
49
  "src/views/Billing.vue": {
50
- "file": "Billing-B8J3f2pG.js",
50
+ "file": "Billing-DxNGgNQp.js",
51
51
  "name": "Billing",
52
52
  "src": "src/views/Billing.vue",
53
53
  "isDynamicEntry": true,
54
54
  "imports": [
55
- "_install-DPaC-bE5.js"
55
+ "_install-Cg-7O2-n.js"
56
56
  ]
57
57
  },
58
58
  "src/views/CustomApp.vue": {
59
- "file": "CustomApp-DNJYi2ms.js",
59
+ "file": "CustomApp-_smas_N1.js",
60
60
  "name": "CustomApp",
61
61
  "src": "src/views/CustomApp.vue",
62
62
  "isDynamicEntry": true,
63
63
  "imports": [
64
- "_install-DPaC-bE5.js"
64
+ "_install-Cg-7O2-n.js"
65
65
  ]
66
66
  },
67
67
  "src/views/General.vue": {
68
- "file": "General-Dp-0s35x.js",
68
+ "file": "General-CNfUlwwa.js",
69
69
  "name": "General",
70
70
  "src": "src/views/General.vue",
71
71
  "isDynamicEntry": true,
72
72
  "imports": [
73
- "_install-DPaC-bE5.js"
73
+ "_install-Cg-7O2-n.js"
74
74
  ]
75
75
  },
76
76
  "src/views/QR.vue": {
77
- "file": "QR-DbgxZeXg.js",
77
+ "file": "QR-Bh_p5d9I.js",
78
78
  "name": "QR",
79
79
  "src": "src/views/QR.vue",
80
80
  "isDynamicEntry": true,
81
81
  "imports": [
82
- "_install-DPaC-bE5.js"
82
+ "_install-Cg-7O2-n.js"
83
83
  ]
84
84
  },
85
85
  "style.css": {
@@ -1,4 +1,4 @@
1
- import { a as l, _ as g, A as u, E as _ } from "./install-DPaC-bE5.js";
1
+ import { a as l, _ as g, A as u, E as _ } from "./install-Cg-7O2-n.js";
2
2
  import { resolveComponent as h, openBlock as o, createElementBlock as a, createElementVNode as e, createCommentVNode as r, createBlock as f, withCtx as m, toDisplayString as i, Fragment as b, renderList as y } from "vue";
3
3
  const k = {
4
4
  async getRecordById(t) {
@@ -1,4 +1,4 @@
1
- import { _ as d, A as u, b as g, E as _ } from "./install-DPaC-bE5.js";
1
+ import { _ as d, A as u, b as g, E as _ } from "./install-Cg-7O2-n.js";
2
2
  import { resolveComponent as h, openBlock as e, createElementBlock as i, createElementVNode as s, createCommentVNode as r, createBlock as b, withCtx as m, toDisplayString as a, createTextVNode as f, Fragment as y, renderList as v } from "vue";
3
3
  const w = {
4
4
  name: "AuthBilling",
@@ -1,4 +1,4 @@
1
- import { _ as d, A as u, b as g, E as m } from "./install-DPaC-bE5.js";
1
+ import { _ as d, A as u, b as g, E as m } from "./install-Cg-7O2-n.js";
2
2
  import { resolveComponent as _, openBlock as s, createElementBlock as a, createElementVNode as t, createCommentVNode as r, createBlock as h, withCtx as f, toDisplayString as i } from "vue";
3
3
  const y = {
4
4
  name: "AuthCustomApp",
@@ -1,4 +1,4 @@
1
- import { _ as ae, A as te, E as le } from "./install-DPaC-bE5.js";
1
+ import { _ as ae, A as te, E as le } from "./install-Cg-7O2-n.js";
2
2
  import "await-to-js";
3
3
  import { defineComponent as Z, mergeModels as K, useModel as oe, ref as S, computed as P, watch as J, onMounted as ne, onBeforeUnmount as ie, openBlock as d, createElementBlock as g, normalizeClass as V, createElementVNode as i, renderSlot as M, createTextVNode as O, toDisplayString as L, createCommentVNode as x, Fragment as E, renderList as I, createVNode as $, withDirectives as T, vModelText as F, createBlock as B, Teleport as se, normalizeStyle as re, withCtx as X, withKeys as de, resolveComponent as H, withModifiers as ue } from "vue";
4
4
  (function() {
@@ -1,4 +1,4 @@
1
- import { _ as s, A as i, Q as a } from "./install-DPaC-bE5.js";
1
+ import { _ as s, A as i, Q as a } from "./install-Cg-7O2-n.js";
2
2
  import { resolveComponent as r, openBlock as u, createElementBlock as p, createElementVNode as o, toDisplayString as t, createVNode as d, withCtx as g, createTextVNode as _ } from "vue";
3
3
  const m = {
4
4
  name: "AuthQR",
@@ -1,4 +1,4 @@
1
- import { i as f } from "./install-DPaC-bE5.js";
1
+ import { i as f } from "./install-Cg-7O2-n.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
5
5
  * @license MIT
6
- */(function(n){const e=Kn,t=br,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=u,n.SlowBuffer=q,n.INSPECT_MAX_BYTES=50;const o=2147483647;n.kMaxLength=o;const{Uint8Array:i,ArrayBuffer:s,SharedArrayBuffer:c}=globalThis;u.TYPED_ARRAY_SUPPORT=l(),!u.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function l(){try{const m=new i(1),d={foo:function(){return 42}};return Object.setPrototypeOf(d,i.prototype),Object.setPrototypeOf(m,d),m.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function h(m){if(m>o)throw new RangeError('The value "'+m+'" is invalid for option "size"');const d=new i(m);return Object.setPrototypeOf(d,u.prototype),d}function u(m,d,p){if(typeof m=="number"){if(typeof d=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return E(m)}return f(m,d,p)}u.poolSize=8192;function f(m,d,p){if(typeof m=="string")return P(m,d);if(s.isView(m))return j(m);if(m==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof m);if(ze(m,s)||m&&ze(m.buffer,s)||typeof c<"u"&&(ze(m,c)||m&&ze(m.buffer,c)))return N(m,d,p);if(typeof m=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const _=m.valueOf&&m.valueOf();if(_!=null&&_!==m)return u.from(_,d,p);const b=T(m);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof m[Symbol.toPrimitive]=="function")return u.from(m[Symbol.toPrimitive]("string"),d,p);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof m)}u.from=function(m,d,p){return f(m,d,p)},Object.setPrototypeOf(u.prototype,i.prototype),Object.setPrototypeOf(u,i);function g(m){if(typeof m!="number")throw new TypeError('"size" argument must be of type number');if(m<0)throw new RangeError('The value "'+m+'" is invalid for option "size"')}function w(m,d,p){return g(m),m<=0?h(m):d!==void 0?typeof p=="string"?h(m).fill(d,p):h(m).fill(d):h(m)}u.alloc=function(m,d,p){return w(m,d,p)};function E(m){return g(m),h(m<0?0:B(m)|0)}u.allocUnsafe=function(m){return E(m)},u.allocUnsafeSlow=function(m){return E(m)};function P(m,d){if((typeof d!="string"||d==="")&&(d="utf8"),!u.isEncoding(d))throw new TypeError("Unknown encoding: "+d);const p=$(m,d)|0;let _=h(p);const b=_.write(m,d);return b!==p&&(_=_.slice(0,b)),_}function M(m){const d=m.length<0?0:B(m.length)|0,p=h(d);for(let _=0;_<d;_+=1)p[_]=m[_]&255;return p}function j(m){if(ze(m,i)){const d=new i(m);return N(d.buffer,d.byteOffset,d.byteLength)}return M(m)}function N(m,d,p){if(d<0||m.byteLength<d)throw new RangeError('"offset" is outside of buffer bounds');if(m.byteLength<d+(p||0))throw new RangeError('"length" is outside of buffer bounds');let _;return d===void 0&&p===void 0?_=new i(m):p===void 0?_=new i(m,d):_=new i(m,d,p),Object.setPrototypeOf(_,u.prototype),_}function T(m){if(u.isBuffer(m)){const d=B(m.length)|0,p=h(d);return p.length===0||m.copy(p,0,0,d),p}if(m.length!==void 0)return typeof m.length!="number"||lt(m.length)?h(0):M(m);if(m.type==="Buffer"&&Array.isArray(m.data))return M(m.data)}function B(m){if(m>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return m|0}function q(m){return+m!=m&&(m=0),u.alloc(+m)}u.isBuffer=function(d){return d!=null&&d._isBuffer===!0&&d!==u.prototype},u.compare=function(d,p){if(ze(d,i)&&(d=u.from(d,d.offset,d.byteLength)),ze(p,i)&&(p=u.from(p,p.offset,p.byteLength)),!u.isBuffer(d)||!u.isBuffer(p))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(d===p)return 0;let _=d.length,b=p.length;for(let S=0,L=Math.min(_,b);S<L;++S)if(d[S]!==p[S]){_=d[S],b=p[S];break}return _<b?-1:b<_?1:0},u.isEncoding=function(d){switch(String(d).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(d,p){if(!Array.isArray(d))throw new TypeError('"list" argument must be an Array of Buffers');if(d.length===0)return u.alloc(0);let _;if(p===void 0)for(p=0,_=0;_<d.length;++_)p+=d[_].length;const b=u.allocUnsafe(p);let S=0;for(_=0;_<d.length;++_){let L=d[_];if(ze(L,i))S+L.length>b.length?(u.isBuffer(L)||(L=u.from(L)),L.copy(b,S)):i.prototype.set.call(b,L,S);else if(u.isBuffer(L))L.copy(b,S);else throw new TypeError('"list" argument must be an Array of Buffers');S+=L.length}return b};function $(m,d){if(u.isBuffer(m))return m.length;if(s.isView(m)||ze(m,s))return m.byteLength;if(typeof m!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof m);const p=m.length,_=arguments.length>2&&arguments[2]===!0;if(!_&&p===0)return 0;let b=!1;for(;;)switch(d){case"ascii":case"latin1":case"binary":return p;case"utf8":case"utf-8":return ht(m).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p*2;case"hex":return p>>>1;case"base64":return qe(m).length;default:if(b)return _?-1:ht(m).length;d=(""+d).toLowerCase(),b=!0}}u.byteLength=$;function X(m,d,p){let _=!1;if((d===void 0||d<0)&&(d=0),d>this.length||((p===void 0||p>this.length)&&(p=this.length),p<=0)||(p>>>=0,d>>>=0,p<=d))return"";for(m||(m="utf8");;)switch(m){case"hex":return Xt(this,d,p);case"utf8":case"utf-8":return Pt(this,d,p);case"ascii":return Jt(this,d,p);case"latin1":case"binary":return un(this,d,p);case"base64":return vt(this,d,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return In(this,d,p);default:if(_)throw new TypeError("Unknown encoding: "+m);m=(m+"").toLowerCase(),_=!0}}u.prototype._isBuffer=!0;function I(m,d,p){const _=m[d];m[d]=m[p],m[p]=_}u.prototype.swap16=function(){const d=this.length;if(d%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let p=0;p<d;p+=2)I(this,p,p+1);return this},u.prototype.swap32=function(){const d=this.length;if(d%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let p=0;p<d;p+=4)I(this,p,p+3),I(this,p+1,p+2);return this},u.prototype.swap64=function(){const d=this.length;if(d%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let p=0;p<d;p+=8)I(this,p,p+7),I(this,p+1,p+6),I(this,p+2,p+5),I(this,p+3,p+4);return this},u.prototype.toString=function(){const d=this.length;return d===0?"":arguments.length===0?Pt(this,0,d):X.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(d){if(!u.isBuffer(d))throw new TypeError("Argument must be a Buffer");return this===d?!0:u.compare(this,d)===0},u.prototype.inspect=function(){let d="";const p=n.INSPECT_MAX_BYTES;return d=this.toString("hex",0,p).replace(/(.{2})/g,"$1 ").trim(),this.length>p&&(d+=" ... "),"<Buffer "+d+">"},r&&(u.prototype[r]=u.prototype.inspect),u.prototype.compare=function(d,p,_,b,S){if(ze(d,i)&&(d=u.from(d,d.offset,d.byteLength)),!u.isBuffer(d))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof d);if(p===void 0&&(p=0),_===void 0&&(_=d?d.length:0),b===void 0&&(b=0),S===void 0&&(S=this.length),p<0||_>d.length||b<0||S>this.length)throw new RangeError("out of range index");if(b>=S&&p>=_)return 0;if(b>=S)return-1;if(p>=_)return 1;if(p>>>=0,_>>>=0,b>>>=0,S>>>=0,this===d)return 0;let L=S-b,se=_-p;const ve=Math.min(L,se),fe=this.slice(b,S),ke=d.slice(p,_);for(let me=0;me<ve;++me)if(fe[me]!==ke[me]){L=fe[me],se=ke[me];break}return L<se?-1:se<L?1:0};function W(m,d,p,_,b){if(m.length===0)return-1;if(typeof p=="string"?(_=p,p=0):p>2147483647?p=2147483647:p<-2147483648&&(p=-2147483648),p=+p,lt(p)&&(p=b?0:m.length-1),p<0&&(p=m.length+p),p>=m.length){if(b)return-1;p=m.length-1}else if(p<0)if(b)p=0;else return-1;if(typeof d=="string"&&(d=u.from(d,_)),u.isBuffer(d))return d.length===0?-1:ie(m,d,p,_,b);if(typeof d=="number")return d=d&255,typeof i.prototype.indexOf=="function"?b?i.prototype.indexOf.call(m,d,p):i.prototype.lastIndexOf.call(m,d,p):ie(m,[d],p,_,b);throw new TypeError("val must be string, number or Buffer")}function ie(m,d,p,_,b){let S=1,L=m.length,se=d.length;if(_!==void 0&&(_=String(_).toLowerCase(),_==="ucs2"||_==="ucs-2"||_==="utf16le"||_==="utf-16le")){if(m.length<2||d.length<2)return-1;S=2,L/=2,se/=2,p/=2}function ve(ke,me){return S===1?ke[me]:ke.readUInt16BE(me*S)}let fe;if(b){let ke=-1;for(fe=p;fe<L;fe++)if(ve(m,fe)===ve(d,ke===-1?0:fe-ke)){if(ke===-1&&(ke=fe),fe-ke+1===se)return ke*S}else ke!==-1&&(fe-=fe-ke),ke=-1}else for(p+se>L&&(p=L-se),fe=p;fe>=0;fe--){let ke=!0;for(let me=0;me<se;me++)if(ve(m,fe+me)!==ve(d,me)){ke=!1;break}if(ke)return fe}return-1}u.prototype.includes=function(d,p,_){return this.indexOf(d,p,_)!==-1},u.prototype.indexOf=function(d,p,_){return W(this,d,p,_,!0)},u.prototype.lastIndexOf=function(d,p,_){return W(this,d,p,_,!1)};function ee(m,d,p,_){p=Number(p)||0;const b=m.length-p;_?(_=Number(_),_>b&&(_=b)):_=b;const S=d.length;_>S/2&&(_=S/2);let L;for(L=0;L<_;++L){const se=parseInt(d.substr(L*2,2),16);if(lt(se))return L;m[p+L]=se}return L}function ye(m,d,p,_){return mt(ht(d,m.length-p),m,p,_)}function Re(m,d,p,_){return mt(pn(d),m,p,_)}function ce(m,d,p,_){return mt(qe(d),m,p,_)}function Le(m,d,p,_){return mt(wt(d,m.length-p),m,p,_)}u.prototype.write=function(d,p,_,b){if(p===void 0)b="utf8",_=this.length,p=0;else if(_===void 0&&typeof p=="string")b=p,_=this.length,p=0;else if(isFinite(p))p=p>>>0,isFinite(_)?(_=_>>>0,b===void 0&&(b="utf8")):(b=_,_=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const S=this.length-p;if((_===void 0||_>S)&&(_=S),d.length>0&&(_<0||p<0)||p>this.length)throw new RangeError("Attempt to write outside buffer bounds");b||(b="utf8");let L=!1;for(;;)switch(b){case"hex":return ee(this,d,p,_);case"utf8":case"utf-8":return ye(this,d,p,_);case"ascii":case"latin1":case"binary":return Re(this,d,p,_);case"base64":return ce(this,d,p,_);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Le(this,d,p,_);default:if(L)throw new TypeError("Unknown encoding: "+b);b=(""+b).toLowerCase(),L=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(m,d,p){return d===0&&p===m.length?e.fromByteArray(m):e.fromByteArray(m.slice(d,p))}function Pt(m,d,p){p=Math.min(m.length,p);const _=[];let b=d;for(;b<p;){const S=m[b];let L=null,se=S>239?4:S>223?3:S>191?2:1;if(b+se<=p){let ve,fe,ke,me;switch(se){case 1:S<128&&(L=S);break;case 2:ve=m[b+1],(ve&192)===128&&(me=(S&31)<<6|ve&63,me>127&&(L=me));break;case 3:ve=m[b+1],fe=m[b+2],(ve&192)===128&&(fe&192)===128&&(me=(S&15)<<12|(ve&63)<<6|fe&63,me>2047&&(me<55296||me>57343)&&(L=me));break;case 4:ve=m[b+1],fe=m[b+2],ke=m[b+3],(ve&192)===128&&(fe&192)===128&&(ke&192)===128&&(me=(S&15)<<18|(ve&63)<<12|(fe&63)<<6|ke&63,me>65535&&me<1114112&&(L=me))}}L===null?(L=65533,se=1):L>65535&&(L-=65536,_.push(L>>>10&1023|55296),L=56320|L&1023),_.push(L),b+=se}return dn(_)}const at=4096;function dn(m){const d=m.length;if(d<=at)return String.fromCharCode.apply(String,m);let p="",_=0;for(;_<d;)p+=String.fromCharCode.apply(String,m.slice(_,_+=at));return p}function Jt(m,d,p){let _="";p=Math.min(m.length,p);for(let b=d;b<p;++b)_+=String.fromCharCode(m[b]&127);return _}function un(m,d,p){let _="";p=Math.min(m.length,p);for(let b=d;b<p;++b)_+=String.fromCharCode(m[b]);return _}function Xt(m,d,p){const _=m.length;(!d||d<0)&&(d=0),(!p||p<0||p>_)&&(p=_);let b="";for(let S=d;S<p;++S)b+=hn[m[S]];return b}function In(m,d,p){const _=m.slice(d,p);let b="";for(let S=0;S<_.length-1;S+=2)b+=String.fromCharCode(_[S]+_[S+1]*256);return b}u.prototype.slice=function(d,p){const _=this.length;d=~~d,p=p===void 0?_:~~p,d<0?(d+=_,d<0&&(d=0)):d>_&&(d=_),p<0?(p+=_,p<0&&(p=0)):p>_&&(p=_),p<d&&(p=d);const b=this.subarray(d,p);return Object.setPrototypeOf(b,u.prototype),b};function Ee(m,d,p){if(m%1!==0||m<0)throw new RangeError("offset is not uint");if(m+d>p)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(d,p,_){d=d>>>0,p=p>>>0,_||Ee(d,p,this.length);let b=this[d],S=1,L=0;for(;++L<p&&(S*=256);)b+=this[d+L]*S;return b},u.prototype.readUintBE=u.prototype.readUIntBE=function(d,p,_){d=d>>>0,p=p>>>0,_||Ee(d,p,this.length);let b=this[d+--p],S=1;for(;p>0&&(S*=256);)b+=this[d+--p]*S;return b},u.prototype.readUint8=u.prototype.readUInt8=function(d,p){return d=d>>>0,p||Ee(d,1,this.length),this[d]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(d,p){return d=d>>>0,p||Ee(d,2,this.length),this[d]|this[d+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(d,p){return d=d>>>0,p||Ee(d,2,this.length),this[d]<<8|this[d+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(d,p){return d=d>>>0,p||Ee(d,4,this.length),(this[d]|this[d+1]<<8|this[d+2]<<16)+this[d+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(d,p){return d=d>>>0,p||Ee(d,4,this.length),this[d]*16777216+(this[d+1]<<16|this[d+2]<<8|this[d+3])},u.prototype.readBigUInt64LE=Fe(function(d){d=d>>>0,Ie(d,"offset");const p=this[d],_=this[d+7];(p===void 0||_===void 0)&&ct(d,this.length-8);const b=p+this[++d]*2**8+this[++d]*2**16+this[++d]*2**24,S=this[++d]+this[++d]*2**8+this[++d]*2**16+_*2**24;return BigInt(b)+(BigInt(S)<<BigInt(32))}),u.prototype.readBigUInt64BE=Fe(function(d){d=d>>>0,Ie(d,"offset");const p=this[d],_=this[d+7];(p===void 0||_===void 0)&&ct(d,this.length-8);const b=p*2**24+this[++d]*2**16+this[++d]*2**8+this[++d],S=this[++d]*2**24+this[++d]*2**16+this[++d]*2**8+_;return(BigInt(b)<<BigInt(32))+BigInt(S)}),u.prototype.readIntLE=function(d,p,_){d=d>>>0,p=p>>>0,_||Ee(d,p,this.length);let b=this[d],S=1,L=0;for(;++L<p&&(S*=256);)b+=this[d+L]*S;return S*=128,b>=S&&(b-=Math.pow(2,8*p)),b},u.prototype.readIntBE=function(d,p,_){d=d>>>0,p=p>>>0,_||Ee(d,p,this.length);let b=p,S=1,L=this[d+--b];for(;b>0&&(S*=256);)L+=this[d+--b]*S;return S*=128,L>=S&&(L-=Math.pow(2,8*p)),L},u.prototype.readInt8=function(d,p){return d=d>>>0,p||Ee(d,1,this.length),this[d]&128?(255-this[d]+1)*-1:this[d]},u.prototype.readInt16LE=function(d,p){d=d>>>0,p||Ee(d,2,this.length);const _=this[d]|this[d+1]<<8;return _&32768?_|4294901760:_},u.prototype.readInt16BE=function(d,p){d=d>>>0,p||Ee(d,2,this.length);const _=this[d+1]|this[d]<<8;return _&32768?_|4294901760:_},u.prototype.readInt32LE=function(d,p){return d=d>>>0,p||Ee(d,4,this.length),this[d]|this[d+1]<<8|this[d+2]<<16|this[d+3]<<24},u.prototype.readInt32BE=function(d,p){return d=d>>>0,p||Ee(d,4,this.length),this[d]<<24|this[d+1]<<16|this[d+2]<<8|this[d+3]},u.prototype.readBigInt64LE=Fe(function(d){d=d>>>0,Ie(d,"offset");const p=this[d],_=this[d+7];(p===void 0||_===void 0)&&ct(d,this.length-8);const b=this[d+4]+this[d+5]*2**8+this[d+6]*2**16+(_<<24);return(BigInt(b)<<BigInt(32))+BigInt(p+this[++d]*2**8+this[++d]*2**16+this[++d]*2**24)}),u.prototype.readBigInt64BE=Fe(function(d){d=d>>>0,Ie(d,"offset");const p=this[d],_=this[d+7];(p===void 0||_===void 0)&&ct(d,this.length-8);const b=(p<<24)+this[++d]*2**16+this[++d]*2**8+this[++d];return(BigInt(b)<<BigInt(32))+BigInt(this[++d]*2**24+this[++d]*2**16+this[++d]*2**8+_)}),u.prototype.readFloatLE=function(d,p){return d=d>>>0,p||Ee(d,4,this.length),t.read(this,d,!0,23,4)},u.prototype.readFloatBE=function(d,p){return d=d>>>0,p||Ee(d,4,this.length),t.read(this,d,!1,23,4)},u.prototype.readDoubleLE=function(d,p){return d=d>>>0,p||Ee(d,8,this.length),t.read(this,d,!0,52,8)},u.prototype.readDoubleBE=function(d,p){return d=d>>>0,p||Ee(d,8,this.length),t.read(this,d,!1,52,8)};function Se(m,d,p,_,b,S){if(!u.isBuffer(m))throw new TypeError('"buffer" argument must be a Buffer instance');if(d>b||d<S)throw new RangeError('"value" argument is out of bounds');if(p+_>m.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(d,p,_,b){if(d=+d,p=p>>>0,_=_>>>0,!b){const se=Math.pow(2,8*_)-1;Se(this,d,p,_,se,0)}let S=1,L=0;for(this[p]=d&255;++L<_&&(S*=256);)this[p+L]=d/S&255;return p+_},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(d,p,_,b){if(d=+d,p=p>>>0,_=_>>>0,!b){const se=Math.pow(2,8*_)-1;Se(this,d,p,_,se,0)}let S=_-1,L=1;for(this[p+S]=d&255;--S>=0&&(L*=256);)this[p+S]=d/L&255;return p+_},u.prototype.writeUint8=u.prototype.writeUInt8=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,1,255,0),this[p]=d&255,p+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,2,65535,0),this[p]=d&255,this[p+1]=d>>>8,p+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,2,65535,0),this[p]=d>>>8,this[p+1]=d&255,p+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,4,4294967295,0),this[p+3]=d>>>24,this[p+2]=d>>>16,this[p+1]=d>>>8,this[p]=d&255,p+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,4,4294967295,0),this[p]=d>>>24,this[p+1]=d>>>16,this[p+2]=d>>>8,this[p+3]=d&255,p+4};function Kt(m,d,p,_,b){Qe(d,_,b,m,p,7);let S=Number(d&BigInt(4294967295));m[p++]=S,S=S>>8,m[p++]=S,S=S>>8,m[p++]=S,S=S>>8,m[p++]=S;let L=Number(d>>BigInt(32)&BigInt(4294967295));return m[p++]=L,L=L>>8,m[p++]=L,L=L>>8,m[p++]=L,L=L>>8,m[p++]=L,p}function Ve(m,d,p,_,b){Qe(d,_,b,m,p,7);let S=Number(d&BigInt(4294967295));m[p+7]=S,S=S>>8,m[p+6]=S,S=S>>8,m[p+5]=S,S=S>>8,m[p+4]=S;let L=Number(d>>BigInt(32)&BigInt(4294967295));return m[p+3]=L,L=L>>8,m[p+2]=L,L=L>>8,m[p+1]=L,L=L>>8,m[p]=L,p+8}u.prototype.writeBigUInt64LE=Fe(function(d,p=0){return Kt(this,d,p,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=Fe(function(d,p=0){return Ve(this,d,p,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(d,p,_,b){if(d=+d,p=p>>>0,!b){const ve=Math.pow(2,8*_-1);Se(this,d,p,_,ve-1,-ve)}let S=0,L=1,se=0;for(this[p]=d&255;++S<_&&(L*=256);)d<0&&se===0&&this[p+S-1]!==0&&(se=1),this[p+S]=(d/L>>0)-se&255;return p+_},u.prototype.writeIntBE=function(d,p,_,b){if(d=+d,p=p>>>0,!b){const ve=Math.pow(2,8*_-1);Se(this,d,p,_,ve-1,-ve)}let S=_-1,L=1,se=0;for(this[p+S]=d&255;--S>=0&&(L*=256);)d<0&&se===0&&this[p+S+1]!==0&&(se=1),this[p+S]=(d/L>>0)-se&255;return p+_},u.prototype.writeInt8=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,1,127,-128),d<0&&(d=255+d+1),this[p]=d&255,p+1},u.prototype.writeInt16LE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,2,32767,-32768),this[p]=d&255,this[p+1]=d>>>8,p+2},u.prototype.writeInt16BE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,2,32767,-32768),this[p]=d>>>8,this[p+1]=d&255,p+2},u.prototype.writeInt32LE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,4,2147483647,-2147483648),this[p]=d&255,this[p+1]=d>>>8,this[p+2]=d>>>16,this[p+3]=d>>>24,p+4},u.prototype.writeInt32BE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,4,2147483647,-2147483648),d<0&&(d=4294967295+d+1),this[p]=d>>>24,this[p+1]=d>>>16,this[p+2]=d>>>8,this[p+3]=d&255,p+4},u.prototype.writeBigInt64LE=Fe(function(d,p=0){return Kt(this,d,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=Fe(function(d,p=0){return Ve(this,d,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Oe(m,d,p,_,b,S){if(p+_>m.length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("Index out of range")}function Mt(m,d,p,_,b){return d=+d,p=p>>>0,b||Oe(m,d,p,4),t.write(m,d,p,_,23,4),p+4}u.prototype.writeFloatLE=function(d,p,_){return Mt(this,d,p,!0,_)},u.prototype.writeFloatBE=function(d,p,_){return Mt(this,d,p,!1,_)};function kt(m,d,p,_,b){return d=+d,p=p>>>0,b||Oe(m,d,p,8),t.write(m,d,p,_,52,8),p+8}u.prototype.writeDoubleLE=function(d,p,_){return kt(this,d,p,!0,_)},u.prototype.writeDoubleBE=function(d,p,_){return kt(this,d,p,!1,_)},u.prototype.copy=function(d,p,_,b){if(!u.isBuffer(d))throw new TypeError("argument should be a Buffer");if(_||(_=0),!b&&b!==0&&(b=this.length),p>=d.length&&(p=d.length),p||(p=0),b>0&&b<_&&(b=_),b===_||d.length===0||this.length===0)return 0;if(p<0)throw new RangeError("targetStart out of bounds");if(_<0||_>=this.length)throw new RangeError("Index out of range");if(b<0)throw new RangeError("sourceEnd out of bounds");b>this.length&&(b=this.length),d.length-p<b-_&&(b=d.length-p+_);const S=b-_;return this===d&&typeof i.prototype.copyWithin=="function"?this.copyWithin(p,_,b):i.prototype.set.call(d,this.subarray(_,b),p),S},u.prototype.fill=function(d,p,_,b){if(typeof d=="string"){if(typeof p=="string"?(b=p,p=0,_=this.length):typeof _=="string"&&(b=_,_=this.length),b!==void 0&&typeof b!="string")throw new TypeError("encoding must be a string");if(typeof b=="string"&&!u.isEncoding(b))throw new TypeError("Unknown encoding: "+b);if(d.length===1){const L=d.charCodeAt(0);(b==="utf8"&&L<128||b==="latin1")&&(d=L)}}else typeof d=="number"?d=d&255:typeof d=="boolean"&&(d=Number(d));if(p<0||this.length<p||this.length<_)throw new RangeError("Out of range index");if(_<=p)return this;p=p>>>0,_=_===void 0?this.length:_>>>0,d||(d=0);let S;if(typeof d=="number")for(S=p;S<_;++S)this[S]=d;else{const L=u.isBuffer(d)?d:u.from(d,b),se=L.length;if(se===0)throw new TypeError('The value "'+d+'" is invalid for argument "value"');for(S=0;S<_-p;++S)this[S+p]=L[S%se]}return this};const We={};function st(m,d,p){We[m]=class extends p{constructor(){super(),Object.defineProperty(this,"message",{value:d.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${m}]`,this.stack,delete this.name}get code(){return m}set code(b){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:b,writable:!0})}toString(){return`${this.name} [${m}]: ${this.message}`}}}st("ERR_BUFFER_OUT_OF_BOUNDS",function(m){return m?`${m} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),st("ERR_INVALID_ARG_TYPE",function(m,d){return`The "${m}" argument must be of type number. Received type ${typeof d}`},TypeError),st("ERR_OUT_OF_RANGE",function(m,d,p){let _=`The value of "${m}" is out of range.`,b=p;return Number.isInteger(p)&&Math.abs(p)>2**32?b=Gt(String(p)):typeof p=="bigint"&&(b=String(p),(p>BigInt(2)**BigInt(32)||p<-(BigInt(2)**BigInt(32)))&&(b=Gt(b)),b+="n"),_+=` It must be ${d}. Received ${b}`,_},RangeError);function Gt(m){let d="",p=m.length;const _=m[0]==="-"?1:0;for(;p>=_+4;p-=3)d=`_${m.slice(p-3,p)}${d}`;return`${m.slice(0,p)}${d}`}function Lt(m,d,p){Ie(d,"offset"),(m[d]===void 0||m[d+p]===void 0)&&ct(d,m.length-(p+1))}function Qe(m,d,p,_,b,S){if(m>p||m<d){const L=typeof d=="bigint"?"n":"";let se;throw d===0||d===BigInt(0)?se=`>= 0${L} and < 2${L} ** ${(S+1)*8}${L}`:se=`>= -(2${L} ** ${(S+1)*8-1}${L}) and < 2 ** ${(S+1)*8-1}${L}`,new We.ERR_OUT_OF_RANGE("value",se,m)}Lt(_,b,S)}function Ie(m,d){if(typeof m!="number")throw new We.ERR_INVALID_ARG_TYPE(d,"number",m)}function ct(m,d,p){throw Math.floor(m)!==m?(Ie(m,p),new We.ERR_OUT_OF_RANGE("offset","an integer",m)):d<0?new We.ERR_BUFFER_OUT_OF_BOUNDS:new We.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${d}`,m)}const Ot=/[^+/0-9A-Za-z-_]/g;function zt(m){if(m=m.split("=")[0],m=m.trim().replace(Ot,""),m.length<2)return"";for(;m.length%4!==0;)m=m+"=";return m}function ht(m,d){d=d||1/0;let p;const _=m.length;let b=null;const S=[];for(let L=0;L<_;++L){if(p=m.charCodeAt(L),p>55295&&p<57344){if(!b){if(p>56319){(d-=3)>-1&&S.push(239,191,189);continue}else if(L+1===_){(d-=3)>-1&&S.push(239,191,189);continue}b=p;continue}if(p<56320){(d-=3)>-1&&S.push(239,191,189),b=p;continue}p=(b-55296<<10|p-56320)+65536}else b&&(d-=3)>-1&&S.push(239,191,189);if(b=null,p<128){if((d-=1)<0)break;S.push(p)}else if(p<2048){if((d-=2)<0)break;S.push(p>>6|192,p&63|128)}else if(p<65536){if((d-=3)<0)break;S.push(p>>12|224,p>>6&63|128,p&63|128)}else if(p<1114112){if((d-=4)<0)break;S.push(p>>18|240,p>>12&63|128,p>>6&63|128,p&63|128)}else throw new Error("Invalid code point")}return S}function pn(m){const d=[];for(let p=0;p<m.length;++p)d.push(m.charCodeAt(p)&255);return d}function wt(m,d){let p,_,b;const S=[];for(let L=0;L<m.length&&!((d-=2)<0);++L)p=m.charCodeAt(L),_=p>>8,b=p%256,S.push(b),S.push(_);return S}function qe(m){return e.toByteArray(zt(m))}function mt(m,d,p,_){let b;for(b=0;b<_&&!(b+p>=d.length||b>=m.length);++b)d[b+p]=m[b];return b}function ze(m,d){return m instanceof d||m!=null&&m.constructor!=null&&m.constructor.name!=null&&m.constructor.name===d.name}function lt(m){return m!==m}const hn=function(){const m="0123456789abcdef",d=new Array(256);for(let p=0;p<16;++p){const _=p*16;for(let b=0;b<16;++b)d[_+b]=m[p]+m[b]}return d}();function Fe(m){return typeof BigInt>"u"?xt:m}function xt(){throw new Error("BigInt not supported")}})(kr);const nn=kr.Buffer,Ai=kr.Buffer,Gn=a.reactive(new Map),K={$on(n,e){let t=Gn.get(n);t||(t=new Set,Gn.set(n,t)),t.add(e)},$emit(n,...e){const t=Gn.get(n);if(t)for(const r of t)r(...e)},$off(n,e){const t=Gn.get(n);t&&t.delete(e)}};a.readonly(K);const Ri={computed:{home(){return this.$storex&&this.$storex.token&&this.$storex.username?"/"+this.$storex.username:"/welcome"},isAndroid(){return/Android/i.test(navigator.userAgent)||nt.Capacitor.getPlatform()==="android"},isiOS(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document||nt.Capacitor.getPlatform()==="ios"},isNative(){return nt.Capacitor.isNativePlatform()}},methods:{getIcon(n){return this.isNative?`/icons/${n}`:"https://cdn.tapni.co/icons/"+n},errorHandler(n){return n&&n.response&&n.response.data&&n.response.data.error&&((n.response.data.error==="ACCESS_DENIED"||n.response.data.error==="TOKEN_EXPIRED")&&this.logout(),!n.response.data.error.includes("Network Error")&&!n.response.data.error.includes("Cannot read properties")&&this.errorSnack(n.response.data.error)),n},errorSnack(n){let e=document.getElementById("snackbar"),t=document.getElementById("errorMessage"),r=document.getElementById("errorSnack");t.innerHTML=n,e.classList.add("show-snack"),r.classList.add("active-snack"),setTimeout(function(){r.classList.remove("active-snack"),e.classList.remove("show-snack")},3e3)},successSnack(n){let e=document.getElementById("snackbar"),t=document.getElementById("successMessage"),r=document.getElementById("successSnack");t.innerHTML=n,e.classList.add("show-snack"),r.classList.add("active-snack"),setTimeout(function(){r.classList.remove("active-snack"),e.classList.remove("show-snack")},3e3)},closeSnacks(){document.getElementById("snackbar").classList.remove("show-snack"),document.getElementById("successSnack").classList.remove("active-snack"),document.getElementById("errorSnack").classList.remove("active-snack")},tapsEmoji(n){return n<10?"":n<=50?"🔥":n<=100?"💥":n<=300?"💎":n>300?"🚀":""},isEmpty(n){if(!n)return!0;for(let e in n)if(n.hasOwnProperty(e))return!1;return JSON.stringify(n)===JSON.stringify({})},copy(n=""){const e=document.createElement("textarea");e.value=n,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),this.successSnack(this.ssoLang[this.appLanguage].copied)},async getCaptchaToken(n){try{return await window.grecaptcha.execute("6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk",{action:n})}catch(e){return console.log(e),null}}}},{mapState:Ni,mapActions:Pi,mapGetters:Mi}=ao.createNamespacedHelpers("auth"),Ne={mixins:[Ri],props:{isModal:{type:Boolean,required:!1,default:!1}},computed:{...Ni(["$storex","refreshing","loggedInUserId","account","device","loggedInAccounts","ssoLang","display","redirect_uri","response_type","state","allowedOriginsAuth"]),...Mi(["accessToken","refreshTokens","isLoggedIn","renderView","appLanguage"])},methods:{...Pi(["setLoggedInAccounts","setLoggedInUserId","setRefreshToken","unsetRefreshToken","setToken","setView","setStorage","setStorageItem","updateLang","login","register","verify","reset","exchangeAuthCode","changePassword","newPassword","deleteAccount","registerDevice","addFcmToken","acceptCompanyInvitation","logout","getCompanyBySSOEmail","getLoggedInAccounts","loginUsingQR","getAccountSettings","setRedirectUri","setDisplay","setState","setRealm","setResponseType","switchAccount","loginSetup","loginSuccess","refreshTokenAction"])},watch:{"$route.query":{handler:function(){this.$route.query.redirect_uri&&this.setRedirectUri(this.$route.query.redirect_uri),this.$route.query.display&&this.setDisplay(this.$route.query.display),this.$route.query.state&&this.setState(this.$route.query.state),this.$route.query.response_type&&this.setResponseType(this.$route.query.response_type),this.$route.query.realm&&this.setRealm(this.$route.query.realm)},deep:!0}}},xe=(n,e)=>{const t=n.__vccOpts||n;for(const[r,o]of e)t[r]=o;return t},Li={name:"AuthWelcome",mixins:[Ne],data(){return{loading:!0}},async mounted(){let n=document.getElementById("tapniVideo");n.addEventListener("canplay",function(){if(document.body.contains(n))try{n.play()}catch(e){console.log("Play was interrupted:",e)}}),setTimeout(()=>{this.$storex&&this.$storex.token?this.$router.push(this.home):K.$emit("ssoEvent",{name:"setLoading",data:!1})},500)},methods:{}},Oi={class:"page-login content-boxed content-boxed-padding center-text",style:{"margin-top":"-1px",overflow:"hidden",border:"solid 0px #ffffff"}},zi=["autoplay"],xi={class:"bold full-top no-bottom center-text"},Bi={class:"full-bottom half-top center-text color-black font-16"},Ui={class:"page-login-links center-text"},Di={class:"lang-icon"},ji={key:3,style:{display:"flex","flex-direction":"row","justify-content":"space-around",width:"90%",margin:"0 auto","margin-top":"40px"}};function Hi(n,e,t,r,o,i){const s=a.resolveComponent("router-link");return a.openBlock(),a.createElementBlock("div",Oi,[a.createElementVNode("video",{id:"tapniVideo",muted:"",loop:"",playsinline:"",width:"350",style:{margin:"0 auto","max-width":"100%","margin-top":"63px",overflow:"hidden"},autoplay:n.isNative},e[1]||(e[1]=[a.createElementVNode("source",{src:"https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",type:"video/mp4"},null,-1)]),8,zi),a.createElementVNode("h1",xi,a.toDisplayString(n.ssoLang[this.appLanguage].welcome),1),a.createElementVNode("p",Bi,a.toDisplayString(n.ssoLang[this.appLanguage].welcome_p1),1),a.createCommentVNode("",!0),a.createCommentVNode("",!0),a.createVNode(s,{to:"register",exact:"",class:"button-center button button-90 google-button bg-tapni-grey pointer"},{default:a.withCtx(()=>[a.createElementVNode("span",null,a.toDisplayString(n.ssoLang[this.appLanguage].create_account),1)]),_:1}),a.createElementVNode("div",Ui,[a.createVNode(s,{to:"/login"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(n.ssoLang[this.appLanguage].already_registered)+"? ",1),a.createElementVNode("b",null,a.toDisplayString(n.ssoLang[this.appLanguage].sign_in),1)]),_:1}),e[2]||(e[2]=a.createElementVNode("div",{class:"clear"},null,-1))]),n.display==="redirect"?(a.openBlock(),a.createElementBlock("a",{key:2,onClick:e[0]||(e[0]=(...c)=>n.toggleSSOLanguageModal&&n.toggleSSOLanguageModal(...c)),class:"font-18 no-border pointer color-black",style:{position:"absolute",right:"20px",top:"-10px","z-index":"1"}},[a.createElementVNode("span",Di,a.toDisplayString(n.appLanguage.toUpperCase()),1)])):a.createCommentVNode("",!0),this.isNative?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",ji,e[3]||(e[3]=[a.createStaticVNode('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-7aad6400><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-7aad6400></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-7aad6400><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-7aad6400></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-7aad6400><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-7aad6400></a>',3)])))])}const Er=xe(Li,[["render",Hi],["__scopeId","data-v-7aad6400"]]),Vi=Object.freeze(Object.defineProperty({__proto__:null,default:Er},Symbol.toStringTag,{value:"Module"})),qi="1.0.21",$n={getMe(){return le().get("/users/me")},getByUsername(n){let e=document.referrer||"",t=n.utmParams||{};return n.dontTap&&(t.dontTap=!0),le().get(`/users/${n.username}`,{params:t,headers:{"X-Referer":e}})},getByNumber(n){let e=document.referrer||"",t=n.utmParams||{};return n.dontTap&&(t.dontTap=!0),le().get(`/users/tag/${n.serial}`,{params:t,headers:{"X-Referer":e}})},save(n){return le().put("/users",n)},newPassword(n){return le().put("/users/new-password",n)},connect(n){return le().post("/users/connect",n)},eventLog(n){return le().post("/users/log",n)},deleteAccount(n){return le().post("/users/profile/delete",n)},registerDevice(n){return le().post("/users/device/register",n)},addFcmToken(n){return le().post("/users/device/fcm",n)},loginUsingQR(n){return le().post("/users/qr/login",n)}},ho={registerDevice(n){return le().post("/devices/add",n)},addFcmToken(n){return le().post("/devices/fcm/add",n)}},Cr={getBySSOEmail(n){return le().get(`/company/sso/${n}`)},acceptCompanyInvitation(n){return le().get(`/users/invitation?ic=${n}`)},qrCodePooling(n){return le().post("/company/login/qr",n)}},mo={state:{english:"English",spanish:"Spanish",german:"German",korean:"Korean",italian:"Italian",french:"French",serbian:"Serbian",turkish:"Turkish",chinese:"Chinese",app_language:"Language",profile_preview:"Profile preview",edit_profile:"Edit profile",login:"Login",referral_reach:"Provide us with more information about you and your reach.",referral_apply_placeholder:"How do you plan to promote Tapni?",referral_apply_note:`Add as many links as possible in your account, <br>
6
+ */(function(n){const e=Kn,t=br,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=u,n.SlowBuffer=q,n.INSPECT_MAX_BYTES=50;const o=2147483647;n.kMaxLength=o;const{Uint8Array:i,ArrayBuffer:s,SharedArrayBuffer:c}=globalThis;u.TYPED_ARRAY_SUPPORT=l(),!u.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function l(){try{const m=new i(1),d={foo:function(){return 42}};return Object.setPrototypeOf(d,i.prototype),Object.setPrototypeOf(m,d),m.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function h(m){if(m>o)throw new RangeError('The value "'+m+'" is invalid for option "size"');const d=new i(m);return Object.setPrototypeOf(d,u.prototype),d}function u(m,d,p){if(typeof m=="number"){if(typeof d=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return E(m)}return f(m,d,p)}u.poolSize=8192;function f(m,d,p){if(typeof m=="string")return P(m,d);if(s.isView(m))return j(m);if(m==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof m);if(ze(m,s)||m&&ze(m.buffer,s)||typeof c<"u"&&(ze(m,c)||m&&ze(m.buffer,c)))return N(m,d,p);if(typeof m=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const _=m.valueOf&&m.valueOf();if(_!=null&&_!==m)return u.from(_,d,p);const b=T(m);if(b)return b;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof m[Symbol.toPrimitive]=="function")return u.from(m[Symbol.toPrimitive]("string"),d,p);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof m)}u.from=function(m,d,p){return f(m,d,p)},Object.setPrototypeOf(u.prototype,i.prototype),Object.setPrototypeOf(u,i);function g(m){if(typeof m!="number")throw new TypeError('"size" argument must be of type number');if(m<0)throw new RangeError('The value "'+m+'" is invalid for option "size"')}function w(m,d,p){return g(m),m<=0?h(m):d!==void 0?typeof p=="string"?h(m).fill(d,p):h(m).fill(d):h(m)}u.alloc=function(m,d,p){return w(m,d,p)};function E(m){return g(m),h(m<0?0:B(m)|0)}u.allocUnsafe=function(m){return E(m)},u.allocUnsafeSlow=function(m){return E(m)};function P(m,d){if((typeof d!="string"||d==="")&&(d="utf8"),!u.isEncoding(d))throw new TypeError("Unknown encoding: "+d);const p=$(m,d)|0;let _=h(p);const b=_.write(m,d);return b!==p&&(_=_.slice(0,b)),_}function M(m){const d=m.length<0?0:B(m.length)|0,p=h(d);for(let _=0;_<d;_+=1)p[_]=m[_]&255;return p}function j(m){if(ze(m,i)){const d=new i(m);return N(d.buffer,d.byteOffset,d.byteLength)}return M(m)}function N(m,d,p){if(d<0||m.byteLength<d)throw new RangeError('"offset" is outside of buffer bounds');if(m.byteLength<d+(p||0))throw new RangeError('"length" is outside of buffer bounds');let _;return d===void 0&&p===void 0?_=new i(m):p===void 0?_=new i(m,d):_=new i(m,d,p),Object.setPrototypeOf(_,u.prototype),_}function T(m){if(u.isBuffer(m)){const d=B(m.length)|0,p=h(d);return p.length===0||m.copy(p,0,0,d),p}if(m.length!==void 0)return typeof m.length!="number"||lt(m.length)?h(0):M(m);if(m.type==="Buffer"&&Array.isArray(m.data))return M(m.data)}function B(m){if(m>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return m|0}function q(m){return+m!=m&&(m=0),u.alloc(+m)}u.isBuffer=function(d){return d!=null&&d._isBuffer===!0&&d!==u.prototype},u.compare=function(d,p){if(ze(d,i)&&(d=u.from(d,d.offset,d.byteLength)),ze(p,i)&&(p=u.from(p,p.offset,p.byteLength)),!u.isBuffer(d)||!u.isBuffer(p))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(d===p)return 0;let _=d.length,b=p.length;for(let S=0,L=Math.min(_,b);S<L;++S)if(d[S]!==p[S]){_=d[S],b=p[S];break}return _<b?-1:b<_?1:0},u.isEncoding=function(d){switch(String(d).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(d,p){if(!Array.isArray(d))throw new TypeError('"list" argument must be an Array of Buffers');if(d.length===0)return u.alloc(0);let _;if(p===void 0)for(p=0,_=0;_<d.length;++_)p+=d[_].length;const b=u.allocUnsafe(p);let S=0;for(_=0;_<d.length;++_){let L=d[_];if(ze(L,i))S+L.length>b.length?(u.isBuffer(L)||(L=u.from(L)),L.copy(b,S)):i.prototype.set.call(b,L,S);else if(u.isBuffer(L))L.copy(b,S);else throw new TypeError('"list" argument must be an Array of Buffers');S+=L.length}return b};function $(m,d){if(u.isBuffer(m))return m.length;if(s.isView(m)||ze(m,s))return m.byteLength;if(typeof m!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof m);const p=m.length,_=arguments.length>2&&arguments[2]===!0;if(!_&&p===0)return 0;let b=!1;for(;;)switch(d){case"ascii":case"latin1":case"binary":return p;case"utf8":case"utf-8":return ht(m).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p*2;case"hex":return p>>>1;case"base64":return qe(m).length;default:if(b)return _?-1:ht(m).length;d=(""+d).toLowerCase(),b=!0}}u.byteLength=$;function X(m,d,p){let _=!1;if((d===void 0||d<0)&&(d=0),d>this.length||((p===void 0||p>this.length)&&(p=this.length),p<=0)||(p>>>=0,d>>>=0,p<=d))return"";for(m||(m="utf8");;)switch(m){case"hex":return Xt(this,d,p);case"utf8":case"utf-8":return Pt(this,d,p);case"ascii":return Jt(this,d,p);case"latin1":case"binary":return un(this,d,p);case"base64":return vt(this,d,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return In(this,d,p);default:if(_)throw new TypeError("Unknown encoding: "+m);m=(m+"").toLowerCase(),_=!0}}u.prototype._isBuffer=!0;function I(m,d,p){const _=m[d];m[d]=m[p],m[p]=_}u.prototype.swap16=function(){const d=this.length;if(d%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let p=0;p<d;p+=2)I(this,p,p+1);return this},u.prototype.swap32=function(){const d=this.length;if(d%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let p=0;p<d;p+=4)I(this,p,p+3),I(this,p+1,p+2);return this},u.prototype.swap64=function(){const d=this.length;if(d%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let p=0;p<d;p+=8)I(this,p,p+7),I(this,p+1,p+6),I(this,p+2,p+5),I(this,p+3,p+4);return this},u.prototype.toString=function(){const d=this.length;return d===0?"":arguments.length===0?Pt(this,0,d):X.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(d){if(!u.isBuffer(d))throw new TypeError("Argument must be a Buffer");return this===d?!0:u.compare(this,d)===0},u.prototype.inspect=function(){let d="";const p=n.INSPECT_MAX_BYTES;return d=this.toString("hex",0,p).replace(/(.{2})/g,"$1 ").trim(),this.length>p&&(d+=" ... "),"<Buffer "+d+">"},r&&(u.prototype[r]=u.prototype.inspect),u.prototype.compare=function(d,p,_,b,S){if(ze(d,i)&&(d=u.from(d,d.offset,d.byteLength)),!u.isBuffer(d))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof d);if(p===void 0&&(p=0),_===void 0&&(_=d?d.length:0),b===void 0&&(b=0),S===void 0&&(S=this.length),p<0||_>d.length||b<0||S>this.length)throw new RangeError("out of range index");if(b>=S&&p>=_)return 0;if(b>=S)return-1;if(p>=_)return 1;if(p>>>=0,_>>>=0,b>>>=0,S>>>=0,this===d)return 0;let L=S-b,se=_-p;const ve=Math.min(L,se),fe=this.slice(b,S),ke=d.slice(p,_);for(let me=0;me<ve;++me)if(fe[me]!==ke[me]){L=fe[me],se=ke[me];break}return L<se?-1:se<L?1:0};function W(m,d,p,_,b){if(m.length===0)return-1;if(typeof p=="string"?(_=p,p=0):p>2147483647?p=2147483647:p<-2147483648&&(p=-2147483648),p=+p,lt(p)&&(p=b?0:m.length-1),p<0&&(p=m.length+p),p>=m.length){if(b)return-1;p=m.length-1}else if(p<0)if(b)p=0;else return-1;if(typeof d=="string"&&(d=u.from(d,_)),u.isBuffer(d))return d.length===0?-1:ie(m,d,p,_,b);if(typeof d=="number")return d=d&255,typeof i.prototype.indexOf=="function"?b?i.prototype.indexOf.call(m,d,p):i.prototype.lastIndexOf.call(m,d,p):ie(m,[d],p,_,b);throw new TypeError("val must be string, number or Buffer")}function ie(m,d,p,_,b){let S=1,L=m.length,se=d.length;if(_!==void 0&&(_=String(_).toLowerCase(),_==="ucs2"||_==="ucs-2"||_==="utf16le"||_==="utf-16le")){if(m.length<2||d.length<2)return-1;S=2,L/=2,se/=2,p/=2}function ve(ke,me){return S===1?ke[me]:ke.readUInt16BE(me*S)}let fe;if(b){let ke=-1;for(fe=p;fe<L;fe++)if(ve(m,fe)===ve(d,ke===-1?0:fe-ke)){if(ke===-1&&(ke=fe),fe-ke+1===se)return ke*S}else ke!==-1&&(fe-=fe-ke),ke=-1}else for(p+se>L&&(p=L-se),fe=p;fe>=0;fe--){let ke=!0;for(let me=0;me<se;me++)if(ve(m,fe+me)!==ve(d,me)){ke=!1;break}if(ke)return fe}return-1}u.prototype.includes=function(d,p,_){return this.indexOf(d,p,_)!==-1},u.prototype.indexOf=function(d,p,_){return W(this,d,p,_,!0)},u.prototype.lastIndexOf=function(d,p,_){return W(this,d,p,_,!1)};function ee(m,d,p,_){p=Number(p)||0;const b=m.length-p;_?(_=Number(_),_>b&&(_=b)):_=b;const S=d.length;_>S/2&&(_=S/2);let L;for(L=0;L<_;++L){const se=parseInt(d.substr(L*2,2),16);if(lt(se))return L;m[p+L]=se}return L}function ye(m,d,p,_){return mt(ht(d,m.length-p),m,p,_)}function Re(m,d,p,_){return mt(pn(d),m,p,_)}function ce(m,d,p,_){return mt(qe(d),m,p,_)}function Le(m,d,p,_){return mt(wt(d,m.length-p),m,p,_)}u.prototype.write=function(d,p,_,b){if(p===void 0)b="utf8",_=this.length,p=0;else if(_===void 0&&typeof p=="string")b=p,_=this.length,p=0;else if(isFinite(p))p=p>>>0,isFinite(_)?(_=_>>>0,b===void 0&&(b="utf8")):(b=_,_=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const S=this.length-p;if((_===void 0||_>S)&&(_=S),d.length>0&&(_<0||p<0)||p>this.length)throw new RangeError("Attempt to write outside buffer bounds");b||(b="utf8");let L=!1;for(;;)switch(b){case"hex":return ee(this,d,p,_);case"utf8":case"utf-8":return ye(this,d,p,_);case"ascii":case"latin1":case"binary":return Re(this,d,p,_);case"base64":return ce(this,d,p,_);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Le(this,d,p,_);default:if(L)throw new TypeError("Unknown encoding: "+b);b=(""+b).toLowerCase(),L=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(m,d,p){return d===0&&p===m.length?e.fromByteArray(m):e.fromByteArray(m.slice(d,p))}function Pt(m,d,p){p=Math.min(m.length,p);const _=[];let b=d;for(;b<p;){const S=m[b];let L=null,se=S>239?4:S>223?3:S>191?2:1;if(b+se<=p){let ve,fe,ke,me;switch(se){case 1:S<128&&(L=S);break;case 2:ve=m[b+1],(ve&192)===128&&(me=(S&31)<<6|ve&63,me>127&&(L=me));break;case 3:ve=m[b+1],fe=m[b+2],(ve&192)===128&&(fe&192)===128&&(me=(S&15)<<12|(ve&63)<<6|fe&63,me>2047&&(me<55296||me>57343)&&(L=me));break;case 4:ve=m[b+1],fe=m[b+2],ke=m[b+3],(ve&192)===128&&(fe&192)===128&&(ke&192)===128&&(me=(S&15)<<18|(ve&63)<<12|(fe&63)<<6|ke&63,me>65535&&me<1114112&&(L=me))}}L===null?(L=65533,se=1):L>65535&&(L-=65536,_.push(L>>>10&1023|55296),L=56320|L&1023),_.push(L),b+=se}return dn(_)}const at=4096;function dn(m){const d=m.length;if(d<=at)return String.fromCharCode.apply(String,m);let p="",_=0;for(;_<d;)p+=String.fromCharCode.apply(String,m.slice(_,_+=at));return p}function Jt(m,d,p){let _="";p=Math.min(m.length,p);for(let b=d;b<p;++b)_+=String.fromCharCode(m[b]&127);return _}function un(m,d,p){let _="";p=Math.min(m.length,p);for(let b=d;b<p;++b)_+=String.fromCharCode(m[b]);return _}function Xt(m,d,p){const _=m.length;(!d||d<0)&&(d=0),(!p||p<0||p>_)&&(p=_);let b="";for(let S=d;S<p;++S)b+=hn[m[S]];return b}function In(m,d,p){const _=m.slice(d,p);let b="";for(let S=0;S<_.length-1;S+=2)b+=String.fromCharCode(_[S]+_[S+1]*256);return b}u.prototype.slice=function(d,p){const _=this.length;d=~~d,p=p===void 0?_:~~p,d<0?(d+=_,d<0&&(d=0)):d>_&&(d=_),p<0?(p+=_,p<0&&(p=0)):p>_&&(p=_),p<d&&(p=d);const b=this.subarray(d,p);return Object.setPrototypeOf(b,u.prototype),b};function Ee(m,d,p){if(m%1!==0||m<0)throw new RangeError("offset is not uint");if(m+d>p)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(d,p,_){d=d>>>0,p=p>>>0,_||Ee(d,p,this.length);let b=this[d],S=1,L=0;for(;++L<p&&(S*=256);)b+=this[d+L]*S;return b},u.prototype.readUintBE=u.prototype.readUIntBE=function(d,p,_){d=d>>>0,p=p>>>0,_||Ee(d,p,this.length);let b=this[d+--p],S=1;for(;p>0&&(S*=256);)b+=this[d+--p]*S;return b},u.prototype.readUint8=u.prototype.readUInt8=function(d,p){return d=d>>>0,p||Ee(d,1,this.length),this[d]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(d,p){return d=d>>>0,p||Ee(d,2,this.length),this[d]|this[d+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(d,p){return d=d>>>0,p||Ee(d,2,this.length),this[d]<<8|this[d+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(d,p){return d=d>>>0,p||Ee(d,4,this.length),(this[d]|this[d+1]<<8|this[d+2]<<16)+this[d+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(d,p){return d=d>>>0,p||Ee(d,4,this.length),this[d]*16777216+(this[d+1]<<16|this[d+2]<<8|this[d+3])},u.prototype.readBigUInt64LE=Fe(function(d){d=d>>>0,Ie(d,"offset");const p=this[d],_=this[d+7];(p===void 0||_===void 0)&&ct(d,this.length-8);const b=p+this[++d]*2**8+this[++d]*2**16+this[++d]*2**24,S=this[++d]+this[++d]*2**8+this[++d]*2**16+_*2**24;return BigInt(b)+(BigInt(S)<<BigInt(32))}),u.prototype.readBigUInt64BE=Fe(function(d){d=d>>>0,Ie(d,"offset");const p=this[d],_=this[d+7];(p===void 0||_===void 0)&&ct(d,this.length-8);const b=p*2**24+this[++d]*2**16+this[++d]*2**8+this[++d],S=this[++d]*2**24+this[++d]*2**16+this[++d]*2**8+_;return(BigInt(b)<<BigInt(32))+BigInt(S)}),u.prototype.readIntLE=function(d,p,_){d=d>>>0,p=p>>>0,_||Ee(d,p,this.length);let b=this[d],S=1,L=0;for(;++L<p&&(S*=256);)b+=this[d+L]*S;return S*=128,b>=S&&(b-=Math.pow(2,8*p)),b},u.prototype.readIntBE=function(d,p,_){d=d>>>0,p=p>>>0,_||Ee(d,p,this.length);let b=p,S=1,L=this[d+--b];for(;b>0&&(S*=256);)L+=this[d+--b]*S;return S*=128,L>=S&&(L-=Math.pow(2,8*p)),L},u.prototype.readInt8=function(d,p){return d=d>>>0,p||Ee(d,1,this.length),this[d]&128?(255-this[d]+1)*-1:this[d]},u.prototype.readInt16LE=function(d,p){d=d>>>0,p||Ee(d,2,this.length);const _=this[d]|this[d+1]<<8;return _&32768?_|4294901760:_},u.prototype.readInt16BE=function(d,p){d=d>>>0,p||Ee(d,2,this.length);const _=this[d+1]|this[d]<<8;return _&32768?_|4294901760:_},u.prototype.readInt32LE=function(d,p){return d=d>>>0,p||Ee(d,4,this.length),this[d]|this[d+1]<<8|this[d+2]<<16|this[d+3]<<24},u.prototype.readInt32BE=function(d,p){return d=d>>>0,p||Ee(d,4,this.length),this[d]<<24|this[d+1]<<16|this[d+2]<<8|this[d+3]},u.prototype.readBigInt64LE=Fe(function(d){d=d>>>0,Ie(d,"offset");const p=this[d],_=this[d+7];(p===void 0||_===void 0)&&ct(d,this.length-8);const b=this[d+4]+this[d+5]*2**8+this[d+6]*2**16+(_<<24);return(BigInt(b)<<BigInt(32))+BigInt(p+this[++d]*2**8+this[++d]*2**16+this[++d]*2**24)}),u.prototype.readBigInt64BE=Fe(function(d){d=d>>>0,Ie(d,"offset");const p=this[d],_=this[d+7];(p===void 0||_===void 0)&&ct(d,this.length-8);const b=(p<<24)+this[++d]*2**16+this[++d]*2**8+this[++d];return(BigInt(b)<<BigInt(32))+BigInt(this[++d]*2**24+this[++d]*2**16+this[++d]*2**8+_)}),u.prototype.readFloatLE=function(d,p){return d=d>>>0,p||Ee(d,4,this.length),t.read(this,d,!0,23,4)},u.prototype.readFloatBE=function(d,p){return d=d>>>0,p||Ee(d,4,this.length),t.read(this,d,!1,23,4)},u.prototype.readDoubleLE=function(d,p){return d=d>>>0,p||Ee(d,8,this.length),t.read(this,d,!0,52,8)},u.prototype.readDoubleBE=function(d,p){return d=d>>>0,p||Ee(d,8,this.length),t.read(this,d,!1,52,8)};function Se(m,d,p,_,b,S){if(!u.isBuffer(m))throw new TypeError('"buffer" argument must be a Buffer instance');if(d>b||d<S)throw new RangeError('"value" argument is out of bounds');if(p+_>m.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(d,p,_,b){if(d=+d,p=p>>>0,_=_>>>0,!b){const se=Math.pow(2,8*_)-1;Se(this,d,p,_,se,0)}let S=1,L=0;for(this[p]=d&255;++L<_&&(S*=256);)this[p+L]=d/S&255;return p+_},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(d,p,_,b){if(d=+d,p=p>>>0,_=_>>>0,!b){const se=Math.pow(2,8*_)-1;Se(this,d,p,_,se,0)}let S=_-1,L=1;for(this[p+S]=d&255;--S>=0&&(L*=256);)this[p+S]=d/L&255;return p+_},u.prototype.writeUint8=u.prototype.writeUInt8=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,1,255,0),this[p]=d&255,p+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,2,65535,0),this[p]=d&255,this[p+1]=d>>>8,p+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,2,65535,0),this[p]=d>>>8,this[p+1]=d&255,p+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,4,4294967295,0),this[p+3]=d>>>24,this[p+2]=d>>>16,this[p+1]=d>>>8,this[p]=d&255,p+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,4,4294967295,0),this[p]=d>>>24,this[p+1]=d>>>16,this[p+2]=d>>>8,this[p+3]=d&255,p+4};function Kt(m,d,p,_,b){Qe(d,_,b,m,p,7);let S=Number(d&BigInt(4294967295));m[p++]=S,S=S>>8,m[p++]=S,S=S>>8,m[p++]=S,S=S>>8,m[p++]=S;let L=Number(d>>BigInt(32)&BigInt(4294967295));return m[p++]=L,L=L>>8,m[p++]=L,L=L>>8,m[p++]=L,L=L>>8,m[p++]=L,p}function Ve(m,d,p,_,b){Qe(d,_,b,m,p,7);let S=Number(d&BigInt(4294967295));m[p+7]=S,S=S>>8,m[p+6]=S,S=S>>8,m[p+5]=S,S=S>>8,m[p+4]=S;let L=Number(d>>BigInt(32)&BigInt(4294967295));return m[p+3]=L,L=L>>8,m[p+2]=L,L=L>>8,m[p+1]=L,L=L>>8,m[p]=L,p+8}u.prototype.writeBigUInt64LE=Fe(function(d,p=0){return Kt(this,d,p,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=Fe(function(d,p=0){return Ve(this,d,p,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(d,p,_,b){if(d=+d,p=p>>>0,!b){const ve=Math.pow(2,8*_-1);Se(this,d,p,_,ve-1,-ve)}let S=0,L=1,se=0;for(this[p]=d&255;++S<_&&(L*=256);)d<0&&se===0&&this[p+S-1]!==0&&(se=1),this[p+S]=(d/L>>0)-se&255;return p+_},u.prototype.writeIntBE=function(d,p,_,b){if(d=+d,p=p>>>0,!b){const ve=Math.pow(2,8*_-1);Se(this,d,p,_,ve-1,-ve)}let S=_-1,L=1,se=0;for(this[p+S]=d&255;--S>=0&&(L*=256);)d<0&&se===0&&this[p+S+1]!==0&&(se=1),this[p+S]=(d/L>>0)-se&255;return p+_},u.prototype.writeInt8=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,1,127,-128),d<0&&(d=255+d+1),this[p]=d&255,p+1},u.prototype.writeInt16LE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,2,32767,-32768),this[p]=d&255,this[p+1]=d>>>8,p+2},u.prototype.writeInt16BE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,2,32767,-32768),this[p]=d>>>8,this[p+1]=d&255,p+2},u.prototype.writeInt32LE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,4,2147483647,-2147483648),this[p]=d&255,this[p+1]=d>>>8,this[p+2]=d>>>16,this[p+3]=d>>>24,p+4},u.prototype.writeInt32BE=function(d,p,_){return d=+d,p=p>>>0,_||Se(this,d,p,4,2147483647,-2147483648),d<0&&(d=4294967295+d+1),this[p]=d>>>24,this[p+1]=d>>>16,this[p+2]=d>>>8,this[p+3]=d&255,p+4},u.prototype.writeBigInt64LE=Fe(function(d,p=0){return Kt(this,d,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=Fe(function(d,p=0){return Ve(this,d,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Oe(m,d,p,_,b,S){if(p+_>m.length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("Index out of range")}function Mt(m,d,p,_,b){return d=+d,p=p>>>0,b||Oe(m,d,p,4),t.write(m,d,p,_,23,4),p+4}u.prototype.writeFloatLE=function(d,p,_){return Mt(this,d,p,!0,_)},u.prototype.writeFloatBE=function(d,p,_){return Mt(this,d,p,!1,_)};function kt(m,d,p,_,b){return d=+d,p=p>>>0,b||Oe(m,d,p,8),t.write(m,d,p,_,52,8),p+8}u.prototype.writeDoubleLE=function(d,p,_){return kt(this,d,p,!0,_)},u.prototype.writeDoubleBE=function(d,p,_){return kt(this,d,p,!1,_)},u.prototype.copy=function(d,p,_,b){if(!u.isBuffer(d))throw new TypeError("argument should be a Buffer");if(_||(_=0),!b&&b!==0&&(b=this.length),p>=d.length&&(p=d.length),p||(p=0),b>0&&b<_&&(b=_),b===_||d.length===0||this.length===0)return 0;if(p<0)throw new RangeError("targetStart out of bounds");if(_<0||_>=this.length)throw new RangeError("Index out of range");if(b<0)throw new RangeError("sourceEnd out of bounds");b>this.length&&(b=this.length),d.length-p<b-_&&(b=d.length-p+_);const S=b-_;return this===d&&typeof i.prototype.copyWithin=="function"?this.copyWithin(p,_,b):i.prototype.set.call(d,this.subarray(_,b),p),S},u.prototype.fill=function(d,p,_,b){if(typeof d=="string"){if(typeof p=="string"?(b=p,p=0,_=this.length):typeof _=="string"&&(b=_,_=this.length),b!==void 0&&typeof b!="string")throw new TypeError("encoding must be a string");if(typeof b=="string"&&!u.isEncoding(b))throw new TypeError("Unknown encoding: "+b);if(d.length===1){const L=d.charCodeAt(0);(b==="utf8"&&L<128||b==="latin1")&&(d=L)}}else typeof d=="number"?d=d&255:typeof d=="boolean"&&(d=Number(d));if(p<0||this.length<p||this.length<_)throw new RangeError("Out of range index");if(_<=p)return this;p=p>>>0,_=_===void 0?this.length:_>>>0,d||(d=0);let S;if(typeof d=="number")for(S=p;S<_;++S)this[S]=d;else{const L=u.isBuffer(d)?d:u.from(d,b),se=L.length;if(se===0)throw new TypeError('The value "'+d+'" is invalid for argument "value"');for(S=0;S<_-p;++S)this[S+p]=L[S%se]}return this};const We={};function st(m,d,p){We[m]=class extends p{constructor(){super(),Object.defineProperty(this,"message",{value:d.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${m}]`,this.stack,delete this.name}get code(){return m}set code(b){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:b,writable:!0})}toString(){return`${this.name} [${m}]: ${this.message}`}}}st("ERR_BUFFER_OUT_OF_BOUNDS",function(m){return m?`${m} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),st("ERR_INVALID_ARG_TYPE",function(m,d){return`The "${m}" argument must be of type number. Received type ${typeof d}`},TypeError),st("ERR_OUT_OF_RANGE",function(m,d,p){let _=`The value of "${m}" is out of range.`,b=p;return Number.isInteger(p)&&Math.abs(p)>2**32?b=Gt(String(p)):typeof p=="bigint"&&(b=String(p),(p>BigInt(2)**BigInt(32)||p<-(BigInt(2)**BigInt(32)))&&(b=Gt(b)),b+="n"),_+=` It must be ${d}. Received ${b}`,_},RangeError);function Gt(m){let d="",p=m.length;const _=m[0]==="-"?1:0;for(;p>=_+4;p-=3)d=`_${m.slice(p-3,p)}${d}`;return`${m.slice(0,p)}${d}`}function Lt(m,d,p){Ie(d,"offset"),(m[d]===void 0||m[d+p]===void 0)&&ct(d,m.length-(p+1))}function Qe(m,d,p,_,b,S){if(m>p||m<d){const L=typeof d=="bigint"?"n":"";let se;throw d===0||d===BigInt(0)?se=`>= 0${L} and < 2${L} ** ${(S+1)*8}${L}`:se=`>= -(2${L} ** ${(S+1)*8-1}${L}) and < 2 ** ${(S+1)*8-1}${L}`,new We.ERR_OUT_OF_RANGE("value",se,m)}Lt(_,b,S)}function Ie(m,d){if(typeof m!="number")throw new We.ERR_INVALID_ARG_TYPE(d,"number",m)}function ct(m,d,p){throw Math.floor(m)!==m?(Ie(m,p),new We.ERR_OUT_OF_RANGE("offset","an integer",m)):d<0?new We.ERR_BUFFER_OUT_OF_BOUNDS:new We.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${d}`,m)}const Ot=/[^+/0-9A-Za-z-_]/g;function zt(m){if(m=m.split("=")[0],m=m.trim().replace(Ot,""),m.length<2)return"";for(;m.length%4!==0;)m=m+"=";return m}function ht(m,d){d=d||1/0;let p;const _=m.length;let b=null;const S=[];for(let L=0;L<_;++L){if(p=m.charCodeAt(L),p>55295&&p<57344){if(!b){if(p>56319){(d-=3)>-1&&S.push(239,191,189);continue}else if(L+1===_){(d-=3)>-1&&S.push(239,191,189);continue}b=p;continue}if(p<56320){(d-=3)>-1&&S.push(239,191,189),b=p;continue}p=(b-55296<<10|p-56320)+65536}else b&&(d-=3)>-1&&S.push(239,191,189);if(b=null,p<128){if((d-=1)<0)break;S.push(p)}else if(p<2048){if((d-=2)<0)break;S.push(p>>6|192,p&63|128)}else if(p<65536){if((d-=3)<0)break;S.push(p>>12|224,p>>6&63|128,p&63|128)}else if(p<1114112){if((d-=4)<0)break;S.push(p>>18|240,p>>12&63|128,p>>6&63|128,p&63|128)}else throw new Error("Invalid code point")}return S}function pn(m){const d=[];for(let p=0;p<m.length;++p)d.push(m.charCodeAt(p)&255);return d}function wt(m,d){let p,_,b;const S=[];for(let L=0;L<m.length&&!((d-=2)<0);++L)p=m.charCodeAt(L),_=p>>8,b=p%256,S.push(b),S.push(_);return S}function qe(m){return e.toByteArray(zt(m))}function mt(m,d,p,_){let b;for(b=0;b<_&&!(b+p>=d.length||b>=m.length);++b)d[b+p]=m[b];return b}function ze(m,d){return m instanceof d||m!=null&&m.constructor!=null&&m.constructor.name!=null&&m.constructor.name===d.name}function lt(m){return m!==m}const hn=function(){const m="0123456789abcdef",d=new Array(256);for(let p=0;p<16;++p){const _=p*16;for(let b=0;b<16;++b)d[_+b]=m[p]+m[b]}return d}();function Fe(m){return typeof BigInt>"u"?xt:m}function xt(){throw new Error("BigInt not supported")}})(kr);const nn=kr.Buffer,Ai=kr.Buffer,Gn=a.reactive(new Map),K={$on(n,e){let t=Gn.get(n);t||(t=new Set,Gn.set(n,t)),t.add(e)},$emit(n,...e){const t=Gn.get(n);if(t)for(const r of t)r(...e)},$off(n,e){const t=Gn.get(n);t&&t.delete(e)}};a.readonly(K);const Ri={computed:{home(){return this.$storex&&this.$storex.token&&this.$storex.username?"/"+this.$storex.username:"/welcome"},isAndroid(){return/Android/i.test(navigator.userAgent)||nt.Capacitor.getPlatform()==="android"},isiOS(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document||nt.Capacitor.getPlatform()==="ios"},isNative(){return nt.Capacitor.isNativePlatform()}},methods:{getIcon(n){return this.isNative?`/icons/${n}`:"https://cdn.tapni.co/icons/"+n},errorHandler(n){return n&&n.response&&n.response.data&&n.response.data.error&&((n.response.data.error==="ACCESS_DENIED"||n.response.data.error==="TOKEN_EXPIRED")&&this.logout(),!n.response.data.error.includes("Network Error")&&!n.response.data.error.includes("Cannot read properties")&&this.errorSnack(n.response.data.error)),n},errorSnack(n){let e=document.getElementById("snackbar"),t=document.getElementById("errorMessage"),r=document.getElementById("errorSnack");t.innerHTML=n,e.classList.add("show-snack"),r.classList.add("active-snack"),setTimeout(function(){r.classList.remove("active-snack"),e.classList.remove("show-snack")},3e3)},successSnack(n){let e=document.getElementById("snackbar"),t=document.getElementById("successMessage"),r=document.getElementById("successSnack");t.innerHTML=n,e.classList.add("show-snack"),r.classList.add("active-snack"),setTimeout(function(){r.classList.remove("active-snack"),e.classList.remove("show-snack")},3e3)},closeSnacks(){document.getElementById("snackbar").classList.remove("show-snack"),document.getElementById("successSnack").classList.remove("active-snack"),document.getElementById("errorSnack").classList.remove("active-snack")},tapsEmoji(n){return n<10?"":n<=50?"🔥":n<=100?"💥":n<=300?"💎":n>300?"🚀":""},isEmpty(n){if(!n)return!0;for(let e in n)if(n.hasOwnProperty(e))return!1;return JSON.stringify(n)===JSON.stringify({})},copy(n=""){const e=document.createElement("textarea");e.value=n,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),this.successSnack(this.ssoLang[this.appLanguage].copied)},async getCaptchaToken(n){try{return await window.grecaptcha.execute("6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk",{action:n})}catch(e){return console.log(e),null}}}},{mapState:Ni,mapActions:Pi,mapGetters:Mi}=ao.createNamespacedHelpers("auth"),Ne={mixins:[Ri],props:{isModal:{type:Boolean,required:!1,default:!1}},computed:{...Ni(["$storex","refreshing","loggedInUserId","account","device","loggedInAccounts","ssoLang","display","redirect_uri","response_type","state","allowedOriginsAuth"]),...Mi(["accessToken","refreshTokens","isLoggedIn","renderView","appLanguage"])},methods:{...Pi(["setLoggedInAccounts","setLoggedInUserId","setRefreshToken","unsetRefreshToken","setToken","setView","setStorage","setStorageItem","updateLang","login","register","verify","reset","exchangeAuthCode","changePassword","newPassword","deleteAccount","registerDevice","addFcmToken","acceptCompanyInvitation","logout","getCompanyBySSOEmail","getLoggedInAccounts","loginUsingQR","getAccountSettings","setRedirectUri","setDisplay","setState","setRealm","setResponseType","switchAccount","loginSetup","loginSuccess","refreshTokenAction"])},watch:{"$route.query":{handler:function(){this.$route.query.redirect_uri&&this.setRedirectUri(this.$route.query.redirect_uri),this.$route.query.display&&this.setDisplay(this.$route.query.display),this.$route.query.state&&this.setState(this.$route.query.state),this.$route.query.response_type&&this.setResponseType(this.$route.query.response_type),this.$route.query.realm&&this.setRealm(this.$route.query.realm)},deep:!0}}},xe=(n,e)=>{const t=n.__vccOpts||n;for(const[r,o]of e)t[r]=o;return t},Li={name:"AuthWelcome",mixins:[Ne],data(){return{loading:!0}},async mounted(){let n=document.getElementById("tapniVideo");n.addEventListener("canplay",function(){if(document.body.contains(n))try{n.play()}catch(e){console.log("Play was interrupted:",e)}}),setTimeout(()=>{this.$storex&&this.$storex.token?this.$router.push(this.home):K.$emit("ssoEvent",{name:"setLoading",data:!1})},500)},methods:{}},Oi={class:"page-login content-boxed content-boxed-padding center-text",style:{"margin-top":"-1px",overflow:"hidden",border:"solid 0px #ffffff"}},zi=["autoplay"],xi={class:"bold full-top no-bottom center-text"},Bi={class:"full-bottom half-top center-text color-black font-16"},Ui={class:"page-login-links center-text"},Di={class:"lang-icon"},ji={key:3,style:{display:"flex","flex-direction":"row","justify-content":"space-around",width:"90%",margin:"0 auto","margin-top":"40px"}};function Hi(n,e,t,r,o,i){const s=a.resolveComponent("router-link");return a.openBlock(),a.createElementBlock("div",Oi,[a.createElementVNode("video",{id:"tapniVideo",muted:"",loop:"",playsinline:"",width:"350",style:{margin:"0 auto","max-width":"100%","margin-top":"63px",overflow:"hidden"},autoplay:n.isNative},e[1]||(e[1]=[a.createElementVNode("source",{src:"https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",type:"video/mp4"},null,-1)]),8,zi),a.createElementVNode("h1",xi,a.toDisplayString(n.ssoLang[this.appLanguage].welcome),1),a.createElementVNode("p",Bi,a.toDisplayString(n.ssoLang[this.appLanguage].welcome_p1),1),a.createCommentVNode("",!0),a.createCommentVNode("",!0),a.createVNode(s,{to:"register",exact:"",class:"button-center button button-90 google-button bg-tapni-grey pointer"},{default:a.withCtx(()=>[a.createElementVNode("span",null,a.toDisplayString(n.ssoLang[this.appLanguage].create_account),1)]),_:1}),a.createElementVNode("div",Ui,[a.createVNode(s,{to:"/login"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(n.ssoLang[this.appLanguage].already_registered)+"? ",1),a.createElementVNode("b",null,a.toDisplayString(n.ssoLang[this.appLanguage].sign_in),1)]),_:1}),e[2]||(e[2]=a.createElementVNode("div",{class:"clear"},null,-1))]),n.display==="redirect"?(a.openBlock(),a.createElementBlock("a",{key:2,onClick:e[0]||(e[0]=(...c)=>n.toggleSSOLanguageModal&&n.toggleSSOLanguageModal(...c)),class:"font-18 no-border pointer color-black",style:{position:"absolute",right:"20px",top:"-10px","z-index":"1"}},[a.createElementVNode("span",Di,a.toDisplayString(n.appLanguage.toUpperCase()),1)])):a.createCommentVNode("",!0),this.isNative?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",ji,e[3]||(e[3]=[a.createStaticVNode('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-7aad6400><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-7aad6400></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-7aad6400><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-7aad6400></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-7aad6400><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-7aad6400></a>',3)])))])}const Er=xe(Li,[["render",Hi],["__scopeId","data-v-7aad6400"]]),Vi=Object.freeze(Object.defineProperty({__proto__:null,default:Er},Symbol.toStringTag,{value:"Module"})),qi="1.0.22",$n={getMe(){return le().get("/users/me")},getByUsername(n){let e=document.referrer||"",t=n.utmParams||{};return n.dontTap&&(t.dontTap=!0),le().get(`/users/${n.username}`,{params:t,headers:{"X-Referer":e}})},getByNumber(n){let e=document.referrer||"",t=n.utmParams||{};return n.dontTap&&(t.dontTap=!0),le().get(`/users/tag/${n.serial}`,{params:t,headers:{"X-Referer":e}})},save(n){return le().put("/users",n)},newPassword(n){return le().put("/users/new-password",n)},connect(n){return le().post("/users/connect",n)},eventLog(n){return le().post("/users/log",n)},deleteAccount(n){return le().post("/users/profile/delete",n)},registerDevice(n){return le().post("/users/device/register",n)},addFcmToken(n){return le().post("/users/device/fcm",n)},loginUsingQR(n){return le().post("/users/qr/login",n)}},ho={registerDevice(n){return le().post("/devices/add",n)},addFcmToken(n){return le().post("/devices/fcm/add",n)}},Cr={getBySSOEmail(n){return le().get(`/company/sso/${n}`)},acceptCompanyInvitation(n){return le().get(`/users/invitation?ic=${n}`)},qrCodePooling(n){return le().post("/company/login/qr",n)}},mo={state:{english:"English",spanish:"Spanish",german:"German",korean:"Korean",italian:"Italian",french:"French",serbian:"Serbian",turkish:"Turkish",chinese:"Chinese",app_language:"Language",profile_preview:"Profile preview",edit_profile:"Edit profile",login:"Login",referral_reach:"Provide us with more information about you and your reach.",referral_apply_placeholder:"How do you plan to promote Tapni?",referral_apply_note:`Add as many links as possible in your account, <br>
7
7
  so that we can know who you are.
8
8
  <br><br>Be exclusive.
9
9
  <br>Not everyone gets accepted.😉`,referral_apply_now:"Apply now",referral_apply_thanks:"Thanks for applying. We will review your application soon!",connect:"Connect",with:"with",exchange_contact:"Exchange Contact",add_details:"Add more",show_details:"Show more",download_contact:"Download Contact",stay_in_touch:"Stay in touch with",no_thanks:"No Thanks",connect_join:"Join Tapni",connect_with:"Exchange contact with",connect_required_fields:"One of the two contact fields must be provided",name:"Name",first_name:"First name",last_name:"Last name",email:"Email",phone:"Phone number",phone_p:"Phone",company:"Company",address:"Address",website:"Website",open:"Open",delete:"Delete",confirm:"Confirm",cancel:"Cancel",save:"Save",code:"Code",note:"Note",note_p:"Add a note",contact_card_icon:"Set text under the contact card icon",contact_card_name:"Enter first and lastname",contact_card_name_p:"Contact card name",contact_card_email:"Enter personal email address",contact_card_email_p:"Contact card email",contact_card_phone:"Enter personal phone number",contact_card_phone_p:"Contact card phone",contact_card_website:"Enter personal website",contact_card_website_p:"Contact card website",contact_card_company_name:"Enter company name",contact_card_company_name_p:"Contact card company name",contact_card_job_title:"Job title",contact_card_job_title_p:"Enter job title",contact_card_company_website:"Company website",contact_card_company_website_p:"Enter company website",contact_card_bio:"Enter bio for the contact card",contact_card_bio_p:"Enter bio for the contact card",contact_card_home_address:"Enter home address",contact_card_home_address_p:"Contact card home address",contact_card_work_address:"Enter work address",contact_card_work_address_p:"Contact card work address",contact_card_social:"Choose social media links to your Tapni profile <br>in order to add them in the contact card",contact_card_social_p:"Choose social media links for the contact card",link_text_p:"Link Text",link_icon:"Set text under the link icon",direct_pick:"Pick a direct link",direct_p:"When you tap someone's phone, <br> this link will be opened instead of your full profile.",password_change:"Change password",password_repeat:"Repeat password",password_reset_t:"Password reset",password_current:"Enter your current password",password_current_p:"Current Password",password_new:"Enter your new password",password_new_p:"New Password",password_new_repeat:"Enter your new password again",password_new_repeat_p:"Enter your new password again",password_update:"Password update",password_reset:`If you can't remember your current password,<br>
@@ -1397,7 +1397,7 @@ function pa(n, e, t, r, o, i) {
1397
1397
  const ao = /* @__PURE__ */ _t(oa, [["render", pa], ["__scopeId", "data-v-7aad6400"]]), ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1398
1398
  __proto__: null,
1399
1399
  default: ao
1400
- }, Symbol.toStringTag, { value: "Module" })), fa = "1.0.21", cr = {
1400
+ }, Symbol.toStringTag, { value: "Module" })), fa = "1.0.22", cr = {
1401
1401
  getMe() {
1402
1402
  return le().get("/users/me");
1403
1403
  },
@@ -5563,7 +5563,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5563
5563
  choose_other_login_methods: "다른 로그인 방법 선택하기",
5564
5564
  no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
5565
5565
  }
5566
- }, To = () => Promise.resolve().then(() => ha), ma = () => Promise.resolve().then(() => mc), _a = () => Promise.resolve().then(() => cl), va = () => Promise.resolve().then(() => Xu), ya = () => Promise.resolve().then(() => zc), wa = () => Promise.resolve().then(() => Cl), ba = () => Promise.resolve().then(() => od), ka = () => import("./QR-DbgxZeXg.js"), Ca = () => Promise.resolve().then(() => Cu), Ea = () => import("./Apps-C48_LPv-.js"), Ta = () => import("./Billing-B8J3f2pG.js"), Sa = () => import("./CustomApp-DNJYi2ms.js"), Ia = () => import("./General-Dp-0s35x.js"), Aa = [
5566
+ }, To = () => Promise.resolve().then(() => ha), ma = () => Promise.resolve().then(() => mc), _a = () => Promise.resolve().then(() => cl), va = () => Promise.resolve().then(() => Xu), ya = () => Promise.resolve().then(() => zc), wa = () => Promise.resolve().then(() => Cl), ba = () => Promise.resolve().then(() => od), ka = () => import("./QR-Bh_p5d9I.js"), Ca = () => Promise.resolve().then(() => Cu), Ea = () => import("./Apps-CWlui378.js"), Ta = () => import("./Billing-DxNGgNQp.js"), Sa = () => import("./CustomApp-_smas_N1.js"), Ia = () => import("./General-CNfUlwwa.js"), Aa = [
5567
5567
  {
5568
5568
  path: "/welcome",
5569
5569
  name: "AuthWelcome",
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .app-store-icon[data-v-7aad6400]{box-shadow:0 4px 10px #00000017;border-radius:12px}#codeInput[data-v-dea3e9ef],#emailInput[data-v-dea3e9ef]{text-align:center;padding-right:15%;font-size:17px}.firstRow img[data-v-5caa3239]{width:25px;height:25px;position:absolute;top:50%;right:0;transform:translate(-50%,-50%)}#emailInput[data-v-b19fad43]{text-align:center;padding-right:15%;font-size:17px}.fade-enter-to[data-v-e5fbde19]{opacity:1}.sso-img[data-v-6ebe2dcb]{margin:2px auto 0;width:35px}input[data-v-6ebe2dcb]{margin:0 auto;height:25px}.sso-img[data-v-53788b8a]{margin:2px auto 0;width:35px}input[data-v-53788b8a]{margin:0 auto;height:25px}.link-grid,.user-link-img{width:100%;display:inline-table;position:relative}.link-grid{width:30%;margin:1.6%;padding:1.6%}.link-grid .user-link-img img{border-radius:25%!important}.link-grid .edit-icon{border-radius:20px;right:-3%;top:-3%;position:absolute;z-index:3;max-width:23%;overflow:hidden;min-width:30px}.link-grid .direct-icon{border-radius:20px;left:-3%;top:-3%;position:absolute;z-index:555;max-width:23%;overflow:hidden;min-width:30px}.link-grid .link-text{min-height:20px;margin-top:3px!important;display:block;text-align:center;line-height:normal;overflow-wrap:anywhere}.link-list{width:93%;max-height:67px!important;margin:0 auto;display:flex;border-radius:15px!important;background-color:#fff;border:solid 1px #e8e8e8;position:relative;align-items:center}.link-list .user-link-img{display:inline-block;width:65px;border-radius:25%!important}.link-list .link-text{display:inline-block;padding:18px 0% 17px 10%;font-size:15px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1;text-align:left;border-radius:15px!important}.link-list .edit-icon{border-radius:20px;right:7%;top:30%;position:absolute;z-index:3;width:26px;overflow:hidden}.link-list .switching{width:45px}.link-list .direct-icon{border-radius:20px;left:-2%;top:-13%;position:absolute;z-index:555;width:26px;overflow:hidden}.small{width:22%!important;margin:2% 4% 0%;padding:0%}.small .link-text{margin-top:0!important;font-size:13px}.linkExternal{margin-right:20px;width:20px;display:inline-block!important;height:20px;background:#000;-webkit-mask:url(https://cdn.tapni.co/icons/link-external.svg) no-repeat center;mask:url(https://cdn.tapni.co/icons/link-external.svg) no-repeat center;transform:scale(1.5)}.user-img[data-v-ce677789]{margin:2px auto 0;width:65px}input[data-v-ce677789]{margin:0 auto;height:25px}html *{font-family:Inter,sans-serif}#bodyId{padding-top:3%;max-width:667px!important;margin:1.5% auto auto;height:95%!important;border-radius:20px}.action-block-top .default-text,.action-block-top .default-text:after{border-radius:50%;width:10em!important;height:10em!important}.action-block-top .default-text{margin:10px auto;font-size:3px;position:relative;text-indent:-9999em;border-left:.5em solid #000000;border-top:.5em solid rgba(0,0,0,.2);border-right:.5em solid rgba(0,0,0,.2);border-bottom:.5em solid rgba(0,0,0,.2);-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load8 1.1s infinite linear;animation:load8 1.1s infinite linear}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.smartbanner-ios{background:linear-gradient(to bottom,#f4f4f4,#f4f4f4);box-shadow:0 0 #fff;border-bottom:1px solid #dddddd}.smartbanner-icon{border-radius:16px}.smartbanner-ios .smartbanner-button{font-size:13px;padding:9px 0;height:40px;border-radius:13px;background:#f4f4f4;color:#0a99d2;border:none;box-shadow:none;text-transform:uppercase}.snack-body{display:none;border-radius:40px;font-size:15px!important}#errorSnack{background-color:#fee3e3!important;border:2px solid #edd9d9!important;color:#000}#successSnack{background-color:#eff5eb!important;border:2px solid #e3ecd7!important;color:#000}.grecaptcha-badge{visibility:hidden}.header-logo{position:absolute;left:50%;transform:translate(-50%,-50%);margin-top:0;z-index:2}.header-logo-img{height:40px;margin-top:10px}@media (max-width: 768px){#bodyId{margin-top:0;border-radius:0;height:100%!important}.header-logo{margin-top:15px}}.container{padding:10px 0 100px!important;display:flex;flex-direction:column;gap:10px}.settingsCard{background-color:#fff;padding:20px;border-radius:26px;align-items:center}.device{display:flex;align-items:center}h4{margin-left:20px;font-weight:700}.middle{flex:1}.left img{background-color:#f7f8f9;border-radius:20px;padding:10px}.divider{height:1px;background-color:#f0f0f0;margin:20px 0}.moreFooter{display:flex;align-items:center;justify-content:space-between;padding:0 10px}.settingRow{background-color:#f4f4f4;padding:10px 9px;border-radius:15px;cursor:pointer}.settingRow .firstRow,.settingRow .secondRow{display:flex;align-items:center;min-height:35px}.settingRow .firstRow h4{text-align:left;flex:1;margin-left:20px;font-weight:600;margin-bottom:0}.settingRow .secondRow{font-size:8px;margin-top:20px}.settingRow .secondRow p{flex:1;color:#999}.withBackground{background-color:#fff;border-radius:10px;padding:10px;width:50px}.ios-switch{position:relative;width:60px;padding-top:4px;padding-right:4px;margin-left:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.ios-switch-checkbox{display:none}.ios-switch-label{background-color:#e3e3e3;display:block;overflow:initial;cursor:pointer;height:30px;padding:0;line-height:20px;border:1px solid #e3e3e3;border-radius:25px;transition:all .25s ease}.ios-switch-label:before{content:"";display:block;width:30px;margin:0;position:absolute;top:0;bottom:0;right:24px;background-size:15px;background-repeat:no-repeat;background-position:center;border:2px solid #e3e3e3;border-radius:25px;transition:all .25s ease}.ios-switch-checkbox:checked+.ios-switch-label{background-color:#151515}.ios-switch-checkbox:checked+.ios-switch-label,.ios-switch-checkbox:checked+.ios-switch-label:before{border-color:#151515}.ios-switch-checkbox:checked+.ios-switch-label:before{right:-1px}.subheaderContainer{display:flex;align-items:center;position:relative;padding:15px 25px}.subheaderContainer .left-button{width:40px!important;height:40px!important;margin:0;border-radius:50%;background:#f4f4f4;display:flex;align-items:center;justify-content:center;position:absolute;left:20px}.subheaderContainer .button{width:40px!important;height:40px!important;margin:0;border-radius:50%;background:#f4f4f4;display:flex;align-items:center;justify-content:center;position:absolute}.subheaderContainer .button img{top:0!important;margin-right:3px!important}.subheaderContainer .left-button{left:20px}.subheaderContainer .right-button{right:20px}.transition-icon{transition:.5s}.rotate-icon{transform:translate(-50%,-50%) rotate(180deg)!important}.withBackground[data-v-2f7f5584],.withBackground[data-v-4d3e1bec],.withBackground[data-v-36b27d1f]{height:50px}[data-v-9dc93691] .vue-select{padding:5px 0}[data-v-9dc93691] .vue-select .dropdown-icon{color:#1d1d1d;width:25px!important;height:25px!important}[data-v-9dc93691] .vue-select .menu-option:hover{background-color:#d9d9d9}[data-v-9dc93691] .vue-select .menu-option.focused{background-color:#f4f4f4}[data-v-9dc93691] .vue-select .menu-option{border-bottom:1px solid #D9D9D9;font-size:15px;color:#151515}[data-v-9dc93691] .vue-select .menu-option:last-child{border-bottom:none}[data-v-9dc93691] .vue-select .menu{border-radius:10px;border:none}[data-v-9dc93691] .vue-select .control.focused{border:none;box-shadow:none}[data-v-9dc93691] .vue-select .control{min-height:54px!important;background-color:#f4f4f4;border:none;border-radius:10px}[data-v-9dc93691] .vue-select .menu-option.selected{background-color:#e4e4e4}[data-v-9dc93691] .vue-select .indicators-container{padding:5px 15px!important}[data-v-9dc93691] .vue-select .value-container{padding:5px 15px}[data-v-9dc93691] .vue-select .menu-option{background-color:#f4f4f4}
1
+ .app-store-icon[data-v-7aad6400]{box-shadow:0 4px 10px #00000017;border-radius:12px}#codeInput[data-v-dea3e9ef],#emailInput[data-v-dea3e9ef]{text-align:center;padding-right:15%;font-size:17px}.firstRow img[data-v-5caa3239]{width:25px;height:25px;position:absolute;top:50%;right:0;transform:translate(-50%,-50%)}#emailInput[data-v-b19fad43]{text-align:center;padding-right:15%;font-size:17px}.fade-enter-to[data-v-e5fbde19]{opacity:1}.sso-img[data-v-6ebe2dcb]{margin:2px auto 0;width:35px}input[data-v-6ebe2dcb]{margin:0 auto;height:25px}.sso-img[data-v-53788b8a]{margin:2px auto 0;width:35px}input[data-v-53788b8a]{margin:0 auto;height:25px}.link-grid,.user-link-img{width:100%;display:inline-table;position:relative}.link-grid{width:30%;margin:1.6%;padding:1.6%}.link-grid .user-link-img img{border-radius:25%!important}.link-grid .edit-icon{border-radius:20px;right:-3%;top:-3%;position:absolute;z-index:3;max-width:23%;overflow:hidden;min-width:30px}.link-grid .direct-icon{border-radius:20px;left:-3%;top:-3%;position:absolute;z-index:555;max-width:23%;overflow:hidden;min-width:30px}.link-grid .link-text{min-height:20px;margin-top:3px!important;display:block;text-align:center;line-height:normal;overflow-wrap:anywhere}.link-list{width:93%;max-height:67px!important;margin:0 auto;display:flex;border-radius:15px!important;background-color:#fff;border:solid 1px #e8e8e8;position:relative;align-items:center}.link-list .user-link-img{display:inline-block;width:65px;border-radius:25%!important}.link-list .link-text{display:inline-block;padding:18px 0% 17px 10%;font-size:15px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1;text-align:left;border-radius:15px!important}.link-list .edit-icon{border-radius:20px;right:7%;top:30%;position:absolute;z-index:3;width:26px;overflow:hidden}.link-list .switching{width:45px}.link-list .direct-icon{border-radius:20px;left:-2%;top:-13%;position:absolute;z-index:555;width:26px;overflow:hidden}.small{width:22%!important;margin:2% 4% 0%;padding:0%}.small .link-text{margin-top:0!important;font-size:13px}.linkExternal{margin-right:20px;width:20px;display:inline-block!important;height:20px;background:#000;-webkit-mask:url(https://cdn.tapni.co/icons/link-external.svg) no-repeat center;mask:url(https://cdn.tapni.co/icons/link-external.svg) no-repeat center;transform:scale(1.5)}.user-img[data-v-ce677789]{margin:2px auto 0;width:65px}input[data-v-ce677789]{margin:0 auto;height:25px}.container{padding:10px 0 100px!important;display:flex;flex-direction:column;gap:10px}.settingsCard{background-color:#fff;padding:20px;border-radius:26px;align-items:center}.device{display:flex;align-items:center}h4{margin-left:20px;font-weight:700}.middle{flex:1}.left img{background-color:#f7f8f9;border-radius:20px;padding:10px}.divider{height:1px;background-color:#f0f0f0;margin:20px 0}.moreFooter{display:flex;align-items:center;justify-content:space-between;padding:0 10px}.settingRow{background-color:#f4f4f4;padding:10px 9px;border-radius:15px;cursor:pointer}.settingRow .firstRow,.settingRow .secondRow{display:flex;align-items:center;min-height:35px}.settingRow .firstRow h4{text-align:left;flex:1;margin-left:20px;font-weight:600;margin-bottom:0}.settingRow .secondRow{font-size:8px;margin-top:20px}.settingRow .secondRow p{flex:1;color:#999}.withBackground{background-color:#fff;border-radius:10px;padding:10px;width:50px}.ios-switch{position:relative;width:60px;padding-top:4px;padding-right:4px;margin-left:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.ios-switch-checkbox{display:none}.ios-switch-label{background-color:#e3e3e3;display:block;overflow:initial;cursor:pointer;height:30px;padding:0;line-height:20px;border:1px solid #e3e3e3;border-radius:25px;transition:all .25s ease}.ios-switch-label:before{content:"";display:block;width:30px;margin:0;position:absolute;top:0;bottom:0;right:24px;background-size:15px;background-repeat:no-repeat;background-position:center;border:2px solid #e3e3e3;border-radius:25px;transition:all .25s ease}.ios-switch-checkbox:checked+.ios-switch-label{background-color:#151515}.ios-switch-checkbox:checked+.ios-switch-label,.ios-switch-checkbox:checked+.ios-switch-label:before{border-color:#151515}.ios-switch-checkbox:checked+.ios-switch-label:before{right:-1px}.subheaderContainer{display:flex;align-items:center;position:relative;padding:15px 25px}.subheaderContainer .left-button{width:40px!important;height:40px!important;margin:0;border-radius:50%;background:#f4f4f4;display:flex;align-items:center;justify-content:center;position:absolute;left:20px}.subheaderContainer .button{width:40px!important;height:40px!important;margin:0;border-radius:50%;background:#f4f4f4;display:flex;align-items:center;justify-content:center;position:absolute}.subheaderContainer .button img{top:0!important;margin-right:3px!important}.subheaderContainer .left-button{left:20px}.subheaderContainer .right-button{right:20px}.transition-icon{transition:.5s}.rotate-icon{transform:translate(-50%,-50%) rotate(180deg)!important}html *{font-family:Inter,sans-serif}#bodyId{padding-top:3%;max-width:667px!important;margin:1.5% auto auto;height:95%!important;border-radius:20px}.action-block-top .default-text,.action-block-top .default-text:after{border-radius:50%;width:10em!important;height:10em!important}.action-block-top .default-text{margin:10px auto;font-size:3px;position:relative;text-indent:-9999em;border-left:.5em solid #000000;border-top:.5em solid rgba(0,0,0,.2);border-right:.5em solid rgba(0,0,0,.2);border-bottom:.5em solid rgba(0,0,0,.2);-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load8 1.1s infinite linear;animation:load8 1.1s infinite linear}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.smartbanner-ios{background:linear-gradient(to bottom,#f4f4f4,#f4f4f4);box-shadow:0 0 #fff;border-bottom:1px solid #dddddd}.smartbanner-icon{border-radius:16px}.smartbanner-ios .smartbanner-button{font-size:13px;padding:9px 0;height:40px;border-radius:13px;background:#f4f4f4;color:#0a99d2;border:none;box-shadow:none;text-transform:uppercase}.snack-body{display:none;border-radius:40px;font-size:15px!important}#errorSnack{background-color:#fee3e3!important;border:2px solid #edd9d9!important;color:#000}#successSnack{background-color:#eff5eb!important;border:2px solid #e3ecd7!important;color:#000}.grecaptcha-badge{visibility:hidden}.header-logo{position:absolute;left:50%;transform:translate(-50%,-50%);margin-top:0;z-index:2}.header-logo-img{height:40px;margin-top:10px}@media (max-width: 768px){#bodyId{margin-top:0;border-radius:0;height:100%!important}.header-logo{margin-top:15px}}.withBackground[data-v-2f7f5584],.withBackground[data-v-4d3e1bec],.withBackground[data-v-36b27d1f]{height:50px}[data-v-9dc93691] .vue-select{padding:5px 0}[data-v-9dc93691] .vue-select .dropdown-icon{color:#1d1d1d;width:25px!important;height:25px!important}[data-v-9dc93691] .vue-select .menu-option:hover{background-color:#d9d9d9}[data-v-9dc93691] .vue-select .menu-option.focused{background-color:#f4f4f4}[data-v-9dc93691] .vue-select .menu-option{border-bottom:1px solid #D9D9D9;font-size:15px;color:#151515}[data-v-9dc93691] .vue-select .menu-option:last-child{border-bottom:none}[data-v-9dc93691] .vue-select .menu{border-radius:10px;border:none}[data-v-9dc93691] .vue-select .control.focused{border:none;box-shadow:none}[data-v-9dc93691] .vue-select .control{min-height:54px!important;background-color:#f4f4f4;border:none;border-radius:10px}[data-v-9dc93691] .vue-select .menu-option.selected{background-color:#e4e4e4}[data-v-9dc93691] .vue-select .indicators-container{padding:5px 15px!important}[data-v-9dc93691] .vue-select .value-container{padding:5px 15px}[data-v-9dc93691] .vue-select .menu-option{background-color:#f4f4f4}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapni/auth",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
package/src/App.vue CHANGED
@@ -207,6 +207,7 @@ export default {
207
207
  </script>
208
208
 
209
209
  <style>
210
+ @import "./assets/index.css";
210
211
  html * {
211
212
  font-family: "Inter", sans-serif;
212
213
  }
package/src/install.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import App from './App.vue';
2
2
  import auth from './store/auth.js';
3
- import "./assets/index.css";
4
3
 
5
4
  // Export the component by default
6
5
  export default {
package/src/main.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import '@tapni/styles/dist/index.css';
2
- import "./assets/index.css";
3
2
  import { createApp } from 'vue';
4
3
  import RootApp from './App.vue';
5
4
  import router from './router';