PageSourceSearch

https://dyte-multi-faces.netlify.app/static/js/7298.82d0d158.chunk.js

js dyte-multi-faces.netlify.app collected 2026-10-03 10:40:36 UTC 6,070 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[7298,8136],{7298:function(t,e,n){n.r(e),n.d(e,{dyte_confirmation_modal:function(){return f}});var r=n(4165),o=n(5861),i=n(5671),a=n(3144),c=n(2304),s=n(7622),u=n(5855),d=n(2274),f=function(){function t(e){var n=this;(0,i.Z)(this,t),(0,c.r)(this,e),this.stateUpdate=(0,c.c)(this,"dyteStateUpdate",7),this.keyPressListener=function(t){"Escape"===t.key&&n.close()},this.close=function(){n.stateUpdate.emit({activeConfirmationModal:{active:!1}}),d.s.activeConfirmationModal={active:!1},n.states.activeConfirmationModal.onClose(n.stateUpdate,d.s,n.meeting)},this.onConfirmation=(0,o.Z)((0,r.Z)().mark((function t(){return(0,r.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n.stateUpdate.emit({activeConfirmationModal:{active:!1}}),d.s.activeConfirmationModal={active:!1},n.states.activeConfirmationModal.onClick(n.stateUpdate,d.s,n.meeting);case 3:case"end":return t.stop()}}),t)}))),this.meeting=void 0,this.states=void 0,this.iconPack=u.d,this.t=(0,s.u)()}return(0,a.Z)(t,[{key:"connectedCallback",value:function(){document.addEventListener("keydown",this.keyPressListener)}},{key:"componentDidLoad",value:function(){}},{key:"disconnectedCallback",value:function(){document.removeEventListener("keydown",this.keyPressListener)}},{key:"render",value:function(){var t,e,n=this,r=this.states.activeConfirmationModal;return(0,c.h)(c.H,null,(0,c.h)("div",{class:"leave-modal"},(0,c.h)("div",{class:"header"},(0,c.h)("h2",{class:"title"},r.header?this.t(r.header):this.t("confirmation_modal.header"))),(0,c.h)("p",{class:"message"},r.content?this.t(r.content):""),(0,c.h)("div",{class:"content"},(0,c.h)("div",{class:"leave-meeting"},(0,c.h)("dyte-button",{variant:"secondary",title:r.cancelText?this.t(r.cancelText):this.t("cancel"),onClick:this.close,iconPack:this.iconPack,t:this.t,class:"br-secondary-btn"},r.cancelText?this.t(r.cancelText):this.t("cancel")),(0,c.h)("dyte-button",{onClick:function(){return n.onConfirmation()},variant:null!==(e=null===(t=this.states.activeConfirmationModal)||void 0===t?void 0:t.variant)&&void 0!==e?e:"danger",title:r.ctaText?this.t(r.ctaText):this.t("yes"),iconPack:this.iconPack,t:this.t},r.ctaText?this.t(r.ctaText):this.t("yes"))))))}}]),t}();f.style=":host{line-height:initial;font-family:var(--dyte-font-family, sans-serif);position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--dyte-border-radius-md, 8px);padding:var(--dyte-space-8, 32px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--dyte-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--dyte-colors-text-1000, 255 255 255));width:400px;max-width:80%}.leave-modal{width:100%;color:rgb(var(--dyte-colors-text-1000, 255 255 255))}.leave-modal .header h2{margin:var(--dyte-space-0, 0px)}.leave-modal .content{font-size:14px}.leave-message p{margin-top:var(--dyte-space-3, 12px);margin-bottom:var(--dyte-space-3, 12px)}.leave-meeting{display:flex;flex-direction:row;justify-content:space-between;gap:var(--dyte-space-4, 16px)}.leave-meeting dyte-button{color:rgb(var(--dyte-colors-text-1000, 255 255 255));flex:1 1 0%}.end-meeting{margin-top:var(--dyte-space-2, 8px)}.br-secondary-btn{--tw-bg-opacity:1;background-color:rgba(var(--dyte-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.br-secondary-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--dyte-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}"},2274:function(t,e,n){n.d(e,{o:function(){return f},s:function(){return d}});var r=n(7762),o=n(2304),i=function(t){return!("isConnected"in t)||t.isConnected},a=function(t,e){var n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];n&&clearTimeout(n),n=setTimeout((function(){n=0,t.apply(void 0,o)}),e)}}((function(t){var e,n=(0,r.Z)(t.keys());try{for(n.s();!(e=n.n()).done;){var o=e.value;t.set(o,t.get(o).filter(i))}}catch(a){n.e(a)}finally{n.f()}}),2e3),c=function(t){return"function"===typeof t?t():t},s=function(t,e){var n=t.indexOf(e);n>=0&&(t[n]=t[t.length-1],t.length--)},u=function(t,e){var n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(t,e){return t!==e},n=c(t),r=new Map(Object.entries(null!==n&&void 0!==n?n:{})),o={dispose:[],get:[],set:[],reset:[]},i=function(){var e;r=new Map(Object.entries(null!==(e=c(t))&&void 0!==e?e:{})),o.reset.forEach((function(t){return t()}))},a=function(t){return o.get.forEach((function(e){return e(t)})),r.get(t)},u=function(t,n){var i=r.get(t);e(n,i,t)&&(r.set(t,n),o.set.forEach((function(e){return e(t,n,i)})))},d="undefined"===typeof Proxy?{}:new Proxy(n,{get:function(t,e){return a(e)},ownKeys:function(t){return Array.from(r.keys())},getOwnPropertyDescriptor:function(){return{enumerable:!0,configurable:!0}},has:function(t,e){return r.has(e)},set:function(t,e,n){return u(e,n),!0}}),f=function(t,e){return o[t].push(e),function(){s(o[t],e)}};return{state:d,get:a,set:u,on:f,onChange:function(e,n){var r=f("set",(function(t,r){t===e&&n(r)})),o=f("reset",(function(){return n(c(t)[e])}));return function(){r(),o()}},use:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.reduce((function(t,e){return e.set&&t.push(f("set",e.set)),e.get&&t.push(f("get",e.get)),e.reset&&t.push(f("reset",e.reset)),e.dispose&&t.push(f("dispose",e.dispose)),t}),[]);return function(){return r.forEach((function(t){return t()}))}},dispose:function(){o.dispose.forEach((function(t){return t()})),i()},reset:i,forceUpdate:function(t){var e=r.get(t);o.set.forEach((function(n){return n(t,e,e)}))}}}(t,e);return n.use(function(){if("function"!==typeof o.a)return{};var t=new Map;return{dispose:function(){return t.clear()},get:function(e){var n=(0,o.a)();n&&function(t,e,n){var r=t.get(e);r?r.includes(n)||r.push(n):t.set(e,[n])}(t,e,n)},set:function(e){var n=t.get(e);n&&t.set(e,n.filter(o.f)),a(t)},reset:function(){t.forEach((function(t){return t.forEach(o.f)})),a(t)}}}()),n}({}),d=u.state,f=u.onChange}}]);
2//# sourceMappingURL=7298.82d0d158.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.