BibexPy 2.0.0__py3-none-any.whl
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.
- bibex_core/MergeDB.py +1189 -0
- bibex_core/__init__.py +13 -0
- bibex_core/modules/__init__.py +35 -0
- bibex_core/modules/api_utils.py +1172 -0
- bibex_core/modules/c1_utils.py +423 -0
- bibex_core/modules/file_utils.py +71 -0
- bibex_core/modules/ml_utils.py +332 -0
- bibex_core/modules/post_process.py +50 -0
- bibex_core/modules/stats_utils.py +216 -0
- bibex_core/scp2xlsx.py +235 -0
- bibex_core/wos2xlsx.py +159 -0
- bibex_core/xlsx2vos.py +185 -0
- bibexpy/__init__.py +9 -0
- bibexpy/__main__.py +6 -0
- bibexpy/_server/__init__.py +1 -0
- bibexpy/_server/config.py +92 -0
- bibexpy/_server/jobs/__init__.py +3 -0
- bibexpy/_server/jobs/runner.py +301 -0
- bibexpy/_server/main.py +211 -0
- bibexpy/_server/models/__init__.py +0 -0
- bibexpy/_server/models/project.py +25 -0
- bibexpy/_server/routers/__init__.py +0 -0
- bibexpy/_server/routers/audit.py +65 -0
- bibexpy/_server/routers/convert.py +101 -0
- bibexpy/_server/routers/disambiguate.py +177 -0
- bibexpy/_server/routers/downloads.py +26 -0
- bibexpy/_server/routers/enrich.py +42 -0
- bibexpy/_server/routers/export.py +116 -0
- bibexpy/_server/routers/export_folder.py +97 -0
- bibexpy/_server/routers/filter.py +131 -0
- bibexpy/_server/routers/jobs.py +72 -0
- bibexpy/_server/routers/merge.py +437 -0
- bibexpy/_server/routers/prepare.py +241 -0
- bibexpy/_server/routers/projects.py +49 -0
- bibexpy/_server/routers/quality.py +288 -0
- bibexpy/_server/routers/records.py +204 -0
- bibexpy/_server/routers/report.py +111 -0
- bibexpy/_server/routers/settings.py +383 -0
- bibexpy/_server/routers/system.py +209 -0
- bibexpy/_server/routers/tools.py +257 -0
- bibexpy/_server/routers/upload.py +110 -0
- bibexpy/_server/services/__init__.py +0 -0
- bibexpy/_server/services/analyses.py +364 -0
- bibexpy/_server/services/audit.py +340 -0
- bibexpy/_server/services/bibex_adapter.py +47 -0
- bibexpy/_server/services/bibtex_writer.py +104 -0
- bibexpy/_server/services/converter.py +205 -0
- bibexpy/_server/services/disambiguation/__init__.py +19 -0
- bibexpy/_server/services/disambiguation/blocking.py +581 -0
- bibexpy/_server/services/disambiguation/cache.py +47 -0
- bibexpy/_server/services/disambiguation/deepseek_client.py +203 -0
- bibexpy/_server/services/disambiguation/orcid.py +261 -0
- bibexpy/_server/services/disambiguation/pipeline.py +985 -0
- bibexpy/_server/services/disambiguation/similarity.py +91 -0
- bibexpy/_server/services/enricher.py +338 -0
- bibexpy/_server/services/exporter.py +112 -0
- bibexpy/_server/services/filter_engine.py +300 -0
- bibexpy/_server/services/merger.py +202 -0
- bibexpy/_server/services/methodology.py +102 -0
- bibexpy/_server/services/report_export.py +300 -0
- bibexpy/_server/services/ris_writer.py +62 -0
- bibexpy/_server/services/smart_merger.py +967 -0
- bibexpy/_server/services/storage.py +165 -0
- bibexpy/_web/404/index.html +1 -0
- bibexpy/_web/404.html +1 -0
- bibexpy/_web/_next/static/chunks/117-7ad5186126fa076d.js +2 -0
- bibexpy/_web/_next/static/chunks/156-75beffb8ae92a7f3.js +1 -0
- bibexpy/_web/_next/static/chunks/169-301c04fcec22686f.js +4 -0
- bibexpy/_web/_next/static/chunks/2-ecc1c36a5632ac61.js +1 -0
- bibexpy/_web/_next/static/chunks/244-be343e0f8aa00fb5.js +1 -0
- bibexpy/_web/_next/static/chunks/367-b7457c2b95f6932b.js +1 -0
- bibexpy/_web/_next/static/chunks/382-9cd163eed632e241.js +1 -0
- bibexpy/_web/_next/static/chunks/392-afa8bfa4c1a9893d.js +1 -0
- bibexpy/_web/_next/static/chunks/507-63607ded9f83c1aa.js +1 -0
- bibexpy/_web/_next/static/chunks/624-cae565632f47217d.js +1 -0
- bibexpy/_web/_next/static/chunks/739-a00c6b9c0f11813e.js +1 -0
- bibexpy/_web/_next/static/chunks/862-8e1bd5f93c082c02.js +1 -0
- bibexpy/_web/_next/static/chunks/app/_not-found/page-873ba59b5eb7c342.js +1 -0
- bibexpy/_web/_next/static/chunks/app/layout-0d5fc68ac8971a04.js +1 -0
- bibexpy/_web/_next/static/chunks/app/page-cf2bea5edc74459a.js +1 -0
- bibexpy/_web/_next/static/chunks/app/projects/[id]/convert/page-ab6dd645ae113b64.js +1 -0
- bibexpy/_web/_next/static/chunks/app/projects/[id]/disambiguate/page-dd98482cc47344e9.js +1 -0
- bibexpy/_web/_next/static/chunks/app/projects/[id]/enrich/page-4727e431468514e9.js +1 -0
- bibexpy/_web/_next/static/chunks/app/projects/[id]/export/page-f9005d164bb22cb0.js +1 -0
- bibexpy/_web/_next/static/chunks/app/projects/[id]/layout-07755fda55b3ae1f.js +1 -0
- bibexpy/_web/_next/static/chunks/app/projects/[id]/merge/page-45b95318ea7beccf.js +1 -0
- bibexpy/_web/_next/static/chunks/app/projects/[id]/records/page-bfad80457da9eb0b.js +1 -0
- bibexpy/_web/_next/static/chunks/app/projects/[id]/report/page-f05767e74158e995.js +1 -0
- bibexpy/_web/_next/static/chunks/app/projects/[id]/upload/page-8df78ca9cdecbcb8.js +1 -0
- bibexpy/_web/_next/static/chunks/app/projects/page-99960711ac6a13e9.js +1 -0
- bibexpy/_web/_next/static/chunks/app/settings/page-002df809d6c5a227.js +1 -0
- bibexpy/_web/_next/static/chunks/app/tools/page-27eee1c6a590859f.js +1 -0
- bibexpy/_web/_next/static/chunks/fd9d1056-f2718be92181f426.js +1 -0
- bibexpy/_web/_next/static/chunks/framework-f66176bb897dc684.js +1 -0
- bibexpy/_web/_next/static/chunks/main-app-d138a6e2f8c847f6.js +1 -0
- bibexpy/_web/_next/static/chunks/main-c4b9ddbf514503ef.js +1 -0
- bibexpy/_web/_next/static/chunks/pages/_app-72b849fbd24ac258.js +1 -0
- bibexpy/_web/_next/static/chunks/pages/_error-7ba65e1336b92748.js +1 -0
- bibexpy/_web/_next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- bibexpy/_web/_next/static/chunks/webpack-c81f7fd28659d64f.js +1 -0
- bibexpy/_web/_next/static/css/1c4638f3e39cf127.css +3 -0
- bibexpy/_web/_next/static/ypx2IQAkZiSaFiKWnzZGB/_buildManifest.js +1 -0
- bibexpy/_web/_next/static/ypx2IQAkZiSaFiKWnzZGB/_ssgManifest.js +1 -0
- bibexpy/_web/images/PROMPTS.md +83 -0
- bibexpy/_web/images/about-illustration.png +0 -0
- bibexpy/_web/images/authors/alperen-sahin.jpg +0 -0
- bibexpy/_web/images/authors/burak-can-kara.jpg +0 -0
- bibexpy/_web/images/authors/taskin-dirsehan.jpg +0 -0
- bibexpy/_web/images/bibexpy-logo-full.png +0 -0
- bibexpy/_web/images/bibexpy-logo-header.png +0 -0
- bibexpy/_web/images/bibexpy-logo-in.png +0 -0
- bibexpy/_web/images/bibexpy-logo.webp +0 -0
- bibexpy/_web/images/hero-illustration.png +0 -0
- bibexpy/_web/images/loader.gif +0 -0
- bibexpy/_web/images/workflow-diagram.png +0 -0
- bibexpy/_web/index.html +1 -0
- bibexpy/_web/index.txt +11 -0
- bibexpy/_web/projects/_/convert/index.html +1 -0
- bibexpy/_web/projects/_/convert/index.txt +12 -0
- bibexpy/_web/projects/_/disambiguate/index.html +1 -0
- bibexpy/_web/projects/_/disambiguate/index.txt +12 -0
- bibexpy/_web/projects/_/enrich/index.html +1 -0
- bibexpy/_web/projects/_/enrich/index.txt +12 -0
- bibexpy/_web/projects/_/export/index.html +1 -0
- bibexpy/_web/projects/_/export/index.txt +12 -0
- bibexpy/_web/projects/_/merge/index.html +1 -0
- bibexpy/_web/projects/_/merge/index.txt +12 -0
- bibexpy/_web/projects/_/records/index.html +1 -0
- bibexpy/_web/projects/_/records/index.txt +12 -0
- bibexpy/_web/projects/_/report/index.html +1 -0
- bibexpy/_web/projects/_/report/index.txt +12 -0
- bibexpy/_web/projects/_/upload/index.html +1 -0
- bibexpy/_web/projects/_/upload/index.txt +12 -0
- bibexpy/_web/projects/index.html +1 -0
- bibexpy/_web/projects/index.txt +11 -0
- bibexpy/_web/settings/index.html +1 -0
- bibexpy/_web/settings/index.txt +11 -0
- bibexpy/_web/tools/README.md +65 -0
- bibexpy/_web/tools/bibexcel.svg +6 -0
- bibexpy/_web/tools/bibliometrix.png +0 -0
- bibexpy/_web/tools/biblioshiny.svg +12 -0
- bibexpy/_web/tools/citavi.svg +6 -0
- bibexpy/_web/tools/citespace.svg +7 -0
- bibexpy/_web/tools/citnetexplorer.svg +8 -0
- bibexpy/_web/tools/endnote.svg +6 -0
- bibexpy/_web/tools/excel.svg +1 -0
- bibexpy/_web/tools/gephi.svg +66 -0
- bibexpy/_web/tools/histcite.svg +7 -0
- bibexpy/_web/tools/index.html +1 -0
- bibexpy/_web/tools/index.txt +11 -0
- bibexpy/_web/tools/jabref.svg +122 -0
- bibexpy/_web/tools/latex.svg +1 -0
- bibexpy/_web/tools/mendeley.svg +1 -0
- bibexpy/_web/tools/openrefine.svg +15 -0
- bibexpy/_web/tools/overleaf.svg +1 -0
- bibexpy/_web/tools/papers.svg +7 -0
- bibexpy/_web/tools/powerbi.svg +1 -0
- bibexpy/_web/tools/python.svg +1 -0
- bibexpy/_web/tools/r.svg +1 -0
- bibexpy/_web/tools/refworks.svg +5 -0
- bibexpy/_web/tools/scite.svg +5 -0
- bibexpy/_web/tools/tableau.svg +1 -0
- bibexpy/_web/tools/vosviewer.png +0 -0
- bibexpy/_web/tools/zotero.svg +1 -0
- bibexpy/cli.py +242 -0
- bibexpy-2.0.0.dist-info/METADATA +105 -0
- bibexpy-2.0.0.dist-info/RECORD +171 -0
- bibexpy-2.0.0.dist-info/WHEEL +5 -0
- bibexpy-2.0.0.dist-info/entry_points.txt +2 -0
- bibexpy-2.0.0.dist-info/licenses/LICENSE +674 -0
- bibexpy-2.0.0.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[624],{8135:function(a,i){"use strict";i.Z=function(a,i){if(a&&i){var t=Array.isArray(i)?i:i.split(",");if(0===t.length)return!0;var n=a.name||"",p=(a.type||"").toLowerCase(),e=p.replace(/\/.*$/,"");return t.some(function(a){var i=a.trim().toLowerCase();return"."===i.charAt(0)?n.toLowerCase().endsWith(i):i.endsWith("/*")?e===i.replace(/\/.*$/,""):p===i})}return!0}},1769:function(a,i,t){"use strict";t.d(i,{Z:function(){return n}});let n=(0,t(9205).Z)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},407:function(a,i,t){"use strict";t.d(i,{Z:function(){return n}});let n=(0,t(9205).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},9322:function(a,i,t){"use strict";t.d(i,{Z:function(){return n}});let n=(0,t(9205).Z)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},1723:function(a,i,t){"use strict";t.d(i,{Z:function(){return n}});let n=(0,t(9205).Z)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},8867:function(a,i,t){"use strict";t.d(i,{Z:function(){return n}});let n=(0,t(9205).Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},4822:function(a,i,t){"use strict";t.d(i,{Z:function(){return n}});let n=(0,t(9205).Z)("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]])},7782:function(a,i,t){"use strict";t.d(i,{Z:function(){return n}});let n=(0,t(9205).Z)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},1649:function(a,i,t){"use strict";t.d(i,{Z:function(){return n}});let n=(0,t(9205).Z)("FileSpreadsheet",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]])},4924:function(a,i,t){"use strict";t.d(i,{Z:function(){return n}});let n=(0,t(9205).Z)("Folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},9397:function(a,i,t){"use strict";t.d(i,{Z:function(){return n}});let n=(0,t(9205).Z)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},8049:function(a,i,t){"use strict";var n=t(4397);function p(){}function e(){}e.resetWarningCache=p,a.exports=function(){function a(a,i,t,p,e,o){if(o!==n){var c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function i(){return a}a.isRequired=a;var t={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:i,element:a,elementType:a,instanceOf:i,node:a,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:e,resetWarningCache:p};return t.PropTypes=t,t}},718:function(a,i,t){a.exports=t(8049)()},4397:function(a){"use strict";a.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3835:function(a,i,t){"use strict";t.d(i,{uI:function(){return aa}});var n=t(2265),p=t(718),e=t.n(p);function o(a,i,t,n){return new(t||(t=Promise))(function(p,e){function o(a){try{l(n.next(a))}catch(a){e(a)}}function c(a){try{l(n.throw(a))}catch(a){e(a)}}function l(a){var i;a.done?p(a.value):((i=a.value)instanceof t?i:new t(function(a){a(i)})).then(o,c)}l((n=n.apply(a,i||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;let c=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function l(a,i,t){let n=function(a){let{name:i}=a;if(i&&-1!==i.lastIndexOf(".")&&!a.type){let t=i.split(".").pop().toLowerCase(),n=c.get(t);n&&Object.defineProperty(a,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return a}(a),{webkitRelativePath:p}=a,e="string"==typeof i?i:"string"==typeof p&&p.length>0?p:`./${a.name}`;return"string"!=typeof n.path&&r(n,"path",e),void 0!==t&&Object.defineProperty(n,"handle",{value:t,writable:!1,configurable:!1,enumerable:!0}),r(n,"relativePath",e),n}function r(a,i,t){Object.defineProperty(a,i,{value:t,writable:!1,configurable:!1,enumerable:!0})}let s=[".DS_Store","Thumbs.db"];function d(a){return"object"==typeof a&&null!==a}function m(a){return a.filter(a=>-1===s.indexOf(a.name))}function v(a){if(null===a)return[];let i=[];for(let t=0;t<a.length;t++){let n=a[t];i.push(n)}return i}function u(a){if("function"!=typeof a.webkitGetAsEntry)return x(a);let i=a.webkitGetAsEntry();return i&&i.isDirectory?g(i):x(a,i)}function x(a,i){return o(this,void 0,void 0,function*(){var t;if(globalThis.isSecureContext&&"function"==typeof a.getAsFileSystemHandle){let i=yield a.getAsFileSystemHandle();if(null===i)throw Error(`${a} is not a File`);if(void 0!==i){let a=yield i.getFile();return a.handle=i,l(a)}}let n=a.getAsFile();if(!n)throw Error(`${a} is not a File`);return l(n,null!==(t=null==i?void 0:i.fullPath)&&void 0!==t?t:void 0)})}function f(a){return o(this,void 0,void 0,function*(){return a.isDirectory?g(a):function(a){return o(this,void 0,void 0,function*(){return new Promise((i,t)=>{a.file(t=>{i(l(t,a.fullPath))},a=>{t(a)})})})}(a)})}function g(a){let i=a.createReader();return new Promise((a,t)=>{let n=[];!function p(){i.readEntries(i=>o(this,void 0,void 0,function*(){if(i.length){let a=Promise.all(i.map(f));n.push(a),p()}else try{let i=yield Promise.all(n);a(i)}catch(a){t(a)}}),a=>{t(a)})}()})}var h=t(8135);function b(a){return function(a){if(Array.isArray(a))return D(a)}(a)||function(a){if("undefined"!=typeof Symbol&&null!=a[Symbol.iterator]||null!=a["@@iterator"])return Array.from(a)}(a)||z(a)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(a,i){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);i&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(a,i).enumerable})),t.push.apply(t,n)}return t}function k(a){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?y(Object(t),!0).forEach(function(i){w(a,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach(function(i){Object.defineProperty(a,i,Object.getOwnPropertyDescriptor(t,i))})}return a}function w(a,i,t){return i in a?Object.defineProperty(a,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[i]=t,a}function j(a,i){return function(a){if(Array.isArray(a))return a}(a)||function(a,i){var t,n,p=null==a?null:"undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(null!=p){var e=[],o=!0,c=!1;try{for(p=p.call(a);!(o=(t=p.next()).done)&&(e.push(t.value),!i||e.length!==i);o=!0);}catch(a){c=!0,n=a}finally{try{o||null==p.return||p.return()}finally{if(c)throw n}}return e}}(a,i)||z(a,i)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(a,i){if(a){if("string"==typeof a)return D(a,i);var t=Object.prototype.toString.call(a).slice(8,-1);if("Object"===t&&a.constructor&&(t=a.constructor.name),"Map"===t||"Set"===t)return Array.from(a);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return D(a,i)}}function D(a,i){(null==i||i>a.length)&&(i=a.length);for(var t=0,n=Array(i);t<i;t++)n[t]=a[t];return n}var O="function"==typeof h.Z?h.Z:h.Z.default,E=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=a.split(","),t=i.length>1?"one of ".concat(i.join(", ")):i[0];return{code:"file-invalid-type",message:"File type must be ".concat(t)}},q=function(a){return{code:"file-too-large",message:"File is larger than ".concat(a," ").concat(1===a?"byte":"bytes")}},A=function(a){return{code:"file-too-small",message:"File is smaller than ".concat(a," ").concat(1===a?"byte":"bytes")}},F={code:"too-many-files",message:"Too many files"};function P(a,i){var t="application/x-moz-file"===a.type||O(a,i);return[t,t?null:E(i)]}function S(a,i,t){if(C(a.size)){if(C(i)&&C(t)){if(a.size>t)return[!1,q(t)];if(a.size<i)return[!1,A(i)]}else if(C(i)&&a.size<i)return[!1,A(i)];else if(C(t)&&a.size>t)return[!1,q(t)]}return[!0,null]}function C(a){return null!=a}function M(a){return"function"==typeof a.isPropagationStopped?a.isPropagationStopped():void 0!==a.cancelBubble&&a.cancelBubble}function R(a){return a.dataTransfer?Array.prototype.some.call(a.dataTransfer.types,function(a){return"Files"===a||"application/x-moz-file"===a}):!!a.target&&!!a.target.files}function T(a){a.preventDefault()}function I(){for(var a=arguments.length,i=Array(a),t=0;t<a;t++)i[t]=arguments[t];return function(a){for(var t=arguments.length,n=Array(t>1?t-1:0),p=1;p<t;p++)n[p-1]=arguments[p];return i.some(function(i){return!M(a)&&i&&i.apply(void 0,[a].concat(n)),M(a)})}}function Z(a){return"audio/*"===a||"video/*"===a||"image/*"===a||"text/*"===a||"application/*"===a||/\w+\/[-+.\w]+/g.test(a)}function _(a){return/^.*\.[\w]+$/.test(a)}var L=["children"],B=["open"],K=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],H=["refKey","onChange","onClick"];function $(a,i){return function(a){if(Array.isArray(a))return a}(a)||function(a,i){var t,n,p=null==a?null:"undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(null!=p){var e=[],o=!0,c=!1;try{for(p=p.call(a);!(o=(t=p.next()).done)&&(e.push(t.value),!i||e.length!==i);o=!0);}catch(a){c=!0,n=a}finally{try{o||null==p.return||p.return()}finally{if(c)throw n}}return e}}(a,i)||U(a,i)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(a,i){if(a){if("string"==typeof a)return W(a,i);var t=Object.prototype.toString.call(a).slice(8,-1);if("Object"===t&&a.constructor&&(t=a.constructor.name),"Map"===t||"Set"===t)return Array.from(a);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return W(a,i)}}function W(a,i){(null==i||i>a.length)&&(i=a.length);for(var t=0,n=Array(i);t<i;t++)n[t]=a[t];return n}function N(a,i){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);i&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(a,i).enumerable})),t.push.apply(t,n)}return t}function V(a){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?N(Object(t),!0).forEach(function(i){G(a,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):N(Object(t)).forEach(function(i){Object.defineProperty(a,i,Object.getOwnPropertyDescriptor(t,i))})}return a}function G(a,i,t){return i in a?Object.defineProperty(a,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[i]=t,a}function Y(a,i){if(null==a)return{};var t,n,p=function(a,i){if(null==a)return{};var t,n,p={},e=Object.keys(a);for(n=0;n<e.length;n++)t=e[n],i.indexOf(t)>=0||(p[t]=a[t]);return p}(a,i);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(a);for(n=0;n<e.length;n++)t=e[n],!(i.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(a,t)&&(p[t]=a[t])}return p}var J=(0,n.forwardRef)(function(a,i){var t=a.children,p=aa(Y(a,L)),e=p.open,o=Y(p,B);return(0,n.useImperativeHandle)(i,function(){return{open:e}},[e]),n.createElement(n.Fragment,null,t(V(V({},o),{},{open:e})))});J.displayName="Dropzone";var Q={disabled:!1,getFilesFromEvent:function(a){return o(this,void 0,void 0,function*(){return d(a)&&d(a.dataTransfer)?function(a,i){return o(this,void 0,void 0,function*(){if(a.items){let t=v(a.items).filter(a=>"file"===a.kind);return"drop"!==i?t:m(function a(i){return i.reduce((i,t)=>[...i,...Array.isArray(t)?a(t):[t]],[])}((yield Promise.all(t.map(u)))))}return m(v(a.files).map(a=>l(a)))})}(a.dataTransfer,a.type):d(a)&&d(a.target)?v(a.target.files).map(a=>l(a)):Array.isArray(a)&&a.every(a=>"getFile"in a&&"function"==typeof a.getFile)?function(a){return o(this,void 0,void 0,function*(){return(yield Promise.all(a.map(a=>a.getFile()))).map(a=>l(a))})}(a):[]})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};J.defaultProps=Q,J.propTypes={children:e().func,accept:e().objectOf(e().arrayOf(e().string)),multiple:e().bool,preventDropOnDocument:e().bool,noClick:e().bool,noKeyboard:e().bool,noDrag:e().bool,noDragEventsBubbling:e().bool,minSize:e().number,maxSize:e().number,maxFiles:e().number,disabled:e().bool,getFilesFromEvent:e().func,onFileDialogCancel:e().func,onFileDialogOpen:e().func,useFsAccessApi:e().bool,autoFocus:e().bool,onDragEnter:e().func,onDragLeave:e().func,onDragOver:e().func,onDrop:e().func,onDropAccepted:e().func,onDropRejected:e().func,onError:e().func,validator:e().func};var X={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function aa(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=V(V({},Q),a),t=i.accept,p=i.disabled,e=i.getFilesFromEvent,o=i.maxSize,c=i.minSize,l=i.multiple,r=i.maxFiles,s=i.onDragEnter,d=i.onDragLeave,m=i.onDragOver,v=i.onDrop,u=i.onDropAccepted,x=i.onDropRejected,f=i.onFileDialogCancel,g=i.onFileDialogOpen,h=i.useFsAccessApi,y=i.autoFocus,z=i.preventDropOnDocument,D=i.noClick,O=i.noKeyboard,E=i.noDrag,q=i.noDragEventsBubbling,A=i.onError,L=i.validator,B=(0,n.useMemo)(function(){return function(a){if(C(a))return Object.entries(a).reduce(function(a,i){var t=j(i,2),n=t[0],p=t[1];return[].concat(b(a),[n],b(p))},[]).filter(function(a){return Z(a)||_(a)}).join(",")}(t)},[t]),N=(0,n.useMemo)(function(){return C(t)?[{description:"Files",accept:Object.entries(t).filter(function(a){var i=j(a,2),t=i[0],n=i[1],p=!0;return Z(t)||(console.warn('Skipped "'.concat(t,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),p=!1),Array.isArray(n)&&n.every(_)||(console.warn('Skipped "'.concat(t,'" because an invalid file extension was provided.')),p=!1),p}).reduce(function(a,i){var t=j(i,2),n=t[0],p=t[1];return k(k({},a),{},w({},n,p))},{})}]:t},[t]),J=(0,n.useMemo)(function(){return"function"==typeof g?g:at},[g]),aa=(0,n.useMemo)(function(){return"function"==typeof f?f:at},[f]),an=(0,n.useRef)(null),ap=(0,n.useRef)(null),ae=$((0,n.useReducer)(ai,X),2),ao=ae[0],ac=ae[1],al=ao.isFocused,ar=ao.isFileDialogActive,as=(0,n.useRef)("undefined"!=typeof window&&window.isSecureContext&&h&&"showOpenFilePicker"in window),ad=function(){!as.current&&ar&&setTimeout(function(){ap.current&&!ap.current.files.length&&(ac({type:"closeDialog"}),aa())},300)};(0,n.useEffect)(function(){return window.addEventListener("focus",ad,!1),function(){window.removeEventListener("focus",ad,!1)}},[ap,ar,aa,as]);var am=(0,n.useRef)([]),av=function(a){an.current&&an.current.contains(a.target)||(a.preventDefault(),am.current=[])};(0,n.useEffect)(function(){return z&&(document.addEventListener("dragover",T,!1),document.addEventListener("drop",av,!1)),function(){z&&(document.removeEventListener("dragover",T),document.removeEventListener("drop",av))}},[an,z]),(0,n.useEffect)(function(){return!p&&y&&an.current&&an.current.focus(),function(){}},[an,y,p]);var au=(0,n.useCallback)(function(a){A?A(a):console.error(a)},[A]),ax=(0,n.useCallback)(function(a){var i;a.preventDefault(),a.persist(),aq(a),am.current=[].concat(function(a){if(Array.isArray(a))return W(a)}(i=am.current)||function(a){if("undefined"!=typeof Symbol&&null!=a[Symbol.iterator]||null!=a["@@iterator"])return Array.from(a)}(i)||U(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[a.target]),R(a)&&Promise.resolve(e(a)).then(function(i){if(!M(a)||q){var t,n,p,e,d,m,v,u,x=i.length,f=x>0&&(n=(t={files:i,accept:B,minSize:c,maxSize:o,multiple:l,maxFiles:r,validator:L}).files,p=t.accept,e=t.minSize,d=t.maxSize,m=t.multiple,v=t.maxFiles,u=t.validator,(!!m||!(n.length>1))&&(!m||!(v>=1)||!(n.length>v))&&n.every(function(a){var i=j(P(a,p),1)[0],t=j(S(a,e,d),1)[0],n=u?u(a):null;return i&&t&&!n}));ac({isDragAccept:f,isDragReject:x>0&&!f,isDragActive:!0,type:"setDraggedFiles"}),s&&s(a)}}).catch(function(a){return au(a)})},[e,s,au,q,B,c,o,l,r,L]),af=(0,n.useCallback)(function(a){a.preventDefault(),a.persist(),aq(a);var i=R(a);if(i&&a.dataTransfer)try{a.dataTransfer.dropEffect="copy"}catch(a){}return i&&m&&m(a),!1},[m,q]),ag=(0,n.useCallback)(function(a){a.preventDefault(),a.persist(),aq(a);var i=am.current.filter(function(a){return an.current&&an.current.contains(a)}),t=i.indexOf(a.target);-1!==t&&i.splice(t,1),am.current=i,!(i.length>0)&&(ac({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),R(a)&&d&&d(a))},[an,d,q]),ah=(0,n.useCallback)(function(a,i){var t=[],n=[];a.forEach(function(a){var i=$(P(a,B),2),p=i[0],e=i[1],l=$(S(a,c,o),2),r=l[0],s=l[1],d=L?L(a):null;if(p&&r&&!d)t.push(a);else{var m=[e,s];d&&(m=m.concat(d)),n.push({file:a,errors:m.filter(function(a){return a})})}}),(!l&&t.length>1||l&&r>=1&&t.length>r)&&(t.forEach(function(a){n.push({file:a,errors:[F]})}),t.splice(0)),ac({acceptedFiles:t,fileRejections:n,isDragReject:n.length>0,type:"setFiles"}),v&&v(t,n,i),n.length>0&&x&&x(n,i),t.length>0&&u&&u(t,i)},[ac,l,B,c,o,r,v,u,x,L]),ab=(0,n.useCallback)(function(a){a.preventDefault(),a.persist(),aq(a),am.current=[],R(a)&&Promise.resolve(e(a)).then(function(i){(!M(a)||q)&&ah(i,a)}).catch(function(a){return au(a)}),ac({type:"reset"})},[e,ah,au,q]),ay=(0,n.useCallback)(function(){if(as.current){ac({type:"openDialog"}),J(),window.showOpenFilePicker({multiple:l,types:N}).then(function(a){return e(a)}).then(function(a){ah(a,null),ac({type:"closeDialog"})}).catch(function(a){a instanceof DOMException&&("AbortError"===a.name||a.code===a.ABORT_ERR)?(aa(a),ac({type:"closeDialog"})):a instanceof DOMException&&("SecurityError"===a.name||a.code===a.SECURITY_ERR)?(as.current=!1,ap.current?(ap.current.value=null,ap.current.click()):au(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):au(a)});return}ap.current&&(ac({type:"openDialog"}),J(),ap.current.value=null,ap.current.click())},[ac,J,aa,h,ah,au,N,l]),ak=(0,n.useCallback)(function(a){an.current&&an.current.isEqualNode(a.target)&&(" "===a.key||"Enter"===a.key||32===a.keyCode||13===a.keyCode)&&(a.preventDefault(),ay())},[an,ay]),aw=(0,n.useCallback)(function(){ac({type:"focus"})},[]),aj=(0,n.useCallback)(function(){ac({type:"blur"})},[]),az=(0,n.useCallback)(function(){D||(function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==a.indexOf("MSIE")||-1!==a.indexOf("Trident/")||-1!==a.indexOf("Edge/")}()?setTimeout(ay,0):ay())},[D,ay]),aD=function(a){return p?null:a},aO=function(a){return O?null:aD(a)},aE=function(a){return E?null:aD(a)},aq=function(a){q&&a.stopPropagation()},aA=(0,n.useMemo)(function(){return function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=a.refKey,t=a.role,n=a.onKeyDown,e=a.onFocus,o=a.onBlur,c=a.onClick,l=a.onDragEnter,r=a.onDragOver,s=a.onDragLeave,d=a.onDrop,m=Y(a,K);return V(V(G({onKeyDown:aO(I(n,ak)),onFocus:aO(I(e,aw)),onBlur:aO(I(o,aj)),onClick:aD(I(c,az)),onDragEnter:aE(I(l,ax)),onDragOver:aE(I(r,af)),onDragLeave:aE(I(s,ag)),onDrop:aE(I(d,ab)),role:"string"==typeof t&&""!==t?t:"presentation"},void 0===i?"ref":i,an),p||O?{}:{tabIndex:0}),m)}},[an,ak,aw,aj,az,ax,af,ag,ab,O,E,p]),aF=(0,n.useCallback)(function(a){a.stopPropagation()},[]),aP=(0,n.useMemo)(function(){return function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=a.refKey,t=a.onChange,n=a.onClick,p=Y(a,H);return V(V({},G({accept:B,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:aD(I(t,ab)),onClick:aD(I(n,aF)),tabIndex:-1},void 0===i?"ref":i,ap)),p)}},[ap,t,l,ab,p]);return V(V({},ao),{},{isFocused:al&&!p,getRootProps:aA,getInputProps:aP,rootRef:an,inputRef:ap,open:aD(ay)})}function ai(a,i){switch(i.type){case"focus":return V(V({},a),{},{isFocused:!0});case"blur":return V(V({},a),{},{isFocused:!1});case"openDialog":return V(V({},X),{},{isFileDialogActive:!0});case"closeDialog":return V(V({},a),{},{isFileDialogActive:!1});case"setDraggedFiles":return V(V({},a),{},{isDragActive:i.isDragActive,isDragAccept:i.isDragAccept,isDragReject:i.isDragReject});case"setFiles":return V(V({},a),{},{acceptedFiles:i.acceptedFiles,fileRejections:i.fileRejections,isDragReject:i.isDragReject});case"reset":return V({},X);default:return a}}function at(){}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[739],{3732:function(e,t,n){n.d(t,{YM:function(){return ee}});let r=(()=>{let e=0,t=()=>`0000${(1679616*Math.random()<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function a(e){let t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}let i=null;function l(e={}){return i||(i=e.includeStyleProperties?e.includeStyleProperties:a(window.getComputedStyle(document.documentElement)))}function o(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function c(e,t={}){return{width:t.width||function(e){let t=o(e,"border-left-width"),n=o(e,"border-right-width");return e.clientWidth+t+n}(e),height:t.height||function(e){let t=o(e,"border-top-width"),n=o(e,"border-bottom-width");return e.clientHeight+t+n}(e)}}function u(e){return new Promise((t,n)=>{let r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function s(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function h(e,t,n){let r="http://www.w3.org/2000/svg",a=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return a.setAttribute("width",`${t}`),a.setAttribute("height",`${n}`),a.setAttribute("viewBox",`0 0 ${t} ${n}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),a.appendChild(i),i.appendChild(e),s(a)}let d=(e,t)=>{if(e instanceof t)return!0;let n=Object.getPrototypeOf(e);return null!==n&&(n.constructor.name===t.name||d(n,t))};function f(e,t,n,a){let i=window.getComputedStyle(e,n),o=i.getPropertyValue("content");if(""===o||"none"===o)return;let c=r();try{t.className=`${t.className} ${c}`}catch(e){return}let u=document.createElement("style");u.appendChild(function(e,t,n,r){let a=`.${e}:${t}`,i=n.cssText?function(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}(n):l(r).map(e=>{let t=n.getPropertyValue(e),r=n.getPropertyPriority(e);return`${e}: ${t}${r?" !important":""};`}).join(" ");return document.createTextNode(`${a}{${i}}`)}(c,n,i,a)),t.appendChild(u)}let y="application/font-woff",p="image/jpeg",m={woff:y,woff2:y,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:p,jpeg:p,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function g(e){return m[(function(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""})(e).toLowerCase()]||""}function w(e){return -1!==e.search(/^(data:)/)}function k(e,t){return`data:${t};base64,${e}`}async function v(e,t,n){let r=await fetch(e,t);if(404===r.status)throw Error(`Resource "${r.url}" not found`);let a=await r.blob();return new Promise((e,t)=>{let i=new FileReader;i.onerror=t,i.onloadend=()=>{try{e(n({res:r,result:i.result}))}catch(e){t(e)}},i.readAsDataURL(a)})}let b={};async function x(e,t,n){var r,a,i;let l,o;let c=(r=e,a=t,i=n.includeQueryParams,o=r.replace(/\?.*/,""),i&&(o=r),/ttf|otf|eot|woff2?/i.test(o)&&(o=o.replace(/.*\//,"")),a?`[${a}]${o}`:o);if(null!=b[c])return b[c];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());try{let r=await v(e,n.fetchRequestInit,({res:e,result:n})=>(t||(t=e.headers.get("Content-Type")||""),n.split(/,/)[1]));l=k(r,t)}catch(r){l=n.imagePlaceholder||"";let t=`Failed to fetch resource: ${e}`;r&&(t="string"==typeof r?r:r.message),t&&console.warn(t)}return b[c]=l,l}async function S(e){let t=e.toDataURL();return"data:,"===t?e.cloneNode(!1):u(t)}async function E(e,t){if(e.currentSrc){let t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.clientWidth,t.height=e.clientHeight,null==n||n.drawImage(e,0,0,t.width,t.height),u(t.toDataURL())}let n=e.poster,r=g(n);return u(await x(n,r,t))}async function M(e,t){var n;try{if(null===(n=null==e?void 0:e.contentDocument)||void 0===n?void 0:n.body)return await T(e.contentDocument.body,t,!0)}catch(e){}return e.cloneNode(!1)}async function C(e,t){return d(e,HTMLCanvasElement)?S(e):d(e,HTMLVideoElement)?E(e,t):d(e,HTMLIFrameElement)?M(e,t):e.cloneNode(P(e))}let $=e=>null!=e.tagName&&"SLOT"===e.tagName.toUpperCase(),P=e=>null!=e.tagName&&"SVG"===e.tagName.toUpperCase();async function Z(e,t,n){var r,i;if(P(t))return t;let l=[];return $(e)&&e.assignedNodes?l=a(e.assignedNodes()):d(e,HTMLIFrameElement)&&(null===(r=e.contentDocument)||void 0===r?void 0:r.body)?l=a(e.contentDocument.body.childNodes):l=a((null!==(i=e.shadowRoot)&&void 0!==i?i:e).childNodes),0===l.length||d(e,HTMLVideoElement)||await l.reduce((e,r)=>e.then(()=>T(r,n)).then(e=>{e&&t.appendChild(e)}),Promise.resolve()),t}async function R(e,t){let n=e.querySelectorAll?e.querySelectorAll("use"):[];if(0===n.length)return e;let r={};for(let a=0;a<n.length;a++){let i=n[a].getAttribute("xlink:href");if(i){let n=e.querySelector(i),a=document.querySelector(i);n||!a||r[i]||(r[i]=await T(a,t,!0))}}let a=Object.values(r);if(a.length){let t="http://www.w3.org/1999/xhtml",n=document.createElementNS(t,"svg");n.setAttribute("xmlns",t),n.style.position="absolute",n.style.width="0",n.style.height="0",n.style.overflow="hidden",n.style.display="none";let r=document.createElementNS(t,"defs");n.appendChild(r);for(let e=0;e<a.length;e++)r.appendChild(a[e]);e.appendChild(n)}return e}async function T(e,t,n){return n||!t.filter||t.filter(e)?Promise.resolve(e).then(e=>C(e,t)).then(n=>Z(e,n,t)).then(n=>{var r,a,i;return r=e,a=n,i=t,d(a,Element)&&(!function(e,t,n){let r=t.style;if(!r)return;let a=window.getComputedStyle(e);a.cssText?(r.cssText=a.cssText,r.transformOrigin=a.transformOrigin):l(n).forEach(n=>{let i=a.getPropertyValue(n);if("font-size"===n&&i.endsWith("px")){let e=Math.floor(parseFloat(i.substring(0,i.length-2)))-.1;i=`${e}px`}d(e,HTMLIFrameElement)&&"display"===n&&"inline"===i&&(i="block"),"d"===n&&t.getAttribute("d")&&(i=`path(${t.getAttribute("d")})`),r.setProperty(n,i,a.getPropertyPriority(n))})}(r,a,i),f(r,a,":before",i),f(r,a,":after",i),d(r,HTMLTextAreaElement)&&(a.innerHTML=r.value),d(r,HTMLInputElement)&&a.setAttribute("value",r.value),function(e,t){if(d(e,HTMLSelectElement)){let n=Array.from(t.children).find(t=>e.value===t.getAttribute("value"));n&&n.setAttribute("selected","")}}(r,a)),a}).then(e=>R(e,t)):null}let A=/url\((['"]?)([^'"]+?)\1\)/g,H=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,N=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;async function V(e,t,n,r,a){try{let i;let l=n?function(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let n=document.implementation.createHTMLDocument(),r=n.createElement("base"),a=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(a),t&&(r.href=t),a.href=e,a.href}(t,n):t,o=g(t);if(a){let e=await a(l);i=k(e,o)}else i=await x(l,o,r);return e.replace(function(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}(t),`$1${i}$3`)}catch(e){}return e}function L(e){return -1!==e.search(A)}async function I(e,t,n){if(!L(e))return e;let r=function(e,{preferredFontFormat:t}){return t?e.replace(N,e=>{for(;;){let[n,,r]=H.exec(e)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}(e,n);return(function(e){let t=[];return e.replace(A,(e,n,r)=>(t.push(r),e)),t.filter(e=>!w(e))})(r).reduce((e,r)=>e.then(e=>V(e,r,t,n)),Promise.resolve(r))}async function j(e,t,n){var r;let a=null===(r=t.style)||void 0===r?void 0:r.getPropertyValue(e);if(a){let r=await I(a,null,n);return t.style.setProperty(e,r,t.style.getPropertyPriority(e)),!0}return!1}async function q(e,t){await j("background",e,t)||await j("background-image",e,t),await j("mask",e,t)||await j("-webkit-mask",e,t)||await j("mask-image",e,t)||await j("-webkit-mask-image",e,t)}async function D(e,t){let n=d(e,HTMLImageElement);if(!(n&&!w(e.src))&&!(d(e,SVGImageElement)&&!w(e.href.baseVal)))return;let r=n?e.src:e.href.baseVal,a=await x(r,g(r),t);await new Promise((r,i)=>{e.onload=r,e.onerror=t.onImageErrorHandler?(...e)=>{try{r(t.onImageErrorHandler(...e))}catch(e){i(e)}}:i,e.decode&&(e.decode=r),"lazy"===e.loading&&(e.loading="eager"),n?(e.srcset="",e.src=a):e.href.baseVal=a})}async function F(e,t){let n=a(e.childNodes).map(e=>z(e,t));await Promise.all(n).then(()=>e)}async function z(e,t){d(e,Element)&&(await q(e,t),await D(e,t),await F(e,t))}let O={};async function U(e){let t=O[e];if(null!=t)return t;let n=await fetch(e);return t={url:e,cssText:await n.text()},O[e]=t,t}async function _(e,t){let n=e.cssText,r=/url\(["']?([^"')]+)["']?\)/g;return Promise.all((n.match(/url\([^)]+\)/g)||[]).map(async a=>{let i=a.replace(r,"$1");return i.startsWith("https://")||(i=new URL(i,e.url).href),v(i,t.fetchRequestInit,({result:e})=>(n=n.replace(a,`url(${e})`),[a,e]))})).then(()=>n)}function W(e){if(null==e)return[];let t=[],n=e.replace(/(\/\*[\s\S]*?\*\/)/gi,""),r=RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let e=r.exec(n);if(null===e)break;t.push(e[0])}n=n.replace(r,"");let a=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i=RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let e=a.exec(n);if(null===e){if(null===(e=i.exec(n)))break;a.lastIndex=i.lastIndex}else i.lastIndex=a.lastIndex;t.push(e[0])}return t}async function B(e,t){let n=[],r=[];return e.forEach(n=>{if("cssRules"in n)try{a(n.cssRules||[]).forEach((e,a)=>{if(e.type===CSSRule.IMPORT_RULE){let i=a+1,l=e.href,o=U(l).then(e=>_(e,t)).then(e=>W(e).forEach(e=>{try{n.insertRule(e,e.startsWith("@import")?i+=1:n.cssRules.length)}catch(t){console.error("Error inserting rule from remote css",{rule:e,error:t})}})).catch(e=>{console.error("Error loading remote css",e.toString())});r.push(o)}})}catch(i){let a=e.find(e=>null==e.href)||document.styleSheets[0];null!=n.href&&r.push(U(n.href).then(e=>_(e,t)).then(e=>W(e).forEach(e=>{a.insertRule(e,a.cssRules.length)})).catch(e=>{console.error("Error loading remote stylesheet",e)})),console.error("Error inlining remote css file",i)}}),Promise.all(r).then(()=>(e.forEach(e=>{if("cssRules"in e)try{a(e.cssRules||[]).forEach(e=>{n.push(e)})}catch(t){console.error(`Error while reading CSS rules from ${e.href}`,t)}}),n))}async function G(e,t){if(null==e.ownerDocument)throw Error("Provided element is not within a Document");let n=a(e.ownerDocument.styleSheets);return(await B(n,t)).filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>L(e.style.getPropertyValue("src")))}function Q(e){return e.trim().replace(/["']/g,"")}async function X(e,t){let n=await G(e,t),r=function(e){let t=new Set;return!function e(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(e=>{t.add(Q(e))}),Array.from(n.children).forEach(t=>{t instanceof HTMLElement&&e(t)})}(e),t}(e);return(await Promise.all(n.filter(e=>r.has(Q(e.style.fontFamily))).map(e=>{let n=e.parentStyleSheet?e.parentStyleSheet.href:null;return I(e.cssText,n,t)}))).join("\n")}async function Y(e,t){let n=null!=t.fontEmbedCSS?t.fontEmbedCSS:t.skipFonts?null:await X(e,t);if(n){let t=document.createElement("style"),r=document.createTextNode(n);t.appendChild(r),e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}}async function J(e,t={}){let{width:n,height:r}=c(e,t),a=await T(e,t,!0);return await Y(a,t),await z(a,t),!function(e,t){let{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);let r=t.style;null!=r&&Object.keys(r).forEach(e=>{n[e]=r[e]})}(a,t),await h(a,n,r)}async function K(e,t={}){let{width:n,height:r}=c(e,t),a=await J(e,t),i=await u(a),l=document.createElement("canvas"),o=l.getContext("2d"),s=t.pixelRatio||function(){let e,t;try{t=process}catch(e){}let n=t&&t.env?t.env.devicePixelRatio:null;return n&&Number.isNaN(e=parseInt(n,10))&&(e=1),e||window.devicePixelRatio||1}(),h=t.canvasWidth||n,d=t.canvasHeight||r;return l.width=h*s,l.height=d*s,!t.skipAutoScale&&(l.width>16384||l.height>16384)&&(l.width>16384&&l.height>16384?l.width>l.height?(l.height*=16384/l.width,l.width=16384):(l.width*=16384/l.height,l.height=16384):l.width>16384?(l.height*=16384/l.width,l.width=16384):(l.width*=16384/l.height,l.height=16384)),l.style.width=`${h}`,l.style.height=`${d}`,t.backgroundColor&&(o.fillStyle=t.backgroundColor,o.fillRect(0,0,l.width,l.height)),o.drawImage(i,0,0,l.width,l.height),l}async function ee(e,t={}){return(await K(e,t)).toDataURL()}},5557:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("BookOpenCheck",[["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m16 12 2 2 4-4",key:"mdajum"}],["path",{d:"M22 6V4a1 1 0 0 0-1-1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h6a3 3 0 0 1 3 3 3 3 0 0 1 3-3h6a1 1 0 0 0 1-1v-1.3",key:"8arnkb"}]])},8420:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},6215:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},2135:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},9322:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},1723:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},9202:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},8997:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]])},2062:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]])},2096:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]])},3276:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},8520:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("ShieldQuestion",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},100:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("SquareSplitHorizontal",[["path",{d:"M8 19H5c-1 0-2-1-2-2V7c0-1 1-2 2-2h3",key:"lubmu8"}],["path",{d:"M16 5h3c1 0 2 1 2 2v10c0 1-1 2-2 2h-3",key:"1ag34g"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]])},3927:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Table2",[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]])},2720:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]])},5805:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(9205).Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[862],{2660:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},6858:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},1769:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},4972:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]])},3581:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]])},401:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},9322:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},2934:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},5368:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},3953:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Combine",[["path",{d:"M10 18H5a3 3 0 0 1-3-3v-1",key:"ru65g8"}],["path",{d:"M14 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"e30een"}],["path",{d:"M20 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"2ahx8o"}],["path",{d:"m7 21 3-3-3-3",key:"127cv2"}],["rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",key:"1b0bso"}],["rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",key:"1x09vl"}]])},91:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},2735:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},6362:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},7342:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("FileJson",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]])},8872:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("FileOutput",[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 7V4a2 2 0 0 1 2-2 2 2 0 0 0-2 2",key:"1vk7w2"}],["path",{d:"M4.063 20.999a2 2 0 0 0 2 1L18 22a2 2 0 0 0 2-2V7l-5-5H6",key:"1jink5"}],["path",{d:"m5 11-3 3",key:"1dgrs4"}],["path",{d:"m5 17-3-3h10",key:"1mvvaf"}]])},1649:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("FileSpreadsheet",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]])},9857:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("FileType",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 13v-1h6v1",key:"1bb014"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M11 18h2",key:"12mj7e"}]])},5751:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("FilterX",[["path",{d:"M13.013 3H2l8 9.46V19l4 2v-8.54l.9-1.055",key:"1fi1da"}],["path",{d:"m22 3-5 5",key:"12jva0"}],["path",{d:"m17 3 5 5",key:"k36vhe"}]])},5621:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]])},3245:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},8124:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]])},1817:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},6337:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},9076:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},8920:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("ScrollText",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]])},2023:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},6595:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},8930:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},6865:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},7689:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]])},2489:function(t,e,a){a.d(e,{Z:function(){return n}});let n=(0,a(9205).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[409],{7589:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return n(3634)}])},3634:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}}),n(7043);let i=n(7437);n(2265);let o={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},l={display:"inline-block"},r={display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},d={fontSize:14,fontWeight:400,lineHeight:"49px",margin:0};function s(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("title",{children:"404: This page could not be found."}),(0,i.jsx)("div",{style:o,children:(0,i.jsxs)("div",{children:[(0,i.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,i.jsx)("h1",{className:"next-error-h1",style:r,children:"404"}),(0,i.jsx)("div",{style:l,children:(0,i.jsx)("h2",{style:d,children:"This page could not be found."})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},function(e){e.O(0,[971,117,744],function(){return e(e.s=7589)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{4430:function(e,t,n){Promise.resolve().then(n.t.bind(n,7960,23)),Promise.resolve().then(n.bind(n,7002)),Promise.resolve().then(n.bind(n,5499)),Promise.resolve().then(n.bind(n,1514)),Promise.resolve().then(n.bind(n,3554))},5499:function(e,t,n){"use strict";n.d(t,{DialogProvider:function(){return g},N:function(){return f},p:function(){return h}});var i=n(7437),r=n(2265),s=n(4887),l=n(6865),o=n(5368),a=n(2489),c=n(2934),d=n(3245),u=n(3554),m=n(4502);let x=(0,r.createContext)(null);function f(){let e=(0,r.useContext)(x);if(!e)throw Error("useConfirm must be used within <DialogProvider>");return e.confirm}function h(){let e=(0,r.useContext)(x);if(!e)throw Error("useToast must be used within <DialogProvider>");return e.toast}function g(e){let{children:t}=e,[n,l]=(0,r.useState)(!1),[o,a]=(0,r.useState)(null),[c,d]=(0,r.useState)([]),u=(0,r.useRef)(0);(0,r.useEffect)(()=>l(!0),[]);let m=(0,r.useCallback)(e=>new Promise(t=>a({...e,resolve:t})),[]),f=(0,r.useCallback)(e=>{a(t=>(null==t||t.resolve(e),null))},[]),h=(0,r.useCallback)((e,t)=>{var n,i;let r=++u.current,s=null!==(n=null==t?void 0:t.tone)&&void 0!==n?n:"info";d(n=>[...n,{id:r,message:e,title:null==t?void 0:t.title,tone:s}]),setTimeout(()=>d(e=>e.filter(e=>e.id!==r)),null!==(i=null==t?void 0:t.duration)&&void 0!==i?i:"danger"===s?7e3:4500)},[]),g=(0,r.useCallback)(e=>{d(t=>t.filter(t=>t.id!==e))},[]);return(0,i.jsxs)(x.Provider,{value:{confirm:m,toast:h},children:[t,n&&o&&(0,s.createPortal)((0,i.jsx)(b,{state:o,onClose:f}),document.body),n&&(0,s.createPortal)((0,i.jsx)(v,{toasts:c,onDismiss:g}),document.body)]})}function b(e){var t,n,s;let{state:c,onClose:d}=e,x=(0,u.NT)(),f="danger"===c.tone;(0,r.useEffect)(()=>{let e=e=>{"Escape"===e.key&&d(!1),"Enter"===e.key&&d(!0)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[d]);let h=null!==(t=c.title)&&void 0!==t?t:x("common.confirmTitle"),g=null!==(n=c.cancelLabel)&&void 0!==n?n:x("common.cancel"),b=null!==(s=c.confirmLabel)&&void 0!==s?s:x(f?"common.delete":"common.confirm");return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"fixed inset-0 bg-ink/40 backdrop-blur-sm z-[80]",onClick:()=>d(!1)}),(0,i.jsx)("div",{className:"fixed inset-0 z-[90] flex items-center justify-center p-4 pointer-events-none",children:(0,i.jsxs)("div",{role:"dialog","aria-modal":"true",className:"bg-white rounded-2xl shadow-2xl w-full max-w-md overflow-hidden pointer-events-auto animate-in",children:[(0,i.jsxs)("div",{className:(0,m.cn)("px-5 py-3.5 border-b flex items-center gap-2.5",f?"bg-danger-soft/50 border-danger/20":"bg-brand-50/60 border-brand-100"),children:[(0,i.jsx)("span",{className:(0,m.cn)("w-8 h-8 rounded-full flex items-center justify-center flex-shrink-0",f?"bg-danger-soft text-danger":"bg-brand-100 text-brand-600"),children:f?(0,i.jsx)(l.Z,{className:"h-4 w-4"}):(0,i.jsx)(o.Z,{className:"h-4 w-4"})}),(0,i.jsx)("h3",{className:"font-semibold text-sm text-ink flex-1",children:h}),(0,i.jsx)("button",{onClick:()=>d(!1),className:"text-muted hover:text-ink p-1 rounded",children:(0,i.jsx)(a.Z,{className:"h-4 w-4"})})]}),(0,i.jsxs)("div",{className:"px-5 py-4 space-y-2",children:[(0,i.jsx)("p",{className:"text-sm text-ink whitespace-pre-line leading-relaxed",children:c.message}),c.detail&&(0,i.jsx)("p",{className:"text-xs text-muted whitespace-pre-line bg-bg-soft rounded-lg px-3 py-2",children:c.detail})]}),(0,i.jsxs)("div",{className:"px-5 py-3 bg-bg-soft/40 border-t border-border flex items-center justify-end gap-2",children:[(0,i.jsx)("button",{onClick:()=>d(!1),className:"px-4 py-2 rounded-lg text-sm font-medium text-muted hover:text-ink hover:bg-bg-soft transition",children:g}),(0,i.jsx)("button",{autoFocus:!0,onClick:()=>d(!0),className:(0,m.cn)("px-4 py-2 rounded-lg text-sm font-semibold text-white shadow-soft transition",f?"bg-danger hover:bg-red-600":"bg-brand-500 hover:bg-brand-600"),children:b})]})]})})]})}let p={success:{icon:(0,i.jsx)(c.Z,{className:"h-4 w-4"}),ring:"border-success/30",iconColor:"text-emerald-600"},danger:{icon:(0,i.jsx)(l.Z,{className:"h-4 w-4"}),ring:"border-danger/30",iconColor:"text-danger"},warning:{icon:(0,i.jsx)(l.Z,{className:"h-4 w-4"}),ring:"border-warning/40",iconColor:"text-warning"},info:{icon:(0,i.jsx)(d.Z,{className:"h-4 w-4"}),ring:"border-info/30",iconColor:"text-blue-600"}};function v(e){let{toasts:t,onDismiss:n}=e;return 0===t.length?null:(0,i.jsx)("div",{className:"fixed top-4 right-4 z-[100] flex flex-col gap-2 w-[min(92vw,22rem)] pointer-events-none",children:t.map(e=>{let t=p[e.tone];return(0,i.jsxs)("div",{className:(0,m.cn)("pointer-events-auto bg-white rounded-xl border shadow-card px-3.5 py-2.5 flex items-start gap-2.5 animate-in",t.ring),children:[(0,i.jsx)("span",{className:(0,m.cn)("mt-0.5 flex-shrink-0",t.iconColor),children:t.icon}),(0,i.jsxs)("div",{className:"flex-1 min-w-0",children:[e.title&&(0,i.jsx)("div",{className:"text-sm font-semibold text-ink",children:e.title}),(0,i.jsx)("div",{className:"text-xs text-muted whitespace-pre-line break-words leading-relaxed",children:e.message})]}),(0,i.jsx)("button",{onClick:()=>n(e.id),className:"text-muted/60 hover:text-ink p-0.5 flex-shrink-0",children:(0,i.jsx)(a.Z,{className:"h-3.5 w-3.5"})})]},e.id)})})}},1514:function(e,t,n){"use strict";n.d(t,{InitialLoadGate:function(){return a}});var i=n(7437),r=n(2265),s=n(9376);function l(e){let{label:t}=e;return(0,i.jsxs)("div",{role:"status","aria-live":"polite","aria-busy":"true",className:"fixed inset-0 z-[100] flex items-center justify-center bg-ink/20 backdrop-blur-sm p-4",children:[(0,i.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4 rounded-2xl bg-white px-10 py-8 shadow-2xl ring-1 ring-black/5",children:[(0,i.jsx)("img",{src:"/images/loader.gif",alt:"BibexPy",width:112,height:112,className:"h-24 w-24 select-none object-contain",draggable:!1}),t&&(0,i.jsx)("p",{className:"text-sm font-semibold tracking-wide text-slate-500",children:t})]}),(0,i.jsx)("span",{className:"sr-only",children:"Loading…"})]})}var o=n(4502);function a(){let e=(0,s.usePathname)(),[t,n]=(0,r.useState)("loading"),a=(0,r.useRef)(!0);return((0,r.useEffect)(()=>{n("loading"),performance.now();let e=a.current;a.current=!1;let t=!e||"complete"===document.readyState,i=!1,r=()=>{t&&i&&n(e=>"loading"===e?"fading":e)},s=()=>{t=!0,r()};t||window.addEventListener("load",s,{once:!0});let l=setTimeout(()=>{i=!0,r()},1e3),o=setTimeout(()=>n(e=>"loading"===e?"fading":e),12e3);return()=>{window.removeEventListener("load",s),clearTimeout(l),clearTimeout(o)}},[e]),"gone"===t)?null:(0,i.jsx)("div",{className:(0,o.cn)("transition-opacity duration-300","fading"===t?"pointer-events-none opacity-0":"opacity-100"),onTransitionEnd:()=>n(e=>"fading"===e?"gone":e),children:(0,i.jsx)(l,{})})}},2934:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});let i=(0,n(9205).Z)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},5368:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});let i=(0,n(9205).Z)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},3245:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});let i=(0,n(9205).Z)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},6865:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});let i=(0,n(9205).Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},2489:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});let i=(0,n(9205).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},7960:function(){}},function(e){e.O(0,[587,156,244,2,971,117,744],function(){return e(e.s=4430)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{2577:function(e,t,a){Promise.resolve().then(a.bind(a,7100))},7100:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return Z}});var l=a(7437),s=a(7648),r=a(2265),n=a(5135),i=a(4767),o=a(2351),c=a(7760),x=a(9202),h=a(9345),d=a(2051),p=a(9525),m=a(8728),b=a(9934),u=a(6362),f=a(2023),g=a(4656),v=a(401),j=a(8867),w=a(4502);function y(e){let{src:t,alt:a,className:s,fallback:n,imgProps:i}=e,[o,c]=(0,r.useState)(!1);return o?(0,l.jsx)(l.Fragment,{children:n}):(0,l.jsx)("img",{src:t,alt:a,onError:()=>c(!0),className:(0,w.cn)("block",s),...i})}var N=a(7002),_=a(3554);let k=[{href:"https://github.com/bcankara/BibexPy",icon:(0,l.jsx)(n.Z,{className:"h-4 w-4"}),label:"GitHub"},{href:"https://www.youtube.com/@BibexPy",icon:(0,l.jsx)(i.Z,{className:"h-4 w-4"}),label:"YouTube"},{href:"https://twitter.com/BibexPy",icon:(0,l.jsx)(o.Z,{className:"h-4 w-4"}),label:"X (Twitter)"},{href:"https://www.instagram.com/bibexpy/",icon:(0,l.jsx)(c.Z,{className:"h-4 w-4"}),label:"Instagram"},{href:"https://bibexpy.com",icon:(0,l.jsx)(x.Z,{className:"h-4 w-4"}),label:"bibexpy.com"},{href:"mailto:info@bibexpy.com",icon:(0,l.jsx)(h.Z,{className:"h-4 w-4"}),label:"info@bibexpy.com"}];function Z(){let{tArr:e,locale:t,setLocale:a}=(0,_.QT)(),s=e("home.authors");return(0,l.jsxs)("div",{className:"relative flex min-h-[100svh] w-full flex-col justify-center overflow-hidden bg-[#f7f9fc] text-ink",children:[(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-[0.5] [background-image:linear-gradient(to_right,#dbe3ee_1px,transparent_1px),linear-gradient(to_bottom,#dbe3ee_1px,transparent_1px)] [background-size:42px_42px] [mask-image:radial-gradient(ellipse_at_center,black_25%,transparent_72%)]"}),(0,l.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-10 h-72 w-72 -translate-x-1/2 rounded-full bg-cyan-300/25 blur-3xl"}),(0,l.jsxs)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 z-0 select-none overflow-hidden",children:[(0,l.jsx)("span",{className:"absolute left-[3%] top-[10%] -rotate-12 text-7xl font-black text-violet-900/[0.045]",children:"Helium"}),(0,l.jsx)("span",{className:"absolute right-[4%] top-[18%] rotate-6 text-8xl font-black text-violet-900/[0.04]",children:"He"}),(0,l.jsx)("span",{className:"absolute left-[7%] bottom-[12%] rotate-3 text-6xl font-black text-violet-900/[0.05]",children:"He"}),(0,l.jsx)("span",{className:"absolute right-[5%] bottom-[9%] -rotate-6 text-7xl font-black text-violet-900/[0.04]",children:"Helium"}),(0,l.jsx)("span",{className:"absolute left-[26%] top-[3%] text-5xl font-black text-violet-900/[0.035]",children:"He"}),(0,l.jsx)("span",{className:"absolute right-[24%] bottom-[3%] text-5xl font-black text-violet-900/[0.035]",children:"Helium"})]}),(0,l.jsx)("div",{className:"absolute right-4 top-4 z-20 sm:right-6 sm:top-6",children:(0,l.jsx)("div",{className:"inline-flex items-center gap-1 rounded-full border border-slate-200 bg-white/85 p-1 shadow-[0_8px_24px_-16px_rgba(15,23,42,0.5)] backdrop-blur",children:["en","tr"].map(e=>(0,l.jsx)("button",{type:"button",onClick:()=>a(e),"aria-label":"en"===e?"English":"T\xfcrk\xe7e",title:"en"===e?"English":"T\xfcrk\xe7e",className:(0,w.cn)("flex h-7 w-9 items-center justify-center overflow-hidden rounded-full ring-1 transition",t===e?"ring-cyan-500 shadow-[0_4px_12px_-6px_rgba(12,40,71,0.6)]":"ring-transparent opacity-55 hover:opacity-100"),children:(0,l.jsx)(N.C,{code:e})},e))})}),(0,l.jsxs)("div",{className:"relative z-10 mx-auto w-full max-w-5xl px-6 py-8",children:[(0,l.jsx)(T,{}),(0,l.jsx)(C,{authors:s})]})]})}function T(){let e=(0,_.NT)(),t=[{href:"/projects",icon:(0,l.jsx)(d.Z,{className:"h-6 w-6"}),label:e("nav.projects"),primary:!0},{href:"/tools",icon:(0,l.jsx)(p.Z,{className:"h-6 w-6"}),label:e("nav.tools"),primary:!0},{href:"/settings",icon:(0,l.jsx)(m.Z,{className:"h-6 w-6"}),label:e("nav.settings")},{href:"https://bibexpy.com/doc/",icon:(0,l.jsx)(b.Z,{className:"h-6 w-6"}),label:e("nav.help"),external:!0}];return(0,l.jsxs)("section",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("img",{src:"/images/bibexpy-logo-full.png",alt:"BibexPy — V2.0.0 Helium — Bibliometrics Experience with Python",draggable:!1,className:"h-auto w-[clamp(280px,40vw,440px)] select-none drop-shadow-[0_20px_50px_rgba(12,40,71,0.16)]"}),(0,l.jsx)("h1",{className:"mt-5 max-w-xl text-balance text-xl font-black leading-tight tracking-tight text-slate-950 sm:text-2xl",children:e("home.heroTitle")}),(0,l.jsx)("nav",{className:"mt-7 grid w-full max-w-2xl grid-cols-2 gap-3 sm:grid-cols-4",children:t.map(e=>(0,l.jsx)(z,{...e},e.label))})]})}function z(e){let{href:t,icon:a,label:r,external:n,primary:i}=e,o=(0,l.jsxs)("div",{className:(0,w.cn)("group relative flex aspect-square flex-col items-center justify-center gap-2.5 rounded-[1.3rem] border bg-white p-3 text-center","shadow-[0_18px_50px_-40px_rgba(15,23,42,0.6)] transition duration-200","hover:-translate-y-1.5 hover:shadow-[0_28px_60px_-32px_rgba(12,40,71,0.5)]",i?"border-cyan-200 hover:border-cyan-400":"border-slate-200 hover:border-cyan-300"),children:[(0,l.jsx)("span",{className:(0,w.cn)("flex h-12 w-12 items-center justify-center rounded-2xl transition",i?"bg-cyan-600 text-white shadow-[0_12px_28px_-14px_rgba(12,40,71,0.7)] group-hover:bg-cyan-500":"bg-[#0c2847] text-cyan-200 group-hover:bg-[#173553] group-hover:text-cyan-100"),children:a}),(0,l.jsxs)("span",{className:"inline-flex items-center gap-1 text-[13px] font-black text-slate-800 group-hover:text-slate-950",children:[r,n&&(0,l.jsx)(u.Z,{className:"h-3 w-3 text-slate-400"})]})]});return n?(0,l.jsx)("a",{href:t,target:"_blank",rel:"noreferrer",children:o}):(0,l.jsx)(s.default,{href:t,children:o})}function C(e){let{authors:t}=e,a=(0,_.NT)(),[s,n]=(0,r.useState)(!1);async function i(){try{await navigator.clipboard.writeText("@article{bibexpy2025,\n title = {BibexPy: Harmonizing the bibliometric symphony of {Scopus} and {Web of Science}},\n author = {Kara, Burak Can and {\\c{S}}ahin, Alperen and Dirsehan, Ta{\\c{s}}k{\\i}n},\n journal = {SoftwareX},\n volume = {30},\n pages = {102098},\n year = {2025},\n publisher = {Elsevier},\n doi = {10.1016/j.softx.2025.102098}\n}"),n(!0),setTimeout(()=>n(!1),1800)}catch(e){}}return(0,l.jsx)("section",{className:"relative z-10 mt-8",children:(0,l.jsx)("div",{className:"overflow-hidden rounded-[1.7rem] bg-white shadow-[0_44px_120px_-60px_rgba(12,40,71,0.5)] ring-1 ring-slate-900/10",children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-[1.55fr_1fr]",children:[(0,l.jsxs)("div",{className:"p-5 md:p-6",children:[(0,l.jsxs)("div",{className:"mb-4 inline-flex h-7 items-center gap-1.5 rounded-full bg-cyan-50 px-3 text-[11px] font-black uppercase tracking-[0.12em] text-cyan-700 ring-1 ring-cyan-200/70",children:[(0,l.jsx)(f.Z,{className:"h-3.5 w-3.5"})," ",a("home.authorsTitle")]}),(0,l.jsx)("div",{className:"grid gap-3 sm:grid-cols-3",children:t.map(e=>{let[t,a,s,r]=e.split("|");return(0,l.jsx)(H,{name:t,affiliation:a,orcid:s,photoSlug:r},t)})})]}),(0,l.jsxs)("div",{className:"relative flex flex-col overflow-hidden bg-[#0c2847] p-5 text-white md:p-6",children:[(0,l.jsx)("div",{className:"pointer-events-none absolute -right-16 -top-16 h-44 w-44 rounded-full bg-cyan-500/25 blur-3xl"}),(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-[0.22] [background-image:linear-gradient(to_right,#202a4a_1px,transparent_1px),linear-gradient(to_bottom,#202a4a_1px,transparent_1px)] [background-size:28px_28px]"}),(0,l.jsxs)("div",{className:"relative flex h-full flex-col",children:[(0,l.jsxs)("div",{className:"mb-2.5 flex items-center gap-2.5",children:[(0,l.jsx)("span",{className:"flex h-8 w-8 items-center justify-center rounded-xl bg-cyan-500/15 text-cyan-200 ring-1 ring-cyan-300/30",children:(0,l.jsx)(g.Z,{className:"h-4 w-4"})}),(0,l.jsx)("h2",{className:"text-base font-black tracking-tight",children:a("home.citationTitle")})]}),(0,l.jsx)("blockquote",{className:"rounded-2xl border border-white/10 bg-white/[0.05] p-3 text-[12px] leading-6 text-white/75",children:a("home.citationApa")}),(0,l.jsxs)("div",{className:"mt-3 flex flex-wrap gap-2",children:[(0,l.jsxs)("a",{href:"https://doi.org/10.1016/j.softx.2025.102098",target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-2 rounded-xl bg-teal-600 px-3 py-1.5 text-xs font-black text-white transition hover:-translate-y-0.5 hover:bg-teal-500",children:[(0,l.jsx)(u.Z,{className:"h-3.5 w-3.5"}),a("home.citationOpenPaper")]}),(0,l.jsxs)("button",{onClick:i,className:"inline-flex items-center gap-2 rounded-xl border border-violet-400/40 bg-violet-900 px-3 py-1.5 text-xs font-bold text-white transition hover:border-violet-300/60 hover:bg-violet-950",children:[s?(0,l.jsx)(v.Z,{className:"h-3.5 w-3.5 text-teal-300"}):(0,l.jsx)(j.Z,{className:"h-3.5 w-3.5"}),a(s?"home.citationCopied":"home.citationCopyBib")]})]}),(0,l.jsx)("div",{className:"mt-auto pt-4",children:(0,l.jsx)("div",{className:"flex flex-wrap items-center gap-2 border-t border-white/10 pt-3",children:k.map(e=>(0,l.jsx)("a",{href:e.href,target:"_blank",rel:"noreferrer",title:e.label,"aria-label":e.label,className:"flex h-8 w-8 items-center justify-center rounded-lg border border-white/10 bg-white/[0.06] text-white/70 transition hover:-translate-y-0.5 hover:border-cyan-300/40 hover:bg-cyan-500/15 hover:text-cyan-200",children:e.icon},e.label))})})]})]})]})})})}function H(e){let{name:t,affiliation:a,orcid:s,photoSlug:r}=e,n=t.replace(/,?\s*ph\.?d\.?$/i,"").trim().split(/\s+/).map(e=>e[0]).slice(0,2).join("").toUpperCase(),i=s?"https://orcid.org/".concat(s):void 0;return(0,l.jsxs)("article",{className:"flex h-full flex-col rounded-2xl border border-slate-200 bg-slate-50/70 p-3 text-center transition hover:border-cyan-300/60 hover:bg-white hover:shadow-[0_18px_44px_-30px_rgba(12,40,71,0.5)]",children:[(0,l.jsxs)("div",{className:"flex flex-1 flex-col",children:[(0,l.jsx)("div",{className:"mx-auto mb-2.5 h-16 w-16 overflow-hidden rounded-2xl bg-[#0c2847] shadow-sm ring-1 ring-slate-900/10",children:r?(0,l.jsx)(y,{src:"/images/authors/".concat(r,".jpg"),alt:t,className:"h-full w-full object-cover",fallback:(0,l.jsx)("div",{className:"flex h-full w-full items-center justify-center text-lg font-black text-white",children:n})}):(0,l.jsx)("div",{className:"flex h-full w-full items-center justify-center text-lg font-black text-white",children:n})}),(0,l.jsx)("h3",{className:"text-[13px] font-black leading-tight text-slate-950",children:t}),(0,l.jsx)("p",{className:"mt-1 text-[10.5px] leading-4 text-slate-500",children:a})]}),i&&(0,l.jsxs)("a",{href:i,target:"_blank",rel:"noreferrer",className:"mt-3 inline-flex min-h-9 w-full items-center justify-center gap-1.5 rounded-xl border border-slate-200 bg-white px-2 py-1.5 font-mono text-[9px] font-bold leading-none text-cyan-700 transition hover:border-cyan-300 hover:text-cyan-900",children:[(0,l.jsx)(u.Z,{className:"h-3.5 w-3.5"}),(0,l.jsxs)("span",{className:"whitespace-nowrap",children:["ORCID ",s]})]})]})}},401:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});let l=(0,a(9205).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},8867:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});let l=(0,a(9205).Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},4656:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});let l=(0,a(9205).Z)("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]])},2023:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});let l=(0,a(9205).Z)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])}},function(e){e.O(0,[156,244,2,971,117,744],function(){return e(e.s=2577)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[311],{5553:function(e,n,t){Promise.resolve().then(t.bind(t,6889))},6889:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return s}});var u=t(2265),r=t(9376),o=t(1348);function s(){let e=(0,o.v)(),n=(0,r.useRouter)();return(0,u.useEffect)(()=>{e&&"_"!==e&&n.replace("/projects/".concat(e,"/merge"))},[e,n]),null}},1348:function(e,n,t){"use strict";t.d(n,{v:function(){return r}});var u=t(9376);function r(){let e=(0,u.useParams)(),n=null==e?void 0:e.id;if(n&&"_"!==n)return decodeURIComponent(n);{let e=window.location.pathname.match(/\/projects\/([^/]+)/);if(e&&e[1]&&"_"!==e[1])return decodeURIComponent(e[1])}return null!=n?n:"_"}},9376:function(e,n,t){"use strict";var u=t(5475);t.o(u,"useParams")&&t.d(n,{useParams:function(){return u.useParams}}),t.o(u,"usePathname")&&t.d(n,{usePathname:function(){return u.usePathname}}),t.o(u,"useRouter")&&t.d(n,{useRouter:function(){return u.useRouter}})}},function(e){e.O(0,[971,117,744],function(){return e(e.s=5553)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39],{3366:function(e,n,t){Promise.resolve().then(t.bind(t,9939))},9939:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return s}});var u=t(2265),r=t(9376),o=t(1348);function s(){let e=(0,o.v)(),n=(0,r.useRouter)();return(0,u.useEffect)(()=>{e&&"_"!==e&&n.replace("/projects/".concat(e,"/enrich?tab=disambiguate"))},[e,n]),null}},1348:function(e,n,t){"use strict";t.d(n,{v:function(){return r}});var u=t(9376);function r(){let e=(0,u.useParams)(),n=null==e?void 0:e.id;if(n&&"_"!==n)return decodeURIComponent(n);{let e=window.location.pathname.match(/\/projects\/([^/]+)/);if(e&&e[1]&&"_"!==e[1])return decodeURIComponent(e[1])}return null!=n?n:"_"}},9376:function(e,n,t){"use strict";var u=t(5475);t.o(u,"useParams")&&t.d(n,{useParams:function(){return u.useParams}}),t.o(u,"usePathname")&&t.d(n,{usePathname:function(){return u.usePathname}}),t.o(u,"useRouter")&&t.d(n,{useRouter:function(){return u.useRouter}})}},function(e){e.O(0,[971,117,744],function(){return e(e.s=3366)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[809],{5841:function(e,t,s){Promise.resolve().then(s.bind(s,1676))},1676:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return er}});var a=s(7437),l=s(2265),r=s(2669),n=s(9835),i=s(7648),c=s(7855),d=s(4392),o=s(7523),x=s(8520),m=s(6865),u=s(2023),h=s(100),p=s(3953),f=s(3554),b=s(5499);function g(e){var t;let{projectId:s,kind:r="authors"}=e,n=(0,f.NT)(),g=(0,b.N)(),j=(0,b.p)(),[y,S]=(0,l.useState)(null),[_,k]=(0,l.useState)(null),[C,Z]=(0,l.useState)(null),[q,L]=(0,l.useState)(null),[T,A]=(0,l.useState)(new Set),[z,E]=(0,l.useState)(new Set),[M,F]=(0,l.useState)({}),[I,D]=(0,l.useState)(!1);function O(e){k(e),A(new Set((e.clusters||[]).filter(e=>e.members.length>=2||v(e,r).length>=2).filter(e=>"deterministic"===e.source).map(e=>e.cluster_id))),E(new Set((e.splits||[]).filter(e=>"deterministic"===e.source).map(e=>e.split_id))),F({})}async function R(){try{O(await c.hi.getProposals(s,r))}catch(e){L((0,c.NS)(n,e))}}async function H(){L(null),D(!0);try{let e="authors"===r?c.hi.startAuthorDisambiguation:"affiliations"===r?c.hi.startAffiliationDisambiguation:"countries"===r?c.hi.startCountryStandardization:c.hi.startOrgRollup,{job_id:t}=await e(s,"auto");Z(t)}catch(e){L((0,c.NS)(n,e,"disambiguate.startFailed"))}finally{D(!1)}}(0,l.useEffect)(()=>{c.hi.disambiguateStatus(s).then(S).catch(()=>{})},[s]),(0,l.useEffect)(()=>{let e=!0;return k(null),L(null),Z(null),A(new Set),E(new Set),F({}),c.hi.getProposals(s,r).then(t=>{e&&O(t)}).catch(t=>{e&&L((0,c.NS)(n,t))}),()=>{e=!1}},[r,s]);let B=("authors"===r?null==_?void 0:_.splits:[])||[],W=((null==_?void 0:_.clusters)||[]).filter(e=>e.members.length>=2||v(e,r).length>=2),J=T.size+z.size;async function P(){if(0!==J&&await g({message:n("disambiguate.applyConfirm",{n:J})})){D(!0),L(null);try{var e;let t=W.filter(e=>T.has(e.cluster_id)).map(e=>({cluster_id:e.cluster_id,canonical:function(e){let t=v(e,r);return M[e.cluster_id]||e.canonical_name||t[0]}(e)})),a=B.filter(e=>z.has(e.split_id)).map(e=>({split_id:e.split_id})),l=await c.hi.applyClusters(s,r,t,a);j(n("disambiguate.appliedMessage",{n:l.replacements,snapshot:null!==(e=l.snapshot)&&void 0!==e?e:"—"}),{tone:"success"}),await R()}catch(e){L((0,c.NS)(n,e,"disambiguate.applyFailed"))}finally{D(!1)}}}let U=n("disambiguate.subjects.".concat(r));return(0,a.jsxs)("div",{className:"space-y-5",children:[y&&y.configured&&(0,a.jsxs)("div",{className:"rounded-lg border border-info/30 bg-info-soft/50 px-4 py-2 text-xs text-blue-900 flex items-center gap-2",children:[(0,a.jsx)(x.Z,{className:"h-3.5 w-3.5 flex-shrink-0"}),(0,a.jsxs)("span",{children:[n("disambiguate.providerLabel"),": ",(0,a.jsx)("code",{className:"font-mono bg-white px-1 rounded",children:null!==(t=y.provider)&&void 0!==t?t:"?"})," \xb7 ",n("disambiguate.modelLabel"),": ",(0,a.jsx)("code",{className:"font-mono bg-white px-1 rounded",children:y.model})]}),(0,a.jsx)(i.default,{href:"/settings",className:"ml-auto text-brand-600 hover:underline whitespace-nowrap",children:n("disambiguate.changeLink")})]}),y&&!y.configured&&(0,a.jsxs)("div",{className:"rounded-lg border border-warning/40 bg-warning-soft px-4 py-2 text-sm text-amber-900 flex gap-2",children:[(0,a.jsx)(m.Z,{className:"h-4 w-4 mt-0.5"}),(0,a.jsxs)("div",{children:[n("disambiguate.llmNotConfigured")," ",(0,a.jsx)(i.default,{href:"/settings",className:"underline font-medium",children:n("disambiguate.settingsLink")}),n("disambiguate.settingsHintAfter")]})]}),q&&(0,a.jsx)("div",{className:"rounded-lg border border-danger/30 bg-danger-soft px-4 py-2 text-sm text-red-700",children:q}),(0,a.jsx)("p",{className:"text-xs text-muted",children:"authors"===r?n("disambiguate.scanHint"):n("disambiguate.scanHintStd",{subject:U})}),(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsxs)(d.z,{onClick:H,disabled:I||!!C,size:"sm",children:[(0,a.jsx)(u.Z,{className:"h-4 w-4"})," ",n("disambiguate.scan")]}),(0,a.jsx)(d.z,{onClick:R,variant:"secondary",size:"sm",children:n("common.refresh")}),J>0&&(0,a.jsx)(d.z,{onClick:P,disabled:I,variant:"success",size:"sm",className:"ml-auto",children:n("disambiguate.approveApply",{n:J})})]}),C&&(0,a.jsx)(o.D,{jobId:C,onComplete:()=>{R(),Z(null)},onClose:()=>Z(null)}),"authors"===r&&(0,a.jsxs)("section",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(h.Z,{className:"h-4 w-4 text-brand-600"}),(0,a.jsx)("h3",{className:"font-semibold text-sm",children:n("disambiguate.splitHeader")}),(0,a.jsxs)("span",{className:"text-xs text-muted",children:["(",B.length,")"]}),B.length>0&&(0,a.jsx)("button",{onClick:()=>{E(B.every(e=>z.has(e.split_id))?new Set:new Set(B.map(e=>e.split_id)))},className:"ml-auto text-[11px] font-medium text-brand-600 hover:text-brand-700 hover:underline",children:B.every(e=>z.has(e.split_id))?n("disambiguate.clearAll"):n("disambiguate.selectAll")})]}),(0,a.jsx)("p",{className:"text-[11px] text-muted",children:n("disambiguate.splitDesc")}),0===B.length?(0,a.jsx)("p",{className:"text-xs text-muted py-2",children:n("disambiguate.noSplits")}):B.map(e=>(0,a.jsx)(N,{split:e,approved:z.has(e.split_id),onToggle:()=>{let t=new Set(z);t.has(e.split_id)?t.delete(e.split_id):t.add(e.split_id),E(t)}},e.split_id))]}),(0,a.jsxs)("section",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(p.Z,{className:"h-4 w-4 text-brand-600"}),(0,a.jsx)("h3",{className:"font-semibold text-sm",children:n("disambiguate.mergeHeader",{subject:U})}),(0,a.jsxs)("span",{className:"text-xs text-muted",children:["(",W.length,")"]}),W.length>0&&(0,a.jsx)("button",{onClick:()=>{A(W.every(e=>T.has(e.cluster_id))?new Set:new Set(W.map(e=>e.cluster_id)))},className:"ml-auto text-[11px] font-medium text-brand-600 hover:text-brand-700 hover:underline",children:W.every(e=>T.has(e.cluster_id))?n("disambiguate.clearAll"):n("disambiguate.selectAll")})]}),(0,a.jsx)("p",{className:"text-[11px] text-muted",children:n("disambiguate.mergeDesc",{subject:U})}),0===W.length?(0,a.jsx)("p",{className:"text-xs text-muted py-2",children:n("disambiguate.noMerges")}):W.map((e,t)=>(0,a.jsx)(w,{cluster:e,kind:r,approved:T.has(e.cluster_id),canonical:M[e.cluster_id],onToggle:()=>{let t=new Set(T);t.has(e.cluster_id)?t.delete(e.cluster_id):t.add(e.cluster_id),A(t)},onCanonical:t=>F({...M,[e.cluster_id]:t})},"".concat(e.cluster_id,"-").concat(t)))]})]})}function j(e){let{tier:t,source:s}=e,l=(0,f.NT)(),r=1===t||"deterministic"===s;return(0,a.jsx)("span",{className:"text-[10px] px-1.5 py-0.5 rounded-full font-medium ".concat(r?"bg-success-soft text-emerald-700":"bg-warning-soft text-amber-700"),children:l(r?"disambiguate.autoBadge":"disambiguate.reviewBadge")})}function N(e){let{split:t,approved:s,onToggle:l}=e,r=(0,f.NT)();return(0,a.jsx)(n.Zb,{className:s?"ring-2 ring-brand-500":"",children:(0,a.jsx)(n.eW,{children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("input",{type:"checkbox",checked:s,onChange:l,className:"mt-1 h-4 w-4 accent-brand-500"}),(0,a.jsxs)("div",{className:"flex-1 min-w-0 space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsx)("span",{className:"font-semibold text-sm",children:t.name}),(0,a.jsx)(j,{tier:t.tier,source:t.source})]}),(0,a.jsx)("div",{className:"space-y-1",children:t.groups.map((e,s)=>(0,a.jsxs)("div",{className:"flex items-center gap-2 text-xs",children:[(0,a.jsx)("span",{className:"font-mono font-semibold text-brand-700 min-w-[5.5rem]",children:e.suffix?"".concat(t.name," ").concat(e.suffix):"".concat(t.name)}),!e.suffix&&(0,a.jsxs)("span",{className:"text-[10px] text-muted",children:["(",r("disambiguate.plainStays"),")"]}),(0,a.jsxs)("span",{className:"text-muted truncate",children:[e.fields.slice(0,4).join(", "),e.fields.length>4?"…":"",(0,a.jsxs)("span",{className:"opacity-60",children:[" \xb7 ",e.records.length," ",r("common.records")]})]})]},s))}),(0,a.jsx)("p",{className:"text-[11px] text-muted",children:t.reason})]})]})})})}function v(e,t){let s=[];for(let l of e.members){var a;let e=null!==(a="authors"===t?l.name_variants:l.variants)&&void 0!==a?a:[];e.length?s.push(...e):l.id&&s.push(l.id)}return[...new Set(s)]}function w(e){let{cluster:t,kind:s,approved:l,canonical:r,onToggle:i,onCanonical:c}=e,d=(0,f.NT)(),o=v(t,s),x=r||t.canonical_name||o[0]||"";return(0,a.jsx)(n.Zb,{className:l?"ring-2 ring-brand-500":"",children:(0,a.jsx)(n.eW,{children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("input",{type:"checkbox",checked:l,onChange:i,className:"mt-1 h-4 w-4 accent-brand-500"}),(0,a.jsxs)("div",{className:"flex-1 min-w-0 space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsx)(j,{tier:t.tier,source:t.source}),"deterministic"!==t.source&&(0,a.jsxs)("span",{className:"text-xs px-2 py-0.5 rounded-full bg-bg-soft text-muted",children:[(100*t.confidence).toFixed(0),"% ",d("disambiguate.confidenceLabel")]}),t.country&&(0,a.jsx)("span",{className:"text-xs text-muted",children:t.country})]}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-1",children:[o.slice(0,12).map(e=>(0,a.jsx)("span",{className:"text-xs px-2 py-0.5 rounded bg-bg-soft border border-border",children:e},e)),o.length>12&&(0,a.jsxs)("span",{className:"text-xs text-muted",children:["+",o.length-12]})]}),(0,a.jsx)("p",{className:"text-[11px] text-muted",children:t.reason}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("label",{className:"text-[11px] text-muted",children:d("disambiguate.canonicalLabel")}),(0,a.jsx)("input",{value:x,onChange:e=>c(e.target.value),className:"flex-1 rounded-md border border-border bg-white px-2 py-1 text-xs"})]})]})]})})})}var y=s(8997),S=s(1817),_=s(2934),k=s(9322),C=s(2489),Z=s(3276),q=s(8736),L=s(6215),T=s(3927),A=s(2735),z=s(3732),E=s(4502);function M(e){var t,s,r,i,d,o,x,m;let{projectId:h,onChanged:p}=e,g=(0,f.NT)(),j=(0,b.N)(),[N,v]=(0,l.useState)(null),[w,T]=(0,l.useState)(!0),[A,z]=(0,l.useState)(!0),[M,D]=(0,l.useState)(null),[B,W]=(0,l.useState)(null),J=(0,l.useRef)(null),P=(0,l.useCallback)(async()=>{try{v(await c.hi.qualityStats(h))}catch(e){}},[h]);(0,l.useEffect)(()=>{let e=!0;return T(!0),c.hi.qualityStats(h).then(t=>{e&&(v(t),T(!1))}).catch(()=>{e&&T(!1)}),c.hi.lastFillReport(h).then(t=>{e&&W(t.report)}).catch(()=>{}),()=>{e=!1,J.current&&(J.current.close(),J.current=null)}},[h]);let U=!!M&&("running"===M.status||"queued"===M.status);async function G(){if(!U&&N&&await j({title:g("records.quality.startAllTitle"),message:g("records.quality.startAllConfirm",{n:ee}),detail:g("records.quality.startAllFreeNote"),confirmLabel:g("records.quality.startAll")}))try{let{job_id:e}=await c.hi.startFillAll(h);D({jobId:e,progress:0,status:"queued",log_tail:[]});let t=new EventSource(c.hi.jobStreamUrl(e));J.current=t,t.addEventListener("update",s=>{if(s.data)try{let a=JSON.parse(s.data);D({jobId:e,progress:a.progress,status:a.status,log_tail:a.log_tail,result:a.result}),("completed"===a.status||"failed"===a.status||"cancelled"===a.status)&&(t.close(),J.current=null,P(),null==p||p(),"completed"===a.status?(c.hi.lastFillReport(h).then(e=>W(e.report)).catch(()=>{}),D(null)):setTimeout(()=>D(null),4e3))}catch(e){}}),t.addEventListener("done",()=>{t.close(),J.current=null}),t.onerror=()=>{t.close(),J.current=null,D(e=>e&&("running"===e.status||"queued"===e.status)?{...e,status:"failed"}:e),P()}}catch(e){}}async function Q(){if(M)try{await c.hi.cancelJob(M.jobId)}catch(e){}}if(w)return(0,a.jsx)(n.Zb,{children:(0,a.jsx)(n.eW,{className:"text-center py-8 text-muted text-sm",children:g("records.quality.loadingQuality")})});if(!N)return null;let X=Math.round(100*N.health_score),Y=X>=90?"text-emerald-300":X>=70?"text-amber-300":"text-red-300",V=N.fields.filter(e=>e.available&&e.fill_rate>=.9),K=N.fields.filter(e=>e.available&&e.fill_rate>=.5&&e.fill_rate<.9),$=N.fields.filter(e=>e.available&&e.fill_rate<.5),ee=N.fields.filter(e=>e.available&&e.missing>0).length,et=Math.round((null!==(r=null==M?void 0:M.progress)&&void 0!==r?r:0)*100),es=M&&M.log_tail.length>0?M.log_tail[M.log_tail.length-1]:"";return(0,a.jsxs)(n.Zb,{children:[(0,a.jsxs)(n.Ol,{children:[(0,a.jsx)(y.Z,{className:(0,E.cn)("h-4 w-4",Y)}),(0,a.jsx)("h2",{className:"font-semibold text-sm flex-1",children:g("records.quality.title")}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)("span",{className:(0,E.cn)("text-xs font-semibold tabular-nums",Y),title:g("records.quality.healthScoreHint"),children:[g("records.quality.healthScore")," ",X,"%"]}),(0,a.jsx)("button",{onClick:()=>z(!A),className:"text-xs text-white/70 hover:text-white",children:A?g("common.close").toLowerCase():g("common.open").toLowerCase()})]})]}),A&&(0,a.jsxs)(n.eW,{className:"space-y-4",children:[(U||!B)&&(0,a.jsxs)("div",{className:(0,E.cn)("rounded-xl p-4 text-white shadow-lg ring-1 transition",(null==M?void 0:M.status)==="failed"?"bg-gradient-to-r from-rose-500 to-red-600 ring-red-300/40":"bg-gradient-to-r from-cyan-500 to-brand-600 ring-cyan-300/40"),children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("div",{className:"w-12 h-12 rounded-xl bg-white/15 flex items-center justify-center flex-shrink-0",children:U?(0,a.jsx)(S.Z,{className:"h-6 w-6 animate-spin"}):(null==M?void 0:M.status)==="completed"?(0,a.jsx)(_.Z,{className:"h-6 w-6"}):(null==M?void 0:M.status)==="failed"?(0,a.jsx)(k.Z,{className:"h-6 w-6"}):(0,a.jsx)(u.Z,{className:"h-6 w-6"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("h3",{className:"text-base font-extrabold leading-tight",children:g("records.quality.scanTitle")}),(0,a.jsx)("p",{className:"text-xs text-white/85 mt-0.5 truncate",children:U?es||g("records.quality.starting"):(null==M?void 0:M.status)==="completed"||(null==M?void 0:M.status)==="failed"?es||g("records.quality.scanTitle"):ee>0?g("records.quality.scanDesc",{n:ee}):g("records.quality.scanAllGood")})]}),U?(0,a.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[(0,a.jsxs)("span",{className:"text-2xl font-extrabold tabular-nums",children:["%",et]}),(0,a.jsxs)("button",{onClick:Q,className:"flex items-center gap-1.5 rounded-lg bg-white/15 hover:bg-white/25 px-3 py-2 text-sm font-semibold transition",children:[(0,a.jsx)(C.Z,{className:"h-4 w-4"})," ",g("records.quality.stopAll")]})]}):(0,a.jsxs)("button",{onClick:G,disabled:0===ee,title:g("records.quality.startAllHint"),className:"group flex items-center gap-2.5 rounded-xl bg-white px-5 py-3 text-cyan-700 font-extrabold shadow-md ring-1 ring-white/60 transition hover:scale-[1.03] hover:shadow-xl disabled:opacity-60 disabled:cursor-not-allowed disabled:hover:scale-100 flex-shrink-0",children:[(0,a.jsx)(Z.Z,{className:"h-5 w-5 fill-current"}),(0,a.jsx)("span",{children:g("records.quality.startAll")}),ee>0&&(0,a.jsx)("span",{className:"ml-1 rounded-lg bg-cyan-100 px-2 py-0.5 text-sm tabular-nums",children:ee})]})]}),U&&(0,a.jsx)("div",{className:"h-1.5 mt-3 rounded-full bg-white/20 overflow-hidden",children:(0,a.jsx)("div",{className:"h-full bg-white transition-all",style:{width:"".concat(et,"%")}})})]}),B&&!U&&(0,a.jsxs)("div",{className:"rounded-xl border border-success/40 bg-success-soft/30 p-4",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-lg bg-success/15 text-success flex items-center justify-center flex-shrink-0",children:(0,a.jsx)(_.Z,{className:"h-5 w-5"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("h3",{className:"font-bold text-sm text-ink",children:g("records.quality.reportTitle")}),(0,a.jsx)("p",{className:"text-xs text-muted mt-0.5",children:(null===(t=B.api)||void 0===t?void 0:t.total)!=null?g("records.quality.reportSummary",{enriched:null!==(i=B.enriched)&&void 0!==i?i:0,scanned:B.api.total}):g("records.quality.reportSummaryShort",{enriched:null!==(d=B.enriched)&&void 0!==d?d:0})}),(null!==(o=null===(s=B.doi)||void 0===s?void 0:s.filled)&&void 0!==o?o:0)>0&&(0,a.jsx)("p",{className:"text-xs font-medium text-emerald-700 mt-0.5",children:g("records.quality.reportDois",{n:B.doi.filled})})]}),(0,a.jsx)("div",{className:"flex items-center gap-2 flex-shrink-0",children:(0,a.jsxs)("button",{onClick:G,disabled:0===ee,className:"text-xs font-semibold px-3 py-1.5 rounded-lg bg-cyan-500 text-white hover:bg-cyan-600 disabled:opacity-50 flex items-center gap-1.5",children:[(0,a.jsx)(Z.Z,{className:"h-3 w-3 fill-current"})," ",g("records.quality.runAgain"),ee>0&&(0,a.jsx)("span",{className:"rounded bg-white/20 px-1 tabular-nums",children:ee})]})})]}),B.per_field_fill&&(0,a.jsx)("div",{className:"mt-3 grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-1.5",children:Object.entries(B.per_field_fill).map(e=>{var t,s;let[l,r]=e,n=Math.round((null!==(t=r.before)&&void 0!==t?t:0)*100),i=Math.round((null!==(s=r.after)&&void 0!==s?s:0)*100),c=i>n;return(0,a.jsxs)("div",{className:(0,E.cn)("rounded-md border bg-white px-2 py-1 text-[11px] flex items-center gap-1.5",c?"border-success/60":"border-border"),children:[(0,a.jsx)("span",{className:"font-mono text-[10px] text-muted",children:l}),(0,a.jsxs)("span",{className:"ml-auto tabular-nums text-ink",children:[n,"% → ",(0,a.jsxs)("span",{className:c?"font-bold text-emerald-700":"text-muted",children:[i,"%"]}),c&&(0,a.jsxs)("span",{className:"ml-1 font-bold text-emerald-700",children:["+",i-n]})]})]},l)})}),(0,a.jsxs)("p",{className:"text-[10px] text-muted mt-2",children:[g("records.quality.reportOverall",{before:Math.round((null!==(x=B.fill_rate_before)&&void 0!==x?x:0)*100),after:Math.round((null!==(m=B.fill_rate_after)&&void 0!==m?m:0)*100)}),B.snapshot?" \xb7 ".concat(g("disambiguate.snapshot"),": ").concat(String(B.snapshot).split(/[\\/]/).pop()):""]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:[(0,a.jsx)(I,{icon:(0,a.jsx)(q.Z,{className:"h-4 w-4"}),label:g("records.quality.totalRecords"),value:N.total_records.toLocaleString(),accent:"brand"}),(0,a.jsx)(I,{icon:(0,a.jsx)(_.Z,{className:"h-4 w-4"}),label:g("records.quality.highFill"),value:"".concat(V.length),hint:"≥90%",accent:"success"}),(0,a.jsx)(I,{icon:(0,a.jsx)(k.Z,{className:"h-4 w-4"}),label:g("records.quality.midFill"),value:"".concat(K.length),hint:"50–90%",accent:"warning"}),(0,a.jsx)(I,{icon:(0,a.jsx)(k.Z,{className:"h-4 w-4"}),label:g("records.quality.lowFill"),value:"".concat($.length),hint:"<50%",accent:"danger"})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("h3",{className:"text-[11px] font-semibold uppercase tracking-wide text-muted flex items-center gap-1 mb-2",children:[(0,a.jsx)(L.Z,{className:"h-3 w-3"})," ",g("records.quality.fieldFillRates")]}),(()=>{let e=N.fields.filter(e=>e.available),t=100/(e.length||1),s=e.reduce((e,s)=>e+t*s.fill_rate,0),l=e.filter(e=>e.fill_rate<1);return(0,a.jsxs)("div",{className:"flex h-7 rounded-md overflow-hidden border border-border mb-1.5",children:[(0,a.jsx)("div",{className:"h-full bg-emerald-500 flex items-center justify-center",style:{width:"".concat(s,"%")},title:"".concat(Math.round(s),"% ").concat(g("records.quality.filledShort")),children:(0,a.jsxs)("span",{className:"font-mono text-[10px] font-bold text-white whitespace-nowrap drop-shadow-[0_1px_1px_rgba(0,0,0,0.5)]",children:[Math.round(s),"%"]})}),l.map(e=>(0,a.jsx)("div",{className:"h-full border-l border-white/70",style:{width:"".concat(t*(1-e.fill_rate),"%"),backgroundColor:O(e.field)},title:"".concat(e.field," \xb7 ").concat(R(g,e.field,e.label)," — ").concat(Math.round((1-e.fill_rate)*100),"% ").concat(g("records.quality.missingShort"))},e.field))]})})(),(0,a.jsx)("p",{className:"text-[10px] text-muted mb-2",children:g("records.quality.barLegend")}),(0,a.jsx)("div",{className:"flex flex-wrap gap-1.5",children:N.fields.filter(e=>e.available).map(e=>(0,a.jsx)(H,{field:e},e.field))}),(0,a.jsxs)("p",{className:"text-[10px] text-muted mt-2 leading-relaxed",children:[(0,a.jsx)(u.Z,{className:"h-3 w-3 inline mr-0.5 text-brand-500"}),g("records.quality.fillHint")]})]}),(0,a.jsx)(F,{projectId:h,stats:N})]})]})}function F(e){let{projectId:t,stats:s}=e,r=(0,f.NT)(),n=(0,l.useRef)(null),i=s.fields.filter(e=>e.available);function d(e){let s=document.createElement("a");s.href=c.hi.qualityOverviewUrl(t,e),s.rel="noopener",document.body.appendChild(s),s.click(),s.remove()}async function o(){if(n.current)try{let e=await (0,z.YM)(n.current,{backgroundColor:"#ffffff",pixelRatio:2}),t=document.createElement("a");t.href=e,t.download="data_health.png",t.click()}catch(e){}}let x=e=>r("records.quality.overview.".concat(e));return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2 flex-wrap",children:[(0,a.jsxs)("h3",{className:"text-[11px] font-semibold uppercase tracking-wide text-muted flex items-center gap-1 flex-1",children:[(0,a.jsx)(T.Z,{className:"h-3 w-3"})," ",x("title")]}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsxs)("span",{className:"text-[10px] text-muted flex items-center gap-1",children:[(0,a.jsx)(A.Z,{className:"h-3 w-3"})," ",x("download"),":"]}),(0,a.jsx)("button",{onClick:()=>d("csv"),className:"text-[11px] font-medium px-2 py-0.5 rounded border border-border bg-white hover:border-brand-300 text-ink",children:"CSV"}),(0,a.jsx)("button",{onClick:()=>d("xlsx"),className:"text-[11px] font-medium px-2 py-0.5 rounded border border-border bg-white hover:border-brand-300 text-ink",children:"XLSX"}),(0,a.jsx)("button",{onClick:o,className:"text-[11px] font-medium px-2 py-0.5 rounded border border-border bg-white hover:border-brand-300 text-ink",children:"PNG"})]})]}),(0,a.jsx)("div",{ref:n,className:"overflow-x-auto rounded-lg border border-border bg-white",children:(0,a.jsxs)("table",{className:"w-full text-xs",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{className:"bg-bg-soft text-muted text-[10px] uppercase tracking-wide",children:[(0,a.jsx)("th",{className:"text-left px-2 py-1.5 font-semibold",children:x("colField")}),(0,a.jsx)("th",{className:"text-left px-2 py-1.5 font-semibold",children:x("colLabel")}),(0,a.jsx)("th",{className:"text-right px-2 py-1.5 font-semibold",children:x("colTotal")}),(0,a.jsx)("th",{className:"text-right px-2 py-1.5 font-semibold",children:x("colFilled")}),(0,a.jsx)("th",{className:"text-right px-2 py-1.5 font-semibold",children:x("colMissing")}),(0,a.jsx)("th",{className:"text-right px-2 py-1.5 font-semibold",children:x("colFillRate")})]})}),(0,a.jsx)("tbody",{children:i.map(e=>{let t=Math.round(100*e.fill_rate);return(0,a.jsxs)("tr",{className:"border-t border-border",children:[(0,a.jsx)("td",{className:"px-2 py-1 font-mono text-[10px] text-muted",children:e.field}),(0,a.jsx)("td",{className:"px-2 py-1 text-ink",children:R(r,e.field,e.label)}),(0,a.jsx)("td",{className:"px-2 py-1 text-right tabular-nums",children:e.total.toLocaleString()}),(0,a.jsx)("td",{className:"px-2 py-1 text-right tabular-nums text-emerald-700",children:e.filled.toLocaleString()}),(0,a.jsx)("td",{className:"px-2 py-1 text-right tabular-nums text-muted",children:e.missing.toLocaleString()}),(0,a.jsxs)("td",{className:(0,E.cn)("px-2 py-1 text-right tabular-nums font-semibold",t>=90?"text-emerald-700":t>=50?"text-amber-700":"text-red-600"),children:[t,"%"]})]},e.field)})})]})}),(0,a.jsx)("p",{className:"text-[10px] text-muted mt-1.5",children:x("hint")})]})}function I(e){let{icon:t,label:s,value:l,hint:r,accent:n="brand"}=e;return(0,a.jsxs)("div",{className:(0,E.cn)("rounded-lg border px-3 py-2.5",{brand:"bg-brand-50 text-brand-700 border-brand-200",success:"bg-success-soft text-emerald-700 border-success/30",warning:"bg-warning-soft text-amber-700 border-warning/30",danger:"bg-danger-soft text-red-700 border-danger/30"}[n]),children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-wide opacity-80",children:[t,s]}),(0,a.jsx)("div",{className:"text-xl font-bold mt-1 tabular-nums",children:l}),r&&(0,a.jsx)("div",{className:"text-[10px] opacity-70 mt-0.5",children:r})]})}let D={DI:"#38597f",AB:"#74398c",TI:"#0f766e",AU:"#8e5ba5",PY:"#264667",DE:"#a16207",ID:"#c8982f",WC:"#b91c1c",SC:"#d05c5c",C1:"#7593b5",EM:"#9a1818",CR:"#5f6f85",TC:"#602a76",LA:"#c43a3a",SO:"#28837b",AF:"#4f1964"};function O(e){var t;return null!==(t=D[e])&&void 0!==t?t:"#94A3B8"}function R(e,t,s){let a="recordDetail.fields.".concat(t),l=e(a);return l&&l!==a?l:s}function H(e){let{field:t}=e,s=(0,f.NT)(),l=Math.round(100*t.fill_rate),r=R(s,t.field,t.label);return(0,a.jsxs)("div",{title:"".concat(r," \xb7 ").concat(t.filled.toLocaleString()," ").concat(s("records.quality.filledShort")," \xb7 ").concat(t.missing.toLocaleString()," ").concat(s("records.quality.missingShort")),className:"flex items-center gap-1.5 pl-2 pr-2.5 py-1 rounded-md bg-white border border-border border-l-[3px]",style:{borderLeftColor:O(t.field)},children:[(0,a.jsx)("span",{className:"font-mono text-[10px] text-muted",children:t.field}),(0,a.jsx)("span",{className:"text-[11px] text-ink truncate max-w-[8rem]",children:r}),(0,a.jsxs)("span",{className:(0,E.cn)("ml-1 text-[11px] font-semibold tabular-nums",l>=90?"text-emerald-700":l>=50?"text-amber-700":"text-red-600"),children:[l,"%"]})]})}var B=s(4765),W=s(470),J=s(5805),P=s(8420),U=s(2062),G=s(9202),Q=s(2720),X=s(2096),Y=s(8124),V=s(5557),K=s(4972),$=s(2135),ee=s(875),et=s(6858),es=s(1723),ea=s(1348);let el=[{id:"authors",fields:"AU",icon:(0,a.jsx)(J.Z,{className:"h-5 w-5"}),status:"live",category:"disambiguation"},{id:"affiliations",fields:"C1, C3",icon:(0,a.jsx)(P.Z,{className:"h-5 w-5"}),status:"live",category:"disambiguation"},{id:"organizations",fields:"C1 → \xfcst kurum",icon:(0,a.jsx)(U.Z,{className:"h-5 w-5"}),status:"live",category:"normalization"},{id:"countries",fields:"C1 (\xfclke)",icon:(0,a.jsx)(G.Z,{className:"h-5 w-5"}),status:"live",category:"normalization"},{id:"keywords",fields:"DE, ID",icon:(0,a.jsx)(Q.Z,{className:"h-5 w-5"}),status:"coming_soon",category:"normalization"},{id:"journals",fields:"SO, JI",icon:(0,a.jsx)(X.Z,{className:"h-5 w-5"}),status:"coming_soon",category:"normalization"},{id:"categories",fields:"WC, SC ← AB",icon:(0,a.jsx)(Y.Z,{className:"h-5 w-5"}),status:"coming_soon",category:"extraction"},{id:"kw-from-ab",fields:"DE ← AB",icon:(0,a.jsx)(V.Z,{className:"h-5 w-5"}),status:"coming_soon",category:"extraction"}];function er(){let e=(0,ea.v)(),t=(0,f.NT)(),[s,i]=(0,l.useState)("authors"),[c,d]=(0,l.useState)(!1),o=e=>el.filter(t=>t.category===e);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.m,{title:t("enrich.title"),subtitle:t("enrich.subtitle"),badges:[{label:t("enrich.stepBadge"),tone:"neutral"}],right:(0,a.jsx)(B.L,{onHistory:()=>d(!0),nextHref:"/projects/".concat(e,"/export"),nextLabel:t("nav.export")})}),(0,a.jsxs)("div",{className:"max-w-6xl mx-auto px-6 py-6 space-y-4",children:[(0,a.jsx)(n.Zb,{children:(0,a.jsx)(n.eW,{className:"py-3",children:(0,a.jsxs)("div",{className:"flex items-start gap-3 text-xs",children:[(0,a.jsx)("div",{className:"w-8 h-8 rounded-lg bg-brand-50 text-brand-600 flex items-center justify-center flex-shrink-0",children:(0,a.jsx)(K.Z,{className:"h-4 w-4"})}),(0,a.jsxs)("div",{className:"flex-1 space-y-1",children:[(0,a.jsx)("p",{className:"text-ink",dangerouslySetInnerHTML:{__html:t("enrich.infoBanner1")}}),(0,a.jsx)("p",{className:"text-ink",dangerouslySetInnerHTML:{__html:t("enrich.infoBanner2")}})]})]})})}),(0,a.jsx)(M,{projectId:e,onChanged:()=>{}}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[320px_1fr] gap-4",children:[(0,a.jsxs)("aside",{className:"space-y-4",children:[(0,a.jsx)(en,{category:"disambiguation",tools:o("disambiguation"),activeTool:s,onSelect:i}),(0,a.jsx)(en,{category:"normalization",tools:o("normalization"),activeTool:s,onSelect:i}),(0,a.jsx)(en,{category:"extraction",tools:o("extraction"),activeTool:s,onSelect:i})]}),(0,a.jsx)("section",{className:"min-w-0",children:["authors","affiliations","countries","organizations"].includes(s)?(0,a.jsx)(g,{projectId:e,kind:s}):(0,a.jsx)(ec,{tool:el.find(e=>e.id===s)})})]})]}),(0,a.jsx)(W.N,{projectId:e,open:c,onClose:()=>d(!1)})]})}function en(e){let{category:t,tools:s,activeTool:r,onSelect:n}=e,i=(0,f.NT)(),[c,d]=(0,l.useState)(!0);return 0===s.length?null:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("button",{onClick:()=>d(!c),className:"w-full flex items-center justify-between px-1 py-1 text-[10px] font-semibold uppercase tracking-wider text-muted hover:text-ink",children:[(0,a.jsx)("span",{children:i("enrich.categories.".concat(t,".label"))}),c?(0,a.jsx)($.Z,{className:"h-3 w-3"}):(0,a.jsx)(ee.Z,{className:"h-3 w-3"})]}),c&&(0,a.jsx)("div",{className:"space-y-1.5",children:s.map(e=>(0,a.jsx)(ei,{tool:e,active:r===e.id,onClick:()=>n(e.id)},e.id))})]})}function ei(e){let{tool:t,active:s,onClick:l}=e,r=(0,f.NT)();return(0,a.jsx)("button",{onClick:l,className:(0,E.cn)("w-full text-left rounded-lg border px-3 py-2.5 transition group",s?"border-brand-500 bg-brand-50 ring-2 ring-brand-500/20":"border-border bg-white hover:border-brand-300"),children:(0,a.jsxs)("div",{className:"flex items-start gap-2.5",children:[(0,a.jsx)("div",{className:(0,E.cn)("w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0",s?"bg-brand-500 text-white":"bg-brand-50 text-brand-600"),children:t.icon}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("span",{className:(0,E.cn)("text-sm font-semibold truncate block",s?"text-brand-700":"text-ink"),children:r("enrich.tools.".concat(t.id,".title"))}),(0,a.jsx)("p",{className:"text-[11px] text-muted truncate mt-0.5",children:t.fields})]}),s&&(0,a.jsx)(et.Z,{className:"h-3.5 w-3.5 text-brand-500 mt-1"})]})})}function ec(e){let{tool:t}=e,s=(0,f.NT)(),{tArr:l}=(0,f.QT)(),r=l("enrich.howSteps");return(0,a.jsxs)(n.Zb,{children:[(0,a.jsxs)(n.Ol,{children:[(0,a.jsx)("span",{className:"w-9 h-9 rounded-lg bg-warning-soft text-warning flex items-center justify-center",children:t.icon}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("h2",{className:"font-semibold text-base",children:s("enrich.tools.".concat(t.id,".title"))}),(0,a.jsxs)("p",{className:"text-xs text-muted",children:[s("enrich.affectedFields"),": ",(0,a.jsx)("span",{className:"font-mono",children:t.fields})]})]}),(0,a.jsxs)("span",{className:"text-[10px] font-bold uppercase tracking-wider px-2 py-0.5 rounded bg-warning-soft text-warning border border-warning/30",children:[(0,a.jsx)(es.Z,{className:"h-3 w-3 inline mr-1"})," ",s("enrich.comingSoon")]})]}),(0,a.jsxs)(n.eW,{className:"space-y-5",children:[(0,a.jsx)("div",{className:"rounded-lg border border-border bg-bg-soft/40 px-4 py-3 text-sm text-ink leading-relaxed",children:s("enrich.tools.".concat(t.id,".description"))}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-[11px] font-semibold uppercase tracking-wide text-muted mb-2",children:s("enrich.howWillItWork")}),(0,a.jsx)("ol",{className:"space-y-2 text-sm text-ink",children:r.map((e,t)=>(0,a.jsx)(ed,{n:t+1,children:e},t))})]}),(0,a.jsxs)("div",{className:"rounded-lg border border-info/30 bg-info-soft/50 px-4 py-3 text-xs text-blue-900",children:[(0,a.jsxs)("strong",{children:[s("enrich.devStatusLabel"),":"]})," ",s("enrich.devStatusBody")]})]})]})}function ed(e){let{n:t,children:s}=e;return(0,a.jsxs)("li",{className:"flex gap-3",children:[(0,a.jsx)("span",{className:"w-5 h-5 rounded-full bg-brand-100 text-brand-700 text-[10px] font-bold flex items-center justify-center flex-shrink-0 mt-0.5",children:t}),(0,a.jsx)("span",{children:s})]})}},4392:function(e,t,s){"use strict";s.d(t,{z:function(){return i}});var a=s(7437),l=s(2265),r=s(4502);let n={primary:"bg-primary text-white hover:bg-primary-hover shadow-sm",secondary:"bg-white text-ink border border-border hover:bg-bg-soft",ghost:"text-ink hover:bg-bg-soft",danger:"bg-danger text-white hover:bg-red-700 shadow-sm",success:"bg-success text-white hover:bg-emerald-600 shadow-sm"},i=(0,l.forwardRef)(function(e,t){let{className:s,variant:l="primary",size:i="md",...c}=e;return(0,a.jsx)("button",{ref:t,className:(0,r.cn)("inline-flex items-center justify-center gap-2 rounded-lg font-medium transition disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:ring-2 focus:ring-brand-500/40","sm"===i?"px-3 py-1.5 text-sm":"px-4 py-2 text-sm",n[l],s),...c})})},7523:function(e,t,s){"use strict";s.d(t,{D:function(){return m}});var a=s(7437),l=s(2265),r=s(7855),n=s(2934),i=s(9322),c=s(1817),d=s(2489),o=s(4392),x=s(3554);function m(e){let{jobId:t,onComplete:s,onClose:m}=e,u=(0,x.NT)(),[h,p]=(0,l.useState)(null),f=(0,l.useRef)(s);(0,l.useEffect)(()=>{f.current=s},[s]);let b=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{b.current=!1;let e=new EventSource(r.hi.jobStreamUrl(t));return e.addEventListener("update",t=>{try{let a=JSON.parse(t.data);if(p(a),["completed","failed","cancelled"].includes(a.status)&&!b.current){var s;b.current=!0,e.close(),null===(s=f.current)||void 0===s||s.call(f,a)}}catch(e){}}),e.addEventListener("done",()=>{e.close()}),e.onerror=()=>{e.close()},()=>{e.close()}},[t]),!h)return(0,a.jsx)("div",{className:"text-muted text-sm",children:u("jobs.starting")});let g=Math.round(100*h.progress),j="queued"===h.status||"running"===h.status;return(0,a.jsxs)("div",{className:"rounded-xl border border-border bg-bg-card shadow-card p-4 space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:["completed"===h.status&&(0,a.jsx)("span",{className:"w-7 h-7 rounded-full bg-success-soft flex items-center justify-center",children:(0,a.jsx)(n.Z,{className:"h-4 w-4 text-success"})}),"failed"===h.status&&(0,a.jsx)("span",{className:"w-7 h-7 rounded-full bg-danger-soft flex items-center justify-center",children:(0,a.jsx)(i.Z,{className:"h-4 w-4 text-danger"})}),j&&(0,a.jsx)("span",{className:"w-7 h-7 rounded-full bg-[#0c2847] flex items-center justify-center",children:(0,a.jsx)(c.Z,{className:"h-4 w-4 animate-spin text-cyan-300"})}),(0,a.jsx)("span",{className:"font-semibold text-ink",children:(0,r.Pr)(u,h)}),(0,a.jsxs)("span",{className:"ml-auto text-sm font-medium text-ink tabular-nums",children:[g,"%"]}),j&&(0,a.jsx)(o.z,{size:"sm",variant:"ghost",onClick:()=>r.hi.cancelJob(h.id),title:u("jobs.cancel"),children:(0,a.jsx)(d.Z,{className:"h-4 w-4"})}),!j&&m&&(0,a.jsx)(o.z,{size:"sm",variant:"ghost",onClick:m,title:u("common.close"),children:(0,a.jsx)(d.Z,{className:"h-4 w-4"})})]}),(0,a.jsx)("div",{className:"h-2 rounded-full bg-bg-soft overflow-hidden",children:(0,a.jsx)("div",{className:"h-full bg-gradient-to-r from-brand-500 to-accent transition-all",style:{width:"".concat(g,"%")}})}),h.error&&(0,a.jsx)("div",{className:"text-sm text-red-700 bg-danger-soft border border-danger/30 rounded-lg p-2 whitespace-pre-wrap",children:h.error}),h.log_tail.length>0&&(0,a.jsx)("pre",{className:"text-xs text-muted bg-bg-soft rounded-lg p-2.5 max-h-40 overflow-y-auto whitespace-pre-wrap font-mono",children:h.log_tail.join("\n")}),"completed"===h.status&&null!=h.result&&(0,a.jsxs)("details",{className:"text-xs",children:[(0,a.jsx)("summary",{className:"text-muted cursor-pointer hover:text-ink",children:u("jobs.result")}),(0,a.jsx)("pre",{className:"mt-2 bg-bg-soft rounded-lg p-2 max-h-60 overflow-auto font-mono",children:JSON.stringify(h.result,null,2)})]})]})}}},function(e){e.O(0,[156,507,739,244,382,367,971,117,744],function(){return e(e.s=5841)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[276],{2975:function(e,t,r){Promise.resolve().then(r.bind(r,4035))},4035:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return k}});var o=r(7437),l=r(2265),s=r(7855),a=r(9835),i=r(2669),n=r(8736),c=r(91),d=r(1769),x=r(7342),b=r(1649),p=r(9857),m=r(9322),g=r(2489),u=r(1817),h=r(2735),f=r(3554),v=r(5499),w=r(5866),y=r(4765),j=r(470),N=r(1348);let S=[{fmt:"wos",label:"WoS plain text",group:"ref",icon:(0,o.jsx)(n.Z,{className:"h-5 w-5"}),primary:["bibliometrix","biblioshiny","vosviewer"],secondary:["citespace","histcite","bibexcel","citnetexplorer"]},{fmt:"vos",label:"VOSviewer TSV",group:"ref",icon:(0,o.jsx)(c.Z,{className:"h-5 w-5"}),primary:["vosviewer"],secondary:["gephi","openrefine"]},{fmt:"bib",label:"BibTeX (.bib)",group:"ref",icon:(0,o.jsx)(d.Z,{className:"h-5 w-5"}),primary:["zotero","jabref","mendeley","latex","overleaf"],secondary:["endnote","citavi","bibliometrix"]},{fmt:"ris",label:"RIS",group:"ref",icon:(0,o.jsx)(x.Z,{className:"h-5 w-5"}),primary:["endnote","zotero","mendeley","citavi"],secondary:["refworks","papers"]},{fmt:"xlsx",label:"Excel (.xlsx)",group:"table",icon:(0,o.jsx)(b.Z,{className:"h-5 w-5"}),primary:["excel","biblioshiny","tableau"],secondary:["powerbi","python","r"]},{fmt:"csv",label:"CSV",group:"table",icon:(0,o.jsx)(p.Z,{className:"h-5 w-5"}),primary:["biblioshiny","python","r","excel"],secondary:["openrefine","tableau","powerbi"]},{fmt:"tsv",label:"TSV",group:"table",icon:(0,o.jsx)(p.Z,{className:"h-5 w-5"}),primary:["vosviewer","openrefine"],secondary:["python","r","excel"]}];function k(){var e;let t=(0,N.v)(),r=(0,f.NT)();(0,v.N)(),(0,v.p)();let[n,c]=(0,l.useState)([]),[d,x]=(0,l.useState)([]),[b,p]=(0,l.useState)(null),[m,g]=(0,l.useState)(""),[u,h]=(0,l.useState)(""),[w,k]=(0,l.useState)(null),[Z,T]=(0,l.useState)(null),[O,z]=(0,l.useState)(!1),[H,I]=(0,l.useState)(new Set),[P,R]=(0,l.useState)(null),[V,B]=(0,l.useState)(null),F=!!window.showDirectoryPicker,[W,L]=(0,l.useState)(null),[_,X]=(0,l.useState)(F?"browser":"path");async function D(){try{let[e,r,o]=await Promise.all([s.hi.listExports(t),s.hi.listPresets(t),s.hi.suggestFolders(t)]);c(e),x(r),p(o),!u&&o.suggestions.length>0&&h(o.suggestions[0].path)}catch(e){}}(0,l.useEffect)(()=>{D()},[t]);let M=m?null===(e=d.find(e=>e.name===m))||void 0===e?void 0:e.spec:void 0;function U(e){let t=n.filter(t=>t.name.toLowerCase().endsWith(".".concat(e)));if(t.length>0){L({fmt:e,existing:t});return}A(e,"rename")}async function A(e,o){k(e),T(null),L(null);try{let r=await s.hi.createExport(t,e,M,void 0,o);await D();let l=null==r?void 0:r.name;if(l){let e=document.createElement("a");e.href=s.hi.downloadFromUrl(t,"exports",l),e.download=l,document.body.appendChild(e),e.click(),e.remove()}}catch(e){T((0,s.NS)(r,e,"export.exportFailed"))}finally{k(null)}}return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i.m,{title:r("export.title"),subtitle:r("export.subtitle"),badges:[{label:r("export.stepBadge"),tone:"neutral"}],right:(0,o.jsx)(y.L,{onHistory:()=>z(!0)})}),(0,o.jsxs)("div",{className:"max-w-6xl mx-auto px-6 py-8 space-y-6",children:[Z&&(0,o.jsx)("div",{className:"rounded-lg border border-danger/30 bg-danger-soft px-4 py-2 text-sm text-red-700",children:Z}),(0,o.jsxs)("div",{className:"flex flex-wrap items-center gap-2 rounded-xl border border-border bg-white px-4 py-3 shadow-soft",children:[(0,o.jsx)("span",{className:"mr-1 text-[11px] font-semibold uppercase tracking-wide text-muted",children:r("export.filterSelection")}),(0,o.jsx)("button",{onClick:()=>g(""),className:"text-xs px-3 py-1.5 rounded-lg border transition ".concat(m?"bg-white border-border text-muted hover:text-ink":"bg-brand-50 border-brand-500 text-brand-700 font-medium"),children:r("export.allData")}),0===d.length?(0,o.jsx)("span",{className:"text-xs text-muted",children:r("export.noPresetsHint")}):d.map(e=>(0,o.jsx)("button",{onClick:()=>g(e.name),className:"text-xs px-3 py-1.5 rounded-lg border transition ".concat(m===e.name?"bg-brand-50 border-brand-500 text-brand-700 font-medium":"bg-white border-border text-muted hover:text-ink"),children:e.name},e.name)),(0,o.jsx)("span",{className:"ml-auto text-xs text-muted",children:M?r("export.subsetExported"):r("export.allExported")})]}),(0,o.jsxs)(a.Zb,{children:[(0,o.jsx)(a.Ol,{children:(0,o.jsx)("h2",{className:"font-semibold text-sm",children:r("export.refFormats")})}),(0,o.jsx)(a.eW,{children:(0,o.jsx)("div",{className:"grid sm:grid-cols-2 gap-2",children:S.filter(e=>"ref"===e.group).map(e=>(0,o.jsx)(E,{f:{...e,info:r("export.formatInfo.".concat(e.fmt))},busy:w===e.fmt,onClick:()=>U(e.fmt)},e.fmt))})})]}),(0,o.jsxs)(a.Zb,{children:[(0,o.jsx)(a.Ol,{children:(0,o.jsx)("h2",{className:"font-semibold text-sm",children:r("export.tableFormats")})}),(0,o.jsx)(a.eW,{children:(0,o.jsx)("div",{className:"grid sm:grid-cols-2 gap-2",children:S.filter(e=>"table"===e.group).map(e=>(0,o.jsx)(E,{f:{...e,info:r("export.formatInfo.".concat(e.fmt))},busy:w===e.fmt,onClick:()=>U(e.fmt)},e.fmt))})})]})]}),W&&(0,o.jsx)(C,{fmt:W.fmt,existing:W.existing,onCancel:()=>L(null),onReplace:()=>A(W.fmt,"replace"),onKeep:()=>A(W.fmt,"rename")}),(0,o.jsx)(j.N,{projectId:t,open:O,onClose:()=>z(!1)})]})}function C(e){let{fmt:t,existing:r,onCancel:l,onReplace:s,onKeep:a}=e,i=(0,f.NT)(),c=t.toUpperCase(),d=1===r.length?"":"s";return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"fixed inset-0 bg-ink/40 backdrop-blur-sm z-[60]",onClick:l}),(0,o.jsx)("div",{className:"fixed inset-0 z-[70] flex items-center justify-center p-4 pointer-events-none",children:(0,o.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl w-full max-w-md overflow-hidden pointer-events-auto",children:[(0,o.jsxs)("div",{className:"px-5 py-3 border-b border-border bg-gradient-to-r from-warning-soft/60 to-amber-50/40 flex items-center gap-2",children:[(0,o.jsx)(m.Z,{className:"h-5 w-5 text-warning"}),(0,o.jsx)("h3",{className:"font-semibold text-sm text-ink",children:i("export.duplicate.title",{format:c})})]}),(0,o.jsxs)("div",{className:"px-5 py-4 space-y-3",children:[(0,o.jsx)("p",{className:"text-sm text-ink",children:i("export.duplicate.body",{count:r.length,format:c,plural:d})}),(0,o.jsx)("ul",{className:"text-[11px] text-muted bg-bg-soft rounded-lg px-3 py-2 max-h-32 overflow-y-auto font-mono",children:r.map(e=>(0,o.jsx)("li",{className:"truncate",title:e.name,children:e.name},e.name))}),(0,o.jsxs)("div",{className:"space-y-2 pt-1",children:[(0,o.jsxs)("button",{onClick:s,className:"w-full text-left rounded-lg border-2 border-danger/40 bg-danger-soft/30 hover:bg-danger-soft/50 hover:border-danger transition px-3 py-2.5 group",children:[(0,o.jsxs)("div",{className:"flex items-center gap-2 text-sm font-semibold text-red-800",children:[(0,o.jsx)(g.Z,{className:"h-3.5 w-3.5"}),i("export.duplicate.replace")]}),(0,o.jsx)("div",{className:"text-[11px] text-red-700/70 mt-0.5 ml-5",children:i("export.duplicate.replaceHint")})]}),(0,o.jsxs)("button",{onClick:a,className:"w-full text-left rounded-lg border-2 border-brand-300 bg-brand-50/40 hover:bg-brand-50/70 hover:border-brand-500 transition px-3 py-2.5 group",children:[(0,o.jsxs)("div",{className:"flex items-center gap-2 text-sm font-semibold text-brand-800",children:[(0,o.jsx)(n.Z,{className:"h-3.5 w-3.5"}),i("export.duplicate.keep")]}),(0,o.jsx)("div",{className:"text-[11px] text-brand-700/70 mt-0.5 ml-5",children:i("export.duplicate.keepHint")})]}),(0,o.jsx)("button",{onClick:l,className:"w-full text-left rounded-lg border border-border bg-white hover:bg-bg-soft transition px-3 py-2 text-sm text-muted hover:text-ink",children:i("export.duplicate.cancel")})]})]})]})})]})}function E(e){let{f:t,busy:r,onClick:l}=e,s=(0,f.NT)();return(0,o.jsxs)("button",{onClick:l,disabled:r,title:t.info,className:"group flex w-full flex-col gap-3 rounded-xl border border-border bg-white p-4 text-left transition hover:border-brand-500 hover:shadow-soft disabled:cursor-not-allowed disabled:opacity-50",children:[(0,o.jsxs)("div",{className:"flex items-start gap-3",children:[(0,o.jsx)("span",{className:"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-lg bg-brand-50 text-brand-600",children:t.icon}),(0,o.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,o.jsx)("span",{className:"block text-sm font-bold text-ink",children:t.label}),(0,o.jsx)("span",{className:"mt-0.5 block text-[11px] leading-snug text-muted",children:t.info})]}),r?(0,o.jsx)(u.Z,{className:"h-5 w-5 flex-shrink-0 animate-spin text-brand-500"}):(0,o.jsx)("span",{className:"flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-md bg-brand-50 text-brand-600 transition group-hover:bg-brand-500 group-hover:text-white",children:(0,o.jsx)(h.Z,{className:"h-4 w-4"})})]}),(0,o.jsxs)("div",{className:"space-y-1.5 border-t border-border/60 pt-2.5",children:[(0,o.jsx)("div",{className:"text-[10px] font-semibold uppercase tracking-wide text-muted/70",children:s("export.usedIn")}),(0,o.jsx)(w.kC,{primary:t.primary,secondary:t.secondary,limit:8})]})]})}},5866:function(e,t,r){"use strict";r.d(t,{kC:function(){return b}});var o=r(7437),l=r(2265),s=r(4502);let a={vosviewer:{label:"VOSviewer",color:"text-amber-700",logoSrc:"/tools/vosviewer.png",logoHasName:!0,tip:"VOSviewer — Network visualization (co-authorship, co-citation, keyword co-occurrence maps)"},bibliometrix:{label:"bibliometrix",color:"text-blue-800",logoSrc:"/tools/bibliometrix.png",logoHasName:!0,tip:"bibliometrix — R package for comprehensive science mapping (Aria & Cuccurullo)"},biblioshiny:{label:"biblioshiny",color:"text-sky-700",logoSrc:"/tools/biblioshiny.svg",tip:"Web UI for bibliometrix (no coding required)"},citespace:{label:"CiteSpace",color:"text-emerald-700",logoSrc:"/tools/citespace.svg",tip:"Citation network & research-front detection"},bibexcel:{label:"BibExcel",color:"text-green-700",logoSrc:"/tools/bibexcel.svg",tip:"Lightweight bibliometric data preprocessing"},histcite:{label:"HistCite",color:"text-purple-700",logoSrc:"/tools/histcite.svg",tip:"Historiographic citation analysis"},gephi:{label:"Gephi",color:"text-slate-700",logoSrc:"/tools/gephi.svg",tip:"General-purpose network visualization"},citnetexplorer:{label:"CitNetExplorer",color:"text-teal-700",logoSrc:"/tools/citnetexplorer.svg",tip:"Direct citation network exploration"},zotero:{label:"Zotero",color:"text-red-700",logoSrc:"/tools/zotero.svg",tip:"Open-source reference manager"},mendeley:{label:"Mendeley",color:"text-rose-700",logoSrc:"/tools/mendeley.svg",tip:"Elsevier reference manager (free tier)"},jabref:{label:"JabRef",color:"text-orange-700",logoSrc:"/tools/jabref.svg",tip:"Java open-source BibTeX editor"},endnote:{label:"EndNote",color:"text-indigo-700",logoSrc:"/tools/endnote.svg",tip:"Clarivate reference manager"},citavi:{label:"Citavi",color:"text-fuchsia-700",logoSrc:"/tools/citavi.svg",tip:"Reference + knowledge management (Lumivero)"},refworks:{label:"RefWorks",color:"text-violet-700",logoSrc:"/tools/refworks.svg",tip:"ProQuest cloud-based reference manager"},papers:{label:"Papers",color:"text-cyan-700",logoSrc:"/tools/papers.svg",tip:"ReadCube reference manager"},latex:{label:"LaTeX",color:"text-stone-700",logoSrc:"/tools/latex.svg",tip:"Typesetting system — works with .bib"},overleaf:{label:"Overleaf",color:"text-green-700",logoSrc:"/tools/overleaf.svg",tip:"Web-based LaTeX editor"},excel:{label:"Excel",color:"text-emerald-700",logoSrc:"/tools/excel.svg",tip:"Microsoft spreadsheet — opens .xlsx natively"},tableau:{label:"Tableau",color:"text-blue-700",logoSrc:"/tools/tableau.svg",tip:"Salesforce BI / dashboards"},powerbi:{label:"Power BI",color:"text-yellow-700",logoSrc:"/tools/powerbi.svg",tip:"Microsoft BI / dashboards"},python:{label:"Python",color:"text-yellow-700",logoSrc:"/tools/python.svg",tip:"pandas / NetworkX / matplotlib"},r:{label:"R",color:"text-blue-700",logoSrc:"/tools/r.svg",tip:"Statistical computing — base of bibliometrix"},openrefine:{label:"OpenRefine",color:"text-lime-700",logoSrc:"/tools/openrefine.svg",tip:"Data cleaning / transformation for messy CSV/TSV"},scite:{label:"Scite",color:"text-indigo-700",logoSrc:"/tools/scite.svg",tip:"Smart citations & assistant"}},i={vosviewer:"bg-amber-500",bibliometrix:"bg-blue-700",biblioshiny:"bg-sky-500",citespace:"bg-emerald-500",bibexcel:"bg-green-500",histcite:"bg-purple-500",gephi:"bg-slate-500",citnetexplorer:"bg-teal-500",zotero:"bg-red-600",mendeley:"bg-rose-500",jabref:"bg-orange-500",endnote:"bg-indigo-500",citavi:"bg-fuchsia-500",refworks:"bg-violet-500",papers:"bg-cyan-500",latex:"bg-stone-500",overleaf:"bg-green-600",excel:"bg-emerald-600",tableau:"bg-blue-500",powerbi:"bg-yellow-500",python:"bg-yellow-600",r:"bg-blue-600",openrefine:"bg-lime-500",scite:"bg-indigo-500"};function n(e){let{tool:t,className:r}=e,n=a[t],[c,d]=(0,l.useState)(!1);return(null==n?void 0:n.logoSrc)&&!c?(0,o.jsx)("img",{src:n.logoSrc,alt:"","aria-hidden":"true",onError:()=>d(!0),className:(0,s.cn)("flex-shrink-0 object-contain",r)}):(0,o.jsx)("span",{className:(0,s.cn)("flex flex-shrink-0 items-center justify-center rounded text-[9px] font-bold text-white",i[t],r),children:n.label.charAt(0).toUpperCase()})}function c(e){let{tool:t}=e,r=a[t],[i,n]=(0,l.useState)(!1);if(!r)return null;let c=!!r.logoSrc&&!i,d=!r.logoHasName||!c;return(0,o.jsxs)("span",{title:r.tip,className:(0,s.cn)("inline-flex items-center gap-2 rounded-lg border border-border bg-white px-2.5 py-1.5","shadow-soft hover:border-brand-400 transition"),children:[c&&(0,o.jsx)("img",{src:r.logoSrc,onError:()=>n(!0),alt:r.label,className:"h-6 max-w-[132px] object-contain flex-shrink-0"}),d&&(0,o.jsx)("span",{className:(0,s.cn)("text-sm font-bold whitespace-nowrap",r.color),children:r.label})]})}function d(e){let{tool:t,tier:r="primary"}=e,l=a[t];return l?(0,o.jsxs)("span",{title:l.tip,className:(0,s.cn)("inline-flex items-center gap-1.5 rounded-md border border-border/70 bg-white py-0.5 pl-0.5 pr-2","hover:border-brand-300 transition","secondary"===r&&"opacity-70"),children:[(0,o.jsx)(n,{tool:t,className:"h-4 w-4 rounded-sm"}),(0,o.jsx)("span",{className:(0,s.cn)("text-[11px] font-medium whitespace-nowrap",l.color),children:l.label})]}):null}let x=new Set(["vosviewer","bibliometrix"]);function b(e){let{primary:t,secondary:r,limit:l}=e,s=[...(null!=t?t:[]).map(e=>({t:e,tier:"primary"})),...(null!=r?r:[]).map(e=>({t:e,tier:"secondary"}))],a=s.filter(e=>x.has(e.t)),i=s.filter(e=>!x.has(e.t)),n=l?i.slice(0,Math.max(0,l-a.length)):i,b=i.length-n.length;return(0,o.jsxs)("div",{className:"space-y-3",children:[a.length>0&&(0,o.jsx)("div",{className:"flex flex-wrap gap-2",children:a.map(e=>{let{t}=e;return(0,o.jsx)(c,{tool:t},t)})}),(n.length>0||b>0)&&(0,o.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[n.map(e=>{let{t,tier:r}=e;return(0,o.jsx)(d,{tool:t,tier:r},t)}),b>0&&(0,o.jsxs)("span",{className:"text-[10px] text-muted px-2 py-0.5 rounded-full border border-border/60 bg-bg-soft",children:["+",b]})]})]})}}},function(e){e.O(0,[156,862,244,382,367,971,117,744],function(){return e(e.s=2975)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[505],{3521:function(){}},function(n){n.O(0,[971,117,744],function(){return n(n.s=3521)}),_N_E=n.O()}]);
|