PageSourceSearch

https://dashworkshops.com/wp-content/plugins/learndash-propanel/in…?ver=192e3fabcd77209cdddc

js dashworkshops.com collected 2026-10-04 13:34:46 UTC 4,977 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e={5792:(e,t,a)=>{a.d(t,{c:()=>o});var s=a(1280),r=a.n(s),n=a(3396);class d extends r().Component{constructor(e){super(e)}render(){let e="";return 1==this.props.text&&(e=(0,s.createElement)("span",{className:"supporting-text"},(0,n.__)("Your report is being generated.","learndash-reports-pro"))),(0,s.createElement)("div",{className:"wisdm-learndash-reports-chart-block","data-wisdm-loader":"true"},(0,s.createElement)("div",{className:"wisdm-learndash-reports-revenue-from-courses graph-card-container"},(0,s.createElement)("div",{className:"wisdm-graph-loading"},(0,s.createElement)("img",{src:wisdm_ld_reports_common_script_data.plugin_asset_url+"/images/loader.svg",alt:""}),e)))}}const o=d},1280:e=>{e.exports=window.React},3396:e=>{e.exports=window.wp.i18n}},t={};function a(s){var r=t[s];if(void 0!==r)return r.exports;var n=t[s]={exports:{}};return e[s](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var s in t)a.o(t,s)&&!a.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=a(1280),t=a.n(e),s=a(5792);const r=window.moment;var n=a.n(r),d=a(3396);const o=window.wp.element;class l extends e.Component{constructor(e){super(e),this.state={isLoaded:!1,error:null,start_date:n()(new Date(wisdm_ld_reports_common_script_data.start_date)).unix(),end_date:n()(new Date(wisdm_ld_reports_common_script_data.end_date)).unix()},this.durationUpdated=this.durationUpdated.bind(this),this.updateBlock=this.updateBlock.bind(this)}durationUpdated(e){this.setState({start_date:e.detail.startDate,end_date:e.detail.endDate},(()=>{this.updateBlock()}))}componentDidMount(){document.addEventListener("duration_updated",this.durationUpdated),this.updateBlock()}updateBlock(e="/rp/v1/total-courses"){let t="/rp/v1/total-courses?start_date="+this.state.start_date+"&end_date="+this.state.end_date;wisdm_ld_reports_common_script_data.wpml_lang&&(t+="&wpml_lang="+wisdm_ld_reports_common_script_data.wpml_lang),wp.apiFetch({path:t}).then((e=>{const t=e.percentChange;let a="udup",s="change-value",r="",o="",l="";0<t?(a="udup",s="change-value-positive",o=(0,d.__)("Up","learndash-reports-pro"),l=wisdm_ld_reports_common_script_data.plugin_asset_url+"/images/up.png"):0>t?(a="uddown",s="change-value-negative",o=(0,d.__)("Down","learndash-reports-pro"),l=wisdm_ld_reports_common_script_data.plugin_asset_url+"/images/down.png"):0==t&&(r="wrld-hidden",o=(0,d.__)("Up","learndash-reports-pro"),l=wisdm_ld_reports_common_script_data.plugin_asset_url+"/images/up.png"),this.setState({isLoaded:!0,graphData:{totalCourses:e.totalCourses,percentChange:t+"%",chnageDirectionClass:a,percentValueClass:s,hideChange:r,udtxt:o,udsrc:l},startDate:n().unix(e.requestData.start_date).format("MMM, DD YYYY"),endDate:n().unix(e.requestData.end_date).format("MMM, DD YYYY")})})).catch((e=>{this.setState({error:e,graph_summary:[],isLoaded:!0,series:[]})}))}render(){let t=(0,e.createElement)("div",null);return t=this.state.isLoaded?this.state.error?(0,e.createElement)("div",{className:"wisdm-learndash-reports-chart-block error"},(0,e.createElement)("div",null,this.state.error.message)):(0,e.createElement)("div",{className:"wisdm-learndash-reports-chart-block"},(0,e.createElement)("div",{className:"total-courses-container top-card-container"},(0,e.createElement)("div",{className:"wrld-date-filter"},(0,e.createElement)("span",{className:"dashicons dashicons-calendar-alt"}),(0,e.createElement)("div",{className:"wdm-tooltip"},(0,d.__)("Date filter applied:","learndash-reports-pro"),(0,e.createElement)("br",null),this.state.startDate," -"," ",this.state.endDate)),(0,e.createElement)("div",{className:"total-courses-icon"},(0,e.createElement)("img",{src:wisdm_ld_reports_common_script_data.plugin_asset_url+"/images/icon_course_counter.png"})),(0,e.createElement)("div",{className:"total-courses-details"},(0,e.createElement)("div",{className:"total-courses-text top-label-text"},(0,e.createElement)("span",null,(0,d.__)("Total","learndash-reports-pro")+" "+wisdm_reports_get_ld_custom_lebel_if_avaiable("courses"))),(0,e.createElement)("div",{className:"total-courses-figure"},(0,e.createElement)("span",null,this.state.graphData.totalCourses)),(0,e.createElement)("div",{className:`total-courses-percent-change ${this.state.graphData.hideChange}`},(0,e.createElement)("span",{className:this.state.graphData.chnageDirectionClass},(0,e.createElement)("img",{src:this.state.graphData.udsrc})),(0,e.createElement)("span",{className:this.state.graphData.percentValueClass},this.state.graphData.percentChange),(0,e.createElement)("span",{className:"ud-txt"},this.state.graphData.udtxt))))):(0,e.createElement)(s.c,null),t}}document.addEventListener("DOMContentLoaded",(function(e){const a=document.getElementsByClassName("wisdm-learndash-reports-total-courses front");a.length>0&&(0,o.createRoot)(a[0]).render(t().createElement(l))}))})()})();

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.