/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/ (function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[23],{452:function(ia,ba,e){e.r(ba);var ea=e(1),x=e(10),ha=e(2);ia=e(51);var ca=e(34),da=e(11);e=function(){function e(){this.init()}e.prototype.init=function(){this.i6=!1;this.Ve=this.rl=this.connection=null;this.Wr={};this.la=this.dF=null};e.prototype.Nla=function(e){for(var w=this,n=0;n"+h.aId+"")}}};e.prototype.Tca=function(e){var w=this;this.la.Ul(e.xfdf).then(function(n){n=n[0];n.authorId=e.author;w.la.qb(n);w.la.trigger(x.b.UPDATE_ANNOTATION_PERMISSION,[n])})};e.prototype.sca=function(e,x,n){this.rl&&this.rl(e,x,n)};e.prototype.preloadAnnotations=function(e){this.addEventListener("webViewerServerAnnotationsEnabled",this.sca.bind(this,e,"add",{imported:!1}),{once:!0})};e.prototype.initiateCollaboration=function(w,y,n){var h= this;if(w){h.Ve=y;h.la=n.ta();n.addEventListener(x.e.DOCUMENT_UNLOADED,function(){h.disableCollaboration()});h.lma(w);var f=new XMLHttpRequest;f.addEventListener("load",function(){if(200===f.status&&0"+ha+""})):"modify"===h?(da=y.querySelector('[name="'+ca.Id+'"]'),ha=aa.serializeToString(da),r.annots.push({at:"modify",aId:ca.Id,xfdf:""+ ha+""})):"delete"===h&&r.annots.push({at:"delete",aId:ca.Id});0