gctGenerator/docs/assets/js/1.bbd84aa5.js

1 line
46 KiB
JavaScript
Raw Permalink Normal View History

2023-10-16 17:40:28 +09:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{241:function(n,e,i){"use strict";i.d(e,"e",(function(){return d})),i.d(e,"c",(function(){return t})),i.d(e,"b",(function(){return r})),i.d(e,"f",(function(){return o})),i.d(e,"g",(function(){return c})),i.d(e,"h",(function(){return h})),i.d(e,"a",(function(){return w})),i.d(e,"d",(function(){return g})),i.d(e,"i",(function(){return x}));i(91);function d(n,e,i,d={}){const t=Object.keys(e),r=e instanceof Array?n=>n.config:n=>Object.fromEntries(t.map(e=>[e,n[e]]));return function(){const e=r(this);localStorage.setItem(n,JSON.stringify(e));const t={...d,...e};this.$emit("config",i?{...t,text:i(e)}:t)}}const t=(n,e)=>(n>>>0).toString(16).toUpperCase().padStart(e<<1,"0").slice(-(e<<1));function r(n){const e=new DataView(new ArrayBuffer(4));return e.setFloat32(0,n),t(e.getUint32(0),4)}const o=n=>"#"+n.toString(16).padStart(6,"0"),c=n=>parseInt(n.slice(1),16),h=(n,e)=>"#"+n.toString(16).padStart(6,"0")+e.toString(16).padStart(2,"0"),w=n=>"#"+(n>>>0).toString(16).padStart(8,"0"),g=(n,e,i="en-US")=>d=>{const t=d.split(".");for(const d of[e,i]){let e=n[d];for(const n of t){if(null==e)break;e=e[n]}if(null!=e)return e}return null};function x(n,e){const i=[],d=[];for(const t of n)(e(t)?i:d).push(t);return[i,d]}},253:function(n,e,i){"use strict";i.d(e,"a",(function(){return o}));i(91);var d=i(310),t=i(311),r=i(312);function o(n,e){const{charInfo:i,rowSize:o}=(n=>n.startsWith("GMSJ")?{charInfo:d,rowSize:24}:{charInfo:"GMSE01"===n?r:t,rowSize:16})(e),c=[];let h=0,w=0,g=0,x=!1;return n.split("").forEach(n=>{var e;const{index:d,kerning:t,width:r}=null!==(e=i[n])&&void 0!==e?e:i["?"];if("\n"===n)return x=!1,h=0,void(w+=20);x&&(h-=t),x=!0;const[k,u]=[d%o*20,20*(d/o|0)];c.push({x:h,y:w,u:k,v:u}),h+=r+t,h>g&&(g=h)}),{chars:c,width:g,height:w+20}}},310:function(n){n.exports=JSON.parse('{"0":{"index":309,"kerning":1,"width":16,"code":48},"1":{"index":310,"kerning":2,"width":12,"code":49},"2":{"index":311,"kerning":1,"width":15,"code":50},"3":{"index":312,"kerning":2,"width":14,"code":51},"4":{"index":313,"kerning":1,"width":16,"code":52},"5":{"index":314,"kerning":1,"width":15,"code":53},"6":{"index":315,"kerning":1,"width":15,"code":54},"7":{"index":316,"kerning":1,"width":15,"code":55},"8":{"index":317,"kerning":1,"width":15,"code":56},"9":{"index":318,"kerning":1,"width":16,"code":57}," ":{"index":0,"kerning":0,"width":20,"code":32},"!":{"index":1,"kerning":3,"width":7,"code":33},":":{"index":2,"kerning":3,"width":7,"code":58},"?":{"index":3,"kerning":1,"width":15,"code":63},"[":{"index":4,"kerning":3,"width":14,"code":91},"]":{"index":5,"kerning":0,"width":15,"code":93},"#":{"index":6,"kerning":0,"width":20,"code":35},".":{"index":7,"kerning":0,"width":8,"code":46},"-":{"index":8,"kerning":1,"width":13,"code":45},",":{"index":9,"kerning":0,"width":8,"code":44},";":{"index":10,"kerning":3,"width":7,"code":59},"\'":{"index":11,"kerning":0,"width":7,"code":39},"`":{"index":12,"kerning":7,"width":6,"code":96},"\\"":{"index":13,"kerning":0,"width":10,"code":34},"(":{"index":14,"kerning":3,"width":14,"code":40},")":{"index":15,"kerning":0,"width":15,"code":41},"…":{"index":16,"kerning":0,"width":20,"code":33123},"★":{"index":17,"kerning":0,"width":20,"code":33178}," ":{"index":18,"kerning":0,"width":20,"code":33088},"、":{"index":19,"kerning":0,"width":20,"code":33089},"。":{"index":20,"kerning":0,"width":20,"code":33090},"「":{"index":21,"kerning":3,"width":14,"code":33141},"」":{"index":22,"kerning":0,"width":15,"code":33142},"ぁ":{"index":23,"kerning":0,"width":19,"code":33439},"あ":{"index":24,"kerning":0,"width":20,"code":33440},"ぃ":{"index":25,"kerning":0,"width":19,"code":33441},"い":{"index":26,"kerning":0,"width":20,"code":33442},"ぅ":{"index":27,"kerning":1,"width":17,"code":33443},"う":{"index":28,"kerning":0,"width":19,"code":33444},"ぇ":{"index":29,"kerning":0,"width":19,"code":33445},"え":{"index":30,"kerning":0,"width":20,"code":33446},"ぉ":{"index":31,"kerning":0,"width":19,"code":33447},"お":{"index":32,"kerning":0,"width":20,"code":33448},"か":{"index