PageSourceSearch

https://leehuayun-hermes-cli.hf.space/assets/Settings-BlcXVtJD.js

js leehuayun-hermes-cli.hf.space collected 2026-10-04 17:03:39 UTC 7,190 bytes, 7 lines download raw bytes

1import{a as Q,u as be,$ as he,t as ge,p as F,k as we,O as _e,i as E,P as pe,Q as fe,b as O}from"./i18n-zlFzjs4f.js";import{M as K,N as Z,Q as t,S as s,T as a,t as L,X as d,U as b,a as h,O as $,R as g,a7 as ye,$ as R,aa as H,ab as ke,Z as u,a5 as P}from"./index-CU1DelDP.js";import{s as xe}from"./Blocks-DN9raxd6.js";import{C as Ce}from"./clear-4MDuJA2U.js";import"./ScrollFade.svelte_svelte_type_style_lang-Dfs1lduW.js";import{b as Se}from"./Dropdown-CYlHFSqi.js";import"./StreamingBar.svelte_svelte_type_style_lang-C38RZjKb.js";/* empty css                                              */import{C as J}from"./Checkbox-LRDoWvCi.js";import"./html-BteDVFfP.js";import"./size-DmmCd7fQ.js";import"./state.svelte-DGmLUyXF.js";import"./index-DtD0jtyM.js";import"./Clear-CA6a-Ia7.js";import"./index-DPvEbAoz.js";import"./index-tFQomdd2.js";import"./snippet-CwUu_P6q.js";import"./input-ClT0-0IF.js";import"./window-C8YKzLlv.js";import"./BlockTitle-qnnSeeaU.js";import"./Info-DY-FOUA_.js";import"./DropdownArrow-CF5QKxEZ.js";import"./IconButtonWrapper-CH_og5Tr.js";import"./index-B_pwUImq.js";import"./universal-C5d655WQ.js";var Re=g('<h2 class="svelte-xaoy31"><img alt="" class="svelte-xaoy31"/> <div class="title svelte-xaoy31"> <div class="url svelte-xaoy31"> </div></div></h2> <button class="svelte-xaoy31"><!></button>',1);function Pe(T,o){K(o,!0);const i=()=>be(he,"$_",w),[w,_]=ge();var m=Re(),c=Z(m),n=t(c),p=s(n,2),f=t(p),y=s(f),k=t(y,!0);a(y),a(p),a(c);var v=s(c,2),z=t(v);Ce(z),a(v),L(x=>{Q(n,"src",xe),d(f,`${x??""} `),d(k,o.root)},[()=>i()("common.settings")]),b("click",v,()=>o.onclose?.()),h(T,m),$(),_()}const Le="data:image/svg+xml,%3csvg%20viewBox='0%200%2020%2020'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='%23000000'%3e%3cg%20id='SVGRepo_bgCarrier'%20stroke-width='0'%3e%3c/g%3e%3cg%20id='SVGRepo_tracerCarrier'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3c/g%3e%3cg%20id='SVGRepo_iconCarrier'%3e%3ctitle%3erecord%20[%23982]%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cdefs%3e%3c/defs%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Dribbble-Light-Preview'%20transform='translate(-380.000000,%20-3839.000000)'%20fill='%23808080'%3e%3cg%20id='icons'%20transform='translate(56.000000,%20160.000000)'%3e%3cpath%20d='M338,3689%20C338,3691.209%20336.209,3693%20334,3693%20C331.791,3693%20330,3691.209%20330,3689%20C330,3686.791%20331.791,3685%20334,3685%20C336.209,3685%20338,3686.791%20338,3689%20M334,3697%20C329.589,3697%20326,3693.411%20326,3689%20C326,3684.589%20329.589,3681%20334,3681%20C338.411,3681%20342,3684.589%20342,3689%20C342,3693.411%20338.411,3697%20334,3697%20M334,3679%20C328.477,3679%20324,3683.477%20324,3689%20C324,3694.523%20328.477,3699%20334,3699%20C339.523,3699%20344,3694.523%20344,3689%20C344,3683.477%20339.523,3679%20334,3679'%20id='record-[%23982]'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";var Te=g('<div class="banner-wrap svelte-1t60wb3"><h2 class="svelte-1t60wb3"> </h2> <ul class="padded theme-buttons svelte-1t60wb3"><li><button class="svelte-1t60wb3">☀︎ &nbsp;Light</button></li> <li><button class="svelte-1t60wb3">⏾ &nbsp; Dark</button></li> <li><button class="svelte-1t60wb3">🖥︎ &nbsp;System</button></li></ul></div>'),ze=g('You can install this app as a Progressive Web App on your device. Visit <a target="_blank" class="svelte-1t60wb3"> </a> and click the install button in the URL address bar of your browser.',1),Ge=g(`Progressive Web App is not enabled for this app. To enable it, start your
2			Gradio app with <code>launch(pwa=True)</code>.`,1),Me=g(`<div class="banner-wrap svelte-1t60wb3"><!></div> <!> <div class="banner-wrap svelte-1t60wb3"><h2 class="svelte-1t60wb3"> </h2> <p class="padded svelte-1t60wb3"><!></p></div> <div class="banner-wrap svelte-1t60wb3"><h2 class="svelte-1t60wb3"> </h2> <p class="padded svelte-1t60wb3"><!></p></div> <div class="banner-wrap svelte-1t60wb3"><h2 class="svelte-1t60wb3"> <span class="beta-tag svelte-1t60wb3">beta</span></h2> <p class="padded svelte-1t60wb3">Screen Studio allows you to record your screen and generates a video of your
3		app with automatically adding zoom in and zoom out effects as well as
4		trimming the video to remove the prediction time. <br/><br/> Start recording by clicking the <i>Start Recording</i> button below and then
5		sharing the current browser tab of your Gradio demo. Use your app as you
6		would normally to generate a prediction. <br/> Stop recording by clicking the <i>Stop Recording</i> button in the footer of
7		the demo. <br/><br/> <!> <!></p> <button class="record-button svelte-1t60wb3"><img alt="Start Recording" class="svelte-1t60wb3"/> Start Recording</button></div>`,1);function ot(T,o){K(o,!0);let i=F(o,"root",7),w=F(o,"allow_zoom",15),_=F(o,"allow_video_trim",15);i()===""&&i(location.protocol+"//"+location.host+location.pathname),i().endsWith("/")||i(i()+"/");
7function m(e){const r=new URL(window.location.href);e==="system"?(r.searchParams.delete("__theme"),R(n,"system")):(r.searchParams.set("__theme",e),R(n,e,!0)),r.searchParams.delete("view"),window.location.href=r.toString()}ye(()=>{"parentIFrame"in window&&window.parentIFrame?.scrollTo(0,0);const r=new URL(window.location.href).searchParams.get("__theme");return R(n,r||"system",!0),()=>{document.body.style.overflow="auto"}});let c=H(ke(we(_e)??"en")),n=H("system");function p(e){fe(e)}function f(e){w(e)}function y(e){_(e)}var k=Me(),v=Z(k),z=t(v);Pe(z,{onclose:()=>o.onclose(),get root(){return i()}}),a(v);var x=s(v,2);{var ee=e=>{var r=Te(),l=t(r),A=t(l,!0);a(l);var q=s(l,2),C=t(q),ve=t(C);a(C);var S=s(C,2),de=t(S);a(S);var B=s(S,2),me=t(B);a(B),a(q),a(r),L(ue=>{d(A,ue),O(C,1,`theme-button ${u(n)==="light"?"current-theme":"inactive-theme"}`,"svelte-1t60wb3"),O(S,1,`theme-button ${u(n)==="dark"?"current-theme":"inactive-theme"}`,"svelte-1t60wb3"),O(B,1,`theme-button ${u(n)==="system"?"current-theme":"inactive-theme"}`,"svelte-1t60wb3")},[()=>o.i18n("common.display_theme")]),b("click",ve,()=>m("light")),b("click",de,()=>m("dark")),b("click",me,()=>m("system")),h(e,r)};E(x,e=>{o.space_id===null&&e(ee)})}var G=s(x,2),M=t(G),te=t(M,!0);a(M);var j=s(M,2),ae=t(j);Se(ae,{label:"Language",get choices(){return pe},show_label:!1,on_change:()=>p(u(c)),get value(){return u(c)},set value(e){R(c,e,!0)}}),a(j),a(G);var U=s(G,2),V=t(U),re=t(V,!0);a(V);var N=s(V,2),oe=t(N);{var se=e=>{var r=ze(),l=s(Z(r)),A=t(l,!0);a(l),P(),L(()=>{Q(l,"href",i()),d(A,i())}),h(e,r)},ie=e=>{var r=Ge();P(2),h(e,r)};E(oe,e=>{o.pwa_enabled?e(se):e(ie,!1)})}a(N),a(U);var X=s(U,2),I=t(X),ne=t(I);P(),a(I);var D=s(I,2),Y=s(t(D),13);J(Y,{label:"Include automatic zoom in/out",interactive:!0,get value(){return w()},on_change:f});var le=s(Y,2);J(le,{label:"Include automatic video trimming",interactive:!0,get value(){return _()},on_change:y}),a(D);var W=s(D,2),ce=t(W);P(),a(W),a(X),L((e,r,l)=>{d(te,e),d(re,r),d(ne,`${l??""} `),Q(ce,"src",Le)},[()=>o.i18n("common.language"),()=>o.i18n("common.pwa"),()=>o.i18n("common.screen_studio")]),b("click",W,()=>{o.onclose?.(),o.start_recording?.()}),h(T,k),$()}export{ot as default};

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.