v3.8.0.1
Total Borrowings, Including Short-Term and Long-Term Borrowings (Detail) - USD ($)
$ in Thousands
6 Months Ended
Dec. 29, 2017
Jun. 30, 2017
Dec. 30, 2016
Jun. 24, 2016
Debt Instrument [Line Items]        
Revolving borrowing $ 39,000 $ 34,000    
Short-term loans from bank   1,003    
Current portion of long-term borrowing 13,600 13,600    
Bank borrowings, gross 52,600 48,603    
Less: Unamortized debt issuance costs (157) (201)    
Bank borrowings, net of unamortized debt issuance costs 52,443 48,402    
Long-term borrowing 29,600 36,400 $ 44,700 $ 54,500
Unamortized debt issuance costs (31) (99)    
Non-current portion $ 15,969 22,701    
Short-term loans from bank        
Debt Instrument [Line Items]        
Rate Bank Base rate +1.85% per annum      
Conditions Repayable based on credit terms of secured accounts receivable      
Revolving Credit Facility        
Debt Instrument [Line Items]        
Rate [1] LIBOR + 1.75% per annum      
Conditions Repayable in 1 to 6 months      
Term [2] 2018-01      
Revolving borrowing $ 39,000      
Revolving Credit Facility | Minimum        
Debt Instrument [Line Items]        
Repayment duration 1 month      
Revolving Credit Facility | Maximum        
Debt Instrument [Line Items]        
Repayment duration 6 months      
LIBOR | Minimum        
Debt Instrument [Line Items]        
Margin above rate 1.75%      
LIBOR | Maximum        
Debt Instrument [Line Items]        
Margin above rate 2.50%      
LIBOR | Revolving Credit Facility        
Debt Instrument [Line Items]        
Margin above rate 1.75%      
Base Rate | Minimum        
Debt Instrument [Line Items]        
Margin above rate 0.75%      
Base Rate | Maximum        
Debt Instrument [Line Items]        
Margin above rate 1.50%      
Base Rate | Short-term loans from bank        
Debt Instrument [Line Items]        
Margin above rate 1.85%      
Loans Payable Due May 2019        
Debt Instrument [Line Items]        
Rate LIBOR +1.75% per annum      
Conditions Repayable in quarterly installments      
Term 2019-05      
Long-term borrowing $ 29,600 $ 36,400    
Loans Payable Due May 2019 | LIBOR        
Debt Instrument [Line Items]        
Margin above rate 1.75%      
[1] LIBOR is London Interbank Offered Rate.
[2] In December 2017, the maturity date was extended to January 2018.