PageSourceSearch

https://dyte-audio.netlify.app/static/js/492.4132dc22.chunk.js

js dyte-audio.netlify.app collected 2026-10-03 10:41:36 UTC 6,674 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[492,5677],{5677:function(e,t,n){n.r(t),n.d(t,{dyte_broadcast_message_modal:function(){return d}});var r=n(5671),o=n(3144),a=n(2304),s=n(5855),i=n(2274),c=n(7622),d=function(){function e(t){(0,r.Z)(this,e),(0,a.r)(this,t),this.stateUpdate=(0,a.c)(this,"dyteStateUpdate",7),this.meeting=void 0,this.states=void 0,this.iconPack=s.d,this.t=(0,c.u)(),this.messagePayload={to:"Everyone",message:""},this.successMessage=!1}return(0,o.Z)(e,[{key:"close",value:function(){var e;null===(e=this.stateUpdate)||void 0===e||e.emit({activeBroadcastMessageModal:!1}),i.s.activeBroadcastMessageModal=!1}},{key:"sendMessage",value:function(){var e=this;this.successMessage=!0,setTimeout((function(){e.close()}),2e3)}},{key:"render",value:function(){var e=this;return(0,a.h)(a.H,null,(0,a.h)("div",{class:"content-col"},(0,a.h)("h2",null,"Broadcast message to"),(0,a.h)("select",{onChange:function(t){e.messagePayload=Object.assign(Object.assign({},e.messagePayload),{to:t.target.value})}},(0,a.h)("option",null,"Everyone"),(0,a.h)("option",null,"List of rooms")),(0,a.h)("textarea",{placeholder:"Type message here...",onInput:function(t){e.messagePayload=Object.assign(Object.assign({},e.messagePayload),{message:t.target.value})}}),this.successMessage?(0,a.h)("p",null,"Message sent to ",this.messagePayload.to,(0,a.h)("dyte-icon",{icon:this.iconPack.checkmark,iconPack:this.iconPack,t:this.t})):(0,a.h)("div",{class:"content-row"},(0,a.h)("dyte-button",{onClick:function(){return e.close()},variant:"secondary",iconPack:this.iconPack,t:this.t},"Cancel"),"\u2002",(0,a.h)("dyte-button",{variant:"primary",onClick:function(){return e.sendMessage()},iconPack:this.iconPack,t:this.t},"Send"))))}}]),e}();d.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-4, 16px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--dyte-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--dyte-colors-text-1000, 255 255 255));width:400px;max-width:80%}.content-col{display:flex;width:100%;flex-direction:column}h2{margin:var(--dyte-space-0, 0px);margin-bottom:var(--dyte-space-2, 8px)}.content-row{display:flex;width:100%;flex-direction:row}.content-row dyte-button{margin-top:var(--dyte-space-4, 16px);width:100%}textarea{margin-top:var(--dyte-space-3, 12px);resize:none;border-radius:var(--dyte-border-radius-sm, 4px);border-width:var(--dyte-border-width-none, 0);border-style:none;font-family:var(--dyte-font-family, sans-serif);outline:2px solid transparent;outline-offset:2px;height:var(--dyte-space-16, 64px);--tw-bg-opacity:1;background-color:rgba(var(--dyte-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--dyte-space-2, 8px);color:rgb(var(--dyte-colors-text-800, 255 255 255 / 0.76))}textarea::-moz-placeholder{color:rgb(var(--dyte-colors-text-600, 255 255 255 / 0.52))}textarea::placeholder{color:rgb(var(--dyte-colors-text-600, 255 255 255 / 0.52))}select{border-radius:var(--dyte-border-radius-sm, 4px);border-width:var(--dyte-border-width-none, 0);border-style:none;padding-top:var(--dyte-space-3, 12px);padding-bottom:var(--dyte-space-3, 12px);padding-left:var(--dyte-space-2, 8px);padding-right:var(--dyte-space-2, 8px);outline:2px solid transparent;outline-offset:2px;border-right-width:var(--dyte-border-width-md, 2px);border-style:solid;border-color:transparent;--tw-bg-opacity:1;background-color:rgba(var(--dyte-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--dyte-colors-text-1000, 255 255 255))}p{margin:var(--dyte-space-0, 0px);margin-top:var(--dyte-space-2, 8px);width:100%;text-align:center;font-size:14px;--tw-text-opacity:1;color:rgba(var(--dyte-colors-brand-300, 73 124 253) / var(--tw-text-opacity));display:flex;flex-direction:row;align-items:center;justify-content:center}p dyte-icon{margin-left:var(--dyte-space-1, 4px);height:var(--dyte-space-5, 20px)}"},2274:function(e,t,n){n.d(t,{o:function(){return l},s:function(){return u}});var r=n(7762),o=n(2304),a=function(e){return!("isConnected"in e)||e.isConnected},s=function(e,t){var n;return function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];n&&clearTimeout(n),n=setTimeout((function(){n=0,e.apply(void 0,o)}),t)}}((function(e){var t,n=(0,r.Z)(e.keys());try{for(n.s();!(t=n.n()).done;){var o=t.value;e.set(o,e.get(o).filter(a))}}catch(s){n.e(s)}finally{n.f()}}),2e3),i=function(e){return"function"===typeof e?e():e},c=function(e,t){var n=e.indexOf(t);n>=0&&(e[n]=e[e.length-1],e.length--)},d=function(e,t){var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,t){return e!==t},n=i(e),r=new Map(Object.entries(null!==n&&void 0!==n?n:{})),o={dispose:[],get:[],set:[],reset:[]},a=function(){var t;r=new Map(Object.entries(null!==(t=i(e))&&void 0!==t?t:{})),o.reset.forEach((function(e){return e()}))},s=function(e){return o.get.forEach((function(t){return t(e)})),r.get(e)},d=function(e,n){var a=r.get(e);t(n,a,e)&&(r.set(e,n),o.set.forEach((function(t){return t(e,n,a)})))},u="undefined"===typeof Proxy?{}:new Proxy(n,{get:function(e,t){return s(t)},ownKeys:function(e){return Array.from(r.keys())},getOwnPropertyDescriptor:function(){return{enumerable:!0,configurable:!0}},has:function(e,t){return r.has(t)},set:function(e,t,n){return d(t,n),!0}}),l=function(e,t){return o[e].push(t),function(){c(o[e],t)}};return{state:u,get:s,set:d,on:l,onChange:function(t,n){var r=l("set",(function(e,r){e===t&&n(r)})),o=l("reset",(function(){return n(i(e)[t])}));return function(){r(),o()}},use:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return t.set&&e.push(l("set",t.set)),t.get&&e.push(l("get",t.get)),t.reset&&e.push(l("reset",t.reset)),t.dispose&&e.push(l("dispose",t.dispose)),e}),[]);return function(){return r.forEach((function(e){return e()}))}},dispose:function(){o.dispose.forEach((function(e){return e()})),a()},reset:a,forceUpdate:function(e){var t=r.get(e);o.set.forEach((function(n){return n(e,t,t)}))}}}(e,t);return n.use(function(){if("function"!==typeof o.a)return{};var e=new Map;return{dispose:function(){return e.clear()},get:function(t){var n=(0,o.a)();n&&function(e,t,n){var r=e.get(t);r?r.includes(n)||r.push(n):e.set(t,[n])}
1(e,t,n)},set:function(t){var n=e.get(t);n&&e.set(t,n.filter(o.f)),s(e)},reset:function(){e.forEach((function(e){return e.forEach(o.f)})),s(e)}}}()),n}({}),u=d.state,l=d.onChange}}]);
2//# sourceMappingURL=492.4132dc22.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.