[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.188.135.3: ~ $
(()=>{"use strict";const e=window.wp.element,{__}=wp.i18n,{addFilter:t}=wp.hooks,{PanelBody:n,TextControl:o}=wp.components,{Fragment:r}=wp.element,{createHigherOrderComponent:a}=wp.compose,{InspectorControls:l}=wp.editor;t("editor.BlockEdit","uncanny-toolkit-pro/course-expiry",a((t=>a=>"uncanny-toolkit-pro/course-expiry"==a.name&&a.isSelected?(0,e.createElement)(r,null,(0,e.createElement)(t,a),(0,e.createElement)(l,null,(0,e.createElement)(n,{title:__("Course Expiry Settings","uncanny-pro-toolkit")},(0,e.createElement)(o,{label:__("Course ID","uncanny-pro-toolkit"),value:a.attributes.courseId,type:"number",onChange:e=>{a.setAttributes({courseId:e})}})))):(0,e.createElement)(t,a)),"addTookitCourseExpirySettings"));const s=e=>{let t=!1;return i(window.ultpGutenbergModules)&&(t=ultpGutenbergModules.includes(e)),t},i=e=>null!=e,u=((0,e.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M21.9,0c0,0.2,0,0.4,0.1,0.6c0,0.4,0,0.9,0,1.3c0,0.5,0,1-0.1,1.4c-0.1,1.1-0.3,2.2-0.7,3.3c-0.3,0.9-0.7,1.8-1.3,2.5  c-0.5,0.7-1.1,1.4-1.8,1.9c-0.7,0.5-1.5,1-2.4,1.3c-1.1,0.4-2.2,0.5-3.3,0.6c3,1.1,4.5,4.3,3.4,7.3c-0.8,2.2-2.9,3.7-5.2,3.8h-0.3   C10,24,9.5,23.9,9,23.8c-1.2-0.3-2.3-1.1-3.1-2.1c-1.2-1.7-1.4-3.9-0.5-5.8c-1,1.1-1.9,2.3-2.5,3.7c-0.4,0.8-0.7,1.7-0.9,2.6    c-0.1-0.6,0-1.2,0-1.8c0.1-1.1,0.2-2.2,0.5-3.3c0.2-0.9,0.6-1.8,1-2.6c0.5-0.8,1-1.5,1.7-2.2c0.7-0.7,1.6-1.2,2.5-1.5   c1-0.4,2.1-0.6,3.2-0.7c0.6,0,1.1,0,1.7-0.1c1-0.1,2-0.4,3-0.8c0.9-0.4,1.7-0.9,2.4-1.6c0.7-0.6,1.3-1.3,1.8-2.1    c0.5-0.9,1-1.8,1.3-2.7C21.5,1.9,21.8,0.9,21.9,0z M10.2,13.8c-0.8,0.1-1.5,0.4-2.1,0.9c-0.7,0.6-1.2,1.4-1.5,2.2   c-0.3,1-0.3,2.1,0.1,3.1c0.3,0.8,0.8,1.6,1.5,2.1c0.6,0.4,1.3,0.7,2,0.8c0.7,0.1,1.5-0.1,2.1-0.4c0.6-0.3,1.1-0.7,1.5-1.2   c0.4-0.6,0.8-1.2,0.9-1.9c0.2-0.9,0.1-1.9-0.2-2.8c-0.3-0.8-0.9-1.6-1.7-2.1C12,14,11.1,13.8,10.2,13.8z"}),(0,e.createElement)("path",{d:"M10,15.5c0.3-0.1,0.5-0.1,0.8-0.1c-0.5,0.5-0.5,1.2-0.1,1.8c0.5,0.6,1.3,0.6,1.9,0.2c0.2-0.2,0.4-0.4,0.4-0.7  c0.5,0.7,0.7,1.7,0.5,2.5c-0.2,0.8-0.8,1.5-1.5,1.8c-1.4,0.8-3.2,0.2-4-1.2c0-0.1-0.1-0.2-0.1-0.3c-0.3-0.8-0.3-1.8,0.2-2.6 C8.5,16.2,9.2,15.6,10,15.5z"})),(0,e.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19.98 24"},(0,e.createElement)("path",{fill:"#2b2b2b",d:"M21.9,0c0,.21,0,.42.05.63,0,.44.05.87,0,1.3s0,1-.09,1.45a14.91,14.91,0,0,1-.69,3.3A10.38,10.38,0,0,1,20,9.22a8.34,8.34,0,0,1-1.83,1.92,8.89,8.89,0,0,1-2.4,1.26,11.69,11.69,0,0,1-3.27.57,5.68,5.68,0,0,1-1.78,11h-.26A5.9,5.9,0,0,1,9,23.8a5.68,5.68,0,0,1-3.62-7.93,12.6,12.6,0,0,0-2.49,3.67,13.65,13.65,0,0,0-.87,2.57,13.52,13.52,0,0,1,0-1.8A14.81,14.81,0,0,1,2.54,17a11.15,11.15,0,0,1,1-2.56,8.72,8.72,0,0,1,1.71-2.15,8.42,8.42,0,0,1,2.48-1.55A11.13,11.13,0,0,1,11,10c.56,0,1.12,0,1.68-.1a9.89,9.89,0,0,0,3-.76,9,9,0,0,0,2.42-1.57,10.43,10.43,0,0,0,1.79-2.13A13.71,13.71,0,0,0,21.2,2.74,14.31,14.31,0,0,0,21.9,0ZM10.17,13.83A4.2,4.2,0,0,0,8,14.69a4.52,4.52,0,0,0-1.52,2.22A4.82,4.82,0,0,0,6.59,20a4.49,4.49,0,0,0,1.54,2.08,4,4,0,0,0,4.18.39,4.39,4.39,0,0,0,1.45-1.19,4.57,4.57,0,0,0,.91-1.91,4.82,4.82,0,0,0-.25-2.81,4.46,4.46,0,0,0-1.69-2.07A4.06,4.06,0,0,0,10.17,13.83Z",transform:"translate(-2.01)"}),(0,e.createElement)("path",{fill:"#f9ba0f",d:"M10.17,13.83a4.06,4.06,0,0,1,2.56.64,4.46,4.46,0,0,1,1.69,2.07,4.82,4.82,0,0,1,.25,2.81,4.57,4.57,0,0,1-.91,1.91,4.39,4.39,0,0,1-1.45,1.19,4,4,0,0,1-4.18-.39A4.56,4.56,0,0,1,6.59,20a4.82,4.82,0,0,1-.07-3.07A4.52,4.52,0,0,1,8,14.69,4.13,4.13,0,0,1,10.17,13.83Zm.61,1.58h0A3,3,0,0,0,8,16.88a2.94,2.94,0,0,0,3.7,4.18,1.51,1.51,0,0,0,.26-.12,2.93,2.93,0,0,0,1-4.32h0a1.29,1.29,0,0,0-.32-1.16,1.33,1.33,0,0,0-1.88-.07Z",transform:"translate(-2.01)"}),(0,e.createElement)("path",{fill:"#fef4d8",d:"M10.78,15.41a1.33,1.33,0,0,1,1.88,0l0,0A1.29,1.29,0,0,1,13,16.61a3.42,3.42,0,0,0-.7-.67A2.91,2.91,0,0,0,10.78,15.41Z",transform:"translate(-2.01)"}),(0,e.createElement)("path",{fill:"#000000",d:"M10,15.47a2.68,2.68,0,0,1,.8-.06,1.3,1.3,0,0,0-.08,1.76,1.32,1.32,0,0,0,1.86.17,1.27,1.27,0,0,0,.44-.72,2.92,2.92,0,0,1-1,4.32,3,3,0,0,1-4-1.23l-.12-.26A2.94,2.94,0,0,1,8,16.88,3,3,0,0,1,10,15.47Z",transform:"translate(-2.01)"}),(0,e.createElement)("path",{fill:"#d6d6d6",d:"M10.78,15.41h0a3,3,0,0,1,1.53.54,3.42,3.42,0,0,1,.7.67h0a1.32,1.32,0,1,1-2.58-.56A1.35,1.35,0,0,1,10.78,15.41Z",transform:"translate(-2.01)"}))),c=t=>{let{children:n}=t;return(0,e.createElement)("div",{className:"uo-ult-toolkit-content"},n)},{__:p}=wp.i18n,{registerBlockType:d}=wp.blocks;s("CourseAccessExpiry")&&d("uncanny-toolkit-pro/course-expiry",{title:p("Days Until Course Expiry","uncanny-pro-toolkit"),description:p("Displays the number of days until the learner's access expires.","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[p("Uncanny Owl","uncanny-pro-toolkit")],supports:{html:!1},attributes:{preText:{type:"string",default:p("Course Access Expires in","uncanny-pro-toolkit")},courseId:{type:"string",default:null}},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,p("Days Until Course Expiry","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}});const{__:y}=wp.i18n,{addFilter:g}=wp.hooks,{PanelBody:m,TextControl:b,ToggleControl:h,SelectControl:k}=wp.components,{Fragment:E}=wp.element,{createHigherOrderComponent:C}=wp.compose,{InspectorControls:w}=wp.editor;g("editor.BlockEdit","uncanny-toolkit-pro/course-grid",C((t=>n=>"uncanny-toolkit-pro/course-grid"==n.name&&n.isSelected?(0,e.createElement)(E,null,(0,e.createElement)(t,n),(0,e.createElement)(w,null,(0,e.createElement)(m,{title:y("Grid Content")},(0,e.createElement)(b,{label:y("Category"),value:n.attributes.category,type:"text",onChange:e=>{n.setAttributes({category:e})}}),(0,e.createElement)(b,{label:y("LearnDash Category"),value:n.attributes.ldCategory,type:"text",onChange:e=>{n.setAttributes({ldCategory:e})}}),(0,e.createElement)(b,{label:y("Tag"),value:n.attributes.tag,type:"text",onChange:e=>{n.setAttributes({tag:e})}}),(0,e.createElement)(b,{label:y("Course Tag"),value:n.attributes.course_tag,type:"text",onChange:e=>{n.setAttributes({course_tag:e})}}),(0,e.createElement)(b,{label:y("Enrolled Only"),value:n.attributes.enrolledOnly,type:"text",onChange:e=>{n.setAttributes({enrolledOnly:e})}}),(0,e.createElement)(b,{label:y("Not Enrolled Only"),value:n.attributes.notEnrolled,type:"text",onChange:e=>{n.setAttributes({notEnrolled:e})}}),(0,e.createElement)(b,{label:y("Limit"),value:n.attributes.limit,type:"text",onChange:e=>{n.setAttributes({limit:e})}})),(0,e.createElement)(m,{title:y("Grid Style")},(0,e.createElement)(b,{label:y("Columns"),value:n.attributes.cols,type:"text",onChange:e=>{n.setAttributes({cols:e})}}),(0,e.createElement)(b,{label:y("Hide View More"),value:n.attributes.hideViewMore,type:"text",onChange:e=>{n.setAttributes({hideViewMore:e})}}),(0,e.createElement)(b,{label:y("Hide Credits"),value:n.attributes.hideCredits,type:"text",onChange:e=>{n.setAttributes({hideCredits:e})}}),(0,e.createElement)(h,{label:"Hide title",help:n.attributes.hideTitle?"Title hidden.":"Title visible.",checked:n.attributes.hideTitle,onChange:e=>{n.setAttributes({hideTitle:e})}}),(0,e.createElement)(b,{label:y("Hide Description"),value:n.attributes.hideDescription,type:"text",onChange:e=>{n.setAttributes({hideDescription:e})}}),(0,e.createElement)(b,{label:y("Hide Progress"),value:n.attributes.hideProgress,type:"text",onChange:e=>{n.setAttributes({hideProgress:e})}}),(0,e.createElement)(b,{label:y("More"),value:n.attributes.more,type:"text",onChange:e=>{n.setAttributes({more:e})}}),(0,e.createElement)(b,{label:y("Show Images"),value:n.attributes.showImage,type:"text",onChange:e=>{n.setAttributes({showImage:e})}}),(0,e.createElement)(b,{label:y("Price"),value:n.attributes.price,type:"text",onChange:e=>{n.setAttributes({price:e})}}),(0,e.createElement)(b,{label:y("Currency"),value:n.attributes.currency,type:"text",onChange:e=>{n.setAttributes({currency:e})}}),(0,e.createElement)(b,{label:y("Link To Course"),value:n.attributes.linkToCourse,type:"text",onChange:e=>{n.setAttributes({linkToCourse:e})}}),(0,e.createElement)(b,{label:y("Order By"),value:n.attributes.orderby,type:"text",onChange:e=>{n.setAttributes({orderby:e})}}),(0,e.createElement)(b,{label:y("Order"),value:n.attributes.order,type:"text",onChange:e=>{n.setAttributes({order:e})}}),(0,e.createElement)(b,{label:y("Default Sorting"),value:n.attributes.defaultSorting,type:"text",onChange:e=>{n.setAttributes({defaultSorting:e})}}),(0,e.createElement)(b,{label:y("Ignore Default Sorting"),value:n.attributes.ignoreDefaultSorting,type:"text",onChange:e=>{n.setAttributes({ignoreDefaultSorting:e})}}),(0,e.createElement)(b,{label:y("Border Hover"),value:n.attributes.borderHover,type:"text",onChange:e=>{n.setAttributes({borderHover:e})}}),(0,e.createElement)(b,{label:y("View More Color"),value:n.attributes.viewMoreColor,type:"text",onChange:e=>{n.setAttributes({viewMoreColor:e})}}),(0,e.createElement)(b,{label:y("View More Hover"),value:n.attributes.viewMoreHover,type:"text",onChange:e=>{n.setAttributes({viewMoreHover:e})}}),(0,e.createElement)(b,{label:y("View More Text Color"),value:n.attributes.viewMoreTextColor,type:"text",onChange:e=>{n.setAttributes({viewMoreTextColor:e})}}),(0,e.createElement)(b,{label:y("View More Text"),value:n.attributes.viewMoreText,type:"text",onChange:e=>{n.setAttributes({viewMoreText:e})}}),(0,e.createElement)(b,{label:y("View Less Text"),value:n.attributes.viewLessText,type:"text",onChange:e=>{n.setAttributes({viewLessText:e})}}),(0,e.createElement)(b,{label:y("Category Selector"),value:n.attributes.categoryselector,type:"text",onChange:e=>{n.setAttributes({categoryselector:e})}}),(0,e.createElement)(b,{label:y("Course Category Selector"),value:n.attributes.courseCategoryselector,type:"text",onChange:e=>{n.setAttributes({courseCategoryselector:e})}}),(0,e.createElement)(b,{label:y("Start Course Button"),value:n.attributes.startCourseButton,type:"text",onChange:e=>{n.setAttributes({startCourseButton:e})}}),(0,e.createElement)(b,{label:y("Resume Course Button"),value:n.attributes.resumeCourseButton,type:"text",onChange:e=>{n.setAttributes({resumeCourseButton:e})}})))):(0,e.createElement)(t,n)),"addToolkitCourseGridSettings"));const{__:v}=wp.i18n,{registerBlockType:f}=wp.blocks;s("ShowAllCourses")&&f("uncanny-toolkit-pro/course-grid",{title:v("Enhanced Course Grid","uncanny-pro-toolkit"),description:v("Displays a highly customizable grid of LearnDash courses.","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[v("Uncanny Owl","uncanny-pro-toolkit")],supports:{html:!1},attributes:{category:{type:"string",default:"all"},ldCategory:{type:"string",default:"all"},tag:{type:"string",default:"all"},course_tag:{type:"string",default:"all"},enrolledOnly:{type:"string",default:"no"},notEnrolled:{type:"string",default:"no"},limit:{type:"string",default:"4"},cols:{type:"string",default:"4"},hideViewMore:{type:"string",default:"no"},hideCredits:{type:"string",default:"no"},hideTitle:{type:"boolean",default:!1},hideDescription:{type:"string",default:"no"},hideProgress:{type:"string",default:"no"},more:{type:"string",default:""},showImage:{type:"string",default:"yes"},price:{type:"string",default:"yes"},currency:{type:"string",default:"$"},linkToCourse:{type:"string",default:"yes"},orderby:{type:"string",default:"title"},order:{type:"string",default:"ASC"},defaultSorting:{type:"string",default:"course-progress,enrolled,not-enrolled,coming-soon,completed"},ignoreDefaultSorting:{type:"string",default:"no"},borderHover:{type:"string",default:""},viewMoreColor:{type:"string",default:""},viewMoreHover:{type:"string",default:""},viewMoreTextColor:{type:"string",default:""},viewMoreText:{type:"string",default:'View More <i class="fa fa fa-arrow-circle-right"></i>'},viewLessText:{type:"string",default:'View Less <i class="fa fa fa-arrow-circle-right"></i>'},categoryselector:{type:"string",default:"hide"},courseCategoryselector:{type:"string",default:"hide"},resumeCourseButton:{type:"string",default:"hide"},startCourseButton:{type:"string",default:"hide"}},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,v("Enhanced Course Grid","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}});const{__:A}=wp.i18n,{registerBlockType:T}=wp.blocks;s("DownloadCertificatesInBulk")&&T("uncanny-toolkit-pro/download-certificates-bulk",{title:A("Download certificates in bulk","uncanny-pro-toolkit"),description:A("A new module to download course/quiz completion certificates in bulk as a zip for to frontend.","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[A("Uncanny Owl","uncanny-pro-toolkit")],supports:{html:!1},attributes:{},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,A("Download certificates in bulk","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}});const{__:x}=wp.i18n,{addFilter:D}=wp.hooks,{PanelBody:I,TextControl:_}=wp.components,{Fragment:S}=wp.element,{createHigherOrderComponent:B}=wp.compose,{InspectorControls:N}=wp.editor;D("editor.BlockEdit","uncanny-toolkit-pro/group-logo",B((t=>n=>"uncanny-toolkit-pro/group-logo"==n.name&&n.isSelected?(0,e.createElement)(S,null,(0,e.createElement)(t,n),(0,e.createElement)(N,null,(0,e.createElement)(I,{title:x("Group Logo Settings")},(0,e.createElement)(_,{label:x("Size"),value:n.attributes.size,type:"string",onChange:e=>{n.setAttributes({size:e})}})))):(0,e.createElement)(t,n)),"addToolkitGroupLogoSettings")),D("editor.BlockEdit","uncanny-toolkit-pro/group-list",B((t=>n=>"uncanny-toolkit-pro/group-list"==n.name&&n.isSelected?(0,e.createElement)(S,null,(0,e.createElement)(t,n),(0,e.createElement)(N,null,(0,e.createElement)(I,{title:x("Group List Settings")},(0,e.createElement)(_,{label:x("Separator"),value:n.attributes.separator,type:"string",onChange:e=>{n.setAttributes({separator:e})}})))):(0,e.createElement)(t,n)),"addToolkitGroupListSettings"));const{__:O}=wp.i18n,{registerBlockType:L}=wp.blocks;s("GroupLogoList")&&(L("uncanny-toolkit-pro/group-logo",{title:O("Group Logo","uncanny-pro-toolkit"),description:O("Displays the branding image associated with the current user's group. If the user is in more than one group with a branding logo, all logos will be displayed.","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[O("Uncanny Owl")],supports:{html:!1},attributes:{size:{type:"string",default:"full"}},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,O("Group Logo","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}}),L("uncanny-toolkit-pro/group-list",{title:O("Group List","uncanny-pro-toolkit"),description:O("Displays a list of the groups the current user is a member of.","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[O("Uncanny Owl")],supports:{html:!1},attributes:{separator:{type:"string",default:", "}},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,O("Group List","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}}));const{__:M}=wp.i18n,{addFilter:G}=wp.hooks,{PanelBody:F,TextControl:H}=wp.components,{Fragment:U}=wp.element,{createHigherOrderComponent:z}=wp.compose,{InspectorControls:P}=wp.editor;G("editor.BlockEdit","uncanny-toolkit-pro/group-org-details",z((t=>n=>"uncanny-toolkit-pro/group-org-details"==n.name&&n.isSelected?(0,e.createElement)(U,null,(0,e.createElement)(t,n),(0,e.createElement)(P,null,(0,e.createElement)(F,{title:M("Group Organization Settings")},(0,e.createElement)(H,{label:M("Group ID"),value:n.attributes.groupId,type:"string",onChange:e=>{n.setAttributes({groupId:e})}})))):(0,e.createElement)(t,n)),"addToolkitGroupOrgDetailsSettings"));const{__:V}=wp.i18n,{registerBlockType:R}=wp.blocks;s("LearnDashGroupSignUp")&&(R("uncanny-toolkit-pro/group-status",{title:V("Group Status","uncanny-pro-toolkit"),description:V("Displays the Organization Details of all groups the current user is a member of.","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[V("Uncanny Owl")],supports:{html:!1},attributes:{},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,V("Group Status","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}}),R("uncanny-toolkit-pro/group-org-details",{title:V("Group Organization","uncanny-pro-toolkit"),description:V("Displays the Organization Details of the group associated with the group registration page the shortcode is placed on. *Works only on group registration pages.*","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[V("Uncanny Owl")],supports:{html:!1},attributes:{groupId:{type:"string",default:", "}},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,V("Group Organization","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}}),R("uncanny-toolkit-pro/group-login",{title:V("Group Login Form","uncanny-pro-toolkit"),description:V("When used on a group page, displays a login form. Any user that uses the form to log in is automatically added to the group.  *For use on group pages only.*","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[V("Uncanny Owl")],supports:{html:!1},attributes:{},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,V("Group Login Form","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}}));const{__:Z}=wp.i18n,{addFilter:W}=wp.hooks,{PanelBody:Y,TextControl:j}=wp.components,{Fragment:q}=wp.element,{createHigherOrderComponent:$}=wp.compose,{InspectorControls:J}=wp.editor;W("editor.BlockEdit","uncanny-toolkit-pro/learn-dash-transcript",$((t=>n=>"uncanny-toolkit-pro/learn-dash-transcript"==n.name&&n.isSelected?(0,e.createElement)(q,null,(0,e.createElement)(t,n),(0,e.createElement)(J,null,(0,e.createElement)(Y,{title:Z("Learner Transcript Settings")},(0,e.createElement)(j,{label:Z("Logo Url"),value:n.attributes.logoUrl,type:"string",onChange:e=>{n.setAttributes({logoUrl:e})}}),(0,e.createElement)(j,{label:Z("Date Format"),value:n.attributes.dateFormat,type:"string",onChange:e=>{n.setAttributes({dateFormat:e})}})))):(0,e.createElement)(t,n)),"addToolkitLearnDashTranscriptSettings"));const{__:K}=wp.i18n,{registerBlockType:Q}=wp.blocks;s("LearnDashTranscript")&&Q("uncanny-toolkit-pro/learn-dash-transcript",{title:K("Learner Transcript","uncanny-pro-toolkit"),description:K("Add printable transcripts to the front end for your learners. This is a great way for learners to have a record of all course progress and overall standing.","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[K("Uncanny Owl","uncanny-pro-toolkit")],supports:{html:!1},attributes:{logoUrl:{type:"string",default:""},dateFormat:{type:"string",default:"F j, Y"}},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,K("Learner Transcript","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}});const{__:X}=wp.i18n,{addFilter:ee}=wp.hooks,{PanelBody:te,TextControl:ne,SelectControl:oe}=wp.components,{Fragment:re}=wp.element,{createHigherOrderComponent:ae}=wp.compose,{InspectorControls:le}=wp.editor;ee("editor.BlockEdit","uncanny-toolkit-pro/lesson-topic-grid",ae((t=>n=>"uncanny-toolkit-pro/lesson-topic-grid"==n.name&&n.isSelected?(0,e.createElement)(re,null,(0,e.createElement)(t,n),(0,e.createElement)(le,null,(0,e.createElement)(te,{title:X("Grid Content","uncanny-pro-toolkit")},(0,e.createElement)(ne,{label:X("courseId","uncanny-pro-toolkit"),value:n.attributes.courseId,type:"text",onChange:e=>{n.setAttributes({courseId:e})}}),(0,e.createElement)(ne,{label:X("lessonId","uncanny-pro-toolkit"),value:n.attributes.lessonId,type:"text",onChange:e=>{n.setAttributes({lessonId:e})}}),(0,e.createElement)(ne,{label:X("category","uncanny-pro-toolkit"),value:n.attributes.category,type:"text",onChange:e=>{n.setAttributes({category:e})}}),(0,e.createElement)(ne,{label:X("tag","uncanny-pro-toolkit"),value:n.attributes.tag,type:"text",onChange:e=>{n.setAttributes({tag:e})}})),(0,e.createElement)(te,{title:X("Grid Style","uncanny-pro-toolkit")},(0,e.createElement)(ne,{label:X("cols","uncanny-pro-toolkit"),value:n.attributes.cols,type:"text",onChange:e=>{n.setAttributes({cols:e})}}),(0,e.createElement)(ne,{label:X("showImage","uncanny-pro-toolkit"),value:n.attributes.showImage,type:"text",onChange:e=>{n.setAttributes({showImage:e})}}),(0,e.createElement)(ne,{label:X("borderHover","uncanny-pro-toolkit"),value:n.attributes.borderHover,type:"text",onChange:e=>{n.setAttributes({borderHover:e})}})))):(0,e.createElement)(t,n)),"addToolkitLessonTopicGridSettings"));const{__:se}=wp.i18n,{registerBlockType:ie}=wp.blocks;s("LessonTopicGrid")&&ie("uncanny-toolkit-pro/lesson-topic-grid",{title:se("Enhanced Lesson Topic Grid","uncanny-pro-toolkit"),description:se("Displays a highly customizable grid of LearnDash lessons/topics.","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[se("Uncanny Owl","uncanny-pro-toolkit")],supports:{html:!1},attributes:{courseId:{type:"string",default:""},lessonId:{type:"string",default:""},category:{type:"string",default:"all"},tag:{type:"string",default:"all"},cols:{type:"string",default:"4"},showImage:{type:"string",default:"yes"},borderHover:{type:"string",default:""}},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,se("Enhanced Lesson Topic Grid","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}});const{__:ue}=wp.i18n,{addFilter:ce}=wp.hooks,{PanelBody:pe,TextControl:de,SelectControl:ye,RadioControl:ge,ToggleControl:me}=wp.components,{Fragment:be}=wp.element,{createHigherOrderComponent:he}=wp.compose,{InspectorControls:ke}=wp.editor;ce("editor.BlockEdit","uncanny-toolkit-pro/learn-dash-my-courses",he((t=>n=>"uncanny-toolkit-pro/learn-dash-my-courses"==n.name&&n.isSelected?(0,e.createElement)(be,null,(0,e.createElement)(t,n),(0,e.createElement)(ke,null,(0,e.createElement)(pe,{title:ue("Filter Content","uncanny-pro-toolkit")},(0,e.createElement)(de,{label:ue("WordPress Category ID","uncanny-pro-toolkit"),value:n.attributes.category,type:"number",help:ue("Leave empty to show all courses","uncanny-pro-toolkit"),onChange:e=>{n.setAttributes({category:e})}}),(0,e.createElement)(de,{label:ue("LearnDash Category ID","uncanny-pro-toolkit"),value:n.attributes.ldCategory,type:"number",help:ue("Leave empty to show all courses","uncanny-pro-toolkit"),onChange:e=>{n.setAttributes({ldCategory:e})}}),(0,e.createElement)(ye,{label:ue("Course Status","uncanny-pro-toolkit"),value:n.attributes.show,options:[{value:"all",label:ue("All courses","uncanny-pro-toolkit")},{value:"enrolled",label:ue("Enrolled courses only","uncanny-pro-toolkit")},{value:"open",label:ue("Open courses only","uncanny-pro-toolkit")}],onChange:e=>{n.setAttributes({show:e})}})),(0,e.createElement)(pe,{title:ue("Order","uncanny-pro-toolkit")},(0,e.createElement)(ye,{label:ue("Order By","uncanny-pro-toolkit"),value:n.attributes.orderby,options:[{value:"ID",label:ue("ID","uncanny-pro-toolkit")},{value:"title",label:ue("Title","uncanny-pro-toolkit")},{value:"date",label:ue("Date","uncanny-pro-toolkit")},{value:"menu_order",label:ue("Menu order","uncanny-pro-toolkit")}],onChange:e=>{n.setAttributes({orderby:e})}}),(0,e.createElement)(ge,{label:ue("Order Direction","uncanny-pro-toolkit"),selected:n.attributes.order,options:[{value:"asc",label:ue("Ascending","uncanny-pro-toolkit")},{value:"desc",label:ue("Descending","uncanny-pro-toolkit")}],onChange:e=>{n.setAttributes({order:e})}})),(0,e.createElement)(pe,{title:ue("Element Visibility","uncanny-pro-toolkit")},(0,e.createElement)(me,{label:ue("Show WordPress Category Selector","uncanny-pro-toolkit"),checked:n.attributes.categoryselector,onChange:e=>{n.setAttributes({categoryselector:!n.attributes.categoryselector})}}),(0,e.createElement)(me,{label:ue("Show LearnDash Category Selector","uncanny-pro-toolkit"),checked:n.attributes.course_categoryselector,onChange:e=>{n.setAttributes({course_categoryselector:!n.attributes.course_categoryselector})}})),(0,e.createElement)(pe,{title:ue("Dashboard Behavior","uncanny-pro-toolkit")},(0,e.createElement)(ge,{label:ue("Expand by Default","uncanny-pro-toolkit"),selected:n.attributes.expand_by_default,options:[{value:"yes",label:ue("Yes","uncanny-pro-toolkit")},{value:"no",label:ue("No","uncanny-pro-toolkit")}],onChange:e=>{n.setAttributes({expand_by_default:e})}}),(0,e.createElement)(de,{label:ue("No courses message","uncanny-pro-toolkit"),value:n.attributes.no_courses_message,type:"text",help:ue("","uncanny-pro-toolkit"),onChange:e=>{n.setAttributes({no_courses_message:e})}})))):(0,e.createElement)(t,n)),"addToolkitCourseDashboardSettings"));const{__:Ee}=wp.i18n,{registerBlockType:Ce}=wp.blocks;s("learnDashMyCourses")&&Ce("uncanny-toolkit-pro/learn-dash-my-courses",{title:Ee("Course Dashboard","uncanny-pro-toolkit"),description:Ee("Displays a highly customizable grid of LearnDash courses.","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[Ee("Uncanny Owl","uncanny-pro-toolkit")],supports:{html:!1},attributes:{orderby:{type:"string",default:"ID"},order:{type:"string",default:"asc"},show:{type:"string",default:"enrolled"},ldCategory:{type:"string",default:"all"},category:{type:"string",default:"all"},categoryselector:{type:"boolean",default:!1},course_categoryselector:{type:"boolean",default:!1},expand_by_default:{type:"string",default:"no"},no_courses_message:{type:"string",default:""}},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,Ee("Course Dashboard","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}});const{__:we}=wp.i18n,{addFilter:ve}=wp.hooks,{PanelBody:fe,TextControl:Ae,SelectControl:Te}=wp.components,{Fragment:xe}=wp.element,{createHigherOrderComponent:De}=wp.compose,{InspectorControls:Ie}=wp.editor;ve("editor.BlockEdit","uncanny-toolkit-pro/reset-button",De((t=>n=>"uncanny-toolkit-pro/reset-button"==n.name&&n.isSelected?(0,e.createElement)(xe,null,(0,e.createElement)(t,n),(0,e.createElement)(Ie,null,(0,e.createElement)(fe,{title:we("Reset Button settings","uncanny-pro-toolkit")},(0,e.createElement)(Ae,{label:we("Course ID","uncanny-pro-toolkit"),value:n.attributes.courseId,help:we("When placed on a course page, you do not need to pass in the course ID attribute.","uncanny-pro-toolkit"),type:"string",onChange:e=>{n.setAttributes({courseId:e})}}),(0,e.createElement)(Te,{label:we("Reset TinCanny data","uncanny-pro-toolkit"),value:n.attributes.resetTincanny,help:we('If the reset_tincanny parameter is set to "Yes", clicking the reset button will also delete all Tin Canny results records for that user in the target course. Note: Due to technical constraints, Tin Canny bookmark (resume) data will not be deleted.',"uncanny-pro-toolkit"),options:[{value:"no",label:we("No")},{value:"yes",label:we("Yes")}],onChange:e=>{n.setAttributes({resetTincanny:e})}}),(0,e.createElement)(Ae,{label:we("Redirect","uncanny-pro-toolkit"),value:n.attributes.redirect,help:we("Redirect to the specified URL when clicked.","uncanny-pro-toolkit"),type:"string",onChange:e=>{n.setAttributes({redirect:e})}})))):(0,e.createElement)(t,n)),"addToolkitResetButtonSettings"));const{__:_e}=wp.i18n,{registerBlockType:Se}=wp.blocks;s("LearnDashReset")&&Se("uncanny-toolkit-pro/reset-button",{title:_e("Reset Button","uncanny-pro-toolkit"),description:_e("Displays a button that enables a user to reset their progress in a course.","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[_e("Uncanny Owl","uncanny-pro-toolkit")],supports:{html:!1},attributes:{courseId:{type:"string",default:""},resetTincanny:{type:"string",default:"no"},redirect:{type:"string",default:""}},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,_e("Reset Button","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}});const{__:Be}=wp.i18n,{addFilter:Ne}=wp.hooks,{PanelBody:Oe,TextControl:Le}=wp.components,{Fragment:Me}=wp.element,{createHigherOrderComponent:Ge}=wp.compose,{InspectorControls:Fe}=wp.editor;Ne("editor.BlockEdit","uncanny-toolkit-pro/uo-time-completed",Ge((t=>n=>"uncanny-toolkit-pro/uo-time-completed"==n.name&&n.isSelected?(0,e.createElement)(Me,null,(0,e.createElement)(t,n),(0,e.createElement)(Fe,null,(0,e.createElement)(Oe,{title:Be("Course Time Settings","uncanny-pro-toolkit")},(0,e.createElement)(Le,{label:Be("User ID","uncanny-pro-toolkit"),value:n.attributes.userId,type:"string",onChange:e=>{n.setAttributes({userId:e})}}),(0,e.createElement)(Le,{label:Be("Course ID","uncanny-pro-toolkit"),value:n.attributes.courseId,type:"string",onChange:e=>{n.setAttributes({courseId:e})}})))):(0,e.createElement)(t,n)),"addToolkitUoTimeCompletedSettings"));const{__:He}=wp.i18n,{registerBlockType:Ue}=wp.blocks;s("CourseTimer")&&Ue("uncanny-toolkit-pro/uo-time-completed",{title:He("Course Time at Completion","uncanny-pro-toolkit"),description:He("Displays total time spent inside a LearnDash course, not including time spent after completing the course. Optionally, enter a specific user ID and/or course ID.","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[He("Uncanny Owl","uncanny-pro-toolkit")],supports:{html:!1},attributes:{userId:{type:"string",default:""},courseId:{type:"string",default:""}},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,He("Course Time at Completion","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}});const{__:ze}=wp.i18n,{addFilter:Pe}=wp.hooks,{PanelBody:Ve,TextControl:Re}=wp.components,{Fragment:Ze}=wp.element,{createHigherOrderComponent:We}=wp.compose,{InspectorControls:Ye}=wp.editor;Pe("editor.BlockEdit","uncanny-toolkit-pro/uo-time",We((t=>n=>"uncanny-toolkit-pro/uo-time"==n.name&&n.isSelected?(0,e.createElement)(Ze,null,(0,e.createElement)(t,n),(0,e.createElement)(Ye,null,(0,e.createElement)(Ve,{title:ze("Course Time Settings","uncanny-pro-toolkit")},(0,e.createElement)(Re,{label:ze("User ID","uncanny-pro-toolkit"),value:n.attributes.userId,type:"string",onChange:e=>{n.setAttributes({userId:e})}}),(0,e.createElement)(Re,{label:ze("Course ID","uncanny-pro-toolkit"),value:n.attributes.courseId,type:"string",onChange:e=>{n.setAttributes({courseId:e})}})))):(0,e.createElement)(t,n)),"addToolkitUoTimeSettings"));const{__:je}=wp.i18n,{registerBlockType:qe}=wp.blocks;s("CourseTimer")&&qe("uncanny-toolkit-pro/uo-time",{title:je("Course Cumulative Time","uncanny-pro-toolkit"),description:je("Displays total time spent inside a LearnDash course, including time spent after completing the course. Optionally, enter a specific user ID and/or course ID.","uncanny-pro-toolkit"),icon:u,category:"uncanny-learndash-toolkit",keywords:[je("Uncanny Owl","uncanny-pro-toolkit")],supports:{html:!1},attributes:{userId:{type:"string",default:""},courseId:{type:"string",default:""}},edit(t){let{className:n,attributes:o,setAttributes:r}=t;return(0,e.createElement)("div",{className:n},(0,e.createElement)(c,null,je("Course Cumulative Time","uncanny-pro-toolkit")))},save(e){let{className:t,attributes:n}=e;return null}})})();

Filemanager

Name Type Size Permission Actions
index.asset.php File 96 B 0644
index.css File 244 B 0644
index.js File 31.39 KB 0644