Imported from 2024.02.03.35a31e1.tar.gz.
SHA256:b8034ef0df199436d8e8c0ca05b24a2e161dcd9d1789599b74f7bde41d6a56f9
This commit is contained in:
parent
76ac532d0f
commit
393e9a0495
|
@ -1,2 +1,2 @@
|
|||
import{W as u,G as p}from"./useTitle-sx0MJWtS.js";import{h as w,p as f,a as e,K as m}from"./vendor-f6XEe9UY.js";window.opener&&(console=window.opener.console);function S(){var s,a;const[t,i]=w("default"),{editStatus:n,replyToStatus:o,draftStatus:d}=window.__COMPOSE__||{};return u(n?"Editing source status":o?`Replying to @${((s=o.account)==null?void 0:s.acct)||((a=o.account)==null?void 0:a.username)}`:"Compose"),f(()=>{if(t==="closed"){try{window.opener.focus()}catch{}window.close()}},[t]),t==="closed"?e("div",{class:"box",children:[e("p",{children:"You may close this page now."}),e("p",{children:e("button",{onClick:()=>{window.close()},children:"Close window"})})]}):e(p,{editStatus:n,replyToStatus:o,draftStatus:d,standalone:!0,hasOpener:window.opener,onClose:c=>{const{newStatus:r,fn:l=()=>{}}=c||{};try{r&&window.opener.__STATES__.reloadStatusPage++,l(),i("closed")}catch{}}})}m(e(S,{}),document.getElementById("app-standalone"));
|
||||
//# sourceMappingURL=compose-Dh41_fT-.js.map
|
||||
import{W as u,G as p}from"./useTitle-Dle6_vca.js";import{h as w,p as f,a as e,K as m}from"./vendor-dr6WACk1.js";window.opener&&(console=window.opener.console);function S(){var s,a;const[t,i]=w("default"),{editStatus:n,replyToStatus:o,draftStatus:d}=window.__COMPOSE__||{};return u(n?"Editing source status":o?`Replying to @${((s=o.account)==null?void 0:s.acct)||((a=o.account)==null?void 0:a.username)}`:"Compose"),f(()=>{if(t==="closed"){try{window.opener.focus()}catch{}window.close()}},[t]),t==="closed"?e("div",{class:"box",children:[e("p",{children:"You may close this page now."}),e("p",{children:e("button",{onClick:()=>{window.close()},children:"Close window"})})]}):e(p,{editStatus:n,replyToStatus:o,draftStatus:d,standalone:!0,hasOpener:window.opener,onClose:c=>{const{newStatus:r,fn:l=()=>{}}=c||{};try{r&&window.opener.__STATES__.reloadStatusPage++,l(),i("closed")}catch{}}})}m(e(S,{}),document.getElementById("app-standalone"));
|
||||
//# sourceMappingURL=compose-K6njseaM.js.map
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"compose-Dh41_fT-.js","sources":["../../src/compose.jsx"],"sourcesContent":["import './index.css';\n\nimport './app.css';\n\nimport { render } from 'preact';\nimport { useEffect, useState } from 'preact/hooks';\n\nimport Compose from './components/compose';\nimport useTitle from './utils/useTitle';\n\nif (window.opener) {\n console = window.opener.console;\n}\n\nfunction App() {\n const [uiState, setUIState] = useState('default');\n\n const { editStatus, replyToStatus, draftStatus } = window.__COMPOSE__ || {};\n\n useTitle(\n editStatus\n ? 'Editing source status'\n : replyToStatus\n ? `Replying to @${\n replyToStatus.account?.acct || replyToStatus.account?.username\n }`\n : 'Compose',\n );\n\n useEffect(() => {\n if (uiState === 'closed') {\n try {\n // Focus parent window\n window.opener.focus();\n } catch (e) {}\n window.close();\n }\n }, [uiState]);\n\n if (uiState === 'closed') {\n return (\n <div class=\"box\">\n <p>You may close this page now.</p>\n <p>\n <button\n onClick={() => {\n window.close();\n }}\n >\n Close window\n </button>\n </p>\n </div>\n );\n }\n\n console.debug('OPEN COMPOSE');\n\n return (\n <Compose\n editStatus={editStatus}\n replyToStatus={replyToStatus}\n draftStatus={draftStatus}\n standalone\n hasOpener={window.opener}\n onClose={(results) => {\n const { newStatus, fn = () => {} } = results || {};\n try {\n if (newStatus) {\n window.opener.__STATES__.reloadStatusPage++;\n }\n fn();\n setUIState('closed');\n } catch (e) {}\n }}\n />\n );\n}\n\nrender(<App />, document.getElementById('app-standalone'));\n"],"names":["window","opener","console","App","uiState","setUIState","useState","editStatus","replyToStatus","draftStatus","__COMPOSE__","account","acct","username","useEffect","focus","close","_jsxs","class","children","_jsx","onClick","standalone","hasOpener","newStatus","results","fn","render"],"mappings":"gHAUIA,OAAOC,SACTC,QAAUF,OAAOC,OAAOC,SAG1B,SAASC,GAAM,SACb,KAAM,CAACC,EAASC,CAAU,EAAIC,EAAS,SAAS,EAE1C,CAAEC,WAAAA,EAAYC,cAAAA,EAAeC,YAAAA,CAAAA,EAAgBT,OAAOU,aAAe,GAsBzE,OAnBEH,EAAAA,EACI,wBACAC,EACC,kBACCA,EAAAA,EAAcG,UAAdH,YAAAA,EAAuBI,SAAQJ,EAAAA,EAAcG,UAAdH,YAAAA,EAAuBK,SACvD,GACD,SACN,EAEAC,EAAU,IAAM,CACd,GAAIV,IAAY,SAAU,CACpB,GAAA,CAEFJ,OAAOC,OAAOc,aACJ,CAAC,CACbf,OAAOgB,MAAM,CACf,CAAA,EACC,CAACZ,CAAO,CAAC,EAERA,IAAY,SAEZa,EAAA,MAAA,CAAKC,MAAM,MAAKC,UACdC,EAAA,IAAA,CAAAD,SAAG,8BAAA,CAA+B,EAClCC,EAAA,IAAA,CAAAD,SACEC,EAAA,SAAA,CACEC,QAASA,IAAM,CACbrB,OAAOgB,MAAM,CACf,EAAEG,SACH,cAAA,CAEO,CAAA,CACP,CAAC,CAAA,CACD,EAITjB,IAA4B,CAE5B,WAAAK,EAEIA,cAAAA,EACAC,YAAAA,EACAC,WAAAA,GACAa,UAAU,OAAA,OACVC,WAAkBtB,OAEV,UAAAuB,EAAEA,GAAAA,EAAAA,IAAAA,EAAsB,EAACC,GAAA,CAAA,EAAE,GAAIA,CACjCD,GACF,OAAe,OAAA,WAAA,mBAEfE,IACGrB,EAAA,QAAA,CACHA,MAAAA,EACW,CAAA,CACf,CAAA,CAGNsB,EAAAP,EAAAjB,EAAA,CAAA,CAAA,EAAA,SAAA,eAAA,gBAAA,CAAA"}
|
||||
{"version":3,"file":"compose-K6njseaM.js","sources":["../../src/compose.jsx"],"sourcesContent":["import './index.css';\n\nimport './app.css';\n\nimport { render } from 'preact';\nimport { useEffect, useState } from 'preact/hooks';\n\nimport Compose from './components/compose';\nimport useTitle from './utils/useTitle';\n\nif (window.opener) {\n console = window.opener.console;\n}\n\nfunction App() {\n const [uiState, setUIState] = useState('default');\n\n const { editStatus, replyToStatus, draftStatus } = window.__COMPOSE__ || {};\n\n useTitle(\n editStatus\n ? 'Editing source status'\n : replyToStatus\n ? `Replying to @${\n replyToStatus.account?.acct || replyToStatus.account?.username\n }`\n : 'Compose',\n );\n\n useEffect(() => {\n if (uiState === 'closed') {\n try {\n // Focus parent window\n window.opener.focus();\n } catch (e) {}\n window.close();\n }\n }, [uiState]);\n\n if (uiState === 'closed') {\n return (\n <div class=\"box\">\n <p>You may close this page now.</p>\n <p>\n <button\n onClick={() => {\n window.close();\n }}\n >\n Close window\n </button>\n </p>\n </div>\n );\n }\n\n console.debug('OPEN COMPOSE');\n\n return (\n <Compose\n editStatus={editStatus}\n replyToStatus={replyToStatus}\n draftStatus={draftStatus}\n standalone\n hasOpener={window.opener}\n onClose={(results) => {\n const { newStatus, fn = () => {} } = results || {};\n try {\n if (newStatus) {\n window.opener.__STATES__.reloadStatusPage++;\n }\n fn();\n setUIState('closed');\n } catch (e) {}\n }}\n />\n );\n}\n\nrender(<App />, document.getElementById('app-standalone'));\n"],"names":["window","opener","console","App","uiState","setUIState","useState","editStatus","replyToStatus","draftStatus","__COMPOSE__","account","acct","username","useEffect","focus","close","_jsxs","class","children","_jsx","onClick","standalone","hasOpener","newStatus","results","fn","render"],"mappings":"gHAUIA,OAAOC,SACTC,QAAUF,OAAOC,OAAOC,SAG1B,SAASC,GAAM,SACb,KAAM,CAACC,EAASC,CAAU,EAAIC,EAAS,SAAS,EAE1C,CAAEC,WAAAA,EAAYC,cAAAA,EAAeC,YAAAA,CAAAA,EAAgBT,OAAOU,aAAe,GAsBzE,OAnBEH,EAAAA,EACI,wBACAC,EACC,kBACCA,EAAAA,EAAcG,UAAdH,YAAAA,EAAuBI,SAAQJ,EAAAA,EAAcG,UAAdH,YAAAA,EAAuBK,SACvD,GACD,SACN,EAEAC,EAAU,IAAM,CACd,GAAIV,IAAY,SAAU,CACpB,GAAA,CAEFJ,OAAOC,OAAOc,aACJ,CAAC,CACbf,OAAOgB,MAAM,CACf,CAAA,EACC,CAACZ,CAAO,CAAC,EAERA,IAAY,SAEZa,EAAA,MAAA,CAAKC,MAAM,MAAKC,UACdC,EAAA,IAAA,CAAAD,SAAG,8BAAA,CAA+B,EAClCC,EAAA,IAAA,CAAAD,SACEC,EAAA,SAAA,CACEC,QAASA,IAAM,CACbrB,OAAOgB,MAAM,CACf,EAAEG,SACH,cAAA,CAEO,CAAA,CACP,CAAC,CAAA,CACD,EAITjB,IAA4B,CAE5B,WAAAK,EAEIA,cAAAA,EACAC,YAAAA,EACAC,WAAAA,GACAa,UAAU,OAAA,OACVC,WAAkBtB,OAEV,UAAAuB,EAAEA,GAAAA,EAAAA,IAAAA,EAAsB,EAACC,GAAA,CAAA,EAAE,GAAIA,CACjCD,GACF,OAAe,OAAA,WAAA,mBAEfE,IACGrB,EAAA,QAAA,CACHA,MAAAA,EACW,CAAA,CACf,CAAA,CAGNsB,EAAAP,EAAAjB,EAAA,CAAA,CAAA,EAAA,SAAA,eAAA,gBAAA,CAAA"}
|
2
assets/icons/document-line--D6ooZg1.js
Normal file
2
assets/icons/document-line--D6ooZg1.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
const l={width:24,height:24,body:'<g fill="none" fill-rule="evenodd"><path d="M24 0v24H0V0h24ZM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018Zm.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022Zm-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01l-.184-.092Z"/><path fill="currentColor" d="M4 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4Zm14 0H6v16h12V4ZM8 9a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm1 4a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2H9Z"/></g>'};export{l as default};
|
||||
//# sourceMappingURL=document-line--D6ooZg1.js.map
|
1
assets/icons/document-line--D6ooZg1.js.map
Normal file
1
assets/icons/document-line--D6ooZg1.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"document-line--D6ooZg1.js","sources":["../../../node_modules/@iconify-icons/mingcute/document-line.js"],"sourcesContent":["const data = {\n\t\"width\": 24,\n\t\"height\": 24,\n\t\"body\": \"<g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M24 0v24H0V0h24ZM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018Zm.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022Zm-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01l-.184-.092Z\\\"/><path fill=\\\"currentColor\\\" d=\\\"M4 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4Zm14 0H6v16h12V4ZM8 9a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm1 4a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2H9Z\\\"/></g>\"\n};\nexport default data;\n"],"names":["data"],"mappings":"AAAK,MAACA,EAAO,CACZ,MAAS,GACT,OAAU,GACV,KAAQ,mzBACT","x_google_ignoreList":[0]}
|
2
assets/icons/history-2-line-3yIVzoWo.js
Normal file
2
assets/icons/history-2-line-3yIVzoWo.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
const l={width:24,height:24,body:'<g fill="none"><path d="M24 0v24H0V0h24ZM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018Zm.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022Zm-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01l-.184-.092Z"/><path fill="currentColor" d="M6.57 5.563a1.2 1.2 0 0 0 0 1.874l4.48 3.584c.786.628 1.95.07 1.95-.937V8.5a1 1 0 0 0-1.997-.078L8.601 6.5L11 4.58V5a1 1 0 0 0 1 1a7.001 7.001 0 0 1 6.93 6H18a1 1 0 1 0 0 2h.93A7.004 7.004 0 0 1 13 19.93V18a1 1 0 1 0-2 0v1.93A7.004 7.004 0 0 1 5.07 14H6a1 1 0 1 0 0-2h-.93c.082-.567.23-1.111.438-1.625a1 1 0 1 0-1.853-.75A9 9 0 1 0 13 4.055V2.916c0-1.006-1.164-1.565-1.95-.937L6.57 5.563Z"/></g>'};export{l as default};
|
||||
//# sourceMappingURL=history-2-line-3yIVzoWo.js.map
|
1
assets/icons/history-2-line-3yIVzoWo.js.map
Normal file
1
assets/icons/history-2-line-3yIVzoWo.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"history-2-line-3yIVzoWo.js","sources":["../../../node_modules/@iconify-icons/mingcute/history-2-line.js"],"sourcesContent":["const data = {\n\t\"width\": 24,\n\t\"height\": 24,\n\t\"body\": \"<g fill=\\\"none\\\"><path d=\\\"M24 0v24H0V0h24ZM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018Zm.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022Zm-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01l-.184-.092Z\\\"/><path fill=\\\"currentColor\\\" d=\\\"M6.57 5.563a1.2 1.2 0 0 0 0 1.874l4.48 3.584c.786.628 1.95.07 1.95-.937V8.5a1 1 0 0 0-1.997-.078L8.601 6.5L11 4.58V5a1 1 0 0 0 1 1a7.001 7.001 0 0 1 6.93 6H18a1 1 0 1 0 0 2h.93A7.004 7.004 0 0 1 13 19.93V18a1 1 0 1 0-2 0v1.93A7.004 7.004 0 0 1 5.07 14H6a1 1 0 1 0 0-2h-.93c.082-.567.23-1.111.438-1.625a1 1 0 1 0-1.853-.75A9 9 0 1 0 13 4.055V2.916c0-1.006-1.164-1.565-1.95-.937L6.57 5.563Z\\\"/></g>\"\n};\nexport default data;\n"],"names":["data"],"mappings":"AAAK,MAACA,EAAO,CACZ,MAAS,GACT,OAAU,GACV,KAAQ,o/BACT","x_google_ignoreList":[0]}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
22
assets/main-k07fx79C.js
Normal file
22
assets/main-k07fx79C.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/main-k07fx79C.js.map
Normal file
1
assets/main-k07fx79C.js.map
Normal file
File diff suppressed because one or more lines are too long
1
assets/main-lND1lDnx.css
Normal file
1
assets/main-lND1lDnx.css
Normal file
File diff suppressed because one or more lines are too long
64
assets/useTitle-Dle6_vca.js
Normal file
64
assets/useTitle-Dle6_vca.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/useTitle-Dle6_vca.js.map
Normal file
1
assets/useTitle-Dle6_vca.js.map
Normal file
File diff suppressed because one or more lines are too long
7
assets/useTitle-cJPm6C4J.css
Normal file
7
assets/useTitle-cJPm6C4J.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/vendor-dr6WACk1.js.map
Normal file
1
assets/vendor-dr6WACk1.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -7,10 +7,10 @@
|
|||
<title>Compose / Phanpy</title>
|
||||
<meta name="color-scheme" content="dark light" />
|
||||
<meta name="google" content="notranslate" />
|
||||
<script type="module" crossorigin src="../assets/compose-Dh41_fT-.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="../assets/vendor-f6XEe9UY.js">
|
||||
<link rel="modulepreload" crossorigin href="../assets/useTitle-sx0MJWtS.js">
|
||||
<link rel="stylesheet" crossorigin href="../assets/useTitle-sfq0U8ac.css">
|
||||
<script type="module" crossorigin src="../assets/compose-K6njseaM.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="../assets/vendor-dr6WACk1.js">
|
||||
<link rel="modulepreload" crossorigin href="../assets/useTitle-Dle6_vca.js">
|
||||
<link rel="stylesheet" crossorigin href="../assets/useTitle-cJPm6C4J.css">
|
||||
<link rel="manifest" href="./manifest.webmanifest"><script id="vite-plugin-pwa:inline-sw">if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('./sw.js', { scope: './' })})}</script></head>
|
||||
<body>
|
||||
<div id="app-standalone"></div>
|
||||
|
|
10
index.html
10
index.html
|
@ -55,11 +55,11 @@
|
|||
content="Minimalistic opinionated Mastodon web client"
|
||||
/>
|
||||
<meta property="og:image" content="https://phanpy.social/og-image-2.jpg" />
|
||||
<script type="module" crossorigin src="./assets/main-LPMSDd2-.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-f6XEe9UY.js">
|
||||
<link rel="modulepreload" crossorigin href="./assets/useTitle-sx0MJWtS.js">
|
||||
<link rel="stylesheet" crossorigin href="./assets/useTitle-sfq0U8ac.css">
|
||||
<link rel="stylesheet" crossorigin href="./assets/main-TtcS0ZlI.css">
|
||||
<script type="module" crossorigin src="./assets/main-k07fx79C.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-dr6WACk1.js">
|
||||
<link rel="modulepreload" crossorigin href="./assets/useTitle-Dle6_vca.js">
|
||||
<link rel="stylesheet" crossorigin href="./assets/useTitle-cJPm6C4J.css">
|
||||
<link rel="stylesheet" crossorigin href="./assets/main-lND1lDnx.css">
|
||||
<link rel="manifest" href="./manifest.webmanifest"><script id="vite-plugin-pwa:inline-sw">if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('./sw.js', { scope: './' })})}</script></head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"buildTime":"2024-01-11T13:49:51.972Z","commitHash":"e791ea8"}
|
||||
{"buildTime":"2024-02-03T16:41:08.975Z","commitHash":"35a31e1"}
|
Loading…
Reference in a new issue