1!function(t){var e={};function n(c){if(e[c])return e[c].exports;var o=e[c]={i:c,l:!1,exports:{}};return t[c].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,c){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:c})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var c=Object.create(null);if(n.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(c,o,function(e){return t[e]}.bind(null,o));return c},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=9)}({9:function(t,e,n){t.exports=n("Uwob")},Uwob:function(t,e,n){"use strict";n.r(e),function(t){var e,c=n("yjUE");(e=t)(document).ready((function(){function t(){e(".wpcw-success").fadeOut(2500),e(".wpcw-success").removeClass("wpcw-error")}e(".tabcontent:first").show(),e(".wpcw-tab button").click((function(){var t=e(this).data("event");e(".wpcw-tab button").removeClass("active"),e(this).addClass("active"),e(".tabcontent").hide(),e("#"+t).fadeIn("slow")})),e(".ets-toggle").on("click",(function(t){e(".ets-collapse").toggleClass("expanded"),e(".ets-collapse").hasClass("expanded")?e(t.currentTarget).html('<i class="beg-icon wpcw-fas wpcw-fa-angle-down" aria-hidden="true"></i>'):e(t.currentTarget).html('<i class="beg-icon wpcw-fas wpcw-fa-angle-up" aria-hidden="true"></i>')})),e(document).on("click",".wpcw-create-note",(function(){e(this).next(".wpcw-notes-inputs").show()})),e(document).on("click",".wpcw-submit-note",(function(){var n=e("#wpcw_parent_unit_post_id").val(),o=tinymce.get("new_wpcw_note_content").getContent(),s=e(this).data("note-id"),i=e(this),r={editor_content:o,unit_id:n,security:wpcw_course_note_params.ajax_api_nonce};s&&(o=tinymce.get("new_wpcw_note_content_"+s).getContent(),r.editor_content=o,r.note_id=s),e.ajax({type:"POST",dataType:"JSON",url:Object(c.b)("create_wpcw_course_note"),data:r,beforeSend:function(){e(i).closest(".wpcw-notes-inputs").find(".note-spinner").css("display","inline-block")},success:function(t){t.success&&(e(".wpcw-success").show(),e(".wpcw-success").show().html(t.data.message),e(i).closest(".wpcw-content-div").find(".wpcw-notes-inputs").hide(),e(".wpcw-notes-inputs").hide(),e(".wpcw-no-result").hide(),s?(e(".edit-note-editor").hide(),e(i).closest(".wpcw-content-div").find(".note-content").show().html(o)):(tinymce.get("new_wpcw_note_content").setContent(""),e(".wpcw-course-note-content").append(t.data.html)),t.data.textAreaId&&wp.editor.initialize(t.data.textAreaId,{quicktags:!1,tinymce:!0,textarea_rows:8,media_buttons:!1,class:"regular-text",textarea_name:"new_wpcw_note_content"})),0==t.success&&(e(".wpcw-success").show(),e(".wpcw-success").addClass("wpcw-error"),e(".wpcw-success").show().html(t.data.message))},complete:function(){e(i).closest(".wpcw-notes-inputs").find(".note-spinner").hide(),t()},error:function(t,e,n){console.log(e+" : "+t.status+" : "+n)}})})),e(document).on("click",".wpcw-edit-note",(function(t){e(this).closest(".wpcw-content-div").find(".edit-note-editor").show(),e(this).closest(".wpcw-content-div").find(".wpcw-notes-inputs").show(),e(this).closest(".wpcw-content-div").find(".note-content").hide()})),e(document).on("click",".wpcw-delete-note",(function(n){var o=e(this).data("note-id"),s=e(this);1==confirm(wpcw_course_note_params.delete_note_confirm)&&e.ajax({type:"POST",dataType:"JSON",url:Object(c.b)("wpcw_delete_course_note"),data:{security:wpcw_course_note_params.ajax_api_nonce,note_id:o},beforeSend:function(){},success:function(t){t.success&&(e(".wpcw-success").show(),e(".wpcw-success").html(t.data.message),e(s).closest(".wpcw-content-div").remove()),0==t.success&&(e(".wpcw-success").show(),e(".wpcw-success").addClass("wpcw-error"),e(".wpcw-success").show().html(t.data.message))},complete:function(){t()}})})),e(document).on("click",".wpcw-cancel-note",(function(){e(this).closest(".wpcw-content-div").find(".note-content").show(),e(this).closest(".wpcw-notes-inputs").val("").hide(),e(this).closest(".wpcw-content-div").find(".wpcw-notes-inputs").val("").hide()})),e(document).on("change",".wpcw-filter-select",(function(){var t=e("#wpcw-asc-desc-filter option:selected").val(),n=e("#wpcw-unit-filter option:selected").val(),o=e("#wpcw_parent_unit_post_id").val();e.ajax({type:"POST",dataType:"JSON",url:Object(c.b)("wpcw_course_note_filter"),data:{select_desc_asc:t,select_unit:n,unit_id:o},beforeSend:function(){},success:function(t){t.success&&(e(".wpcw-course-note-content").html(t.data.html),t.data.textAreaIds&&e(t.data.textAreaIds).each((function(t,e){wp.editor.remove(e),wp.editor.initialize(e,{quicktags:!1,tinymce:!0,textarea_rows:8,media_buttons:!1,class:"regular-text",textarea_name:"new_wpcw_note_content"})})))},complete:function(){}})})),e(document).on("tinymce-editor-setup",(function(t,e){"new_wpcw_note_content"==e.id&&
1(e.settings.toolbar1="bold,italic,bullist,numlist,link",e.settings.toolbar2="")}))}))}.call(this,n("xeH2"))},xeH2:function(t,e){t.exports=jQuery},yjUE:function(t,e,n){"use strict";(function(t){function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);e&&(c=c.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,c)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=c(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t){return wpcw_frontend_params.ajax_api_url.toString().replace("%%endpoint%%",t)}function a(){return wpcw_frontend_params.ajax_api_nonce}function u(t){t.setRequestHeader("WPCW-WP-Nonce",a())}function w(e,n){var o=s(s({},{security:a()}),n),i={type:"POST",dataType:"json",xhrFields:{withCredentials:!0},url:r(e),beforeSend:u,data:o},w=t.Deferred((function(e){e.jqXHR=t.ajax(i).done((function(t){"1"!==t&&1!==t||(t={success:!0}),"object"===c(t)&&void 0!==c(t.success)?e[t.success?"resolveWith":"rejectWith"](this,[t.data]):e.rejectWith(this,[t])})).fail((function(){e.rejectWith(this,arguments)}))})),p=w.promise();return p.abort=function(){return w.jqXHR.abort(),this},p}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return w}))}).call(this,n("xeH2"))}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.