function E(){}function Y(t,e){for(const n in e)t[n]=e[n];return t}function G(t){return t()}function P(){return Object.create(null)}function w(t){t.forEach(G)}function R(t){return typeof t=="function"}function Tt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function Z(t){return Object.keys(t).length===0}function $t(t,e,n,i){if(t){const s=U(t,e,n,i);return t[0](s)}}function U(t,e,n,i){return t[1]&&i?Y(n.ctx.slice(),t[1](i(e))):n.ctx}function Mt(t,e,n,i){if(t[2]&&i){const s=t[2](i(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const l=[],r=Math.max(e.dirty.length,s.length);for(let a=0;a32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(s)<=i?t=s+1:e=s}return t}function et(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const u=[];for(let c=0;c0&&e[n[s]].claim_order<=c?s+1:tt(1,s,x=>e[n[x]].claim_order,c))-1;i[u]=n[d]+1;const f=d+1;n[f]=u,s=Math.max(f,s)}const l=[],r=[];let a=e.length-1;for(let u=n[s]+1;u!=0;u=i[u-1]){for(l.push(e[u-1]);a>=u;a--)r.push(e[a]);a--}for(;a>=0;a--)r.push(e[a]);l.reverse(),r.sort((u,c)=>u.claim_order-c.claim_order);for(let u=0,c=0;u=l[c].claim_order;)c++;const d=ct.removeEventListener(e,n,i)}function q(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const st=["width","height"];function Pt(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)e[i]==null?t.removeAttribute(i):i==="style"?t.style.cssText=e[i]:i==="__value"?t.value=t[i]=e[i]:n[i]&&n[i].set&&st.indexOf(i)===-1?t[i]=e[i]:q(t,i,e[i])}function Lt(t,e){for(const n in e)q(t,n,e[n])}function Ot(t){return t===""?null:+t}function rt(t){return Array.from(t.childNodes)}function V(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function J(t,e,n,i,s=!1){V(t);const l=(()=>{for(let r=t.claim_info.last_index;r=0;r--){const a=t[r];if(e(a)){const u=n(a);return u===void 0?t.splice(r,1):t[r]=u,s?u===void 0&&t.claim_info.last_index--:t.claim_info.last_index=r,a}}return i()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function Q(t,e,n,i){return J(t,s=>s.nodeName===e,s=>{const l=[];for(let r=0;rs.removeAttribute(r))},()=>i(e))}function Dt(t,e,n){return Q(t,e,n,F)}function Bt(t,e,n){return Q(t,e,n,W)}function ut(t,e){return J(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>H(e),!0)}function Gt(t){return ut(t," ")}function L(t,e,n){for(let i=n;i{const s=t.$$.callbacks[e];if(s){const l=ct(e,n,{cancelable:i});return s.slice().forEach(r=>{r.call(t,l)}),!l.defaultPrevented}return!0}}const m=[],O=[];let g=[];const D=[],at=Promise.resolve();let N=!1;function ft(){N||(N=!0,at.then(X))}function S(t){g.push(t)}const M=new Set;let _=0;function X(){if(_!==0)return;const t=b;do{try{for(;_t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),g=e}const y=new Set;let h;function Xt(){h={r:0,c:[],p:h}}function Yt(){h.r||w(h.c),h=h.p}function _t(t,e){t&&t.i&&(y.delete(t),t.i(e))}function Zt(t,e,n,i){if(t&&t.o){if(y.has(t))return;y.add(t),h.c.push(()=>{y.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}function It(t){t&&t.c()}function Kt(t,e){t&&t.l(e)}function mt(t,e,n){const{fragment:i,after_update:s}=t.$$;i&&i.m(e,n),S(()=>{const l=t.$$.on_mount.map(G).filter(R);t.$$.on_destroy?t.$$.on_destroy.push(...l):w(l),t.$$.on_mount=[]}),s.forEach(S)}function gt(t,e){const n=t.$$;n.fragment!==null&&(ht(n.after_update),w(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function pt(t,e){t.$$.dirty[0]===-1&&(m.push(t),ft(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const j=z.length?z[0]:x;return c.ctx&&s(c.ctx[f],c.ctx[f]=j)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](j),d&&pt(t,f)),x}):[],c.update(),d=!0,w(c.before_update),c.fragment=i?i(c.ctx):!1,e.target){if(e.hydrate){I();const f=rt(e.target);c.fragment&&c.fragment.l(f),f.forEach(A)}else c.fragment&&c.fragment.c();e.intro&&_t(t.$$.fragment),mt(t,e.target,e.anchor),K(),X()}C(u)}class ee{$$=void 0;$$set=void 0;$destroy(){gt(this,1),this.$destroy=E}$on(e,n){if(!R(n))return E;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const s=i.indexOf(n);s!==-1&&i.splice(s,1)}}$set(e){this.$$set&&!Z(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Ct="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ct);var o=(t=>(t.home="home",t.about="about",t.archive="archive",t.search="search",t.tags="tags",t.categories="categories",t.recentPosts="recentPosts",t.comments="comments",t.untitled="untitled",t.uncategorized="uncategorized",t.noTags="noTags",t.wordCount="wordCount",t.wordsCount="wordsCount",t.minuteCount="minuteCount",t.minutesCount="minutesCount",t.postCount="postCount",t.postsCount="postsCount",t.themeColor="themeColor",t.lightMode="lightMode",t.darkMode="darkMode",t.systemMode="systemMode",t.more="more",t.author="author",t.publishedAt="publishedAt",t.license="license",t))(o||{}),v=(t=>(t[t.Home=0]="Home",t[t.Archive=1]="Archive",t[t.About=2]="About",t))(v||{});const bt={title:"Fuwari",subtitle:"Demo Site",lang:"en",themeColor:{hue:250,fixed:!1},banner:{enable:!1,src:"assets/images/demo-banner.png",position:"center"},favicon:[]};v.Home,v.Archive,v.About;const p={[o.home]:"Home",[o.about]:"About",[o.archive]:"Archive",[o.search]:"Search",[o.tags]:"Tags",[o.categories]:"Categories",[o.recentPosts]:"Recent Posts",[o.comments]:"Comments",[o.untitled]:"Untitled",[o.uncategorized]:"Uncategorized",[o.noTags]:"No Tags",[o.wordCount]:"word",[o.wordsCount]:"words",[o.minuteCount]:"minute",[o.minutesCount]:"minutes",[o.postCount]:"post",[o.postsCount]:"posts",[o.themeColor]:"Theme Color",[o.lightMode]:"Light",[o.darkMode]:"Dark",[o.systemMode]:"System",[o.more]:"More",[o.author]:"Author",[o.publishedAt]:"Published at",[o.license]:"License"},B={[o.home]:"Home",[o.about]:"About",[o.archive]:"Archive",[o.search]:"検索",[o.tags]:"タグ",[o.categories]:"カテゴリ",[o.recentPosts]:"最近の投稿",[o.comments]:"コメント",[o.untitled]:"タイトルなし",[o.uncategorized]:"カテゴリなし",[o.noTags]:"タグなし",[o.wordCount]:"文字",[o.wordsCount]:"文字",[o.minuteCount]:"分",[o.minutesCount]:"分",[o.postCount]:"件の投稿",[o.postsCount]:"件の投稿",[o.themeColor]:"テーマカラー",[o.lightMode]:"ライト",[o.darkMode]:"ダーク",[o.systemMode]:"システム",[o.more]:"もっと",[o.author]:"作者",[o.publishedAt]:"公開日",[o.license]:"ライセンス"},wt={[o.home]:"主页",[o.about]:"关于",[o.archive]:"归档",[o.search]:"搜索",[o.tags]:"标签",[o.categories]:"分类",[o.recentPosts]:"最新文章",[o.comments]:"评论",[o.untitled]:"无标题",[o.uncategorized]:"未分类",[o.noTags]:"无标签",[o.wordCount]:"字",[o.wordsCount]:"字",[o.minuteCount]:"分钟",[o.minutesCount]:"分钟",[o.postCount]:"篇文章",[o.postsCount]:"篇文章",[o.themeColor]:"主题色",[o.lightMode]:"亮色",[o.darkMode]:"暗色",[o.systemMode]:"跟随系统",[o.more]:"更多",[o.author]:"作者",[o.publishedAt]:"发布于",[o.license]:"许可协议"},xt={[o.home]:"首頁",[o.about]:"關於",[o.archive]:"彙整",[o.search]:"搜尋",[o.tags]:"標籤",[o.categories]:"分類",[o.recentPosts]:"最新文章",[o.comments]:"評論",[o.untitled]:"無標題",[o.uncategorized]:"未分類",[o.noTags]:"無標籤",[o.wordCount]:"字",[o.wordsCount]:"字",[o.minuteCount]:"分鐘",[o.minutesCount]:"分鐘",[o.postCount]:"篇文章",[o.postsCount]:"篇文章",[o.themeColor]:"主題色",[o.lightMode]:"亮色",[o.darkMode]:"暗色",[o.systemMode]:"跟隨系統",[o.more]:"更多",[o.author]:"作者",[o.publishedAt]:"發佈於",[o.license]:"許可協議"},yt=p,vt={en:p,en_us:p,en_gb:p,en_au:p,zh_cn:wt,zh_tw:xt,ja:B,ja_jp:B};function At(t){return vt[t.toLowerCase()]||yt}function ne(t){const e=bt.lang;return At(e)[t]}export{Ot as A,Yt as B,Ht as C,Vt as D,Rt as E,Xt as F,zt as G,$ as H,o as I,E as J,Jt as K,Y as L,St as M,Pt as N,W as O,Bt as P,Lt as Q,Qt as R,ee as S,It as T,Kt as U,mt as V,gt as W,ne as a,kt as b,$t as c,Dt as d,F as e,rt as f,ut as g,Gt as h,te as i,A as j,q as k,qt as l,Wt as m,it as n,nt as o,Ft as p,jt as q,Nt as r,Tt as s,H as t,Et as u,Mt as v,Ut as w,_t as x,Zt as y,w as z};