mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 00:58:46 +01:00
Build/Test Tools: Update devDependencies
.
This updates the following `devDependencies`: - `dotenv` from `16.4.5` to `16.4.7` - `dotenv-expand` from `11.0.6` to `12.0.1` - `postcss` from `8.4.47` to `8.4.49` - `qunit` from `2.22.0` to `2.23.1` - `sass` from `1.79.4` to `1.79.6` - `terser-webpack-plugin` from `5.3.10` to `5.3.11` - `uglify-js` from `3.17.4` to `3.19.3` - `uuid` from `9.0.1` to `11.0.3` - `webpack` from `5.90.2` to `5.97.1` Additionally, `npm audit fix` has been run. Follow up to [58585]. See #62220. Built from https://develop.svn.wordpress.org/trunk@59509 git-svn-id: http://core.svn.wordpress.org/trunk@58895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4efa589165
commit
26335af1ac
2
wp-admin/js/accordion.min.js
vendored
2
wp-admin/js/accordion.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(s){s(function(){s(".accordion-container").on("click",".accordion-section-title button",function(){var n,o,e,a,t,i;n=s(this),o=n.closest(".accordion-section"),e=o.closest(".accordion-container"),a=e.find(".open"),t=a.find("[aria-expanded]").first(),i=o.find(".accordion-section-content"),o.hasClass("cannot-expand")||(e.addClass("opening"),o.hasClass("open")?(o.toggleClass("open"),i.toggle(!0).slideToggle(150)):(t.attr("aria-expanded","false"),a.removeClass("open"),a.find(".accordion-section-content").show().slideUp(150),i.toggle(!1).slideToggle(150),o.toggleClass("open")),setTimeout(function(){e.removeClass("opening")},150),n&&n.attr("aria-expanded",String("false"===n.attr("aria-expanded"))))})})}(jQuery);
|
||||
(s=>{s(function(){s(".accordion-container").on("click",".accordion-section-title button",function(){var n,e,o,a,t,i;n=s(this),e=n.closest(".accordion-section"),o=e.closest(".accordion-container"),a=o.find(".open"),t=a.find("[aria-expanded]").first(),i=e.find(".accordion-section-content"),e.hasClass("cannot-expand")||(o.addClass("opening"),e.hasClass("open")?(e.toggleClass("open"),i.toggle(!0).slideToggle(150)):(t.attr("aria-expanded","false"),a.removeClass("open"),a.find(".accordion-section-content").show().slideUp(150),i.toggle(!1).slideToggle(150),e.toggleClass("open")),setTimeout(function(){o.removeClass("opening")},150),n&&n.attr("aria-expanded",String("false"===n.attr("aria-expanded"))))})})})(jQuery);
|
2
wp-admin/js/application-passwords.min.js
vendored
2
wp-admin/js/application-passwords.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(o){var a=o("#application-passwords-section"),i=a.find(".create-application-password"),t=i.find(".input"),n=i.find(".button"),p=a.find(".application-passwords-list-table-wrapper"),r=a.find("tbody"),d=r.find(".no-items"),e=o("#revoke-all-application-passwords"),l=wp.template("new-application-password"),c=wp.template("application-password-row"),u=o("#user_id").val();function w(e,s,a){f(a=e.responseJSON&&e.responseJSON.message?e.responseJSON.message:a,"error")}function f(e,s){s=o("<div></div>").attr("role","alert").attr("tabindex","-1").addClass("is-dismissible notice notice-"+s).append(o("<p></p>").text(e)).append(o("<button></button>").attr("type","button").addClass("notice-dismiss").append(o("<span></span>").addClass("screen-reader-text").text(wp.i18n.__("Dismiss this notice."))));return i.after(s),s}function v(){o(".notice",a).remove()}n.on("click",function(e){var s;e.preventDefault(),n.prop("aria-disabled")||(0===(e=t.val()).length?t.trigger("focus"):(v(),n.prop("aria-disabled",!0).addClass("disabled"),s={name:e},s=wp.hooks.applyFilters("wp_application_passwords_new_password_request",s,u),wp.apiRequest({path:"/wp/v2/users/"+u+"/application-passwords?_locale=user",method:"POST",data:s}).always(function(){n.removeProp("aria-disabled").removeClass("disabled")}).done(function(e){t.val(""),n.prop("disabled",!1),i.after(l({name:e.name,password:e.password})),o(".new-application-password-notice").attr("tabindex","-1").trigger("focus"),r.prepend(c(e)),p.show(),d.remove(),wp.hooks.doAction("wp_application_passwords_created_password",e,s)}).fail(w)))}),r.on("click",".delete",function(e){var s,a;e.preventDefault(),window.confirm(wp.i18n.__("Are you sure you want to revoke this password? This action cannot be undone."))&&(s=o(this),e=(a=s.closest("tr")).data("uuid"),v(),s.prop("disabled",!0),wp.apiRequest({path:"/wp/v2/users/"+u+"/application-passwords/"+e+"?_locale=user",method:"DELETE"}).always(function(){s.prop("disabled",!1)}).done(function(e){e.deleted&&(0===a.siblings().length&&p.hide(),a.remove(),f(wp.i18n.__("Application password revoked."),"success").trigger("focus"))}).fail(w))}),e.on("click",function(e){var s;e.preventDefault(),window.confirm(wp.i18n.__("Are you sure you want to revoke all passwords? This action cannot be undone."))&&(s=o(this),v(),s.prop("disabled",!0),wp.apiRequest({path:"/wp/v2/users/"+u+"/application-passwords?_locale=user",method:"DELETE"}).always(function(){s.prop("disabled",!1)}).done(function(e){e.deleted&&(r.children().remove(),a.children(".new-application-password").remove(),p.hide(),f(wp.i18n.__("All application passwords revoked."),"success").trigger("focus"))}).fail(w))}),a.on("click",".notice-dismiss",function(e){e.preventDefault();var s=o(this).parent();s.removeAttr("role"),s.fadeTo(100,0,function(){s.slideUp(100,function(){s.remove(),t.trigger("focus")})})}),t.on("keypress",function(e){13===e.which&&(e.preventDefault(),n.trigger("click"))}),0===r.children("tr").not(d).length&&p.hide()}(jQuery);
|
||||
(o=>{var a=o("#application-passwords-section"),i=a.find(".create-application-password"),t=i.find(".input"),n=i.find(".button"),p=a.find(".application-passwords-list-table-wrapper"),r=a.find("tbody"),d=r.find(".no-items"),e=o("#revoke-all-application-passwords"),l=wp.template("new-application-password"),c=wp.template("application-password-row"),u=o("#user_id").val();function w(e,s,a){f(a=e.responseJSON&&e.responseJSON.message?e.responseJSON.message:a,"error")}function f(e,s){s=o("<div></div>").attr("role","alert").attr("tabindex","-1").addClass("is-dismissible notice notice-"+s).append(o("<p></p>").text(e)).append(o("<button></button>").attr("type","button").addClass("notice-dismiss").append(o("<span></span>").addClass("screen-reader-text").text(wp.i18n.__("Dismiss this notice."))));return i.after(s),s}function v(){o(".notice",a).remove()}n.on("click",function(e){var s;e.preventDefault(),n.prop("aria-disabled")||(0===(e=t.val()).length?t.trigger("focus"):(v(),n.prop("aria-disabled",!0).addClass("disabled"),s={name:e},s=wp.hooks.applyFilters("wp_application_passwords_new_password_request",s,u),wp.apiRequest({path:"/wp/v2/users/"+u+"/application-passwords?_locale=user",method:"POST",data:s}).always(function(){n.removeProp("aria-disabled").removeClass("disabled")}).done(function(e){t.val(""),n.prop("disabled",!1),i.after(l({name:e.name,password:e.password})),o(".new-application-password-notice").attr("tabindex","-1").trigger("focus"),r.prepend(c(e)),p.show(),d.remove(),wp.hooks.doAction("wp_application_passwords_created_password",e,s)}).fail(w)))}),r.on("click",".delete",function(e){var s,a;e.preventDefault(),window.confirm(wp.i18n.__("Are you sure you want to revoke this password? This action cannot be undone."))&&(s=o(this),e=(a=s.closest("tr")).data("uuid"),v(),s.prop("disabled",!0),wp.apiRequest({path:"/wp/v2/users/"+u+"/application-passwords/"+e+"?_locale=user",method:"DELETE"}).always(function(){s.prop("disabled",!1)}).done(function(e){e.deleted&&(0===a.siblings().length&&p.hide(),a.remove(),f(wp.i18n.__("Application password revoked."),"success").trigger("focus"))}).fail(w))}),e.on("click",function(e){var s;e.preventDefault(),window.confirm(wp.i18n.__("Are you sure you want to revoke all passwords? This action cannot be undone."))&&(s=o(this),v(),s.prop("disabled",!0),wp.apiRequest({path:"/wp/v2/users/"+u+"/application-passwords?_locale=user",method:"DELETE"}).always(function(){s.prop("disabled",!1)}).done(function(e){e.deleted&&(r.children().remove(),a.children(".new-application-password").remove(),p.hide(),f(wp.i18n.__("All application passwords revoked."),"success").trigger("focus"))}).fail(w))}),a.on("click",".notice-dismiss",function(e){e.preventDefault();var s=o(this).parent();s.removeAttr("role"),s.fadeTo(100,0,function(){s.slideUp(100,function(){s.remove(),t.trigger("focus")})})}),t.on("keypress",function(e){13===e.which&&(e.preventDefault(),n.trigger("click"))}),0===r.children("tr").not(d).length&&p.hide()})(jQuery);
|
2
wp-admin/js/auth-app.min.js
vendored
2
wp-admin/js/auth-app.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(t,s){var p=t("#app_name"),r=t("#approve"),e=t("#reject"),n=p.closest("form"),i={userLogin:s.user_login,successUrl:s.success,rejectUrl:s.reject};r.on("click",function(e){var a=p.val(),o=t('input[name="app_id"]',n).val();e.preventDefault(),r.prop("aria-disabled")||(0===a.length?p.trigger("focus"):(r.prop("aria-disabled",!0).addClass("disabled"),e={name:a},0<o.length&&(e.app_id=o),e=wp.hooks.applyFilters("wp_application_passwords_approve_app_request",e,i),wp.apiRequest({path:"/wp/v2/users/me/application-passwords?_locale=user",method:"POST",data:e}).done(function(e,a,o){wp.hooks.doAction("wp_application_passwords_approve_app_request_success",e,a,o);var a=s.success;a?(o=a+(-1===a.indexOf("?")?"?":"&")+"site_url="+encodeURIComponent(s.site_url)+"&user_login="+encodeURIComponent(s.user_login)+"&password="+encodeURIComponent(e.password),window.location=o):(a=wp.i18n.sprintf('<label for="new-application-password-value">'+wp.i18n.__("Your new password for %s is:")+"</label>","<strong></strong>")+' <input id="new-application-password-value" type="text" class="code" readonly="readonly" value="" />',o=t("<div></div>").attr("role","alert").attr("tabindex",-1).addClass("notice notice-success notice-alt").append(t("<p></p>").addClass("application-password-display").html(a)).append("<p>"+wp.i18n.__("Be sure to save this in a safe location. You will not be able to retrieve it.")+"</p>"),t("strong",o).text(e.name),t("input",o).val(e.password),n.replaceWith(o),o.trigger("focus"))}).fail(function(e,a,o){var s=o,p=null,s=(e.responseJSON&&(p=e.responseJSON).message&&(s=p.message),t("<div></div>").attr("role","alert").addClass("notice notice-error").append(t("<p></p>").text(s)));t("h1").after(s),r.removeProp("aria-disabled",!1).removeClass("disabled"),wp.hooks.doAction("wp_application_passwords_approve_app_request_error",p,a,o,e)})))}),e.on("click",function(e){e.preventDefault(),wp.hooks.doAction("wp_application_passwords_reject_app",i),window.location=s.reject}),n.on("submit",function(e){e.preventDefault()})}(jQuery,authApp);
|
||||
((t,s)=>{var p=t("#app_name"),r=t("#approve"),e=t("#reject"),n=p.closest("form"),i={userLogin:s.user_login,successUrl:s.success,rejectUrl:s.reject};r.on("click",function(e){var a=p.val(),o=t('input[name="app_id"]',n).val();e.preventDefault(),r.prop("aria-disabled")||(0===a.length?p.trigger("focus"):(r.prop("aria-disabled",!0).addClass("disabled"),e={name:a},0<o.length&&(e.app_id=o),e=wp.hooks.applyFilters("wp_application_passwords_approve_app_request",e,i),wp.apiRequest({path:"/wp/v2/users/me/application-passwords?_locale=user",method:"POST",data:e}).done(function(e,a,o){wp.hooks.doAction("wp_application_passwords_approve_app_request_success",e,a,o);var a=s.success;a?(o=a+(-1===a.indexOf("?")?"?":"&")+"site_url="+encodeURIComponent(s.site_url)+"&user_login="+encodeURIComponent(s.user_login)+"&password="+encodeURIComponent(e.password),window.location=o):(a=wp.i18n.sprintf('<label for="new-application-password-value">'+wp.i18n.__("Your new password for %s is:")+"</label>","<strong></strong>")+' <input id="new-application-password-value" type="text" class="code" readonly="readonly" value="" />',o=t("<div></div>").attr("role","alert").attr("tabindex",-1).addClass("notice notice-success notice-alt").append(t("<p></p>").addClass("application-password-display").html(a)).append("<p>"+wp.i18n.__("Be sure to save this in a safe location. You will not be able to retrieve it.")+"</p>"),t("strong",o).text(e.name),t("input",o).val(e.password),n.replaceWith(o),o.trigger("focus"))}).fail(function(e,a,o){var s=o,p=null,s=(e.responseJSON&&(p=e.responseJSON).message&&(s=p.message),t("<div></div>").attr("role","alert").addClass("notice notice-error").append(t("<p></p>").text(s)));t("h1").after(s),r.removeProp("aria-disabled",!1).removeClass("disabled"),wp.hooks.doAction("wp_application_passwords_approve_app_request_error",p,a,o,e)})))}),e.on("click",function(e){e.preventDefault(),wp.hooks.doAction("wp_application_passwords_reject_app",i),window.location=s.reject}),n.on("submit",function(e){e.preventDefault()})})(jQuery,authApp);
|
2
wp-admin/js/code-editor.min.js
vendored
2
wp-admin/js/code-editor.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
void 0===window.wp&&(window.wp={}),void 0===window.wp.codeEditor&&(window.wp.codeEditor={}),function(u,d){"use strict";function s(r,s){var a=[],d=[];function c(){s.onUpdateErrorNotice&&!_.isEqual(a,d)&&(s.onUpdateErrorNotice(a,r),d=a)}function i(){var i,t=r.getOption("lint");return!!t&&(!0===t?t={}:_.isObject(t)&&(t=u.extend({},t)),t.options||(t.options={}),"javascript"===s.codemirror.mode&&s.jshint&&u.extend(t.options,s.jshint),"css"===s.codemirror.mode&&s.csslint&&u.extend(t.options,s.csslint),"htmlmixed"===s.codemirror.mode&&s.htmlhint&&(t.options.rules=u.extend({},s.htmlhint),s.jshint&&(t.options.rules.jshint=s.jshint),s.csslint)&&(t.options.rules.csslint=s.csslint),t.onUpdateLinting=(i=t.onUpdateLinting,function(t,e,n){var o=_.filter(t,function(t){return"error"===t.severity});i&&i.apply(t,e,n),!_.isEqual(o,a)&&(a=o,s.onChangeLintingErrors&&s.onChangeLintingErrors(o,t,e,n),!r.state.focused||0===a.length||0<d.length)&&c()}),t)}r.setOption("lint",i()),r.on("optionChange",function(t,e){var n,o="CodeMirror-lint-markers";"lint"===e&&(e=r.getOption("gutters")||[],!0===(n=r.getOption("lint"))?(_.contains(e,o)||r.setOption("gutters",[o].concat(e)),r.setOption("lint",i())):n||r.setOption("gutters",_.without(e,o)),r.getOption("lint")?r.performLint():(a=[],c()))}),r.on("blur",c),r.on("startCompletion",function(){r.off("blur",c)}),r.on("endCompletion",function(){r.on("blur",c),_.delay(function(){r.state.focused||c()},500)}),u(document.body).on("mousedown",function(t){!r.state.focused||u.contains(r.display.wrapper,t.target)||u(t.target).hasClass("CodeMirror-hint")||c()})}d.codeEditor.defaultSettings={codemirror:{},csslint:{},htmlhint:{},jshint:{},onTabNext:function(){},onTabPrevious:function(){},onChangeLintingErrors:function(){},onUpdateErrorNotice:function(){}},d.codeEditor.initialize=function(t,e){var a,n,o,i,t=u("string"==typeof t?"#"+t:t),r=u.extend({},d.codeEditor.defaultSettings,e);return r.codemirror=u.extend({},r.codemirror),s(a=d.CodeMirror.fromTextArea(t[0],r.codemirror),r),t={settings:r,codemirror:a},a.showHint&&a.on("keyup",function(t,e){var n,o,i,r,s=/^[a-zA-Z]$/.test(e.key);a.state.completionActive&&s||"string"!==(r=a.getTokenAt(a.getCursor())).type&&"comment"!==r.type&&(i=d.CodeMirror.innerMode(a.getMode(),r.state).mode.name,o=a.doc.getLine(a.doc.getCursor().line).substr(0,a.doc.getCursor().ch),"html"===i||"xml"===i?n="<"===e.key||"/"===e.key&&"tag"===r.type||s&&"tag"===r.type||s&&"attribute"===r.type||"="===r.string&&r.state.htmlState&&r.state.htmlState.tagName:"css"===i?n=s||":"===e.key||" "===e.key&&/:\s+$/.test(o):"javascript"===i?n=s||"."===e.key:"clike"===i&&"php"===a.options.mode&&(n="keyword"===r.type||"variable"===r.type),n)&&a.showHint({completeSingle:!1})}),o=e,i=u((n=a).getTextArea()),n.on("blur",function(){i.data("next-tab-blurs",!1)}),n.on("keydown",function(t,e){27===e.keyCode?i.data("next-tab-blurs",!0):9===e.keyCode&&i.data("next-tab-blurs")&&(e.shiftKey?o.onTabPrevious(n,e):o.onTabNext(n,e),i.data("next-tab-blurs",!1),e.preventDefault())}),t}}(window.jQuery,window.wp);
|
||||
void 0===window.wp&&(window.wp={}),void 0===window.wp.codeEditor&&(window.wp.codeEditor={}),((u,d)=>{function s(r,s){var a=[],d=[];function c(){s.onUpdateErrorNotice&&!_.isEqual(a,d)&&(s.onUpdateErrorNotice(a,r),d=a)}function i(){var i,t=r.getOption("lint");return!!t&&(!0===t?t={}:_.isObject(t)&&(t=u.extend({},t)),t.options||(t.options={}),"javascript"===s.codemirror.mode&&s.jshint&&u.extend(t.options,s.jshint),"css"===s.codemirror.mode&&s.csslint&&u.extend(t.options,s.csslint),"htmlmixed"===s.codemirror.mode&&s.htmlhint&&(t.options.rules=u.extend({},s.htmlhint),s.jshint&&(t.options.rules.jshint=s.jshint),s.csslint)&&(t.options.rules.csslint=s.csslint),t.onUpdateLinting=(i=t.onUpdateLinting,function(t,e,n){var o=_.filter(t,function(t){return"error"===t.severity});i&&i.apply(t,e,n),!_.isEqual(o,a)&&(a=o,s.onChangeLintingErrors&&s.onChangeLintingErrors(o,t,e,n),!r.state.focused||0===a.length||0<d.length)&&c()}),t)}r.setOption("lint",i()),r.on("optionChange",function(t,e){var n,o="CodeMirror-lint-markers";"lint"===e&&(e=r.getOption("gutters")||[],!0===(n=r.getOption("lint"))?(_.contains(e,o)||r.setOption("gutters",[o].concat(e)),r.setOption("lint",i())):n||r.setOption("gutters",_.without(e,o)),r.getOption("lint")?r.performLint():(a=[],c()))}),r.on("blur",c),r.on("startCompletion",function(){r.off("blur",c)}),r.on("endCompletion",function(){r.on("blur",c),_.delay(function(){r.state.focused||c()},500)}),u(document.body).on("mousedown",function(t){!r.state.focused||u.contains(r.display.wrapper,t.target)||u(t.target).hasClass("CodeMirror-hint")||c()})}d.codeEditor.defaultSettings={codemirror:{},csslint:{},htmlhint:{},jshint:{},onTabNext:function(){},onTabPrevious:function(){},onChangeLintingErrors:function(){},onUpdateErrorNotice:function(){}},d.codeEditor.initialize=function(t,e){var a,n,o,i,t=u("string"==typeof t?"#"+t:t),r=u.extend({},d.codeEditor.defaultSettings,e);return r.codemirror=u.extend({},r.codemirror),s(a=d.CodeMirror.fromTextArea(t[0],r.codemirror),r),t={settings:r,codemirror:a},a.showHint&&a.on("keyup",function(t,e){var n,o,i,r,s=/^[a-zA-Z]$/.test(e.key);a.state.completionActive&&s||"string"!==(r=a.getTokenAt(a.getCursor())).type&&"comment"!==r.type&&(i=d.CodeMirror.innerMode(a.getMode(),r.state).mode.name,o=a.doc.getLine(a.doc.getCursor().line).substr(0,a.doc.getCursor().ch),"html"===i||"xml"===i?n="<"===e.key||"/"===e.key&&"tag"===r.type||s&&"tag"===r.type||s&&"attribute"===r.type||"="===r.string&&r.state.htmlState&&r.state.htmlState.tagName:"css"===i?n=s||":"===e.key||" "===e.key&&/:\s+$/.test(o):"javascript"===i?n=s||"."===e.key:"clike"===i&&"php"===a.options.mode&&(n="keyword"===r.type||"variable"===r.type),n)&&a.showHint({completeSingle:!1})}),o=e,i=u((n=a).getTextArea()),n.on("blur",function(){i.data("next-tab-blurs",!1)}),n.on("keydown",function(t,e){27===e.keyCode?i.data("next-tab-blurs",!0):9===e.keyCode&&i.data("next-tab-blurs")&&(e.shiftKey?o.onTabPrevious(n,e):o.onTabNext(n,e),i.data("next-tab-blurs",!1),e.preventDefault())}),t}})(window.jQuery,window.wp);
|
2
wp-admin/js/color-picker.min.js
vendored
2
wp-admin/js/color-picker.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(i,t){var a=wp.i18n.__;i.widget("wp.wpColorPicker",{options:{defaultColor:!1,change:!1,clear:!1,hide:!0,palettes:!0,width:255,mode:"hsv",type:"full",slider:"horizontal"},_createHueOnly:function(){var e,o=this,t=o.element;t.hide(),e="hsl("+t.val()+", 100, 50)",t.iris({mode:"hsl",type:"hue",hide:!1,color:e,change:function(e,t){"function"==typeof o.options.change&&o.options.change.call(this,e,t)},width:o.options.width,slider:o.options.slider})},_create:function(){if(i.support.iris){var o=this,e=o.element;if(i.extend(o.options,e.data()),"hue"===o.options.type)return o._createHueOnly();o.close=o.close.bind(o),o.initialValue=e.val(),e.addClass("wp-color-picker"),e.parent("label").length||(e.wrap("<label></label>"),o.wrappingLabelText=i('<span class="screen-reader-text"></span>').insertBefore(e).text(a("Color value"))),o.wrappingLabel=e.parent(),o.wrappingLabel.wrap('<div class="wp-picker-container" />'),o.wrap=o.wrappingLabel.parent(),o.toggler=i('<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>').insertBefore(o.wrappingLabel).css({backgroundColor:o.initialValue}),o.toggler.find(".wp-color-result-text").text(a("Select Color")),o.pickerContainer=i('<div class="wp-picker-holder" />').insertAfter(o.wrappingLabel),o.button=i('<input type="button" class="button button-small" />'),o.options.defaultColor?o.button.addClass("wp-picker-default").val(a("Default")).attr("aria-label",a("Select default color")):o.button.addClass("wp-picker-clear").val(a("Clear")).attr("aria-label",a("Clear color")),o.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(o.button),o.inputWrapper=e.closest(".wp-picker-input-wrap"),e.iris({target:o.pickerContainer,hide:o.options.hide,width:o.options.width,mode:o.options.mode,palettes:o.options.palettes,change:function(e,t){o.toggler.css({backgroundColor:t.color.toString()}),"function"==typeof o.options.change&&o.options.change.call(this,e,t)}}),e.val(o.initialValue),o._addListeners(),o.options.hide||o.toggler.click()}},_addListeners:function(){var o=this;o.wrap.on("click.wpcolorpicker",function(e){e.stopPropagation()}),o.toggler.on("click",function(){o.toggler.hasClass("wp-picker-open")?o.close():o.open()}),o.element.on("change",function(e){var t=i(this).val();""!==t&&"#"!==t||(o.toggler.css("backgroundColor",""),"function"==typeof o.options.clear&&o.options.clear.call(this,e))}),o.button.on("click",function(e){var t=i(this);t.hasClass("wp-picker-clear")?(o.element.val(""),o.toggler.css("backgroundColor",""),"function"==typeof o.options.clear&&o.options.clear.call(this,e)):t.hasClass("wp-picker-default")&&o.element.val(o.options.defaultColor).change()})},open:function(){this.element.iris("toggle"),this.inputWrapper.removeClass("hidden"),this.wrap.addClass("wp-picker-active"),this.toggler.addClass("wp-picker-open").attr("aria-expanded","true"),i("body").trigger("click.wpcolorpicker").on("click.wpcolorpicker",this.close)},close:function(){this.element.iris("toggle"),this.inputWrapper.addClass("hidden"),this.wrap.removeClass("wp-picker-active"),this.toggler.removeClass("wp-picker-open").attr("aria-expanded","false"),i("body").off("click.wpcolorpicker",this.close)},color:function(e){if(e===t)return this.element.iris("option","color");this.element.iris("option","color",e)},defaultColor:function(e){if(e===t)return this.options.defaultColor;this.options.defaultColor=e}})}(jQuery);
|
||||
((i,t)=>{var a=wp.i18n.__;i.widget("wp.wpColorPicker",{options:{defaultColor:!1,change:!1,clear:!1,hide:!0,palettes:!0,width:255,mode:"hsv",type:"full",slider:"horizontal"},_createHueOnly:function(){var e,o=this,t=o.element;t.hide(),e="hsl("+t.val()+", 100, 50)",t.iris({mode:"hsl",type:"hue",hide:!1,color:e,change:function(e,t){"function"==typeof o.options.change&&o.options.change.call(this,e,t)},width:o.options.width,slider:o.options.slider})},_create:function(){if(i.support.iris){var o=this,e=o.element;if(i.extend(o.options,e.data()),"hue"===o.options.type)return o._createHueOnly();o.close=o.close.bind(o),o.initialValue=e.val(),e.addClass("wp-color-picker"),e.parent("label").length||(e.wrap("<label></label>"),o.wrappingLabelText=i('<span class="screen-reader-text"></span>').insertBefore(e).text(a("Color value"))),o.wrappingLabel=e.parent(),o.wrappingLabel.wrap('<div class="wp-picker-container" />'),o.wrap=o.wrappingLabel.parent(),o.toggler=i('<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>').insertBefore(o.wrappingLabel).css({backgroundColor:o.initialValue}),o.toggler.find(".wp-color-result-text").text(a("Select Color")),o.pickerContainer=i('<div class="wp-picker-holder" />').insertAfter(o.wrappingLabel),o.button=i('<input type="button" class="button button-small" />'),o.options.defaultColor?o.button.addClass("wp-picker-default").val(a("Default")).attr("aria-label",a("Select default color")):o.button.addClass("wp-picker-clear").val(a("Clear")).attr("aria-label",a("Clear color")),o.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(o.button),o.inputWrapper=e.closest(".wp-picker-input-wrap"),e.iris({target:o.pickerContainer,hide:o.options.hide,width:o.options.width,mode:o.options.mode,palettes:o.options.palettes,change:function(e,t){o.toggler.css({backgroundColor:t.color.toString()}),"function"==typeof o.options.change&&o.options.change.call(this,e,t)}}),e.val(o.initialValue),o._addListeners(),o.options.hide||o.toggler.click()}},_addListeners:function(){var o=this;o.wrap.on("click.wpcolorpicker",function(e){e.stopPropagation()}),o.toggler.on("click",function(){o.toggler.hasClass("wp-picker-open")?o.close():o.open()}),o.element.on("change",function(e){var t=i(this).val();""!==t&&"#"!==t||(o.toggler.css("backgroundColor",""),"function"==typeof o.options.clear&&o.options.clear.call(this,e))}),o.button.on("click",function(e){var t=i(this);t.hasClass("wp-picker-clear")?(o.element.val(""),o.toggler.css("backgroundColor",""),"function"==typeof o.options.clear&&o.options.clear.call(this,e)):t.hasClass("wp-picker-default")&&o.element.val(o.options.defaultColor).change()})},open:function(){this.element.iris("toggle"),this.inputWrapper.removeClass("hidden"),this.wrap.addClass("wp-picker-active"),this.toggler.addClass("wp-picker-open").attr("aria-expanded","true"),i("body").trigger("click.wpcolorpicker").on("click.wpcolorpicker",this.close)},close:function(){this.element.iris("toggle"),this.inputWrapper.addClass("hidden"),this.wrap.removeClass("wp-picker-active"),this.toggler.removeClass("wp-picker-open").attr("aria-expanded","false"),i("body").off("click.wpcolorpicker",this.close)},color:function(e){if(e===t)return this.element.iris("option","color");this.element.iris("option","color",e)},defaultColor:function(e){if(e===t)return this.options.defaultColor;this.options.defaultColor=e}})})(jQuery);
|
2
wp-admin/js/common.min.js
vendored
2
wp-admin/js/common.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/custom-background.min.js
vendored
2
wp-admin/js/custom-background.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(e){e(function(){var c,a=e("#custom-background-image");e("#background-color").wpColorPicker({change:function(n,o){a.css("background-color",o.color.toString())},clear:function(){a.css("background-color","")}}),e('select[name="background-size"]').on("change",function(){a.css("background-size",e(this).val())}),e('input[name="background-position"]').on("change",function(){a.css("background-position",e(this).val())}),e('input[name="background-repeat"]').on("change",function(){a.css("background-repeat",e(this).is(":checked")?"repeat":"no-repeat")}),e('input[name="background-attachment"]').on("change",function(){a.css("background-attachment",e(this).is(":checked")?"scroll":"fixed")}),e("#choose-from-library-link").on("click",function(n){var o=e(this);n.preventDefault(),c||(c=wp.media.frames.customBackground=wp.media({title:o.data("choose"),library:{type:"image"},button:{text:o.data("update"),close:!1}})).on("select",function(){var n=c.state().get("selection").first(),o=e("#_wpnonce").val()||"";e.post(ajaxurl,{action:"set-background-image",attachment_id:n.id,_ajax_nonce:o,size:"full"}).done(function(){window.location.reload()})}),c.open()})})}(jQuery);
|
||||
(e=>{e(function(){var c,a=e("#custom-background-image");e("#background-color").wpColorPicker({change:function(n,o){a.css("background-color",o.color.toString())},clear:function(){a.css("background-color","")}}),e('select[name="background-size"]').on("change",function(){a.css("background-size",e(this).val())}),e('input[name="background-position"]').on("change",function(){a.css("background-position",e(this).val())}),e('input[name="background-repeat"]').on("change",function(){a.css("background-repeat",e(this).is(":checked")?"repeat":"no-repeat")}),e('input[name="background-attachment"]').on("change",function(){a.css("background-attachment",e(this).is(":checked")?"scroll":"fixed")}),e("#choose-from-library-link").on("click",function(n){var o=e(this);n.preventDefault(),c||(c=wp.media.frames.customBackground=wp.media({title:o.data("choose"),library:{type:"image"},button:{text:o.data("update"),close:!1}})).on("select",function(){var n=c.state().get("selection").first(),o=e("#_wpnonce").val()||"";e.post(ajaxurl,{action:"set-background-image",attachment_id:n.id,_ajax_nonce:o,size:"full"}).done(function(){window.location.reload()})}),c.open()})})})(jQuery);
|
2
wp-admin/js/customize-controls.min.js
vendored
2
wp-admin/js/customize-controls.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/customize-nav-menus.min.js
vendored
2
wp-admin/js/customize-nav-menus.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/customize-widgets.min.js
vendored
2
wp-admin/js/customize-widgets.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/dashboard.min.js
vendored
2
wp-admin/js/dashboard.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/edit-comments.min.js
vendored
2
wp-admin/js/edit-comments.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/editor-expand.min.js
vendored
2
wp-admin/js/editor-expand.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/editor.min.js
vendored
2
wp-admin/js/editor.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/image-edit.min.js
vendored
2
wp-admin/js/image-edit.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/inline-edit-post.min.js
vendored
2
wp-admin/js/inline-edit-post.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/inline-edit-tax.min.js
vendored
2
wp-admin/js/inline-edit-tax.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
window.wp=window.wp||{},function(s,l){window.inlineEditTax={init:function(){var t=this,i=s("#inline-edit");t.type=s("#the-list").attr("data-wp-lists").substr(5),t.what="#"+t.type+"-",s("#the-list").on("click",".editinline",function(){s(this).attr("aria-expanded","true"),inlineEditTax.edit(this)}),i.on("keyup",function(t){if(27===t.which)return inlineEditTax.revert()}),s(".cancel",i).on("click",function(){return inlineEditTax.revert()}),s(".save",i).on("click",function(){return inlineEditTax.save(this)}),s("input, select",i).on("keydown",function(t){if(13===t.which)return inlineEditTax.save(this)}),s('#posts-filter input[type="submit"]').on("mousedown",function(){t.revert()})},toggle:function(t){var i=this;"none"===s(i.what+i.getId(t)).css("display")?i.revert():i.edit(t)},edit:function(t){var i,e,n=this;return n.revert(),"object"==typeof t&&(t=n.getId(t)),i=s("#inline-edit").clone(!0),e=s("#inline_"+t),s("td",i).attr("colspan",s("th:visible, td:visible",".wp-list-table.widefat:first thead").length),s(n.what+t).hide().after(i).after('<tr class="hidden"></tr>'),(n=s(".name",e)).find("img").replaceWith(function(){return this.alt}),n=n.text(),s(':input[name="name"]',i).val(n),(n=s(".slug",e)).find("img").replaceWith(function(){return this.alt}),n=n.text(),s(':input[name="slug"]',i).val(n),s(i).attr("id","edit-"+t).addClass("inline-editor").show(),s(".ptitle",i).eq(0).trigger("focus"),!1},save:function(d){var t=s('input[name="taxonomy"]').val()||"";return"object"==typeof d&&(d=this.getId(d)),s("table.widefat .spinner").addClass("is-active"),t={action:"inline-save-tax",tax_type:this.type,tax_ID:d,taxonomy:t},t=s("#edit-"+d).find(":input").serialize()+"&"+s.param(t),s.post(ajaxurl,t,function(t){var i,e,n,a=s("#edit-"+d+" .inline-edit-save .notice-error"),r=a.find(".error");s("table.widefat .spinner").removeClass("is-active"),t?-1!==t.indexOf("<tr")?(s(inlineEditTax.what+d).siblings("tr.hidden").addBack().remove(),e=s(t).attr("id"),s("#edit-"+d).before(t).remove(),i=e?(n=e.replace(inlineEditTax.type+"-",""),s("#"+e)):(n=d,s(inlineEditTax.what+d)),s("#parent").find("option[value="+n+"]").text(i.find(".row-title").text()),i.hide().fadeIn(400,function(){i.find(".editinline").attr("aria-expanded","false").trigger("focus"),l.a11y.speak(l.i18n.__("Changes saved."))})):(a.removeClass("hidden"),r.html(t),l.a11y.speak(r.text())):(a.removeClass("hidden"),r.text(l.i18n.__("Error while saving the changes.")),l.a11y.speak(l.i18n.__("Error while saving the changes.")))}),!1},revert:function(){var t=s("table.widefat tr.inline-editor").attr("id");t&&(s("table.widefat .spinner").removeClass("is-active"),s("#"+t).siblings("tr.hidden").addBack().remove(),t=t.substr(t.lastIndexOf("-")+1),s(this.what+t).show().find(".editinline").attr("aria-expanded","false").trigger("focus"))},getId:function(t){t=("TR"===t.tagName?t.id:s(t).parents("tr").attr("id")).split("-");return t[t.length-1]}},s(function(){inlineEditTax.init()})}(jQuery,window.wp);
|
||||
window.wp=window.wp||{},((s,l)=>{window.inlineEditTax={init:function(){var t=this,i=s("#inline-edit");t.type=s("#the-list").attr("data-wp-lists").substr(5),t.what="#"+t.type+"-",s("#the-list").on("click",".editinline",function(){s(this).attr("aria-expanded","true"),inlineEditTax.edit(this)}),i.on("keyup",function(t){if(27===t.which)return inlineEditTax.revert()}),s(".cancel",i).on("click",function(){return inlineEditTax.revert()}),s(".save",i).on("click",function(){return inlineEditTax.save(this)}),s("input, select",i).on("keydown",function(t){if(13===t.which)return inlineEditTax.save(this)}),s('#posts-filter input[type="submit"]').on("mousedown",function(){t.revert()})},toggle:function(t){var i=this;"none"===s(i.what+i.getId(t)).css("display")?i.revert():i.edit(t)},edit:function(t){var i,e,n=this;return n.revert(),"object"==typeof t&&(t=n.getId(t)),i=s("#inline-edit").clone(!0),e=s("#inline_"+t),s("td",i).attr("colspan",s("th:visible, td:visible",".wp-list-table.widefat:first thead").length),s(n.what+t).hide().after(i).after('<tr class="hidden"></tr>'),(n=s(".name",e)).find("img").replaceWith(function(){return this.alt}),n=n.text(),s(':input[name="name"]',i).val(n),(n=s(".slug",e)).find("img").replaceWith(function(){return this.alt}),n=n.text(),s(':input[name="slug"]',i).val(n),s(i).attr("id","edit-"+t).addClass("inline-editor").show(),s(".ptitle",i).eq(0).trigger("focus"),!1},save:function(d){var t=s('input[name="taxonomy"]').val()||"";return"object"==typeof d&&(d=this.getId(d)),s("table.widefat .spinner").addClass("is-active"),t={action:"inline-save-tax",tax_type:this.type,tax_ID:d,taxonomy:t},t=s("#edit-"+d).find(":input").serialize()+"&"+s.param(t),s.post(ajaxurl,t,function(t){var i,e,n,a=s("#edit-"+d+" .inline-edit-save .notice-error"),r=a.find(".error");s("table.widefat .spinner").removeClass("is-active"),t?-1!==t.indexOf("<tr")?(s(inlineEditTax.what+d).siblings("tr.hidden").addBack().remove(),e=s(t).attr("id"),s("#edit-"+d).before(t).remove(),i=e?(n=e.replace(inlineEditTax.type+"-",""),s("#"+e)):(n=d,s(inlineEditTax.what+d)),s("#parent").find("option[value="+n+"]").text(i.find(".row-title").text()),i.hide().fadeIn(400,function(){i.find(".editinline").attr("aria-expanded","false").trigger("focus"),l.a11y.speak(l.i18n.__("Changes saved."))})):(a.removeClass("hidden"),r.html(t),l.a11y.speak(r.text())):(a.removeClass("hidden"),r.text(l.i18n.__("Error while saving the changes.")),l.a11y.speak(l.i18n.__("Error while saving the changes.")))}),!1},revert:function(){var t=s("table.widefat tr.inline-editor").attr("id");t&&(s("table.widefat .spinner").removeClass("is-active"),s("#"+t).siblings("tr.hidden").addBack().remove(),t=t.substr(t.lastIndexOf("-")+1),s(this.what+t).show().find(".editinline").attr("aria-expanded","false").trigger("focus"))},getId:function(t){t=("TR"===t.tagName?t.id:s(t).parents("tr").attr("id")).split("-");return t[t.length-1]}},s(function(){inlineEditTax.init()})})(jQuery,window.wp);
|
2
wp-admin/js/media-upload.min.js
vendored
2
wp-admin/js/media-upload.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
window.send_to_editor=function(t){var e,i="undefined"!=typeof tinymce,n="undefined"!=typeof QTags;if(wpActiveEditor)i&&(e=tinymce.get(wpActiveEditor));else if(i&&tinymce.activeEditor)e=tinymce.activeEditor,window.wpActiveEditor=e.id;else if(!n)return!1;if(e&&!e.isHidden()?e.execCommand("mceInsertContent",!1,t):n?QTags.insertContent(t):document.getElementById(wpActiveEditor).value+=t,window.tb_remove)try{window.tb_remove()}catch(t){}},function(d){window.tb_position=function(){var t=d("#TB_window"),e=d(window).width(),i=d(window).height(),n=833<e?833:e,o=0;return d("#wpadminbar").length&&(o=parseInt(d("#wpadminbar").css("height"),10)),t.length&&(t.width(n-50).height(i-45-o),d("#TB_iframeContent").width(n-50).height(i-75-o),t.css({"margin-left":"-"+parseInt((n-50)/2,10)+"px"}),void 0!==document.body.style.maxWidth)&&t.css({top:20+o+"px","margin-top":"0"}),d("a.thickbox").each(function(){var t=d(this).attr("href");t&&(t=(t=t.replace(/&width=[0-9]+/g,"")).replace(/&height=[0-9]+/g,""),d(this).attr("href",t+"&width="+(n-80)+"&height="+(i-85-o)))})},d(window).on("resize",function(){tb_position()})}(jQuery);
|
||||
window.send_to_editor=function(t){var e,i="undefined"!=typeof tinymce,n="undefined"!=typeof QTags;if(wpActiveEditor)i&&(e=tinymce.get(wpActiveEditor));else if(i&&tinymce.activeEditor)e=tinymce.activeEditor,window.wpActiveEditor=e.id;else if(!n)return!1;if(e&&!e.isHidden()?e.execCommand("mceInsertContent",!1,t):n?QTags.insertContent(t):document.getElementById(wpActiveEditor).value+=t,window.tb_remove)try{window.tb_remove()}catch(t){}},(d=>{window.tb_position=function(){var t=d("#TB_window"),e=d(window).width(),i=d(window).height(),n=833<e?833:e,o=0;return d("#wpadminbar").length&&(o=parseInt(d("#wpadminbar").css("height"),10)),t.length&&(t.width(n-50).height(i-45-o),d("#TB_iframeContent").width(n-50).height(i-75-o),t.css({"margin-left":"-"+parseInt((n-50)/2,10)+"px"}),void 0!==document.body.style.maxWidth)&&t.css({top:20+o+"px","margin-top":"0"}),d("a.thickbox").each(function(){var t=d(this).attr("href");t&&(t=(t=t.replace(/&width=[0-9]+/g,"")).replace(/&height=[0-9]+/g,""),d(this).attr("href",t+"&width="+(n-80)+"&height="+(i-85-o)))})},d(window).on("resize",function(){tb_position()})})(jQuery);
|
2
wp-admin/js/media.min.js
vendored
2
wp-admin/js/media.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(t){window.findPosts={open:function(n,e){var i=t(".ui-find-overlay");return 0===i.length&&(t("body").append('<div class="ui-find-overlay"></div>'),findPosts.overlay()),i.show(),n&&e&&t("#affected").attr("name",n).val(e),t("#find-posts").show(),t("#find-posts-input").trigger("focus").on("keyup",function(n){27==n.which&&findPosts.close()}),findPosts.send(),!1},close:function(){t("#find-posts-response").empty(),t("#find-posts").hide(),t(".ui-find-overlay").hide()},overlay:function(){t(".ui-find-overlay").on("click",function(){findPosts.close()})},send:function(){var n={ps:t("#find-posts-input").val(),action:"find_posts",_ajax_nonce:t("#_ajax_nonce").val()},e=t(".find-box-search .spinner");e.addClass("is-active"),t.ajax(ajaxurl,{type:"POST",data:n,dataType:"json"}).always(function(){e.removeClass("is-active")}).done(function(n){n.success||t("#find-posts-response").text(wp.i18n.__("An error has occurred. Please reload the page and try again.")),t("#find-posts-response").html(n.data)}).fail(function(){t("#find-posts-response").text(wp.i18n.__("An error has occurred. Please reload the page and try again."))})}},t(function(){var o,n,e=t("#wp-media-grid"),i=new ClipboardJS(".copy-attachment-url.media-library"),s=null;e.length&&window.wp&&window.wp.media&&(n=_wpMediaGridSettings,n=window.wp.media({frame:"manage",container:e,library:n.queryVars}).open(),e.trigger("wp-media-grid-ready",n)),t("#find-posts-submit").on("click",function(n){t('#find-posts-response input[type="radio"]:checked').length||n.preventDefault()}),t("#find-posts .find-box-search :input").on("keypress",function(n){if(13==n.which)return findPosts.send(),!1}),t("#find-posts-search").on("click",findPosts.send),t("#find-posts-close").on("click",findPosts.close),t("#doaction").on("click",function(e){t('select[name="action"]').each(function(){var n=t(this).val();"attach"===n?(e.preventDefault(),findPosts.open()):"delete"!==n||showNotice.warn()||e.preventDefault()})}),t(".find-box-inside").on("click","tr",function(){t(this).find(".found-radio input").prop("checked",!0)}),i.on("success",function(n){var e=t(n.trigger),i=t(".success",e.closest(".copy-to-clipboard-container"));n.clearSelection(),s&&s.addClass("hidden"),clearTimeout(o),i.removeClass("hidden"),o=setTimeout(function(){i.addClass("hidden"),s=null},3e3),s=i,wp.a11y.speak(wp.i18n.__("The file URL has been copied to your clipboard"))})})}(jQuery);
|
||||
(t=>{window.findPosts={open:function(n,e){var i=t(".ui-find-overlay");return 0===i.length&&(t("body").append('<div class="ui-find-overlay"></div>'),findPosts.overlay()),i.show(),n&&e&&t("#affected").attr("name",n).val(e),t("#find-posts").show(),t("#find-posts-input").trigger("focus").on("keyup",function(n){27==n.which&&findPosts.close()}),findPosts.send(),!1},close:function(){t("#find-posts-response").empty(),t("#find-posts").hide(),t(".ui-find-overlay").hide()},overlay:function(){t(".ui-find-overlay").on("click",function(){findPosts.close()})},send:function(){var n={ps:t("#find-posts-input").val(),action:"find_posts",_ajax_nonce:t("#_ajax_nonce").val()},e=t(".find-box-search .spinner");e.addClass("is-active"),t.ajax(ajaxurl,{type:"POST",data:n,dataType:"json"}).always(function(){e.removeClass("is-active")}).done(function(n){n.success||t("#find-posts-response").text(wp.i18n.__("An error has occurred. Please reload the page and try again.")),t("#find-posts-response").html(n.data)}).fail(function(){t("#find-posts-response").text(wp.i18n.__("An error has occurred. Please reload the page and try again."))})}},t(function(){var s,n,e=t("#wp-media-grid"),i=new ClipboardJS(".copy-attachment-url.media-library"),o=null;e.length&&window.wp&&window.wp.media&&(n=_wpMediaGridSettings,n=window.wp.media({frame:"manage",container:e,library:n.queryVars}).open(),e.trigger("wp-media-grid-ready",n)),t("#find-posts-submit").on("click",function(n){t('#find-posts-response input[type="radio"]:checked').length||n.preventDefault()}),t("#find-posts .find-box-search :input").on("keypress",function(n){if(13==n.which)return findPosts.send(),!1}),t("#find-posts-search").on("click",findPosts.send),t("#find-posts-close").on("click",findPosts.close),t("#doaction").on("click",function(e){t('select[name="action"]').each(function(){var n=t(this).val();"attach"===n?(e.preventDefault(),findPosts.open()):"delete"!==n||showNotice.warn()||e.preventDefault()})}),t(".find-box-inside").on("click","tr",function(){t(this).find(".found-radio input").prop("checked",!0)}),i.on("success",function(n){var e=t(n.trigger),i=t(".success",e.closest(".copy-to-clipboard-container"));n.clearSelection(),o&&o.addClass("hidden"),clearTimeout(s),i.removeClass("hidden"),s=setTimeout(function(){i.addClass("hidden"),o=null},3e3),o=i,wp.a11y.speak(wp.i18n.__("The file URL has been copied to your clipboard"))})})})(jQuery);
|
2
wp-admin/js/nav-menu.min.js
vendored
2
wp-admin/js/nav-menu.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/password-strength-meter.min.js
vendored
2
wp-admin/js/password-strength-meter.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
window.wp=window.wp||{},function(a){var e=wp.i18n.__,n=wp.i18n.sprintf;wp.passwordStrength={meter:function(e,n,t){return Array.isArray(n)||(n=[n.toString()]),e!=t&&t&&0<t.length?5:void 0===window.zxcvbn?-1:zxcvbn(e,n).score},userInputBlacklist:function(){return window.console.log(n(e("%1$s is deprecated since version %2$s! Use %3$s instead. Please consider writing more inclusive code."),"wp.passwordStrength.userInputBlacklist()","5.5.0","wp.passwordStrength.userInputDisallowedList()")),wp.passwordStrength.userInputDisallowedList()},userInputDisallowedList:function(){var e,n,t,r,s=[],i=[],o=["user_login","first_name","last_name","nickname","display_name","email","url","description","weblog_title","admin_email"];for(s.push(document.title),s.push(document.URL),n=o.length,e=0;e<n;e++)0!==(r=a("#"+o[e])).length&&(s.push(r[0].defaultValue),s.push(r.val()));for(t=s.length,e=0;e<t;e++)s[e]&&(i=i.concat(s[e].replace(/\W/g," ").split(" ")));return i=a.grep(i,function(e,n){return!(""===e||e.length<4)&&a.inArray(e,i)===n})}},window.passwordStrength=wp.passwordStrength.meter}(jQuery);
|
||||
window.wp=window.wp||{},(a=>{var e=wp.i18n.__,n=wp.i18n.sprintf;wp.passwordStrength={meter:function(e,n,t){return Array.isArray(n)||(n=[n.toString()]),e!=t&&t&&0<t.length?5:void 0===window.zxcvbn?-1:zxcvbn(e,n).score},userInputBlacklist:function(){return window.console.log(n(e("%1$s is deprecated since version %2$s! Use %3$s instead. Please consider writing more inclusive code."),"wp.passwordStrength.userInputBlacklist()","5.5.0","wp.passwordStrength.userInputDisallowedList()")),wp.passwordStrength.userInputDisallowedList()},userInputDisallowedList:function(){var e,n,t,r,s=[],i=[],o=["user_login","first_name","last_name","nickname","display_name","email","url","description","weblog_title","admin_email"];for(s.push(document.title),s.push(document.URL),n=o.length,e=0;e<n;e++)0!==(r=a("#"+o[e])).length&&(s.push(r[0].defaultValue),s.push(r.val()));for(t=s.length,e=0;e<t;e++)s[e]&&(i=i.concat(s[e].replace(/\W/g," ").split(" ")));return i=a.grep(i,function(e,n){return!(""===e||e.length<4)&&a.inArray(e,i)===n})}},window.passwordStrength=wp.passwordStrength.meter})(jQuery);
|
2
wp-admin/js/password-toggle.min.js
vendored
2
wp-admin/js/password-toggle.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(){var t,e,s,i,a=wp.i18n.__;function d(){t=this.getAttribute("data-toggle"),e=this.parentElement.children.namedItem("pwd"),s=this.getElementsByClassName("dashicons")[0],i=this.getElementsByClassName("text")[0],0===parseInt(t,10)?(this.setAttribute("data-toggle",1),this.setAttribute("aria-label",a("Hide password")),e.setAttribute("type","text"),i.innerHTML=a("Hide"),s.classList.remove("dashicons-visibility"),s.classList.add("dashicons-hidden")):(this.setAttribute("data-toggle",0),this.setAttribute("aria-label",a("Show password")),e.setAttribute("type","password"),i.innerHTML=a("Show"),s.classList.remove("dashicons-hidden"),s.classList.add("dashicons-visibility"))}document.querySelectorAll(".pwd-toggle").forEach(function(t){t.classList.remove("hide-if-no-js"),t.addEventListener("click",d)})}();
|
||||
(()=>{var t,e,s,i,a=wp.i18n.__;function d(){t=this.getAttribute("data-toggle"),e=this.parentElement.children.namedItem("pwd"),s=this.getElementsByClassName("dashicons")[0],i=this.getElementsByClassName("text")[0],0===parseInt(t,10)?(this.setAttribute("data-toggle",1),this.setAttribute("aria-label",a("Hide password")),e.setAttribute("type","text"),i.innerHTML=a("Hide"),s.classList.remove("dashicons-visibility"),s.classList.add("dashicons-hidden")):(this.setAttribute("data-toggle",0),this.setAttribute("aria-label",a("Show password")),e.setAttribute("type","password"),i.innerHTML=a("Show"),s.classList.remove("dashicons-hidden"),s.classList.add("dashicons-visibility"))}document.querySelectorAll(".pwd-toggle").forEach(function(t){t.classList.remove("hide-if-no-js"),t.addEventListener("click",d)})})();
|
2
wp-admin/js/post.min.js
vendored
2
wp-admin/js/post.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/postbox.min.js
vendored
2
wp-admin/js/postbox.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/revisions.min.js
vendored
2
wp-admin/js/revisions.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/site-health.min.js
vendored
2
wp-admin/js/site-health.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/site-icon.min.js
vendored
2
wp-admin/js/site-icon.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(t){var a,i=t("#choose-from-library-button"),s=t("#site-icon-preview"),r=t("#browser-icon-preview"),n=t("#app-icon-preview"),l=t("#site_icon_hidden_field"),o=t("#js-remove-site-icon");function c(t){var e=t.get("width"),t=t.get("height"),a=512,i=512,s=a/i,r=a,n=i;return s<e/t?a=(i=t)*s:i=(a=e)/s,{aspectRatio:a+":"+i,handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:e,imageHeight:t,minWidth:a<r?a:r,minHeight:i<n?i:n,x1:s=(e-a)/2,y1:r=(t-i)/2,x2:a+s,y2:i+r}}function d(t){var e,a=t.alt?(e=wp.i18n.sprintf(wp.i18n.__("App icon preview: Current image: %s"),t.alt),wp.i18n.sprintf(wp.i18n.__("Browser icon preview: Current image: %s"),t.alt)):(e=wp.i18n.sprintf(wp.i18n.__("App icon preview: The current image has no alternative text. The file name is: %s"),t.filename),wp.i18n.sprintf(wp.i18n.__("Browser icon preview: The current image has no alternative text. The file name is: %s"),t.filename));n.attr({src:t.url,alt:e}),r.attr({src:t.url,alt:a}),s.removeClass("hidden"),o.removeClass("hidden"),document.documentElement.style.setProperty("--site-icon-url","url("+t.url+")"),"1"!==i.attr("data-state")&&i.attr({class:i.attr("data-alt-classes"),"data-alt-classes":i.attr("class"),"data-state":"1"}),i.text(i.attr("data-update-text"))}i.on("click",function(){var e=t(this);(a=wp.media({button:{text:e.data("update"),close:!1},states:[new wp.media.controller.Library({title:e.data("choose-text"),library:wp.media.query({type:"image"}),date:!1,suggestedWidth:e.data("size"),suggestedHeight:e.data("size")}),new wp.media.controller.SiteIconCropper({control:{params:{width:e.data("size"),height:e.data("size")}},imgSelectOptions:c})]})).on("cropped",function(t){l.val(t.id),d(t),a.close(),a=null}),a.on("select",function(){var t=a.state().get("selection").first();t.attributes.height===e.data("size")&&e.data("size")===t.attributes.width?(d(t.attributes),a.close(),l.val(t.id)):a.setState("cropper")}),a.open()}),o.on("click",function(){l.val("false"),t(this).toggleClass("hidden"),s.toggleClass("hidden"),r.attr({src:"",alt:""}),n.attr({src:"",alt:""}),i.attr({class:i.attr("data-alt-classes"),"data-alt-classes":i.attr("class"),"data-state":""}).text(i.attr("data-choose-text")).trigger("focus")})}(jQuery);
|
||||
(t=>{var a,i=t("#choose-from-library-button"),s=t("#site-icon-preview"),r=t("#browser-icon-preview"),n=t("#app-icon-preview"),l=t("#site_icon_hidden_field"),o=t("#js-remove-site-icon");function c(t){var e=t.get("width"),t=t.get("height"),a=512,i=512,s=a/i,r=a,n=i;return s<e/t?a=(i=t)*s:i=(a=e)/s,{aspectRatio:a+":"+i,handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:e,imageHeight:t,minWidth:a<r?a:r,minHeight:i<n?i:n,x1:s=(e-a)/2,y1:r=(t-i)/2,x2:a+s,y2:i+r}}function d(t){var e,a=t.alt?(e=wp.i18n.sprintf(wp.i18n.__("App icon preview: Current image: %s"),t.alt),wp.i18n.sprintf(wp.i18n.__("Browser icon preview: Current image: %s"),t.alt)):(e=wp.i18n.sprintf(wp.i18n.__("App icon preview: The current image has no alternative text. The file name is: %s"),t.filename),wp.i18n.sprintf(wp.i18n.__("Browser icon preview: The current image has no alternative text. The file name is: %s"),t.filename));n.attr({src:t.url,alt:e}),r.attr({src:t.url,alt:a}),s.removeClass("hidden"),o.removeClass("hidden"),document.documentElement.style.setProperty("--site-icon-url","url("+t.url+")"),"1"!==i.attr("data-state")&&i.attr({class:i.attr("data-alt-classes"),"data-alt-classes":i.attr("class"),"data-state":"1"}),i.text(i.attr("data-update-text"))}i.on("click",function(){var e=t(this);(a=wp.media({button:{text:e.data("update"),close:!1},states:[new wp.media.controller.Library({title:e.data("choose-text"),library:wp.media.query({type:"image"}),date:!1,suggestedWidth:e.data("size"),suggestedHeight:e.data("size")}),new wp.media.controller.SiteIconCropper({control:{params:{width:e.data("size"),height:e.data("size")}},imgSelectOptions:c})]})).on("cropped",function(t){l.val(t.id),d(t),a.close(),a=null}),a.on("select",function(){var t=a.state().get("selection").first();t.attributes.height===e.data("size")&&e.data("size")===t.attributes.width?(d(t.attributes),a.close(),l.val(t.id)):a.setState("cropper")}),a.open()}),o.on("click",function(){l.val("false"),t(this).toggleClass("hidden"),s.toggleClass("hidden"),r.attr({src:"",alt:""}),n.attr({src:"",alt:""}),i.attr({class:i.attr("data-alt-classes"),"data-alt-classes":i.attr("class"),"data-state":""}).text(i.attr("data-choose-text")).trigger("focus")})})(jQuery);
|
2
wp-admin/js/svg-painter.min.js
vendored
2
wp-admin/js/svg-painter.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
window.wp=window.wp||{},wp.svgPainter=function(a,i){"use strict";var n,t,s={},o=[];return a(function(){wp.svgPainter.init()}),{init:function(){t=this,n=a("#adminmenu .wp-menu-image, #wpadminbar .ab-item"),t.setColors(),t.findElements(),t.paint()},setColors:function(n){(n=void 0===n&&void 0!==i._wpColorScheme?i._wpColorScheme:n)&&n.icons&&n.icons.base&&n.icons.current&&n.icons.focus&&(s=n.icons)},findElements:function(){n.each(function(){var n=a(this),e=n.css("background-image");e&&-1!=e.indexOf("data:image/svg+xml;base64")&&o.push(n)})},paint:function(){a.each(o,function(n,e){var a=e.parent().parent();a.hasClass("current")||a.hasClass("wp-has-current-submenu")?t.paintElement(e,"current"):(t.paintElement(e,"base"),a.on("mouseenter",function(){t.paintElement(e,"focus")}).on("mouseleave",function(){i.setTimeout(function(){t.paintElement(e,"base")},100)}))})},paintElement:function(n,e){var a,t;if(e&&s.hasOwnProperty(e)&&(e=s[e]).match(/^(#[0-9a-f]{3}|#[0-9a-f]{6})$/i)&&"none"!==(a=n.data("wp-ui-svg-"+e))){if(!a){if(!(t=n.css("background-image").match(/.+data:image\/svg\+xml;base64,([A-Za-z0-9\+\/\=]+)/))||!t[1])return void n.data("wp-ui-svg-"+e,"none");try{a=i.atob(t[1])}catch(n){}if(!a)return void n.data("wp-ui-svg-"+e,"none");a=(a=(a=a.replace(/fill="(.+?)"/g,'fill="'+e+'"')).replace(/style="(.+?)"/g,'style="fill:'+e+'"')).replace(/fill:.*?;/g,"fill: "+e+";"),a=i.btoa(a),n.data("wp-ui-svg-"+e,a)}n.attr("style",'background-image: url("data:image/svg+xml;base64,'+a+'") !important;')}}}}(jQuery,window,document);
|
||||
window.wp=window.wp||{},wp.svgPainter=((a,i)=>{var n,t,s={},o=[];return a(function(){wp.svgPainter.init()}),{init:function(){t=this,n=a("#adminmenu .wp-menu-image, #wpadminbar .ab-item"),t.setColors(),t.findElements(),t.paint()},setColors:function(n){(n=void 0===n&&void 0!==i._wpColorScheme?i._wpColorScheme:n)&&n.icons&&n.icons.base&&n.icons.current&&n.icons.focus&&(s=n.icons)},findElements:function(){n.each(function(){var n=a(this),e=n.css("background-image");e&&-1!=e.indexOf("data:image/svg+xml;base64")&&o.push(n)})},paint:function(){a.each(o,function(n,e){var a=e.parent().parent();a.hasClass("current")||a.hasClass("wp-has-current-submenu")?t.paintElement(e,"current"):(t.paintElement(e,"base"),a.on("mouseenter",function(){t.paintElement(e,"focus")}).on("mouseleave",function(){i.setTimeout(function(){t.paintElement(e,"base")},100)}))})},paintElement:function(n,e){var a,t;if(e&&s.hasOwnProperty(e)&&(e=s[e]).match(/^(#[0-9a-f]{3}|#[0-9a-f]{6})$/i)&&"none"!==(a=n.data("wp-ui-svg-"+e))){if(!a){if(!(t=n.css("background-image").match(/.+data:image\/svg\+xml;base64,([A-Za-z0-9\+\/\=]+)/))||!t[1])return void n.data("wp-ui-svg-"+e,"none");try{a=i.atob(t[1])}catch(n){}if(!a)return void n.data("wp-ui-svg-"+e,"none");a=(a=(a=a.replace(/fill="(.+?)"/g,'fill="'+e+'"')).replace(/style="(.+?)"/g,'style="fill:'+e+'"')).replace(/fill:.*?;/g,"fill: "+e+";"),a=i.btoa(a),n.data("wp-ui-svg-"+e,a)}n.attr("style",'background-image: url("data:image/svg+xml;base64,'+a+'") !important;')}}}})(jQuery,window,document);
|
2
wp-admin/js/tags-box.min.js
vendored
2
wp-admin/js/tags-box.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(o){var r=wp.i18n._x(",","tag delimiter")||",";window.array_unique_noempty=function(t){var a=[];return o.each(t,function(t,e){(e=(e=e||"").trim())&&-1===o.inArray(e,a)&&a.push(e)}),a},window.tagBox={clean:function(t){return t=(t=","!==r?t.replace(new RegExp(r,"g"),","):t).replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,""),t=","!==r?t.replace(/,/g,r):t},parseTags:function(t){var e=t.id.split("-check-num-")[1],t=o(t).closest(".tagsdiv"),a=t.find(".the-tags"),i=a.val().split(r),n=[];return delete i[e],o.each(i,function(t,e){(e=(e=e||"").trim())&&n.push(e)}),a.val(this.clean(n.join(r))),this.quickClicks(t),!1},quickClicks:function(t){var a,e=o(".the-tags",t),i=o(".tagchecklist",t),n=o(t).attr("id");e.length&&(a=e.prop("disabled"),t=e.val().split(r),i.empty(),o.each(t,function(t,e){(e=(e=e||"").trim())&&(e=o("<li />").text(e),a||((t=o('<button type="button" id="'+n+"-check-num-"+t+'" class="ntdelbutton"><span class="remove-tag-icon" aria-hidden="true"></span><span class="screen-reader-text">'+wp.i18n.__("Remove term:")+" "+e.html()+"</span></button>")).on("click keypress",function(t){"click"!==t.type&&13!==t.keyCode&&32!==t.keyCode||(13!==t.keyCode&&32!==t.keyCode||o(this).closest(".tagsdiv").find("input.newtag").trigger("focus"),tagBox.userAction="remove",tagBox.parseTags(this))}),e.prepend(" ").prepend(t)),i.append(e))}),tagBox.screenReadersMessage())},flushTags:function(t,e,a){var i,n,s=o(".the-tags",t),c=o("input.newtag",t);return void 0!==(n=(e=e||!1)?o(e).text():c.val())&&""!==n&&(i=s.val(),i=this.clean(i=i?i+r+n:n),i=array_unique_noempty(i.split(r)).join(r),s.val(i),this.quickClicks(t),e||c.val(""),void 0===a)&&c.trigger("focus"),!1},get:function(a){var i=a.substr(a.indexOf("-")+1);o.post(ajaxurl,{action:"get-tagcloud",tax:i},function(t,e){0!==t&&"success"==e&&(t=o('<div id="tagcloud-'+i+'" class="the-tagcloud">'+t+"</div>"),o("a",t).on("click",function(){return tagBox.userAction="add",tagBox.flushTags(o("#"+i),this),!1}),o("#"+a).after(t))})},userAction:"",screenReadersMessage:function(){var t;switch(this.userAction){case"remove":t=wp.i18n.__("Term removed.");break;case"add":t=wp.i18n.__("Term added.");break;default:return}window.wp.a11y.speak(t,"assertive")},init:function(){var t=o("div.ajaxtag");o(".tagsdiv").each(function(){tagBox.quickClicks(this)}),o(".tagadd",t).on("click",function(){tagBox.userAction="add",tagBox.flushTags(o(this).closest(".tagsdiv"))}),o("input.newtag",t).on("keypress",function(t){13==t.which&&(tagBox.userAction="add",tagBox.flushTags(o(this).closest(".tagsdiv")),t.preventDefault(),t.stopPropagation())}).each(function(t,e){o(e).wpTagsSuggest()}),o("#post").on("submit",function(){o("div.tagsdiv").each(function(){tagBox.flushTags(this,!1,1)})}),o(".tagcloud-link").on("click",function(){tagBox.get(o(this).attr("id")),o(this).attr("aria-expanded","true").off().on("click",function(){o(this).attr("aria-expanded","false"===o(this).attr("aria-expanded")?"true":"false").siblings(".the-tagcloud").toggle()})})}}}(jQuery);
|
||||
(o=>{var r=wp.i18n._x(",","tag delimiter")||",";window.array_unique_noempty=function(t){var a=[];return o.each(t,function(t,e){(e=(e=e||"").trim())&&-1===o.inArray(e,a)&&a.push(e)}),a},window.tagBox={clean:function(t){return t=(t=","!==r?t.replace(new RegExp(r,"g"),","):t).replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,""),t=","!==r?t.replace(/,/g,r):t},parseTags:function(t){var e=t.id.split("-check-num-")[1],t=o(t).closest(".tagsdiv"),a=t.find(".the-tags"),i=a.val().split(r),n=[];return delete i[e],o.each(i,function(t,e){(e=(e=e||"").trim())&&n.push(e)}),a.val(this.clean(n.join(r))),this.quickClicks(t),!1},quickClicks:function(t){var a,e=o(".the-tags",t),i=o(".tagchecklist",t),n=o(t).attr("id");e.length&&(a=e.prop("disabled"),t=e.val().split(r),i.empty(),o.each(t,function(t,e){(e=(e=e||"").trim())&&(e=o("<li />").text(e),a||((t=o('<button type="button" id="'+n+"-check-num-"+t+'" class="ntdelbutton"><span class="remove-tag-icon" aria-hidden="true"></span><span class="screen-reader-text">'+wp.i18n.__("Remove term:")+" "+e.html()+"</span></button>")).on("click keypress",function(t){"click"!==t.type&&13!==t.keyCode&&32!==t.keyCode||(13!==t.keyCode&&32!==t.keyCode||o(this).closest(".tagsdiv").find("input.newtag").trigger("focus"),tagBox.userAction="remove",tagBox.parseTags(this))}),e.prepend(" ").prepend(t)),i.append(e))}),tagBox.screenReadersMessage())},flushTags:function(t,e,a){var i,n,s=o(".the-tags",t),c=o("input.newtag",t);return void 0!==(n=(e=e||!1)?o(e).text():c.val())&&""!==n&&(i=s.val(),i=this.clean(i=i?i+r+n:n),i=array_unique_noempty(i.split(r)).join(r),s.val(i),this.quickClicks(t),e||c.val(""),void 0===a)&&c.trigger("focus"),!1},get:function(a){var i=a.substr(a.indexOf("-")+1);o.post(ajaxurl,{action:"get-tagcloud",tax:i},function(t,e){0!==t&&"success"==e&&(t=o('<div id="tagcloud-'+i+'" class="the-tagcloud">'+t+"</div>"),o("a",t).on("click",function(){return tagBox.userAction="add",tagBox.flushTags(o("#"+i),this),!1}),o("#"+a).after(t))})},userAction:"",screenReadersMessage:function(){var t;switch(this.userAction){case"remove":t=wp.i18n.__("Term removed.");break;case"add":t=wp.i18n.__("Term added.");break;default:return}window.wp.a11y.speak(t,"assertive")},init:function(){var t=o("div.ajaxtag");o(".tagsdiv").each(function(){tagBox.quickClicks(this)}),o(".tagadd",t).on("click",function(){tagBox.userAction="add",tagBox.flushTags(o(this).closest(".tagsdiv"))}),o("input.newtag",t).on("keypress",function(t){13==t.which&&(tagBox.userAction="add",tagBox.flushTags(o(this).closest(".tagsdiv")),t.preventDefault(),t.stopPropagation())}).each(function(t,e){o(e).wpTagsSuggest()}),o("#post").on("submit",function(){o("div.tagsdiv").each(function(){tagBox.flushTags(this,!1,1)})}),o(".tagcloud-link").on("click",function(){tagBox.get(o(this).attr("id")),o(this).attr("aria-expanded","true").off().on("click",function(){o(this).attr("aria-expanded","false"===o(this).attr("aria-expanded")?"true":"false").siblings(".the-tagcloud").toggle()})})}}})(jQuery);
|
2
wp-admin/js/tags-suggest.min.js
vendored
2
wp-admin/js/tags-suggest.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(s){var u=0,n=wp.i18n._x(",","tag delimiter")||",",t=wp.i18n.__,d=wp.i18n._n,l=wp.i18n.sprintf;function p(e){return e.split(new RegExp(n+"\\s*"))}s.fn.wpTagsSuggest=function(e){var i,o,a,r=s(this);return r.length&&(a=(e=e||{}).taxonomy||r.attr("data-wp-taxonomy")||"post_tag",delete e.taxonomy,e=s.extend({source:function(e,n){var t;o===e.term?n(i):(t=p(e.term).pop(),s.get(window.ajaxurl,{action:"ajax-tag-search",tax:a,q:t,number:20}).always(function(){r.removeClass("ui-autocomplete-loading")}).done(function(e){var t,o=[];if(e){for(t in e=e.split("\n")){var a=++u;o.push({id:a,name:e[t]})}n(i=o)}else n(o)}),o=e.term)},focus:function(e,t){r.attr("aria-activedescendant","wp-tags-autocomplete-"+t.item.id),e.preventDefault()},select:function(e,t){var o=p(r.val());return o.pop(),o.push(t.item.name,""),r.val(o.join(n+" ")),s.ui.keyCode.TAB===e.keyCode?(window.wp.a11y.speak(wp.i18n.__("Term selected."),"assertive"),e.preventDefault()):s.ui.keyCode.ENTER===e.keyCode&&(window.tagBox&&(window.tagBox.userAction="add",window.tagBox.flushTags(s(this).closest(".tagsdiv"))),e.preventDefault(),e.stopPropagation()),!1},open:function(){r.attr("aria-expanded","true")},close:function(){r.attr("aria-expanded","false")},minLength:2,position:{my:"left top+2",at:"left bottom",collision:"none"},messages:{noResults:t("No results found."),results:function(e){return l(d("%d result found. Use up and down arrow keys to navigate.","%d results found. Use up and down arrow keys to navigate.",e),e)}}},e),r.on("keydown",function(){r.removeAttr("aria-activedescendant")}),r.autocomplete(e),r.autocomplete("instance"))&&(r.autocomplete("instance")._renderItem=function(e,t){return s('<li role="option" id="wp-tags-autocomplete-'+t.id+'">').text(t.name).appendTo(e)},r.attr({role:"combobox","aria-autocomplete":"list","aria-expanded":"false","aria-owns":r.autocomplete("widget").attr("id")}).on("focus",function(){p(r.val()).pop()&&r.autocomplete("search")}),r.autocomplete("widget").addClass("wp-tags-autocomplete").attr("role","listbox").removeAttr("tabindex").on("menufocus",function(e,t){t.item.attr("aria-selected","true")}).on("menublur",function(){s(this).find('[aria-selected="true"]').removeAttr("aria-selected")})),this}}(jQuery);
|
||||
(s=>{var u=0,n=wp.i18n._x(",","tag delimiter")||",",t=wp.i18n.__,d=wp.i18n._n,l=wp.i18n.sprintf;function p(e){return e.split(new RegExp(n+"\\s*"))}s.fn.wpTagsSuggest=function(e){var i,a,o,r=s(this);return r.length&&(o=(e=e||{}).taxonomy||r.attr("data-wp-taxonomy")||"post_tag",delete e.taxonomy,e=s.extend({source:function(e,n){var t;a===e.term?n(i):(t=p(e.term).pop(),s.get(window.ajaxurl,{action:"ajax-tag-search",tax:o,q:t,number:20}).always(function(){r.removeClass("ui-autocomplete-loading")}).done(function(e){var t,a=[];if(e){for(t in e=e.split("\n")){var o=++u;a.push({id:o,name:e[t]})}n(i=a)}else n(a)}),a=e.term)},focus:function(e,t){r.attr("aria-activedescendant","wp-tags-autocomplete-"+t.item.id),e.preventDefault()},select:function(e,t){var a=p(r.val());return a.pop(),a.push(t.item.name,""),r.val(a.join(n+" ")),s.ui.keyCode.TAB===e.keyCode?(window.wp.a11y.speak(wp.i18n.__("Term selected."),"assertive"),e.preventDefault()):s.ui.keyCode.ENTER===e.keyCode&&(window.tagBox&&(window.tagBox.userAction="add",window.tagBox.flushTags(s(this).closest(".tagsdiv"))),e.preventDefault(),e.stopPropagation()),!1},open:function(){r.attr("aria-expanded","true")},close:function(){r.attr("aria-expanded","false")},minLength:2,position:{my:"left top+2",at:"left bottom",collision:"none"},messages:{noResults:t("No results found."),results:function(e){return l(d("%d result found. Use up and down arrow keys to navigate.","%d results found. Use up and down arrow keys to navigate.",e),e)}}},e),r.on("keydown",function(){r.removeAttr("aria-activedescendant")}),r.autocomplete(e),r.autocomplete("instance"))&&(r.autocomplete("instance")._renderItem=function(e,t){return s('<li role="option" id="wp-tags-autocomplete-'+t.id+'">').text(t.name).appendTo(e)},r.attr({role:"combobox","aria-autocomplete":"list","aria-expanded":"false","aria-owns":r.autocomplete("widget").attr("id")}).on("focus",function(){p(r.val()).pop()&&r.autocomplete("search")}),r.autocomplete("widget").addClass("wp-tags-autocomplete").attr("role","listbox").removeAttr("tabindex").on("menufocus",function(e,t){t.item.attr("aria-selected","true")}).on("menublur",function(){s(this).find('[aria-selected="true"]').removeAttr("aria-selected")})),this}})(jQuery);
|
2
wp-admin/js/theme-plugin-editor.min.js
vendored
2
wp-admin/js/theme-plugin-editor.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/theme.min.js
vendored
2
wp-admin/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/updates.min.js
vendored
2
wp-admin/js/updates.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/user-profile.min.js
vendored
2
wp-admin/js/user-profile.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/user-suggest.min.js
vendored
2
wp-admin/js/user-suggest.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(a){var n="undefined"!=typeof current_site_id?"&site_id="+current_site_id:"";a(function(){var i={offset:"0, -1"};"undefined"!=typeof isRtl&&isRtl&&(i.my="right top",i.at="right bottom"),a(".wp-suggest-user").each(function(){var e=a(this),t=void 0!==e.data("autocompleteType")?e.data("autocompleteType"):"add",o=void 0!==e.data("autocompleteField")?e.data("autocompleteField"):"user_login";e.autocomplete({source:ajaxurl+"?action=autocomplete-user&autocomplete_type="+t+"&autocomplete_field="+o+n,delay:500,minLength:2,position:i,open:function(){a(this).addClass("open")},close:function(){a(this).removeClass("open")}})})})}(jQuery);
|
||||
(i=>{var u="undefined"!=typeof current_site_id?"&site_id="+current_site_id:"";i(function(){var a={offset:"0, -1"};"undefined"!=typeof isRtl&&isRtl&&(a.my="right top",a.at="right bottom"),i(".wp-suggest-user").each(function(){var e=i(this),t=void 0!==e.data("autocompleteType")?e.data("autocompleteType"):"add",o=void 0!==e.data("autocompleteField")?e.data("autocompleteField"):"user_login";e.autocomplete({source:ajaxurl+"?action=autocomplete-user&autocomplete_type="+t+"&autocomplete_field="+o+u,delay:500,minLength:2,position:a,open:function(){i(this).addClass("open")},close:function(){i(this).removeClass("open")}})})})})(jQuery);
|
2
wp-admin/js/widgets.min.js
vendored
2
wp-admin/js/widgets.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(t){"use strict";var a=wp.media.view.MediaFrame.AudioDetails.extend({createStates:function(){this.states.add([new wp.media.controller.AudioDetails({media:this.media}),new wp.media.controller.MediaLibrary({type:"audio",id:"add-audio-source",title:wp.media.view.l10n.audioAddSourceTitle,toolbar:"add-audio-source",media:this.media,menu:!1})])}}),e=t.MediaWidgetModel.extend({}),d=t.MediaWidgetControl.extend({showDisplaySettings:!1,mapModelToMediaFrameProps:function(e){e=t.MediaWidgetControl.prototype.mapModelToMediaFrameProps.call(this,e);return e.link="embed",e},renderPreview:function(){var e,t=this,d=t.model.get("attachment_id"),a=t.model.get("url");(d||a)&&(d=t.$el.find(".media-widget-preview"),e=wp.template("wp-media-widget-audio-preview"),d.html(e({model:{attachment_id:t.model.get("attachment_id"),src:a},error:t.model.get("error")})),wp.mediaelement.initialize())},editMedia:function(){var t=this,e=t.mapModelToMediaFrameProps(t.model.toJSON()),d=new a({frame:"audio",state:"audio-details",metadata:e});(wp.media.frame=d).$el.addClass("media-widget"),e=function(e){t.selectedAttachment.set(e),t.model.set(_.extend(t.model.defaults(),t.mapMediaToModelProps(e),{error:!1}))},d.state("audio-details").on("update",e),d.state("replace-audio").on("replace",e),d.on("close",function(){d.detach()}),d.open()}});t.controlConstructors.media_audio=d,t.modelConstructors.media_audio=e}(wp.mediaWidgets);
|
||||
(d=>{var a=wp.media.view.MediaFrame.AudioDetails.extend({createStates:function(){this.states.add([new wp.media.controller.AudioDetails({media:this.media}),new wp.media.controller.MediaLibrary({type:"audio",id:"add-audio-source",title:wp.media.view.l10n.audioAddSourceTitle,toolbar:"add-audio-source",media:this.media,menu:!1})])}}),e=d.MediaWidgetModel.extend({}),t=d.MediaWidgetControl.extend({showDisplaySettings:!1,mapModelToMediaFrameProps:function(e){e=d.MediaWidgetControl.prototype.mapModelToMediaFrameProps.call(this,e);return e.link="embed",e},renderPreview:function(){var e,d=this,t=d.model.get("attachment_id"),a=d.model.get("url");(t||a)&&(t=d.$el.find(".media-widget-preview"),e=wp.template("wp-media-widget-audio-preview"),t.html(e({model:{attachment_id:d.model.get("attachment_id"),src:a},error:d.model.get("error")})),wp.mediaelement.initialize())},editMedia:function(){var d=this,e=d.mapModelToMediaFrameProps(d.model.toJSON()),t=new a({frame:"audio",state:"audio-details",metadata:e});(wp.media.frame=t).$el.addClass("media-widget"),e=function(e){d.selectedAttachment.set(e),d.model.set(_.extend(d.model.defaults(),d.mapMediaToModelProps(e),{error:!1}))},t.state("audio-details").on("update",e),t.state("replace-audio").on("replace",e),t.on("close",function(){t.detach()}),t.open()}});d.controlConstructors.media_audio=t,d.modelConstructors.media_audio=e})(wp.mediaWidgets);
|
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(i){"use strict";var a=wp.media.view.MediaFrame.Post.extend({createStates:function(){this.states.add([new wp.media.controller.Library({id:"gallery",title:wp.media.view.l10n.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!0,library:wp.media.query(_.defaults({type:"image"},this.options.library))}),new wp.media.controller.GalleryEdit({library:this.options.selection,editing:this.options.editing,menu:"gallery"}),new wp.media.controller.GalleryAdd])}}),e=i.MediaWidgetModel.extend({}),t=i.MediaWidgetControl.extend({events:_.extend({},i.MediaWidgetControl.prototype.events,{"click .media-widget-gallery-preview":"editMedia"}),initialize:function(e){var t=this;i.MediaWidgetControl.prototype.initialize.call(t,e),_.bindAll(t,"updateSelectedAttachments","handleAttachmentDestroy"),t.selectedAttachments=new wp.media.model.Attachments,t.model.on("change:ids",t.updateSelectedAttachments),t.selectedAttachments.on("change",t.renderPreview),t.selectedAttachments.on("reset",t.renderPreview),t.updateSelectedAttachments(),wp.customize&&wp.customize.previewer&&t.selectedAttachments.on("change",function(){wp.customize.previewer.send("refresh-widget-partial",t.model.get("widget_id"))})},updateSelectedAttachments:function(){var e,t=this,i=t.model.get("ids"),d=_.pluck(t.selectedAttachments.models,"id"),a=_.difference(d,i);_.each(a,function(e){t.selectedAttachments.remove(t.selectedAttachments.get(e))}),_.difference(i,d).length&&(e=wp.media.query({order:"ASC",orderby:"post__in",perPage:-1,post__in:i,query:!0,type:"image"})).more().done(function(){t.selectedAttachments.reset(e.models)})},renderPreview:function(){var e=this,t=e.$el.find(".media-widget-preview"),i=wp.template("wp-media-widget-gallery-preview"),d=e.previewTemplateProps.toJSON();d.attachments={},e.selectedAttachments.each(function(e){d.attachments[e.id]=e.toJSON()}),t.html(i(d))},isSelected:function(){return!this.model.get("error")&&0<this.model.get("ids").length},editMedia:function(){var i,d=this,e=new wp.media.model.Selection(d.selectedAttachments.models,{multiple:!0}),t=d.mapModelToMediaFrameProps(d.model.toJSON());e.gallery=new Backbone.Model(t),t.size&&d.displaySettings.set("size",t.size),i=new a({frame:"manage",text:d.l10n.add_to_widget,selection:e,mimeType:d.mime_type,selectedDisplaySettings:d.displaySettings,showDisplaySettings:d.showDisplaySettings,metadata:t,editing:!0,multiple:!0,state:"gallery-edit"}),(wp.media.frame=i).on("update",function(e){var t=i.state(),e=e||t.get("selection");e&&(e.gallery&&d.model.set(d.mapMediaToModelProps(e.gallery.toJSON())),d.selectedAttachments.reset(e.models),d.model.set({ids:_.pluck(e.models,"id")}))}),i.$el.addClass("media-widget"),i.open(),e&&e.on("destroy",d.handleAttachmentDestroy)},selectMedia:function(){var i,d=this,e=new wp.media.model.Selection(d.selectedAttachments.models,{multiple:!0}),t=d.mapModelToMediaFrameProps(d.model.toJSON());t.size&&d.displaySettings.set("size",t.size),i=new a({frame:"select",text:d.l10n.add_to_widget,selection:e,mimeType:d.mime_type,selectedDisplaySettings:d.displaySettings,showDisplaySettings:d.showDisplaySettings,metadata:t,state:"gallery"}),(wp.media.frame=i).on("update",function(e){var t=i.state(),e=e||t.get("selection");e&&(e.gallery&&d.model.set(d.mapMediaToModelProps(e.gallery.toJSON())),d.selectedAttachments.reset(e.models),d.model.set({ids:_.pluck(e.models,"id")}))}),i.$el.addClass("media-widget"),i.open(),e&&e.on("destroy",d.handleAttachmentDestroy),i.$el.find(":focusable:first").focus()},handleAttachmentDestroy:function(e){this.model.set({ids:_.difference(this.model.get("ids"),[e.id])})}});i.controlConstructors.media_gallery=t,i.modelConstructors.media_gallery=e}(wp.mediaWidgets);
|
||||
(i=>{var a=wp.media.view.MediaFrame.Post.extend({createStates:function(){this.states.add([new wp.media.controller.Library({id:"gallery",title:wp.media.view.l10n.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!0,library:wp.media.query(_.defaults({type:"image"},this.options.library))}),new wp.media.controller.GalleryEdit({library:this.options.selection,editing:this.options.editing,menu:"gallery"}),new wp.media.controller.GalleryAdd])}}),e=i.MediaWidgetModel.extend({}),t=i.MediaWidgetControl.extend({events:_.extend({},i.MediaWidgetControl.prototype.events,{"click .media-widget-gallery-preview":"editMedia"}),initialize:function(e){var t=this;i.MediaWidgetControl.prototype.initialize.call(t,e),_.bindAll(t,"updateSelectedAttachments","handleAttachmentDestroy"),t.selectedAttachments=new wp.media.model.Attachments,t.model.on("change:ids",t.updateSelectedAttachments),t.selectedAttachments.on("change",t.renderPreview),t.selectedAttachments.on("reset",t.renderPreview),t.updateSelectedAttachments(),wp.customize&&wp.customize.previewer&&t.selectedAttachments.on("change",function(){wp.customize.previewer.send("refresh-widget-partial",t.model.get("widget_id"))})},updateSelectedAttachments:function(){var e,t=this,i=t.model.get("ids"),d=_.pluck(t.selectedAttachments.models,"id"),a=_.difference(d,i);_.each(a,function(e){t.selectedAttachments.remove(t.selectedAttachments.get(e))}),_.difference(i,d).length&&(e=wp.media.query({order:"ASC",orderby:"post__in",perPage:-1,post__in:i,query:!0,type:"image"})).more().done(function(){t.selectedAttachments.reset(e.models)})},renderPreview:function(){var e=this,t=e.$el.find(".media-widget-preview"),i=wp.template("wp-media-widget-gallery-preview"),d=e.previewTemplateProps.toJSON();d.attachments={},e.selectedAttachments.each(function(e){d.attachments[e.id]=e.toJSON()}),t.html(i(d))},isSelected:function(){return!this.model.get("error")&&0<this.model.get("ids").length},editMedia:function(){var i,d=this,e=new wp.media.model.Selection(d.selectedAttachments.models,{multiple:!0}),t=d.mapModelToMediaFrameProps(d.model.toJSON());e.gallery=new Backbone.Model(t),t.size&&d.displaySettings.set("size",t.size),i=new a({frame:"manage",text:d.l10n.add_to_widget,selection:e,mimeType:d.mime_type,selectedDisplaySettings:d.displaySettings,showDisplaySettings:d.showDisplaySettings,metadata:t,editing:!0,multiple:!0,state:"gallery-edit"}),(wp.media.frame=i).on("update",function(e){var t=i.state(),e=e||t.get("selection");e&&(e.gallery&&d.model.set(d.mapMediaToModelProps(e.gallery.toJSON())),d.selectedAttachments.reset(e.models),d.model.set({ids:_.pluck(e.models,"id")}))}),i.$el.addClass("media-widget"),i.open(),e&&e.on("destroy",d.handleAttachmentDestroy)},selectMedia:function(){var i,d=this,e=new wp.media.model.Selection(d.selectedAttachments.models,{multiple:!0}),t=d.mapModelToMediaFrameProps(d.model.toJSON());t.size&&d.displaySettings.set("size",t.size),i=new a({frame:"select",text:d.l10n.add_to_widget,selection:e,mimeType:d.mime_type,selectedDisplaySettings:d.displaySettings,showDisplaySettings:d.showDisplaySettings,metadata:t,state:"gallery"}),(wp.media.frame=i).on("update",function(e){var t=i.state(),e=e||t.get("selection");e&&(e.gallery&&d.model.set(d.mapMediaToModelProps(e.gallery.toJSON())),d.selectedAttachments.reset(e.models),d.model.set({ids:_.pluck(e.models,"id")}))}),i.$el.addClass("media-widget"),i.open(),e&&e.on("destroy",d.handleAttachmentDestroy),i.$el.find(":focusable:first").focus()},handleAttachmentDestroy:function(e){this.model.set({ids:_.difference(this.model.get("ids"),[e.id])})}});i.controlConstructors.media_gallery=t,i.modelConstructors.media_gallery=e})(wp.mediaWidgets);
|
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(a,o){"use strict";var e=a.MediaWidgetModel.extend({}),t=a.MediaWidgetControl.extend({events:_.extend({},a.MediaWidgetControl.prototype.events,{"click .media-widget-preview.populated":"editMedia"}),renderPreview:function(){var e,t,i=this;(i.model.get("attachment_id")||i.model.get("url"))&&(t=i.$el.find(".media-widget-preview"),e=wp.template("wp-media-widget-image-preview"),t.html(e(i.previewTemplateProps.toJSON())),t.addClass("populated"),i.$el.find(".link").is(document.activeElement)||(e=i.$el.find(".media-widget-fields"),t=wp.template("wp-media-widget-image-fields"),e.html(t(i.previewTemplateProps.toJSON()))))},editMedia:function(){var i,e,a=this,t=a.mapModelToMediaFrameProps(a.model.toJSON());"none"===t.link&&(t.linkUrl=""),(i=wp.media({frame:"image",state:"image-details",metadata:t})).$el.addClass("media-widget"),t=function(){var e=i.state().attributes.image.toJSON(),t=e.link;e.link=e.linkUrl,a.selectedAttachment.set(e),a.displaySettings.set("link",t),a.model.set(_.extend(a.mapMediaToModelProps(e),{error:!1}))},i.state("image-details").on("update",t),i.state("replace-image").on("replace",t),e=wp.media.model.Attachment.prototype.sync,wp.media.model.Attachment.prototype.sync=function(){return o.Deferred().rejectWith(this).promise()},i.on("close",function(){i.detach(),wp.media.model.Attachment.prototype.sync=e}),i.open()},getEmbedResetProps:function(){return _.extend(a.MediaWidgetControl.prototype.getEmbedResetProps.call(this),{size:"full",width:0,height:0})},getModelPropsFromMediaFrame:function(e){return _.omit(a.MediaWidgetControl.prototype.getModelPropsFromMediaFrame.call(this,e),"image_title")},mapModelToPreviewTemplateProps:function(){var e=this,t=e.model.get("url"),i=a.MediaWidgetControl.prototype.mapModelToPreviewTemplateProps.call(e);return i.currentFilename=t?t.replace(/\?.*$/,"").replace(/^.+\//,""):"",i.link_url=e.model.get("link_url"),i}});a.controlConstructors.media_image=t,a.modelConstructors.media_image=e}(wp.mediaWidgets,jQuery);
|
||||
((a,d)=>{var e=a.MediaWidgetModel.extend({}),t=a.MediaWidgetControl.extend({events:_.extend({},a.MediaWidgetControl.prototype.events,{"click .media-widget-preview.populated":"editMedia"}),renderPreview:function(){var e,t,i=this;(i.model.get("attachment_id")||i.model.get("url"))&&(t=i.$el.find(".media-widget-preview"),e=wp.template("wp-media-widget-image-preview"),t.html(e(i.previewTemplateProps.toJSON())),t.addClass("populated"),i.$el.find(".link").is(document.activeElement)||(e=i.$el.find(".media-widget-fields"),t=wp.template("wp-media-widget-image-fields"),e.html(t(i.previewTemplateProps.toJSON()))))},editMedia:function(){var i,e,a=this,t=a.mapModelToMediaFrameProps(a.model.toJSON());"none"===t.link&&(t.linkUrl=""),(i=wp.media({frame:"image",state:"image-details",metadata:t})).$el.addClass("media-widget"),t=function(){var e=i.state().attributes.image.toJSON(),t=e.link;e.link=e.linkUrl,a.selectedAttachment.set(e),a.displaySettings.set("link",t),a.model.set(_.extend(a.mapMediaToModelProps(e),{error:!1}))},i.state("image-details").on("update",t),i.state("replace-image").on("replace",t),e=wp.media.model.Attachment.prototype.sync,wp.media.model.Attachment.prototype.sync=function(){return d.Deferred().rejectWith(this).promise()},i.on("close",function(){i.detach(),wp.media.model.Attachment.prototype.sync=e}),i.open()},getEmbedResetProps:function(){return _.extend(a.MediaWidgetControl.prototype.getEmbedResetProps.call(this),{size:"full",width:0,height:0})},getModelPropsFromMediaFrame:function(e){return _.omit(a.MediaWidgetControl.prototype.getModelPropsFromMediaFrame.call(this,e),"image_title")},mapModelToPreviewTemplateProps:function(){var e=this,t=e.model.get("url"),i=a.MediaWidgetControl.prototype.mapModelToPreviewTemplateProps.call(e);return i.currentFilename=t?t.replace(/\?.*$/,"").replace(/^.+\//,""):"",i.link_url=e.model.get("link_url"),i}});a.controlConstructors.media_image=t,a.modelConstructors.media_image=e})(wp.mediaWidgets,jQuery);
|
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(t){"use strict";var i=wp.media.view.MediaFrame.VideoDetails.extend({createStates:function(){this.states.add([new wp.media.controller.VideoDetails({media:this.media}),new wp.media.controller.MediaLibrary({type:"video",id:"add-video-source",title:wp.media.view.l10n.videoAddSourceTitle,toolbar:"add-video-source",media:this.media,menu:!1}),new wp.media.controller.MediaLibrary({type:"text",id:"add-track",title:wp.media.view.l10n.videoAddTrackTitle,toolbar:"add-track",media:this.media,menu:"video-details"})])}}),e=t.MediaWidgetModel.extend({}),d=t.MediaWidgetControl.extend({showDisplaySettings:!1,oembedResponses:{},mapModelToMediaFrameProps:function(e){e=t.MediaWidgetControl.prototype.mapModelToMediaFrameProps.call(this,e);return e.link="embed",e},fetchEmbed:function(){var t=this,d=t.model.get("url");t.oembedResponses[d]||(t.fetchEmbedDfd&&"pending"===t.fetchEmbedDfd.state()&&t.fetchEmbedDfd.abort(),t.fetchEmbedDfd=wp.apiRequest({url:wp.media.view.settings.oEmbedProxyUrl,data:{url:t.model.get("url"),maxwidth:t.model.get("width"),maxheight:t.model.get("height"),discover:!1},type:"GET",dataType:"json",context:t}),t.fetchEmbedDfd.done(function(e){t.oembedResponses[d]=e,t.renderPreview()}),t.fetchEmbedDfd.fail(function(){t.oembedResponses[d]=null}))},isHostedVideo:function(){return!0},renderPreview:function(){var e,t,d=this,i="",o=!1,a=d.model.get("attachment_id"),s=d.model.get("url"),m=d.model.get("error");(a||s)&&((t=d.selectedAttachment.get("mime"))&&a?_.contains(_.values(wp.media.view.settings.embedMimes),t)||(m="unsupported_file_type"):a||((t=document.createElement("a")).href=s,(t=t.pathname.toLowerCase().match(/\.(\w+)$/))?_.contains(_.keys(wp.media.view.settings.embedMimes),t[1])||(m="unsupported_file_type"):o=!0),o&&(d.fetchEmbed(),d.oembedResponses[s])&&(e=d.oembedResponses[s].thumbnail_url,i=d.oembedResponses[s].html.replace(/\swidth="\d+"/,' width="100%"').replace(/\sheight="\d+"/,"")),t=d.$el.find(".media-widget-preview"),d=wp.template("wp-media-widget-video-preview"),t.html(d({model:{attachment_id:a,html:i,src:s,poster:e},is_oembed:o,error:m})),wp.mediaelement.initialize())},editMedia:function(){var t=this,e=t.mapModelToMediaFrameProps(t.model.toJSON()),d=new i({frame:"video",state:"video-details",metadata:e});(wp.media.frame=d).$el.addClass("media-widget"),e=function(e){t.selectedAttachment.set(e),t.model.set(_.extend(_.omit(t.model.defaults(),"title"),t.mapMediaToModelProps(e),{error:!1}))},d.state("video-details").on("update",e),d.state("replace-video").on("replace",e),d.on("close",function(){d.detach()}),d.open()}});t.controlConstructors.media_video=d,t.modelConstructors.media_video=e}(wp.mediaWidgets);
|
||||
(t=>{var i=wp.media.view.MediaFrame.VideoDetails.extend({createStates:function(){this.states.add([new wp.media.controller.VideoDetails({media:this.media}),new wp.media.controller.MediaLibrary({type:"video",id:"add-video-source",title:wp.media.view.l10n.videoAddSourceTitle,toolbar:"add-video-source",media:this.media,menu:!1}),new wp.media.controller.MediaLibrary({type:"text",id:"add-track",title:wp.media.view.l10n.videoAddTrackTitle,toolbar:"add-track",media:this.media,menu:"video-details"})])}}),e=t.MediaWidgetModel.extend({}),d=t.MediaWidgetControl.extend({showDisplaySettings:!1,oembedResponses:{},mapModelToMediaFrameProps:function(e){e=t.MediaWidgetControl.prototype.mapModelToMediaFrameProps.call(this,e);return e.link="embed",e},fetchEmbed:function(){var t=this,d=t.model.get("url");t.oembedResponses[d]||(t.fetchEmbedDfd&&"pending"===t.fetchEmbedDfd.state()&&t.fetchEmbedDfd.abort(),t.fetchEmbedDfd=wp.apiRequest({url:wp.media.view.settings.oEmbedProxyUrl,data:{url:t.model.get("url"),maxwidth:t.model.get("width"),maxheight:t.model.get("height"),discover:!1},type:"GET",dataType:"json",context:t}),t.fetchEmbedDfd.done(function(e){t.oembedResponses[d]=e,t.renderPreview()}),t.fetchEmbedDfd.fail(function(){t.oembedResponses[d]=null}))},isHostedVideo:function(){return!0},renderPreview:function(){var e,t,d=this,i="",o=!1,a=d.model.get("attachment_id"),m=d.model.get("url"),s=d.model.get("error");(a||m)&&((t=d.selectedAttachment.get("mime"))&&a?_.contains(_.values(wp.media.view.settings.embedMimes),t)||(s="unsupported_file_type"):a||((t=document.createElement("a")).href=m,(t=t.pathname.toLowerCase().match(/\.(\w+)$/))?_.contains(_.keys(wp.media.view.settings.embedMimes),t[1])||(s="unsupported_file_type"):o=!0),o&&(d.fetchEmbed(),d.oembedResponses[m])&&(e=d.oembedResponses[m].thumbnail_url,i=d.oembedResponses[m].html.replace(/\swidth="\d+"/,' width="100%"').replace(/\sheight="\d+"/,"")),t=d.$el.find(".media-widget-preview"),d=wp.template("wp-media-widget-video-preview"),t.html(d({model:{attachment_id:a,html:i,src:m,poster:e},is_oembed:o,error:s})),wp.mediaelement.initialize())},editMedia:function(){var t=this,e=t.mapModelToMediaFrameProps(t.model.toJSON()),d=new i({frame:"video",state:"video-details",metadata:e});(wp.media.frame=d).$el.addClass("media-widget"),e=function(e){t.selectedAttachment.set(e),t.model.set(_.extend(_.omit(t.model.defaults(),"title"),t.mapMediaToModelProps(e),{error:!1}))},d.state("video-details").on("update",e),d.state("replace-video").on("replace",e),d.on("close",function(){d.detach()}),d.open()}});t.controlConstructors.media_video=d,t.modelConstructors.media_video=e})(wp.mediaWidgets);
|
2
wp-admin/js/widgets/media-widgets.min.js
vendored
2
wp-admin/js/widgets/media-widgets.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/widgets/text-widgets.min.js
vendored
2
wp-admin/js/widgets/text-widgets.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/word-count.min.js
vendored
2
wp-admin/js/word-count.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(){function e(e){var t,s;if(e)for(t in e)e.hasOwnProperty(t)&&(this.settings[t]=e[t]);(s=this.settings.l10n.shortcodes)&&s.length&&(this.settings.shortcodesRegExp=new RegExp("\\[\\/?(?:"+s.join("|")+")[^\\]]*?\\]","g"))}e.prototype.settings={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","\x80-\xbf\xd7\xf7","\u2000-\u2bff","\u2e00-\u2e7f","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:window.wordCountL10n||{}},e.prototype.count=function(e,t){var s=0;return"characters_excluding_spaces"!==(t=t||this.settings.l10n.type)&&"characters_including_spaces"!==t&&(t="words"),s=e&&(e=(e=(e+="\n").replace(this.settings.HTMLRegExp,"\n")).replace(this.settings.HTMLcommentRegExp,""),e=(e=this.settings.shortcodesRegExp?e.replace(this.settings.shortcodesRegExp,"\n"):e).replace(this.settings.spaceRegExp," "),e=(e="words"===t?(e=(e=e.replace(this.settings.HTMLEntityRegExp,"")).replace(this.settings.connectorRegExp," ")).replace(this.settings.removeRegExp,""):(e=e.replace(this.settings.HTMLEntityRegExp,"a")).replace(this.settings.astralRegExp,"a")).match(this.settings[t+"RegExp"]))?e.length:s},window.wp=window.wp||{},window.wp.utils=window.wp.utils||{},window.wp.utils.WordCounter=e}();
|
||||
(()=>{function e(e){var t,s;if(e)for(t in e)e.hasOwnProperty(t)&&(this.settings[t]=e[t]);(s=this.settings.l10n.shortcodes)&&s.length&&(this.settings.shortcodesRegExp=new RegExp("\\[\\/?(?:"+s.join("|")+")[^\\]]*?\\]","g"))}e.prototype.settings={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","\x80-\xbf\xd7\xf7","\u2000-\u2bff","\u2e00-\u2e7f","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:window.wordCountL10n||{}},e.prototype.count=function(e,t){var s=0;return"characters_excluding_spaces"!==(t=t||this.settings.l10n.type)&&"characters_including_spaces"!==t&&(t="words"),s=e&&(e=(e=(e+="\n").replace(this.settings.HTMLRegExp,"\n")).replace(this.settings.HTMLcommentRegExp,""),e=(e=this.settings.shortcodesRegExp?e.replace(this.settings.shortcodesRegExp,"\n"):e).replace(this.settings.spaceRegExp," "),e=(e="words"===t?(e=(e=e.replace(this.settings.HTMLEntityRegExp,"")).replace(this.settings.connectorRegExp," ")).replace(this.settings.removeRegExp,""):(e=e.replace(this.settings.HTMLEntityRegExp,"a")).replace(this.settings.astralRegExp,"a")).match(this.settings[t+"RegExp"]))?e.length:s},window.wp=window.wp||{},window.wp.utils=window.wp.utils||{},window.wp.utils.WordCounter=e})();
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
<?php return array('interactivity/index.min.js' => array('dependencies' => array(), 'version' => '06b8f695ef48ab2d9277', 'type' => 'module'), 'interactivity/debug.min.js' => array('dependencies' => array(), 'version' => 'c77e5317ad566e76e750', 'type' => 'module'), 'interactivity-router/index.min.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/a11y', 'import' => 'dynamic')), 'version' => 'f01b88335afcef3dfc5d', 'type' => 'module'), 'a11y/index.min.js' => array('dependencies' => array(), 'version' => 'b7d06936b8bc23cff2ad', 'type' => 'module'), 'block-library/file/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'fdc2f6842e015af83140', 'type' => 'module'), 'block-library/image/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'acfec7b3c0be4a859b31', 'type' => 'module'), 'block-library/navigation/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '8ff192874fc8910a284c', 'type' => 'module'), 'block-library/query/view.min.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/interactivity-router', 'import' => 'dynamic')), 'version' => 'f4c91c89fa5271f3dad9', 'type' => 'module'), 'block-library/search/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '2a73400a693958f604de', 'type' => 'module'));
|
||||
<?php return array('interactivity/index.min.js' => array('dependencies' => array(), 'version' => '04d9948c85e9600ec2a5', 'type' => 'module'), 'interactivity/debug.min.js' => array('dependencies' => array(), 'version' => '03be8c2fdc10a676f363', 'type' => 'module'), 'interactivity-router/index.min.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/a11y', 'import' => 'dynamic')), 'version' => '2a2ef420d37f6e7e08a0', 'type' => 'module'), 'a11y/index.min.js' => array('dependencies' => array(), 'version' => 'b7d06936b8bc23cff2ad', 'type' => 'module'), 'block-library/file/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'fdc2f6842e015af83140', 'type' => 'module'), 'block-library/image/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'acfec7b3c0be4a859b31', 'type' => 'module'), 'block-library/navigation/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '8ff192874fc8910a284c', 'type' => 'module'), 'block-library/query/view.min.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/interactivity-router', 'import' => 'dynamic')), 'version' => '0661ecffc048a34462c0', 'type' => 'module'), 'block-library/search/view.min.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '2a73400a693958f604de', 'type' => 'module'));
|
||||
|
@ -1 +1 @@
|
||||
<?php return array('interactivity/index.js' => array('dependencies' => array(), 'version' => 'd509fc21b652345db0b3', 'type' => 'module'), 'interactivity/debug.js' => array('dependencies' => array(), 'version' => 'd1c1c7faff86314c361a', 'type' => 'module'), 'interactivity-router/index.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/a11y', 'import' => 'dynamic')), 'version' => '4b36f376cc3aab08acca', 'type' => 'module'), 'a11y/index.js' => array('dependencies' => array(), 'version' => 'b3a7f46c0ef4f3484886', 'type' => 'module'), 'block-library/file/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'b0cd471b6fde34702d88', 'type' => 'module'), 'block-library/image/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'e1ce544dd878f3a09f70', 'type' => 'module'), 'block-library/navigation/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '9510985aedc1f8e088f3', 'type' => 'module'), 'block-library/query/view.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/interactivity-router', 'import' => 'dynamic')), 'version' => '8e6f28f734f3c306b648', 'type' => 'module'), 'block-library/search/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'acdb7febda1392ad28de', 'type' => 'module'));
|
||||
<?php return array('interactivity/index.js' => array('dependencies' => array(), 'version' => '991ae29be183b2cf30b6', 'type' => 'module'), 'interactivity/debug.js' => array('dependencies' => array(), 'version' => 'ea4068e0adeb27dfcc96', 'type' => 'module'), 'interactivity-router/index.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/a11y', 'import' => 'dynamic')), 'version' => 'ed0e9a59494f19f439eb', 'type' => 'module'), 'a11y/index.js' => array('dependencies' => array(), 'version' => '2a5dd8e0f11b6868f8cf', 'type' => 'module'), 'block-library/file/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '2a6572837a4d7801e87a', 'type' => 'module'), 'block-library/image/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => 'dd49a77cd85a2482f422', 'type' => 'module'), 'block-library/navigation/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '1da3120e2542a35253d2', 'type' => 'module'), 'block-library/query/view.js' => array('dependencies' => array('@wordpress/interactivity', array('id' => '@wordpress/interactivity-router', 'import' => 'dynamic')), 'version' => '4284e5c7bb31ec1182ca', 'type' => 'module'), 'block-library/search/view.js' => array('dependencies' => array('@wordpress/interactivity'), 'version' => '90af09b582052b715e0f', 'type' => 'module'));
|
||||
|
@ -23,13 +23,13 @@ import * as __WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__ from "
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = {};
|
||||
|
||||
;// CONCATENATED MODULE: external "@wordpress/interactivity"
|
||||
;// external "@wordpress/interactivity"
|
||||
var x = (y) => {
|
||||
var x = {}; __webpack_require__.d(x, y); return x
|
||||
}
|
||||
var y = (x) => (() => (x))
|
||||
const interactivity_namespaceObject = x({ ["store"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.store) });
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/utils/index.js
|
||||
;// ./node_modules/@wordpress/block-library/build-module/file/utils/index.js
|
||||
/**
|
||||
* Uses a combination of user agent matching and feature detection to determine whether
|
||||
* the current browser supports rendering PDFs inline.
|
||||
@ -76,7 +76,7 @@ const createActiveXObject = type => {
|
||||
return ax;
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/view.js
|
||||
;// ./node_modules/@wordpress/block-library/build-module/file/view.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
@ -23,13 +23,13 @@ import * as __WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__ from "
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = {};
|
||||
|
||||
;// CONCATENATED MODULE: external "@wordpress/interactivity"
|
||||
;// external "@wordpress/interactivity"
|
||||
var x = (y) => {
|
||||
var x = {}; __webpack_require__.d(x, y); return x
|
||||
}
|
||||
var y = (x) => (() => (x))
|
||||
const interactivity_namespaceObject = x({ ["getContext"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getContext), ["getElement"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getElement), ["store"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.store) });
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/view.js
|
||||
;// ./node_modules/@wordpress/block-library/build-module/image/view.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
@ -23,13 +23,13 @@ import * as __WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__ from "
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = {};
|
||||
|
||||
;// CONCATENATED MODULE: external "@wordpress/interactivity"
|
||||
;// external "@wordpress/interactivity"
|
||||
var x = (y) => {
|
||||
var x = {}; __webpack_require__.d(x, y); return x
|
||||
}
|
||||
var y = (x) => (() => (x))
|
||||
const interactivity_namespaceObject = x({ ["getContext"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getContext), ["getElement"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getElement), ["store"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.store) });
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/view.js
|
||||
;// ./node_modules/@wordpress/block-library/build-module/navigation/view.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
@ -54,16 +54,14 @@ module.exports = import("@wordpress/interactivity-router");;
|
||||
/******/
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = {};
|
||||
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
||||
(() => {
|
||||
|
||||
;// CONCATENATED MODULE: external "@wordpress/interactivity"
|
||||
;// external "@wordpress/interactivity"
|
||||
var x = (y) => {
|
||||
var x = {}; __webpack_require__.d(x, y); return x
|
||||
}
|
||||
var y = (x) => (() => (x))
|
||||
const interactivity_namespaceObject = x({ ["getContext"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getContext), ["getElement"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getElement), ["store"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.store) });
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/view.js
|
||||
;// ./node_modules/@wordpress/block-library/build-module/query/view.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -131,5 +129,3 @@ const isValidEvent = event => event.button === 0 &&
|
||||
lock: true
|
||||
});
|
||||
|
||||
})();
|
||||
|
||||
|
2
wp-includes/blocks/query/view.min.js
vendored
2
wp-includes/blocks/query/view.min.js
vendored
@ -1 +1 @@
|
||||
import*as e from"@wordpress/interactivity";var t={438:e=>{e.exports=import("@wordpress/interactivity-router")}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const t=(e=>{var t={};return o.d(t,e),t})({getContext:()=>e.getContext,getElement:()=>e.getElement,store:()=>e.store}),r=e=>e&&e instanceof window.HTMLAnchorElement&&e.href&&(!e.target||"_self"===e.target)&&e.origin===window.location.origin;(0,t.store)("core/query",{actions:{*navigate(e){const n=(0,t.getContext)(),{ref:i}=(0,t.getElement)(),s=i.closest(".wp-block-query[data-wp-router-region]");if(r(i)&&(e=>!(0!==e.button||e.metaKey||e.ctrlKey||e.altKey||e.shiftKey||e.defaultPrevented))(e)){e.preventDefault();const{actions:t}=yield Promise.resolve().then(o.bind(o,438));yield t.navigate(i.href),n.url=i.href;const r=".wp-block-post-template a[href]";s.querySelector(r)?.focus()}},*prefetch(){const{ref:e}=(0,t.getElement)();if(r(e)){const{actions:t}=yield Promise.resolve().then(o.bind(o,438));yield t.prefetch(e.href)}}},callbacks:{*prefetch(){const{url:e}=(0,t.getContext)(),{ref:n}=(0,t.getElement)();if(e&&r(n)){const{actions:e}=yield Promise.resolve().then(o.bind(o,438));yield e.prefetch(n.href)}}}},{lock:!0})})();
|
||||
import*as e from"@wordpress/interactivity";var t={438:e=>{e.exports=import("@wordpress/interactivity-router")}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const n=(e=>{var t={};return o.d(t,e),t})({getContext:()=>e.getContext,getElement:()=>e.getElement,store:()=>e.store}),i=e=>e&&e instanceof window.HTMLAnchorElement&&e.href&&(!e.target||"_self"===e.target)&&e.origin===window.location.origin;(0,n.store)("core/query",{actions:{*navigate(e){const t=(0,n.getContext)(),{ref:r}=(0,n.getElement)(),s=r.closest(".wp-block-query[data-wp-router-region]");if(i(r)&&(e=>!(0!==e.button||e.metaKey||e.ctrlKey||e.altKey||e.shiftKey||e.defaultPrevented))(e)){e.preventDefault();const{actions:n}=yield Promise.resolve().then(o.bind(o,438));yield n.navigate(r.href),t.url=r.href;const i=".wp-block-post-template a[href]";s.querySelector(i)?.focus()}},*prefetch(){const{ref:e}=(0,n.getElement)();if(i(e)){const{actions:t}=yield Promise.resolve().then(o.bind(o,438));yield t.prefetch(e.href)}}},callbacks:{*prefetch(){const{url:e}=(0,n.getContext)(),{ref:t}=(0,n.getElement)();if(e&&i(t)){const{actions:e}=yield Promise.resolve().then(o.bind(o,438));yield e.prefetch(t.href)}}}},{lock:!0});
|
@ -23,13 +23,13 @@ import * as __WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__ from "
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = {};
|
||||
|
||||
;// CONCATENATED MODULE: external "@wordpress/interactivity"
|
||||
;// external "@wordpress/interactivity"
|
||||
var x = (y) => {
|
||||
var x = {}; __webpack_require__.d(x, y); return x
|
||||
}
|
||||
var y = (x) => (() => (x))
|
||||
const interactivity_namespaceObject = x({ ["getContext"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getContext), ["getElement"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getElement), ["store"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.store) });
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/view.js
|
||||
;// ./node_modules/@wordpress/block-library/build-module/search/view.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
2
wp-includes/js/admin-bar.min.js
vendored
2
wp-includes/js/admin-bar.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(c,l,u){function d(e){27===e.which&&(e=E(e.target,".menupop"))&&(e.querySelector(".menupop > .ab-item").focus(),y(e,"hover"))}function p(e){var t;13!==e.which||e.ctrlKey||e.shiftKey||E(e.target,".ab-sub-wrapper")||(t=E(e.target,".menupop"))&&(e.preventDefault(),(a(t,"hover")?y:v)(t,"hover"))}function m(e,t){!E(t.target,".ab-sub-wrapper")&&(t.preventDefault(),t=E(t.target,".menupop"))&&(a(t,"hover")?y:(b(e),v))(t,"hover")}function f(e){var t,r=e.target.parentNode;if(t=r?r.querySelector(".shortlink-input"):t)return e.preventDefault&&e.preventDefault(),e.returnValue=!1,v(r,"selected"),t.focus(),t.select(),!(t.onblur=function(){y(r,"selected")})}function h(){if("sessionStorage"in l)try{for(var e in sessionStorage)-1<e.indexOf("wp-autosave-")&&sessionStorage.removeItem(e)}catch(e){}}function a(e,t){return e&&(e.classList&&e.classList.contains?e.classList.contains(t):e.className&&-1<e.className.split(" ").indexOf(t))}function v(e,t){e&&(e.classList&&e.classList.add?e.classList.add(t):a(e,t)||(e.className&&(e.className+=" "),e.className+=t),e=e.querySelector("a"),"hover"===t)&&e&&e.hasAttribute("aria-expanded")&&e.setAttribute("aria-expanded","true")}function y(e,t){var r,n;if(e&&a(e,t)){if(e.classList&&e.classList.remove)e.classList.remove(t);else{for(r=" "+t+" ",n=" "+e.className+" ";-1<n.indexOf(r);)n=n.replace(r,"");e.className=n.replace(/^[\s]+|[\s]+$/g,"")}e=e.querySelector("a");"hover"===t&&e&&e.hasAttribute("aria-expanded")&&e.setAttribute("aria-expanded","false")}}function b(e){if(e&&e.length)for(var t=0;t<e.length;t++)y(e[t],"hover")}function g(e){if(!e.target||"wpadminbar"===e.target.id||"wp-admin-bar-top-secondary"===e.target.id)try{l.scrollTo({top:-32,left:0,behavior:"smooth"})}catch(e){l.scrollTo(0,-32)}}function E(e,t){for(l.Element.prototype.matches||(l.Element.prototype.matches=l.Element.prototype.matchesSelector||l.Element.prototype.mozMatchesSelector||l.Element.prototype.msMatchesSelector||l.Element.prototype.oMatchesSelector||l.Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),r=t.length;0<=--r&&t.item(r)!==this;);return-1<r});e&&e!==c;e=e.parentNode)if(e.matches(t))return e;return null}c.addEventListener("DOMContentLoaded",function(){var r,e,t,n,a,o,s,i=c.getElementById("wpadminbar");if(i&&"querySelectorAll"in i){r=i.querySelectorAll("li.menupop"),e=i.querySelectorAll(".ab-item"),t=c.querySelector("#wp-admin-bar-logout a"),n=c.getElementById("adminbarsearch"),a=c.getElementById("wp-admin-bar-get-shortlink"),i.querySelector(".screen-reader-shortcut"),o=/Mobile\/.+Safari/.test(u.userAgent)?"touchstart":"click",y(i,"nojs"),"ontouchstart"in l&&(c.body.addEventListener(o,function(e){E(e.target,"li.menupop")||b(r)}),i.addEventListener("touchstart",function e(){for(var t=0;t<r.length;t++)r[t].addEventListener("click",m.bind(null,r));i.removeEventListener("touchstart",e)})),i.addEventListener("click",g);for(s=0;s<r.length;s++)l.hoverintent(r[s],v.bind(null,r[s],"hover"),y.bind(null,r[s],"hover")).options({timeout:180}),r[s].addEventListener("keydown",p);for(s=0;s<e.length;s++)e[s].addEventListener("keydown",d);n&&((o=c.getElementById("adminbar-search")).addEventListener("focus",function(){v(n,"adminbar-focused")}),o.addEventListener("blur",function(){y(n,"adminbar-focused")})),a&&a.addEventListener("click",f),l.location.hash&&l.scrollBy(0,-32),t&&t.addEventListener("click",h)}})}(document,window,navigator);
|
||||
((c,l,u)=>{function d(e){27===e.which&&(e=E(e.target,".menupop"))&&(e.querySelector(".menupop > .ab-item").focus(),y(e,"hover"))}function p(e){var t;13!==e.which||e.ctrlKey||e.shiftKey||E(e.target,".ab-sub-wrapper")||(t=E(e.target,".menupop"))&&(e.preventDefault(),(a(t,"hover")?y:v)(t,"hover"))}function m(e,t){!E(t.target,".ab-sub-wrapper")&&(t.preventDefault(),t=E(t.target,".menupop"))&&(a(t,"hover")?y:(b(e),v))(t,"hover")}function f(e){var t,r=e.target.parentNode;if(t=r?r.querySelector(".shortlink-input"):t)return e.preventDefault&&e.preventDefault(),e.returnValue=!1,v(r,"selected"),t.focus(),t.select(),!(t.onblur=function(){y(r,"selected")})}function h(){if("sessionStorage"in l)try{for(var e in sessionStorage)-1<e.indexOf("wp-autosave-")&&sessionStorage.removeItem(e)}catch(e){}}function a(e,t){return e&&(e.classList&&e.classList.contains?e.classList.contains(t):e.className&&-1<e.className.split(" ").indexOf(t))}function v(e,t){e&&(e.classList&&e.classList.add?e.classList.add(t):a(e,t)||(e.className&&(e.className+=" "),e.className+=t),e=e.querySelector("a"),"hover"===t)&&e&&e.hasAttribute("aria-expanded")&&e.setAttribute("aria-expanded","true")}function y(e,t){var r,n;if(e&&a(e,t)){if(e.classList&&e.classList.remove)e.classList.remove(t);else{for(r=" "+t+" ",n=" "+e.className+" ";-1<n.indexOf(r);)n=n.replace(r,"");e.className=n.replace(/^[\s]+|[\s]+$/g,"")}e=e.querySelector("a");"hover"===t&&e&&e.hasAttribute("aria-expanded")&&e.setAttribute("aria-expanded","false")}}function b(e){if(e&&e.length)for(var t=0;t<e.length;t++)y(e[t],"hover")}function g(e){if(!e.target||"wpadminbar"===e.target.id||"wp-admin-bar-top-secondary"===e.target.id)try{l.scrollTo({top:-32,left:0,behavior:"smooth"})}catch(e){l.scrollTo(0,-32)}}function E(e,t){for(l.Element.prototype.matches||(l.Element.prototype.matches=l.Element.prototype.matchesSelector||l.Element.prototype.mozMatchesSelector||l.Element.prototype.msMatchesSelector||l.Element.prototype.oMatchesSelector||l.Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),r=t.length;0<=--r&&t.item(r)!==this;);return-1<r});e&&e!==c;e=e.parentNode)if(e.matches(t))return e;return null}c.addEventListener("DOMContentLoaded",function(){var r,e,t,n,a,o,s,i=c.getElementById("wpadminbar");if(i&&"querySelectorAll"in i){r=i.querySelectorAll("li.menupop"),e=i.querySelectorAll(".ab-item"),t=c.querySelector("#wp-admin-bar-logout a"),n=c.getElementById("adminbarsearch"),a=c.getElementById("wp-admin-bar-get-shortlink"),i.querySelector(".screen-reader-shortcut"),o=/Mobile\/.+Safari/.test(u.userAgent)?"touchstart":"click",y(i,"nojs"),"ontouchstart"in l&&(c.body.addEventListener(o,function(e){E(e.target,"li.menupop")||b(r)}),i.addEventListener("touchstart",function e(){for(var t=0;t<r.length;t++)r[t].addEventListener("click",m.bind(null,r));i.removeEventListener("touchstart",e)})),i.addEventListener("click",g);for(s=0;s<r.length;s++)l.hoverintent(r[s],v.bind(null,r[s],"hover"),y.bind(null,r[s],"hover")).options({timeout:180}),r[s].addEventListener("keydown",p);for(s=0;s<e.length;s++)e[s].addEventListener("keydown",d);n&&((o=c.getElementById("adminbar-search")).addEventListener("focus",function(){v(n,"adminbar-focused")}),o.addEventListener("blur",function(){y(n,"adminbar-focused")})),a&&a.addEventListener("click",f),l.location.hash&&l.scrollBy(0,-32),t&&t.addEventListener("click",h)}})})(document,window,navigator);
|
2
wp-includes/js/api-request.min.js
vendored
2
wp-includes/js/api-request.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(c){var w=window.wpApiSettings;function t(e){return e=t.buildAjaxOptions(e),t.transport(e)}t.buildAjaxOptions=function(e){var t,n,a,p,o,r,i=e.url,d=e.path,s=e.method;for(r in"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(t=e.namespace.replace(/^\/|\/$/g,""),d=(n=e.endpoint.replace(/^\//,""))?t+"/"+n:t),"string"==typeof d&&(n=w.root,d=d.replace(/^\//,""),"string"==typeof n&&-1!==n.indexOf("?")&&(d=d.replace("?","&")),i=n+d),p=!(e.data&&e.data._wpnonce),o=!0,a=e.headers||{})if(a.hasOwnProperty(r))switch(r.toLowerCase()){case"x-wp-nonce":p=!1;break;case"accept":o=!1}return p&&(a=c.extend({"X-WP-Nonce":w.nonce},a)),o&&(a=c.extend({Accept:"application/json, */*;q=0.1"},a)),"string"!=typeof s||"PUT"!==(s=s.toUpperCase())&&"DELETE"!==s||(a=c.extend({"X-HTTP-Method-Override":s},a),s="POST"),delete(e=c.extend({},e,{headers:a,url:i,method:s})).path,delete e.namespace,delete e.endpoint,e},t.transport=c.ajax,window.wp=window.wp||{},window.wp.apiRequest=t}(jQuery);
|
||||
(c=>{var w=window.wpApiSettings;function t(e){return e=t.buildAjaxOptions(e),t.transport(e)}t.buildAjaxOptions=function(e){var t,n,a,p,o,r,i=e.url,d=e.path,s=e.method;for(r in"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(t=e.namespace.replace(/^\/|\/$/g,""),d=(n=e.endpoint.replace(/^\//,""))?t+"/"+n:t),"string"==typeof d&&(n=w.root,d=d.replace(/^\//,""),"string"==typeof n&&-1!==n.indexOf("?")&&(d=d.replace("?","&")),i=n+d),p=!(e.data&&e.data._wpnonce),o=!0,a=e.headers||{})if(a.hasOwnProperty(r))switch(r.toLowerCase()){case"x-wp-nonce":p=!1;break;case"accept":o=!1}return p&&(a=c.extend({"X-WP-Nonce":w.nonce},a)),o&&(a=c.extend({Accept:"application/json, */*;q=0.1"},a)),"string"!=typeof s||"PUT"!==(s=s.toUpperCase())&&"DELETE"!==s||(a=c.extend({"X-HTTP-Method-Override":s},a),s="POST"),delete(e=c.extend({},e,{headers:a,url:i,method:s})).path,delete e.namespace,delete e.endpoint,e},t.transport=c.ajax,window.wp=window.wp||{},window.wp.apiRequest=t})(jQuery);
|
2
wp-includes/js/autosave.min.js
vendored
2
wp-includes/js/autosave.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/backbone.min.js
vendored
2
wp-includes/js/backbone.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/clipboard.min.js
vendored
2
wp-includes/js/clipboard.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/colorpicker.min.js
vendored
2
wp-includes/js/colorpicker.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/comment-reply.min.js
vendored
2
wp-includes/js/comment-reply.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode&&"a"!==E.activeElement.tagName.toLowerCase())return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===v.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],r=!1,"getComputedStyle"in v?l=v.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}}(window);
|
||||
window.addComment=(f=>{var I,C,h,E=f.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=f.MutationObserver||f.WebKitMutationObserver||f.MozMutationObserver,r="querySelector"in E&&"addEventListener"in f,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);for(var t,n=function(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode&&"a"!==E.activeElement.tagName.toLowerCase())return C.removeEventListener("keydown",n),e.preventDefault(),C.submit.click(),!1},d=(C&&C.addEventListener("keydown",n),(e=>{var t=b.commentReplyClass;return e&&e.childNodes||(e=E),e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t)})(e)),o=0,i=d.length;o<i;o++)(t=d[o]).addEventListener("touchstart",a),t.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===f.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&f.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,s,c,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,s=g(m),c=(c=g(b.commentReplyTitleId))?c.firstChild.textContent:"",s||((s=E.createElement("div")).id=m,s.style.display="none",s.textContent=c,a.parentNode.insertBefore(s,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var v=0;v<C.elements.length;v++)if(i=C.elements[v],r=!1,"getComputedStyle"in f?l=f.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}})(window);
|
2
wp-includes/js/customize-base.min.js
vendored
2
wp-includes/js/customize-base.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/customize-loader.min.js
vendored
2
wp-includes/js/customize-loader.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
window.wp=window.wp||{},function(i){var n,o=wp.customize;i.extend(i.support,{history:!(!window.history||!history.pushState),hashchange:"onhashchange"in window&&(void 0===document.documentMode||7<document.documentMode)}),n=i.extend({},o.Events,{initialize:function(){this.body=i(document.body),n.settings&&i.support.postMessage&&(i.support.cors||!n.settings.isCrossDomain)&&(this.window=i(window),this.element=i('<div id="customize-container" />').appendTo(this.body),this.bind("open",this.overlay.show),this.bind("close",this.overlay.hide),i("#wpbody").on("click",".load-customize",function(e){e.preventDefault(),n.link=i(this),n.open(n.link.attr("href"))}),i.support.history&&this.window.on("popstate",n.popstate),i.support.hashchange)&&(this.window.on("hashchange",n.hashchange),this.window.triggerHandler("hashchange"))},popstate:function(e){e=e.originalEvent.state;e&&e.customize?n.open(e.customize):n.active&&n.close()},hashchange:function(){var e=window.location.toString().split("#")[1];e&&0===e.indexOf("wp_customize=on")&&n.open(n.settings.url+"?"+e),e||i.support.history||n.close()},beforeunload:function(){if(!n.saved())return n.settings.l10n.saveAlert},open:function(e){if(!this.active){if(n.settings.browser.mobile)return window.location=e;this.originalDocumentTitle=document.title,this.active=!0,this.body.addClass("customize-loading"),this.saved=new o.Value(!0),this.iframe=i("<iframe />",{src:e,title:n.settings.l10n.mainIframeTitle}).appendTo(this.element),this.iframe.one("load",this.loaded),this.messenger=new o.Messenger({url:e,channel:"loader",targetWindow:this.iframe[0].contentWindow}),history.replaceState&&this.messenger.bind("changeset-uuid",function(e){var t=document.createElement("a");t.href=location.href,t.search=i.param(_.extend(o.utils.parseQueryString(t.search.substr(1)),{changeset_uuid:e})),history.replaceState({customize:t.href},"",t.href)}),this.messenger.bind("ready",function(){n.messenger.send("back")}),this.messenger.bind("close",function(){i.support.history?history.back():i.support.hashchange?window.location.hash="":n.close()}),i(window).on("beforeunload",this.beforeunload),this.messenger.bind("saved",function(){n.saved(!0)}),this.messenger.bind("change",function(){n.saved(!1)}),this.messenger.bind("title",function(e){window.document.title=e}),this.pushState(e),this.trigger("open")}},pushState:function(e){var t=e.split("?")[1];i.support.history&&window.location.href!==e?history.pushState({customize:e},"",e):!i.support.history&&i.support.hashchange&&t&&(window.location.hash="wp_customize=on&"+t),this.trigger("open")},opened:function(){n.body.addClass("customize-active full-overlay-active").attr("aria-busy","true")},close:function(){var t,i=this;i.active&&(i.messenger.bind("confirmed-close",t=function(e){e?(i.active=!1,i.trigger("close"),i.originalDocumentTitle&&(document.title=i.originalDocumentTitle)):history.forward(),i.messenger.unbind("confirmed-close",t)}),n.messenger.send("confirm-close"))},closed:function(){n.iframe.remove(),n.messenger.destroy(),n.iframe=null,n.messenger=null,n.saved=null,n.body.removeClass("customize-active full-overlay-active").removeClass("customize-loading"),i(window).off("beforeunload",n.beforeunload),n.link&&n.link.focus()},loaded:function(){n.body.removeClass("customize-loading").attr("aria-busy","false")},overlay:{show:function(){this.element.fadeIn(200,n.opened)},hide:function(){this.element.fadeOut(200,n.closed)}}}),i(function(){n.settings=_wpCustomizeLoaderSettings,n.initialize()}),o.Loader=n}((wp,jQuery));
|
||||
window.wp=window.wp||{},(i=>{var n,o=wp.customize;i.extend(i.support,{history:!(!window.history||!history.pushState),hashchange:"onhashchange"in window&&(void 0===document.documentMode||7<document.documentMode)}),n=i.extend({},o.Events,{initialize:function(){this.body=i(document.body),n.settings&&i.support.postMessage&&(i.support.cors||!n.settings.isCrossDomain)&&(this.window=i(window),this.element=i('<div id="customize-container" />').appendTo(this.body),this.bind("open",this.overlay.show),this.bind("close",this.overlay.hide),i("#wpbody").on("click",".load-customize",function(e){e.preventDefault(),n.link=i(this),n.open(n.link.attr("href"))}),i.support.history&&this.window.on("popstate",n.popstate),i.support.hashchange)&&(this.window.on("hashchange",n.hashchange),this.window.triggerHandler("hashchange"))},popstate:function(e){e=e.originalEvent.state;e&&e.customize?n.open(e.customize):n.active&&n.close()},hashchange:function(){var e=window.location.toString().split("#")[1];e&&0===e.indexOf("wp_customize=on")&&n.open(n.settings.url+"?"+e),e||i.support.history||n.close()},beforeunload:function(){if(!n.saved())return n.settings.l10n.saveAlert},open:function(e){if(!this.active){if(n.settings.browser.mobile)return window.location=e;this.originalDocumentTitle=document.title,this.active=!0,this.body.addClass("customize-loading"),this.saved=new o.Value(!0),this.iframe=i("<iframe />",{src:e,title:n.settings.l10n.mainIframeTitle}).appendTo(this.element),this.iframe.one("load",this.loaded),this.messenger=new o.Messenger({url:e,channel:"loader",targetWindow:this.iframe[0].contentWindow}),history.replaceState&&this.messenger.bind("changeset-uuid",function(e){var t=document.createElement("a");t.href=location.href,t.search=i.param(_.extend(o.utils.parseQueryString(t.search.substr(1)),{changeset_uuid:e})),history.replaceState({customize:t.href},"",t.href)}),this.messenger.bind("ready",function(){n.messenger.send("back")}),this.messenger.bind("close",function(){i.support.history?history.back():i.support.hashchange?window.location.hash="":n.close()}),i(window).on("beforeunload",this.beforeunload),this.messenger.bind("saved",function(){n.saved(!0)}),this.messenger.bind("change",function(){n.saved(!1)}),this.messenger.bind("title",function(e){window.document.title=e}),this.pushState(e),this.trigger("open")}},pushState:function(e){var t=e.split("?")[1];i.support.history&&window.location.href!==e?history.pushState({customize:e},"",e):!i.support.history&&i.support.hashchange&&t&&(window.location.hash="wp_customize=on&"+t),this.trigger("open")},opened:function(){n.body.addClass("customize-active full-overlay-active").attr("aria-busy","true")},close:function(){var t,i=this;i.active&&(i.messenger.bind("confirmed-close",t=function(e){e?(i.active=!1,i.trigger("close"),i.originalDocumentTitle&&(document.title=i.originalDocumentTitle)):history.forward(),i.messenger.unbind("confirmed-close",t)}),n.messenger.send("confirm-close"))},closed:function(){n.iframe.remove(),n.messenger.destroy(),n.iframe=null,n.messenger=null,n.saved=null,n.body.removeClass("customize-active full-overlay-active").removeClass("customize-loading"),i(window).off("beforeunload",n.beforeunload),n.link&&n.link.focus()},loaded:function(){n.body.removeClass("customize-loading").attr("aria-busy","false")},overlay:{show:function(){this.element.fadeIn(200,n.opened)},hide:function(){this.element.fadeOut(200,n.closed)}}}),i(function(){n.settings=_wpCustomizeLoaderSettings,n.initialize()}),o.Loader=n})((wp,jQuery));
|
2
wp-includes/js/customize-models.min.js
vendored
2
wp-includes/js/customize-models.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(i){var a=i.customize;a.HeaderTool={},a.HeaderTool.ImageModel=Backbone.Model.extend({defaults:function(){return{header:{attachment_id:0,url:"",timestamp:_.now(),thumbnail_url:""},choice:"",selected:!1,random:!1}},initialize:function(){this.on("hide",this.hide,this)},hide:function(){this.set("choice",""),a("header_image").set("remove-header"),a("header_image_data").set("remove-header")},destroy:function(){var e=this.get("header"),t=a.HeaderTool.currentHeader.get("header").attachment_id;t&&e.attachment_id===t&&a.HeaderTool.currentHeader.trigger("hide"),i.ajax.post("custom-header-remove",{nonce:_wpCustomizeHeader.nonces.remove,wp_customize:"on",theme:a.settings.theme.stylesheet,attachment_id:e.attachment_id}),this.trigger("destroy",this,this.collection)},save:function(){this.get("random")?(a("header_image").set(this.get("header").random),a("header_image_data").set(this.get("header").random)):this.get("header").defaultName?(a("header_image").set(this.get("header").url),a("header_image_data").set(this.get("header").defaultName)):(a("header_image").set(this.get("header").url),a("header_image_data").set(this.get("header"))),a.HeaderTool.combinedList.trigger("control:setImage",this)},importImage:function(){var e=this.get("header");void 0!==e.attachment_id&&i.ajax.post("custom-header-add",{nonce:_wpCustomizeHeader.nonces.add,wp_customize:"on",theme:a.settings.theme.stylesheet,attachment_id:e.attachment_id})},shouldBeCropped:function(){return(!0!==this.get("themeFlexWidth")||!0!==this.get("themeFlexHeight"))&&!(!0===this.get("themeFlexWidth")&&this.get("themeHeight")===this.get("imageHeight")||!0===this.get("themeFlexHeight")&&this.get("themeWidth")===this.get("imageWidth")||this.get("themeWidth")===this.get("imageWidth")&&this.get("themeHeight")===this.get("imageHeight")||this.get("imageWidth")<=this.get("themeWidth"))}}),a.HeaderTool.ChoiceList=Backbone.Collection.extend({model:a.HeaderTool.ImageModel,comparator:function(e){return-e.get("header").timestamp},initialize:function(){var i=a.HeaderTool.currentHeader.get("choice").replace(/^https?:\/\//,""),e=this.isRandomChoice(a.get().header_image);this.type||(this.type="uploaded"),void 0===this.data&&(this.data=_wpCustomizeHeader.uploads),e&&(i=a.get().header_image),this.on("control:setImage",this.setImage,this),this.on("control:removeImage",this.removeImage,this),this.on("add",this.maybeRemoveOldCrop,this),this.on("add",this.maybeAddRandomChoice,this),_.each(this.data,function(e,t){e.attachment_id||(e.defaultName=t),void 0===e.timestamp&&(e.timestamp=0),this.add({header:e,choice:e.url.split("/").pop(),selected:i===e.url.replace(/^https?:\/\//,"")},{silent:!0})},this),0<this.size()&&this.addRandomChoice(i)},maybeRemoveOldCrop:function(t){var e,i=t.get("header").attachment_id||!1;i&&(e=this.find(function(e){return e.cid!==t.cid&&e.get("header").attachment_id===i}))&&this.remove(e)},maybeAddRandomChoice:function(){1===this.size()&&this.addRandomChoice()},addRandomChoice:function(e){var e=RegExp(this.type).test(e),t="random-"+this.type+"-image";this.add({header:{timestamp:0,random:t,width:245,height:41},choice:t,random:!0,selected:e})},isRandomChoice:function(e){return/^random-(uploaded|default)-image$/.test(e)},shouldHideTitle:function(){return this.size()<2},setImage:function(e){this.each(function(e){e.set("selected",!1)}),e&&e.set("selected",!0)},removeImage:function(){this.each(function(e){e.set("selected",!1)})}}),a.HeaderTool.DefaultsList=a.HeaderTool.ChoiceList.extend({initialize:function(){this.type="default",this.data=_wpCustomizeHeader.defaults,a.HeaderTool.ChoiceList.prototype.initialize.apply(this)}})}((jQuery,window.wp));
|
||||
(i=>{var a=i.customize;a.HeaderTool={},a.HeaderTool.ImageModel=Backbone.Model.extend({defaults:function(){return{header:{attachment_id:0,url:"",timestamp:_.now(),thumbnail_url:""},choice:"",selected:!1,random:!1}},initialize:function(){this.on("hide",this.hide,this)},hide:function(){this.set("choice",""),a("header_image").set("remove-header"),a("header_image_data").set("remove-header")},destroy:function(){var e=this.get("header"),t=a.HeaderTool.currentHeader.get("header").attachment_id;t&&e.attachment_id===t&&a.HeaderTool.currentHeader.trigger("hide"),i.ajax.post("custom-header-remove",{nonce:_wpCustomizeHeader.nonces.remove,wp_customize:"on",theme:a.settings.theme.stylesheet,attachment_id:e.attachment_id}),this.trigger("destroy",this,this.collection)},save:function(){this.get("random")?(a("header_image").set(this.get("header").random),a("header_image_data").set(this.get("header").random)):this.get("header").defaultName?(a("header_image").set(this.get("header").url),a("header_image_data").set(this.get("header").defaultName)):(a("header_image").set(this.get("header").url),a("header_image_data").set(this.get("header"))),a.HeaderTool.combinedList.trigger("control:setImage",this)},importImage:function(){var e=this.get("header");void 0!==e.attachment_id&&i.ajax.post("custom-header-add",{nonce:_wpCustomizeHeader.nonces.add,wp_customize:"on",theme:a.settings.theme.stylesheet,attachment_id:e.attachment_id})},shouldBeCropped:function(){return(!0!==this.get("themeFlexWidth")||!0!==this.get("themeFlexHeight"))&&!(!0===this.get("themeFlexWidth")&&this.get("themeHeight")===this.get("imageHeight")||!0===this.get("themeFlexHeight")&&this.get("themeWidth")===this.get("imageWidth")||this.get("themeWidth")===this.get("imageWidth")&&this.get("themeHeight")===this.get("imageHeight")||this.get("imageWidth")<=this.get("themeWidth"))}}),a.HeaderTool.ChoiceList=Backbone.Collection.extend({model:a.HeaderTool.ImageModel,comparator:function(e){return-e.get("header").timestamp},initialize:function(){var i=a.HeaderTool.currentHeader.get("choice").replace(/^https?:\/\//,""),e=this.isRandomChoice(a.get().header_image);this.type||(this.type="uploaded"),void 0===this.data&&(this.data=_wpCustomizeHeader.uploads),e&&(i=a.get().header_image),this.on("control:setImage",this.setImage,this),this.on("control:removeImage",this.removeImage,this),this.on("add",this.maybeRemoveOldCrop,this),this.on("add",this.maybeAddRandomChoice,this),_.each(this.data,function(e,t){e.attachment_id||(e.defaultName=t),void 0===e.timestamp&&(e.timestamp=0),this.add({header:e,choice:e.url.split("/").pop(),selected:i===e.url.replace(/^https?:\/\//,"")},{silent:!0})},this),0<this.size()&&this.addRandomChoice(i)},maybeRemoveOldCrop:function(t){var e,i=t.get("header").attachment_id||!1;i&&(e=this.find(function(e){return e.cid!==t.cid&&e.get("header").attachment_id===i}))&&this.remove(e)},maybeAddRandomChoice:function(){1===this.size()&&this.addRandomChoice()},addRandomChoice:function(e){var e=RegExp(this.type).test(e),t="random-"+this.type+"-image";this.add({header:{timestamp:0,random:t,width:245,height:41},choice:t,random:!0,selected:e})},isRandomChoice:function(e){return/^random-(uploaded|default)-image$/.test(e)},shouldHideTitle:function(){return this.size()<2},setImage:function(e){this.each(function(e){e.set("selected",!1)}),e&&e.set("selected",!0)},removeImage:function(){this.each(function(e){e.set("selected",!1)})}}),a.HeaderTool.DefaultsList=a.HeaderTool.ChoiceList.extend({initialize:function(){this.type="default",this.data=_wpCustomizeHeader.defaults,a.HeaderTool.ChoiceList.prototype.initialize.apply(this)}})})((jQuery,window.wp));
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
wp-includes/js/customize-preview.min.js
vendored
2
wp-includes/js/customize-preview.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
wp-includes/js/customize-views.min.js
vendored
2
wp-includes/js/customize-views.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(i,e,o){var t;e&&e.customize&&((t=e.customize).HeaderTool.CurrentView=e.Backbone.View.extend({template:e.template("header-current"),initialize:function(){this.listenTo(this.model,"change",this.render),this.render()},render:function(){return this.$el.html(this.template(this.model.toJSON())),this.setButtons(),this},setButtons:function(){var e=i("#customize-control-header_image .actions .remove");this.model.get("choice")?e.show():e.hide()}}),t.HeaderTool.ChoiceView=e.Backbone.View.extend({template:e.template("header-choice"),className:"header-view",events:{"click .choice,.random":"select","click .close":"removeImage"},initialize:function(){var e=[this.model.get("header").url,this.model.get("choice")];this.listenTo(this.model,"change:selected",this.toggleSelected),o.contains(e,t.get().header_image)&&t.HeaderTool.currentHeader.set(this.extendedModel())},render:function(){return this.$el.html(this.template(this.extendedModel())),this.toggleSelected(),this},toggleSelected:function(){this.$el.toggleClass("selected",this.model.get("selected"))},extendedModel:function(){var e=this.model.get("collection");return o.extend(this.model.toJSON(),{type:e.type})},select:function(){this.preventJump(),this.model.save(),t.HeaderTool.currentHeader.set(this.extendedModel())},preventJump:function(){var e=i(".wp-full-overlay-sidebar-content"),t=e.scrollTop();o.defer(function(){e.scrollTop(t)})},removeImage:function(e){e.stopPropagation(),this.model.destroy(),this.remove()}}),t.HeaderTool.ChoiceListView=e.Backbone.View.extend({initialize:function(){this.listenTo(this.collection,"add",this.addOne),this.listenTo(this.collection,"remove",this.render),this.listenTo(this.collection,"sort",this.render),this.listenTo(this.collection,"change",this.toggleList),this.render()},render:function(){this.$el.empty(),this.collection.each(this.addOne,this),this.toggleList()},addOne:function(e){e.set({collection:this.collection}),e=new t.HeaderTool.ChoiceView({model:e}),this.$el.append(e.render().el)},toggleList:function(){var e=this.$el.parents().prev(".customize-control-title"),t=this.$el.find(".random").parent();this.collection.shouldHideTitle()?e.add(t).hide():e.add(t).show()}}),t.HeaderTool.CombinedList=e.Backbone.View.extend({initialize:function(e){this.collections=e,this.on("all",this.propagate,this)},propagate:function(t,i){o.each(this.collections,function(e){e.trigger(t,i)})}}))}(jQuery,window.wp,_);
|
||||
((i,e,o)=>{var t;e&&e.customize&&((t=e.customize).HeaderTool.CurrentView=e.Backbone.View.extend({template:e.template("header-current"),initialize:function(){this.listenTo(this.model,"change",this.render),this.render()},render:function(){return this.$el.html(this.template(this.model.toJSON())),this.setButtons(),this},setButtons:function(){var e=i("#customize-control-header_image .actions .remove");this.model.get("choice")?e.show():e.hide()}}),t.HeaderTool.ChoiceView=e.Backbone.View.extend({template:e.template("header-choice"),className:"header-view",events:{"click .choice,.random":"select","click .close":"removeImage"},initialize:function(){var e=[this.model.get("header").url,this.model.get("choice")];this.listenTo(this.model,"change:selected",this.toggleSelected),o.contains(e,t.get().header_image)&&t.HeaderTool.currentHeader.set(this.extendedModel())},render:function(){return this.$el.html(this.template(this.extendedModel())),this.toggleSelected(),this},toggleSelected:function(){this.$el.toggleClass("selected",this.model.get("selected"))},extendedModel:function(){var e=this.model.get("collection");return o.extend(this.model.toJSON(),{type:e.type})},select:function(){this.preventJump(),this.model.save(),t.HeaderTool.currentHeader.set(this.extendedModel())},preventJump:function(){var e=i(".wp-full-overlay-sidebar-content"),t=e.scrollTop();o.defer(function(){e.scrollTop(t)})},removeImage:function(e){e.stopPropagation(),this.model.destroy(),this.remove()}}),t.HeaderTool.ChoiceListView=e.Backbone.View.extend({initialize:function(){this.listenTo(this.collection,"add",this.addOne),this.listenTo(this.collection,"remove",this.render),this.listenTo(this.collection,"sort",this.render),this.listenTo(this.collection,"change",this.toggleList),this.render()},render:function(){this.$el.empty(),this.collection.each(this.addOne,this),this.toggleList()},addOne:function(e){e.set({collection:this.collection}),e=new t.HeaderTool.ChoiceView({model:e}),this.$el.append(e.render().el)},toggleList:function(){var e=this.$el.parents().prev(".customize-control-title"),t=this.$el.find(".random").parent();this.collection.shouldHideTitle()?e.add(t).hide():e.add(t).show()}}),t.HeaderTool.CombinedList=e.Backbone.View.extend({initialize:function(e){this.collections=e,this.on("all",this.propagate,this)},propagate:function(t,i){o.each(this.collections,function(e){e.trigger(t,i)})}}))})(jQuery,window.wp,_);
|
16
wp-includes/js/dist/a11y.js
vendored
16
wp-includes/js/dist/a11y.js
vendored
@ -55,10 +55,10 @@ __webpack_require__.d(__webpack_exports__, {
|
||||
speak: () => (/* reexport */ speak)
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","domReady"]
|
||||
;// external ["wp","domReady"]
|
||||
const external_wp_domReady_namespaceObject = window["wp"]["domReady"];
|
||||
var external_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_wp_domReady_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/script/add-container.js
|
||||
;// ./node_modules/@wordpress/a11y/build-module/script/add-container.js
|
||||
/**
|
||||
* Build the live regions markup.
|
||||
*
|
||||
@ -83,9 +83,9 @@ function addContainer(ariaLive = 'polite') {
|
||||
return container;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","i18n"]
|
||||
;// external ["wp","i18n"]
|
||||
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/script/add-intro-text.js
|
||||
;// ./node_modules/@wordpress/a11y/build-module/script/add-intro-text.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -115,7 +115,7 @@ function addIntroText() {
|
||||
return introText;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/shared/clear.js
|
||||
;// ./node_modules/@wordpress/a11y/build-module/shared/clear.js
|
||||
/**
|
||||
* Clears the a11y-speak-region elements and hides the explanatory text.
|
||||
*/
|
||||
@ -132,7 +132,7 @@ function clear() {
|
||||
}
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/shared/filter-message.js
|
||||
;// ./node_modules/@wordpress/a11y/build-module/shared/filter-message.js
|
||||
let previousMessage = '';
|
||||
|
||||
/**
|
||||
@ -163,7 +163,7 @@ function filterMessage(message) {
|
||||
return message;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/shared/index.js
|
||||
;// ./node_modules/@wordpress/a11y/build-module/shared/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -213,7 +213,7 @@ function speak(message, ariaLive) {
|
||||
}
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/index.js
|
||||
;// ./node_modules/@wordpress/a11y/build-module/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
34
wp-includes/js/dist/annotations.js
vendored
34
wp-includes/js/dist/annotations.js
vendored
@ -62,11 +62,11 @@ __webpack_require__.d(actions_namespaceObject, {
|
||||
__experimentalUpdateAnnotationRange: () => (__experimentalUpdateAnnotationRange)
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","richText"]
|
||||
;// external ["wp","richText"]
|
||||
const external_wp_richText_namespaceObject = window["wp"]["richText"];
|
||||
;// CONCATENATED MODULE: external ["wp","i18n"]
|
||||
;// external ["wp","i18n"]
|
||||
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/constants.js
|
||||
;// ./node_modules/@wordpress/annotations/build-module/store/constants.js
|
||||
/**
|
||||
* The identifier for the data store.
|
||||
*
|
||||
@ -74,7 +74,7 @@ const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
|
||||
*/
|
||||
const STORE_NAME = 'core/annotations';
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/format/annotation.js
|
||||
;// ./node_modules/@wordpress/annotations/build-module/format/annotation.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -248,7 +248,7 @@ const annotation = {
|
||||
}
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/format/index.js
|
||||
;// ./node_modules/@wordpress/annotations/build-module/format/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -264,11 +264,11 @@ const {
|
||||
} = annotation;
|
||||
(0,external_wp_richText_namespaceObject.registerFormatType)(format_name, settings);
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","hooks"]
|
||||
;// external ["wp","hooks"]
|
||||
const external_wp_hooks_namespaceObject = window["wp"]["hooks"];
|
||||
;// CONCATENATED MODULE: external ["wp","data"]
|
||||
;// external ["wp","data"]
|
||||
const external_wp_data_namespaceObject = window["wp"]["data"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/block/index.js
|
||||
;// ./node_modules/@wordpress/annotations/build-module/block/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -300,7 +300,7 @@ const addAnnotationClassName = OriginalComponent => {
|
||||
};
|
||||
(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockListBlock', 'core/annotations', addAnnotationClassName);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/reducer.js
|
||||
;// ./node_modules/@wordpress/annotations/build-module/store/reducer.js
|
||||
/**
|
||||
* Filters an array based on the predicate, but keeps the reference the same if
|
||||
* the array hasn't changed.
|
||||
@ -402,7 +402,7 @@ function annotations(state = {}, action) {
|
||||
}
|
||||
/* harmony default export */ const reducer = (annotations);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
|
||||
;// ./node_modules/@wordpress/annotations/build-module/store/selectors.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -482,12 +482,12 @@ function __experimentalGetAnnotations(state) {
|
||||
return Object.values(state).flat();
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/native.js
|
||||
;// ./node_modules/@wordpress/annotations/node_modules/uuid/dist/esm-browser/native.js
|
||||
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
||||
/* harmony default export */ const esm_browser_native = ({
|
||||
randomUUID
|
||||
});
|
||||
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
|
||||
;// ./node_modules/@wordpress/annotations/node_modules/uuid/dist/esm-browser/rng.js
|
||||
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
||||
// require the crypto API and do not support built-in fallback to lower quality random number
|
||||
// generators (like Math.random()).
|
||||
@ -506,7 +506,7 @@ function rng() {
|
||||
|
||||
return getRandomValues(rnds8);
|
||||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
|
||||
;// ./node_modules/@wordpress/annotations/node_modules/uuid/dist/esm-browser/stringify.js
|
||||
|
||||
/**
|
||||
* Convert array of 16 byte values to UUID string format of the form:
|
||||
@ -540,7 +540,7 @@ function stringify(arr, offset = 0) {
|
||||
}
|
||||
|
||||
/* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
|
||||
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
|
||||
;// ./node_modules/@wordpress/annotations/node_modules/uuid/dist/esm-browser/v4.js
|
||||
|
||||
|
||||
|
||||
@ -570,7 +570,7 @@ function v4(options, buf, offset) {
|
||||
}
|
||||
|
||||
/* harmony default export */ const esm_browser_v4 = (v4);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
|
||||
;// ./node_modules/@wordpress/annotations/build-module/store/actions.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -671,7 +671,7 @@ function __experimentalRemoveAnnotationsBySource(source) {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/index.js
|
||||
;// ./node_modules/@wordpress/annotations/build-module/store/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -703,7 +703,7 @@ const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME,
|
||||
});
|
||||
(0,external_wp_data_namespaceObject.register)(store);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/index.js
|
||||
;// ./node_modules/@wordpress/annotations/build-module/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
26
wp-includes/js/dist/api-fetch.js
vendored
26
wp-includes/js/dist/api-fetch.js
vendored
@ -29,9 +29,9 @@ __webpack_require__.d(__webpack_exports__, {
|
||||
"default": () => (/* binding */ build_module)
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","i18n"]
|
||||
;// external ["wp","i18n"]
|
||||
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js
|
||||
;// ./node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js
|
||||
/**
|
||||
* @param {string} nonce
|
||||
* @return {import('../types').APIFetchMiddleware & { nonce: string }} A middleware to enhance a request with a nonce.
|
||||
@ -65,7 +65,7 @@ function createNonceMiddleware(nonce) {
|
||||
}
|
||||
/* harmony default export */ const nonce = (createNonceMiddleware);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/namespace-endpoint.js
|
||||
;// ./node_modules/@wordpress/api-fetch/build-module/middlewares/namespace-endpoint.js
|
||||
/**
|
||||
* @type {import('../types').APIFetchMiddleware}
|
||||
*/
|
||||
@ -90,7 +90,7 @@ const namespaceAndEndpointMiddleware = (options, next) => {
|
||||
};
|
||||
/* harmony default export */ const namespace_endpoint = (namespaceAndEndpointMiddleware);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/root-url.js
|
||||
;// ./node_modules/@wordpress/api-fetch/build-module/middlewares/root-url.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -127,9 +127,9 @@ const createRootURLMiddleware = rootURL => (options, next) => {
|
||||
};
|
||||
/* harmony default export */ const root_url = (createRootURLMiddleware);
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","url"]
|
||||
;// external ["wp","url"]
|
||||
const external_wp_url_namespaceObject = window["wp"]["url"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/preloading.js
|
||||
;// ./node_modules/@wordpress/api-fetch/build-module/middlewares/preloading.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -194,7 +194,7 @@ function prepareResponse(responseData, parse) {
|
||||
}
|
||||
/* harmony default export */ const preloading = (createPreloadingMiddleware);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js
|
||||
;// ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -320,7 +320,7 @@ const fetchAllMiddleware = async (options, next) => {
|
||||
};
|
||||
/* harmony default export */ const fetch_all_middleware = (fetchAllMiddleware);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/http-v1.js
|
||||
;// ./node_modules/@wordpress/api-fetch/build-module/middlewares/http-v1.js
|
||||
/**
|
||||
* Set of HTTP methods which are eligible to be overridden.
|
||||
*
|
||||
@ -365,7 +365,7 @@ const httpV1Middleware = (options, next) => {
|
||||
};
|
||||
/* harmony default export */ const http_v1 = (httpV1Middleware);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/user-locale.js
|
||||
;// ./node_modules/@wordpress/api-fetch/build-module/middlewares/user-locale.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -389,7 +389,7 @@ const userLocaleMiddleware = (options, next) => {
|
||||
};
|
||||
/* harmony default export */ const user_locale = (userLocaleMiddleware);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/utils/response.js
|
||||
;// ./node_modules/@wordpress/api-fetch/build-module/utils/response.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -465,7 +465,7 @@ function parseAndThrowError(response, shouldParseResponse = true) {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/media-upload.js
|
||||
;// ./node_modules/@wordpress/api-fetch/build-module/middlewares/media-upload.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -547,7 +547,7 @@ const mediaUploadMiddleware = (options, next) => {
|
||||
};
|
||||
/* harmony default export */ const media_upload = (mediaUploadMiddleware);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/theme-preview.js
|
||||
;// ./node_modules/@wordpress/api-fetch/build-module/middlewares/theme-preview.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -588,7 +588,7 @@ const createThemePreviewMiddleware = themePath => (options, next) => {
|
||||
};
|
||||
/* harmony default export */ const theme_preview = (createThemePreviewMiddleware);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/index.js
|
||||
;// ./node_modules/@wordpress/api-fetch/build-module/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
108
wp-includes/js/dist/block-directory.js
vendored
108
wp-includes/js/dist/block-directory.js
vendored
@ -90,19 +90,19 @@ __webpack_require__.d(resolvers_namespaceObject, {
|
||||
getDownloadableBlocks: () => (resolvers_getDownloadableBlocks)
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","plugins"]
|
||||
;// external ["wp","plugins"]
|
||||
const external_wp_plugins_namespaceObject = window["wp"]["plugins"];
|
||||
;// CONCATENATED MODULE: external ["wp","hooks"]
|
||||
;// external ["wp","hooks"]
|
||||
const external_wp_hooks_namespaceObject = window["wp"]["hooks"];
|
||||
;// CONCATENATED MODULE: external ["wp","blocks"]
|
||||
;// external ["wp","blocks"]
|
||||
const external_wp_blocks_namespaceObject = window["wp"]["blocks"];
|
||||
;// CONCATENATED MODULE: external ["wp","data"]
|
||||
;// external ["wp","data"]
|
||||
const external_wp_data_namespaceObject = window["wp"]["data"];
|
||||
;// CONCATENATED MODULE: external ["wp","element"]
|
||||
;// external ["wp","element"]
|
||||
const external_wp_element_namespaceObject = window["wp"]["element"];
|
||||
;// CONCATENATED MODULE: external ["wp","editor"]
|
||||
;// external ["wp","editor"]
|
||||
const external_wp_editor_namespaceObject = window["wp"]["editor"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/reducer.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/store/reducer.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -205,9 +205,9 @@ const errorNotices = (state = {}, action) => {
|
||||
errorNotices
|
||||
}));
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","blockEditor"]
|
||||
;// external ["wp","blockEditor"]
|
||||
const external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/utils/has-block-type.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/store/utils/has-block-type.js
|
||||
/**
|
||||
* Check if a block list contains a specific block type. Recursively searches
|
||||
* through `innerBlocks` if they exist.
|
||||
@ -234,7 +234,7 @@ function hasBlockType(blockType, blocks = []) {
|
||||
return false;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/selectors.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/store/selectors.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -347,16 +347,16 @@ function getErrorNoticeForBlock(state, blockId) {
|
||||
return state.errorNotices[blockId];
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","i18n"]
|
||||
;// external ["wp","i18n"]
|
||||
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
|
||||
;// CONCATENATED MODULE: external ["wp","apiFetch"]
|
||||
;// external ["wp","apiFetch"]
|
||||
const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
|
||||
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
|
||||
;// CONCATENATED MODULE: external ["wp","notices"]
|
||||
;// external ["wp","notices"]
|
||||
const external_wp_notices_namespaceObject = window["wp"]["notices"];
|
||||
;// CONCATENATED MODULE: external ["wp","url"]
|
||||
;// external ["wp","url"]
|
||||
const external_wp_url_namespaceObject = window["wp"]["url"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/load-assets.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/store/load-assets.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -428,7 +428,7 @@ async function loadAssets() {
|
||||
}
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/utils/get-plugin-url.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/store/utils/get-plugin-url.js
|
||||
/**
|
||||
* Get the plugin's direct API link out of a block-directory response.
|
||||
*
|
||||
@ -447,7 +447,7 @@ function getPluginUrl(block) {
|
||||
return false;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/actions.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/store/actions.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -705,7 +705,7 @@ function clearErrorNotice(blockId) {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/tslib/tslib.es6.mjs
|
||||
;// ./node_modules/tslib/tslib.es6.mjs
|
||||
/******************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
@ -1085,7 +1085,7 @@ function __disposeResources(env) {
|
||||
__disposeResources,
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/lower-case/dist.es2015/index.js
|
||||
;// ./node_modules/lower-case/dist.es2015/index.js
|
||||
/**
|
||||
* Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt
|
||||
*/
|
||||
@ -1134,7 +1134,7 @@ function lowerCase(str) {
|
||||
return str.toLowerCase();
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/no-case/dist.es2015/index.js
|
||||
;// ./node_modules/no-case/dist.es2015/index.js
|
||||
|
||||
// Support camel case ("camelCase" -> "camel Case" and "CAMELCase" -> "CAMEL Case").
|
||||
var DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
|
||||
@ -1166,7 +1166,7 @@ function replace(input, re, value) {
|
||||
return re.reduce(function (input, re) { return input.replace(re, value); }, input);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/pascal-case/dist.es2015/index.js
|
||||
;// ./node_modules/pascal-case/dist.es2015/index.js
|
||||
|
||||
|
||||
function pascalCaseTransform(input, index) {
|
||||
@ -1185,7 +1185,7 @@ function pascalCase(input, options) {
|
||||
return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/camel-case/dist.es2015/index.js
|
||||
;// ./node_modules/camel-case/dist.es2015/index.js
|
||||
|
||||
|
||||
function camelCaseTransform(input, index) {
|
||||
@ -1203,7 +1203,7 @@ function camelCase(input, options) {
|
||||
return pascalCase(input, __assign({ transform: camelCaseTransform }, options));
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/resolvers.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/store/resolvers.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -1234,7 +1234,7 @@ const resolvers_getDownloadableBlocks = filterValue => async ({
|
||||
} catch {}
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/store/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1277,7 +1277,7 @@ const storeConfig = {
|
||||
const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, storeConfig);
|
||||
(0,external_wp_data_namespaceObject.register)(store);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/auto-block-uninstaller/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/components/auto-block-uninstaller/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1313,17 +1313,17 @@ function AutoBlockUninstaller() {
|
||||
return null;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","compose"]
|
||||
;// external ["wp","compose"]
|
||||
const external_wp_compose_namespaceObject = window["wp"]["compose"];
|
||||
;// CONCATENATED MODULE: external ["wp","components"]
|
||||
;// external ["wp","components"]
|
||||
const external_wp_components_namespaceObject = window["wp"]["components"];
|
||||
;// CONCATENATED MODULE: external ["wp","coreData"]
|
||||
;// external ["wp","coreData"]
|
||||
const external_wp_coreData_namespaceObject = window["wp"]["coreData"];
|
||||
;// CONCATENATED MODULE: ./node_modules/clsx/dist/clsx.mjs
|
||||
;// ./node_modules/clsx/dist/clsx.mjs
|
||||
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f)}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}/* harmony default export */ const dist_clsx = (clsx);
|
||||
;// CONCATENATED MODULE: external ["wp","htmlEntities"]
|
||||
;// external ["wp","htmlEntities"]
|
||||
const external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/icon/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1355,11 +1355,11 @@ function Icon({
|
||||
}
|
||||
/* harmony default export */ const icon = ((0,external_wp_element_namespaceObject.forwardRef)(Icon));
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","primitives"]
|
||||
;// external ["wp","primitives"]
|
||||
const external_wp_primitives_namespaceObject = window["wp"]["primitives"];
|
||||
;// CONCATENATED MODULE: external "ReactJSXRuntime"
|
||||
;// external "ReactJSXRuntime"
|
||||
const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/star-filled.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1374,7 +1374,7 @@ const starFilled = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)
|
||||
});
|
||||
/* harmony default export */ const star_filled = (starFilled);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-half.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/star-half.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1389,7 +1389,7 @@ const starHalf = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(e
|
||||
});
|
||||
/* harmony default export */ const star_half = (starHalf);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/star-empty.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1406,7 +1406,7 @@ const starEmpty = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(
|
||||
});
|
||||
/* harmony default export */ const star_empty = (starEmpty);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/stars.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/stars.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1447,7 +1447,7 @@ function Stars({
|
||||
}
|
||||
/* harmony default export */ const stars = (Stars);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1463,7 +1463,7 @@ const BlockRatings = ({
|
||||
});
|
||||
/* harmony default export */ const block_ratings = (BlockRatings);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-icon/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-icon/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1485,7 +1485,7 @@ function DownloadableBlockIcon({
|
||||
}
|
||||
/* harmony default export */ const downloadable_block_icon = (DownloadableBlockIcon);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-notice/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-notice/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1515,7 +1515,7 @@ const DownloadableBlockNotice = ({
|
||||
};
|
||||
/* harmony default export */ const downloadable_block_notice = (DownloadableBlockNotice);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-list-item/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-list-item/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -1666,7 +1666,7 @@ function DownloadableBlockListItem({
|
||||
}
|
||||
/* harmony default export */ const downloadable_block_list_item = (DownloadableBlockListItem);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-list/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-list/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1722,9 +1722,9 @@ function DownloadableBlocksList({
|
||||
}
|
||||
/* harmony default export */ const downloadable_blocks_list = (DownloadableBlocksList);
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","a11y"]
|
||||
;// external ["wp","a11y"]
|
||||
const external_wp_a11y_namespaceObject = window["wp"]["a11y"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/inserter-panel.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/inserter-panel.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1767,7 +1767,7 @@ function DownloadableBlocksInserterPanel({
|
||||
}
|
||||
/* harmony default export */ const inserter_panel = (DownloadableBlocksInserterPanel);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/block-default.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/block-default.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1782,7 +1782,7 @@ const blockDefault = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.js
|
||||
});
|
||||
/* harmony default export */ const block_default = (blockDefault);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/no-results.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/no-results.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1815,7 +1815,7 @@ function DownloadableBlocksNoResults() {
|
||||
}
|
||||
/* harmony default export */ const no_results = (DownloadableBlocksNoResults);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1924,7 +1924,7 @@ function DownloadableBlocksPanel({
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/inserter-menu-downloadable-blocks-panel/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/plugins/inserter-menu-downloadable-blocks-panel/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1965,7 +1965,7 @@ function InserterMenuDownloadableBlocksPanel() {
|
||||
}
|
||||
/* harmony default export */ const inserter_menu_downloadable_blocks_panel = (InserterMenuDownloadableBlocksPanel);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/compact-list/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/components/compact-list/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2010,7 +2010,7 @@ function CompactList({
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/installed-blocks-pre-publish-panel/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/plugins/installed-blocks-pre-publish-panel/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2046,7 +2046,7 @@ function InstalledBlocksPrePublishPanel() {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/get-install-missing/install-button.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/plugins/get-install-missing/install-button.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2093,7 +2093,7 @@ function InstallButton({
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/get-install-missing/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/plugins/get-install-missing/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2199,7 +2199,7 @@ const ModifiedWarning = ({
|
||||
};
|
||||
/* harmony default export */ const get_install_missing = (getInstallMissing);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/plugins/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2231,7 +2231,7 @@ const ModifiedWarning = ({
|
||||
return settings;
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/index.js
|
||||
;// ./node_modules/@wordpress/block-directory/build-module/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
2
wp-includes/js/dist/block-directory.min.js
vendored
2
wp-includes/js/dist/block-directory.min.js
vendored
File diff suppressed because one or more lines are too long
1397
wp-includes/js/dist/block-editor.js
vendored
1397
wp-includes/js/dist/block-editor.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/block-editor.min.js
vendored
2
wp-includes/js/dist/block-editor.min.js
vendored
File diff suppressed because one or more lines are too long
1470
wp-includes/js/dist/block-library.js
vendored
1470
wp-includes/js/dist/block-library.js
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/block-library.min.js
vendored
4
wp-includes/js/dist/block-library.min.js
vendored
File diff suppressed because one or more lines are too long
184
wp-includes/js/dist/blocks.js
vendored
184
wp-includes/js/dist/blocks.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/blocks.min.js
vendored
2
wp-includes/js/dist/blocks.min.js
vendored
File diff suppressed because one or more lines are too long
134
wp-includes/js/dist/commands.js
vendored
134
wp-includes/js/dist/commands.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/commands.min.js
vendored
2
wp-includes/js/dist/commands.min.js
vendored
File diff suppressed because one or more lines are too long
1912
wp-includes/js/dist/components.js
vendored
1912
wp-includes/js/dist/components.js
vendored
File diff suppressed because one or more lines are too long
8
wp-includes/js/dist/components.min.js
vendored
8
wp-includes/js/dist/components.min.js
vendored
File diff suppressed because one or more lines are too long
118
wp-includes/js/dist/compose.js
vendored
118
wp-includes/js/dist/compose.js
vendored
@ -2271,7 +2271,7 @@ module.exports = window["wp"]["isShallowEqual"];
|
||||
/******/
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = {};
|
||||
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
||||
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
||||
(() => {
|
||||
"use strict";
|
||||
// ESM COMPAT FLAG
|
||||
@ -2323,7 +2323,7 @@ __webpack_require__.d(__webpack_exports__, {
|
||||
withState: () => (/* reexport */ withState)
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/tslib/tslib.es6.mjs
|
||||
;// ./node_modules/tslib/tslib.es6.mjs
|
||||
/******************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
@ -2703,7 +2703,7 @@ function __disposeResources(env) {
|
||||
__disposeResources,
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/lower-case/dist.es2015/index.js
|
||||
;// ./node_modules/lower-case/dist.es2015/index.js
|
||||
/**
|
||||
* Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt
|
||||
*/
|
||||
@ -2752,7 +2752,7 @@ function lowerCase(str) {
|
||||
return str.toLowerCase();
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/no-case/dist.es2015/index.js
|
||||
;// ./node_modules/no-case/dist.es2015/index.js
|
||||
|
||||
// Support camel case ("camelCase" -> "camel Case" and "CAMELCase" -> "CAMEL Case").
|
||||
var DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
|
||||
@ -2784,7 +2784,7 @@ function replace(input, re, value) {
|
||||
return re.reduce(function (input, re) { return input.replace(re, value); }, input);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/pascal-case/dist.es2015/index.js
|
||||
;// ./node_modules/pascal-case/dist.es2015/index.js
|
||||
|
||||
|
||||
function pascalCaseTransform(input, index) {
|
||||
@ -2803,7 +2803,7 @@ function pascalCase(input, options) {
|
||||
return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/utils/create-higher-order-component/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/utils/create-higher-order-component/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -2842,7 +2842,7 @@ const hocName = (name, Inner) => {
|
||||
return `${outer}(${inner})`;
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/utils/debounce/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/utils/debounce/index.js
|
||||
/**
|
||||
* Parts of this source were derived and modified from lodash,
|
||||
* released under the MIT license.
|
||||
@ -3036,7 +3036,7 @@ const debounce = (func, wait, options) => {
|
||||
return debounced;
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/utils/throttle/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/utils/throttle/index.js
|
||||
/**
|
||||
* Parts of this source were derived and modified from lodash,
|
||||
* released under the MIT license.
|
||||
@ -3122,7 +3122,7 @@ const throttle = (func, wait, options) => {
|
||||
});
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/utils/observable-map/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/utils/observable-map/index.js
|
||||
/**
|
||||
* A constructor (factory) for `ObservableMap`, a map-like key/value data structure
|
||||
* where the individual entries are observable: using the `subscribe` method, you can
|
||||
@ -3175,7 +3175,7 @@ function observableMap() {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/pipe.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/higher-order/pipe.js
|
||||
/**
|
||||
* Parts of this source were derived and modified from lodash,
|
||||
* released under the MIT license.
|
||||
@ -3245,7 +3245,7 @@ const pipe = basePipe();
|
||||
|
||||
/* harmony default export */ const higher_order_pipe = (pipe);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/compose.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/higher-order/compose.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -3262,9 +3262,9 @@ const pipe = basePipe();
|
||||
const compose = basePipe(true);
|
||||
/* harmony default export */ const higher_order_compose = (compose);
|
||||
|
||||
;// CONCATENATED MODULE: external "ReactJSXRuntime"
|
||||
;// external "ReactJSXRuntime"
|
||||
const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/if-condition/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/higher-order/if-condition/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -3307,9 +3307,9 @@ function ifCondition(predicate) {
|
||||
// EXTERNAL MODULE: external ["wp","isShallowEqual"]
|
||||
var external_wp_isShallowEqual_ = __webpack_require__(923);
|
||||
var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);
|
||||
;// CONCATENATED MODULE: external ["wp","element"]
|
||||
;// external ["wp","element"]
|
||||
const external_wp_element_namespaceObject = window["wp"]["element"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/pure/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/higher-order/pure/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -3353,10 +3353,10 @@ const pure = createHigherOrderComponent(function (WrappedComponent) {
|
||||
}, 'pure');
|
||||
/* harmony default export */ const higher_order_pure = (pure);
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","deprecated"]
|
||||
;// external ["wp","deprecated"]
|
||||
const external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
|
||||
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-global-events/listener.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/higher-order/with-global-events/listener.js
|
||||
/**
|
||||
* Class responsible for orchestrating event handling on the global window,
|
||||
* binding a single event to be shared across all handling instances, and
|
||||
@ -3395,7 +3395,7 @@ class Listener {
|
||||
}
|
||||
/* harmony default export */ const listener = (Listener);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-global-events/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/higher-order/with-global-events/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3492,7 +3492,7 @@ function withGlobalEvents(eventTypesToHandlers) {
|
||||
}, 'withGlobalEvents');
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3543,7 +3543,7 @@ function useInstanceId(object, prefix, preferredId) {
|
||||
}
|
||||
/* harmony default export */ const use_instance_id = (useInstanceId);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-instance-id/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/higher-order/with-instance-id/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -3566,7 +3566,7 @@ const withInstanceId = createHigherOrderComponent(WrappedComponent => {
|
||||
}, 'instanceId');
|
||||
/* harmony default export */ const with_instance_id = (withInstanceId);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-safe-timeout/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/higher-order/with-safe-timeout/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3629,7 +3629,7 @@ const withSafeTimeout = createHigherOrderComponent(OriginalComponent => {
|
||||
}, 'withSafeTimeout');
|
||||
/* harmony default export */ const with_safe_timeout = (withSafeTimeout);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-state/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/higher-order/with-state/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3675,9 +3675,9 @@ function withState(initialState = {}) {
|
||||
}, 'withState');
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","dom"]
|
||||
;// external ["wp","dom"]
|
||||
const external_wp_dom_namespaceObject = window["wp"]["dom"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-ref-effect/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-ref-effect/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -3717,7 +3717,7 @@ function useRefEffect(callback, dependencies) {
|
||||
}, dependencies);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-constrained-tabbing/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-constrained-tabbing/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3809,7 +3809,7 @@ function useConstrainedTabbing() {
|
||||
// EXTERNAL MODULE: ./node_modules/clipboard/dist/clipboard.js
|
||||
var dist_clipboard = __webpack_require__(3758);
|
||||
var clipboard_default = /*#__PURE__*/__webpack_require__.n(dist_clipboard);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-copy-on-click/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-copy-on-click/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -3885,7 +3885,7 @@ function useCopyOnClick(ref, text, timeout = 4000) {
|
||||
return hasCopied;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-copy-to-clipboard/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-copy-to-clipboard/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -3951,9 +3951,9 @@ function useCopyToClipboard(text, onSuccess) {
|
||||
}, []);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","keycodes"]
|
||||
;// external ["wp","keycodes"]
|
||||
const external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focus-on-mount/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-focus-on-mount/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4035,7 +4035,7 @@ function useFocusOnMount(focusOnMount = 'firstElement') {
|
||||
}, []);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focus-return/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-focus-return/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4108,7 +4108,7 @@ function useFocusReturn(onFocusReturn) {
|
||||
}
|
||||
/* harmony default export */ const use_focus_return = (useFocusReturn);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focus-outside/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-focus-outside/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4261,7 +4261,7 @@ function useFocusOutside(onFocusOutside) {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-merge-refs/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-merge-refs/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4388,7 +4388,7 @@ function useMergeRefs(refs) {
|
||||
}, []);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-dialog/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-dialog/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -4455,7 +4455,7 @@ function useDialog(options) {
|
||||
}
|
||||
/* harmony default export */ const use_dialog = (useDialog);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-disabled/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-disabled/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -4538,7 +4538,7 @@ function useDisabled({
|
||||
}, [isDisabledProp]);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-event/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-event/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4584,7 +4584,7 @@ callback) {
|
||||
return (0,external_wp_element_namespaceObject.useCallback)((...args) => ref.current?.(...args), []);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-isomorphic-layout-effect/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-isomorphic-layout-effect/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4598,7 +4598,7 @@ callback) {
|
||||
const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? external_wp_element_namespaceObject.useLayoutEffect : external_wp_element_namespaceObject.useEffect;
|
||||
/* harmony default export */ const use_isomorphic_layout_effect = (useIsomorphicLayoutEffect);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-dragging/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-dragging/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4676,7 +4676,7 @@ var mousetrap_mousetrap = __webpack_require__(1933);
|
||||
var mousetrap_default = /*#__PURE__*/__webpack_require__.n(mousetrap_mousetrap);
|
||||
// EXTERNAL MODULE: ./node_modules/mousetrap/plugins/global-bind/mousetrap-global-bind.js
|
||||
var mousetrap_global_bind = __webpack_require__(5760);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-keyboard-shortcut/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-keyboard-shortcut/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -4759,7 +4759,7 @@ shortcuts, callback, {
|
||||
}
|
||||
/* harmony default export */ const use_keyboard_shortcut = (useKeyboardShortcut);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-media-query/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-media-query/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4819,7 +4819,7 @@ function useMediaQuery(query) {
|
||||
return (0,external_wp_element_namespaceObject.useSyncExternalStore)(source.subscribe, source.getValue, () => false);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-previous/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-previous/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4845,7 +4845,7 @@ function usePrevious(value) {
|
||||
return ref.current;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-reduced-motion/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-reduced-motion/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -4861,7 +4861,7 @@ const useReducedMotion = () => useMediaQuery('(prefers-reduced-motion: reduce)')
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/undo-manager/build-module/index.js
|
||||
var build_module = __webpack_require__(6689);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-state-with-history/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-state-with-history/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4949,7 +4949,7 @@ function useStateWithHistory(initialValue) {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-viewport-match/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-viewport-match/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -5034,7 +5034,7 @@ const useViewportMatch = (breakpoint, operator = '>=') => {
|
||||
useViewportMatch.__experimentalWidthProvider = ViewportMatchWidthContext.Provider;
|
||||
/* harmony default export */ const use_viewport_match = (useViewportMatch);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/use-resize-observer.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/use-resize-observer.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -5078,7 +5078,7 @@ function useResizeObserver(callback, resizeObserverOptions = {}) {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/legacy/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/legacy/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -5209,7 +5209,7 @@ function useLegacyResizeObserver() {
|
||||
return [resizeElement, size];
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -5273,9 +5273,9 @@ function use_resize_observer_useResizeObserver(callback, options = {}) {
|
||||
return callback ? useResizeObserver(callback, options) : useLegacyResizeObserver();
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","priorityQueue"]
|
||||
;// external ["wp","priorityQueue"]
|
||||
const external_wp_priorityQueue_namespaceObject = window["wp"]["priorityQueue"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-async-list/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-async-list/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -5337,7 +5337,7 @@ function useAsyncList(list, config = {
|
||||
}
|
||||
/* harmony default export */ const use_async_list = (useAsyncList);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-warn-on-change/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-warn-on-change/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -5376,9 +5376,9 @@ function useWarnOnChange(object, prefix = 'Change detection') {
|
||||
}
|
||||
/* harmony default export */ const use_warn_on_change = (useWarnOnChange);
|
||||
|
||||
;// CONCATENATED MODULE: external "React"
|
||||
;// external "React"
|
||||
const external_React_namespaceObject = window["React"];
|
||||
;// CONCATENATED MODULE: ./node_modules/use-memo-one/dist/use-memo-one.esm.js
|
||||
;// ./node_modules/use-memo-one/dist/use-memo-one.esm.js
|
||||
|
||||
|
||||
function areInputsEqual(newInputs, lastInputs) {
|
||||
@ -5425,7 +5425,7 @@ var useCallback = (/* unused pure expression or super */ null && (useCallbackOne
|
||||
|
||||
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-debounce/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-debounce/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -5462,7 +5462,7 @@ function useDebounce(fn, wait, options) {
|
||||
return debounced;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-debounced-input/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-debounced-input/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -5489,7 +5489,7 @@ function useDebouncedInput(defaultValue = '') {
|
||||
return [input, setInput, debouncedInput];
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-throttle/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-throttle/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -5526,7 +5526,7 @@ function useThrottle(fn, wait, options) {
|
||||
return throttled;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-drop-zone/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-drop-zone/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -5737,7 +5737,7 @@ function useDropZone({
|
||||
);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focusable-iframe/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-focusable-iframe/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -5784,7 +5784,7 @@ function useFocusableIframe() {
|
||||
}, []);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-fixed-window-list/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-fixed-window-list/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -5920,7 +5920,7 @@ function useFixedWindowList(elementRef, itemHeight, totalItems, options) {
|
||||
return [fixedListWindow, setFixedListWindow];
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-observable-value/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/hooks/use-observable-value/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -5947,7 +5947,7 @@ function useObservableValue(map, name) {
|
||||
return (0,external_wp_element_namespaceObject.useSyncExternalStore)(subscribe, getValue, getValue);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/index.js
|
||||
;// ./node_modules/@wordpress/compose/build-module/index.js
|
||||
// The `createHigherOrderComponent` helper and helper types.
|
||||
|
||||
// The `debounce` helper and its types.
|
||||
|
2
wp-includes/js/dist/compose.min.js
vendored
2
wp-includes/js/dist/compose.min.js
vendored
File diff suppressed because one or more lines are too long
54
wp-includes/js/dist/core-commands.js
vendored
54
wp-includes/js/dist/core-commands.js
vendored
@ -42,15 +42,15 @@ __webpack_require__.d(__webpack_exports__, {
|
||||
privateApis: () => (/* reexport */ privateApis)
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","commands"]
|
||||
;// external ["wp","commands"]
|
||||
const external_wp_commands_namespaceObject = window["wp"]["commands"];
|
||||
;// CONCATENATED MODULE: external ["wp","i18n"]
|
||||
;// external ["wp","i18n"]
|
||||
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
|
||||
;// CONCATENATED MODULE: external ["wp","primitives"]
|
||||
;// external ["wp","primitives"]
|
||||
const external_wp_primitives_namespaceObject = window["wp"]["primitives"];
|
||||
;// CONCATENATED MODULE: external "ReactJSXRuntime"
|
||||
;// external "ReactJSXRuntime"
|
||||
const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/plus.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -65,21 +65,21 @@ const plus = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(exter
|
||||
});
|
||||
/* harmony default export */ const library_plus = (plus);
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","url"]
|
||||
;// external ["wp","url"]
|
||||
const external_wp_url_namespaceObject = window["wp"]["url"];
|
||||
;// CONCATENATED MODULE: external ["wp","coreData"]
|
||||
;// external ["wp","coreData"]
|
||||
const external_wp_coreData_namespaceObject = window["wp"]["coreData"];
|
||||
;// CONCATENATED MODULE: external ["wp","data"]
|
||||
;// external ["wp","data"]
|
||||
const external_wp_data_namespaceObject = window["wp"]["data"];
|
||||
;// CONCATENATED MODULE: external ["wp","element"]
|
||||
;// external ["wp","element"]
|
||||
const external_wp_element_namespaceObject = window["wp"]["element"];
|
||||
;// CONCATENATED MODULE: external ["wp","notices"]
|
||||
;// external ["wp","notices"]
|
||||
const external_wp_notices_namespaceObject = window["wp"]["notices"];
|
||||
;// CONCATENATED MODULE: external ["wp","router"]
|
||||
;// external ["wp","router"]
|
||||
const external_wp_router_namespaceObject = window["wp"]["router"];
|
||||
;// CONCATENATED MODULE: external ["wp","privateApis"]
|
||||
;// external ["wp","privateApis"]
|
||||
const external_wp_privateApis_namespaceObject = window["wp"]["privateApis"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-commands/build-module/lock-unlock.js
|
||||
;// ./node_modules/@wordpress/core-commands/build-module/lock-unlock.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -89,7 +89,7 @@ const {
|
||||
unlock
|
||||
} = (0,external_wp_privateApis_namespaceObject.__dangerousOptInToUnstableAPIsOnlyForCoreModules)('I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.', '@wordpress/core-commands');
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-commands/build-module/admin-navigation-commands.js
|
||||
;// ./node_modules/@wordpress/core-commands/build-module/admin-navigation-commands.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -176,7 +176,7 @@ function useAdminNavigationCommands() {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/post.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -191,7 +191,7 @@ const post = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(exter
|
||||
});
|
||||
/* harmony default export */ const library_post = (post);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/page.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/page.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -209,7 +209,7 @@ const page = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(exte
|
||||
});
|
||||
/* harmony default export */ const library_page = (page);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/layout.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/layout.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -224,7 +224,7 @@ const layout = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(ext
|
||||
});
|
||||
/* harmony default export */ const library_layout = (layout);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/symbol-filled.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/symbol-filled.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -239,7 +239,7 @@ const symbolFilled = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.js
|
||||
});
|
||||
/* harmony default export */ const symbol_filled = (symbolFilled);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/navigation.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/navigation.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -254,7 +254,7 @@ const navigation = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)
|
||||
});
|
||||
/* harmony default export */ const library_navigation = (navigation);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/styles.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/styles.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -271,7 +271,7 @@ const styles = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(ext
|
||||
});
|
||||
/* harmony default export */ const library_styles = (styles);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/symbol.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/symbol.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -286,11 +286,11 @@ const symbol = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(ext
|
||||
});
|
||||
/* harmony default export */ const library_symbol = (symbol);
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","compose"]
|
||||
;// external ["wp","compose"]
|
||||
const external_wp_compose_namespaceObject = window["wp"]["compose"];
|
||||
;// CONCATENATED MODULE: external ["wp","htmlEntities"]
|
||||
;// external ["wp","htmlEntities"]
|
||||
const external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-commands/build-module/utils/order-entity-records-by-search.js
|
||||
;// ./node_modules/@wordpress/core-commands/build-module/utils/order-entity-records-by-search.js
|
||||
function orderEntityRecordsBySearch(records = [], search = '') {
|
||||
if (!Array.isArray(records) || !records.length) {
|
||||
return [];
|
||||
@ -311,7 +311,7 @@ function orderEntityRecordsBySearch(records = [], search = '') {
|
||||
return priority.concat(nonPriority);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-commands/build-module/site-editor-navigation-commands.js
|
||||
;// ./node_modules/@wordpress/core-commands/build-module/site-editor-navigation-commands.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -690,7 +690,7 @@ function useSiteEditorNavigationCommands() {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-commands/build-module/private-apis.js
|
||||
;// ./node_modules/@wordpress/core-commands/build-module/private-apis.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -706,7 +706,7 @@ lock(privateApis, {
|
||||
useCommands
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-commands/build-module/index.js
|
||||
;// ./node_modules/@wordpress/core-commands/build-module/index.js
|
||||
|
||||
|
||||
(window.wp = window.wp || {}).coreCommands = __webpack_exports__;
|
||||
|
160
wp-includes/js/dist/core-data.js
vendored
160
wp-includes/js/dist/core-data.js
vendored
@ -653,8 +653,6 @@ module.exports = window["wp"]["isShallowEqual"];
|
||||
/******/
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = {};
|
||||
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
||||
(() => {
|
||||
// ESM COMPAT FLAG
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
||||
@ -818,16 +816,16 @@ __webpack_require__.d(resolvers_namespaceObject, {
|
||||
getUserPatternCategories: () => (resolvers_getUserPatternCategories)
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","data"]
|
||||
;// external ["wp","data"]
|
||||
const external_wp_data_namespaceObject = window["wp"]["data"];
|
||||
// EXTERNAL MODULE: ./node_modules/fast-deep-equal/es6/index.js
|
||||
var es6 = __webpack_require__(7734);
|
||||
var es6_default = /*#__PURE__*/__webpack_require__.n(es6);
|
||||
;// CONCATENATED MODULE: external ["wp","compose"]
|
||||
;// external ["wp","compose"]
|
||||
const external_wp_compose_namespaceObject = window["wp"]["compose"];
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/undo-manager/build-module/index.js
|
||||
var build_module = __webpack_require__(6689);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/if-matching-action.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/utils/if-matching-action.js
|
||||
/** @typedef {import('../types').AnyFunction} AnyFunction */
|
||||
|
||||
/**
|
||||
@ -847,7 +845,7 @@ const ifMatchingAction = isMatch => reducer => (state, action) => {
|
||||
};
|
||||
/* harmony default export */ const if_matching_action = (ifMatchingAction);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/replace-action.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/utils/replace-action.js
|
||||
/** @typedef {import('../types').AnyFunction} AnyFunction */
|
||||
|
||||
/**
|
||||
@ -863,7 +861,7 @@ const replaceAction = replacer => reducer => (state, action) => {
|
||||
};
|
||||
/* harmony default export */ const replace_action = (replaceAction);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/conservative-map-item.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/utils/conservative-map-item.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -909,7 +907,7 @@ function conservativeMapItem(item, nextItem) {
|
||||
return result;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/on-sub-key.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/utils/on-sub-key.js
|
||||
/** @typedef {import('../types').AnyFunction} AnyFunction */
|
||||
|
||||
/**
|
||||
@ -941,7 +939,7 @@ const onSubKey = actionProperty => reducer => (state = {}, action) => {
|
||||
};
|
||||
/* harmony default export */ const on_sub_key = (onSubKey);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/tslib/tslib.es6.mjs
|
||||
;// ./node_modules/tslib/tslib.es6.mjs
|
||||
/******************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
@ -1321,7 +1319,7 @@ function __disposeResources(env) {
|
||||
__disposeResources,
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/lower-case/dist.es2015/index.js
|
||||
;// ./node_modules/lower-case/dist.es2015/index.js
|
||||
/**
|
||||
* Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt
|
||||
*/
|
||||
@ -1370,7 +1368,7 @@ function lowerCase(str) {
|
||||
return str.toLowerCase();
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/no-case/dist.es2015/index.js
|
||||
;// ./node_modules/no-case/dist.es2015/index.js
|
||||
|
||||
// Support camel case ("camelCase" -> "camel Case" and "CAMELCase" -> "CAMEL Case").
|
||||
var DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
|
||||
@ -1402,7 +1400,7 @@ function replace(input, re, value) {
|
||||
return re.reduce(function (input, re) { return input.replace(re, value); }, input);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/upper-case-first/dist.es2015/index.js
|
||||
;// ./node_modules/upper-case-first/dist.es2015/index.js
|
||||
/**
|
||||
* Upper case the first character of an input string.
|
||||
*/
|
||||
@ -1410,7 +1408,7 @@ function upperCaseFirst(input) {
|
||||
return input.charAt(0).toUpperCase() + input.substr(1);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/capital-case/dist.es2015/index.js
|
||||
;// ./node_modules/capital-case/dist.es2015/index.js
|
||||
|
||||
|
||||
|
||||
@ -1422,7 +1420,7 @@ function capitalCase(input, options) {
|
||||
return noCase(input, __assign({ delimiter: " ", transform: capitalCaseTransform }, options));
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/pascal-case/dist.es2015/index.js
|
||||
;// ./node_modules/pascal-case/dist.es2015/index.js
|
||||
|
||||
|
||||
function pascalCaseTransform(input, index) {
|
||||
@ -1441,19 +1439,19 @@ function pascalCase(input, options) {
|
||||
return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","apiFetch"]
|
||||
;// external ["wp","apiFetch"]
|
||||
const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
|
||||
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
|
||||
;// CONCATENATED MODULE: external ["wp","i18n"]
|
||||
;// external ["wp","i18n"]
|
||||
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
|
||||
;// CONCATENATED MODULE: external ["wp","richText"]
|
||||
;// external ["wp","richText"]
|
||||
const external_wp_richText_namespaceObject = window["wp"]["richText"];
|
||||
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/native.js
|
||||
;// ./node_modules/@wordpress/core-data/node_modules/uuid/dist/esm-browser/native.js
|
||||
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
||||
/* harmony default export */ const esm_browser_native = ({
|
||||
randomUUID
|
||||
});
|
||||
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
|
||||
;// ./node_modules/@wordpress/core-data/node_modules/uuid/dist/esm-browser/rng.js
|
||||
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
||||
// require the crypto API and do not support built-in fallback to lower quality random number
|
||||
// generators (like Math.random()).
|
||||
@ -1472,7 +1470,7 @@ function rng() {
|
||||
|
||||
return getRandomValues(rnds8);
|
||||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
|
||||
;// ./node_modules/@wordpress/core-data/node_modules/uuid/dist/esm-browser/stringify.js
|
||||
|
||||
/**
|
||||
* Convert array of 16 byte values to UUID string format of the form:
|
||||
@ -1506,7 +1504,7 @@ function stringify(arr, offset = 0) {
|
||||
}
|
||||
|
||||
/* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
|
||||
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
|
||||
;// ./node_modules/@wordpress/core-data/node_modules/uuid/dist/esm-browser/v4.js
|
||||
|
||||
|
||||
|
||||
@ -1536,12 +1534,12 @@ function v4(options, buf, offset) {
|
||||
}
|
||||
|
||||
/* harmony default export */ const esm_browser_v4 = (v4);
|
||||
;// CONCATENATED MODULE: external ["wp","url"]
|
||||
;// external ["wp","url"]
|
||||
const external_wp_url_namespaceObject = window["wp"]["url"];
|
||||
;// CONCATENATED MODULE: external ["wp","deprecated"]
|
||||
;// external ["wp","deprecated"]
|
||||
const external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
|
||||
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/set-nested-value.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/utils/set-nested-value.js
|
||||
/**
|
||||
* Sets the value at path of object.
|
||||
* If a portion of path doesn’t exist, it’s created.
|
||||
@ -1585,7 +1583,7 @@ function setNestedValue(object, path, value) {
|
||||
return object;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/get-nested-value.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/utils/get-nested-value.js
|
||||
/**
|
||||
* Helper util to return a value from a certain path of the object.
|
||||
* Path is specified as either:
|
||||
@ -1610,7 +1608,7 @@ function getNestedValue(object, path, defaultValue) {
|
||||
return value !== undefined ? value : defaultValue;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/actions.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/queried-data/actions.js
|
||||
/**
|
||||
* Returns an action object used in signalling that items have been received.
|
||||
*
|
||||
@ -1667,7 +1665,7 @@ function receiveQueriedItems(items, query = {}, edits, meta) {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/batch/default-processor.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/batch/default-processor.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1745,7 +1743,7 @@ async function defaultProcessor(requests) {
|
||||
return results;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/batch/create-batch.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/batch/create-batch.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1910,7 +1908,7 @@ class ObservableSet {
|
||||
}
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/name.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/name.js
|
||||
/**
|
||||
* The reducer key used by core data in store registration.
|
||||
* This is defined in a separate file to avoid cycle-dependency
|
||||
@ -1919,7 +1917,7 @@ class ObservableSet {
|
||||
*/
|
||||
const STORE_NAME = 'core';
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/actions.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/actions.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -2758,7 +2756,7 @@ const receiveRevisions = (kind, name, recordKey, records, query, invalidateCache
|
||||
});
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/entities.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/entities.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -3268,7 +3266,7 @@ const getOrLoadEntitiesConfig = (kind, name) => async ({
|
||||
return configs;
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/get-normalized-comma-separable.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/utils/get-normalized-comma-separable.js
|
||||
/**
|
||||
* Given a value which can be specified as one or the other of a comma-separated
|
||||
* string or an array, returns a value normalized to an array of strings, or
|
||||
@ -3288,7 +3286,7 @@ function getNormalizedCommaSeparable(value) {
|
||||
}
|
||||
/* harmony default export */ const get_normalized_comma_separable = (getNormalizedCommaSeparable);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/with-weak-map-cache.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/utils/with-weak-map-cache.js
|
||||
/**
|
||||
* Given a function, returns an enhanced function which caches the result and
|
||||
* tracks in WeakMap. The result is only cached if the original function is
|
||||
@ -3319,7 +3317,7 @@ function withWeakMapCache(fn) {
|
||||
}
|
||||
/* harmony default export */ const with_weak_map_cache = (withWeakMapCache);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/get-query-parts.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/queried-data/get-query-parts.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3423,7 +3421,7 @@ function getQueryParts(query) {
|
||||
}
|
||||
/* harmony default export */ const get_query_parts = (with_weak_map_cache(getQueryParts));
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/reducer.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/queried-data/reducer.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3659,7 +3657,7 @@ const queries = (state = {}, action) => {
|
||||
queries
|
||||
}));
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/reducer.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/reducer.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -4263,7 +4261,7 @@ function registeredPostMeta(state = {}, action) {
|
||||
// EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
|
||||
var equivalent_key_map = __webpack_require__(3249);
|
||||
var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/selectors.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/queried-data/selectors.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -4398,7 +4396,7 @@ function getQueriedTotalPages(state, query = {}) {
|
||||
return (_state$queries$contex2 = state.queries?.[context]?.[stableKey]?.meta?.totalPages) !== null && _state$queries$contex2 !== void 0 ? _state$queries$contex2 : null;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/is-numeric-id.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/utils/is-numeric-id.js
|
||||
/**
|
||||
* Checks argument to determine if it's a numeric ID.
|
||||
* For example, '123' is a numeric ID, but '123abc' is not.
|
||||
@ -4410,7 +4408,7 @@ function isNumericID(id) {
|
||||
return /^\s*\d+\s*$/.test(id);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/is-raw-attribute.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/utils/is-raw-attribute.js
|
||||
/**
|
||||
* Checks whether the attribute is a "raw" attribute or not.
|
||||
*
|
||||
@ -4423,7 +4421,7 @@ function isRawAttribute(entity, attribute) {
|
||||
return (entity.rawAttributes || []).includes(attribute);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/user-permissions.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/utils/user-permissions.js
|
||||
const ALLOWED_RESOURCE_ACTIONS = ['create', 'read', 'update', 'delete'];
|
||||
function getUserPermissionsFromAllowHeader(allowedMethods) {
|
||||
const permissions = {};
|
||||
@ -4446,7 +4444,7 @@ function getUserPermissionCacheKey(action, resource, id) {
|
||||
return key;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/selectors.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/selectors.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -5513,7 +5511,7 @@ const getRevision = (0,external_wp_data_namespaceObject.createSelector)((state,
|
||||
return [state.entities.records?.[kind]?.[name]?.revisions?.[recordKey]?.items?.[context]?.[revisionKey], state.entities.records?.[kind]?.[name]?.revisions?.[recordKey]?.itemIsComplete?.[context]?.[revisionKey]];
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/private-selectors.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/private-selectors.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -5595,7 +5593,7 @@ function getRegisteredPostMeta(state, postType) {
|
||||
return (_state$registeredPost = state.registeredPostMeta?.[postType]) !== null && _state$registeredPost !== void 0 ? _state$registeredPost : {};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/private-actions.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/private-actions.js
|
||||
/**
|
||||
* Returns an action object used in signalling that the registered post meta
|
||||
* fields for a post type have been received.
|
||||
@ -5613,7 +5611,7 @@ function receiveRegisteredPostMeta(postType, registeredPostMeta) {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/camel-case/dist.es2015/index.js
|
||||
;// ./node_modules/camel-case/dist.es2015/index.js
|
||||
|
||||
|
||||
function camelCaseTransform(input, index) {
|
||||
@ -5631,9 +5629,9 @@ function camelCase(input, options) {
|
||||
return pascalCase(input, __assign({ transform: camelCaseTransform }, options));
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","htmlEntities"]
|
||||
;// external ["wp","htmlEntities"]
|
||||
const external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/forward-resolver.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/utils/forward-resolver.js
|
||||
/**
|
||||
* Higher-order function which forward the resolution to another resolver with the same arguments.
|
||||
*
|
||||
@ -5648,7 +5646,7 @@ const forwardResolver = resolverName => (...args) => async ({
|
||||
};
|
||||
/* harmony default export */ const forward_resolver = (forwardResolver);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/fetch/__experimental-fetch-link-suggestions.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/fetch/__experimental-fetch-link-suggestions.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -5831,7 +5829,7 @@ function tokenize(text) {
|
||||
return text.toLowerCase().match(/[\p{L}\p{N}]+/gu) || [];
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/fetch/__experimental-fetch-url-data.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/fetch/__experimental-fetch-url-data.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -5900,7 +5898,7 @@ const fetchUrlData = async (url, options = {}) => {
|
||||
};
|
||||
/* harmony default export */ const _experimental_fetch_url_data = (fetchUrlData);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/fetch/index.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/fetch/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -5922,7 +5920,7 @@ async function fetchBlockPatterns() {
|
||||
return restPatterns.map(pattern => Object.fromEntries(Object.entries(pattern).map(([key, value]) => [camelCase(key), value])));
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/resolvers.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/resolvers.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -6687,7 +6685,7 @@ const resolvers_getRegisteredPostMeta = postType => async ({
|
||||
}
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/utils.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/locks/utils.js
|
||||
function deepCopyLocksTreePath(tree, path) {
|
||||
const newTree = {
|
||||
...tree
|
||||
@ -6749,7 +6747,7 @@ function hasConflictingLock({
|
||||
return false;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/reducer.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/locks/reducer.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -6820,7 +6818,7 @@ function locks(state = DEFAULT_STATE, action) {
|
||||
return state;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/selectors.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/locks/selectors.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -6861,7 +6859,7 @@ function isLockAvailable(state, store, path, {
|
||||
return true;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/engine.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/locks/engine.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -6923,7 +6921,7 @@ function createLocks() {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/actions.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/locks/actions.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -6944,9 +6942,9 @@ function createLocksActions() {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","privateApis"]
|
||||
;// external ["wp","privateApis"]
|
||||
const external_wp_privateApis_namespaceObject = window["wp"]["privateApis"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/lock-unlock.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/lock-unlock.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -6956,18 +6954,18 @@ const {
|
||||
unlock
|
||||
} = (0,external_wp_privateApis_namespaceObject.__dangerousOptInToUnstableAPIsOnlyForCoreModules)('I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.', '@wordpress/core-data');
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","element"]
|
||||
;// external ["wp","element"]
|
||||
const external_wp_element_namespaceObject = window["wp"]["element"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/entity-context.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/entity-context.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
const EntityContext = (0,external_wp_element_namespaceObject.createContext)({});
|
||||
|
||||
;// CONCATENATED MODULE: external "ReactJSXRuntime"
|
||||
;// external "ReactJSXRuntime"
|
||||
const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/entity-provider.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/entity-provider.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -7012,7 +7010,7 @@ function EntityProvider({
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/memize/dist/index.js
|
||||
;// ./node_modules/memize/dist/index.js
|
||||
/**
|
||||
* Memize options object.
|
||||
*
|
||||
@ -7174,7 +7172,7 @@ function memize(fn, options) {
|
||||
|
||||
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/hooks/memoize.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/hooks/memoize.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -7183,7 +7181,7 @@ function memize(fn, options) {
|
||||
// re-export due to restrictive esModuleInterop setting
|
||||
/* harmony default export */ const memoize = (memize);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/hooks/constants.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/hooks/constants.js
|
||||
let Status = /*#__PURE__*/function (Status) {
|
||||
Status["Idle"] = "IDLE";
|
||||
Status["Resolving"] = "RESOLVING";
|
||||
@ -7192,7 +7190,7 @@ let Status = /*#__PURE__*/function (Status) {
|
||||
return Status;
|
||||
}({});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/hooks/use-query-select.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/hooks/use-query-select.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -7298,7 +7296,7 @@ const enrichSelectors = memoize(selectors => {
|
||||
return resolvers;
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/hooks/use-entity-record.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/hooks/use-entity-record.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -7461,7 +7459,7 @@ function __experimentalUseEntityRecord(kind, name, recordId, options) {
|
||||
return useEntityRecord(kind, name, recordId, options);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/hooks/use-entity-records.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/hooks/use-entity-records.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -7604,10 +7602,10 @@ function useEntityRecordsWithPermissions(kind, name, queryArgs = {}, options = {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","warning"]
|
||||
;// external ["wp","warning"]
|
||||
const external_wp_warning_namespaceObject = window["wp"]["warning"];
|
||||
var external_wp_warning_default = /*#__PURE__*/__webpack_require__.n(external_wp_warning_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/hooks/use-resource-permissions.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/hooks/use-resource-permissions.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -7763,9 +7761,9 @@ function __experimentalUseResourcePermissions(resource, id) {
|
||||
return useResourcePermissions(resource, id);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","blocks"]
|
||||
;// external ["wp","blocks"]
|
||||
const external_wp_blocks_namespaceObject = window["wp"]["blocks"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/hooks/use-entity-id.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/hooks/use-entity-id.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -7788,9 +7786,9 @@ function useEntityId(kind, name) {
|
||||
return context?.[kind]?.[name];
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","blockEditor"]
|
||||
;// external ["wp","blockEditor"]
|
||||
const external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/footnotes/get-rich-text-values-cached.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/footnotes/get-rich-text-values-cached.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -7824,7 +7822,7 @@ function getRichTextValuesCached(block) {
|
||||
return cache.get(block);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/footnotes/get-footnotes-order.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/footnotes/get-footnotes-order.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -7860,7 +7858,7 @@ function getFootnotesOrder(blocks) {
|
||||
return blocks.flatMap(getBlockFootnotesOrder);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/footnotes/index.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/footnotes/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -7972,7 +7970,7 @@ function updateFootnotesFromMeta(blocks, meta) {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/hooks/use-entity-block-editor.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/hooks/use-entity-block-editor.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -8105,7 +8103,7 @@ function useEntityBlockEditor(kind, name, {
|
||||
return [blocks, onInput, onChange];
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/hooks/use-entity-prop.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/hooks/use-entity-prop.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -8164,7 +8162,7 @@ function useEntityProp(kind, name, prop, _id) {
|
||||
return [value, setValue, fullValue];
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/hooks/index.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/hooks/index.js
|
||||
|
||||
|
||||
|
||||
@ -8172,7 +8170,7 @@ function useEntityProp(kind, name, prop, _id) {
|
||||
|
||||
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/private-apis.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/private-apis.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -8183,7 +8181,7 @@ lock(privateApis, {
|
||||
useEntityRecordsWithPermissions: useEntityRecordsWithPermissions
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/index.js
|
||||
;// ./node_modules/@wordpress/core-data/build-module/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -8277,8 +8275,6 @@ unlock(store).registerPrivateActions(private_actions_namespaceObject);
|
||||
|
||||
|
||||
|
||||
})();
|
||||
|
||||
(window.wp = window.wp || {}).coreData = __webpack_exports__;
|
||||
/******/ })()
|
||||
;
|
2
wp-includes/js/dist/core-data.min.js
vendored
2
wp-includes/js/dist/core-data.min.js
vendored
File diff suppressed because one or more lines are too long
134
wp-includes/js/dist/customize-widgets.js
vendored
134
wp-includes/js/dist/customize-widgets.js
vendored
@ -150,8 +150,6 @@ module.exports = function equal(a, b) {
|
||||
/******/
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = {};
|
||||
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
||||
(() => {
|
||||
// ESM COMPAT FLAG
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
||||
@ -176,31 +174,31 @@ __webpack_require__.d(actions_namespaceObject, {
|
||||
setIsInserterOpened: () => (setIsInserterOpened)
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","element"]
|
||||
;// external ["wp","element"]
|
||||
const external_wp_element_namespaceObject = window["wp"]["element"];
|
||||
;// CONCATENATED MODULE: external ["wp","blockLibrary"]
|
||||
;// external ["wp","blockLibrary"]
|
||||
const external_wp_blockLibrary_namespaceObject = window["wp"]["blockLibrary"];
|
||||
;// CONCATENATED MODULE: external ["wp","widgets"]
|
||||
;// external ["wp","widgets"]
|
||||
const external_wp_widgets_namespaceObject = window["wp"]["widgets"];
|
||||
;// CONCATENATED MODULE: external ["wp","blocks"]
|
||||
;// external ["wp","blocks"]
|
||||
const external_wp_blocks_namespaceObject = window["wp"]["blocks"];
|
||||
;// CONCATENATED MODULE: external ["wp","data"]
|
||||
;// external ["wp","data"]
|
||||
const external_wp_data_namespaceObject = window["wp"]["data"];
|
||||
;// CONCATENATED MODULE: external ["wp","preferences"]
|
||||
;// external ["wp","preferences"]
|
||||
const external_wp_preferences_namespaceObject = window["wp"]["preferences"];
|
||||
;// CONCATENATED MODULE: external ["wp","components"]
|
||||
;// external ["wp","components"]
|
||||
const external_wp_components_namespaceObject = window["wp"]["components"];
|
||||
;// CONCATENATED MODULE: external ["wp","i18n"]
|
||||
;// external ["wp","i18n"]
|
||||
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
|
||||
;// CONCATENATED MODULE: external ["wp","blockEditor"]
|
||||
;// external ["wp","blockEditor"]
|
||||
const external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
|
||||
;// CONCATENATED MODULE: external ["wp","compose"]
|
||||
;// external ["wp","compose"]
|
||||
const external_wp_compose_namespaceObject = window["wp"]["compose"];
|
||||
;// CONCATENATED MODULE: external ["wp","hooks"]
|
||||
;// external ["wp","hooks"]
|
||||
const external_wp_hooks_namespaceObject = window["wp"]["hooks"];
|
||||
;// CONCATENATED MODULE: external "ReactJSXRuntime"
|
||||
;// external "ReactJSXRuntime"
|
||||
const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/error-boundary/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/error-boundary/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -256,11 +254,11 @@ class ErrorBoundary extends external_wp_element_namespaceObject.Component {
|
||||
}
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","coreData"]
|
||||
;// external ["wp","coreData"]
|
||||
const external_wp_coreData_namespaceObject = window["wp"]["coreData"];
|
||||
;// CONCATENATED MODULE: external ["wp","mediaUtils"]
|
||||
;// external ["wp","mediaUtils"]
|
||||
const external_wp_mediaUtils_namespaceObject = window["wp"]["mediaUtils"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/block-inspector-button/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/block-inspector-button/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -292,13 +290,13 @@ function BlockInspectorButton({
|
||||
}
|
||||
/* harmony default export */ const block_inspector_button = (BlockInspectorButton);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/clsx/dist/clsx.mjs
|
||||
;// ./node_modules/clsx/dist/clsx.mjs
|
||||
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f)}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}/* harmony default export */ const dist_clsx = (clsx);
|
||||
;// CONCATENATED MODULE: external ["wp","keycodes"]
|
||||
;// external ["wp","keycodes"]
|
||||
const external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
|
||||
;// CONCATENATED MODULE: external ["wp","primitives"]
|
||||
;// external ["wp","primitives"]
|
||||
const external_wp_primitives_namespaceObject = window["wp"]["primitives"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/undo.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/undo.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -313,7 +311,7 @@ const undo = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(exter
|
||||
});
|
||||
/* harmony default export */ const library_undo = (undo);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/redo.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/redo.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -328,7 +326,7 @@ const redo = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(exter
|
||||
});
|
||||
/* harmony default export */ const library_redo = (redo);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/plus.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -343,7 +341,7 @@ const plus = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(exter
|
||||
});
|
||||
/* harmony default export */ const library_plus = (plus);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/close-small.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -358,7 +356,7 @@ const closeSmall = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)
|
||||
});
|
||||
/* harmony default export */ const close_small = (closeSmall);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/reducer.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/store/reducer.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -381,7 +379,7 @@ function blockInserterPanel(state = false, action) {
|
||||
blockInserterPanel
|
||||
}));
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/selectors.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/store/selectors.js
|
||||
const EMPTY_INSERTION_POINT = {
|
||||
rootClientId: undefined,
|
||||
insertionIndex: undefined
|
||||
@ -430,7 +428,7 @@ function __experimentalGetInsertionPoint(state) {
|
||||
return state.blockInserterPanel;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/actions.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/store/actions.js
|
||||
/**
|
||||
* Returns an action object used to open/close the inserter.
|
||||
*
|
||||
@ -475,13 +473,13 @@ function setIsInserterOpened(value) {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/constants.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/store/constants.js
|
||||
/**
|
||||
* Module Constants
|
||||
*/
|
||||
const STORE_NAME = 'core/customize-widgets';
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/store/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -518,7 +516,7 @@ const storeConfig = {
|
||||
const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, storeConfig);
|
||||
(0,external_wp_data_namespaceObject.register)(store);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/inserter/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/inserter/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -571,7 +569,7 @@ function Inserter({
|
||||
}
|
||||
/* harmony default export */ const components_inserter = (Inserter);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -586,7 +584,7 @@ const moreVertical = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.js
|
||||
});
|
||||
/* harmony default export */ const more_vertical = (moreVertical);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/external.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -601,9 +599,9 @@ const external = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(e
|
||||
});
|
||||
/* harmony default export */ const library_external = (external);
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","keyboardShortcuts"]
|
||||
;// external ["wp","keyboardShortcuts"]
|
||||
const external_wp_keyboardShortcuts_namespaceObject = window["wp"]["keyboardShortcuts"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/config.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/config.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -679,7 +677,7 @@ const textFormattingShortcuts = [{
|
||||
description: (0,external_wp_i18n_namespaceObject.__)('Add non breaking space.')
|
||||
}];
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/shortcut.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/shortcut.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -734,7 +732,7 @@ function Shortcut({
|
||||
}
|
||||
/* harmony default export */ const keyboard_shortcut_help_modal_shortcut = (Shortcut);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -776,7 +774,7 @@ function DynamicShortcut({
|
||||
}
|
||||
/* harmony default export */ const dynamic_shortcut = (DynamicShortcut);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -897,7 +895,7 @@ function KeyboardShortcutHelpModal({
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/more-menu/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/more-menu/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -986,7 +984,7 @@ function MoreMenu() {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/header/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/header/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -1066,7 +1064,7 @@ function Header({
|
||||
}
|
||||
/* harmony default export */ const header = (Header);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/inserter/use-inserter.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/inserter/use-inserter.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1101,10 +1099,10 @@ function useInserter(inserter) {
|
||||
// EXTERNAL MODULE: ./node_modules/fast-deep-equal/es6/index.js
|
||||
var es6 = __webpack_require__(7734);
|
||||
var es6_default = /*#__PURE__*/__webpack_require__.n(es6);
|
||||
;// CONCATENATED MODULE: external ["wp","isShallowEqual"]
|
||||
;// external ["wp","isShallowEqual"]
|
||||
const external_wp_isShallowEqual_namespaceObject = window["wp"]["isShallowEqual"];
|
||||
var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/utils.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/utils.js
|
||||
// @ts-check
|
||||
/**
|
||||
* WordPress dependencies
|
||||
@ -1238,7 +1236,7 @@ function widgetToBlock({
|
||||
return (0,external_wp_widgets_namespaceObject.addWidgetIdToBlock)(block, id);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/use-sidebar-block-editor.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/use-sidebar-block-editor.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -1331,7 +1329,7 @@ function useSidebarBlockEditor(sidebar) {
|
||||
return [blocks, onChangeBlocks, onChangeBlocks];
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/focus-control/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/focus-control/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1396,7 +1394,7 @@ function FocusControl({
|
||||
}
|
||||
const useFocusControl = () => (0,external_wp_element_namespaceObject.useContext)(FocusControlContext);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/focus-control/use-blocks-focus-control.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/focus-control/use-blocks-focus-control.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1433,9 +1431,9 @@ function useBlocksFocusControl(blocks) {
|
||||
}, [focusedWidgetIdRef, selectBlock]);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","privateApis"]
|
||||
;// external ["wp","privateApis"]
|
||||
const external_wp_privateApis_namespaceObject = window["wp"]["privateApis"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/lock-unlock.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/lock-unlock.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1445,7 +1443,7 @@ const {
|
||||
unlock
|
||||
} = (0,external_wp_privateApis_namespaceObject.__dangerousOptInToUnstableAPIsOnlyForCoreModules)('I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.', '@wordpress/customize-widgets');
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/sidebar-editor-provider.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/sidebar-editor-provider.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1478,7 +1476,7 @@ function SidebarEditorProvider({
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/welcome-guide/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/welcome-guide/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1543,7 +1541,7 @@ function WelcomeGuide({
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcuts/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcuts/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1623,7 +1621,7 @@ function KeyboardShortcutsRegister() {
|
||||
KeyboardShortcuts.Register = KeyboardShortcutsRegister;
|
||||
/* harmony default export */ const keyboard_shortcuts = (KeyboardShortcuts);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/block-appender/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/block-appender/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1653,7 +1651,7 @@ function BlockAppender(props) {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1786,7 +1784,7 @@ function SidebarBlockEditor({
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-controls/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-controls/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1820,7 +1818,7 @@ function useActiveSidebarControl() {
|
||||
return activeSidebarControl;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/customize-widgets/use-clear-selected-block.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/customize-widgets/use-clear-selected-block.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1890,7 +1888,7 @@ function useClearSelectedBlock(sidebarControl, popoverRef) {
|
||||
}, [popoverRef, sidebarControl, hasSelectedBlock, hasMultiSelection, clearSelectedBlock]);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/customize-widgets/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/customize-widgets/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1955,7 +1953,7 @@ function CustomizeWidgets({
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/controls/inspector-section.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/controls/inspector-section.js
|
||||
function getInspectorSection() {
|
||||
const {
|
||||
wp: {
|
||||
@ -2047,7 +2045,7 @@ function getInspectorSection() {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/controls/sidebar-section.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/controls/sidebar-section.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2120,7 +2118,7 @@ function getSidebarSection() {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/sidebar-adapter.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/sidebar-adapter.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -2384,9 +2382,9 @@ class SidebarAdapter {
|
||||
}
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","dom"]
|
||||
;// external ["wp","dom"]
|
||||
const external_wp_dom_namespaceObject = window["wp"]["dom"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/controls/inserter-outer-section.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/controls/inserter-outer-section.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2500,7 +2498,7 @@ function getInserterOuterSection() {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/controls/sidebar-control.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/controls/sidebar-control.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2550,7 +2548,7 @@ function getSidebarControl() {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/filters/move-to-sidebar.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/filters/move-to-sidebar.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2630,7 +2628,7 @@ const withMoveToSidebarToolbarItem = (0,external_wp_compose_namespaceObject.crea
|
||||
}, 'withMoveToSidebarToolbarItem');
|
||||
(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/customize-widgets/block-edit', withMoveToSidebarToolbarItem);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/filters/replace-media-upload.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/filters/replace-media-upload.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2639,7 +2637,7 @@ const withMoveToSidebarToolbarItem = (0,external_wp_compose_namespaceObject.crea
|
||||
const replaceMediaUpload = () => external_wp_mediaUtils_namespaceObject.MediaUpload;
|
||||
(0,external_wp_hooks_namespaceObject.addFilter)('editor.MediaUpload', 'core/edit-widgets/replace-media-upload', replaceMediaUpload);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/filters/wide-widget-display.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/filters/wide-widget-display.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2662,7 +2660,7 @@ const withWideWidgetDisplay = (0,external_wp_compose_namespaceObject.createHighe
|
||||
}, 'withWideWidgetDisplay');
|
||||
(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/customize-widgets/wide-widget-display', withWideWidgetDisplay);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/filters/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/filters/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -2670,7 +2668,7 @@ const withWideWidgetDisplay = (0,external_wp_compose_namespaceObject.createHighe
|
||||
|
||||
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/index.js
|
||||
;// ./node_modules/@wordpress/customize-widgets/build-module/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2744,8 +2742,6 @@ function initialize(editorName, blockEditorSettings) {
|
||||
}
|
||||
|
||||
|
||||
})();
|
||||
|
||||
(window.wp = window.wp || {}).customizeWidgets = __webpack_exports__;
|
||||
/******/ })()
|
||||
;
|
2
wp-includes/js/dist/customize-widgets.min.js
vendored
2
wp-includes/js/dist/customize-widgets.min.js
vendored
File diff suppressed because one or more lines are too long
8
wp-includes/js/dist/data-controls.js
vendored
8
wp-includes/js/dist/data-controls.js
vendored
@ -59,15 +59,15 @@ __webpack_require__.d(__webpack_exports__, {
|
||||
syncSelect: () => (/* binding */ syncSelect)
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","apiFetch"]
|
||||
;// external ["wp","apiFetch"]
|
||||
const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
|
||||
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
|
||||
;// CONCATENATED MODULE: external ["wp","data"]
|
||||
;// external ["wp","data"]
|
||||
const external_wp_data_namespaceObject = window["wp"]["data"];
|
||||
;// CONCATENATED MODULE: external ["wp","deprecated"]
|
||||
;// external ["wp","deprecated"]
|
||||
const external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
|
||||
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data-controls/build-module/index.js
|
||||
;// ./node_modules/@wordpress/data-controls/build-module/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
104
wp-includes/js/dist/data.js
vendored
104
wp-includes/js/dist/data.js
vendored
@ -525,8 +525,6 @@ module.exports = EquivalentKeyMap;
|
||||
/******/
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = {};
|
||||
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
||||
(() => {
|
||||
// ESM COMPAT FLAG
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
||||
@ -599,10 +597,10 @@ __webpack_require__.d(plugins_namespaceObject, {
|
||||
persistence: () => (persistence)
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","deprecated"]
|
||||
;// external ["wp","deprecated"]
|
||||
const external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
|
||||
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
;// ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
function _typeof(o) {
|
||||
"@babel/helpers - typeof";
|
||||
|
||||
@ -612,7 +610,7 @@ function _typeof(o) {
|
||||
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
||||
}, _typeof(o);
|
||||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
||||
;// ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
||||
|
||||
function _toPrimitive(input, hint) {
|
||||
if (_typeof(input) !== "object" || input === null) return input;
|
||||
@ -624,14 +622,14 @@ function _toPrimitive(input, hint) {
|
||||
}
|
||||
return (hint === "string" ? String : Number)(input);
|
||||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
||||
;// ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
||||
|
||||
|
||||
function _toPropertyKey(arg) {
|
||||
var key = _toPrimitive(arg, "string");
|
||||
return _typeof(key) === "symbol" ? key : String(key);
|
||||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||
;// ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||
|
||||
function _defineProperty(obj, key, value) {
|
||||
key = _toPropertyKey(key);
|
||||
@ -647,7 +645,7 @@ function _defineProperty(obj, key, value) {
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
||||
;// ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
||||
|
||||
function ownKeys(e, r) {
|
||||
var t = Object.keys(e);
|
||||
@ -670,7 +668,7 @@ function _objectSpread2(e) {
|
||||
}
|
||||
return e;
|
||||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/redux/es/redux.js
|
||||
;// ./node_modules/redux/es/redux.js
|
||||
|
||||
|
||||
/**
|
||||
@ -1366,12 +1364,12 @@ function applyMiddleware() {
|
||||
// EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
|
||||
var equivalent_key_map = __webpack_require__(3249);
|
||||
var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);
|
||||
;// CONCATENATED MODULE: external ["wp","reduxRoutine"]
|
||||
;// external ["wp","reduxRoutine"]
|
||||
const external_wp_reduxRoutine_namespaceObject = window["wp"]["reduxRoutine"];
|
||||
var external_wp_reduxRoutine_default = /*#__PURE__*/__webpack_require__.n(external_wp_reduxRoutine_namespaceObject);
|
||||
;// CONCATENATED MODULE: external ["wp","compose"]
|
||||
;// external ["wp","compose"]
|
||||
const external_wp_compose_namespaceObject = window["wp"]["compose"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/combine-reducers.js
|
||||
;// ./node_modules/@wordpress/data/build-module/redux-store/combine-reducers.js
|
||||
function combine_reducers_combineReducers(reducers) {
|
||||
const keys = Object.keys(reducers);
|
||||
return function combinedReducer(state = {}, action) {
|
||||
@ -1388,7 +1386,7 @@ function combine_reducers_combineReducers(reducers) {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/factory.js
|
||||
;// ./node_modules/@wordpress/data/build-module/factory.js
|
||||
/**
|
||||
* Creates a selector function that takes additional curried argument with the
|
||||
* registry `select` function. While a regular selector has signature
|
||||
@ -1483,7 +1481,7 @@ function createRegistryControl(registryControl) {
|
||||
return registryControl;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/controls.js
|
||||
;// ./node_modules/@wordpress/data/build-module/controls.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1617,9 +1615,9 @@ const builtinControls = {
|
||||
}) => registry.dispatch(storeKey)[actionName](...args))
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","privateApis"]
|
||||
;// external ["wp","privateApis"]
|
||||
const external_wp_privateApis_namespaceObject = window["wp"]["privateApis"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/lock-unlock.js
|
||||
;// ./node_modules/@wordpress/data/build-module/lock-unlock.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1629,12 +1627,12 @@ const {
|
||||
unlock
|
||||
} = (0,external_wp_privateApis_namespaceObject.__dangerousOptInToUnstableAPIsOnlyForCoreModules)('I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.', '@wordpress/data');
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/is-promise/index.mjs
|
||||
;// ./node_modules/is-promise/index.mjs
|
||||
function isPromise(obj) {
|
||||
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/promise-middleware.js
|
||||
;// ./node_modules/@wordpress/data/build-module/promise-middleware.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -1657,7 +1655,7 @@ const promiseMiddleware = () => next => action => {
|
||||
};
|
||||
/* harmony default export */ const promise_middleware = (promiseMiddleware);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/resolvers-cache-middleware.js
|
||||
;// ./node_modules/@wordpress/data/build-module/resolvers-cache-middleware.js
|
||||
/** @typedef {import('./registry').WPDataRegistry} WPDataRegistry */
|
||||
|
||||
/**
|
||||
@ -1701,7 +1699,7 @@ const createResolversCacheMiddleware = (registry, storeName) => () => next => ac
|
||||
};
|
||||
/* harmony default export */ const resolvers_cache_middleware = (createResolversCacheMiddleware);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/thunk-middleware.js
|
||||
;// ./node_modules/@wordpress/data/build-module/redux-store/thunk-middleware.js
|
||||
function createThunkMiddleware(args) {
|
||||
return () => next => action => {
|
||||
if (typeof action === 'function') {
|
||||
@ -1711,7 +1709,7 @@ function createThunkMiddleware(args) {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/metadata/utils.js
|
||||
;// ./node_modules/@wordpress/data/build-module/redux-store/metadata/utils.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -1762,7 +1760,7 @@ function selectorArgsToStateKey(args) {
|
||||
return idx === len ? args : args.slice(0, idx);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/metadata/reducer.js
|
||||
;// ./node_modules/@wordpress/data/build-module/redux-store/metadata/reducer.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -1888,7 +1886,7 @@ const isResolved = (state = {}, action) => {
|
||||
};
|
||||
/* harmony default export */ const metadata_reducer = (isResolved);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/rememo/rememo.js
|
||||
;// ./node_modules/rememo/rememo.js
|
||||
|
||||
|
||||
/** @typedef {(...args: any[]) => *[]} GetDependants */
|
||||
@ -2186,7 +2184,7 @@ function isShallowEqual(a, b, fromIndex) {
|
||||
return /** @type {S & EnhancedSelector} */ (callSelector);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/metadata/selectors.js
|
||||
;// ./node_modules/@wordpress/data/build-module/redux-store/metadata/selectors.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2381,7 +2379,7 @@ const countSelectorsByStatus = rememo(state => {
|
||||
return selectorsByStatus;
|
||||
}, state => [state]);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/metadata/actions.js
|
||||
;// ./node_modules/@wordpress/data/build-module/redux-store/metadata/actions.js
|
||||
/**
|
||||
* Returns an action object used in signalling that selector resolution has
|
||||
* started.
|
||||
@ -2535,7 +2533,7 @@ function invalidateResolutionForStoreSelector(selectorName) {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/index.js
|
||||
;// ./node_modules/@wordpress/data/build-module/redux-store/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -3067,7 +3065,7 @@ function normalize(selector, args) {
|
||||
return args;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/store/index.js
|
||||
;// ./node_modules/@wordpress/data/build-module/store/index.js
|
||||
const coreDataStore = {
|
||||
name: 'core/data',
|
||||
instantiate(registry) {
|
||||
@ -3096,7 +3094,7 @@ const coreDataStore = {
|
||||
};
|
||||
/* harmony default export */ const store = (coreDataStore);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/utils/emitter.js
|
||||
;// ./node_modules/@wordpress/data/build-module/utils/emitter.js
|
||||
/**
|
||||
* Create an event emitter.
|
||||
*
|
||||
@ -3139,7 +3137,7 @@ function createEmitter() {
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/registry.js
|
||||
;// ./node_modules/@wordpress/data/build-module/registry.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3500,14 +3498,14 @@ function createRegistry(storeConfigs = {}, parent = null) {
|
||||
return registryWithPlugins;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/default-registry.js
|
||||
;// ./node_modules/@wordpress/data/build-module/default-registry.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
/* harmony default export */ const default_registry = (createRegistry());
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/is-plain-object/dist/is-plain-object.mjs
|
||||
;// ./node_modules/is-plain-object/dist/is-plain-object.mjs
|
||||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
@ -3546,7 +3544,7 @@ function is_plain_object_isPlainObject(o) {
|
||||
// EXTERNAL MODULE: ./node_modules/deepmerge/dist/cjs.js
|
||||
var cjs = __webpack_require__(66);
|
||||
var cjs_default = /*#__PURE__*/__webpack_require__.n(cjs);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/persistence/storage/object.js
|
||||
;// ./node_modules/@wordpress/data/build-module/plugins/persistence/storage/object.js
|
||||
let objectStorage;
|
||||
const storage = {
|
||||
getItem(key) {
|
||||
@ -3567,7 +3565,7 @@ const storage = {
|
||||
};
|
||||
/* harmony default export */ const object = (storage);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/persistence/storage/default.js
|
||||
;// ./node_modules/@wordpress/data/build-module/plugins/persistence/storage/default.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -3585,7 +3583,7 @@ try {
|
||||
}
|
||||
/* harmony default export */ const storage_default = (default_storage);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/persistence/index.js
|
||||
;// ./node_modules/@wordpress/data/build-module/plugins/persistence/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -3789,17 +3787,17 @@ function persistencePlugin(registry, pluginOptions) {
|
||||
persistencePlugin.__unstableMigrate = () => {};
|
||||
/* harmony default export */ const persistence = (persistencePlugin);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/index.js
|
||||
;// ./node_modules/@wordpress/data/build-module/plugins/index.js
|
||||
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","priorityQueue"]
|
||||
;// external ["wp","priorityQueue"]
|
||||
const external_wp_priorityQueue_namespaceObject = window["wp"]["priorityQueue"];
|
||||
;// CONCATENATED MODULE: external ["wp","element"]
|
||||
;// external ["wp","element"]
|
||||
const external_wp_element_namespaceObject = window["wp"]["element"];
|
||||
;// CONCATENATED MODULE: external ["wp","isShallowEqual"]
|
||||
;// external ["wp","isShallowEqual"]
|
||||
const external_wp_isShallowEqual_namespaceObject = window["wp"]["isShallowEqual"];
|
||||
var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/registry-provider/context.js
|
||||
;// ./node_modules/@wordpress/data/build-module/components/registry-provider/context.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3857,7 +3855,7 @@ const RegistryConsumer = Consumer;
|
||||
*/
|
||||
/* harmony default export */ const context = (Provider);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/registry-provider/use-registry.js
|
||||
;// ./node_modules/@wordpress/data/build-module/components/registry-provider/use-registry.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3911,7 +3909,7 @@ function useRegistry() {
|
||||
return (0,external_wp_element_namespaceObject.useContext)(Context);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/async-mode-provider/context.js
|
||||
;// ./node_modules/@wordpress/data/build-module/components/async-mode-provider/context.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3960,7 +3958,7 @@ const AsyncModeConsumer = (/* unused pure expression or super */ null && (contex
|
||||
*/
|
||||
/* harmony default export */ const async_mode_provider_context = (context_Provider);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/async-mode-provider/use-async-mode.js
|
||||
;// ./node_modules/@wordpress/data/build-module/components/async-mode-provider/use-async-mode.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3974,7 +3972,7 @@ function useAsyncMode() {
|
||||
return (0,external_wp_element_namespaceObject.useContext)(context_Context);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/use-select/index.js
|
||||
;// ./node_modules/@wordpress/data/build-module/components/use-select/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4278,9 +4276,9 @@ function useSuspenseSelect(mapSelect, deps) {
|
||||
return useMappingSelect(true, mapSelect, deps);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external "ReactJSXRuntime"
|
||||
;// external "ReactJSXRuntime"
|
||||
const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/with-select/index.js
|
||||
;// ./node_modules/@wordpress/data/build-module/components/with-select/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4344,7 +4342,7 @@ const withSelect = mapSelectToProps => (0,external_wp_compose_namespaceObject.cr
|
||||
}), 'withSelect');
|
||||
/* harmony default export */ const with_select = (withSelect);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch-with-map.js
|
||||
;// ./node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch-with-map.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4389,7 +4387,7 @@ const useDispatchWithMap = (dispatchMap, deps) => {
|
||||
};
|
||||
/* harmony default export */ const use_dispatch_with_map = (useDispatchWithMap);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/with-dispatch/index.js
|
||||
;// ./node_modules/@wordpress/data/build-module/components/with-dispatch/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4494,7 +4492,7 @@ const withDispatch = mapDispatchToProps => (0,external_wp_compose_namespaceObjec
|
||||
}, 'withDispatch');
|
||||
/* harmony default export */ const with_dispatch = (withDispatch);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/with-registry/index.js
|
||||
;// ./node_modules/@wordpress/data/build-module/components/with-registry/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -4522,7 +4520,7 @@ const withRegistry = (0,external_wp_compose_namespaceObject.createHigherOrderCom
|
||||
}), 'withRegistry');
|
||||
/* harmony default export */ const with_registry = (withRegistry);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch.js
|
||||
;// ./node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -4591,7 +4589,7 @@ const useDispatch = storeNameOrDescriptor => {
|
||||
};
|
||||
/* harmony default export */ const use_dispatch = (useDispatch);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/dispatch.js
|
||||
;// ./node_modules/@wordpress/data/build-module/dispatch.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -4621,7 +4619,7 @@ function dispatch_dispatch(storeNameOrDescriptor) {
|
||||
return default_registry.dispatch(storeNameOrDescriptor);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/select.js
|
||||
;// ./node_modules/@wordpress/data/build-module/select.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -4651,7 +4649,7 @@ function select_select(storeNameOrDescriptor) {
|
||||
return default_registry.select(storeNameOrDescriptor);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/index.js
|
||||
;// ./node_modules/@wordpress/data/build-module/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -4837,8 +4835,6 @@ const use = default_registry.use;
|
||||
*/
|
||||
const register = default_registry.register;
|
||||
|
||||
})();
|
||||
|
||||
(window.wp = window.wp || {}).data = __webpack_exports__;
|
||||
/******/ })()
|
||||
;
|
4
wp-includes/js/dist/data.min.js
vendored
4
wp-includes/js/dist/data.min.js
vendored
File diff suppressed because one or more lines are too long
6
wp-includes/js/dist/date.js
vendored
6
wp-includes/js/dist/date.js
vendored
@ -1146,7 +1146,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"version":"2022g","zones":["Africa/Ab
|
||||
/******/
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = {};
|
||||
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
||||
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
||||
(() => {
|
||||
"use strict";
|
||||
// ESM COMPAT FLAG
|
||||
@ -1174,10 +1174,10 @@ var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment
|
||||
var moment_timezone = __webpack_require__(3849);
|
||||
// EXTERNAL MODULE: ./node_modules/moment-timezone/moment-timezone-utils.js
|
||||
var moment_timezone_utils = __webpack_require__(1685);
|
||||
;// CONCATENATED MODULE: external ["wp","deprecated"]
|
||||
;// external ["wp","deprecated"]
|
||||
const external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
|
||||
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/date/build-module/index.js
|
||||
;// ./node_modules/@wordpress/date/build-module/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
|
2
wp-includes/js/dist/date.min.js
vendored
2
wp-includes/js/dist/date.min.js
vendored
@ -4,7 +4,7 @@
|
||||
//! Copyright (c) JS Foundation and other contributors
|
||||
//! license : MIT
|
||||
//! github.com/moment/moment-timezone
|
||||
!function(c,q){"use strict";M.exports?M.exports=q(b(5537)):(O=[b(6154)],void 0===(A="function"==typeof(p=q)?p.apply(z,O):p)||(M.exports=A))}(0,(function(M){"use strict";if(!M.tz)throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");var z="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX",b=1e-6;function p(M,p){for(var O="",A=Math.abs(M),c=Math.floor(A),q=function(M,p){for(var O,A=".",c="";p>0;)p-=1,M*=60,O=Math.floor(M+b),A+=z[O],M-=O,O&&(c+=A,A="");return c}(A-c,Math.min(~~p,10));c>0;)O=z[c%60]+O,c=Math.floor(c/60);return M<0&&(O="-"+O),O&&q?O+q:(q||"-"!==O)&&(O||q)||"0"}function O(M){var z,b=[],O=0;for(z=0;z<M.length-1;z++)b[z]=p(Math.round((M[z]-O)/1e3)/60,1),O=M[z];return b.join(" ")}function A(M){var z,b,O=0,A=[],c=[],q=[],o={};for(z=0;z<M.abbrs.length;z++)void 0===o[b=M.abbrs[z]+"|"+M.offsets[z]]&&(o[b]=O,A[O]=M.abbrs[z],c[O]=p(Math.round(60*M.offsets[z])/60,1),O++),q[z]=p(o[b],0);return A.join(" ")+"|"+c.join(" ")+"|"+q.join("")}function c(M){if(!M)return"";if(M<1e3)return M;var z=String(0|M).length-2;return Math.round(M/Math.pow(10,z))+"e"+z}function q(M){return function(M){if(!M.name)throw new Error("Missing name");if(!M.abbrs)throw new Error("Missing abbrs");if(!M.untils)throw new Error("Missing untils");if(!M.offsets)throw new Error("Missing offsets");if(M.offsets.length!==M.untils.length||M.offsets.length!==M.abbrs.length)throw new Error("Mismatched array lengths")}(M),[M.name,A(M),O(M.untils),c(M.population)].join("|")}function o(M){return[M.name,M.zones.join(" ")].join("|")}function W(M,z){var b;if(M.length!==z.length)return!1;for(b=0;b<M.length;b++)if(M[b]!==z[b])return!1;return!0}function d(M,z){return W(M.offsets,z.offsets)&&W(M.abbrs,z.abbrs)&&W(M.untils,z.untils)}function R(M,z){var b=[],p=[];return M.links&&(p=M.links.slice()),function(M,z,b,p){var O,A,c,q,o,W,R=[];for(O=0;O<M.length;O++){for(W=!1,c=M[O],A=0;A<R.length;A++)d(c,q=(o=R[A])[0])&&(c.population>q.population||c.population===q.population&&p&&p[c.name]?o.unshift(c):o.push(c),W=!0);W||R.push([c])}for(O=0;O<R.length;O++)for(o=R[O],z.push(o[0]),A=1;A<o.length;A++)b.push(o[0].name+"|"+o[A].name)}(M.zones,b,p,z),{version:M.version,zones:b,links:p.sort()}}function a(M,z,b){var p=Array.prototype.slice,O=function(M,z,b){var p,O,A=0,c=M.length+1;for(b||(b=z),z>b&&(O=z,z=b,b=O),O=0;O<M.length;O++)null!=M[O]&&((p=new Date(M[O]).getUTCFullYear())<z&&(A=O+1),p>b&&(c=Math.min(c,O+1)));return[A,c]}(M.untils,z,b),A=p.apply(M.untils,O);return A[A.length-1]=null,{name:M.name,abbrs:p.apply(M.abbrs,O),untils:A,offsets:p.apply(M.offsets,O),population:M.population,countries:M.countries}}return M.tz.pack=q,M.tz.packBase60=p,M.tz.createLinks=R,M.tz.filterYears=a,M.tz.filterLinkPack=function(M,z,b,p){var O,A,c=M.zones,W=[];for(O=0;O<c.length;O++)W[O]=a(c[O],z,b);for(A=R({zones:W,links:M.links.slice(),version:M.version},p),O=0;O<A.zones.length;O++)A.zones[O]=q(A.zones[O]);return A.countries=M.countries?M.countries.map((function(M){return o(M)})):[],A},M.tz.packCountry=o,M}))},3849:function(M,z,b){var p,O,A;//! moment-timezone.js
|
||||
!function(c,q){"use strict";M.exports?M.exports=q(b(5537)):(O=[b(6154)],void 0===(A="function"==typeof(p=q)?p.apply(z,O):p)||(M.exports=A))}(0,(function(M){"use strict";if(!M.tz)throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");var z="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX";function b(M,b){for(var p="",O=Math.abs(M),A=Math.floor(O),c=function(M,b){for(var p,O=".",A="";b>0;)b-=1,M*=60,p=Math.floor(M+1e-6),O+=z[p],M-=p,p&&(A+=O,O="");return A}(O-A,Math.min(~~b,10));A>0;)p=z[A%60]+p,A=Math.floor(A/60);return M<0&&(p="-"+p),p&&c?p+c:(c||"-"!==p)&&(p||c)||"0"}function p(M){var z,p=[],O=0;for(z=0;z<M.length-1;z++)p[z]=b(Math.round((M[z]-O)/1e3)/60,1),O=M[z];return p.join(" ")}function O(M){var z,p,O=0,A=[],c=[],q=[],o={};for(z=0;z<M.abbrs.length;z++)void 0===o[p=M.abbrs[z]+"|"+M.offsets[z]]&&(o[p]=O,A[O]=M.abbrs[z],c[O]=b(Math.round(60*M.offsets[z])/60,1),O++),q[z]=b(o[p],0);return A.join(" ")+"|"+c.join(" ")+"|"+q.join("")}function A(M){if(!M)return"";if(M<1e3)return M;var z=String(0|M).length-2;return Math.round(M/Math.pow(10,z))+"e"+z}function c(M){return function(M){if(!M.name)throw new Error("Missing name");if(!M.abbrs)throw new Error("Missing abbrs");if(!M.untils)throw new Error("Missing untils");if(!M.offsets)throw new Error("Missing offsets");if(M.offsets.length!==M.untils.length||M.offsets.length!==M.abbrs.length)throw new Error("Mismatched array lengths")}(M),[M.name,O(M),p(M.untils),A(M.population)].join("|")}function q(M){return[M.name,M.zones.join(" ")].join("|")}function o(M,z){var b;if(M.length!==z.length)return!1;for(b=0;b<M.length;b++)if(M[b]!==z[b])return!1;return!0}function W(M,z){return o(M.offsets,z.offsets)&&o(M.abbrs,z.abbrs)&&o(M.untils,z.untils)}function d(M,z){var b=[],p=[];return M.links&&(p=M.links.slice()),function(M,z,b,p){var O,A,c,q,o,d,R=[];for(O=0;O<M.length;O++){for(d=!1,c=M[O],A=0;A<R.length;A++)W(c,q=(o=R[A])[0])&&(c.population>q.population||c.population===q.population&&p&&p[c.name]?o.unshift(c):o.push(c),d=!0);d||R.push([c])}for(O=0;O<R.length;O++)for(o=R[O],z.push(o[0]),A=1;A<o.length;A++)b.push(o[0].name+"|"+o[A].name)}(M.zones,b,p,z),{version:M.version,zones:b,links:p.sort()}}function R(M,z,b){var p=Array.prototype.slice,O=function(M,z,b){var p,O,A=0,c=M.length+1;for(b||(b=z),z>b&&(O=z,z=b,b=O),O=0;O<M.length;O++)null!=M[O]&&((p=new Date(M[O]).getUTCFullYear())<z&&(A=O+1),p>b&&(c=Math.min(c,O+1)));return[A,c]}(M.untils,z,b),A=p.apply(M.untils,O);return A[A.length-1]=null,{name:M.name,abbrs:p.apply(M.abbrs,O),untils:A,offsets:p.apply(M.offsets,O),population:M.population,countries:M.countries}}return M.tz.pack=c,M.tz.packBase60=b,M.tz.createLinks=d,M.tz.filterYears=R,M.tz.filterLinkPack=function(M,z,b,p){var O,A,o=M.zones,W=[];for(O=0;O<o.length;O++)W[O]=R(o[O],z,b);for(A=d({zones:W,links:M.links.slice(),version:M.version},p),O=0;O<A.zones.length;O++)A.zones[O]=c(A.zones[O]);return A.countries=M.countries?M.countries.map((function(M){return q(M)})):[],A},M.tz.packCountry=q,M}))},3849:function(M,z,b){var p,O,A;//! moment-timezone.js
|
||||
//! version : 0.5.40
|
||||
//! Copyright (c) JS Foundation and other contributors
|
||||
//! license : MIT
|
||||
|
4
wp-includes/js/dist/deprecated.js
vendored
4
wp-includes/js/dist/deprecated.js
vendored
@ -31,9 +31,9 @@ __webpack_require__.d(__webpack_exports__, {
|
||||
|
||||
// UNUSED EXPORTS: logged
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","hooks"]
|
||||
;// external ["wp","hooks"]
|
||||
const external_wp_hooks_namespaceObject = window["wp"]["hooks"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/deprecated/build-module/index.js
|
||||
;// ./node_modules/@wordpress/deprecated/build-module/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
94
wp-includes/js/dist/dom.js
vendored
94
wp-includes/js/dist/dom.js
vendored
@ -102,7 +102,7 @@ __webpack_require__.d(tabbable_namespaceObject, {
|
||||
isTabbableIndex: () => (isTabbableIndex)
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/focusable.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/focusable.js
|
||||
/**
|
||||
* References:
|
||||
*
|
||||
@ -203,7 +203,7 @@ function find(context, {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/tabbable.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/tabbable.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -378,12 +378,12 @@ function findNext(element) {
|
||||
element.compareDocumentPosition(focusable) & element.DOCUMENT_POSITION_FOLLOWING);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/utils/assert-is-defined.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/utils/assert-is-defined.js
|
||||
function assertIsDefined(val, name) {
|
||||
if (false) {}
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-rectangle-from-range.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/get-rectangle-from-range.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -494,7 +494,7 @@ function getRectangleFromRange(range) {
|
||||
return rect;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/compute-caret-rect.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/compute-caret-rect.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -518,7 +518,7 @@ function computeCaretRect(win) {
|
||||
return getRectangleFromRange(range);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/document-has-text-selection.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/document-has-text-selection.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -543,7 +543,7 @@ function documentHasTextSelection(doc) {
|
||||
return !!range && !range.collapsed;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-html-input-element.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-html-input-element.js
|
||||
/* eslint-disable jsdoc/valid-types */
|
||||
/**
|
||||
* @param {Node} node
|
||||
@ -554,7 +554,7 @@ function isHTMLInputElement(node) {
|
||||
return node?.nodeName === 'INPUT';
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-text-field.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-text-field.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -576,7 +576,7 @@ function isTextField(node) {
|
||||
return isHTMLInputElement(node) && node.type && !nonTextInputs.includes(node.type) || node.nodeName === 'TEXTAREA' || /** @type {HTMLElement} */node.contentEditable === 'true';
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/input-field-has-uncollapsed-selection.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/input-field-has-uncollapsed-selection.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -628,7 +628,7 @@ function inputFieldHasUncollapsedSelection(element) {
|
||||
}
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/document-has-uncollapsed-selection.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/document-has-uncollapsed-selection.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -648,7 +648,7 @@ function documentHasUncollapsedSelection(doc) {
|
||||
return documentHasTextSelection(doc) || !!doc.activeElement && inputFieldHasUncollapsedSelection(doc.activeElement);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/document-has-selection.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/document-has-selection.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -668,7 +668,7 @@ function documentHasSelection(doc) {
|
||||
return !!doc.activeElement && (isHTMLInputElement(doc.activeElement) || isTextField(doc.activeElement) || documentHasTextSelection(doc));
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-computed-style.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/get-computed-style.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -685,7 +685,7 @@ function getComputedStyle(element) {
|
||||
return element.ownerDocument.defaultView.getComputedStyle(element);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-scroll-container.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/get-scroll-container.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -736,7 +736,7 @@ function getScrollContainer(node, direction = 'vertical') {
|
||||
return getScrollContainer( /** @type {Element} */node.parentNode, direction);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-offset-parent.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/get-offset-parent.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -776,7 +776,7 @@ function getOffsetParent(node) {
|
||||
return /** @type {Node & { offsetParent: Node }} */closestElement.offsetParent;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-input-or-text-area.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-input-or-text-area.js
|
||||
/* eslint-disable jsdoc/valid-types */
|
||||
/**
|
||||
* @param {Element} element
|
||||
@ -787,7 +787,7 @@ function isInputOrTextArea(element) {
|
||||
return element.tagName === 'INPUT' || element.tagName === 'TEXTAREA';
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-entirely-selected.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-entirely-selected.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -859,7 +859,7 @@ function isDeepChild(query, container, propName) {
|
||||
return false;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-form-element.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-form-element.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -884,7 +884,7 @@ function isFormElement(element) {
|
||||
return checkForInputTextarea || tagName === 'BUTTON' || tagName === 'SELECT';
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-rtl.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-rtl.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -901,7 +901,7 @@ function isRTL(element) {
|
||||
return getComputedStyle(element).direction === 'rtl';
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-range-height.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/get-range-height.js
|
||||
/**
|
||||
* Gets the height of the range without ignoring zero width rectangles, which
|
||||
* some browsers ignore when creating a union.
|
||||
@ -923,7 +923,7 @@ function getRangeHeight(range) {
|
||||
return lowestBottom - highestTop;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-selection-forward.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-selection-forward.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -973,7 +973,7 @@ function isSelectionForward(selection) {
|
||||
return true;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/caret-range-from-point.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/caret-range-from-point.js
|
||||
/**
|
||||
* Polyfill.
|
||||
* Get a collapsed range for a given point.
|
||||
@ -1011,7 +1011,7 @@ function caretRangeFromPoint(doc, x, y) {
|
||||
* @typedef {{ readonly offset: number; readonly offsetNode: Node; getClientRect(): DOMRect | null; }} CaretPosition
|
||||
*/
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/hidden-caret-range-from-point.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/hidden-caret-range-from-point.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1048,7 +1048,7 @@ function hiddenCaretRangeFromPoint(doc, x, y, container) {
|
||||
return range;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/scroll-if-no-range.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/scroll-if-no-range.js
|
||||
/**
|
||||
* If no range range can be created or it is outside the container, the element
|
||||
* may be out of view, so scroll it into view and try again.
|
||||
@ -1074,7 +1074,7 @@ function scrollIfNoRange(container, alignToTop, callback) {
|
||||
return range;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-edge.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-edge.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1180,7 +1180,7 @@ function isEdge(container, isReverse, onlyVertical = false) {
|
||||
return onlyVertical ? hasVerticalDiff : hasVerticalDiff && hasHorizontalDiff;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-horizontal-edge.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-horizontal-edge.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1198,10 +1198,10 @@ function isHorizontalEdge(container, isReverse) {
|
||||
return isEdge(container, isReverse);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","deprecated"]
|
||||
;// external ["wp","deprecated"]
|
||||
const external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
|
||||
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-number-input.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-number-input.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1229,7 +1229,7 @@ function isNumberInput(node) {
|
||||
return isHTMLInputElement(node) && node.type === 'number' && !isNaN(node.valueAsNumber);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-vertical-edge.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-vertical-edge.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1247,7 +1247,7 @@ function isVerticalEdge(container, isReverse) {
|
||||
return isEdge(container, isReverse, true);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/place-caret-at-edge.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/place-caret-at-edge.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1334,7 +1334,7 @@ function placeCaretAtEdge(container, isReverse, x) {
|
||||
selection.addRange(range);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/place-caret-at-horizontal-edge.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/place-caret-at-horizontal-edge.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1350,7 +1350,7 @@ function placeCaretAtHorizontalEdge(container, isReverse) {
|
||||
return placeCaretAtEdge(container, isReverse, undefined);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/place-caret-at-vertical-edge.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/place-caret-at-vertical-edge.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1367,7 +1367,7 @@ function placeCaretAtVerticalEdge(container, isReverse, rect) {
|
||||
return placeCaretAtEdge(container, isReverse, rect?.left);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/insert-after.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/insert-after.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1386,7 +1386,7 @@ function insertAfter(newNode, referenceNode) {
|
||||
referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/remove.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/remove.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1403,7 +1403,7 @@ function remove(node) {
|
||||
node.parentNode.removeChild(node);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/replace.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/replace.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1424,7 +1424,7 @@ function replace(processedNode, newNode) {
|
||||
remove(processedNode);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/unwrap.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/unwrap.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1446,7 +1446,7 @@ function unwrap(node) {
|
||||
parent.removeChild(node);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/replace-tag.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/replace-tag.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1470,7 +1470,7 @@ function replaceTag(node, tagName) {
|
||||
return newNode;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/wrap.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/wrap.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1488,7 +1488,7 @@ function wrap(newNode, referenceNode) {
|
||||
newNode.appendChild(referenceNode);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/safe-html.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/safe-html.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1527,7 +1527,7 @@ function safeHTML(html) {
|
||||
return body.innerHTML;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/strip-html.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/strip-html.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1549,7 +1549,7 @@ function stripHTML(html) {
|
||||
return doc.body.textContent || '';
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-empty.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-empty.js
|
||||
/**
|
||||
* Recursively checks if an element is empty. An element is not empty if it
|
||||
* contains text or contains elements with attributes such as images.
|
||||
@ -1576,7 +1576,7 @@ function isEmpty(element) {
|
||||
}
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/phrasing-content.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/phrasing-content.js
|
||||
/**
|
||||
* All phrasing content elements.
|
||||
*
|
||||
@ -1772,7 +1772,7 @@ function isTextContent(node) {
|
||||
return textContentSchema.hasOwnProperty(tag) || tag === 'span';
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-element.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/is-element.js
|
||||
/* eslint-disable jsdoc/valid-types */
|
||||
/**
|
||||
* @param {Node | null | undefined} node
|
||||
@ -1783,7 +1783,7 @@ function isElement(node) {
|
||||
return !!node && node.nodeType === node.ELEMENT_NODE;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/clean-node-list.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/clean-node-list.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1918,7 +1918,7 @@ function cleanNodeList(nodeList, doc, schema, inline) {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/remove-invalid-html.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/remove-invalid-html.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -1940,7 +1940,7 @@ function removeInvalidHTML(HTML, schema, inline) {
|
||||
return doc.body.innerHTML;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/index.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/dom/index.js
|
||||
|
||||
|
||||
|
||||
@ -1969,7 +1969,7 @@ function removeInvalidHTML(HTML, schema, inline) {
|
||||
|
||||
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/data-transfer.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/data-transfer.js
|
||||
/**
|
||||
* Gets all files from a DataTransfer object.
|
||||
*
|
||||
@ -1992,7 +1992,7 @@ function getFilesFromDataTransfer(dataTransfer) {
|
||||
return files;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/index.js
|
||||
;// ./node_modules/@wordpress/dom/build-module/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
134
wp-includes/js/dist/edit-post.js
vendored
134
wp-includes/js/dist/edit-post.js
vendored
@ -141,36 +141,36 @@ __webpack_require__.d(selectors_namespaceObject, {
|
||||
isSavingMetaBoxes: () => (selectors_isSavingMetaBoxes)
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","blocks"]
|
||||
;// external ["wp","blocks"]
|
||||
const external_wp_blocks_namespaceObject = window["wp"]["blocks"];
|
||||
;// CONCATENATED MODULE: external ["wp","blockLibrary"]
|
||||
;// external ["wp","blockLibrary"]
|
||||
const external_wp_blockLibrary_namespaceObject = window["wp"]["blockLibrary"];
|
||||
;// CONCATENATED MODULE: external ["wp","deprecated"]
|
||||
;// external ["wp","deprecated"]
|
||||
const external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
|
||||
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
|
||||
;// CONCATENATED MODULE: external ["wp","element"]
|
||||
;// external ["wp","element"]
|
||||
const external_wp_element_namespaceObject = window["wp"]["element"];
|
||||
;// CONCATENATED MODULE: external ["wp","data"]
|
||||
;// external ["wp","data"]
|
||||
const external_wp_data_namespaceObject = window["wp"]["data"];
|
||||
;// CONCATENATED MODULE: external ["wp","preferences"]
|
||||
;// external ["wp","preferences"]
|
||||
const external_wp_preferences_namespaceObject = window["wp"]["preferences"];
|
||||
;// CONCATENATED MODULE: external ["wp","widgets"]
|
||||
;// external ["wp","widgets"]
|
||||
const external_wp_widgets_namespaceObject = window["wp"]["widgets"];
|
||||
;// CONCATENATED MODULE: external ["wp","editor"]
|
||||
;// external ["wp","editor"]
|
||||
const external_wp_editor_namespaceObject = window["wp"]["editor"];
|
||||
;// CONCATENATED MODULE: ./node_modules/clsx/dist/clsx.mjs
|
||||
;// ./node_modules/clsx/dist/clsx.mjs
|
||||
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f)}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}/* harmony default export */ const dist_clsx = (clsx);
|
||||
;// CONCATENATED MODULE: external ["wp","blockEditor"]
|
||||
;// external ["wp","blockEditor"]
|
||||
const external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
|
||||
;// CONCATENATED MODULE: external ["wp","plugins"]
|
||||
;// external ["wp","plugins"]
|
||||
const external_wp_plugins_namespaceObject = window["wp"]["plugins"];
|
||||
;// CONCATENATED MODULE: external ["wp","i18n"]
|
||||
;// external ["wp","i18n"]
|
||||
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
|
||||
;// CONCATENATED MODULE: external ["wp","primitives"]
|
||||
;// external ["wp","primitives"]
|
||||
const external_wp_primitives_namespaceObject = window["wp"]["primitives"];
|
||||
;// CONCATENATED MODULE: external "ReactJSXRuntime"
|
||||
;// external "ReactJSXRuntime"
|
||||
const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-up.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/chevron-up.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -185,7 +185,7 @@ const chevronUp = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(
|
||||
});
|
||||
/* harmony default export */ const chevron_up = (chevronUp);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-down.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/chevron-down.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -200,23 +200,23 @@ const chevronDown = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx
|
||||
});
|
||||
/* harmony default export */ const chevron_down = (chevronDown);
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","notices"]
|
||||
;// external ["wp","notices"]
|
||||
const external_wp_notices_namespaceObject = window["wp"]["notices"];
|
||||
;// CONCATENATED MODULE: external ["wp","commands"]
|
||||
;// external ["wp","commands"]
|
||||
const external_wp_commands_namespaceObject = window["wp"]["commands"];
|
||||
;// CONCATENATED MODULE: external ["wp","coreCommands"]
|
||||
;// external ["wp","coreCommands"]
|
||||
const external_wp_coreCommands_namespaceObject = window["wp"]["coreCommands"];
|
||||
;// CONCATENATED MODULE: external ["wp","url"]
|
||||
;// external ["wp","url"]
|
||||
const external_wp_url_namespaceObject = window["wp"]["url"];
|
||||
;// CONCATENATED MODULE: external ["wp","htmlEntities"]
|
||||
;// external ["wp","htmlEntities"]
|
||||
const external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
|
||||
;// CONCATENATED MODULE: external ["wp","coreData"]
|
||||
;// external ["wp","coreData"]
|
||||
const external_wp_coreData_namespaceObject = window["wp"]["coreData"];
|
||||
;// CONCATENATED MODULE: external ["wp","components"]
|
||||
;// external ["wp","components"]
|
||||
const external_wp_components_namespaceObject = window["wp"]["components"];
|
||||
;// CONCATENATED MODULE: external ["wp","compose"]
|
||||
;// external ["wp","compose"]
|
||||
const external_wp_compose_namespaceObject = window["wp"]["compose"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/wordpress.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/wordpress.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -231,7 +231,7 @@ const wordpress = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(
|
||||
});
|
||||
/* harmony default export */ const library_wordpress = (wordpress);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/back-button/fullscreen-mode-close.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/back-button/fullscreen-mode-close.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -336,9 +336,9 @@ function FullscreenModeClose({
|
||||
}
|
||||
/* harmony default export */ const fullscreen_mode_close = (FullscreenModeClose);
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","privateApis"]
|
||||
;// external ["wp","privateApis"]
|
||||
const external_wp_privateApis_namespaceObject = window["wp"]["privateApis"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/lock-unlock.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/lock-unlock.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -348,7 +348,7 @@ const {
|
||||
unlock
|
||||
} = (0,external_wp_privateApis_namespaceObject.__dangerousOptInToUnstableAPIsOnlyForCoreModules)('I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.', '@wordpress/edit-post');
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/back-button/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/back-button/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -400,7 +400,7 @@ function BackButton({
|
||||
}
|
||||
/* harmony default export */ const back_button = (BackButton);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/constants.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/store/constants.js
|
||||
/**
|
||||
* The identifier for the data store.
|
||||
*
|
||||
@ -422,7 +422,7 @@ const VIEW_AS_LINK_SELECTOR = '#wp-admin-bar-view a';
|
||||
*/
|
||||
const VIEW_AS_PREVIEW_LINK_SELECTOR = '#wp-admin-bar-preview a';
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/editor-initialization/listener-hooks.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/editor-initialization/listener-hooks.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -457,7 +457,7 @@ const useUpdatePostLinkListener = () => {
|
||||
}, [newPermalink]);
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/editor-initialization/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/editor-initialization/index.js
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -474,9 +474,9 @@ function EditorInitialization() {
|
||||
return null;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","keyboardShortcuts"]
|
||||
;// external ["wp","keyboardShortcuts"]
|
||||
const external_wp_keyboardShortcuts_namespaceObject = window["wp"]["keyboardShortcuts"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/reducer.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/store/reducer.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -564,12 +564,12 @@ const metaBoxes = (0,external_wp_data_namespaceObject.combineReducers)({
|
||||
metaBoxes
|
||||
}));
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","apiFetch"]
|
||||
;// external ["wp","apiFetch"]
|
||||
const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
|
||||
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
|
||||
;// CONCATENATED MODULE: external ["wp","hooks"]
|
||||
;// external ["wp","hooks"]
|
||||
const external_wp_hooks_namespaceObject = window["wp"]["hooks"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/utils/meta-boxes.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/utils/meta-boxes.js
|
||||
/**
|
||||
* Function returning the current Meta Boxes DOM Node in the editor
|
||||
* whether the meta box area is opened or not.
|
||||
@ -587,7 +587,7 @@ const getMetaBoxContainer = location => {
|
||||
return document.querySelector('#metaboxes .metabox-location-' + location);
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/actions.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/store/actions.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1063,7 +1063,7 @@ const toggleDistractionFree = () => ({
|
||||
registry.dispatch(external_wp_editor_namespaceObject.store).toggleDistractionFree();
|
||||
};
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/private-selectors.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/store/private-selectors.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1119,7 +1119,7 @@ const getEditedPostTemplateId = (0,external_wp_data_namespaceObject.createRegist
|
||||
}
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/selectors.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/store/selectors.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1614,7 +1614,7 @@ const getEditedPostTemplate = (0,external_wp_data_namespaceObject.createRegistry
|
||||
return select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord('postType', 'wp_template', templateId);
|
||||
});
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/store/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1645,7 +1645,7 @@ const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME,
|
||||
(0,external_wp_data_namespaceObject.register)(store);
|
||||
unlock(store).registerPrivateSelectors(private_selectors_namespaceObject);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcuts/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcuts/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1683,7 +1683,7 @@ function KeyboardShortcuts() {
|
||||
}
|
||||
/* harmony default export */ const keyboard_shortcuts = (KeyboardShortcuts);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/init-pattern-modal/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/init-pattern-modal/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1780,7 +1780,7 @@ function InitPatternModal() {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/browser-url/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/browser-url/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1864,7 +1864,7 @@ class BrowserURL extends external_wp_element_namespaceObject.Component {
|
||||
};
|
||||
})(BrowserURL));
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-boxes-area/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-boxes-area/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -1925,7 +1925,7 @@ function MetaBoxesArea({
|
||||
}
|
||||
/* harmony default export */ const meta_boxes_area = (MetaBoxesArea);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-box-visibility.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-box-visibility.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -1966,7 +1966,7 @@ class MetaBoxVisibility extends external_wp_element_namespaceObject.Component {
|
||||
isVisible: select(external_wp_editor_namespaceObject.store).isEditorPanelEnabled(`meta-box-${id}`)
|
||||
}))(MetaBoxVisibility));
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2029,9 +2029,9 @@ function MetaBoxes({
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: external ["wp","keycodes"]
|
||||
;// external ["wp","keycodes"]
|
||||
const external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/more-menu/manage-patterns-menu-item.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/more-menu/manage-patterns-menu-item.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2069,7 +2069,7 @@ function ManagePatternsMenuItem() {
|
||||
}
|
||||
/* harmony default export */ const manage_patterns_menu_item = (ManagePatternsMenuItem);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/more-menu/welcome-guide-menu-item.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/more-menu/welcome-guide-menu-item.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2087,7 +2087,7 @@ function WelcomeGuideMenuItem() {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/enable-custom-fields.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/enable-custom-fields.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2159,7 +2159,7 @@ function EnableCustomFieldsOption({
|
||||
areCustomFieldsEnabled: !!select(external_wp_editor_namespaceObject.store).getEditorSettings().enableCustomFields
|
||||
}))(EnableCustomFieldsOption));
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/enable-panel.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/enable-panel.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2194,7 +2194,7 @@ const {
|
||||
onChange: () => dispatch(external_wp_editor_namespaceObject.store).toggleEditorPanelEnabled(panelName)
|
||||
})))(enable_panel_PreferenceBaseOption));
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/meta-boxes-section.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/meta-boxes-section.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2254,7 +2254,7 @@ function MetaBoxesSection({
|
||||
};
|
||||
})(MetaBoxesSection));
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2292,7 +2292,7 @@ function EditPostPreferencesModal() {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/more-menu/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/more-menu/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2336,7 +2336,7 @@ const MoreMenu = () => {
|
||||
};
|
||||
/* harmony default export */ const more_menu = (MoreMenu);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/image.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/image.js
|
||||
|
||||
|
||||
function WelcomeGuideImage({
|
||||
@ -2357,7 +2357,7 @@ function WelcomeGuideImage({
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/default.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/default.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2452,7 +2452,7 @@ function WelcomeGuideDefault() {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/template.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/template.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2495,7 +2495,7 @@ function WelcomeGuideTemplate() {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2531,7 +2531,7 @@ function WelcomeGuide({
|
||||
return isEditingTemplate ? /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(WelcomeGuideTemplate, {}) : /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(WelcomeGuideDefault, {});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/fullscreen.js
|
||||
;// ./node_modules/@wordpress/icons/build-module/library/fullscreen.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2546,7 +2546,7 @@ const fullscreen = /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)
|
||||
});
|
||||
/* harmony default export */ const library_fullscreen = (fullscreen);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/commands/use-commands.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/commands/use-commands.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2596,7 +2596,7 @@ function useCommands() {
|
||||
});
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/layout/use-padding-appender.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/layout/use-padding-appender.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2661,7 +2661,7 @@ function usePaddingAppender() {
|
||||
}, [registry]);
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/layout/use-should-iframe.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/layout/use-should-iframe.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2700,7 +2700,7 @@ function useShouldIframe() {
|
||||
return hasV3BlocksOnly || isGutenbergPlugin && isBlockBasedTheme || isEditingTemplate || isZoomOutMode;
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/hooks/use-navigate-to-entity-record.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/hooks/use-navigate-to-entity-record.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -2785,7 +2785,7 @@ function useNavigateToEntityRecord(initialPostId, initialPostType, defaultRender
|
||||
};
|
||||
}
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/layout/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/components/layout/index.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
@ -3297,7 +3297,7 @@ function Layout({
|
||||
}
|
||||
/* harmony default export */ const layout = (Layout);
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/deprecated.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/deprecated.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -3443,7 +3443,7 @@ function __experimentalPluginPostExcerpt() {
|
||||
|
||||
/* eslint-enable jsdoc/require-param */
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/index.js
|
||||
;// ./node_modules/@wordpress/edit-post/build-module/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
2
wp-includes/js/dist/edit-post.min.js
vendored
2
wp-includes/js/dist/edit-post.min.js
vendored
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user