From ca0bca4493b3ad76cbe97646b55b3e49a63a3421 Mon Sep 17 00:00:00 2001 From: kscript <1258@live.cn> Date: Tue, 24 Oct 2023 06:56:56 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20kscript/?= =?UTF-8?q?markdown-download@462a5d421c0845bb6f443cfc7344765b9e9484e2=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background.js b/background.js index 6aac946..c4060ff 100644 --- a/background.js +++ b/background.js @@ -1,2 +1,2 @@ /*! For license information please see background.js.LICENSE.txt */ -(()=>{var t={556:(t,e,r)=>{"use strict";r(8149),r(5579),r(2013),r(7921),r(6250),r(3453),r(6470),"undefined"!=typeof window&&window instanceof Object&&window.chrome instanceof Object&&window.chrome.runtime},1947:(t,e,r)=>{"use strict";r.r(e),r.d(e,{config:()=>a,default:()=>s,hook:()=>o,hosts:()=>n,options:()=>i});var n=["www.cnblogs.com","cnblogs.com"],i={origin:"cnblogs",link:!1,br:!0,code:!1,selectors:{title:"#cb_post_title_url",body:"#cnblogs_post_body",copyBtn:".cnblogs_code_toolbar",userName:"#author_profile_detail a:nth-child(1)",userLink:"#author_profile_detail a:nth-child(1)",invalid:"",unpack:""}},o={},a={hosts:n,options:i,hook:o};const s=a},770:(t,e,r)=>{"use strict";r.r(e),r.d(e,{config:()=>a,default:()=>s,hook:()=>o,hosts:()=>n,options:()=>i});var n=["blog.csdn.net"],i={origin:"csdn",link:!1,br:!0,code:!1,selectors:{title:"#articleContentId",body:"#article_content",copyBtn:".copy-code-btn",userName:".user-info .name",userLink:".user-info .profile-intro-name-boxTop a",invalid:"",unpack:""}},o={},a={hosts:n,options:i,hook:o};const s=a},8620:(t,e,r)=>{"use strict";r.r(e),r.d(e,{config:()=>a,default:()=>s,hook:()=>o,hosts:()=>n,options:()=>i});var n=[/./],i={origin:"default"},o={beforeExtract:function(){return{type:"download",fileName:document.title,files:[{name:document.title.replace(/(\/\\:\*\?\|<>")/g,"_")+".html",downloadUrl:location.href}]}}},a={hosts:n,options:i,hook:o};const s=a},8250:(t,e,r)=>{"use strict";r.r(e),r.d(e,{configs:()=>s,default:()=>f,hooks:()=>a,websites:()=>o});var n=r(8428),i=r.n(n),o={},a={},s=[],u=r(9052),c={index:{},default:{}};u.keys().forEach((function(t){var e=(t.split("/").pop().split(".")||{})[0];if(!["index"].includes(e)){var r=u(t),n=r.hook,f=r.options,l=r.customOptions,h=void 0===l?{}:l;a[e]=n instanceof Object?n:{},o[e]=function(t){return t(f,h,a[e])},c[e]?c[e]=i()({website:e},r):s.push(i()({website:e},r))}})),s.push(c.default);const f={websites:o,configs:s,hooks:a}},6826:(t,e,r)=>{"use strict";r.r(e),r.d(e,{config:()=>u,default:()=>c,hook:()=>s,hosts:()=>o,options:()=>a});var n=r(2568),i=r.n(n),o=["www.jianshu.com","jianshu.com"],a={origin:"jianshu",link:!1,br:!0,code:!1,selectors:{title:"section+h1",body:"header+div article,.post .article",copyBtn:".VJbwyy",userName:"._3U4Smb ._1OhGeD",userLink:"._3U4Smb ._1OhGeD",invalid:"",unpack:""}},s={extract:function(t,e){var r=e.markdownBody,n=e.realName;r.querySelectorAll(".math-block,.math-inline").forEach((function(t){var e=n+"/"+i()(t.src)+".svg";t.setAttribute("downloadName",e),t.setAttribute("downloadUrl",t.src)}))}},u={hosts:o,options:a,hook:s};const c=u},9246:(t,e,r)=>{"use strict";r.r(e),r.d(e,{config:()=>u,default:()=>c,hook:()=>s,hosts:()=>o,options:()=>a});var n=r(2568),i=r.n(n),o=["juejin.im","juejin.cn"],a={origin:"juejin",link:!0,br:!1,code:!1,selectors:{title:".article-title",body:".markdown-body",copyBtn:".copy-code-btn",userName:".username .name",userLink:".username",invalid:"style",unpack:""}},s={extract:function(t,e){var r=e.markdownBody,n=e.realName;r.querySelectorAll("img").forEach((function(t){if("string"==typeof t.src&&/\/equation\?tex=/.test(t.src)){var e=n+"/"+i()(t.src)+".svg";t.setAttribute("downloadName",e),t.setAttribute("downloadUrl",t.src)}}))}},u={hosts:o,options:a,hook:s};const c=u},8013:(t,e,r)=>{"use strict";r.r(e),r.d(e,{config:()=>a,default:()=>s,hook:()=>o,hosts:()=>n,options:()=>i});var n=[/(.*\.|)oschina.net$/],i={origin:"oschina",link:!1,br:!0,code:!1,selectors:{title:".article-box h1.article-box__title",body:".article-box .article-box__content .detail-box",copyBtn:".copy-code-btn",userName:".article-box .article-box__meta .item-list .item:nth-child(2) a",userLink:".article-box .article-box__meta .item-list .item:nth-child(2) a",invalid:"",unpack:""}},o={},a={hosts:n,options:i,hook:o};const s=a},7937:(t,e,r)=>{"use strict";r.r(e),r.d(e,{config:()=>a,default:()=>s,hook:()=>o,hosts:()=>n,options:()=>i});var n=["segmentfault.com"],i={origin:"segmentfault",link:!1,br:!0,code:!1,selectors:{title:"h1 .text-body",body:"article.article-content",copyBtn:".copy-code-btn",userName:".card-body picture+strong",userLink:".card-body h1+div a:nth-child(1)",invalid:"",unpack:""}},o={},a={hosts:n,options:i,hook:o};const s=a},3346:(t,e,r)=>{"use strict";r.r(e),r.d(e,{config:()=>a,default:()=>s,hook:()=>o,hosts:()=>n,options:()=>i});var n=["mp.weixin.qq.com"],i={origin:"weixin",link:!1,br:!0,code:!1,selectors:{title:"#activity-name",body:"#js_content",copyBtn:".copy-code-btn",userName:"#js_name",userLink:"#js_pc_qr_code_img",invalid:"",unpack:""}},o={beforeExtract:function(t){var e=document.getElementById("js_pc_qr_code_img");e.setAttribute("href",e.getAttribute("src"))}},a={hosts:n,options:i,hook:o};const s=a},4607:(t,e,r)=>{"use strict";r.r(e),r.d(e,{config:()=>s,default:()=>u,hook:()=>a,hosts:()=>i,options:()=>o});var n=r(556),i=["zhuanlan.zhihu.com"],o={origin:"zhihu",link:!1,br:!0,code:!1,lazyKey:"data-original",selectors:{title:".Post-Title",body:".Post-RichText",copyBtn:".copy-code-btn",userName:".AuthorInfo-name .UserLink-link",userLink:".AuthorInfo-name .UserLink-link",invalid:"noscript,.ZVideoLinkCard-author",unpack:"p,figure"}},a={extract:function(t,e){e.markdownBody.querySelectorAll(".ztext-math").forEach((function(t){var e=document.createElement("ztext");e.innerText=encodeURIComponent(t.getAttribute("data-tex")),t.parentElement.replaceChild(e,t)}))},formatContent:function(t,e){var r=e.markdwonDoc;return(0,n.tex2svg)(r)}},s={hosts:i,options:o,hook:a};const u=s},487:t=>{var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],r=0;r{r(1867),r(2586),t.exports=r(4579).Array.from},3285:(t,e,r)=>{r(8691),t.exports=r(4579).Array.isArray},4779:(t,e,r)=>{r(961),t.exports=r(4579).Date.now},6981:(t,e,r)=>{r(2699),t.exports=r(4579).Object.assign},5627:(t,e,r)=>{r(6760);var n=r(4579).Object;t.exports=function(t,e){return n.create(t,e)}},3391:(t,e,r)=>{r(1477);var n=r(4579).Object;t.exports=function(t,e,r){return n.defineProperty(t,e,r)}},381:(t,e,r)=>{r(7220),t.exports=r(4579).Object.getPrototypeOf},433:(t,e,r)=>{r(9349),t.exports=r(4579).Object.setPrototypeOf},112:(t,e,r)=>{r(4058),r(1867),r(3871),r(2878),r(5971),r(2526),t.exports=r(4579).Promise},25:(t,e,r)=>{r(6840),r(4058),r(8174),r(6461),t.exports=r(4579).Symbol},2392:(t,e,r)=>{r(1867),r(3871),t.exports=r(5103).f("iterator")},5663:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},9003:t=>{t.exports=function(){}},9142:t=>{t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},2159:(t,e,r)=>{var n=r(6727);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},7428:(t,e,r)=>{var n=r(7932),i=r(8728),o=r(6531);t.exports=function(t){return function(e,r,a){var s,u=n(e),c=i(u.length),f=o(a,c);if(t&&r!=r){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}}},4677:(t,e,r)=>{var n=r(2894),i=r(2939)("toStringTag"),o="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:o?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},2894:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},4579:t=>{var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},2445:(t,e,r)=>{"use strict";var n=r(4743),i=r(3101);t.exports=function(t,e,r){e in t?n.f(t,e,i(0,r)):t[e]=r}},9216:(t,e,r)=>{var n=r(5663);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},8333:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},9666:(t,e,r)=>{t.exports=!r(7929)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},7467:(t,e,r)=>{var n=r(6727),i=r(3938).document,o=n(i)&&n(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},3338:t=>{t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},337:(t,e,r)=>{var n=r(6162),i=r(8195),o=r(6274);t.exports=function(t){var e=n(t),r=i.f;if(r)for(var a,s=r(t),u=o.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},3856:(t,e,r)=>{var n=r(3938),i=r(4579),o=r(9216),a=r(1818),s=r(7069),u=function(t,e,r){var c,f,l,h=t&u.F,d=t&u.G,p=t&u.S,m=t&u.P,v=t&u.B,g=t&u.W,_=d?i:i[e]||(i[e]={}),y=_.prototype,b=d?n:p?n[e]:(n[e]||{}).prototype;for(c in d&&(r=e),r)(f=!h&&b&&void 0!==b[c])&&s(_,c)||(l=f?b[c]:r[c],_[c]=d&&"function"!=typeof b[c]?r[c]:v&&f?o(l,n):g&&b[c]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):m&&"function"==typeof l?o(Function.call,l):l,m&&((_.virtual||(_.virtual={}))[c]=l,t&u.R&&y&&!y[c]&&a(y,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},7929:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},5576:(t,e,r)=>{var n=r(9216),i=r(5602),o=r(5991),a=r(2159),s=r(8728),u=r(3728),c={},f={},l=t.exports=function(t,e,r,l,h){var d,p,m,v,g=h?function(){return t}:u(t),_=n(r,l,e?2:1),y=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(d=s(t.length);d>y;y++)if((v=e?_(a(p=t[y])[0],p[1]):_(t[y]))===c||v===f)return v}else for(m=g.call(t);!(p=m.next()).done;)if((v=i(m,_,p.value,e))===c||v===f)return v};l.BREAK=c,l.RETURN=f},3938:t=>{var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},7069:t=>{var e={}.hasOwnProperty;t.exports=function(t,r){return e.call(t,r)}},1818:(t,e,r)=>{var n=r(4743),i=r(3101);t.exports=r(9666)?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},4881:(t,e,r)=>{var n=r(3938).document;t.exports=n&&n.documentElement},3758:(t,e,r)=>{t.exports=!r(9666)&&!r(7929)((function(){return 7!=Object.defineProperty(r(7467)("div"),"a",{get:function(){return 7}}).a}))},6778:t=>{t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},799:(t,e,r)=>{var n=r(2894);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},5991:(t,e,r)=>{var n=r(5449),i=r(2939)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[i]===t)}},1421:(t,e,r)=>{var n=r(2894);t.exports=Array.isArray||function(t){return"Array"==n(t)}},6727:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},5602:(t,e,r)=>{var n=r(2159);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},3945:(t,e,r)=>{"use strict";var n=r(8989),i=r(3101),o=r(5378),a={};r(1818)(a,r(2939)("iterator"),(function(){return this})),t.exports=function(t,e,r){t.prototype=n(a,{next:i(1,r)}),o(t,e+" Iterator")}},5700:(t,e,r)=>{"use strict";var n=r(6227),i=r(3856),o=r(7470),a=r(1818),s=r(5449),u=r(3945),c=r(5378),f=r(5089),l=r(2939)("iterator"),h=!([].keys&&"next"in[].keys()),d="keys",p="values",m=function(){return this};t.exports=function(t,e,r,v,g,_,y){u(r,e,v);var b,w,k,x=function(t){if(!h&&t in O)return O[t];switch(t){case d:case p:return function(){return new r(this,t)}}return function(){return new r(this,t)}},S=e+" Iterator",E=g==p,A=!1,O=t.prototype,C=O[l]||O["@@iterator"]||g&&O[g],z=C||x(g),T=g?E?x("entries"):z:void 0,I="Array"==e&&O.entries||C;if(I&&(k=f(I.call(new t)))!==Object.prototype&&k.next&&(c(k,S,!0),n||"function"==typeof k[l]||a(k,l,m)),E&&C&&C.name!==p&&(A=!0,z=function(){return C.call(this)}),n&&!y||!h&&!A&&O[l]||a(O,l,z),s[e]=z,s[S]=m,g)if(b={values:E?z:x(p),keys:_?z:x(d),entries:T},y)for(w in b)w in O||o(O,w,b[w]);else i(i.P+i.F*(h||A),e,b);return b}},6630:(t,e,r)=>{var n=r(2939)("iterator"),i=!1;try{var o=[7][n]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:r=!0}},o[n]=function(){return a},t(o)}catch(t){}return r}},5084:t=>{t.exports=function(t,e){return{value:e,done:!!t}}},5449:t=>{t.exports={}},6227:t=>{t.exports=!0},7177:(t,e,r)=>{var n=r(5730)("meta"),i=r(6727),o=r(7069),a=r(4743).f,s=0,u=Object.isExtensible||function(){return!0},c=!r(7929)((function(){return u(Object.preventExtensions({}))})),f=function(t){a(t,n,{value:{i:"O"+ ++s,w:{}}})},l=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,n)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[n].i},getWeak:function(t,e){if(!o(t,n)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[n].w},onFreeze:function(t){return c&&l.NEED&&u(t)&&!o(t,n)&&f(t),t}}},1601:(t,e,r)=>{var n=r(3938),i=r(2569).set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,u="process"==r(2894)(a);t.exports=function(){var t,e,r,c=function(){var n,i;for(u&&(n=a.domain)&&n.exit();t;){i=t.fn,t=t.next;try{i()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(u)r=function(){a.nextTick(c)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);r=function(){f.then(c)}}else r=function(){i.call(n,c)};else{var l=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),r=function(){h.data=l=!l}}return function(n){var i={fn:n,next:void 0};e&&(e.next=i),t||(t=i,r()),e=i}}},9304:(t,e,r)=>{"use strict";var n=r(5663);function i(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)}t.exports.f=function(t){return new i(t)}},8082:(t,e,r)=>{"use strict";var n=r(9666),i=r(6162),o=r(8195),a=r(6274),s=r(6530),u=r(799),c=Object.assign;t.exports=!c||r(7929)((function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=c({},t)[r]||Object.keys(c({},e)).join("")!=n}))?function(t,e){for(var r=s(t),c=arguments.length,f=1,l=o.f,h=a.f;c>f;)for(var d,p=u(arguments[f++]),m=l?i(p).concat(l(p)):i(p),v=m.length,g=0;v>g;)d=m[g++],n&&!h.call(p,d)||(r[d]=p[d]);return r}:c},8989:(t,e,r)=>{var n=r(2159),i=r(7856),o=r(3338),a=r(7281)("IE_PROTO"),s=function(){},u=function(){var t,e=r(7467)("iframe"),n=o.length;for(e.style.display="none",r(4881).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("