Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace MoSharePointObjectSync\Observer; use Error; use MoSharePointObjec..
Decoded Output download
<?php
namespace MoSharePointObjectSync\Observer;
use Error;
use MoSharePointObjectSync\Wrappers\pluginConstants;
use MoSharePointObjectSync\Wrappers\wpWrapper;
use MoSharePointObjectSync\Wrappers\dbWrapper;
use MoSharePointObjectSync\API\Azure;
use MoSharePointObjectSync\Wrappers\sharepointWrapper;
use MoSharePointObjectSync\LicenseLibrary\Mo_License_Service;
use WP_Error;
use WP_REST_Request;
class mediaObserver
{
private static $obj;
private static $isliveri;
public $user_full_access = true;
public $folderRootId = 0;
private $shortcode_added = array();
public static function getObserver()
{
if (isset(self::$obj)) {
goto dg;
}
self::$obj = new mediaObserver();
self::$isliveri = Mo_License_Service::is_customer_license_valid();
dg:
return self::$obj;
}
public function mo_sps_media_observer()
{
}
public function mo_sps_download_file()
{
$lM = $_GET["file_id"];
$LI = $_GET["drive_id"];
$wG = sharepointWrapper::mo_sps_check_for_the_permissions($lM, "download");
if ($wG) {
goto tb;
}
wp_send_json_error("You are not authorized to download this resource", 401);
tb:
$oc = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$AP = Azure::getClient($oc);
$oc = $AP->mo_sps_get_file_download_url($lM, $LI);
$IV = file_get_contents($oc["download_url"]);
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename="" . $oc["name"] . """);
header("Content-Length: " . $oc["size"]);
readfile($oc["download_url"]);
exit;
}
public function mo_sps_shortcode_upload_in_sharepoint_library($lE = '', $UQ = '')
{
$current_user = wp_get_current_user();
$io = (array) $current_user->roles;
$v6 = $current_user->roles;
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto ce;
}
return $Js;
ce:
$lE = shortcode_atts(array("home" => "root", "site_id" => '', "drive_id" => '', "folder_id" => '', "permissions" => '', "anonymous_access" => ''), $lE, "MO_SHAREPOINT_UPLOAD");
if (!($lE["anonymous_access"] == '' && !is_user_logged_in())) {
goto fd;
}
return "<span style='display:block;margin-auto;height:100%;border:none;padding:0.6rem 1.2rem;'><span style='align-items:center'>Please <a href='" . home_url() . "/wp-login.php" . "'>login</a> to view the content.</span></span>";
fd:
$UQ = $this->upload_files_content_for_shortcode();
$mX = plugins_url("../includes/css/upload.css", __FILE__);
$Em = plugins_url("../includes/js/upload.js", __FILE__);
wp_enqueue_style("mo_doc_lib_upload_spf_css", $mX, array());
wp_enqueue_script("mo_doc_lib_upload_spf_js", $Em, array("jquery"));
wp_localize_script("mo_doc_lib_upload_spf_js", "uploadConfig", array("ajax_url" => admin_url("admin-ajax.php"), "nonce" => wp_create_nonce("mo_doc_lib_upload__nonce"), "home" => $lE["home"], "site_id" => $lE["site_id"], "drive_id" => $lE["drive_id"], "folder_id" => $lE["folder_id"], "permissions" => $lE["permissions"], "roles" => $v6, "current_role" => $io));
$J1 = "<div id="sps_embed_container" style="display:block;margin-auto;height:" . "100%" . ";border:none;padding:0.6rem 1.2rem;background-color:#f24674;">\xd\xa <p style="text-align:center;margin:0;"><a style="color: #fff;\xd\xa text-decoration: none;font-weight: 500;" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_sharepoint_onedrive_integration_enterprise_plan" target="_blank">Please purchase the license to continue use this plugin</a></p></div>";
return self::$isliveri ? $UQ : $J1;
}
private function upload_files_content_for_shortcode()
{
$UQ = "<div class="mo_doc_lib_nav" style="max-width: 1000px; display:flex;" id="mo_sps_upload_file">
\xa <div style="padding:11px;">\xd\xa <input type="file" id="input_file"/>
\xa <input type="button" id="upload_file_button" class="mo-ms-tab-content-button" value="Upload"/>\xd
</div>\xd
<div id="mo_sps_progress_div" style="display:none;">
\xa <div id="mo_sps_progress_bar_div" style="width:100%;border:1px solid #ccc;position:relative;">\xd\xa <div id="mo_sps_upload_progress_bar"></div>
\xa <div id="mo_sps_upload_progress_percent"></div>\xd
</div>\xd
</div>
\xa <div id="mo_sps_upload_status_msg" style="display:none;padding:1rem;font-size:0.8rem;">
\xa <div style="color:green;">Done</div>
</div>\xd\xa </div>";
return $UQ;
}
public function mo_doc_lib_upload_api_handler()
{
if (check_ajax_referer("mo_doc_lib_upload__nonce", "nonce", false)) {
goto Ez;
}
wp_send_json_error(array("err" => "Permission denied."));
exit;
Ez:
$gz = sanitize_text_field($_POST["task"]);
switch ($gz) {
case "mo_sps_get_upload_session":
$this->mo_sps_get_upload_session($_POST["payload"]);
goto Ow;
}
XR:
Ow:
}
public function mo_sps_embed_shortcode_sharepoint_library($lE = '', $UQ = '')
{
$lE = shortcode_atts(array("id" => '', "home" => "root"), $lE, "MO_SHAREPOINT_LIBRARY");
if (!empty($this->shortcode_added[$lE["id"]]) && $this->shortcode_added[$lE["id"]]) {
goto zg;
}
$this->shortcode_added[$lE["id"]] = true;
goto TT;
zg:
return;
TT:
$Js = wpWrapper::checkLicenseValidity();
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
if (empty($Js)) {
goto UT;
}
return $Js;
UT:
$current_user = wp_get_current_user();
$io = (array) $current_user->roles;
$v6 = $current_user->roles;
$current_user = wp_get_current_user();
$HE = $current_user->user_email;
$hJ = get_users();
$pV = array();
foreach ($hJ as $user) {
array_push($pV, $user->user_email);
IP:
}
w8:
$BL = wpWrapper::mo_sps_get_user_roles_and_emails();
$yL = dbWrapper::mo_sps_get_shortcode_table_row($lE["id"]);
$ff = isset($yL["sc_attrs"]) ? $yL["sc_attrs"] : '';
$Se = array("permissions", "site_id", "drive_id", "folder_id", "home", "view_mode", "anonymous_access", "sc_path", "upload_permissions", "column_to_add", "elements_to_show", "preview_option", "list_option", "preview_width", "folder_download_option");
$cT = json_decode($ff, true);
foreach ($Se as $dC) {
$lE[$dC] = isset($cT[$dC]) ? $cT[$dC] : '';
ax:
}
K2:
if ($yL) {
goto u3;
}
return;
u3:
if (isset($lE["view_mode"]) && $lE["view_mode"] == "Grid_View") {
goto x7;
}
$UQ = $this->table_content_for_shortcode($lE["id"], $lE["preview_width"]);
goto DF;
x7:
$UQ = $this->grid_content_for_shortcode($lE["id"], $lE["preview_width"]);
DF:
$mX = plugins_url("../includes/css/upload.css", __FILE__);
$Em = plugins_url("../includes/js/upload.js", __FILE__);
wp_enqueue_style("mo_doc_lib_upload_spf_css", $mX, array());
wp_enqueue_script("mo_doc_lib_upload_spf_js", $Em, array("jquery"));
wp_localize_script("mo_doc_lib_upload_spf_js", "uploadConfig", array("ajax_url" => admin_url("admin-ajax.php"), "nonce" => wp_create_nonce("mo_doc_lib_upload__nonce"), "home" => $lE["home"], "site_id" => $lE["site_id"], "drive_id" => $lE["drive_id"], "folder_id" => $lE["folder_id"], "is_shortcode" => true, "roles" => $v6, "current_role" => $io, "current_db_id" => $lE["id"]));
$jP = plugins_url("../includes/js/docLibEmbed.js", __FILE__);
$pJ = plugins_url("../includes/css/doclib.css", __FILE__);
$Ut = plugins_url("../includes/js/upload.js", __FILE__);
$sY = plugins_url("../includes/js/FileSaver.js", __FILE__);
$g7 = plugins_url("../includes/js/jszip_min.js", __FILE__);
$de = plugins_url("../includes/js/jszip_utils.js", __FILE__);
$QV = plugins_url("../includes/js/modal.js", __FILE__);
$US = plugins_url("../includes/css/modal.css", __FILE__);
wp_enqueue_style("dashicons");
wp_enqueue_script("mo_doc_preview_modal_js", $QV, array("jquery"));
wp_enqueue_script("mo_doc_lib_scembed_js_filesaver", $sY, array("jquery"));
wp_enqueue_script("mo_doc_lib_scembed_js_jszip_url", $g7, array("jquery"));
wp_enqueue_script("mo_doc_lib_scembed_js_jszip", $de, array("jquery"));
wp_enqueue_style("mo_doc_lib_scembed_css", $pJ, array());
wp_enqueue_script("mo_doc_lib_scembed_js" . $lE["id"], $jP, array("jquery"));
wp_enqueue_script("mo_doc_lib_scupload_js" . $lE["id"], $Ut, array("jquery"));
$ub = array("rest_url" => esc_url_raw(rest_url()), "ajax_url" => admin_url("admin-ajax.php"), "nonce" => wp_create_nonce("wp_rest"), "home" => $lE["home"], "site_id" => $lE["site_id"], "drive_id" => $lE["drive_id"], "folder_id" => $lE["folder_id"], "permissions" => wpWrapper::mo_sps_get_option(pluginConstants::FOLDER_FILES_PERMISSIONS), "upload_permissions" => $lE["upload_permissions"], "column_to_add" => $lE["column_to_add"], "elements_to_show" => $lE["elements_to_show"], "list_option" => $lE["list_option"], "folder_download_option" => $lE["folder_download_option"], "preview_option" => $lE["preview_option"], "preview_width" => $lE["preview_width"], "roles" => $v6, "view_mode" => $lE["view_mode"], "current_role" => $io, "is_shortcode" => true, "current_user" => $HE, "user_emails" => $pV, "sc_attrs" => $ff, "is_plugin" => false, "db_id" => $lE["id"], "user_roles_emails" => $BL, "connector" => empty($cU["connector"]) ? "sharepoint" : $cU["connector"], "add_user_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/add_user.svg"), "download_white" => esc_url(plugin_dir_url(__FILE__) . "../images/download-white.svg"), "redirect_white" => esc_url(plugin_dir_url(__FILE__) . "../images/redirect-white.svg"), "error_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/error.png"), "info_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/info_black.svg"), "download_black" => esc_url(plugin_dir_url(__FILE__) . "../images/download_black.svg"), "redirect_black" => esc_url(plugin_dir_url(__FILE__) . "../images/redirect.svg"), "sharepoint" => esc_url(plugin_dir_url(__FILE__) . "../images/microsoft-sharepoint.svg"), "onedrive" => esc_url(plugin_dir_url(__FILE__) . "../images/onedrive.png"), "right_white" => esc_url(plugin_dir_url(__FILE__) . "../images/right.svg"), "left_white" => esc_url(plugin_dir_url(__FILE__) . "../images/left.svg"), "list_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/list_dl.svg"), "download_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/download.svg"), "redirect_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/redirect.svg"), "mime_types" => pluginConstants::MIME_TYPES, "folder_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/folder.svg"), "load_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/image_loader.gif"), "load_icon_true" => esc_url(plugin_dir_url(__FILE__) . "../images/loader.gif"), "file_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/file.png"), "worddoc_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/msword_file.png"), "exceldoc_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/msexcel_file.png"), "pdfdoc_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/pdf_file.png"), "empty_folder_image" => esc_url(plugin_dir_url(__FILE__) . "../images/empty_folder_drop.svg"), "url_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/browser.png"), "isliverify" => self::$isliveri);
wp_localize_script("mo_doc_lib_scembed_js" . $lE["id"], "embedConfig", $ub);
$J1 = "<div id="sps_embed_container" style="display:block;margin-auto;height:100%;border:none;padding:0.6rem 1.2rem;background-color:#f24674;">\xd
<p style="text-align:center;margin:0;"><a style="color: #fff;\xd
text-decoration: none;font-weight: 500;" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_sharepoint_onedrive_integration_enterprise_plan" target="_blank">Please purchase the license to continue use this plugin</a></p></div>";
return self::$isliveri ? $UQ : $J1;
}
public function mo_sps_embed_shortcode_sharepoint_List($lE = '', $UQ = '')
{
$current_user = wp_get_current_user();
$io = (array) $current_user->roles;
$v6 = $current_user->roles;
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto XB;
}
return $Js;
XB:
$lE = shortcode_atts(array("home" => "root", "site_id" => '', "drive_id" => '', "list_embedding_columns" => '', "list_embedding_columns_width" => ''), $lE, "MO_SHAREPOINT_LIST");
$UQ = "
\xa <div style="border:1px solid #eee;max-width:1500px;" id="mo_doc_lib_table__loader"><img style="margin-top:30px;width:35px;height:35px;display:flex;align-items:center;display: block;margin-left: auto;margin-right:auto;" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/loader.gif") . ""></div>
\xa <table class="table" id="table"></table>
";
$jP = plugins_url("../includes/js/docLibEmbed.js", __FILE__);
$pJ = plugins_url("../includes/css/doclib.css", __FILE__);
wp_enqueue_style("mo_doc_lib_scembed_css", $pJ, array());
wp_enqueue_script("mo_doc_lib_scembed_js", $jP, array("jquery"));
wp_localize_script("mo_doc_lib_scembed_js", "embedConfig", array("rest_url" => esc_url_raw(rest_url()), "ajax_url" => admin_url("admin-ajax.php"), "nonce" => wp_create_nonce("wp_rest"), "home" => $lE["home"], "site_id" => $lE["site_id"], "drive_id" => $lE["drive_id"], "list_embedding_columns" => $lE["list_embedding_columns"], "list_embedding_columns_width" => $lE["list_embedding_columns_width"], "roles" => $v6, "current_role" => $io, "is_list_shortcode" => true, "mime_types" => pluginConstants::MIME_TYPES, "folder_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/folder.png"), "load_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/image_loader.gif"), "load_icon_true" => esc_url(plugin_dir_url(__FILE__) . "../images/loader.gif"), "file_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/file.png"), "worddoc_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/msword_file.png"), "exceldoc_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/msexcel_file.png"), "pdfdoc_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/pdf_file.png"), "download_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/Download_customer.svg"), "empty_folder_image" => esc_url(plugin_dir_url(__FILE__) . "../images/empty_folder_drop.svg"), "url_icon" => esc_url(plugin_dir_url(__FILE__) . "../images/browser.png")));
$J1 = "<div id="sps_embed_container" style="display:block;margin-auto;height:" . "100%" . ";border:none;padding:0.6rem 1.2rem;background-color:#f24674;">
\xa <p style="text-align:center;margin:0;"><a style="color: #fff;
text-decoration: none;font-weight: 500;" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_sharepoint_onedrive_integration_enterprise_plan" target="_blank">Please purchase the license to continue use this plugin</a></p></div>";
return self::$isliveri ? $UQ : $J1;
}
public function mo_sps_embed_shortcode_sharepoint_file_list($lE, $UQ = '')
{
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto Qo;
}
return $Js;
Qo:
$pJ = plugins_url("../includes/css/doclib.css", __FILE__);
wp_enqueue_style("mo_doc_lib_scembed_css", $pJ, array());
return do_shortcode($UQ);
}
public function mo_sps_embed_shortcode_sharepoint_video($lE = '', $UQ = '')
{
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto u0;
}
return $Js;
u0:
$lE = shortcode_atts(array("home" => "root", "site_id" => '', "drive_id" => '', "folder_id" => '', "view_mode" => '', "item_id" => '', "height" => '', "width" => ''), $lE, "MO_SHAREPOINT_SPECIFIC_FILE");
if (isset($lE["view_mode"])) {
goto vU;
}
$lE["view_mode"] = "Table_View";
vU:
if (isset($lE["width"])) {
goto VP;
}
$lE["width"] = "900px";
VP:
if (isset($lE["height"])) {
goto Pe;
}
$lE["height"] = "400px";
Pe:
$ON = admin_url("admin-ajax.php") . "?action=mo_sps_sync_file&drive_id=" . $lE["drive_id"] . "&file_id=" . $lE["item_id"];
$UQ = "<iframe id="videoFrame_" . $lE["item_id"] . "" src="" . $ON . "" allow=\xe2\x80\x9daccelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\xe2\x80\x9d allowfullscreen ausrc="" width="" . $lE["width"] . "" height="" . $lE["height"] . "" scrolling="auto" style="display:flex; max-width: none" title=""></iframe>";
$pJ = plugins_url("../includes/css/doclib.css", __FILE__);
wp_enqueue_style("mo_doc_lib_scembed_css", $pJ, array());
$J1 = "<div id="sps_embed_container" style="display:block;margin-auto;height:" . "100%" . ";border:none;padding:0.6rem 1.2rem;background-color:#f24674;">
\xa <p style="text-align:center;margin:0;"><a style="color: #fff;
text-decoration: none;font-weight: 500;" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_sharepoint_onedrive_integration_enterprise_plan" target="_blank">Please purchase the license to continue use this plugin</a></p></div>";
return self::$isliveri ? $UQ : $J1;
}
public function mo_sps_embed_shortcode_sharepoint_events()
{
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto sw;
}
return $Js;
sw:
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$Pv = Azure::getClient($cU);
$xb = $Pv->mo_sps_get_all_site_events();
$xb = sharepointWrapper::mo_sps_process_sharepoint_event_items($xb);
$UQ = "
\xa <div style="display:flex;justify-content:flex-start;align-items:center;max-width:100%;height:600px;padding:10px;overflow-y:scroll;">
\xa ";
foreach ($xb as $Gb) {
$QZ = '';
if (empty($Gb["BannerImageUrl"])) {
goto jR;
}
$QZ = $Pv->mo_sps_get_banerurl_for_an_artcile($Gb["BannerImageUrl"]);
jR:
$y2 = strtotime($Gb["EventDate"]);
$y2 = getdate($y2);
$Qw = strtotime($Gb["EndDate"]);
$Qw = getdate($Qw);
$UX = strtoupper(substr($y2["month"], 0, 3));
if (!($y2["month"] != $Qw["month"])) {
goto iL;
}
$UX = $UX . "-" . strtoupper(substr($Qw["month"], 0, 3));
iL:
$nK = $y2["mday"];
if (!($y2["mday"] != $Qw["mday"])) {
goto aa;
}
$nK = $nK . "-" . $Qw["mday"];
aa:
$UQ = $UQ . "
\xa <div style="display:flex;justify-content:flex-start;align-items:center;flex-direction:column;margin:10px;box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;">";
if (!empty($QZ)) {
goto OE;
}
$UQ = $UQ . "\xd
<div style="color:#fff;position:relative;">
<div style="display:flex;justify-content:center;align-items:center;width:295px;height:162px;background-image:linear-gradient(1turn,rgba(51,51,51,.9),rgba(51,51,51,0) 97.92%);""></div>\xd\xa <span style="position:absolute;left:20px;top:90px;font-size:20px;font-weight:600;">" . $UX . "</span>\xd\xa <span style="position:absolute;left:20px;top:105px;font-size:42px;font-weight:700;">" . $nK . "</span>
\xa </div>";
goto Rq;
OE:
$UQ = $UQ . "\xd
<div style="color:#fff;position:relative;">\xd\xa <img style="display:flex;justify-content:center;align-items:center;width:295px;height:162px;background-image:linear-gradient(1turn,rgba(0,0,0,.9),rgba(51,51,51,0) 97.92%);" src="data:image/png;base64," . base64_encode($QZ) . "" />\xd
<span style="position:absolute;left:20px;top:90px;font-size:20px;font-weight:600;">" . $UX . "</span>\xd\xa <span style="position:absolute;left:20px;top:105px;font-size:42px;font-weight:700;">" . $nK . "</span>\xd\xa </div>";
Rq:
$UQ = $UQ . "
<div style="height:100%;width:100%;color:rgb(96, 94, 92);margin-left:35px;">\xd\xa <div style="" . "font-size: 12px;margin-top:10px;font-weight: 600;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;" . "">" . (empty($Gb["Category"]) ? "-" : $Gb["Category"]) . "</div>\xd
</div>
<div style="height:100%;width:100%;margin-left:35px;">
<div style="" . "font-size: 14px;margin-top:1px;font-weight: 600;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;" . "">" . $Gb["Title"] . "</div>
</div>
\xa
\xa <div style="height:100%;width:100%;margin-left:35px;">
<div style="" . "font-size: 12px;margin-top:40px;font-weight: 600;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;" . "">" . (substr($y2["weekday"], 0, 3) . ", " . substr($y2["month"], 0, 3) . " " . $y2["mday"] . ", " . ($Gb["fAllDayEvent"] ? "All day" : gmdate("g:i A", gmmktime($y2["hours"] - 8, $y2["minutes"], $y2["seconds"])))) . "</div>
\xa </div>\xd
<div style="height:100%;width:100%;margin-left:35px;">\xd\xa <div style="" . "font-size: 12px;color:rgb(96, 94, 92);margin-top:1px;font-weight: 400;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;" . "">" . $Gb["Location"] . "</div>\xd
</div>\xd
<div style="margin-top:10px"></div>\xd
</div>";
uU:
}
GH:
$UQ = $UQ . "\xd\xa </div>\xd
";
return $UQ;
}
public function mo_sps_embed_shortcode_sharepoint_news()
{
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto lw;
}
return $Js;
lw:
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$Pv = Azure::getClient($cU);
$xb = $Pv->mo_sps_get_all_site_news();
$xb = sharepointWrapper::mo_sps_process_sharepoint_news_items($xb);
$UQ = "\xd\xa <div style="display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:100%;height:600px;padding:10px;overflow-y:scroll;">
";
foreach ($xb as $wN) {
if (strpos($wN["BannerImageUrl"], "_layouts/15/images/")) {
goto oD;
}
$dv = $Pv->mo_sps_get_banerurl_for_an_artcile($wN["BannerImageUrl"]);
$jy = "data:image/png;base64," . base64_encode($dv);
goto eb;
oD:
$jy = $wN["BannerImageUrl"];
eb:
$UQ = $UQ . "\xd\xa <div style="display:flex;justify-content:flex-start;align-items:center;width:80%;margin:10px">\xd\xa \xd\xa <div style="padding:5px">
\xa <img style="display:flex;justify-content:center;align-items:center;width:350px;" src="" . $jy . "" />
</div>
\xa <div style="height:100%;width:100%;padding:15px">
\xa <div style="" . "font-size: 20px;margin-top:5px;font-weight: 600;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;" . "">" . $wN["Title"] . "
\xa </div>\xd
";
if (empty($wN["OData__OriginalSourceUrl"])) {
goto T7;
}
$UQ = $UQ . "\xd
<div><a href="" . $wN["OData__OriginalSourceUrl"] . "">Click here to view the content</a></div>";
T7:
$UQ = $UQ . "
<div style="margin-top:25px">" . $wN["Description"] . "</div>
\xa </div>
\xa </div>\xd
";
va:
}
Uv:
$UQ = $UQ . "\xd\xa </div>\xd
";
return $UQ;
}
public function mo_sps_shortcode_Upload_wordpress_to_sharepoint_library($lE = '', $UQ = '')
{
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto eu;
}
return $Js;
eu:
$lE = shortcode_atts(array("folder_path" => ''), $lE, "MO_SHAREPOINT_UPLOAD_DOCUMENT");
$dD = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$hm = wpWrapper::mo_sps_get_option(pluginConstants::SHAREPOINT_ROOT_DOC_LIB);
$Pv = Azure::getClient($dD);
$sl = $Pv->mo_sps_send_access_token();
$Gm = array("base_url" => "https://" . wpWrapper::mo_sps_get_domain_from_url($dD["admin_uri"]), "token" => $sl, "root_folder" => $lE["folder_path"]);
$L4 = plugins_url("../includes/js/upload.js", __FILE__);
wp_enqueue_script("jquery");
wp_enqueue_script("mo_sps_sync_js", $L4, array(), PLUGIN_VERSION);
wp_localize_script("mo_sps_sync_js", "doc_sync_data", $Gm);
$UQ = "<div class="mo-ms-tab-content-tile" style="width:135%;" >\xd
<div class="mo-ms-tab-content-tile-content mo-sps-prem-info" style="position:relative;"> \xd
<table class="mo-ms-tab-content-app-config-table">\xd
<tr>\xd\xa <td style="width:50%;word-break: break-all;"><span><h6>Upload File / Folder:</h6></span></td>\xd\xa <td class="right-div" style="width:35%;" >\xd
<input type="file" id="getFile" style="margin-bottom:10px;" id="metadata_file" name="metadata_file" required>\xd
<br />\xd
<button id="addFileButton" type="button" value="Upload" onclick="uploadFile();" class="mo-saml-bs-bs-btn btn-cstm rounded d-flex align-items-center"><svg width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z" />\xd
<path d="M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708l3-3z" />\xd\xa </svg> Upload</button>
</td>\xd
<td style="width:65%;word-break: break-all;"> \xd
</td>\xd
</tr>
\xa </table>\xd
\xa </div>
</div>";
return $UQ;
}
public function mo_doc_lib_embed_api_handler(WP_REST_Request $mi)
{
$DW = $mi->get_param("nonce");
if (wp_verify_nonce($DW, "wp_rest")) {
goto HO;
}
return new WP_Error("invalid_nonce", "Invalid nonce", array("status" => 403));
HO:
$DW = $mi->get_param("nonce");
$gz = sanitize_text_field($mi->get_param("task"));
$M6 = $mi->get_param("payload");
switch ($gz) {
case "mo_sps_get_all_sites":
$this->mo_sps_get_all_sites($M6);
goto YO;
case "mo_sps_get_all_drives":
$this->mo_sps_get_all_drives($M6);
goto YO;
case "mo_sps_get_all_documents":
$this->mo_sps_get_all_documents($M6);
goto YO;
case "mo_sps_get_all_list_items":
$this->mo_sps_get_all_list_items($M6);
goto YO;
case "mo_sps_get_onedrives":
$this->mo_sps_get_onedrives($M6);
goto YO;
case "mo_sps_get_personal_onedrives":
$this->mo_sps_get_personal_onedrives($M6);
goto YO;
case "mo_sps_get_all_folder_items":
$this->mo_sps_get_all_folder_items($M6);
goto YO;
case "mo_sps_get_file_thumbnails":
$this->mo_sps_get_file_thumbnails($M6);
goto YO;
case "mo_sps_get_download_url":
$this->mo_sps_get_download_url($M6);
goto YO;
case "mo_sps_search_through_drive_items":
$this->mo_sps_search_through_drive_items($M6);
goto YO;
case "mo_sps_get_upload_session":
$this->mo_sps_get_upload_session($M6);
goto YO;
case "mo_sps_get_specific_file":
$this->mo_sps_get_specific_file($M6);
goto YO;
case "mo_sps_generate_and_save_shortcode":
$this->mo_sps_generate_and_save_shortcode($M6);
goto YO;
case "mo_doc_lib__ma_add_permissions":
$this->mo_doc_lib__ma_add_permissions($M6);
goto YO;
case "mo_sps_get_sync_file_url":
$this->mo_sps_get_sync_file_url($M6);
goto YO;
case "mo_doc_lib_get_items_inherited_permissions":
$this->mo_doc_lib_get_items_inherited_permissions($M6);
goto YO;
}
h5:
YO:
}
private function mo_doc_lib_get_items_inherited_permissions($M6)
{
$sq = $M6["doc_id"];
$Bo = sharepointWrapper::mo_sps_get_documents_inherited_permissions($sq);
wp_send_json_success($Bo);
}
private function mo_sps_get_sync_file_url($M6)
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_file_download_url($M6["file_id"], $M6["drive_id"]);
if ($tt) {
goto M0;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto gm;
M0:
wp_send_json_success($tt["download_url"]);
gm:
}
private function mo_doc_lib__ma_add_permissions($M6)
{
$Bo = isset($M6["permissions"]) && !empty($M6["permissions"]) ? json_encode($M6["permissions"]) : '';
wpWrapper::mo_sps_set_option(pluginConstants::FOLDER_FILES_PERMISSIONS, $Bo);
wp_send_json_success('');
}
private function mo_sps_generate_and_save_shortcode($M6)
{
dbWrapper::mo_sps_create_shortcode_table();
$Zp = isset($M6["shortcode_id"]) ? $M6["shortcode_id"] : 0;
$cS = $M6["sc_permissions"];
$iF = $M6["sc_path"];
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$oc = array("sc_attrs" => json_encode($cS), "sc_current_state" => json_encode($WW), "sc_path" => json_encode($iF));
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $M6["sc_path"]);
dbWrapper::mo_sps_update_shortcode_table_row($oc, $Zp);
wp_send_json_success('');
}
private function mo_sps_create_terms_to_taxonomy($tt, $zy, $fy = null)
{
$Eo = wpWrapper::mo_sps_get_option(pluginConstants::MOESHP_ROOT_ID);
if (!$fy) {
goto V6;
}
$Eo = term_exists(strtolower($fy));
V6:
foreach ($tt as $IV) {
$QJ = $zy == "folder" ? isset($IV["folder"]) ? true : false : true;
if ($QJ) {
goto R9;
}
$SU = wp_upload_dir();
$yy = $SU["path"];
$b2 = $SU["url"];
$o5 = $IV["name"];
$F8 = pathinfo($IV["name"], PATHINFO_EXTENSION);
$JJ = basename($IV["name"], "." . $F8);
$Oi = pluginConstants::MIME_TYPES;
$sO = $IV["download_url"];
$lM = $IV["id"];
$QY = parse_url($sO);
$sO = admin_url("admin-ajax.php") . "?action=mo_sps_sync_file&file_id=" . $lM . "&download=0";
$Zk = $yy . "/" . $o5;
$vO = sharepointWrapper::mo_sps_post_exists_already($lM);
if ($vO) {
goto Ee;
}
$Dx = array("mo_sps_file_url" => $sO, "mo_sps_file_id" => $IV["id"], "mo_sps_drive_id" => $IV["parentReference"]["driveId"], "mo_sps_file_parent_folder" => isset($IV["parentReference"]["name"]) ? $IV["parentReference"]["name"] : '', "mo_sps_file_Title" => isset($IV["listItem"]["fields"]["Title"]) ? $IV["listItem"]["fields"]["Title"] : '', "mo_sps_last_modified_date" => $IV["lastModifiedDateTime"]);
$zr = sharepointWrapper::mo_sps_insert_in_media_library($b2, $o5, $JJ, $Oi, $F8, $sO, $Zk, $IV["id"], $Dx);
goto ID;
Ee:
$uE = isset($Oi[strtolower($F8)]) ? $Oi[strtolower($F8)] : '';
$ap[] = $vO;
$zr = get_post_thumbnail_id($vO);
$tW = array("post_title" => $JJ, "post_status" => "inherit", "post_mime_type" => $uE, "meta_input" => array("mo_sps_file_url" => $sO, "mo_sps_file_id" => $IV["id"], "mo_sps_drive_id" => isset($IV["parentReference"]) && isset($IV["parentReference"]["driveId"]) ? $IV["parentReference"]["driveId"] : '', "mo_sps_file_parent_folder" => isset($IV["parentReference"]) && isset($IV["parentReference"]["name"]) ? $IV["parentReference"]["name"] : '', "mo_sps_file_Title" => isset($IV["listItem"]["fields"]["Title"]) ? $IV["listItem"]["fields"]["Title"] : '', "mo_sps_last_modified_date" => $IV["lastModifiedDateTime"]));
wp_update_attachment_metadata($zr, $tW);
ID:
$IV = wp_set_object_terms((int) $zr, (int) $Eo, "moeshp-category", true);
goto Ys;
R9:
$bi = $IV["name"];
if (term_exists(strtolower($IV["id"]))) {
goto xo;
}
$zL = wp_insert_term($bi, "moeshp-category", array("slug" => $IV["id"], "parent" => $Eo));
goto CI;
xo:
$zL = wp_update_term(term_exists(strtolower($IV["id"])), "moeshp-category", array("name" => $bi, "parent" => $Eo));
CI:
update_term_meta($zL["term_id"], "id", $IV["id"]);
Ys:
oA:
}
WV:
}
private function mo_sps_get_all_sites($M6)
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$iF = $M6["sc_path"];
if (!$M6["is_plugin"]) {
goto Rv;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW = isset($WW) && $WW ? $WW : array();
foreach ($WW as $dC => $sJ) {
$WW[$dC] = $dC == "breadcrumb" ? array() : '';
Q6:
}
oQ:
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
Rv:
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_all_sites();
if ($tt["status"]) {
goto R2;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto UO;
R2:
if (!empty($tt["data"]) && isset($tt["data"]["id"])) {
goto Ms;
}
$iz = $tt["data"];
goto PC;
Ms:
$iz = $tt["data"];
PC:
$iz = sharepointWrapper::mo_sps_process_sites($iz);
$this->mo_sps_create_terms_to_taxonomy($iz, "root");
$iz = sharepointWrapper::mo_sps_filter_documents_checking_permissions($iz);
wp_send_json_success($iz);
UO:
}
private function mo_sps_get_all_drives($M6)
{
$FI = $M6["site_id"];
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$iF = $M6["sc_path"];
if (!$M6["is_plugin"]) {
goto vs;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW["breadcrumb"] = $M6["current_state"];
$WW["site_id"] = $FI;
$WW["state_name"] = "site";
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
vs:
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_all_drives($FI);
$SG = $OT->mo_sps_get_all_lists($FI);
if ($tt["status"]) {
goto RA;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto Gq;
RA:
$tx = sharepointWrapper::mo_sps_process_drives($tt["data"], $M6["is_plugin"], $iF);
$A1 = sharepointWrapper::mo_sps_process_lists($SG["data"]);
$this->mo_sps_create_terms_to_taxonomy($tx, "site", $FI);
$tx = sharepointWrapper::mo_sps_filter_documents_checking_permissions($tx);
wp_send_json_success(array_merge($tx));
Gq:
}
private function mo_sps_get_onedrives($M6)
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$C2 = wpWrapper::mo_sps_get_option(pluginConstants::ONEDRIVE_UPN);
$OT = Azure::getClient($cU);
$iF = $M6["sc_path"];
if (!$M6["is_plugin"]) {
goto GQ;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW["breadcrumb"] = $M6["current_state"];
$WW["state_name"] = "site";
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
GQ:
$tt = $OT->mo_sps_get_onedrives();
if ($tt["status"]) {
goto dV;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto E8;
dV:
$tx = sharepointWrapper::mo_sps_process_drives($tt["data"], '');
$this->mo_sps_create_terms_to_taxonomy($tx, "root");
$tx = sharepointWrapper::mo_sps_filter_documents_checking_permissions($tx);
wp_send_json_success($tx);
E8:
}
private function mo_sps_get_personal_onedrives($M6)
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$iF = $M6["sc_path"];
if (!$M6["is_plugin"]) {
goto MC;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW["breadcrumb"] = $M6["current_state"];
$WW["state_name"] = "site";
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
MC:
$tt = $OT->mo_sps_get_personal_onedrives();
if (!empty($tt["status"])) {
goto sD;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto dP;
sD:
$tx = sharepointWrapper::mo_sps_process_drives($tt["data"], '');
$this->mo_sps_create_terms_to_taxonomy($tx, "root");
$tx = sharepointWrapper::mo_sps_filter_documents_checking_permissions($tx);
wp_send_json_success($tx);
dP:
}
private function mo_sps_get_all_documents($M6)
{
$LI = $M6["drive_id"];
$qu = isset($M6["download"]) ? $M6["download"] : '';
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$iF = $M6["sc_path"];
if (!($M6["is_plugin"] && !$qu)) {
goto w3;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW["breadcrumb"] = $M6["current_state"];
$WW["drive_id"] = $LI;
$WW["state_name"] = "drive";
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
w3:
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_all_docs($LI);
if ($tt["status"]) {
goto GX;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto cj;
GX:
$gc = sharepointWrapper::mo_sps_process_docs($tt["data"], $LI, $M6["is_plugin"], $iF);
$this->mo_sps_create_terms_to_taxonomy($gc, "folder", $LI);
$gc = sharepointWrapper::mo_sps_filter_documents_checking_permissions($gc);
$QE["all_docs"] = $gc;
$QE["parent_upload_permission"] = sharepointWrapper::mo_sps_check_for_the_permissions($LI, "upload");
wp_send_json_success($QE);
cj:
}
private function mo_sps_get_all_list_items($M6)
{
$FI = $M6["site_id"];
$LI = $M6["drive_id"];
$iF = $M6["sc_path"];
if (!$M6["is_plugin"]) {
goto C0;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW["breadcrumb"] = $M6["current_state"];
$WW["drive_id"] = $LI;
$WW["state_name"] = "drive";
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
C0:
$Rc = isset($M6["list_embedding_columns"]) && !empty($M6["list_embedding_columns"]) ? $M6["list_embedding_columns"] : '';
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_all_list_items($FI, $LI);
if ($tt["status"]) {
goto To;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto L8;
To:
$gc = sharepointWrapper::mo_sps_process_list_items($tt["data"], $Rc);
wp_send_json_success($gc);
L8:
}
private function mo_sps_get_all_folder_items($M6)
{
$LI = $M6["drive_id"];
$RB = $M6["folder_id"];
$qu = isset($M6["download"]) ? $M6["download"] : '';
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$iF = $M6["sc_path"];
if (!($M6["is_plugin"] && !$qu)) {
goto NG;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW["breadcrumb"] = $M6["current_state"];
$WW["folder_id"] = $RB;
$WW["state_name"] = "folder";
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
NG:
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_all_folder_items($LI, $RB);
if ($tt["status"]) {
goto mH;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error(${$tt});
goto k1;
mH:
$gc = sharepointWrapper::mo_sps_process_docs($tt["data"], $RB, $M6["is_plugin"], $iF);
$this->mo_sps_create_terms_to_taxonomy($gc, "folder", $RB);
$gc = sharepointWrapper::mo_sps_filter_documents_checking_permissions($gc);
$QE["all_docs"] = $gc;
$QE["parent_upload_permission"] = sharepointWrapper::mo_sps_check_for_the_permissions($RB, "upload");
wp_send_json_success($QE);
k1:
}
private function mo_sps_get_file_thumbnails($M6)
{
$LI = $M6["drive_id"];
$lM = $M6["file_id"];
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_file_thumbnails($LI, $lM);
if ($tt["status"]) {
goto QR;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto zk;
QR:
$Jc = sharepointWrapper::mo_sps_process_thumnails($tt["data"], "large");
wp_send_json_success($Jc);
zk:
}
private function mo_sps_get_download_url($M6)
{
$LI = $M6["drive_id"];
$lM = $M6["file_id"];
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_file_details($LI, $lM);
$IV = $tt["data"];
$IA = array();
$IA["download"] = $IV["@microsoft.graph.downloadUrl"];
$IA["name"] = $IV["name"];
$IA["id"] = $IV["id"];
$IA["lastModifiedDateTime"] = $IV["lastModifiedDateTime"];
$IA["size"] = $IV["size"];
if ($tt["status"]) {
goto tU;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto am;
tU:
wp_send_json_success($IA);
exit;
am:
}
private function mo_sps_get_upload_session($M6)
{
$o5 = $M6["file_name"];
$LI = $M6["drive_id"];
$RB = $M6["folder_id"];
$wG = false;
if ($RB != '') {
goto Z3;
}
$wG = sharepointWrapper::mo_sps_check_for_the_permissions($LI, "upload");
goto Fp;
Z3:
$wG = sharepointWrapper::mo_sps_check_for_the_permissions($RB, "upload");
Fp:
if ($wG) {
goto iD;
}
wp_send_json_error(array("Error" => "Unauthorized", "Description" => "You are unauthorized to upload documents to this resource."));
iD:
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_upload_session($LI, $RB, $o5);
if ($tt["status"]) {
goto pq;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto xZ;
pq:
wp_send_json_success($tt["data"]);
xZ:
}
private function mo_sps_get_specific_file($M6)
{
$LI = $M6["drive_id"];
$lM = $M6["file_id"];
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_file_preview($LI, $lM);
if ($tt["status"]) {
goto qo;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto uE;
qo:
wp_send_json_success($tt["data"]["getUrl"]);
exit;
uE:
}
private function mo_sps_search_through_drive_items($M6)
{
$LI = $M6["drive_id"];
$RB = $M6["folder_id"];
$Lf = $M6["querystring"];
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_search_through_drive_items($LI, $RB, $Lf);
if ($tt["status"]) {
goto r4;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto k9;
r4:
$fy = $RB == '' ? $LI : $RB;
$gc = sharepointWrapper::mo_sps_process_docs($tt["data"], $fy, $M6["is_plugin"]);
wp_send_json_success($gc);
k9:
}
private function mo_sps_upload_file($M6)
{
$LI = $M6["drive_id"];
$lM = $M6["file_id"];
$o5 = $M6["file_name"];
$GJ = $M6["file_size"];
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_upload_file($LI);
if ($tt["status"]) {
goto i5;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto F9;
i5:
F9:
}
public function grid_content_for_shortcode($zn, $pR)
{
if (!($pR < 40)) {
goto o0;
}
$pR = 40;
o0:
$UQ = "<div id="mo_doc_lib_display_on_page_container_" . $zn . "" style="max-width:" . $pR . "%" class="mo_doc_lib_display_on_page_container">\xd\xa\x9\x9 <div class="mo_doc_lib_download_progress_display_container"></div>\xd
<div style="display:none;max-width:" . $pR . "%" class="mo_doc_lib_nav mo_doc_lib_nav_main_" . $zn . "">\xd\xa\x9\x9 \x9<div class="mo_doc_lib_breadcrumb" id="mo_doc_lib_breadcrumb_" . $zn . "">\xd
\x9\x9\x9\x9</div>\xd\xa \x9 <div style="display:flex;align-items:center;flex-grow:1;justify-content:end;">\xd
\x9 <div class="mo_doc_lib_search" id="mo_doc_lib_search_" . $zn . "" style="display:none;">\xd\xa\x9 \x9\x9\x9\x9<div class="mo_doc_lib_search_div" id="mo_doc_lib_search_div_" . $zn . "">\xd\xa\x9 \x9\x9\x9 <div style="display: flex; align-items: center; flex-direction: row-reverse;">
\xa\x9\x9 \x9 \x9\x9\x9<button class="mo_sps_search_button" type="button" id="mo_sps_search_button_" . $zn . "">
\x9\x9\x9 <img width="14px" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/search.svg") . "">\xd\xa\x9\x9\x9\x9\x9 \x9\x9</button>\xd\xa\x9 \x9\x9 \x9 <button style="display:none;" class="mo_sps_exit_button" type="button" id="mo_sps_exit_button_" . $zn . "">\xd\xa \x9\x9 \x9\x9 \x9<img width="12px" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/cross.svg") . "">
\xa\x9\x9 \x9</button>\xd
\x9\x9\x9\x9 \x9 <div id="mo_sps_file_search_dialog_box_" . $zn . "" class="mo_sps_file_search_dialog_box">\xd
\x9 \x9 <input class="mo_sps_file_search" role="combobox" autocomplete="off" placeholder="Search this library" type="search" id="mo_sps_file_search_" . $zn . "" name="mo_doc_lib_search_box__input_" . $zn . "">\xd\xa\x9\x9 \x9\x9 </div>
\x9 \x9\x9</div>
\xa\x9 \x9\x9 \x9<div id="mo_doc_lib_mySearchDropdown_" . $zn . "" class="search_div" >\xd\xa \x9 <div id="mo_doc_lib_searching_div_" . $zn . "" style="display:flex;align-items:center;">
\x9\x9 \x9\x9\x9 \x9 <div class="before_search" style="font-weight:600;font-size:1rem;width:20rem;margin-bottom:10px;">Searching...</div>
\x9 \x9 \x9<img id="mo_doc_lib_mySearchLoader_" . $zn . "" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/Chasing_arrows.gif") . "">\xd\xa\x9\x9\x9\x9\x9\x9\x9 </div>
\xa \x9 \x9\x9\x9<div class="list_div">
\x9\x9\x9\x9 <ul id="mo_doc_lib_listItems_" . $zn . "" style="padding-left:0;margin:0;">\xd
\x9\x9 \x9\x9\x9\x9\x9 </ul>\xd\xa\x9\x9 \x9 </div>\xd\xa\x9 \x9 \x9 </div>\xd
\x9\x9 \x9</div>\xd\xa\x9 \x9\x9\x9</div>
\xa \x9\x9 <div title="List View" class="mo_doc_lib_view_mode" style="display:none;" id="mo_doc_lib_table_view_" . $zn . ""><div class="mo_doc_lib_buttons_stvu"><img width="16px" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/list_dl.svg") . ""></div></div>\xd
\x9\x9 \x9 <div title="Grid View" class="mo_doc_lib_view_mode" id="mo_doc_lib_grid_view_" . $zn . ""><div class="mo_doc_lib_buttons_stvu"><img width="15px" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/grid_view.svg") . ""></div></div>
\xa \x9\x9 <div title="Upload to SharePoint/OneDrive" style="display:none" class="mo_doc_lib_view_mode" id="mo_doc_lib_upload_file_" . $zn . ""><div class="mo_doc_lib_buttons_stvu"><img width="20px" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/cloud_upload.svg") . ""></div></div>
</div>\xd
\x9 \x9</div>\xd
\x9 <div id="mo_doc_preview_modal_container_" . $zn . ""></div>\xd\xa\x9 <div style="margin-left: auto !important;margin-right:auto !important;max-width:" . $pR . "%;" id="mo_doc_lib_container__loader_" . $zn . ""><img style="width:35px;display:flex;align-items:center;justify-content:center;margin-left: auto !important;margin-right:auto !important;mix-blend-mode:multiply;" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/image_loader.gif") . ""></div>
\xa\x9 <div style="max-width:" . $pR . "%" id="mo_doc_lib_container_" . $zn . "" class="mo_doc_lib_container"></div>
\x9\x9 <div id="sps_embed_container_" . $zn . "" class="mo_sps_embed_container" style="max-width:" . '' . $pR . "%" . ";height:" . "100%" . ""></div>
</div>";
return $UQ;
}
public function table_content_for_shortcode($zn, $pR)
{
if (!($pR < 40)) {
goto Z5;
}
$pR = 40;
Z5:
$UQ = "<div id="mo_doc_lib_display_on_page_container_" . $zn . "" style="max-width:" . $pR . "%" class="mo_doc_lib_display_on_page_container">\xd
\x9 \x9<div class="mo_doc_lib_download_progress_display_container"></div>\xd\xa \x9<div style="display:none;max-width:" . $pR . "%" class="mo_doc_lib_nav mo_doc_lib_nav_main_" . $zn . "">\xd
\x9\x9<div class="mo_doc_lib_breadcrumb" id="mo_doc_lib_breadcrumb_" . $zn . "">
\xa \x9\x9\x9</div>
\xa \x9 \x9<div style="display:flex;align-items:center;flex-grow:1;justify-content:end;">\xd
\x9\x9 \x9<div class="mo_doc_lib_search" id="mo_doc_lib_search_" . $zn . "" style="display:none;">
\xa\x9 \x9 <div class="mo_doc_lib_search_div" id="mo_doc_lib_search_div_" . $zn . "">
\x9\x9\x9\x9\x9 <div style="display: flex; align-items: center; flex-direction: row-reverse;">
\xa\x9 \x9\x9 <button title="Search" class="mo_sps_search_button" type="button" id="mo_sps_search_button_" . $zn . "">
\xa \x9\x9 \x9\x9 <div class="mo_doc_lib_buttons_stvu"><img width="14px" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/search.svg") . ""></div>
\xa\x9 \x9\x9 \x9</button>
\xa \x9\x9\x9\x9 <button title="Close" style="display:none;" class="mo_sps_exit_button" type="button" id="mo_sps_exit_button_" . $zn . "">\xd\xa\x9\x9 \x9\x9 <div class="mo_doc_lib_buttons_stvu"><img width="12px" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/cross.svg") . ""></div>\xd
\x9\x9</button>
\x9\x9\x9 \x9<div id="mo_sps_file_search_dialog_box_" . $zn . "" class="mo_sps_file_search_dialog_box">
\x9\x9\x9 \x9\x9\x9\x9 <input class="mo_sps_file_search" role="combobox" autocomplete="off" placeholder="Search this library" type="search" id="mo_sps_file_search_" . $zn . "" name="mo_doc_lib_search_box__input_" . $zn . "">\xd
\x9\x9 \x9 </div>\xd\xa \x9 \x9 \x9 </div>
\x9\x9\x9 \x9<div id="mo_doc_lib_mySearchDropdown_" . $zn . "" class="search_div" >\xd\xa\x9 \x9\x9 <div id="mo_doc_lib_searching_div_" . $zn . "" style="display:flex;align-items:center;">\xd\xa \x9\x9 \x9 <div class="before_search" style="font-weight:600;font-size:1rem;width:20rem;margin-bottom:10px;">Searching...</div>\xd
\x9\x9\x9 \x9\x9\x9\x9\x9<img id="mo_doc_lib_mySearchLoader_" . $zn . "" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/Chasing_arrows.gif") . "">\xd
\x9 \x9 </div>\xd
\x9\x9 \x9 \x9 \x9<div class="list_div">\xd\xa\x9 \x9\x9 \x9<ul id="mo_doc_lib_listItems_" . $zn . "" style="padding-left:0;margin:0;">\xd\xa \x9\x9 \x9 \x9 </ul>\xd
\x9 \x9 \x9\x9</div>
\x9\x9 \x9\x9</div>
\x9 \x9\x9</div>\xd\xa \x9\x9\x9 </div>\xd
\x9 \x9\x9 <div title="List View" class="mo_doc_lib_view_mode" style="display:none;" id="mo_doc_lib_table_view_" . $zn . ""><div class="mo_doc_lib_buttons_stvu"><img width="16px" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/list_dl.svg") . ""></div></div>\xd\xa\x9 \x9\x9<div title="Grid View" class="mo_doc_lib_view_mode" style="display:none" id="mo_doc_lib_grid_view_" . $zn . ""><div class="mo_doc_lib_buttons_stvu"><img width="15px" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/grid_view.svg") . ""></div></div>
\xa \x9\x9 \x9<div title="Upload to SharePoint/OneDrive" style="display:none" class="mo_doc_lib_view_mode" id="mo_doc_lib_upload_file_" . $zn . ""><div class="mo_doc_lib_buttons_stvu"><img width="20px"" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/cloud_upload.svg") . ""></div></div>\xd
\x9 </div>
</div>\xd
\x9 <div id="mo_doc_preview_modal_container_" . $zn . ""></div>
\xa\x9\x9\x9<div style="margin-left: auto !important;margin-right:auto !important;max-width:" . $pR . "%;" id="mo_doc_lib_container__loader_" . $zn . ""><img style="width:35px;display:flex;align-items:center;justify-content:center;margin-left: auto !important;margin-right:auto !important;mix-blend-mode:multiply;" src="" . esc_url(plugin_dir_url(__FILE__) . "../images/image_loader.gif") . ""></div>\xd
<div style="max-width:" . $pR . "%" id="mo_doc_lib_container_" . $zn . "" class="mo_doc_lib_container"></div>\xd\xa\x9 \x9<div id="sps_embed_container_" . $zn . "" class="mo_sps_embed_container" style="max-width:" . '' . $pR . "%" . ";height:" . "100%" . ""></div>\xd
</div>";
return $UQ;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace MoSharePointObjectSync\Observer;
use Error;
use MoSharePointObjectSync\Wrappers\pluginConstants;
use MoSharePointObjectSync\Wrappers\wpWrapper;
use MoSharePointObjectSync\Wrappers\dbWrapper;
use MoSharePointObjectSync\API\Azure;
use MoSharePointObjectSync\Wrappers\sharepointWrapper;
use MoSharePointObjectSync\LicenseLibrary\Mo_License_Service;
use WP_Error;
use WP_REST_Request;
class mediaObserver
{
private static $obj;
private static $isliveri;
public $user_full_access = true;
public $folderRootId = 0;
private $shortcode_added = array();
public static function getObserver()
{
if (isset(self::$obj)) {
goto dg;
}
self::$obj = new mediaObserver();
self::$isliveri = Mo_License_Service::is_customer_license_valid();
dg:
return self::$obj;
}
public function mo_sps_media_observer()
{
}
public function mo_sps_download_file()
{
$lM = $_GET["\x66\x69\154\x65\137\x69\144"];
$LI = $_GET["\144\162\x69\166\145\x5f\x69\x64"];
$wG = sharepointWrapper::mo_sps_check_for_the_permissions($lM, "\144\x6f\167\x6e\154\157\x61\144");
if ($wG) {
goto tb;
}
wp_send_json_error("\131\x6f\165\40\141\x72\x65\x20\x6e\157\164\40\141\165\x74\x68\x6f\x72\151\x7a\145\144\x20\164\157\40\x64\157\167\x6e\x6c\157\141\144\x20\x74\x68\x69\x73\x20\162\145\163\157\165\162\143\145", 401);
tb:
$oc = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$AP = Azure::getClient($oc);
$oc = $AP->mo_sps_get_file_download_url($lM, $LI);
$IV = file_get_contents($oc["\144\157\x77\156\x6c\157\x61\x64\137\x75\x72\154"]);
header("\103\157\x6e\164\x65\x6e\x74\x2d\124\171\x70\145\72\x20\141\160\x70\x6c\151\x63\x61\164\x69\157\156\57\x6f\143\x74\x65\x74\55\x73\164\x72\x65\x61\x6d");
header("\103\157\156\x74\145\x6e\x74\x2d\x44\151\x73\x70\x6f\163\151\x74\151\157\x6e\x3a\x20\x61\x74\164\x61\143\x68\155\145\x6e\x74\x3b\40\x66\x69\x6c\145\x6e\141\155\x65\75\x22" . $oc["\156\141\x6d\145"] . "\x22");
header("\103\x6f\x6e\x74\x65\x6e\x74\55\x4c\x65\x6e\x67\164\150\72\x20" . $oc["\x73\x69\172\x65"]);
readfile($oc["\144\x6f\x77\156\154\157\141\x64\137\x75\x72\154"]);
exit;
}
public function mo_sps_shortcode_upload_in_sharepoint_library($lE = '', $UQ = '')
{
$current_user = wp_get_current_user();
$io = (array) $current_user->roles;
$v6 = $current_user->roles;
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto ce;
}
return $Js;
ce:
$lE = shortcode_atts(array("\x68\x6f\155\x65" => "\162\157\157\164", "\x73\151\164\145\137\x69\144" => '', "\144\162\x69\x76\145\x5f\x69\x64" => '', "\x66\x6f\154\144\x65\x72\x5f\151\x64" => '', "\x70\x65\162\x6d\x69\x73\x73\151\157\156\x73" => '', "\141\x6e\x6f\156\171\x6d\157\165\163\137\x61\x63\143\x65\163\163" => ''), $lE, "\x4d\117\137\x53\x48\101\122\105\120\x4f\111\116\x54\x5f\x55\x50\114\117\101\104");
if (!($lE["\x61\156\x6f\x6e\171\155\x6f\165\x73\137\x61\x63\143\x65\x73\163"] == '' && !is_user_logged_in())) {
goto fd;
}
return "\74\163\160\x61\156\40\163\x74\171\x6c\145\75\x27\x64\x69\x73\x70\154\x61\x79\72\142\154\157\143\153\73\155\x61\x72\147\x69\156\55\141\165\164\157\73\150\145\151\x67\x68\x74\x3a\x31\60\x30\x25\73\x62\157\x72\x64\145\162\72\156\157\x6e\x65\x3b\x70\141\x64\144\x69\156\147\x3a\x30\56\66\162\145\x6d\40\x31\56\62\x72\x65\x6d\73\x27\x3e\x3c\x73\x70\x61\x6e\x20\x73\x74\171\x6c\145\x3d\47\x61\x6c\x69\147\x6e\x2d\x69\164\x65\155\x73\72\x63\x65\x6e\x74\145\x72\x27\76\x50\154\145\141\163\x65\40\74\141\x20\150\162\x65\x66\x3d\x27" . home_url() . "\x2f\167\x70\55\154\x6f\147\151\x6e\x2e\160\x68\160" . "\x27\x3e\154\157\x67\151\156\74\x2f\141\x3e\40\x74\x6f\40\166\x69\145\167\x20\x74\x68\145\40\x63\157\x6e\164\x65\156\164\x2e\74\57\163\x70\x61\156\76\74\x2f\163\x70\141\156\x3e";
fd:
$UQ = $this->upload_files_content_for_shortcode();
$mX = plugins_url("\56\56\x2f\151\x6e\143\154\x75\x64\145\163\57\143\163\163\57\x75\x70\x6c\x6f\141\x64\56\x63\163\x73", __FILE__);
$Em = plugins_url("\56\56\x2f\x69\156\x63\154\x75\144\x65\163\57\152\x73\57\x75\160\x6c\157\x61\x64\x2e\x6a\163", __FILE__);
wp_enqueue_style("\x6d\157\137\144\157\x63\137\x6c\x69\x62\137\165\x70\x6c\x6f\141\x64\137\x73\160\146\137\x63\x73\x73", $mX, array());
wp_enqueue_script("\x6d\x6f\137\144\x6f\x63\137\154\x69\142\x5f\x75\x70\154\x6f\x61\x64\x5f\x73\x70\x66\x5f\x6a\163", $Em, array("\152\161\x75\145\x72\171"));
wp_localize_script("\x6d\x6f\137\x64\x6f\x63\137\x6c\x69\x62\x5f\x75\x70\154\157\141\144\x5f\x73\x70\146\x5f\152\163", "\x75\x70\x6c\x6f\x61\x64\x43\x6f\x6e\x66\151\147", array("\141\152\x61\x78\137\x75\x72\154" => admin_url("\x61\x64\155\x69\156\x2d\x61\152\x61\x78\x2e\x70\150\160"), "\x6e\157\x6e\143\x65" => wp_create_nonce("\x6d\x6f\x5f\x64\157\x63\137\154\x69\x62\137\x75\x70\154\x6f\x61\144\137\137\x6e\x6f\x6e\143\145"), "\150\157\x6d\x65" => $lE["\x68\157\155\145"], "\163\151\x74\145\x5f\151\x64" => $lE["\x73\151\164\x65\137\x69\x64"], "\144\162\151\166\145\137\x69\144" => $lE["\x64\x72\151\166\x65\x5f\151\x64"], "\x66\157\x6c\x64\145\162\137\x69\x64" => $lE["\146\x6f\x6c\144\145\x72\137\x69\x64"], "\x70\x65\162\x6d\x69\163\163\151\157\x6e\x73" => $lE["\x70\145\162\155\x69\163\x73\x69\x6f\x6e\163"], "\162\x6f\154\x65\x73" => $v6, "\x63\165\162\162\145\156\164\137\162\x6f\154\145" => $io));
$J1 = "\x3c\144\151\166\40\x69\144\75\x22\x73\160\163\x5f\145\155\x62\x65\x64\137\x63\157\156\x74\x61\x69\x6e\x65\162\42\x20\x73\164\x79\154\145\x3d\x22\x64\x69\163\x70\x6c\x61\x79\x3a\142\154\157\x63\x6b\x3b\x6d\x61\162\147\151\x6e\x2d\x61\x75\x74\157\73\x68\145\151\x67\150\x74\x3a" . "\61\x30\60\45" . "\73\142\157\162\x64\145\x72\72\156\x6f\x6e\x65\73\160\141\x64\144\151\156\x67\72\x30\x2e\66\x72\145\155\40\x31\56\x32\x72\145\x6d\73\142\x61\x63\153\147\x72\x6f\165\x6e\x64\x2d\x63\x6f\x6c\157\162\72\43\x66\x32\64\66\x37\x34\73\42\x3e\xd\xa\40\x20\x20\40\x20\40\40\40\x3c\160\40\163\x74\171\x6c\x65\75\42\164\145\x78\164\55\x61\x6c\151\147\156\72\x63\145\156\164\x65\162\73\x6d\x61\x72\147\x69\x6e\x3a\60\x3b\42\76\x3c\141\40\x73\x74\x79\154\145\75\x22\143\x6f\154\x6f\x72\72\40\x23\x66\x66\x66\x3b\xd\xa\x20\40\x20\40\x20\x20\40\x20\x74\145\x78\x74\55\x64\x65\x63\x6f\x72\141\164\151\157\x6e\x3a\x20\x6e\157\156\145\73\146\x6f\x6e\x74\55\167\x65\x69\147\x68\164\72\40\x35\x30\60\73\x22\x20\150\x72\145\x66\x3d\x22\150\164\164\160\163\72\57\x2f\154\157\x67\x69\156\x2e\x78\x65\x63\165\x72\151\x66\x79\x2e\x63\157\155\57\155\x6f\141\x73\x2f\154\157\x67\151\x6e\77\x72\x65\x64\151\162\145\x63\x74\x55\162\x6c\x3d\x68\164\x74\160\163\x3a\57\x2f\154\x6f\x67\151\156\x2e\170\145\x63\x75\x72\x69\146\x79\x2e\x63\157\x6d\x2f\155\x6f\x61\163\x2f\151\156\151\x74\x69\141\x6c\151\172\145\x70\141\171\155\x65\156\x74\46\162\145\161\x75\145\163\164\x4f\162\x69\x67\151\x6e\x3d\x77\160\137\163\x68\141\x72\x65\160\x6f\151\x6e\164\137\x6f\x6e\145\x64\162\x69\166\145\137\151\156\x74\x65\147\162\x61\164\151\x6f\x6e\137\x65\156\164\x65\162\160\162\151\x73\145\x5f\x70\154\141\156\42\x20\x74\x61\162\147\145\x74\75\x22\137\142\x6c\141\156\x6b\42\x3e\120\154\x65\141\x73\x65\x20\160\x75\x72\143\x68\141\163\145\x20\x74\x68\145\40\x6c\151\x63\x65\156\x73\145\x20\164\157\40\143\157\156\x74\151\156\x75\x65\x20\165\163\x65\40\x74\x68\x69\x73\x20\x70\154\x75\x67\151\x6e\x3c\57\x61\76\x3c\x2f\x70\x3e\74\x2f\144\x69\166\x3e";
return self::$isliveri ? $UQ : $J1;
}
private function upload_files_content_for_shortcode()
{
$UQ = "\x3c\x64\x69\166\40\143\154\x61\x73\163\x3d\42\x6d\x6f\137\x64\x6f\x63\x5f\x6c\151\142\137\156\141\x76\x22\x20\163\x74\171\154\145\75\x22\x6d\141\170\55\x77\151\144\x74\150\72\x20\x31\x30\60\x30\160\170\73\x20\144\x69\x73\160\154\141\x79\x3a\x66\x6c\145\170\x3b\42\x20\151\144\75\42\155\x6f\137\x73\160\x73\137\x75\x70\154\x6f\x61\144\x5f\x66\x69\154\145\x22\76\15\xa\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\40\x3c\x64\x69\x76\x20\x73\x74\171\x6c\145\75\x22\160\141\x64\144\151\x6e\x67\x3a\61\61\x70\x78\73\x22\76\xd\xa\40\x20\x20\40\40\40\40\x20\x20\40\x20\x20\x20\40\40\40\74\151\156\x70\165\164\40\x74\171\x70\x65\75\42\146\x69\154\145\42\40\151\x64\x3d\42\x69\x6e\160\165\x74\137\146\x69\154\145\42\x2f\x3e\15\xa\x20\40\40\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\x3c\x69\x6e\160\165\x74\x20\x74\x79\x70\x65\x3d\42\x62\165\164\x74\x6f\x6e\x22\40\x69\x64\x3d\42\x75\160\x6c\157\x61\x64\137\x66\151\x6c\x65\x5f\142\x75\x74\164\157\x6e\x22\x20\143\154\x61\x73\163\x3d\42\155\157\x2d\155\x73\55\x74\141\142\x2d\x63\x6f\x6e\164\x65\156\x74\x2d\x62\x75\x74\x74\157\156\42\40\x76\141\154\165\145\x3d\x22\x55\x70\x6c\x6f\141\x64\42\57\76\xd\12\x20\40\40\40\x20\40\x20\40\x20\x20\x20\40\x3c\x2f\144\151\166\76\xd\12\40\40\x20\40\x20\x20\x20\40\x20\x20\x20\40\x3c\x64\151\166\40\x69\144\75\42\x6d\x6f\137\163\x70\163\x5f\160\x72\x6f\147\x72\145\163\163\x5f\x64\x69\x76\42\40\163\x74\x79\154\x65\75\x22\144\151\163\160\x6c\141\171\72\x6e\x6f\x6e\x65\73\x22\76\15\xa\40\40\x20\x20\40\40\x20\40\40\x20\x20\x20\x20\x20\40\40\x3c\144\x69\x76\x20\151\144\x3d\42\x6d\157\137\163\x70\163\137\x70\x72\x6f\147\162\145\163\x73\137\x62\x61\x72\137\144\151\x76\x22\40\x73\x74\171\154\x65\75\x22\167\x69\x64\164\150\72\61\60\x30\45\73\142\157\162\144\x65\x72\72\61\160\170\x20\x73\x6f\154\151\144\x20\x23\143\x63\143\x3b\x70\157\163\x69\x74\x69\157\x6e\x3a\162\145\x6c\x61\164\x69\x76\x65\73\x22\76\xd\xa\x20\40\x20\x20\40\40\40\40\40\40\x20\40\x20\x20\40\40\40\40\x20\x20\x3c\x64\151\166\x20\151\x64\75\x22\155\x6f\x5f\x73\x70\x73\137\165\160\154\157\141\144\137\160\162\157\147\x72\145\x73\163\x5f\x62\x61\162\42\76\x3c\x2f\x64\151\166\76\15\xa\40\40\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\74\144\151\x76\x20\151\144\75\42\155\157\137\x73\160\163\137\165\160\154\x6f\141\x64\137\x70\x72\x6f\147\x72\145\163\x73\137\x70\x65\x72\143\x65\156\x74\x22\x3e\74\57\144\x69\166\76\xd\12\x20\x20\40\40\x20\40\x20\x20\40\40\x20\x20\40\40\x20\x20\x3c\57\x64\x69\166\76\xd\12\40\x20\x20\40\x20\x20\40\40\40\40\x20\40\x3c\57\144\x69\x76\x3e\15\xa\x20\40\x20\40\x20\40\x20\x20\x20\40\40\40\74\144\151\166\40\x69\144\75\42\x6d\x6f\137\x73\160\x73\137\x75\160\154\x6f\x61\144\x5f\x73\x74\141\x74\x75\163\137\155\x73\147\42\x20\163\x74\171\154\x65\75\42\144\x69\163\160\154\141\x79\72\156\157\x6e\x65\73\160\141\x64\x64\x69\x6e\147\72\x31\162\x65\155\x3b\x66\x6f\156\164\x2d\x73\151\x7a\x65\72\x30\x2e\x38\x72\x65\155\73\42\76\15\xa\x20\40\40\40\40\40\40\x20\40\40\40\x20\x20\x20\x20\x20\x3c\x64\151\x76\x20\163\x74\171\x6c\145\x3d\42\x63\157\x6c\157\x72\x3a\x67\x72\x65\x65\156\x3b\42\76\x44\157\156\145\74\57\x64\x69\166\76\15\12\x20\x20\40\x20\40\x20\x20\x20\x20\40\x20\40\x3c\57\144\x69\166\x3e\xd\xa\x20\x20\40\40\x20\x20\40\40\x3c\x2f\x64\x69\166\76";
return $UQ;
}
public function mo_doc_lib_upload_api_handler()
{
if (check_ajax_referer("\155\x6f\x5f\x64\x6f\143\x5f\x6c\x69\x62\x5f\165\x70\154\x6f\141\x64\137\x5f\x6e\157\x6e\x63\x65", "\x6e\157\x6e\x63\x65", false)) {
goto Ez;
}
wp_send_json_error(array("\145\x72\x72" => "\120\x65\162\x6d\x69\163\163\x69\157\x6e\40\x64\x65\156\151\x65\x64\56"));
exit;
Ez:
$gz = sanitize_text_field($_POST["\164\x61\x73\153"]);
switch ($gz) {
case "\155\157\137\163\160\163\x5f\x67\145\164\137\165\x70\154\157\141\x64\137\x73\x65\163\163\x69\157\156":
$this->mo_sps_get_upload_session($_POST["\160\141\171\x6c\157\x61\x64"]);
goto Ow;
}
XR:
Ow:
}
public function mo_sps_embed_shortcode_sharepoint_library($lE = '', $UQ = '')
{
$lE = shortcode_atts(array("\x69\144" => '', "\x68\157\155\x65" => "\x72\x6f\157\x74"), $lE, "\x4d\x4f\137\x53\110\101\x52\105\120\x4f\111\x4e\x54\137\x4c\111\x42\x52\101\122\x59");
if (!empty($this->shortcode_added[$lE["\151\x64"]]) && $this->shortcode_added[$lE["\x69\x64"]]) {
goto zg;
}
$this->shortcode_added[$lE["\x69\x64"]] = true;
goto TT;
zg:
return;
TT:
$Js = wpWrapper::checkLicenseValidity();
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
if (empty($Js)) {
goto UT;
}
return $Js;
UT:
$current_user = wp_get_current_user();
$io = (array) $current_user->roles;
$v6 = $current_user->roles;
$current_user = wp_get_current_user();
$HE = $current_user->user_email;
$hJ = get_users();
$pV = array();
foreach ($hJ as $user) {
array_push($pV, $user->user_email);
IP:
}
w8:
$BL = wpWrapper::mo_sps_get_user_roles_and_emails();
$yL = dbWrapper::mo_sps_get_shortcode_table_row($lE["\151\x64"]);
$ff = isset($yL["\163\x63\137\141\164\x74\162\163"]) ? $yL["\x73\143\x5f\x61\164\x74\162\163"] : '';
$Se = array("\x70\145\162\x6d\x69\x73\x73\151\x6f\x6e\163", "\x73\x69\164\145\137\x69\x64", "\144\x72\151\x76\145\x5f\x69\x64", "\146\157\x6c\x64\145\162\x5f\151\144", "\150\x6f\155\x65", "\166\151\x65\167\x5f\x6d\157\x64\x65", "\141\156\x6f\x6e\x79\155\x6f\x75\163\x5f\x61\x63\143\x65\x73\163", "\163\x63\137\x70\141\164\x68", "\165\160\x6c\x6f\x61\x64\137\160\x65\162\x6d\151\163\x73\x69\157\156\x73", "\143\157\x6c\165\155\156\137\164\x6f\x5f\x61\x64\144", "\x65\154\145\155\145\x6e\x74\x73\x5f\x74\157\x5f\163\x68\x6f\x77", "\160\x72\145\166\x69\145\167\137\157\x70\x74\x69\157\x6e", "\154\151\x73\x74\x5f\x6f\160\164\x69\x6f\156", "\x70\x72\x65\166\x69\x65\x77\x5f\x77\151\144\164\150", "\x66\157\154\x64\x65\x72\x5f\x64\157\x77\156\x6c\x6f\141\x64\x5f\157\x70\164\151\157\156");
$cT = json_decode($ff, true);
foreach ($Se as $dC) {
$lE[$dC] = isset($cT[$dC]) ? $cT[$dC] : '';
ax:
}
K2:
if ($yL) {
goto u3;
}
return;
u3:
if (isset($lE["\x76\151\x65\167\x5f\155\x6f\x64\x65"]) && $lE["\x76\151\x65\167\137\x6d\157\x64\145"] == "\x47\x72\x69\144\x5f\126\151\x65\x77") {
goto x7;
}
$UQ = $this->table_content_for_shortcode($lE["\151\x64"], $lE["\x70\162\145\166\151\145\x77\x5f\167\x69\144\x74\150"]);
goto DF;
x7:
$UQ = $this->grid_content_for_shortcode($lE["\x69\x64"], $lE["\160\162\x65\x76\151\145\167\137\x77\x69\x64\x74\x68"]);
DF:
$mX = plugins_url("\x2e\x2e\x2f\151\156\x63\x6c\165\144\x65\163\x2f\143\x73\163\x2f\x75\160\x6c\x6f\141\x64\56\143\x73\x73", __FILE__);
$Em = plugins_url("\x2e\x2e\57\151\x6e\143\x6c\165\x64\x65\163\x2f\152\163\x2f\165\x70\x6c\157\x61\x64\x2e\x6a\x73", __FILE__);
wp_enqueue_style("\155\x6f\x5f\144\157\143\137\154\151\x62\x5f\x75\160\x6c\157\x61\144\137\163\160\x66\x5f\143\163\163", $mX, array());
wp_enqueue_script("\x6d\x6f\x5f\144\x6f\143\137\154\151\142\x5f\165\160\x6c\x6f\141\x64\137\x73\x70\146\x5f\152\163", $Em, array("\x6a\x71\165\x65\162\171"));
wp_localize_script("\155\x6f\x5f\144\x6f\143\x5f\154\x69\142\x5f\x75\x70\154\x6f\141\x64\x5f\163\x70\x66\137\152\163", "\165\x70\154\x6f\141\x64\103\x6f\x6e\x66\x69\x67", array("\141\152\141\x78\137\x75\162\154" => admin_url("\x61\x64\155\151\x6e\x2d\x61\x6a\141\170\56\x70\x68\160"), "\156\157\x6e\x63\145" => wp_create_nonce("\155\x6f\137\144\157\x63\137\154\x69\x62\x5f\x75\x70\154\157\141\144\137\137\156\157\x6e\143\x65"), "\150\157\x6d\x65" => $lE["\x68\x6f\x6d\145"], "\x73\151\x74\x65\x5f\151\144" => $lE["\x73\x69\164\145\x5f\151\x64"], "\x64\x72\x69\166\145\x5f\151\x64" => $lE["\x64\x72\x69\x76\x65\137\151\x64"], "\146\157\x6c\144\x65\162\137\151\x64" => $lE["\x66\157\x6c\x64\145\162\x5f\151\x64"], "\x69\x73\137\x73\x68\x6f\162\164\x63\x6f\x64\145" => true, "\x72\x6f\x6c\145\163" => $v6, "\143\165\162\162\145\156\164\x5f\162\x6f\154\x65" => $io, "\143\x75\x72\x72\x65\156\x74\137\144\x62\137\x69\x64" => $lE["\151\x64"]));
$jP = plugins_url("\x2e\x2e\57\151\x6e\x63\154\165\144\x65\163\57\152\163\x2f\144\157\143\114\151\142\x45\x6d\142\145\144\x2e\x6a\x73", __FILE__);
$pJ = plugins_url("\x2e\x2e\57\x69\156\x63\154\165\x64\x65\x73\57\143\163\x73\57\x64\x6f\143\x6c\151\142\56\x63\163\163", __FILE__);
$Ut = plugins_url("\56\56\x2f\151\156\143\154\x75\x64\x65\163\57\152\163\x2f\165\x70\x6c\x6f\x61\x64\56\x6a\x73", __FILE__);
$sY = plugins_url("\56\x2e\57\151\x6e\143\154\x75\x64\x65\x73\57\152\163\57\106\x69\154\145\x53\141\x76\145\162\56\152\163", __FILE__);
$g7 = plugins_url("\x2e\56\57\151\156\143\x6c\x75\144\145\x73\57\x6a\x73\57\x6a\163\x7a\x69\x70\137\155\151\x6e\56\152\163", __FILE__);
$de = plugins_url("\56\56\x2f\151\x6e\x63\154\165\x64\145\x73\x2f\152\x73\57\x6a\x73\x7a\x69\x70\137\x75\x74\151\154\163\56\x6a\163", __FILE__);
$QV = plugins_url("\x2e\x2e\57\151\x6e\x63\x6c\x75\144\145\x73\57\152\x73\57\x6d\x6f\x64\141\154\56\152\163", __FILE__);
$US = plugins_url("\56\x2e\x2f\151\x6e\143\x6c\165\144\145\x73\x2f\x63\163\x73\x2f\x6d\x6f\144\x61\x6c\56\x63\x73\x73", __FILE__);
wp_enqueue_style("\x64\x61\163\150\x69\x63\157\156\163");
wp_enqueue_script("\x6d\x6f\137\144\157\x63\x5f\x70\x72\x65\x76\x69\145\167\x5f\155\157\144\x61\154\x5f\152\163", $QV, array("\x6a\161\x75\x65\162\x79"));
wp_enqueue_script("\155\x6f\137\144\157\143\x5f\154\x69\x62\137\x73\x63\145\155\x62\145\x64\x5f\152\x73\137\146\x69\154\145\163\141\x76\145\162", $sY, array("\x6a\x71\x75\x65\x72\171"));
wp_enqueue_script("\x6d\157\x5f\x64\x6f\143\137\x6c\x69\142\x5f\x73\x63\145\x6d\142\x65\x64\137\x6a\163\x5f\152\163\x7a\151\160\137\x75\x72\154", $g7, array("\152\161\165\145\162\171"));
wp_enqueue_script("\x6d\157\137\144\x6f\143\137\x6c\151\142\137\163\143\x65\x6d\142\145\x64\137\x6a\x73\x5f\x6a\163\x7a\x69\160", $de, array("\152\x71\165\145\162\x79"));
wp_enqueue_style("\x6d\157\137\144\157\x63\x5f\154\151\142\137\x73\143\x65\155\142\x65\x64\137\143\x73\x73", $pJ, array());
wp_enqueue_script("\155\x6f\137\x64\157\143\x5f\x6c\151\142\137\x73\x63\145\155\x62\x65\x64\x5f\x6a\x73" . $lE["\x69\144"], $jP, array("\x6a\161\165\x65\162\x79"));
wp_enqueue_script("\x6d\157\x5f\144\x6f\x63\137\154\151\142\137\x73\143\x75\x70\154\157\x61\x64\x5f\x6a\163" . $lE["\151\x64"], $Ut, array("\x6a\161\x75\x65\x72\x79"));
$ub = array("\x72\x65\x73\x74\137\165\x72\x6c" => esc_url_raw(rest_url()), "\x61\152\141\170\x5f\x75\162\x6c" => admin_url("\141\x64\x6d\x69\156\x2d\x61\152\x61\x78\x2e\x70\150\160"), "\156\x6f\156\143\145" => wp_create_nonce("\167\160\x5f\162\145\163\x74"), "\x68\157\155\x65" => $lE["\x68\157\x6d\145"], "\x73\151\164\x65\137\x69\x64" => $lE["\x73\151\164\x65\137\151\144"], "\x64\x72\x69\x76\x65\137\x69\x64" => $lE["\x64\162\x69\166\x65\x5f\151\x64"], "\x66\x6f\154\144\x65\162\x5f\x69\144" => $lE["\146\157\154\x64\x65\x72\x5f\151\x64"], "\160\x65\162\x6d\x69\x73\163\x69\x6f\x6e\x73" => wpWrapper::mo_sps_get_option(pluginConstants::FOLDER_FILES_PERMISSIONS), "\x75\160\154\157\141\144\x5f\x70\x65\x72\155\151\x73\x73\151\x6f\x6e\163" => $lE["\x75\160\x6c\x6f\x61\144\x5f\x70\145\162\x6d\x69\x73\x73\x69\157\156\163"], "\143\x6f\154\x75\x6d\156\x5f\x74\157\x5f\x61\x64\x64" => $lE["\x63\x6f\x6c\165\155\x6e\137\x74\157\x5f\141\144\144"], "\145\154\145\x6d\145\156\x74\163\137\164\x6f\137\163\150\x6f\167" => $lE["\145\x6c\145\155\x65\156\164\x73\137\x74\x6f\x5f\x73\150\x6f\x77"], "\154\151\x73\164\x5f\157\160\164\x69\x6f\x6e" => $lE["\x6c\151\x73\164\137\157\160\x74\151\x6f\x6e"], "\x66\x6f\154\144\x65\x72\137\144\x6f\x77\156\x6c\157\x61\x64\x5f\157\x70\x74\x69\157\x6e" => $lE["\146\x6f\x6c\x64\145\162\137\144\157\x77\x6e\x6c\x6f\141\x64\x5f\x6f\x70\164\x69\157\x6e"], "\160\x72\145\x76\151\x65\167\137\157\160\x74\151\x6f\x6e" => $lE["\160\162\x65\166\x69\x65\x77\x5f\x6f\x70\164\151\x6f\x6e"], "\x70\162\145\x76\151\x65\167\137\167\x69\x64\164\x68" => $lE["\160\x72\x65\166\x69\x65\x77\137\167\151\x64\x74\x68"], "\162\x6f\x6c\x65\163" => $v6, "\166\151\x65\167\137\x6d\x6f\x64\145" => $lE["\166\x69\145\167\137\x6d\157\x64\145"], "\143\165\x72\162\145\x6e\x74\x5f\x72\157\x6c\x65" => $io, "\x69\163\x5f\x73\x68\x6f\x72\164\143\x6f\144\x65" => true, "\x63\165\162\x72\x65\156\x74\x5f\x75\163\x65\162" => $HE, "\x75\x73\145\x72\137\145\155\141\151\x6c\163" => $pV, "\x73\x63\137\x61\x74\x74\162\163" => $ff, "\x69\163\137\160\154\x75\147\151\156" => false, "\144\x62\137\151\144" => $lE["\x69\x64"], "\x75\x73\x65\162\137\162\157\154\145\x73\x5f\145\x6d\141\x69\x6c\163" => $BL, "\143\x6f\x6e\156\x65\x63\x74\157\x72" => empty($cU["\143\x6f\156\x6e\145\x63\164\x6f\x72"]) ? "\163\x68\x61\x72\145\x70\157\x69\156\164" : $cU["\143\157\x6e\x6e\x65\x63\164\x6f\x72"], "\x61\144\144\x5f\165\x73\145\162\137\151\143\x6f\x6e" => esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\x2f\151\155\x61\x67\x65\x73\57\x61\x64\x64\x5f\x75\163\x65\x72\x2e\163\x76\147"), "\x64\x6f\x77\156\154\157\141\144\x5f\167\x68\151\x74\145" => esc_url(plugin_dir_url(__FILE__) . "\x2e\56\x2f\151\x6d\141\x67\145\x73\x2f\x64\x6f\x77\156\x6c\157\141\x64\x2d\x77\x68\151\x74\x65\x2e\163\x76\147"), "\162\x65\x64\151\162\x65\x63\x74\137\167\x68\151\x74\x65" => esc_url(plugin_dir_url(__FILE__) . "\56\56\x2f\x69\x6d\141\x67\x65\x73\57\x72\x65\144\151\162\145\143\164\x2d\167\150\x69\x74\x65\56\163\166\x67"), "\x65\x72\162\157\162\137\151\x63\x6f\x6e" => esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\x2f\x69\155\141\x67\x65\163\57\x65\x72\x72\x6f\x72\56\x70\156\147"), "\151\x6e\146\x6f\x5f\151\143\x6f\x6e" => esc_url(plugin_dir_url(__FILE__) . "\56\x2e\x2f\x69\155\x61\x67\145\x73\x2f\x69\x6e\146\157\137\x62\x6c\x61\x63\x6b\x2e\163\x76\x67"), "\144\x6f\167\156\x6c\x6f\141\x64\137\142\x6c\x61\x63\x6b" => esc_url(plugin_dir_url(__FILE__) . "\56\x2e\57\x69\x6d\141\x67\x65\163\57\x64\x6f\167\x6e\154\157\141\144\137\142\x6c\141\143\x6b\56\x73\166\x67"), "\x72\x65\x64\151\x72\145\x63\x74\137\x62\154\141\143\153" => esc_url(plugin_dir_url(__FILE__) . "\56\x2e\x2f\151\155\141\147\145\163\x2f\162\x65\144\x69\162\x65\x63\x74\56\163\x76\147"), "\163\150\141\162\145\160\x6f\151\x6e\x74" => esc_url(plugin_dir_url(__FILE__) . "\56\x2e\x2f\x69\x6d\x61\147\x65\x73\57\155\x69\x63\x72\157\163\157\x66\x74\x2d\x73\150\141\x72\x65\160\157\151\x6e\x74\56\x73\166\x67"), "\157\156\x65\144\x72\x69\x76\145" => esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\x2f\x69\x6d\141\x67\x65\163\x2f\x6f\156\x65\x64\x72\151\166\145\x2e\160\x6e\147"), "\162\x69\x67\150\164\x5f\167\150\151\164\145" => esc_url(plugin_dir_url(__FILE__) . "\56\56\x2f\151\155\x61\x67\x65\163\57\162\x69\x67\150\164\x2e\163\x76\x67"), "\x6c\x65\146\x74\x5f\x77\x68\x69\164\x65" => esc_url(plugin_dir_url(__FILE__) . "\56\56\57\151\155\141\147\x65\x73\x2f\154\x65\146\164\x2e\163\166\147"), "\x6c\151\x73\x74\x5f\151\x63\x6f\x6e" => esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\x2f\151\155\x61\147\145\163\57\x6c\151\163\x74\x5f\144\x6c\56\x73\x76\147"), "\144\x6f\167\156\154\157\141\144\x5f\151\x63\157\156" => esc_url(plugin_dir_url(__FILE__) . "\x2e\56\57\x69\x6d\x61\x67\145\163\x2f\144\157\x77\x6e\154\x6f\141\144\x2e\163\166\147"), "\x72\x65\144\151\162\x65\143\164\x5f\151\x63\157\x6e" => esc_url(plugin_dir_url(__FILE__) . "\x2e\56\x2f\151\x6d\x61\x67\145\163\57\162\x65\x64\151\x72\x65\143\164\x2e\x73\x76\147"), "\155\x69\155\145\x5f\x74\x79\160\x65\x73" => pluginConstants::MIME_TYPES, "\146\157\x6c\144\145\162\x5f\151\143\157\156" => esc_url(plugin_dir_url(__FILE__) . "\56\56\x2f\x69\x6d\141\147\x65\x73\57\x66\x6f\x6c\x64\x65\x72\x2e\163\166\x67"), "\x6c\x6f\141\x64\137\151\x63\x6f\x6e" => esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\x2f\x69\155\141\x67\x65\x73\57\x69\x6d\141\147\145\137\x6c\x6f\x61\x64\x65\x72\56\x67\x69\x66"), "\154\x6f\141\x64\137\x69\x63\157\156\x5f\164\x72\165\x65" => esc_url(plugin_dir_url(__FILE__) . "\56\x2e\x2f\x69\155\x61\x67\x65\x73\57\x6c\157\x61\144\x65\x72\x2e\x67\151\x66"), "\146\151\154\x65\x5f\151\143\x6f\156" => esc_url(plugin_dir_url(__FILE__) . "\x2e\56\x2f\x69\x6d\141\147\x65\x73\57\146\151\x6c\145\56\x70\156\147"), "\167\x6f\x72\144\x64\x6f\143\x5f\151\x63\157\156" => esc_url(plugin_dir_url(__FILE__) . "\56\56\57\151\x6d\141\147\x65\x73\x2f\155\x73\x77\157\x72\x64\137\x66\x69\x6c\x65\x2e\x70\x6e\x67"), "\x65\x78\143\x65\154\x64\157\143\137\x69\x63\x6f\x6e" => esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\57\151\x6d\141\x67\x65\x73\57\155\163\x65\x78\143\x65\x6c\137\146\151\154\x65\x2e\160\156\147"), "\160\144\x66\x64\x6f\143\x5f\x69\x63\x6f\x6e" => esc_url(plugin_dir_url(__FILE__) . "\56\x2e\57\x69\155\141\x67\x65\163\57\160\x64\146\137\x66\x69\x6c\145\x2e\160\156\147"), "\x65\155\x70\x74\x79\x5f\x66\x6f\154\144\x65\162\x5f\x69\155\141\147\145" => esc_url(plugin_dir_url(__FILE__) . "\56\x2e\x2f\151\x6d\141\x67\x65\x73\x2f\145\155\160\x74\171\x5f\146\x6f\154\144\x65\162\x5f\x64\162\x6f\160\56\x73\x76\x67"), "\165\162\154\137\151\x63\x6f\x6e" => esc_url(plugin_dir_url(__FILE__) . "\56\56\x2f\x69\155\141\x67\145\163\x2f\x62\x72\157\167\163\145\162\56\160\x6e\x67"), "\151\163\x6c\x69\166\x65\162\151\x66\171" => self::$isliveri);
wp_localize_script("\155\x6f\137\x64\157\143\137\x6c\x69\142\x5f\x73\x63\145\155\x62\145\144\x5f\152\x73" . $lE["\151\144"], "\x65\155\142\x65\144\x43\x6f\156\x66\151\147", $ub);
$J1 = "\74\144\x69\x76\40\151\144\x3d\x22\163\160\163\x5f\x65\155\x62\145\144\137\x63\x6f\156\x74\141\151\x6e\145\x72\42\x20\x73\164\x79\x6c\x65\x3d\x22\144\151\163\x70\x6c\141\171\x3a\x62\154\x6f\x63\153\73\x6d\141\162\147\151\x6e\55\141\165\x74\x6f\73\x68\145\x69\147\150\164\72\61\x30\60\x25\73\x62\x6f\162\144\x65\x72\72\156\x6f\156\145\73\x70\141\144\x64\x69\156\x67\x3a\60\56\66\162\145\155\40\x31\56\62\162\x65\x6d\x3b\142\x61\143\x6b\x67\x72\157\x75\x6e\x64\x2d\143\157\x6c\x6f\x72\x3a\43\146\x32\x34\x36\67\x34\x3b\42\x3e\xd\12\x20\x20\40\40\40\x20\40\40\x3c\x70\x20\x73\164\171\154\145\x3d\x22\164\145\170\x74\55\141\154\151\x67\x6e\72\143\x65\x6e\x74\x65\x72\73\x6d\141\x72\147\x69\x6e\x3a\60\x3b\42\x3e\74\141\40\x73\x74\171\x6c\x65\x3d\42\143\157\154\x6f\x72\x3a\40\43\146\x66\x66\x3b\xd\12\40\x20\40\40\40\x20\40\40\x74\145\170\x74\x2d\144\x65\x63\x6f\x72\x61\x74\x69\x6f\156\x3a\40\156\157\156\145\x3b\146\157\x6e\x74\x2d\x77\145\151\147\x68\x74\x3a\40\65\x30\x30\x3b\42\40\150\162\x65\x66\x3d\42\x68\164\164\x70\163\72\57\x2f\x6c\157\x67\151\156\x2e\170\x65\x63\165\162\151\x66\x79\x2e\143\x6f\155\x2f\155\157\x61\163\x2f\154\x6f\x67\x69\156\77\162\x65\144\x69\162\x65\143\164\x55\x72\x6c\x3d\x68\x74\164\160\x73\x3a\x2f\x2f\x6c\157\x67\x69\x6e\56\x78\x65\143\165\x72\151\146\171\x2e\x63\157\x6d\57\155\x6f\141\x73\x2f\x69\156\x69\164\151\x61\154\151\172\145\160\141\171\x6d\145\156\164\x26\x72\145\x71\165\x65\x73\164\x4f\x72\151\147\151\x6e\75\x77\x70\137\x73\x68\141\162\145\160\x6f\x69\156\164\x5f\x6f\x6e\x65\144\x72\x69\x76\x65\x5f\x69\x6e\164\145\x67\x72\141\x74\x69\x6f\x6e\137\x65\156\x74\145\162\160\162\151\163\145\x5f\160\x6c\x61\x6e\42\x20\164\x61\162\x67\x65\164\75\x22\137\x62\154\x61\x6e\153\42\x3e\120\154\145\141\x73\145\40\160\x75\162\143\x68\x61\163\x65\x20\164\x68\x65\40\x6c\151\x63\x65\x6e\163\145\x20\x74\x6f\x20\143\157\156\164\x69\156\165\145\x20\x75\x73\x65\x20\x74\150\151\x73\x20\160\154\x75\x67\151\x6e\74\x2f\x61\x3e\x3c\57\160\76\x3c\57\x64\x69\x76\x3e";
return self::$isliveri ? $UQ : $J1;
}
public function mo_sps_embed_shortcode_sharepoint_List($lE = '', $UQ = '')
{
$current_user = wp_get_current_user();
$io = (array) $current_user->roles;
$v6 = $current_user->roles;
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto XB;
}
return $Js;
XB:
$lE = shortcode_atts(array("\x68\157\155\x65" => "\162\157\x6f\x74", "\x73\151\164\145\x5f\x69\x64" => '', "\144\x72\151\166\145\x5f\151\144" => '', "\154\151\x73\164\x5f\x65\155\142\x65\144\x64\x69\156\147\137\x63\x6f\x6c\165\x6d\156\x73" => '', "\154\x69\x73\164\137\145\155\142\x65\144\144\151\156\x67\137\143\157\154\165\155\x6e\x73\137\167\151\x64\164\150" => ''), $lE, "\x4d\117\137\x53\110\x41\x52\x45\120\117\111\116\124\x5f\114\111\123\124");
$UQ = "\15\xa\40\x20\x20\40\40\40\x20\40\74\x64\x69\166\40\163\164\171\x6c\145\75\42\142\x6f\x72\x64\145\x72\x3a\x31\x70\170\x20\x73\x6f\x6c\151\x64\40\43\x65\145\145\x3b\155\141\170\55\x77\151\x64\x74\x68\72\x31\x35\x30\60\160\x78\x3b\42\x20\x69\x64\75\42\x6d\x6f\x5f\x64\x6f\x63\137\x6c\x69\142\137\x74\x61\x62\154\x65\x5f\137\154\x6f\141\x64\145\162\x22\x3e\x3c\151\x6d\x67\x20\x73\164\171\154\145\75\42\155\x61\x72\x67\151\x6e\55\x74\x6f\160\72\63\x30\x70\170\x3b\x77\151\x64\164\x68\x3a\63\65\x70\x78\73\x68\x65\151\x67\150\164\x3a\x33\65\160\x78\x3b\144\x69\x73\160\154\141\171\72\146\x6c\145\170\73\141\154\x69\147\x6e\x2d\x69\164\145\x6d\163\x3a\143\145\156\x74\x65\x72\73\x64\x69\163\160\154\141\171\x3a\40\x62\x6c\x6f\143\x6b\x3b\155\141\x72\x67\x69\156\55\154\x65\146\x74\72\x20\x61\x75\164\x6f\x3b\155\x61\162\147\151\156\x2d\162\x69\x67\150\x74\x3a\141\x75\164\x6f\x3b\x22\x20\x73\162\x63\x3d\42" . esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\x2f\x69\155\141\x67\x65\163\x2f\154\157\141\144\x65\162\56\147\x69\x66") . "\x22\x3e\x3c\57\x64\x69\x76\76\15\xa\40\x20\40\40\40\40\x20\x20\x3c\164\x61\x62\154\145\x20\143\x6c\141\163\163\x3d\x22\x74\141\x62\x6c\x65\42\40\151\144\x3d\x22\164\141\142\154\x65\x22\x3e\74\x2f\x74\141\x62\x6c\x65\x3e\15\12\40\40\40\x20\x20\x20\x20\40";
$jP = plugins_url("\56\56\x2f\x69\156\143\154\x75\144\x65\163\x2f\x6a\x73\57\144\157\x63\x4c\151\x62\105\155\142\x65\x64\x2e\x6a\x73", __FILE__);
$pJ = plugins_url("\56\56\x2f\151\x6e\x63\154\165\x64\x65\163\x2f\x63\163\163\57\x64\157\143\x6c\151\x62\56\143\163\163", __FILE__);
wp_enqueue_style("\155\x6f\x5f\144\157\x63\x5f\x6c\151\x62\x5f\x73\x63\x65\x6d\142\x65\144\137\x63\163\163", $pJ, array());
wp_enqueue_script("\x6d\157\x5f\x64\157\143\x5f\x6c\151\142\x5f\x73\x63\x65\155\142\x65\x64\x5f\x6a\x73", $jP, array("\x6a\161\165\145\x72\x79"));
wp_localize_script("\x6d\x6f\137\x64\x6f\143\x5f\154\151\142\x5f\163\x63\x65\x6d\142\x65\144\137\152\x73", "\x65\x6d\142\x65\144\103\x6f\156\146\151\x67", array("\x72\x65\x73\x74\x5f\x75\x72\154" => esc_url_raw(rest_url()), "\141\x6a\141\x78\137\x75\162\154" => admin_url("\141\144\x6d\151\x6e\55\141\152\141\170\x2e\x70\150\x70"), "\x6e\x6f\x6e\x63\x65" => wp_create_nonce("\x77\x70\137\162\x65\x73\164"), "\150\157\x6d\145" => $lE["\150\157\x6d\x65"], "\x73\x69\164\x65\x5f\x69\x64" => $lE["\x73\x69\x74\x65\137\x69\144"], "\x64\x72\x69\166\145\137\x69\x64" => $lE["\x64\x72\x69\x76\145\137\x69\144"], "\154\x69\x73\164\137\145\155\x62\145\x64\x64\151\156\147\137\x63\157\x6c\165\155\x6e\163" => $lE["\x6c\151\x73\164\137\x65\x6d\x62\x65\144\144\x69\156\147\x5f\143\x6f\x6c\x75\x6d\156\x73"], "\154\x69\x73\164\x5f\145\x6d\142\x65\144\144\151\156\147\137\x63\157\x6c\x75\155\156\x73\x5f\167\151\x64\x74\150" => $lE["\x6c\x69\x73\x74\137\145\x6d\142\145\x64\x64\151\x6e\147\x5f\143\157\x6c\x75\x6d\x6e\163\x5f\167\x69\x64\164\150"], "\162\x6f\x6c\x65\x73" => $v6, "\143\x75\162\162\x65\156\164\137\x72\x6f\x6c\145" => $io, "\x69\163\x5f\x6c\151\163\164\x5f\163\x68\157\162\164\x63\157\x64\x65" => true, "\x6d\151\x6d\145\x5f\x74\171\x70\x65\x73" => pluginConstants::MIME_TYPES, "\146\x6f\154\144\x65\x72\x5f\x69\143\x6f\x6e" => esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\x2f\151\x6d\x61\147\x65\x73\x2f\146\157\154\x64\x65\x72\x2e\160\156\x67"), "\154\x6f\141\x64\x5f\151\143\157\156" => esc_url(plugin_dir_url(__FILE__) . "\x2e\56\x2f\x69\155\141\147\x65\x73\x2f\151\155\x61\147\x65\x5f\x6c\x6f\x61\x64\145\162\x2e\147\151\x66"), "\x6c\157\x61\144\137\151\x63\x6f\156\x5f\164\x72\x75\145" => esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\x2f\x69\155\141\x67\x65\x73\57\154\x6f\x61\x64\x65\x72\56\x67\x69\146"), "\146\x69\x6c\145\137\x69\143\x6f\156" => esc_url(plugin_dir_url(__FILE__) . "\56\56\57\x69\x6d\141\x67\145\x73\57\x66\x69\154\145\x2e\x70\156\147"), "\x77\x6f\x72\144\144\x6f\x63\x5f\151\x63\x6f\156" => esc_url(plugin_dir_url(__FILE__) . "\56\56\x2f\151\155\141\x67\145\163\57\155\x73\167\x6f\x72\x64\x5f\146\151\x6c\145\x2e\160\x6e\147"), "\145\x78\143\145\154\x64\157\143\x5f\151\x63\157\156" => esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\57\x69\155\x61\147\145\163\x2f\x6d\163\145\170\143\x65\154\x5f\146\151\x6c\145\x2e\x70\x6e\x67"), "\160\x64\x66\x64\x6f\143\x5f\x69\143\157\156" => esc_url(plugin_dir_url(__FILE__) . "\x2e\56\x2f\151\155\x61\147\x65\x73\57\160\x64\146\x5f\x66\151\x6c\145\56\x70\x6e\x67"), "\x64\157\x77\156\154\x6f\141\x64\x5f\151\x63\157\x6e" => esc_url(plugin_dir_url(__FILE__) . "\56\56\x2f\x69\155\141\x67\145\163\x2f\104\x6f\x77\156\154\x6f\x61\144\137\x63\165\x73\x74\157\x6d\145\162\x2e\163\166\x67"), "\x65\155\160\x74\171\x5f\x66\157\x6c\144\x65\x72\137\x69\x6d\141\147\x65" => esc_url(plugin_dir_url(__FILE__) . "\56\56\x2f\151\x6d\x61\x67\145\163\57\145\x6d\x70\164\x79\x5f\x66\157\154\x64\x65\162\x5f\x64\x72\x6f\x70\x2e\x73\x76\147"), "\165\162\x6c\137\x69\143\x6f\x6e" => esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\x2f\x69\155\x61\x67\x65\163\57\x62\x72\157\167\x73\145\162\x2e\160\156\x67")));
$J1 = "\x3c\x64\x69\166\x20\151\144\x3d\x22\x73\x70\x73\x5f\x65\x6d\x62\x65\144\x5f\x63\x6f\156\164\x61\151\x6e\x65\162\x22\x20\x73\164\x79\x6c\x65\75\x22\x64\x69\x73\x70\x6c\x61\171\x3a\142\x6c\157\x63\153\x3b\155\x61\x72\x67\x69\x6e\x2d\141\165\x74\x6f\x3b\150\145\151\x67\150\x74\x3a" . "\61\60\60\45" . "\x3b\142\157\162\x64\x65\x72\72\x6e\157\x6e\x65\x3b\160\141\x64\x64\x69\x6e\x67\72\60\x2e\x36\162\x65\155\40\x31\x2e\62\162\x65\155\73\142\141\x63\153\x67\x72\157\165\x6e\144\55\143\x6f\x6c\157\162\72\x23\146\x32\x34\x36\67\x34\x3b\x22\76\15\xa\40\40\x20\x20\40\40\40\40\x3c\160\40\x73\x74\171\x6c\145\75\x22\164\145\x78\164\x2d\x61\x6c\151\x67\156\x3a\x63\145\x6e\x74\x65\162\x3b\155\141\x72\147\x69\x6e\72\60\73\42\x3e\74\x61\40\163\x74\171\x6c\145\75\42\x63\157\154\x6f\162\x3a\40\x23\146\x66\146\x3b\15\12\40\x20\40\40\40\x20\x20\40\x74\145\x78\x74\55\144\x65\x63\157\x72\141\x74\151\x6f\x6e\x3a\x20\x6e\157\156\x65\x3b\x66\x6f\x6e\x74\x2d\167\145\151\x67\150\164\x3a\40\65\60\x30\x3b\42\40\150\162\x65\146\75\x22\150\164\164\x70\163\x3a\x2f\57\154\x6f\147\151\x6e\x2e\x78\x65\143\165\162\x69\146\x79\56\143\157\x6d\57\x6d\157\x61\163\57\154\x6f\147\x69\156\x3f\162\x65\144\x69\x72\145\143\x74\125\x72\x6c\75\150\x74\164\x70\163\72\x2f\57\x6c\157\147\151\156\x2e\x78\x65\x63\165\162\151\x66\171\x2e\x63\157\x6d\57\155\x6f\141\163\x2f\151\156\x69\x74\151\x61\x6c\x69\x7a\145\x70\x61\x79\x6d\145\156\164\x26\162\145\x71\165\145\x73\164\117\162\x69\x67\x69\x6e\75\167\x70\x5f\x73\150\x61\x72\145\160\157\151\x6e\164\137\x6f\x6e\145\x64\162\x69\x76\x65\137\151\x6e\x74\145\x67\162\141\x74\151\x6f\x6e\137\145\156\x74\x65\162\160\x72\x69\x73\145\x5f\160\x6c\141\x6e\x22\40\x74\141\x72\x67\145\164\x3d\x22\137\x62\154\x61\156\153\x22\x3e\120\154\x65\141\163\x65\x20\160\x75\162\x63\x68\x61\163\x65\x20\x74\x68\145\x20\x6c\151\143\x65\x6e\x73\x65\40\x74\x6f\x20\143\157\x6e\x74\x69\156\x75\x65\40\x75\163\x65\x20\x74\x68\151\163\x20\160\154\x75\x67\x69\x6e\74\57\141\76\x3c\x2f\160\76\x3c\x2f\144\151\166\x3e";
return self::$isliveri ? $UQ : $J1;
}
public function mo_sps_embed_shortcode_sharepoint_file_list($lE, $UQ = '')
{
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto Qo;
}
return $Js;
Qo:
$pJ = plugins_url("\56\x2e\57\151\156\x63\154\x75\144\145\x73\x2f\x63\x73\x73\x2f\x64\157\x63\x6c\x69\x62\x2e\143\163\x73", __FILE__);
wp_enqueue_style("\x6d\x6f\137\x64\x6f\x63\137\154\151\142\137\x73\143\145\x6d\142\x65\144\x5f\x63\163\x73", $pJ, array());
return do_shortcode($UQ);
}
public function mo_sps_embed_shortcode_sharepoint_video($lE = '', $UQ = '')
{
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto u0;
}
return $Js;
u0:
$lE = shortcode_atts(array("\150\157\155\x65" => "\162\157\x6f\164", "\x73\x69\164\145\x5f\151\144" => '', "\x64\x72\151\166\x65\x5f\x69\x64" => '', "\146\x6f\154\x64\x65\162\137\x69\144" => '', "\166\x69\145\167\137\155\157\144\x65" => '', "\151\x74\x65\x6d\x5f\x69\x64" => '', "\x68\145\151\x67\x68\x74" => '', "\x77\x69\x64\164\150" => ''), $lE, "\x4d\117\x5f\123\110\x41\x52\x45\x50\117\x49\116\124\x5f\x53\120\x45\103\111\106\111\103\x5f\106\111\x4c\x45");
if (isset($lE["\166\151\x65\x77\x5f\155\157\x64\145"])) {
goto vU;
}
$lE["\166\151\145\x77\x5f\155\x6f\x64\x65"] = "\124\x61\x62\x6c\145\137\x56\151\x65\x77";
vU:
if (isset($lE["\x77\x69\x64\x74\x68"])) {
goto VP;
}
$lE["\167\151\x64\x74\x68"] = "\x39\60\x30\x70\170";
VP:
if (isset($lE["\150\x65\x69\x67\150\x74"])) {
goto Pe;
}
$lE["\150\145\151\x67\150\164"] = "\x34\x30\60\x70\x78";
Pe:
$ON = admin_url("\x61\x64\x6d\x69\156\55\x61\152\x61\x78\56\160\150\160") . "\77\x61\143\164\151\x6f\x6e\75\155\x6f\137\163\160\x73\137\163\x79\156\x63\137\146\x69\x6c\x65\x26\x64\162\151\166\x65\x5f\x69\144\75" . $lE["\x64\162\151\166\x65\137\x69\144"] . "\46\146\151\154\145\x5f\151\144\x3d" . $lE["\x69\x74\x65\x6d\137\x69\144"];
$UQ = "\x3c\151\x66\162\141\x6d\145\40\x69\144\75\42\166\x69\x64\x65\x6f\106\x72\x61\155\x65\x5f" . $lE["\x69\164\145\x6d\x5f\151\144"] . "\42\40\163\x72\x63\x3d\x22" . $ON . "\42\40\141\154\x6c\157\x77\75\xe2\x80\x9d\x61\143\143\x65\x6c\x65\x72\157\155\145\x74\145\162\x3b\x20\x61\165\164\157\160\x6c\x61\x79\x3b\40\143\x6c\151\x70\142\x6f\x61\x72\x64\x2d\167\x72\x69\164\145\x3b\40\x65\x6e\143\x72\x79\x70\x74\145\x64\x2d\x6d\x65\144\x69\x61\x3b\x20\147\x79\x72\x6f\x73\x63\x6f\x70\x65\x3b\x20\x70\x69\x63\164\165\162\x65\x2d\x69\x6e\x2d\x70\x69\143\x74\x75\162\145\xe2\x80\x9d\40\x61\154\154\157\167\146\x75\x6c\x6c\x73\143\x72\145\x65\156\40\x61\165\163\162\143\x3d\42\x22\40\x77\151\144\164\x68\x3d\x22" . $lE["\167\x69\144\164\x68"] . "\42\40\150\145\x69\x67\150\164\75\42" . $lE["\x68\145\151\x67\x68\164"] . "\42\40\x73\143\x72\x6f\x6c\x6c\x69\156\x67\x3d\42\x61\x75\x74\157\42\40\163\x74\x79\154\145\75\x22\x64\x69\163\160\x6c\141\x79\x3a\x66\x6c\x65\170\x3b\40\155\141\x78\55\x77\151\144\x74\x68\72\x20\156\x6f\156\145\42\x20\x74\151\164\154\145\x3d\42\x22\76\x3c\x2f\151\146\162\141\155\145\76";
$pJ = plugins_url("\56\x2e\x2f\x69\156\x63\x6c\165\x64\x65\163\57\143\163\x73\57\144\157\x63\154\x69\142\56\143\x73\x73", __FILE__);
wp_enqueue_style("\155\157\137\144\x6f\x63\x5f\154\x69\x62\x5f\x73\x63\x65\155\142\x65\x64\137\143\x73\x73", $pJ, array());
$J1 = "\x3c\144\x69\166\40\151\x64\x3d\42\x73\x70\163\x5f\x65\155\x62\x65\x64\x5f\143\x6f\156\164\141\x69\x6e\x65\x72\42\x20\x73\x74\x79\154\145\75\42\144\x69\163\160\x6c\x61\x79\72\142\154\157\x63\x6b\x3b\155\141\x72\147\x69\x6e\55\141\165\x74\x6f\x3b\150\x65\151\x67\150\164\72" . "\x31\60\x30\45" . "\73\x62\157\x72\x64\x65\x72\x3a\156\x6f\156\145\x3b\160\141\144\x64\x69\x6e\x67\72\60\56\66\x72\145\155\40\61\56\62\x72\x65\x6d\x3b\x62\x61\x63\x6b\x67\x72\157\x75\156\144\55\143\x6f\154\157\x72\72\x23\146\62\x34\x36\x37\64\73\x22\76\15\xa\x20\x20\40\x20\40\x20\x20\40\74\x70\40\x73\x74\171\154\x65\x3d\42\164\145\170\x74\55\141\154\151\x67\x6e\72\143\x65\156\x74\145\x72\73\155\141\162\x67\x69\x6e\72\60\x3b\x22\76\74\141\x20\x73\164\x79\154\x65\75\42\x63\157\x6c\x6f\162\x3a\x20\x23\x66\x66\x66\x3b\15\12\x20\x20\x20\40\x20\x20\x20\x20\164\145\x78\164\55\144\145\x63\x6f\162\x61\x74\x69\157\x6e\72\40\156\x6f\x6e\x65\73\x66\157\x6e\164\x2d\167\145\151\x67\x68\164\72\40\65\60\x30\x3b\x22\x20\x68\x72\145\x66\75\42\150\164\x74\160\x73\x3a\x2f\57\x6c\x6f\x67\x69\156\56\x78\145\x63\165\x72\151\146\x79\56\143\x6f\155\57\x6d\x6f\x61\163\x2f\x6c\x6f\x67\x69\156\x3f\x72\145\x64\151\x72\145\x63\164\x55\162\x6c\75\x68\164\x74\x70\x73\x3a\57\x2f\x6c\x6f\147\151\156\56\170\x65\143\165\x72\x69\146\x79\x2e\143\x6f\x6d\57\x6d\x6f\141\163\57\x69\x6e\x69\164\151\141\154\x69\x7a\x65\160\x61\x79\x6d\145\x6e\164\46\x72\145\x71\165\x65\x73\x74\117\162\x69\147\x69\156\75\x77\160\137\x73\x68\x61\162\x65\x70\157\151\156\164\137\x6f\x6e\145\144\162\151\166\145\x5f\151\156\x74\145\147\x72\141\x74\151\x6f\156\137\x65\156\x74\x65\x72\x70\x72\151\163\145\x5f\x70\x6c\x61\156\42\x20\164\x61\162\147\145\164\75\42\x5f\x62\154\x61\156\153\42\x3e\120\x6c\x65\141\x73\145\40\160\165\162\143\150\x61\x73\145\x20\164\x68\x65\x20\x6c\x69\143\x65\x6e\163\145\x20\164\x6f\40\143\157\156\x74\151\x6e\x75\x65\x20\x75\163\145\x20\164\150\151\163\40\x70\x6c\165\147\x69\156\x3c\x2f\141\76\x3c\57\160\76\x3c\57\x64\151\x76\x3e";
return self::$isliveri ? $UQ : $J1;
}
public function mo_sps_embed_shortcode_sharepoint_events()
{
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto sw;
}
return $Js;
sw:
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$Pv = Azure::getClient($cU);
$xb = $Pv->mo_sps_get_all_site_events();
$xb = sharepointWrapper::mo_sps_process_sharepoint_event_items($xb);
$UQ = "\15\xa\40\x20\40\x20\x20\x20\40\40\74\x64\x69\166\x20\x73\164\x79\x6c\x65\x3d\x22\x64\151\163\160\x6c\141\171\72\x66\x6c\x65\170\x3b\x6a\165\x73\x74\x69\x66\171\55\143\157\156\164\145\156\164\x3a\x66\x6c\x65\170\55\x73\164\141\x72\164\x3b\141\x6c\151\x67\x6e\x2d\x69\164\145\x6d\x73\x3a\x63\x65\156\164\x65\x72\x3b\x6d\141\170\x2d\x77\151\x64\164\x68\72\x31\x30\60\45\73\150\x65\x69\x67\x68\x74\72\66\x30\60\x70\x78\73\x70\x61\144\144\151\156\x67\72\x31\x30\x70\170\x3b\x6f\166\x65\x72\x66\154\x6f\x77\x2d\171\x3a\163\x63\162\157\x6c\x6c\73\x22\x3e\15\xa\x20\x20\40\x20\x20\x20\x20\40";
foreach ($xb as $Gb) {
$QZ = '';
if (empty($Gb["\x42\141\156\x6e\145\162\x49\155\x61\147\145\125\x72\154"])) {
goto jR;
}
$QZ = $Pv->mo_sps_get_banerurl_for_an_artcile($Gb["\102\141\x6e\x6e\x65\x72\x49\x6d\x61\x67\x65\125\162\x6c"]);
jR:
$y2 = strtotime($Gb["\105\x76\x65\x6e\x74\104\x61\164\x65"]);
$y2 = getdate($y2);
$Qw = strtotime($Gb["\x45\156\144\x44\141\x74\x65"]);
$Qw = getdate($Qw);
$UX = strtoupper(substr($y2["\155\x6f\156\x74\150"], 0, 3));
if (!($y2["\155\x6f\156\164\x68"] != $Qw["\x6d\x6f\156\x74\150"])) {
goto iL;
}
$UX = $UX . "\55" . strtoupper(substr($Qw["\155\157\x6e\164\x68"], 0, 3));
iL:
$nK = $y2["\x6d\144\141\x79"];
if (!($y2["\155\x64\x61\x79"] != $Qw["\x6d\x64\x61\x79"])) {
goto aa;
}
$nK = $nK . "\55" . $Qw["\x6d\144\x61\171"];
aa:
$UQ = $UQ . "\15\xa\x20\x20\40\40\x20\x20\x20\x20\40\40\40\40\40\40\x20\40\x3c\x64\151\166\40\x73\x74\171\x6c\x65\x3d\42\x64\x69\163\x70\154\141\x79\72\x66\x6c\145\x78\73\152\165\163\x74\x69\x66\x79\x2d\x63\157\156\x74\145\156\x74\x3a\x66\x6c\x65\x78\x2d\163\164\141\x72\164\73\x61\x6c\151\147\156\55\151\164\145\x6d\163\x3a\x63\x65\x6e\x74\x65\x72\x3b\146\x6c\145\170\55\144\x69\x72\145\143\164\151\157\156\72\x63\157\x6c\x75\155\156\73\155\x61\x72\147\151\156\x3a\61\x30\x70\x78\73\x62\157\x78\55\163\x68\x61\144\x6f\167\72\40\162\147\x62\x61\50\x30\x2c\40\60\54\40\x30\54\40\x30\x2e\x31\65\51\x20\x31\56\x39\65\160\170\x20\61\x2e\71\x35\160\170\x20\x32\56\x36\x70\x78\73\x22\76";
if (!empty($QZ)) {
goto OE;
}
$UQ = $UQ . "\xd\12\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\40\x20\40\x20\40\40\x3c\144\x69\x76\40\x73\x74\171\154\x65\x3d\42\x63\x6f\154\157\x72\x3a\43\x66\x66\146\73\x70\157\x73\151\x74\151\x6f\156\72\x72\x65\x6c\x61\164\151\166\x65\x3b\42\76\15\12\40\x20\x20\x20\40\40\40\x20\40\40\40\40\40\x20\x20\40\40\40\x20\x20\x20\40\x20\40\74\x64\x69\x76\40\163\x74\171\154\145\75\x22\x64\x69\163\x70\x6c\141\x79\x3a\146\154\x65\170\73\x6a\x75\x73\164\x69\x66\171\55\143\x6f\156\164\145\x6e\x74\72\143\x65\x6e\164\145\x72\x3b\141\154\151\147\x6e\55\x69\x74\x65\x6d\163\72\143\145\156\164\x65\x72\x3b\x77\151\x64\x74\150\x3a\x32\x39\65\x70\170\x3b\150\145\151\147\x68\x74\72\x31\x36\62\x70\170\73\x62\x61\x63\x6b\x67\x72\157\x75\x6e\144\x2d\x69\x6d\141\x67\145\x3a\154\151\x6e\145\x61\162\x2d\x67\162\141\144\x69\x65\156\164\50\x31\164\165\162\x6e\54\162\147\x62\x61\x28\65\61\54\65\61\54\x35\x31\x2c\56\x39\x29\54\162\147\142\x61\x28\65\x31\x2c\65\x31\x2c\x35\61\54\60\51\40\x39\67\x2e\71\62\x25\51\73\42\42\x3e\74\57\x64\x69\166\76\xd\xa\40\x20\40\40\40\40\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\x20\x20\40\40\x20\40\x3c\x73\x70\x61\156\40\x73\164\x79\154\145\75\x22\x70\x6f\163\x69\x74\151\157\x6e\x3a\x61\x62\163\x6f\x6c\x75\x74\145\73\x6c\x65\x66\x74\x3a\62\x30\x70\x78\73\x74\157\x70\x3a\x39\60\x70\170\73\146\x6f\x6e\164\x2d\x73\x69\x7a\145\x3a\62\60\x70\x78\x3b\x66\157\x6e\x74\55\167\145\151\147\x68\x74\x3a\x36\x30\60\73\x22\76" . $UX . "\x3c\57\x73\x70\x61\156\76\xd\xa\x20\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\74\163\160\x61\x6e\40\x73\x74\x79\x6c\x65\x3d\x22\x70\157\x73\x69\164\x69\157\156\x3a\141\x62\x73\x6f\154\165\x74\145\x3b\154\x65\146\x74\x3a\62\x30\x70\170\x3b\x74\157\x70\x3a\61\60\x35\160\170\x3b\x66\x6f\x6e\x74\55\163\151\x7a\145\x3a\x34\x32\x70\170\x3b\146\x6f\156\164\x2d\x77\x65\x69\x67\150\x74\72\x37\60\x30\x3b\x22\76" . $nK . "\74\x2f\x73\x70\141\x6e\76\15\xa\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\40\40\40\x20\40\40\40\40\40\x3c\57\144\151\x76\x3e";
goto Rq;
OE:
$UQ = $UQ . "\xd\12\x20\40\x20\40\x20\40\x20\x20\40\x20\40\x20\x20\40\x20\40\40\x20\x20\40\74\x64\x69\166\40\x73\164\171\x6c\145\x3d\x22\x63\157\154\x6f\162\72\x23\x66\x66\x66\73\160\157\163\151\164\151\x6f\156\x3a\x72\x65\154\x61\x74\151\166\145\x3b\x22\x3e\xd\xa\x20\40\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\40\40\40\40\40\x20\40\40\40\40\x20\74\151\155\147\40\163\x74\x79\154\x65\x3d\42\x64\151\163\x70\154\x61\x79\x3a\x66\154\145\170\73\x6a\165\x73\164\x69\146\171\55\143\x6f\x6e\x74\145\156\x74\72\x63\x65\x6e\x74\145\x72\x3b\x61\x6c\151\147\156\x2d\x69\x74\145\155\x73\72\x63\145\x6e\x74\145\162\x3b\167\x69\x64\x74\x68\72\x32\x39\x35\x70\x78\x3b\x68\x65\151\147\150\164\x3a\61\66\62\160\170\73\142\x61\x63\x6b\147\x72\x6f\165\156\x64\x2d\151\155\x61\147\145\72\154\151\156\x65\141\x72\x2d\x67\162\x61\144\x69\x65\156\164\x28\61\x74\x75\x72\156\54\x72\x67\142\x61\50\x30\54\x30\x2c\x30\54\x2e\x39\x29\x2c\x72\x67\x62\x61\x28\x35\61\54\65\x31\54\65\x31\x2c\60\x29\x20\x39\x37\56\71\x32\x25\51\x3b\42\x20\x73\x72\143\x3d\x22\x64\141\x74\141\72\x69\155\141\147\145\57\160\156\147\x3b\142\141\163\145\x36\x34\54" . base64_encode($QZ) . "\42\x20\x2f\x3e\xd\12\40\40\40\x20\x20\x20\40\40\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\74\163\x70\x61\156\40\163\x74\x79\x6c\145\75\x22\160\157\163\151\x74\x69\x6f\x6e\72\x61\x62\x73\x6f\x6c\x75\164\x65\x3b\154\x65\x66\164\72\x32\60\x70\x78\x3b\x74\x6f\160\72\x39\x30\160\170\x3b\x66\x6f\156\x74\x2d\163\151\x7a\x65\72\62\60\x70\x78\x3b\x66\157\x6e\x74\55\x77\145\x69\x67\x68\x74\x3a\x36\60\60\x3b\x22\76" . $UX . "\74\57\163\x70\x61\x6e\x3e\xd\xa\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\40\40\40\x20\40\40\40\x20\x20\x20\74\x73\x70\x61\156\x20\x73\x74\171\x6c\x65\75\x22\160\157\163\151\x74\x69\157\x6e\72\x61\x62\163\x6f\x6c\x75\164\x65\73\x6c\145\x66\x74\x3a\62\60\x70\x78\73\x74\157\160\72\x31\x30\65\x70\x78\73\146\157\x6e\x74\x2d\x73\151\x7a\x65\x3a\x34\x32\x70\x78\73\146\x6f\156\164\x2d\x77\145\x69\147\x68\164\x3a\x37\x30\x30\x3b\x22\76" . $nK . "\x3c\57\x73\x70\141\156\76\xd\xa\x20\40\x20\40\40\x20\40\x20\40\x20\40\x20\40\x20\40\x20\x20\x20\40\x20\x3c\x2f\144\x69\x76\x3e";
Rq:
$UQ = $UQ . "\15\12\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\40\40\15\12\x20\40\x20\40\40\40\x20\40\40\x20\40\x20\40\40\x20\x20\40\40\x20\40\74\144\151\166\x20\163\x74\x79\154\x65\x3d\42\150\x65\x69\147\x68\164\72\x31\x30\x30\x25\x3b\167\x69\144\164\150\x3a\61\60\60\x25\73\143\x6f\154\x6f\x72\72\x72\147\142\50\x39\66\54\x20\71\64\54\40\71\x32\x29\x3b\155\x61\x72\x67\151\x6e\x2d\x6c\x65\146\164\x3a\63\x35\x70\170\x3b\x22\x3e\xd\xa\x20\x20\x20\x20\40\x20\40\40\x20\x20\40\40\40\40\x20\40\40\x20\x20\40\40\40\x20\x20\74\144\151\166\x20\x73\x74\x79\x6c\145\x3d\42" . "\146\157\x6e\x74\x2d\x73\x69\172\x65\72\40\x31\x32\x70\170\x3b\155\x61\162\147\x69\156\x2d\x74\x6f\160\72\x31\x30\160\x78\x3b\x66\x6f\156\x74\55\x77\x65\151\x67\150\x74\x3a\40\x36\x30\60\x3b\x66\x6f\x6e\164\55\x66\141\x6d\x69\154\x79\x3a\x22\x53\145\x67\x6f\x65\40\x55\111\42\54\40\x22\x53\x65\147\x6f\x65\40\125\111\40\127\145\142\40\x28\127\x65\x73\x74\x20\x45\x75\162\x6f\x70\145\x61\x6e\x29\42\54\x20\x22\123\x65\147\157\145\40\125\111\x22\x2c\x20\55\x61\x70\160\x6c\x65\x2d\x73\x79\x73\164\145\155\54\x20\x42\x6c\x69\x6e\x6b\115\x61\x63\123\171\163\x74\x65\x6d\106\157\156\164\x2c\x20\x52\157\142\x6f\x74\157\54\40\x22\110\145\154\x76\145\164\151\x63\141\x20\x4e\145\165\x65\42\x2c\x20\163\141\x6e\163\55\x73\x65\x72\x69\x66\73" . "\x22\76" . (empty($Gb["\103\x61\x74\145\x67\157\x72\x79"]) ? "\x2d" : $Gb["\103\x61\164\x65\147\157\x72\171"]) . "\x3c\57\144\x69\166\x3e\xd\12\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\40\40\x20\40\40\x20\40\x3c\x2f\144\x69\x76\x3e\15\12\x20\40\x20\40\x20\x20\40\40\40\x20\x20\40\40\40\40\40\x20\40\x20\40\x3c\144\151\166\40\x73\164\171\154\145\75\42\150\x65\x69\147\150\164\72\x31\60\60\45\73\x77\x69\144\x74\x68\72\61\x30\x30\x25\x3b\155\x61\x72\147\151\156\55\x6c\145\146\x74\x3a\63\65\x70\x78\73\x22\x3e\15\12\x20\x20\40\x20\40\40\40\40\40\40\40\40\40\40\40\40\40\x20\x20\40\40\40\x20\40\74\144\151\166\40\x73\x74\171\x6c\145\75\42" . "\x66\157\156\x74\x2d\163\151\x7a\x65\x3a\x20\61\x34\160\x78\73\155\141\162\x67\151\156\55\164\x6f\160\x3a\61\160\x78\x3b\x66\x6f\156\164\55\167\145\151\x67\150\164\x3a\40\x36\60\x30\73\146\x6f\156\164\55\x66\x61\x6d\x69\154\x79\x3a\x22\123\x65\x67\x6f\145\x20\x55\x49\42\x2c\x20\42\123\x65\x67\157\145\40\x55\x49\x20\x57\145\x62\40\x28\127\x65\163\164\40\x45\165\162\x6f\160\x65\141\156\51\42\x2c\x20\42\x53\145\x67\157\145\x20\x55\111\x22\54\x20\x2d\141\160\160\x6c\x65\x2d\x73\171\163\x74\x65\x6d\x2c\40\x42\154\151\156\153\x4d\141\143\x53\171\x73\164\x65\x6d\x46\157\x6e\164\x2c\x20\122\157\142\157\164\x6f\x2c\40\x22\110\145\x6c\x76\x65\x74\151\x63\141\40\x4e\145\x75\x65\x22\54\40\163\141\x6e\x73\55\163\x65\162\151\x66\x3b" . "\x22\76" . $Gb["\124\151\164\154\145"] . "\x3c\x2f\144\151\x76\76\15\12\x20\x20\x20\x20\40\x20\40\x20\x20\x20\40\x20\40\40\x20\40\40\x20\x20\40\x3c\x2f\144\151\x76\76\15\xa\15\xa\x20\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\40\40\x20\x20\40\40\40\x3c\x64\x69\x76\40\163\164\171\154\145\75\x22\x68\145\x69\x67\150\x74\72\x31\60\x30\45\x3b\x77\151\x64\x74\x68\x3a\x31\60\60\x25\x3b\x6d\141\162\x67\x69\x6e\55\154\x65\x66\164\72\63\x35\160\170\73\x22\76\15\12\x20\x20\40\40\x20\x20\x20\40\40\x20\40\40\40\40\x20\x20\x20\40\x20\40\40\x20\40\x20\74\144\151\x76\x20\163\x74\171\x6c\x65\75\42" . "\x66\157\x6e\x74\x2d\x73\x69\x7a\x65\x3a\x20\61\62\x70\x78\73\155\x61\x72\147\151\x6e\x2d\164\x6f\160\x3a\x34\x30\x70\170\x3b\146\x6f\x6e\x74\x2d\167\145\x69\x67\150\164\x3a\40\x36\x30\60\73\x66\x6f\x6e\164\x2d\x66\141\155\151\154\x79\72\x22\x53\145\147\157\x65\x20\125\111\x22\x2c\x20\x22\123\x65\x67\x6f\145\40\125\111\40\127\145\142\40\50\127\x65\x73\x74\40\105\165\x72\157\160\145\141\156\x29\x22\54\40\42\123\145\x67\157\145\40\125\x49\x22\x2c\40\55\x61\160\160\154\x65\x2d\x73\x79\x73\164\145\x6d\54\x20\102\154\x69\x6e\153\115\141\x63\x53\171\x73\164\145\155\x46\157\156\x74\x2c\x20\122\157\x62\x6f\x74\157\54\x20\42\110\x65\x6c\166\x65\x74\x69\143\141\40\116\145\x75\145\x22\x2c\x20\163\x61\156\x73\x2d\x73\x65\162\x69\146\x3b" . "\x22\x3e" . (substr($y2["\x77\x65\x65\x6b\144\x61\x79"], 0, 3) . "\54\40" . substr($y2["\x6d\157\156\x74\x68"], 0, 3) . "\x20" . $y2["\x6d\144\x61\x79"] . "\54\x20" . ($Gb["\146\101\154\x6c\104\141\x79\x45\x76\x65\156\164"] ? "\101\x6c\x6c\40\x64\x61\171" : gmdate("\147\72\x69\40\x41", gmmktime($y2["\150\x6f\165\162\163"] - 8, $y2["\155\x69\x6e\x75\164\145\163"], $y2["\163\x65\143\x6f\156\144\x73"])))) . "\x3c\x2f\x64\151\166\x3e\15\xa\40\x20\40\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\40\x3c\57\x64\151\x76\76\xd\12\40\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\40\x20\40\74\x64\x69\x76\x20\x73\164\x79\154\145\75\x22\150\x65\x69\x67\x68\x74\72\x31\x30\x30\x25\x3b\x77\151\x64\x74\150\x3a\x31\60\60\45\x3b\155\x61\x72\147\x69\156\55\x6c\x65\146\x74\x3a\63\65\160\170\73\x22\76\xd\xa\x20\40\40\40\40\40\x20\x20\40\x20\40\x20\40\x20\40\x20\40\x20\40\40\x20\40\40\x20\74\x64\151\x76\x20\x73\164\171\x6c\x65\75\x22" . "\x66\157\156\x74\55\163\x69\172\145\x3a\40\61\x32\160\x78\73\143\x6f\154\157\x72\72\x72\147\x62\50\x39\x36\54\40\71\64\54\x20\x39\x32\x29\73\155\141\x72\147\x69\x6e\55\x74\x6f\x70\x3a\x31\160\x78\73\x66\x6f\156\x74\55\x77\x65\151\x67\x68\164\x3a\40\x34\60\60\x3b\146\157\x6e\164\55\146\x61\x6d\x69\154\x79\72\42\123\x65\147\x6f\145\40\125\111\x22\x2c\40\42\x53\145\x67\157\145\x20\125\111\x20\x57\145\x62\x20\x28\x57\145\x73\x74\x20\x45\x75\162\157\160\145\x61\156\x29\x22\x2c\x20\42\x53\145\x67\157\x65\x20\x55\111\42\54\40\55\141\160\x70\x6c\145\55\163\x79\x73\164\145\x6d\x2c\40\x42\x6c\151\156\153\115\141\x63\x53\171\x73\164\x65\x6d\x46\x6f\156\x74\x2c\40\x52\x6f\142\157\x74\x6f\54\40\42\110\x65\x6c\x76\145\164\x69\x63\x61\40\x4e\145\165\x65\42\x2c\40\163\141\x6e\163\55\163\x65\162\151\146\x3b" . "\x22\76" . $Gb["\x4c\157\143\x61\164\151\157\x6e"] . "\x3c\x2f\x64\151\166\76\xd\12\x20\40\40\x20\x20\40\x20\x20\40\40\40\40\x20\x20\40\x20\x20\x20\40\x20\74\57\x64\x69\166\76\xd\12\40\40\x20\40\40\x20\40\40\x20\x20\x20\40\x20\40\x20\40\40\40\40\x20\x3c\144\x69\x76\x20\x73\164\171\154\x65\x3d\x22\x6d\141\x72\x67\x69\156\x2d\x74\x6f\x70\72\x31\60\160\170\x22\76\x3c\x2f\x64\151\166\x3e\xd\12\x20\40\x20\x20\x20\40\40\x20\40\40\x20\40\40\x20\40\40\15\12\x20\x20\40\x20\x20\40\40\x20\40\x20\40\40\74\57\x64\x69\x76\76";
uU:
}
GH:
$UQ = $UQ . "\xd\xa\x20\40\x20\40\40\40\40\x20\x3c\57\x64\x69\166\x3e\xd\12\40\40\x20\x20\x20\x20\40\40";
return $UQ;
}
public function mo_sps_embed_shortcode_sharepoint_news()
{
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto lw;
}
return $Js;
lw:
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$Pv = Azure::getClient($cU);
$xb = $Pv->mo_sps_get_all_site_news();
$xb = sharepointWrapper::mo_sps_process_sharepoint_news_items($xb);
$UQ = "\xd\xa\x20\x20\40\x20\40\40\x20\40\x3c\x64\x69\x76\40\x73\164\171\154\x65\75\x22\144\151\x73\x70\154\141\x79\72\146\154\145\170\x3b\x6a\165\163\164\151\x66\x79\55\143\x6f\x6e\164\145\156\x74\x3a\146\154\145\170\55\163\164\x61\162\x74\x3b\141\x6c\151\x67\156\x2d\151\x74\x65\x6d\163\x3a\143\x65\x6e\164\x65\162\73\x66\154\x65\170\55\144\x69\162\145\143\164\151\x6f\156\72\143\x6f\x6c\x75\x6d\x6e\x3b\x6d\x61\x78\x2d\167\151\144\164\x68\72\x31\x30\x30\45\73\150\145\x69\x67\150\164\72\x36\60\x30\160\170\x3b\160\x61\x64\144\151\x6e\x67\72\61\60\160\x78\73\x6f\166\x65\162\x66\154\x6f\167\x2d\171\72\163\143\x72\157\154\154\x3b\x22\76\15\12\40\x20\x20\x20\40\40\40\40";
foreach ($xb as $wN) {
if (strpos($wN["\x42\x61\x6e\x6e\x65\x72\111\x6d\141\x67\x65\x55\x72\154"], "\137\x6c\141\x79\157\165\164\x73\57\x31\x35\57\151\x6d\141\147\145\163\57")) {
goto oD;
}
$dv = $Pv->mo_sps_get_banerurl_for_an_artcile($wN["\102\x61\x6e\156\x65\x72\111\x6d\x61\147\x65\x55\162\x6c"]);
$jy = "\x64\141\164\x61\x3a\x69\155\141\147\145\57\x70\x6e\147\x3b\x62\x61\x73\x65\66\x34\54" . base64_encode($dv);
goto eb;
oD:
$jy = $wN["\x42\141\156\156\145\x72\111\155\141\147\145\125\162\x6c"];
eb:
$UQ = $UQ . "\xd\xa\40\40\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\40\x20\40\74\144\x69\x76\40\163\x74\x79\x6c\x65\x3d\x22\x64\151\x73\160\154\x61\x79\72\146\154\x65\170\73\152\x75\x73\x74\151\x66\x79\55\x63\157\x6e\164\145\x6e\x74\x3a\x66\154\145\170\55\163\164\x61\x72\x74\73\x61\x6c\151\x67\x6e\55\151\164\145\155\x73\72\x63\145\156\x74\145\162\73\167\151\144\164\150\72\x38\60\45\x3b\x6d\x61\162\147\x69\x6e\72\61\x30\160\170\42\76\xd\xa\40\x20\x20\x20\40\40\40\40\x20\x20\40\40\40\40\x20\x20\xd\xa\40\40\x20\40\x20\x20\x20\x20\40\40\40\40\40\x20\x20\x20\40\x20\40\x20\x3c\144\151\x76\x20\163\x74\171\x6c\145\75\42\x70\x61\x64\144\x69\156\147\x3a\65\x70\170\x22\76\15\xa\40\x20\40\40\x20\x20\40\40\x20\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\x3c\x69\x6d\x67\40\x73\x74\171\154\145\75\42\144\151\x73\160\x6c\141\171\72\146\x6c\145\170\73\x6a\x75\163\164\x69\x66\x79\55\143\x6f\x6e\164\145\x6e\x74\x3a\x63\145\156\164\145\162\x3b\x61\154\x69\147\156\x2d\x69\x74\x65\x6d\163\x3a\143\x65\156\x74\x65\x72\73\167\151\x64\164\x68\72\63\x35\60\160\x78\x3b\x22\x20\x73\x72\x63\x3d\42" . $jy . "\42\40\x2f\76\15\12\x20\x20\x20\40\x20\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\74\57\x64\151\166\x3e\15\xa\x20\x20\x20\x20\40\40\40\x20\40\40\x20\40\x20\40\x20\x20\40\x20\x20\40\x3c\144\x69\x76\40\x73\x74\x79\154\x65\75\x22\x68\x65\x69\147\x68\x74\x3a\x31\x30\x30\x25\73\x77\151\x64\x74\x68\72\61\x30\x30\45\73\160\x61\x64\x64\x69\156\147\72\61\x35\160\x78\x22\x3e\15\xa\40\40\x20\40\x20\x20\40\x20\x20\40\x20\40\40\x20\40\x20\40\40\x20\x20\40\40\40\x20\x3c\x64\151\166\x20\163\164\x79\x6c\x65\x3d\x22" . "\x66\x6f\156\164\x2d\163\x69\172\x65\x3a\x20\x32\x30\160\170\73\155\x61\162\147\151\x6e\x2d\164\x6f\160\72\x35\160\170\x3b\146\157\156\164\55\167\145\151\147\x68\164\x3a\x20\x36\x30\60\x3b\x66\x6f\156\x74\x2d\146\141\x6d\x69\x6c\x79\x3a\x22\123\x65\x67\157\145\40\125\x49\x22\54\x20\x22\123\145\x67\157\145\x20\125\x49\40\127\145\142\40\x28\x57\x65\163\164\40\105\x75\162\157\x70\x65\141\156\51\42\54\40\42\x53\145\x67\x6f\x65\40\x55\111\42\54\40\55\x61\x70\x70\x6c\x65\x2d\163\171\x73\x74\x65\x6d\54\40\102\154\151\156\153\115\x61\x63\123\x79\x73\x74\145\155\106\157\156\x74\x2c\x20\x52\157\x62\x6f\x74\x6f\x2c\40\x22\110\145\154\x76\x65\x74\x69\143\141\x20\x4e\145\x75\x65\x22\x2c\40\163\x61\x6e\x73\x2d\x73\145\162\x69\x66\73" . "\42\x3e" . $wN["\124\x69\x74\x6c\145"] . "\15\xa\x20\x20\x20\40\x20\x20\x20\40\40\40\40\40\x20\40\40\40\x20\40\x20\40\74\x2f\144\x69\x76\76\xd\12\x20\40\x20\x20\40\x20\x20\x20\40\x20\40\x20";
if (empty($wN["\x4f\x44\x61\164\x61\x5f\x5f\117\x72\151\x67\x69\x6e\141\x6c\123\x6f\x75\x72\143\x65\x55\x72\154"])) {
goto T7;
}
$UQ = $UQ . "\xd\12\40\40\x20\x20\40\x20\40\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\40\40\x20\x3c\144\151\166\76\74\141\x20\150\162\x65\146\75\42" . $wN["\x4f\104\x61\x74\x61\x5f\137\117\x72\x69\147\x69\x6e\141\x6c\123\x6f\165\162\143\145\x55\162\x6c"] . "\x22\76\x43\154\x69\143\x6b\40\150\145\x72\145\x20\164\157\x20\x76\x69\x65\167\40\x74\150\145\40\143\157\156\x74\145\156\164\74\57\x61\x3e\74\57\x64\x69\166\x3e";
T7:
$UQ = $UQ . "\15\12\x20\x20\40\x20\x20\x20\40\40\40\x20\40\x20\40\x20\x20\40\x20\x20\40\40\40\40\40\x20\x3c\x64\151\166\x20\x73\164\171\x6c\145\75\42\155\141\x72\x67\151\x6e\55\x74\x6f\x70\x3a\x32\x35\160\x78\42\x3e" . $wN["\x44\145\x73\x63\162\x69\x70\x74\151\157\x6e"] . "\x3c\x2f\144\151\166\x3e\15\xa\40\40\40\x20\40\x20\x20\x20\x20\40\40\x20\40\40\x20\x20\x20\40\x20\x20\x3c\x2f\x64\x69\166\76\15\12\40\x20\x20\x20\40\x20\x20\40\40\x20\x20\40\40\x20\40\40\15\xa\x20\40\40\40\40\x20\40\x20\40\40\40\40\x20\x20\40\40\74\57\x64\x69\166\76\xd\12\x20\40\x20\40\40\40\x20\x20\x20\40\40\40";
va:
}
Uv:
$UQ = $UQ . "\xd\xa\x20\x20\x20\x20\x20\x20\40\40\74\x2f\x64\151\x76\76\xd\12\x20\40\40\x20\40\x20\x20\x20";
return $UQ;
}
public function mo_sps_shortcode_Upload_wordpress_to_sharepoint_library($lE = '', $UQ = '')
{
$Js = wpWrapper::checkLicenseValidity();
if (empty($Js)) {
goto eu;
}
return $Js;
eu:
$lE = shortcode_atts(array("\146\x6f\x6c\x64\x65\x72\x5f\160\x61\164\x68" => ''), $lE, "\x4d\117\137\x53\x48\x41\x52\105\x50\x4f\111\x4e\x54\x5f\125\x50\x4c\x4f\101\104\137\104\117\x43\125\115\x45\116\x54");
$dD = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$hm = wpWrapper::mo_sps_get_option(pluginConstants::SHAREPOINT_ROOT_DOC_LIB);
$Pv = Azure::getClient($dD);
$sl = $Pv->mo_sps_send_access_token();
$Gm = array("\142\141\x73\x65\137\165\x72\154" => "\x68\164\164\160\163\x3a\x2f\57" . wpWrapper::mo_sps_get_domain_from_url($dD["\x61\144\155\151\156\x5f\165\162\x69"]), "\164\157\x6b\x65\x6e" => $sl, "\162\x6f\157\164\137\x66\x6f\154\144\x65\x72" => $lE["\x66\157\x6c\x64\x65\162\137\x70\x61\x74\150"]);
$L4 = plugins_url("\x2e\x2e\x2f\x69\156\143\154\x75\144\x65\x73\57\x6a\163\x2f\165\x70\x6c\157\141\x64\x2e\152\x73", __FILE__);
wp_enqueue_script("\152\x71\x75\145\x72\x79");
wp_enqueue_script("\x6d\157\x5f\163\160\x73\137\163\171\156\x63\x5f\x6a\163", $L4, array(), PLUGIN_VERSION);
wp_localize_script("\x6d\157\x5f\x73\160\x73\x5f\x73\x79\156\x63\x5f\x6a\x73", "\x64\x6f\x63\137\x73\x79\156\x63\137\144\x61\x74\x61", $Gm);
$UQ = "\74\144\x69\x76\x20\x63\154\x61\163\163\x3d\x22\155\x6f\x2d\155\163\x2d\164\141\x62\x2d\143\157\x6e\x74\145\156\164\x2d\x74\x69\x6c\145\42\x20\163\164\x79\154\145\x3d\42\167\151\144\164\150\72\x31\63\x35\45\73\42\40\76\xd\12\40\40\x20\x20\40\x20\40\40\74\144\151\x76\40\x63\x6c\141\x73\x73\75\x22\x6d\x6f\55\x6d\163\55\x74\x61\142\55\143\157\x6e\164\x65\x6e\164\55\x74\151\x6c\145\55\143\157\x6e\164\145\x6e\x74\x20\155\x6f\x2d\163\160\163\x2d\160\162\145\x6d\x2d\x69\156\x66\157\42\x20\x73\164\x79\154\x65\75\42\x70\x6f\x73\151\164\x69\x6f\156\x3a\162\x65\x6c\141\x74\x69\x76\145\x3b\42\76\x20\x20\40\x20\40\40\x20\x20\x20\x20\x20\40\40\x20\x20\x20\40\40\40\40\40\xd\12\40\x20\40\x20\x20\x20\x20\40\40\x20\40\x20\40\x20\40\40\74\x74\x61\142\x6c\145\x20\x63\x6c\141\x73\163\75\x22\x6d\x6f\55\x6d\x73\55\164\141\x62\x2d\143\x6f\156\x74\145\x6e\164\x2d\x61\160\x70\x2d\143\x6f\x6e\x66\151\x67\x2d\164\x61\x62\x6c\145\42\x3e\xd\12\40\40\x20\40\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\74\x74\x72\76\xd\xa\x20\40\40\40\x20\40\x20\40\x20\x20\x20\40\40\40\x20\x20\74\164\x64\40\163\164\x79\x6c\x65\75\x22\167\151\144\x74\150\72\x35\60\45\x3b\x77\x6f\162\x64\55\142\162\145\141\153\x3a\40\x62\162\x65\141\153\55\x61\154\x6c\73\x22\x3e\x3c\x73\x70\x61\x6e\x3e\x3c\x68\x36\76\125\160\x6c\157\141\144\x20\106\x69\154\x65\x20\x2f\40\x46\157\154\x64\145\162\72\74\57\x68\x36\x3e\x3c\57\163\x70\141\156\x3e\x3c\x2f\164\x64\76\xd\xa\40\x20\40\x20\40\40\x20\40\40\x20\x20\40\40\40\x20\x20\74\164\x64\x20\x63\x6c\141\163\x73\x3d\42\162\x69\147\x68\164\x2d\144\151\x76\x22\x20\x73\x74\171\154\x65\x3d\x22\x77\x69\x64\x74\150\x3a\63\x35\45\73\x22\40\76\xd\12\40\x20\40\x20\40\x20\40\40\x20\x20\40\x20\40\40\40\x20\74\151\x6e\x70\x75\164\x20\x74\x79\160\x65\x3d\x22\146\x69\154\145\42\40\x69\144\75\42\147\x65\x74\106\x69\x6c\x65\x22\x20\x73\x74\x79\154\x65\75\x22\155\x61\x72\147\x69\x6e\x2d\142\x6f\x74\x74\157\x6d\x3a\x31\60\160\170\x3b\x22\x20\x20\x69\144\75\x22\x6d\145\x74\141\144\141\x74\x61\137\146\x69\154\145\42\40\156\141\x6d\145\75\x22\x6d\145\x74\x61\x64\141\x74\x61\137\146\151\x6c\x65\x22\x20\x72\145\x71\x75\x69\x72\145\144\76\xd\12\40\x20\40\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\40\40\x3c\x62\162\40\57\76\xd\12\x20\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\40\x3c\x62\165\x74\x74\x6f\x6e\x20\x69\x64\x3d\x22\x61\144\x64\106\x69\154\x65\102\165\164\x74\x6f\x6e\x22\x20\x74\171\x70\145\x3d\42\x62\165\164\164\x6f\156\x22\x20\x76\141\154\165\145\x3d\42\x55\x70\x6c\157\x61\x64\42\x20\157\156\x63\154\x69\x63\x6b\x3d\42\x75\160\154\157\x61\x64\x46\x69\x6c\145\50\x29\x3b\42\x20\x63\154\141\x73\x73\x3d\42\155\157\55\x73\141\x6d\x6c\x2d\x62\x73\55\142\163\55\142\164\x6e\40\142\164\156\55\143\163\x74\x6d\40\162\157\x75\x6e\x64\x65\x64\x20\144\55\x66\x6c\145\170\40\141\x6c\151\x67\x6e\x2d\151\164\145\155\x73\x2d\143\145\156\x74\x65\x72\42\76\x3c\163\166\x67\x20\167\x69\x64\x74\x68\75\x22\x31\x36\42\x20\x68\145\x69\x67\x68\x74\x3d\x22\x31\x36\x22\40\x66\151\x6c\x6c\x3d\x22\x63\x75\x72\162\x65\156\164\103\x6f\x6c\x6f\x72\x22\x20\166\151\145\167\x42\157\x78\75\42\x30\40\60\40\61\66\40\61\66\42\76\15\12\x20\x20\x20\40\40\x20\x20\x20\x20\40\40\x20\40\x20\40\40\x20\x20\40\40\x20\40\40\40\x3c\x70\141\x74\150\x20\x64\x3d\x22\x4d\x2e\x35\x20\x39\x2e\71\x61\x2e\65\x2e\65\x20\x30\x20\x30\40\x31\x20\x2e\x35\56\x35\x76\x32\56\x35\x61\61\40\61\x20\x30\x20\60\x20\60\x20\61\x20\61\x68\61\x32\x61\x31\x20\x31\40\60\x20\60\40\x30\40\x31\x2d\61\166\55\62\x2e\x35\x61\x2e\65\56\65\40\x30\x20\60\40\x31\40\61\x20\x30\166\62\x2e\x35\x61\x32\40\x32\40\x30\40\60\40\61\x2d\x32\40\x32\110\62\141\x32\40\62\40\x30\40\x30\x20\x31\55\62\x2d\62\x76\x2d\x32\56\65\141\x2e\x35\x2e\x35\x20\x30\x20\x30\x20\61\40\x2e\x35\x2d\x2e\65\172\x22\x20\57\76\xd\12\x20\40\40\40\40\x20\40\x20\40\40\40\x20\x20\x20\40\40\40\40\40\x20\40\40\40\x20\x3c\160\141\164\x68\x20\144\75\42\115\67\56\66\x34\x36\x20\x31\56\x31\x34\66\x61\56\65\56\x35\x20\x30\x20\x30\x20\x31\40\56\x37\x30\x38\40\60\x6c\63\40\63\x61\56\x35\56\65\x20\x30\x20\60\x20\61\55\x2e\x37\60\70\56\x37\x30\x38\x4c\70\56\65\40\62\56\67\60\67\x56\x31\61\x2e\x35\x61\56\65\x2e\65\x20\x30\x20\60\40\x31\x2d\x31\40\60\x56\62\x2e\x37\60\x37\114\65\56\63\x35\x34\40\64\56\x38\x35\64\141\x2e\x35\x2e\65\x20\60\40\x31\x20\61\x2d\x2e\67\60\70\x2d\56\67\x30\70\x6c\63\55\63\x7a\42\40\x2f\x3e\xd\xa\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\x20\x3c\x2f\163\x76\x67\76\x26\x6e\x62\x73\x70\x3b\x26\156\142\x73\x70\x3b\x55\160\154\157\141\144\74\57\x62\165\x74\x74\x6f\x6e\x3e\15\12\40\40\x20\40\40\40\40\x20\40\x20\40\x20\x20\x20\40\x20\x3c\x2f\x74\x64\x3e\xd\12\40\40\x20\40\40\x20\x20\40\40\x20\x20\40\x20\40\40\40\x3c\164\144\x20\163\x74\x79\x6c\x65\75\42\167\151\x64\x74\150\x3a\x36\65\45\73\167\x6f\162\144\55\x62\x72\145\141\153\x3a\x20\x62\x72\145\141\153\55\x61\x6c\154\x3b\x22\x3e\40\40\40\40\x20\40\x20\x20\x20\40\x20\x20\x20\40\40\40\x20\40\40\x20\40\40\40\xd\12\x20\40\40\40\x20\40\40\40\40\x20\40\x20\40\40\40\40\x3c\x2f\x74\144\x3e\xd\12\40\x20\40\40\x20\x20\x20\40\40\40\x20\40\x20\40\x20\x20\74\57\x74\162\x3e\15\xa\40\40\40\40\40\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\74\x2f\164\x61\x62\x6c\145\76\xd\12\40\x20\40\40\x20\40\40\40\x20\40\x20\x20\x20\40\40\x20\15\xa\x20\40\x20\x20\x20\x20\40\x20\40\40\x20\40\74\x2f\x64\151\x76\x3e\15\12\40\40\x20\40\x20\x20\40\40\x3c\x2f\144\x69\x76\x3e";
return $UQ;
}
public function mo_doc_lib_embed_api_handler(WP_REST_Request $mi)
{
$DW = $mi->get_param("\156\157\156\x63\145");
if (wp_verify_nonce($DW, "\167\x70\x5f\x72\x65\x73\164")) {
goto HO;
}
return new WP_Error("\151\x6e\166\x61\154\x69\144\x5f\156\x6f\x6e\x63\145", "\111\x6e\x76\x61\x6c\x69\x64\x20\x6e\x6f\x6e\143\x65", array("\163\164\141\x74\x75\163" => 403));
HO:
$DW = $mi->get_param("\156\157\x6e\x63\145");
$gz = sanitize_text_field($mi->get_param("\164\141\163\153"));
$M6 = $mi->get_param("\x70\x61\x79\154\157\141\x64");
switch ($gz) {
case "\155\x6f\x5f\x73\x70\x73\137\147\145\164\137\141\154\154\x5f\x73\x69\x74\145\163":
$this->mo_sps_get_all_sites($M6);
goto YO;
case "\155\157\137\163\160\163\x5f\x67\x65\164\137\x61\x6c\154\137\x64\162\151\x76\145\163":
$this->mo_sps_get_all_drives($M6);
goto YO;
case "\x6d\x6f\x5f\163\x70\x73\x5f\x67\x65\x74\137\141\x6c\154\137\144\157\x63\x75\155\145\156\164\x73":
$this->mo_sps_get_all_documents($M6);
goto YO;
case "\x6d\x6f\x5f\x73\160\163\x5f\147\x65\x74\x5f\141\x6c\154\x5f\154\151\163\164\x5f\x69\164\145\x6d\x73":
$this->mo_sps_get_all_list_items($M6);
goto YO;
case "\x6d\157\137\163\160\163\x5f\x67\145\164\137\157\156\x65\x64\162\151\x76\145\x73":
$this->mo_sps_get_onedrives($M6);
goto YO;
case "\155\157\137\163\x70\163\137\147\x65\x74\x5f\x70\145\x72\x73\157\x6e\141\x6c\137\157\x6e\145\x64\x72\151\x76\x65\x73":
$this->mo_sps_get_personal_onedrives($M6);
goto YO;
case "\x6d\157\137\163\160\163\137\147\145\x74\137\x61\154\154\137\x66\157\x6c\144\145\162\x5f\151\x74\x65\155\x73":
$this->mo_sps_get_all_folder_items($M6);
goto YO;
case "\155\x6f\137\163\160\x73\137\147\x65\x74\137\146\x69\154\x65\x5f\164\150\165\155\x62\x6e\141\x69\154\x73":
$this->mo_sps_get_file_thumbnails($M6);
goto YO;
case "\x6d\157\x5f\x73\x70\x73\137\x67\x65\164\137\144\157\167\x6e\x6c\x6f\x61\x64\x5f\x75\162\x6c":
$this->mo_sps_get_download_url($M6);
goto YO;
case "\155\157\137\163\x70\x73\x5f\163\x65\141\162\143\x68\137\164\150\x72\x6f\x75\147\150\137\144\x72\x69\166\145\x5f\151\164\x65\155\x73":
$this->mo_sps_search_through_drive_items($M6);
goto YO;
case "\155\157\137\x73\160\163\137\x67\145\x74\137\x75\160\x6c\x6f\141\x64\137\163\x65\163\x73\x69\157\156":
$this->mo_sps_get_upload_session($M6);
goto YO;
case "\155\157\x5f\x73\x70\163\x5f\147\x65\x74\137\x73\160\x65\x63\x69\146\151\143\137\x66\151\x6c\x65":
$this->mo_sps_get_specific_file($M6);
goto YO;
case "\155\157\137\x73\x70\163\x5f\x67\145\156\x65\162\141\x74\145\x5f\x61\156\144\137\x73\141\166\x65\x5f\x73\x68\x6f\162\164\143\157\x64\x65":
$this->mo_sps_generate_and_save_shortcode($M6);
goto YO;
case "\155\x6f\137\x64\157\143\x5f\x6c\151\x62\x5f\x5f\155\141\137\x61\x64\144\137\160\x65\x72\155\151\x73\x73\151\x6f\x6e\x73":
$this->mo_doc_lib__ma_add_permissions($M6);
goto YO;
case "\x6d\157\x5f\163\x70\x73\137\147\145\164\137\163\171\x6e\143\137\146\151\x6c\145\137\x75\162\154":
$this->mo_sps_get_sync_file_url($M6);
goto YO;
case "\155\x6f\137\x64\157\x63\137\154\151\x62\137\147\x65\x74\x5f\x69\x74\x65\155\163\x5f\151\x6e\x68\x65\162\151\164\x65\x64\x5f\x70\145\162\x6d\151\163\x73\151\x6f\156\x73":
$this->mo_doc_lib_get_items_inherited_permissions($M6);
goto YO;
}
h5:
YO:
}
private function mo_doc_lib_get_items_inherited_permissions($M6)
{
$sq = $M6["\144\157\x63\137\x69\144"];
$Bo = sharepointWrapper::mo_sps_get_documents_inherited_permissions($sq);
wp_send_json_success($Bo);
}
private function mo_sps_get_sync_file_url($M6)
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_file_download_url($M6["\146\x69\154\145\137\x69\x64"], $M6["\x64\162\151\166\x65\137\x69\144"]);
if ($tt) {
goto M0;
}
$Xd = array("\x45\162\162\x6f\x72" => !empty($tt["\144\x61\164\x61"]["\x65\162\162\x6f\162"]) ? $tt["\x64\x61\x74\x61"]["\x65\x72\162\x6f\162"] : "\125\x6e\x65\170\160\145\143\164\x65\144\40\145\162\x72\157\x72\40\x6f\x63\143\165\162\145\x64\x2e\56\x2e\x21", "\x44\x65\x73\143\x72\x69\160\164\x69\x6f\156" => !empty($tt["\144\x61\x74\x61"]["\145\162\162\x6f\162\x5f\144\x65\163\143\162\151\x70\164\x69\x6f\x6e"]) ? $tt["\144\141\164\141"]["\145\x72\x72\x6f\x72\x5f\x64\x65\x73\143\x72\151\160\x74\x69\157\156"] : "\120\154\145\x61\x73\x65\40\143\150\145\143\x6b\40\171\157\165\x72\40\151\x6e\164\145\162\x6e\145\x74\x20\x63\x6f\x6e\x6e\145\143\164\151\157\x6e\x20\x6f\162\40\164\162\171\x20\141\x67\141\x69\x6e\40\x61\146\x74\x65\162\40\x73\157\155\x65\164\x69\x6d\x65\56");
wp_send_json_error($Xd);
goto gm;
M0:
wp_send_json_success($tt["\144\x6f\167\x6e\x6c\x6f\x61\144\137\x75\x72\154"]);
gm:
}
private function mo_doc_lib__ma_add_permissions($M6)
{
$Bo = isset($M6["\160\x65\x72\155\x69\x73\163\x69\157\156\x73"]) && !empty($M6["\x70\145\x72\155\151\163\163\x69\x6f\156\x73"]) ? json_encode($M6["\x70\x65\x72\155\x69\x73\x73\151\x6f\x6e\163"]) : '';
wpWrapper::mo_sps_set_option(pluginConstants::FOLDER_FILES_PERMISSIONS, $Bo);
wp_send_json_success('');
}
private function mo_sps_generate_and_save_shortcode($M6)
{
dbWrapper::mo_sps_create_shortcode_table();
$Zp = isset($M6["\x73\x68\x6f\x72\164\143\157\144\145\x5f\151\144"]) ? $M6["\x73\x68\157\x72\x74\143\157\144\145\x5f\x69\144"] : 0;
$cS = $M6["\x73\x63\x5f\x70\x65\x72\x6d\x69\163\163\151\157\156\x73"];
$iF = $M6["\x73\143\x5f\x70\141\x74\150"];
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$oc = array("\x73\x63\137\x61\x74\x74\162\163" => json_encode($cS), "\x73\x63\x5f\143\x75\x72\x72\145\156\164\x5f\x73\x74\x61\164\x65" => json_encode($WW), "\163\x63\137\x70\141\164\x68" => json_encode($iF));
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $M6["\163\x63\x5f\160\141\x74\150"]);
dbWrapper::mo_sps_update_shortcode_table_row($oc, $Zp);
wp_send_json_success('');
}
private function mo_sps_create_terms_to_taxonomy($tt, $zy, $fy = null)
{
$Eo = wpWrapper::mo_sps_get_option(pluginConstants::MOESHP_ROOT_ID);
if (!$fy) {
goto V6;
}
$Eo = term_exists(strtolower($fy));
V6:
foreach ($tt as $IV) {
$QJ = $zy == "\x66\157\x6c\144\145\162" ? isset($IV["\146\157\154\144\x65\x72"]) ? true : false : true;
if ($QJ) {
goto R9;
}
$SU = wp_upload_dir();
$yy = $SU["\x70\141\x74\x68"];
$b2 = $SU["\x75\x72\154"];
$o5 = $IV["\x6e\x61\155\x65"];
$F8 = pathinfo($IV["\x6e\x61\x6d\x65"], PATHINFO_EXTENSION);
$JJ = basename($IV["\x6e\141\x6d\145"], "\x2e" . $F8);
$Oi = pluginConstants::MIME_TYPES;
$sO = $IV["\x64\x6f\x77\x6e\x6c\157\141\x64\x5f\165\x72\154"];
$lM = $IV["\151\144"];
$QY = parse_url($sO);
$sO = admin_url("\141\x64\x6d\151\156\x2d\x61\x6a\x61\170\x2e\x70\x68\160") . "\77\141\x63\164\151\x6f\156\x3d\155\x6f\137\x73\x70\x73\137\x73\x79\156\143\137\x66\x69\x6c\145\46\146\151\154\145\x5f\151\144\x3d" . $lM . "\x26\144\x6f\x77\156\x6c\157\x61\x64\x3d\60";
$Zk = $yy . "\x2f" . $o5;
$vO = sharepointWrapper::mo_sps_post_exists_already($lM);
if ($vO) {
goto Ee;
}
$Dx = array("\x6d\157\137\163\160\x73\x5f\x66\151\x6c\145\137\x75\162\154" => $sO, "\x6d\157\x5f\x73\x70\x73\137\146\x69\x6c\x65\137\151\x64" => $IV["\151\x64"], "\155\x6f\x5f\x73\160\163\137\144\162\151\166\145\x5f\151\144" => $IV["\160\x61\x72\x65\x6e\x74\x52\x65\146\145\x72\145\156\x63\145"]["\x64\x72\151\x76\145\111\x64"], "\x6d\157\137\x73\160\x73\137\146\x69\154\x65\x5f\x70\141\x72\x65\x6e\x74\x5f\146\157\154\144\145\x72" => isset($IV["\160\141\162\x65\156\164\x52\145\x66\145\x72\x65\156\x63\145"]["\x6e\141\x6d\145"]) ? $IV["\160\141\162\145\156\x74\x52\145\146\145\x72\145\x6e\x63\x65"]["\x6e\141\155\x65"] : '', "\155\x6f\137\x73\160\163\x5f\146\151\154\145\137\x54\151\x74\x6c\145" => isset($IV["\154\151\x73\x74\111\164\x65\x6d"]["\146\x69\x65\x6c\144\x73"]["\x54\151\x74\154\x65"]) ? $IV["\x6c\x69\x73\x74\111\x74\145\155"]["\146\x69\x65\154\x64\x73"]["\124\x69\164\x6c\145"] : '', "\155\x6f\x5f\163\x70\x73\137\154\x61\163\x74\137\x6d\x6f\x64\151\146\151\x65\144\x5f\144\x61\x74\x65" => $IV["\154\x61\163\x74\115\x6f\144\x69\146\151\x65\144\x44\141\164\x65\124\x69\155\x65"]);
$zr = sharepointWrapper::mo_sps_insert_in_media_library($b2, $o5, $JJ, $Oi, $F8, $sO, $Zk, $IV["\x69\144"], $Dx);
goto ID;
Ee:
$uE = isset($Oi[strtolower($F8)]) ? $Oi[strtolower($F8)] : '';
$ap[] = $vO;
$zr = get_post_thumbnail_id($vO);
$tW = array("\x70\x6f\163\164\137\164\x69\x74\x6c\x65" => $JJ, "\x70\157\x73\x74\x5f\x73\x74\x61\x74\x75\163" => "\151\x6e\150\145\x72\151\x74", "\x70\157\163\x74\x5f\155\151\155\145\137\164\171\x70\x65" => $uE, "\x6d\x65\x74\141\x5f\x69\x6e\x70\165\x74" => array("\x6d\157\x5f\163\160\163\137\x66\151\x6c\x65\137\x75\x72\154" => $sO, "\x6d\x6f\x5f\x73\x70\x73\x5f\x66\x69\154\145\137\151\x64" => $IV["\151\x64"], "\155\x6f\x5f\163\160\x73\137\x64\162\x69\x76\145\x5f\151\144" => isset($IV["\160\x61\x72\x65\x6e\164\122\x65\146\145\162\145\x6e\x63\x65"]) && isset($IV["\x70\141\x72\145\x6e\164\x52\x65\146\x65\x72\x65\156\143\x65"]["\144\162\151\x76\145\x49\144"]) ? $IV["\160\141\162\145\156\164\122\x65\146\145\162\145\156\143\x65"]["\x64\x72\x69\166\x65\111\144"] : '', "\x6d\157\x5f\163\160\x73\x5f\x66\151\x6c\145\x5f\x70\x61\162\145\x6e\x74\137\146\x6f\154\144\x65\x72" => isset($IV["\160\141\x72\x65\x6e\x74\122\145\x66\x65\162\x65\156\143\x65"]) && isset($IV["\160\x61\x72\145\x6e\x74\x52\145\x66\145\x72\145\x6e\x63\x65"]["\156\141\155\x65"]) ? $IV["\160\x61\x72\x65\x6e\164\x52\145\x66\x65\x72\145\156\143\x65"]["\156\141\155\145"] : '', "\155\x6f\137\163\160\x73\x5f\146\x69\x6c\145\x5f\124\x69\164\x6c\x65" => isset($IV["\154\x69\x73\x74\111\164\145\x6d"]["\146\x69\145\154\144\x73"]["\124\151\164\x6c\x65"]) ? $IV["\x6c\x69\163\x74\111\x74\x65\x6d"]["\x66\151\145\x6c\144\x73"]["\124\x69\164\x6c\x65"] : '', "\x6d\157\137\163\160\163\x5f\x6c\x61\x73\164\137\x6d\x6f\x64\x69\x66\x69\x65\144\137\144\141\x74\145" => $IV["\x6c\141\163\164\115\x6f\x64\x69\x66\151\145\x64\104\x61\164\145\124\x69\155\x65"]));
wp_update_attachment_metadata($zr, $tW);
ID:
$IV = wp_set_object_terms((int) $zr, (int) $Eo, "\155\157\145\x73\150\x70\55\143\141\x74\x65\x67\157\162\x79", true);
goto Ys;
R9:
$bi = $IV["\156\141\x6d\145"];
if (term_exists(strtolower($IV["\151\x64"]))) {
goto xo;
}
$zL = wp_insert_term($bi, "\155\x6f\x65\163\150\160\55\143\x61\x74\x65\147\x6f\x72\171", array("\163\154\165\147" => $IV["\151\x64"], "\x70\141\162\145\x6e\x74" => $Eo));
goto CI;
xo:
$zL = wp_update_term(term_exists(strtolower($IV["\151\144"])), "\x6d\157\x65\163\150\x70\55\x63\x61\164\x65\147\x6f\x72\171", array("\x6e\141\x6d\x65" => $bi, "\160\141\x72\145\x6e\x74" => $Eo));
CI:
update_term_meta($zL["\x74\145\162\x6d\137\151\144"], "\x69\x64", $IV["\151\x64"]);
Ys:
oA:
}
WV:
}
private function mo_sps_get_all_sites($M6)
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$iF = $M6["\163\x63\x5f\x70\x61\x74\150"];
if (!$M6["\x69\x73\137\x70\x6c\165\x67\x69\x6e"]) {
goto Rv;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW = isset($WW) && $WW ? $WW : array();
foreach ($WW as $dC => $sJ) {
$WW[$dC] = $dC == "\x62\x72\x65\x61\144\x63\x72\x75\155\142" ? array() : '';
Q6:
}
oQ:
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
Rv:
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_all_sites();
if ($tt["\163\x74\141\x74\x75\x73"]) {
goto R2;
}
$Xd = array("\x45\x72\x72\x6f\x72" => !empty($tt["\x64\141\164\x61"]["\145\162\162\157\x72"]) ? $tt["\144\x61\164\141"]["\x65\162\162\x6f\162"] : "\x55\156\x65\170\160\145\143\x74\145\x64\40\x65\162\162\x6f\x72\40\x6f\x63\x63\x75\x72\x65\144\x2e\x2e\x2e\41", "\104\145\163\x63\162\x69\x70\x74\151\x6f\156" => !empty($tt["\x64\x61\x74\x61"]["\x65\162\162\157\162\x5f\144\x65\163\x63\x72\x69\160\164\x69\157\x6e"]) ? $tt["\x64\x61\x74\141"]["\x65\x72\162\x6f\162\x5f\144\145\x73\x63\x72\x69\160\x74\151\x6f\x6e"] : "\x50\x6c\x65\x61\163\145\40\143\x68\145\x63\x6b\40\x79\x6f\165\162\40\x69\156\x74\145\x72\156\x65\164\x20\x63\x6f\156\x6e\x65\143\164\x69\x6f\x6e\x20\x6f\162\x20\164\x72\171\x20\x61\147\141\x69\156\x20\141\x66\x74\x65\162\40\163\157\x6d\145\x74\151\155\145\x2e");
wp_send_json_error($Xd);
goto UO;
R2:
if (!empty($tt["\144\x61\164\x61"]) && isset($tt["\144\x61\164\141"]["\x69\144"])) {
goto Ms;
}
$iz = $tt["\144\141\x74\141"];
goto PC;
Ms:
$iz = $tt["\144\x61\x74\141"];
PC:
$iz = sharepointWrapper::mo_sps_process_sites($iz);
$this->mo_sps_create_terms_to_taxonomy($iz, "\162\x6f\x6f\x74");
$iz = sharepointWrapper::mo_sps_filter_documents_checking_permissions($iz);
wp_send_json_success($iz);
UO:
}
private function mo_sps_get_all_drives($M6)
{
$FI = $M6["\163\151\x74\x65\137\151\144"];
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$iF = $M6["\163\143\x5f\160\x61\164\150"];
if (!$M6["\x69\163\x5f\160\x6c\x75\x67\x69\156"]) {
goto vs;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW["\142\x72\x65\x61\144\143\x72\x75\155\x62"] = $M6["\143\165\x72\x72\x65\x6e\164\137\x73\x74\x61\x74\145"];
$WW["\x73\151\164\x65\137\x69\144"] = $FI;
$WW["\163\164\x61\x74\x65\137\x6e\x61\155\x65"] = "\x73\x69\x74\145";
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
vs:
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_all_drives($FI);
$SG = $OT->mo_sps_get_all_lists($FI);
if ($tt["\x73\164\x61\x74\165\163"]) {
goto RA;
}
$Xd = array("\105\x72\x72\157\162" => !empty($tt["\x64\x61\x74\141"]["\145\x72\x72\157\162"]) ? $tt["\x64\x61\164\141"]["\145\162\162\157\162"] : "\x55\156\145\170\x70\145\x63\x74\145\x64\x20\x65\x72\x72\157\162\x20\x6f\143\143\165\x72\x65\144\56\56\x2e\x21", "\x44\145\x73\x63\162\x69\x70\164\151\157\156" => !empty($tt["\x64\141\164\141"]["\145\x72\x72\x6f\x72\x5f\x64\145\x73\143\162\151\160\164\x69\157\x6e"]) ? $tt["\144\141\164\x61"]["\145\x72\162\157\x72\x5f\144\x65\163\x63\162\151\x70\x74\x69\x6f\156"] : "\120\154\x65\x61\163\x65\40\x63\x68\145\x63\153\40\171\157\x75\162\x20\151\x6e\164\145\162\x6e\145\164\40\143\157\x6e\156\x65\143\x74\151\157\156\x20\157\x72\40\164\x72\171\x20\141\147\141\151\156\x20\141\146\164\145\x72\x20\x73\157\x6d\x65\164\151\x6d\x65\56");
wp_send_json_error($Xd);
goto Gq;
RA:
$tx = sharepointWrapper::mo_sps_process_drives($tt["\x64\x61\x74\141"], $M6["\x69\x73\x5f\160\154\165\147\x69\x6e"], $iF);
$A1 = sharepointWrapper::mo_sps_process_lists($SG["\x64\141\x74\x61"]);
$this->mo_sps_create_terms_to_taxonomy($tx, "\x73\x69\164\145", $FI);
$tx = sharepointWrapper::mo_sps_filter_documents_checking_permissions($tx);
wp_send_json_success(array_merge($tx));
Gq:
}
private function mo_sps_get_onedrives($M6)
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$C2 = wpWrapper::mo_sps_get_option(pluginConstants::ONEDRIVE_UPN);
$OT = Azure::getClient($cU);
$iF = $M6["\163\x63\137\160\141\x74\150"];
if (!$M6["\x69\163\137\160\154\165\x67\151\156"]) {
goto GQ;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW["\142\x72\x65\141\144\143\162\165\155\142"] = $M6["\x63\x75\x72\x72\145\x6e\164\137\163\x74\141\164\145"];
$WW["\163\164\141\164\x65\137\x6e\x61\155\x65"] = "\x73\151\164\x65";
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
GQ:
$tt = $OT->mo_sps_get_onedrives();
if ($tt["\x73\164\x61\x74\x75\163"]) {
goto dV;
}
$Xd = array("\x45\162\x72\157\x72" => !empty($tt["\144\141\x74\x61"]["\145\x72\x72\157\162"]) ? $tt["\x64\141\164\x61"]["\x65\162\162\157\x72"] : "\x55\x6e\145\170\x70\145\x63\x74\145\144\40\x65\x72\162\x6f\162\x20\x6f\x63\143\x75\162\145\144\x2e\x2e\56\41", "\104\x65\163\143\x72\151\160\x74\151\157\156" => !empty($tt["\x64\x61\x74\141"]["\x65\x72\162\x6f\162\x5f\x64\x65\x73\x63\x72\x69\x70\x74\151\x6f\x6e"]) ? $tt["\144\141\x74\x61"]["\145\162\x72\157\x72\x5f\x64\145\163\x63\162\151\x70\164\151\157\x6e"] : "\x50\154\145\141\x73\x65\x20\x63\x68\x65\x63\153\40\x79\157\x75\162\x20\x69\x6e\164\x65\x72\156\145\x74\x20\x63\x6f\156\x6e\x65\143\x74\x69\157\156\x20\x6f\x72\40\x74\x72\x79\x20\141\147\x61\x69\156\x20\141\146\164\x65\x72\x20\x73\157\x6d\145\x74\151\155\145\x2e");
wp_send_json_error($Xd);
goto E8;
dV:
$tx = sharepointWrapper::mo_sps_process_drives($tt["\x64\x61\x74\x61"], '');
$this->mo_sps_create_terms_to_taxonomy($tx, "\162\x6f\157\164");
$tx = sharepointWrapper::mo_sps_filter_documents_checking_permissions($tx);
wp_send_json_success($tx);
E8:
}
private function mo_sps_get_personal_onedrives($M6)
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$iF = $M6["\x73\x63\137\x70\141\164\x68"];
if (!$M6["\x69\x73\137\160\x6c\x75\147\x69\x6e"]) {
goto MC;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW["\142\x72\145\141\144\143\x72\165\x6d\142"] = $M6["\x63\x75\x72\162\x65\x6e\164\137\163\x74\x61\x74\x65"];
$WW["\x73\164\x61\x74\x65\137\156\x61\x6d\x65"] = "\163\x69\x74\x65";
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
MC:
$tt = $OT->mo_sps_get_personal_onedrives();
if (!empty($tt["\x73\164\x61\164\165\x73"])) {
goto sD;
}
$Xd = array("\105\x72\x72\157\x72" => !empty($tt["\x64\141\x74\x61"]["\145\162\162\157\162"]) ? $tt["\144\141\x74\141"]["\145\x72\162\x6f\x72"] : "\x55\x6e\x65\x78\x70\145\143\164\x65\x64\x20\145\162\x72\x6f\x72\40\157\143\x63\x75\x72\x65\144\x2e\x2e\x2e\41", "\x44\145\163\x63\162\151\x70\x74\151\x6f\156" => !empty($tt["\x64\141\x74\141"]["\x65\162\162\x6f\x72\137\x64\x65\x73\143\x72\x69\160\164\x69\x6f\156"]) ? $tt["\x64\x61\164\141"]["\x65\x72\162\x6f\162\x5f\x64\145\x73\143\x72\151\x70\164\151\x6f\156"] : "\x50\x6c\x65\141\163\x65\x20\x63\150\x65\x63\x6b\x20\x79\157\x75\x72\x20\151\156\164\145\x72\156\145\x74\40\143\x6f\156\x6e\145\x63\x74\151\157\x6e\40\157\x72\40\x74\x72\x79\40\141\147\x61\x69\156\x20\x61\146\164\145\x72\x20\x73\x6f\x6d\145\164\151\155\145\56");
wp_send_json_error($Xd);
goto dP;
sD:
$tx = sharepointWrapper::mo_sps_process_drives($tt["\144\141\164\x61"], '');
$this->mo_sps_create_terms_to_taxonomy($tx, "\162\157\157\x74");
$tx = sharepointWrapper::mo_sps_filter_documents_checking_permissions($tx);
wp_send_json_success($tx);
dP:
}
private function mo_sps_get_all_documents($M6)
{
$LI = $M6["\144\162\x69\x76\145\x5f\x69\x64"];
$qu = isset($M6["\144\x6f\167\156\154\x6f\141\x64"]) ? $M6["\144\x6f\x77\x6e\154\x6f\x61\144"] : '';
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$iF = $M6["\x73\x63\x5f\x70\x61\164\150"];
if (!($M6["\151\x73\137\160\154\x75\x67\151\156"] && !$qu)) {
goto w3;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW["\x62\162\145\x61\x64\x63\x72\165\155\142"] = $M6["\143\165\162\x72\145\x6e\x74\x5f\163\x74\141\x74\x65"];
$WW["\144\x72\x69\166\145\137\151\x64"] = $LI;
$WW["\x73\164\141\x74\x65\x5f\156\141\x6d\x65"] = "\x64\162\x69\x76\x65";
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
w3:
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_all_docs($LI);
if ($tt["\163\x74\141\x74\x75\x73"]) {
goto GX;
}
$Xd = array("\x45\162\x72\157\162" => !empty($tt["\144\x61\x74\x61"]["\145\x72\x72\x6f\162"]) ? $tt["\144\141\164\141"]["\x65\x72\162\157\x72"] : "\125\x6e\x65\x78\x70\145\143\x74\x65\144\x20\145\162\x72\x6f\x72\x20\x6f\x63\x63\165\x72\x65\x64\56\56\56\x21", "\x44\145\x73\x63\162\151\x70\164\151\x6f\x6e" => !empty($tt["\x64\141\164\141"]["\x65\162\x72\x6f\162\137\144\x65\x73\x63\x72\151\x70\x74\x69\157\x6e"]) ? $tt["\144\141\x74\141"]["\x65\162\x72\x6f\162\137\144\145\163\x63\162\151\x70\164\x69\x6f\x6e"] : "\120\154\145\141\163\145\40\x63\150\x65\x63\x6b\40\x79\157\x75\x72\40\x69\156\x74\145\162\156\x65\164\x20\x63\x6f\x6e\156\145\143\x74\151\157\x6e\x20\x6f\162\40\x74\162\x79\40\141\x67\141\151\156\40\141\x66\164\145\162\40\163\157\155\x65\164\151\155\x65\56");
wp_send_json_error($Xd);
goto cj;
GX:
$gc = sharepointWrapper::mo_sps_process_docs($tt["\x64\x61\x74\x61"], $LI, $M6["\x69\163\137\160\154\x75\147\x69\x6e"], $iF);
$this->mo_sps_create_terms_to_taxonomy($gc, "\x66\x6f\154\x64\x65\x72", $LI);
$gc = sharepointWrapper::mo_sps_filter_documents_checking_permissions($gc);
$QE["\x61\154\154\137\144\157\143\x73"] = $gc;
$QE["\160\141\162\x65\x6e\164\x5f\x75\x70\x6c\x6f\141\144\137\x70\145\x72\155\151\163\163\151\157\x6e"] = sharepointWrapper::mo_sps_check_for_the_permissions($LI, "\165\160\x6c\157\141\x64");
wp_send_json_success($QE);
cj:
}
private function mo_sps_get_all_list_items($M6)
{
$FI = $M6["\x73\151\x74\145\x5f\151\x64"];
$LI = $M6["\144\162\x69\166\145\137\x69\x64"];
$iF = $M6["\x73\143\137\x70\x61\164\150"];
if (!$M6["\151\x73\x5f\x70\x6c\165\x67\151\x6e"]) {
goto C0;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW["\142\x72\145\x61\144\x63\162\x75\155\142"] = $M6["\143\x75\x72\162\145\156\164\137\163\x74\x61\x74\145"];
$WW["\x64\162\x69\x76\x65\137\x69\144"] = $LI;
$WW["\x73\164\141\x74\x65\137\156\x61\155\x65"] = "\144\162\151\x76\145";
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
C0:
$Rc = isset($M6["\154\x69\163\x74\x5f\145\x6d\x62\x65\x64\x64\151\156\147\x5f\143\157\154\x75\155\156\163"]) && !empty($M6["\x6c\151\163\164\137\145\x6d\142\145\144\144\x69\x6e\147\x5f\x63\157\154\165\155\156\x73"]) ? $M6["\x6c\x69\163\x74\x5f\145\155\142\145\x64\144\151\156\147\x5f\x63\157\154\x75\155\x6e\x73"] : '';
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_all_list_items($FI, $LI);
if ($tt["\163\164\x61\x74\165\x73"]) {
goto To;
}
$Xd = array("\105\162\162\x6f\x72" => !empty($tt["\x64\141\164\141"]["\145\162\162\x6f\162"]) ? $tt["\144\x61\x74\141"]["\145\x72\x72\x6f\162"] : "\125\156\145\x78\160\145\x63\x74\x65\144\x20\145\x72\162\x6f\162\40\157\143\143\x75\x72\145\x64\56\x2e\56\41", "\104\x65\163\x63\162\x69\x70\164\151\x6f\x6e" => !empty($tt["\x64\141\x74\x61"]["\145\x72\x72\157\x72\x5f\144\145\x73\x63\162\x69\x70\164\x69\x6f\156"]) ? $tt["\144\141\164\x61"]["\145\162\162\157\162\x5f\x64\145\x73\143\162\151\160\164\151\x6f\x6e"] : "\120\154\x65\141\x73\x65\40\143\150\145\x63\x6b\x20\171\x6f\165\x72\40\151\156\x74\145\162\156\x65\164\40\x63\157\x6e\x6e\x65\x63\x74\151\157\x6e\40\x6f\x72\x20\164\162\171\x20\141\147\x61\x69\156\x20\x61\146\x74\x65\x72\40\x73\157\155\145\x74\151\x6d\x65\x2e");
wp_send_json_error($Xd);
goto L8;
To:
$gc = sharepointWrapper::mo_sps_process_list_items($tt["\144\141\164\141"], $Rc);
wp_send_json_success($gc);
L8:
}
private function mo_sps_get_all_folder_items($M6)
{
$LI = $M6["\144\x72\x69\166\145\137\x69\x64"];
$RB = $M6["\x66\157\x6c\x64\145\162\137\151\x64"];
$qu = isset($M6["\144\x6f\x77\x6e\x6c\157\x61\144"]) ? $M6["\x64\157\x77\x6e\x6c\157\141\x64"] : '';
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$iF = $M6["\163\143\137\160\x61\x74\150"];
if (!($M6["\x69\163\137\x70\154\165\147\151\156"] && !$qu)) {
goto NG;
}
$WW = wpWrapper::mo_sps_get_option(pluginConstants::CURRENT_STATE);
$WW["\x62\x72\x65\141\144\143\x72\x75\155\142"] = $M6["\x63\165\162\x72\145\156\x74\x5f\x73\164\x61\164\145"];
$WW["\x66\x6f\x6c\144\x65\x72\137\151\144"] = $RB;
$WW["\x73\164\x61\x74\x65\137\156\x61\155\x65"] = "\146\157\154\x64\145\x72";
wpWrapper::mo_sps_set_option(pluginConstants::SC_PATH, $iF);
wpWrapper::mo_sps_set_option(pluginConstants::CURRENT_STATE, $WW);
NG:
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_all_folder_items($LI, $RB);
if ($tt["\163\x74\141\x74\x75\163"]) {
goto mH;
}
$Xd = array("\105\x72\162\157\162" => !empty($tt["\144\141\x74\x61"]["\x65\162\162\x6f\x72"]) ? $tt["\144\141\164\141"]["\x65\x72\162\157\x72"] : "\125\x6e\x65\x78\x70\145\x63\164\x65\x64\40\x65\162\162\157\162\40\x6f\143\143\x75\162\145\x64\x2e\56\x2e\x21", "\x44\x65\x73\x63\162\151\160\164\x69\x6f\156" => !empty($tt["\x64\x61\x74\x61"]["\145\x72\162\157\162\x5f\144\145\x73\143\162\151\x70\164\151\x6f\156"]) ? $tt["\x64\x61\x74\141"]["\145\x72\162\x6f\162\x5f\x64\x65\x73\143\x72\x69\160\x74\151\x6f\x6e"] : "\120\154\145\141\163\145\40\x63\x68\x65\x63\153\40\171\x6f\x75\x72\x20\151\156\164\x65\162\156\145\x74\x20\x63\157\156\156\x65\x63\164\151\x6f\x6e\40\157\162\x20\x74\x72\x79\x20\x61\147\141\151\x6e\x20\x61\146\x74\145\162\40\163\x6f\155\x65\164\x69\x6d\145\x2e");
wp_send_json_error(${$tt});
goto k1;
mH:
$gc = sharepointWrapper::mo_sps_process_docs($tt["\x64\x61\164\x61"], $RB, $M6["\151\x73\137\x70\x6c\165\147\x69\156"], $iF);
$this->mo_sps_create_terms_to_taxonomy($gc, "\x66\157\x6c\x64\x65\x72", $RB);
$gc = sharepointWrapper::mo_sps_filter_documents_checking_permissions($gc);
$QE["\141\x6c\x6c\137\144\x6f\x63\x73"] = $gc;
$QE["\x70\141\162\145\x6e\x74\x5f\165\x70\x6c\x6f\x61\x64\x5f\160\x65\x72\155\x69\x73\163\151\x6f\x6e"] = sharepointWrapper::mo_sps_check_for_the_permissions($RB, "\x75\x70\154\x6f\141\x64");
wp_send_json_success($QE);
k1:
}
private function mo_sps_get_file_thumbnails($M6)
{
$LI = $M6["\x64\162\x69\x76\145\x5f\151\x64"];
$lM = $M6["\146\x69\x6c\x65\x5f\x69\x64"];
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_file_thumbnails($LI, $lM);
if ($tt["\x73\x74\x61\x74\165\163"]) {
goto QR;
}
$Xd = array("\105\x72\x72\x6f\x72" => !empty($tt["\x64\141\164\141"]["\145\x72\162\x6f\162"]) ? $tt["\x64\141\x74\x61"]["\145\x72\x72\x6f\x72"] : "\125\156\145\x78\160\x65\x63\164\145\x64\x20\145\x72\x72\157\x72\40\157\143\143\x75\x72\145\144\56\56\x2e\x21", "\x44\x65\x73\143\162\x69\x70\164\x69\x6f\156" => !empty($tt["\x64\x61\x74\141"]["\x65\x72\x72\x6f\x72\137\144\145\163\x63\162\151\x70\x74\x69\157\x6e"]) ? $tt["\144\x61\164\141"]["\x65\x72\162\x6f\162\x5f\x64\x65\163\143\162\151\160\x74\151\157\156"] : "\120\154\x65\141\163\x65\x20\143\150\x65\143\153\40\171\x6f\x75\162\x20\x69\x6e\164\145\162\x6e\x65\164\x20\143\157\x6e\156\145\143\164\151\x6f\156\40\157\x72\x20\164\162\171\x20\x61\x67\141\151\x6e\40\141\146\164\x65\162\x20\163\x6f\x6d\145\x74\x69\x6d\145\56");
wp_send_json_error($Xd);
goto zk;
QR:
$Jc = sharepointWrapper::mo_sps_process_thumnails($tt["\x64\x61\x74\141"], "\x6c\141\x72\147\145");
wp_send_json_success($Jc);
zk:
}
private function mo_sps_get_download_url($M6)
{
$LI = $M6["\x64\x72\151\166\145\x5f\151\x64"];
$lM = $M6["\146\x69\154\x65\x5f\151\144"];
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_file_details($LI, $lM);
$IV = $tt["\144\x61\164\x61"];
$IA = array();
$IA["\144\157\167\156\x6c\157\141\144"] = $IV["\100\155\151\143\162\157\163\x6f\x66\x74\56\x67\x72\x61\x70\150\x2e\144\x6f\x77\156\x6c\x6f\141\144\x55\162\154"];
$IA["\x6e\x61\155\145"] = $IV["\156\x61\155\145"];
$IA["\x69\144"] = $IV["\x69\144"];
$IA["\154\x61\x73\164\115\157\144\x69\146\151\145\144\104\x61\164\145\x54\x69\x6d\145"] = $IV["\154\x61\163\x74\115\157\x64\x69\x66\151\x65\x64\104\141\164\145\124\x69\155\145"];
$IA["\x73\151\x7a\145"] = $IV["\x73\x69\172\x65"];
if ($tt["\163\164\x61\x74\165\163"]) {
goto tU;
}
$Xd = array("\x45\x72\x72\x6f\162" => !empty($tt["\x64\x61\164\141"]["\x65\x72\x72\x6f\162"]) ? $tt["\x64\141\x74\x61"]["\x65\x72\x72\x6f\x72"] : "\125\x6e\145\x78\x70\145\143\164\x65\144\x20\x65\x72\x72\157\x72\x20\157\143\143\165\162\x65\x64\56\x2e\x2e\x21", "\104\x65\x73\x63\162\151\x70\164\151\157\x6e" => !empty($tt["\x64\x61\x74\141"]["\x65\162\x72\x6f\162\x5f\144\145\163\x63\x72\151\x70\x74\x69\157\156"]) ? $tt["\144\x61\164\141"]["\x65\162\x72\x6f\162\x5f\144\145\163\x63\x72\x69\160\x74\x69\x6f\156"] : "\x50\154\145\x61\163\145\40\x63\150\145\143\153\x20\171\x6f\165\162\40\x69\x6e\164\145\162\x6e\x65\164\x20\143\x6f\x6e\x6e\145\x63\164\x69\x6f\156\x20\x6f\x72\x20\x74\162\171\x20\x61\x67\141\151\156\x20\141\x66\x74\x65\x72\x20\x73\x6f\x6d\145\164\x69\155\145\x2e");
wp_send_json_error($Xd);
goto am;
tU:
wp_send_json_success($IA);
exit;
am:
}
private function mo_sps_get_upload_session($M6)
{
$o5 = $M6["\146\x69\154\145\x5f\156\141\x6d\145"];
$LI = $M6["\144\162\151\166\x65\x5f\x69\x64"];
$RB = $M6["\146\157\154\144\x65\162\137\x69\144"];
$wG = false;
if ($RB != '') {
goto Z3;
}
$wG = sharepointWrapper::mo_sps_check_for_the_permissions($LI, "\165\160\154\157\x61\144");
goto Fp;
Z3:
$wG = sharepointWrapper::mo_sps_check_for_the_permissions($RB, "\165\x70\x6c\x6f\141\144");
Fp:
if ($wG) {
goto iD;
}
wp_send_json_error(array("\105\x72\162\x6f\x72" => "\x55\156\x61\165\164\x68\x6f\162\x69\x7a\x65\x64", "\104\x65\163\x63\162\151\x70\164\151\x6f\x6e" => "\x59\157\x75\40\x61\162\x65\x20\165\156\141\x75\x74\x68\x6f\x72\151\172\145\144\40\x74\x6f\40\x75\x70\154\x6f\141\144\40\144\157\x63\x75\x6d\x65\x6e\x74\x73\x20\x74\157\40\164\x68\x69\163\40\x72\145\x73\157\x75\162\143\145\56"));
iD:
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_upload_session($LI, $RB, $o5);
if ($tt["\163\x74\141\x74\165\163"]) {
goto pq;
}
$Xd = array("\x45\162\162\x6f\x72" => !empty($tt["\144\141\164\x61"]["\145\162\162\157\162"]) ? $tt["\144\141\164\141"]["\145\x72\162\157\x72"] : "\125\x6e\145\x78\160\x65\x63\x74\145\x64\40\145\x72\162\157\162\x20\x6f\143\143\165\x72\145\144\x2e\x2e\56\x21", "\x44\145\163\143\x72\151\160\x74\151\157\156" => !empty($tt["\144\141\164\141"]["\145\162\162\157\x72"]) ? $tt["\x64\x61\x74\x61"]["\145\x72\162\x6f\162\137\x64\145\163\x63\162\x69\160\164\x69\157\x6e"] : "\120\x6c\x65\x61\163\x65\x20\143\x68\x65\143\153\40\x79\157\x75\x72\40\151\x6e\164\145\x72\x6e\x65\164\40\143\x6f\x6e\x6e\145\143\164\x69\157\156\x20\x6f\x72\x20\x74\x72\x79\x20\141\147\x61\x69\156\x20\x61\x66\x74\x65\162\40\163\157\x6d\145\164\x69\x6d\x65\56");
wp_send_json_error($Xd);
goto xZ;
pq:
wp_send_json_success($tt["\144\x61\x74\141"]);
xZ:
}
private function mo_sps_get_specific_file($M6)
{
$LI = $M6["\x64\162\x69\x76\145\x5f\x69\144"];
$lM = $M6["\x66\151\154\x65\x5f\x69\144"];
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_get_file_preview($LI, $lM);
if ($tt["\x73\164\141\164\x75\163"]) {
goto qo;
}
$Xd = array("\x45\x72\x72\157\x72" => !empty($tt["\x64\141\164\x61"]["\x65\162\x72\x6f\x72"]) ? $tt["\144\141\x74\x61"]["\x65\162\162\x6f\162"] : "\x55\x6e\145\170\160\145\x63\x74\145\144\x20\145\x72\x72\157\x72\x20\x6f\143\143\165\162\145\x64\x2e\56\56\41", "\104\145\x73\143\x72\151\x70\x74\x69\x6f\156" => !empty($tt["\x64\141\164\x61"]["\x65\162\x72\x6f\x72\x5f\144\x65\x73\143\162\151\160\164\x69\157\x6e"]) ? $tt["\x64\x61\164\141"]["\145\x72\x72\x6f\162\137\144\x65\163\x63\162\151\x70\164\151\157\156"] : "\120\x6c\x65\141\163\145\40\143\150\x65\143\153\x20\171\157\x75\162\40\x69\x6e\x74\145\162\x6e\x65\x74\x20\x63\x6f\x6e\156\145\x63\164\x69\x6f\x6e\x20\x6f\162\40\164\x72\x79\40\x61\147\141\x69\x6e\40\141\146\164\x65\x72\40\x73\157\x6d\145\x74\151\155\x65\56");
wp_send_json_error($Xd);
goto uE;
qo:
wp_send_json_success($tt["\144\x61\x74\141"]["\x67\x65\x74\x55\162\x6c"]);
exit;
uE:
}
private function mo_sps_search_through_drive_items($M6)
{
$LI = $M6["\144\162\151\x76\145\137\x69\x64"];
$RB = $M6["\x66\x6f\154\x64\x65\162\x5f\151\144"];
$Lf = $M6["\161\165\x65\162\x79\x73\x74\162\x69\156\x67"];
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_search_through_drive_items($LI, $RB, $Lf);
if ($tt["\x73\164\141\x74\165\x73"]) {
goto r4;
}
$Xd = array("\105\x72\x72\157\162" => !empty($tt["\144\x61\x74\x61"]["\x65\162\162\157\162"]) ? $tt["\x64\141\x74\141"]["\x65\162\x72\x6f\162"] : "\x55\156\145\x78\160\145\x63\x74\145\144\x20\145\162\162\157\x72\x20\x6f\143\143\165\x72\145\x64\56\56\x2e\x21", "\104\145\x73\143\162\151\160\x74\151\157\x6e" => !empty($tt["\x64\x61\164\x61"]["\x65\162\162\157\x72\137\x64\x65\163\143\x72\x69\x70\164\151\x6f\x6e"]) ? $tt["\x64\141\164\x61"]["\x65\x72\x72\x6f\x72\x5f\x64\145\x73\x63\162\151\160\164\151\157\156"] : "\120\x6c\145\141\x73\x65\40\x63\x68\x65\143\x6b\x20\171\157\x75\162\x20\151\156\x74\x65\162\x6e\x65\x74\40\x63\157\156\x6e\145\143\x74\151\x6f\156\x20\x6f\162\x20\x74\162\171\40\x61\x67\x61\x69\156\x20\141\146\x74\145\162\x20\163\157\155\x65\x74\151\x6d\145\56");
wp_send_json_error($Xd);
goto k9;
r4:
$fy = $RB == '' ? $LI : $RB;
$gc = sharepointWrapper::mo_sps_process_docs($tt["\x64\x61\x74\141"], $fy, $M6["\x69\x73\x5f\160\x6c\x75\147\151\x6e"]);
wp_send_json_success($gc);
k9:
}
private function mo_sps_upload_file($M6)
{
$LI = $M6["\x64\162\x69\x76\x65\x5f\151\144"];
$lM = $M6["\x66\x69\x6c\145\137\x69\x64"];
$o5 = $M6["\x66\151\154\x65\137\156\x61\x6d\x65"];
$GJ = $M6["\x66\151\154\x65\137\163\151\172\145"];
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$tt = $OT->mo_sps_upload_file($LI);
if ($tt["\x73\164\x61\164\165\163"]) {
goto i5;
}
$Xd = array("\105\x72\162\x6f\162" => !empty($tt["\x64\x61\x74\141"]["\x65\162\162\x6f\162"]) ? $tt["\x64\141\164\141"]["\x65\162\162\157\x72"] : "\x55\x6e\x65\x78\x70\x65\143\x74\x65\144\x20\x65\162\162\157\x72\x20\157\143\143\165\x72\145\x64\56\56\56\x21", "\104\145\x73\143\162\x69\x70\164\151\157\x6e" => !empty($tt["\x64\x61\x74\141"]["\x65\x72\x72\157\x72\x5f\x64\145\163\x63\x72\x69\160\x74\x69\157\156"]) ? $tt["\x64\141\164\x61"]["\145\x72\162\x6f\x72\x5f\144\x65\163\143\162\x69\160\164\151\157\x6e"] : "\x50\154\145\x61\163\145\40\x63\150\x65\143\x6b\x20\x79\x6f\x75\162\x20\151\156\x74\x65\x72\x6e\x65\164\x20\x63\157\156\156\145\x63\x74\x69\x6f\x6e\x20\157\162\40\164\162\x79\x20\x61\x67\141\151\156\40\x61\146\x74\x65\x72\40\x73\x6f\x6d\x65\164\x69\x6d\145\x2e");
wp_send_json_error($Xd);
goto F9;
i5:
F9:
}
public function grid_content_for_shortcode($zn, $pR)
{
if (!($pR < 40)) {
goto o0;
}
$pR = 40;
o0:
$UQ = "\x3c\x64\x69\166\40\151\144\x3d\42\155\157\x5f\144\157\x63\137\x6c\151\x62\137\144\151\x73\x70\x6c\x61\x79\137\157\156\137\x70\141\147\x65\x5f\x63\x6f\x6e\x74\141\151\x6e\145\x72\137" . $zn . "\x22\x20\163\x74\171\154\x65\x3d\42\x6d\x61\x78\x2d\x77\x69\x64\x74\x68\72" . $pR . "\x25\x22\x20\x63\154\x61\163\163\75\42\x6d\157\x5f\144\x6f\143\x5f\154\x69\x62\x5f\x64\x69\x73\x70\x6c\x61\171\x5f\x6f\156\x5f\160\141\147\x65\x5f\x63\157\156\164\141\151\156\x65\x72\42\x3e\xd\xa\x9\x9\11\74\x64\151\166\40\143\154\141\163\163\x3d\42\x6d\x6f\x5f\x64\157\x63\x5f\x6c\x69\x62\137\144\157\x77\156\x6c\x6f\141\144\x5f\x70\x72\157\147\x72\x65\163\163\137\x64\151\163\160\154\141\x79\137\143\x6f\156\164\x61\x69\x6e\145\x72\42\76\74\57\x64\x69\x76\x3e\xd\12\11\11\11\74\x64\151\x76\40\x73\x74\171\x6c\145\x3d\x22\144\x69\163\160\154\x61\x79\x3a\x6e\x6f\x6e\x65\x3b\x6d\x61\x78\x2d\167\151\144\164\x68\72" . $pR . "\45\42\x20\x63\x6c\x61\x73\163\x3d\x22\x6d\157\137\144\x6f\x63\x5f\154\x69\142\x5f\156\x61\x76\40\x6d\157\x5f\144\x6f\x63\x5f\154\151\x62\x5f\156\141\x76\x5f\155\141\x69\x6e\137" . $zn . "\x22\76\xd\xa\x9\x9\11\x9\x3c\144\x69\x76\x20\143\x6c\x61\163\163\x3d\42\x6d\x6f\137\x64\x6f\x63\137\154\x69\142\137\x62\x72\x65\141\144\143\x72\165\x6d\142\42\40\151\x64\75\42\x6d\x6f\137\144\x6f\x63\x5f\x6c\151\142\x5f\142\162\145\141\x64\143\162\165\155\142\137" . $zn . "\x22\76\xd\12\x9\x9\x9\x9\74\x2f\144\x69\x76\76\xd\xa\11\11\x9\11\74\144\151\166\x20\163\164\x79\x6c\x65\75\x22\x64\x69\x73\160\x6c\x61\x79\x3a\146\154\x65\170\73\141\154\151\147\156\55\151\164\x65\155\x73\72\143\145\156\x74\145\162\73\x66\154\x65\x78\55\x67\x72\x6f\x77\x3a\x31\x3b\152\x75\x73\x74\x69\x66\x79\x2d\x63\157\x6e\x74\145\156\164\x3a\145\156\x64\73\42\x3e\xd\12\11\11\x9\11\11\x3c\144\151\166\x20\143\154\x61\x73\x73\75\42\x6d\x6f\x5f\144\157\143\x5f\154\151\x62\137\x73\145\x61\x72\143\x68\42\40\x69\144\75\x22\155\157\x5f\x64\x6f\x63\137\x6c\x69\x62\137\x73\145\141\x72\143\150\137" . $zn . "\42\x20\163\164\x79\x6c\x65\x3d\42\144\x69\163\x70\x6c\x61\171\x3a\156\157\156\145\x3b\x22\x3e\xd\xa\x9\11\x9\x9\x9\x9\74\x64\151\166\40\143\x6c\x61\x73\163\75\42\155\x6f\137\144\157\x63\137\x6c\151\x62\137\163\145\141\162\143\150\x5f\x64\151\166\42\x20\x69\144\x3d\42\x6d\x6f\137\x64\x6f\143\x5f\x6c\151\142\137\163\145\x61\x72\143\x68\x5f\x64\151\166\x5f" . $zn . "\x22\x3e\xd\xa\x9\11\11\x9\x9\x9\11\x3c\x64\x69\166\x20\x73\x74\x79\154\145\x3d\42\144\x69\163\x70\154\x61\171\x3a\x20\146\154\x65\170\73\40\x61\154\x69\147\x6e\x2d\x69\x74\x65\155\x73\x3a\40\x63\145\156\164\145\x72\73\x20\146\x6c\145\x78\55\144\x69\x72\x65\143\164\x69\x6f\x6e\72\40\x72\157\x77\x2d\162\x65\166\145\162\163\x65\x3b\x22\76\15\xa\x9\x9\11\x9\11\x9\x9\x9\x3c\x62\x75\x74\x74\x6f\x6e\x20\143\154\x61\x73\x73\75\x22\x6d\x6f\137\x73\160\x73\137\x73\145\141\162\143\150\137\142\x75\x74\164\x6f\x6e\x22\x20\164\x79\x70\145\75\x22\142\x75\x74\x74\x6f\x6e\42\x20\x69\144\75\42\155\x6f\137\x73\x70\x73\x5f\163\145\x61\162\x63\150\137\142\x75\164\164\x6f\x6e\x5f" . $zn . "\42\x3e\15\12\11\11\11\11\x9\x9\x9\11\11\74\x69\x6d\147\x20\167\x69\x64\164\150\x3d\x22\61\x34\160\170\x22\x20\x73\162\143\75\42" . esc_url(plugin_dir_url(__FILE__) . "\56\x2e\x2f\151\x6d\x61\147\x65\163\57\x73\x65\141\x72\143\150\x2e\163\166\147") . "\x22\x3e\xd\xa\x9\x9\x9\x9\x9\11\x9\x9\74\57\x62\x75\164\164\x6f\156\x3e\xd\xa\x9\11\11\x9\x9\11\x9\11\x3c\142\x75\x74\x74\x6f\x6e\x20\163\164\x79\x6c\145\75\42\x64\x69\163\160\154\x61\171\72\x6e\x6f\x6e\x65\73\x22\40\x63\x6c\141\163\x73\x3d\x22\155\x6f\x5f\163\x70\x73\137\x65\x78\151\164\137\x62\165\164\x74\x6f\x6e\x22\40\x74\171\160\145\x3d\x22\142\165\164\x74\157\x6e\x22\40\151\144\75\42\155\157\x5f\163\160\163\137\145\170\x69\164\x5f\142\165\164\164\x6f\156\137" . $zn . "\42\x3e\xd\xa\11\x9\x9\11\11\x9\x9\11\x9\74\x69\155\x67\40\167\151\144\x74\x68\x3d\x22\x31\x32\160\x78\x22\x20\163\162\x63\x3d\x22" . esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\57\151\x6d\x61\x67\x65\163\x2f\143\x72\157\x73\x73\56\x73\166\147") . "\x22\x3e\15\xa\x9\x9\11\11\11\11\11\x9\74\x2f\x62\165\164\x74\x6f\156\x3e\xd\12\x9\x9\x9\x9\11\11\x9\11\74\144\x69\166\40\x69\144\75\42\155\x6f\x5f\x73\x70\163\137\x66\x69\x6c\x65\x5f\x73\145\141\162\x63\x68\x5f\x64\x69\x61\x6c\x6f\x67\x5f\142\x6f\x78\137" . $zn . "\x22\40\x63\x6c\141\x73\163\75\42\x6d\157\x5f\163\160\163\137\146\151\154\x65\x5f\x73\145\141\162\x63\x68\x5f\x64\151\x61\x6c\157\x67\x5f\x62\x6f\170\42\x3e\xd\12\11\11\x9\11\11\11\11\x9\11\74\151\x6e\x70\165\x74\x20\x63\154\x61\163\163\75\x22\155\x6f\137\x73\160\163\x5f\146\151\x6c\x65\x5f\163\x65\141\162\143\x68\x22\40\162\157\x6c\145\x3d\42\143\157\x6d\142\157\142\x6f\170\42\40\141\165\x74\157\x63\157\155\160\154\145\x74\145\75\x22\x6f\x66\x66\x22\40\x70\x6c\x61\143\145\150\157\x6c\x64\145\162\x3d\x22\x53\x65\x61\162\x63\x68\40\164\150\151\163\40\154\151\x62\162\x61\162\171\42\x20\x74\x79\x70\145\x3d\42\163\145\x61\162\143\150\42\40\151\144\x3d\x22\155\157\x5f\x73\x70\163\x5f\x66\x69\x6c\145\137\x73\x65\x61\162\x63\150\x5f" . $zn . "\x22\40\x6e\x61\155\x65\x3d\x22\x6d\x6f\137\x64\157\143\137\154\151\x62\137\x73\x65\141\162\x63\x68\137\x62\x6f\x78\x5f\x5f\x69\156\x70\165\x74\137" . $zn . "\42\x3e\xd\xa\x9\x9\11\11\11\x9\x9\11\x3c\57\144\151\166\x3e\15\12\x9\11\11\11\11\x9\x9\74\x2f\x64\151\x76\76\15\xa\x9\11\x9\x9\11\11\x9\74\x64\x69\166\40\151\144\x3d\42\155\x6f\x5f\144\x6f\x63\x5f\154\x69\x62\137\x6d\x79\x53\x65\141\162\143\x68\104\162\157\160\144\157\167\x6e\x5f" . $zn . "\42\x20\143\x6c\x61\x73\163\75\x22\163\145\141\x72\143\x68\137\144\x69\166\42\x20\76\xd\xa\11\11\11\11\11\x9\11\11\74\x64\x69\x76\40\x69\x64\x3d\42\155\x6f\x5f\144\x6f\143\137\154\x69\142\137\163\x65\x61\x72\143\x68\151\156\x67\137\x64\x69\x76\x5f" . $zn . "\42\40\x73\164\171\x6c\x65\75\x22\x64\x69\163\x70\x6c\141\x79\x3a\146\x6c\145\x78\73\141\x6c\x69\x67\156\55\x69\x74\145\x6d\163\72\143\x65\156\x74\x65\162\x3b\42\76\15\12\x9\x9\11\x9\x9\x9\11\x9\11\74\144\x69\x76\x20\143\154\141\163\163\75\x22\142\145\146\157\x72\x65\137\163\145\141\x72\143\150\42\x20\163\x74\171\x6c\x65\x3d\x22\146\x6f\156\164\55\x77\x65\151\x67\x68\x74\x3a\66\60\x30\73\146\157\x6e\164\55\x73\x69\x7a\145\x3a\61\162\x65\x6d\73\167\151\x64\x74\x68\72\x32\x30\x72\145\x6d\x3b\155\141\162\147\151\x6e\x2d\x62\157\x74\164\157\x6d\72\x31\60\160\x78\73\42\76\123\145\x61\x72\x63\150\x69\156\x67\56\56\56\74\57\x64\151\166\76\15\12\11\11\11\x9\11\11\x9\11\x9\74\x69\x6d\147\x20\151\x64\x3d\42\x6d\157\137\x64\x6f\x63\x5f\154\151\142\137\x6d\171\x53\145\x61\162\x63\150\x4c\x6f\141\x64\145\162\x5f" . $zn . "\x22\x20\x73\162\143\75\x22" . esc_url(plugin_dir_url(__FILE__) . "\56\56\x2f\151\155\141\x67\x65\163\57\103\x68\x61\163\x69\x6e\147\x5f\x61\x72\162\x6f\167\163\56\x67\x69\x66") . "\42\76\xd\xa\x9\x9\x9\x9\x9\x9\x9\11\x3c\x2f\144\x69\x76\76\15\xa\11\x9\11\11\11\x9\x9\x9\x3c\x64\x69\166\40\143\x6c\x61\x73\163\75\x22\x6c\x69\x73\164\137\144\x69\x76\x22\76\15\12\11\11\11\11\x9\x9\x9\x9\11\x3c\165\x6c\x20\151\x64\x3d\x22\x6d\157\x5f\x64\x6f\x63\137\x6c\x69\x62\137\154\x69\x73\164\x49\x74\x65\x6d\x73\x5f" . $zn . "\42\40\x73\164\x79\x6c\x65\75\42\160\x61\144\x64\151\156\147\55\154\x65\146\164\72\60\73\155\141\x72\x67\151\x6e\x3a\60\x3b\42\76\xd\12\x9\x9\11\x9\x9\x9\x9\x9\11\x3c\x2f\165\x6c\76\xd\xa\x9\x9\11\x9\11\11\11\11\74\57\144\151\166\76\xd\xa\x9\11\x9\11\11\x9\11\x3c\57\x64\151\166\x3e\xd\12\x9\x9\11\11\11\x9\74\57\x64\151\x76\76\xd\xa\x9\11\x9\x9\x9\74\57\144\151\166\x3e\15\xa\11\x9\x9\11\11\74\x64\x69\166\40\164\151\164\x6c\x65\x3d\x22\114\151\x73\164\x20\126\x69\x65\167\42\40\143\154\141\x73\163\x3d\x22\155\x6f\137\144\x6f\143\x5f\x6c\151\142\137\166\x69\x65\x77\x5f\x6d\x6f\x64\145\42\40\x73\164\x79\x6c\x65\x3d\42\144\151\x73\160\x6c\x61\x79\72\x6e\157\x6e\145\73\x22\x20\x69\x64\x3d\x22\x6d\157\137\x64\x6f\x63\x5f\154\151\142\137\164\141\x62\x6c\x65\x5f\x76\x69\x65\167\137" . $zn . "\x22\x3e\74\x64\151\x76\x20\x63\x6c\x61\x73\163\75\42\155\157\137\144\x6f\143\137\x6c\x69\x62\137\x62\165\164\x74\x6f\156\163\x5f\x73\164\x76\165\x22\x3e\x3c\151\x6d\147\x20\167\151\144\164\x68\x3d\42\x31\x36\x70\170\42\40\163\x72\x63\75\42" . esc_url(plugin_dir_url(__FILE__) . "\56\x2e\x2f\x69\155\x61\x67\x65\163\x2f\154\x69\x73\x74\137\144\154\x2e\163\x76\x67") . "\42\76\x3c\x2f\x64\151\x76\76\x3c\57\x64\x69\166\76\xd\12\x9\x9\11\x9\11\74\x64\x69\x76\40\164\151\164\x6c\145\75\42\x47\x72\x69\x64\x20\126\x69\x65\167\42\x20\143\154\x61\x73\163\75\42\155\157\137\144\157\x63\x5f\x6c\151\142\137\x76\151\x65\167\137\x6d\157\144\x65\x22\x20\151\x64\x3d\42\x6d\x6f\137\x64\157\143\x5f\154\x69\142\137\x67\x72\x69\x64\x5f\x76\151\145\x77\x5f" . $zn . "\x22\x3e\74\144\151\x76\x20\143\154\141\163\163\x3d\42\155\157\137\x64\x6f\x63\137\154\x69\142\x5f\142\x75\164\x74\x6f\156\163\x5f\163\164\x76\165\42\x3e\74\x69\155\147\x20\x77\151\144\164\x68\75\x22\61\65\160\170\42\x20\x73\162\x63\75\x22" . esc_url(plugin_dir_url(__FILE__) . "\x2e\56\x2f\x69\x6d\141\x67\x65\163\57\147\x72\x69\x64\137\x76\x69\x65\x77\x2e\163\x76\x67") . "\42\76\x3c\x2f\144\x69\166\x3e\x3c\x2f\x64\151\x76\x3e\15\xa\11\x9\x9\11\11\x3c\x64\151\166\x20\164\151\164\154\145\75\42\125\160\x6c\157\141\x64\x20\x74\x6f\40\x53\x68\141\x72\x65\120\157\151\x6e\x74\x2f\117\x6e\x65\x44\162\x69\x76\x65\x22\40\163\164\x79\154\145\75\42\144\151\x73\160\154\141\171\72\x6e\157\x6e\x65\x22\x20\143\154\x61\x73\x73\75\42\155\x6f\x5f\144\157\x63\x5f\x6c\151\142\x5f\x76\x69\145\167\137\x6d\x6f\144\x65\42\40\151\x64\75\x22\155\157\x5f\144\x6f\x63\137\154\x69\142\x5f\165\x70\154\157\141\144\x5f\146\151\154\x65\137" . $zn . "\42\76\x3c\144\x69\166\40\x63\154\x61\x73\x73\75\x22\x6d\x6f\x5f\144\157\143\x5f\154\x69\142\x5f\x62\165\x74\164\x6f\x6e\163\x5f\163\164\166\165\42\x3e\x3c\151\155\x67\x20\167\151\144\164\150\75\42\x32\60\x70\x78\x22\40\163\162\x63\x3d\x22" . esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\57\151\x6d\x61\147\145\163\x2f\143\154\157\x75\144\x5f\x75\x70\x6c\157\x61\144\x2e\x73\166\147") . "\42\76\74\57\144\x69\166\x3e\74\57\144\151\166\x3e\15\12\11\11\11\11\74\57\144\151\166\x3e\xd\12\x9\11\x9\74\57\x64\x69\x76\76\xd\12\x9\11\11\74\144\x69\166\x20\151\x64\x3d\42\x6d\x6f\x5f\x64\157\x63\137\x70\x72\x65\166\151\145\x77\137\x6d\157\x64\141\154\137\143\x6f\156\x74\141\x69\156\x65\x72\137" . $zn . "\x22\76\x3c\x2f\144\151\166\x3e\xd\xa\x9\11\11\74\144\151\166\40\163\164\171\154\x65\x3d\42\155\x61\x72\147\151\x6e\x2d\x6c\145\x66\x74\x3a\x20\x61\165\164\157\40\x21\x69\155\x70\157\162\x74\141\x6e\164\x3b\x6d\x61\x72\x67\151\x6e\55\162\151\147\x68\164\72\x61\165\164\157\40\x21\151\155\160\x6f\x72\x74\x61\156\x74\x3b\155\141\170\55\167\151\x64\164\x68\x3a" . $pR . "\x25\73\42\x20\x69\144\75\42\155\157\137\144\157\143\x5f\154\151\x62\137\x63\157\x6e\x74\x61\x69\x6e\x65\x72\x5f\x5f\x6c\x6f\141\x64\145\x72\137" . $zn . "\x22\76\x3c\151\x6d\x67\x20\x73\164\x79\x6c\x65\75\x22\x77\151\144\164\150\x3a\x33\65\160\170\73\144\151\x73\x70\154\x61\171\x3a\146\154\x65\170\x3b\141\154\x69\x67\x6e\x2d\151\164\145\155\x73\x3a\143\145\156\x74\x65\162\73\152\165\x73\x74\x69\x66\x79\x2d\143\x6f\156\x74\145\x6e\164\72\143\145\x6e\164\x65\x72\x3b\155\141\162\147\151\156\55\x6c\x65\146\x74\72\x20\141\x75\164\157\x20\x21\x69\x6d\160\x6f\162\x74\141\x6e\x74\73\x6d\141\162\x67\151\x6e\x2d\162\x69\x67\x68\164\72\141\x75\164\157\x20\x21\151\155\160\x6f\x72\x74\141\x6e\164\73\x6d\151\170\55\x62\x6c\145\156\x64\x2d\x6d\157\x64\x65\x3a\x6d\165\x6c\x74\151\x70\x6c\x79\x3b\x22\x20\x73\162\143\x3d\x22" . esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\x2f\x69\155\x61\147\x65\x73\x2f\151\x6d\141\147\x65\x5f\x6c\157\141\x64\145\162\56\x67\x69\x66") . "\42\x3e\x3c\x2f\x64\151\x76\76\15\xa\x9\11\11\74\x64\x69\x76\40\163\x74\x79\154\145\75\42\155\x61\170\55\x77\151\144\164\150\x3a" . $pR . "\45\42\40\x69\144\75\x22\155\x6f\x5f\x64\x6f\x63\x5f\154\x69\142\137\x63\157\x6e\164\x61\151\156\145\162\x5f" . $zn . "\x22\40\143\x6c\141\163\163\75\42\x6d\x6f\x5f\x64\157\143\x5f\154\x69\x62\137\x63\157\x6e\164\x61\151\x6e\145\162\x22\x3e\x3c\x2f\144\151\x76\x3e\15\12\x9\x9\11\x3c\x64\x69\166\x20\x69\144\x3d\42\163\160\163\137\x65\155\142\145\x64\137\x63\x6f\x6e\x74\x61\x69\x6e\x65\162\137" . $zn . "\42\40\143\154\141\x73\163\x3d\42\155\157\137\163\x70\163\137\145\x6d\x62\145\144\x5f\143\x6f\x6e\x74\x61\151\x6e\145\x72\42\x20\x73\x74\171\154\x65\75\x22\x6d\141\170\x2d\167\x69\x64\164\x68\x3a" . '' . $pR . "\45" . "\73\150\145\151\147\x68\x74\72" . "\61\60\x30\x25" . "\42\x3e\74\57\x64\151\x76\76\15\12\40\x20\x20\x20\40\40\x20\40\74\x2f\x64\151\x76\x3e";
return $UQ;
}
public function table_content_for_shortcode($zn, $pR)
{
if (!($pR < 40)) {
goto Z5;
}
$pR = 40;
Z5:
$UQ = "\74\x64\151\166\40\x69\144\75\x22\155\x6f\137\x64\x6f\x63\137\154\x69\142\x5f\x64\151\x73\x70\154\141\x79\137\157\156\x5f\x70\x61\x67\145\137\x63\x6f\156\x74\141\x69\x6e\145\162\137" . $zn . "\42\40\x73\x74\171\154\145\75\x22\x6d\x61\x78\55\167\x69\144\x74\150\x3a" . $pR . "\45\42\x20\x63\154\x61\x73\x73\x3d\x22\x6d\157\137\144\157\143\137\154\x69\142\x5f\144\151\x73\x70\x6c\141\171\137\157\x6e\137\x70\x61\147\x65\137\x63\x6f\x6e\x74\x61\151\156\145\x72\42\76\xd\12\x9\11\x9\74\144\x69\166\x20\x63\154\141\163\x73\75\x22\155\157\137\x64\157\143\137\x6c\x69\x62\137\x64\157\x77\x6e\154\x6f\141\144\137\160\162\157\x67\x72\145\163\x73\x5f\x64\151\x73\x70\154\141\171\x5f\143\x6f\156\x74\x61\151\x6e\x65\x72\42\x3e\x3c\57\144\x69\166\76\xd\xa\11\11\x9\x3c\x64\151\x76\x20\163\164\171\154\145\x3d\42\144\151\x73\x70\154\x61\171\x3a\156\157\x6e\x65\73\155\141\170\x2d\167\x69\x64\164\150\x3a" . $pR . "\x25\42\x20\x63\154\141\x73\x73\75\42\155\x6f\137\144\x6f\x63\137\154\x69\142\137\x6e\141\x76\x20\155\157\137\x64\157\x63\x5f\154\x69\142\137\156\x61\x76\x5f\155\141\151\x6e\137" . $zn . "\x22\76\xd\12\11\11\x9\x9\74\x64\x69\166\40\x63\x6c\141\x73\163\x3d\x22\x6d\x6f\137\x64\157\143\x5f\x6c\x69\142\x5f\x62\162\145\x61\x64\x63\x72\x75\x6d\x62\x22\40\x69\x64\x3d\42\x6d\x6f\x5f\x64\157\143\x5f\154\x69\x62\x5f\142\x72\x65\141\x64\x63\x72\165\155\x62\137" . $zn . "\x22\76\15\xa\11\x9\x9\x9\x3c\x2f\x64\x69\166\76\15\xa\11\x9\11\x9\74\144\x69\x76\40\163\164\x79\154\145\x3d\x22\x64\151\x73\160\154\141\171\x3a\146\x6c\x65\170\73\141\154\x69\x67\156\x2d\151\x74\x65\x6d\163\x3a\x63\x65\x6e\164\145\162\x3b\x66\154\x65\x78\55\x67\162\x6f\x77\72\61\x3b\152\x75\x73\164\151\x66\x79\x2d\x63\157\x6e\x74\x65\156\164\72\145\156\x64\x3b\42\76\xd\12\11\x9\x9\11\x9\74\x64\151\x76\x20\143\x6c\x61\163\x73\75\x22\x6d\x6f\x5f\144\157\x63\137\154\x69\142\137\x73\x65\141\x72\x63\150\x22\x20\151\x64\x3d\x22\155\157\x5f\x64\x6f\x63\x5f\x6c\x69\142\137\x73\145\x61\162\x63\150\137" . $zn . "\42\x20\x73\164\x79\154\x65\x3d\42\144\x69\163\160\154\x61\x79\x3a\x6e\x6f\x6e\x65\x3b\x22\x3e\15\xa\x9\11\x9\11\11\11\74\144\x69\166\40\143\154\141\163\163\75\42\x6d\x6f\137\144\157\143\137\154\151\x62\137\163\145\141\162\143\150\137\144\151\166\x22\x20\x69\144\x3d\42\155\157\137\x64\x6f\143\137\x6c\151\142\x5f\x73\145\141\162\143\x68\x5f\144\151\166\137" . $zn . "\x22\x3e\15\12\x9\x9\x9\x9\x9\11\11\74\144\151\x76\x20\x73\x74\x79\x6c\145\x3d\x22\144\x69\163\x70\154\x61\171\72\x20\146\x6c\145\170\x3b\x20\141\x6c\x69\147\x6e\55\151\164\x65\x6d\x73\72\40\x63\x65\156\x74\145\162\x3b\x20\146\154\x65\x78\55\144\151\162\x65\143\x74\x69\x6f\x6e\x3a\x20\162\157\x77\55\162\145\166\145\162\163\145\x3b\42\x3e\15\xa\x9\11\11\x9\x9\11\11\11\74\142\x75\x74\164\x6f\x6e\40\164\151\x74\154\145\75\x22\x53\x65\141\162\143\150\x22\x20\x63\x6c\x61\x73\x73\75\42\155\x6f\x5f\x73\x70\x73\x5f\163\145\141\162\143\x68\x5f\142\165\x74\x74\157\156\x22\x20\164\x79\160\x65\75\42\x62\x75\164\x74\157\x6e\x22\40\x69\144\75\42\x6d\x6f\x5f\163\x70\x73\137\163\x65\x61\162\x63\x68\x5f\x62\165\x74\164\157\156\137" . $zn . "\x22\x3e\15\xa\11\11\x9\x9\11\11\x9\x9\11\74\144\151\x76\40\143\x6c\x61\x73\163\x3d\x22\x6d\157\x5f\x64\157\143\x5f\x6c\x69\142\x5f\x62\x75\x74\x74\x6f\x6e\163\x5f\x73\164\x76\165\x22\76\x3c\x69\x6d\147\40\x77\x69\x64\x74\150\75\x22\x31\64\x70\x78\42\40\x73\x72\143\x3d\42" . esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\x2f\x69\x6d\x61\147\145\163\x2f\163\145\x61\162\x63\x68\x2e\163\166\x67") . "\x22\x3e\x3c\x2f\144\151\x76\76\15\xa\x9\11\x9\x9\11\11\11\x9\74\57\x62\165\164\x74\x6f\156\x3e\15\xa\11\11\11\x9\x9\x9\x9\11\74\x62\165\x74\x74\x6f\x6e\x20\x74\x69\x74\x6c\145\75\42\103\154\157\x73\145\42\40\x73\x74\171\x6c\x65\x3d\42\144\x69\163\x70\154\x61\171\72\x6e\157\156\145\x3b\42\x20\143\154\x61\163\163\x3d\42\155\157\137\163\160\x73\137\x65\170\151\164\137\x62\165\164\x74\157\156\42\40\x74\171\160\145\x3d\x22\142\165\x74\x74\157\156\42\x20\x69\144\75\42\155\157\137\163\160\163\x5f\145\170\x69\164\137\x62\x75\x74\x74\157\x6e\137" . $zn . "\x22\76\xd\xa\x9\x9\11\11\11\x9\x9\11\11\x3c\x64\x69\x76\40\x63\154\141\163\x73\x3d\42\155\x6f\137\x64\157\143\137\154\151\x62\x5f\142\x75\x74\164\x6f\x6e\163\x5f\x73\x74\x76\165\x22\x3e\x3c\x69\155\x67\40\x77\x69\144\x74\150\75\42\x31\62\x70\x78\x22\x20\x73\162\x63\x3d\x22" . esc_url(plugin_dir_url(__FILE__) . "\x2e\56\x2f\151\155\141\147\x65\x73\x2f\x63\x72\x6f\x73\163\x2e\163\x76\x67") . "\42\76\x3c\x2f\x64\x69\166\76\xd\12\11\11\11\11\11\11\x9\x9\74\57\142\165\164\164\x6f\156\76\15\12\11\11\x9\x9\x9\11\11\x9\74\x64\151\166\x20\x69\144\x3d\x22\x6d\157\x5f\163\x70\x73\x5f\x66\151\x6c\145\137\163\x65\141\x72\143\150\137\144\x69\x61\x6c\x6f\x67\x5f\x62\x6f\170\137" . $zn . "\42\x20\143\154\141\163\x73\75\42\x6d\x6f\137\x73\x70\163\x5f\x66\151\154\145\x5f\x73\145\141\162\x63\150\137\x64\151\x61\x6c\157\147\x5f\142\x6f\170\42\76\15\12\x9\x9\x9\11\x9\x9\x9\x9\11\x3c\x69\x6e\160\165\164\40\x63\154\141\x73\163\x3d\42\155\157\137\x73\160\163\x5f\146\151\x6c\145\x5f\x73\x65\141\162\143\x68\42\40\162\157\154\145\x3d\x22\x63\157\x6d\142\157\142\x6f\170\42\x20\141\165\x74\157\x63\x6f\155\x70\154\145\164\145\75\42\x6f\146\146\x22\40\x70\154\141\x63\145\150\x6f\x6c\144\145\162\75\42\123\145\141\x72\x63\x68\x20\164\x68\x69\163\40\x6c\x69\x62\x72\141\x72\171\42\x20\164\171\x70\x65\75\42\163\x65\x61\162\x63\x68\42\x20\x69\x64\x3d\x22\155\157\137\x73\x70\163\137\146\151\154\145\x5f\x73\x65\141\x72\x63\150\137" . $zn . "\42\40\x6e\x61\x6d\x65\75\x22\155\157\137\144\157\143\x5f\x6c\151\x62\137\x73\x65\x61\162\143\150\137\142\x6f\x78\x5f\x5f\x69\156\160\x75\x74\x5f" . $zn . "\42\76\xd\12\11\x9\x9\11\x9\11\11\11\x3c\x2f\x64\x69\166\x3e\xd\xa\11\x9\11\x9\11\x9\11\74\x2f\x64\x69\x76\76\15\12\11\x9\x9\x9\11\11\x9\x3c\x64\x69\x76\x20\151\x64\x3d\42\155\x6f\x5f\x64\x6f\143\137\x6c\151\142\137\155\x79\x53\x65\141\x72\143\150\x44\x72\x6f\x70\x64\x6f\x77\x6e\x5f" . $zn . "\x22\40\x63\154\141\163\x73\75\42\x73\x65\x61\162\x63\x68\137\144\151\x76\x22\40\76\xd\xa\x9\11\11\11\11\x9\x9\11\74\144\x69\x76\40\151\144\75\x22\x6d\x6f\x5f\x64\157\x63\137\154\151\x62\x5f\x73\x65\141\162\x63\150\x69\156\147\x5f\x64\151\166\x5f" . $zn . "\x22\x20\163\164\171\154\x65\x3d\x22\144\151\x73\160\x6c\141\171\72\x66\154\145\x78\x3b\141\x6c\151\x67\x6e\55\151\x74\x65\x6d\x73\72\143\145\x6e\164\x65\162\73\x22\x3e\xd\xa\11\x9\x9\11\11\11\x9\11\11\74\x64\151\x76\40\143\154\141\x73\x73\x3d\x22\x62\145\x66\x6f\162\145\x5f\x73\x65\141\x72\x63\150\x22\x20\163\x74\171\154\x65\x3d\42\146\157\156\164\55\167\145\151\147\150\164\x3a\x36\60\60\x3b\x66\157\x6e\x74\x2d\x73\151\172\145\72\x31\162\145\x6d\73\167\151\x64\x74\150\x3a\62\60\x72\145\155\x3b\155\x61\162\x67\x69\x6e\x2d\142\157\164\x74\157\x6d\x3a\x31\x30\x70\170\x3b\x22\x3e\x53\x65\x61\162\x63\150\151\156\x67\x2e\56\56\x3c\x2f\x64\151\x76\x3e\xd\12\x9\x9\x9\11\x9\x9\x9\x9\x9\x3c\x69\155\147\x20\x69\x64\x3d\42\x6d\157\137\144\x6f\143\137\154\x69\142\137\155\171\123\x65\x61\162\x63\x68\114\x6f\x61\144\x65\x72\137" . $zn . "\42\x20\163\162\143\x3d\42" . esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\57\x69\155\141\x67\145\x73\57\x43\150\x61\163\151\156\x67\x5f\x61\162\x72\157\x77\163\x2e\147\151\146") . "\42\76\xd\12\11\11\x9\11\11\11\x9\11\x3c\x2f\144\x69\166\x3e\xd\12\x9\x9\11\x9\11\x9\11\x9\x3c\144\151\166\40\143\154\141\x73\x73\x3d\x22\154\151\x73\164\137\144\x69\x76\x22\76\xd\xa\x9\11\x9\x9\11\11\11\11\x9\74\165\x6c\40\151\x64\75\42\x6d\x6f\x5f\144\157\x63\x5f\x6c\151\142\137\x6c\x69\x73\164\x49\x74\x65\155\163\x5f" . $zn . "\x22\x20\163\x74\171\x6c\x65\x3d\42\x70\x61\144\144\x69\156\147\x2d\154\145\146\164\72\60\73\x6d\141\162\147\x69\x6e\72\x30\x3b\x22\x3e\xd\xa\11\11\x9\x9\11\x9\11\x9\11\74\x2f\165\x6c\x3e\xd\12\x9\11\x9\11\11\11\x9\x9\x3c\x2f\144\x69\x76\x3e\15\12\11\x9\x9\11\11\x9\x9\74\57\x64\151\x76\x3e\15\12\11\11\x9\11\x9\x9\x3c\57\x64\x69\166\x3e\xd\xa\11\x9\x9\x9\11\x3c\x2f\x64\x69\x76\76\xd\12\x9\11\x9\x9\11\74\x64\151\166\x20\x74\151\x74\154\145\75\x22\114\151\163\x74\x20\x56\x69\145\167\x22\40\x63\x6c\x61\x73\163\x3d\42\155\157\x5f\144\157\143\137\154\151\142\x5f\166\x69\x65\x77\x5f\155\157\144\x65\x22\40\x73\x74\171\154\145\x3d\42\x64\x69\163\160\154\141\x79\x3a\x6e\157\x6e\x65\73\x22\x20\151\144\75\42\155\157\x5f\x64\x6f\143\137\154\151\142\x5f\x74\141\142\154\x65\x5f\166\x69\145\167\137" . $zn . "\42\76\x3c\144\x69\166\40\143\154\141\x73\x73\x3d\x22\155\x6f\137\x64\x6f\x63\x5f\x6c\151\142\x5f\x62\165\164\x74\157\x6e\x73\x5f\163\x74\x76\165\x22\x3e\x3c\x69\x6d\x67\x20\167\x69\x64\x74\150\75\x22\61\66\x70\x78\42\x20\163\162\143\75\42" . esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\57\x69\x6d\x61\147\145\x73\x2f\x6c\151\163\x74\x5f\144\154\x2e\x73\166\x67") . "\x22\76\x3c\x2f\x64\x69\166\76\x3c\57\x64\x69\x76\x3e\xd\xa\x9\11\11\x9\x9\x3c\144\x69\166\40\164\x69\164\x6c\x65\x3d\x22\107\162\x69\144\40\x56\151\x65\167\42\40\x63\x6c\x61\163\x73\75\x22\155\157\137\144\157\x63\137\154\151\142\x5f\x76\151\145\x77\137\155\x6f\144\x65\x22\x20\163\164\x79\x6c\145\x3d\42\144\x69\x73\160\154\141\x79\72\156\x6f\156\145\x22\40\x69\144\x3d\x22\155\157\137\x64\x6f\x63\x5f\154\151\142\x5f\x67\x72\x69\144\137\x76\x69\145\167\x5f" . $zn . "\42\76\x3c\144\151\166\40\143\154\141\163\163\75\42\x6d\x6f\137\144\x6f\143\x5f\x6c\x69\x62\137\142\x75\164\164\157\156\x73\137\163\164\166\x75\x22\76\74\x69\155\x67\40\167\x69\144\164\x68\75\42\61\x35\x70\x78\x22\40\163\x72\x63\75\x22" . esc_url(plugin_dir_url(__FILE__) . "\56\56\57\151\x6d\141\147\145\163\57\x67\x72\x69\x64\137\166\x69\x65\167\x2e\x73\166\147") . "\x22\76\74\57\144\151\166\76\74\x2f\144\x69\166\x3e\15\xa\11\x9\x9\11\x9\74\144\x69\x76\40\x74\x69\x74\x6c\145\75\42\x55\160\154\x6f\141\144\x20\x74\157\40\123\x68\141\x72\145\120\x6f\x69\156\164\x2f\117\156\145\104\162\151\x76\145\x22\40\163\164\x79\154\145\75\42\x64\151\x73\x70\x6c\x61\x79\x3a\156\x6f\x6e\x65\42\x20\x63\154\141\x73\x73\75\x22\x6d\157\137\x64\157\x63\x5f\x6c\x69\x62\137\166\151\x65\x77\137\155\157\x64\x65\42\40\x69\x64\75\42\155\x6f\x5f\x64\157\143\137\x6c\x69\x62\137\165\160\x6c\157\x61\144\137\x66\151\154\x65\137" . $zn . "\x22\x3e\74\144\151\166\40\143\154\141\163\x73\75\x22\x6d\x6f\x5f\x64\x6f\x63\x5f\x6c\151\x62\x5f\142\165\164\164\157\x6e\163\137\163\x74\166\x75\42\76\74\151\155\147\x20\167\x69\x64\x74\150\75\x22\62\x30\160\x78\x22\42\x20\x73\x72\143\75\x22" . esc_url(plugin_dir_url(__FILE__) . "\56\x2e\57\151\x6d\x61\147\145\x73\x2f\143\x6c\x6f\x75\144\x5f\165\160\154\x6f\141\x64\x2e\x73\x76\147") . "\x22\76\x3c\x2f\144\x69\x76\76\74\x2f\144\x69\166\76\xd\12\x9\11\11\11\74\x2f\144\151\166\x3e\15\12\11\11\11\x3c\57\x64\x69\x76\x3e\xd\12\x9\11\11\x3c\144\151\166\x20\x69\144\x3d\42\x6d\157\x5f\x64\157\143\x5f\160\x72\145\x76\x69\x65\167\137\x6d\x6f\144\x61\154\137\x63\x6f\x6e\164\x61\151\x6e\x65\162\137" . $zn . "\x22\x3e\74\x2f\144\x69\x76\x3e\15\xa\x9\x9\x9\x3c\144\151\166\x20\x73\x74\x79\154\x65\x3d\x22\155\x61\x72\x67\x69\x6e\x2d\154\x65\x66\164\72\40\141\165\x74\157\40\41\x69\x6d\160\x6f\162\x74\141\156\164\x3b\x6d\x61\162\x67\x69\156\55\x72\151\x67\x68\x74\72\x61\165\164\157\40\x21\x69\155\x70\157\162\164\x61\156\164\x3b\155\x61\x78\x2d\x77\x69\x64\x74\150\x3a" . $pR . "\x25\73\42\x20\x69\144\x3d\42\155\157\x5f\x64\157\x63\137\154\151\142\137\143\157\x6e\x74\x61\x69\x6e\145\162\137\137\154\x6f\x61\x64\145\x72\x5f" . $zn . "\42\x3e\x3c\x69\155\147\40\x73\164\171\154\x65\x3d\42\167\x69\144\164\x68\72\x33\65\160\x78\x3b\x64\151\163\160\x6c\x61\171\x3a\x66\x6c\145\x78\73\141\154\151\147\x6e\55\x69\x74\x65\x6d\163\72\143\x65\156\x74\145\x72\73\x6a\165\x73\164\151\146\x79\x2d\143\x6f\156\x74\145\156\164\72\143\145\x6e\x74\145\162\x3b\155\x61\x72\147\x69\x6e\x2d\x6c\x65\146\164\x3a\x20\141\x75\164\x6f\x20\41\151\155\160\157\162\x74\x61\x6e\164\73\155\141\162\x67\x69\x6e\x2d\162\151\x67\x68\x74\x3a\141\165\x74\157\x20\41\x69\155\x70\x6f\x72\x74\141\156\x74\x3b\x6d\151\x78\55\x62\154\145\156\x64\55\x6d\x6f\144\145\72\x6d\x75\154\164\151\160\154\171\x3b\42\x20\x73\x72\143\x3d\x22" . esc_url(plugin_dir_url(__FILE__) . "\x2e\x2e\x2f\x69\x6d\x61\x67\145\163\57\151\x6d\141\147\x65\137\154\x6f\x61\x64\145\x72\56\147\x69\146") . "\x22\76\x3c\x2f\144\x69\x76\76\xd\12\11\11\11\74\x64\x69\x76\40\x73\x74\171\154\x65\75\x22\155\141\x78\x2d\167\x69\x64\164\150\72" . $pR . "\x25\x22\40\151\144\75\x22\x6d\x6f\137\144\157\x63\137\x6c\x69\142\x5f\x63\x6f\x6e\x74\141\x69\x6e\x65\162\x5f" . $zn . "\x22\40\143\x6c\x61\x73\163\75\42\x6d\x6f\137\144\x6f\143\x5f\x6c\151\x62\137\143\x6f\156\164\x61\x69\x6e\x65\x72\x22\x3e\x3c\57\144\x69\166\x3e\xd\xa\x9\11\x9\74\144\151\166\x20\151\x64\75\x22\x73\x70\x73\x5f\145\155\x62\145\x64\x5f\x63\157\156\164\141\151\156\145\162\137" . $zn . "\42\x20\143\x6c\141\163\x73\x3d\x22\x6d\157\137\163\x70\163\137\145\155\142\x65\144\x5f\x63\157\x6e\x74\141\x69\156\x65\162\x22\40\163\164\x79\154\145\x3d\x22\x6d\x61\x78\55\x77\151\144\x74\x68\72" . '' . $pR . "\x25" . "\x3b\150\x65\151\147\150\x74\x3a" . "\x31\60\60\45" . "\42\76\x3c\x2f\x64\x69\x76\x3e\xd\12\x20\x20\40\x20\x20\x20\x20\40\74\57\x64\x69\166\x3e";
return $UQ;
}
}
Function Calls
| None |
Stats
| MD5 | 06f2586850dc61f7ebeb8aa143278abe |
| Eval Count | 0 |
| Decode Time | 107 ms |