@snippyly/plugin-staging 1.0.235 → 1.0.236
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/snippyly.js +124 -124
- package/snippyly.min.js +60 -60
package/snippyly.min.js
CHANGED
|
@@ -906,7 +906,7 @@ class Qi{constructor(t){this.auth=t,this.internalListeners=new Map}getUid(){var
|
|
|
906
906
|
*/
|
|
907
907
|
class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n=this._cipher,{blockSize:o}=n,s=this._iv;let r=this._counter;s&&(this._counter=s.slice(0),r=this._counter,this._iv=void 0),(t=>{const e=t;e[0]=Fs(e[0]),0===e[0]&&(e[1]=Fs(e[1]))})(r);const a=r.slice(0);n.encryptBlock(a,0);for(let t=0;t<o;t+=1)i[e+t]^=a[t]}},Ls.Decryptor=Ls.Encryptor;class _s extends kn{}_s.Encryptor=class extends _s{processBlock(t,e){this._cipher.encryptBlock(t,e)}},_s.Decryptor=class extends _s{processBlock(t,e){this._cipher.decryptBlock(t,e)}};class Ns extends kn{}Ns.Encryptor=class extends Ns{processBlock(t,e){const i=t,n=this._cipher,{blockSize:o}=n,s=this._iv;let r=this._keystream;s&&(this._keystream=s.slice(0),r=this._keystream,this._iv=void 0),n.encryptBlock(r,0);for(let t=0;t<o;t+=1)i[e+t]^=r[t]}},Ns.Decryptor=Ns.Encryptor;const Ds={pad(t,e){const i=4*e,n=i-t.sigBytes%i;t.concat(nn.random(n-1)).concat(nn.create([n<<24],1))},unpad(t){const e=t,i=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=i}},Os={pad(t,e){const i=t,n=4*e;i.clamp(),i.sigBytes+=n-(t.sigBytes%n||n)},unpad(t){const e=t,i=e.words;for(let t=e.sigBytes-1;t>=0;t-=1)if(i[t>>>2]>>>24-t%4*8&255){e.sigBytes=t+1;break}}},Ts={pad(t,e){t.concat(nn.create([2147483648],1)),Os.pad(t,e)},unpad(t){const e=t;Os.unpad(e),e.sigBytes-=1}},Rs={stringify:t=>t.ciphertext.toString(on),parse(t){const e=on.parse(t);return Fn.create({ciphertext:e})}};var Vs={lib:{Base:en,WordArray:nn,BufferedBlockAlgorithm:an,Hasher:ln,Cipher:Sn,StreamCipher:En,BlockCipherMode:kn,BlockCipher:In,CipherParams:Fn,SerializableCipher:_n,PasswordBasedCipher:Dn},x64:{Word:hn,WordArray:un},enc:{Hex:on,Latin1:sn,Utf8:rn,Utf16:Rn,Utf16BE:Tn,Utf16LE:Vn,Base64:pn},algo:{HMAC:cn,MD5:Cn,SHA1:Hn,SHA224:Qn,SHA256:Wn,SHA384:ao,SHA512:oo,SHA3:wo,RIPEMD160:No,PBKDF2:To,EvpKDF:xn,AES:Yo,DES:rs,TripleDES:ls,Rabbit:vs,RabbitLegacy:ys,RC4:Ss,RC4Drop:ks},mode:{CBC:$n,CFB:Ms,CTR:Is,CTRGladman:Ls,ECB:_s,OFB:Ns},pad:{Pkcs7:Mn,AnsiX923:{pad(t,e){const i=t,n=i.sigBytes,o=4*e,s=o-n%o,r=n+s-1;i.clamp(),i.words[r>>>2]|=s<<24-r%4*8,i.sigBytes+=s},unpad(t){const e=t,i=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=i}},Iso10126:Ds,Iso97971:Ts,NoPadding:{pad(){},unpad(){}},ZeroPadding:Os},format:{OpenSSL:Ln,Hex:Rs},kdf:{OpenSSL:Nn},MD5:yn,HmacMD5:bn,SHA1:Pn,HmacSHA1:Un,SHA224:to,HmacSHA224:eo,SHA256:Yn,HmacSHA256:Xn,SHA384:lo,HmacSHA384:co,SHA512:so,HmacSHA512:ro,SHA3:Co,HmacSHA3:yo,RIPEMD160:Do,HmacRIPEMD160:Oo,PBKDF2:(t,e,i)=>To.create(i).compute(t,e),EvpKDF:(t,e,i)=>xn.create(i).compute(t,e),AES:Xo,DES:as,TripleDES:cs,Rabbit:fs,RabbitLegacy:bs,RC4:Es,RC4Drop:As};const Bs=(t,e=0)=>{try{let i=3735928559^e,n=1103547991^e;for(let e,o=0;o<t.length;o++)e=t.charCodeAt(o),i=Math.imul(i^e,2654435761),n=Math.imul(n^e,1597334677);return i=Math.imul(i^i>>>16,2246822507)^Math.imul(n^n>>>13,3266489909),n=Math.imul(n^n>>>16,2246822507)^Math.imul(i^i>>>13,3266489909),4294967296*(2097151&n)+(i>>>0)}catch(t){return console.warn("Error in cyrb53: ",t),ir("Error in cyrb53: ",t),0}},Hs=(t,e,i=!1,n="localStorage")=>{try{const o=i?btoa(e):e;"localStorage"===n?localStorage.setItem(t,o):sessionStorage.setItem(t,o)}catch(t){console.warn("Error in setLocalStorage: ",t),ir("Error in setLocalStorage: ",t)}},Ps=(t,e=!1,i="localStorage")=>{try{let n=null;return n="localStorage"===i?localStorage.getItem(t):sessionStorage.getItem(t),n&&e?atob(n):n}catch(t){return console.warn("Error in getLocalStorage: ",t),ir("Error in getLocalStorage: ",t),null}},Us=(t,e="localStorage")=>{try{"localStorage"===e?localStorage.removeItem(t):sessionStorage.removeItem(t)}catch(t){console.warn("Error in removeLocalStorageData: ",t),ir("Error in removeLocalStorageData: ",t)}},js=(...t)=>{if(t)switch(t.length){case 1:return a`calc(${t[0]}rem * var(--snippyly-base-rem-unit, 1))`;case 2:return a`calc(${t[0]}rem * var(--snippyly-base-rem-unit, 1)) calc(${t[1]}rem * var(--snippyly-base-rem-unit, 1))`;case 3:return a`calc(${t[0]}rem * var(--snippyly-base-rem-unit, 1)) calc(${t[1]}rem * var(--snippyly-base-rem-unit, 1))
|
|
908
908
|
calc(${t[2]}rem * var(--snippyly-base-rem-unit, 1))`;case 4:return a`calc(${t[0]}rem * var(--snippyly-base-rem-unit, 1)) calc(${t[1]}rem * var(--snippyly-base-rem-unit, 1))
|
|
909
|
-
calc(${t[2]}rem * var(--snippyly-base-rem-unit, 1)) calc(${t[3]}rem * var(--snippyly-base-rem-unit, 1))`}return a`0`},zs=(t,e,i)=>{try{const n=Vs.enc.Utf8.parse(e),o=Vs.enc.Utf8.parse(i);return Vs.AES.encrypt(Vs.enc.Utf8.parse(t),n,{keySize:32,iv:o,mode:Vs.mode.CBC,padding:Vs.pad.Pkcs7}).toString()}catch(e){return console.warn("Error in encrypt: ",e),ir("Error in encrypt: ",e),t}},Zs=(t,e,i)=>{try{const n=Vs.enc.Utf8.parse(e),o=Vs.enc.Utf8.parse(i);return Vs.AES.decrypt(t,n,{keySize:32,iv:o,mode:Vs.mode.CBC,padding:Vs.pad.Pkcs7}).toString(Vs.enc.Utf8)}catch(t){return console.warn("Error in decrypt: ",t),ir("Error in decrypt: ",t),null}},Js=()=>{try{const t=Ps(ut,!0);if(t){const e=Zs(t,Lt,_t);if(e)return JSON.parse(e);console.warn("Error in getUserFromToken: ","Invalid token."),Us(ut)}else{const t=Ps(dt,!0);if(t)return Gs(),JSON.parse(t)}return null}catch(t){return console.warn("Error in getUserFromToken: ",t),ir("Error in getUserFromToken: ",t),null}},Gs=()=>{try{const t=Ps(dt,!0);if(t){const e=zs(t,Lt,_t);Hs(ut,e,!0)}Us(dt)}catch(t){console.warn("Error in moveSnippylyUserToST: ",t),ir("Error in moveSnippylyUserToST: ",t)}},Ks=()=>{try{const t=Ps(pt,!0);if(!t){const t=qs(),e=Ws(t),i={name:t,email:e,userId:Bs(e)+"",isGuest:!0},n=JSON.stringify(i),o=zs(n,Lt,_t);return Hs(pt,o,!0),i}{const e=Zs(t,Lt,_t);if(e)return JSON.parse(e)}}catch(t){return console.warn("Error in getGuestUser: ",t),ir("Error in getGuestUser: ",t),null}},qs=()=>{const t=["John","Jane","Jack","Jill","James","Jenny","Jasper","Jade","Jared","Jasmine","Jaxon","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn"],e=["Smith","Johnson","Williams","Jones","Brown","Davis","Miller","Wilson","Moore","Taylor","Anderson","Thomas","Jackson","White","Harris","Martin","Thompson","Garcia","Martinez","Robinson","Clark","Rodriguez","Lewis","Lee","Walker","Hall","Allen","Young","Hernandez","King","Wright","Lopez","Hill","Scott","Green","Adams","Baker","Gonzalez","Nelson","Carter","Mitchell","Perez","Roberts","Turner","Phillips","Campbell","Parker","Evans","Edwards","Collins","Stewart","Sanchez","Morris","Rogers","Reed","Cook","Morgan","Bell","Murphy","Bailey","Rivera","Cooper","Richardson","Cox","Howard","Ward","Torres","Peterson","Gray","Ramirez","James","Watson","Brooks","Kelly","Sanders","Price","Bennett","Wood","Barnes","Ross","Henderson","Coleman","Jenkins","Perry","Powell","Long","Patterson","Hughes","Flores","Washington","Butler","Simmons","Foster","Gonzales","Bryant","Alexander","Russell","Griffin","Diaz","Hayes"];return`${t[Math.floor(Math.random()*t.length)]} ${e[Math.floor(Math.random()*e.length)]}`},Ws=t=>{try{return`${null==t?void 0:t.toLowerCase().replace(/ /g,"")}${Math.floor(1e4*Math.random())}@superflow.com`}catch(t){return console.warn("Error in getRandomEmail: ",t),ir("Error in getRandomEmail: ",t),null}},Ys=function(t=function(t="[DEFAULT]"){const e=Ie.get(t);if(!e&&t===$e)return Oe();if(!e)throw Ne.create("no-app",{appName:t});return e}(),e="us-central1"){const i=function(t,e){const i=t.container.getProvider("heartbeat").getImmediate({optional:!0});return i&&i.triggerHeartbeat(),t.container.getProvider(e)}(Wt(t),We),n=i.getImmediate({identifier:e}),o=Ht("functions");return o&&function(t,e,i){!function(t,e,i){t.emulatorOrigin=`http://${e}:${i}`}(Wt(t),e,i)}(n,...o),n}(Oe({apiKey:"AIzaSyAzcW2n1JhY_zhkXmuFcwe550AkwmYeJ0w",projectId:"snipply-sdk-staging",messagingSenderId:"877538579326",appId:"1:877538579326:web:f793f73f2b7dc770c4992f"}));let Xs,Qs={};const tr=(t={})=>{Qs={...Qs,...t}},er=t=>{Xs=t},ir=(t,e,i={})=>{const n={error:t,message:(null==e?void 0:e.message)||e||t,...i};nr("error",n)},nr=(t,e={},i=!0)=>{try{if(null==Xs?void 0:Xs.userSnippylyId){e=i?{...Qs,...e}:e,e={...e,source:"superflowToolbar"};const n={userId:null==Xs?void 0:Xs.userSnippylyId,event:t,properties:e,sf:!0};or("track",n)}else console.warn("Untracked event: ",t,e)}catch(t){console.warn("Error in trackEvent: ",t)}},or=(t,e)=>{try{ri(Ys,"sa")({type:t,data:e})}catch(t){console.warn("Error in setAnalytics: ",t)}},sr=a`
|
|
909
|
+
calc(${t[2]}rem * var(--snippyly-base-rem-unit, 1)) calc(${t[3]}rem * var(--snippyly-base-rem-unit, 1))`}return a`0`},zs=(t,e,i)=>{try{const n=Vs.enc.Utf8.parse(e),o=Vs.enc.Utf8.parse(i);return Vs.AES.encrypt(Vs.enc.Utf8.parse(t),n,{keySize:32,iv:o,mode:Vs.mode.CBC,padding:Vs.pad.Pkcs7}).toString()}catch(e){return console.warn("Error in encrypt: ",e),ir("Error in encrypt: ",e),t}},Zs=(t,e,i)=>{try{const n=Vs.enc.Utf8.parse(e),o=Vs.enc.Utf8.parse(i);return Vs.AES.decrypt(t,n,{keySize:32,iv:o,mode:Vs.mode.CBC,padding:Vs.pad.Pkcs7}).toString(Vs.enc.Utf8)}catch(t){return console.warn("Error in decrypt: ",t),ir("Error in decrypt: ",t),null}},Js=()=>{try{const t=Ps(ut,!0);if(t){const e=Zs(t,Lt,_t);if(e)return JSON.parse(e);console.warn("Error in getUserFromToken: ","Invalid token."),Us(ut)}else{const t=Ps(dt,!0);if(t)return Gs(),JSON.parse(t)}return null}catch(t){return console.warn("Error in getUserFromToken: ",t),ir("Error in getUserFromToken: ",t),null}},Gs=()=>{try{const t=Ps(dt,!0);if(t){const e=zs(t,Lt,_t);Hs(ut,e,!0)}Us(dt)}catch(t){console.warn("Error in moveSnippylyUserToST: ",t),ir("Error in moveSnippylyUserToST: ",t)}},Ks=()=>{try{const t=Ps(pt,!0);if(!t){const t=qs(),e=Ws(t),i={name:t,email:e,userId:Bs(e)+"",isGuest:!0},n=JSON.stringify(i),o=zs(n,Lt,_t);return Hs(pt,o,!0),i}{const e=Zs(t,Lt,_t);if(e)return JSON.parse(e)}}catch(t){return console.warn("Error in getGuestUser: ",t),ir("Error in getGuestUser: ",t),null}},qs=()=>{const t=["John","Jane","Jack","Jill","James","Jenny","Jasper","Jade","Jared","Jasmine","Jaxon","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn","Jax","Jade","Jesse","Jenna","Jude","Jocelyn"],e=["Smith","Johnson","Williams","Jones","Brown","Davis","Miller","Wilson","Moore","Taylor","Anderson","Thomas","Jackson","White","Harris","Martin","Thompson","Garcia","Martinez","Robinson","Clark","Rodriguez","Lewis","Lee","Walker","Hall","Allen","Young","Hernandez","King","Wright","Lopez","Hill","Scott","Green","Adams","Baker","Gonzalez","Nelson","Carter","Mitchell","Perez","Roberts","Turner","Phillips","Campbell","Parker","Evans","Edwards","Collins","Stewart","Sanchez","Morris","Rogers","Reed","Cook","Morgan","Bell","Murphy","Bailey","Rivera","Cooper","Richardson","Cox","Howard","Ward","Torres","Peterson","Gray","Ramirez","James","Watson","Brooks","Kelly","Sanders","Price","Bennett","Wood","Barnes","Ross","Henderson","Coleman","Jenkins","Perry","Powell","Long","Patterson","Hughes","Flores","Washington","Butler","Simmons","Foster","Gonzales","Bryant","Alexander","Russell","Griffin","Diaz","Hayes"];return`${t[Math.floor(Math.random()*t.length)]} ${e[Math.floor(Math.random()*e.length)]}`},Ws=t=>{try{return`${null==t?void 0:t.toLowerCase().replace(/ /g,"")}${Math.floor(1e4*Math.random())}@superflow.com`}catch(t){return console.warn("Error in getRandomEmail: ",t),ir("Error in getRandomEmail: ",t),null}},Ys=function(t=function(t="[DEFAULT]"){const e=Ie.get(t);if(!e&&t===$e)return Oe();if(!e)throw Ne.create("no-app",{appName:t});return e}(),e="us-central1"){const i=function(t,e){const i=t.container.getProvider("heartbeat").getImmediate({optional:!0});return i&&i.triggerHeartbeat(),t.container.getProvider(e)}(Wt(t),We),n=i.getImmediate({identifier:e}),o=Ht("functions");return o&&function(t,e,i){!function(t,e,i){t.emulatorOrigin=`http://${e}:${i}`}(Wt(t),e,i)}(n,...o),n}(Oe({apiKey:"AIzaSyAzcW2n1JhY_zhkXmuFcwe550AkwmYeJ0w",projectId:"snipply-sdk-staging",messagingSenderId:"877538579326",appId:"1:877538579326:web:f793f73f2b7dc770c4992f"}));let Xs,Qs={};const tr=(t={})=>{Qs={...Qs,...t}},er=t=>{Xs=t},ir=(t,e,i={})=>{const n={error:t,message:(null==e?void 0:e.message)||e||t,...i};nr("error",n)},nr=(t,e={},i=!0)=>{try{if(null==Xs?void 0:Xs.userSnippylyId){e=i?{...Qs,...e}:e,e={...e,source:"superflowToolbar"};const n={userId:null==Xs?void 0:Xs.userSnippylyId,event:t,properties:e,sf:!0};or("track",n)}else console.warn("Untracked event: ",t,e)}catch(t){console.warn("Error in trackEvent: ",t)}},or=(t,e)=>{try{ri(Ys,"sa")({type:t,data:e})}catch(t){console.warn("Error in setAnalytics: ",t)}},sr=async(t,e)=>{try{const i=ri(Ys,"checkguestmode"),n=await i({apiKey:t,projectId:e});return null==n?void 0:n.data}catch(t){return console.warn("Error in checkGuestMode: ",t),null}},rr=a`
|
|
910
910
|
|
|
911
911
|
.wrap {
|
|
912
912
|
padding: 32px;
|
|
@@ -1244,7 +1244,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
1244
1244
|
align-self: end;
|
|
1245
1245
|
cursor: pointer;
|
|
1246
1246
|
}
|
|
1247
|
-
`,
|
|
1247
|
+
`,ar=a`
|
|
1248
1248
|
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
|
|
1249
1249
|
|
|
1250
1250
|
* {
|
|
@@ -2096,13 +2096,13 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2096
2096
|
display: flex;
|
|
2097
2097
|
}
|
|
2098
2098
|
}
|
|
2099
|
-
`;navigator.language.split("-")[0];const ar=new Map;ar.set("es",{Comment:"Comentario","Commenting is disabled. Contact admin.":"Los comentarios están deshabilitados. Póngase en contacto con el administrador.","Arrow feature is disabled. Contact admin.":"La función de flecha está desactivada. Póngase en contacto con el administrador.","All Comments":"Todos los comentarios","Signing In":"Iniciando sesión","Sign in again!":"¡Inicia sesión de nuevo!","Sign in to comment":"Inicia sesión para comentar",Superflow:"Superflujo","Sign in to comment on this page.":"Inicia sesión para comentar en esta página.","Join Community":"Únete a la comunidad","Open in Mobile":"Abrir en móvil","Exit Review Mode":"Salir del modo de revisión","Sign in":"Iniciar sesión","Try Superflow using the toolbar below.":"Prueba Superflujo usando la barra de herramientas de abajo.","Get ready to drop your first comment!":"¡Prepárate para dejar tu primer comentario!","But before you do that, you definitely deserve a high five!":"¡Pero antes de eso, definitivamente mereces un choca esos cinco!",Done:"Hecho","Sign in on the toolbar below and add":"Inicia sesión en la barra de herramientas de abajo y añade","comments on the design flaws.":"comentarios sobre los defectos de diseño.","Click to add comments on this page.":"Haz clic para añadir comentarios en esta página.",Ok:"Ok",Arrow:"Flecha","Live Huddle":"Encuentro en vivo",Recording:"Grabación","Open Comments":"Abrir comentarios",Views:"Vistas",Internal:"Interno",External:"Externo",All:"Todos",Upgrade:"Actualizar","You don't have access.":"No tienes acceso.","Reach out to the admin of this project.":"Contacta al administrador de este proyecto.","Your plan has expired! Please upgrade.":"¡Tu plan ha caducado! Por favor, actualiza.","Your plan has expired!":"¡Tu plan ha caducado!","Please contact the admin.":"Por favor, contacta al administrador.",Share:"Compartir","Add comments & recordings on this page.":"Añade comentarios y grabaciones en esta página.","Learn more":"Aprender más","View project":"Ver proyecto","Sign Out":"Cerrar sesión","You’re a SuperFlow installation wizard!":"¡Eres un mago de la instalación de Superflujo!",Next:"Siguiente"}),ar.set("fr",{Comment:"Commentaire","Commenting is disabled. Contact admin.":"Les commentaires sont désactivés. Contactez l'administrateur.","Arrow feature is disabled. Contact admin.":"La fonction flèche est désactivée. Contactez l'administrateur.","All Comments":"Tous les commentaires","Signing In":"Connexion en cours","Sign in again!":"Connectez-vous à nouveau!","Sign in to comment":"Connectez-vous pour commenter",Superflow:"Superflux","Sign in to comment on this page.":"Connectez-vous pour commenter sur cette page.","Join Community":"Rejoindre la communauté","Open in Mobile":"Ouvrir sur mobile","Exit Review Mode":"Quitter le mode de révision","Sign in":"Se connecter","Try Superflow using the toolbar below.":"Essayez Superflux en utilisant la barre d'outils ci-dessous.","Get ready to drop your first comment!":"Préparez-vous à laisser votre premier commentaire!","But before you do that, you definitely deserve a high five!":"Mais avant cela, vous méritez certainement un tope-là!",Done:"Terminé","Sign in on the toolbar below and add":"Connectez-vous sur la barre d'outils ci-dessous et ajoutez","comments on the design flaws.":"des commentaires sur les défauts de conception.","Click to add comments on this page.":"Cliquez pour ajouter des commentaires sur cette page.",Ok:"Ok",Arrow:"Flèche","Live Huddle":"Discussion en direct",Recording:"Enregistrement","Open Comments":"Ouvrir les commentaires",Views:"Vues",Internal:"Interne",External:"Externe",All:"Tous",Upgrade:"Mettre à jour","You don't have access.":"Vous n'avez pas accès.","Reach out to the admin of this project.":"Contactez l'administrateur de ce projet.","Your plan has expired! Please upgrade.":"Votre plan a expiré! Veuillez mettre à jour.","Your plan has expired!":"Votre plan a expiré!","Please contact the admin.":"Veuillez contacter l'administrateur.",Share:"Partager","Add comments & recordings on this page.":"Ajoutez des commentaires et des enregistrements sur cette page.","Learn more":"En savoir plus","View project":"Voir le projet","Sign Out":"Se déconnecter","You’re a SuperFlow installation wizard!":"Vous êtes un sorcier d'installation de Superflux!",Next:"Suivant"}),ar.set("hi",{Comment:"टिप्पणी","Commenting is disabled. Contact admin.":"टिप्पणी करना अक्षम है. व्यवस्थापक से संपर्क करें.","Arrow feature is disabled. Contact admin.":"तीर सुविधा अक्षम है. व्यवस्थापक से संपर्क करें.","All Comments":"सभी टिप्पणियाँ","Signing In":"साइन इन कर रहा है","Sign in again!":"फिर से साइन इन करें!","Sign in to comment":"टिप्पणी करने के लिए साइन इन करें",Superflow:"सुपरफ्लो","Sign in to comment on this page.":"इस पृष्ठ पर टिप्पणी करने के लिए साइन इन करें।","Join Community":"समुदाय में शामिल हों","Open in Mobile":"मोबाइल में खोलें","Exit Review Mode":"समीक्षा मोड से बाहर निकलें","Sign in":"साइन इन करें","Try Superflow using the toolbar below.":"टूलबार का उपयोग करके सुपरफ्लो का प्रयास करें।","Get ready to drop your first comment!":"अपनी पहली टिप्पणी डालने के लिए तैयार हो जाओ!","But before you do that, you definitely deserve a high five!":"लेकिन इससे पहले, आपको निश्चित रूप से एक उच्च पांच मिलता है!",Done:"किया हुआ","Sign in on the toolbar below and add":"टूलबार पर साइन इन करें और जोड़ें","comments on the design flaws.":"डिज़ाइन की खामियों पर टिप्पणियाँ।","Click to add comments on this page.":"इस पृष्ठ पर टिप्पणियाँ जोड़ने के लिए क्लिक करें।",Ok:"ठीक",Arrow:"तीर","Live Huddle":"लाइव हडल",Recording:"रेकॉर्डिंग","Open Comments":"टिप्पणियाँ खोलें",Views:"दृश्य",Internal:"आंतरिक",External:"बाहरी",All:"सब",Upgrade:"अपग्रेड","You don't have access.":"आपके पास पहुंच नहीं है।","Reach out to the admin of this project.":"इस परियोजना के व्यवस्थापक से संपर्क करें।","Your plan has expired! Please upgrade.":"आपकी योजना समाप्त हो गई है! कृपया अपग्रेड करें।","Your plan has expired!":"आपकी योजना समाप्त हो गई है!","Please contact the admin.":"कृपया व्यवस्थापक से संपर्क करें।",Share:"शेयर","Add comments & recordings on this page.":"इस पृष्ठ पर टिप्पणियाँ और रिकॉर्डिंग जोड़ें।","Learn more":"और अधिक जानें","View project":"परियोजना देखें","Sign Out":"साइन आउट","You’re a SuperFlow installation wizard!":"आप एक सुपरफ्लो स्थापना विज़ार्ड हैं!",Next:"आगामी"}),ar.set("it",{Comment:"Commento","Commenting is disabled. Contact admin.":"I commenti sono disabilitati. Contatta l'amministratore.","Arrow feature is disabled. Contact admin.":"La funzione freccia è disabilitata. Contatta l'amministratore.","All Comments":"Tutti i commenti","Signing In":"Accesso in corso","Sign in again!":"Accedi di nuovo!","Sign in to comment":"Accedi per commentare",Superflow:"Superflusso","Sign in to comment on this page.":"Accedi per commentare su questa pagina.","Join Community":"Unisciti alla comunità","Open in Mobile":"Apri su mobile","Exit Review Mode":"Esci dalla modalità di revisione","Sign in":"Accedi","Try Superflow using the toolbar below.":"Prova Superflusso utilizzando la barra degli strumenti qui sotto.","Get ready to drop your first comment!":"Preparati a lasciare il tuo primo commento!","But before you do that, you definitely deserve a high five!":"Ma prima di farlo, meriti sicuramente un cinque in alto!",Done:"Fatto","Sign in on the toolbar below and add":"Accedi alla barra degli strumenti qui sotto e aggiungi","comments on the design flaws.":"commenti sui difetti di progettazione.","Click to add comments on this page.":"Clicca per aggiungere commenti su questa pagina.",Ok:"Ok",Arrow:"Freccia","Live Huddle":"Riunione dal vivo",Recording:"Registrazione","Open Comments":"Apri commenti",Views:"Visualizzazioni",Internal:"Interno",External:"Esterno",All:"Tutti",Upgrade:"Aggiorna","You don't have access.":"Non hai accesso.","Reach out to the admin of this project.":"Contatta l'amministratore di questo progetto.","Your plan has expired! Please upgrade.":"Il tuo piano è scaduto! Si prega di aggiornare.","Your plan has expired!":"Il tuo piano è scaduto!","Please contact the admin.":"Si prega di contattare l'amministratore.",Share:"Condividi","Add comments & recordings on this page.":"Aggiungi commenti e registrazioni su questa pagina.","Learn more":"Scopri di più","View project":"Visualizza progetto","Sign Out":"Disconnetti","You’re a SuperFlow installation wizard!":"Sei un mago dell'installazione di Superflusso!",Next:"Avanti"}),ar.set("ru",{Comment:"Комментарий","Commenting is disabled. Contact admin.":"Комментирование отключено. Свяжитесь с админом.","Arrow feature is disabled. Contact admin.":"Функция стрелки отключена. Свяжитесь с администратором.","All Comments":"Все комментарии","Signing In":"Вход в систему","Sign in again!":"Войдите снова!","Sign in to comment":"Войдите, чтобы оставить комментарий",Superflow:"Суперпоток","Sign in to comment on this page.":"Войдите, чтобы оставить комментарий на этой странице.","Join Community":"Присоединиться к сообществу","Open in Mobile":"Открыть на мобильном","Exit Review Mode":"Выйти из режима обзора","Sign in":"Войти","Try Superflow using the toolbar below.":"Попробуйте Суперпоток, используя панель инструментов ниже.","Get ready to drop your first comment!":"Приготовьтесь оставить свой первый комментарий!","But before you do that, you definitely deserve a high five!":"Но перед этим вы определенно заслуживаете пять!",Done:"Сделано","Sign in on the toolbar below and add":"Войдите на панели инструментов ниже и добавьте","comments on the design flaws.":"комментарии об ошибках в дизайне.","Click to add comments on this page.":"Нажмите, чтобы добавить комментарии на этой странице.",Ok:"Ок",Arrow:"Стрелка","Live Huddle":"Прямой сбор",Recording:"Запись","Open Comments":"Открыть комментарии",Views:"Просмотры",Internal:"Внутренний",External:"Внешний",All:"Все",Upgrade:"Обновить","You don't have access.":"У вас нет доступа.","Reach out to the admin of this project.":"Обратитесь к администратору этого проекта.","Your plan has expired! Please upgrade.":"Ваш план истек! Пожалуйста, обновите.","Your plan has expired!":"Ваш план истек!","Please contact the admin.":"Пожалуйста, свяжитесь с администратором.",Share:"Поделиться","Add comments & recordings on this page.":"Добавьте комментарии и записи на этой странице.","Learn more":"Узнать больше","View project":"Посмотреть проект","Sign Out":"Выйти","You’re a SuperFlow installation wizard!":"Вы волшебник установки Суперпотока!",Next:"Далее"}),ar.set("uk",{Comment:"Коментар","Commenting is disabled. Contact admin.":"Коментування вимкнено. Зв'язатися з адміном.","Arrow feature is disabled. Contact admin.":"Функція стрілки вимкнена. Зв'язатися з адміном.","All Comments":"Всі коментарі","Signing In":"Увійти в систему","Sign in again!":"Увійдіть знову!","Sign in to comment":"Увійдіть, щоб залишити коментар",Superflow:"Суперпотік","Sign in to comment on this page.":"Увійдіть, щоб залишити коментар на цій сторінці.","Join Community":"Приєднатися до спільноти","Open in Mobile":"Відкрити на мобільному","Exit Review Mode":"Вийти з режиму огляду","Sign in":"Увійти","Try Superflow using the toolbar below.":"Спробуйте Суперпотік, використовуючи панель інструментів нижче.","Get ready to drop your first comment!":"Приготуйтеся залишити свій перший коментар!","But before you do that, you definitely deserve a high five!":"Але перед тим, як ви це зробите, ви точно заслуговуєте на високу п'ятірку!",Done:"Готово","Sign in on the toolbar below and add":"Увійдіть в панель інструментів нижче і додайте","comments on the design flaws.":"коментарі про помилки в дизайні.","Click to add comments on this page.":"Натисніть, щоб додати коментарі на цій сторінці.",Ok:"Добре",Arrow:"Стрілка","Live Huddle":"Пряма група",Recording:"Запис","Open Comments":"Відкрити коментарі",Views:"Перегляди",Internal:"Внутрішній",External:"Зовнішній",All:"Все",Upgrade:"Оновити","You don't have access.":"У вас немає доступу.","Reach out to the admin of this project.":"Зверніться до адміністратора цього проекту.","Your plan has expired! Please upgrade.":"Термін дії вашого плану закінчився! Будь ласка, оновіть.","Your plan has expired!":"Термін дії вашого плану закінчився!","Please contact the admin.":"Будь ласка, зв'яжіться з адміністратором.",Share:"Поділитися","Add comments & recordings on this page.":"Додайте коментарі та записи на цій сторінці.","Learn more":"Дізнатися більше","View project":"Переглянути проект","Sign Out":"Вийти","You’re a SuperFlow installation wizard!":"Ви чарівник встановлення Суперпотоку!",Next:"Далі"});const lr=t=>{try{return t}catch(e){return t}};var cr=function(t,e,i,n){for(var o,s=arguments.length,r=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(s<3?o(r):s>3?o(e,i,r):o(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class dr extends Q{constructor(){super(),this._loadPlugin=!1,this.comments=[],this.addCommentMode=!1,this.showTourCommentTooltip=!1,this.allFeatureDisabled=!1,this.allFeatureRestricted=!1,this.guestMode=!1,this._expanded=!0,this.loading=!1,this._isPlanExpired=null,this.showOnboardingModal=!0,this.showLiveDemoModal=!1,this.showFigmaDemoModal=!1,this.showGuestModeSignInModal=!1,this.showGuestModeNameModal=!1,this.guestModeSignInBannerVisible=!1,this.guestUserNameInput="",this.guestUserModelOpened=!1,this.staging=true,this.copyLinkTooltip="Copy Link",this.invalidApiKey=!1,this._isUserGlobalContact=!1,this.showQrCode=!1,this.customLoginEnabledLocally=null,this.customLoginEnabled=null,this.exitReviewModeCalled=!1,this.onApiKeyChange=()=>{try{this.apiKey&&(null===window||void 0===window?void 0:window.onSuperflowLoad)&&"function"==typeof window.onSuperflowLoad&&window.onSuperflowLoad()}catch(t){console.warn("Error in onApiKeyChange: ",t),ir("Error in onApiKeyChange: ",t)}},this.checkCustomLoginEnabled=async()=>{var t;try{const e=await(t=>{const e={apiKey:t};return ri(Ys,"customLoginEnabled")(e)})(this.apiKey);this.customLoginEnabled=!!(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.customLoginEnabled),this.customLoginEnabled&&this.loginWithCustomUser()}catch(t){this.customLoginEnabled=!1,console.warn("Error in checkCustomLoginEnabled: ",t),ir("Error in checkCustomLoginEnabled: ",t)}},this.loginWithCustomUser=()=>{try{this.customLoginEnabled?(Us(ut),this.loadPlugin&&this.documentId&&this.identifySnippyly()):console.warn("Identify call not allowed.")}catch(t){console.warn("Error in loginWithCustomUser: ",t),ir("Error in loginWithCustomUser: ",t)}},this.addWindowClickEventListener=()=>{try{this.windowClickEventListener||(this.windowClickEventListener=()=>{this.menuOpenedId&&(this.menuOpenedId=void 0)},window.addEventListener("click",this.windowClickEventListener))}catch(t){console.warn("Error in addWindowClickEventListener: ",t),ir("Error in addWindowClickEventListener: ",t)}},this.removeWindowClickEventListener=()=>{try{window.removeEventListener("click",this.windowClickEventListener),this.windowClickEventListener=void 0}catch(t){console.warn("Error in removeWindowClickEventListener: ",t),ir("Error in removeWindowClickEventListener: ",t)}},this.setWindowEventListner=()=>{try{window.addEventListener("locationchange",(()=>{this.checkUrl()}))}catch(t){console.warn("Error in setWindowEventListner: ",t),ir("Error in setWindowEventListner: ",t)}},this.urlChangeListener=()=>{try{const t=history.pushState;history.pushState=function(){const e=t.apply(this,arguments);return window.dispatchEvent(new Event("pushstate")),window.dispatchEvent(new Event("locationchange")),e};const e=history.replaceState;history.replaceState=function(){const t=e.apply(this,arguments);return window.dispatchEvent(new Event("replacestate")),window.dispatchEvent(new Event("locationchange")),t},window.addEventListener("popstate",(()=>{window.dispatchEvent(new Event("locationchange"))}))}catch(t){console.warn("Error in urlChangeListener: ",t),ir("Error in urlChangeListener: ",t)}},this.checkUrl=()=>{try{const t=new URL(document.location),e=t.searchParams;if((null==e?void 0:e.has(gt))&&!Ps(gt)?this.showOnboardingModal=!0:this.showOnboardingModal=!1,null==e?void 0:e.has(wt))if(Ps(wt,!1,"sessionStorage")){this.showLiveDemoModal=!1;const t=new URL(document.location);t.searchParams.delete(wt),window.history.replaceState({},null===document||void 0===document?void 0:document.title,t.toString())}else this.showLiveDemoModal=!0;else this.showLiveDemoModal=!1;if(null==e?void 0:e.has(Ct))if(Ps(Ct,!1)){this.showFigmaDemoModal=!1;const t=new URL(document.location);t.searchParams.delete(Ct),window.history.replaceState({},null===document||void 0===document?void 0:document.title,t.toString())}else this.showFigmaDemoModal=!0;else this.showFigmaDemoModal=!1;if(e.has(ht)||e.has("snippyly_google_token")){if(e.has(ht)){const t=decodeURIComponent(e.get(ht)),i=Zs(t,Lt,_t),n=i&&JSON.parse(i);if(n){const t={};t.userId=n.uid,t.name=n.displayName,t.email=n.email,t.photoUrl=null==n?void 0:n.photoURL;const e=JSON.stringify(t),i=zs(e,Lt,_t);Hs(ut,i,!0),Us(bt),Us(pt)}}else if(e.has("snippyly_google_token")){const t=JSON.parse(atob(e.get("snippyly_google_token"))),i={};i.userId=t.uid,i.name=t.displayName,i.email=t.email,i.photoUrl=null==t?void 0:t.photoURL,Hs(dt,JSON.stringify(i),!0)}e.delete(ht),e.delete("snippyly_google_token"),window.history.replaceState({},document.title,t.href)}e.has(at)?(Hs(at,"true",!1),Us(lt),"true"!==e.get(at)&&(e.delete(at),e.append(at,"true"),window.history.replaceState({},document.title,t.href)),this.loadPluginUI()):e.has(lt)||Ps(at,!1)&&(e.append(at,"true"),window.history.replaceState({},document.title,t.href),this.loadPluginUI()),e.has(lt)?(Hs(lt,"true",!1),Us(at),"true"!==e.get(lt)&&(e.delete(lt),e.append(lt,"true"),window.history.replaceState({},document.title,t.href)),this.loadPluginUI()):e.has(at)||Ps(lt,!1)&&(e.append(lt,"true"),window.history.replaceState({},document.title,t.href),this.loadPluginUI()),this.setVersionInUrl()}catch(t){console.warn("Error in checkUrl: ",t),ir("Error in checkUrl: ",t)}},this.detectVersion=()=>{try{if(this.projectVersionKey){const t=new URL(document.location).searchParams;if(t.get(this.projectVersionKey))this.projectVersion=t.get(this.projectVersionKey);else if(window.snippylyInitialLoadUrl){const t=new URL(window.snippylyInitialLoadUrl).searchParams;t.get(this.projectVersionKey)&&(this.projectVersion=t.get(this.projectVersionKey))}this.projectVersion&&Hs(ft,this.projectVersion,!1,"sessionStorage")}else{const t=new URL(document.location).searchParams;(t.has(at)||t.has(lt))&&t.has(mt)&&(Hs(vt,mt,!1,"sessionStorage"),this.projectVersion=t.get(mt),this.projectVersion&&Hs(ft,this.projectVersion,!1,"sessionStorage"))}}catch(t){console.warn("Error in detectVersion: ",t),ir("Error in detectVersion: ",t)}},this.setVersionInUrl=()=>{try{const t=this.projectVersionKey||Ps(vt,!1,"sessionStorage"),e=this.projectVersion||Ps(ft,!1,"sessionStorage");if(t&&e){const i=new URL(document.location),n=i.searchParams;n.get(t)||(n.set(t,e),window.history.replaceState({},document.title,i.href))}}catch(t){console.warn("Error in setVersionInUrl: ",t),ir("Error in setVersionInUrl: ",t)}},this.loadPluginUI=()=>{try{if(!this.apiKey)return;if(this.loadPlugin)return this.generateLocation(),void this.setViewMode(this.viewMode);const t=Js();if(t&&!(null==t?void 0:t.isAnonymous)&&(this.loading=!0),this.loadPlugin=!0,!document.querySelector(St)){const t=document.createElement(St);null==t||t.addEventListener("onSignIn",(()=>{this.loginWithGoogle()})),null==t||t.addEventListener("onUpgrade",(()=>{this.onUpgradePlanClick()})),this.staging&&(t.addEventListener("onCommentAdd",(t=>{console.log("Comment added: ",null==t?void 0:t.detail)})),t.addEventListener("onCommentUpdate",(t=>{var e;console.log("Comment updated: ",t.detail),(null===(e=this.snippylyUser)||void 0===e?void 0:e.isGuest)&&(this.guestUserModelOpened||(this.showGuestModeSignInModal=!0,this.guestUserModelOpened=!0))}))),window.document.body.appendChild(t)}if(!document.querySelector(xt)){const t=document.createElement(xt);window.document.body.appendChild(t)}if(!document.querySelector(kt)){const t=document.createElement(kt);window.document.body.appendChild(t)}if(!document.querySelector(At)){const t=document.createElement(At);window.document.body.appendChild(t)}if(!document.querySelector($t)){const t=document.createElement($t);window.document.body.appendChild(t)}if(!document.querySelector(Mt)){const t=document.createElement(Mt);window.document.body.appendChild(t)}this.initializeSnippyly()}catch(t){this.loading=!1,console.warn("Error in loadPluginUI: ",t),ir("Error in loadPluginUI: ",t)}},this.initializeSnippyly=async()=>{var t,e,n,o,s,r,a,l,c,d,h,u,p;try{if(await i(this.apiKey,{options:{staging:this.staging,version:this.staging?"1.0.164":"latest",velt:!0}}),!window.Snippyly)return;if(this.autoTranslation&&(null===Snippyly||void 0===Snippyly?void 0:Snippyly.enableAutoTranslation)&&(null===Snippyly||void 0===Snippyly||Snippyly.enableAutoTranslation()),!document.querySelector(Et)){const t=document.createElement(Et);t.setAttribute(It,"true"),window.document.body.appendChild(t)}if(Snippyly){null===Snippyly||void 0===Snippyly||Snippyly.sf(!0);try{(null===window||void 0===window?void 0:window.onSnippylyLoad)&&(null===window||void 0===window||window.onSnippylyLoad(Snippyly))}catch(t){}document.body.style.setProperty("--velt-default-font-family","'Poppins', sans-serif"),(()=>{try{if(!document.getElementById("superflowFontLink1")){const t=document.createElement("link");t.rel="preconnect",t.href="https://fonts.googleapis.com",t.id="superflowFontLink1",document.head.appendChild(t)}if(!document.getElementById("superflowFontLink2")){const t=document.createElement("link");t.rel="preconnect",t.href="https://fonts.gstatic.com",t.crossOrigin="anonymous",t.id="superflowFontLink2",document.head.appendChild(t)}if(!document.getElementById("superflowFontLink3")){const t=document.createElement("link");t.rel="stylesheet",t.href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap",t.id="superflowFontLink3",document.head.appendChild(t)}}catch(t){console.warn("Error in loadPoppinsFont: ",t),ir("Error in loadPoppinsFont: ",t)}})()}if(Snippyly&&tr({sdkVersion:null===Snippyly||void 0===Snippyly?void 0:Snippyly.version,sdkType:"client"}),this.documentId=Bs((t=>{let e;return e=t.includes("http")?new URL(t):new URL("http://"+t),e.hostname.replace("www.","")})(window.location.origin))+"",this.projectId&&(this.documentId=this.projectId+""),await(null===Snippyly||void 0===Snippyly?void 0:Snippyly.setDocumentId(this.documentId+"")),this.generateLocation(),this.setLocation(),this.commentElement=null===Snippyly||void 0===Snippyly?void 0:Snippyly.getCommentElement(),this.contactElement=null===Snippyly||void 0===Snippyly?void 0:Snippyly.getContactElement(),this.rewriterElement=null===Snippyly||void 0===Snippyly?void 0:Snippyly.getRewriterElement(),this.presenceElement=null===Snippyly||void 0===Snippyly?void 0:Snippyly.getPresenceElement(),this.commentElement){this.commentElement.enableTextComments(!0),this.customLoginEnabledLocally||this.commentElement.enableSignInButton(!0),this.commentElement.enableAttachment(!0),(null===(t=this.commentElement)||void 0===t?void 0:t.showScreenSizeInfo)&&this.commentElement.showScreenSizeInfo(!0),(null===(e=this.commentElement)||void 0===e?void 0:e.showDeviceInfo)&&this.commentElement.showDeviceInfo(!0),this.commentElement.showCommentIndex(!0),this.commentElement.addCommentModeChange&&this.commentElement.addCommentModeChange().subscribe((t=>{this.addCommentMode=t})),(null===(n=this.commentElement)||void 0===n?void 0:n.enableOrphanComments)&&this.commentElement.enableOrphanComments(),(null===(o=this.commentElement)||void 0===o?void 0:o.enableAutoCategorize)&&this.commentElement.enableAutoCategorize(),(null===(s=this.commentElement)||void 0===s?void 0:s.enablePersistentCommentMode)&&this.commentElement.enablePersistentCommentMode(),(null===(r=this.commentElement)||void 0===r?void 0:r.enableGhostComments)&&this.commentElement.enableGhostComments();const i=null===window||void 0===window?void 0:window.SUPERFLOW_CUSTOM_STATUSES;i&&"object"==typeof i&&(null===(a=this.commentElement)||void 0===a?void 0:a.setCustomStatuses)&&this.commentElement.setCustomStatuses(i),(null===(l=this.commentElement)||void 0===l?void 0:l.enableMinimap)&&this.commentElement.enableMinimap(),(null===(c=this.commentElement)||void 0===c?void 0:c.setDStrategy)&&(null===(d=this.commentElement)||void 0===d||d.setDStrategy("dynamicId"))}this.selectionElement=Snippyly.getSelectionElement(),this.selectionElement&&this.selectionElement.enableLiveSelection(!0),this.rewriterElement&&(null===(h=this.rewriterElement)||void 0===h||h.enableRewriter()),this.presenceElement&&(null===(u=this.presenceElement)||void 0===u?void 0:u.enableFlockMode)&&(null===(p=this.presenceElement)||void 0===p||p.enableFlockMode(!0)),this.identifySnippyly()}catch(t){this.loading=!1,console.warn("Error in initializeSnippyly: ",t),ir("Error in initializeSnippyly: ",t)}},this.checkToEnableUpgradeButton=()=>{var t,e;try{this.isPlanExpired&&this.isUserGlobalContact?(null===(t=this.commentElement)||void 0===t?void 0:t.enableUpgradeButton)&&this.commentElement.enableUpgradeButton():(null===(e=this.commentElement)||void 0===e?void 0:e.disableUpgradeButton)&&this.commentElement.disableUpgradeButton()}catch(t){console.warn("Error in checkToEnableUpgradeButton: ",t),ir("Error in checkToEnableUpgradeButton: ",t)}},this.generateLocation=()=>{try{const t=new URL(document.location).searchParams,e=new URL(document.location);e.searchParams.delete(at),e.searchParams.delete(lt),e.searchParams.delete(ct),e.searchParams.delete("scommentId"),e.searchParams.delete(gt),e.searchParams.delete(wt);const i=t.get(mt)||this.projectVersion;e.search="";let n=(t=>{try{return t.replace(/#.*$/,"")}catch(e){return console.warn("Error in removeHashFromUrl: ",e),ir("Error in removeHashFromUrl: ",e),t}})(e.href);this.projectId&&(n=null==n?void 0:n.replace(window.location.origin,"")),this.location={url:n,version:i}}catch(t){console.warn("Error in generateLocation: ",t),ir("Error in generateLocation: ",t)}},this.setLocation=()=>{var t,e,i,n;try{if(window.Snippyly&&(null===Snippyly||void 0===Snippyly?void 0:Snippyly.setLocation)){if(this.previousLocation&&(null===(t=this.previousLocation)||void 0===t?void 0:t.url)===(null===(e=this.location)||void 0===e?void 0:e.url)&&(null===(i=this.previousLocation)||void 0===i?void 0:i.version)===(null===(n=this.location)||void 0===n?void 0:n.version))return;null===Snippyly||void 0===Snippyly||Snippyly.setLocation(JSON.parse(JSON.stringify(this.location))),this.previousLocation=JSON.parse(JSON.stringify(this.location))}}catch(t){console.warn("Error in setLocation: ",t),ir("Error in setLocation: ",t)}},this.identifySnippyly=async()=>{var t,e;let i="";try{this.invalidApiKey=!1;let e,n={name:"Anonymous User",email:"anonymous@snippyly.com",userId:"anonymous",isAnonymous:!0};e=this.customLoginEnabled&&this.providedUser?this.providedUser:Js(),(null==e?void 0:e.email)&&(n=e),n.isAnonymous?delete n.groupId:n.groupId=Snippyly.getDocumentId()+"",this.customLoginEnabledLocally||(null===(t=null==n?void 0:n.contacts)||void 0===t?void 0:t.length)&&(n.contacts=[]),(null==n?void 0:n.isAnonymous)||(this.loading=!0),i=null==n?void 0:n.email;const o=await Snippyly.identify(n);er(o),(null==n?void 0:n.isAnonymous)||(this.snippylyUser=JSON.parse(JSON.stringify(n))),Snippyly.getUserRole$().subscribe((t=>{var e;this.loading=!1,this.snippylyUserRole||"Admin"!==t||this.setViewMode("All"),this.snippylyUserRole=t,this.snippylyUserRole||this.setViewMode(null),null===(e=this.commentElement)||void 0===e||e.enablePriority()})),(null===Snippyly||void 0===Snippyly?void 0:Snippyly.getFeaturesAccessLevelIam$)&&Snippyly.getFeaturesAccessLevelIam$().subscribe((async t=>{var e,i,n,o;if(this.allFeatureDisabled=!!(null===(e=null==t?void 0:t.all)||void 0===e?void 0:e.disabled),this.allFeatureRestricted=!!(null===(i=null==t?void 0:t.all)||void 0===i?void 0:i.restricted),this.guestMode=!!(null===(n=null==t?void 0:t.all)||void 0===n?void 0:n.guestMode)||!0,this.guestMode&&!this.snippylyUser&&(null===(o=null===Snippyly||void 0===Snippyly?void 0:Snippyly.authService)||void 0===o?void 0:o.getUser())){const t=Ks();t&&(this.loading=!0,await Snippyly.identify(t),this.snippylyUser=JSON.parse(JSON.stringify(t)))}}),(t=>{this.loading=!1,console.warn("Error in getFeaturesAccessLevelIam$: ",t),ir("Error in getFeaturesAccessLevelIam$: ",t)})),(null===Snippyly||void 0===Snippyly?void 0:Snippyly.isPlanExpired$)&&(null===Snippyly||void 0===Snippyly||Snippyly.isPlanExpired$().subscribe((t=>{this.isPlanExpired=t}),(t=>{this.isPlanExpired=!1,console.warn("Error in isPlanExpired$: ",t),ir("Error in isPlanExpired$: ",t)}))),tr({clientUserId:null==n?void 0:n.userId}),this.getComments(),this.checkGlobalUserContact(),setTimeout((()=>{Ps(yt)||(this.showTourCommentTooltip=!0)}),2e3)}catch(t){if(this.loading=!1,this.signInError=!0,t&&"string"==typeof t&&(null===(e=null==t?void 0:t.toLowerCase())||void 0===e?void 0:e.includes("invalid"))){this.invalidApiKey=!0,this.projectId&&(async(t,e)=>{try{const i=ri(Ys,"checkDomainWhitelisted");await i({apiKey:t,projectId:e})}catch(t){console.warn("Error in checkDomainWhitelisted: ",t)}})(this.apiKey,this.projectId);if(new URL(document.location).searchParams.has(gt))this.isSigningInUserAdmin=!0;else if(Ps(bt))this.isSigningInUserAdmin="true"===Ps(bt,!0);else{const t=await(async(t,e,i)=>{try{const n=ri(Ys,"iam"),o=await n({apiKey:t,projectId:e,email:i});return null==o?void 0:o.data}catch(t){return console.warn("Error in iam: ",t),null}})(this.apiKey,this.projectId||"",i);this.isSigningInUserAdmin=!!(null==t?void 0:t.isAdmin),Hs(bt,this.isSigningInUserAdmin+"",!0)}}console.warn("Error in identifySnippyly: ",t),ir("Error in identifySnippyly: ",t)}},this.getComments=()=>{try{this.commentElement&&(this.commentSubscription&&this.commentSubscription.unsubscribe(),this.commentSubscription=this.commentElement.getAllCommentAnnotations(this.documentId).subscribe((t=>{this.comments=null==t?void 0:t.filter((t=>{var e;return["open","inProgress"].includes(null==t?void 0:t.status)||["default","ongoing"].includes(null===(e=null==t?void 0:t.status)||void 0===e?void 0:e.type)})),"All"!==this.viewMode&&(this.viewMode?this.comments=this.comments.filter((t=>{var e;return(null===(e=null==t?void 0:t.location)||void 0===e?void 0:e.view)===this.viewMode})):this.comments=this.comments.filter((t=>{var e;return!(null===(e=null==t?void 0:t.location)||void 0===e?void 0:e.view)})))})))}catch(t){console.warn("Error in getComments: ",t),ir("Error in getComments: ",t)}},this.checkGlobalUserContact=()=>{try{this.contactElement&&this.contactElement.isUserGlobalContact().subscribe((t=>{this.isUserGlobalContact=t}))}catch(t){console.warn("Error in checkGlobalUserContact: ",t),ir("Error in checkGlobalUserContact: ",t)}},this.toggleSnippylyPluginToolbar=()=>{try{this.expanded=!this.expanded}catch(t){console.warn("Error in toggleSnippylyPluginToolbar: ",t),ir("Error in toggleSnippylyPluginToolbar: ",t)}},this.loginWithGoogle=()=>{try{if(this.loading||this.customLoginEnabledLocally)return;window.open(this.signInUrl,"_self")}catch(t){console.warn("Error in loginWithGoogle: ",t),ir("Error in loginWithGoogle: ",t)}},this.getQRCode=async()=>{try{const t=window.location.href;if(t){const e=zs(t,Lt,_t),i=await fetch(`https://us-central1-snipply-sdk-staging.cloudfunctions.net/getQRCode?text=${encodeURIComponent(e)}`),n=await i.json();(null==n?void 0:n.qrcode)&&(this.qrCode=null==n?void 0:n.qrcode)}}catch(t){console.warn("Error in getQRCode: ",t),ir("Error in getQRCode: ",t)}},this.toggleQRCodeVisibility=async()=>{try{this.showQrCode=!this.showQrCode,this.showQrCode&&!this.qrCode&&await this.getQRCode()}catch(t){console.warn("Error in toggleQRCodeVisibility: ",t),ir("Error in toggleQRCodeVisibility: ",t)}},this.removeSnippyly=async()=>{try{this.exitReviewModeCalled=!0,Us(at),Us(lt),Us(ct),Us(vt,"sessionStorage"),Us(ft,"sessionStorage");const t=new URL(document.location),e=t.searchParams;e.delete(ct),e.delete(at),e.delete(lt),this.projectVersionKey&&e.delete(this.projectVersionKey),e.delete(mt),e.delete(gt),e.delete(wt),this.projectVersion=void 0,this.projectVersionKey=void 0,delete window.snippylyInitialLoadUrl,window.history.replaceState({},document.title,t.href),window.location.reload()}catch(t){console.warn("Error in removeSnippyly: ",t),ir("Error in removeSnippyly: ",t)}},this.signOutUser=async()=>{try{await Snippyly.signOutUser(),Us(dt),Us(ut),Us(bt),this.snippylyUser=void 0,window.open(this.signOutUrl,"_self")}catch(t){console.warn("Error in signOutUser: ",t),ir("Error in signOutUser: ",t)}},this.toggleMenu=(t,e)=>{try{t.stopPropagation(),this.menuOpenedId===e?this.menuOpenedId=void 0:this.menuOpenedId=e}catch(t){console.warn("Error in toggleMenu: ",t),ir("Error in toggleMenu: ",t)}},this.copyLink=()=>{try{navigator.clipboard.writeText(window.location.href),this.copyLinkTooltip="Link copied!",setTimeout((()=>{this.copyLinkTooltip="Copy Link"}),2e3)}catch(t){console.warn("Error in copyLink: ",t),ir("Error in copyLink: ",t)}},this.setViewMode=t=>{try{this.viewMode=t,t?this.location.view=t:delete this.location.view,this.setLocation(),this.getComments()}catch(t){console.warn("Error in setViewMode: ",t),ir("Error in setViewMode: ",t)}},this.goToAdminPortal=()=>{try{let t=`${Ft}`;if(Snippyly&&(null===Snippyly||void 0===Snippyly?void 0:Snippyly.getDocumentId)){const e=null===Snippyly||void 0===Snippyly?void 0:Snippyly.getDocumentId();e&&(t=`${Ft}/dashboard/project/comment/${this.apiKey}/${e}`)}window.open(t,"_blank")}catch(t){console.warn("Error in goToAdminPortal: ",t),ir("Error in goToAdminPortal: ",t)}},this.goToAdminPortalDashboard=()=>{try{let t=`${Ft}`;if(Snippyly&&(null===Snippyly||void 0===Snippyly?void 0:Snippyly.getDocumentId)){(null===Snippyly||void 0===Snippyly?void 0:Snippyly.getDocumentId())&&(t=`${Ft}/dashboard`)}window.open(t,"_blank")}catch(t){console.warn("Error in goToAdminPortalDashboard: ",t),ir("Error in goToAdminPortalDashboard: ",t)}},this.joinCommunity=()=>{try{window.open("https://join.slack.com/t/superflowusers/shared_invite/zt-1q3jzsddt-NEb~uu9RXscLfxOIDGQXJw","_blank")}catch(t){console.warn("Error in joinCommunity: ",t),ir("Error in joinCommunity: ",t)}},this.onboardingNextClick=()=>{try{this.showOnboardingModal=!1,Hs(gt,"true");const t=new URL(document.location);t.searchParams.delete(gt),window.history.replaceState({},document.title,t.href)}catch(t){console.warn("Error in onboardingNextClick: ",t),ir("Error in onboardingNextClick: ",t)}},this.onLiveDemoModalNextClick=()=>{try{this.showLiveDemoModal=!1,Hs(wt,"true",!1,"sessionStorage");const t=new URL(document.location);t.searchParams.delete(wt),window.history.replaceState({},document.title,t.href)}catch(t){console.warn("Error in onLiveDemoModalNextClick: ",t),ir("Error in onLiveDemoModalNextClick: ",t)}},this.onFigmaDemoModalNextClick=()=>{try{this.showFigmaDemoModal=!1;const t=new URL(document.location);t.searchParams.delete(Ct),window.history.replaceState({},document.title,t.href)}catch(t){console.warn("Error in onFigmaDemoModalNextClick: ",t),ir("Error in onFigmaDemoModalNextClick: ",t)}},this.onUpgradePlanClick=()=>{try{window.open("https://superflow-portal-staging-2023.web.app/dashboard/billing","_blank")}catch(t){console.warn("Error in onUpgradePlanClick: ",t),ir("Error in onUpgradePlanClick: ",t)}},this.onTourCommentTooltipClick=()=>{try{this.showTourCommentTooltip=!1,Hs(yt,"true")}catch(t){console.warn("Error in onTourCommentTooltipClick: ",t),ir("Error in onTourCommentTooltipClick: ",t)}},this.openGuestModeNameModel=t=>{try{t&&(t.stopPropagation(),t.preventDefault()),this.showGuestModeSignInModal=!1,this.showGuestModeNameModal=!0}catch(t){console.warn("Error in openGuestModeNameModel: ",t),ir("Error in openGuestModeNameModel: ",t)}},this.closeGuestModeNameModel=()=>{try{this.showGuestModeNameModal=!1}catch(t){console.warn("Error in closeGuestModeNameModel: ",t),ir("Error in closeGuestModeNameModel: ",t)}},this.showGuestModeSignInBanner=()=>{try{this.guestModeSignInBannerVisible=!0}catch(t){console.warn("Error in showGuestModeSignInBanner: ",t),ir("Error in showGuestModeSignInBanner: ",t)}},this.updateGuestUserName=async()=>{var t;try{if(!(null===(t=this.guestUserNameInput)||void 0===t?void 0:t.trim()))return;const e=Ks();e&&(e.name=this.guestUserNameInput,(t=>{try{const e=JSON.stringify(t),i=zs(e,Lt,_t);Hs(pt,i,!0)}catch(t){console.warn("Error in updateGuestUser: ",t),ir("Error in updateGuestUser: ",t)}})(e),await Snippyly.identify(e),this.snippylyUser=JSON.parse(JSON.stringify(e)),this.showGuestModeNameModal=!1),this.closeGuestModeNameModel()}catch(t){console.warn("Error in updateGuestUserName: ",t),ir("Error in updateGuestUserName: ",t)}},this.disableCommentMode=()=>{var t;try{(null===(t=this.commentElement)||void 0===t?void 0:t.disableCommentMode)&&this.commentElement.disableCommentMode()}catch(t){console.warn("Error in disableAddCommentMode: ",t),ir("Error in disableAddCommentMode: ",t)}},this.disableCommentModeButton=()=>{try{return this.addCommentMode?D`
|
|
2099
|
+
`;navigator.language.split("-")[0];const lr=new Map;lr.set("es",{Comment:"Comentario","Commenting is disabled. Contact admin.":"Los comentarios están deshabilitados. Póngase en contacto con el administrador.","Arrow feature is disabled. Contact admin.":"La función de flecha está desactivada. Póngase en contacto con el administrador.","All Comments":"Todos los comentarios","Signing In":"Iniciando sesión","Sign in again!":"¡Inicia sesión de nuevo!","Sign in to comment":"Inicia sesión para comentar",Superflow:"Superflujo","Sign in to comment on this page.":"Inicia sesión para comentar en esta página.","Join Community":"Únete a la comunidad","Open in Mobile":"Abrir en móvil","Exit Review Mode":"Salir del modo de revisión","Sign in":"Iniciar sesión","Try Superflow using the toolbar below.":"Prueba Superflujo usando la barra de herramientas de abajo.","Get ready to drop your first comment!":"¡Prepárate para dejar tu primer comentario!","But before you do that, you definitely deserve a high five!":"¡Pero antes de eso, definitivamente mereces un choca esos cinco!",Done:"Hecho","Sign in on the toolbar below and add":"Inicia sesión en la barra de herramientas de abajo y añade","comments on the design flaws.":"comentarios sobre los defectos de diseño.","Click to add comments on this page.":"Haz clic para añadir comentarios en esta página.",Ok:"Ok",Arrow:"Flecha","Live Huddle":"Encuentro en vivo",Recording:"Grabación","Open Comments":"Abrir comentarios",Views:"Vistas",Internal:"Interno",External:"Externo",All:"Todos",Upgrade:"Actualizar","You don't have access.":"No tienes acceso.","Reach out to the admin of this project.":"Contacta al administrador de este proyecto.","Your plan has expired! Please upgrade.":"¡Tu plan ha caducado! Por favor, actualiza.","Your plan has expired!":"¡Tu plan ha caducado!","Please contact the admin.":"Por favor, contacta al administrador.",Share:"Compartir","Add comments & recordings on this page.":"Añade comentarios y grabaciones en esta página.","Learn more":"Aprender más","View project":"Ver proyecto","Sign Out":"Cerrar sesión","You’re a SuperFlow installation wizard!":"¡Eres un mago de la instalación de Superflujo!",Next:"Siguiente"}),lr.set("fr",{Comment:"Commentaire","Commenting is disabled. Contact admin.":"Les commentaires sont désactivés. Contactez l'administrateur.","Arrow feature is disabled. Contact admin.":"La fonction flèche est désactivée. Contactez l'administrateur.","All Comments":"Tous les commentaires","Signing In":"Connexion en cours","Sign in again!":"Connectez-vous à nouveau!","Sign in to comment":"Connectez-vous pour commenter",Superflow:"Superflux","Sign in to comment on this page.":"Connectez-vous pour commenter sur cette page.","Join Community":"Rejoindre la communauté","Open in Mobile":"Ouvrir sur mobile","Exit Review Mode":"Quitter le mode de révision","Sign in":"Se connecter","Try Superflow using the toolbar below.":"Essayez Superflux en utilisant la barre d'outils ci-dessous.","Get ready to drop your first comment!":"Préparez-vous à laisser votre premier commentaire!","But before you do that, you definitely deserve a high five!":"Mais avant cela, vous méritez certainement un tope-là!",Done:"Terminé","Sign in on the toolbar below and add":"Connectez-vous sur la barre d'outils ci-dessous et ajoutez","comments on the design flaws.":"des commentaires sur les défauts de conception.","Click to add comments on this page.":"Cliquez pour ajouter des commentaires sur cette page.",Ok:"Ok",Arrow:"Flèche","Live Huddle":"Discussion en direct",Recording:"Enregistrement","Open Comments":"Ouvrir les commentaires",Views:"Vues",Internal:"Interne",External:"Externe",All:"Tous",Upgrade:"Mettre à jour","You don't have access.":"Vous n'avez pas accès.","Reach out to the admin of this project.":"Contactez l'administrateur de ce projet.","Your plan has expired! Please upgrade.":"Votre plan a expiré! Veuillez mettre à jour.","Your plan has expired!":"Votre plan a expiré!","Please contact the admin.":"Veuillez contacter l'administrateur.",Share:"Partager","Add comments & recordings on this page.":"Ajoutez des commentaires et des enregistrements sur cette page.","Learn more":"En savoir plus","View project":"Voir le projet","Sign Out":"Se déconnecter","You’re a SuperFlow installation wizard!":"Vous êtes un sorcier d'installation de Superflux!",Next:"Suivant"}),lr.set("hi",{Comment:"टिप्पणी","Commenting is disabled. Contact admin.":"टिप्पणी करना अक्षम है. व्यवस्थापक से संपर्क करें.","Arrow feature is disabled. Contact admin.":"तीर सुविधा अक्षम है. व्यवस्थापक से संपर्क करें.","All Comments":"सभी टिप्पणियाँ","Signing In":"साइन इन कर रहा है","Sign in again!":"फिर से साइन इन करें!","Sign in to comment":"टिप्पणी करने के लिए साइन इन करें",Superflow:"सुपरफ्लो","Sign in to comment on this page.":"इस पृष्ठ पर टिप्पणी करने के लिए साइन इन करें।","Join Community":"समुदाय में शामिल हों","Open in Mobile":"मोबाइल में खोलें","Exit Review Mode":"समीक्षा मोड से बाहर निकलें","Sign in":"साइन इन करें","Try Superflow using the toolbar below.":"टूलबार का उपयोग करके सुपरफ्लो का प्रयास करें।","Get ready to drop your first comment!":"अपनी पहली टिप्पणी डालने के लिए तैयार हो जाओ!","But before you do that, you definitely deserve a high five!":"लेकिन इससे पहले, आपको निश्चित रूप से एक उच्च पांच मिलता है!",Done:"किया हुआ","Sign in on the toolbar below and add":"टूलबार पर साइन इन करें और जोड़ें","comments on the design flaws.":"डिज़ाइन की खामियों पर टिप्पणियाँ।","Click to add comments on this page.":"इस पृष्ठ पर टिप्पणियाँ जोड़ने के लिए क्लिक करें।",Ok:"ठीक",Arrow:"तीर","Live Huddle":"लाइव हडल",Recording:"रेकॉर्डिंग","Open Comments":"टिप्पणियाँ खोलें",Views:"दृश्य",Internal:"आंतरिक",External:"बाहरी",All:"सब",Upgrade:"अपग्रेड","You don't have access.":"आपके पास पहुंच नहीं है।","Reach out to the admin of this project.":"इस परियोजना के व्यवस्थापक से संपर्क करें।","Your plan has expired! Please upgrade.":"आपकी योजना समाप्त हो गई है! कृपया अपग्रेड करें।","Your plan has expired!":"आपकी योजना समाप्त हो गई है!","Please contact the admin.":"कृपया व्यवस्थापक से संपर्क करें।",Share:"शेयर","Add comments & recordings on this page.":"इस पृष्ठ पर टिप्पणियाँ और रिकॉर्डिंग जोड़ें।","Learn more":"और अधिक जानें","View project":"परियोजना देखें","Sign Out":"साइन आउट","You’re a SuperFlow installation wizard!":"आप एक सुपरफ्लो स्थापना विज़ार्ड हैं!",Next:"आगामी"}),lr.set("it",{Comment:"Commento","Commenting is disabled. Contact admin.":"I commenti sono disabilitati. Contatta l'amministratore.","Arrow feature is disabled. Contact admin.":"La funzione freccia è disabilitata. Contatta l'amministratore.","All Comments":"Tutti i commenti","Signing In":"Accesso in corso","Sign in again!":"Accedi di nuovo!","Sign in to comment":"Accedi per commentare",Superflow:"Superflusso","Sign in to comment on this page.":"Accedi per commentare su questa pagina.","Join Community":"Unisciti alla comunità","Open in Mobile":"Apri su mobile","Exit Review Mode":"Esci dalla modalità di revisione","Sign in":"Accedi","Try Superflow using the toolbar below.":"Prova Superflusso utilizzando la barra degli strumenti qui sotto.","Get ready to drop your first comment!":"Preparati a lasciare il tuo primo commento!","But before you do that, you definitely deserve a high five!":"Ma prima di farlo, meriti sicuramente un cinque in alto!",Done:"Fatto","Sign in on the toolbar below and add":"Accedi alla barra degli strumenti qui sotto e aggiungi","comments on the design flaws.":"commenti sui difetti di progettazione.","Click to add comments on this page.":"Clicca per aggiungere commenti su questa pagina.",Ok:"Ok",Arrow:"Freccia","Live Huddle":"Riunione dal vivo",Recording:"Registrazione","Open Comments":"Apri commenti",Views:"Visualizzazioni",Internal:"Interno",External:"Esterno",All:"Tutti",Upgrade:"Aggiorna","You don't have access.":"Non hai accesso.","Reach out to the admin of this project.":"Contatta l'amministratore di questo progetto.","Your plan has expired! Please upgrade.":"Il tuo piano è scaduto! Si prega di aggiornare.","Your plan has expired!":"Il tuo piano è scaduto!","Please contact the admin.":"Si prega di contattare l'amministratore.",Share:"Condividi","Add comments & recordings on this page.":"Aggiungi commenti e registrazioni su questa pagina.","Learn more":"Scopri di più","View project":"Visualizza progetto","Sign Out":"Disconnetti","You’re a SuperFlow installation wizard!":"Sei un mago dell'installazione di Superflusso!",Next:"Avanti"}),lr.set("ru",{Comment:"Комментарий","Commenting is disabled. Contact admin.":"Комментирование отключено. Свяжитесь с админом.","Arrow feature is disabled. Contact admin.":"Функция стрелки отключена. Свяжитесь с администратором.","All Comments":"Все комментарии","Signing In":"Вход в систему","Sign in again!":"Войдите снова!","Sign in to comment":"Войдите, чтобы оставить комментарий",Superflow:"Суперпоток","Sign in to comment on this page.":"Войдите, чтобы оставить комментарий на этой странице.","Join Community":"Присоединиться к сообществу","Open in Mobile":"Открыть на мобильном","Exit Review Mode":"Выйти из режима обзора","Sign in":"Войти","Try Superflow using the toolbar below.":"Попробуйте Суперпоток, используя панель инструментов ниже.","Get ready to drop your first comment!":"Приготовьтесь оставить свой первый комментарий!","But before you do that, you definitely deserve a high five!":"Но перед этим вы определенно заслуживаете пять!",Done:"Сделано","Sign in on the toolbar below and add":"Войдите на панели инструментов ниже и добавьте","comments on the design flaws.":"комментарии об ошибках в дизайне.","Click to add comments on this page.":"Нажмите, чтобы добавить комментарии на этой странице.",Ok:"Ок",Arrow:"Стрелка","Live Huddle":"Прямой сбор",Recording:"Запись","Open Comments":"Открыть комментарии",Views:"Просмотры",Internal:"Внутренний",External:"Внешний",All:"Все",Upgrade:"Обновить","You don't have access.":"У вас нет доступа.","Reach out to the admin of this project.":"Обратитесь к администратору этого проекта.","Your plan has expired! Please upgrade.":"Ваш план истек! Пожалуйста, обновите.","Your plan has expired!":"Ваш план истек!","Please contact the admin.":"Пожалуйста, свяжитесь с администратором.",Share:"Поделиться","Add comments & recordings on this page.":"Добавьте комментарии и записи на этой странице.","Learn more":"Узнать больше","View project":"Посмотреть проект","Sign Out":"Выйти","You’re a SuperFlow installation wizard!":"Вы волшебник установки Суперпотока!",Next:"Далее"}),lr.set("uk",{Comment:"Коментар","Commenting is disabled. Contact admin.":"Коментування вимкнено. Зв'язатися з адміном.","Arrow feature is disabled. Contact admin.":"Функція стрілки вимкнена. Зв'язатися з адміном.","All Comments":"Всі коментарі","Signing In":"Увійти в систему","Sign in again!":"Увійдіть знову!","Sign in to comment":"Увійдіть, щоб залишити коментар",Superflow:"Суперпотік","Sign in to comment on this page.":"Увійдіть, щоб залишити коментар на цій сторінці.","Join Community":"Приєднатися до спільноти","Open in Mobile":"Відкрити на мобільному","Exit Review Mode":"Вийти з режиму огляду","Sign in":"Увійти","Try Superflow using the toolbar below.":"Спробуйте Суперпотік, використовуючи панель інструментів нижче.","Get ready to drop your first comment!":"Приготуйтеся залишити свій перший коментар!","But before you do that, you definitely deserve a high five!":"Але перед тим, як ви це зробите, ви точно заслуговуєте на високу п'ятірку!",Done:"Готово","Sign in on the toolbar below and add":"Увійдіть в панель інструментів нижче і додайте","comments on the design flaws.":"коментарі про помилки в дизайні.","Click to add comments on this page.":"Натисніть, щоб додати коментарі на цій сторінці.",Ok:"Добре",Arrow:"Стрілка","Live Huddle":"Пряма група",Recording:"Запис","Open Comments":"Відкрити коментарі",Views:"Перегляди",Internal:"Внутрішній",External:"Зовнішній",All:"Все",Upgrade:"Оновити","You don't have access.":"У вас немає доступу.","Reach out to the admin of this project.":"Зверніться до адміністратора цього проекту.","Your plan has expired! Please upgrade.":"Термін дії вашого плану закінчився! Будь ласка, оновіть.","Your plan has expired!":"Термін дії вашого плану закінчився!","Please contact the admin.":"Будь ласка, зв'яжіться з адміністратором.",Share:"Поділитися","Add comments & recordings on this page.":"Додайте коментарі та записи на цій сторінці.","Learn more":"Дізнатися більше","View project":"Переглянути проект","Sign Out":"Вийти","You’re a SuperFlow installation wizard!":"Ви чарівник встановлення Суперпотоку!",Next:"Далі"});const cr=t=>{try{return t}catch(e){return t}};var dr=function(t,e,i,n){for(var o,s=arguments.length,r=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(s<3?o(r):s>3?o(e,i,r):o(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class hr extends Q{constructor(){super(),this._loadPlugin=!1,this.comments=[],this.addCommentMode=!1,this.showTourCommentTooltip=!1,this.allFeatureDisabled=!1,this.allFeatureRestricted=!1,this.guestMode=!1,this._expanded=!0,this.loading=!1,this._isPlanExpired=null,this.showOnboardingModal=!0,this.showLiveDemoModal=!1,this.showFigmaDemoModal=!1,this.showGuestModeSignInModal=!1,this.showGuestModeNameModal=!1,this.guestModeSignInBannerVisible=!1,this.guestUserNameInput="",this.guestUserModelOpened=!1,this.staging=true,this.copyLinkTooltip="Copy Link",this.invalidApiKey=!1,this._isUserGlobalContact=!1,this.showQrCode=!1,this.customLoginEnabledLocally=null,this.customLoginEnabled=null,this.exitReviewModeCalled=!1,this.onApiKeyChange=()=>{try{this.apiKey&&(null===window||void 0===window?void 0:window.onSuperflowLoad)&&"function"==typeof window.onSuperflowLoad&&window.onSuperflowLoad()}catch(t){console.warn("Error in onApiKeyChange: ",t),ir("Error in onApiKeyChange: ",t)}},this.checkCustomLoginEnabled=async()=>{var t;try{const e=await(t=>{const e={apiKey:t};return ri(Ys,"customLoginEnabled")(e)})(this.apiKey);this.customLoginEnabled=!!(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.customLoginEnabled),this.customLoginEnabled&&this.loginWithCustomUser()}catch(t){this.customLoginEnabled=!1,console.warn("Error in checkCustomLoginEnabled: ",t),ir("Error in checkCustomLoginEnabled: ",t)}},this.loginWithCustomUser=()=>{try{this.customLoginEnabled?(Us(ut),this.loadPlugin&&this.documentId&&this.identifySnippyly()):console.warn("Identify call not allowed.")}catch(t){console.warn("Error in loginWithCustomUser: ",t),ir("Error in loginWithCustomUser: ",t)}},this.addWindowClickEventListener=()=>{try{this.windowClickEventListener||(this.windowClickEventListener=()=>{this.menuOpenedId&&(this.menuOpenedId=void 0)},window.addEventListener("click",this.windowClickEventListener))}catch(t){console.warn("Error in addWindowClickEventListener: ",t),ir("Error in addWindowClickEventListener: ",t)}},this.removeWindowClickEventListener=()=>{try{window.removeEventListener("click",this.windowClickEventListener),this.windowClickEventListener=void 0}catch(t){console.warn("Error in removeWindowClickEventListener: ",t),ir("Error in removeWindowClickEventListener: ",t)}},this.setWindowEventListner=()=>{try{window.addEventListener("locationchange",(()=>{this.checkUrl()}))}catch(t){console.warn("Error in setWindowEventListner: ",t),ir("Error in setWindowEventListner: ",t)}},this.urlChangeListener=()=>{try{const t=history.pushState;history.pushState=function(){const e=t.apply(this,arguments);return window.dispatchEvent(new Event("pushstate")),window.dispatchEvent(new Event("locationchange")),e};const e=history.replaceState;history.replaceState=function(){const t=e.apply(this,arguments);return window.dispatchEvent(new Event("replacestate")),window.dispatchEvent(new Event("locationchange")),t},window.addEventListener("popstate",(()=>{window.dispatchEvent(new Event("locationchange"))}))}catch(t){console.warn("Error in urlChangeListener: ",t),ir("Error in urlChangeListener: ",t)}},this.checkUrl=()=>{try{const t=new URL(document.location),e=t.searchParams;if((null==e?void 0:e.has(gt))&&!Ps(gt)?this.showOnboardingModal=!0:this.showOnboardingModal=!1,null==e?void 0:e.has(wt))if(Ps(wt,!1,"sessionStorage")){this.showLiveDemoModal=!1;const t=new URL(document.location);t.searchParams.delete(wt),window.history.replaceState({},null===document||void 0===document?void 0:document.title,t.toString())}else this.showLiveDemoModal=!0;else this.showLiveDemoModal=!1;if(null==e?void 0:e.has(Ct))if(Ps(Ct,!1)){this.showFigmaDemoModal=!1;const t=new URL(document.location);t.searchParams.delete(Ct),window.history.replaceState({},null===document||void 0===document?void 0:document.title,t.toString())}else this.showFigmaDemoModal=!0;else this.showFigmaDemoModal=!1;if(e.has(ht)||e.has("snippyly_google_token")){if(e.has(ht)){const t=decodeURIComponent(e.get(ht)),i=Zs(t,Lt,_t),n=i&&JSON.parse(i);if(n){const t={};t.userId=n.uid,t.name=n.displayName,t.email=n.email,t.photoUrl=null==n?void 0:n.photoURL;const e=JSON.stringify(t),i=zs(e,Lt,_t);Hs(ut,i,!0),Us(bt),Us(pt)}}else if(e.has("snippyly_google_token")){const t=JSON.parse(atob(e.get("snippyly_google_token"))),i={};i.userId=t.uid,i.name=t.displayName,i.email=t.email,i.photoUrl=null==t?void 0:t.photoURL,Hs(dt,JSON.stringify(i),!0)}e.delete(ht),e.delete("snippyly_google_token"),window.history.replaceState({},document.title,t.href)}e.has(at)?(Hs(at,"true",!1),Us(lt),"true"!==e.get(at)&&(e.delete(at),e.append(at,"true"),window.history.replaceState({},document.title,t.href)),this.loadPluginUI()):e.has(lt)||Ps(at,!1)&&(e.append(at,"true"),window.history.replaceState({},document.title,t.href),this.loadPluginUI()),e.has(lt)?(Hs(lt,"true",!1),Us(at),"true"!==e.get(lt)&&(e.delete(lt),e.append(lt,"true"),window.history.replaceState({},document.title,t.href)),this.loadPluginUI()):e.has(at)||Ps(lt,!1)&&(e.append(lt,"true"),window.history.replaceState({},document.title,t.href),this.loadPluginUI()),this.setVersionInUrl()}catch(t){console.warn("Error in checkUrl: ",t),ir("Error in checkUrl: ",t)}},this.detectVersion=()=>{try{if(this.projectVersionKey){const t=new URL(document.location).searchParams;if(t.get(this.projectVersionKey))this.projectVersion=t.get(this.projectVersionKey);else if(window.snippylyInitialLoadUrl){const t=new URL(window.snippylyInitialLoadUrl).searchParams;t.get(this.projectVersionKey)&&(this.projectVersion=t.get(this.projectVersionKey))}this.projectVersion&&Hs(ft,this.projectVersion,!1,"sessionStorage")}else{const t=new URL(document.location).searchParams;(t.has(at)||t.has(lt))&&t.has(mt)&&(Hs(vt,mt,!1,"sessionStorage"),this.projectVersion=t.get(mt),this.projectVersion&&Hs(ft,this.projectVersion,!1,"sessionStorage"))}}catch(t){console.warn("Error in detectVersion: ",t),ir("Error in detectVersion: ",t)}},this.setVersionInUrl=()=>{try{const t=this.projectVersionKey||Ps(vt,!1,"sessionStorage"),e=this.projectVersion||Ps(ft,!1,"sessionStorage");if(t&&e){const i=new URL(document.location),n=i.searchParams;n.get(t)||(n.set(t,e),window.history.replaceState({},document.title,i.href))}}catch(t){console.warn("Error in setVersionInUrl: ",t),ir("Error in setVersionInUrl: ",t)}},this.loadPluginUI=()=>{try{if(!this.apiKey)return;if(this.loadPlugin)return this.generateLocation(),void this.setViewMode(this.viewMode);const t=Js();if(t&&!(null==t?void 0:t.isAnonymous)&&(this.loading=!0),this.loadPlugin=!0,!document.querySelector(St)){const t=document.createElement(St);null==t||t.addEventListener("onSignIn",(()=>{this.loginWithGoogle()})),null==t||t.addEventListener("onUpgrade",(()=>{this.onUpgradePlanClick()})),this.staging&&(t.addEventListener("onCommentAdd",(t=>{console.log("Comment added: ",null==t?void 0:t.detail)})),t.addEventListener("onCommentUpdate",(t=>{var e;console.log("Comment updated: ",t.detail),(null===(e=this.snippylyUser)||void 0===e?void 0:e.isGuest)&&(this.guestUserModelOpened||(this.showGuestModeSignInModal=!0,this.guestUserModelOpened=!0))}))),window.document.body.appendChild(t)}if(!document.querySelector(xt)){const t=document.createElement(xt);window.document.body.appendChild(t)}if(!document.querySelector(kt)){const t=document.createElement(kt);window.document.body.appendChild(t)}if(!document.querySelector(At)){const t=document.createElement(At);window.document.body.appendChild(t)}if(!document.querySelector($t)){const t=document.createElement($t);window.document.body.appendChild(t)}if(!document.querySelector(Mt)){const t=document.createElement(Mt);window.document.body.appendChild(t)}this.initializeSnippyly()}catch(t){this.loading=!1,console.warn("Error in loadPluginUI: ",t),ir("Error in loadPluginUI: ",t)}},this.initializeSnippyly=async()=>{var t,e,n,o,s,r,a,l,c,d,h,u,p;try{if(await i(this.apiKey,{options:{staging:this.staging,version:this.staging?"1.0.164":"latest",velt:!0}}),!window.Snippyly)return;if(this.autoTranslation&&(null===Snippyly||void 0===Snippyly?void 0:Snippyly.enableAutoTranslation)&&(null===Snippyly||void 0===Snippyly||Snippyly.enableAutoTranslation()),!document.querySelector(Et)){const t=document.createElement(Et);t.setAttribute(It,"true"),window.document.body.appendChild(t)}if(Snippyly){null===Snippyly||void 0===Snippyly||Snippyly.sf(!0);try{(null===window||void 0===window?void 0:window.onSnippylyLoad)&&(null===window||void 0===window||window.onSnippylyLoad(Snippyly))}catch(t){}document.body.style.setProperty("--velt-default-font-family","'Poppins', sans-serif"),(()=>{try{if(!document.getElementById("superflowFontLink1")){const t=document.createElement("link");t.rel="preconnect",t.href="https://fonts.googleapis.com",t.id="superflowFontLink1",document.head.appendChild(t)}if(!document.getElementById("superflowFontLink2")){const t=document.createElement("link");t.rel="preconnect",t.href="https://fonts.gstatic.com",t.crossOrigin="anonymous",t.id="superflowFontLink2",document.head.appendChild(t)}if(!document.getElementById("superflowFontLink3")){const t=document.createElement("link");t.rel="stylesheet",t.href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap",t.id="superflowFontLink3",document.head.appendChild(t)}}catch(t){console.warn("Error in loadPoppinsFont: ",t),ir("Error in loadPoppinsFont: ",t)}})()}if(Snippyly&&tr({sdkVersion:null===Snippyly||void 0===Snippyly?void 0:Snippyly.version,sdkType:"client"}),this.documentId=Bs((t=>{let e;return e=t.includes("http")?new URL(t):new URL("http://"+t),e.hostname.replace("www.","")})(window.location.origin))+"",this.projectId&&(this.documentId=this.projectId+""),await(null===Snippyly||void 0===Snippyly?void 0:Snippyly.setDocumentId(this.documentId+"")),this.generateLocation(),this.setLocation(),this.commentElement=null===Snippyly||void 0===Snippyly?void 0:Snippyly.getCommentElement(),this.contactElement=null===Snippyly||void 0===Snippyly?void 0:Snippyly.getContactElement(),this.rewriterElement=null===Snippyly||void 0===Snippyly?void 0:Snippyly.getRewriterElement(),this.presenceElement=null===Snippyly||void 0===Snippyly?void 0:Snippyly.getPresenceElement(),this.commentElement){this.commentElement.enableTextComments(!0),this.customLoginEnabledLocally||this.commentElement.enableSignInButton(!0),this.commentElement.enableAttachment(!0),(null===(t=this.commentElement)||void 0===t?void 0:t.showScreenSizeInfo)&&this.commentElement.showScreenSizeInfo(!0),(null===(e=this.commentElement)||void 0===e?void 0:e.showDeviceInfo)&&this.commentElement.showDeviceInfo(!0),this.commentElement.showCommentIndex(!0),this.commentElement.addCommentModeChange&&this.commentElement.addCommentModeChange().subscribe((t=>{this.addCommentMode=t})),(null===(n=this.commentElement)||void 0===n?void 0:n.enableOrphanComments)&&this.commentElement.enableOrphanComments(),(null===(o=this.commentElement)||void 0===o?void 0:o.enableAutoCategorize)&&this.commentElement.enableAutoCategorize(),(null===(s=this.commentElement)||void 0===s?void 0:s.enablePersistentCommentMode)&&this.commentElement.enablePersistentCommentMode(),(null===(r=this.commentElement)||void 0===r?void 0:r.enableGhostComments)&&this.commentElement.enableGhostComments();const i=null===window||void 0===window?void 0:window.SUPERFLOW_CUSTOM_STATUSES;i&&"object"==typeof i&&(null===(a=this.commentElement)||void 0===a?void 0:a.setCustomStatuses)&&this.commentElement.setCustomStatuses(i),(null===(l=this.commentElement)||void 0===l?void 0:l.enableMinimap)&&this.commentElement.enableMinimap(),(null===(c=this.commentElement)||void 0===c?void 0:c.setDStrategy)&&(null===(d=this.commentElement)||void 0===d||d.setDStrategy("dynamicId"))}this.selectionElement=Snippyly.getSelectionElement(),this.selectionElement&&this.selectionElement.enableLiveSelection(!0),this.rewriterElement&&(null===(h=this.rewriterElement)||void 0===h||h.enableRewriter()),this.presenceElement&&(null===(u=this.presenceElement)||void 0===u?void 0:u.enableFlockMode)&&(null===(p=this.presenceElement)||void 0===p||p.enableFlockMode(!0)),this.identifySnippyly()}catch(t){this.loading=!1,console.warn("Error in initializeSnippyly: ",t),ir("Error in initializeSnippyly: ",t)}},this.checkToEnableUpgradeButton=()=>{var t,e;try{this.isPlanExpired&&this.isUserGlobalContact?(null===(t=this.commentElement)||void 0===t?void 0:t.enableUpgradeButton)&&this.commentElement.enableUpgradeButton():(null===(e=this.commentElement)||void 0===e?void 0:e.disableUpgradeButton)&&this.commentElement.disableUpgradeButton()}catch(t){console.warn("Error in checkToEnableUpgradeButton: ",t),ir("Error in checkToEnableUpgradeButton: ",t)}},this.generateLocation=()=>{try{const t=new URL(document.location).searchParams,e=new URL(document.location);e.searchParams.delete(at),e.searchParams.delete(lt),e.searchParams.delete(ct),e.searchParams.delete("scommentId"),e.searchParams.delete(gt),e.searchParams.delete(wt);const i=t.get(mt)||this.projectVersion;e.search="";let n=(t=>{try{return t.replace(/#.*$/,"")}catch(e){return console.warn("Error in removeHashFromUrl: ",e),ir("Error in removeHashFromUrl: ",e),t}})(e.href);this.projectId&&(n=null==n?void 0:n.replace(window.location.origin,"")),this.location={url:n,version:i}}catch(t){console.warn("Error in generateLocation: ",t),ir("Error in generateLocation: ",t)}},this.setLocation=()=>{var t,e,i,n;try{if(window.Snippyly&&(null===Snippyly||void 0===Snippyly?void 0:Snippyly.setLocation)){if(this.previousLocation&&(null===(t=this.previousLocation)||void 0===t?void 0:t.url)===(null===(e=this.location)||void 0===e?void 0:e.url)&&(null===(i=this.previousLocation)||void 0===i?void 0:i.version)===(null===(n=this.location)||void 0===n?void 0:n.version))return;null===Snippyly||void 0===Snippyly||Snippyly.setLocation(JSON.parse(JSON.stringify(this.location))),this.previousLocation=JSON.parse(JSON.stringify(this.location))}}catch(t){console.warn("Error in setLocation: ",t),ir("Error in setLocation: ",t)}},this.identifySnippyly=async()=>{var t,e;let i="";try{this.invalidApiKey=!1;let e,n={name:"Anonymous User",email:"anonymous@snippyly.com",userId:"anonymous",isAnonymous:!0};if(e=this.customLoginEnabled&&this.providedUser?this.providedUser:Js(),(null==e?void 0:e.email)&&(n=e),n.isAnonymous?delete n.groupId:n.groupId=Snippyly.getDocumentId()+"",this.customLoginEnabledLocally||(null===(t=null==n?void 0:n.contacts)||void 0===t?void 0:t.length)&&(n.contacts=[]),i=null==n?void 0:n.email,(null==n?void 0:n.isAnonymous)&&this.projectId){const t=await sr(this.apiKey,this.projectId);if(this.guestMode=!!(null==t?void 0:t.guestMode),this.guestMode){const t=Ks();t&&(n=JSON.parse(JSON.stringify(t)))}}(null==n?void 0:n.isAnonymous)||(this.loading=!0);const o=await Snippyly.identify(n);er(o),(null==n?void 0:n.isAnonymous)||(this.snippylyUser=JSON.parse(JSON.stringify(n))),Snippyly.getUserRole$().subscribe((t=>{var e;this.loading=!1,this.snippylyUserRole||"Admin"!==t||this.setViewMode("All"),this.snippylyUserRole=t,this.snippylyUserRole||this.setViewMode(null),null===(e=this.commentElement)||void 0===e||e.enablePriority()})),(null===Snippyly||void 0===Snippyly?void 0:Snippyly.getFeaturesAccessLevelIam$)&&Snippyly.getFeaturesAccessLevelIam$().subscribe((async t=>{var e,i;this.allFeatureDisabled=!!(null===(e=null==t?void 0:t.all)||void 0===e?void 0:e.disabled),this.allFeatureRestricted=!!(null===(i=null==t?void 0:t.all)||void 0===i?void 0:i.restricted)}),(t=>{this.loading=!1,console.warn("Error in getFeaturesAccessLevelIam$: ",t),ir("Error in getFeaturesAccessLevelIam$: ",t)})),(null===Snippyly||void 0===Snippyly?void 0:Snippyly.isPlanExpired$)&&(null===Snippyly||void 0===Snippyly||Snippyly.isPlanExpired$().subscribe((t=>{this.isPlanExpired=t}),(t=>{this.isPlanExpired=!1,console.warn("Error in isPlanExpired$: ",t),ir("Error in isPlanExpired$: ",t)}))),tr({clientUserId:null==n?void 0:n.userId}),this.getComments(),this.checkGlobalUserContact(),setTimeout((()=>{Ps(yt)||(this.showTourCommentTooltip=!0)}),2e3)}catch(t){if(this.loading=!1,this.signInError=!0,t&&"string"==typeof t&&(null===(e=null==t?void 0:t.toLowerCase())||void 0===e?void 0:e.includes("invalid"))){this.invalidApiKey=!0,this.projectId&&sr(this.apiKey,this.projectId);if(new URL(document.location).searchParams.has(gt))this.isSigningInUserAdmin=!0;else if(Ps(bt))this.isSigningInUserAdmin="true"===Ps(bt,!0);else{const t=await(async(t,e,i)=>{try{const n=ri(Ys,"iam"),o=await n({apiKey:t,projectId:e,email:i});return null==o?void 0:o.data}catch(t){return console.warn("Error in iam: ",t),null}})(this.apiKey,this.projectId||"",i);this.isSigningInUserAdmin=!!(null==t?void 0:t.isAdmin),Hs(bt,this.isSigningInUserAdmin+"",!0)}}console.warn("Error in identifySnippyly: ",t),ir("Error in identifySnippyly: ",t)}},this.getComments=()=>{try{this.commentElement&&(this.commentSubscription&&this.commentSubscription.unsubscribe(),this.commentSubscription=this.commentElement.getAllCommentAnnotations(this.documentId).subscribe((t=>{this.comments=null==t?void 0:t.filter((t=>{var e;return["open","inProgress"].includes(null==t?void 0:t.status)||["default","ongoing"].includes(null===(e=null==t?void 0:t.status)||void 0===e?void 0:e.type)})),"All"!==this.viewMode&&(this.viewMode?this.comments=this.comments.filter((t=>{var e;return(null===(e=null==t?void 0:t.location)||void 0===e?void 0:e.view)===this.viewMode})):this.comments=this.comments.filter((t=>{var e;return!(null===(e=null==t?void 0:t.location)||void 0===e?void 0:e.view)})))})))}catch(t){console.warn("Error in getComments: ",t),ir("Error in getComments: ",t)}},this.checkGlobalUserContact=()=>{try{this.contactElement&&this.contactElement.isUserGlobalContact().subscribe((t=>{this.isUserGlobalContact=t}))}catch(t){console.warn("Error in checkGlobalUserContact: ",t),ir("Error in checkGlobalUserContact: ",t)}},this.toggleSnippylyPluginToolbar=()=>{try{this.expanded=!this.expanded}catch(t){console.warn("Error in toggleSnippylyPluginToolbar: ",t),ir("Error in toggleSnippylyPluginToolbar: ",t)}},this.loginWithGoogle=()=>{try{if(this.loading||this.customLoginEnabledLocally)return;window.open(this.signInUrl,"_self")}catch(t){console.warn("Error in loginWithGoogle: ",t),ir("Error in loginWithGoogle: ",t)}},this.getQRCode=async()=>{try{const t=window.location.href;if(t){const e=zs(t,Lt,_t),i=await fetch(`https://us-central1-snipply-sdk-staging.cloudfunctions.net/getQRCode?text=${encodeURIComponent(e)}`),n=await i.json();(null==n?void 0:n.qrcode)&&(this.qrCode=null==n?void 0:n.qrcode)}}catch(t){console.warn("Error in getQRCode: ",t),ir("Error in getQRCode: ",t)}},this.toggleQRCodeVisibility=async()=>{try{this.showQrCode=!this.showQrCode,this.showQrCode&&!this.qrCode&&await this.getQRCode()}catch(t){console.warn("Error in toggleQRCodeVisibility: ",t),ir("Error in toggleQRCodeVisibility: ",t)}},this.removeSnippyly=async()=>{try{this.exitReviewModeCalled=!0,Us(at),Us(lt),Us(ct),Us(vt,"sessionStorage"),Us(ft,"sessionStorage");const t=new URL(document.location),e=t.searchParams;e.delete(ct),e.delete(at),e.delete(lt),this.projectVersionKey&&e.delete(this.projectVersionKey),e.delete(mt),e.delete(gt),e.delete(wt),this.projectVersion=void 0,this.projectVersionKey=void 0,delete window.snippylyInitialLoadUrl,window.history.replaceState({},document.title,t.href),window.location.reload()}catch(t){console.warn("Error in removeSnippyly: ",t),ir("Error in removeSnippyly: ",t)}},this.signOutUser=async()=>{try{await Snippyly.signOutUser(),Us(dt),Us(ut),Us(bt),this.snippylyUser=void 0,window.open(this.signOutUrl,"_self")}catch(t){console.warn("Error in signOutUser: ",t),ir("Error in signOutUser: ",t)}},this.toggleMenu=(t,e)=>{try{t.stopPropagation(),this.menuOpenedId===e?this.menuOpenedId=void 0:this.menuOpenedId=e}catch(t){console.warn("Error in toggleMenu: ",t),ir("Error in toggleMenu: ",t)}},this.copyLink=()=>{try{navigator.clipboard.writeText(window.location.href),this.copyLinkTooltip="Link copied!",setTimeout((()=>{this.copyLinkTooltip="Copy Link"}),2e3)}catch(t){console.warn("Error in copyLink: ",t),ir("Error in copyLink: ",t)}},this.setViewMode=t=>{try{this.viewMode=t,t?this.location.view=t:delete this.location.view,this.setLocation(),this.getComments()}catch(t){console.warn("Error in setViewMode: ",t),ir("Error in setViewMode: ",t)}},this.goToAdminPortal=()=>{try{let t=`${Ft}`;if(Snippyly&&(null===Snippyly||void 0===Snippyly?void 0:Snippyly.getDocumentId)){const e=null===Snippyly||void 0===Snippyly?void 0:Snippyly.getDocumentId();e&&(t=`${Ft}/dashboard/project/comment/${this.apiKey}/${e}`)}window.open(t,"_blank")}catch(t){console.warn("Error in goToAdminPortal: ",t),ir("Error in goToAdminPortal: ",t)}},this.goToAdminPortalDashboard=()=>{try{let t=`${Ft}`;if(Snippyly&&(null===Snippyly||void 0===Snippyly?void 0:Snippyly.getDocumentId)){(null===Snippyly||void 0===Snippyly?void 0:Snippyly.getDocumentId())&&(t=`${Ft}/dashboard`)}window.open(t,"_blank")}catch(t){console.warn("Error in goToAdminPortalDashboard: ",t),ir("Error in goToAdminPortalDashboard: ",t)}},this.joinCommunity=()=>{try{window.open("https://join.slack.com/t/superflowusers/shared_invite/zt-1q3jzsddt-NEb~uu9RXscLfxOIDGQXJw","_blank")}catch(t){console.warn("Error in joinCommunity: ",t),ir("Error in joinCommunity: ",t)}},this.onboardingNextClick=()=>{try{this.showOnboardingModal=!1,Hs(gt,"true");const t=new URL(document.location);t.searchParams.delete(gt),window.history.replaceState({},document.title,t.href)}catch(t){console.warn("Error in onboardingNextClick: ",t),ir("Error in onboardingNextClick: ",t)}},this.onLiveDemoModalNextClick=()=>{try{this.showLiveDemoModal=!1,Hs(wt,"true",!1,"sessionStorage");const t=new URL(document.location);t.searchParams.delete(wt),window.history.replaceState({},document.title,t.href)}catch(t){console.warn("Error in onLiveDemoModalNextClick: ",t),ir("Error in onLiveDemoModalNextClick: ",t)}},this.onFigmaDemoModalNextClick=()=>{try{this.showFigmaDemoModal=!1;const t=new URL(document.location);t.searchParams.delete(Ct),window.history.replaceState({},document.title,t.href)}catch(t){console.warn("Error in onFigmaDemoModalNextClick: ",t),ir("Error in onFigmaDemoModalNextClick: ",t)}},this.onUpgradePlanClick=()=>{try{window.open("https://superflow-portal-staging-2023.web.app/dashboard/billing","_blank")}catch(t){console.warn("Error in onUpgradePlanClick: ",t),ir("Error in onUpgradePlanClick: ",t)}},this.onTourCommentTooltipClick=()=>{try{this.showTourCommentTooltip=!1,Hs(yt,"true")}catch(t){console.warn("Error in onTourCommentTooltipClick: ",t),ir("Error in onTourCommentTooltipClick: ",t)}},this.openGuestModeNameModel=t=>{try{t&&(t.stopPropagation(),t.preventDefault()),this.showGuestModeSignInModal=!1,this.showGuestModeNameModal=!0}catch(t){console.warn("Error in openGuestModeNameModel: ",t),ir("Error in openGuestModeNameModel: ",t)}},this.closeGuestModeNameModel=()=>{try{this.showGuestModeNameModal=!1}catch(t){console.warn("Error in closeGuestModeNameModel: ",t),ir("Error in closeGuestModeNameModel: ",t)}},this.showGuestModeSignInBanner=()=>{try{this.guestModeSignInBannerVisible=!0}catch(t){console.warn("Error in showGuestModeSignInBanner: ",t),ir("Error in showGuestModeSignInBanner: ",t)}},this.updateGuestUserName=async()=>{var t;try{if(!(null===(t=this.guestUserNameInput)||void 0===t?void 0:t.trim()))return;const e=Ks();e&&(e.name=this.guestUserNameInput,(t=>{try{const e=JSON.stringify(t),i=zs(e,Lt,_t);Hs(pt,i,!0)}catch(t){console.warn("Error in updateGuestUser: ",t),ir("Error in updateGuestUser: ",t)}})(e),await Snippyly.identify(e),this.snippylyUser=JSON.parse(JSON.stringify(e)),this.showGuestModeNameModal=!1),this.closeGuestModeNameModel()}catch(t){console.warn("Error in updateGuestUserName: ",t),ir("Error in updateGuestUserName: ",t)}},this.disableCommentMode=()=>{var t;try{(null===(t=this.commentElement)||void 0===t?void 0:t.disableCommentMode)&&this.commentElement.disableCommentMode()}catch(t){console.warn("Error in disableAddCommentMode: ",t),ir("Error in disableAddCommentMode: ",t)}},this.disableCommentModeButton=()=>{try{return this.addCommentMode?D`
|
|
2100
2100
|
<div class="disable-add-comment-button" @click=${()=>this.disableCommentMode()}>
|
|
2101
2101
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2102
2102
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.52861 3.52858C3.78896 3.26823 4.21107 3.26823 4.47141 3.52858L8.00001 7.05717L11.5286 3.52858C11.789 3.26823 12.2111 3.26823 12.4714 3.52858C12.7318 3.78892 12.7318 4.21103 12.4714 4.47138L8.94282 7.99998L12.4714 11.5286C12.7318 11.7889 12.7318 12.211 12.4714 12.4714C12.2111 12.7317 11.789 12.7317 11.5286 12.4714L8.00001 8.94279L4.47141 12.4714C4.21107 12.7317 3.78896 12.7317 3.52861 12.4714C3.26826 12.211 3.26826 11.7889 3.52861 11.5286L7.0572 7.99998L3.52861 4.47138C3.26826 4.21103 3.26826 3.78892 3.52861 3.52858Z" fill="#FAFBFF"/>
|
|
2103
2103
|
</svg>
|
|
2104
2104
|
</div>
|
|
2105
|
-
`:D``}catch(t){return console.warn("Error in disableAddCommentModeButton: ",t),ir("Error in disableAddCommentModeButton: ",t),D``}},this.addStyles=()=>{var t,e;try{const i=document.createElement("style");i.textContent=
|
|
2105
|
+
`:D``}catch(t){return console.warn("Error in disableAddCommentModeButton: ",t),ir("Error in disableAddCommentModeButton: ",t),D``}},this.addStyles=()=>{var t,e;try{const i=document.createElement("style");i.textContent=rr.cssText,null===(t=this.shadowRoot)||void 0===t||t.appendChild(i);const n=document.createElement("style");n.textContent=ar.cssText,null===(e=this.shadowRoot)||void 0===e||e.appendChild(n)}catch(t){console.warn("Error in addStyles: ",t),ir("Error in addStyles: ",t)}},this.signInUrl=`${Ft}/signin?redirect_url=${encodeURIComponent(window.location.href)}&source=sf`,this.signOutUrl=`${Ft}/signout?redirect_url=${encodeURIComponent(window.location.href)}&source=sf`,window.Superflow={enableCustomLogin:async()=>{this.customLoginEnabledLocally=!0,Us(ut),await this.checkCustomLoginEnabled()},identify:async t=>{this.providedUser=t,this.customLoginEnabled&&this.loginWithCustomUser()},signInUrl:this.signInUrl,signOutUrl:this.signOutUrl};try{this.detectVersion(),this.setWindowEventListner(),this.urlChangeListener(),this.checkUrl(),console.log("*** Staging Mode ON! ***")}catch(t){console.warn("Error in constructor: ",t),ir("Error in constructor: ",t)}}get loadPlugin(){return this._loadPlugin}set loadPlugin(t){var e,i,n,o,s,r,a,l,c,d;this._loadPlugin=t,this.loadPlugin?(this.classList.add("visible"),null===(i=null===(e=null===document||void 0===document?void 0:document.body)||void 0===e?void 0:e.style)||void 0===i||i.setProperty("transform","none","important"),null===(s=null===(o=null===(n=null===document||void 0===document?void 0:document.body)||void 0===n?void 0:n.parentElement)||void 0===o?void 0:o.style)||void 0===s||s.setProperty("transform","none","important"),null===(a=null===(r=null===document||void 0===document?void 0:document.body)||void 0===r?void 0:r.style)||void 0===a||a.setProperty("perspective","none","important"),null===(d=null===(c=null===(l=null===document||void 0===document?void 0:document.body)||void 0===l?void 0:l.parentElement)||void 0===c?void 0:c.style)||void 0===d||d.setProperty("perspective","none","important")):this.classList.remove("visible")}get expanded(){return this._expanded}set expanded(t){this._expanded=t,this.expanded?this.classList.add("expanded"):this.classList.remove("expanded")}get isPlanExpired(){return this._isPlanExpired}set isPlanExpired(t){this._isPlanExpired=t,this.checkToEnableUpgradeButton()}get apiKey(){return this._apiKey}set apiKey(t){this._apiKey=t,this.onApiKeyChange(),tr({apiKey:this.apiKey}),this.checkUrl()}get projectVersionKey(){return this._projectVersionKey}set projectVersionKey(t){try{this._projectVersionKey=t,this.projectVersionKey&&Hs(vt,this.projectVersionKey,!1,"sessionStorage"),this.exitReviewModeCalled||this.detectVersion()}catch(t){console.warn("Error in set projectVersionKey: ",t),ir("Error in set projectVersionKey: ",t)}}get menuOpenedId(){return this._menuOpenedId}set menuOpenedId(t){this._menuOpenedId=t,this.menuOpenedId?this.addWindowClickEventListener():this.removeWindowClickEventListener()}get isUserGlobalContact(){return this._isUserGlobalContact}set isUserGlobalContact(t){this._isUserGlobalContact=t,this.checkToEnableUpgradeButton()}connectedCallback(){super.connectedCallback(),this.expanded=!0,this.setAttribute("data-velt-comment-disabled","true"),this.style.zIndex="2147483577";const t=document.createElement("style");t.innerHTML='body[data-velt-ongoing-recording="screen"] superflow-toolbar { display: none !important; }',document.head.appendChild(t),this.addStyles(),setTimeout((()=>{const t=document.querySelectorAll('script[src*="snippyly.min.js"]');(null==t?void 0:t.length)>1&&console.warn("Multiple superflow scripts installed.")}),1e3)}render(){var t,e,i,n,o,s,r,a,l,c,d,h;return this.loadPlugin?!this.snippylyUser||this.loading||null===this.isPlanExpired?D`
|
|
2106
2106
|
<div class="snippyly-plugin-container" part="superflow-toolbar-container">
|
|
2107
2107
|
<div class="toolbar" id="smallToolbar">
|
|
2108
2108
|
<!-- <div class="toolbar-section">
|
|
@@ -2136,7 +2136,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2136
2136
|
<div class="toolbar-actions1 ${rt({"d-none":!this.commentElement})}">
|
|
2137
2137
|
<velt-sidebar-button>
|
|
2138
2138
|
<div class="action-border tooltip">
|
|
2139
|
-
<div class="tooltiptext">${
|
|
2139
|
+
<div class="tooltiptext">${cr("All Comments")}</div>
|
|
2140
2140
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2141
2141
|
<g clip-path="url(#clip0_5417_64176)">
|
|
2142
2142
|
<path d="M3 13.4545H6.56308C6.94874 13.4546 7.32675 13.5676 7.65478 13.7806C7.9828 13.9937 8.24787 14.2985 8.42031 14.6608L8.65662 15.1573C8.82912 15.5199 9.09434 15.8248 9.42254 16.0378C9.75074 16.2509 10.129 16.3637 10.5148 16.3636H13.4852C13.871 16.3637 14.2493 16.2509 14.5775 16.0378C14.9057 15.8248 15.1709 15.5199 15.3434 15.1573L15.5797 14.6608C15.7522 14.2983 16.0174 13.9934 16.3456 13.7804C16.6738 13.5673 17.052 13.4545 17.4378 13.4545H21M3 13.7823V17.8182C3 18.3968 3.21882 18.9518 3.60832 19.361C3.99782 19.7701 4.52609 20 5.07692 20H18.9231C19.4739 20 20.0022 19.7701 20.3917 19.361C20.7812 18.9518 21 18.3968 21 17.8182V13.7823C21 13.5651 20.9686 13.3488 20.9077 13.1413L18.6831 5.53988C18.5524 5.09405 18.2892 4.70395 17.932 4.42681C17.5748 4.14967 17.1425 4.00008 16.6985 4H7.30246C6.85841 4.00008 6.42608 4.14967 6.0689 4.42681C5.71172 4.70395 5.44849 5.09405 5.31785 5.53988L3.09231 13.1413C3.03133 13.349 3.00021 13.565 3 13.7823Z" stroke="#8F95B2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -2211,19 +2211,19 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2211
2211
|
</rect>
|
|
2212
2212
|
</g>
|
|
2213
2213
|
</svg>
|
|
2214
|
-
${
|
|
2214
|
+
${cr("Signing In")}
|
|
2215
2215
|
`:D`${this.signInError?D`
|
|
2216
2216
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2217
2217
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.64754 5.99921C8.27961 6.01309 7.97008 5.72609 7.95619 5.35816C7.92488 4.5287 7.8809 3.92331 7.83766 3.48926C7.79508 3.06179 7.53702 2.8046 7.1773 2.76063C6.75313 2.70878 6.15477 2.66634 5.33367 2.66634C4.51254 2.66634 3.91418 2.70878 3.49002 2.76063C3.13048 2.80458 2.87229 3.06189 2.8297 3.48946C2.74944 4.29515 2.667 5.68713 2.667 7.99968C2.667 10.3122 2.74944 11.7042 2.8297 12.5099C2.87229 12.9375 3.13048 13.1948 3.49002 13.2387C3.91418 13.2906 4.51254 13.333 5.33367 13.333C6.15477 13.333 6.75313 13.2906 7.1773 13.2387C7.53702 13.1947 7.79508 12.9376 7.83766 12.5101C7.8809 12.076 7.92488 11.4706 7.95619 10.6412C7.97008 10.2733 8.27961 9.98626 8.64754 10.0001C9.01546 10.014 9.30247 10.3236 9.28858 10.6915C9.25644 11.5428 9.21087 12.1761 9.16443 12.6423C9.06679 13.6224 8.38345 14.4345 7.33908 14.5622C6.85294 14.6216 6.19979 14.6663 5.33367 14.6663C4.46752 14.6663 3.81436 14.6216 3.32822 14.5622C2.28377 14.4345 1.60055 13.622 1.50293 12.6421C1.41698 11.7792 1.33367 10.3407 1.33367 7.99968C1.33367 5.65866 1.41698 4.22013 1.50293 3.35729C1.60055 2.37738 2.28377 1.56483 3.32822 1.43715C3.81436 1.37772 4.46752 1.33301 5.33367 1.33301C6.19979 1.33301 6.85294 1.37772 7.33908 1.43714C8.38345 1.56481 9.06679 2.37697 9.16443 3.35709C9.21087 3.8233 9.25644 4.45651 9.28858 5.30786C9.30247 5.67579 9.01546 5.98532 8.64754 5.99921Z" fill="white"/>
|
|
2218
2218
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.1966 6.13807C10.9362 5.87772 10.9362 5.45561 11.1966 5.19526C11.4569 4.93491 11.879 4.93491 12.1394 5.19526L14.4727 7.5286C14.7331 7.78894 14.7331 8.21105 14.4727 8.4714L12.1394 10.8047C11.879 11.0651 11.4569 11.0651 11.1966 10.8047C10.9362 10.5444 10.9362 10.1223 11.1966 9.86193L12.3918 8.66667H6.0013C5.63311 8.66667 5.33463 8.36819 5.33463 8C5.33463 7.63181 5.63311 7.33333 6.0013 7.33333L12.3918 7.33333L11.1966 6.13807Z" fill="white"/>
|
|
2219
2219
|
</svg>
|
|
2220
|
-
<span>${
|
|
2220
|
+
<span>${cr("Sign in again!")}</span>
|
|
2221
2221
|
`:D`
|
|
2222
2222
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2223
2223
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.64754 5.99921C8.27961 6.01309 7.97008 5.72609 7.95619 5.35816C7.92488 4.5287 7.8809 3.92331 7.83766 3.48926C7.79508 3.06179 7.53702 2.8046 7.1773 2.76063C6.75313 2.70878 6.15477 2.66634 5.33367 2.66634C4.51254 2.66634 3.91418 2.70878 3.49002 2.76063C3.13048 2.80458 2.87229 3.06189 2.8297 3.48946C2.74944 4.29515 2.667 5.68713 2.667 7.99968C2.667 10.3122 2.74944 11.7042 2.8297 12.5099C2.87229 12.9375 3.13048 13.1948 3.49002 13.2387C3.91418 13.2906 4.51254 13.333 5.33367 13.333C6.15477 13.333 6.75313 13.2906 7.1773 13.2387C7.53702 13.1947 7.79508 12.9376 7.83766 12.5101C7.8809 12.076 7.92488 11.4706 7.95619 10.6412C7.97008 10.2733 8.27961 9.98626 8.64754 10.0001C9.01546 10.014 9.30247 10.3236 9.28858 10.6915C9.25644 11.5428 9.21087 12.1761 9.16443 12.6423C9.06679 13.6224 8.38345 14.4345 7.33908 14.5622C6.85294 14.6216 6.19979 14.6663 5.33367 14.6663C4.46752 14.6663 3.81436 14.6216 3.32822 14.5622C2.28377 14.4345 1.60055 13.622 1.50293 12.6421C1.41698 11.7792 1.33367 10.3407 1.33367 7.99968C1.33367 5.65866 1.41698 4.22013 1.50293 3.35729C1.60055 2.37738 2.28377 1.56483 3.32822 1.43715C3.81436 1.37772 4.46752 1.33301 5.33367 1.33301C6.19979 1.33301 6.85294 1.37772 7.33908 1.43714C8.38345 1.56481 9.06679 2.37697 9.16443 3.35709C9.21087 3.8233 9.25644 4.45651 9.28858 5.30786C9.30247 5.67579 9.01546 5.98532 8.64754 5.99921Z" fill="white"/>
|
|
2224
2224
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.1966 6.13807C10.9362 5.87772 10.9362 5.45561 11.1966 5.19526C11.4569 4.93491 11.879 4.93491 12.1394 5.19526L14.4727 7.5286C14.7331 7.78894 14.7331 8.21105 14.4727 8.4714L12.1394 10.8047C11.879 11.0651 11.4569 11.0651 11.1966 10.8047C10.9362 10.5444 10.9362 10.1223 11.1966 9.86193L12.3918 8.66667H6.0013C5.63311 8.66667 5.33463 8.36819 5.33463 8C5.33463 7.63181 5.63311 7.33333 6.0013 7.33333L12.3918 7.33333L11.1966 6.13807Z" fill="white"/>
|
|
2225
2225
|
</svg>
|
|
2226
|
-
<span>${
|
|
2226
|
+
<span>${cr("Sign in to comment")}</span>
|
|
2227
2227
|
`}`}
|
|
2228
2228
|
</a>
|
|
2229
2229
|
</div>
|
|
@@ -2270,12 +2270,12 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2270
2270
|
d="M0.351589 9.03355C0.00514201 9.8932 -0.0880133 10.8436 0.0843205 11.7602C0.256654 12.6768 0.686445 13.517 1.31742 14.1708C1.72451 14.6098 2.20989 14.9589 2.74541 15.1979C3.28094 15.4368 3.85595 15.5608 4.4371 15.5628C5.03193 15.5613 5.62062 15.4353 6.16924 15.192C6.9885 14.8437 7.68929 14.2415 8.17981 13.4645C8.67033 12.6874 8.92771 11.7717 8.91823 10.8372V6.12115H4.46544C3.58239 6.11147 2.71718 6.38434 1.98312 6.90402C1.24906 7.4237 0.680388 8.16595 0.351589 9.03355Z"
|
|
2271
2271
|
fill="#A259FE" />
|
|
2272
2272
|
</svg>
|
|
2273
|
-
<p>${
|
|
2273
|
+
<p>${cr("Superflow")}</p>
|
|
2274
2274
|
</div>
|
|
2275
2275
|
<div class="menu-point-wrap">
|
|
2276
|
-
${
|
|
2276
|
+
${cr("Sign in to comment on this page.")}
|
|
2277
2277
|
<a href="https://www.usesuperflow.com/features" target="_blank">
|
|
2278
|
-
${
|
|
2278
|
+
${cr("Learn more")}
|
|
2279
2279
|
<svg width="14" height="14" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2280
2280
|
<path d="M4.30881 1.72602C3.67106 1.86293 3.11953 2.1682 2.64215 2.64149C2.29011 2.99745 2.05915 3.34183 1.89878 3.76037C1.66018 4.37857 1.668 4.08911 1.668 10.0007C1.668 15.9122 1.66018 15.6228 1.89878 16.241C2.29385 17.2699 3.29164 18.0876 4.38704 18.291C4.70779 18.3496 15.2947 18.3496 15.6154 18.291C16.2297 18.1775 16.9494 17.7942 17.3838 17.3481C17.8221 16.8942 18.1506 16.284 18.2797 15.6736C18.3227 15.4702 18.3345 14.8051 18.3345 12.2973V9.17907H17.5129H16.6913V12.1017C16.6913 13.7957 16.6756 15.126 16.6522 15.259C16.5348 15.975 15.9753 16.5343 15.2593 16.6517C14.9503 16.7025 5.05201 16.7025 4.74282 16.6517C4.03857 16.5382 3.48296 15.9944 3.34997 15.2862C3.29912 15.0085 3.29521 5.06326 3.34997 4.74251C3.46731 4.02653 4.02684 3.467 4.74282 3.34966C4.87582 3.32619 6.20609 3.31054 7.90013 3.31054H10.8226V2.48895V1.66735L7.68482 1.67126C5.25184 1.67126 4.48891 1.68691 4.30881 1.72602Z" fill="#4C5366"/>
|
|
2281
2281
|
<path d="M12.5058 2.48917V3.31077H14.0004H15.4988L13.3548 5.45481L11.2148 7.59477L11.7939 8.17385C12.1108 8.49069 12.3887 8.74902 12.4082 8.74902C12.4317 8.74902 13.4019 7.79443 14.5679 6.62845L16.6924 4.50413V6.0026V7.49715H17.514H18.3352V4.58253V1.66791H15.4206H12.5058V2.48917Z" fill="#4C5366"/>
|
|
@@ -2301,7 +2301,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2301
2301
|
<path d="M17.7323 9.38582C17.7323 8.23622 18.6614 7.30708 19.811 7.30708C20.9606 7.30708 21.8897 8.23622 21.8897 9.38582C21.8897 10.5354 20.9606 11.4646 19.811 11.4646H17.7323V9.38582ZM16.6929 9.38582C16.6929 10.5354 15.7637 11.4646 14.6141 11.4646C13.4645 11.4646 12.5354 10.5354 12.5354 9.38582V4.17322C12.5354 3.02362 13.4645 2.09448 14.6141 2.09448C15.7637 2.09448 16.6929 3.02362 16.6929 4.17322V9.38582Z" fill="#777E91" />
|
|
2302
2302
|
<path d="M14.6141 17.7165C15.7637 17.7165 16.6929 18.6457 16.6929 19.7953C16.6929 20.9449 15.7637 21.874 14.6141 21.874C13.4645 21.874 12.5354 20.9449 12.5354 19.7953V17.7165H14.6141ZM14.6141 16.6772C13.4645 16.6772 12.5354 15.748 12.5354 14.5984C12.5354 13.4488 13.4645 12.5197 14.6141 12.5197H19.8267C20.9763 12.5197 21.9055 13.4488 21.9055 14.5984C21.9055 15.748 20.9763 16.6772 19.8267 16.6772H14.6141Z" fill="#777E91" />
|
|
2303
2303
|
</svg>
|
|
2304
|
-
<p>${
|
|
2304
|
+
<p>${cr("Join Community")}</p>
|
|
2305
2305
|
</div>
|
|
2306
2306
|
<hr />
|
|
2307
2307
|
<div class="menu-point" @click=${()=>this.toggleQRCodeVisibility()}>
|
|
@@ -2312,7 +2312,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2312
2312
|
<path fill="#777E91" d="M9 2h5v5H9V2Zm1 1v3h3V3h-3ZM8 8v2h1v1H8v1h2v-2h1v2h1v-1h2v-1h-3V8H8Zm2 2H9V9h1v1Zm4 2h-1v1h-2v1h3v-2Zm-4 2v-1H8v1h2Z"/>
|
|
2313
2313
|
<path fill="#777E91" d="M12 9h2V8h-2v1Z"/>
|
|
2314
2314
|
</svg>
|
|
2315
|
-
<p>${
|
|
2315
|
+
<p>${cr("Open in Mobile")}</p>
|
|
2316
2316
|
</div>
|
|
2317
2317
|
<div class="menu-point" @click=${()=>this.removeSnippyly()}>
|
|
2318
2318
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -2320,7 +2320,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2320
2320
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.29289 8.29289C8.68342 7.90237 9.31658 7.90237 9.70711 8.29289L12 10.5858L14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L13.4142 12L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L12 13.4142L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L10.5858 12L8.29289 9.70711C7.90237 9.31658 7.90237 8.68342 8.29289 8.29289Z" fill="#777E91"/>
|
|
2321
2321
|
</svg>
|
|
2322
2322
|
|
|
2323
|
-
<p>${
|
|
2323
|
+
<p>${cr("Exit Review Mode")}</p>
|
|
2324
2324
|
</div>
|
|
2325
2325
|
${this.customLoginEnabledLocally?null:D`
|
|
2326
2326
|
<div class="menu-point" @click=${()=>this.loginWithGoogle()}>
|
|
@@ -2328,7 +2328,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2328
2328
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.64754 5.99921C8.27961 6.01309 7.97008 5.72609 7.95619 5.35816C7.92488 4.5287 7.8809 3.92331 7.83766 3.48926C7.79508 3.06179 7.53702 2.8046 7.1773 2.76063C6.75313 2.70878 6.15477 2.66634 5.33367 2.66634C4.51254 2.66634 3.91418 2.70878 3.49002 2.76063C3.13048 2.80458 2.87229 3.06189 2.8297 3.48946C2.74944 4.29515 2.667 5.68713 2.667 7.99968C2.667 10.3122 2.74944 11.7042 2.8297 12.5099C2.87229 12.9375 3.13048 13.1948 3.49002 13.2387C3.91418 13.2906 4.51254 13.333 5.33367 13.333C6.15477 13.333 6.75313 13.2906 7.1773 13.2387C7.53702 13.1947 7.79508 12.9376 7.83766 12.5101C7.8809 12.076 7.92488 11.4706 7.95619 10.6412C7.97008 10.2733 8.27961 9.98626 8.64754 10.0001C9.01546 10.014 9.30247 10.3236 9.28858 10.6915C9.25644 11.5428 9.21087 12.1761 9.16443 12.6423C9.06679 13.6224 8.38345 14.4345 7.33908 14.5622C6.85294 14.6216 6.19979 14.6663 5.33367 14.6663C4.46752 14.6663 3.81436 14.6216 3.32822 14.5622C2.28377 14.4345 1.60055 13.622 1.50293 12.6421C1.41698 11.7792 1.33367 10.3407 1.33367 7.99968C1.33367 5.65866 1.41698 4.22013 1.50293 3.35729C1.60055 2.37738 2.28377 1.56483 3.32822 1.43715C3.81436 1.37772 4.46752 1.33301 5.33367 1.33301C6.19979 1.33301 6.85294 1.37772 7.33908 1.43714C8.38345 1.56481 9.06679 2.37697 9.16443 3.35709C9.21087 3.8233 9.25644 4.45651 9.28858 5.30786C9.30247 5.67579 9.01546 5.98532 8.64754 5.99921Z" fill="#777E91"/>
|
|
2329
2329
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.1966 6.13807C10.9362 5.87772 10.9362 5.45561 11.1966 5.19526C11.4569 4.93491 11.879 4.93491 12.1394 5.19526L14.4727 7.5286C14.7331 7.78894 14.7331 8.21105 14.4727 8.4714L12.1394 10.8047C11.879 11.0651 11.4569 11.0651 11.1966 10.8047C10.9362 10.5444 10.9362 10.1223 11.1966 9.86193L12.3918 8.66667H6.0013C5.63311 8.66667 5.33463 8.36819 5.33463 8C5.33463 7.63181 5.63311 7.33333 6.0013 7.33333L12.3918 7.33333L11.1966 6.13807Z" fill="#777E91"/>
|
|
2330
2330
|
</svg>
|
|
2331
|
-
<p>${
|
|
2331
|
+
<p>${cr("Sign in")}</p>
|
|
2332
2332
|
</div>
|
|
2333
2333
|
`}
|
|
2334
2334
|
</div>
|
|
@@ -2356,13 +2356,13 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2356
2356
|
<div class="s-modal" @click=${t=>null==t?void 0:t.stopPropagation()}>
|
|
2357
2357
|
<img src="https://app.usesuperflow.com/assets/party-emoji.svg" />
|
|
2358
2358
|
<div class="s-modal-text">
|
|
2359
|
-
<h1>${
|
|
2359
|
+
<h1>${cr("Try Superflow using the toolbar below.")}</h1>
|
|
2360
2360
|
<p>
|
|
2361
|
-
${
|
|
2362
|
-
${
|
|
2361
|
+
${cr("Get ready to drop your first comment!")} <br/>
|
|
2362
|
+
${cr("But before you do that, you definitely deserve a high five!")}
|
|
2363
2363
|
</p>
|
|
2364
2364
|
</div>
|
|
2365
|
-
<div class="s-button s-primary" @click=${()=>this.onLiveDemoModalNextClick()}>${
|
|
2365
|
+
<div class="s-button s-primary" @click=${()=>this.onLiveDemoModalNextClick()}>${cr("Done")}</div>
|
|
2366
2366
|
</div>
|
|
2367
2367
|
</div>
|
|
2368
2368
|
`:D``}
|
|
@@ -2372,11 +2372,11 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2372
2372
|
<img src="https://app.usesuperflow.com/assets/party-emoji.svg" />
|
|
2373
2373
|
<div class="s-modal-text">
|
|
2374
2374
|
<h1>
|
|
2375
|
-
${
|
|
2376
|
-
${
|
|
2375
|
+
${cr("Sign in on the toolbar below and add")}<br/>
|
|
2376
|
+
${cr("comments on the design flaws.")}
|
|
2377
2377
|
</h1>
|
|
2378
2378
|
</div>
|
|
2379
|
-
<div class="s-button s-primary" @click=${()=>this.onFigmaDemoModalNextClick()}>${
|
|
2379
|
+
<div class="s-button s-primary" @click=${()=>this.onFigmaDemoModalNextClick()}>${cr("Done")}</div>
|
|
2380
2380
|
</div>
|
|
2381
2381
|
</div>
|
|
2382
2382
|
`:D``}
|
|
@@ -2439,7 +2439,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2439
2439
|
${this.snippylyUserRole?null:D`
|
|
2440
2440
|
<div class="tooltip ${rt({"d-none":!this.expanded||this.addCommentMode})}">
|
|
2441
2441
|
<div class="tooltiptext">
|
|
2442
|
-
${this.snippylyUserRole?null:D`${
|
|
2442
|
+
${this.snippylyUserRole?null:D`${cr("You don't have access to this project.")} <br/> ${cr("Please contact admin.")}`}
|
|
2443
2443
|
</div>
|
|
2444
2444
|
<div class="s-alert-btn">
|
|
2445
2445
|
<div class='error-container'>
|
|
@@ -2487,11 +2487,11 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2487
2487
|
<div class="toolbar-section huddle-recorder-section ${rt({"d-none":!this.expanded})}">
|
|
2488
2488
|
<div class="toolbar-actions">
|
|
2489
2489
|
<div class="action tooltip comment-tool-container">
|
|
2490
|
-
<div class="tooltiptext">${this.allFeatureDisabled?
|
|
2490
|
+
<div class="tooltiptext">${this.allFeatureDisabled?cr("Commenting is disabled. Contact admin."):cr("Comment")}</div>
|
|
2491
2491
|
${!this.allFeatureDisabled&&this.showTourCommentTooltip?D`
|
|
2492
2492
|
<div class="tour-tooltiptext" @click=${()=>this.onTourCommentTooltipClick()}>
|
|
2493
|
-
<div class="tour-tooltip-content">${
|
|
2494
|
-
<button class="tour-tooltip-action" @click=${()=>this.onTourCommentTooltipClick()}>${
|
|
2493
|
+
<div class="tour-tooltip-content">${cr("Click to add comments on this page.")}</div>
|
|
2494
|
+
<button class="tour-tooltip-action" @click=${()=>this.onTourCommentTooltipClick()}>${cr("Ok")}</button>
|
|
2495
2495
|
</div>
|
|
2496
2496
|
`:null}
|
|
2497
2497
|
${this.allFeatureDisabled?D`
|
|
@@ -2517,7 +2517,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2517
2517
|
`}
|
|
2518
2518
|
</div>
|
|
2519
2519
|
<div class="action tooltip ${rt({"d-none":this.addCommentMode})}">
|
|
2520
|
-
<div class="tooltiptext">${this.allFeatureDisabled?
|
|
2520
|
+
<div class="tooltiptext">${this.allFeatureDisabled?cr("Arrow feature is disabled. Contact admin."):cr("Arrow")}</div>
|
|
2521
2521
|
${this.allFeatureDisabled?D`
|
|
2522
2522
|
<div class="custom-tool">
|
|
2523
2523
|
<div class="action">
|
|
@@ -2541,12 +2541,12 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2541
2541
|
`}
|
|
2542
2542
|
</div>
|
|
2543
2543
|
<div class="tooltip cursor-pointer ${rt({"d-none":this.addCommentMode})}">
|
|
2544
|
-
<div class="tooltiptext">${
|
|
2544
|
+
<div class="tooltiptext">${cr("Live Huddle")}</div>
|
|
2545
2545
|
<velt-huddle-tool type="all"></velt-huddle-tool>
|
|
2546
2546
|
</div>
|
|
2547
2547
|
${this.staging&&!this.addCommentMode?D`
|
|
2548
2548
|
<div class="tooltip cursor-pointer">
|
|
2549
|
-
<div class="tooltiptext">${
|
|
2549
|
+
<div class="tooltiptext">${cr("Recording")}</div>
|
|
2550
2550
|
<velt-recorder-tool type="all"></velt-recorder-tool>
|
|
2551
2551
|
</div>
|
|
2552
2552
|
`:null}
|
|
@@ -2563,7 +2563,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2563
2563
|
<div class="toolbar-actions1">
|
|
2564
2564
|
<velt-sidebar-button>
|
|
2565
2565
|
<div class="action-border tooltip">
|
|
2566
|
-
<div class="tooltiptext">${
|
|
2566
|
+
<div class="tooltiptext">${cr("Open Comments")}</div>
|
|
2567
2567
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2568
2568
|
<g clip-path="url(#clip0_5417_64176)">
|
|
2569
2569
|
<path d="M3 13.4545H6.56308C6.94874 13.4546 7.32675 13.5676 7.65478 13.7806C7.9828 13.9937 8.24787 14.2985 8.42031 14.6608L8.65662 15.1573C8.82912 15.5199 9.09434 15.8248 9.42254 16.0378C9.75074 16.2509 10.129 16.3637 10.5148 16.3636H13.4852C13.871 16.3637 14.2493 16.2509 14.5775 16.0378C14.9057 15.8248 15.1709 15.5199 15.3434 15.1573L15.5797 14.6608C15.7522 14.2983 16.0174 13.9934 16.3456 13.7804C16.6738 13.5673 17.052 13.4545 17.4378 13.4545H21M3 13.7823V17.8182C3 18.3968 3.21882 18.9518 3.60832 19.361C3.99782 19.7701 4.52609 20 5.07692 20H18.9231C19.4739 20 20.0022 19.7701 20.3917 19.361C20.7812 18.9518 21 18.3968 21 17.8182V13.7823C21 13.5651 20.9686 13.3488 20.9077 13.1413L18.6831 5.53988C18.5524 5.09405 18.2892 4.70395 17.932 4.42681C17.5748 4.14967 17.1425 4.00008 16.6985 4H7.30246C6.85841 4.00008 6.42608 4.14967 6.0689 4.42681C5.71172 4.70395 5.44849 5.09405 5.31785 5.53988L3.09231 13.1413C3.03133 13.349 3.00021 13.565 3 13.7823Z" stroke="#8F95B2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -2580,12 +2580,12 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2580
2580
|
${this.isUserGlobalContact||"Admin"===this.snippylyUserRole?D`
|
|
2581
2581
|
<velt-menu class="d-sm-none">
|
|
2582
2582
|
<div menu-trigger class="action-border dropdown tooltip">
|
|
2583
|
-
<div class="tooltiptext">${
|
|
2583
|
+
<div class="tooltiptext">${cr("Views")}</div>
|
|
2584
2584
|
<svg width="16" height="24" viewBox="0 0 16 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2585
2585
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.99939 16.3333C10.7497 16.3333 12.7055 14.6051 13.8509 13.1658C14.2482 12.6665 14.2482 12.0001 13.8509 11.5009C12.7055 10.0616 10.7497 8.33333 7.99939 8.33333C5.24906 8.33333 3.29326 10.0616 2.14788 11.5009C1.75062 12.0001 1.75062 12.6665 2.14788 13.1658C3.29325 14.6051 5.24906 16.3333 7.99939 16.3333ZM14.8942 13.996C15.6782 13.0108 15.6782 11.6558 14.8942 10.6707C13.6487 9.10551 11.3504 7 7.99939 7C4.64837 7 2.3501 9.10551 1.10458 10.6707C0.320609 11.6558 0.320609 13.0108 1.10458 13.996C2.3501 15.5612 4.64837 17.6667 7.99939 17.6667C11.3504 17.6667 13.6487 15.5612 14.8942 13.996Z" fill="#8F95B2"/>
|
|
2586
2586
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.33301 12.3332C9.33301 13.0696 8.73605 13.6665 7.99967 13.6665C7.26329 13.6665 6.66634 13.0696 6.66634 12.3332C6.66634 12.3142 6.66674 12.2954 6.66752 12.2767C6.77144 12.3133 6.88324 12.3332 6.99967 12.3332C7.55196 12.3332 7.99967 11.8855 7.99967 11.3332C7.99967 11.2167 7.97977 11.1049 7.94319 11.001C7.96192 11.0002 7.98075 10.9998 7.99967 10.9998C8.73605 10.9998 9.33301 11.5968 9.33301 12.3332ZM10.6663 12.3332C10.6663 13.8059 9.47243 14.9998 7.99967 14.9998C6.52692 14.9998 5.33301 13.8059 5.33301 12.3332C5.33301 10.8604 6.52692 9.6665 7.99967 9.6665C9.47243 9.6665 10.6663 10.8604 10.6663 12.3332Z" fill="#8F95B2"/>
|
|
2587
2587
|
</svg>
|
|
2588
|
-
<p class="action-text" style="margin-left:4px">${
|
|
2588
|
+
<p class="action-text" style="margin-left:4px">${cr(this.viewMode||"External")}</p>
|
|
2589
2589
|
<svg class="toolbar-icon-dropdown-arrow" viewBox="0 0 16 16" fill="none"
|
|
2590
2590
|
xmlns="http://www.w3.org/2000/svg">
|
|
2591
2591
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
@@ -2593,9 +2593,9 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2593
2593
|
</svg>
|
|
2594
2594
|
</div>
|
|
2595
2595
|
<div menu-items>
|
|
2596
|
-
<div @click=${()=>this.setViewMode("Internal")}>${
|
|
2597
|
-
<div @click=${()=>this.setViewMode(null)}>${
|
|
2598
|
-
<div @click=${()=>this.setViewMode("All")}>${
|
|
2596
|
+
<div @click=${()=>this.setViewMode("Internal")}>${cr("Internal")}</div>
|
|
2597
|
+
<div @click=${()=>this.setViewMode(null)}>${cr("External")}</div>
|
|
2598
|
+
<div @click=${()=>this.setViewMode("All")}>${cr("All")}</div>
|
|
2599
2599
|
</div>
|
|
2600
2600
|
</velt-menu>
|
|
2601
2601
|
`:null}
|
|
@@ -2622,13 +2622,13 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2622
2622
|
<div class="toolbar-actions2">
|
|
2623
2623
|
${"Admin"===this.snippylyUserRole&&this.staging&&!this.isPlanExpired?D`
|
|
2624
2624
|
<div class="action tooltip cursor-pointer d-sm-none user-invite-tool-container">
|
|
2625
|
-
<div class="tooltiptext">${
|
|
2625
|
+
<div class="tooltiptext">${cr("Share")}</div>
|
|
2626
2626
|
<velt-user-invite-tool></velt-user-invite-tool>
|
|
2627
2627
|
</div>
|
|
2628
2628
|
`:null}
|
|
2629
2629
|
${(null===(i=this.snippylyUser)||void 0===i?void 0:i.isGuest)?D`
|
|
2630
2630
|
<div class="s-guest-user-sign-in-button" @click=${()=>this.loginWithGoogle()}>
|
|
2631
|
-
<p>${
|
|
2631
|
+
<p>${cr("Sign in")}</p>
|
|
2632
2632
|
</div>
|
|
2633
2633
|
`:D`
|
|
2634
2634
|
<div class="action">
|
|
@@ -2658,12 +2658,12 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2658
2658
|
d="M0.351589 9.03355C0.00514201 9.8932 -0.0880133 10.8436 0.0843205 11.7602C0.256654 12.6768 0.686445 13.517 1.31742 14.1708C1.72451 14.6098 2.20989 14.9589 2.74541 15.1979C3.28094 15.4368 3.85595 15.5608 4.4371 15.5628C5.03193 15.5613 5.62062 15.4353 6.16924 15.192C6.9885 14.8437 7.68929 14.2415 8.17981 13.4645C8.67033 12.6874 8.92771 11.7717 8.91823 10.8372V6.12115H4.46544C3.58239 6.11147 2.71718 6.38434 1.98312 6.90402C1.24906 7.4237 0.680388 8.16595 0.351589 9.03355Z"
|
|
2659
2659
|
fill="#A259FE" />
|
|
2660
2660
|
</svg>
|
|
2661
|
-
<p>${
|
|
2661
|
+
<p>${cr("Superflow")}</p>
|
|
2662
2662
|
</div>
|
|
2663
2663
|
<div class="menu-point-wrap">
|
|
2664
|
-
${
|
|
2664
|
+
${cr("Add comments & recordings on this page.")}
|
|
2665
2665
|
<a href="https://www.usesuperflow.com/features" target="_blank">
|
|
2666
|
-
${
|
|
2666
|
+
${cr("Learn more")}
|
|
2667
2667
|
<svg width="14" height="14" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2668
2668
|
<path d="M4.30881 1.72602C3.67106 1.86293 3.11953 2.1682 2.64215 2.64149C2.29011 2.99745 2.05915 3.34183 1.89878 3.76037C1.66018 4.37857 1.668 4.08911 1.668 10.0007C1.668 15.9122 1.66018 15.6228 1.89878 16.241C2.29385 17.2699 3.29164 18.0876 4.38704 18.291C4.70779 18.3496 15.2947 18.3496 15.6154 18.291C16.2297 18.1775 16.9494 17.7942 17.3838 17.3481C17.8221 16.8942 18.1506 16.284 18.2797 15.6736C18.3227 15.4702 18.3345 14.8051 18.3345 12.2973V9.17907H17.5129H16.6913V12.1017C16.6913 13.7957 16.6756 15.126 16.6522 15.259C16.5348 15.975 15.9753 16.5343 15.2593 16.6517C14.9503 16.7025 5.05201 16.7025 4.74282 16.6517C4.03857 16.5382 3.48296 15.9944 3.34997 15.2862C3.29912 15.0085 3.29521 5.06326 3.34997 4.74251C3.46731 4.02653 4.02684 3.467 4.74282 3.34966C4.87582 3.32619 6.20609 3.31054 7.90013 3.31054H10.8226V2.48895V1.66735L7.68482 1.67126C5.25184 1.67126 4.48891 1.68691 4.30881 1.72602Z" fill="#4C5366"/>
|
|
2669
2669
|
<path d="M12.5058 2.48917V3.31077H14.0004H15.4988L13.3548 5.45481L11.2148 7.59477L11.7939 8.17385C12.1108 8.49069 12.3887 8.74902 12.4082 8.74902C12.4317 8.74902 13.4019 7.79443 14.5679 6.62845L16.6924 4.50413V6.0026V7.49715H17.514H18.3352V4.58253V1.66791H15.4206H12.5058V2.48917Z" fill="#4C5366"/>
|
|
@@ -2677,7 +2677,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2677
2677
|
<path d="M4.30881 1.72602C3.67106 1.86293 3.11953 2.1682 2.64215 2.64149C2.29011 2.99745 2.05915 3.34183 1.89878 3.76037C1.66018 4.37857 1.668 4.08911 1.668 10.0007C1.668 15.9122 1.66018 15.6228 1.89878 16.241C2.29385 17.2699 3.29164 18.0876 4.38704 18.291C4.70779 18.3496 15.2947 18.3496 15.6154 18.291C16.2297 18.1775 16.9494 17.7942 17.3838 17.3481C17.8221 16.8942 18.1506 16.284 18.2797 15.6736C18.3227 15.4702 18.3345 14.8051 18.3345 12.2973V9.17907H17.5129H16.6913V12.1017C16.6913 13.7957 16.6756 15.126 16.6522 15.259C16.5348 15.975 15.9753 16.5343 15.2593 16.6517C14.9503 16.7025 5.05201 16.7025 4.74282 16.6517C4.03857 16.5382 3.48296 15.9944 3.34997 15.2862C3.29912 15.0085 3.29521 5.06326 3.34997 4.74251C3.46731 4.02653 4.02684 3.467 4.74282 3.34966C4.87582 3.32619 6.20609 3.31054 7.90013 3.31054H10.8226V2.48895V1.66735L7.68482 1.67126C5.25184 1.67126 4.48891 1.68691 4.30881 1.72602Z" fill="#4C5366"/>
|
|
2678
2678
|
<path d="M12.5058 2.48917V3.31077H14.0004H15.4988L13.3548 5.45481L11.2148 7.59477L11.7939 8.17385C12.1108 8.49069 12.3887 8.74902 12.4082 8.74902C12.4317 8.74902 13.4019 7.79443 14.5679 6.62845L16.6924 4.50413V6.0026V7.49715H17.514H18.3352V4.58253V1.66791H15.4206H12.5058V2.48917Z" fill="#4C5366"/>
|
|
2679
2679
|
</svg>
|
|
2680
|
-
<p>${
|
|
2680
|
+
<p>${cr("View project")}</p>
|
|
2681
2681
|
</div>
|
|
2682
2682
|
<hr />
|
|
2683
2683
|
`:D``}
|
|
@@ -2697,7 +2697,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2697
2697
|
<path d="M17.7323 9.38582C17.7323 8.23622 18.6614 7.30708 19.811 7.30708C20.9606 7.30708 21.8897 8.23622 21.8897 9.38582C21.8897 10.5354 20.9606 11.4646 19.811 11.4646H17.7323V9.38582ZM16.6929 9.38582C16.6929 10.5354 15.7637 11.4646 14.6141 11.4646C13.4645 11.4646 12.5354 10.5354 12.5354 9.38582V4.17322C12.5354 3.02362 13.4645 2.09448 14.6141 2.09448C15.7637 2.09448 16.6929 3.02362 16.6929 4.17322V9.38582Z" fill="#777E91" />
|
|
2698
2698
|
<path d="M14.6141 17.7165C15.7637 17.7165 16.6929 18.6457 16.6929 19.7953C16.6929 20.9449 15.7637 21.874 14.6141 21.874C13.4645 21.874 12.5354 20.9449 12.5354 19.7953V17.7165H14.6141ZM14.6141 16.6772C13.4645 16.6772 12.5354 15.748 12.5354 14.5984C12.5354 13.4488 13.4645 12.5197 14.6141 12.5197H19.8267C20.9763 12.5197 21.9055 13.4488 21.9055 14.5984C21.9055 15.748 20.9763 16.6772 19.8267 16.6772H14.6141Z" fill="#777E91" />
|
|
2699
2699
|
</svg>
|
|
2700
|
-
<p>${
|
|
2700
|
+
<p>${cr("Join Community")}</p>
|
|
2701
2701
|
</div>
|
|
2702
2702
|
<hr />
|
|
2703
2703
|
<div class="menu-point" @click=${()=>this.toggleQRCodeVisibility()}>
|
|
@@ -2708,7 +2708,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2708
2708
|
<path fill="#777E91" d="M9 2h5v5H9V2Zm1 1v3h3V3h-3ZM8 8v2h1v1H8v1h2v-2h1v2h1v-1h2v-1h-3V8H8Zm2 2H9V9h1v1Zm4 2h-1v1h-2v1h3v-2Zm-4 2v-1H8v1h2Z"/>
|
|
2709
2709
|
<path fill="#777E91" d="M12 9h2V8h-2v1Z"/>
|
|
2710
2710
|
</svg>
|
|
2711
|
-
<p>${
|
|
2711
|
+
<p>${cr("Open in Mobile")}</p>
|
|
2712
2712
|
</div>
|
|
2713
2713
|
<div class="menu-point" @click=${()=>this.removeSnippyly()}>
|
|
2714
2714
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -2716,7 +2716,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2716
2716
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.29289 8.29289C8.68342 7.90237 9.31658 7.90237 9.70711 8.29289L12 10.5858L14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L13.4142 12L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L12 13.4142L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L10.5858 12L8.29289 9.70711C7.90237 9.31658 7.90237 8.68342 8.29289 8.29289Z" fill="#777E91"/>
|
|
2717
2717
|
</svg>
|
|
2718
2718
|
|
|
2719
|
-
<p>${
|
|
2719
|
+
<p>${cr("Exit Review Mode")}</p>
|
|
2720
2720
|
</div>
|
|
2721
2721
|
${this.customLoginEnabledLocally?null:D`
|
|
2722
2722
|
<div class="menu-point" @click=${()=>this.signOutUser()}>
|
|
@@ -2740,7 +2740,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2740
2740
|
fill="#4C5366"
|
|
2741
2741
|
/>
|
|
2742
2742
|
</svg>
|
|
2743
|
-
<p>${
|
|
2743
|
+
<p>${cr("Sign Out")}</p>
|
|
2744
2744
|
</div>
|
|
2745
2745
|
`}
|
|
2746
2746
|
</div>
|
|
@@ -2770,13 +2770,13 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2770
2770
|
<div class="s-modal" @click=${t=>null==t?void 0:t.stopPropagation()}>
|
|
2771
2771
|
<img src="https://app.usesuperflow.com/assets/party-emoji.svg" />
|
|
2772
2772
|
<div class="s-modal-text">
|
|
2773
|
-
<h1>${
|
|
2773
|
+
<h1>${cr("You’re a SuperFlow installation wizard!")}</h1>
|
|
2774
2774
|
<p>
|
|
2775
|
-
${
|
|
2776
|
-
${
|
|
2775
|
+
${cr("Get ready to drop your first comment!")} <br/>
|
|
2776
|
+
${cr("But before you do that, you definitely deserve a high five!")}
|
|
2777
2777
|
</p>
|
|
2778
2778
|
</div>
|
|
2779
|
-
<div class="s-button s-primary" @click=${()=>this.onboardingNextClick()}>${
|
|
2779
|
+
<div class="s-button s-primary" @click=${()=>this.onboardingNextClick()}>${cr("Next")}</div>
|
|
2780
2780
|
</div>
|
|
2781
2781
|
</div>
|
|
2782
2782
|
`:D``}
|
|
@@ -2785,13 +2785,13 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2785
2785
|
<div class="s-modal" @click=${t=>null==t?void 0:t.stopPropagation()}>
|
|
2786
2786
|
<img src="https://app.usesuperflow.com/assets/party-emoji.svg" />
|
|
2787
2787
|
<div class="s-modal-text">
|
|
2788
|
-
<h1>${
|
|
2788
|
+
<h1>${cr("Try Superflow using the toolbar below.")}</h1>
|
|
2789
2789
|
<p>
|
|
2790
|
-
${
|
|
2791
|
-
${
|
|
2790
|
+
${cr("Get ready to drop your first comment!")} <br/>
|
|
2791
|
+
${cr("But before you do that, you definitely deserve a high five!")}
|
|
2792
2792
|
</p>
|
|
2793
2793
|
</div>
|
|
2794
|
-
<div class="s-button s-primary" @click=${()=>this.onLiveDemoModalNextClick()}>${
|
|
2794
|
+
<div class="s-button s-primary" @click=${()=>this.onLiveDemoModalNextClick()}>${cr("Done")}</div>
|
|
2795
2795
|
</div>
|
|
2796
2796
|
</div>
|
|
2797
2797
|
`:D``}
|
|
@@ -2801,11 +2801,11 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2801
2801
|
<img src="https://app.usesuperflow.com/assets/party-emoji.svg" />
|
|
2802
2802
|
<div class="s-modal-text">
|
|
2803
2803
|
<h1>
|
|
2804
|
-
${
|
|
2805
|
-
${
|
|
2804
|
+
${cr("Sign in on the toolbar below and add")}<br/>
|
|
2805
|
+
${cr("comments on the design flaws.")}
|
|
2806
2806
|
</h1>
|
|
2807
2807
|
</div>
|
|
2808
|
-
<div class="s-button s-primary" @click=${()=>this.onFigmaDemoModalNextClick()}>${
|
|
2808
|
+
<div class="s-button s-primary" @click=${()=>this.onFigmaDemoModalNextClick()}>${cr("Done")}</div>
|
|
2809
2809
|
</div>
|
|
2810
2810
|
</div>
|
|
2811
2811
|
`:D``}
|
|
@@ -2828,7 +2828,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2828
2828
|
</div>
|
|
2829
2829
|
<div class="s-modal-title">Sign in to notify your team</div>
|
|
2830
2830
|
<div class="s-modal-subtitle">Notify your team about your latest comments.</div>
|
|
2831
|
-
<div class="s-button s-primary s-signin-button" @click=${()=>this.loginWithGoogle()}>${
|
|
2831
|
+
<div class="s-button s-primary s-signin-button" @click=${()=>this.loginWithGoogle()}>${cr("Sign in")}</div>
|
|
2832
2832
|
<div class="s-modal-link-text" @click=${t=>this.openGuestModeNameModel(t)}>Leave Comment Anonymously</div>
|
|
2833
2833
|
</div>
|
|
2834
2834
|
</div>
|
|
@@ -2851,7 +2851,7 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2851
2851
|
</div>
|
|
2852
2852
|
<div class="s-modal-subtitle">Tag your comments with your name!</div>
|
|
2853
2853
|
<input id="guestUserName" class="s-guest-user-name" placeholder="Your name" @input=${t=>{var e;return this.guestUserNameInput=null===(e=null==t?void 0:t.target)||void 0===e?void 0:e.value}} />
|
|
2854
|
-
<div class="s-button s-primary s-signin-button ${(null===(h=this.guestUserNameInput)||void 0===h?void 0:h.trim())?"":"s-disabled"}" @click=${()=>this.updateGuestUserName()}>${
|
|
2854
|
+
<div class="s-button s-primary s-signin-button ${(null===(h=this.guestUserNameInput)||void 0===h?void 0:h.trim())?"":"s-disabled"}" @click=${()=>this.updateGuestUserName()}>${cr("Save")}</div>
|
|
2855
2855
|
<div class="s-modal-link-text" @click=${()=>{this.closeGuestModeNameModel(),this.showGuestModeSignInBanner()}}>Skip</div>
|
|
2856
2856
|
</div>
|
|
2857
2857
|
</div>
|
|
@@ -2859,8 +2859,8 @@ class Ls extends kn{}Ls.Encryptor=class extends Ls{processBlock(t,e){const i=t,n
|
|
|
2859
2859
|
${this.guestModeSignInBannerVisible?D`
|
|
2860
2860
|
<div class="s-guest-mode-banner">
|
|
2861
2861
|
<span>Notify your team about your comments by signing in.</span>
|
|
2862
|
-
<button @click=${()=>this.loginWithGoogle()}>${
|
|
2862
|
+
<button @click=${()=>this.loginWithGoogle()}>${cr("Sign in")}</button>
|
|
2863
2863
|
</div>
|
|
2864
2864
|
`:D``}
|
|
2865
2865
|
`:D``}
|
|
2866
|
-
`:D``}}
|
|
2866
|
+
`:D``}}hr.styles=[rr,ar],dr([nt()],hr.prototype,"loadPlugin",null),dr([nt()],hr.prototype,"comments",void 0),dr([nt()],hr.prototype,"commentElement",void 0),dr([nt()],hr.prototype,"contactElement",void 0),dr([nt()],hr.prototype,"rewriterElement",void 0),dr([nt()],hr.prototype,"presenceElement",void 0),dr([nt()],hr.prototype,"commentSubscription",void 0),dr([nt()],hr.prototype,"selectionElement",void 0),dr([nt()],hr.prototype,"addCommentMode",void 0),dr([nt()],hr.prototype,"showTourCommentTooltip",void 0),dr([nt()],hr.prototype,"allFeatureDisabled",void 0),dr([nt()],hr.prototype,"allFeatureRestricted",void 0),dr([nt()],hr.prototype,"guestMode",void 0),dr([nt()],hr.prototype,"_expanded",void 0),dr([nt()],hr.prototype,"loading",void 0),dr([nt()],hr.prototype,"signInError",void 0),dr([nt()],hr.prototype,"snippylyUser",void 0),dr([nt()],hr.prototype,"snippylyUserRole",void 0),dr([nt()],hr.prototype,"_isPlanExpired",void 0),dr([nt()],hr.prototype,"showOnboardingModal",void 0),dr([nt()],hr.prototype,"showLiveDemoModal",void 0),dr([nt()],hr.prototype,"showFigmaDemoModal",void 0),dr([nt()],hr.prototype,"showGuestModeSignInModal",void 0),dr([nt()],hr.prototype,"showGuestModeNameModal",void 0),dr([nt()],hr.prototype,"guestModeSignInBannerVisible",void 0),dr([nt()],hr.prototype,"guestUserNameInput",void 0),dr([nt()],hr.prototype,"guestUserModelOpened",void 0),dr([it()],hr.prototype,"apiKey",null),dr([it()],hr.prototype,"projectId",void 0),dr([nt()],hr.prototype,"staging",void 0),dr([it()],hr.prototype,"projectVersionKey",null),dr([nt()],hr.prototype,"projectVersion",void 0),dr([nt()],hr.prototype,"_menuOpenedId",void 0),dr([nt()],hr.prototype,"copyLinkTooltip",void 0),dr([nt()],hr.prototype,"invalidApiKey",void 0),dr([nt()],hr.prototype,"documentId",void 0),dr([nt()],hr.prototype,"_isUserGlobalContact",void 0),dr([nt()],hr.prototype,"location",void 0),dr([nt()],hr.prototype,"viewMode",void 0),dr([nt()],hr.prototype,"qrCode",void 0),dr([nt()],hr.prototype,"showQrCode",void 0),dr([nt()],hr.prototype,"customLoginEnabledLocally",void 0),dr([it()],hr.prototype,"customLoginEnabled",void 0),dr([nt()],hr.prototype,"providedUser",void 0),dr([nt()],hr.prototype,"autoTranslation",void 0),dr([nt()],hr.prototype,"isSigningInUserAdmin",void 0),(t=>{if(customElements.get("superflow-toolbar")||customElements.get("snippyly-plugin"))return;const e={allow:["sdkUrl","windowVariables","snippylyPlugin"],loaders:{windowVariables:()=>{const t=null===window||void 0===window?void 0:window.SUPERFLOW_TOOLBAR_API_KEY;return{valid:!!t,type:"windowVariables",apiKey:t,staging:!!(null===window||void 0===window?void 0:window.SUPERFLOW_TOOLBAR_STAGING),projectVersionKey:null===window||void 0===window?void 0:window.SUPERFLOW_TOOLBAR_PROJECT_VERSION_KEY,projectId:null===window||void 0===window?void 0:window.SUPERFLOW_TOOLBAR_PROJECT_ID}},snippylyPlugin:()=>{const t=document.querySelector("snippyly-plugin");if(!t)return;const e=t.getAttribute("apiKey"),i=!!t.getAttribute("staging"),n=t.getAttribute("projectVersionKey"),o=t.getAttribute("projectId");return null==t||t.remove(),{valid:!!e,type:"snippylyPlugin",apiKey:e,staging:i,projectVersionKey:n,projectId:o}},sdkUrl:()=>{const t=document.getElementById("superflowToolbarScript");if(!t)return;const e=null==t?void 0:t.src,i=new URL(e).searchParams,n=i.has("apiKey")?i.get("apiKey"):void 0;return{valid:!!n,type:"sdkUrl",apiKey:n,staging:void 0,projectVersionKey:void 0,projectId:i.has("projectId")?i.get("projectId"):void 0}}},load:()=>{for(let t=0;t<e.allow.length;t++){const i=e.allow[t],n=e.loaders[i]();if(n&&n.valid)return n}}},i=()=>{try{const i=e.load();if(customElements.define("superflow-toolbar",t),i&&i.valid){(()=>{try{document.querySelectorAll("superflow-toolbar").forEach((t=>{t.remove()})),document.querySelectorAll("snippyly-plugin").forEach((t=>{t.remove()}))}catch(t){console.warn("Error in removeSuperflowToolbarTag: ",t)}})();const t={};return t.apiKey=i.apiKey,i.staging&&(t.staging="true"),i.projectVersionKey&&(t.projectVersionKey=i.projectVersionKey),i.projectId&&(t.projectId=i.projectId),void((t={})=>{try{const e=document.createElement("superflow-toolbar");Object.keys(t||{}).forEach((i=>{e.setAttribute(i,t[i])})),document.body.appendChild(e)}catch(t){console.warn("Error in loadSuperflowToolbarTag: ",t)}})(t)}}catch(t){console.warn("Error in initSuperflow: ",t)}};(null===document||void 0===document?void 0:document.body)?i():null===document||void 0===document||document.addEventListener("DOMContentLoaded",(()=>{i()}))})(hr);class ur extends Q{}customElements.get("snippyly-plugin")||customElements.define("snippyly-plugin",ur),t.SnippylyPlugin=ur,t.SuperflowToolbar=hr,Object.defineProperty(t,"u",{value:!0})}({});
|