1import{d as k,u as y,E as S,c as h,a as b,y as q,b as d,o as m,e as o,D as f,Y as w,G as _,_ as I,a0 as B,F as D,v as E}from"./CyVqXwo4.js";import{r as L}from"./BKUHZtqZ.js";import{a as N,t as p}from"./BkaZFr4j.js";var v=1/0,T=17976931348623157e292;function V(n){if(!n)return n===0?n:0;if(n=N(n),n===v||n===-v){var t=n<0?-1:1;return t*T}return n===n?n:0}function $(n){var t=V(n),s=t%1;return t===t?s?t-s:t:0}var O=L.isFinite,j=Math.min;function G(n){var t=Math[n];return function(s,r){if(s=N(s),r=r==null?0:j($(r),292),r&&O(s)){var a=(p(s)+"e").split("e"),c=t(a[0]+"e"+(+a[1]+r));return a=(p(c)+"e").split("e"),+(a[0]+"e"+(+a[1]-r))}return t(s)}}var g=G("round");const U={class:"text"},F=k({__name:"index",props:{isDark:{type:Boolean}},setup(n){const{platform:t}=y(),{t:s}=S({useScope:"local"}),r=h(()=>{const c=Math.round(+(t.weather_data?.temp??0));return(c>0?"+":"")+c}),a=h(()=>{const c={clear:s("clear"),clouds:s("clouds"),few_clouds:s("clouds"),rain:s("rain"),snow:s("snow"),thunderstorm_w_rain:s("thunderstorm"),thunderstorm:s("thunderstorm")},u=t.weather_data?.desc.toLowerCase();return u?c[u]:""});return(c,u)=>d(t).weather_data?(m(),b("div",{key:0,class:f(["weather",{__dark:n.isDark}])},[o("div",{class:f([d(t).weather_data.desc.toLowerCase(),"icon"])},null,2),o("div",U,[w(_(d(r))+" °С ",1),u[0]||(u[0]=o("br",null,null,-1)),w(_(d(a)),1)])],2)):q("",!0)}});function C(n){const t=n;t.__i18n=t.__i18n||[],t.__i18n.push({locale:"",resource:{rus:{clear:{t:0,b:{t:2,i:[{t:3}],s:"ЯÑно"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"ÐблаÑно"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"ÐождÑ"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"Снег"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"ÐÑоза"}}},eng:{clear:{t:0,b:{t:2,i:[{t:3}],s:"Clear"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"Cloudy"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"Rain"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"Snow"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"Storm"}}},bak:{clear:{t:0,b:{t:2,i:[{t:3}],s:"ЯÑна"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"ÐолоÑло"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"ЯмÒÑÑ"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"Ò Ð°Ñ"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"ÐÓÑен"}}},tat:{clear:{t:0,b:{t:2,i:[{t:3}],s:"ÐÑÑк"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"ÐолÑÑлÑ"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"ЯңгÑÑ"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"ÐаÑ"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"ЯÑен"}}},chv:{clear:{t:0,b:{t:2,i:[{t:3}],s:"УҫҫÓнаÑ
"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"ÐÓлÓÑлÓ"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"ÒªÑмÓÑ"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"ЮÑ"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"ÐÑлаÑи"}}},chm:{clear:{t:0,b:{t:2,i:[{t:3}],s:"РаÑ"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"ÐÑлан"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"ÐÓ±Ñ"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"ÐÑм"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"ÐӱдÑÑÑан йӱÑ"}}},udm:{clear:{t:0,b:{t:2,i:[{t:3}],s:"ЯÑкÑÑ"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"СалкÑм"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"ÐоÑÑÑÑлÑн"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"ÐÑмÑ"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"ÐоÑÑÑÑлÑн"}}}}})}typeof C=="function"&&C(F);const K=Object.assign(I(F,[["__scopeId","data-v-59e9419d"]]),{__name:"WeatherWidget"}),W={class:"quotes"},Y={class:"text"},z={class:"diff"},A={key:0,class:"quote"},P={class:"text"},Q={class:"diff"},M=k({__name:"index",setup(n){const{platform:t}=y(),{t:s}=S({useScope:"local"}),r=h(()=>{const i=Math.round(+(t.weather_data?.temp??0)),e=i>0?"+":"";return i+e}),a=h(()=>{const i={clear:s("clear"),clouds:s("clouds"),few_clouds:s("clouds"),rain:s("rain"),snow:s("snow"),thunderstorm_w_rain:s("thunderstorm"),thunderstorm:s("thunderstorm")},e=t.weather_data?.desc?.toLowerCase();return e?i[e]:""}),c=i=>{const e=t.finance_quotes.find(l=>l.name===i);if(e)return g(+e.value,2)},u=i=>{const e=t.finance_quotes.find(R=>R.name===i);return e?(e.change>0?"+":"")+g(+e.change,2):void 0};return(i,e)=>(m(),b("div",W,[(m(),b(D,null,E(["USD","EUR","BRO"],l=>o("div",{key:l,class:"quote"},[o("div",{class:f([l,"icon"])},null,2),o("div",Y,[o("div",null,_(c(l)),1),o("div",z,_(u(l)),1)])])),64)),d(t).weather_data?(m(),b("div",A,[o("div",{class:f([d(t).weather_data.desc.toLowerCase(),"icon"])},null,2),o("div",P,[o("div",null,_(d(r))+" °C",1),o("div",Q,_(d(a)),1)])])):q("",!0),B(i.$slots,"default",{},void 0,!0)]))}});function x(n){const t=n;t.__i18n=t.__i18n||[],t.__i18n.push({locale:"",resource:{rus:{clear:{t:0,b:{t:2,i:[{t:3}],s:"ЯÑно"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"ÐблаÑно"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"ÐождÑ"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"Снег"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"ÐÑоза"}}},eng:{clear:{t:0,b:{t:2,i:[{t:3}],s:"Clear"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"Cloudy"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"Rain"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"Snow"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"Storm"}}},bak:{clear:{t:0,b:{t:2,i:[{t:3}],s:"ЯÑна"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"ÐолоÑло"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"ЯмÒÑÑ"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"Ò Ð°Ñ"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"ÐÓÑен"}}},tat:{clear:{t:0,b:{t:2,i:[{t:3}],s:"ÐÑÑк"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"ÐолÑÑлÑ"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"ЯңгÑÑ"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"ÐаÑ"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"ЯÑен"}}},chv:{clear:{t:0,b:{t:2,i:[{t:3}],s:"УҫҫÓнаÑ
"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"ÐÓлÓÑлÓ"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"ÒªÑмÓÑ"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"ЮÑ"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"ÐÑлаÑи"}}},chm:{clear:{t:0,b:{t:2,i:[{t:3}],s:"РаÑ"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"ÐÑлан"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"ÐÓ±Ñ"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"ÐÑм"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"ÐӱдÑÑÑан йӱÑ"}}},udm:{clear:{t:0,b:{t:2,i:[{t:3}],s:"ЯÑкÑÑ"}},clouds:{t:0,b:{t:2,i:[{t:3}],s:"СалкÑм"}},rain:{t:0,b:{t:2,i:[{t:3}],s:"ÐоÑÑÑÑлÑн"}},snow:{t:0,b:{t:2,i:[{t:3}],s:"ÐÑмÑ"}},thunderstorm:{t:0,b:{t:2,i:[{t:3}],s:"ÐоÑÑÑÑлÑн"}}}}})}typeof x=="function"&&x(M);const Z=Object.assign(I(M,[["__scopeId","data-v-1122ef10"]]),{__name:"Quotes"});export{K as _,Z as a,V as t};
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.