2 lines
149 KiB
JavaScript
2 lines
149 KiB
JavaScript
|
/*! For license information please see build.js.LICENSE.txt */
|
||
|
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=19)}([function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var u=typeof(e=e||{}).default;"object"!==u&&"function"!==u||(e=e.default);var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId=o),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var f=l.render;l.render=function(e,t){return c.call(t),f(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};String.prototype.formatUnicorn=String.prototype.formatUnicorn||function(){var e=this.toString();if(arguments.length){var t,n=r(arguments[0]),i="string"===n||"number"===n?Array.prototype.slice.call(arguments):arguments[0];for(t in i)e=e.replace(new RegExp("\\{"+t+"\\}","gi"),i[t])}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(27)),i=o(n(29));function o(e){return e&&e.__esModule?e:{default:e}}t.default={data:function(){return{currentView:r.default,settings:{}}},methods:{regenerate:function(e){r.default===this.currentView&&(this.settings={onlyMissing:document.getElementById("regenthumbs-regenopt-onlymissing").checked,updatePosts:document.getElementById("regenthumbs-regenopt-updateposts").checked,deleteOld:document.getElementById("regenthumbs-regenopt-deleteoldthumbnails").checked}),this.settings.regenerateWhat=e,this.currentView=i.default}},components:{HomeIntro:r.default}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(28),o=(r=i)&&r.__esModule?r:{default:r};n(1),t.default={data:function(){return{regenerateThumbnails:regenerateThumbnails,usingFeaturedImages:!1,ButtonAllText:regenerateThumbnails.l10n.Home.RegenerateThumbnailsForAllAttachments,ButtonFeaturedImagesText:regenerateThumbnails.l10n.Home.RegenerateThumbnailsForFeaturedImagesOnly,checkboxOnlyMissing:regenerateThumbnails.options.onlyMissingThumbnails,checkboxUpdatePosts:regenerateThumbnails.options.updatePostContents,checkboxDeleteOld:regenerateThumbnails.options.deleteOldThumbnails}},computed:{alternativesText1:function(){return this.regenerateThumbnails.l10n.Home.alternativesText1.formatUnicorn({"url-cli":"https://en.wikipedia.org/wiki/Command-line_interface","url-wpcli":"https://wp-cli.org/","url-wpcli-regenerate":"https://developer.wordpress.org/cli/commands/media/regenerate/"})},alternativesText2:function(){return this.regenerateThumbnails.l10n.Home.alternativesText2.formatUnicorn({"url-photon":"https://jetpack.com/support/photon/","url-jetpack":"https://jetpack.com/"})}},created:function(){var e=this;this.
|