From fc474d47464175f54a5cc852a30516d1091b2d1c Mon Sep 17 00:00:00 2001 From: Rosty Date: Fri, 20 Dec 2024 22:23:22 +0200 Subject: [PATCH 1/3] build --- docs/404.html | 6 +++--- docs/common.7c600464ade34080.js | 1 - docs/common.9a66c9c16dc4982a.js | 1 + ...time.45bc330b53b16cac.js => runtime.7943d8cb80d55861.js} | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 docs/common.7c600464ade34080.js create mode 100644 docs/common.9a66c9c16dc4982a.js rename docs/{runtime.45bc330b53b16cac.js => runtime.7943d8cb80d55861.js} (53%) diff --git a/docs/404.html b/docs/404.html index 9fbe6bf..9b03599 100644 --- a/docs/404.html +++ b/docs/404.html @@ -5,11 +5,11 @@ - + - + - + \ No newline at end of file diff --git a/docs/common.7c600464ade34080.js b/docs/common.7c600464ade34080.js deleted file mode 100644 index 15ca19d..0000000 --- a/docs/common.7c600464ade34080.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpoetry_gen=self.webpackChunkpoetry_gen||[]).push([[592],{1772:(m,i,r)=>{r.d(i,{E:()=>p,a:()=>c});const p=o=>{c=o};let c={\u0410:"A",\u0430:"a",\u0411:"B",\u0431:"b",\u0412:"V",\u0432:"v",\u0413:"G",\u0433:"g",\u0490:"\u011e",\u0491:"\u011f",\u0414:"D",\u0434:"d",\u0415:"E",\u0435:"e",\u0404:"Je",\u0454:"je",\u0416:"\u017d",\u0436:"\u017e",\u0417:"Z",\u0437:"z",\u0418:"Y",\u0438:"y",\u0406:"I",\u0456:"i",\u0407:"\u0407",\u0457:"\u0457",\u0419:"J",\u0439:"j",\u041a:"K",\u043a:"k",\u041b:"L",\u043b:"l",\u041c:"M",\u043c:"m",\u041d:"N",\u043d:"n",\u041e:"O",\u043e:"o",\u041f:"P",\u043f:"p",\u0420:"R",\u0440:"r",\u0421:"S",\u0441:"s",\u0422:"T",\u0442:"t",\u0423:"U",\u0443:"u",\u0424:"F",\u0444:"f",\u0425:"H",\u0445:"h",\u0426:"C",\u0446:"c",\u0427:"\u010c",\u0447:"\u010d",\u0428:"\u0160",\u0448:"\u0161",\u0429:"\u0160\u010d",\u0449:"\u0161\u010d",\u042c:"J",\u044c:"j",\u042e:"Ju",\u044e:"ju",\u042f:"Ja",\u044f:"ja"}},7947:(m,i,r)=>{r.d(i,{Fp:()=>C,TL:()=>_,WG:()=>c,pD:()=>d});var p=r(1772);function c(a){return Object.entries(p.a).forEach(n=>a=a.replace(new RegExp(n[0],"g"),n[1])),a}let o=0;function g(a){const n=a[Math.round(Math.random()*a.length-1)];return n||o>1e3?(o=0,n):(o+=1,g(a))}let u=0;function d(a,n,e=!1,t=!1,M){const l=g(a);let f=0;if(l.wordContents.split("").forEach(s=>{f+="\u0457\u0451\u0443\u044d\u0435\u0438\u0430\u043e\u0454\u044f\u0456\u0438\u044e\u044b\u0454euioay".split("").includes(s)?1:0}),f===n||u>100){t&&a.splice(a.indexOf(l),1);let s=l.wordContents;return e&&(s=s.replace(/\u0457/g,"\u0407").replace(/\u0451/g,"\u0401").replace(/\u0443/g,"\u0423").replace(/\u044d/g,"\u042d").replace(/\u0435/g,"\u0415").replace(/\u0438/g,"\u0418").replace(/\u043e/g,"\u041e").replace(/\u0454/g,"\u0404").replace(/\u0430/g,"\u0410").replace(/\u044f/g,"\u042f").replace(/\u0456/g,"\u0406").replace(/\u044e/g,"\u042e").replace(/\u044b/g,"\u042b")),u=0,l.rhymeWordLength=n,l}return u++,d(a,n)}function C(a,n){let e=a.replace(/\xab/gi,"");return e=e.replace(/\xbb/gi,""),e=e.replace(/\?/gi,""),e=e.replace(/\./gi,""),e=e.replace(/!/gi,""),e=e.replace(/"/gi,""),e=e.replace(/\)/gi,""),e=e.replace(/\(/gi,""),e=e.replace(/\[/gi,""),e=e.replace(/\]/gi,""),e=e.replace(/\:/gi,""),e=e.replace(/\;/gi,""),e=e.replace(/\,/gi,""),e=e.replace(/\\u2014/gi,""),n&&(e=e.replace(/-/g,"")),e.toLowerCase()}function _(a,n){const e=a.querySelector(".copied");n&&navigator.clipboard.writeText(n).then(function(){e.classList.add("show-success"),setTimeout(()=>{e.classList.remove("show-success")},2e3)},function(t){console.error("Async: Could not copy text: ",t)})}}}]); \ No newline at end of file diff --git a/docs/common.9a66c9c16dc4982a.js b/docs/common.9a66c9c16dc4982a.js new file mode 100644 index 0000000..c75d082 --- /dev/null +++ b/docs/common.9a66c9c16dc4982a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpoetry_gen=self.webpackChunkpoetry_gen||[]).push([[592],{1772:(m,s,r)=>{r.d(s,{E:()=>p,a:()=>c});const p=o=>{c=o};let c={\u0410:"A",\u0430:"a",\u0411:"B",\u0431:"b",\u0412:"V",\u0432:"v",\u0413:"G",\u0433:"g",\u0490:"\u011c",\u0491:"\u011d",\u0414:"D",\u0434:"d",\u0415:"E",\u0435:"e",\u0404:"Je",\u0454:"je",\u0416:"\u017d",\u0436:"\u017e",\u0417:"Z",\u0437:"z",\u0418:"Y",\u0438:"y",\u0406:"I",\u0456:"i",\u0407:"Ji",\u0457:"ji",\u0419:"J",\u0439:"j",\u041a:"K",\u043a:"k",\u041b:"L",\u043b:"l",\u041c:"M",\u043c:"m",\u041d:"N",\u043d:"n",\u041e:"O",\u043e:"o",\u041f:"P",\u043f:"p",\u0420:"R",\u0440:"r",\u0421:"S",\u0441:"s",\u0422:"T",\u0442:"t",\u0423:"U",\u0443:"u",\u0424:"F",\u0444:"f",\u0425:"H",\u0445:"h",\u0426:"C",\u0446:"c",\u0427:"\u010c",\u0447:"\u010d",\u0428:"\u0160",\u0448:"\u0161",\u0429:"\u0160\u010d",\u0449:"\u0161\u010d",\u042c:"J",\u044c:"j",\u042e:"Ju",\u044e:"ju",\u042f:"Ja",\u044f:"ja"}},7947:(m,s,r)=>{r.d(s,{Fp:()=>C,TL:()=>_,WG:()=>c,pD:()=>d});var p=r(1772);function c(a){return Object.entries(p.a).forEach(n=>a=a.replace(new RegExp(n[0],"g"),n[1])),a}let o=0;function g(a){const n=a[Math.round(Math.random()*a.length-1)];return n||o>1e3?(o=0,n):(o+=1,g(a))}let u=0;function d(a,n,e=!1,t=!1,M){const l=g(a);let f=0;if(l.wordContents.split("").forEach(i=>{f+="\u0457\u0451\u0443\u044d\u0435\u0438\u0430\u043e\u0454\u044f\u0456\u0438\u044e\u044b\u0454euioay".split("").includes(i)?1:0}),f===n||u>100){t&&a.splice(a.indexOf(l),1);let i=l.wordContents;return e&&(i=i.replace(/\u0457/g,"\u0407").replace(/\u0451/g,"\u0401").replace(/\u0443/g,"\u0423").replace(/\u044d/g,"\u042d").replace(/\u0435/g,"\u0415").replace(/\u0438/g,"\u0418").replace(/\u043e/g,"\u041e").replace(/\u0454/g,"\u0404").replace(/\u0430/g,"\u0410").replace(/\u044f/g,"\u042f").replace(/\u0456/g,"\u0406").replace(/\u044e/g,"\u042e").replace(/\u044b/g,"\u042b")),u=0,l.rhymeWordLength=n,l}return u++,d(a,n)}function C(a,n){let e=a.replace(/\xab/gi,"");return e=e.replace(/\xbb/gi,""),e=e.replace(/\?/gi,""),e=e.replace(/\./gi,""),e=e.replace(/!/gi,""),e=e.replace(/"/gi,""),e=e.replace(/\)/gi,""),e=e.replace(/\(/gi,""),e=e.replace(/\[/gi,""),e=e.replace(/\]/gi,""),e=e.replace(/\:/gi,""),e=e.replace(/\;/gi,""),e=e.replace(/\,/gi,""),e=e.replace(/\\u2014/gi,""),n&&(e=e.replace(/-/g,"")),e.toLowerCase()}function _(a,n){const e=a.querySelector(".copied");n&&navigator.clipboard.writeText(n).then(function(){e.classList.add("show-success"),setTimeout(()=>{e.classList.remove("show-success")},2e3)},function(t){console.error("Async: Could not copy text: ",t)})}}}]); \ No newline at end of file diff --git a/docs/runtime.45bc330b53b16cac.js b/docs/runtime.7943d8cb80d55861.js similarity index 53% rename from docs/runtime.45bc330b53b16cac.js rename to docs/runtime.7943d8cb80d55861.js index 7abbdf2..0896085 100644 --- a/docs/runtime.45bc330b53b16cac.js +++ b/docs/runtime.7943d8cb80d55861.js @@ -1 +1 @@ -(()=>{"use strict";var e,v={},g={};function r(e){var n=g[e];if(void 0!==n)return n.exports;var t=g[e]={id:e,loaded:!1,exports:{}};return v[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=v,e=[],r.O=(n,t,f,o)=>{if(!t){var a=1/0;for(i=0;i=o)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(c=!1,o0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[t,f,o]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>(592===e?"common":e)+"."+{6:"4777f5737fbc8e3c",13:"0b47025622c5d09e",128:"2478c71a68e65803",144:"03c45c8e822eacda",294:"a3016327919e39e7",592:"7c600464ade34080",651:"4b529691b704b395",695:"858809c7988b007c"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="poetry-gen:";r.l=(t,f,o,i)=>{if(e[t])e[t].push(f);else{var a,c;if(void 0!==o)for(var d=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(b)),m)return m(b)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),c&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(f,o)=>{var i=r.o(e,f)?e[f]:void 0;if(0!==i)if(i)o.push(i[2]);else if(666!=f){var a=new Promise((l,s)=>i=e[f]=[l,s]);o.push(i[2]=a);var c=r.p+r.u(f),d=new Error;r.l(c,l=>{if(r.o(e,f)&&(0!==(i=e[f])&&(e[f]=void 0),i)){var s=l&&("load"===l.type?"missing":l.type),p=l&&l.target&&l.target.src;d.message="Loading chunk "+f+" failed.\n("+s+": "+p+")",d.name="ChunkLoadError",d.type=s,d.request=p,i[1](d)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,o)=>{var d,u,[i,a,c]=o,l=0;if(i.some(p=>0!==e[p])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(c)var s=c(r)}for(f&&f(o);l{"use strict";var e,v={},g={};function r(e){var n=g[e];if(void 0!==n)return n.exports;var t=g[e]={id:e,loaded:!1,exports:{}};return v[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=v,e=[],r.O=(n,t,i,d)=>{if(!t){var a=1/0;for(f=0;f=d)&&Object.keys(r.O).every(b=>r.O[b](t[o]))?t.splice(o--,1):(c=!1,d0&&e[f-1][2]>d;f--)e[f]=e[f-1];e[f]=[t,i,d]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>(592===e?"common":e)+"."+{6:"4777f5737fbc8e3c",13:"0b47025622c5d09e",128:"2478c71a68e65803",144:"03c45c8e822eacda",294:"a3016327919e39e7",592:"9a66c9c16dc4982a",651:"4b529691b704b395",695:"858809c7988b007c"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="poetry-gen:";r.l=(t,i,d,f)=>{if(e[t])e[t].push(i);else{var a,c;if(void 0!==d)for(var o=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(b)),m)return m(b)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),c&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(i,d)=>{var f=r.o(e,i)?e[i]:void 0;if(0!==f)if(f)d.push(f[2]);else if(666!=i){var a=new Promise((l,s)=>f=e[i]=[l,s]);d.push(f[2]=a);var c=r.p+r.u(i),o=new Error;r.l(c,l=>{if(r.o(e,i)&&(0!==(f=e[i])&&(e[i]=void 0),f)){var s=l&&("load"===l.type?"missing":l.type),p=l&&l.target&&l.target.src;o.message="Loading chunk "+i+" failed.\n("+s+": "+p+")",o.name="ChunkLoadError",o.type=s,o.request=p,f[1](o)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,d)=>{var o,u,[f,a,c]=d,l=0;if(f.some(p=>0!==e[p])){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(c)var s=c(r)}for(i&&i(d);l Date: Fri, 20 Dec 2024 22:26:10 +0200 Subject: [PATCH 2/3] version-upda --- package.json | 2 +- src/app/app.component.html | 37 ++++++++++++++++++++----------------- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index c3b5863..15aee51 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "poetry-gen", - "version": "0.0.0", + "version": "0.0.1", "scripts": { "ng": "ng", "start": "ng serve --port 5000", diff --git a/src/app/app.component.html b/src/app/app.component.html index 27eb092..f27e2f1 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,23 +1,26 @@ \ No newline at end of file + © 2020-2024 RSTSLV. + GitHub + From 18e6410e0d0f7a583312930492e16c5b05f052ad Mon Sep 17 00:00:00 2001 From: Rosty Date: Fri, 20 Dec 2024 22:28:12 +0200 Subject: [PATCH 3/3] docs: update README for deployment instructions and table formatting --- README.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index f5cecfb..26813e4 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,8 @@ Different text generation toys. Mostly mechanical and random. ## Deployment -`npm run deploy-pages` +1. Merge to `main` +2. Run `npm run deploy-pages` ## Make fun not war @@ -20,18 +21,18 @@ Support Ukraine: [KOLO](https://www.koloua.com/en) A small utility for converting text to a unicode variant. -| Flag | Short | Description | Example | -|:--------- |:-----:|:----------------------------- |:----------------- | -| monospace | m | Monospace text (default) | π™Όπš˜πš—πš˜πšœπš™πšŠπšŒπšŽβ€‚πšπšŽπš‘πš! | -| script | c | Script | π’»π’Άπ“ƒπ’Έπ“Ž π“ˆπ’Έπ“‡π’Ύπ“…π“‰ | -| fraktur | f | Fraktur | 𝔖𝔭𝔩𝔒𝔫𝔑𝔦𝔑 π”£π”―π”žπ”¨π”±π”²π”― | -| double | d | Double-struck (1) | 𝔻𝕠𝕦𝕓𝕝𝕖-𝕀π•₯π•£π•¦π•”π•œ | -| sans | s | Sans-serif | π–²π–Ίπ—‡π—Œ. π–²π–Ύπ—‹π—‚π–Ώπ—Œ. | -| greek | g | Greek (2) | π›‚π›”π›…π›‡π›ˆπ›‰π›‹π›Œ | -| bold | b | Bold (modifier) | 𝐛𝓸𝖑𝛅 π˜π—²π˜…π˜ | -| italic | i | Italic (modifier) (3) | π‘–π˜΅π›Όπ‘™π˜ͺ𝑐 | -| underline | u | Underline (modifier) | πšžΜ²πš—Μ²πšΜ²πšŽΜ²πš›Μ²πš•Μ²πš’Μ²πš—Μ²πšŽΜ²πšΜ² | -| strike | k | Strike-through (modifier) | πšœΜΆπšΜΆπš›ΜΆπšžΜΆπšŒΜΆπš”ΜΆβ€‚ΜΆπš‹ΜΆπš’ΜΆβ€‚ΜΆπš•ΜΆπš’ΜΆπšΜΆπš‘ΜΆπšΜΆπš—ΜΆπš’ΜΆπš—ΜΆπšΜΆ | +| Flag | Short | Description | Example | +| :-------- | :---: | :------------------------ | :------------------ | +| monospace | m | Monospace text (default) | π™Όπš˜πš—πš˜πšœπš™πšŠπšŒπšŽβ€‚πšπšŽπš‘πš! | +| script | c | Script | π’»π’Άπ“ƒπ’Έπ“Ž π“ˆπ’Έπ“‡π’Ύπ“…π“‰ | +| fraktur | f | Fraktur | 𝔖𝔭𝔩𝔒𝔫𝔑𝔦𝔑 π”£π”―π”žπ”¨π”±π”²π”― | +| double | d | Double-struck (1) | 𝔻𝕠𝕦𝕓𝕝𝕖-𝕀π•₯π•£π•¦π•”π•œ | +| sans | s | Sans-serif | π–²π–Ίπ—‡π—Œ. π–²π–Ύπ—‹π—‚π–Ώπ—Œ. | +| greek | g | Greek (2) | π›‚π›”π›…π›‡π›ˆπ›‰π›‹π›Œ | +| bold | b | Bold (modifier) | 𝐛𝓸𝖑𝛅 π˜π—²π˜…π˜ | +| italic | i | Italic (modifier) (3) | π‘–π˜΅π›Όπ‘™π˜ͺ𝑐 | +| underline | u | Underline (modifier) | πšžΜ²πš—Μ²πšΜ²πšŽΜ²πš›Μ²πš•Μ²πš’Μ²πš—Μ²πšŽΜ²πšΜ² | +| strike | k | Strike-through (modifier) | πšœΜΆπšΜΆπš›ΜΆπšžΜΆπšŒΜΆπš”ΜΆβ€‚ΜΆπš‹ΜΆπš’ΜΆβ€‚ΜΆπš•ΜΆπš’ΜΆπšΜΆπš‘ΜΆπšΜΆπš—ΜΆπš’ΜΆπš—ΜΆπšΜΆ | 1): Not all characters exist in the regular (i.e. non-bold/italic) version of this set