@htmlbricks/hb-matrix-video 0.20.10 → 0.20.12
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 +2 -2
- package/release/manifest.json +1 -1
- package/release/release.js +1 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@htmlbricks/hb-matrix-video",
|
|
3
3
|
"displayName": "Svelte-Bootstrap matrix-video",
|
|
4
4
|
"description": "Svelte-Bootstrap matrix-video",
|
|
5
|
-
"version": "0.20.
|
|
5
|
+
"version": "0.20.12",
|
|
6
6
|
"main": "release/release.js",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"webcomponents"
|
|
76
76
|
],
|
|
77
77
|
"contributors": [],
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "89b7167e53c12fd897008a70ab8dc3380796a8dc",
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"style-to-object": "^0.3.0"
|
|
81
81
|
}
|
package/release/manifest.json
CHANGED
package/release/release.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var release=function(){"use strict";function t(){}function e(t){return t()}function n(){return Object.create(null)}function o(t){t.forEach(e)}function r(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let s;function a(t,e){return s||(s=document.createElement("a")),s.href=e,t===s.href}const l="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function c(t,e){t.appendChild(e)}function u(t,e,n){t.insertBefore(e,n||null)}function d(t){t.parentNode&&t.parentNode.removeChild(t)}function f(t){return document.createElement(t)}function g(t){return document.createTextNode(t)}function p(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function h(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function m(t,e,n,o){null==n?t.style.removeProperty(e):t.style.setProperty(e,n,o?"important":"")}function b(t){const e={};for(const n of t)e[n.name]=n.value;return e}let v;function y(t){v=t}function w(){if(!v)throw new Error("Function called outside component initialization");return v}function $(){const t=w();return(e,n,{cancelable:o=!1}={})=>{const r=t.$$.callbacks[e];if(r){const i=function(t,e,{bubbles:n=!1,cancelable:o=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n,o,e),r}(e,n,{cancelable:o});return r.slice().forEach((e=>{e.call(t,i)})),!i.defaultPrevented}return!0}}const x=[],E=[];let k=[];const _=[],C=Promise.resolve();let L=!1;function N(t){k.push(t)}const S=new Set;let T=0;function M(){if(0!==T)return;const t=v;do{try{for(;T<x.length;){const t=x[T];T++,y(t),j(t.$$)}}catch(t){throw x.length=0,T=0,t}for(y(null),x.length=0,T=0;E.length;)E.pop()();for(let t=0;t<k.length;t+=1){const e=k[t];S.has(e)||(S.add(e),e())}k.length=0}while(x.length);for(;_.length;)_.pop()();L=!1,S.clear(),y(t)}function j(t){if(null!==t.fragment){t.update(),o(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(N)}}const A=new Set;function D(t,e){t&&t.i&&(A.delete(t),t.i(e))}function I(t,e){t.d(1),e.delete(t.key)}function O(t,e,n,r,i,s,a,l,c,u,d,f){let g=t.length,p=s.length,h=g;const m={};for(;h--;)m[t[h].key]=h;const b=[],v=new Map,y=new Map,w=[];for(h=p;h--;){const t=f(i,s,h),o=n(t);let l=a.get(o);l?r&&w.push((()=>l.p(t,e))):(l=u(o,t),l.c()),v.set(o,b[h]=l),o in m&&y.set(o,Math.abs(h-m[o]))}const $=new Set,x=new Set;function E(t){D(t,1),t.m(l,d),a.set(t.key,t),d=t.first,p--}for(;g&&p;){const e=b[p-1],n=t[g-1],o=e.key,r=n.key;e===n?(d=e.first,g--,p--):v.has(r)?!a.has(o)||$.has(o)?E(e):x.has(r)?g--:y.get(o)>y.get(r)?(x.add(o),E(e)):($.add(r),g--):(c(n,a),g--)}for(;g--;){const e=t[g];v.has(e.key)||c(e,a)}for(;p;)E(b[p-1]);return o(w),b}function P(t,e){const n=t.$$;null!==n.fragment&&(!function(t){const e=[],n=[];k.forEach((o=>-1===t.indexOf(o)?e.push(o):n.push(o))),n.forEach((t=>t())),k=e}(n.after_update),o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function R(t,e){-1===t.$$.dirty[0]&&(x.push(t),L||(L=!0,C.then(M)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function W(i,s,a,l,c,u,f,g=[-1]){const p=v;y(i);const h=i.$$={fragment:null,ctx:[],props:u,update:t,not_equal:c,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(p?p.$$.context:[])),callbacks:n(),dirty:g,skip_bound:!1,root:s.target||p.$$.root};f&&f(h.root);let m=!1;if(h.ctx=a?a(i,s.props||{},((t,e,...n)=>{const o=n.length?n[0]:e;return h.ctx&&c(h.ctx[t],h.ctx[t]=o)&&(!h.skip_bound&&h.bound[t]&&h.bound[t](o),m&&R(i,t)),e})):[],h.update(),m=!0,o(h.before_update),h.fragment=!!l&&l(h.ctx),s.target){if(s.hydrate){const t=function(t){return Array.from(t.childNodes)}(s.target);h.fragment&&h.fragment.l(t),t.forEach(d)}else h.fragment&&h.fragment.c();s.intro&&D(i.$$.fragment),function(t,n,i,s){const{fragment:a,after_update:l}=t.$$;a&&a.m(n,i),s||N((()=>{const n=t.$$.on_mount.map(e).filter(r);t.$$.on_destroy?t.$$.on_destroy.push(...n):o(n),t.$$.on_mount=[]})),l.forEach(N)}(i,s.target,s.anchor,s.customElement),M()}y(p)}let z;"function"==typeof HTMLElement&&(z=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(r);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}disconnectedCallback(){o(this.$$.on_disconnect)}$destroy(){P(this,1),this.$destroy=t}$on(e,n){if(!r(n))return t;const o=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return o.push(n),()=>{const t=o.indexOf(n);-1!==t&&o.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var H="0.20.10";function B(t,e,n){var o,r,i,s,a;function l(){var c=Date.now()-s;c<e&&c>=0?o=setTimeout(l,e-c):(o=null,n||(a=t.apply(i,r),i=r=null))}null==e&&(e=100);var c=function(){i=this,r=arguments,s=Date.now();var c=n&&!o;return o||(o=setTimeout(l,e)),c&&(a=t.apply(i,r),i=r=null),a};return c.clear=function(){o&&(clearTimeout(o),o=null)},c.flush=function(){o&&(a=t.apply(i,r),i=r=null,clearTimeout(o),o=null)},c}B.debounce=B;var F=B,U=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,q=/\n/g,J=/^\s*/,K=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,V=/^:\s*/,Y=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,G=/^[;\s]*/,Q=/^\s+|\s+$/g,X="";function Z(t){return t?t.replace(Q,X):X}var tt=function(t,e){var n,o=null;if(!t||"string"!=typeof t)return o;for(var r,i,s=function(t,e){if("string"!=typeof t)throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var n=1,o=1;function r(t){var e=t.match(q);e&&(n+=e.length);var r=t.lastIndexOf("\n");o=~r?t.length-r:o+t.length}function i(){var t={line:n,column:o};return function(e){return e.position=new s(t),c(),e}}function s(t){this.start=t,this.end={line:n,column:o},this.source=e.source}function a(r){var i=new Error(e.source+":"+n+":"+o+": "+r);if(i.reason=r,i.filename=e.source,i.line=n,i.column=o,i.source=t,!e.silent)throw i}function l(e){var n=e.exec(t);if(n){var o=n[0];return r(o),t=t.slice(o.length),n}}function c(){l(J)}function u(t){var e;for(t=t||[];e=d();)!1!==e&&t.push(e);return t}function d(){var e=i();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var n=2;X!=t.charAt(n)&&("*"!=t.charAt(n)||"/"!=t.charAt(n+1));)++n;if(n+=2,X===t.charAt(n-1))return a("End of comment missing");var s=t.slice(2,n-2);return o+=2,r(s),t=t.slice(n),o+=2,e({type:"comment",comment:s})}}function f(){var t=i(),e=l(K);if(e){if(d(),!l(V))return a("property missing ':'");var n=l(Y),o=t({type:"declaration",property:Z(e[0].replace(U,X)),value:n?Z(n[0].replace(U,X)):X});return l(G),o}}return s.prototype.content=t,c(),function(){var t,e=[];for(u(e);t=f();)!1!==t&&(e.push(t),u(e));return e}()}(t),a="function"==typeof e,l=0,c=s.length;l<c;l++)r=(n=s[l]).property,i=n.value,a?e(r,i,n):i&&(o||(o={}),o[r]=i);return o};var et,nt=(function(t,e){e.__esModule=!0,e.LanguageTranslator=e.addComponent=e.getChildStyleToPass=void 0,e.getChildStyleToPass=function(t,e){var n,o,r="";if(t&&(null==e?void 0:e.length)&&(null===(n=Object.keys(t))||void 0===n?void 0:n.length)&&(null===(o=null==e?void 0:e.filter((function(e){return Object.keys(t).includes(e.name)})))||void 0===o?void 0:o.length))for(var i=function(n){(null==e?void 0:e.filter((function(e){return e.name===n&&e.defaultValue!==t[n]})))&&(r+="".concat(n,":").concat(t[n],";"))},s=0,a=Object.keys(t);s<a.length;s++)i(a[s]);return r},e.addComponent=function(t){var e,n=(null===(e=null==t?void 0:t.repoName.split("/"))||void 0===e?void 0:e[1])||(null==t?void 0:t.repoName);if(!n)throw new Error("wrong componentPath "+(null==t?void 0:t.repoName));if(!(null==t?void 0:t.version))throw new Error("wrong version "+(null==t?void 0:t.version));var o=(null==t?void 0:t.iifePath)||"release/release.js";if(!document.getElementById(n+"-script"))try{var r=document.createElement("script");r.id=n+"-script",r.src="https://cdn.jsdelivr.net/npm/".concat(t.repoName,"@").concat(t.version,"/").concat(o),(null==t?void 0:t.local)&&location.href.includes("localhost")&&(r.src="".concat(t.local)),document.head.appendChild(r)}catch(t){console.warn(t)}};var n=function(){function t(t){if(!(null==t?void 0:t.dictionary))throw new Error("no dictionary provided");this.dictionary=t.dictionary,this.setLang(null==t?void 0:t.lang)}return t.prototype.setLang=function(e){e||(e=t.getDefaultLang()),this.lang=e},t.prototype.translateWord=function(e,n){return t.getDictionaryWord(e,this.dictionary,n||this.lang)},t.prototype.translateDate=function(e,n,o){return t.formatDate(e,n,o||this.lang)},t.getDefaultLang=function(){var t,e,n,o,r,i="en";return(null===navigator||void 0===navigator?void 0:navigator.languages)&&(null===(n=null===(e=null===(t=navigator.languages[0])||void 0===t?void 0:t.split("-")[0])||void 0===e?void 0:e.toLowerCase())||void 0===n?void 0:n.length)&&(i=null===(r=null===(o=navigator.languages[0])||void 0===o?void 0:o.split("-")[0])||void 0===r?void 0:r.toLowerCase()),i},t.getDictionaryWord=function(e,n,o){var r;if(!e)throw new Error("no wordKey provided");if(!n)throw new Error("no dictionary provided");if(o&&(null===(r=n[o])||void 0===r?void 0:r[e]))return n[o][e];var i="",s=t.getDefaultLang();if(!o||s!==o){var a=null==n?void 0:n[s];(null==a?void 0:a[e])&&(i=a[e])}return i},t.formatDate=function(e,n,o){if(!e)throw new Error("no date provided");if("function"!=typeof e.getMonth)throw new Error("wrong date format");return new Intl.DateTimeFormat(o||t.getDefaultLang(),n).format(e)},t}();e.LanguageTranslator=n}(et={exports:{}},et.exports),et.exports),ot={vars:[],parts:[{name:"container",description:""},{name:"replacewithtext",description:""},{name:"video",description:""}]};const{window:rt}=l;function it(t,e,n){const o=t.slice();return o[23]=e[n],o}function st(t,e,n){const o=t.slice();return o[26]=e[n],o}function at(t){let e,n=[],o=new Map,r=t[1];const i=t=>t[23].row;for(let e=0;e<r.length;e+=1){let s=it(t,r,e),a=i(s);o.set(a,n[e]=dt(a,s))}return{c(){for(let t=0;t<n.length;t+=1)n[t].c();e=g("")},m(t,o){for(let e=0;e<n.length;e+=1)n[e]&&n[e].m(t,o);u(t,e,o)},p(t,s){26&s&&(r=t[1],n=O(n,s,i,1,t,r,o,e.parentNode,I,dt,e,it))},d(t){for(let e=0;e<n.length;e+=1)n[e].d(t);t&&d(e)}}}function lt(t){let e,n,o,r,i;return{c(){e=f("video"),n=f("source"),i=g("\n\t\t\t\t\t\t\t\tYour browser does not support the video tag."),h(n,"title",o=t[26].title),a(n.src,r=t[26].uri)||h(n,"src",r),h(n,"type","video/mp4"),e.controls=!0},m(t,o){u(t,e,o),c(e,n),c(e,i)},p(t,e){2&e&&o!==(o=t[26].title)&&h(n,"title",o),2&e&&!a(n.src,r=t[26].uri)&&h(n,"src",r)},d(t){t&&d(e)}}}function ct(t){let e,n,o,r,i;return{c(){e=f("iframe"),h(e,"title",n=t[26].title),a(e.src,o=t[26].uri)||h(e,"src",o)},m(n,o){u(n,e,o),r||(i=p(e,"load",t[8]),r=!0)},p(t,r){2&r&&n!==(n=t[26].title)&&h(e,"title",n),2&r&&!a(e.src,o=t[26].uri)&&h(e,"src",o)},d(t){t&&d(e),r=!1,i()}}}function ut(t,e){let n,r,i,s;function a(t,e){return"iframe"===t[26].type?ct:"video"===t[26].type?lt:void 0}let l=a(e),c=l&&l(e);function g(...t){return e[10](e[26],...t)}return{key:t,first:null,c(){n=f("div"),c&&c.c(),h(n,"class","col"),m(n,"padding-right","0px"),m(n,"padding-left","0px"),m(n,"--bs-gutter-x","0px"),h(n,"id",r="select_"+e[26].id),this.first=n},m(t,o){u(t,n,o),c&&c.m(n,null),i||(s=[p(n,"mouseleave",e[9]),p(n,"mouseenter",g)],i=!0)},p(t,o){l===(l=a(e=t))&&c?c.p(e,o):(c&&c.d(1),c=l&&l(e),c&&(c.c(),c.m(n,null))),2&o&&r!==(r="select_"+e[26].id)&&h(n,"id",r)},d(t){t&&d(n),c&&c.d(),i=!1,o(s)}}}function dt(t,e){let n,o,r=[],i=new Map,s=e[23].items;const a=t=>t[26].id;for(let t=0;t<s.length;t+=1){let n=st(e,s,t),o=a(n);i.set(o,r[t]=ut(o,n))}return{key:t,first:null,c(){n=f("div");for(let t=0;t<r.length;t+=1)r[t].c();o=g(" "),h(n,"class","row"),this.first=n},m(t,e){u(t,n,e);for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(n,null);c(n,o)},p(t,l){e=t,26&l&&(s=e[23].items,r=O(r,l,a,1,e,s,i,n,I,ut,o,st))},d(t){t&&d(n);for(let t=0;t<r.length;t+=1)r[t].d()}}}function ft(e){let n,o,r,i=e[0]&&"object"==typeof e[0]&&at(e);return{c(){n=f("div"),i&&i.c(),this.c=t,h(n,"id","matrix")},m(t,s){u(t,n,s),i&&i.m(n,null),o||(r=p(rt,"resize",F(e[2],200)),o=!0)},p(t,[e]){t[0]&&"object"==typeof t[0]?i?i.p(t,e):(i=at(t),i.c(),i.m(n,null)):i&&(i.d(1),i=null)},i:t,o:t,d(t){t&&d(n),i&&i.d(),o=!1,r()}}}function gt(t,e,n){const o=w(),r=$();function i(t,e){r(t,e),o.dispatchEvent&&o.dispatchEvent(new CustomEvent(t,{detail:e}))}let s,a,l,c,u,d,f,{id:g}=e,{style:p}=e,{items:h}=e,m=[];function b(){if(l&&a&&c){const t=16/9,e=l/a;let o,r;if(1===h.length)o=1,r=1;else if(l<450)r=1,o=h.length;else if(2===h.length)e>t?(o=1,r=2):(o=2,r=1);else if(e>t){let e=1/0;for(let n=1;n<=h.length;n++){const i=Math.ceil(h.length/n),s=a/n*t*i;if(s<=l){const t=l-s;t<e&&(e=t,o=n,r=i)}}}else{let e=1/0;for(let n=1;n<=h.length;n++){const i=Math.ceil(h.length/n),s=l/n/t*i;if(s<=a){const t=a-s;t<e&&(e=t,r=n,o=i)}}}if(u=o,d=r,u&&d){const t=[];for(let e=0;e<u;e++)for(let n=0;n<d;n++){const o=h[e*d+n];o&&(t[e]||(t[e]={row:e,items:[]}),t[e].items[n]=o)}n(1,m=t),console.log(m,u,d,"drawItems")}}}function v(){var t,e,n;if(window.innerWidth&&window.innerHeight){const r=null===(t=null==o?void 0:o.shadowRoot)||void 0===t?void 0:t.getElementById("matrix");(null==r?void 0:r.style)&&(a=window.innerHeight-(null===(n=null===(e=null==o?void 0:o.shadowRoot)||void 0===e?void 0:e.getElementById("matrix"))||void 0===n?void 0:n.offsetTop),l=Number(r.clientWidth),c=l>a?"landscape":"portrait",r.style.height=a+"px",console.log(`setSize w:${l} h:${a}`),b())}}function y(t){f=t,i("hoverItem",{id:t,selected:!!f})}function x(t){var e;const n=t;try{null===(e=n.contentWindow)||void 0===e||e.document.addEventListener("click",(()=>{f?i("clickItem",{id:f}):console.info("No video selected")}))}catch(t){console.warn("error adding click event to iframe",t)}}nt.addComponent({repoName:"@htmlbricks/hb-player-live",version:H}),function(t){w().$$.on_mount.push(t)}((()=>{v()}));return t.$$set=t=>{"id"in t&&n(5,g=t.id),"style"in t&&n(6,p=t.style),"items"in t&&n(0,h=t.items)},t.$$.update=()=>{if(225&t.$$.dirty&&(g||n(5,g=""),p&&(n(7,s=tt(p)),nt.getChildStyleToPass(s,null==ot?void 0:ot.vars)),"string"==typeof h))try{n(0,h=JSON.parse(h)),b()}catch(t){console.error("error parsing items",t)}},[h,m,v,y,x,g,p,s,t=>x(t.target),t=>y(),(t,e)=>y(t.id)]}class pt extends z{constructor(t){super();const e=document.createElement("style");e.textContent='@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host{font-family:"Roboto", sans-serif;width:100%;display:block;background-color:black}#matrix{display:grid;gap:5px;overflow:hidden}.col{margin:5px}.row{margin-top:5px !important;margin-left:5px !important;margin-right:5px !important}iframe{border:none;width:100%;height:100%;margin:0px;padding:0px}:host{--bs-blue:var(--bs-primary,#07689f);--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:var(--bs-danger,#f67280);--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:var(--bs-warning,#ffc107);--bs-teal:#20c997;--bs-cyan:var(--bs-info,#a2d5f2);--bs-white:#fff;--bs-gray:var(--bs-secondary,#c9d6df);--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:var(--bs-secondary,#c9d6df);--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:var(--bs-primary,#07689f);--bs-secondary:var(--bs-secondary,#c9d6df);--bs-success:var(--bs-warning,#ffc107);--bs-info:var(--bs-info,#a2d5f2);--bs-warning:#ffc107;--bs-danger:var(--bs-danger,#f67280);--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13, 110, 253;--bs-secondary-rgb:108, 117, 125;--bs-success-rgb:25, 135, 84;--bs-info-rgb:13, 202, 240;--bs-warning-rgb:255, 193, 7;--bs-danger-rgb:220, 53, 69;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:33, 37, 41;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-body-color-rgb:33, 37, 41;--bs-body-bg-rgb:255, 255, 255;--bs-font-sans-serif:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-0.5 * var(--bs-gutter-x));margin-left:calc(-0.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * 0.5);padding-left:calc(var(--bs-gutter-x) * 0.5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}@media(min-width: 576px){}@media(min-width: 768px){}@media(min-width: 992px){}@media(min-width: 1200px){}@media(min-width: 1400px){}',this.shadowRoot.appendChild(e),W(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},gt,ft,i,{id:5,style:6,items:0},null),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),M()))}static get observedAttributes(){return["id","style","items"]}get id(){return this.$$.ctx[5]}set id(t){this.$$set({id:t}),M()}get style(){return this.$$.ctx[6]}set style(t){this.$$set({style:t}),M()}get items(){return this.$$.ctx[0]}set items(t){this.$$set({items:t}),M()}}return customElements.define("hb-matrix-video",pt),pt}();
|
|
1
|
+
var release=function(){"use strict";function t(){}function e(t){return t()}function n(){return Object.create(null)}function o(t){t.forEach(e)}function r(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let s;function a(t,e){return s||(s=document.createElement("a")),s.href=e,t===s.href}const l="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function c(t,e){t.appendChild(e)}function u(t,e,n){t.insertBefore(e,n||null)}function d(t){t.parentNode&&t.parentNode.removeChild(t)}function f(t){return document.createElement(t)}function g(t){return document.createTextNode(t)}function p(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function h(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function m(t,e,n,o){null==n?t.style.removeProperty(e):t.style.setProperty(e,n,o?"important":"")}function b(t){const e={};for(const n of t)e[n.name]=n.value;return e}let v;function y(t){v=t}function w(){if(!v)throw new Error("Function called outside component initialization");return v}function $(){const t=w();return(e,n,{cancelable:o=!1}={})=>{const r=t.$$.callbacks[e];if(r){const i=function(t,e,{bubbles:n=!1,cancelable:o=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n,o,e),r}(e,n,{cancelable:o});return r.slice().forEach((e=>{e.call(t,i)})),!i.defaultPrevented}return!0}}const x=[],E=[];let k=[];const _=[],C=Promise.resolve();let L=!1;function N(t){k.push(t)}const S=new Set;let T=0;function M(){if(0!==T)return;const t=v;do{try{for(;T<x.length;){const t=x[T];T++,y(t),j(t.$$)}}catch(t){throw x.length=0,T=0,t}for(y(null),x.length=0,T=0;E.length;)E.pop()();for(let t=0;t<k.length;t+=1){const e=k[t];S.has(e)||(S.add(e),e())}k.length=0}while(x.length);for(;_.length;)_.pop()();L=!1,S.clear(),y(t)}function j(t){if(null!==t.fragment){t.update(),o(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(N)}}const A=new Set;function D(t,e){t&&t.i&&(A.delete(t),t.i(e))}function I(t,e){t.d(1),e.delete(t.key)}function O(t,e,n,r,i,s,a,l,c,u,d,f){let g=t.length,p=s.length,h=g;const m={};for(;h--;)m[t[h].key]=h;const b=[],v=new Map,y=new Map,w=[];for(h=p;h--;){const t=f(i,s,h),o=n(t);let l=a.get(o);l?r&&w.push((()=>l.p(t,e))):(l=u(o,t),l.c()),v.set(o,b[h]=l),o in m&&y.set(o,Math.abs(h-m[o]))}const $=new Set,x=new Set;function E(t){D(t,1),t.m(l,d),a.set(t.key,t),d=t.first,p--}for(;g&&p;){const e=b[p-1],n=t[g-1],o=e.key,r=n.key;e===n?(d=e.first,g--,p--):v.has(r)?!a.has(o)||$.has(o)?E(e):x.has(r)?g--:y.get(o)>y.get(r)?(x.add(o),E(e)):($.add(r),g--):(c(n,a),g--)}for(;g--;){const e=t[g];v.has(e.key)||c(e,a)}for(;p;)E(b[p-1]);return o(w),b}function P(t,e){const n=t.$$;null!==n.fragment&&(!function(t){const e=[],n=[];k.forEach((o=>-1===t.indexOf(o)?e.push(o):n.push(o))),n.forEach((t=>t())),k=e}(n.after_update),o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function R(t,e){-1===t.$$.dirty[0]&&(x.push(t),L||(L=!0,C.then(M)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function W(i,s,a,l,c,u,f,g=[-1]){const p=v;y(i);const h=i.$$={fragment:null,ctx:[],props:u,update:t,not_equal:c,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(p?p.$$.context:[])),callbacks:n(),dirty:g,skip_bound:!1,root:s.target||p.$$.root};f&&f(h.root);let m=!1;if(h.ctx=a?a(i,s.props||{},((t,e,...n)=>{const o=n.length?n[0]:e;return h.ctx&&c(h.ctx[t],h.ctx[t]=o)&&(!h.skip_bound&&h.bound[t]&&h.bound[t](o),m&&R(i,t)),e})):[],h.update(),m=!0,o(h.before_update),h.fragment=!!l&&l(h.ctx),s.target){if(s.hydrate){const t=function(t){return Array.from(t.childNodes)}(s.target);h.fragment&&h.fragment.l(t),t.forEach(d)}else h.fragment&&h.fragment.c();s.intro&&D(i.$$.fragment),function(t,n,i,s){const{fragment:a,after_update:l}=t.$$;a&&a.m(n,i),s||N((()=>{const n=t.$$.on_mount.map(e).filter(r);t.$$.on_destroy?t.$$.on_destroy.push(...n):o(n),t.$$.on_mount=[]})),l.forEach(N)}(i,s.target,s.anchor,s.customElement),M()}y(p)}let z;"function"==typeof HTMLElement&&(z=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(r);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}disconnectedCallback(){o(this.$$.on_disconnect)}$destroy(){P(this,1),this.$destroy=t}$on(e,n){if(!r(n))return t;const o=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return o.push(n),()=>{const t=o.indexOf(n);-1!==t&&o.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var H="0.20.12";function B(t,e,n){var o,r,i,s,a;function l(){var c=Date.now()-s;c<e&&c>=0?o=setTimeout(l,e-c):(o=null,n||(a=t.apply(i,r),i=r=null))}null==e&&(e=100);var c=function(){i=this,r=arguments,s=Date.now();var c=n&&!o;return o||(o=setTimeout(l,e)),c&&(a=t.apply(i,r),i=r=null),a};return c.clear=function(){o&&(clearTimeout(o),o=null)},c.flush=function(){o&&(a=t.apply(i,r),i=r=null,clearTimeout(o),o=null)},c}B.debounce=B;var F=B,U=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,q=/\n/g,J=/^\s*/,K=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,V=/^:\s*/,Y=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,G=/^[;\s]*/,Q=/^\s+|\s+$/g,X="";function Z(t){return t?t.replace(Q,X):X}var tt=function(t,e){var n,o=null;if(!t||"string"!=typeof t)return o;for(var r,i,s=function(t,e){if("string"!=typeof t)throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var n=1,o=1;function r(t){var e=t.match(q);e&&(n+=e.length);var r=t.lastIndexOf("\n");o=~r?t.length-r:o+t.length}function i(){var t={line:n,column:o};return function(e){return e.position=new s(t),c(),e}}function s(t){this.start=t,this.end={line:n,column:o},this.source=e.source}function a(r){var i=new Error(e.source+":"+n+":"+o+": "+r);if(i.reason=r,i.filename=e.source,i.line=n,i.column=o,i.source=t,!e.silent)throw i}function l(e){var n=e.exec(t);if(n){var o=n[0];return r(o),t=t.slice(o.length),n}}function c(){l(J)}function u(t){var e;for(t=t||[];e=d();)!1!==e&&t.push(e);return t}function d(){var e=i();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var n=2;X!=t.charAt(n)&&("*"!=t.charAt(n)||"/"!=t.charAt(n+1));)++n;if(n+=2,X===t.charAt(n-1))return a("End of comment missing");var s=t.slice(2,n-2);return o+=2,r(s),t=t.slice(n),o+=2,e({type:"comment",comment:s})}}function f(){var t=i(),e=l(K);if(e){if(d(),!l(V))return a("property missing ':'");var n=l(Y),o=t({type:"declaration",property:Z(e[0].replace(U,X)),value:n?Z(n[0].replace(U,X)):X});return l(G),o}}return s.prototype.content=t,c(),function(){var t,e=[];for(u(e);t=f();)!1!==t&&(e.push(t),u(e));return e}()}(t),a="function"==typeof e,l=0,c=s.length;l<c;l++)r=(n=s[l]).property,i=n.value,a?e(r,i,n):i&&(o||(o={}),o[r]=i);return o};var et,nt=(function(t,e){e.__esModule=!0,e.LanguageTranslator=e.addComponent=e.getChildStyleToPass=void 0,e.getChildStyleToPass=function(t,e){var n,o,r="";if(t&&(null==e?void 0:e.length)&&(null===(n=Object.keys(t))||void 0===n?void 0:n.length)&&(null===(o=null==e?void 0:e.filter((function(e){return Object.keys(t).includes(e.name)})))||void 0===o?void 0:o.length))for(var i=function(n){(null==e?void 0:e.filter((function(e){return e.name===n&&e.defaultValue!==t[n]})))&&(r+="".concat(n,":").concat(t[n],";"))},s=0,a=Object.keys(t);s<a.length;s++)i(a[s]);return r},e.addComponent=function(t){var e,n=(null===(e=null==t?void 0:t.repoName.split("/"))||void 0===e?void 0:e[1])||(null==t?void 0:t.repoName);if(!n)throw new Error("wrong componentPath "+(null==t?void 0:t.repoName));if(!(null==t?void 0:t.version))throw new Error("wrong version "+(null==t?void 0:t.version));var o=(null==t?void 0:t.iifePath)||"release/release.js";if(!document.getElementById(n+"-script"))try{var r=document.createElement("script");r.id=n+"-script",r.src="https://cdn.jsdelivr.net/npm/".concat(t.repoName,"@").concat(t.version,"/").concat(o),(null==t?void 0:t.local)&&location.href.includes("localhost")&&(r.src="".concat(t.local)),document.head.appendChild(r)}catch(t){console.warn(t)}};var n=function(){function t(t){if(!(null==t?void 0:t.dictionary))throw new Error("no dictionary provided");this.dictionary=t.dictionary,this.setLang(null==t?void 0:t.lang)}return t.prototype.setLang=function(e){e||(e=t.getDefaultLang()),this.lang=e},t.prototype.translateWord=function(e,n){return t.getDictionaryWord(e,this.dictionary,n||this.lang)},t.prototype.translateDate=function(e,n,o){return t.formatDate(e,n,o||this.lang)},t.getDefaultLang=function(){var t,e,n,o,r,i="en";return(null===navigator||void 0===navigator?void 0:navigator.languages)&&(null===(n=null===(e=null===(t=navigator.languages[0])||void 0===t?void 0:t.split("-")[0])||void 0===e?void 0:e.toLowerCase())||void 0===n?void 0:n.length)&&(i=null===(r=null===(o=navigator.languages[0])||void 0===o?void 0:o.split("-")[0])||void 0===r?void 0:r.toLowerCase()),i},t.getDictionaryWord=function(e,n,o){var r;if(!e)throw new Error("no wordKey provided");if(!n)throw new Error("no dictionary provided");if(o&&(null===(r=n[o])||void 0===r?void 0:r[e]))return n[o][e];var i="",s=t.getDefaultLang();if(!o||s!==o){var a=null==n?void 0:n[s];(null==a?void 0:a[e])&&(i=a[e])}return i},t.formatDate=function(e,n,o){if(!e)throw new Error("no date provided");if("function"!=typeof e.getMonth)throw new Error("wrong date format");return new Intl.DateTimeFormat(o||t.getDefaultLang(),n).format(e)},t}();e.LanguageTranslator=n}(et={exports:{}},et.exports),et.exports),ot={vars:[],parts:[{name:"container",description:""},{name:"replacewithtext",description:""},{name:"video",description:""}]};const{window:rt}=l;function it(t,e,n){const o=t.slice();return o[23]=e[n],o}function st(t,e,n){const o=t.slice();return o[26]=e[n],o}function at(t){let e,n=[],o=new Map,r=t[1];const i=t=>t[23].row;for(let e=0;e<r.length;e+=1){let s=it(t,r,e),a=i(s);o.set(a,n[e]=dt(a,s))}return{c(){for(let t=0;t<n.length;t+=1)n[t].c();e=g("")},m(t,o){for(let e=0;e<n.length;e+=1)n[e]&&n[e].m(t,o);u(t,e,o)},p(t,s){26&s&&(r=t[1],n=O(n,s,i,1,t,r,o,e.parentNode,I,dt,e,it))},d(t){for(let e=0;e<n.length;e+=1)n[e].d(t);t&&d(e)}}}function lt(t){let e,n,o,r,i;return{c(){e=f("video"),n=f("source"),i=g("\n\t\t\t\t\t\t\t\tYour browser does not support the video tag."),h(n,"title",o=t[26].title),a(n.src,r=t[26].uri)||h(n,"src",r),h(n,"type","video/mp4"),e.controls=!0},m(t,o){u(t,e,o),c(e,n),c(e,i)},p(t,e){2&e&&o!==(o=t[26].title)&&h(n,"title",o),2&e&&!a(n.src,r=t[26].uri)&&h(n,"src",r)},d(t){t&&d(e)}}}function ct(t){let e,n,o,r,i;return{c(){e=f("iframe"),h(e,"title",n=t[26].title),a(e.src,o=t[26].uri)||h(e,"src",o)},m(n,o){u(n,e,o),r||(i=p(e,"load",t[8]),r=!0)},p(t,r){2&r&&n!==(n=t[26].title)&&h(e,"title",n),2&r&&!a(e.src,o=t[26].uri)&&h(e,"src",o)},d(t){t&&d(e),r=!1,i()}}}function ut(t,e){let n,r,i,s;function a(t,e){return"iframe"===t[26].type?ct:"video"===t[26].type?lt:void 0}let l=a(e),c=l&&l(e);function g(...t){return e[10](e[26],...t)}return{key:t,first:null,c(){n=f("div"),c&&c.c(),h(n,"class","col"),m(n,"padding-right","0px"),m(n,"padding-left","0px"),m(n,"--bs-gutter-x","0px"),h(n,"id",r="select_"+e[26].id),this.first=n},m(t,o){u(t,n,o),c&&c.m(n,null),i||(s=[p(n,"mouseleave",e[9]),p(n,"mouseenter",g)],i=!0)},p(t,o){l===(l=a(e=t))&&c?c.p(e,o):(c&&c.d(1),c=l&&l(e),c&&(c.c(),c.m(n,null))),2&o&&r!==(r="select_"+e[26].id)&&h(n,"id",r)},d(t){t&&d(n),c&&c.d(),i=!1,o(s)}}}function dt(t,e){let n,o,r=[],i=new Map,s=e[23].items;const a=t=>t[26].id;for(let t=0;t<s.length;t+=1){let n=st(e,s,t),o=a(n);i.set(o,r[t]=ut(o,n))}return{key:t,first:null,c(){n=f("div");for(let t=0;t<r.length;t+=1)r[t].c();o=g(" "),h(n,"class","row"),this.first=n},m(t,e){u(t,n,e);for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(n,null);c(n,o)},p(t,l){e=t,26&l&&(s=e[23].items,r=O(r,l,a,1,e,s,i,n,I,ut,o,st))},d(t){t&&d(n);for(let t=0;t<r.length;t+=1)r[t].d()}}}function ft(e){let n,o,r,i=e[0]&&"object"==typeof e[0]&&at(e);return{c(){n=f("div"),i&&i.c(),this.c=t,h(n,"id","matrix")},m(t,s){u(t,n,s),i&&i.m(n,null),o||(r=p(rt,"resize",F(e[2],200)),o=!0)},p(t,[e]){t[0]&&"object"==typeof t[0]?i?i.p(t,e):(i=at(t),i.c(),i.m(n,null)):i&&(i.d(1),i=null)},i:t,o:t,d(t){t&&d(n),i&&i.d(),o=!1,r()}}}function gt(t,e,n){const o=w(),r=$();function i(t,e){r(t,e),o.dispatchEvent&&o.dispatchEvent(new CustomEvent(t,{detail:e}))}let s,a,l,c,u,d,f,{id:g}=e,{style:p}=e,{items:h}=e,m=[];function b(){if(l&&a&&c){const t=16/9,e=l/a;let o,r;if(1===h.length)o=1,r=1;else if(l<450)r=1,o=h.length;else if(2===h.length)e>t?(o=1,r=2):(o=2,r=1);else if(e>t){let e=1/0;for(let n=1;n<=h.length;n++){const i=Math.ceil(h.length/n),s=a/n*t*i;if(s<=l){const t=l-s;t<e&&(e=t,o=n,r=i)}}}else{let e=1/0;for(let n=1;n<=h.length;n++){const i=Math.ceil(h.length/n),s=l/n/t*i;if(s<=a){const t=a-s;t<e&&(e=t,r=n,o=i)}}}if(u=o,d=r,u&&d){const t=[];for(let e=0;e<u;e++)for(let n=0;n<d;n++){const o=h[e*d+n];o&&(t[e]||(t[e]={row:e,items:[]}),t[e].items[n]=o)}n(1,m=t),console.log(m,u,d,"drawItems")}}}function v(){var t,e,n;if(window.innerWidth&&window.innerHeight){const r=null===(t=null==o?void 0:o.shadowRoot)||void 0===t?void 0:t.getElementById("matrix");(null==r?void 0:r.style)&&(a=window.innerHeight-(null===(n=null===(e=null==o?void 0:o.shadowRoot)||void 0===e?void 0:e.getElementById("matrix"))||void 0===n?void 0:n.offsetTop),l=Number(r.clientWidth),c=l>a?"landscape":"portrait",r.style.height=a+"px",console.log(`setSize w:${l} h:${a}`),b())}}function y(t){f=t,i("hoverItem",{id:t,selected:!!f})}function x(t){var e;const n=t;try{null===(e=n.contentWindow)||void 0===e||e.document.addEventListener("click",(()=>{f?i("clickItem",{id:f}):console.info("No video selected")}))}catch(t){console.warn("error adding click event to iframe",t)}}nt.addComponent({repoName:"@htmlbricks/hb-player-live",version:H}),function(t){w().$$.on_mount.push(t)}((()=>{v()}));return t.$$set=t=>{"id"in t&&n(5,g=t.id),"style"in t&&n(6,p=t.style),"items"in t&&n(0,h=t.items)},t.$$.update=()=>{if(225&t.$$.dirty&&(g||n(5,g=""),p&&(n(7,s=tt(p)),nt.getChildStyleToPass(s,null==ot?void 0:ot.vars)),"string"==typeof h))try{n(0,h=JSON.parse(h)),b()}catch(t){console.error("error parsing items",t)}},[h,m,v,y,x,g,p,s,t=>x(t.target),t=>y(),(t,e)=>y(t.id)]}class pt extends z{constructor(t){super();const e=document.createElement("style");e.textContent='@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host{font-family:"Roboto", sans-serif;width:100%;display:block;background-color:black}#matrix{display:grid;gap:5px;overflow:hidden}.col{margin:5px}.row{margin-top:5px !important;margin-left:5px !important;margin-right:5px !important}iframe{border:none;width:100%;height:100%;margin:0px;padding:0px}:host{--bs-blue:var(--bs-primary,#07689f);--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:var(--bs-danger,#f67280);--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:var(--bs-warning,#ffc107);--bs-teal:#20c997;--bs-cyan:var(--bs-info,#a2d5f2);--bs-white:#fff;--bs-gray:var(--bs-secondary,#c9d6df);--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:var(--bs-secondary,#c9d6df);--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:var(--bs-primary,#07689f);--bs-secondary:var(--bs-secondary,#c9d6df);--bs-success:var(--bs-warning,#ffc107);--bs-info:var(--bs-info,#a2d5f2);--bs-warning:#ffc107;--bs-danger:var(--bs-danger,#f67280);--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13, 110, 253;--bs-secondary-rgb:108, 117, 125;--bs-success-rgb:25, 135, 84;--bs-info-rgb:13, 202, 240;--bs-warning-rgb:255, 193, 7;--bs-danger-rgb:220, 53, 69;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:33, 37, 41;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-body-color-rgb:33, 37, 41;--bs-body-bg-rgb:255, 255, 255;--bs-font-sans-serif:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-0.5 * var(--bs-gutter-x));margin-left:calc(-0.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * 0.5);padding-left:calc(var(--bs-gutter-x) * 0.5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}@media(min-width: 576px){}@media(min-width: 768px){}@media(min-width: 992px){}@media(min-width: 1200px){}@media(min-width: 1400px){}',this.shadowRoot.appendChild(e),W(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},gt,ft,i,{id:5,style:6,items:0},null),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),M()))}static get observedAttributes(){return["id","style","items"]}get id(){return this.$$.ctx[5]}set id(t){this.$$set({id:t}),M()}get style(){return this.$$.ctx[6]}set style(t){this.$$set({style:t}),M()}get items(){return this.$$.ctx[0]}set items(t){this.$$set({items:t}),M()}}return customElements.define("hb-matrix-video",pt),pt}();
|
|
2
2
|
//# sourceMappingURL=release.js.map
|