Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
0.1.11: Hotfix for Spez Drowning in the Sea
Browse files Browse the repository at this point in the history
  • Loading branch information
PoneyClairDeLune committed Jul 24, 2023
1 parent c37ed72 commit f915217
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/web.js.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use strict";(()=>{var qn={name:"Painted Palette",ver:"0.1.9"};var Wn=function(y=0){let E=`${Math.floor(y%1*100)}`.padStart(2,"0"),b=`${Math.floor(y%60)}`.padStart(2,"0"),L=`${Math.floor(y/60)%60}`.padStart(2,"0"),q=`${Math.floor(y/3600)%24}`.padStart(2,"0");return`${`${Math.floor(y/86400)}`}d ${q}:${L}:${b}.${E}`},Re=function(y=0){y=Math.round(y*1e4)/100;let E=`${Math.floor(y)}`,b=`${Math.floor(y*100%100)}`.padStart(2,"0");return`${E}.${b}%`},Un=function(y){let E=Math.floor(Math.log2(y)/10)||0;return`${Math.round(y/1024**E*1e3)/1e3} ${["B","KiB","MiB","GiB","TiB"][E]}`};(()=>{var y=!1,E=!1,b=[],L=-1;function q(e){ee(e)}function ee(e){b.includes(e)||b.push(e),J()}function V(e){let t=b.indexOf(e);t!==-1&&t>L&&b.splice(t,1)}function J(){!E&&!y&&(y=!0,queueMicrotask(pe))}function pe(){y=!1,E=!0;for(let e=0;e<b.length;e++)b[e](),L=e;b.length=0,L=-1,E=!1}var u,v,_,M,x=!0;function Fn(e){x=!1,e(),x=!0}function Kn(e){u=e.reactive,_=e.release,v=t=>e.effect(t,{scheduler:n=>{x?q(n):n()}}),M=e.raw}function gt(e){v=e}function Vn(e){let t=()=>{};return[n=>{let r=v(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(i=>i())}),e._x_effects.add(r),t=()=>{r!==void 0&&(e._x_effects.delete(r),_(r))},r},()=>{t()}]}var xt=[],yt=[],bt=[];function Jn(e){bt.push(e)}function wt(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,yt.push(t))}function Hn(e){xt.push(e)}function Yn(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function Et(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([n,r])=>{(t===void 0||t.includes(n))&&(r.forEach(i=>i()),delete e._x_attributeCleanups[n])})}var De=new MutationObserver(We),Ie=!1;function ze(){De.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Ie=!0}function At(){Xn(),De.disconnect(),Ie=!1}var te=[],Be=!1;function Xn(){te=te.concat(De.takeRecords()),te.length&&!Be&&(Be=!0,queueMicrotask(()=>{Zn(),Be=!1}))}function Zn(){We(te),te.length=0}function S(e){if(!Ie)return e();At();let t=e();return ze(),t}var qe=!1,_e=[];function Gn(){qe=!0}function Qn(){qe=!1,We(_e),_e=[]}function We(e){if(qe){_e=_e.concat(e);return}let t=[],n=[],r=new Map,i=new Map;for(let a=0;a<e.length;a++)if(!e[a].target._x_ignoreMutationObserver&&(e[a].type==="childList"&&(e[a].addedNodes.forEach(o=>o.nodeType===1&&t.push(o)),e[a].removedNodes.forEach(o=>o.nodeType===1&&n.push(o))),e[a].type==="attributes")){let o=e[a].target,l=e[a].attributeName,s=e[a].oldValue,c=()=>{r.has(o)||r.set(o,[]),r.get(o).push({name:l,value:o.getAttribute(l)})},f=()=>{i.has(o)||i.set(o,[]),i.get(o).push(l)};o.hasAttribute(l)&&s===null?c():o.hasAttribute(l)?(f(),c()):f()}i.forEach((a,o)=>{Et(o,a)}),r.forEach((a,o)=>{xt.forEach(l=>l(o,a))});for(let a of n)if(!t.includes(a)&&(yt.forEach(o=>o(a)),a._x_cleanups))for(;a._x_cleanups.length;)a._x_cleanups.pop()();t.forEach(a=>{a._x_ignoreSelf=!0,a._x_ignore=!0});for(let a of t)n.includes(a)||a.isConnected&&(delete a._x_ignoreSelf,delete a._x_ignore,bt.forEach(o=>o(a)),a._x_ignore=!0,a._x_ignoreSelf=!0);t.forEach(a=>{delete a._x_ignoreSelf,delete a._x_ignore}),t=null,n=null,r=null,i=null}function St(e){return re(H(e))}function ne(e,t,n){return e._x_dataStack=[t,...H(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(r=>r!==t)}}function kt(e,t){let n=e._x_dataStack[0];Object.entries(t).forEach(([r,i])=>{n[r]=i})}function H(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?H(e.host):e.parentNode?H(e.parentNode):[]}function re(e){let t=new Proxy({},{ownKeys:()=>Array.from(new Set(e.flatMap(n=>Object.keys(n)))),has:(n,r)=>e.some(i=>i.hasOwnProperty(r)),get:(n,r)=>(e.find(i=>{if(i.hasOwnProperty(r)){let a=Object.getOwnPropertyDescriptor(i,r);if(a.get&&a.get._x_alreadyBound||a.set&&a.set._x_alreadyBound)return!0;if((a.get||a.set)&&a.enumerable){let o=a.get,l=a.set,s=a;o=o&&o.bind(t),l=l&&l.bind(t),o&&(o._x_alreadyBound=!0),l&&(l._x_alreadyBound=!0),Object.defineProperty(i,r,{...s,get:o,set:l})}return!0}return!1})||{})[r],set:(n,r,i)=>{let a=e.find(o=>o.hasOwnProperty(r));return a?a[r]=i:e[e.length-1][r]=i,!0}});return t}function Ot(e){let t=r=>typeof r=="object"&&!Array.isArray(r)&&r!==null,n=(r,i="")=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([a,{value:o,enumerable:l}])=>{if(l===!1||o===void 0)return;let s=i===""?a:`${i}.${a}`;typeof o=="object"&&o!==null&&o._x_interceptor?r[a]=o.initialize(e,s,a):t(o)&&o!==r&&!(o instanceof Element)&&n(o,s)})};return n(e)}function $t(e,t=()=>{}){let n={initialValue:void 0,_x_interceptor:!0,initialize(r,i,a){return e(this.initialValue,()=>er(r,i),o=>Ct(r,i,o),i,a)}};return t(n),r=>{if(typeof r=="object"&&r!==null&&r._x_interceptor){let i=n.initialize.bind(n);n.initialize=(a,o,l)=>{let s=r.initialize(a,o,l);return n.initialValue=s,i(a,o,l)}}else n.initialValue=r;return n}}function er(e,t){return t.split(".").reduce((n,r)=>n[r],e)}function Ct(e,t,n){if(typeof t=="string"&&(t=t.split(".")),t.length===1)e[t[0]]=n;else{if(t.length===0)throw error;return e[t[0]]||(e[t[0]]={}),Ct(e[t[0]],t.slice(1),n)}}var Mt={};function j(e,t){Mt[e]=t}function Ue(e,t){return Object.entries(Mt).forEach(([n,r])=>{Object.defineProperty(e,`$${n}`,{get(){let[i,a]=Lt(t);return i={interceptor:$t,...i},wt(t,a),r(t,i)},enumerable:!1})}),e}function tr(e,t,n,...r){try{return n(...r)}catch(i){ie(i,e,t)}}function ie(e,t,n=void 0){Object.assign(e,{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}
"use strict";(()=>{var qn={name:"Painted Palette",ver:"0.1.11"};var Wn=function(y=0){let E=`${Math.floor(y%1*100)}`.padStart(2,"0"),b=`${Math.floor(y%60)}`.padStart(2,"0"),L=`${Math.floor(y/60)%60}`.padStart(2,"0"),q=`${Math.floor(y/3600)%24}`.padStart(2,"0");return`${`${Math.floor(y/86400)}`}d ${q}:${L}:${b}.${E}`},Re=function(y=0){y=Math.round(y*1e4)/100;let E=`${Math.floor(y)}`,b=`${Math.floor(y*100%100)}`.padStart(2,"0");return`${E}.${b}%`},Un=function(y){let E=Math.floor(Math.log2(y)/10)||0;return`${Math.round(y/1024**E*1e3)/1e3} ${["B","KiB","MiB","GiB","TiB"][E]}`};(()=>{var y=!1,E=!1,b=[],L=-1;function q(e){ee(e)}function ee(e){b.includes(e)||b.push(e),J()}function V(e){let t=b.indexOf(e);t!==-1&&t>L&&b.splice(t,1)}function J(){!E&&!y&&(y=!0,queueMicrotask(pe))}function pe(){y=!1,E=!0;for(let e=0;e<b.length;e++)b[e](),L=e;b.length=0,L=-1,E=!1}var u,v,_,M,x=!0;function Fn(e){x=!1,e(),x=!0}function Kn(e){u=e.reactive,_=e.release,v=t=>e.effect(t,{scheduler:n=>{x?q(n):n()}}),M=e.raw}function gt(e){v=e}function Vn(e){let t=()=>{};return[n=>{let r=v(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(i=>i())}),e._x_effects.add(r),t=()=>{r!==void 0&&(e._x_effects.delete(r),_(r))},r},()=>{t()}]}var xt=[],yt=[],bt=[];function Jn(e){bt.push(e)}function wt(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,yt.push(t))}function Hn(e){xt.push(e)}function Yn(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function Et(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([n,r])=>{(t===void 0||t.includes(n))&&(r.forEach(i=>i()),delete e._x_attributeCleanups[n])})}var De=new MutationObserver(We),Ie=!1;function ze(){De.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Ie=!0}function At(){Xn(),De.disconnect(),Ie=!1}var te=[],Be=!1;function Xn(){te=te.concat(De.takeRecords()),te.length&&!Be&&(Be=!0,queueMicrotask(()=>{Zn(),Be=!1}))}function Zn(){We(te),te.length=0}function S(e){if(!Ie)return e();At();let t=e();return ze(),t}var qe=!1,_e=[];function Gn(){qe=!0}function Qn(){qe=!1,We(_e),_e=[]}function We(e){if(qe){_e=_e.concat(e);return}let t=[],n=[],r=new Map,i=new Map;for(let a=0;a<e.length;a++)if(!e[a].target._x_ignoreMutationObserver&&(e[a].type==="childList"&&(e[a].addedNodes.forEach(o=>o.nodeType===1&&t.push(o)),e[a].removedNodes.forEach(o=>o.nodeType===1&&n.push(o))),e[a].type==="attributes")){let o=e[a].target,l=e[a].attributeName,s=e[a].oldValue,c=()=>{r.has(o)||r.set(o,[]),r.get(o).push({name:l,value:o.getAttribute(l)})},f=()=>{i.has(o)||i.set(o,[]),i.get(o).push(l)};o.hasAttribute(l)&&s===null?c():o.hasAttribute(l)?(f(),c()):f()}i.forEach((a,o)=>{Et(o,a)}),r.forEach((a,o)=>{xt.forEach(l=>l(o,a))});for(let a of n)if(!t.includes(a)&&(yt.forEach(o=>o(a)),a._x_cleanups))for(;a._x_cleanups.length;)a._x_cleanups.pop()();t.forEach(a=>{a._x_ignoreSelf=!0,a._x_ignore=!0});for(let a of t)n.includes(a)||a.isConnected&&(delete a._x_ignoreSelf,delete a._x_ignore,bt.forEach(o=>o(a)),a._x_ignore=!0,a._x_ignoreSelf=!0);t.forEach(a=>{delete a._x_ignoreSelf,delete a._x_ignore}),t=null,n=null,r=null,i=null}function St(e){return re(H(e))}function ne(e,t,n){return e._x_dataStack=[t,...H(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(r=>r!==t)}}function kt(e,t){let n=e._x_dataStack[0];Object.entries(t).forEach(([r,i])=>{n[r]=i})}function H(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?H(e.host):e.parentNode?H(e.parentNode):[]}function re(e){let t=new Proxy({},{ownKeys:()=>Array.from(new Set(e.flatMap(n=>Object.keys(n)))),has:(n,r)=>e.some(i=>i.hasOwnProperty(r)),get:(n,r)=>(e.find(i=>{if(i.hasOwnProperty(r)){let a=Object.getOwnPropertyDescriptor(i,r);if(a.get&&a.get._x_alreadyBound||a.set&&a.set._x_alreadyBound)return!0;if((a.get||a.set)&&a.enumerable){let o=a.get,l=a.set,s=a;o=o&&o.bind(t),l=l&&l.bind(t),o&&(o._x_alreadyBound=!0),l&&(l._x_alreadyBound=!0),Object.defineProperty(i,r,{...s,get:o,set:l})}return!0}return!1})||{})[r],set:(n,r,i)=>{let a=e.find(o=>o.hasOwnProperty(r));return a?a[r]=i:e[e.length-1][r]=i,!0}});return t}function Ot(e){let t=r=>typeof r=="object"&&!Array.isArray(r)&&r!==null,n=(r,i="")=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([a,{value:o,enumerable:l}])=>{if(l===!1||o===void 0)return;let s=i===""?a:`${i}.${a}`;typeof o=="object"&&o!==null&&o._x_interceptor?r[a]=o.initialize(e,s,a):t(o)&&o!==r&&!(o instanceof Element)&&n(o,s)})};return n(e)}function $t(e,t=()=>{}){let n={initialValue:void 0,_x_interceptor:!0,initialize(r,i,a){return e(this.initialValue,()=>er(r,i),o=>Ct(r,i,o),i,a)}};return t(n),r=>{if(typeof r=="object"&&r!==null&&r._x_interceptor){let i=n.initialize.bind(n);n.initialize=(a,o,l)=>{let s=r.initialize(a,o,l);return n.initialValue=s,i(a,o,l)}}else n.initialValue=r;return n}}function er(e,t){return t.split(".").reduce((n,r)=>n[r],e)}function Ct(e,t,n){if(typeof t=="string"&&(t=t.split(".")),t.length===1)e[t[0]]=n;else{if(t.length===0)throw error;return e[t[0]]||(e[t[0]]={}),Ct(e[t[0]],t.slice(1),n)}}var Mt={};function j(e,t){Mt[e]=t}function Ue(e,t){return Object.entries(Mt).forEach(([n,r])=>{Object.defineProperty(e,`$${n}`,{get(){let[i,a]=Lt(t);return i={interceptor:$t,...i},wt(t,a),r(t,i)},enumerable:!1})}),e}function tr(e,t,n,...r){try{return n(...r)}catch(i){ie(i,e,t)}}function ie(e,t,n=void 0){Object.assign(e,{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}

${n?'Expression: "'+n+`"

Expand Down
1 change: 0 additions & 1 deletion src/cmd/webui.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ title Painted Palette Web UI
echo Updated successfully.
)
.\node.exe node.js batch
set TEMPLATE_URL=https://thomastse2000.github.io/rplace/pointer.json
timeout /t 2 /nobreak > NUL
goto loop
exit
2 changes: 1 addition & 1 deletion src/core/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const dim2Prop = [0, 1];

let BuildInfo = {
name: "Painted Palette",
ver: "0.1.9"
ver: "0.1.11"
};

let dim3Dist = function (a, b) {
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.10
0.1.11

0 comments on commit f915217

Please sign in to comment.