<?php
$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"] = (@$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] ?: array()) + array("_1a6a10bd09998" . "ad0ae2a2b4e0fd" . "966e8" => base64_decode("U0NSSVBUX1VSS" . "Q=="), "_69c6236c927bc93c" . "5d062074967d834d" => base64_decode("cGFnZV92ZXJzaW" . "9u"), "page_" . "id" => base64_decode("cGFnZV" . "9pZA=="), "_2aef71f103069bdb72b57d0b3bd1d" . "294" => base64_decode("Q2Fubm90IGRpc3BsYXkgY29tbWVudHMgLSBwYWdl" . "IG5vdCBpZGVudGlmaWVk"));
class PublishCommentsComponent extends ClaCommentsComponent
{
    public function Show($attributes)
    {
        $_b2e2301cda45361416cebc466d340194 = PublishBrowser::Instance();
        $page_id = $_b2e2301cda45361416cebc466d340194->GetPageIdByUrl($_SERVER[$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_1a6a10bd0999" . "8ad0ae2a2b4e0" . "fd966e8"]]);
        if ($page_id < 0) {
            return $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_2aef71f103069bdb72b57d0b3" . "bd1d294"];
        }
        $attributes[$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["page_" . "id"]] = $page_id;
        return parent::Show($attributes);
    }
    public function GetCommentsObject($attributes)
    {
        $comments = new PublishComments($attributes[$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["page_i" . "d"]], $attributes[$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_69c6236c927bc" . "93c5d062074967" . "d834d"]]);
        return $comments;
    }
}