PageSourceSearch

https://propec.cfd/assets/meteorology-7juZoOw8.js

js propec.cfd collected 2026-10-01 00:39:53 UTC 16,580 bytes, 1 lines download raw bytes

1import{j as S}from"./kinematics-Di5PXsRQ.js";import{a as u}from"./glyphs-myXpDwvS.js";import{F as R,T as B,N as F}from"./earth-science-52cTImor.js";function L(t){const e=t.replace("#","").trim();return e.length!==6?0:parseInt(e,16)}function $(t,e){const r=L(t),n=L(e),o=(h,d)=>h>>d&255,a=(h,d,l)=>(h&255)<<16|(d&255)<<8|l&255,m=h=>{const d=o(r,16),l=o(r,8),g=r&255,y=o(n,16),x=o(n,8),T=n&255;return a(Math.round(d+(y-d)*h),Math.round(l+(x-l)*h),Math.round(g+(T-g)*h))};return{highlight:m(.62),mid:m(.34),low:m(.14),base:r,net:n}}function b(t,e,r,n,o){return{id:t,label:e,bg:r,text:n,accent:o,fog:$(r,o)}}const V=[b("sj-dark","Dark","#000000","#e8e8e8","#cccccc"),b("sj-light","Light","#f5f5f5","#111111","#555555"),b("sj-solar","Solar System","#0a0e27","#ffd700","#ff8c00"),b("sj-yellow-galaxy","Yellow Galaxy","#0d0a0a","#ffd700","#ffec8b"),b("sj-green","Green","#001b10","#afffd2","#00c878"),b("sj-amethyst","Amethyst","#1a0f2e","#c4b5fd","#a78bfa"),b("sj-ocean","Ocean","#0a1628","#67e8f9","#22d3ee"),b("sj-sunset","Sunset","#1f0f14","#fda4af","#f43f5e"),b("sj-dracula","Dracula","#282a36","#f8f8f2","#bd93f9"),b("sj-fireflies","Fireflies","#0a1612","#b8e986","#86efac"),b("sj-snow","Snow","#2e3440","#eceff4","#88c0d0"),b("sj-matrix","Matrix","#0d1f0d","#00ff41","#22c55e")],U=[{id:"default",label:"Default",bg:"#000000",text:"#f5f5f5",accent:"#d0d0d0",fog:{highlight:3815994,mid:1710618,low:526344,base:0,net:5263440}},{id:"rose-pine",label:"Rose Pine",bg:"#191724",text:"#e0def4",accent:"#c4a7e7",fog:{highlight:12888039,mid:2499386,low:2039086,base:1644324,net:10276824}},{id:"aurora",label:"Aurora",bg:"#041018",text:"#e6f4ff",accent:"#7ec8e3",fog:{highlight:4030118,mid:1460326,low:464928,base:266264,net:4886712}},{id:"blood",label:"Blood",bg:"#120406",text:"#ffe8ea",accent:"#d96a72",fog:{highlight:9056312,mid:4854808,low:1574408,base:1180678,net:10502216}},{id:"deep-forest",label:"Deep Forest",bg:"#050c08",text:"#e4f2e8",accent:"#6fbf8a",fog:{highlight:3107400,mid:1325096,low:398352,base:330760,net:4033116}},{id:"obsidian",label:"Obsidian",bg:"#08090c",text:"#f0f2f5",accent:"#9aa4b2",fog:{highlight:3818064,mid:1711656,low:658448,base:526604,net:5265512}},{id:"violet-dusk",label:"Violet Dusk",bg:"#0a0612",text:"#f0e8ff",accent:"#b89ad9",fog:{highlight:5913226,mid:2758728,low:1050648,base:656914,net:7228064}},{id:"copper",label:"Copper",bg:"#100c06",text:"#fff0e0",accent:"#d4a06a",fog:{highlight:9068592,mid:4730904,low:1576968,base:1051654,net:11040832}},{id:"arctic",label:"Arctic",bg:"#060c12",text:"#e8f4fc",accent:"#9ec8e6",fog:{highlight:4881050,mid:2111560,low:528408,base:396306,net:5933744}},{id:"ember",label:"Ember",bg:"#120a04",text:"#fff2e6",accent:"#e09a5a",fog:{highlight:10113056,mid:4859920,low:1575940,base:1182212,net:11558960}},{id:"tide",label:"Tide",bg:"#040e12",text:"#e2f6f8",accent:"#6ec4c8",fog:{highlight:2783872,mid:1325120,low:397844,base:265746,net:3838104}},{id:"noir",label:"Noir",bg:"#050505",text:"#f5f5f5",accent:"#c8c8c8",fog:{highlight:4210752,mid:1842204,low:657930,base:328965,net:5789784}},{id:"technonyte",label:"Technonyte",bg:"#0c0b02",text:"#fff8d6",accent:"#ffe014",fog:{highlight:15255584,mid:8022032,low:1841156,base:789250,net:16769075}},{id:"john",label:"John",bg:"#1a1c1e",text:"#eef0f2",accent:"#c4c9ce",fog:{highlight:9080984,mid:3817544,low:1711136,base:1711134,net:11055288}},{id:"sakura-pulse",label:"Sakura Pulse",bg:"#12080e",text:"#ffe8f2",accent:"#ff7ab8",fog:{highlight:13652112,mid:6957128,low:1706e3,base:1181710,net:15757480}}],j=[...U,...V];function k(t){return j.find(e=>e.id===t)||j[0]}function X(t){const e=String(t||"").replace("#","").trim();return e.length!==6?null:{r:parseInt(e.slice(0,2),16),g:parseInt(e.slice(2,4),16),b:parseInt(e.slice(4,6),16)}}function i(t,e){const r=X(t);return r?`rgba(${r.r}, ${r.g}, ${r.b}, ${e})`:`rgba(255, 255, 255, ${e})`}const q={bg:"transparent",surface:"hsla(0, 0%, 8%, 0.72)",elevated:"hsla(0, 0%, 12%, 0.85)",glass:"hsla(0, 0%, 4%, 0.45)",border:"hsla(0, 0%, 100%, 0.1)",borderFocus:"hsla(0, 0%, 100%, 0.22)",accent:"#d0d0d0",accentDim:"hsla(0, 0%, 100%, 0.08)",accentHot:"hsla(0, 0%, 94%, 0.95)",text:"#f5f5f5",textSub:"hsla(0, 0%, 65%, 0.75)",textMuted:"hsla(0, 0%, 50%, 0.55)",danger:"hsl(0 60% 56%)",headerBg:"hsla(0, 0%, 0%, 0.35)",cardBg:"hsla(0, 0%, 8%, 0.72)",inputBg:"hsla(0, 0%, 6%, 0.88)",btnPrimaryBg:"hsla(0, 0%, 100%, 0.1)",btnPrimaryBorder:"hsla(0, 0%, 100%, 0.18)",scrollbar:"hsla(0, 0%, 100%, 0.14)"},J={bg:"transparent",surface:"hsla(249, 22%, 14%, 0.72)",elevated:"hsla(247, 23%, 18%, 0.85)",glass:"hsla(249, 22%, 10%, 0.48)",border:"hsla(245, 20%, 55%, 0.18)",borderFocus:"hsla(267, 57%, 78%, 0.45)",accent:"#c4a7e7",accentDim:"hsla(267, 57%, 78%, 0.16)",accentHot:"#eb6f92",text:"#e0def4",textSub:"#908caa",textMuted:"#6e6a86",danger:"#eb6f92",headerBg:"hsla(249, 22%, 12%, 0.55)",cardBg:"hsla(249, 22%, 14%, 0.72)",inputBg:"hsla(247, 23%, 16%, 0.88)",btnPrimaryBg:"hsla(267, 57%, 78%, 0.18)",btnPrimaryBorder:"hsla(267, 57%, 78%, 0.35)",scrollbar:"hsla(267, 57%, 78%, 0.28)"};function Y(t){return t.id==="rose-pine"?{"--theme-bg":t.bg,"--theme-text":t.text,"--theme-muted":"#908caa","--theme-accent":t.accent,"--theme-accent-hot":"#eb6f92","--theme-grid":"rgba(110, 106, 134, 0.22)","--theme-placeholder":"#6e6a86","--theme-border-ui":"rgba(110, 106, 134, 0.35)","--theme-border-ui-hover":"rgba(196, 167, 231, 0.45)","--theme-input-bg":"rgba(31, 29, 46, 0.65)","--theme-input-bg-focus":"rgba(38, 35, 58, 0.85)","--theme-card-bg":"rgba(31, 29, 46, 0.92)","--theme-card-bg-hover":"rgba(38, 35, 58, 0.95)","--theme-nav-bg":t.bg,"--theme-elevated":"#26233a","--theme-surface":"#1f1d2e"}:t.id==="default"||t.id==="noir"||t.id==="sj-dark"?{"--theme-bg":t.bg,"--theme-text":t.text,"--theme-muted":"rgba(255, 255, 255, 0.55)","--theme-accent":t.accent,"--theme-accent-hot":t.accent,"--theme-grid":"rgba(255, 255, 255, 0.2)","--theme-placeholder":"rgba(255, 255, 255, 0.45)","--theme-border-ui":"rgba(255, 255, 255, 0.12)","--theme-border-ui-hover":"rgba(255, 255, 255, 0.22)","--theme-input-bg":"rgba(255, 255, 255, 0.08)","--theme-input-bg-focus":"rgba(255, 255, 255, 0.12)","--theme-card-bg":"rgba(255, 255, 255, 0.04)","--theme-card-bg-hover":"rgba(255, 255, 255, 0.07)","--theme-nav-bg":t.bg,"--theme-elevated":"hsla(0, 0%, 12%, 0.85)","--theme-surface":"hsla(0, 0%, 8%, 0.72)"}:{"--theme-bg":t.bg,"--theme-text":t.text,"--theme-muted":i(t.text,.55),"--theme-accent":t.accent,"--theme-accent-hot":t.accent,"--theme-grid":i(t.accent,.18),"--theme-placeholder":i(t.text,.42),"--theme-border-ui":i(t.text,.14),"--theme-border-ui-hover":i(t.accent,.38),"--theme-input-bg":i(t.bg,.72),"--theme-input-bg-focus":i(t.bg,.88),"--theme-card-bg":i(t.bg,.82),"--theme-card-bg-hover":i(t.bg,.92),"--theme-nav-bg":t.bg,"--theme-elevated":i(t.bg,.92),"--theme-surface":i(t.bg,.78)}}function ce(t){const e=k(t),r=document.documentElement,n=Y(e);
1Object.entries(n).forEach(([o,a])=>r.style.setProperty(o,a)),r.style.setProperty("--pz-accent",e.accent),r.style.setProperty("--pz-theme-bg",e.bg),r.style.setProperty("--pz-theme-text",e.text)}function le(t){const e=k(t);return e.id==="rose-pine"?J:e.id==="default"||e.id==="noir"||e.id==="sj-dark"?{...q,accent:e.accent,accentHot:e.accent,text:e.text}:{bg:"transparent",surface:i(e.bg,.78),elevated:i(e.bg,.92),glass:i(e.bg,.55),border:i(e.text,.12),borderFocus:i(e.accent,.42),accent:e.accent,accentDim:i(e.accent,.16),accentHot:e.accent,text:e.text,textSub:i(e.text,.68),textMuted:i(e.text,.45),danger:"hsl(0 60% 56%)",headerBg:i(e.bg,.58),cardBg:i(e.bg,.78),inputBg:i(e.bg,.88),btnPrimaryBg:i(e.accent,.18),btnPrimaryBorder:i(e.accent,.34),scrollbar:i(e.accent,.26)}}function de(){try{return localStorage.getItem("theme")||"default"}catch{return"default"}}const he=[{id:"ddg",label:"DuckDuckGo",template:"https://duckduckgo.com/?q=%s"},{id:"bing",label:"Bing",template:"https://www.bing.com/search?q=%s"},{id:"google",label:"Google",template:"https://www.google.com/search?q=%s"},{id:"startpage",label:"Startpage",template:"https://www.startpage.com/sp/search?query=%s"},{id:"brave",label:"Brave Search",template:"https://search.brave.com/search?q=%s"}],Q=[{id:"auto",label:"Match identity mode",group:"Default",ua:""},{id:"chrome-win",label:"Chrome · Windows",group:"Desktop",ua:"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"},{id:"chrome-mac",label:"Chrome · macOS",group:"Desktop",ua:"Mozilla/5.0 (Macintosh; Intel Mac OS X 14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"},{id:"safari-mac",label:"Safari · macOS",group:"Desktop",ua:"Mozilla/5.0 (Macintosh; Intel Mac OS X 14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3 Safari/605.1.15"},{id:"firefox-win",label:"Firefox · Windows",group:"Desktop",ua:"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0"},{id:"edge-win",label:"Edge · Windows",group:"Desktop",ua:"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"},{id:"safari-iphone",label:"Safari · iPhone",group:"Mobile",ua:"Mozilla/5.0 (iPhone; CPU iPhone OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3 Mobile/15E148 Safari/604.1"},{id:"chrome-android",label:"Chrome · Android",group:"Mobile",ua:"Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Mobile Safari/537.36"},{id:"chromecast",label:"Smart TV · Chromecast",group:"Living room",ua:"Mozilla/5.0 (CrKey armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.132 Safari/537.36"},{id:"ps5",label:"PlayStation 5",group:"Console",ua:"Mozilla/5.0 (PlayStation; PlayStation 5/9.00) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15"},{id:"xbox",label:"Xbox Series",group:"Console",ua:"Mozilla/5.0 (Windows NT 10.0; Win64; x64; Xbox; Xbox Series X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edge/44.18363.8131"},{id:"switch",label:"Nintendo Switch",group:"Console",ua:"Mozilla/5.0 (Nintendo Switch; WifiWebAuthApplet) AppleWebKit/601.6 (KHTML, like Gecko) NF/16.0.0.20.9 NintendoBrowser/5.1.0.13343"},{id:"googlebot",label:"Crawler · Google",group:"Other",ua:"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"}],Z="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36";function ee(){try{const t=localStorage.getItem("uaPreset")||"auto",e=localStorage.getItem("customUserAgent")||"";if(e.trim())return e.trim().slice(0,400);const r=Q.find(o=>o.id===t);return r!=null&&r.ua?r.ua:(localStorage.getItem("browserIdentity")||"mirror")==="disguise"?Z:navigator.userAgent}catch{return navigator.userAgent}}function ge(){try{const t=localStorage.getItem("browserIdentity")||"mirror",e=ee();if(t==="disguise"||(localStorage.getItem("uaPreset")||"auto")!=="auto"||localStorage.getItem("customUserAgent")){try{Object.defineProperty(Navigator.prototype,"userAgent",{get:()=>e,configurable:!0})}catch{}try{Object.defineProperty(navigator,"userAgent",{get:()=>e,configurable:!0})}catch{}}}catch{}}const I="#000000",te={baseColor:0,lowlightColor:526344,midtoneColor:1118481,highlightColor:2236962};function re(t){if(!t)return 0;const e=t.trim();if(e.startsWith("#")&&(e.length===7||e.length===4)){if(e.length===4){const r=e[1],n=e[2],o=e[3];return parseInt(`0x${r}${r}${n}${n}${o}${o}`,16)}return parseInt(e.slice(1),16)}return 0}function H(){return localStorage.getItem("backgroundColor")||I}function G(){return localStorage.getItem("bgNetwork")==="true"}function K(){return localStorage.getItem("backgroundImage")||""}function N(){return localStorage.getItem("theme")||"default"}function oe(){var n,o;
1const t=window.visualViewport,e=Math.max(window.innerWidth||0,(t==null?void 0:t.width)||0,((n=document.documentElement)==null?void 0:n.clientWidth)||0),r=Math.max(window.innerHeight||0,(t==null?void 0:t.height)||0,((o=document.documentElement)==null?void 0:o.clientHeight)||0);return{w:Math.ceil(e+2),h:Math.ceil(r+2)}}function C(t,e,r=!1){var m,h,d;if(!t)return;let n,o;if(r){const l=t.getBoundingClientRect();n=Math.max(1,Math.ceil(l.width||t.clientWidth||1)),o=Math.max(1,Math.ceil(l.height||t.clientHeight||1))}else{const l=oe();n=l.w,o=l.h}t.style.width=r?"100%":`${n}px`,t.style.height=r?"100%":`${o}px`,t.style.left="0",t.style.top="0",t.style.right=r?"0":"auto",t.style.bottom=r?"0":"auto";try{(m=e==null?void 0:e.resize)==null||m.call(e)}catch{}const a=t.querySelector("canvas");if(a){a.style.width="100%",a.style.height="100%",a.style.maxWidth="none",a.style.maxHeight="none",a.style.display="block",a.style.position="absolute",a.style.left="0",a.style.top="0",a.style.inset="auto";try{typeof((h=e==null?void 0:e.renderer)==null?void 0:h.setSize)=="function"&&e.renderer.setSize(n,o,!1);const l=Math.min(window.devicePixelRatio||1,2),g=Math.floor(n*l),y=Math.floor(o*l);(a.width!==g||a.height!==y)&&(a.width=g,a.height=y)}catch{}}try{(d=e==null?void 0:e.resize)==null||d.call(e)}catch{}}function ae({contained:t=!1,black:e=!1}){const r=u.useRef(null),n=u.useRef(null),o=u.useRef(null),a=u.useRef(null),[m,h]=u.useState(()=>e?"#000000":H()),[d,l]=u.useState(G),[g,y]=u.useState(K),[x,T]=u.useState(N);u.useEffect(()=>{if(e)return;const c=()=>{h(H()),l(G()),y(K()),T(N())};return window.addEventListener("rosin-settings-updated",c),window.addEventListener("storage",c),()=>{window.removeEventListener("rosin-settings-updated",c),window.removeEventListener("storage",c)}},[e]),u.useEffect(()=>{var M,A,z,P;if(g){try{(A=(M=o.current)==null?void 0:M.destroy)==null||A.call(M)}catch{}o.current=null;return}if(!r.current)return;const c=k(x),p=e?0:re(m)||c.fog.base,f=e?te:{baseColor:p,lowlightColor:c.fog.low,midtoneColor:c.fog.mid,highlightColor:c.fog.highlight};try{o.current?o.current.setOptions({...f,blurFactor:.85,speed:1.35,zoom:1.3}):o.current=R({el:r.current,THREE:B,mouseControls:!0,touchControls:!0,gyroControls:!1,minHeight:200,minWidth:200,blurFactor:.85,speed:1.35,zoom:1.3,...f})}catch{}const s=()=>{C(r.current,o.current,t),C(n.current,a.current,t)};s();const E=window.setTimeout(s,50),O=window.setTimeout(s,250),D=window.setTimeout(s,800),_=window.setTimeout(s,1600);window.addEventListener("resize",s),window.addEventListener("orientationchange",s),(z=window.visualViewport)==null||z.addEventListener("resize",s);let w=null;try{w=new ResizeObserver(s),r.current&&w.observe(r.current),t?(P=r.current)!=null&&P.parentElement&&w.observe(r.current.parentElement):(w.observe(document.documentElement),document.body&&w.observe(document.body))}catch{}return()=>{var W;window.clearTimeout(E),window.clearTimeout(O),window.clearTimeout(D),window.clearTimeout(_),window.removeEventListener("resize",s),window.removeEventListener("orientationchange",s),(W=window.visualViewport)==null||W.removeEventListener("resize",s);try{w==null||w.disconnect()}catch{}}},[m,x,g,t,e]),u.useEffect(()=>{var p,f,s,E;if(e||!d||g){try{(f=(p=a.current)==null?void 0:p.destroy)==null||f.call(p)}catch{}a.current=null;return}if(!n.current)return;const c=k(x);try{a.current?(E=(s=a.current).setOptions)==null||E.call(s,{color:c.fog.net}):a.current=F({el:n.current,THREE:B,mouseControls:!0,touchControls:!0,gyroControls:!1,minHeight:200,minWidth:200,scale:1,scaleMobile:1,color:c.fog.net,backgroundColor:0,points:6,maxDistance:14,spacing:26,showDots:!1}),C(n.current,a.current,t)}catch{}},[d,x,g,t,e]),u.useEffect(()=>()=>{var c,p,f,s;try{(p=(c=o.current)==null?void 0:c.destroy)==null||p.call(c),(s=(f=a.current)==null?void 0:f.destroy)==null||s.call(f)}catch{}o.current=null,a.current=null},[]);const v=t?{position:"absolute",inset:0,width:"100%",height:"100%",zIndex:0,pointerEvents:"none",overflow:"hidden"}:{position:"fixed",top:0,left:0,width:"100vw",height:"100dvh",zIndex:0,pointerEvents:"none",overflow:"hidden"};return g?S.jsx("div",{"aria-hidden":!0,style:{...v,backgroundImage:`url(${g})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundColor:m||I}}):S.jsxs(S.Fragment,{children:[S.jsx("div",{ref:r,className:"vanta vanta-full","aria-hidden":!0,style:{...v,background:e?"#000000":m||I}}
1),S.jsx("div",{"aria-hidden":!0,className:"space-twinkle",style:v}),d&&S.jsx("div",{ref:n,className:"vanta-full","aria-hidden":!0,style:{...v,opacity:.12,mixBlendMode:"screen"}})]})}const ue=Object.freeze(Object.defineProperty({__proto__:null,default:ae},Symbol.toStringTag,{value:"Module"}));export{he as S,Q as U,ae as V,ee as a,ge as b,j as c,ce as d,ue as e,le as p,de as r,k 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.