pdf-master-landing 0.0.1 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -1,35 +1,35 @@
1
- {
2
- "name": "PDF Master",
3
- "short_name": "PDF Master",
4
- "start_url": ".",
5
- "display": "standalone",
6
- "background_color": "#FFFFFF",
7
- "theme_color": "#FFFFFF",
8
- "description": "PDF 阅读 / 标注 / 整理。",
9
- "orientation": "portrait-primary",
10
- "prefer_related_applications": false,
11
- "icons": [
12
- {
13
- "src": "icons/Icon-192.png",
14
- "sizes": "192x192",
15
- "type": "image/png"
16
- },
17
- {
18
- "src": "icons/Icon-512.png",
19
- "sizes": "512x512",
20
- "type": "image/png"
21
- },
22
- {
23
- "src": "icons/Icon-maskable-192.png",
24
- "sizes": "192x192",
25
- "type": "image/png",
26
- "purpose": "maskable"
27
- },
28
- {
29
- "src": "icons/Icon-maskable-512.png",
30
- "sizes": "512x512",
31
- "type": "image/png",
32
- "purpose": "maskable"
33
- }
34
- ]
1
+ {
2
+ "name": "PDF Master",
3
+ "short_name": "PDF Master",
4
+ "start_url": ".",
5
+ "display": "standalone",
6
+ "background_color": "#FFFFFF",
7
+ "theme_color": "#FFFFFF",
8
+ "description": "PDF 阅读 / 标注 / 整理。",
9
+ "orientation": "portrait-primary",
10
+ "prefer_related_applications": false,
11
+ "icons": [
12
+ {
13
+ "src": "icons/Icon-192.png",
14
+ "sizes": "192x192",
15
+ "type": "image/png"
16
+ },
17
+ {
18
+ "src": "icons/Icon-512.png",
19
+ "sizes": "512x512",
20
+ "type": "image/png"
21
+ },
22
+ {
23
+ "src": "icons/Icon-maskable-192.png",
24
+ "sizes": "192x192",
25
+ "type": "image/png",
26
+ "purpose": "maskable"
27
+ },
28
+ {
29
+ "src": "icons/Icon-maskable-512.png",
30
+ "sizes": "512x512",
31
+ "type": "image/png",
32
+ "purpose": "maskable"
33
+ }
34
+ ]
35
35
  }
@@ -1 +1 @@
1
- {"app_name":"pdf_master","version":"0.0.1","build_number":"1","package_name":"pdf_master"}
1
+ {"app_name":"pdf_master","version":"0.0.4","build_number":"4","package_name":"pdf_master"}
@@ -0,0 +1 @@
1
+ import{u as c,j as e,s as m,r as x,L as w,H as f,F as _,c as g}from"./tokens-7q7KlOem.js";const h=new Set,v="/app/".replace(/\/?$/,"/");function t(s){return v+s.replace(/^\//,"")}function N(s,n,a={}){if(h.has(s+":"+n))return;h.add(s+":"+n);const i=document.createElement("link");i.rel=s,i.href=n,Object.entries(a).forEach(([l,d])=>i.setAttribute(l,d)),document.head.appendChild(i)}function r(s,n){N("prefetch",s,n?{as:n,crossorigin:"anonymous"}:{})}function k(){const s=navigator.connection;return s?!!(s.saveData||s.effectiveType&&/(^|-)(2g|slow-2g)$/.test(s.effectiveType)):!1}let p=!1;function o(){if(p||(p=!0,r(t("flutter_bootstrap.js"),"script"),r(t("manifest.json")),k()))return;("requestIdleCallback"in window?n=>window.requestIdleCallback(n):n=>setTimeout(n,600))(()=>{r(t("main.dart.js"),"script"),r(t("flutter.js"),"script"),r(t("flutter_service_worker.js"),"script"),r(t("canvaskit/canvaskit.js"),"script"),r(t("canvaskit/canvaskit.wasm"),"fetch"),r(t("canvaskit/skwasm.wasm"),"fetch"),r(t("sqlite3.wasm"),"fetch"),r(t("drift_worker.dart.js"),"script"),r(t("icons/Icon-192.png"),"image")})}function j(s="_self"){const n=t("index.html");s==="_blank"?window.open(n,"_blank","noopener"):window.location.href=n}function y(){const{t:s}=c();return e.jsx("section",{id:"top",className:"hero",children:e.jsxs("div",{className:"wrap hero__inner",children:[e.jsxs("div",{className:"hero__copy",children:[e.jsxs("h1",{className:"hero__title",children:[s.heroTitleLine1,e.jsx("br",{}),s.heroTitleLine2]}),e.jsx("p",{className:"hero__lede",children:s.heroLede}),e.jsxs("div",{className:"hero__actions",children:[e.jsx("a",{href:"#download",className:"btn btn--primary btn--lg",onClick:m("download"),children:s.heroDownload}),e.jsx("button",{type:"button",className:"btn btn--ghost btn--lg",onClick:()=>j("_self"),onMouseEnter:o,children:s.heroExperience})]})]}),e.jsx("div",{className:"hero__visual","aria-hidden":!0,children:e.jsxs("div",{className:"window",children:[e.jsxs("div",{className:"window__bar",children:[e.jsxs("span",{className:"window__dots",children:[e.jsx("i",{}),e.jsx("i",{}),e.jsx("i",{})]}),e.jsx("span",{className:"window__title",children:"document.pdf"})]}),e.jsxs("div",{className:"window__body",children:[e.jsxs("aside",{className:"window__sidebar",children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]}),e.jsxs("div",{className:"window__page",children:[e.jsx("img",{src:"/brand/app-mark.png",alt:"",className:"window__mark"}),e.jsx("span",{className:"page-line",style:{width:"90%"}}),e.jsx("span",{className:"page-line",style:{width:"74%"}}),e.jsx("span",{className:"page-line page-line--hl",style:{width:"60%"}}),e.jsx("span",{className:"page-line",style:{width:"88%"}}),e.jsx("span",{className:"page-line",style:{width:"52%"}}),e.jsx("span",{className:"page-line",style:{width:"82%"}}),e.jsx("span",{className:"page-line",style:{width:"68%"}})]})]})]})})]})})}function b(){const{t:s}=c(),n=s.features;return e.jsx("section",{id:"features",className:"features",children:e.jsxs("div",{className:"wrap",children:[e.jsxs("header",{className:"features__head",children:[e.jsx("h2",{children:s.featuresTitle}),e.jsx("p",{children:s.featuresLead})]}),e.jsx("div",{className:"features__grid",children:n.map(a=>e.jsxs("article",{className:"card",children:[e.jsx("div",{className:"card__icon",children:e.jsx(M,{name:a.icon})}),e.jsx("h3",{children:a.title}),e.jsx("p",{children:a.body})]},a.title))})]})})}function M({name:s}){const n={width:22,height:22,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0};switch(s){case"annotate":return e.jsxs("svg",{...n,children:[e.jsx("path",{d:"M4 18l4-1 11-11a2 2 0 0 0-3-3L5 14l-1 4z"}),e.jsx("path",{d:"M14 5l3 3"})]});case"merge":return e.jsxs("svg",{...n,children:[e.jsx("rect",{x:"4",y:"4",width:"8",height:"10",rx:"1.5"}),e.jsx("rect",{x:"12",y:"10",width:"8",height:"10",rx:"1.5"}),e.jsx("path",{d:"M8 16v2a2 2 0 0 0 2 2h2M14 4h1a2 2 0 0 1 2 2v2"})]});case"image":return e.jsxs("svg",{...n,children:[e.jsx("rect",{x:"3",y:"5",width:"18",height:"16",rx:"2"}),e.jsx("path",{d:"M7 15l3-3 3 3 2-2 4 4"}),e.jsx("path",{d:"M8 9h.01"})]});case"secure":return e.jsxs("svg",{...n,children:[e.jsx("path",{d:"M12 2l7 4v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-4z"}),e.jsx("path",{d:"M9 12h6M10 12v-2a2 2 0 0 1 4 0v2M10 12v4h4v-4"})]});case"cross":return e.jsxs("svg",{...n,children:[e.jsx("rect",{x:"2",y:"4",width:"14",height:"10",rx:"1.5"}),e.jsx("rect",{x:"14",y:"9",width:"8",height:"11",rx:"1.5"}),e.jsx("path",{d:"M5 18h6"})]});case"offline":return e.jsxs("svg",{...n,children:[e.jsx("path",{d:"M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z"}),e.jsx("path",{d:"M9 12l2 2 4-4"})]})}}const u="9PF542ZFDZQL",E=`ms-windows-store://pdp/?productid=${u}`,L=`https://apps.microsoft.com/detail/${u}`,z="https://play.google.com/store/apps/details?id=com.morris.pdf.master",S="https://github.com/chengjie-jlu/pdf_master_release",A=[{key:"mac",brand:"apple"},{key:"ios",brand:"apple"},{key:"windows",brand:"windows"},{key:"android",brand:"play",href:z},{key:"linux",brand:"github",href:S},{key:"pwa",brand:"chrome"}];function C(){const{t:s}=c();return e.jsx("section",{id:"download",className:"download",children:e.jsxs("div",{className:"wrap",children:[e.jsx("header",{className:"download__head",children:e.jsx("h2",{children:s.downloadTitle})}),e.jsx("div",{className:"store-grid",children:A.map(n=>e.jsx(R,{store:n},n.key))})]})})}function R({store:s}){const{t:n}=c(),a=n.stores[s.key],i=s.key==="pwa",l=s.key!=="linux",d=()=>{if(i){j("_self");return}if(s.key==="windows"){window.location.href=T();return}if(s.href){window.open(s.href,"_blank","noopener");return}alert(n.storeComingSoon(a.store))};return e.jsxs("button",{type:"button",className:"store",onClick:d,onMouseEnter:i?o:void 0,children:[e.jsx("span",{className:"store__logo",children:e.jsx(D,{name:s.brand})}),e.jsxs("div",{className:"store__text",children:[e.jsx("span",{className:"store__store",children:a.store}),e.jsxs("span",{className:"store__meta",children:[l?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"store__platform",children:a.platform}),e.jsx("span",{className:"store__dot","aria-hidden":!0,children:"·"})]}):null,a.meta]})]})]})}function T(){return I()?E:L}function I(){const n=navigator.userAgentData?.platform||navigator.platform;return/win/i.test(n)||/windows/i.test(navigator.userAgent)}function D({name:s}){const n={width:20,height:20,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0};switch(s){case"apple":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M16.7 12.7c0-2.4 2-3.5 2-3.6-1.1-1.6-2.8-1.8-3.4-1.9-1.4-.1-2.8.9-3.5.9s-1.8-.9-3-.9c-1.5 0-3 .9-3.8 2.3-1.6 2.8-.4 7 1.2 9.3.7 1.1 1.6 2.4 2.8 2.4 1.1 0 1.6-.7 2.9-.7s1.7.7 3 .7c1.2 0 2-.7 2.7-1.8.6-.9.9-1.8 1.1-2.7-2.4-1-2-3.7-2-4zM14.6 5.5c.6-.7 1-1.7 1-2.7-.9 0-2 .6-2.6 1.3-.6.6-1.1 1.6-1 2.6 1 .1 2-.5 2.6-1.2z"})});case"windows":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M3 5.5l8-1.1V12H3V5.5zM12 4.3l9-1.3V12h-9V4.3zM3 13h8v6.6l-8-1.1V13zm9 0h9v8.7l-9-1.3V13z"})});case"play":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M3.609 1.814L13.792 12 3.61 22.186a.996.996 0 01-.61-.92V2.734a1 1 0 01.609-.92zm10.89 10.893l2.302 2.303-10.937 6.333 8.635-8.636zm3.199-3.198l2.808 1.626a1 1 0 010 1.73l-2.808 1.626L15.297 12l2.401-2.491zM5.864 2.658L16.802 8.99l-2.303 2.303L5.864 2.658z"})});case"github":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.57.1.78-.25.78-.55v-2.14c-3.2.7-3.87-1.37-3.87-1.37-.52-1.33-1.28-1.69-1.28-1.69-1.05-.72.08-.7.08-.7 1.16.08 1.77 1.19 1.77 1.19 1.03 1.76 2.7 1.25 3.36.96.1-.75.4-1.25.73-1.54-2.55-.29-5.23-1.28-5.23-5.68 0-1.25.45-2.28 1.19-3.08-.12-.29-.52-1.46.11-3.04 0 0 .97-.31 3.16 1.18.92-.25 1.9-.38 2.88-.39.98.01 1.96.14 2.88.39 2.19-1.49 3.15-1.18 3.15-1.18.63 1.58.23 2.75.11 3.04.74.8 1.19 1.83 1.19 3.08 0 4.42-2.69 5.39-5.25 5.67.42.36.79 1.06.79 2.14v3.16c0 .3.21.66.79.55A11.51 11.51 0 0 0 23.5 12C23.5 5.65 18.35.5 12 .5z"})});case"chrome":return e.jsx("svg",{...n,children:e.jsx("path",{d:"M12 0C8.21 0 4.831 1.757 2.632 4.501l3.953 6.848A5.454 5.454 0 0 1 12 6.545h10.691A12 12 0 0 0 12 0zM1.931 5.47A11.943 11.943 0 0 0 0 12c0 6.012 4.42 10.991 10.189 11.864l3.953-6.847a5.45 5.45 0 0 1-6.865-2.29zm13.342 2.166a5.446 5.446 0 0 1 1.45 7.09l.002.001h-.002l-5.344 9.257c.206.01.413.016.621.016 6.627 0 12-5.373 12-12 0-1.54-.29-3.011-.818-4.364zM12 16.364a4.364 4.364 0 1 1 0-8.728 4.364 4.364 0 0 1 0 8.728Z"})})}}function O(){return x.useEffect(()=>{o()},[]),e.jsxs(w,{children:[e.jsx(f,{}),e.jsxs("main",{children:[e.jsx(y,{}),e.jsx(b,{}),e.jsx(C,{})]}),e.jsx(_,{})]})}o();g(document.getElementById("root")).render(e.jsx(x.StrictMode,{children:e.jsx(O,{})}));
@@ -1 +1 @@
1
- import{u as c,j as e,H as i,F as d,c as n,R as l,L as o}from"./tokens-dhEWX-dA.js";function t(){const{t:a}=c();return e.jsxs(e.Fragment,{children:[e.jsx(i,{homeHref:"/",downloadHref:"/#download"}),e.jsxs("main",{className:"privacy-page",children:[e.jsx("section",{className:"privacy-hero",children:e.jsxs("div",{className:"wrap privacy-hero__inner",children:[e.jsx("a",{href:"/",className:"privacy-back",children:a.privacyBackHome}),e.jsx("p",{className:"privacy-updated",children:a.privacyUpdatedAt}),e.jsx("h1",{children:a.privacyHeroTitle}),e.jsx("p",{className:"privacy-lead",children:a.privacyHeroLead})]})}),e.jsx("section",{className:"privacy-body",children:e.jsx("div",{className:"wrap privacy-body__inner",children:a.privacySections.map(r=>e.jsxs("article",{className:"privacy-section",children:[e.jsx("h2",{children:r.title}),r.body.map(s=>e.jsx("p",{children:s},s))]},r.title))})})]}),e.jsx(d,{})]})}n(document.getElementById("root")).render(e.jsx(l.StrictMode,{children:e.jsx(o,{page:"privacy",children:e.jsx(t,{})})}));
1
+ import{u as c,j as e,H as i,F as d,c as n,R as l,L as o}from"./tokens-7q7KlOem.js";function t(){const{t:a}=c();return e.jsxs(e.Fragment,{children:[e.jsx(i,{homeHref:"/",downloadHref:"/#download"}),e.jsxs("main",{className:"privacy-page",children:[e.jsx("section",{className:"privacy-hero",children:e.jsxs("div",{className:"wrap privacy-hero__inner",children:[e.jsx("a",{href:"/",className:"privacy-back",children:a.privacyBackHome}),e.jsx("p",{className:"privacy-updated",children:a.privacyUpdatedAt}),e.jsx("h1",{children:a.privacyHeroTitle}),e.jsx("p",{className:"privacy-lead",children:a.privacyHeroLead})]})}),e.jsx("section",{className:"privacy-body",children:e.jsx("div",{className:"wrap privacy-body__inner",children:a.privacySections.map(r=>e.jsxs("article",{className:"privacy-section",children:[e.jsx("h2",{children:r.title}),r.body.map(s=>e.jsx("p",{children:s},s))]},r.title))})})]}),e.jsx(d,{})]})}n(document.getElementById("root")).render(e.jsx(l.StrictMode,{children:e.jsx(o,{page:"privacy",children:e.jsx(t,{})})}));