iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
2 lines • 19.8 kB
JavaScript
;(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["35453"],{91610:function(t,e,a){a.d(e,{jn:()=>o});a(9359),a(52924);var n=a(95262),i=a(72344);const o=(t,e)=>(c(e)||r(t,e))&&!l(t,e)&&s(t,e),r=(t,e)=>!e.component||(0,n.r)(e.component).some((e=>(0,i.p)(t,e))),s=(t,e)=>!e.not_component||!(0,n.r)(e.not_component).some((e=>(0,i.p)(t,e))),c=t=>t.core,l=(t,e)=>(t=>t.advancedOnly)(e)&&!(t=>{var e;return null===(e=t.userData)||void 0===e?void 0:e.showAdvanced})(t)},92091:function(t,e,a){function n(t){return!!t&&(t instanceof Date&&!isNaN(t.valueOf()))}a.d(e,{Z:()=>n})},19631:function(t,e,a){a.a(t,(async function(t,n){try{a.d(e,{Bt:()=>l,T8:()=>d});a(19083);var i=a(16485),o=a(88977),r=a(20382),s=t([i]);i=(s.then?(await s)():s)[0];const c=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],l=t=>t.first_weekday===r.FS.language?"weekInfo"in Intl.Locale.prototype?new Intl.Locale(t.language).weekInfo.firstDay%7:(0,o.L)(t.language)%7:c.includes(t.first_weekday)?c.indexOf(t.first_weekday):1,d=t=>{const e=l(t);return c[e]};n()}catch(c){n(c)}}))},64214:function(t,e,a){a.a(t,(async function(t,n){try{a.d(e,{DG:()=>p,E8:()=>k,Fu:()=>y,NR:()=>b,o0:()=>u,yD:()=>g});var i=a(16485),o=a(27486),r=a(46467),s=a(33570),c=a(11104),l=a(16922),d=t([i,c,r,s]);[i,c,r,s]=d.then?(await d)():d;const u=(t,e,a)=>h(e,a.time_zone).format(t),h=(0,o.Z)(((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",month:"long",day:"numeric",hour:(0,l.y)(t)?"numeric":"2-digit",minute:"2-digit",hourCycle:(0,l.y)(t)?"h12":"h23",timeZone:(0,c.f)(t.time_zone,e)}))),p=((0,o.Z)((()=>new Intl.DateTimeFormat(void 0,{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"}))),(t,e,a)=>f(e,a.time_zone).format(t)),f=(0,o.Z)(((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",month:"short",day:"numeric",hour:(0,l.y)(t)?"numeric":"2-digit",minute:"2-digit",hourCycle:(0,l.y)(t)?"h12":"h23",timeZone:(0,c.f)(t.time_zone,e)}))),g=(t,e,a)=>m(e,a.time_zone).format(t),m=(0,o.Z)(((t,e)=>new Intl.DateTimeFormat(t.language,{month:"short",day:"numeric",hour:(0,l.y)(t)?"numeric":"2-digit",minute:"2-digit",hourCycle:(0,l.y)(t)?"h12":"h23",timeZone:(0,c.f)(t.time_zone,e)}))),y=(t,e,a)=>(new Date).getFullYear()===t.getFullYear()?g(t,e,a):p(t,e,a),k=(t,e,a)=>v(e,a.time_zone).format(t),v=(0,o.Z)(((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",month:"long",day:"numeric",hour:(0,l.y)(t)?"numeric":"2-digit",minute:"2-digit",second:"2-digit",hourCycle:(0,l.y)(t)?"h12":"h23",timeZone:(0,c.f)(t.time_zone,e)}))),b=(t,e,a)=>`${(0,r.WB)(t,e,a)}, ${(0,s.mr)(t,e,a)}`;n()}catch(u){n(u)}}))},94947:function(t,e,a){a.a(t,(async function(t,n){try{a.d(e,{G:()=>l});var i=a(16485),o=a(27486),r=a(27046),s=t([i,r]);[i,r]=s.then?(await s)():s;const c=(0,o.Z)((t=>new Intl.RelativeTimeFormat(t.language,{numeric:"auto"}))),l=(t,e,a,n=!0)=>{const i=(0,r.W)(t,a,e);return n?c(e).format(i.value,i.unit):Intl.NumberFormat(e.language,{style:"unit",unit:i.unit,unitDisplay:"long"}).format(Math.abs(i.value))};n()}catch(c){n(c)}}))},27046:function(t,e,a){a.a(t,(async function(t,n){try{a.d(e,{W:()=>p});a(19423);var i=a(13809),o=a(29558),r=a(94763),s=a(19631),c=t([s]);s=(c.then?(await c)():c)[0];const d=1e3,u=60,h=60*u;function p(t,e=Date.now(),a,n={}){const c=Object.assign(Object.assign({},f),n||{}),l=(+t-+e)/d;if(Math.abs(l)<c.second)return{value:Math.round(l),unit:"second"};const p=l/u;if(Math.abs(p)<c.minute)return{value:Math.round(p),unit:"minute"};const g=l/h;if(Math.abs(g)<c.hour)return{value:Math.round(g),unit:"hour"};const m=new Date(t),y=new Date(e);m.setHours(0,0,0,0),y.setHours(0,0,0,0);const k=(0,i.j)(m,y);if(0===k)return{value:Math.round(g),unit:"hour"};if(Math.abs(k)<c.day)return{value:k,unit:"day"};const v=(0,s.Bt)(a),b=(0,o.z)(m,{weekStartsOn:v}),_=(0,o.z)(y,{weekStartsOn:v}),w=(0,r.p)(b,_);if(0===w)return{value:k,unit:"day"};if(Math.abs(w)<c.week)return{value:w,unit:"week"};const x=m.getFullYear()-y.getFullYear(),$=12*x+m.getMonth()-y.getMonth();return 0===$?{value:w,unit:"week"}:Math.abs($)<c.month||0===x?{value:$,unit:"month"}:{value:Math.round(x),unit:"year"}}const f={second:45,minute:45,hour:22,day:5,week:4,month:11};n()}catch(l){n(l)}}))},9734:function(t,e,a){var n=a(61701),i=(a(63721),a(71695),a(9359),a(70104),a(97499),a(47021),a(2060),a(57243)),o=a(50778),r=a(20552),s=a(83523);a(13928),a(7285),a(37583);let c,l,d,u,h,p=t=>t;(0,n.Z)([(0,o.Mo)("ha-navigation-list")],(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,o.Cb)({attribute:!1})],key:"hass",value:void 0},{kind:"field",decorators:[(0,o.Cb)({type:Boolean})],key:"narrow",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({attribute:!1})],key:"pages",value:void 0},{kind:"field",decorators:[(0,o.Cb)({attribute:"has-secondary",type:Boolean})],key:"hasSecondary",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)()],key:"label",value:void 0},{kind:"method",key:"render",value:function(){return(0,i.dy)(c||(c=p` <mwc-list innerRole="menu" itemRoles="menuitem" innerAriaLabel="${0}" @action="${0}"> ${0} </mwc-list> `),(0,r.o)(this.label),this._handleListAction,this.pages.map((t=>(0,i.dy)(l||(l=p` <ha-list-item graphic="avatar" .twoline="${0}" .hasMeta="${0}"> <div slot="graphic" class="${0}" .style="background-color: ${0}"> <ha-svg-icon .path="${0}"></ha-svg-icon> </div> <span>${0}</span> ${0} ${0} </ha-list-item> `),this.hasSecondary,!this.narrow,t.iconColor?"icon-background":"",t.iconColor||"undefined",t.iconPath,t.name,this.hasSecondary?(0,i.dy)(d||(d=p`<span slot="secondary">${0}</span>`),t.description):"",this.narrow?"":(0,i.dy)(u||(u=p`<ha-icon-next slot="meta"></ha-icon-next>`))))))}},{kind:"method",key:"_handleListAction",value:function(t){const e=this.pages[t.detail.index].path;e.endsWith("#external-app-configuration")?this.hass.auth.external.fireMessage({type:"config_screen/show"}):(0,s.c)(e)}},{kind:"field",static:!0,key:"styles",value(){return(0,i.iv)(h||(h=p`:host{--mdc-list-vertical-padding:0}ha-icon-next,ha-svg-icon{color:var(--secondary-text-color);height:24px;width:24px;display:block}ha-svg-icon{padding:8px}.icon-background{border-radius:50%}.icon-background ha-svg-icon{color:#fff}ha-list-item{cursor:pointer;font-size:var(--navigation-list-item-title-font-size)}`))}}]}}),i.oi)},26779:function(t,e,a){a.a(t,(async function(t,n){try{a.d(e,{$u:()=>A,AG:()=>m,BR:()=>F,Ef:()=>R,En:()=>j,I0:()=>b,KE:()=>V,Kn:()=>M,LG:()=>k,OT:()=>D,Sw:()=>O,Ty:()=>T,U0:()=>P,UR:()=>B,Ug:()=>$,V1:()=>Z,VY:()=>Y,Vn:()=>L,Y6:()=>K,Ye:()=>w,ZE:()=>_,Zk:()=>z,_r:()=>v,aq:()=>S,cF:()=>H,fi:()=>W,mu:()=>N,n:()=>Q,p_:()=>C,pi:()=>I,rI:()=>y,wy:()=>g,xc:()=>x});a(19083),a(71695),a(61893),a(55751),a(26200),a(25754),a(22246),a(9359),a(56475),a(1331),a(31526),a(70104),a(19423),a(23669),a(40251),a(19134),a(11740),a(97003),a(92789),a(36810),a(14953),a(58402),a(31503),a(16440),a(2213),a(57385),a(71375),a(15524),a(20267),a(21917),a(56193),a(25020),a(86913),a(47021),a(71513),a(75656),a(50100),a(18084);var i=a(66952),o=a(55116),r=a(5423),s=a(27486),c=a(64214),l=a(33570),d=a(58014),u=a(57816),h=a(92091),p=a(11257),f=t([i,c,l]);[i,c,l]=f.then?(await f)():f;let g=function(t){return t.NEVER="never",t.DAILY="daily",t.CUSTOM_DAYS="custom_days",t}({});const m=["mon","tue","wed","thu","fri","sat","sun"],y=t=>t.sort(((t,e)=>m.indexOf(t)-m.indexOf(e))),k=t=>t.callWS({type:"backup/config/info"}),v=(t,e)=>t.callWS(Object.assign({type:"backup/config/update"},e)),b=(t,e,a)=>`/api/backup/download/${t}?agent_id=${e}${a?`&password=${a}`:""}`,_=t=>t.callWS({type:"backup/info"}),w=(t,e)=>t.callWS({type:"backup/details",backup_id:e}),x=t=>t.callWS({type:"backup/agents/info"}),$=(t,e)=>t.callWS({type:"backup/delete",backup_id:e}),z=(t,e)=>t.callWS(Object.assign({type:"backup/generate"},e)),S=t=>t.callWS({type:"backup/generate_with_automatic_settings"}),I=(t,e)=>t.callWS(Object.assign({type:"backup/restore"},e)),C=async(t,e,a)=>{const n=new FormData;n.append("file",e);const i=new URLSearchParams;return a.forEach((t=>{i.append("agent_id",t)})),(0,p.h9)(t.fetchWithAuth(`/api/backup/upload?${i.toString()}`,{method:"POST",body:n}))},D=t=>{const e=t.find(Z);if(e)return e;const a=t.find(F);return a||t[0]},W=(t,e,a,n)=>t.callWS({type:"backup/can_decrypt_on_download",backup_id:e,agent_id:a,password:n}),B="backup.local",M="hassio.local",A="cloud.cloud",Z=t=>[B,M].includes(t),F=t=>{const[e,a]=t.split(".");return"hassio"===e&&"local"!==a},O=(t,e,a)=>{if(Z(e))return t("ui.panel.config.backup.agents.local_agent");const n=a.find((t=>t.agent_id===e)),i=e.split(".")[0],o=n?n.name:e.split(".")[1];if(F(e))return o;const r=(0,u.Lh)(t,i);return a.filter((t=>t.agent_id.split(".")[0]===i)).length>1?`${r}: ${o}`:r},j=t=>Math.max(...Object.values(t.agents).map((t=>t.size))),E=["automatic","manual","addon_update"],N=(0,i.z)((t=>t?E:E.filter((t=>"addon_update"!==t)))),L=(t,e)=>{var a;return t.with_automatic_settings?"automatic":e&&null!=(null===(a=t.extra_metadata)||void 0===a?void 0:a["supervisor.addon_update"])?"addon_update":"manual"},R=(t,e)=>{const a=Z(t),n=Z(e),i=F(t),o=F(e),r=(t,e)=>t?1:e?2:3,s=r(a,i),c=r(n,o);return s!==c?s-c:t.localeCompare(e)},T=()=>{const t="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",e="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx";let a="";const n=new Uint8Array(34);return crypto.getRandomValues(n),n.forEach(((n,i)=>{a+="-"===e[i]?"-":t[n%36]})),a},G=(t,e)=>"data:text/plain;charset=utf-8,"+encodeURIComponent(`${t.localize("ui.panel.config.backup.emergency_kit_file.title")}\n\n${t.localize("ui.panel.config.backup.emergency_kit_file.description")}\n\n${t.localize("ui.panel.config.backup.emergency_kit_file.date")} ${(0,c.o0)(new Date,t.locale,t.config)}\n\n${t.localize("ui.panel.config.backup.emergency_kit_file.instance")}\n${t.config.location_name}\n\n${t.localize("ui.panel.config.backup.emergency_kit_file.url")}\n${t.auth.data.hassUrl}\n\n${t.localize("ui.panel.config.backup.emergency_kit_file.encryption_key")}\n${e}\n\n${t.localize("ui.panel.config.backup.emergency_kit_file.more_info",{link:"https://www.home-assistant.io/more-info/backup-emergency-kit"})}`),U=(t,e)=>`home_assistant_backup_emergency_kit_${e?`${e}_`:""}${(0,c.NR)(new Date,t.locale,t.config).replace(",","").replace(" ","_")}.txt`,Y=(t,e,a)=>(0,d.N)(G(t,e),U(t,a)),H=(0,o.H)((0,r.B)(new Date,4),45),K=(0,o.H)((0,r.B)(new Date,5),45),V=(0,s.Z)(((t,e,a)=>{if((0,h.Z)(a))return(0,l.mr)(a,t,e);if("string"==typeof a&&a){const n=a.split(":"),i=(0,o.H)((0,r.B)(new Date,parseInt(n[0])),parseInt(n[1]));return(0,l.mr)(i,t,e)}return`${(0,l.mr)(H,t,e)} - ${(0,l.mr)(K,t,e)}`})),P="application/x-tar",Q={file:void 0};n()}catch(g){n(g)}}))},90933:function(t,e,a){a.d(e,{jc:()=>o});a(52247),a(40251);var n=a(17803),i=a(56785);const o=async t=>{if((0,n.I)(t.config.version,2021,2,4)){return(await t.callWS({type:"supervisor/api",endpoint:"/"+((0,n.I)(t.config.version,2021,9)?"backups":"snapshots"),method:"get"}))[(0,n.I)(t.config.version,2021,9)?"backups":"snapshots"]}return(0,i.rY)(await t.callApi("GET","hassio/"+((0,n.I)(t.config.version,2021,9)?"backups":"snapshots"))).snapshots}},56604:function(t,e,a){a.a(t,(async function(t,n){try{a.r(e);var i=a(61701),o=a(72621),r=(a(71695),a(52805),a(9359),a(56475),a(1331),a(70104),a(48136),a(19423),a(40251),a(47021),a(57243)),s=a(50778),c=a(91610),l=a(72344),d=a(94947),u=a(45061),h=(a(54977),a(23334),a(9734),a(26779)),p=a(94616),f=a(46900),g=a(90933),m=a(67044),y=a(12170),k=(a(87979),a(28008)),v=(a(98241),a(82967)),b=t([d,h]);[d,h]=b.then?(await b)():b;let _,w,x=t=>t;const $="M16.56,5.44L15.11,6.89C16.84,7.94 18,9.83 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12C6,9.83 7.16,7.94 8.88,6.88L7.44,5.44C5.36,6.88 4,9.28 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,9.28 18.64,6.88 16.56,5.44M13,3H11V13H13";(0,i.Z)([(0,s.Mo)("ha-config-system-navigation")],(function(t,e){class a extends e{constructor(...e){super(...e),t(this)}}return{F:a,d:[{kind:"field",decorators:[(0,s.Cb)({attribute:!1})],key:"hass",value:void 0},{kind:"field",decorators:[(0,s.Cb)({type:Boolean,reflect:!0})],key:"narrow",value(){return!1}},{kind:"field",decorators:[(0,s.Cb)({attribute:"is-wide",type:Boolean})],key:"isWide",value(){return!1}},{kind:"field",decorators:[(0,s.Cb)({attribute:!1})],key:"cloudStatus",value:void 0},{kind:"field",decorators:[(0,s.Cb)({attribute:!1})],key:"showAdvanced",value(){return!1}},{kind:"field",decorators:[(0,s.SB)()],key:"_latestBackupDate",value:void 0},{kind:"field",decorators:[(0,s.SB)()],key:"_boardName",value:void 0},{kind:"field",decorators:[(0,s.SB)()],key:"_storageInfo",value:void 0},{kind:"field",decorators:[(0,s.SB)()],key:"_externalAccess",value(){return!1}},{kind:"method",key:"render",value:function(){const t=v.configSections.general.filter((t=>(0,c.jn)(this.hass,t))).map((t=>{let e="";switch(t.translationKey){case"backup":e=this._latestBackupDate?this.hass.localize("ui.panel.config.backup.description",{relative_time:(0,d.G)(new Date(this._latestBackupDate),this.hass.locale)}):this.hass.localize("ui.panel.config.backup.description_no_backup");break;case"network":e=this.hass.localize("ui.panel.config.network.description",{state:this._externalAccess?this.hass.localize("ui.panel.config.network.enabled"):this.hass.localize("ui.panel.config.network.disabled")});break;case"storage":e=this._storageInfo?this.hass.localize("ui.panel.config.storage.description",{percent_used:`${Math.round(this._storageInfo.used/this._storageInfo.total*100)}${(0,u.K)(this.hass.locale)}%`,free_space:`${this._storageInfo.free} GB`}):"";break;case"hardware":e=this._boardName||this.hass.localize("ui.panel.config.hardware.description");break;default:e=this.hass.localize(`ui.panel.config.${t.translationKey}.description`)}return Object.assign(Object.assign({},t),{},{name:t.translationKey?this.hass.localize(`ui.panel.config.${t.translationKey}.caption`):t.name,description:e})}));return(0,r.dy)(_||(_=x` <hass-subpage .hass="${0}" back-path="/config" .header="${0}"> <ha-icon-button slot="toolbar-icon" .path="${0}" .label="${0}" @click="${0}"></ha-icon-button> <ha-config-section .narrow="${0}" .isWide="${0}" full-width> <ha-card outlined> <ha-navigation-list .hass="${0}" .narrow="${0}" .pages="${0}" has-secondary .label="${0}"></ha-navigation-list> </ha-card> </ha-config-section> </hass-subpage> `),this.hass,this.hass.localize("ui.panel.config.dashboard.system.main"),$,this.hass.localize("ui.panel.config.system_dashboard.restart_homeassistant"),this._showRestartDialog,this.narrow,this.isWide,this.hass,this.narrow,t,this.hass.localize("ui.panel.config.dashboard.system.main"))}},{kind:"method",key:"firstUpdated",value:function(t){(0,o.Z)(a,"firstUpdated",this,3)([t]),this._fetchNetworkStatus();const e=(0,l.p)(this.hass,"hassio");this._fetchBackupInfo(e),this._fetchHardwareInfo(e),e&&this._fetchStorageInfo()}},{kind:"method",key:"_fetchBackupInfo",value:async function(t){const e=t?await(0,g.jc)(this.hass):(0,l.p)(this.hass,"backup")?await(0,h.ZE)(this.hass).then((t=>t.backups)):[];e.length>0&&(this._latestBackupDate=e.reduce(((t,e)=>t.date>e.date?t:e)).date)}},{kind:"method",key:"_fetchHardwareInfo",value:async function(t){if((0,l.p)(this.hass,"hardware")){var e;const t=await this.hass.callWS({type:"hardware/info"});this._boardName=null==t||null===(e=t.hardware.find((t=>null!==t.board)))||void 0===e?void 0:e.name}else if(t){const t=await(0,m.AP)(this.hass);t.board&&(this._boardName=f.d[t.board])}}},{kind:"method",key:"_fetchStorageInfo",value:async function(){const t=await(0,m.Sj)(this.hass);this._storageInfo={used:t.disk_used,free:t.disk_free,total:t.disk_total}}},{kind:"method",key:"_fetchNetworkStatus",value:async function(){if((0,l.p)(this.hass,"cloud")){if((await(0,p.LI)(this.hass)).logged_in)return void(this._externalAccess=!0)}this._externalAccess=null!==this.hass.config.external_url}},{kind:"method",key:"_showRestartDialog",value:async function(){(0,y.s)(this)}},{kind:"get",static:!0,key:"styles",value:function(){return[k.Qx,(0,r.iv)(w||(w=x`:host(:not([narrow])) ha-card{margin-bottom:max(24px,env(safe-area-inset-bottom))}ha-config-section{margin:auto;margin-top:-32px;max-width:600px}ha-card{overflow:hidden;margin-bottom:24px;margin-bottom:max(24px,env(safe-area-inset-bottom))}ha-card a{text-decoration:none;color:var(--primary-text-color)}.title{font-size:16px;padding:16px;padding-bottom:0}.restart-section{display:flex;align-items:center;flex-direction:column;justify-content:center;margin-bottom:24px}@media all and (max-width:600px){ha-card{border-width:1px 0;border-radius:0;box-shadow:unset}ha-config-section{margin-top:-42px}}ha-navigation-list{--navigation-list-item-title-font-size:16px}`))]}}]}}),r.oi);n()}catch(_){n(_)}}))},98241:function(t,e,a){var n=a(61701),i=(a(71695),a(47021),a(57243)),o=a(50778),r=a(35359);let s,c,l=t=>t;(0,n.Z)([(0,o.Mo)("ha-config-section")],(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,o.Cb)({attribute:"is-wide",type:Boolean})],key:"isWide",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({type:Boolean})],key:"vertical",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({type:Boolean,attribute:"full-width"})],key:"fullWidth",value(){return!1}},{kind:"method",key:"render",value:function(){return(0,i.dy)(s||(s=l` <div class="content ${0}"> <div class="header"><slot name="header"></slot></div> <div class="together layout ${0}"> <div class="intro"><slot name="introduction"></slot></div> <div class="panel flex-auto"><slot></slot></div> </div> </div> `),(0,r.$)({narrow:!this.isWide,"full-width":this.fullWidth}),(0,r.$)({narrow:!this.isWide,vertical:this.vertical||!this.isWide,horizontal:!this.vertical&&this.isWide}))}},{kind:"field",static:!0,key:"styles",value(){return(0,i.iv)(c||(c=l`:host{display:block}.content{padding:28px 20px 0;max-width:1040px;margin:0 auto}.layout{display:flex}.horizontal{flex-direction:row}.vertical{flex-direction:column}.flex-auto{flex:1 1 auto}.header{font-family:var(--paper-font-headline_-_font-family);-webkit-font-smoothing:var(--paper-font-headline_-_-webkit-font-smoothing);font-size:var(--paper-font-headline_-_font-size);font-weight:var(--paper-font-headline_-_font-weight);letter-spacing:var(--paper-font-headline_-_letter-spacing);line-height:var(--paper-font-headline_-_line-height);opacity:var(--dark-primary-opacity)}.together{margin-top:var(--config-section-content-together-margin-top,32px)}.intro{font-family:var(--paper-font-subhead_-_font-family);-webkit-font-smoothing:var(--paper-font-subhead_-_-webkit-font-smoothing);font-weight:var(--paper-font-subhead_-_font-weight);line-height:var(--paper-font-subhead_-_line-height);width:100%;opacity:var(--dark-primary-opacity);font-size:14px;padding-bottom:20px}.horizontal .intro{max-width:400px;margin-right:40px;margin-inline-end:40px;margin-inline-start:initial}.panel{margin-top:-24px}.panel ::slotted(*){margin-top:24px;display:block}.narrow.content{max-width:640px}.narrow .together{margin-top:var(--config-section-narrow-content-together-margin-top,var(--config-section-content-together-margin-top,20px))}.narrow .intro{padding-bottom:20px;margin-right:0;margin-inline-end:0;margin-inline-start:initial;max-width:500px}.full-width{padding:0}.full-width .layout{flex-direction:column}`))}}]}}),i.oi)},58014:function(t,e,a){a.d(e,{N:()=>i,G:()=>o});var n=a(18117);const i=(t,e="")=>{const a=document.createElement("a");a.target="_blank",a.href=t,a.download=e,a.style.display="none",document.body.appendChild(a),a.dispatchEvent(new MouseEvent("click")),document.body.removeChild(a)},o=t=>{var e;return!(t=>!!t.auth.external&&n.G)(t)||!(null===(e=t.auth.external)||void 0===e||!e.config.downloadFileSupported)}},18117:function(t,e,a){a.d(e,{G:()=>n});a(19134),a(5740);const n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}}]);
//# sourceMappingURL=35453.cf5c8711eff5fce4.js.map